Skip to content

Commit 6408d39

Browse files
Release 0.0.54
1 parent 42763de commit 6408d39

32 files changed

+189
-55
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opengovsg/refx-ts-sdk",
3-
"version": "0.0.53",
3+
"version": "0.0.54",
44
"private": false,
55
"repository": "https://github.com/opengovsg/refer-ts-sdk",
66
"main": "./index.js",

src/api/resources/eligibility/client/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class Eligibility {
7373
headers: {
7474
"X-Fern-Language": "JavaScript",
7575
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
76-
"X-Fern-SDK-Version": "0.0.53",
77-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
76+
"X-Fern-SDK-Version": "0.0.54",
77+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
7878
"X-Fern-Runtime": core.RUNTIME.type,
7979
"X-Fern-Runtime-Version": core.RUNTIME.version,
8080
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/health/client/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export class Health {
5050
headers: {
5151
"X-Fern-Language": "JavaScript",
5252
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
53-
"X-Fern-SDK-Version": "0.0.53",
54-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
53+
"X-Fern-SDK-Version": "0.0.54",
54+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
5555
"X-Fern-Runtime": core.RUNTIME.type,
5656
"X-Fern-Runtime-Version": core.RUNTIME.version,
5757
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
export * as referrals from "./referrals";
2+
export * from "./referrals/types";
13
export * as links from "./links";
24
export * from "./links/types";
35
export * as eligibility from "./eligibility";
4-
export * as referrals from "./referrals";
56
export * as notes from "./notes";
67
export * as offerings from "./offerings";
78
export * as public_ from "./public";

src/api/resources/links/client/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export class Links {
6262
headers: {
6363
"X-Fern-Language": "JavaScript",
6464
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
65-
"X-Fern-SDK-Version": "0.0.53",
66-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
65+
"X-Fern-SDK-Version": "0.0.54",
66+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
6767
"X-Fern-Runtime": core.RUNTIME.type,
6868
"X-Fern-Runtime-Version": core.RUNTIME.version,
6969
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/links/client/requests/CreateLinkReqUpsert.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,12 @@ export interface CreateLinkReqUpsert {
4141
address?: ReferralExchange.CreateAddressReq;
4242
/** Patient residential status */
4343
residentialStatus?: ReferralExchange.CreateLinkReqUpsertResidentialStatus;
44+
/** Patient Healthier SG (HSG) enrolment status */
45+
isPatientHsgEnrolled?: boolean;
46+
/** Clinic license number */
47+
clinicLicenseNumber?: string;
48+
/** Clinic type */
49+
clinicType?: ReferralExchange.CreateLinkReqUpsertClinicType;
50+
/** Any clinical information that is relevant to the referral, e.g. medical history, drug allergies, treatment provided, etc. */
51+
clinicalInfo?: string;
4452
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
/**
6+
* Clinic type
7+
*/
8+
export type CreateLinkReqUpsertClinicType = "CHAS-only" | "CHAS and HSG";
9+
export const CreateLinkReqUpsertClinicType = {
10+
ChasOnly: "CHAS-only",
11+
ChasAndHsg: "CHAS and HSG",
12+
} as const;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
export * from "./CreateLinkReqUpsertPatientGender";
22
export * from "./CreateLinkReqUpsertResidentialStatus";
3+
export * from "./CreateLinkReqUpsertClinicType";

src/api/resources/notes/client/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export class Notes {
6060
headers: {
6161
"X-Fern-Language": "JavaScript",
6262
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
63-
"X-Fern-SDK-Version": "0.0.53",
64-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
63+
"X-Fern-SDK-Version": "0.0.54",
64+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
6565
"X-Fern-Runtime": core.RUNTIME.type,
6666
"X-Fern-Runtime-Version": core.RUNTIME.version,
6767
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/offerings/client/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ export class Offerings {
6969
headers: {
7070
"X-Fern-Language": "JavaScript",
7171
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
72-
"X-Fern-SDK-Version": "0.0.53",
73-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
72+
"X-Fern-SDK-Version": "0.0.54",
73+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
7474
"X-Fern-Runtime": core.RUNTIME.type,
7575
"X-Fern-Runtime-Version": core.RUNTIME.version,
7676
...(await this._getCustomAuthorizationHeaders()),
@@ -145,8 +145,8 @@ export class Offerings {
145145
headers: {
146146
"X-Fern-Language": "JavaScript",
147147
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
148-
"X-Fern-SDK-Version": "0.0.53",
149-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
148+
"X-Fern-SDK-Version": "0.0.54",
149+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
150150
"X-Fern-Runtime": core.RUNTIME.type,
151151
"X-Fern-Runtime-Version": core.RUNTIME.version,
152152
...(await this._getCustomAuthorizationHeaders()),
@@ -229,8 +229,8 @@ export class Offerings {
229229
headers: {
230230
"X-Fern-Language": "JavaScript",
231231
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
232-
"X-Fern-SDK-Version": "0.0.53",
233-
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.53",
232+
"X-Fern-SDK-Version": "0.0.54",
233+
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.54",
234234
"X-Fern-Runtime": core.RUNTIME.type,
235235
"X-Fern-Runtime-Version": core.RUNTIME.version,
236236
...(await this._getCustomAuthorizationHeaders()),

0 commit comments

Comments
 (0)