From 64f4a057fb3c384be9cb93a885aacf58a809cbb4 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 04:12:42 +0000 Subject: [PATCH] Release 0.0.3 --- package.json | 2 +- .../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 +- 8 files changed, 34 insertions(+), 34 deletions(-) diff --git a/package.json b/package.json index b32eae0..7d39bd8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ogp-refx", - "version": "0.0.1", + "version": "0.0.3", "private": false, "repository": "https://github.com/opengovsg/refer-ts-sdk", "main": "./index.js", diff --git a/src/api/resources/eligibility/client/Client.ts b/src/api/resources/eligibility/client/Client.ts index 173736a..c494f6f 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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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 20537e4..16cdd87 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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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 77499f6..83b1cc0 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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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 5f19814..6414c9e 100644 --- a/src/api/resources/public/client/Client.ts +++ b/src/api/resources/public/client/Client.ts @@ -51,8 +51,8 @@ export class Public { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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 7a2b23d..e923eff 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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -213,8 +213,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -274,8 +274,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -337,8 +337,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -403,8 +403,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -469,8 +469,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -535,8 +535,8 @@ export class Referrals { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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 fb0b011..f66308a 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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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": "ogp-refx", - "X-Fern-SDK-Version": "0.0.1", - "User-Agent": "ogp-refx/0.0.1", + "X-Fern-SDK-Version": "0.0.3", + "User-Agent": "ogp-refx/0.0.3", "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 b643a3e..6ad3d11 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.0.1"; +export const SDK_VERSION = "0.0.3";