@randock/nameshift-api-client 0.0.63 → 0.0.65
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 +7 -2
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +12 -1
- package/dist/apis/BuyersApi.js +53 -0
- package/dist/apis/DomainsPublicApi.d.ts +1 -13
- package/dist/apis/DomainsPublicApi.js +0 -49
- package/dist/apis/LeadsApi.d.ts +2 -2
- package/dist/apis/LeadsApi.js +3 -3
- package/dist/apis/LeadsPublicApi.d.ts +13 -1
- package/dist/apis/LeadsPublicApi.js +47 -0
- package/dist/apis/OrdersPublicApi.d.ts +52 -0
- package/dist/apis/OrdersPublicApi.js +217 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BuyerDomainTransferAuthCodeDto.d.ts +31 -0
- package/dist/models/BuyerDomainTransferAuthCodeDto.js +47 -0
- package/dist/models/CreateLeadInput.d.ts +6 -6
- package/dist/models/CreateLeadInput.js +4 -4
- package/dist/models/{BuyDomainInput.d.ts → CreateOrderInput.d.ts} +30 -24
- package/dist/models/{BuyDomainInput.js → CreateOrderInput.js} +19 -15
- package/dist/models/OrderDto.d.ts +118 -0
- package/dist/models/OrderDto.js +107 -0
- package/dist/models/PublicLeadDto.d.ts +6 -0
- package/dist/models/PublicLeadDto.js +4 -0
- package/dist/models/PutLeadOfferInput.d.ts +32 -0
- package/dist/models/{PutLeadInput.js → PutLeadOfferInput.js} +11 -11
- package/dist/models/UpdateLeadInput.d.ts +77 -0
- package/dist/models/UpdateLeadInput.js +80 -0
- package/dist/models/UpdateOrderInput.d.ts +85 -0
- package/dist/models/UpdateOrderInput.js +83 -0
- package/dist/models/index.d.ts +6 -2
- package/dist/models/index.js +6 -2
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +51 -0
- package/src/apis/DomainsPublicApi.ts +0 -54
- package/src/apis/LeadsApi.ts +8 -8
- package/src/apis/LeadsPublicApi.ts +50 -0
- package/src/apis/OrdersPublicApi.ts +172 -0
- package/src/apis/index.ts +1 -0
- package/src/models/BuyerDomainTransferAuthCodeDto.ts +61 -0
- package/src/models/CreateLeadInput.ts +9 -9
- package/src/models/{BuyDomainInput.ts → CreateOrderInput.ts} +37 -28
- package/src/models/OrderDto.ts +196 -0
- package/src/models/PublicLeadDto.ts +9 -0
- package/src/models/{PutLeadInput.ts → PutLeadOfferInput.ts} +9 -9
- package/src/models/UpdateLeadInput.ts +134 -0
- package/src/models/UpdateOrderInput.ts +142 -0
- package/src/models/index.ts +6 -2
- package/dist/models/PutLeadInput.d.ts +0 -32
|
@@ -0,0 +1,196 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
} from './MoneyDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface OrderDto
|
|
27
|
+
*/
|
|
28
|
+
export interface OrderDto {
|
|
29
|
+
/**
|
|
30
|
+
* The uuid for this order.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OrderDto
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof OrderDto
|
|
39
|
+
*/
|
|
40
|
+
status: OrderDtoStatusEnum;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {MoneyDto}
|
|
44
|
+
* @memberof OrderDto
|
|
45
|
+
*/
|
|
46
|
+
basePrice: MoneyDto;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof OrderDto
|
|
51
|
+
*/
|
|
52
|
+
firstname: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OrderDto
|
|
57
|
+
*/
|
|
58
|
+
lastname: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof OrderDto
|
|
63
|
+
*/
|
|
64
|
+
email: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof OrderDto
|
|
69
|
+
*/
|
|
70
|
+
phone: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof OrderDto
|
|
75
|
+
*/
|
|
76
|
+
country: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof OrderDto
|
|
81
|
+
*/
|
|
82
|
+
city: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof OrderDto
|
|
87
|
+
*/
|
|
88
|
+
postalCode: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof OrderDto
|
|
93
|
+
*/
|
|
94
|
+
address: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof OrderDto
|
|
99
|
+
*/
|
|
100
|
+
locale: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof OrderDto
|
|
105
|
+
*/
|
|
106
|
+
companyName: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof OrderDto
|
|
111
|
+
*/
|
|
112
|
+
companyVatNumber: string | null;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
export const OrderDtoStatusEnum = {
|
|
120
|
+
OPEN: 'open',
|
|
121
|
+
PAID: 'paid'
|
|
122
|
+
} as const;
|
|
123
|
+
export type OrderDtoStatusEnum = typeof OrderDtoStatusEnum[keyof typeof OrderDtoStatusEnum];
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Check if a given object implements the OrderDto interface.
|
|
128
|
+
*/
|
|
129
|
+
export function instanceOfOrderDto(value: object): value is OrderDto {
|
|
130
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
131
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
132
|
+
if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
|
|
133
|
+
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
134
|
+
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
135
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
136
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
137
|
+
if (!('country' in value) || value['country'] === undefined) return false;
|
|
138
|
+
if (!('city' in value) || value['city'] === undefined) return false;
|
|
139
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined) return false;
|
|
140
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
141
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
142
|
+
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
143
|
+
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
144
|
+
return true;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function OrderDtoFromJSON(json: any): OrderDto {
|
|
148
|
+
return OrderDtoFromJSONTyped(json, false);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function OrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderDto {
|
|
152
|
+
if (json == null) {
|
|
153
|
+
return json;
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
|
|
157
|
+
'id': json['id'],
|
|
158
|
+
'status': json['status'],
|
|
159
|
+
'basePrice': MoneyDtoFromJSON(json['basePrice']),
|
|
160
|
+
'firstname': json['firstname'],
|
|
161
|
+
'lastname': json['lastname'],
|
|
162
|
+
'email': json['email'],
|
|
163
|
+
'phone': json['phone'],
|
|
164
|
+
'country': json['country'],
|
|
165
|
+
'city': json['city'],
|
|
166
|
+
'postalCode': json['postalCode'],
|
|
167
|
+
'address': json['address'],
|
|
168
|
+
'locale': json['locale'],
|
|
169
|
+
'companyName': json['companyName'],
|
|
170
|
+
'companyVatNumber': json['companyVatNumber'],
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function OrderDtoToJSON(value?: OrderDto | null): any {
|
|
175
|
+
if (value == null) {
|
|
176
|
+
return value;
|
|
177
|
+
}
|
|
178
|
+
return {
|
|
179
|
+
|
|
180
|
+
'id': value['id'],
|
|
181
|
+
'status': value['status'],
|
|
182
|
+
'basePrice': MoneyDtoToJSON(value['basePrice']),
|
|
183
|
+
'firstname': value['firstname'],
|
|
184
|
+
'lastname': value['lastname'],
|
|
185
|
+
'email': value['email'],
|
|
186
|
+
'phone': value['phone'],
|
|
187
|
+
'country': value['country'],
|
|
188
|
+
'city': value['city'],
|
|
189
|
+
'postalCode': value['postalCode'],
|
|
190
|
+
'address': value['address'],
|
|
191
|
+
'locale': value['locale'],
|
|
192
|
+
'companyName': value['companyName'],
|
|
193
|
+
'companyVatNumber': value['companyVatNumber'],
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
@@ -56,6 +56,12 @@ export interface PublicLeadDto {
|
|
|
56
56
|
* @memberof PublicLeadDto
|
|
57
57
|
*/
|
|
58
58
|
buyer: PublicLeadBuyerDto;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PublicLeadDto
|
|
63
|
+
*/
|
|
64
|
+
domainName: string;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
|
|
@@ -81,6 +87,7 @@ export function instanceOfPublicLeadDto(value: object): value is PublicLeadDto {
|
|
|
81
87
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
82
88
|
if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
|
|
83
89
|
if (!('buyer' in value) || value['buyer'] === undefined) return false;
|
|
90
|
+
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
84
91
|
return true;
|
|
85
92
|
}
|
|
86
93
|
|
|
@@ -98,6 +105,7 @@ export function PublicLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
98
105
|
'status': json['status'],
|
|
99
106
|
'lastOffer': PublicLeadDtoLastOfferFromJSON(json['lastOffer']),
|
|
100
107
|
'buyer': PublicLeadBuyerDtoFromJSON(json['buyer']),
|
|
108
|
+
'domainName': json['domainName'],
|
|
101
109
|
};
|
|
102
110
|
}
|
|
103
111
|
|
|
@@ -111,6 +119,7 @@ export function PublicLeadDtoToJSON(value?: PublicLeadDto | null): any {
|
|
|
111
119
|
'status': value['status'],
|
|
112
120
|
'lastOffer': PublicLeadDtoLastOfferToJSON(value['lastOffer']),
|
|
113
121
|
'buyer': PublicLeadBuyerDtoToJSON(value['buyer']),
|
|
122
|
+
'domainName': value['domainName'],
|
|
114
123
|
};
|
|
115
124
|
}
|
|
116
125
|
|
|
@@ -23,30 +23,30 @@ import {
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @export
|
|
26
|
-
* @interface
|
|
26
|
+
* @interface PutLeadOfferInput
|
|
27
27
|
*/
|
|
28
|
-
export interface
|
|
28
|
+
export interface PutLeadOfferInput {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @type {MoneyDto}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof PutLeadOfferInput
|
|
33
33
|
*/
|
|
34
34
|
offer: MoneyDto | null;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Check if a given object implements the
|
|
38
|
+
* Check if a given object implements the PutLeadOfferInput interface.
|
|
39
39
|
*/
|
|
40
|
-
export function
|
|
40
|
+
export function instanceOfPutLeadOfferInput(value: object): value is PutLeadOfferInput {
|
|
41
41
|
if (!('offer' in value) || value['offer'] === undefined) return false;
|
|
42
42
|
return true;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export function
|
|
46
|
-
return
|
|
45
|
+
export function PutLeadOfferInputFromJSON(json: any): PutLeadOfferInput {
|
|
46
|
+
return PutLeadOfferInputFromJSONTyped(json, false);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export function
|
|
49
|
+
export function PutLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLeadOfferInput {
|
|
50
50
|
if (json == null) {
|
|
51
51
|
return json;
|
|
52
52
|
}
|
|
@@ -56,7 +56,7 @@ export function PutLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export function
|
|
59
|
+
export function PutLeadOfferInputToJSON(value?: PutLeadOfferInput | null): any {
|
|
60
60
|
if (value == null) {
|
|
61
61
|
return value;
|
|
62
62
|
}
|
|
@@ -0,0 +1,134 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
} from './MoneyDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface UpdateLeadInput
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdateLeadInput {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateLeadInput
|
|
33
|
+
*/
|
|
34
|
+
firstname: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateLeadInput
|
|
39
|
+
*/
|
|
40
|
+
lastname: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateLeadInput
|
|
45
|
+
*/
|
|
46
|
+
email: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateLeadInput
|
|
51
|
+
*/
|
|
52
|
+
phone: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateLeadInput
|
|
57
|
+
*/
|
|
58
|
+
companyName: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {MoneyDto}
|
|
62
|
+
* @memberof UpdateLeadInput
|
|
63
|
+
*/
|
|
64
|
+
offer: MoneyDto;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateLeadInput
|
|
69
|
+
*/
|
|
70
|
+
offeredBy: UpdateLeadInputOfferedByEnum;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export const UpdateLeadInputOfferedByEnum = {
|
|
78
|
+
BUYER: 'buyer',
|
|
79
|
+
SELLER: 'seller',
|
|
80
|
+
ADMIN: 'admin'
|
|
81
|
+
} as const;
|
|
82
|
+
export type UpdateLeadInputOfferedByEnum = typeof UpdateLeadInputOfferedByEnum[keyof typeof UpdateLeadInputOfferedByEnum];
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the UpdateLeadInput interface.
|
|
87
|
+
*/
|
|
88
|
+
export function instanceOfUpdateLeadInput(value: object): value is UpdateLeadInput {
|
|
89
|
+
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
90
|
+
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
91
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
92
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
93
|
+
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
94
|
+
if (!('offer' in value) || value['offer'] === undefined) return false;
|
|
95
|
+
if (!('offeredBy' in value) || value['offeredBy'] === undefined) return false;
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function UpdateLeadInputFromJSON(json: any): UpdateLeadInput {
|
|
100
|
+
return UpdateLeadInputFromJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function UpdateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLeadInput {
|
|
104
|
+
if (json == null) {
|
|
105
|
+
return json;
|
|
106
|
+
}
|
|
107
|
+
return {
|
|
108
|
+
|
|
109
|
+
'firstname': json['firstname'],
|
|
110
|
+
'lastname': json['lastname'],
|
|
111
|
+
'email': json['email'],
|
|
112
|
+
'phone': json['phone'],
|
|
113
|
+
'companyName': json['companyName'],
|
|
114
|
+
'offer': MoneyDtoFromJSON(json['offer']),
|
|
115
|
+
'offeredBy': json['offeredBy'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function UpdateLeadInputToJSON(value?: UpdateLeadInput | null): any {
|
|
120
|
+
if (value == null) {
|
|
121
|
+
return value;
|
|
122
|
+
}
|
|
123
|
+
return {
|
|
124
|
+
|
|
125
|
+
'firstname': value['firstname'],
|
|
126
|
+
'lastname': value['lastname'],
|
|
127
|
+
'email': value['email'],
|
|
128
|
+
'phone': value['phone'],
|
|
129
|
+
'companyName': value['companyName'],
|
|
130
|
+
'offer': MoneyDtoToJSON(value['offer']),
|
|
131
|
+
'offeredBy': value['offeredBy'],
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
|
|
@@ -0,0 +1,142 @@
|
|
|
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 UpdateOrderInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateOrderInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateOrderInput
|
|
26
|
+
*/
|
|
27
|
+
companyName: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateOrderInput
|
|
32
|
+
*/
|
|
33
|
+
companyVatNumber: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateOrderInput
|
|
38
|
+
*/
|
|
39
|
+
firstname: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateOrderInput
|
|
44
|
+
*/
|
|
45
|
+
lastname: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateOrderInput
|
|
50
|
+
*/
|
|
51
|
+
email: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateOrderInput
|
|
56
|
+
*/
|
|
57
|
+
phone: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UpdateOrderInput
|
|
62
|
+
*/
|
|
63
|
+
country: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UpdateOrderInput
|
|
68
|
+
*/
|
|
69
|
+
city: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof UpdateOrderInput
|
|
74
|
+
*/
|
|
75
|
+
postalCode: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof UpdateOrderInput
|
|
80
|
+
*/
|
|
81
|
+
address: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the UpdateOrderInput interface.
|
|
86
|
+
*/
|
|
87
|
+
export function instanceOfUpdateOrderInput(value: object): value is UpdateOrderInput {
|
|
88
|
+
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
89
|
+
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
90
|
+
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
91
|
+
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
92
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
93
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
94
|
+
if (!('country' in value) || value['country'] === undefined) return false;
|
|
95
|
+
if (!('city' in value) || value['city'] === undefined) return false;
|
|
96
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined) return false;
|
|
97
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function UpdateOrderInputFromJSON(json: any): UpdateOrderInput {
|
|
102
|
+
return UpdateOrderInputFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function UpdateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrderInput {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'companyName': json['companyName'],
|
|
112
|
+
'companyVatNumber': json['companyVatNumber'],
|
|
113
|
+
'firstname': json['firstname'],
|
|
114
|
+
'lastname': json['lastname'],
|
|
115
|
+
'email': json['email'],
|
|
116
|
+
'phone': json['phone'],
|
|
117
|
+
'country': json['country'],
|
|
118
|
+
'city': json['city'],
|
|
119
|
+
'postalCode': json['postalCode'],
|
|
120
|
+
'address': json['address'],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function UpdateOrderInputToJSON(value?: UpdateOrderInput | null): any {
|
|
125
|
+
if (value == null) {
|
|
126
|
+
return value;
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
|
|
130
|
+
'companyName': value['companyName'],
|
|
131
|
+
'companyVatNumber': value['companyVatNumber'],
|
|
132
|
+
'firstname': value['firstname'],
|
|
133
|
+
'lastname': value['lastname'],
|
|
134
|
+
'email': value['email'],
|
|
135
|
+
'phone': value['phone'],
|
|
136
|
+
'country': value['country'],
|
|
137
|
+
'city': value['city'],
|
|
138
|
+
'postalCode': value['postalCode'],
|
|
139
|
+
'address': value['address'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -7,7 +7,7 @@ export * from './AccountFinancialInput';
|
|
|
7
7
|
export * from './AccountSettingsInput';
|
|
8
8
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
9
9
|
export * from './BatchUpdateDomainsInput';
|
|
10
|
-
export * from './
|
|
10
|
+
export * from './BuyerDomainTransferAuthCodeDto';
|
|
11
11
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
12
12
|
export * from './BuyerDomainTransferListItemDto';
|
|
13
13
|
export * from './BuyerUserDto';
|
|
@@ -15,6 +15,7 @@ export * from './ChangeOrderStatusInput';
|
|
|
15
15
|
export * from './ConflictException';
|
|
16
16
|
export * from './CreateLeadInput';
|
|
17
17
|
export * from './CreateLeadMessageInput';
|
|
18
|
+
export * from './CreateOrderInput';
|
|
18
19
|
export * from './DashboardStatsDto';
|
|
19
20
|
export * from './DeleteDomainsInput';
|
|
20
21
|
export * from './DomainDto';
|
|
@@ -53,13 +54,14 @@ export * from './MoneyDto';
|
|
|
53
54
|
export * from './MoneyInput';
|
|
54
55
|
export * from './NotFoundException';
|
|
55
56
|
export * from './ObjectId';
|
|
57
|
+
export * from './OrderDto';
|
|
56
58
|
export * from './PaginateResponse';
|
|
57
59
|
export * from './PaginateResponseLinks';
|
|
58
60
|
export * from './PaginateResponseMeta';
|
|
59
61
|
export * from './PublicLeadBuyerDto';
|
|
60
62
|
export * from './PublicLeadDto';
|
|
61
63
|
export * from './PublicLeadDtoLastOffer';
|
|
62
|
-
export * from './
|
|
64
|
+
export * from './PutLeadOfferInput';
|
|
63
65
|
export * from './RegisterAccountInput';
|
|
64
66
|
export * from './RelatedSellerDomain';
|
|
65
67
|
export * from './RequestAccessTokenInput';
|
|
@@ -76,6 +78,8 @@ export * from './StoreUserLocaleInput';
|
|
|
76
78
|
export * from './ThrottlerException';
|
|
77
79
|
export * from './UpdateDomainInput';
|
|
78
80
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
81
|
+
export * from './UpdateLeadInput';
|
|
82
|
+
export * from './UpdateOrderInput';
|
|
79
83
|
export * from './UserPasswordResetDto';
|
|
80
84
|
export * from './ValidationError';
|
|
81
85
|
export * from './ValidationException';
|
|
@@ -1,32 +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 PutLeadInput
|
|
17
|
-
*/
|
|
18
|
-
export interface PutLeadInput {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {MoneyDto}
|
|
22
|
-
* @memberof PutLeadInput
|
|
23
|
-
*/
|
|
24
|
-
offer: MoneyDto | null;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the PutLeadInput interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfPutLeadInput(value: object): value is PutLeadInput;
|
|
30
|
-
export declare function PutLeadInputFromJSON(json: any): PutLeadInput;
|
|
31
|
-
export declare function PutLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLeadInput;
|
|
32
|
-
export declare function PutLeadInputToJSON(value?: PutLeadInput | null): any;
|