@randock/nameshift-api-client 0.0.447 → 0.0.449

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 (87) hide show
  1. package/.openapi-generator/FILES +6 -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 +26 -0
  8. package/dist/apis/AdminApi.js +106 -0
  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/MarketApi.d.ts +2 -2
  26. package/dist/apis/MarketApi.js +2 -2
  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 +1 -0
  38. package/dist/apis/index.js +1 -0
  39. package/dist/models/AdminDomainListItemDto.d.ts +6 -0
  40. package/dist/models/AdminDomainListItemDto.js +4 -0
  41. package/dist/models/ApiKeyDto.d.ts +107 -0
  42. package/dist/models/ApiKeyDto.js +114 -0
  43. package/dist/models/ApiKeyScopeDto.d.ts +83 -0
  44. package/dist/models/ApiKeyScopeDto.js +98 -0
  45. package/dist/models/CreateApiKeyInput.d.ts +83 -0
  46. package/dist/models/CreateApiKeyInput.js +96 -0
  47. package/dist/models/CreatedApiKeyDto.d.ts +113 -0
  48. package/dist/models/CreatedApiKeyDto.js +118 -0
  49. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
  50. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
  51. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
  52. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
  53. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
  54. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
  55. package/dist/models/UpdateApiKeyInput.d.ts +77 -0
  56. package/dist/models/UpdateApiKeyInput.js +90 -0
  57. package/dist/models/index.d.ts +5 -0
  58. package/dist/models/index.js +5 -0
  59. package/package.json +1 -1
  60. package/src/apis/APIKeysApi.ts +271 -0
  61. package/src/apis/AccountsApi.ts +108 -36
  62. package/src/apis/AdminApi.ts +92 -0
  63. package/src/apis/AuctionsApi.ts +12 -4
  64. package/src/apis/BankAccountsApi.ts +30 -10
  65. package/src/apis/ChallengesApi.ts +18 -6
  66. package/src/apis/DomainTransfersApi.ts +6 -2
  67. package/src/apis/DomainsApi.ts +132 -44
  68. package/src/apis/EppApi.ts +6 -2
  69. package/src/apis/InvoicesApi.ts +18 -6
  70. package/src/apis/LeadsApi.ts +114 -38
  71. package/src/apis/MarketApi.ts +2 -2
  72. package/src/apis/NotificationsApi.ts +24 -8
  73. package/src/apis/StatsApi.ts +42 -14
  74. package/src/apis/SubscriptionsApi.ts +6 -2
  75. package/src/apis/TasksApi.ts +18 -6
  76. package/src/apis/UsersApi.ts +30 -10
  77. package/src/apis/index.ts +1 -0
  78. package/src/models/AdminDomainListItemDto.ts +9 -0
  79. package/src/models/ApiKeyDto.ts +162 -0
  80. package/src/models/ApiKeyScopeDto.ts +126 -0
  81. package/src/models/CreateApiKeyInput.ts +125 -0
  82. package/src/models/CreatedApiKeyDto.ts +171 -0
  83. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
  84. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
  85. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
  86. package/src/models/UpdateApiKeyInput.ts +115 -0
  87. package/src/models/index.ts +5 -0
@@ -243,6 +243,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
243
243
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
244
244
  */
245
245
  lockedUntil: Date | null;
246
+ /**
247
+ * Whether an admin picked this domain for the public showcase on the website.
248
+ * @type {boolean}
249
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
250
+ */
251
+ showcased: boolean;
246
252
  /**
247
253
  * SEO metrics for the domain from Moz, Majestic, and historical sources.
248
254
  * @type {SeoMetricsDto}
@@ -284,6 +290,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
284
290
  if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
285
291
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
286
292
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
293
+ if (!('showcased' in value) || value['showcased'] === undefined) return false;
287
294
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
288
295
  return true;
289
296
  }
@@ -327,6 +334,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
327
334
  'isDeleteable': json['isDeleteable'],
328
335
  'isLocked': json['isLocked'],
329
336
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
337
+ 'showcased': json['showcased'],
330
338
  'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
331
339
  };
332
340
  }
@@ -371,6 +379,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
371
379
  'isDeleteable': value['isDeleteable'],
372
380
  'isLocked': value['isLocked'],
373
381
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
382
+ 'showcased': value['showcased'],
374
383
  'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
375
384
  };
376
385
  }
@@ -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
+
@@ -71,6 +71,8 @@ export * from './AirwallexBankAccountDetailsDtoLocalMethod';
71
71
  export * from './AirwallexBankAccountDetailsDtoLocalMethodCode';
72
72
  export * from './AirwallexDepositDto';
73
73
  export * from './AirwallexDepositDtoFee';
74
+ export * from './ApiKeyDto';
75
+ export * from './ApiKeyScopeDto';
74
76
  export * from './AuBankAccountDetails';
75
77
  export * from './AuctionBidDto';
76
78
  export * from './AuctionBidInput';
@@ -161,6 +163,7 @@ export * from './CompanyTaxIdDto';
161
163
  export * from './ConflictException';
162
164
  export * from './CreateAccountPaymentInput';
163
165
  export * from './CreateAccountPaymentManualTransactionInput';
166
+ export * from './CreateApiKeyInput';
164
167
  export * from './CreateBankAccountInput';
165
168
  export * from './CreateBuyerLeadMessageInput';
166
169
  export * from './CreateChallengeInput';
@@ -172,6 +175,7 @@ export * from './CreateOrderInput';
172
175
  export * from './CreateSubscriptionBillingPeriodicityInput';
173
176
  export * from './CreateSubscriptionInput';
174
177
  export * from './CreateSubscriptionManualTransactionInput';
178
+ export * from './CreatedApiKeyDto';
175
179
  export * from './CursorBasedPageInfo';
176
180
  export * from './CursorBasedPaginationResponse';
177
181
  export * from './DeleteDomainsInput';
@@ -471,6 +475,7 @@ export * from './TopSellerAccountDto';
471
475
  export * from './UkBankAccountDetails';
472
476
  export * from './UpdateAccountBillingInformationInput';
473
477
  export * from './UpdateAccountChallengeRewardBalanceInput';
478
+ export * from './UpdateApiKeyInput';
474
479
  export * from './UpdateAuctionMuteStatusInput';
475
480
  export * from './UpdateBuyerDomainTransferBuyerInfoInput';
476
481
  export * from './UpdateBuyerDomainTransferIpsTagInputDto';