@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,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 { CustomerSuccessListAccountDto } from './CustomerSuccessListAccountDto';
|
|
24
|
+
import {
|
|
25
|
+
CustomerSuccessListAccountDtoFromJSON,
|
|
26
|
+
CustomerSuccessListAccountDtoFromJSONTyped,
|
|
27
|
+
CustomerSuccessListAccountDtoToJSON,
|
|
28
|
+
CustomerSuccessListAccountDtoToJSONTyped,
|
|
29
|
+
} from './CustomerSuccessListAccountDto';
|
|
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 ListCustomerSuccessAccounts200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface ListCustomerSuccessAccounts200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<CustomerSuccessListAccountDto>}
|
|
47
|
+
* @memberof ListCustomerSuccessAccounts200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<CustomerSuccessListAccountDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof ListCustomerSuccessAccounts200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof ListCustomerSuccessAccounts200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ListCustomerSuccessAccounts200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfListCustomerSuccessAccounts200Response(value: object): value is ListCustomerSuccessAccounts200Response {
|
|
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 ListCustomerSuccessAccounts200ResponseFromJSON(json: any): ListCustomerSuccessAccounts200Response {
|
|
75
|
+
return ListCustomerSuccessAccounts200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ListCustomerSuccessAccounts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomerSuccessAccounts200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(CustomerSuccessListAccountDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ListCustomerSuccessAccounts200ResponseToJSON(json: any): ListCustomerSuccessAccounts200Response {
|
|
91
|
+
return ListCustomerSuccessAccounts200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ListCustomerSuccessAccounts200ResponseToJSONTyped(value?: ListCustomerSuccessAccounts200Response | 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(CustomerSuccessListAccountDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -127,9 +127,11 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
127
127
|
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
128
128
|
PASSWORD_RESET: 'password_reset',
|
|
129
129
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
130
|
+
USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
|
|
130
131
|
BUYER_INVOICE: 'buyer_invoice',
|
|
131
132
|
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
132
133
|
BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
|
|
134
|
+
BUYER_BANK_TRANSFER_PAYMENT_DETAILS: 'buyer_bank_transfer_payment_details',
|
|
133
135
|
SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
|
|
134
136
|
SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
|
|
135
137
|
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
@@ -113,9 +113,11 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
113
113
|
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
114
114
|
PASSWORD_RESET: 'password_reset',
|
|
115
115
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
116
|
+
USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
|
|
116
117
|
BUYER_INVOICE: 'buyer_invoice',
|
|
117
118
|
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
118
119
|
BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
|
|
120
|
+
BUYER_BANK_TRANSFER_PAYMENT_DETAILS: 'buyer_bank_transfer_payment_details',
|
|
119
121
|
SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
|
|
120
122
|
SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
|
|
121
123
|
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
package/src/models/index.ts
CHANGED
|
@@ -185,6 +185,12 @@ export * from './CreateSubscriptionManualTransactionInput';
|
|
|
185
185
|
export * from './CreatedApiKeyDto';
|
|
186
186
|
export * from './CursorBasedPageInfo';
|
|
187
187
|
export * from './CursorBasedPaginationResponse';
|
|
188
|
+
export * from './CustomerSuccessDomainAuctionDto';
|
|
189
|
+
export * from './CustomerSuccessDomainListItemDto';
|
|
190
|
+
export * from './CustomerSuccessListAccountDto';
|
|
191
|
+
export * from './CustomerSuccessListAccountMetricsDto';
|
|
192
|
+
export * from './CustomerSuccessListAccountPortfolioSizeDto';
|
|
193
|
+
export * from './CustomerSuccessListAccountUserDto';
|
|
188
194
|
export * from './DeleteDomainsInput';
|
|
189
195
|
export * from './DomainAuctionDto';
|
|
190
196
|
export * from './DomainCategoryItemDto';
|
|
@@ -342,6 +348,8 @@ export * from './ListAuctions200Response';
|
|
|
342
348
|
export * from './ListBankAccounts200Response';
|
|
343
349
|
export * from './ListBankDeposits200Response';
|
|
344
350
|
export * from './ListBuyerNotifications200Response';
|
|
351
|
+
export * from './ListCustomerSuccessAccountDomains200Response';
|
|
352
|
+
export * from './ListCustomerSuccessAccounts200Response';
|
|
345
353
|
export * from './ListDomains200Response';
|
|
346
354
|
export * from './ListDomainsWithUpdatedPricing200Response';
|
|
347
355
|
export * from './ListJobs200Response';
|