From 4450526b306dc85b74298cdfb9b5003933652a0d Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 08:53:25 +0000 Subject: [PATCH] Release 2024.10.5 --- package.json | 2 +- src/Client.ts | 8 ++--- .../resources/eligibility/client/Client.ts | 4 +-- src/api/resources/health/client/Client.ts | 4 +-- src/api/resources/offerings/client/Client.ts | 12 +++---- src/api/resources/public/client/Client.ts | 4 +-- src/api/resources/referrals/client/Client.ts | 32 +++++++++---------- src/api/resources/webhooks/client/Client.ts | 8 ++--- src/version.ts | 2 +- 9 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index 36b4806..fdbfe1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@opengovsg/refx-ts-sdk", - "version": "0.0.7", + "version": "2024.10.5", "private": false, "repository": "https://github.com/opengovsg/refer-ts-sdk", "main": "./index.js", diff --git a/src/Client.ts b/src/Client.ts index 1102055..619a57f 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -90,8 +90,8 @@ export class ReferralExchangeClient { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -152,8 +152,8 @@ export class ReferralExchangeClient { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/eligibility/client/Client.ts b/src/api/resources/eligibility/client/Client.ts index 6b05283..e009371 100644 --- a/src/api/resources/eligibility/client/Client.ts +++ b/src/api/resources/eligibility/client/Client.ts @@ -53,8 +53,8 @@ export class Eligibility { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/health/client/Client.ts b/src/api/resources/health/client/Client.ts index 382586f..df11f32 100644 --- a/src/api/resources/health/client/Client.ts +++ b/src/api/resources/health/client/Client.ts @@ -42,8 +42,8 @@ export class Health { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/offerings/client/Client.ts b/src/api/resources/offerings/client/Client.ts index bfa3f9d..01afa14 100644 --- a/src/api/resources/offerings/client/Client.ts +++ b/src/api/resources/offerings/client/Client.ts @@ -42,8 +42,8 @@ export class Offerings { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -101,8 +101,8 @@ export class Offerings { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -173,8 +173,8 @@ export class Offerings { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/public/client/Client.ts b/src/api/resources/public/client/Client.ts index 5abe790..2f100d5 100644 --- a/src/api/resources/public/client/Client.ts +++ b/src/api/resources/public/client/Client.ts @@ -59,8 +59,8 @@ export class Public { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/referrals/client/Client.ts b/src/api/resources/referrals/client/Client.ts index 2d6fb4b..2ebac9a 100644 --- a/src/api/resources/referrals/client/Client.ts +++ b/src/api/resources/referrals/client/Client.ts @@ -71,8 +71,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -153,8 +153,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -221,8 +221,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -283,8 +283,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -346,8 +346,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -412,8 +412,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -478,8 +478,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -544,8 +544,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/webhooks/client/Client.ts b/src/api/resources/webhooks/client/Client.ts index 13cd30e..eb8b0fe 100644 --- a/src/api/resources/webhooks/client/Client.ts +++ b/src/api/resources/webhooks/client/Client.ts @@ -44,8 +44,8 @@ export class Webhooks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -102,8 +102,8 @@ export class Webhooks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", - "X-Fern-SDK-Version": "0.0.7", - "User-Agent": "@opengovsg/refx-ts-sdk/0.0.7", + "X-Fern-SDK-Version": "2024.10.5", + "User-Agent": "@opengovsg/refx-ts-sdk/2024.10.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/version.ts b/src/version.ts index 56f5407..66842ce 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.0.7"; +export const SDK_VERSION = "2024.10.5";