@randock/nameshift-api-client 0.0.111 → 0.0.113
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 +4 -0
- package/README.md +3 -3
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/AdminApi.d.ts +37 -2
- package/dist/apis/AdminApi.js +166 -3
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +1 -1
- package/dist/apis/LeadsApi.d.ts +3 -3
- package/dist/apis/LeadsApi.js +1 -1
- package/dist/models/AccountSettingsDto.d.ts +50 -0
- package/dist/models/AccountSettingsDto.js +59 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +31 -0
- package/dist/models/AdminAccountSettingsInput.js +44 -0
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +54 -0
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +65 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +7 -0
- package/dist/models/DomainTransferDetailsDto.js +5 -0
- package/dist/models/List200Response.d.ts +3 -3
- package/dist/models/List200Response.js +3 -3
- package/dist/models/List200Response1.d.ts +3 -3
- package/dist/models/List200Response1.js +3 -3
- package/dist/models/ThrottlerException.d.ts +43 -0
- package/dist/models/ThrottlerException.js +54 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +4 -1
- package/src/apis/AccountsPublicApi.ts +3 -0
- package/src/apis/AdminApi.ts +166 -5
- package/src/apis/BuyersApi.ts +3 -0
- package/src/apis/BuyersPublicApi.ts +3 -0
- package/src/apis/DomainsApi.ts +9 -6
- package/src/apis/DomainsPublicApi.ts +3 -0
- package/src/apis/LeadsApi.ts +9 -6
- package/src/apis/LeadsPublicApi.ts +3 -0
- package/src/apis/OrdersPublicApi.ts +3 -0
- package/src/apis/StripePublicApi.ts +3 -0
- package/src/apis/UsersApi.ts +3 -0
- package/src/apis/UsersPublicApi.ts +3 -0
- package/src/models/AccountSettingsDto.ts +95 -0
- package/src/models/AdminAccountSettingsInput.ts +60 -0
- package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +99 -0
- package/src/models/DomainTransferDetailsDto.ts +15 -0
- package/src/models/List200Response.ts +9 -9
- package/src/models/List200Response1.ts +9 -9
- package/src/models/ThrottlerException.ts +79 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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 ThrottlerException
|
|
20
|
+
*/
|
|
21
|
+
export interface ThrottlerException {
|
|
22
|
+
/**
|
|
23
|
+
* Exception name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ThrottlerException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* http status code
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ThrottlerException
|
|
32
|
+
*/
|
|
33
|
+
statusCode: number;
|
|
34
|
+
/**
|
|
35
|
+
* error message
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ThrottlerException
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ThrottlerException interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfThrottlerException(value: object): value is ThrottlerException {
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
48
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ThrottlerExceptionFromJSON(json: any): ThrottlerException {
|
|
53
|
+
return ThrottlerExceptionFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ThrottlerExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThrottlerException {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'statusCode': json['statusCode'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ThrottlerExceptionToJSON(value?: ThrottlerException | null): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'statusCode': value['statusCode'],
|
|
76
|
+
'message': value['message'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
export * from './AccountDto';
|
|
4
4
|
export * from './AccountMetricsDto';
|
|
5
5
|
export * from './AccountPaymentProviderSessionDto';
|
|
6
|
+
export * from './AccountSettingsDto';
|
|
6
7
|
export * from './AccountSettingsInput';
|
|
7
8
|
export * from './AddressDto';
|
|
9
|
+
export * from './AdminAccountSettingsInput';
|
|
8
10
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
9
11
|
export * from './BadRequestException';
|
|
10
12
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
@@ -32,6 +34,7 @@ export * from './DomainDto';
|
|
|
32
34
|
export * from './DomainSellerDto';
|
|
33
35
|
export * from './DomainStats';
|
|
34
36
|
export * from './DomainTransferAgentDto';
|
|
37
|
+
export * from './DomainTransferDetailSellerPayoutInvoiceDto';
|
|
35
38
|
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
36
39
|
export * from './DomainTransferDetailWorkflowStepDto';
|
|
37
40
|
export * from './DomainTransferDetailsAuthCodeDto';
|
|
@@ -110,6 +113,7 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
110
113
|
export * from './SetNewPasswordInput';
|
|
111
114
|
export * from './StoreBuyerLocaleInput';
|
|
112
115
|
export * from './StoreUserLocaleInput';
|
|
116
|
+
export * from './ThrottlerException';
|
|
113
117
|
export * from './UpdateDomainInput';
|
|
114
118
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
115
119
|
export * from './UpdateLeadInput';
|