Skip to content

Commit

Permalink
Release 0.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 23, 2024
1 parent f682fdc commit 44b12b9
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 36 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opengovsg/refx-ts-sdk",
"version": "0.0.21",
"version": "0.0.22",
"private": false,
"repository": "https://github.com/opengovsg/refer-ts-sdk",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/eligibility/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class Eligibility {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/health/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export class Health {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/notes/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export class Notes {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/offerings/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export class Offerings {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -116,8 +116,8 @@ export class Offerings {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/public/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export class Public {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
36 changes: 18 additions & 18 deletions src/api/resources/referrals/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -160,8 +160,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -229,8 +229,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -292,8 +292,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -356,8 +356,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -423,8 +423,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -490,8 +490,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -557,8 +557,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -620,8 +620,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/webhooks/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export class Webhooks {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -105,8 +105,8 @@ export class Webhooks {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.21",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.21",
"X-Fern-SDK-Version": "0.0.22",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.22",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
2 changes: 2 additions & 0 deletions src/api/types/FullReferralDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ export interface FullReferralDto {
notes: ReferralExchange.NoteDto[];
/** URL of the FormSG required to complete the referral */
formUrl?: string;
/** List of forms required to complete the referral */
forms?: string[];
timelineEvents: ReferralExchange.TimelineEventDto[];
}
2 changes: 2 additions & 0 deletions src/api/types/ReferralDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ export interface ReferralDto {
notes: ReferralExchange.NoteDto[];
/** URL of the FormSG required to complete the referral */
formUrl?: string;
/** List of forms required to complete the referral */
forms?: string[];
}
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SDK_VERSION = "0.0.21";
export const SDK_VERSION = "0.0.22";

0 comments on commit 44b12b9

Please sign in to comment.