@randock/nameshift-api-client 0.0.241 → 0.0.242

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 (200) hide show
  1. package/README.md +2 -3
  2. package/dist/apis/DomainsPublicApi.d.ts +27 -0
  3. package/dist/apis/DomainsPublicApi.js +128 -0
  4. package/dist/models/AccountBankAccountDto.d.ts +8 -8
  5. package/dist/models/AccountBankAccountDto.js +7 -9
  6. package/dist/models/AccountNotificationDto.d.ts +18 -18
  7. package/dist/models/AccountNotificationDto.js +16 -20
  8. package/dist/models/AccountOnboardingDto.d.ts +15 -15
  9. package/dist/models/AccountOnboardingDto.js +13 -17
  10. package/dist/models/AccountPayoutDto.d.ts +7 -7
  11. package/dist/models/AccountPayoutDto.js +6 -8
  12. package/dist/models/AuBankAccountDetails.d.ts +11 -11
  13. package/dist/models/AuBankAccountDetails.js +10 -12
  14. package/dist/models/BillingInformationDto.d.ts +9 -9
  15. package/dist/models/BillingInformationDto.js +8 -10
  16. package/dist/models/BuyerDomainTransferListItemDto.d.ts +18 -18
  17. package/dist/models/BuyerDomainTransferListItemDto.js +16 -20
  18. package/dist/models/BuyerLeadListItemDto.d.ts +18 -18
  19. package/dist/models/BuyerLeadListItemDto.js +16 -20
  20. package/dist/models/BuyerSecurityUserDto.d.ts +7 -7
  21. package/dist/models/BuyerSecurityUserDto.js +6 -8
  22. package/dist/models/BuyerSessionDto.d.ts +7 -7
  23. package/dist/models/BuyerSessionDto.js +6 -8
  24. package/dist/models/BuyerSubscriptionListItemDto.d.ts +17 -17
  25. package/dist/models/BuyerSubscriptionListItemDto.js +15 -19
  26. package/dist/models/CaBankAccountDetails.d.ts +11 -11
  27. package/dist/models/CaBankAccountDetails.js +10 -12
  28. package/dist/models/ChangeOrderStatusInput.d.ts +8 -8
  29. package/dist/models/ChangeOrderStatusInput.js +7 -9
  30. package/dist/models/ChangeSubscriptionStatusInput.d.ts +10 -10
  31. package/dist/models/ChangeSubscriptionStatusInput.js +9 -11
  32. package/dist/models/ConcreteDomainTransferTaskData.d.ts +12 -12
  33. package/dist/models/ConcreteDomainTransferTaskData.js +11 -13
  34. package/dist/models/CreateLeadInput.d.ts +8 -8
  35. package/dist/models/CreateLeadInput.js +7 -9
  36. package/dist/models/CreateManualLeadInput.d.ts +9 -9
  37. package/dist/models/CreateManualLeadInput.js +8 -10
  38. package/dist/models/CreateSubscriptionBillingPeriodicityInput.d.ts +7 -7
  39. package/dist/models/CreateSubscriptionBillingPeriodicityInput.js +6 -8
  40. package/dist/models/CreateSubscriptionInput.d.ts +7 -7
  41. package/dist/models/CreateSubscriptionInput.js +6 -8
  42. package/dist/models/DomainStatsDto.d.ts +7 -7
  43. package/dist/models/DomainStatsDto.js +6 -8
  44. package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +10 -10
  45. package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +9 -11
  46. package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +9 -9
  47. package/dist/models/DomainTransferDetailWorkflowStepDto.js +8 -10
  48. package/dist/models/DomainTransferDetailsDto.d.ts +20 -20
  49. package/dist/models/DomainTransferDetailsDto.js +18 -22
  50. package/dist/models/DomainTransferDetailsOrderDto.d.ts +7 -7
  51. package/dist/models/DomainTransferDetailsOrderDto.js +6 -8
  52. package/dist/models/DomainTransferDetailsSubscriptionDto.d.ts +7 -7
  53. package/dist/models/DomainTransferDetailsSubscriptionDto.js +6 -8
  54. package/dist/models/DomainTransferDetailsValidationDto.d.ts +13 -13
  55. package/dist/models/DomainTransferDetailsValidationDto.js +11 -15
  56. package/dist/models/DomainTransferDetailsWorkflowDto.d.ts +9 -9
  57. package/dist/models/DomainTransferDetailsWorkflowDto.js +8 -10
  58. package/dist/models/DomainTransferDto.d.ts +20 -20
  59. package/dist/models/DomainTransferDto.js +18 -22
  60. package/dist/models/DomainTransferWorkflowDto.d.ts +9 -9
  61. package/dist/models/DomainTransferWorkflowDto.js +8 -10
  62. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +10 -10
  63. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +9 -11
  64. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.d.ts +18 -18
  65. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.js +16 -20
  66. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +36 -36
  67. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +32 -40
  68. package/dist/models/IntersectionTaskListTaskDto.d.ts +16 -16
  69. package/dist/models/IntersectionTaskListTaskDto.js +14 -18
  70. package/dist/models/InvoiceDto.d.ts +15 -15
  71. package/dist/models/InvoiceDto.js +13 -17
  72. package/dist/models/InvoiceItemTaxDto.d.ts +20 -20
  73. package/dist/models/InvoiceItemTaxDto.js +19 -21
  74. package/dist/models/InvoiceTransactionDto.d.ts +6 -6
  75. package/dist/models/InvoiceTransactionDto.js +5 -7
  76. package/dist/models/LeadDto.d.ts +18 -18
  77. package/dist/models/LeadDto.js +16 -20
  78. package/dist/models/LeadMessageDto.d.ts +18 -18
  79. package/dist/models/LeadMessageDto.js +16 -20
  80. package/dist/models/LeadStatusDto.d.ts +10 -10
  81. package/dist/models/LeadStatusDto.js +9 -11
  82. package/dist/models/NzBankAccountDetails.d.ts +11 -11
  83. package/dist/models/NzBankAccountDetails.js +10 -12
  84. package/dist/models/OrderDto.d.ts +8 -8
  85. package/dist/models/OrderDto.js +7 -9
  86. package/dist/models/OrderListItemDto.d.ts +8 -8
  87. package/dist/models/OrderListItemDto.js +7 -9
  88. package/dist/models/OwnedDomainDto.d.ts +16 -16
  89. package/dist/models/OwnedDomainDto.js +14 -18
  90. package/dist/models/ParsedDomainDto.d.ts +8 -8
  91. package/dist/models/ParsedDomainDto.js +7 -9
  92. package/dist/models/PublicLeadDto.d.ts +10 -10
  93. package/dist/models/PublicLeadDto.js +9 -11
  94. package/dist/models/RegisterAccountInput.d.ts +8 -8
  95. package/dist/models/RegisterAccountInput.js +7 -9
  96. package/dist/models/SellerDomainTransferDto.d.ts +10 -10
  97. package/dist/models/SellerDomainTransferDto.js +9 -11
  98. package/dist/models/SellerDomainTransferListItemDto.d.ts +10 -10
  99. package/dist/models/SellerDomainTransferListItemDto.js +9 -11
  100. package/dist/models/SellerSecurityUserDto.d.ts +7 -7
  101. package/dist/models/SellerSecurityUserDto.js +6 -8
  102. package/dist/models/SellerSubscriptionListItemDto.d.ts +17 -17
  103. package/dist/models/SellerSubscriptionListItemDto.js +15 -19
  104. package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.d.ts +8 -8
  105. package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.js +7 -9
  106. package/dist/models/SepaBankAccountDetails.d.ts +11 -11
  107. package/dist/models/SepaBankAccountDetails.js +10 -12
  108. package/dist/models/SetDomainTransferConfirmationInput.d.ts +7 -7
  109. package/dist/models/SetDomainTransferConfirmationInput.js +6 -8
  110. package/dist/models/SetPayoutProviderInput.d.ts +7 -7
  111. package/dist/models/SetPayoutProviderInput.js +6 -8
  112. package/dist/models/SubscriptionBillingPeriodicityDto.d.ts +7 -7
  113. package/dist/models/SubscriptionBillingPeriodicityDto.js +6 -8
  114. package/dist/models/SubscriptionDetailsBillingPeriodicityDto.d.ts +7 -7
  115. package/dist/models/SubscriptionDetailsBillingPeriodicityDto.js +6 -8
  116. package/dist/models/SubscriptionDetailsDto.d.ts +17 -17
  117. package/dist/models/SubscriptionDetailsDto.js +15 -19
  118. package/dist/models/SubscriptionDto.d.ts +27 -27
  119. package/dist/models/SubscriptionDto.js +24 -30
  120. package/dist/models/SubscriptionListItemBillingPeriodicityDto.d.ts +7 -7
  121. package/dist/models/SubscriptionListItemBillingPeriodicityDto.js +6 -8
  122. package/dist/models/SubscriptionListItemDto.d.ts +17 -17
  123. package/dist/models/SubscriptionListItemDto.js +15 -19
  124. package/dist/models/TaskListLeadDto.d.ts +8 -8
  125. package/dist/models/TaskListLeadDto.js +7 -9
  126. package/dist/models/UkBankAccountDetails.d.ts +11 -11
  127. package/dist/models/UkBankAccountDetails.js +10 -12
  128. package/dist/models/UpdateSubscriptionBillingPeriodicityInput.d.ts +7 -7
  129. package/dist/models/UpdateSubscriptionBillingPeriodicityInput.js +6 -8
  130. package/dist/models/UsBankAccountDetails.d.ts +11 -11
  131. package/dist/models/UsBankAccountDetails.js +10 -12
  132. package/dist/models/UserPasswordResetDto.d.ts +7 -7
  133. package/dist/models/UserPasswordResetDto.js +6 -8
  134. package/package.json +1 -5
  135. package/src/apis/DomainsPublicApi.ts +111 -0
  136. package/src/models/AccountBankAccountDto.ts +9 -8
  137. package/src/models/AccountNotificationDto.ts +20 -18
  138. package/src/models/AccountOnboardingDto.ts +17 -15
  139. package/src/models/AccountPayoutDto.ts +8 -7
  140. package/src/models/AuBankAccountDetails.ts +12 -11
  141. package/src/models/BillingInformationDto.ts +10 -9
  142. package/src/models/BuyerDomainTransferListItemDto.ts +20 -18
  143. package/src/models/BuyerLeadListItemDto.ts +20 -18
  144. package/src/models/BuyerSecurityUserDto.ts +8 -7
  145. package/src/models/BuyerSessionDto.ts +8 -7
  146. package/src/models/BuyerSubscriptionListItemDto.ts +19 -17
  147. package/src/models/CaBankAccountDetails.ts +12 -11
  148. package/src/models/ChangeOrderStatusInput.ts +9 -8
  149. package/src/models/ChangeSubscriptionStatusInput.ts +11 -10
  150. package/src/models/ConcreteDomainTransferTaskData.ts +13 -12
  151. package/src/models/CreateLeadInput.ts +9 -8
  152. package/src/models/CreateManualLeadInput.ts +10 -9
  153. package/src/models/CreateSubscriptionBillingPeriodicityInput.ts +8 -7
  154. package/src/models/CreateSubscriptionInput.ts +8 -7
  155. package/src/models/DomainStatsDto.ts +8 -7
  156. package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +11 -10
  157. package/src/models/DomainTransferDetailWorkflowStepDto.ts +10 -9
  158. package/src/models/DomainTransferDetailsDto.ts +22 -20
  159. package/src/models/DomainTransferDetailsOrderDto.ts +8 -7
  160. package/src/models/DomainTransferDetailsSubscriptionDto.ts +8 -7
  161. package/src/models/DomainTransferDetailsValidationDto.ts +15 -13
  162. package/src/models/DomainTransferDetailsWorkflowDto.ts +10 -9
  163. package/src/models/DomainTransferDto.ts +22 -20
  164. package/src/models/DomainTransferWorkflowDto.ts +10 -9
  165. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +11 -10
  166. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts +20 -18
  167. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +40 -36
  168. package/src/models/IntersectionTaskListTaskDto.ts +18 -16
  169. package/src/models/InvoiceDto.ts +17 -15
  170. package/src/models/InvoiceItemTaxDto.ts +21 -20
  171. package/src/models/InvoiceTransactionDto.ts +7 -6
  172. package/src/models/LeadDto.ts +20 -18
  173. package/src/models/LeadMessageDto.ts +20 -18
  174. package/src/models/LeadStatusDto.ts +11 -10
  175. package/src/models/NzBankAccountDetails.ts +12 -11
  176. package/src/models/OrderDto.ts +9 -8
  177. package/src/models/OrderListItemDto.ts +9 -8
  178. package/src/models/OwnedDomainDto.ts +18 -16
  179. package/src/models/ParsedDomainDto.ts +9 -8
  180. package/src/models/PublicLeadDto.ts +11 -10
  181. package/src/models/RegisterAccountInput.ts +9 -8
  182. package/src/models/SellerDomainTransferDto.ts +11 -10
  183. package/src/models/SellerDomainTransferListItemDto.ts +11 -10
  184. package/src/models/SellerSecurityUserDto.ts +8 -7
  185. package/src/models/SellerSubscriptionListItemDto.ts +19 -17
  186. package/src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts +9 -8
  187. package/src/models/SepaBankAccountDetails.ts +12 -11
  188. package/src/models/SetDomainTransferConfirmationInput.ts +8 -7
  189. package/src/models/SetPayoutProviderInput.ts +8 -7
  190. package/src/models/SubscriptionBillingPeriodicityDto.ts +8 -7
  191. package/src/models/SubscriptionDetailsBillingPeriodicityDto.ts +8 -7
  192. package/src/models/SubscriptionDetailsDto.ts +19 -17
  193. package/src/models/SubscriptionDto.ts +30 -27
  194. package/src/models/SubscriptionListItemBillingPeriodicityDto.ts +8 -7
  195. package/src/models/SubscriptionListItemDto.ts +19 -17
  196. package/src/models/TaskListLeadDto.ts +9 -8
  197. package/src/models/UkBankAccountDetails.ts +12 -11
  198. package/src/models/UpdateSubscriptionBillingPeriodicityInput.ts +8 -7
  199. package/src/models/UsBankAccountDetails.ts +12 -11
  200. package/src/models/UserPasswordResetDto.ts +8 -7
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.241
1
+ ## @randock/nameshift-api-client@1.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.241 --save
39
+ npm install @randock/nameshift-api-client@1.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,3 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 2ce50bd036dc3f0a36007bb402d5703aa178f02acf5e1c585645648f3671ae74da54dd2eef6d6d7a134b13b4643a3d60
@@ -23,6 +23,15 @@ export interface DomainsPublicApiListRequest {
23
23
  limit?: number;
24
24
  sortBy?: Array<string>;
25
25
  }
26
+ export interface DomainsPublicApiPublicDomainControllerGetCaddyRequest {
27
+ domain: string;
28
+ }
29
+ export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest {
30
+ domainName: string;
31
+ }
32
+ export interface DomainsPublicApiPublicDomainControllerGetSidnRequest {
33
+ domain: string;
34
+ }
26
35
  /**
27
36
  *
28
37
  */
@@ -43,4 +52,22 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
43
52
  *
44
53
  */
45
54
  list(requestParameters?: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3>;
55
+ /**
56
+ */
57
+ publicDomainControllerGetCaddyRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
58
+ /**
59
+ */
60
+ publicDomainControllerGetCaddy(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
61
+ /**
62
+ */
63
+ publicDomainControllerGetDomainIdentifierRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
64
+ /**
65
+ */
66
+ publicDomainControllerGetDomainIdentifier(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
67
+ /**
68
+ */
69
+ publicDomainControllerGetSidnRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
70
+ /**
71
+ */
72
+ publicDomainControllerGetSidn(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
46
73
  }
@@ -182,6 +182,134 @@ var DomainsPublicApi = /** @class */ (function (_super) {
182
182
  });
183
183
  });
184
184
  };
185
+ /**
186
+ */
187
+ DomainsPublicApi.prototype.publicDomainControllerGetCaddyRaw = function (requestParameters, initOverrides) {
188
+ return __awaiter(this, void 0, void 0, function () {
189
+ var queryParameters, headerParameters, response;
190
+ return __generator(this, function (_a) {
191
+ switch (_a.label) {
192
+ case 0:
193
+ if (requestParameters['domain'] == null) {
194
+ throw new runtime.RequiredError('domain', 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetCaddy().');
195
+ }
196
+ queryParameters = {};
197
+ if (requestParameters['domain'] != null) {
198
+ queryParameters['domain'] = requestParameters['domain'];
199
+ }
200
+ headerParameters = {};
201
+ return [4 /*yield*/, this.request({
202
+ path: "/caddy",
203
+ method: 'GET',
204
+ headers: headerParameters,
205
+ query: queryParameters,
206
+ }, initOverrides)];
207
+ case 1:
208
+ response = _a.sent();
209
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
210
+ }
211
+ });
212
+ });
213
+ };
214
+ /**
215
+ */
216
+ DomainsPublicApi.prototype.publicDomainControllerGetCaddy = function (requestParameters, initOverrides) {
217
+ return __awaiter(this, void 0, void 0, function () {
218
+ return __generator(this, function (_a) {
219
+ switch (_a.label) {
220
+ case 0: return [4 /*yield*/, this.publicDomainControllerGetCaddyRaw(requestParameters, initOverrides)];
221
+ case 1:
222
+ _a.sent();
223
+ return [2 /*return*/];
224
+ }
225
+ });
226
+ });
227
+ };
228
+ /**
229
+ */
230
+ DomainsPublicApi.prototype.publicDomainControllerGetDomainIdentifierRaw = function (requestParameters, initOverrides) {
231
+ return __awaiter(this, void 0, void 0, function () {
232
+ var queryParameters, headerParameters, response;
233
+ return __generator(this, function (_a) {
234
+ switch (_a.label) {
235
+ case 0:
236
+ if (requestParameters['domainName'] == null) {
237
+ throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainIdentifier().');
238
+ }
239
+ queryParameters = {};
240
+ headerParameters = {};
241
+ return [4 /*yield*/, this.request({
242
+ path: "/domains/by-name/{domainName}/identifier".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
243
+ method: 'GET',
244
+ headers: headerParameters,
245
+ query: queryParameters,
246
+ }, initOverrides)];
247
+ case 1:
248
+ response = _a.sent();
249
+ return [2 /*return*/, new runtime.JSONApiResponse(response)];
250
+ }
251
+ });
252
+ });
253
+ };
254
+ /**
255
+ */
256
+ DomainsPublicApi.prototype.publicDomainControllerGetDomainIdentifier = function (requestParameters, initOverrides) {
257
+ return __awaiter(this, void 0, void 0, function () {
258
+ var response;
259
+ return __generator(this, function (_a) {
260
+ switch (_a.label) {
261
+ case 0: return [4 /*yield*/, this.publicDomainControllerGetDomainIdentifierRaw(requestParameters, initOverrides)];
262
+ case 1:
263
+ response = _a.sent();
264
+ return [4 /*yield*/, response.value()];
265
+ case 2: return [2 /*return*/, _a.sent()];
266
+ }
267
+ });
268
+ });
269
+ };
270
+ /**
271
+ */
272
+ DomainsPublicApi.prototype.publicDomainControllerGetSidnRaw = function (requestParameters, initOverrides) {
273
+ return __awaiter(this, void 0, void 0, function () {
274
+ var queryParameters, headerParameters, response;
275
+ return __generator(this, function (_a) {
276
+ switch (_a.label) {
277
+ case 0:
278
+ if (requestParameters['domain'] == null) {
279
+ throw new runtime.RequiredError('domain', 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetSidn().');
280
+ }
281
+ queryParameters = {};
282
+ if (requestParameters['domain'] != null) {
283
+ queryParameters['domain'] = requestParameters['domain'];
284
+ }
285
+ headerParameters = {};
286
+ return [4 /*yield*/, this.request({
287
+ path: "/sidn",
288
+ method: 'GET',
289
+ headers: headerParameters,
290
+ query: queryParameters,
291
+ }, initOverrides)];
292
+ case 1:
293
+ response = _a.sent();
294
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
295
+ }
296
+ });
297
+ });
298
+ };
299
+ /**
300
+ */
301
+ DomainsPublicApi.prototype.publicDomainControllerGetSidn = function (requestParameters, initOverrides) {
302
+ return __awaiter(this, void 0, void 0, function () {
303
+ return __generator(this, function (_a) {
304
+ switch (_a.label) {
305
+ case 0: return [4 /*yield*/, this.publicDomainControllerGetSidnRaw(requestParameters, initOverrides)];
306
+ case 1:
307
+ _a.sent();
308
+ return [2 /*return*/];
309
+ }
310
+ });
311
+ });
312
+ };
185
313
  return DomainsPublicApi;
186
314
  }(runtime.BaseAPI));
187
315
  exports.DomainsPublicApi = DomainsPublicApi;
@@ -48,14 +48,14 @@ export interface AccountBankAccountDto {
48
48
  details: AccountBankAccountDtoDetails;
49
49
  }
50
50
  /**
51
- * @export
52
- * @enum {string}
53
- */
54
- export declare enum AccountBankAccountDtoVerificationStatusEnum {
55
- PENDING = "pending",
56
- VERIFIED = "verified",
57
- REJECTED = "rejected"
58
- }
51
+ * @export
52
+ */
53
+ export declare const AccountBankAccountDtoVerificationStatusEnum: {
54
+ readonly PENDING: "pending";
55
+ readonly VERIFIED: "verified";
56
+ readonly REJECTED: "rejected";
57
+ };
58
+ export type AccountBankAccountDtoVerificationStatusEnum = typeof AccountBankAccountDtoVerificationStatusEnum[keyof typeof AccountBankAccountDtoVerificationStatusEnum];
59
59
  /**
60
60
  * Check if a given object implements the AccountBankAccountDto interface.
61
61
  */
@@ -21,15 +21,13 @@ exports.AccountBankAccountDtoToJSON = AccountBankAccountDtoToJSON;
21
21
  exports.AccountBankAccountDtoToJSONTyped = AccountBankAccountDtoToJSONTyped;
22
22
  var AccountBankAccountDtoDetails_1 = require("./AccountBankAccountDtoDetails");
23
23
  /**
24
- * @export
25
- * @enum {string}
26
- */
27
- var AccountBankAccountDtoVerificationStatusEnum;
28
- (function (AccountBankAccountDtoVerificationStatusEnum) {
29
- AccountBankAccountDtoVerificationStatusEnum["PENDING"] = "pending";
30
- AccountBankAccountDtoVerificationStatusEnum["VERIFIED"] = "verified";
31
- AccountBankAccountDtoVerificationStatusEnum["REJECTED"] = "rejected";
32
- })(AccountBankAccountDtoVerificationStatusEnum || (exports.AccountBankAccountDtoVerificationStatusEnum = AccountBankAccountDtoVerificationStatusEnum = {}));
24
+ * @export
25
+ */
26
+ exports.AccountBankAccountDtoVerificationStatusEnum = {
27
+ PENDING: 'pending',
28
+ VERIFIED: 'verified',
29
+ REJECTED: 'rejected'
30
+ };
33
31
  /**
34
32
  * Check if a given object implements the AccountBankAccountDto interface.
35
33
  */
@@ -42,25 +42,25 @@ export interface AccountNotificationDto {
42
42
  read: AccountNotificationReadStatusDto;
43
43
  }
44
44
  /**
45
- * @export
46
- * @enum {string}
47
- */
48
- export declare enum AccountNotificationDtoLevelEnum {
49
- ERROR = "error",
50
- WARNING = "warning",
51
- CONFIGURATION_REQUIRED = "configuration_required"
52
- }
45
+ * @export
46
+ */
47
+ export declare const AccountNotificationDtoLevelEnum: {
48
+ readonly ERROR: "error";
49
+ readonly WARNING: "warning";
50
+ readonly CONFIGURATION_REQUIRED: "configuration_required";
51
+ };
52
+ export type AccountNotificationDtoLevelEnum = typeof AccountNotificationDtoLevelEnum[keyof typeof AccountNotificationDtoLevelEnum];
53
53
  /**
54
- * @export
55
- * @enum {string}
56
- */
57
- export declare enum AccountNotificationDtoTypeEnum {
58
- ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED = "account.billing_information.not_configured",
59
- ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED = "account.payment_provider.not_configured",
60
- ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE = "account.payment_provider.not_active",
61
- ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED = "account.payment_provider.was_changed",
62
- ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED = "account.bank_account.verification_required"
63
- }
54
+ * @export
55
+ */
56
+ export declare const AccountNotificationDtoTypeEnum: {
57
+ readonly ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: "account.billing_information.not_configured";
58
+ readonly ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: "account.payment_provider.not_configured";
59
+ readonly ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: "account.payment_provider.not_active";
60
+ readonly ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: "account.payment_provider.was_changed";
61
+ readonly ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: "account.bank_account.verification_required";
62
+ };
63
+ export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
64
64
  /**
65
65
  * Check if a given object implements the AccountNotificationDto interface.
66
66
  */
@@ -21,27 +21,23 @@ exports.AccountNotificationDtoToJSON = AccountNotificationDtoToJSON;
21
21
  exports.AccountNotificationDtoToJSONTyped = AccountNotificationDtoToJSONTyped;
22
22
  var AccountNotificationReadStatusDto_1 = require("./AccountNotificationReadStatusDto");
23
23
  /**
24
- * @export
25
- * @enum {string}
26
- */
27
- var AccountNotificationDtoLevelEnum;
28
- (function (AccountNotificationDtoLevelEnum) {
29
- AccountNotificationDtoLevelEnum["ERROR"] = "error";
30
- AccountNotificationDtoLevelEnum["WARNING"] = "warning";
31
- AccountNotificationDtoLevelEnum["CONFIGURATION_REQUIRED"] = "configuration_required";
32
- })(AccountNotificationDtoLevelEnum || (exports.AccountNotificationDtoLevelEnum = AccountNotificationDtoLevelEnum = {}));
24
+ * @export
25
+ */
26
+ exports.AccountNotificationDtoLevelEnum = {
27
+ ERROR: 'error',
28
+ WARNING: 'warning',
29
+ CONFIGURATION_REQUIRED: 'configuration_required'
30
+ };
33
31
  /**
34
- * @export
35
- * @enum {string}
36
- */
37
- var AccountNotificationDtoTypeEnum;
38
- (function (AccountNotificationDtoTypeEnum) {
39
- AccountNotificationDtoTypeEnum["ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED"] = "account.billing_information.not_configured";
40
- AccountNotificationDtoTypeEnum["ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED"] = "account.payment_provider.not_configured";
41
- AccountNotificationDtoTypeEnum["ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE"] = "account.payment_provider.not_active";
42
- AccountNotificationDtoTypeEnum["ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED"] = "account.payment_provider.was_changed";
43
- AccountNotificationDtoTypeEnum["ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED"] = "account.bank_account.verification_required";
44
- })(AccountNotificationDtoTypeEnum || (exports.AccountNotificationDtoTypeEnum = AccountNotificationDtoTypeEnum = {}));
32
+ * @export
33
+ */
34
+ exports.AccountNotificationDtoTypeEnum = {
35
+ ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured',
36
+ ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: 'account.payment_provider.not_configured',
37
+ ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: 'account.payment_provider.not_active',
38
+ ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed',
39
+ ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: 'account.bank_account.verification_required'
40
+ };
45
41
  /**
46
42
  * Check if a given object implements the AccountNotificationDto interface.
47
43
  */
@@ -41,22 +41,22 @@ export interface AccountOnboardingDto {
41
41
  provider: AccountOnboardingDtoProviderEnum;
42
42
  }
43
43
  /**
44
- * @export
45
- * @enum {string}
46
- */
47
- export declare enum AccountOnboardingDtoStatusEnum {
48
- PENDING = "pending",
49
- ACTIVE = "active",
50
- REJECTED = "rejected"
51
- }
44
+ * @export
45
+ */
46
+ export declare const AccountOnboardingDtoStatusEnum: {
47
+ readonly PENDING: "pending";
48
+ readonly ACTIVE: "active";
49
+ readonly REJECTED: "rejected";
50
+ };
51
+ export type AccountOnboardingDtoStatusEnum = typeof AccountOnboardingDtoStatusEnum[keyof typeof AccountOnboardingDtoStatusEnum];
52
52
  /**
53
- * @export
54
- * @enum {string}
55
- */
56
- export declare enum AccountOnboardingDtoProviderEnum {
57
- STRIPE = "stripe",
58
- SUMSUB = "sumsub"
59
- }
53
+ * @export
54
+ */
55
+ export declare const AccountOnboardingDtoProviderEnum: {
56
+ readonly STRIPE: "stripe";
57
+ readonly SUMSUB: "sumsub";
58
+ };
59
+ export type AccountOnboardingDtoProviderEnum = typeof AccountOnboardingDtoProviderEnum[keyof typeof AccountOnboardingDtoProviderEnum];
60
60
  /**
61
61
  * Check if a given object implements the AccountOnboardingDto interface.
62
62
  */
@@ -20,24 +20,20 @@ exports.AccountOnboardingDtoFromJSONTyped = AccountOnboardingDtoFromJSONTyped;
20
20
  exports.AccountOnboardingDtoToJSON = AccountOnboardingDtoToJSON;
21
21
  exports.AccountOnboardingDtoToJSONTyped = AccountOnboardingDtoToJSONTyped;
22
22
  /**
23
- * @export
24
- * @enum {string}
25
- */
26
- var AccountOnboardingDtoStatusEnum;
27
- (function (AccountOnboardingDtoStatusEnum) {
28
- AccountOnboardingDtoStatusEnum["PENDING"] = "pending";
29
- AccountOnboardingDtoStatusEnum["ACTIVE"] = "active";
30
- AccountOnboardingDtoStatusEnum["REJECTED"] = "rejected";
31
- })(AccountOnboardingDtoStatusEnum || (exports.AccountOnboardingDtoStatusEnum = AccountOnboardingDtoStatusEnum = {}));
23
+ * @export
24
+ */
25
+ exports.AccountOnboardingDtoStatusEnum = {
26
+ PENDING: 'pending',
27
+ ACTIVE: 'active',
28
+ REJECTED: 'rejected'
29
+ };
32
30
  /**
33
- * @export
34
- * @enum {string}
35
- */
36
- var AccountOnboardingDtoProviderEnum;
37
- (function (AccountOnboardingDtoProviderEnum) {
38
- AccountOnboardingDtoProviderEnum["STRIPE"] = "stripe";
39
- AccountOnboardingDtoProviderEnum["SUMSUB"] = "sumsub";
40
- })(AccountOnboardingDtoProviderEnum || (exports.AccountOnboardingDtoProviderEnum = AccountOnboardingDtoProviderEnum = {}));
31
+ * @export
32
+ */
33
+ exports.AccountOnboardingDtoProviderEnum = {
34
+ STRIPE: 'stripe',
35
+ SUMSUB: 'sumsub'
36
+ };
41
37
  /**
42
38
  * Check if a given object implements the AccountOnboardingDto interface.
43
39
  */
@@ -29,13 +29,13 @@ export interface AccountPayoutDto {
29
29
  provider: AccountPayoutDtoProviderEnum;
30
30
  }
31
31
  /**
32
- * @export
33
- * @enum {string}
34
- */
35
- export declare enum AccountPayoutDtoProviderEnum {
36
- STRIPE = "stripe",
37
- BANK_ACCOUNT = "bank_account"
38
- }
32
+ * @export
33
+ */
34
+ export declare const AccountPayoutDtoProviderEnum: {
35
+ readonly STRIPE: "stripe";
36
+ readonly BANK_ACCOUNT: "bank_account";
37
+ };
38
+ export type AccountPayoutDtoProviderEnum = typeof AccountPayoutDtoProviderEnum[keyof typeof AccountPayoutDtoProviderEnum];
39
39
  /**
40
40
  * Check if a given object implements the AccountPayoutDto interface.
41
41
  */
@@ -20,14 +20,12 @@ exports.AccountPayoutDtoFromJSONTyped = AccountPayoutDtoFromJSONTyped;
20
20
  exports.AccountPayoutDtoToJSON = AccountPayoutDtoToJSON;
21
21
  exports.AccountPayoutDtoToJSONTyped = AccountPayoutDtoToJSONTyped;
22
22
  /**
23
- * @export
24
- * @enum {string}
25
- */
26
- var AccountPayoutDtoProviderEnum;
27
- (function (AccountPayoutDtoProviderEnum) {
28
- AccountPayoutDtoProviderEnum["STRIPE"] = "stripe";
29
- AccountPayoutDtoProviderEnum["BANK_ACCOUNT"] = "bank_account";
30
- })(AccountPayoutDtoProviderEnum || (exports.AccountPayoutDtoProviderEnum = AccountPayoutDtoProviderEnum = {}));
23
+ * @export
24
+ */
25
+ exports.AccountPayoutDtoProviderEnum = {
26
+ STRIPE: 'stripe',
27
+ BANK_ACCOUNT: 'bank_account'
28
+ };
31
29
  /**
32
30
  * Check if a given object implements the AccountPayoutDto interface.
33
31
  */
@@ -41,17 +41,17 @@ export interface AuBankAccountDetails {
41
41
  bsb: string;
42
42
  }
43
43
  /**
44
- * @export
45
- * @enum {string}
46
- */
47
- export declare enum AuBankAccountDetailsTypeEnum {
48
- UK_BANK_ACCOUNT_DETAILS = "UkBankAccountDetails",
49
- US_BANK_ACCOUNT_DETAILS = "UsBankAccountDetails",
50
- CA_BANK_ACCOUNT_DETAILS = "CaBankAccountDetails",
51
- NZ_BANK_ACCOUNT_DETAILS = "NzBankAccountDetails",
52
- AU_BANK_ACCOUNT_DETAILS = "AuBankAccountDetails",
53
- SEPA_BANK_ACCOUNT_DETAILS = "SepaBankAccountDetails"
54
- }
44
+ * @export
45
+ */
46
+ export declare const AuBankAccountDetailsTypeEnum: {
47
+ readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
48
+ readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
49
+ readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
50
+ readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
51
+ readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
52
+ readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
53
+ };
54
+ export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
55
55
  /**
56
56
  * Check if a given object implements the AuBankAccountDetails interface.
57
57
  */
@@ -20,18 +20,16 @@ exports.AuBankAccountDetailsFromJSONTyped = AuBankAccountDetailsFromJSONTyped;
20
20
  exports.AuBankAccountDetailsToJSON = AuBankAccountDetailsToJSON;
21
21
  exports.AuBankAccountDetailsToJSONTyped = AuBankAccountDetailsToJSONTyped;
22
22
  /**
23
- * @export
24
- * @enum {string}
25
- */
26
- var AuBankAccountDetailsTypeEnum;
27
- (function (AuBankAccountDetailsTypeEnum) {
28
- AuBankAccountDetailsTypeEnum["UK_BANK_ACCOUNT_DETAILS"] = "UkBankAccountDetails";
29
- AuBankAccountDetailsTypeEnum["US_BANK_ACCOUNT_DETAILS"] = "UsBankAccountDetails";
30
- AuBankAccountDetailsTypeEnum["CA_BANK_ACCOUNT_DETAILS"] = "CaBankAccountDetails";
31
- AuBankAccountDetailsTypeEnum["NZ_BANK_ACCOUNT_DETAILS"] = "NzBankAccountDetails";
32
- AuBankAccountDetailsTypeEnum["AU_BANK_ACCOUNT_DETAILS"] = "AuBankAccountDetails";
33
- AuBankAccountDetailsTypeEnum["SEPA_BANK_ACCOUNT_DETAILS"] = "SepaBankAccountDetails";
34
- })(AuBankAccountDetailsTypeEnum || (exports.AuBankAccountDetailsTypeEnum = AuBankAccountDetailsTypeEnum = {}));
23
+ * @export
24
+ */
25
+ exports.AuBankAccountDetailsTypeEnum = {
26
+ UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
+ NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
+ AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
+ };
35
33
  /**
36
34
  * Check if a given object implements the AuBankAccountDetails interface.
37
35
  */
@@ -61,15 +61,15 @@ export interface BillingInformationDto {
61
61
  companyInfo: CompanyInformationDto | null;
62
62
  }
63
63
  /**
64
- * @export
65
- * @enum {string}
66
- */
67
- export declare enum BillingInformationDtoTypeEnum {
68
- COMPANY = "company",
69
- GOVERNMENT_ENTITY = "government_entity",
70
- INDIVIDUAL = "individual",
71
- NON_PROFIT = "non_profit"
72
- }
64
+ * @export
65
+ */
66
+ export declare const BillingInformationDtoTypeEnum: {
67
+ readonly COMPANY: "company";
68
+ readonly GOVERNMENT_ENTITY: "government_entity";
69
+ readonly INDIVIDUAL: "individual";
70
+ readonly NON_PROFIT: "non_profit";
71
+ };
72
+ export type BillingInformationDtoTypeEnum = typeof BillingInformationDtoTypeEnum[keyof typeof BillingInformationDtoTypeEnum];
73
73
  /**
74
74
  * Check if a given object implements the BillingInformationDto interface.
75
75
  */
@@ -22,16 +22,14 @@ exports.BillingInformationDtoToJSONTyped = BillingInformationDtoToJSONTyped;
22
22
  var CompanyInformationDto_1 = require("./CompanyInformationDto");
23
23
  var AddressDto_1 = require("./AddressDto");
24
24
  /**
25
- * @export
26
- * @enum {string}
27
- */
28
- var BillingInformationDtoTypeEnum;
29
- (function (BillingInformationDtoTypeEnum) {
30
- BillingInformationDtoTypeEnum["COMPANY"] = "company";
31
- BillingInformationDtoTypeEnum["GOVERNMENT_ENTITY"] = "government_entity";
32
- BillingInformationDtoTypeEnum["INDIVIDUAL"] = "individual";
33
- BillingInformationDtoTypeEnum["NON_PROFIT"] = "non_profit";
34
- })(BillingInformationDtoTypeEnum || (exports.BillingInformationDtoTypeEnum = BillingInformationDtoTypeEnum = {}));
25
+ * @export
26
+ */
27
+ exports.BillingInformationDtoTypeEnum = {
28
+ COMPANY: 'company',
29
+ GOVERNMENT_ENTITY: 'government_entity',
30
+ INDIVIDUAL: 'individual',
31
+ NON_PROFIT: 'non_profit'
32
+ };
35
33
  /**
36
34
  * Check if a given object implements the BillingInformationDto interface.
37
35
  */
@@ -66,25 +66,25 @@ export interface BuyerDomainTransferListItemDto {
66
66
  ipsTag: string | null;
67
67
  }
68
68
  /**
69
- * @export
70
- * @enum {string}
71
- */
72
- export declare enum BuyerDomainTransferListItemDtoInvoiceStatusEnum {
73
- DRAFT = "draft",
74
- PAID = "paid",
75
- CANCELLED = "cancelled"
76
- }
69
+ * @export
70
+ */
71
+ export declare const BuyerDomainTransferListItemDtoInvoiceStatusEnum: {
72
+ readonly DRAFT: "draft";
73
+ readonly PAID: "paid";
74
+ readonly CANCELLED: "cancelled";
75
+ };
76
+ export type BuyerDomainTransferListItemDtoInvoiceStatusEnum = typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum[keyof typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum];
77
77
  /**
78
- * @export
79
- * @enum {string}
80
- */
81
- export declare enum BuyerDomainTransferListItemDtoDomainTransferStatusEnum {
82
- CREATED = "created",
83
- STARTED = "started",
84
- PENDING_MANUAL_ACTION = "pending_manual_action",
85
- ERROR = "error",
86
- COMPLETED = "completed"
87
- }
78
+ * @export
79
+ */
80
+ export declare const BuyerDomainTransferListItemDtoDomainTransferStatusEnum: {
81
+ readonly CREATED: "created";
82
+ readonly STARTED: "started";
83
+ readonly PENDING_MANUAL_ACTION: "pending_manual_action";
84
+ readonly ERROR: "error";
85
+ readonly COMPLETED: "completed";
86
+ };
87
+ export type BuyerDomainTransferListItemDtoDomainTransferStatusEnum = typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum[keyof typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum];
88
88
  /**
89
89
  * Check if a given object implements the BuyerDomainTransferListItemDto interface.
90
90
  */