@randock/nameshift-api-client 0.0.448 → 0.0.450

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 (162) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +3 -3
  3. package/dist/apis/APIKeysApi.d.ts +78 -0
  4. package/dist/apis/APIKeysApi.js +354 -0
  5. package/dist/apis/AccountsApi.d.ts +36 -36
  6. package/dist/apis/AccountsApi.js +360 -216
  7. package/dist/apis/AdminApi.d.ts +37 -1
  8. package/dist/apis/AdminApi.js +122 -1
  9. package/dist/apis/AuctionsApi.d.ts +4 -4
  10. package/dist/apis/AuctionsApi.js +40 -24
  11. package/dist/apis/BankAccountsApi.d.ts +10 -10
  12. package/dist/apis/BankAccountsApi.js +100 -60
  13. package/dist/apis/ChallengesApi.d.ts +6 -6
  14. package/dist/apis/ChallengesApi.js +60 -36
  15. package/dist/apis/DomainTransfersApi.d.ts +2 -2
  16. package/dist/apis/DomainTransfersApi.js +20 -12
  17. package/dist/apis/DomainsApi.d.ts +44 -44
  18. package/dist/apis/DomainsApi.js +440 -264
  19. package/dist/apis/EppApi.d.ts +2 -2
  20. package/dist/apis/EppApi.js +20 -12
  21. package/dist/apis/InvoicesApi.d.ts +6 -6
  22. package/dist/apis/InvoicesApi.js +60 -36
  23. package/dist/apis/LeadsApi.d.ts +38 -38
  24. package/dist/apis/LeadsApi.js +380 -228
  25. package/dist/apis/MarketplacesApi.d.ts +89 -0
  26. package/dist/apis/MarketplacesApi.js +332 -0
  27. package/dist/apis/NotificationsApi.d.ts +8 -8
  28. package/dist/apis/NotificationsApi.js +80 -48
  29. package/dist/apis/StatsApi.d.ts +14 -14
  30. package/dist/apis/StatsApi.js +140 -84
  31. package/dist/apis/SubscriptionsApi.d.ts +2 -2
  32. package/dist/apis/SubscriptionsApi.js +20 -12
  33. package/dist/apis/TasksApi.d.ts +6 -6
  34. package/dist/apis/TasksApi.js +60 -36
  35. package/dist/apis/UsersApi.d.ts +10 -10
  36. package/dist/apis/UsersApi.js +100 -60
  37. package/dist/apis/index.d.ts +2 -0
  38. package/dist/apis/index.js +2 -0
  39. package/dist/models/AccountMarketplaceDto.d.ts +56 -0
  40. package/dist/models/AccountMarketplaceDto.js +71 -0
  41. package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
  42. package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +1 -0
  43. package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
  44. package/dist/models/AccountNameshiftCommissionItemDto.js +1 -0
  45. package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
  46. package/dist/models/AccountNameshiftCommissionReasonDto.js +1 -0
  47. package/dist/models/AccountSettingsDto.d.ts +18 -0
  48. package/dist/models/AccountSettingsDto.js +16 -0
  49. package/dist/models/AccountSettingsInput.d.ts +18 -0
  50. package/dist/models/AccountSettingsInput.js +14 -0
  51. package/dist/models/AdminDomainListItemDto.d.ts +19 -0
  52. package/dist/models/AdminDomainListItemDto.js +17 -1
  53. package/dist/models/AdminMarketplaceDto.d.ts +86 -0
  54. package/dist/models/AdminMarketplaceDto.js +91 -0
  55. package/dist/models/ApiKeyDto.d.ts +107 -0
  56. package/dist/models/ApiKeyDto.js +114 -0
  57. package/dist/models/ApiKeyScopeDto.d.ts +83 -0
  58. package/dist/models/ApiKeyScopeDto.js +98 -0
  59. package/dist/models/CommissionDto.d.ts +1 -0
  60. package/dist/models/CommissionDto.js +1 -0
  61. package/dist/models/CommissionPayloadInput.d.ts +1 -0
  62. package/dist/models/CommissionPayloadInput.js +1 -0
  63. package/dist/models/CommissionReasonDto.d.ts +1 -0
  64. package/dist/models/CommissionReasonDto.js +1 -0
  65. package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
  66. package/dist/models/CommissionSimulationItemInput.js +1 -0
  67. package/dist/models/CreateApiKeyInput.d.ts +83 -0
  68. package/dist/models/CreateApiKeyInput.js +96 -0
  69. package/dist/models/CreateOrderInput.d.ts +6 -0
  70. package/dist/models/CreateOrderInput.js +2 -0
  71. package/dist/models/CreateSubscriptionInput.d.ts +6 -0
  72. package/dist/models/CreateSubscriptionInput.js +2 -0
  73. package/dist/models/CreatedApiKeyDto.d.ts +113 -0
  74. package/dist/models/CreatedApiKeyDto.js +118 -0
  75. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  76. package/dist/models/FeatureFlagListItemDto.js +2 -1
  77. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  78. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  79. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +18 -0
  80. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +16 -0
  81. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +18 -0
  82. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +16 -0
  83. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +18 -0
  84. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +16 -0
  85. package/dist/models/MarketplaceDto.d.ts +74 -0
  86. package/dist/models/MarketplaceDto.js +83 -0
  87. package/dist/models/OrderDto.d.ts +7 -1
  88. package/dist/models/OrderDto.js +4 -0
  89. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  90. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  91. package/dist/models/SetAccountMarketplaceInput.d.ts +32 -0
  92. package/dist/models/SetAccountMarketplaceInput.js +51 -0
  93. package/dist/models/SimulateCommissionInput.d.ts +1 -0
  94. package/dist/models/SimulateCommissionInput.js +1 -0
  95. package/dist/models/SubscriptionDto.d.ts +7 -1
  96. package/dist/models/SubscriptionDto.js +4 -0
  97. package/dist/models/UpdateApiKeyInput.d.ts +77 -0
  98. package/dist/models/UpdateApiKeyInput.js +90 -0
  99. package/dist/models/UpdateDomainInput.d.ts +18 -0
  100. package/dist/models/UpdateDomainInput.js +14 -0
  101. package/dist/models/UpdateMarketplaceInput.d.ts +44 -0
  102. package/dist/models/UpdateMarketplaceInput.js +53 -0
  103. package/dist/models/UpdateOrderInput.d.ts +6 -0
  104. package/dist/models/UpdateOrderInput.js +2 -0
  105. package/dist/models/UpdateSubscriptionInput.d.ts +6 -0
  106. package/dist/models/UpdateSubscriptionInput.js +2 -0
  107. package/dist/models/index.d.ts +10 -0
  108. package/dist/models/index.js +10 -0
  109. package/package.json +1 -1
  110. package/src/apis/APIKeysApi.ts +271 -0
  111. package/src/apis/AccountsApi.ts +108 -36
  112. package/src/apis/AdminApi.ts +112 -0
  113. package/src/apis/AuctionsApi.ts +12 -4
  114. package/src/apis/BankAccountsApi.ts +30 -10
  115. package/src/apis/ChallengesApi.ts +18 -6
  116. package/src/apis/DomainTransfersApi.ts +6 -2
  117. package/src/apis/DomainsApi.ts +132 -44
  118. package/src/apis/EppApi.ts +6 -2
  119. package/src/apis/InvoicesApi.ts +18 -6
  120. package/src/apis/LeadsApi.ts +114 -38
  121. package/src/apis/MarketplacesApi.ts +240 -0
  122. package/src/apis/NotificationsApi.ts +24 -8
  123. package/src/apis/StatsApi.ts +42 -14
  124. package/src/apis/SubscriptionsApi.ts +6 -2
  125. package/src/apis/TasksApi.ts +18 -6
  126. package/src/apis/UsersApi.ts +30 -10
  127. package/src/apis/index.ts +2 -0
  128. package/src/models/AccountMarketplaceDto.ts +99 -0
  129. package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +1 -0
  130. package/src/models/AccountNameshiftCommissionItemDto.ts +1 -0
  131. package/src/models/AccountNameshiftCommissionReasonDto.ts +1 -0
  132. package/src/models/AccountSettingsDto.ts +24 -0
  133. package/src/models/AccountSettingsInput.ts +23 -0
  134. package/src/models/AdminDomainListItemDto.ts +23 -0
  135. package/src/models/AdminMarketplaceDto.ts +144 -0
  136. package/src/models/ApiKeyDto.ts +162 -0
  137. package/src/models/ApiKeyScopeDto.ts +126 -0
  138. package/src/models/CommissionDto.ts +1 -0
  139. package/src/models/CommissionPayloadInput.ts +1 -0
  140. package/src/models/CommissionReasonDto.ts +1 -0
  141. package/src/models/CommissionSimulationItemInput.ts +1 -0
  142. package/src/models/CreateApiKeyInput.ts +125 -0
  143. package/src/models/CreateOrderInput.ts +8 -0
  144. package/src/models/CreateSubscriptionInput.ts +8 -0
  145. package/src/models/CreatedApiKeyDto.ts +171 -0
  146. package/src/models/FeatureFlagListItemDto.ts +2 -1
  147. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  148. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +24 -0
  149. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +24 -0
  150. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +24 -0
  151. package/src/models/MarketplaceDto.ts +126 -0
  152. package/src/models/OrderDto.ts +10 -1
  153. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  154. package/src/models/SetAccountMarketplaceInput.ts +66 -0
  155. package/src/models/SimulateCommissionInput.ts +1 -0
  156. package/src/models/SubscriptionDto.ts +10 -1
  157. package/src/models/UpdateApiKeyInput.ts +115 -0
  158. package/src/models/UpdateDomainInput.ts +23 -0
  159. package/src/models/UpdateMarketplaceInput.ts +81 -0
  160. package/src/models/UpdateOrderInput.ts +8 -0
  161. package/src/models/UpdateSubscriptionInput.ts +8 -0
  162. package/src/models/index.ts +10 -0
@@ -93,7 +93,8 @@ export const FeatureFlagListItemDtoNameEnum = {
93
93
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
94
94
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
95
95
  USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
96
- AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
96
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
97
+ MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
97
98
  } as const;
98
99
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
99
100
 
@@ -179,7 +179,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
179
179
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
180
180
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
181
181
  USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
182
- AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
182
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
183
+ MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
183
184
  } as const;
184
185
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
185
186
 
@@ -249,6 +249,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
249
249
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
250
250
  */
251
251
  showcased: boolean;
252
+ /**
253
+ * Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
254
+ * @type {string}
255
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
256
+ */
257
+ marketplace: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum | null;
252
258
  /**
253
259
  * Account that owns the domain.
254
260
  * @type {AccountDto}
@@ -263,6 +269,21 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
263
269
  hasAuction: boolean;
264
270
  }
265
271
 
272
+
273
+ /**
274
+ * @export
275
+ */
276
+ export const IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum = {
277
+ NAMESHIFT: 'nameshift',
278
+ SEDO: 'sedo',
279
+ AFTERNIC: 'afternic',
280
+ ATOM: 'atom',
281
+ SPACESHIP: 'spaceship',
282
+ NAMECLUB: 'nameclub'
283
+ } as const;
284
+ export type IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum = typeof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum];
285
+
286
+
266
287
  /**
267
288
  * Check if a given object implements the IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto interface.
268
289
  */
@@ -297,6 +318,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
297
318
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
298
319
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
299
320
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
321
+ if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
300
322
  if (!('account' in value) || value['account'] === undefined) return false;
301
323
  if (!('hasAuction' in value) || value['hasAuction'] === undefined) return false;
302
324
  return true;
@@ -342,6 +364,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
342
364
  'isLocked': json['isLocked'],
343
365
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
344
366
  'showcased': json['showcased'],
367
+ 'marketplace': json['marketplace'],
345
368
  'account': AccountDtoFromJSON(json['account']),
346
369
  'hasAuction': json['hasAuction'],
347
370
  };
@@ -388,6 +411,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
388
411
  'isLocked': value['isLocked'],
389
412
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
390
413
  'showcased': value['showcased'],
414
+ 'marketplace': value['marketplace'],
391
415
  'account': AccountDtoToJSON(value['account']),
392
416
  'hasAuction': value['hasAuction'],
393
417
  };
@@ -249,6 +249,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
249
249
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
250
250
  */
251
251
  showcased: boolean;
252
+ /**
253
+ * Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
254
+ * @type {string}
255
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
256
+ */
257
+ marketplace: IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum | null;
252
258
  /**
253
259
  * Account managing the domain on behalf of the owner, when a hijacker is assigned.
254
260
  * @type {AccountDto}
@@ -263,6 +269,21 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
263
269
  account: AccountDto;
264
270
  }
265
271
 
272
+
273
+ /**
274
+ * @export
275
+ */
276
+ export const IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum = {
277
+ NAMESHIFT: 'nameshift',
278
+ SEDO: 'sedo',
279
+ AFTERNIC: 'afternic',
280
+ ATOM: 'atom',
281
+ SPACESHIP: 'spaceship',
282
+ NAMECLUB: 'nameclub'
283
+ } as const;
284
+ export type IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum = typeof IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum];
285
+
286
+
266
287
  /**
267
288
  * Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
268
289
  */
@@ -297,6 +318,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
297
318
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
298
319
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
299
320
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
321
+ if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
300
322
  if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
301
323
  if (!('account' in value) || value['account'] === undefined) return false;
302
324
  return true;
@@ -342,6 +364,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
342
364
  'isLocked': json['isLocked'],
343
365
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
344
366
  'showcased': json['showcased'],
367
+ 'marketplace': json['marketplace'],
345
368
  'hijacker': AccountDtoFromJSON(json['hijacker']),
346
369
  'account': AccountDtoFromJSON(json['account']),
347
370
  };
@@ -388,6 +411,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
388
411
  'isLocked': value['isLocked'],
389
412
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
390
413
  'showcased': value['showcased'],
414
+ 'marketplace': value['marketplace'],
391
415
  'hijacker': AccountDtoToJSON(value['hijacker']),
392
416
  'account': AccountDtoToJSON(value['account']),
393
417
  };
@@ -249,6 +249,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
249
249
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
250
250
  */
251
251
  showcased: boolean;
252
+ /**
253
+ * Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
254
+ * @type {string}
255
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
256
+ */
257
+ marketplace: IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum | null;
252
258
  /**
253
259
  * SEO metrics for the domain from Moz, Majestic, and historical sources.
254
260
  * @type {SeoMetricsDto}
@@ -257,6 +263,21 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
257
263
  seoMetrics: SeoMetricsDto | null;
258
264
  }
259
265
 
266
+
267
+ /**
268
+ * @export
269
+ */
270
+ export const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = {
271
+ NAMESHIFT: 'nameshift',
272
+ SEDO: 'sedo',
273
+ AFTERNIC: 'afternic',
274
+ ATOM: 'atom',
275
+ SPACESHIP: 'spaceship',
276
+ NAMECLUB: 'nameclub'
277
+ } as const;
278
+ export type IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum];
279
+
280
+
260
281
  /**
261
282
  * Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
262
283
  */
@@ -291,6 +312,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
291
312
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
292
313
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
293
314
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
315
+ if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
294
316
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
295
317
  return true;
296
318
  }
@@ -335,6 +357,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
335
357
  'isLocked': json['isLocked'],
336
358
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
337
359
  'showcased': json['showcased'],
360
+ 'marketplace': json['marketplace'],
338
361
  'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
339
362
  };
340
363
  }
@@ -380,6 +403,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
380
403
  'isLocked': value['isLocked'],
381
404
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
382
405
  'showcased': value['showcased'],
406
+ 'marketplace': value['marketplace'],
383
407
  'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
384
408
  };
385
409
  }
@@ -0,0 +1,126 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface MarketplaceDto
20
+ */
21
+ export interface MarketplaceDto {
22
+ /**
23
+ * Stable code used to select this marketplace.
24
+ * @type {string}
25
+ * @memberof MarketplaceDto
26
+ */
27
+ code: MarketplaceDtoCodeEnum;
28
+ /**
29
+ * Display name of the marketplace.
30
+ * @type {string}
31
+ * @memberof MarketplaceDto
32
+ */
33
+ name: string;
34
+ /**
35
+ * Whether domains may currently be routed to this marketplace. A marketplace without nameservers cannot be routed to.
36
+ * @type {boolean}
37
+ * @memberof MarketplaceDto
38
+ */
39
+ routable: boolean;
40
+ /**
41
+ * Record type the verification code is published as.
42
+ * @type {string}
43
+ * @memberof MarketplaceDto
44
+ */
45
+ verificationRecordType: string;
46
+ /**
47
+ * Record name the verification code is published at, relative to the domain.
48
+ * @type {string}
49
+ * @memberof MarketplaceDto
50
+ */
51
+ verificationRecordName: string;
52
+ /**
53
+ * An example of the value this marketplace issues, shown so a seller recognises it.
54
+ * @type {string}
55
+ * @memberof MarketplaceDto
56
+ */
57
+ verificationExample: string | null;
58
+ }
59
+
60
+
61
+ /**
62
+ * @export
63
+ */
64
+ export const MarketplaceDtoCodeEnum = {
65
+ NAMESHIFT: 'nameshift',
66
+ SEDO: 'sedo',
67
+ AFTERNIC: 'afternic',
68
+ ATOM: 'atom',
69
+ SPACESHIP: 'spaceship',
70
+ NAMECLUB: 'nameclub'
71
+ } as const;
72
+ export type MarketplaceDtoCodeEnum = typeof MarketplaceDtoCodeEnum[keyof typeof MarketplaceDtoCodeEnum];
73
+
74
+
75
+ /**
76
+ * Check if a given object implements the MarketplaceDto interface.
77
+ */
78
+ export function instanceOfMarketplaceDto(value: object): value is MarketplaceDto {
79
+ if (!('code' in value) || value['code'] === undefined) return false;
80
+ if (!('name' in value) || value['name'] === undefined) return false;
81
+ if (!('routable' in value) || value['routable'] === undefined) return false;
82
+ if (!('verificationRecordType' in value) || value['verificationRecordType'] === undefined) return false;
83
+ if (!('verificationRecordName' in value) || value['verificationRecordName'] === undefined) return false;
84
+ if (!('verificationExample' in value) || value['verificationExample'] === undefined) return false;
85
+ return true;
86
+ }
87
+
88
+ export function MarketplaceDtoFromJSON(json: any): MarketplaceDto {
89
+ return MarketplaceDtoFromJSONTyped(json, false);
90
+ }
91
+
92
+ export function MarketplaceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketplaceDto {
93
+ if (json == null) {
94
+ return json;
95
+ }
96
+ return {
97
+
98
+ 'code': json['code'],
99
+ 'name': json['name'],
100
+ 'routable': json['routable'],
101
+ 'verificationRecordType': json['verificationRecordType'],
102
+ 'verificationRecordName': json['verificationRecordName'],
103
+ 'verificationExample': json['verificationExample'],
104
+ };
105
+ }
106
+
107
+ export function MarketplaceDtoToJSON(json: any): MarketplaceDto {
108
+ return MarketplaceDtoToJSONTyped(json, false);
109
+ }
110
+
111
+ export function MarketplaceDtoToJSONTyped(value?: MarketplaceDto | null, ignoreDiscriminator: boolean = false): any {
112
+ if (value == null) {
113
+ return value;
114
+ }
115
+
116
+ return {
117
+
118
+ 'code': value['code'],
119
+ 'name': value['name'],
120
+ 'routable': value['routable'],
121
+ 'verificationRecordType': value['verificationRecordType'],
122
+ 'verificationRecordName': value['verificationRecordName'],
123
+ 'verificationExample': value['verificationExample'],
124
+ };
125
+ }
126
+
@@ -164,7 +164,7 @@ export interface OrderDto {
164
164
  */
165
165
  enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
166
166
  /**
167
- * Available payment methods per gateway (canonical ids), keyed by PaymentGateway
167
+ * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
168
168
  * @type {object}
169
169
  * @memberof OrderDto
170
170
  */
@@ -175,6 +175,12 @@ export interface OrderDto {
175
175
  * @memberof OrderDto
176
176
  */
177
177
  selectedPaymentMethod: OrderDtoSelectedPaymentMethodEnum | null;
178
+ /**
179
+ * When the cached availablePaymentMethods expire. After this time, PATCH with forceUpdatePaymentMethods=true then GET again to refresh them.
180
+ * @type {Date}
181
+ * @memberof OrderDto
182
+ */
183
+ availablePaymentMethodsExpiresAt: Date | null;
178
184
  /**
179
185
  * Whether the buyer invoice can be issued as proforma.
180
186
  * @type {boolean}
@@ -302,6 +308,7 @@ export function instanceOfOrderDto(value: object): value is OrderDto {
302
308
  if (!('enabledPaymentMethods' in value) || value['enabledPaymentMethods'] === undefined) return false;
303
309
  if (!('availablePaymentMethods' in value) || value['availablePaymentMethods'] === undefined) return false;
304
310
  if (!('selectedPaymentMethod' in value) || value['selectedPaymentMethod'] === undefined) return false;
311
+ if (!('availablePaymentMethodsExpiresAt' in value) || value['availablePaymentMethodsExpiresAt'] === undefined) return false;
305
312
  if (!('canBeProforma' in value) || value['canBeProforma'] === undefined) return false;
306
313
  return true;
307
314
  }
@@ -336,6 +343,7 @@ export function OrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
336
343
  'enabledPaymentMethods': json['enabledPaymentMethods'],
337
344
  'availablePaymentMethods': json['availablePaymentMethods'],
338
345
  'selectedPaymentMethod': json['selectedPaymentMethod'],
346
+ 'availablePaymentMethodsExpiresAt': (json['availablePaymentMethodsExpiresAt'] == null ? null : new Date(json['availablePaymentMethodsExpiresAt'])),
339
347
  'canBeProforma': json['canBeProforma'],
340
348
  };
341
349
  }
@@ -371,6 +379,7 @@ export function OrderDtoToJSONTyped(value?: OrderDto | null, ignoreDiscriminator
371
379
  'enabledPaymentMethods': value['enabledPaymentMethods'],
372
380
  'availablePaymentMethods': value['availablePaymentMethods'],
373
381
  'selectedPaymentMethod': value['selectedPaymentMethod'],
382
+ 'availablePaymentMethodsExpiresAt': (value['availablePaymentMethodsExpiresAt'] == null ? null : (value['availablePaymentMethodsExpiresAt'] as any).toISOString()),
374
383
  'canBeProforma': value['canBeProforma'],
375
384
  };
376
385
  }
@@ -185,7 +185,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
185
185
  ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
186
186
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
187
187
  USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
188
- AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
188
+ AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
189
+ MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
189
190
  } as const;
190
191
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
191
192
 
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SetAccountMarketplaceInput
20
+ */
21
+ export interface SetAccountMarketplaceInput {
22
+ /**
23
+ * The value this marketplace issued the account, copied verbatim from its account page. It is published in the record the marketplace defines, for every domain of the account.
24
+ * @type {string}
25
+ * @memberof SetAccountMarketplaceInput
26
+ */
27
+ verificationCode: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the SetAccountMarketplaceInput interface.
32
+ */
33
+ export function instanceOfSetAccountMarketplaceInput(value: object): value is SetAccountMarketplaceInput {
34
+ if (!('verificationCode' in value) || value['verificationCode'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function SetAccountMarketplaceInputFromJSON(json: any): SetAccountMarketplaceInput {
39
+ return SetAccountMarketplaceInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function SetAccountMarketplaceInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetAccountMarketplaceInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'verificationCode': json['verificationCode'],
49
+ };
50
+ }
51
+
52
+ export function SetAccountMarketplaceInputToJSON(json: any): SetAccountMarketplaceInput {
53
+ return SetAccountMarketplaceInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function SetAccountMarketplaceInputToJSONTyped(value?: SetAccountMarketplaceInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'verificationCode': value['verificationCode'],
64
+ };
65
+ }
66
+
@@ -66,6 +66,7 @@ export interface SimulateCommissionInput {
66
66
  export const SimulateCommissionInputSubtypeEnum = {
67
67
  POINTING: 'pointing',
68
68
  NOT_POINTING: 'not_pointing',
69
+ ROUTED: 'routed',
69
70
  MANUAL_LEAD: 'manual_lead',
70
71
  AUCTION: 'auction'
71
72
  } as const;
@@ -191,7 +191,7 @@ export interface SubscriptionDto {
191
191
  */
192
192
  hasPendingTransaction: boolean;
193
193
  /**
194
- * Available payment methods per gateway (canonical ids), keyed by PaymentGateway
194
+ * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
195
195
  * @type {object}
196
196
  * @memberof SubscriptionDto
197
197
  */
@@ -202,6 +202,12 @@ export interface SubscriptionDto {
202
202
  * @memberof SubscriptionDto
203
203
  */
204
204
  selectedPaymentMethod: SubscriptionDtoSelectedPaymentMethodEnum | null;
205
+ /**
206
+ * When the cached availablePaymentMethods expire. After this time, PATCH with forceUpdatePaymentMethods=true then GET again to refresh them.
207
+ * @type {Date}
208
+ * @memberof SubscriptionDto
209
+ */
210
+ availablePaymentMethodsExpiresAt: Date | null;
205
211
  /**
206
212
  * Subscribed domain.
207
213
  * @type {SubscriptionDomainDto}
@@ -408,6 +414,7 @@ export function instanceOfSubscriptionDto(value: object): value is SubscriptionD
408
414
  if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined) return false;
409
415
  if (!('availablePaymentMethods' in value) || value['availablePaymentMethods'] === undefined) return false;
410
416
  if (!('selectedPaymentMethod' in value) || value['selectedPaymentMethod'] === undefined) return false;
417
+ if (!('availablePaymentMethodsExpiresAt' in value) || value['availablePaymentMethodsExpiresAt'] === undefined) return false;
411
418
  if (!('domain' in value) || value['domain'] === undefined) return false;
412
419
  if (!('type' in value) || value['type'] === undefined) return false;
413
420
  if (!('installments' in value) || value['installments'] === undefined) return false;
@@ -452,6 +459,7 @@ export function SubscriptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
452
459
  'hasPendingTransaction': json['hasPendingTransaction'],
453
460
  'availablePaymentMethods': json['availablePaymentMethods'],
454
461
  'selectedPaymentMethod': json['selectedPaymentMethod'],
462
+ 'availablePaymentMethodsExpiresAt': (json['availablePaymentMethodsExpiresAt'] == null ? null : new Date(json['availablePaymentMethodsExpiresAt'])),
455
463
  'domain': SubscriptionDomainDtoFromJSON(json['domain']),
456
464
  'type': json['type'],
457
465
  'installments': json['installments'],
@@ -497,6 +505,7 @@ export function SubscriptionDtoToJSONTyped(value?: SubscriptionDto | null, ignor
497
505
  'hasPendingTransaction': value['hasPendingTransaction'],
498
506
  'availablePaymentMethods': value['availablePaymentMethods'],
499
507
  'selectedPaymentMethod': value['selectedPaymentMethod'],
508
+ 'availablePaymentMethodsExpiresAt': (value['availablePaymentMethodsExpiresAt'] == null ? null : (value['availablePaymentMethodsExpiresAt'] as any).toISOString()),
500
509
  'domain': SubscriptionDomainDtoToJSON(value['domain']),
501
510
  'type': value['type'],
502
511
  'installments': value['installments'],
@@ -0,0 +1,115 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateApiKeyInput
20
+ */
21
+ export interface UpdateApiKeyInput {
22
+ /**
23
+ * New name for the key.
24
+ * @type {string}
25
+ * @memberof UpdateApiKeyInput
26
+ */
27
+ name?: string;
28
+ /**
29
+ * Replacement set of scopes. Takes effect on the next request made with the key.
30
+ * @type {Array<string>}
31
+ * @memberof UpdateApiKeyInput
32
+ */
33
+ scope?: Array<UpdateApiKeyInputScopeEnum>;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const UpdateApiKeyInputScopeEnum = {
41
+ DOMAIN_BUY_NOW_PRICES_UPDATES: 'DOMAIN_BUY_NOW_PRICES_UPDATES',
42
+ DOMAINS_FIND: 'DOMAINS_FIND',
43
+ AUCTION_LIST: 'AUCTION_LIST',
44
+ MARKET_DATA: 'MARKET_DATA',
45
+ DOMAINS_READ: 'DOMAINS_READ',
46
+ DOMAINS_WRITE: 'DOMAINS_WRITE',
47
+ EPP_WRITE: 'EPP_WRITE',
48
+ TRANSFERS_READ: 'TRANSFERS_READ',
49
+ TRANSFERS_WRITE: 'TRANSFERS_WRITE',
50
+ LEADS_READ: 'LEADS_READ',
51
+ LEADS_WRITE: 'LEADS_WRITE',
52
+ AUCTIONS_READ: 'AUCTIONS_READ',
53
+ AUCTIONS_WRITE: 'AUCTIONS_WRITE',
54
+ STATS_READ: 'STATS_READ',
55
+ INVOICES_READ: 'INVOICES_READ',
56
+ SUBSCRIPTIONS_READ: 'SUBSCRIPTIONS_READ',
57
+ COMMISSIONS_READ: 'COMMISSIONS_READ',
58
+ TASKS_READ: 'TASKS_READ',
59
+ TASKS_WRITE: 'TASKS_WRITE',
60
+ NOTIFICATIONS_READ: 'NOTIFICATIONS_READ',
61
+ NOTIFICATIONS_WRITE: 'NOTIFICATIONS_WRITE',
62
+ CHALLENGES_READ: 'CHALLENGES_READ',
63
+ CHALLENGES_WRITE: 'CHALLENGES_WRITE',
64
+ ACCOUNT_READ: 'ACCOUNT_READ',
65
+ ACCOUNT_WRITE: 'ACCOUNT_WRITE',
66
+ ACCOUNT_DELETE: 'ACCOUNT_DELETE',
67
+ PAYOUTS_READ: 'PAYOUTS_READ',
68
+ PAYOUTS_WRITE: 'PAYOUTS_WRITE',
69
+ PAYMENTS_READ: 'PAYMENTS_READ',
70
+ PAYMENTS_WRITE: 'PAYMENTS_WRITE',
71
+ USERS_READ: 'USERS_READ',
72
+ USERS_WRITE: 'USERS_WRITE',
73
+ USER_EMAIL_WRITE: 'USER_EMAIL_WRITE'
74
+ } as const;
75
+ export type UpdateApiKeyInputScopeEnum = typeof UpdateApiKeyInputScopeEnum[keyof typeof UpdateApiKeyInputScopeEnum];
76
+
77
+
78
+ /**
79
+ * Check if a given object implements the UpdateApiKeyInput interface.
80
+ */
81
+ export function instanceOfUpdateApiKeyInput(value: object): value is UpdateApiKeyInput {
82
+ return true;
83
+ }
84
+
85
+ export function UpdateApiKeyInputFromJSON(json: any): UpdateApiKeyInput {
86
+ return UpdateApiKeyInputFromJSONTyped(json, false);
87
+ }
88
+
89
+ export function UpdateApiKeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateApiKeyInput {
90
+ if (json == null) {
91
+ return json;
92
+ }
93
+ return {
94
+
95
+ 'name': json['name'] == null ? undefined : json['name'],
96
+ 'scope': json['scope'] == null ? undefined : json['scope'],
97
+ };
98
+ }
99
+
100
+ export function UpdateApiKeyInputToJSON(json: any): UpdateApiKeyInput {
101
+ return UpdateApiKeyInputToJSONTyped(json, false);
102
+ }
103
+
104
+ export function UpdateApiKeyInputToJSONTyped(value?: UpdateApiKeyInput | null, ignoreDiscriminator: boolean = false): any {
105
+ if (value == null) {
106
+ return value;
107
+ }
108
+
109
+ return {
110
+
111
+ 'name': value['name'],
112
+ 'scope': value['scope'],
113
+ };
114
+ }
115
+
@@ -55,6 +55,12 @@ import {
55
55
  * @interface UpdateDomainInput
56
56
  */
57
57
  export interface UpdateDomainInput {
58
+ /**
59
+ * Marketplace this domain resolves to on our nameservers, overriding the account default. Null inherits that default; "nameshift" opts out of it and keeps the domain on our own landing page.
60
+ * @type {string}
61
+ * @memberof UpdateDomainInput
62
+ */
63
+ marketplace?: UpdateDomainInputMarketplaceEnum | null;
58
64
  /**
59
65
  * Buy-it-now price for the domain
60
66
  * @type {MoneyDto}
@@ -105,6 +111,21 @@ export interface UpdateDomainInput {
105
111
  leadPriceNegotiator?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null;
106
112
  }
107
113
 
114
+
115
+ /**
116
+ * @export
117
+ */
118
+ export const UpdateDomainInputMarketplaceEnum = {
119
+ NAMESHIFT: 'nameshift',
120
+ SEDO: 'sedo',
121
+ AFTERNIC: 'afternic',
122
+ ATOM: 'atom',
123
+ SPACESHIP: 'spaceship',
124
+ NAMECLUB: 'nameclub'
125
+ } as const;
126
+ export type UpdateDomainInputMarketplaceEnum = typeof UpdateDomainInputMarketplaceEnum[keyof typeof UpdateDomainInputMarketplaceEnum];
127
+
128
+
108
129
  /**
109
130
  * Check if a given object implements the UpdateDomainInput interface.
110
131
  */
@@ -122,6 +143,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
122
143
  }
123
144
  return {
124
145
 
146
+ 'marketplace': json['marketplace'] == null ? undefined : json['marketplace'],
125
147
  'bin': json['bin'] == null ? undefined : MoneyDtoFromJSON(json['bin']),
126
148
  'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
127
149
  'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
@@ -144,6 +166,7 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
144
166
 
145
167
  return {
146
168
 
169
+ 'marketplace': value['marketplace'],
147
170
  'bin': MoneyDtoToJSON(value['bin']),
148
171
  'minOffer': MoneyDtoToJSON(value['minOffer']),
149
172
  'currencyCode': value['currencyCode'],