@opengovsg/refx-ts-sdk 0.0.63 → 0.0.64

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 (86) 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/index.d.ts +2 -1
  4. package/api/resources/index.js +3 -2
  5. package/api/resources/links/client/Client.js +1 -1
  6. package/api/resources/links/client/requests/CreateLinkReqUpsert.d.ts +2 -0
  7. package/api/resources/links/types/CreateLinkReqUpsertNationality.d.ts +264 -0
  8. package/api/resources/links/types/CreateLinkReqUpsertNationality.js +263 -0
  9. package/api/resources/links/types/index.d.ts +1 -0
  10. package/api/resources/links/types/index.js +1 -0
  11. package/api/resources/notes/client/Client.js +1 -1
  12. package/api/resources/offerings/client/Client.d.ts +1 -0
  13. package/api/resources/offerings/client/Client.js +4 -3
  14. package/api/resources/offerings/client/requests/ApiHoldingControllerGetRecommendedOfferingRequest.d.ts +3 -1
  15. package/api/resources/offerings/index.d.ts +1 -0
  16. package/api/resources/offerings/index.js +1 -0
  17. package/api/resources/offerings/types/ApiHoldingControllerGetRecommendedOfferingRequestCategory.d.ts +8 -0
  18. package/api/resources/offerings/types/ApiHoldingControllerGetRecommendedOfferingRequestCategory.js +10 -0
  19. package/api/resources/offerings/types/index.d.ts +1 -0
  20. package/api/resources/offerings/types/index.js +17 -0
  21. package/api/resources/public/client/Client.js +1 -1
  22. package/api/resources/referrals/client/Client.js +10 -10
  23. package/api/resources/referrers/client/Client.js +1 -1
  24. package/api/resources/webhooks/client/Client.js +2 -2
  25. package/api/types/CreatePatientReq.d.ts +2 -0
  26. package/api/types/CreatePatientReqNationality.d.ts +264 -0
  27. package/api/types/CreatePatientReqNationality.js +263 -0
  28. package/api/types/GetReferralPatientDto.d.ts +2 -0
  29. package/api/types/GetReferralPatientDtoNationality.d.ts +264 -0
  30. package/api/types/GetReferralPatientDtoNationality.js +263 -0
  31. package/api/types/OfferingDto.d.ts +1 -1
  32. package/api/types/OfferingDtoCategory.d.ts +11 -0
  33. package/api/types/OfferingDtoCategory.js +10 -0
  34. package/api/types/OfferingWithAllowedDto.d.ts +1 -1
  35. package/api/types/OfferingWithAllowedDtoCategory.d.ts +11 -0
  36. package/api/types/OfferingWithAllowedDtoCategory.js +10 -0
  37. package/api/types/TimelineEventType.d.ts +3 -1
  38. package/api/types/TimelineEventType.js +2 -0
  39. package/api/types/index.d.ts +4 -0
  40. package/api/types/index.js +4 -0
  41. package/dist/api/resources/eligibility/client/Client.js +1 -1
  42. package/dist/api/resources/health/client/Client.js +1 -1
  43. package/dist/api/resources/index.d.ts +2 -1
  44. package/dist/api/resources/index.js +3 -2
  45. package/dist/api/resources/links/client/Client.js +1 -1
  46. package/dist/api/resources/links/client/requests/CreateLinkReqUpsert.d.ts +2 -0
  47. package/dist/api/resources/links/types/CreateLinkReqUpsertNationality.d.ts +264 -0
  48. package/dist/api/resources/links/types/CreateLinkReqUpsertNationality.js +263 -0
  49. package/dist/api/resources/links/types/index.d.ts +1 -0
  50. package/dist/api/resources/links/types/index.js +1 -0
  51. package/dist/api/resources/notes/client/Client.js +1 -1
  52. package/dist/api/resources/offerings/client/Client.d.ts +1 -0
  53. package/dist/api/resources/offerings/client/Client.js +4 -3
  54. package/dist/api/resources/offerings/client/requests/ApiHoldingControllerGetRecommendedOfferingRequest.d.ts +3 -1
  55. package/dist/api/resources/offerings/index.d.ts +1 -0
  56. package/dist/api/resources/offerings/index.js +1 -0
  57. package/dist/api/resources/offerings/types/ApiHoldingControllerGetRecommendedOfferingRequestCategory.d.ts +8 -0
  58. package/dist/api/resources/offerings/types/ApiHoldingControllerGetRecommendedOfferingRequestCategory.js +10 -0
  59. package/dist/api/resources/offerings/types/index.d.ts +1 -0
  60. package/dist/api/resources/offerings/types/index.js +17 -0
  61. package/dist/api/resources/public/client/Client.js +1 -1
  62. package/dist/api/resources/referrals/client/Client.js +10 -10
  63. package/dist/api/resources/referrers/client/Client.js +1 -1
  64. package/dist/api/resources/webhooks/client/Client.js +2 -2
  65. package/dist/api/types/CreatePatientReq.d.ts +2 -0
  66. package/dist/api/types/CreatePatientReqNationality.d.ts +264 -0
  67. package/dist/api/types/CreatePatientReqNationality.js +263 -0
  68. package/dist/api/types/GetReferralPatientDto.d.ts +2 -0
  69. package/dist/api/types/GetReferralPatientDtoNationality.d.ts +264 -0
  70. package/dist/api/types/GetReferralPatientDtoNationality.js +263 -0
  71. package/dist/api/types/OfferingDto.d.ts +1 -1
  72. package/dist/api/types/OfferingDtoCategory.d.ts +11 -0
  73. package/dist/api/types/OfferingDtoCategory.js +10 -0
  74. package/dist/api/types/OfferingWithAllowedDto.d.ts +1 -1
  75. package/dist/api/types/OfferingWithAllowedDtoCategory.d.ts +11 -0
  76. package/dist/api/types/OfferingWithAllowedDtoCategory.js +10 -0
  77. package/dist/api/types/TimelineEventType.d.ts +3 -1
  78. package/dist/api/types/TimelineEventType.js +2 -0
  79. package/dist/api/types/index.d.ts +4 -0
  80. package/dist/api/types/index.js +4 -0
  81. package/dist/version.d.ts +1 -1
  82. package/dist/version.js +1 -1
  83. package/package.json +1 -1
  84. package/reference.md +1 -0
  85. package/version.d.ts +1 -1
  86. package/version.js +1 -1
@@ -85,7 +85,7 @@ class Offerings {
85
85
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
86
  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"),
87
87
  method: "GET",
88
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
88
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -131,6 +131,7 @@ class Offerings {
131
131
  *
132
132
  * @example
133
133
  * await client.offerings.apiHoldingControllerGetRecommendedOffering({
134
+ * category: "aac",
134
135
  * postalCode: "postalCode"
135
136
  * })
136
137
  */
@@ -144,7 +145,7 @@ class Offerings {
144
145
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
145
146
  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/recommended"),
146
147
  method: "GET",
147
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
148
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
148
149
  contentType: "application/json",
149
150
  queryParameters: _queryParams,
150
151
  requestType: "json",
@@ -207,7 +208,7 @@ class Offerings {
207
208
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
208
209
  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`),
209
210
  method: "GET",
210
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
211
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
211
212
  contentType: "application/json",
212
213
  queryParameters: _queryParams,
213
214
  requestType: "json",
@@ -1,9 +1,11 @@
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
  * {
8
+ * category: "aac",
7
9
  * postalCode: "postalCode"
8
10
  * }
9
11
  */
@@ -11,7 +13,7 @@ export interface ApiHoldingControllerGetRecommendedOfferingRequest {
11
13
  /**
12
14
  * Offering category to retrieve recommendation for
13
15
  */
14
- category: "aac";
16
+ category: ReferralExchange.ApiHoldingControllerGetRecommendedOfferingRequestCategory;
15
17
  /**
16
18
  * Postal code of the patient to retrieve recommendation for
17
19
  */
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ApiHoldingControllerGetRecommendedOfferingRequestCategory = "aac" | "acp";
5
+ export declare const ApiHoldingControllerGetRecommendedOfferingRequestCategory: {
6
+ readonly Aac: "aac";
7
+ readonly Acp: "acp";
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.ApiHoldingControllerGetRecommendedOfferingRequestCategory = void 0;
7
+ exports.ApiHoldingControllerGetRecommendedOfferingRequestCategory = {
8
+ Aac: "aac",
9
+ Acp: "acp",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./ApiHoldingControllerGetRecommendedOfferingRequestCategory";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ApiHoldingControllerGetRecommendedOfferingRequestCategory"), exports);
@@ -91,7 +91,7 @@ class Public {
91
91
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
92
92
  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)}`),
93
93
  method: "GET",
94
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
94
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
95
95
  contentType: "application/json",
96
96
  queryParameters: _queryParams,
97
97
  requestType: "json",
@@ -107,7 +107,7 @@ class Referrals {
107
107
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
108
108
  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"),
109
109
  method: "GET",
110
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
110
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -183,7 +183,7 @@ class Referrals {
183
183
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
184
184
  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"),
185
185
  method: "POST",
186
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
186
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
187
187
  contentType: "application/json",
188
188
  requestType: "json",
189
189
  body: request,
@@ -267,7 +267,7 @@ class Referrals {
267
267
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
268
268
  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/institutions/${encodeURIComponent(institutionIdType)}/${encodeURIComponent(institutionId)}/referrals`),
269
269
  method: "GET",
270
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
270
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
271
271
  contentType: "application/json",
272
272
  queryParameters: _queryParams,
273
273
  requestType: "json",
@@ -338,7 +338,7 @@ class Referrals {
338
338
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
339
339
  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)}`),
340
340
  method: "GET",
341
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
341
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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
342
  contentType: "application/json",
343
343
  queryParameters: _queryParams,
344
344
  requestType: "json",
@@ -400,7 +400,7 @@ class Referrals {
400
400
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
401
401
  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)}`),
402
402
  method: "DELETE",
403
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
403
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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
404
  contentType: "application/json",
405
405
  queryParameters: _queryParams,
406
406
  requestType: "json",
@@ -456,7 +456,7 @@ class Referrals {
456
456
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
457
457
  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`),
458
458
  method: "POST",
459
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
459
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
460
460
  contentType: "application/json",
461
461
  requestType: "json",
462
462
  body: Object.assign(Object.assign({}, request), { institutionIdType: "hci" }),
@@ -513,7 +513,7 @@ class Referrals {
513
513
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
514
514
  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`),
515
515
  method: "POST",
516
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
516
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
517
517
  contentType: "application/json",
518
518
  requestType: "json",
519
519
  body: Object.assign(Object.assign({}, request), { institutionIdType: "hci" }),
@@ -570,7 +570,7 @@ class Referrals {
570
570
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
571
571
  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`),
572
572
  method: "POST",
573
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
573
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
574
574
  contentType: "application/json",
575
575
  requestType: "json",
576
576
  body: Object.assign(Object.assign({}, request), { institutionIdType: "hci" }),
@@ -629,7 +629,7 @@ class Referrals {
629
629
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
630
630
  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`),
631
631
  method: "POST",
632
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
632
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
633
633
  contentType: "application/json",
634
634
  requestType: "json",
635
635
  body: Object.assign(Object.assign({}, request), { institutionIdType: "hci" }),
@@ -685,7 +685,7 @@ class Referrals {
685
685
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
686
686
  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`),
687
687
  method: "POST",
688
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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),
688
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
689
689
  contentType: "application/json",
690
690
  requestType: "json",
691
691
  body: Object.assign(Object.assign({}, request), { institutionIdType: "hci" }),
@@ -81,7 +81,7 @@ class Referrers {
81
81
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
82
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/referrers"),
83
83
  method: "GET",
84
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk", "X-Fern-SDK-Version": "0.0.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -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.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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.63", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.63", "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.64", "User-Agent": "@opengovsg/refx-ts-sdk/0.0.64", "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,
@@ -16,6 +16,8 @@ export interface CreatePatientReq {
16
16
  address?: ReferralExchange.CreateAddressReq;
17
17
  /** Patient residential status */
18
18
  residentialStatus?: ReferralExchange.CreatePatientReqResidentialStatus;
19
+ /** Patient nationality */
20
+ nationality?: ReferralExchange.CreatePatientReqNationality;
19
21
  /** Patient Healthier SG (HSG) enrolment status */
20
22
  isHsgEnrolled?: boolean;
21
23
  }
@@ -0,0 +1,264 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Patient nationality
6
+ */
7
+ export type CreatePatientReqNationality = "Singapore" | "Afghanistan" | "Albania" | "Algeria" | "Andorra" | "Angola" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bhutan" | "Bolivia" | "Bosnia and Herzegovina" | "Botswana" | "Brazil" | "Brunei" | "Bulgaria" | "Burkina Faso" | "Myanmar" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Central African Republic" | "Chad" | "Chile" | "China" | "Colombia" | "Comoros" | "Congo, Republic of" | "Costa Rica" | "Cote d'Ivoire" | "Croatia" | "Cuba" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Fiji" | "Finland" | "France" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Greece" | "Grenada" | "Guatemala" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Holy See" | "Honduras" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Israel" | "Italy" | "Jamaica" | "Japan" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Kuwait" | "Kyrgyzstan" | "Laos" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Mauritania" | "Mauritius" | "Mexico" | "Micronesia" | "Moldova" | "Monaco" | "Mongolia" | "Morocco" | "Mozambique" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "North Korea" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Poland" | "Portugal" | "Qatar" | "Romania" | "Russia" | "Rwanda" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Seychelles" | "Sierra Leone" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Korea" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Togo" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States of America" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela" | "Vietnam" | "Yemen" | "Yugoslavia" | "Zambia" | "Zimbabwe" | "Congo, Democratic Republic of" | "Timor-Leste" | "Anguilla" | "Christmas Island" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "French Guiana" | "Gibraltar" | "Greenland" | "South Georgia And The South Sandwich Islands" | "Hong Kong" | "Heard Island and Mcdonald Islands" | "British Indian Ocean Territory" | "Cayman Islands" | "Macao" | "Northern Mariana Islands" | "Martinique" | "Montserrat" | "New Caledonia" | "Norfolk Island" | "Niue" | "French Polynesia" | "Saint Pierre and Miquelon" | "Pitcairn" | "Puerto Rico" | "Palestinian Territory, Occupied" | "Cook Islands" | "Reunion" | "Bouvet Island" | "Cocos (Keeling)Islands" | "Saint Helena" | "Svalbard and Jan Mayen" | "Turks and Caicos Islands" | "French Southern Territories" | "Tokelau" | "United States Minor Outlying Islands" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Mayotte" | "Others" | "Bermuda" | "Guadeloupe" | "Netherlands Antilles" | "Western Sahara" | "Guam" | "Unknown" | "Aruba" | "Antarctica" | "\u00C5land Islands" | "Serb/Mont" | "Guernsey" | "Isle Of Man" | "Jersey" | "Western Samoa" | "Kosovo" | "Bonaire, Sint Eustatius, and Saba" | "Curacao" | "Saint Barthelemy" | "Sint Maarten" | "South Sudan" | "Serbia" | "Montenegro" | "Saint Martin";
8
+ export declare const CreatePatientReqNationality: {
9
+ readonly Singapore: "Singapore";
10
+ readonly Afghanistan: "Afghanistan";
11
+ readonly Albania: "Albania";
12
+ readonly Algeria: "Algeria";
13
+ readonly Andorra: "Andorra";
14
+ readonly Angola: "Angola";
15
+ readonly AntiguaAndBarbuda: "Antigua and Barbuda";
16
+ readonly Argentina: "Argentina";
17
+ readonly Armenia: "Armenia";
18
+ readonly Australia: "Australia";
19
+ readonly Austria: "Austria";
20
+ readonly Azerbaijan: "Azerbaijan";
21
+ readonly Bahamas: "Bahamas";
22
+ readonly Bahrain: "Bahrain";
23
+ readonly Bangladesh: "Bangladesh";
24
+ readonly Barbados: "Barbados";
25
+ readonly Belarus: "Belarus";
26
+ readonly Belgium: "Belgium";
27
+ readonly Belize: "Belize";
28
+ readonly Benin: "Benin";
29
+ readonly Bhutan: "Bhutan";
30
+ readonly Bolivia: "Bolivia";
31
+ readonly BosniaAndHerzegovina: "Bosnia and Herzegovina";
32
+ readonly Botswana: "Botswana";
33
+ readonly Brazil: "Brazil";
34
+ readonly Brunei: "Brunei";
35
+ readonly Bulgaria: "Bulgaria";
36
+ readonly BurkinaFaso: "Burkina Faso";
37
+ readonly Myanmar: "Myanmar";
38
+ readonly Burundi: "Burundi";
39
+ readonly Cambodia: "Cambodia";
40
+ readonly Cameroon: "Cameroon";
41
+ readonly Canada: "Canada";
42
+ readonly CapeVerde: "Cape Verde";
43
+ readonly CentralAfricanRepublic: "Central African Republic";
44
+ readonly Chad: "Chad";
45
+ readonly Chile: "Chile";
46
+ readonly China: "China";
47
+ readonly Colombia: "Colombia";
48
+ readonly Comoros: "Comoros";
49
+ readonly CongoRepublicOf: "Congo, Republic of";
50
+ readonly CostaRica: "Costa Rica";
51
+ readonly CoteDIvoire: "Cote d'Ivoire";
52
+ readonly Croatia: "Croatia";
53
+ readonly Cuba: "Cuba";
54
+ readonly Cyprus: "Cyprus";
55
+ readonly CzechRepublic: "Czech Republic";
56
+ readonly Denmark: "Denmark";
57
+ readonly Djibouti: "Djibouti";
58
+ readonly Dominica: "Dominica";
59
+ readonly DominicanRepublic: "Dominican Republic";
60
+ readonly Ecuador: "Ecuador";
61
+ readonly Egypt: "Egypt";
62
+ readonly ElSalvador: "El Salvador";
63
+ readonly EquatorialGuinea: "Equatorial Guinea";
64
+ readonly Eritrea: "Eritrea";
65
+ readonly Estonia: "Estonia";
66
+ readonly Ethiopia: "Ethiopia";
67
+ readonly Fiji: "Fiji";
68
+ readonly Finland: "Finland";
69
+ readonly France: "France";
70
+ readonly Gabon: "Gabon";
71
+ readonly Gambia: "Gambia";
72
+ readonly Georgia: "Georgia";
73
+ readonly Germany: "Germany";
74
+ readonly Ghana: "Ghana";
75
+ readonly Greece: "Greece";
76
+ readonly Grenada: "Grenada";
77
+ readonly Guatemala: "Guatemala";
78
+ readonly Guinea: "Guinea";
79
+ readonly GuineaBissau: "Guinea-Bissau";
80
+ readonly Guyana: "Guyana";
81
+ readonly Haiti: "Haiti";
82
+ readonly HolySee: "Holy See";
83
+ readonly Honduras: "Honduras";
84
+ readonly Hungary: "Hungary";
85
+ readonly Iceland: "Iceland";
86
+ readonly India: "India";
87
+ readonly Indonesia: "Indonesia";
88
+ readonly Iran: "Iran";
89
+ readonly Iraq: "Iraq";
90
+ readonly Ireland: "Ireland";
91
+ readonly Israel: "Israel";
92
+ readonly Italy: "Italy";
93
+ readonly Jamaica: "Jamaica";
94
+ readonly Japan: "Japan";
95
+ readonly Jordan: "Jordan";
96
+ readonly Kazakhstan: "Kazakhstan";
97
+ readonly Kenya: "Kenya";
98
+ readonly Kiribati: "Kiribati";
99
+ readonly Kuwait: "Kuwait";
100
+ readonly Kyrgyzstan: "Kyrgyzstan";
101
+ readonly Laos: "Laos";
102
+ readonly Latvia: "Latvia";
103
+ readonly Lebanon: "Lebanon";
104
+ readonly Lesotho: "Lesotho";
105
+ readonly Liberia: "Liberia";
106
+ readonly Libya: "Libya";
107
+ readonly Liechtenstein: "Liechtenstein";
108
+ readonly Lithuania: "Lithuania";
109
+ readonly Luxembourg: "Luxembourg";
110
+ readonly Macedonia: "Macedonia";
111
+ readonly Madagascar: "Madagascar";
112
+ readonly Malawi: "Malawi";
113
+ readonly Malaysia: "Malaysia";
114
+ readonly Maldives: "Maldives";
115
+ readonly Mali: "Mali";
116
+ readonly Malta: "Malta";
117
+ readonly MarshallIslands: "Marshall Islands";
118
+ readonly Mauritania: "Mauritania";
119
+ readonly Mauritius: "Mauritius";
120
+ readonly Mexico: "Mexico";
121
+ readonly Micronesia: "Micronesia";
122
+ readonly Moldova: "Moldova";
123
+ readonly Monaco: "Monaco";
124
+ readonly Mongolia: "Mongolia";
125
+ readonly Morocco: "Morocco";
126
+ readonly Mozambique: "Mozambique";
127
+ readonly Namibia: "Namibia";
128
+ readonly Nauru: "Nauru";
129
+ readonly Nepal: "Nepal";
130
+ readonly Netherlands: "Netherlands";
131
+ readonly NewZealand: "New Zealand";
132
+ readonly Nicaragua: "Nicaragua";
133
+ readonly Niger: "Niger";
134
+ readonly Nigeria: "Nigeria";
135
+ readonly NorthKorea: "North Korea";
136
+ readonly Norway: "Norway";
137
+ readonly Oman: "Oman";
138
+ readonly Pakistan: "Pakistan";
139
+ readonly Palau: "Palau";
140
+ readonly Panama: "Panama";
141
+ readonly PapuaNewGuinea: "Papua New Guinea";
142
+ readonly Paraguay: "Paraguay";
143
+ readonly Peru: "Peru";
144
+ readonly Philippines: "Philippines";
145
+ readonly Poland: "Poland";
146
+ readonly Portugal: "Portugal";
147
+ readonly Qatar: "Qatar";
148
+ readonly Romania: "Romania";
149
+ readonly Russia: "Russia";
150
+ readonly Rwanda: "Rwanda";
151
+ readonly SaintKittsAndNevis: "Saint Kitts and Nevis";
152
+ readonly SaintLucia: "Saint Lucia";
153
+ readonly SaintVincentAndTheGrenadines: "Saint Vincent and the Grenadines";
154
+ readonly Samoa: "Samoa";
155
+ readonly SanMarino: "San Marino";
156
+ readonly SaoTomeAndPrincipe: "Sao Tome and Principe";
157
+ readonly SaudiArabia: "Saudi Arabia";
158
+ readonly Senegal: "Senegal";
159
+ readonly Seychelles: "Seychelles";
160
+ readonly SierraLeone: "Sierra Leone";
161
+ readonly Slovakia: "Slovakia";
162
+ readonly Slovenia: "Slovenia";
163
+ readonly SolomonIslands: "Solomon Islands";
164
+ readonly Somalia: "Somalia";
165
+ readonly SouthAfrica: "South Africa";
166
+ readonly SouthKorea: "South Korea";
167
+ readonly Spain: "Spain";
168
+ readonly SriLanka: "Sri Lanka";
169
+ readonly Sudan: "Sudan";
170
+ readonly Suriname: "Suriname";
171
+ readonly Swaziland: "Swaziland";
172
+ readonly Sweden: "Sweden";
173
+ readonly Switzerland: "Switzerland";
174
+ readonly Syria: "Syria";
175
+ readonly Taiwan: "Taiwan";
176
+ readonly Tajikistan: "Tajikistan";
177
+ readonly Tanzania: "Tanzania";
178
+ readonly Thailand: "Thailand";
179
+ readonly Togo: "Togo";
180
+ readonly Tonga: "Tonga";
181
+ readonly TrinidadAndTobago: "Trinidad and Tobago";
182
+ readonly Tunisia: "Tunisia";
183
+ readonly Turkey: "Turkey";
184
+ readonly Turkmenistan: "Turkmenistan";
185
+ readonly Tuvalu: "Tuvalu";
186
+ readonly Uganda: "Uganda";
187
+ readonly Ukraine: "Ukraine";
188
+ readonly UnitedArabEmirates: "United Arab Emirates";
189
+ readonly UnitedKingdom: "United Kingdom";
190
+ readonly UnitedStatesOfAmerica: "United States of America";
191
+ readonly Uruguay: "Uruguay";
192
+ readonly Uzbekistan: "Uzbekistan";
193
+ readonly Vanuatu: "Vanuatu";
194
+ readonly Venezuela: "Venezuela";
195
+ readonly Vietnam: "Vietnam";
196
+ readonly Yemen: "Yemen";
197
+ readonly Yugoslavia: "Yugoslavia";
198
+ readonly Zambia: "Zambia";
199
+ readonly Zimbabwe: "Zimbabwe";
200
+ readonly CongoDemocraticRepublicOf: "Congo, Democratic Republic of";
201
+ readonly TimorLeste: "Timor-Leste";
202
+ readonly Anguilla: "Anguilla";
203
+ readonly ChristmasIsland: "Christmas Island";
204
+ readonly FalklandIslandsMalvinas: "Falkland Islands (Malvinas)";
205
+ readonly FaroeIslands: "Faroe Islands";
206
+ readonly FrenchGuiana: "French Guiana";
207
+ readonly Gibraltar: "Gibraltar";
208
+ readonly Greenland: "Greenland";
209
+ readonly SouthGeorgiaAndTheSouthSandwichIslands: "South Georgia And The South Sandwich Islands";
210
+ readonly HongKong: "Hong Kong";
211
+ readonly HeardIslandAndMcdonaldIslands: "Heard Island and Mcdonald Islands";
212
+ readonly BritishIndianOceanTerritory: "British Indian Ocean Territory";
213
+ readonly CaymanIslands: "Cayman Islands";
214
+ readonly Macao: "Macao";
215
+ readonly NorthernMarianaIslands: "Northern Mariana Islands";
216
+ readonly Martinique: "Martinique";
217
+ readonly Montserrat: "Montserrat";
218
+ readonly NewCaledonia: "New Caledonia";
219
+ readonly NorfolkIsland: "Norfolk Island";
220
+ readonly Niue: "Niue";
221
+ readonly FrenchPolynesia: "French Polynesia";
222
+ readonly SaintPierreAndMiquelon: "Saint Pierre and Miquelon";
223
+ readonly Pitcairn: "Pitcairn";
224
+ readonly PuertoRico: "Puerto Rico";
225
+ readonly PalestinianTerritoryOccupied: "Palestinian Territory, Occupied";
226
+ readonly CookIslands: "Cook Islands";
227
+ readonly Reunion: "Reunion";
228
+ readonly BouvetIsland: "Bouvet Island";
229
+ readonly CocosKeelingIslands: "Cocos (Keeling)Islands";
230
+ readonly SaintHelena: "Saint Helena";
231
+ readonly SvalbardAndJanMayen: "Svalbard and Jan Mayen";
232
+ readonly TurksAndCaicosIslands: "Turks and Caicos Islands";
233
+ readonly FrenchSouthernTerritories: "French Southern Territories";
234
+ readonly Tokelau: "Tokelau";
235
+ readonly UnitedStatesMinorOutlyingIslands: "United States Minor Outlying Islands";
236
+ readonly VirginIslandsBritish: "Virgin Islands, British";
237
+ readonly VirginIslandsUs: "Virgin Islands, U.S.";
238
+ readonly WallisAndFutuna: "Wallis and Futuna";
239
+ readonly Mayotte: "Mayotte";
240
+ readonly Others: "Others";
241
+ readonly Bermuda: "Bermuda";
242
+ readonly Guadeloupe: "Guadeloupe";
243
+ readonly NetherlandsAntilles: "Netherlands Antilles";
244
+ readonly WesternSahara: "Western Sahara";
245
+ readonly Guam: "Guam";
246
+ readonly Unknown: "Unknown";
247
+ readonly Aruba: "Aruba";
248
+ readonly Antarctica: "Antarctica";
249
+ readonly AlandIslands: "Åland Islands";
250
+ readonly SerbMont: "Serb/Mont";
251
+ readonly Guernsey: "Guernsey";
252
+ readonly IsleOfMan: "Isle Of Man";
253
+ readonly Jersey: "Jersey";
254
+ readonly WesternSamoa: "Western Samoa";
255
+ readonly Kosovo: "Kosovo";
256
+ readonly BonaireSintEustatiusAndSaba: "Bonaire, Sint Eustatius, and Saba";
257
+ readonly Curacao: "Curacao";
258
+ readonly SaintBarthelemy: "Saint Barthelemy";
259
+ readonly SintMaarten: "Sint Maarten";
260
+ readonly SouthSudan: "South Sudan";
261
+ readonly Serbia: "Serbia";
262
+ readonly Montenegro: "Montenegro";
263
+ readonly SaintMartin: "Saint Martin";
264
+ };