@randock/nameshift-api-client 0.0.178 → 0.0.179
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 +5 -1
- package/README.md +3 -3
- package/dist/models/AccountDto.d.ts +6 -0
- package/dist/models/AccountDto.js +4 -0
- package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +6 -0
- package/dist/models/DomainTransferDetailWorkflowStepDto.js +4 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +4 -4
- package/dist/models/DomainTransferDetailsDto.js +3 -3
- package/dist/models/DomainTransferDetailsWorkflowDto.d.ts +47 -0
- package/dist/models/DomainTransferDetailsWorkflowDto.js +64 -0
- package/dist/models/DomainTransferDto.d.ts +7 -0
- package/dist/models/DomainTransferDto.js +5 -0
- package/dist/models/DomainTransferOrderDto.d.ts +4 -9
- package/dist/models/DomainTransferOrderDto.js +4 -7
- package/dist/models/DomainTransferOrderSellerAccountDto.d.ts +50 -0
- package/dist/models/DomainTransferOrderSellerAccountDto.js +63 -0
- package/dist/models/DomainTransferWorkflowDto.d.ts +40 -0
- package/dist/models/DomainTransferWorkflowDto.js +59 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.d.ts +6 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.js +4 -0
- package/dist/models/InvoiceDto.d.ts +21 -0
- package/dist/models/InvoiceDto.js +17 -1
- package/dist/models/InvoiceSellerAccountDto.d.ts +50 -0
- package/dist/models/InvoiceSellerAccountDto.js +63 -0
- package/dist/models/ListAccountDto.d.ts +19 -0
- package/dist/models/ListAccountDto.js +13 -0
- package/dist/models/ListAccountMetricsDto.d.ts +56 -0
- package/dist/models/ListAccountMetricsDto.js +67 -0
- package/dist/models/ListDomains200Response.d.ts +3 -3
- package/dist/models/ListDomains200Response.js +3 -3
- package/dist/models/OrderListItemDtoSellerAccount.d.ts +12 -0
- package/dist/models/OrderListItemDtoSellerAccount.js +8 -0
- package/dist/models/index.d.ts +5 -1
- package/dist/models/index.js +5 -1
- package/package.json +1 -1
- package/src/models/AccountDto.ts +9 -0
- package/src/models/DomainTransferDetailWorkflowStepDto.ts +9 -0
- package/src/models/DomainTransferDetailsDto.ts +11 -11
- package/src/models/DomainTransferDetailsWorkflowDto.ts +94 -0
- package/src/models/DomainTransferDto.ts +16 -0
- package/src/models/DomainTransferOrderDto.ts +14 -15
- package/src/models/DomainTransferOrderSellerAccountDto.ts +93 -0
- package/src/models/DomainTransferWorkflowDto.ts +77 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts +9 -0
- package/src/models/InvoiceDto.ts +34 -0
- package/src/models/InvoiceSellerAccountDto.ts +93 -0
- package/src/models/ListAccountDto.ts +35 -0
- package/src/models/ListAccountMetricsDto.ts +102 -0
- package/src/models/ListDomains200Response.ts +10 -10
- package/src/models/OrderListItemDtoSellerAccount.ts +18 -0
- package/src/models/index.ts +5 -1
- package/dist/models/IntersectionDomainDtoWithAccountNameDto.d.ts +0 -118
- package/dist/models/IntersectionDomainDtoWithAccountNameDto.js +0 -108
- package/src/models/IntersectionDomainDtoWithAccountNameDto.ts +0 -201
|
@@ -94,6 +94,12 @@ export interface DomainTransferDetailWorkflowStepDto {
|
|
|
94
94
|
* @memberof DomainTransferDetailWorkflowStepDto
|
|
95
95
|
*/
|
|
96
96
|
executionsCounter: number;
|
|
97
|
+
/**
|
|
98
|
+
* The domain transfer workflow step last execution date
|
|
99
|
+
* @type {Date}
|
|
100
|
+
* @memberof DomainTransferDetailWorkflowStepDto
|
|
101
|
+
*/
|
|
102
|
+
lastExecutionDate: Date | null;
|
|
97
103
|
}
|
|
98
104
|
|
|
99
105
|
|
|
@@ -123,6 +129,7 @@ export function instanceOfDomainTransferDetailWorkflowStepDto(value: object): va
|
|
|
123
129
|
if (!('validations' in value) || value['validations'] === undefined) return false;
|
|
124
130
|
if (!('warningMessage' in value) || value['warningMessage'] === undefined) return false;
|
|
125
131
|
if (!('executionsCounter' in value) || value['executionsCounter'] === undefined) return false;
|
|
132
|
+
if (!('lastExecutionDate' in value) || value['lastExecutionDate'] === undefined) return false;
|
|
126
133
|
return true;
|
|
127
134
|
}
|
|
128
135
|
|
|
@@ -146,6 +153,7 @@ export function DomainTransferDetailWorkflowStepDtoFromJSONTyped(json: any, igno
|
|
|
146
153
|
'validations': ((json['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoFromJSON)),
|
|
147
154
|
'warningMessage': json['warningMessage'],
|
|
148
155
|
'executionsCounter': json['executionsCounter'],
|
|
156
|
+
'lastExecutionDate': (json['lastExecutionDate'] == null ? null : new Date(json['lastExecutionDate'])),
|
|
149
157
|
};
|
|
150
158
|
}
|
|
151
159
|
|
|
@@ -170,6 +178,7 @@ export function DomainTransferDetailWorkflowStepDtoToJSONTyped(value?: DomainTra
|
|
|
170
178
|
'validations': ((value['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoToJSON)),
|
|
171
179
|
'warningMessage': value['warningMessage'],
|
|
172
180
|
'executionsCounter': value['executionsCounter'],
|
|
181
|
+
'lastExecutionDate': (value['lastExecutionDate'] == null ? null : (value['lastExecutionDate'] as any).toISOString()),
|
|
173
182
|
};
|
|
174
183
|
}
|
|
175
184
|
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
DomainTransferDetailsValidationDtoToJSON,
|
|
35
35
|
DomainTransferDetailsValidationDtoToJSONTyped,
|
|
36
36
|
} from './DomainTransferDetailsValidationDto';
|
|
37
|
-
import type {
|
|
37
|
+
import type { DomainTransferDetailsWorkflowDto } from './DomainTransferDetailsWorkflowDto';
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from './
|
|
39
|
+
DomainTransferDetailsWorkflowDtoFromJSON,
|
|
40
|
+
DomainTransferDetailsWorkflowDtoFromJSONTyped,
|
|
41
|
+
DomainTransferDetailsWorkflowDtoToJSON,
|
|
42
|
+
DomainTransferDetailsWorkflowDtoToJSONTyped,
|
|
43
|
+
} from './DomainTransferDetailsWorkflowDto';
|
|
44
44
|
import type { DomainTransferDetailsAuthCodeDto } from './DomainTransferDetailsAuthCodeDto';
|
|
45
45
|
import {
|
|
46
46
|
DomainTransferDetailsAuthCodeDtoFromJSON,
|
|
@@ -117,11 +117,11 @@ export interface DomainTransferDetailsDto {
|
|
|
117
117
|
*/
|
|
118
118
|
createdAt: Date;
|
|
119
119
|
/**
|
|
120
|
-
* The domain transfer workflow
|
|
121
|
-
* @type {
|
|
120
|
+
* The domain transfer workflow details
|
|
121
|
+
* @type {DomainTransferDetailsWorkflowDto}
|
|
122
122
|
* @memberof DomainTransferDetailsDto
|
|
123
123
|
*/
|
|
124
|
-
workflow:
|
|
124
|
+
workflow: DomainTransferDetailsWorkflowDto;
|
|
125
125
|
/**
|
|
126
126
|
* The domain seller payouts invoices
|
|
127
127
|
* @type {Array<DomainTransferDetailSellerPayoutInvoiceDto>}
|
|
@@ -193,7 +193,7 @@ export function DomainTransferDetailsDtoFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
193
193
|
'authCode': DomainTransferDetailsAuthCodeDtoFromJSON(json['authCode']),
|
|
194
194
|
'validations': ((json['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoFromJSON)),
|
|
195
195
|
'createdAt': (new Date(json['createdAt'])),
|
|
196
|
-
'workflow': (
|
|
196
|
+
'workflow': DomainTransferDetailsWorkflowDtoFromJSON(json['workflow']),
|
|
197
197
|
'sellerPayoutInvoices': ((json['sellerPayoutInvoices'] as Array<any>).map(DomainTransferDetailSellerPayoutInvoiceDtoFromJSON)),
|
|
198
198
|
};
|
|
199
199
|
}
|
|
@@ -218,7 +218,7 @@ export function DomainTransferDetailsDtoToJSONTyped(value?: DomainTransferDetail
|
|
|
218
218
|
'authCode': DomainTransferDetailsAuthCodeDtoToJSON(value['authCode']),
|
|
219
219
|
'validations': ((value['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoToJSON)),
|
|
220
220
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
221
|
-
'workflow': (
|
|
221
|
+
'workflow': DomainTransferDetailsWorkflowDtoToJSON(value['workflow']),
|
|
222
222
|
'sellerPayoutInvoices': ((value['sellerPayoutInvoices'] as Array<any>).map(DomainTransferDetailSellerPayoutInvoiceDtoToJSON)),
|
|
223
223
|
};
|
|
224
224
|
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
import type { DomainTransferDetailWorkflowStepDto } from './DomainTransferDetailWorkflowStepDto';
|
|
17
|
+
import {
|
|
18
|
+
DomainTransferDetailWorkflowStepDtoFromJSON,
|
|
19
|
+
DomainTransferDetailWorkflowStepDtoFromJSONTyped,
|
|
20
|
+
DomainTransferDetailWorkflowStepDtoToJSON,
|
|
21
|
+
DomainTransferDetailWorkflowStepDtoToJSONTyped,
|
|
22
|
+
} from './DomainTransferDetailWorkflowStepDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainTransferDetailsWorkflowDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainTransferDetailsWorkflowDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainTransferDetailsWorkflowDto
|
|
34
|
+
*/
|
|
35
|
+
path: DomainTransferDetailsWorkflowDtoPathEnum | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<DomainTransferDetailWorkflowStepDto>}
|
|
39
|
+
* @memberof DomainTransferDetailsWorkflowDto
|
|
40
|
+
*/
|
|
41
|
+
steps: Array<DomainTransferDetailWorkflowStepDto>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainTransferDetailsWorkflowDtoPathEnum = {
|
|
49
|
+
DIRECT: 'direct',
|
|
50
|
+
INTERMEDIARY: 'intermediary'
|
|
51
|
+
} as const;
|
|
52
|
+
export type DomainTransferDetailsWorkflowDtoPathEnum = typeof DomainTransferDetailsWorkflowDtoPathEnum[keyof typeof DomainTransferDetailsWorkflowDtoPathEnum];
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the DomainTransferDetailsWorkflowDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfDomainTransferDetailsWorkflowDto(value: object): value is DomainTransferDetailsWorkflowDto {
|
|
59
|
+
if (!('path' in value) || value['path'] === undefined) return false;
|
|
60
|
+
if (!('steps' in value) || value['steps'] === undefined) return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function DomainTransferDetailsWorkflowDtoFromJSON(json: any): DomainTransferDetailsWorkflowDto {
|
|
65
|
+
return DomainTransferDetailsWorkflowDtoFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function DomainTransferDetailsWorkflowDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsWorkflowDto {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'path': json['path'],
|
|
75
|
+
'steps': ((json['steps'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoFromJSON)),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function DomainTransferDetailsWorkflowDtoToJSON(json: any): DomainTransferDetailsWorkflowDto {
|
|
80
|
+
return DomainTransferDetailsWorkflowDtoToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function DomainTransferDetailsWorkflowDtoToJSONTyped(value?: DomainTransferDetailsWorkflowDto | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'path': value['path'],
|
|
91
|
+
'steps': ((value['steps'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoToJSON)),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
DomainTransferOrderDtoToJSON,
|
|
28
28
|
DomainTransferOrderDtoToJSONTyped,
|
|
29
29
|
} from './DomainTransferOrderDto';
|
|
30
|
+
import type { DomainTransferWorkflowDto } from './DomainTransferWorkflowDto';
|
|
31
|
+
import {
|
|
32
|
+
DomainTransferWorkflowDtoFromJSON,
|
|
33
|
+
DomainTransferWorkflowDtoFromJSONTyped,
|
|
34
|
+
DomainTransferWorkflowDtoToJSON,
|
|
35
|
+
DomainTransferWorkflowDtoToJSONTyped,
|
|
36
|
+
} from './DomainTransferWorkflowDto';
|
|
30
37
|
import type { DomainTransferAgentDto } from './DomainTransferAgentDto';
|
|
31
38
|
import {
|
|
32
39
|
DomainTransferAgentDtoFromJSON,
|
|
@@ -83,6 +90,12 @@ export interface DomainTransferDto {
|
|
|
83
90
|
* @memberof DomainTransferDto
|
|
84
91
|
*/
|
|
85
92
|
createdAt: Date;
|
|
93
|
+
/**
|
|
94
|
+
* The domain transfer workflow path name
|
|
95
|
+
* @type {DomainTransferWorkflowDto}
|
|
96
|
+
* @memberof DomainTransferDto
|
|
97
|
+
*/
|
|
98
|
+
workflow: DomainTransferWorkflowDto;
|
|
86
99
|
}
|
|
87
100
|
|
|
88
101
|
|
|
@@ -122,6 +135,7 @@ export function instanceOfDomainTransferDto(value: object): value is DomainTrans
|
|
|
122
135
|
if (!('order' in value) || value['order'] === undefined) return false;
|
|
123
136
|
if (!('agent' in value) || value['agent'] === undefined) return false;
|
|
124
137
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
138
|
+
if (!('workflow' in value) || value['workflow'] === undefined) return false;
|
|
125
139
|
return true;
|
|
126
140
|
}
|
|
127
141
|
|
|
@@ -142,6 +156,7 @@ export function DomainTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
142
156
|
'order': DomainTransferOrderDtoFromJSON(json['order']),
|
|
143
157
|
'agent': DomainTransferAgentDtoFromJSON(json['agent']),
|
|
144
158
|
'createdAt': (new Date(json['createdAt'])),
|
|
159
|
+
'workflow': DomainTransferWorkflowDtoFromJSON(json['workflow']),
|
|
145
160
|
};
|
|
146
161
|
}
|
|
147
162
|
|
|
@@ -163,6 +178,7 @@ export function DomainTransferDtoToJSONTyped(value?: DomainTransferDto | null, i
|
|
|
163
178
|
'order': DomainTransferOrderDtoToJSON(value['order']),
|
|
164
179
|
'agent': DomainTransferAgentDtoToJSON(value['agent']),
|
|
165
180
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
181
|
+
'workflow': DomainTransferWorkflowDtoToJSON(value['workflow']),
|
|
166
182
|
};
|
|
167
183
|
}
|
|
168
184
|
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { DomainTransferOrderSellerAccountDto } from './DomainTransferOrderSellerAccountDto';
|
|
17
|
+
import {
|
|
18
|
+
DomainTransferOrderSellerAccountDtoFromJSON,
|
|
19
|
+
DomainTransferOrderSellerAccountDtoFromJSONTyped,
|
|
20
|
+
DomainTransferOrderSellerAccountDtoToJSON,
|
|
21
|
+
DomainTransferOrderSellerAccountDtoToJSONTyped,
|
|
22
|
+
} from './DomainTransferOrderSellerAccountDto';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -32,17 +40,11 @@ export interface DomainTransferOrderDto {
|
|
|
32
40
|
*/
|
|
33
41
|
email: string;
|
|
34
42
|
/**
|
|
35
|
-
* The order seller account
|
|
36
|
-
* @type {
|
|
37
|
-
* @memberof DomainTransferOrderDto
|
|
38
|
-
*/
|
|
39
|
-
sellerAccountId: object;
|
|
40
|
-
/**
|
|
41
|
-
* The order seller account identifier
|
|
42
|
-
* @type {object}
|
|
43
|
+
* The order seller account information
|
|
44
|
+
* @type {DomainTransferOrderSellerAccountDto}
|
|
43
45
|
* @memberof DomainTransferOrderDto
|
|
44
46
|
*/
|
|
45
|
-
|
|
47
|
+
sellerAccount: DomainTransferOrderSellerAccountDto;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
/**
|
|
@@ -51,8 +53,7 @@ export interface DomainTransferOrderDto {
|
|
|
51
53
|
export function instanceOfDomainTransferOrderDto(value: object): value is DomainTransferOrderDto {
|
|
52
54
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
55
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
54
|
-
if (!('
|
|
55
|
-
if (!('sellerAccountIdentifier' in value) || value['sellerAccountIdentifier'] === undefined) return false;
|
|
56
|
+
if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
|
|
56
57
|
return true;
|
|
57
58
|
}
|
|
58
59
|
|
|
@@ -68,8 +69,7 @@ export function DomainTransferOrderDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
68
69
|
|
|
69
70
|
'id': json['id'],
|
|
70
71
|
'email': json['email'],
|
|
71
|
-
'
|
|
72
|
-
'sellerAccountIdentifier': json['sellerAccountIdentifier'],
|
|
72
|
+
'sellerAccount': DomainTransferOrderSellerAccountDtoFromJSON(json['sellerAccount']),
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -86,8 +86,7 @@ export function DomainTransferOrderDtoToJSONTyped(value?: DomainTransferOrderDto
|
|
|
86
86
|
|
|
87
87
|
'id': value['id'],
|
|
88
88
|
'email': value['email'],
|
|
89
|
-
'
|
|
90
|
-
'sellerAccountIdentifier': value['sellerAccountIdentifier'],
|
|
89
|
+
'sellerAccount': DomainTransferOrderSellerAccountDtoToJSON(value['sellerAccount']),
|
|
91
90
|
};
|
|
92
91
|
}
|
|
93
92
|
|
|
@@ -0,0 +1,93 @@
|
|
|
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 DomainTransferOrderSellerAccountDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainTransferOrderSellerAccountDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof DomainTransferOrderSellerAccountDto
|
|
26
|
+
*/
|
|
27
|
+
id: object;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof DomainTransferOrderSellerAccountDto
|
|
32
|
+
*/
|
|
33
|
+
identifier: object;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof DomainTransferOrderSellerAccountDto
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof DomainTransferOrderSellerAccountDto
|
|
44
|
+
*/
|
|
45
|
+
isBusiness: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DomainTransferOrderSellerAccountDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfDomainTransferOrderSellerAccountDto(value: object): value is DomainTransferOrderSellerAccountDto {
|
|
52
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
54
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('isBusiness' in value) || value['isBusiness'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function DomainTransferOrderSellerAccountDtoFromJSON(json: any): DomainTransferOrderSellerAccountDto {
|
|
60
|
+
return DomainTransferOrderSellerAccountDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainTransferOrderSellerAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferOrderSellerAccountDto {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'id': json['id'],
|
|
70
|
+
'identifier': json['identifier'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'isBusiness': json['isBusiness'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function DomainTransferOrderSellerAccountDtoToJSON(json: any): DomainTransferOrderSellerAccountDto {
|
|
77
|
+
return DomainTransferOrderSellerAccountDtoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function DomainTransferOrderSellerAccountDtoToJSONTyped(value?: DomainTransferOrderSellerAccountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'id': value['id'],
|
|
88
|
+
'identifier': value['identifier'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'isBusiness': value['isBusiness'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
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 DomainTransferWorkflowDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainTransferWorkflowDto {
|
|
22
|
+
/**
|
|
23
|
+
* The order domain transfer agent ID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DomainTransferWorkflowDto
|
|
26
|
+
*/
|
|
27
|
+
path: DomainTransferWorkflowDtoPathEnum | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const DomainTransferWorkflowDtoPathEnum = {
|
|
35
|
+
DIRECT: 'direct',
|
|
36
|
+
INTERMEDIARY: 'intermediary'
|
|
37
|
+
} as const;
|
|
38
|
+
export type DomainTransferWorkflowDtoPathEnum = typeof DomainTransferWorkflowDtoPathEnum[keyof typeof DomainTransferWorkflowDtoPathEnum];
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the DomainTransferWorkflowDto interface.
|
|
43
|
+
*/
|
|
44
|
+
export function instanceOfDomainTransferWorkflowDto(value: object): value is DomainTransferWorkflowDto {
|
|
45
|
+
if (!('path' in value) || value['path'] === undefined) return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DomainTransferWorkflowDtoFromJSON(json: any): DomainTransferWorkflowDto {
|
|
50
|
+
return DomainTransferWorkflowDtoFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function DomainTransferWorkflowDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferWorkflowDto {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'path': json['path'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainTransferWorkflowDtoToJSON(json: any): DomainTransferWorkflowDto {
|
|
64
|
+
return DomainTransferWorkflowDtoToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainTransferWorkflowDtoToJSONTyped(value?: DomainTransferWorkflowDto | null, ignoreDiscriminator: boolean = false): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'path': value['path'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -67,6 +67,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
|
|
|
67
67
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
|
|
68
68
|
*/
|
|
69
69
|
identifier: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
|
|
74
|
+
*/
|
|
75
|
+
name: string;
|
|
70
76
|
/**
|
|
71
77
|
*
|
|
72
78
|
* @type {AccountMetricsDto}
|
|
@@ -105,6 +111,7 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
|
|
|
105
111
|
export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
|
|
106
112
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
107
113
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
114
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
108
115
|
if (!('metrics' in value) || value['metrics'] === undefined) return false;
|
|
109
116
|
if (!('paymentProvider' in value) || value['paymentProvider'] === undefined) return false;
|
|
110
117
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
@@ -125,6 +132,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSO
|
|
|
125
132
|
|
|
126
133
|
'id': json['id'],
|
|
127
134
|
'identifier': json['identifier'],
|
|
135
|
+
'name': json['name'],
|
|
128
136
|
'metrics': AccountMetricsDtoFromJSON(json['metrics']),
|
|
129
137
|
'paymentProvider': PaymentProviderDtoFromJSON(json['paymentProvider']),
|
|
130
138
|
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
@@ -146,6 +154,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONT
|
|
|
146
154
|
|
|
147
155
|
'id': value['id'],
|
|
148
156
|
'identifier': value['identifier'],
|
|
157
|
+
'name': value['name'],
|
|
149
158
|
'metrics': AccountMetricsDtoToJSON(value['metrics']),
|
|
150
159
|
'paymentProvider': PaymentProviderDtoToJSON(value['paymentProvider']),
|
|
151
160
|
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
package/src/models/InvoiceDto.ts
CHANGED
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
InvoiceDomainDtoToJSON,
|
|
21
21
|
InvoiceDomainDtoToJSONTyped,
|
|
22
22
|
} from './InvoiceDomainDto';
|
|
23
|
+
import type { InvoiceSellerAccountDto } from './InvoiceSellerAccountDto';
|
|
24
|
+
import {
|
|
25
|
+
InvoiceSellerAccountDtoFromJSON,
|
|
26
|
+
InvoiceSellerAccountDtoFromJSONTyped,
|
|
27
|
+
InvoiceSellerAccountDtoToJSON,
|
|
28
|
+
InvoiceSellerAccountDtoToJSONTyped,
|
|
29
|
+
} from './InvoiceSellerAccountDto';
|
|
23
30
|
import type { MoneyDto } from './MoneyDto';
|
|
24
31
|
import {
|
|
25
32
|
MoneyDtoFromJSON,
|
|
@@ -70,6 +77,18 @@ export interface InvoiceDto {
|
|
|
70
77
|
* @memberof InvoiceDto
|
|
71
78
|
*/
|
|
72
79
|
totalPrice: MoneyDto;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof InvoiceDto
|
|
84
|
+
*/
|
|
85
|
+
target: InvoiceDtoTargetEnum;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {InvoiceSellerAccountDto}
|
|
89
|
+
* @memberof InvoiceDto
|
|
90
|
+
*/
|
|
91
|
+
sellerAccount: InvoiceSellerAccountDto;
|
|
73
92
|
}
|
|
74
93
|
|
|
75
94
|
|
|
@@ -83,6 +102,15 @@ export const InvoiceDtoStatusEnum = {
|
|
|
83
102
|
} as const;
|
|
84
103
|
export type InvoiceDtoStatusEnum = typeof InvoiceDtoStatusEnum[keyof typeof InvoiceDtoStatusEnum];
|
|
85
104
|
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
*/
|
|
108
|
+
export const InvoiceDtoTargetEnum = {
|
|
109
|
+
SELLER: 'seller',
|
|
110
|
+
BUYER: 'buyer'
|
|
111
|
+
} as const;
|
|
112
|
+
export type InvoiceDtoTargetEnum = typeof InvoiceDtoTargetEnum[keyof typeof InvoiceDtoTargetEnum];
|
|
113
|
+
|
|
86
114
|
|
|
87
115
|
/**
|
|
88
116
|
* Check if a given object implements the InvoiceDto interface.
|
|
@@ -94,6 +122,8 @@ export function instanceOfInvoiceDto(value: object): value is InvoiceDto {
|
|
|
94
122
|
if (!('date' in value) || value['date'] === undefined) return false;
|
|
95
123
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
96
124
|
if (!('totalPrice' in value) || value['totalPrice'] === undefined) return false;
|
|
125
|
+
if (!('target' in value) || value['target'] === undefined) return false;
|
|
126
|
+
if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
|
|
97
127
|
return true;
|
|
98
128
|
}
|
|
99
129
|
|
|
@@ -113,6 +143,8 @@ export function InvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
113
143
|
'date': (json['date'] == null ? null : new Date(json['date'])),
|
|
114
144
|
'status': json['status'],
|
|
115
145
|
'totalPrice': MoneyDtoFromJSON(json['totalPrice']),
|
|
146
|
+
'target': json['target'],
|
|
147
|
+
'sellerAccount': InvoiceSellerAccountDtoFromJSON(json['sellerAccount']),
|
|
116
148
|
};
|
|
117
149
|
}
|
|
118
150
|
|
|
@@ -133,6 +165,8 @@ export function InvoiceDtoToJSONTyped(value?: InvoiceDto | null, ignoreDiscrimin
|
|
|
133
165
|
'date': (value['date'] == null ? null : (value['date'] as any).toISOString()),
|
|
134
166
|
'status': value['status'],
|
|
135
167
|
'totalPrice': MoneyDtoToJSON(value['totalPrice']),
|
|
168
|
+
'target': value['target'],
|
|
169
|
+
'sellerAccount': InvoiceSellerAccountDtoToJSON(value['sellerAccount']),
|
|
136
170
|
};
|
|
137
171
|
}
|
|
138
172
|
|
|
@@ -0,0 +1,93 @@
|
|
|
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 InvoiceSellerAccountDto
|
|
20
|
+
*/
|
|
21
|
+
export interface InvoiceSellerAccountDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof InvoiceSellerAccountDto
|
|
26
|
+
*/
|
|
27
|
+
id: object;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof InvoiceSellerAccountDto
|
|
32
|
+
*/
|
|
33
|
+
identifier: object;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof InvoiceSellerAccountDto
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof InvoiceSellerAccountDto
|
|
44
|
+
*/
|
|
45
|
+
isBusiness: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the InvoiceSellerAccountDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfInvoiceSellerAccountDto(value: object): value is InvoiceSellerAccountDto {
|
|
52
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
54
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('isBusiness' in value) || value['isBusiness'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function InvoiceSellerAccountDtoFromJSON(json: any): InvoiceSellerAccountDto {
|
|
60
|
+
return InvoiceSellerAccountDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function InvoiceSellerAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceSellerAccountDto {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'id': json['id'],
|
|
70
|
+
'identifier': json['identifier'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'isBusiness': json['isBusiness'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function InvoiceSellerAccountDtoToJSON(json: any): InvoiceSellerAccountDto {
|
|
77
|
+
return InvoiceSellerAccountDtoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function InvoiceSellerAccountDtoToJSONTyped(value?: InvoiceSellerAccountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'id': value['id'],
|
|
88
|
+
'identifier': value['identifier'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'isBusiness': value['isBusiness'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|