Skip to content

Commit 4548adc

Browse files
committedMar 5, 2025·
Release 2024.10.16
1 parent e730fb2 commit 4548adc

File tree

13 files changed

+77
-84
lines changed

13 files changed

+77
-84
lines changed
 

‎package.json

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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export class Eligibility {
5858
headers: {
5959
"X-Fern-Language": "JavaScript",
6060
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
61-
"X-Fern-SDK-Version": "2025.2.21",
62-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
61+
"X-Fern-SDK-Version": "2024.10.16",
62+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
6363
"X-Fern-Runtime": core.RUNTIME.type,
6464
"X-Fern-Runtime-Version": core.RUNTIME.version,
6565
...(await this._getCustomAuthorizationHeaders()),

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export class Health {
4747
headers: {
4848
"X-Fern-Language": "JavaScript",
4949
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
50-
"X-Fern-SDK-Version": "2025.2.21",
51-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
50+
"X-Fern-SDK-Version": "2024.10.16",
51+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
5252
"X-Fern-Runtime": core.RUNTIME.type,
5353
"X-Fern-Runtime-Version": core.RUNTIME.version,
5454
...(await this._getCustomAuthorizationHeaders()),

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export class Notes {
5555
headers: {
5656
"X-Fern-Language": "JavaScript",
5757
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
58-
"X-Fern-SDK-Version": "2025.2.21",
59-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
58+
"X-Fern-SDK-Version": "2024.10.16",
59+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
6060
"X-Fern-Runtime": core.RUNTIME.type,
6161
"X-Fern-Runtime-Version": core.RUNTIME.version,
6262
...(await this._getCustomAuthorizationHeaders()),

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export class Offerings {
4747
headers: {
4848
"X-Fern-Language": "JavaScript",
4949
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
50-
"X-Fern-SDK-Version": "2025.2.21",
51-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
50+
"X-Fern-SDK-Version": "2024.10.16",
51+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
5252
"X-Fern-Runtime": core.RUNTIME.type,
5353
"X-Fern-Runtime-Version": core.RUNTIME.version,
5454
...(await this._getCustomAuthorizationHeaders()),
@@ -116,8 +116,8 @@ export class Offerings {
116116
headers: {
117117
"X-Fern-Language": "JavaScript",
118118
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
119-
"X-Fern-SDK-Version": "2025.2.21",
120-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
119+
"X-Fern-SDK-Version": "2024.10.16",
120+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
121121
"X-Fern-Runtime": core.RUNTIME.type,
122122
"X-Fern-Runtime-Version": core.RUNTIME.version,
123123
...(await this._getCustomAuthorizationHeaders()),

‎src/api/resources/public/client/Client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export class Public {
6161
headers: {
6262
"X-Fern-Language": "JavaScript",
6363
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
64-
"X-Fern-SDK-Version": "2025.2.21",
65-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
64+
"X-Fern-SDK-Version": "2024.10.16",
65+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
6666
"X-Fern-Runtime": core.RUNTIME.type,
6767
"X-Fern-Runtime-Version": core.RUNTIME.version,
6868
...(await this._getCustomAuthorizationHeaders()),

‎src/api/resources/referrals/client/Client.ts

+20-20
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export class Referrals {
7676
headers: {
7777
"X-Fern-Language": "JavaScript",
7878
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
79-
"X-Fern-SDK-Version": "2025.2.21",
80-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
79+
"X-Fern-SDK-Version": "2024.10.16",
80+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
8181
"X-Fern-Runtime": core.RUNTIME.type,
8282
"X-Fern-Runtime-Version": core.RUNTIME.version,
8383
...(await this._getCustomAuthorizationHeaders()),
@@ -160,8 +160,8 @@ export class Referrals {
160160
headers: {
161161
"X-Fern-Language": "JavaScript",
162162
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
163-
"X-Fern-SDK-Version": "2025.2.21",
164-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
163+
"X-Fern-SDK-Version": "2024.10.16",
164+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
165165
"X-Fern-Runtime": core.RUNTIME.type,
166166
"X-Fern-Runtime-Version": core.RUNTIME.version,
167167
...(await this._getCustomAuthorizationHeaders()),
@@ -229,8 +229,8 @@ export class Referrals {
229229
headers: {
230230
"X-Fern-Language": "JavaScript",
231231
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
232-
"X-Fern-SDK-Version": "2025.2.21",
233-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
232+
"X-Fern-SDK-Version": "2024.10.16",
233+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
234234
"X-Fern-Runtime": core.RUNTIME.type,
235235
"X-Fern-Runtime-Version": core.RUNTIME.version,
236236
...(await this._getCustomAuthorizationHeaders()),
@@ -292,8 +292,8 @@ export class Referrals {
292292
headers: {
293293
"X-Fern-Language": "JavaScript",
294294
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
295-
"X-Fern-SDK-Version": "2025.2.21",
296-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
295+
"X-Fern-SDK-Version": "2024.10.16",
296+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
297297
"X-Fern-Runtime": core.RUNTIME.type,
298298
"X-Fern-Runtime-Version": core.RUNTIME.version,
299299
...(await this._getCustomAuthorizationHeaders()),
@@ -356,8 +356,8 @@ export class Referrals {
356356
headers: {
357357
"X-Fern-Language": "JavaScript",
358358
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
359-
"X-Fern-SDK-Version": "2025.2.21",
360-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
359+
"X-Fern-SDK-Version": "2024.10.16",
360+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
361361
"X-Fern-Runtime": core.RUNTIME.type,
362362
"X-Fern-Runtime-Version": core.RUNTIME.version,
363363
...(await this._getCustomAuthorizationHeaders()),
@@ -423,8 +423,8 @@ export class Referrals {
423423
headers: {
424424
"X-Fern-Language": "JavaScript",
425425
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
426-
"X-Fern-SDK-Version": "2025.2.21",
427-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
426+
"X-Fern-SDK-Version": "2024.10.16",
427+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
428428
"X-Fern-Runtime": core.RUNTIME.type,
429429
"X-Fern-Runtime-Version": core.RUNTIME.version,
430430
...(await this._getCustomAuthorizationHeaders()),
@@ -490,8 +490,8 @@ export class Referrals {
490490
headers: {
491491
"X-Fern-Language": "JavaScript",
492492
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
493-
"X-Fern-SDK-Version": "2025.2.21",
494-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
493+
"X-Fern-SDK-Version": "2024.10.16",
494+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
495495
"X-Fern-Runtime": core.RUNTIME.type,
496496
"X-Fern-Runtime-Version": core.RUNTIME.version,
497497
...(await this._getCustomAuthorizationHeaders()),
@@ -557,8 +557,8 @@ export class Referrals {
557557
headers: {
558558
"X-Fern-Language": "JavaScript",
559559
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
560-
"X-Fern-SDK-Version": "2025.2.21",
561-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
560+
"X-Fern-SDK-Version": "2024.10.16",
561+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
562562
"X-Fern-Runtime": core.RUNTIME.type,
563563
"X-Fern-Runtime-Version": core.RUNTIME.version,
564564
...(await this._getCustomAuthorizationHeaders()),
@@ -620,8 +620,8 @@ export class Referrals {
620620
headers: {
621621
"X-Fern-Language": "JavaScript",
622622
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
623-
"X-Fern-SDK-Version": "2025.2.21",
624-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
623+
"X-Fern-SDK-Version": "2024.10.16",
624+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
625625
"X-Fern-Runtime": core.RUNTIME.type,
626626
"X-Fern-Runtime-Version": core.RUNTIME.version,
627627
...(await this._getCustomAuthorizationHeaders()),
@@ -684,8 +684,8 @@ export class Referrals {
684684
headers: {
685685
"X-Fern-Language": "JavaScript",
686686
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
687-
"X-Fern-SDK-Version": "2025.2.21",
688-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
687+
"X-Fern-SDK-Version": "2024.10.16",
688+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
689689
"X-Fern-Runtime": core.RUNTIME.type,
690690
"X-Fern-Runtime-Version": core.RUNTIME.version,
691691
...(await this._getCustomAuthorizationHeaders()),

‎src/api/resources/webhooks/client/Client.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export class Webhooks {
4646
headers: {
4747
"X-Fern-Language": "JavaScript",
4848
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
49-
"X-Fern-SDK-Version": "2025.2.21",
50-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
49+
"X-Fern-SDK-Version": "2024.10.16",
50+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
5151
"X-Fern-Runtime": core.RUNTIME.type,
5252
"X-Fern-Runtime-Version": core.RUNTIME.version,
5353
...(await this._getCustomAuthorizationHeaders()),
@@ -105,8 +105,8 @@ export class Webhooks {
105105
headers: {
106106
"X-Fern-Language": "JavaScript",
107107
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
108-
"X-Fern-SDK-Version": "2025.2.21",
109-
"User-Agent": "@opengovsg/refx-ts-sdk/2025.2.21",
108+
"X-Fern-SDK-Version": "2024.10.16",
109+
"User-Agent": "@opengovsg/refx-ts-sdk/2024.10.16",
110110
"X-Fern-Runtime": core.RUNTIME.type,
111111
"X-Fern-Runtime-Version": core.RUNTIME.version,
112112
...(await this._getCustomAuthorizationHeaders()),

‎src/api/types/InstitutionCoreDto.ts

-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as ReferralExchange from "../index";
6-
75
export interface InstitutionCoreDto {
86
hciCode: string;
97
name: string;
10-
system: ReferralExchange.System;
118
block: string;
129
streetName: string;
1310
buildingName?: string;

‎src/api/types/OfferingDto.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ export interface OfferingDto {
1111
institutionHciCode: string;
1212
institution: ReferralExchange.InstitutionCoreDto;
1313
system: ReferralExchange.System;
14-
/** TODO - do not use this field right now */
15-
specialty: string;
14+
/** Clinical guidelines and other information which clinicians should read before proceeding with creating the referral. May contain URLs - should be rendered in a Linkify component */
15+
description: string;
1616
/** Whether the offering is able to receive new referrals currently */
1717
isActive: boolean;
18-
/** deprecated - use timeslotPolicy instead */
19-
isUrgentable: boolean;
2018
/** Whether this offering supports subsidized referrals. */
2119
isSubsidisable: boolean;
22-
/** deprecated - use timeslotPolicy instead */
23-
shouldShowTimeslots: boolean;
2420
timeslotPolicy: ReferralExchange.TimeslotPolicy;
2521
}

‎src/api/types/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ export * from "./SubsidyEligibility";
33
export * from "./EligibilityRes";
44
export * from "./ReferralStatusFilter";
55
export * from "./ReferralRole";
6-
export * from "./System";
76
export * from "./InstitutionCoreDto";
7+
export * from "./System";
88
export * from "./TimeslotPolicy";
99
export * from "./OfferingDto";
1010
export * from "./GetReferralPatientDtoGender";

‎src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "2025.2.21";
1+
export const SDK_VERSION = "2024.10.16";

0 commit comments

Comments
 (0)
Please sign in to comment.