@randock/nameshift-api-client 0.0.65 → 0.0.66
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 +6 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +15 -1
- package/dist/apis/AdminApi.js +63 -0
- package/dist/models/GetAllOrders200Response.d.ts +46 -0
- package/dist/models/GetAllOrders200Response.js +58 -0
- package/dist/models/OrderListItemDto.d.ts +79 -0
- package/dist/models/OrderListItemDto.js +82 -0
- package/dist/models/OrderListItemDtoBasePrice.d.ts +37 -0
- package/dist/models/OrderListItemDtoBasePrice.js +51 -0
- package/dist/models/OrderListItemDtoBuyerInformation.d.ts +85 -0
- package/dist/models/OrderListItemDtoBuyerInformation.js +83 -0
- package/dist/models/OrderListItemDtoDomainInformation.d.ts +37 -0
- package/dist/models/OrderListItemDtoDomainInformation.js +51 -0
- package/dist/models/OrderListItemDtoSellerAccount.d.ts +37 -0
- package/dist/models/OrderListItemDtoSellerAccount.js +51 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +60 -0
- package/src/models/GetAllOrders200Response.ts +98 -0
- package/src/models/OrderListItemDto.ts +151 -0
- package/src/models/OrderListItemDtoBasePrice.ts +70 -0
- package/src/models/OrderListItemDtoBuyerInformation.ts +142 -0
- package/src/models/OrderListItemDtoDomainInformation.ts +70 -0
- package/src/models/OrderListItemDtoSellerAccount.ts +70 -0
- package/src/models/index.ts +6 -0
|
@@ -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 OrderListItemDtoBuyerInformation
|
|
20
|
+
*/
|
|
21
|
+
export interface OrderListItemDtoBuyerInformation {
|
|
22
|
+
/**
|
|
23
|
+
* The order buyer first name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
26
|
+
*/
|
|
27
|
+
firstname: string;
|
|
28
|
+
/**
|
|
29
|
+
* The order buyer last name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
32
|
+
*/
|
|
33
|
+
lastname: string;
|
|
34
|
+
/**
|
|
35
|
+
* The order buyer email
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
38
|
+
*/
|
|
39
|
+
email: string;
|
|
40
|
+
/**
|
|
41
|
+
* The order buyer phone
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
44
|
+
*/
|
|
45
|
+
phone: string;
|
|
46
|
+
/**
|
|
47
|
+
* The order buyer country
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
50
|
+
*/
|
|
51
|
+
country: string;
|
|
52
|
+
/**
|
|
53
|
+
* The order buyer city
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
56
|
+
*/
|
|
57
|
+
city: string;
|
|
58
|
+
/**
|
|
59
|
+
* The order buyer postal code
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
62
|
+
*/
|
|
63
|
+
postalCode: string;
|
|
64
|
+
/**
|
|
65
|
+
* The order buyer address
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
68
|
+
*/
|
|
69
|
+
address: string;
|
|
70
|
+
/**
|
|
71
|
+
* The order buyer company name
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
74
|
+
*/
|
|
75
|
+
companyName: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* The order buyer company VAT number
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof OrderListItemDtoBuyerInformation
|
|
80
|
+
*/
|
|
81
|
+
companyVatNumber: string | null;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the OrderListItemDtoBuyerInformation interface.
|
|
86
|
+
*/
|
|
87
|
+
export function instanceOfOrderListItemDtoBuyerInformation(value: object): value is OrderListItemDtoBuyerInformation {
|
|
88
|
+
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
89
|
+
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
90
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
91
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
92
|
+
if (!('country' in value) || value['country'] === undefined) return false;
|
|
93
|
+
if (!('city' in value) || value['city'] === undefined) return false;
|
|
94
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined) return false;
|
|
95
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
96
|
+
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
97
|
+
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function OrderListItemDtoBuyerInformationFromJSON(json: any): OrderListItemDtoBuyerInformation {
|
|
102
|
+
return OrderListItemDtoBuyerInformationFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function OrderListItemDtoBuyerInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderListItemDtoBuyerInformation {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'firstname': json['firstname'],
|
|
112
|
+
'lastname': json['lastname'],
|
|
113
|
+
'email': json['email'],
|
|
114
|
+
'phone': json['phone'],
|
|
115
|
+
'country': json['country'],
|
|
116
|
+
'city': json['city'],
|
|
117
|
+
'postalCode': json['postalCode'],
|
|
118
|
+
'address': json['address'],
|
|
119
|
+
'companyName': json['companyName'],
|
|
120
|
+
'companyVatNumber': json['companyVatNumber'],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function OrderListItemDtoBuyerInformationToJSON(value?: OrderListItemDtoBuyerInformation | null): any {
|
|
125
|
+
if (value == null) {
|
|
126
|
+
return value;
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
|
|
130
|
+
'firstname': value['firstname'],
|
|
131
|
+
'lastname': value['lastname'],
|
|
132
|
+
'email': value['email'],
|
|
133
|
+
'phone': value['phone'],
|
|
134
|
+
'country': value['country'],
|
|
135
|
+
'city': value['city'],
|
|
136
|
+
'postalCode': value['postalCode'],
|
|
137
|
+
'address': value['address'],
|
|
138
|
+
'companyName': value['companyName'],
|
|
139
|
+
'companyVatNumber': value['companyVatNumber'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
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 OrderListItemDtoDomainInformation
|
|
20
|
+
*/
|
|
21
|
+
export interface OrderListItemDtoDomainInformation {
|
|
22
|
+
/**
|
|
23
|
+
* The order domain TLD
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof OrderListItemDtoDomainInformation
|
|
26
|
+
*/
|
|
27
|
+
tld: string;
|
|
28
|
+
/**
|
|
29
|
+
* The order domain name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof OrderListItemDtoDomainInformation
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the OrderListItemDtoDomainInformation interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfOrderListItemDtoDomainInformation(value: object): value is OrderListItemDtoDomainInformation {
|
|
40
|
+
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
41
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function OrderListItemDtoDomainInformationFromJSON(json: any): OrderListItemDtoDomainInformation {
|
|
46
|
+
return OrderListItemDtoDomainInformationFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function OrderListItemDtoDomainInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderListItemDtoDomainInformation {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'tld': json['tld'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function OrderListItemDtoDomainInformationToJSON(value?: OrderListItemDtoDomainInformation | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'tld': value['tld'],
|
|
67
|
+
'name': value['name'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
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 OrderListItemDtoSellerAccount
|
|
20
|
+
*/
|
|
21
|
+
export interface OrderListItemDtoSellerAccount {
|
|
22
|
+
/**
|
|
23
|
+
* The order seller account ID
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof OrderListItemDtoSellerAccount
|
|
26
|
+
*/
|
|
27
|
+
accountId: object;
|
|
28
|
+
/**
|
|
29
|
+
* The order seller account ID
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof OrderListItemDtoSellerAccount
|
|
32
|
+
*/
|
|
33
|
+
identifier: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the OrderListItemDtoSellerAccount interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfOrderListItemDtoSellerAccount(value: object): value is OrderListItemDtoSellerAccount {
|
|
40
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
41
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function OrderListItemDtoSellerAccountFromJSON(json: any): OrderListItemDtoSellerAccount {
|
|
46
|
+
return OrderListItemDtoSellerAccountFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function OrderListItemDtoSellerAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderListItemDtoSellerAccount {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'accountId': json['accountId'],
|
|
56
|
+
'identifier': json['identifier'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function OrderListItemDtoSellerAccountToJSON(value?: OrderListItemDtoSellerAccount | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'accountId': value['accountId'],
|
|
67
|
+
'identifier': value['identifier'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './DomainTransferDtoAgent';
|
|
|
30
30
|
export * from './DomainTransferOrderDto';
|
|
31
31
|
export * from './ForgotPasswordRequestInput';
|
|
32
32
|
export * from './GetAllDomainTransfers200Response';
|
|
33
|
+
export * from './GetAllOrders200Response';
|
|
33
34
|
export * from './GetBuyerTransfers200Response';
|
|
34
35
|
export * from './HttpException';
|
|
35
36
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
@@ -55,6 +56,11 @@ export * from './MoneyInput';
|
|
|
55
56
|
export * from './NotFoundException';
|
|
56
57
|
export * from './ObjectId';
|
|
57
58
|
export * from './OrderDto';
|
|
59
|
+
export * from './OrderListItemDto';
|
|
60
|
+
export * from './OrderListItemDtoBasePrice';
|
|
61
|
+
export * from './OrderListItemDtoBuyerInformation';
|
|
62
|
+
export * from './OrderListItemDtoDomainInformation';
|
|
63
|
+
export * from './OrderListItemDtoSellerAccount';
|
|
58
64
|
export * from './PaginateResponse';
|
|
59
65
|
export * from './PaginateResponseLinks';
|
|
60
66
|
export * from './PaginateResponseMeta';
|