@randock/nameshift-api-client 0.0.178 → 0.0.180
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/apis/AdminApi.d.ts +11 -0
- package/dist/apis/AdminApi.js +51 -0
- 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/apis/AdminApi.ts +44 -0
- 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
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
|
+
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ListAccountMetricsDto } from './ListAccountMetricsDto';
|
|
17
|
+
import {
|
|
18
|
+
ListAccountMetricsDtoFromJSON,
|
|
19
|
+
ListAccountMetricsDtoFromJSONTyped,
|
|
20
|
+
ListAccountMetricsDtoToJSON,
|
|
21
|
+
ListAccountMetricsDtoToJSONTyped,
|
|
22
|
+
} from './ListAccountMetricsDto';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -25,6 +33,12 @@ export interface ListAccountDto {
|
|
|
25
33
|
* @memberof ListAccountDto
|
|
26
34
|
*/
|
|
27
35
|
id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListAccountDto
|
|
40
|
+
*/
|
|
41
|
+
identifier: string;
|
|
28
42
|
/**
|
|
29
43
|
*
|
|
30
44
|
* @type {Date}
|
|
@@ -43,6 +57,18 @@ export interface ListAccountDto {
|
|
|
43
57
|
* @memberof ListAccountDto
|
|
44
58
|
*/
|
|
45
59
|
type: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {ListAccountMetricsDto}
|
|
63
|
+
* @memberof ListAccountDto
|
|
64
|
+
*/
|
|
65
|
+
metrics: ListAccountMetricsDto;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof ListAccountDto
|
|
70
|
+
*/
|
|
71
|
+
lastOnline: Date;
|
|
46
72
|
}
|
|
47
73
|
|
|
48
74
|
/**
|
|
@@ -50,9 +76,12 @@ export interface ListAccountDto {
|
|
|
50
76
|
*/
|
|
51
77
|
export function instanceOfListAccountDto(value: object): value is ListAccountDto {
|
|
52
78
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
79
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
53
80
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
54
81
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
82
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
83
|
+
if (!('metrics' in value) || value['metrics'] === undefined) return false;
|
|
84
|
+
if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
|
|
56
85
|
return true;
|
|
57
86
|
}
|
|
58
87
|
|
|
@@ -67,9 +96,12 @@ export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
67
96
|
return {
|
|
68
97
|
|
|
69
98
|
'id': json['id'],
|
|
99
|
+
'identifier': json['identifier'],
|
|
70
100
|
'createdAt': (new Date(json['createdAt'])),
|
|
71
101
|
'name': json['name'],
|
|
72
102
|
'type': json['type'],
|
|
103
|
+
'metrics': ListAccountMetricsDtoFromJSON(json['metrics']),
|
|
104
|
+
'lastOnline': (new Date(json['lastOnline'])),
|
|
73
105
|
};
|
|
74
106
|
}
|
|
75
107
|
|
|
@@ -85,9 +117,12 @@ export function ListAccountDtoToJSONTyped(value?: ListAccountDto | null, ignoreD
|
|
|
85
117
|
return {
|
|
86
118
|
|
|
87
119
|
'id': value['id'],
|
|
120
|
+
'identifier': value['identifier'],
|
|
88
121
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
89
122
|
'name': value['name'],
|
|
90
123
|
'type': value['type'],
|
|
124
|
+
'metrics': ListAccountMetricsDtoToJSON(value['metrics']),
|
|
125
|
+
'lastOnline': ((value['lastOnline']).toISOString()),
|
|
91
126
|
};
|
|
92
127
|
}
|
|
93
128
|
|
|
@@ -0,0 +1,102 @@
|
|
|
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 ListAccountMetricsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ListAccountMetricsDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ListAccountMetricsDto
|
|
26
|
+
*/
|
|
27
|
+
leadsNumber: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ListAccountMetricsDto
|
|
32
|
+
*/
|
|
33
|
+
domainsNumber: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ListAccountMetricsDto
|
|
38
|
+
*/
|
|
39
|
+
activeLeadsNumber: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ListAccountMetricsDto
|
|
44
|
+
*/
|
|
45
|
+
activeDomainTransfersNumber: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ListAccountMetricsDto
|
|
50
|
+
*/
|
|
51
|
+
tasksNumber: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ListAccountMetricsDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfListAccountMetricsDto(value: object): value is ListAccountMetricsDto {
|
|
58
|
+
if (!('leadsNumber' in value) || value['leadsNumber'] === undefined) return false;
|
|
59
|
+
if (!('domainsNumber' in value) || value['domainsNumber'] === undefined) return false;
|
|
60
|
+
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
|
|
61
|
+
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
|
|
62
|
+
if (!('tasksNumber' in value) || value['tasksNumber'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ListAccountMetricsDtoFromJSON(json: any): ListAccountMetricsDto {
|
|
67
|
+
return ListAccountMetricsDtoFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ListAccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountMetricsDto {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'leadsNumber': json['leadsNumber'],
|
|
77
|
+
'domainsNumber': json['domainsNumber'],
|
|
78
|
+
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
79
|
+
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
80
|
+
'tasksNumber': json['tasksNumber'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function ListAccountMetricsDtoToJSON(json: any): ListAccountMetricsDto {
|
|
85
|
+
return ListAccountMetricsDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function ListAccountMetricsDtoToJSONTyped(value?: ListAccountMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'leadsNumber': value['leadsNumber'],
|
|
96
|
+
'domainsNumber': value['domainsNumber'],
|
|
97
|
+
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
98
|
+
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
99
|
+
'tasksNumber': value['tasksNumber'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { IntersectionDomainDtoWithAccountDto } from './IntersectionDomainDtoWithAccountDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
IntersectionDomainDtoWithAccountDtoFromJSON,
|
|
26
|
+
IntersectionDomainDtoWithAccountDtoFromJSONTyped,
|
|
27
|
+
IntersectionDomainDtoWithAccountDtoToJSON,
|
|
28
|
+
IntersectionDomainDtoWithAccountDtoToJSONTyped,
|
|
29
|
+
} from './IntersectionDomainDtoWithAccountDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface ListDomains200Response {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<IntersectionDomainDtoWithAccountDto>}
|
|
47
47
|
* @memberof ListDomains200Response
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<IntersectionDomainDtoWithAccountDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function ListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithAccountDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function ListDomains200ResponseToJSONTyped(value?: ListDomains200Response
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithAccountDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
|
@@ -31,6 +31,18 @@ export interface OrderListItemDtoSellerAccount {
|
|
|
31
31
|
* @memberof OrderListItemDtoSellerAccount
|
|
32
32
|
*/
|
|
33
33
|
identifier: string;
|
|
34
|
+
/**
|
|
35
|
+
* The order seller account name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof OrderListItemDtoSellerAccount
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates if order seller account is a business or not
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof OrderListItemDtoSellerAccount
|
|
44
|
+
*/
|
|
45
|
+
isBusiness: boolean | null;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
/**
|
|
@@ -39,6 +51,8 @@ export interface OrderListItemDtoSellerAccount {
|
|
|
39
51
|
export function instanceOfOrderListItemDtoSellerAccount(value: object): value is OrderListItemDtoSellerAccount {
|
|
40
52
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
41
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;
|
|
42
56
|
return true;
|
|
43
57
|
}
|
|
44
58
|
|
|
@@ -54,6 +68,8 @@ export function OrderListItemDtoSellerAccountFromJSONTyped(json: any, ignoreDisc
|
|
|
54
68
|
|
|
55
69
|
'accountId': json['accountId'],
|
|
56
70
|
'identifier': json['identifier'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'isBusiness': json['isBusiness'],
|
|
57
73
|
};
|
|
58
74
|
}
|
|
59
75
|
|
|
@@ -70,6 +86,8 @@ export function OrderListItemDtoSellerAccountToJSONTyped(value?: OrderListItemDt
|
|
|
70
86
|
|
|
71
87
|
'accountId': value['accountId'],
|
|
72
88
|
'identifier': value['identifier'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'isBusiness': value['isBusiness'],
|
|
73
91
|
};
|
|
74
92
|
}
|
|
75
93
|
|
package/src/models/index.ts
CHANGED
|
@@ -52,9 +52,12 @@ export * from './DomainTransferDetailsOrderDto';
|
|
|
52
52
|
export * from './DomainTransferDetailsOrderSellerDto';
|
|
53
53
|
export * from './DomainTransferDetailsOrderSellerUserDto';
|
|
54
54
|
export * from './DomainTransferDetailsValidationDto';
|
|
55
|
+
export * from './DomainTransferDetailsWorkflowDto';
|
|
55
56
|
export * from './DomainTransferDomainDto';
|
|
56
57
|
export * from './DomainTransferDto';
|
|
57
58
|
export * from './DomainTransferOrderDto';
|
|
59
|
+
export * from './DomainTransferOrderSellerAccountDto';
|
|
60
|
+
export * from './DomainTransferWorkflowDto';
|
|
58
61
|
export * from './DomainUrlDto';
|
|
59
62
|
export * from './ForgotPasswordRequestInput';
|
|
60
63
|
export * from './GetAllDomainTransfers200Response';
|
|
@@ -66,7 +69,6 @@ export * from './GetBuyerTransfers200Response';
|
|
|
66
69
|
export * from './HttpException';
|
|
67
70
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
|
|
68
71
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
69
|
-
export * from './IntersectionDomainDtoWithAccountNameDto';
|
|
70
72
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
71
73
|
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|
|
72
74
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
@@ -76,6 +78,7 @@ export * from './InvoiceDomainDto';
|
|
|
76
78
|
export * from './InvoiceDto';
|
|
77
79
|
export * from './InvoiceItemDto';
|
|
78
80
|
export * from './InvoiceItemTaxDto';
|
|
81
|
+
export * from './InvoiceSellerAccountDto';
|
|
79
82
|
export * from './InvoiceTransactionDto';
|
|
80
83
|
export * from './LeadDomainDto';
|
|
81
84
|
export * from './LeadDto';
|
|
@@ -87,6 +90,7 @@ export * from './List200Response1';
|
|
|
87
90
|
export * from './List200Response2';
|
|
88
91
|
export * from './List200Response3';
|
|
89
92
|
export * from './ListAccountDto';
|
|
93
|
+
export * from './ListAccountMetricsDto';
|
|
90
94
|
export * from './ListAccounts200Response';
|
|
91
95
|
export * from './ListDomains200Response';
|
|
92
96
|
export * from './ListLeadMessagesDto';
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nameshift
|
|
3
|
-
* Nameshift API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { MoneyDto } from './MoneyDto';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IntersectionDomainDtoWithAccountNameDto
|
|
17
|
-
*/
|
|
18
|
-
export interface IntersectionDomainDtoWithAccountNameDto {
|
|
19
|
-
/**
|
|
20
|
-
* The uuid for this domain.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* The current owner for the domain
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
29
|
-
*/
|
|
30
|
-
accountId: string;
|
|
31
|
-
/**
|
|
32
|
-
* The hijacker for the domain
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
35
|
-
*/
|
|
36
|
-
hijackerId: string | null;
|
|
37
|
-
/**
|
|
38
|
-
* The TLD for this domain.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
41
|
-
*/
|
|
42
|
-
tld: string;
|
|
43
|
-
/**
|
|
44
|
-
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
45
|
-
* @type {boolean}
|
|
46
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
47
|
-
*/
|
|
48
|
-
verified: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Whether the nameservers (ns1,ns2) are set or not.
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
53
|
-
*/
|
|
54
|
-
nameservers: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
59
|
-
*/
|
|
60
|
-
name: string;
|
|
61
|
-
/**
|
|
62
|
-
* The unicode domain name (example.com, mañana.com)
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
65
|
-
*/
|
|
66
|
-
displayName: string;
|
|
67
|
-
/**
|
|
68
|
-
* /**
|
|
69
|
-
* The domain's currency code (ISO 4217)
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
72
|
-
*/
|
|
73
|
-
currencyCode: string;
|
|
74
|
-
/**
|
|
75
|
-
* The BIN
|
|
76
|
-
* @type {MoneyDto}
|
|
77
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
78
|
-
*/
|
|
79
|
-
buyNow: MoneyDto;
|
|
80
|
-
/**
|
|
81
|
-
* The minimum offer
|
|
82
|
-
* @type {MoneyDto}
|
|
83
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
84
|
-
*/
|
|
85
|
-
minOffer: MoneyDto;
|
|
86
|
-
/**
|
|
87
|
-
* The creation date
|
|
88
|
-
* @type {Date}
|
|
89
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
90
|
-
*/
|
|
91
|
-
createdAt: Date;
|
|
92
|
-
/**
|
|
93
|
-
* The deletion date
|
|
94
|
-
* @type {Date}
|
|
95
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
96
|
-
*/
|
|
97
|
-
deletedAt: Date | null;
|
|
98
|
-
/**
|
|
99
|
-
* The amount of pageviews for this domain, or null if none are tracked.
|
|
100
|
-
* @type {number}
|
|
101
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
102
|
-
*/
|
|
103
|
-
pageviews: number;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
108
|
-
*/
|
|
109
|
-
accountName: string | null;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
|
|
113
|
-
*/
|
|
114
|
-
export declare function instanceOfIntersectionDomainDtoWithAccountNameDto(value: object): value is IntersectionDomainDtoWithAccountNameDto;
|
|
115
|
-
export declare function IntersectionDomainDtoWithAccountNameDtoFromJSON(json: any): IntersectionDomainDtoWithAccountNameDto;
|
|
116
|
-
export declare function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithAccountNameDto;
|
|
117
|
-
export declare function IntersectionDomainDtoWithAccountNameDtoToJSON(json: any): IntersectionDomainDtoWithAccountNameDto;
|
|
118
|
-
export declare function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value?: IntersectionDomainDtoWithAccountNameDto | null, ignoreDiscriminator?: boolean): any;
|