@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
@@ -48,6 +48,18 @@ export interface DomainsPublicApiListRequest {
48
48
  sortBy?: Array<string>;
49
49
  }
50
50
 
51
+ export interface DomainsPublicApiPublicDomainControllerGetCaddyRequest {
52
+ domain: string;
53
+ }
54
+
55
+ export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest {
56
+ domainName: string;
57
+ }
58
+
59
+ export interface DomainsPublicApiPublicDomainControllerGetSidnRequest {
60
+ domain: string;
61
+ }
62
+
51
63
  /**
52
64
  *
53
65
  */
@@ -140,4 +152,103 @@ export class DomainsPublicApi extends runtime.BaseAPI {
140
152
  return await response.value();
141
153
  }
142
154
 
155
+ /**
156
+ */
157
+ async publicDomainControllerGetCaddyRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
158
+ if (requestParameters['domain'] == null) {
159
+ throw new runtime.RequiredError(
160
+ 'domain',
161
+ 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetCaddy().'
162
+ );
163
+ }
164
+
165
+ const queryParameters: any = {};
166
+
167
+ if (requestParameters['domain'] != null) {
168
+ queryParameters['domain'] = requestParameters['domain'];
169
+ }
170
+
171
+ const headerParameters: runtime.HTTPHeaders = {};
172
+
173
+ const response = await this.request({
174
+ path: `/caddy`,
175
+ method: 'GET',
176
+ headers: headerParameters,
177
+ query: queryParameters,
178
+ }, initOverrides);
179
+
180
+ return new runtime.VoidApiResponse(response);
181
+ }
182
+
183
+ /**
184
+ */
185
+ async publicDomainControllerGetCaddy(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
186
+ await this.publicDomainControllerGetCaddyRaw(requestParameters, initOverrides);
187
+ }
188
+
189
+ /**
190
+ */
191
+ async publicDomainControllerGetDomainIdentifierRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
192
+ if (requestParameters['domainName'] == null) {
193
+ throw new runtime.RequiredError(
194
+ 'domainName',
195
+ 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainIdentifier().'
196
+ );
197
+ }
198
+
199
+ const queryParameters: any = {};
200
+
201
+ const headerParameters: runtime.HTTPHeaders = {};
202
+
203
+ const response = await this.request({
204
+ path: `/domains/by-name/{domainName}/identifier`.replace(`{${"domainName"}}`, encodeURIComponent(String(requestParameters['domainName']))),
205
+ method: 'GET',
206
+ headers: headerParameters,
207
+ query: queryParameters,
208
+ }, initOverrides);
209
+
210
+ return new runtime.JSONApiResponse<any>(response);
211
+ }
212
+
213
+ /**
214
+ */
215
+ async publicDomainControllerGetDomainIdentifier(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
216
+ const response = await this.publicDomainControllerGetDomainIdentifierRaw(requestParameters, initOverrides);
217
+ return await response.value();
218
+ }
219
+
220
+ /**
221
+ */
222
+ async publicDomainControllerGetSidnRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
223
+ if (requestParameters['domain'] == null) {
224
+ throw new runtime.RequiredError(
225
+ 'domain',
226
+ 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetSidn().'
227
+ );
228
+ }
229
+
230
+ const queryParameters: any = {};
231
+
232
+ if (requestParameters['domain'] != null) {
233
+ queryParameters['domain'] = requestParameters['domain'];
234
+ }
235
+
236
+ const headerParameters: runtime.HTTPHeaders = {};
237
+
238
+ const response = await this.request({
239
+ path: `/sidn`,
240
+ method: 'GET',
241
+ headers: headerParameters,
242
+ query: queryParameters,
243
+ }, initOverrides);
244
+
245
+ return new runtime.VoidApiResponse(response);
246
+ }
247
+
248
+ /**
249
+ */
250
+ async publicDomainControllerGetSidn(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
251
+ await this.publicDomainControllerGetSidnRaw(requestParameters, initOverrides);
252
+ }
253
+
143
254
  }
@@ -59,15 +59,16 @@ export interface AccountBankAccountDto {
59
59
  details: AccountBankAccountDtoDetails;
60
60
  }
61
61
 
62
+
62
63
  /**
63
- * @export
64
- * @enum {string}
65
- */
66
- export enum AccountBankAccountDtoVerificationStatusEnum {
67
- PENDING = 'pending',
68
- VERIFIED = 'verified',
69
- REJECTED = 'rejected'
70
- }
64
+ * @export
65
+ */
66
+ export const AccountBankAccountDtoVerificationStatusEnum = {
67
+ PENDING: 'pending',
68
+ VERIFIED: 'verified',
69
+ REJECTED: 'rejected'
70
+ } as const;
71
+ export type AccountBankAccountDtoVerificationStatusEnum = typeof AccountBankAccountDtoVerificationStatusEnum[keyof typeof AccountBankAccountDtoVerificationStatusEnum];
71
72
 
72
73
 
73
74
  /**
@@ -53,26 +53,28 @@ export interface AccountNotificationDto {
53
53
  read: AccountNotificationReadStatusDto;
54
54
  }
55
55
 
56
+
56
57
  /**
57
- * @export
58
- * @enum {string}
59
- */
60
- export enum AccountNotificationDtoLevelEnum {
61
- ERROR = 'error',
62
- WARNING = 'warning',
63
- CONFIGURATION_REQUIRED = 'configuration_required'
64
- }
58
+ * @export
59
+ */
60
+ export const AccountNotificationDtoLevelEnum = {
61
+ ERROR: 'error',
62
+ WARNING: 'warning',
63
+ CONFIGURATION_REQUIRED: 'configuration_required'
64
+ } as const;
65
+ export type AccountNotificationDtoLevelEnum = typeof AccountNotificationDtoLevelEnum[keyof typeof AccountNotificationDtoLevelEnum];
66
+
65
67
  /**
66
- * @export
67
- * @enum {string}
68
- */
69
- export enum AccountNotificationDtoTypeEnum {
70
- ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED = 'account.billing_information.not_configured',
71
- ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED = 'account.payment_provider.not_configured',
72
- ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE = 'account.payment_provider.not_active',
73
- ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED = 'account.payment_provider.was_changed',
74
- ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED = 'account.bank_account.verification_required'
75
- }
68
+ * @export
69
+ */
70
+ export const AccountNotificationDtoTypeEnum = {
71
+ ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured',
72
+ ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: 'account.payment_provider.not_configured',
73
+ ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: 'account.payment_provider.not_active',
74
+ ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed',
75
+ ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: 'account.bank_account.verification_required'
76
+ } as const;
77
+ export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
76
78
 
77
79
 
78
80
  /**
@@ -45,23 +45,25 @@ export interface AccountOnboardingDto {
45
45
  provider: AccountOnboardingDtoProviderEnum;
46
46
  }
47
47
 
48
+
48
49
  /**
49
- * @export
50
- * @enum {string}
51
- */
52
- export enum AccountOnboardingDtoStatusEnum {
53
- PENDING = 'pending',
54
- ACTIVE = 'active',
55
- REJECTED = 'rejected'
56
- }
50
+ * @export
51
+ */
52
+ export const AccountOnboardingDtoStatusEnum = {
53
+ PENDING: 'pending',
54
+ ACTIVE: 'active',
55
+ REJECTED: 'rejected'
56
+ } as const;
57
+ export type AccountOnboardingDtoStatusEnum = typeof AccountOnboardingDtoStatusEnum[keyof typeof AccountOnboardingDtoStatusEnum];
58
+
57
59
  /**
58
- * @export
59
- * @enum {string}
60
- */
61
- export enum AccountOnboardingDtoProviderEnum {
62
- STRIPE = 'stripe',
63
- SUMSUB = 'sumsub'
64
- }
60
+ * @export
61
+ */
62
+ export const AccountOnboardingDtoProviderEnum = {
63
+ STRIPE: 'stripe',
64
+ SUMSUB: 'sumsub'
65
+ } as const;
66
+ export type AccountOnboardingDtoProviderEnum = typeof AccountOnboardingDtoProviderEnum[keyof typeof AccountOnboardingDtoProviderEnum];
65
67
 
66
68
 
67
69
  /**
@@ -33,14 +33,15 @@ export interface AccountPayoutDto {
33
33
  provider: AccountPayoutDtoProviderEnum;
34
34
  }
35
35
 
36
+
36
37
  /**
37
- * @export
38
- * @enum {string}
39
- */
40
- export enum AccountPayoutDtoProviderEnum {
41
- STRIPE = 'stripe',
42
- BANK_ACCOUNT = 'bank_account'
43
- }
38
+ * @export
39
+ */
40
+ export const AccountPayoutDtoProviderEnum = {
41
+ STRIPE: 'stripe',
42
+ BANK_ACCOUNT: 'bank_account'
43
+ } as const;
44
+ export type AccountPayoutDtoProviderEnum = typeof AccountPayoutDtoProviderEnum[keyof typeof AccountPayoutDtoProviderEnum];
44
45
 
45
46
 
46
47
  /**
@@ -45,18 +45,19 @@ export interface AuBankAccountDetails {
45
45
  bsb: string;
46
46
  }
47
47
 
48
+
48
49
  /**
49
- * @export
50
- * @enum {string}
51
- */
52
- export enum AuBankAccountDetailsTypeEnum {
53
- UK_BANK_ACCOUNT_DETAILS = 'UkBankAccountDetails',
54
- US_BANK_ACCOUNT_DETAILS = 'UsBankAccountDetails',
55
- CA_BANK_ACCOUNT_DETAILS = 'CaBankAccountDetails',
56
- NZ_BANK_ACCOUNT_DETAILS = 'NzBankAccountDetails',
57
- AU_BANK_ACCOUNT_DETAILS = 'AuBankAccountDetails',
58
- SEPA_BANK_ACCOUNT_DETAILS = 'SepaBankAccountDetails'
59
- }
50
+ * @export
51
+ */
52
+ export const AuBankAccountDetailsTypeEnum = {
53
+ UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
+ NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
+ AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
+ SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
59
+ } as const;
60
+ export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
60
61
 
61
62
 
62
63
  /**
@@ -78,16 +78,17 @@ export interface BillingInformationDto {
78
78
  companyInfo: CompanyInformationDto | null;
79
79
  }
80
80
 
81
+
81
82
  /**
82
- * @export
83
- * @enum {string}
84
- */
85
- export enum BillingInformationDtoTypeEnum {
86
- COMPANY = 'company',
87
- GOVERNMENT_ENTITY = 'government_entity',
88
- INDIVIDUAL = 'individual',
89
- NON_PROFIT = 'non_profit'
90
- }
83
+ * @export
84
+ */
85
+ export const BillingInformationDtoTypeEnum = {
86
+ COMPANY: 'company',
87
+ GOVERNMENT_ENTITY: 'government_entity',
88
+ INDIVIDUAL: 'individual',
89
+ NON_PROFIT: 'non_profit'
90
+ } as const;
91
+ export type BillingInformationDtoTypeEnum = typeof BillingInformationDtoTypeEnum[keyof typeof BillingInformationDtoTypeEnum];
91
92
 
92
93
 
93
94
  /**
@@ -77,26 +77,28 @@ export interface BuyerDomainTransferListItemDto {
77
77
  ipsTag: string | null;
78
78
  }
79
79
 
80
+
80
81
  /**
81
- * @export
82
- * @enum {string}
83
- */
84
- export enum BuyerDomainTransferListItemDtoInvoiceStatusEnum {
85
- DRAFT = 'draft',
86
- PAID = 'paid',
87
- CANCELLED = 'cancelled'
88
- }
82
+ * @export
83
+ */
84
+ export const BuyerDomainTransferListItemDtoInvoiceStatusEnum = {
85
+ DRAFT: 'draft',
86
+ PAID: 'paid',
87
+ CANCELLED: 'cancelled'
88
+ } as const;
89
+ export type BuyerDomainTransferListItemDtoInvoiceStatusEnum = typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum[keyof typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum];
90
+
89
91
  /**
90
- * @export
91
- * @enum {string}
92
- */
93
- export enum BuyerDomainTransferListItemDtoDomainTransferStatusEnum {
94
- CREATED = 'created',
95
- STARTED = 'started',
96
- PENDING_MANUAL_ACTION = 'pending_manual_action',
97
- ERROR = 'error',
98
- COMPLETED = 'completed'
99
- }
92
+ * @export
93
+ */
94
+ export const BuyerDomainTransferListItemDtoDomainTransferStatusEnum = {
95
+ CREATED: 'created',
96
+ STARTED: 'started',
97
+ PENDING_MANUAL_ACTION: 'pending_manual_action',
98
+ ERROR: 'error',
99
+ COMPLETED: 'completed'
100
+ } as const;
101
+ export type BuyerDomainTransferListItemDtoDomainTransferStatusEnum = typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum[keyof typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum];
100
102
 
101
103
 
102
104
  /**
@@ -84,26 +84,28 @@ export interface BuyerLeadListItemDto {
84
84
  orderPaymentUrl: string | null;
85
85
  }
86
86
 
87
+
87
88
  /**
88
- * @export
89
- * @enum {string}
90
- */
91
- export enum BuyerLeadListItemDtoStatusEnum {
92
- UNVERIFIED = 'unverified',
93
- ACTIVE = 'active',
94
- ACCEPTED = 'accepted',
95
- FINISHED = 'finished',
96
- CLOSED = 'closed'
97
- }
89
+ * @export
90
+ */
91
+ export const BuyerLeadListItemDtoStatusEnum = {
92
+ UNVERIFIED: 'unverified',
93
+ ACTIVE: 'active',
94
+ ACCEPTED: 'accepted',
95
+ FINISHED: 'finished',
96
+ CLOSED: 'closed'
97
+ } as const;
98
+ export type BuyerLeadListItemDtoStatusEnum = typeof BuyerLeadListItemDtoStatusEnum[keyof typeof BuyerLeadListItemDtoStatusEnum];
99
+
98
100
  /**
99
- * @export
100
- * @enum {string}
101
- */
102
- export enum BuyerLeadListItemDtoLastOfferByEnum {
103
- BUYER = 'buyer',
104
- SELLER = 'seller',
105
- ADMIN = 'admin'
106
- }
101
+ * @export
102
+ */
103
+ export const BuyerLeadListItemDtoLastOfferByEnum = {
104
+ BUYER: 'buyer',
105
+ SELLER: 'seller',
106
+ ADMIN: 'admin'
107
+ } as const;
108
+ export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
107
109
 
108
110
 
109
111
  /**
@@ -57,14 +57,15 @@ export interface BuyerSecurityUserDto {
57
57
  type: BuyerSecurityUserDtoTypeEnum;
58
58
  }
59
59
 
60
+
60
61
  /**
61
- * @export
62
- * @enum {string}
63
- */
64
- export enum BuyerSecurityUserDtoTypeEnum {
65
- BUYER = 'buyer',
66
- SELLER = 'seller'
67
- }
62
+ * @export
63
+ */
64
+ export const BuyerSecurityUserDtoTypeEnum = {
65
+ BUYER: 'buyer',
66
+ SELLER: 'seller'
67
+ } as const;
68
+ export type BuyerSecurityUserDtoTypeEnum = typeof BuyerSecurityUserDtoTypeEnum[keyof typeof BuyerSecurityUserDtoTypeEnum];
68
69
 
69
70
 
70
71
  /**
@@ -63,14 +63,15 @@ export interface BuyerSessionDto {
63
63
  hasSubscriptions: boolean;
64
64
  }
65
65
 
66
+
66
67
  /**
67
- * @export
68
- * @enum {string}
69
- */
70
- export enum BuyerSessionDtoTypeEnum {
71
- BUYER = 'buyer',
72
- SELLER = 'seller'
73
- }
68
+ * @export
69
+ */
70
+ export const BuyerSessionDtoTypeEnum = {
71
+ BUYER: 'buyer',
72
+ SELLER: 'seller'
73
+ } as const;
74
+ export type BuyerSessionDtoTypeEnum = typeof BuyerSessionDtoTypeEnum[keyof typeof BuyerSessionDtoTypeEnum];
74
75
 
75
76
 
76
77
  /**
@@ -114,25 +114,27 @@ export interface BuyerSubscriptionListItemDto {
114
114
  paymentUrl: string | null;
115
115
  }
116
116
 
117
+
117
118
  /**
118
- * @export
119
- * @enum {string}
120
- */
121
- export enum BuyerSubscriptionListItemDtoStatusEnum {
122
- DRAFT = 'draft',
123
- ACTIVE = 'active',
124
- PAUSED = 'paused',
125
- CANCELLED = 'cancelled',
126
- FINISHED = 'finished'
127
- }
119
+ * @export
120
+ */
121
+ export const BuyerSubscriptionListItemDtoStatusEnum = {
122
+ DRAFT: 'draft',
123
+ ACTIVE: 'active',
124
+ PAUSED: 'paused',
125
+ CANCELLED: 'cancelled',
126
+ FINISHED: 'finished'
127
+ } as const;
128
+ export type BuyerSubscriptionListItemDtoStatusEnum = typeof BuyerSubscriptionListItemDtoStatusEnum[keyof typeof BuyerSubscriptionListItemDtoStatusEnum];
129
+
128
130
  /**
129
- * @export
130
- * @enum {string}
131
- */
132
- export enum BuyerSubscriptionListItemDtoTypeEnum {
133
- RENT = 'rent',
134
- LEASE_TO_OWN = 'lease_to_own'
135
- }
131
+ * @export
132
+ */
133
+ export const BuyerSubscriptionListItemDtoTypeEnum = {
134
+ RENT: 'rent',
135
+ LEASE_TO_OWN: 'lease_to_own'
136
+ } as const;
137
+ export type BuyerSubscriptionListItemDtoTypeEnum = typeof BuyerSubscriptionListItemDtoTypeEnum[keyof typeof BuyerSubscriptionListItemDtoTypeEnum];
136
138
 
137
139
 
138
140
  /**
@@ -51,18 +51,19 @@ export interface CaBankAccountDetails {
51
51
  accountNumber: string;
52
52
  }
53
53
 
54
+
54
55
  /**
55
- * @export
56
- * @enum {string}
57
- */
58
- export enum CaBankAccountDetailsTypeEnum {
59
- UK_BANK_ACCOUNT_DETAILS = 'UkBankAccountDetails',
60
- US_BANK_ACCOUNT_DETAILS = 'UsBankAccountDetails',
61
- CA_BANK_ACCOUNT_DETAILS = 'CaBankAccountDetails',
62
- NZ_BANK_ACCOUNT_DETAILS = 'NzBankAccountDetails',
63
- AU_BANK_ACCOUNT_DETAILS = 'AuBankAccountDetails',
64
- SEPA_BANK_ACCOUNT_DETAILS = 'SepaBankAccountDetails'
65
- }
56
+ * @export
57
+ */
58
+ export const CaBankAccountDetailsTypeEnum = {
59
+ UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
60
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
61
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
62
+ NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
63
+ AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
64
+ SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
65
+ } as const;
66
+ export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
66
67
 
67
68
 
68
69
  /**
@@ -27,15 +27,16 @@ export interface ChangeOrderStatusInput {
27
27
  status: ChangeOrderStatusInputStatusEnum;
28
28
  }
29
29
 
30
+
30
31
  /**
31
- * @export
32
- * @enum {string}
33
- */
34
- export enum ChangeOrderStatusInputStatusEnum {
35
- DRAFT = 'draft',
36
- PAID = 'paid',
37
- CANCELLED = 'cancelled'
38
- }
32
+ * @export
33
+ */
34
+ export const ChangeOrderStatusInputStatusEnum = {
35
+ DRAFT: 'draft',
36
+ PAID: 'paid',
37
+ CANCELLED: 'cancelled'
38
+ } as const;
39
+ export type ChangeOrderStatusInputStatusEnum = typeof ChangeOrderStatusInputStatusEnum[keyof typeof ChangeOrderStatusInputStatusEnum];
39
40
 
40
41
 
41
42
  /**
@@ -27,17 +27,18 @@ export interface ChangeSubscriptionStatusInput {
27
27
  status: ChangeSubscriptionStatusInputStatusEnum;
28
28
  }
29
29
 
30
+
30
31
  /**
31
- * @export
32
- * @enum {string}
33
- */
34
- export enum ChangeSubscriptionStatusInputStatusEnum {
35
- DRAFT = 'draft',
36
- ACTIVE = 'active',
37
- PAUSED = 'paused',
38
- CANCELLED = 'cancelled',
39
- FINISHED = 'finished'
40
- }
32
+ * @export
33
+ */
34
+ export const ChangeSubscriptionStatusInputStatusEnum = {
35
+ DRAFT: 'draft',
36
+ ACTIVE: 'active',
37
+ PAUSED: 'paused',
38
+ CANCELLED: 'cancelled',
39
+ FINISHED: 'finished'
40
+ } as const;
41
+ export type ChangeSubscriptionStatusInputStatusEnum = typeof ChangeSubscriptionStatusInputStatusEnum[keyof typeof ChangeSubscriptionStatusInputStatusEnum];
41
42
 
42
43
 
43
44
  /**
@@ -27,19 +27,20 @@ export interface ConcreteDomainTransferTaskData {
27
27
  requirements: Array<ConcreteDomainTransferTaskDataRequirementsEnum>;
28
28
  }
29
29
 
30
+
30
31
  /**
31
- * @export
32
- * @enum {string}
33
- */
34
- export enum ConcreteDomainTransferTaskDataRequirementsEnum {
35
- AUTH_CODE = 'auth_code',
36
- BUYER_CONFIRMATION = 'buyer_confirmation',
37
- OWNED_DOMAIN = 'owned_domain',
38
- OWNED_DOMAIN_TAKEN_BY_BUYER = 'owned_domain_taken_by_buyer',
39
- OWNED_DOMAIN_TAKEN_BY_SELLER = 'owned_domain_taken_by_seller',
40
- DOMAIN_IPS_TAG = 'domain_ips_tag',
41
- DOMAIN_IPS_TAG_SELLER = 'domain_ips_tag_seller'
42
- }
32
+ * @export
33
+ */
34
+ export const ConcreteDomainTransferTaskDataRequirementsEnum = {
35
+ AUTH_CODE: 'auth_code',
36
+ BUYER_CONFIRMATION: 'buyer_confirmation',
37
+ OWNED_DOMAIN: 'owned_domain',
38
+ OWNED_DOMAIN_TAKEN_BY_BUYER: 'owned_domain_taken_by_buyer',
39
+ OWNED_DOMAIN_TAKEN_BY_SELLER: 'owned_domain_taken_by_seller',
40
+ DOMAIN_IPS_TAG: 'domain_ips_tag',
41
+ DOMAIN_IPS_TAG_SELLER: 'domain_ips_tag_seller'
42
+ } as const;
43
+ export type ConcreteDomainTransferTaskDataRequirementsEnum = typeof ConcreteDomainTransferTaskDataRequirementsEnum[keyof typeof ConcreteDomainTransferTaskDataRequirementsEnum];
43
44
 
44
45
 
45
46
  /**