@randock/nameshift-api-client 0.0.470 → 0.0.472
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 +9 -0
- package/README.md +3 -3
- package/dist/apis/CustomerSuccessApi.d.ts +60 -0
- package/dist/apis/CustomerSuccessApi.js +227 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BuyerNotificationDto.d.ts +2 -0
- package/dist/models/BuyerNotificationDto.js +2 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +2 -0
- package/dist/models/BuyerNotificationListItemDto.js +2 -0
- package/dist/models/CustomerSuccessDomainAuctionDto.d.ts +86 -0
- package/dist/models/CustomerSuccessDomainAuctionDto.js +91 -0
- package/dist/models/CustomerSuccessDomainListItemDto.d.ts +255 -0
- package/dist/models/CustomerSuccessDomainListItemDto.js +209 -0
- package/dist/models/CustomerSuccessListAccountDto.d.ts +163 -0
- package/dist/models/CustomerSuccessListAccountDto.js +146 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +80 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.js +83 -0
- package/dist/models/CustomerSuccessListAccountPortfolioSizeDto.d.ts +38 -0
- package/dist/models/CustomerSuccessListAccountPortfolioSizeDto.js +55 -0
- package/dist/models/CustomerSuccessListAccountUserDto.d.ts +44 -0
- package/dist/models/CustomerSuccessListAccountUserDto.js +59 -0
- package/dist/models/ListCustomerSuccessAccountDomains200Response.d.ts +47 -0
- package/dist/models/ListCustomerSuccessAccountDomains200Response.js +62 -0
- package/dist/models/ListCustomerSuccessAccounts200Response.d.ts +47 -0
- package/dist/models/ListCustomerSuccessAccounts200Response.js +62 -0
- package/dist/models/UserNotificationDto.d.ts +2 -0
- package/dist/models/UserNotificationDto.js +2 -0
- package/dist/models/UserNotificationListItemDto.d.ts +2 -0
- package/dist/models/UserNotificationListItemDto.js +2 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/CustomerSuccessApi.ts +187 -0
- package/src/apis/index.ts +1 -0
- package/src/models/BuyerNotificationDto.ts +2 -0
- package/src/models/BuyerNotificationListItemDto.ts +2 -0
- package/src/models/CustomerSuccessDomainAuctionDto.ts +151 -0
- package/src/models/CustomerSuccessDomainListItemDto.ts +426 -0
- package/src/models/CustomerSuccessListAccountDto.ts +278 -0
- package/src/models/CustomerSuccessListAccountMetricsDto.ts +138 -0
- package/src/models/CustomerSuccessListAccountPortfolioSizeDto.ts +75 -0
- package/src/models/CustomerSuccessListAccountUserDto.ts +84 -0
- package/src/models/ListCustomerSuccessAccountDomains200Response.ts +106 -0
- package/src/models/ListCustomerSuccessAccounts200Response.ts +106 -0
- package/src/models/UserNotificationDto.ts +2 -0
- package/src/models/UserNotificationListItemDto.ts +2 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,278 @@
|
|
|
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
|
+
import type { CustomerSuccessListAccountUserDto } from './CustomerSuccessListAccountUserDto';
|
|
17
|
+
import {
|
|
18
|
+
CustomerSuccessListAccountUserDtoFromJSON,
|
|
19
|
+
CustomerSuccessListAccountUserDtoFromJSONTyped,
|
|
20
|
+
CustomerSuccessListAccountUserDtoToJSON,
|
|
21
|
+
CustomerSuccessListAccountUserDtoToJSONTyped,
|
|
22
|
+
} from './CustomerSuccessListAccountUserDto';
|
|
23
|
+
import type { ChallengeRewardBalanceDto } from './ChallengeRewardBalanceDto';
|
|
24
|
+
import {
|
|
25
|
+
ChallengeRewardBalanceDtoFromJSON,
|
|
26
|
+
ChallengeRewardBalanceDtoFromJSONTyped,
|
|
27
|
+
ChallengeRewardBalanceDtoToJSON,
|
|
28
|
+
ChallengeRewardBalanceDtoToJSONTyped,
|
|
29
|
+
} from './ChallengeRewardBalanceDto';
|
|
30
|
+
import type { CustomerSuccessListAccountMetricsDto } from './CustomerSuccessListAccountMetricsDto';
|
|
31
|
+
import {
|
|
32
|
+
CustomerSuccessListAccountMetricsDtoFromJSON,
|
|
33
|
+
CustomerSuccessListAccountMetricsDtoFromJSONTyped,
|
|
34
|
+
CustomerSuccessListAccountMetricsDtoToJSON,
|
|
35
|
+
CustomerSuccessListAccountMetricsDtoToJSONTyped,
|
|
36
|
+
} from './CustomerSuccessListAccountMetricsDto';
|
|
37
|
+
import type { CustomerSuccessListAccountPortfolioSizeDto } from './CustomerSuccessListAccountPortfolioSizeDto';
|
|
38
|
+
import {
|
|
39
|
+
CustomerSuccessListAccountPortfolioSizeDtoFromJSON,
|
|
40
|
+
CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped,
|
|
41
|
+
CustomerSuccessListAccountPortfolioSizeDtoToJSON,
|
|
42
|
+
CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped,
|
|
43
|
+
} from './CustomerSuccessListAccountPortfolioSizeDto';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface CustomerSuccessListAccountDto
|
|
49
|
+
*/
|
|
50
|
+
export interface CustomerSuccessListAccountDto {
|
|
51
|
+
/**
|
|
52
|
+
* Account ID.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof CustomerSuccessListAccountDto
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Account identifier (human-readable).
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof CustomerSuccessListAccountDto
|
|
61
|
+
*/
|
|
62
|
+
identifier: string;
|
|
63
|
+
/**
|
|
64
|
+
* Account creation date.
|
|
65
|
+
* @type {Date}
|
|
66
|
+
* @memberof CustomerSuccessListAccountDto
|
|
67
|
+
*/
|
|
68
|
+
createdAt: Date;
|
|
69
|
+
/**
|
|
70
|
+
* Account name.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof CustomerSuccessListAccountDto
|
|
73
|
+
*/
|
|
74
|
+
name: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Billing information type.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof CustomerSuccessListAccountDto
|
|
79
|
+
*/
|
|
80
|
+
type: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Account alias.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof CustomerSuccessListAccountDto
|
|
85
|
+
*/
|
|
86
|
+
alias: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Whether the alias is verified.
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof CustomerSuccessListAccountDto
|
|
91
|
+
*/
|
|
92
|
+
aliasVerified: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Account metrics.
|
|
95
|
+
* @type {CustomerSuccessListAccountMetricsDto}
|
|
96
|
+
* @memberof CustomerSuccessListAccountDto
|
|
97
|
+
*/
|
|
98
|
+
metrics: CustomerSuccessListAccountMetricsDto;
|
|
99
|
+
/**
|
|
100
|
+
* Last online date.
|
|
101
|
+
* @type {Date}
|
|
102
|
+
* @memberof CustomerSuccessListAccountDto
|
|
103
|
+
*/
|
|
104
|
+
lastOnline: Date;
|
|
105
|
+
/**
|
|
106
|
+
* Account users.
|
|
107
|
+
* @type {Array<CustomerSuccessListAccountUserDto>}
|
|
108
|
+
* @memberof CustomerSuccessListAccountDto
|
|
109
|
+
*/
|
|
110
|
+
users: Array<CustomerSuccessListAccountUserDto>;
|
|
111
|
+
/**
|
|
112
|
+
* Onboarding provider.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof CustomerSuccessListAccountDto
|
|
115
|
+
*/
|
|
116
|
+
onboardingProvider: CustomerSuccessListAccountDtoOnboardingProviderEnum;
|
|
117
|
+
/**
|
|
118
|
+
* Onboarding status.
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof CustomerSuccessListAccountDto
|
|
121
|
+
*/
|
|
122
|
+
onboardingStatus: CustomerSuccessListAccountDtoOnboardingStatusEnum;
|
|
123
|
+
/**
|
|
124
|
+
* Payout provider.
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof CustomerSuccessListAccountDto
|
|
127
|
+
*/
|
|
128
|
+
payoutProvider: CustomerSuccessListAccountDtoPayoutProviderEnum;
|
|
129
|
+
/**
|
|
130
|
+
* Affiliate account ID.
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof CustomerSuccessListAccountDto
|
|
133
|
+
*/
|
|
134
|
+
affiliateId: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* Estimated domain portfolio size range reported during registration.
|
|
137
|
+
* @type {CustomerSuccessListAccountPortfolioSizeDto}
|
|
138
|
+
* @memberof CustomerSuccessListAccountDto
|
|
139
|
+
*/
|
|
140
|
+
portfolioSize: CustomerSuccessListAccountPortfolioSizeDto | null;
|
|
141
|
+
/**
|
|
142
|
+
* Company name.
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof CustomerSuccessListAccountDto
|
|
145
|
+
*/
|
|
146
|
+
companyName: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Whether third-party sales data sharing is allowed.
|
|
149
|
+
* @type {boolean}
|
|
150
|
+
* @memberof CustomerSuccessListAccountDto
|
|
151
|
+
*/
|
|
152
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Challenge reward balance (available and used).
|
|
155
|
+
* @type {ChallengeRewardBalanceDto}
|
|
156
|
+
* @memberof CustomerSuccessListAccountDto
|
|
157
|
+
*/
|
|
158
|
+
challengeRewardBalance: ChallengeRewardBalanceDto;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export const CustomerSuccessListAccountDtoOnboardingProviderEnum = {
|
|
166
|
+
STRIPE: 'stripe',
|
|
167
|
+
SUMSUB: 'sumsub'
|
|
168
|
+
} as const;
|
|
169
|
+
export type CustomerSuccessListAccountDtoOnboardingProviderEnum = typeof CustomerSuccessListAccountDtoOnboardingProviderEnum[keyof typeof CustomerSuccessListAccountDtoOnboardingProviderEnum];
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @export
|
|
173
|
+
*/
|
|
174
|
+
export const CustomerSuccessListAccountDtoOnboardingStatusEnum = {
|
|
175
|
+
PENDING: 'pending',
|
|
176
|
+
ACTIVE: 'active',
|
|
177
|
+
REJECTED: 'rejected'
|
|
178
|
+
} as const;
|
|
179
|
+
export type CustomerSuccessListAccountDtoOnboardingStatusEnum = typeof CustomerSuccessListAccountDtoOnboardingStatusEnum[keyof typeof CustomerSuccessListAccountDtoOnboardingStatusEnum];
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @export
|
|
183
|
+
*/
|
|
184
|
+
export const CustomerSuccessListAccountDtoPayoutProviderEnum = {
|
|
185
|
+
STRIPE: 'stripe',
|
|
186
|
+
BANK_ACCOUNT: 'bank_account'
|
|
187
|
+
} as const;
|
|
188
|
+
export type CustomerSuccessListAccountDtoPayoutProviderEnum = typeof CustomerSuccessListAccountDtoPayoutProviderEnum[keyof typeof CustomerSuccessListAccountDtoPayoutProviderEnum];
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Check if a given object implements the CustomerSuccessListAccountDto interface.
|
|
193
|
+
*/
|
|
194
|
+
export function instanceOfCustomerSuccessListAccountDto(value: object): value is CustomerSuccessListAccountDto {
|
|
195
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
196
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
197
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
198
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
199
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
200
|
+
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
201
|
+
if (!('aliasVerified' in value) || value['aliasVerified'] === undefined) return false;
|
|
202
|
+
if (!('metrics' in value) || value['metrics'] === undefined) return false;
|
|
203
|
+
if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
|
|
204
|
+
if (!('users' in value) || value['users'] === undefined) return false;
|
|
205
|
+
if (!('onboardingProvider' in value) || value['onboardingProvider'] === undefined) return false;
|
|
206
|
+
if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined) return false;
|
|
207
|
+
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined) return false;
|
|
208
|
+
if (!('affiliateId' in value) || value['affiliateId'] === undefined) return false;
|
|
209
|
+
if (!('portfolioSize' in value) || value['portfolioSize'] === undefined) return false;
|
|
210
|
+
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
211
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
212
|
+
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined) return false;
|
|
213
|
+
return true;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export function CustomerSuccessListAccountDtoFromJSON(json: any): CustomerSuccessListAccountDto {
|
|
217
|
+
return CustomerSuccessListAccountDtoFromJSONTyped(json, false);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export function CustomerSuccessListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountDto {
|
|
221
|
+
if (json == null) {
|
|
222
|
+
return json;
|
|
223
|
+
}
|
|
224
|
+
return {
|
|
225
|
+
|
|
226
|
+
'id': json['id'],
|
|
227
|
+
'identifier': json['identifier'],
|
|
228
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
229
|
+
'name': json['name'],
|
|
230
|
+
'type': json['type'],
|
|
231
|
+
'alias': json['alias'],
|
|
232
|
+
'aliasVerified': json['aliasVerified'],
|
|
233
|
+
'metrics': CustomerSuccessListAccountMetricsDtoFromJSON(json['metrics']),
|
|
234
|
+
'lastOnline': (new Date(json['lastOnline'])),
|
|
235
|
+
'users': ((json['users'] as Array<any>).map(CustomerSuccessListAccountUserDtoFromJSON)),
|
|
236
|
+
'onboardingProvider': json['onboardingProvider'],
|
|
237
|
+
'onboardingStatus': json['onboardingStatus'],
|
|
238
|
+
'payoutProvider': json['payoutProvider'],
|
|
239
|
+
'affiliateId': json['affiliateId'],
|
|
240
|
+
'portfolioSize': CustomerSuccessListAccountPortfolioSizeDtoFromJSON(json['portfolioSize']),
|
|
241
|
+
'companyName': json['companyName'],
|
|
242
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
243
|
+
'challengeRewardBalance': ChallengeRewardBalanceDtoFromJSON(json['challengeRewardBalance']),
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export function CustomerSuccessListAccountDtoToJSON(json: any): CustomerSuccessListAccountDto {
|
|
248
|
+
return CustomerSuccessListAccountDtoToJSONTyped(json, false);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export function CustomerSuccessListAccountDtoToJSONTyped(value?: CustomerSuccessListAccountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
252
|
+
if (value == null) {
|
|
253
|
+
return value;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
return {
|
|
257
|
+
|
|
258
|
+
'id': value['id'],
|
|
259
|
+
'identifier': value['identifier'],
|
|
260
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
261
|
+
'name': value['name'],
|
|
262
|
+
'type': value['type'],
|
|
263
|
+
'alias': value['alias'],
|
|
264
|
+
'aliasVerified': value['aliasVerified'],
|
|
265
|
+
'metrics': CustomerSuccessListAccountMetricsDtoToJSON(value['metrics']),
|
|
266
|
+
'lastOnline': ((value['lastOnline']).toISOString()),
|
|
267
|
+
'users': ((value['users'] as Array<any>).map(CustomerSuccessListAccountUserDtoToJSON)),
|
|
268
|
+
'onboardingProvider': value['onboardingProvider'],
|
|
269
|
+
'onboardingStatus': value['onboardingStatus'],
|
|
270
|
+
'payoutProvider': value['payoutProvider'],
|
|
271
|
+
'affiliateId': value['affiliateId'],
|
|
272
|
+
'portfolioSize': CustomerSuccessListAccountPortfolioSizeDtoToJSON(value['portfolioSize']),
|
|
273
|
+
'companyName': value['companyName'],
|
|
274
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
275
|
+
'challengeRewardBalance': ChallengeRewardBalanceDtoToJSON(value['challengeRewardBalance']),
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
|
|
@@ -0,0 +1,138 @@
|
|
|
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 CustomerSuccessListAccountMetricsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomerSuccessListAccountMetricsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Total number of leads.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
26
|
+
*/
|
|
27
|
+
leadsNumber: number;
|
|
28
|
+
/**
|
|
29
|
+
* Total number of domains.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
32
|
+
*/
|
|
33
|
+
domainsNumber: number;
|
|
34
|
+
/**
|
|
35
|
+
* Number of active leads.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
38
|
+
*/
|
|
39
|
+
activeLeadsNumber: number;
|
|
40
|
+
/**
|
|
41
|
+
* Number of active domain transfers.
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
44
|
+
*/
|
|
45
|
+
activeDomainTransfersNumber: number;
|
|
46
|
+
/**
|
|
47
|
+
* Number of open tasks.
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
50
|
+
*/
|
|
51
|
+
tasksNumber: number;
|
|
52
|
+
/**
|
|
53
|
+
* Number of sold domains.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
56
|
+
*/
|
|
57
|
+
soldDomainsNumber: number;
|
|
58
|
+
/**
|
|
59
|
+
* Number of referrals.
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
62
|
+
*/
|
|
63
|
+
referralsNumber: number;
|
|
64
|
+
/**
|
|
65
|
+
* Number of domains pointing DNS.
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
68
|
+
*/
|
|
69
|
+
pointingDomainsNumber: number;
|
|
70
|
+
/**
|
|
71
|
+
* Number of pending challenges to collect.
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
74
|
+
*/
|
|
75
|
+
pendingChallengesToCollectNumber: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the CustomerSuccessListAccountMetricsDto interface.
|
|
80
|
+
*/
|
|
81
|
+
export function instanceOfCustomerSuccessListAccountMetricsDto(value: object): value is CustomerSuccessListAccountMetricsDto {
|
|
82
|
+
if (!('leadsNumber' in value) || value['leadsNumber'] === undefined) return false;
|
|
83
|
+
if (!('domainsNumber' in value) || value['domainsNumber'] === undefined) return false;
|
|
84
|
+
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
|
|
85
|
+
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
|
|
86
|
+
if (!('tasksNumber' in value) || value['tasksNumber'] === undefined) return false;
|
|
87
|
+
if (!('soldDomainsNumber' in value) || value['soldDomainsNumber'] === undefined) return false;
|
|
88
|
+
if (!('referralsNumber' in value) || value['referralsNumber'] === undefined) return false;
|
|
89
|
+
if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined) return false;
|
|
90
|
+
if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined) return false;
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function CustomerSuccessListAccountMetricsDtoFromJSON(json: any): CustomerSuccessListAccountMetricsDto {
|
|
95
|
+
return CustomerSuccessListAccountMetricsDtoFromJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function CustomerSuccessListAccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountMetricsDto {
|
|
99
|
+
if (json == null) {
|
|
100
|
+
return json;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'leadsNumber': json['leadsNumber'],
|
|
105
|
+
'domainsNumber': json['domainsNumber'],
|
|
106
|
+
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
107
|
+
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
108
|
+
'tasksNumber': json['tasksNumber'],
|
|
109
|
+
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
110
|
+
'referralsNumber': json['referralsNumber'],
|
|
111
|
+
'pointingDomainsNumber': json['pointingDomainsNumber'],
|
|
112
|
+
'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function CustomerSuccessListAccountMetricsDtoToJSON(json: any): CustomerSuccessListAccountMetricsDto {
|
|
117
|
+
return CustomerSuccessListAccountMetricsDtoToJSONTyped(json, false);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function CustomerSuccessListAccountMetricsDtoToJSONTyped(value?: CustomerSuccessListAccountMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
121
|
+
if (value == null) {
|
|
122
|
+
return value;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
return {
|
|
126
|
+
|
|
127
|
+
'leadsNumber': value['leadsNumber'],
|
|
128
|
+
'domainsNumber': value['domainsNumber'],
|
|
129
|
+
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
130
|
+
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
131
|
+
'tasksNumber': value['tasksNumber'],
|
|
132
|
+
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
133
|
+
'referralsNumber': value['referralsNumber'],
|
|
134
|
+
'pointingDomainsNumber': value['pointingDomainsNumber'],
|
|
135
|
+
'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 CustomerSuccessListAccountPortfolioSizeDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomerSuccessListAccountPortfolioSizeDto {
|
|
22
|
+
/**
|
|
23
|
+
* Portfolio size lower bound.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof CustomerSuccessListAccountPortfolioSizeDto
|
|
26
|
+
*/
|
|
27
|
+
from: number;
|
|
28
|
+
/**
|
|
29
|
+
* Portfolio size upper bound.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof CustomerSuccessListAccountPortfolioSizeDto
|
|
32
|
+
*/
|
|
33
|
+
to: number | null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CustomerSuccessListAccountPortfolioSizeDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCustomerSuccessListAccountPortfolioSizeDto(value: object): value is CustomerSuccessListAccountPortfolioSizeDto {
|
|
40
|
+
if (!('from' in value) || value['from'] === undefined) return false;
|
|
41
|
+
if (!('to' in value) || value['to'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CustomerSuccessListAccountPortfolioSizeDtoFromJSON(json: any): CustomerSuccessListAccountPortfolioSizeDto {
|
|
46
|
+
return CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountPortfolioSizeDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'from': json['from'],
|
|
56
|
+
'to': json['to'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CustomerSuccessListAccountPortfolioSizeDtoToJSON(json: any): CustomerSuccessListAccountPortfolioSizeDto {
|
|
61
|
+
return CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped(value?: CustomerSuccessListAccountPortfolioSizeDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'from': value['from'],
|
|
72
|
+
'to': value['to'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
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 CustomerSuccessListAccountUserDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomerSuccessListAccountUserDto {
|
|
22
|
+
/**
|
|
23
|
+
* User full name.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CustomerSuccessListAccountUserDto
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* User email address.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CustomerSuccessListAccountUserDto
|
|
32
|
+
*/
|
|
33
|
+
email: string;
|
|
34
|
+
/**
|
|
35
|
+
* User phone number.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CustomerSuccessListAccountUserDto
|
|
38
|
+
*/
|
|
39
|
+
phone: string | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the CustomerSuccessListAccountUserDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfCustomerSuccessListAccountUserDto(value: object): value is CustomerSuccessListAccountUserDto {
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
48
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CustomerSuccessListAccountUserDtoFromJSON(json: any): CustomerSuccessListAccountUserDto {
|
|
53
|
+
return CustomerSuccessListAccountUserDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CustomerSuccessListAccountUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountUserDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'email': json['email'],
|
|
64
|
+
'phone': json['phone'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function CustomerSuccessListAccountUserDtoToJSON(json: any): CustomerSuccessListAccountUserDto {
|
|
69
|
+
return CustomerSuccessListAccountUserDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function CustomerSuccessListAccountUserDtoToJSONTyped(value?: CustomerSuccessListAccountUserDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'name': value['name'],
|
|
80
|
+
'email': value['email'],
|
|
81
|
+
'phone': value['phone'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { CustomerSuccessDomainListItemDto } from './CustomerSuccessDomainListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
CustomerSuccessDomainListItemDtoFromJSON,
|
|
26
|
+
CustomerSuccessDomainListItemDtoFromJSONTyped,
|
|
27
|
+
CustomerSuccessDomainListItemDtoToJSON,
|
|
28
|
+
CustomerSuccessDomainListItemDtoToJSONTyped,
|
|
29
|
+
} from './CustomerSuccessDomainListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ListCustomerSuccessAccountDomains200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface ListCustomerSuccessAccountDomains200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<CustomerSuccessDomainListItemDto>}
|
|
47
|
+
* @memberof ListCustomerSuccessAccountDomains200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<CustomerSuccessDomainListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof ListCustomerSuccessAccountDomains200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof ListCustomerSuccessAccountDomains200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ListCustomerSuccessAccountDomains200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfListCustomerSuccessAccountDomains200Response(value: object): value is ListCustomerSuccessAccountDomains200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ListCustomerSuccessAccountDomains200ResponseFromJSON(json: any): ListCustomerSuccessAccountDomains200Response {
|
|
75
|
+
return ListCustomerSuccessAccountDomains200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ListCustomerSuccessAccountDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomerSuccessAccountDomains200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(CustomerSuccessDomainListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ListCustomerSuccessAccountDomains200ResponseToJSON(json: any): ListCustomerSuccessAccountDomains200Response {
|
|
91
|
+
return ListCustomerSuccessAccountDomains200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ListCustomerSuccessAccountDomains200ResponseToJSONTyped(value?: ListCustomerSuccessAccountDomains200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(CustomerSuccessDomainListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|