@opengovsg/refx-ts-sdk 0.0.34 → 0.0.35-prerelease-1745909708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/api/resources/eligibility/client/Client.js +1 -1
  2. package/api/resources/health/client/Client.js +1 -1
  3. package/api/resources/notes/client/Client.js +1 -1
  4. package/api/resources/offerings/client/Client.d.ts +2 -1
  5. package/api/resources/offerings/client/Client.js +14 -4
  6. package/api/resources/offerings/client/requests/OfferingsListRequest.d.ts +18 -0
  7. package/api/resources/offerings/client/requests/index.d.ts +1 -0
  8. package/api/resources/public/client/Client.js +10 -2
  9. package/api/resources/public/client/requests/PublicGetReferralRequest.d.ts +2 -0
  10. package/api/resources/referrals/client/Client.d.ts +5 -7
  11. package/api/resources/referrals/client/Client.js +23 -17
  12. package/api/resources/referrals/client/requests/{EaConfirmReferralBody.d.ts → AcceptReferralBody.d.ts} +3 -5
  13. package/api/resources/referrals/client/requests/ReferralsGetRequest.d.ts +2 -0
  14. package/{dist/api/resources/referrals/client/requests/EaRejectReferralBody.d.ts → api/resources/referrals/client/requests/RejectReferralBody.d.ts} +1 -1
  15. package/api/resources/referrals/client/requests/index.d.ts +2 -2
  16. package/api/resources/webhooks/client/Client.js +2 -2
  17. package/api/types/AdditionalReferralField.d.ts +8 -0
  18. package/api/types/AdditionalReferralField.js +10 -0
  19. package/api/types/FullReferralDto.d.ts +2 -0
  20. package/api/types/PublicReferralDto.d.ts +2 -0
  21. package/api/types/ReferralDto.d.ts +2 -0
  22. package/api/types/ReferrerIdType.d.ts +4 -0
  23. package/api/types/TriggerEmailReminderBody.d.ts +0 -5
  24. package/api/types/index.d.ts +2 -1
  25. package/api/types/index.js +2 -1
  26. package/dist/api/resources/eligibility/client/Client.js +1 -1
  27. package/dist/api/resources/health/client/Client.js +1 -1
  28. package/dist/api/resources/notes/client/Client.js +1 -1
  29. package/dist/api/resources/offerings/client/Client.d.ts +2 -1
  30. package/dist/api/resources/offerings/client/Client.js +14 -4
  31. package/dist/api/resources/offerings/client/requests/OfferingsListRequest.d.ts +18 -0
  32. package/dist/api/resources/offerings/client/requests/index.d.ts +1 -0
  33. package/dist/api/resources/public/client/Client.js +10 -2
  34. package/dist/api/resources/public/client/requests/PublicGetReferralRequest.d.ts +2 -0
  35. package/dist/api/resources/referrals/client/Client.d.ts +5 -7
  36. package/dist/api/resources/referrals/client/Client.js +23 -17
  37. package/dist/api/resources/referrals/client/requests/{EaConfirmReferralBody.d.ts → AcceptReferralBody.d.ts} +3 -5
  38. package/dist/api/resources/referrals/client/requests/ReferralsGetRequest.d.ts +2 -0
  39. package/{api/resources/referrals/client/requests/EaRejectReferralBody.d.ts → dist/api/resources/referrals/client/requests/RejectReferralBody.d.ts} +1 -1
  40. package/dist/api/resources/referrals/client/requests/RejectReferralBody.js +5 -0
  41. package/dist/api/resources/referrals/client/requests/index.d.ts +2 -2
  42. package/dist/api/resources/webhooks/client/Client.js +2 -2
  43. package/dist/api/types/AdditionalReferralField.d.ts +8 -0
  44. package/dist/api/types/AdditionalReferralField.js +10 -0
  45. package/dist/api/types/FullReferralDto.d.ts +2 -0
  46. package/dist/api/types/PublicReferralDto.d.ts +2 -0
  47. package/dist/api/types/ReferralDto.d.ts +2 -0
  48. package/dist/api/types/ReferrerIdType.d.ts +4 -0
  49. package/dist/api/types/ReferrerIdType.js +5 -0
  50. package/dist/api/types/TriggerEmailReminderBody.d.ts +0 -5
  51. package/dist/api/types/index.d.ts +2 -1
  52. package/dist/api/types/index.js +2 -1
  53. package/dist/version.d.ts +1 -1
  54. package/dist/version.js +1 -1
  55. package/package.json +1 -1
  56. package/reference.md +12 -6
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/api/types/EmailReminderSignature.d.ts +0 -9
  60. package/dist/api/types/EmailReminderSignature.d.ts +0 -9
  61. /package/api/resources/{referrals/client/requests/EaConfirmReferralBody.js → offerings/client/requests/OfferingsListRequest.js} +0 -0
  62. /package/api/resources/referrals/client/requests/{EaRejectReferralBody.js → AcceptReferralBody.js} +0 -0
  63. /package/api/{types/EmailReminderSignature.js → resources/referrals/client/requests/RejectReferralBody.js} +0 -0
  64. /package/{dist/api/resources/referrals/client/requests/EaConfirmReferralBody.js → api/types/ReferrerIdType.js} +0 -0
  65. /package/dist/api/resources/{referrals/client/requests/EaRejectReferralBody.js → offerings/client/requests/OfferingsListRequest.js} +0 -0
  66. /package/dist/api/{types/EmailReminderSignature.js → resources/referrals/client/requests/AcceptReferralBody.js} +0 -0
@@ -59,6 +59,7 @@ class Offerings {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
62
+ * @param {ReferralExchange.OfferingsListRequest} request
62
63
  * @param {Offerings.RequestOptions} requestOptions - Request-specific configuration.
63
64
  *
64
65
  * @throws {@link ReferralExchange.UnauthorizedError}
@@ -66,14 +67,23 @@ class Offerings {
66
67
  * @example
67
68
  * await client.offerings.list()
68
69
  */
69
- list(requestOptions) {
70
- return __awaiter(this, void 0, void 0, function* () {
70
+ list() {
71
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
71
72
  var _a, _b, _c;
73
+ const { referrerId, referrerIdType } = request;
74
+ const _queryParams = {};
75
+ if (referrerId != null) {
76
+ _queryParams["referrerId"] = referrerId;
77
+ }
78
+ if (referrerIdType != null) {
79
+ _queryParams["referrerIdType"] = referrerIdType;
80
+ }
72
81
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
73
82
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, "api/v1/offerings"),
74
83
  method: "GET",
75
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
85
  contentType: "application/json",
86
+ queryParameters: _queryParams,
77
87
  requestType: "json",
78
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
79
89
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -131,7 +141,7 @@ class Offerings {
131
141
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
132
142
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/offerings/${encodeURIComponent(offeringId)}/timeslots`),
133
143
  method: "GET",
134
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
144
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
145
  contentType: "application/json",
136
146
  queryParameters: _queryParams,
137
147
  requestType: "json",
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ReferralExchange from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface OfferingsListRequest {
10
+ /**
11
+ * Use together with `referralIdType` to return offerings that a referrer is allowed to make referrals to.
12
+ */
13
+ referrerId?: string;
14
+ /**
15
+ * Use together with `referrerId` to return offerings that a referrer is allowed to make referrals to.
16
+ */
17
+ referrerIdType?: ReferralExchange.ReferrerIdType;
18
+ }
@@ -1 +1,2 @@
1
+ export { type OfferingsListRequest } from "./OfferingsListRequest";
1
2
  export { type OfferingsListTimeslotsRequest } from "./OfferingsListTimeslotsRequest";
@@ -71,15 +71,23 @@ class Public {
71
71
  getReferral(referralId_1) {
72
72
  return __awaiter(this, arguments, void 0, function* (referralId, request = {}, requestOptions) {
73
73
  var _a, _b, _c;
74
- const { includeAttachments } = request;
74
+ const { includeAttachments, additionalField } = request;
75
75
  const _queryParams = {};
76
76
  if (includeAttachments != null) {
77
77
  _queryParams["includeAttachments"] = includeAttachments.toString();
78
78
  }
79
+ if (additionalField != null) {
80
+ if (Array.isArray(additionalField)) {
81
+ _queryParams["additionalField"] = additionalField.map((item) => item);
82
+ }
83
+ else {
84
+ _queryParams["additionalField"] = additionalField;
85
+ }
86
+ }
79
87
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
80
88
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/public/referrals/${encodeURIComponent(referralId)}`),
81
89
  method: "GET",
82
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
91
  contentType: "application/json",
84
92
  queryParameters: _queryParams,
85
93
  requestType: "json",
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as ReferralExchange from "../../../../index";
4
5
  /**
5
6
  * @example
6
7
  * {}
7
8
  */
8
9
  export interface PublicGetReferralRequest {
9
10
  includeAttachments?: boolean;
11
+ additionalField?: ReferralExchange.AdditionalReferralField | ReferralExchange.AdditionalReferralField[];
10
12
  }
@@ -120,20 +120,18 @@ export declare class Referrals {
120
120
  amend(referralId: string, request: ReferralExchange.AmendReferralReq, requestOptions?: Referrals.RequestOptions): Promise<ReferralExchange.ReferralDto>;
121
121
  /**
122
122
  * @param {string} referralId - Referral ID
123
- * @param {ReferralExchange.EaConfirmReferralBody} request
123
+ * @param {ReferralExchange.AcceptReferralBody} request
124
124
  * @param {Referrals.RequestOptions} requestOptions - Request-specific configuration.
125
125
  *
126
126
  * @throws {@link ReferralExchange.UnauthorizedError}
127
127
  *
128
128
  * @example
129
- * await client.referrals.accept("referralId", {
130
- * appointmentTime: 1714857600000
131
- * })
129
+ * await client.referrals.accept("referralId")
132
130
  */
133
- accept(referralId: string, request: ReferralExchange.EaConfirmReferralBody, requestOptions?: Referrals.RequestOptions): Promise<void>;
131
+ accept(referralId: string, request?: ReferralExchange.AcceptReferralBody, requestOptions?: Referrals.RequestOptions): Promise<void>;
134
132
  /**
135
133
  * @param {string} referralId - Referral ID
136
- * @param {ReferralExchange.EaRejectReferralBody} request
134
+ * @param {ReferralExchange.RejectReferralBody} request
137
135
  * @param {Referrals.RequestOptions} requestOptions - Request-specific configuration.
138
136
  *
139
137
  * @throws {@link ReferralExchange.UnauthorizedError}
@@ -143,7 +141,7 @@ export declare class Referrals {
143
141
  * rejectionMessage: "rejectionMessage"
144
142
  * })
145
143
  */
146
- reject(referralId: string, request: ReferralExchange.EaRejectReferralBody, requestOptions?: Referrals.RequestOptions): Promise<void>;
144
+ reject(referralId: string, request: ReferralExchange.RejectReferralBody, requestOptions?: Referrals.RequestOptions): Promise<void>;
147
145
  /**
148
146
  * @param {string} referralId - Referral ID
149
147
  * @param {Referrals.RequestOptions} requestOptions - Request-specific configuration.
@@ -95,7 +95,7 @@ class Referrals {
95
95
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
96
96
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, "api/v1/referrals"),
97
97
  method: "GET",
98
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -171,7 +171,7 @@ class Referrals {
171
171
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
172
172
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, "api/v1/referrals"),
173
173
  method: "POST",
174
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  body: request,
@@ -224,15 +224,23 @@ class Referrals {
224
224
  get(referralId_1) {
225
225
  return __awaiter(this, arguments, void 0, function* (referralId, request = {}, requestOptions) {
226
226
  var _a, _b, _c;
227
- const { includeAttachments } = request;
227
+ const { includeAttachments, additionalField } = request;
228
228
  const _queryParams = {};
229
229
  if (includeAttachments != null) {
230
230
  _queryParams["includeAttachments"] = includeAttachments.toString();
231
231
  }
232
+ if (additionalField != null) {
233
+ if (Array.isArray(additionalField)) {
234
+ _queryParams["additionalField"] = additionalField.map((item) => item);
235
+ }
236
+ else {
237
+ _queryParams["additionalField"] = additionalField;
238
+ }
239
+ }
232
240
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
233
241
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}`),
234
242
  method: "GET",
235
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
236
244
  contentType: "application/json",
237
245
  queryParameters: _queryParams,
238
246
  requestType: "json",
@@ -286,7 +294,7 @@ class Referrals {
286
294
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
287
295
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}`),
288
296
  method: "DELETE",
289
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
297
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
290
298
  contentType: "application/json",
291
299
  requestType: "json",
292
300
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -338,7 +346,7 @@ class Referrals {
338
346
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
339
347
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}/cancel`),
340
348
  method: "POST",
341
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
349
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
342
350
  contentType: "application/json",
343
351
  requestType: "json",
344
352
  body: request,
@@ -393,7 +401,7 @@ class Referrals {
393
401
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
394
402
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}/amend`),
395
403
  method: "POST",
396
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
397
405
  contentType: "application/json",
398
406
  requestType: "json",
399
407
  body: request,
@@ -432,23 +440,21 @@ class Referrals {
432
440
  }
433
441
  /**
434
442
  * @param {string} referralId - Referral ID
435
- * @param {ReferralExchange.EaConfirmReferralBody} request
443
+ * @param {ReferralExchange.AcceptReferralBody} request
436
444
  * @param {Referrals.RequestOptions} requestOptions - Request-specific configuration.
437
445
  *
438
446
  * @throws {@link ReferralExchange.UnauthorizedError}
439
447
  *
440
448
  * @example
441
- * await client.referrals.accept("referralId", {
442
- * appointmentTime: 1714857600000
443
- * })
449
+ * await client.referrals.accept("referralId")
444
450
  */
445
- accept(referralId, request, requestOptions) {
446
- return __awaiter(this, void 0, void 0, function* () {
451
+ accept(referralId_1) {
452
+ return __awaiter(this, arguments, void 0, function* (referralId, request = {}, requestOptions) {
447
453
  var _a, _b, _c;
448
454
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
449
455
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}/accept`),
450
456
  method: "POST",
451
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
457
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
452
458
  contentType: "application/json",
453
459
  requestType: "json",
454
460
  body: request,
@@ -487,7 +493,7 @@ class Referrals {
487
493
  }
488
494
  /**
489
495
  * @param {string} referralId - Referral ID
490
- * @param {ReferralExchange.EaRejectReferralBody} request
496
+ * @param {ReferralExchange.RejectReferralBody} request
491
497
  * @param {Referrals.RequestOptions} requestOptions - Request-specific configuration.
492
498
  *
493
499
  * @throws {@link ReferralExchange.UnauthorizedError}
@@ -503,7 +509,7 @@ class Referrals {
503
509
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
504
510
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}/reject`),
505
511
  method: "POST",
506
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
512
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
507
513
  contentType: "application/json",
508
514
  requestType: "json",
509
515
  body: request,
@@ -555,7 +561,7 @@ class Referrals {
555
561
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
556
562
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/referrals/${encodeURIComponent(referralId)}/back-to-draft`),
557
563
  method: "POST",
558
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
564
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
559
565
  contentType: "application/json",
560
566
  requestType: "json",
561
567
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -3,13 +3,11 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {
7
- * appointmentTime: 1714857600000
8
- * }
6
+ * {}
9
7
  */
10
- export interface EaConfirmReferralBody {
8
+ export interface AcceptReferralBody {
11
9
  /** Appointment time, in milliseconds since epoch. */
12
- appointmentTime: number;
10
+ appointmentTime?: number;
13
11
  /** Note content */
14
12
  noteContent?: string;
15
13
  }
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as ReferralExchange from "../../../../index";
4
5
  /**
5
6
  * @example
6
7
  * {}
7
8
  */
8
9
  export interface ReferralsGetRequest {
9
10
  includeAttachments?: boolean;
11
+ additionalField?: ReferralExchange.AdditionalReferralField | ReferralExchange.AdditionalReferralField[];
10
12
  }
@@ -7,7 +7,7 @@
7
7
  * rejectionMessage: "rejectionMessage"
8
8
  * }
9
9
  */
10
- export interface EaRejectReferralBody {
10
+ export interface RejectReferralBody {
11
11
  /** Rejection message */
12
12
  rejectionMessage: string;
13
13
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,5 +3,5 @@ export { type CreateReferralReq } from "./CreateReferralReq";
3
3
  export { type ReferralsGetRequest } from "./ReferralsGetRequest";
4
4
  export { type CancelReferralReq } from "./CancelReferralReq";
5
5
  export { type AmendReferralReq } from "./AmendReferralReq";
6
- export { type EaConfirmReferralBody } from "./EaConfirmReferralBody";
7
- export { type EaRejectReferralBody } from "./EaRejectReferralBody";
6
+ export { type AcceptReferralBody } from "./AcceptReferralBody";
7
+ export { type RejectReferralBody } from "./RejectReferralBody";
@@ -69,7 +69,7 @@ class Webhooks {
69
69
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
70
70
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, "api/v1/webhooks/formsg/singhealth-profile"),
71
71
  method: "POST",
72
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
72
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -113,7 +113,7 @@ class Webhooks {
113
113
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
114
114
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ReferralExchangeEnvironment.SmartCms, `api/v1/webhooks/formsg/form-submission/${encodeURIComponent(formId)}`),
115
115
  method: "POST",
116
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.34", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.35-prerelease-1745909708", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.35-prerelease-1745909708", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type AdditionalReferralField = "attachments" | "url";
5
+ export declare const AdditionalReferralField: {
6
+ readonly Attachments: "attachments";
7
+ readonly Url: "url";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AdditionalReferralField = void 0;
7
+ exports.AdditionalReferralField = {
8
+ Attachments: "attachments",
9
+ Url: "url",
10
+ };
@@ -16,6 +16,8 @@ export interface FullReferralDto {
16
16
  /** List of forms required to complete the referral */
17
17
  forms?: ReferralExchange.Form[];
18
18
  attachments: ReferralExchange.AttachmentDto[];
19
+ /** URL to view the referral */
20
+ url?: string;
19
21
  status: ReferralExchange.FullReferralDtoStatus;
20
22
  /** Timeslot start time (ISO datetime) */
21
23
  timeslotStartAt?: string;
@@ -16,4 +16,6 @@ export interface PublicReferralDto {
16
16
  /** List of forms required to complete the referral */
17
17
  forms?: ReferralExchange.Form[];
18
18
  attachments: ReferralExchange.AttachmentDto[];
19
+ /** URL to view the referral */
20
+ url?: string;
19
21
  }
@@ -16,6 +16,8 @@ export interface ReferralDto {
16
16
  /** List of forms required to complete the referral */
17
17
  forms?: ReferralExchange.Form[];
18
18
  attachments: ReferralExchange.AttachmentDto[];
19
+ /** URL to view the referral */
20
+ url?: string;
19
21
  status: ReferralExchange.ReferralDtoStatus;
20
22
  /** Timeslot start time (ISO datetime) */
21
23
  timeslotStartAt?: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ReferrerIdType = "mcr";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as ReferralExchange from "../index";
5
4
  export interface TriggerEmailReminderBody {
6
5
  /** Email to cc the reminder to */
7
6
  ccEmail?: string;
8
- /** Email to send the reminder from */
9
- fromEmail?: string;
10
- /** Signature to be added to the email */
11
- signature?: ReferralExchange.EmailReminderSignature;
12
7
  }
@@ -23,6 +23,7 @@ export * from "./ReferralDto";
23
23
  export * from "./PaginatedQuery";
24
24
  export * from "./PaginationMetadata";
25
25
  export * from "./PaginatedReferralsDto";
26
+ export * from "./AdditionalReferralField";
26
27
  export * from "./TimelineEventType";
27
28
  export * from "./TimelineEventDtoSystem";
28
29
  export * from "./TimelineEventDto";
@@ -30,8 +31,8 @@ export * from "./FullReferralDtoStatus";
30
31
  export * from "./FullReferralDto";
31
32
  export * from "./CreatePatientReqGender";
32
33
  export * from "./CreatePatientReq";
34
+ export * from "./ReferrerIdType";
33
35
  export * from "./Timeslot";
34
- export * from "./EmailReminderSignature";
35
36
  export * from "./TriggerEmailReminderBody";
36
37
  export * from "./FormMetadata";
37
38
  export * from "./CreateReferralFormReq";
@@ -39,6 +39,7 @@ __exportStar(require("./ReferralDto"), exports);
39
39
  __exportStar(require("./PaginatedQuery"), exports);
40
40
  __exportStar(require("./PaginationMetadata"), exports);
41
41
  __exportStar(require("./PaginatedReferralsDto"), exports);
42
+ __exportStar(require("./AdditionalReferralField"), exports);
42
43
  __exportStar(require("./TimelineEventType"), exports);
43
44
  __exportStar(require("./TimelineEventDtoSystem"), exports);
44
45
  __exportStar(require("./TimelineEventDto"), exports);
@@ -46,8 +47,8 @@ __exportStar(require("./FullReferralDtoStatus"), exports);
46
47
  __exportStar(require("./FullReferralDto"), exports);
47
48
  __exportStar(require("./CreatePatientReqGender"), exports);
48
49
  __exportStar(require("./CreatePatientReq"), exports);
50
+ __exportStar(require("./ReferrerIdType"), exports);
49
51
  __exportStar(require("./Timeslot"), exports);
50
- __exportStar(require("./EmailReminderSignature"), exports);
51
52
  __exportStar(require("./TriggerEmailReminderBody"), exports);
52
53
  __exportStar(require("./FormMetadata"), exports);
53
54
  __exportStar(require("./CreateReferralFormReq"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.34";
1
+ export declare const SDK_VERSION = "0.0.35-prerelease-1745909708";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.34";
4
+ exports.SDK_VERSION = "0.0.35-prerelease-1745909708";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengovsg/refx-ts-sdk",
3
- "version": "0.0.34",
3
+ "version": "0.0.35-prerelease-1745909708",
4
4
  "private": false,
5
5
  "repository": "https://github.com/opengovsg/refer-ts-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -409,9 +409,7 @@ await client.referrals.amend("referralId", {
409
409
  <dd>
410
410
 
411
411
  ```typescript
412
- await client.referrals.accept("referralId", {
413
- appointmentTime: 1714857600000,
414
- });
412
+ await client.referrals.accept("referralId");
415
413
  ```
416
414
 
417
415
  </dd>
@@ -435,7 +433,7 @@ await client.referrals.accept("referralId", {
435
433
  <dl>
436
434
  <dd>
437
435
 
438
- **request:** `ReferralExchange.EaConfirmReferralBody`
436
+ **request:** `ReferralExchange.AcceptReferralBody`
439
437
 
440
438
  </dd>
441
439
  </dl>
@@ -493,7 +491,7 @@ await client.referrals.reject("referralId", {
493
491
  <dl>
494
492
  <dd>
495
493
 
496
- **request:** `ReferralExchange.EaRejectReferralBody`
494
+ **request:** `ReferralExchange.RejectReferralBody`
497
495
 
498
496
  </dd>
499
497
  </dl>
@@ -622,7 +620,7 @@ await client.notes.create("referralId", {
622
620
 
623
621
  ## Offerings
624
622
 
625
- <details><summary><code>client.offerings.<a href="/src/api/resources/offerings/client/Client.ts">list</a>() -> ReferralExchange.OfferingDto[]</code></summary>
623
+ <details><summary><code>client.offerings.<a href="/src/api/resources/offerings/client/Client.ts">list</a>({ ...params }) -> ReferralExchange.OfferingDto[]</code></summary>
626
624
  <dl>
627
625
  <dd>
628
626
 
@@ -651,6 +649,14 @@ await client.offerings.list();
651
649
  <dl>
652
650
  <dd>
653
651
 
652
+ **request:** `ReferralExchange.OfferingsListRequest`
653
+
654
+ </dd>
655
+ </dl>
656
+
657
+ <dl>
658
+ <dd>
659
+
654
660
  **requestOptions:** `Offerings.RequestOptions`
655
661
 
656
662
  </dd>
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.34";
1
+ export declare const SDK_VERSION = "0.0.35-prerelease-1745909708";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.34";
4
+ exports.SDK_VERSION = "0.0.35-prerelease-1745909708";
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface EmailReminderSignature {
5
- /** Name of the person signing the email */
6
- name: string;
7
- /** Title of the person signing the email */
8
- title: string;
9
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface EmailReminderSignature {
5
- /** Name of the person signing the email */
6
- name: string;
7
- /** Title of the person signing the email */
8
- title: string;
9
- }