@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.
- package/.openapi-generator/FILES +6 -0
- package/README.md +3 -3
- package/dist/apis/APIKeysApi.d.ts +78 -0
- package/dist/apis/APIKeysApi.js +354 -0
- package/dist/apis/AccountsApi.d.ts +36 -36
- package/dist/apis/AccountsApi.js +360 -216
- package/dist/apis/AdminApi.d.ts +26 -0
- package/dist/apis/AdminApi.js +106 -0
- package/dist/apis/AuctionsApi.d.ts +4 -4
- package/dist/apis/AuctionsApi.js +40 -24
- package/dist/apis/BankAccountsApi.d.ts +10 -10
- package/dist/apis/BankAccountsApi.js +100 -60
- package/dist/apis/ChallengesApi.d.ts +6 -6
- package/dist/apis/ChallengesApi.js +60 -36
- package/dist/apis/DomainTransfersApi.d.ts +2 -2
- package/dist/apis/DomainTransfersApi.js +20 -12
- package/dist/apis/DomainsApi.d.ts +44 -44
- package/dist/apis/DomainsApi.js +440 -264
- package/dist/apis/EppApi.d.ts +2 -2
- package/dist/apis/EppApi.js +20 -12
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +60 -36
- package/dist/apis/LeadsApi.d.ts +38 -38
- package/dist/apis/LeadsApi.js +380 -228
- package/dist/apis/MarketApi.d.ts +2 -2
- package/dist/apis/MarketApi.js +2 -2
- package/dist/apis/NotificationsApi.d.ts +8 -8
- package/dist/apis/NotificationsApi.js +80 -48
- package/dist/apis/StatsApi.d.ts +14 -14
- package/dist/apis/StatsApi.js +140 -84
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +20 -12
- package/dist/apis/TasksApi.d.ts +6 -6
- package/dist/apis/TasksApi.js +60 -36
- package/dist/apis/UsersApi.d.ts +10 -10
- package/dist/apis/UsersApi.js +100 -60
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AdminDomainListItemDto.d.ts +6 -0
- package/dist/models/AdminDomainListItemDto.js +4 -0
- package/dist/models/ApiKeyDto.d.ts +107 -0
- package/dist/models/ApiKeyDto.js +114 -0
- package/dist/models/ApiKeyScopeDto.d.ts +83 -0
- package/dist/models/ApiKeyScopeDto.js +98 -0
- package/dist/models/CreateApiKeyInput.d.ts +83 -0
- package/dist/models/CreateApiKeyInput.js +96 -0
- package/dist/models/CreatedApiKeyDto.d.ts +113 -0
- package/dist/models/CreatedApiKeyDto.js +118 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/dist/models/UpdateApiKeyInput.d.ts +77 -0
- package/dist/models/UpdateApiKeyInput.js +90 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/APIKeysApi.ts +271 -0
- package/src/apis/AccountsApi.ts +108 -36
- package/src/apis/AdminApi.ts +92 -0
- package/src/apis/AuctionsApi.ts +12 -4
- package/src/apis/BankAccountsApi.ts +30 -10
- package/src/apis/ChallengesApi.ts +18 -6
- package/src/apis/DomainTransfersApi.ts +6 -2
- package/src/apis/DomainsApi.ts +132 -44
- package/src/apis/EppApi.ts +6 -2
- package/src/apis/InvoicesApi.ts +18 -6
- package/src/apis/LeadsApi.ts +114 -38
- package/src/apis/MarketApi.ts +2 -2
- package/src/apis/NotificationsApi.ts +24 -8
- package/src/apis/StatsApi.ts +42 -14
- package/src/apis/SubscriptionsApi.ts +6 -2
- package/src/apis/TasksApi.ts +18 -6
- package/src/apis/UsersApi.ts +30 -10
- package/src/apis/index.ts +1 -0
- package/src/models/AdminDomainListItemDto.ts +9 -0
- package/src/models/ApiKeyDto.ts +162 -0
- package/src/models/ApiKeyScopeDto.ts +126 -0
- package/src/models/CreateApiKeyInput.ts +125 -0
- package/src/models/CreatedApiKeyDto.ts +171 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
- package/src/models/UpdateApiKeyInput.ts +115 -0
- 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
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -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';
|