@randock/nameshift-api-client 0.0.92 → 0.0.94
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 +8 -6
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +10 -11
- package/dist/apis/AccountsApi.js +27 -30
- package/dist/apis/OrdersPublicApi.d.ts +12 -1
- package/dist/apis/OrdersPublicApi.js +44 -0
- package/dist/apis/StripePublicApi.d.ts +28 -0
- package/dist/apis/StripePublicApi.js +124 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountDto.d.ts +7 -0
- package/dist/models/AccountDto.js +5 -0
- package/dist/models/AccountPaymentProviderSessionDto.d.ts +31 -0
- package/dist/models/AccountPaymentProviderSessionDto.js +46 -0
- package/dist/models/AddressDto.d.ts +61 -0
- package/dist/models/AddressDto.js +66 -0
- package/dist/models/CreateAccountPaymentProviderInput.d.ts +31 -0
- package/dist/models/CreateAccountPaymentProviderInput.js +46 -0
- package/dist/models/CreateLeadInput.d.ts +0 -6
- package/dist/models/CreateLeadInput.js +0 -4
- package/dist/models/CreateOrderInput.d.ts +0 -30
- package/dist/models/CreateOrderInput.js +0 -20
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +69 -0
- package/dist/models/{IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js → IntersectionAccountDtoWithSettingsDto.js} +14 -19
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +4 -0
- package/dist/models/OrderCheckoutSessionDto.d.ts +31 -0
- package/dist/models/OrderCheckoutSessionDto.js +46 -0
- package/dist/models/OrderDto.d.ts +12 -16
- package/dist/models/OrderDto.js +12 -14
- package/dist/models/OrderListItemDtoBuyerInformation.d.ts +4 -21
- package/dist/models/OrderListItemDtoBuyerInformation.js +3 -14
- package/dist/models/OrderTaxDto.d.ts +44 -0
- package/dist/models/OrderTaxDto.js +55 -0
- package/dist/models/PaymentProviderDto.d.ts +45 -0
- package/dist/models/PaymentProviderDto.js +58 -0
- package/dist/models/PublicLeadBuyerDto.d.ts +0 -6
- package/dist/models/PublicLeadBuyerDto.js +0 -4
- package/dist/models/UpdateLeadInput.d.ts +0 -6
- package/dist/models/UpdateLeadInput.js +0 -4
- package/dist/models/UpdateOrderInput.d.ts +0 -30
- package/dist/models/UpdateOrderInput.js +0 -20
- package/dist/models/index.d.ts +7 -6
- package/dist/models/index.js +7 -6
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +44 -54
- package/src/apis/AccountsPublicApi.ts +0 -3
- package/src/apis/AdminApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/BuyersPublicApi.ts +0 -3
- package/src/apis/DashboardApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/LeadsApi.ts +0 -3
- package/src/apis/LeadsPublicApi.ts +0 -3
- package/src/apis/OrdersPublicApi.ts +40 -3
- package/src/apis/StripePublicApi.ts +70 -0
- package/src/apis/UsersApi.ts +0 -3
- package/src/apis/UsersPublicApi.ts +0 -3
- package/src/apis/index.ts +1 -0
- package/src/models/AccountDto.ts +16 -0
- package/src/models/AccountPaymentProviderSessionDto.ts +61 -0
- package/src/models/AddressDto.ts +106 -0
- package/src/models/CreateAccountPaymentProviderInput.ts +61 -0
- package/src/models/CreateLeadInput.ts +0 -9
- package/src/models/CreateOrderInput.ts +0 -45
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +128 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +9 -0
- package/src/models/OrderCheckoutSessionDto.ts +61 -0
- package/src/models/OrderDto.ts +30 -27
- package/src/models/OrderListItemDtoBuyerInformation.ts +12 -32
- package/src/models/OrderTaxDto.ts +86 -0
- package/src/models/PaymentProviderDto.ts +81 -0
- package/src/models/PublicLeadBuyerDto.ts +0 -9
- package/src/models/UpdateLeadInput.ts +0 -9
- package/src/models/UpdateOrderInput.ts +0 -45
- package/src/models/index.ts +7 -6
- package/dist/models/AccountAddressDto.d.ts +0 -68
- package/dist/models/AccountAddressDto.js +0 -71
- package/dist/models/AccountAddressInput.d.ts +0 -68
- package/dist/models/AccountAddressInput.js +0 -71
- package/dist/models/AccountFinancialInput.d.ts +0 -49
- package/dist/models/AccountFinancialInput.js +0 -58
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +0 -76
- package/dist/models/ThrottlerException.d.ts +0 -43
- package/dist/models/ThrottlerException.js +0 -54
- package/dist/models/WithFinancialDtoInner.d.ts +0 -49
- package/dist/models/WithFinancialDtoInner.js +0 -58
- package/src/models/AccountAddressDto.ts +0 -115
- package/src/models/AccountAddressInput.ts +0 -115
- package/src/models/AccountFinancialInput.ts +0 -88
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +0 -143
- package/src/models/ThrottlerException.ts +0 -79
- package/src/models/WithFinancialDtoInner.ts +0 -88
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AddressDto } from './AddressDto';
|
|
17
|
+
import {
|
|
18
|
+
AddressDtoFromJSON,
|
|
19
|
+
AddressDtoFromJSONTyped,
|
|
20
|
+
AddressDtoToJSON,
|
|
21
|
+
} from './AddressDto';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -42,31 +49,13 @@ export interface OrderListItemDtoBuyerInformation {
|
|
|
42
49
|
* @type {string}
|
|
43
50
|
* @memberof OrderListItemDtoBuyerInformation
|
|
44
51
|
*/
|
|
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;
|
|
52
|
+
phone: string | null;
|
|
64
53
|
/**
|
|
65
54
|
* The order buyer address
|
|
66
|
-
* @type {
|
|
55
|
+
* @type {AddressDto}
|
|
67
56
|
* @memberof OrderListItemDtoBuyerInformation
|
|
68
57
|
*/
|
|
69
|
-
address:
|
|
58
|
+
address: AddressDto | null;
|
|
70
59
|
/**
|
|
71
60
|
* The order buyer company name
|
|
72
61
|
* @type {string}
|
|
@@ -89,9 +78,6 @@ export function instanceOfOrderListItemDtoBuyerInformation(value: object): value
|
|
|
89
78
|
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
90
79
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
91
80
|
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
81
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
96
82
|
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
97
83
|
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
@@ -112,10 +98,7 @@ export function OrderListItemDtoBuyerInformationFromJSONTyped(json: any, ignoreD
|
|
|
112
98
|
'lastname': json['lastname'],
|
|
113
99
|
'email': json['email'],
|
|
114
100
|
'phone': json['phone'],
|
|
115
|
-
'
|
|
116
|
-
'city': json['city'],
|
|
117
|
-
'postalCode': json['postalCode'],
|
|
118
|
-
'address': json['address'],
|
|
101
|
+
'address': AddressDtoFromJSON(json['address']),
|
|
119
102
|
'companyName': json['companyName'],
|
|
120
103
|
'companyVatNumber': json['companyVatNumber'],
|
|
121
104
|
};
|
|
@@ -131,10 +114,7 @@ export function OrderListItemDtoBuyerInformationToJSON(value?: OrderListItemDtoB
|
|
|
131
114
|
'lastname': value['lastname'],
|
|
132
115
|
'email': value['email'],
|
|
133
116
|
'phone': value['phone'],
|
|
134
|
-
'
|
|
135
|
-
'city': value['city'],
|
|
136
|
-
'postalCode': value['postalCode'],
|
|
137
|
-
'address': value['address'],
|
|
117
|
+
'address': AddressDtoToJSON(value['address']),
|
|
138
118
|
'companyName': value['companyName'],
|
|
139
119
|
'companyVatNumber': value['companyVatNumber'],
|
|
140
120
|
};
|
|
@@ -0,0 +1,86 @@
|
|
|
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 OrderTaxDto
|
|
27
|
+
*/
|
|
28
|
+
export interface OrderTaxDto {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OrderTaxDto
|
|
33
|
+
*/
|
|
34
|
+
type: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {MoneyDto}
|
|
38
|
+
* @memberof OrderTaxDto
|
|
39
|
+
*/
|
|
40
|
+
price: MoneyDto;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof OrderTaxDto
|
|
45
|
+
*/
|
|
46
|
+
percentage: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OrderTaxDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfOrderTaxDto(value: object): value is OrderTaxDto {
|
|
53
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
54
|
+
if (!('price' in value) || value['price'] === undefined) return false;
|
|
55
|
+
if (!('percentage' in value) || value['percentage'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function OrderTaxDtoFromJSON(json: any): OrderTaxDto {
|
|
60
|
+
return OrderTaxDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function OrderTaxDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderTaxDto {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'type': json['type'],
|
|
70
|
+
'price': MoneyDtoFromJSON(json['price']),
|
|
71
|
+
'percentage': json['percentage'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function OrderTaxDtoToJSON(value?: OrderTaxDto | null): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'type': value['type'],
|
|
82
|
+
'price': MoneyDtoToJSON(value['price']),
|
|
83
|
+
'percentage': value['percentage'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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 PaymentProviderDto
|
|
20
|
+
*/
|
|
21
|
+
export interface PaymentProviderDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PaymentProviderDto
|
|
26
|
+
*/
|
|
27
|
+
accountId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PaymentProviderDto
|
|
32
|
+
*/
|
|
33
|
+
status: PaymentProviderDtoStatusEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const PaymentProviderDtoStatusEnum = {
|
|
41
|
+
PENDING: 'pending',
|
|
42
|
+
ACTIVE: 'active'
|
|
43
|
+
} as const;
|
|
44
|
+
export type PaymentProviderDtoStatusEnum = typeof PaymentProviderDtoStatusEnum[keyof typeof PaymentProviderDtoStatusEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the PaymentProviderDto interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfPaymentProviderDto(value: object): value is PaymentProviderDto {
|
|
51
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
52
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function PaymentProviderDtoFromJSON(json: any): PaymentProviderDto {
|
|
57
|
+
return PaymentProviderDtoFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PaymentProviderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentProviderDto {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'accountId': json['accountId'],
|
|
67
|
+
'status': json['status'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function PaymentProviderDtoToJSON(value?: PaymentProviderDto | null): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'accountId': value['accountId'],
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -37,12 +37,6 @@ export interface PublicLeadBuyerDto {
|
|
|
37
37
|
* @memberof PublicLeadBuyerDto
|
|
38
38
|
*/
|
|
39
39
|
email: string;
|
|
40
|
-
/**
|
|
41
|
-
* Lead buyer phone number
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof PublicLeadBuyerDto
|
|
44
|
-
*/
|
|
45
|
-
phone: string;
|
|
46
40
|
/**
|
|
47
41
|
* Lead buyer company name
|
|
48
42
|
* @type {string}
|
|
@@ -58,7 +52,6 @@ export function instanceOfPublicLeadBuyerDto(value: object): value is PublicLead
|
|
|
58
52
|
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
59
53
|
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
60
54
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
61
|
-
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
62
55
|
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
63
56
|
return true;
|
|
64
57
|
}
|
|
@@ -76,7 +69,6 @@ export function PublicLeadBuyerDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
76
69
|
'firstname': json['firstname'],
|
|
77
70
|
'lastname': json['lastname'],
|
|
78
71
|
'email': json['email'],
|
|
79
|
-
'phone': json['phone'],
|
|
80
72
|
'companyName': json['companyName'],
|
|
81
73
|
};
|
|
82
74
|
}
|
|
@@ -90,7 +82,6 @@ export function PublicLeadBuyerDtoToJSON(value?: PublicLeadBuyerDto | null): any
|
|
|
90
82
|
'firstname': value['firstname'],
|
|
91
83
|
'lastname': value['lastname'],
|
|
92
84
|
'email': value['email'],
|
|
93
|
-
'phone': value['phone'],
|
|
94
85
|
'companyName': value['companyName'],
|
|
95
86
|
};
|
|
96
87
|
}
|
|
@@ -37,12 +37,6 @@ export interface UpdateLeadInput {
|
|
|
37
37
|
* @memberof UpdateLeadInput
|
|
38
38
|
*/
|
|
39
39
|
email: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof UpdateLeadInput
|
|
44
|
-
*/
|
|
45
|
-
phone: string;
|
|
46
40
|
/**
|
|
47
41
|
*
|
|
48
42
|
* @type {string}
|
|
@@ -58,7 +52,6 @@ export function instanceOfUpdateLeadInput(value: object): value is UpdateLeadInp
|
|
|
58
52
|
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
59
53
|
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
60
54
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
61
|
-
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
62
55
|
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
63
56
|
return true;
|
|
64
57
|
}
|
|
@@ -76,7 +69,6 @@ export function UpdateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
76
69
|
'firstname': json['firstname'],
|
|
77
70
|
'lastname': json['lastname'],
|
|
78
71
|
'email': json['email'],
|
|
79
|
-
'phone': json['phone'],
|
|
80
72
|
'companyName': json['companyName'],
|
|
81
73
|
};
|
|
82
74
|
}
|
|
@@ -90,7 +82,6 @@ export function UpdateLeadInputToJSON(value?: UpdateLeadInput | null): any {
|
|
|
90
82
|
'firstname': value['firstname'],
|
|
91
83
|
'lastname': value['lastname'],
|
|
92
84
|
'email': value['email'],
|
|
93
|
-
'phone': value['phone'],
|
|
94
85
|
'companyName': value['companyName'],
|
|
95
86
|
};
|
|
96
87
|
}
|
|
@@ -49,36 +49,6 @@ export interface UpdateOrderInput {
|
|
|
49
49
|
* @memberof UpdateOrderInput
|
|
50
50
|
*/
|
|
51
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
52
|
}
|
|
83
53
|
|
|
84
54
|
/**
|
|
@@ -90,11 +60,6 @@ export function instanceOfUpdateOrderInput(value: object): value is UpdateOrderI
|
|
|
90
60
|
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
91
61
|
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
92
62
|
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
63
|
return true;
|
|
99
64
|
}
|
|
100
65
|
|
|
@@ -113,11 +78,6 @@ export function UpdateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
113
78
|
'firstname': json['firstname'],
|
|
114
79
|
'lastname': json['lastname'],
|
|
115
80
|
'email': json['email'],
|
|
116
|
-
'phone': json['phone'],
|
|
117
|
-
'country': json['country'],
|
|
118
|
-
'city': json['city'],
|
|
119
|
-
'postalCode': json['postalCode'],
|
|
120
|
-
'address': json['address'],
|
|
121
81
|
};
|
|
122
82
|
}
|
|
123
83
|
|
|
@@ -132,11 +92,6 @@ export function UpdateOrderInputToJSON(value?: UpdateOrderInput | null): any {
|
|
|
132
92
|
'firstname': value['firstname'],
|
|
133
93
|
'lastname': value['lastname'],
|
|
134
94
|
'email': value['email'],
|
|
135
|
-
'phone': value['phone'],
|
|
136
|
-
'country': value['country'],
|
|
137
|
-
'city': value['city'],
|
|
138
|
-
'postalCode': value['postalCode'],
|
|
139
|
-
'address': value['address'],
|
|
140
95
|
};
|
|
141
96
|
}
|
|
142
97
|
|
package/src/models/index.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './AccountAddressDto';
|
|
4
|
-
export * from './AccountAddressInput';
|
|
5
3
|
export * from './AccountDto';
|
|
6
|
-
export * from './
|
|
4
|
+
export * from './AccountPaymentProviderSessionDto';
|
|
7
5
|
export * from './AccountSettingsInput';
|
|
6
|
+
export * from './AddressDto';
|
|
8
7
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
9
8
|
export * from './BadRequestException';
|
|
10
9
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
@@ -19,6 +18,7 @@ export * from './BuyerUserDto';
|
|
|
19
18
|
export * from './ChangeOrderStatusInput';
|
|
20
19
|
export * from './ChartDataPoint';
|
|
21
20
|
export * from './ConflictException';
|
|
21
|
+
export * from './CreateAccountPaymentProviderInput';
|
|
22
22
|
export * from './CreateBuyerLeadMessageInput';
|
|
23
23
|
export * from './CreateLeadInput';
|
|
24
24
|
export * from './CreateLeadMessageInput';
|
|
@@ -48,7 +48,7 @@ export * from './GetAllOrders200Response';
|
|
|
48
48
|
export * from './GetBuyerLeads200Response';
|
|
49
49
|
export * from './GetBuyerTransfers200Response';
|
|
50
50
|
export * from './HttpException';
|
|
51
|
-
export * from './
|
|
51
|
+
export * from './IntersectionAccountDtoWithSettingsDto';
|
|
52
52
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
53
53
|
export * from './IntersectionDomainDtoWithDomainUrlDto';
|
|
54
54
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
@@ -70,14 +70,17 @@ export * from './LoginInput';
|
|
|
70
70
|
export * from './MoneyDto';
|
|
71
71
|
export * from './NotFoundException';
|
|
72
72
|
export * from './ObjectId';
|
|
73
|
+
export * from './OrderCheckoutSessionDto';
|
|
73
74
|
export * from './OrderDto';
|
|
74
75
|
export * from './OrderListItemDto';
|
|
75
76
|
export * from './OrderListItemDtoBuyerInformation';
|
|
76
77
|
export * from './OrderListItemDtoDomainInformation';
|
|
77
78
|
export * from './OrderListItemDtoSellerAccount';
|
|
79
|
+
export * from './OrderTaxDto';
|
|
78
80
|
export * from './PaginateResponse';
|
|
79
81
|
export * from './PaginateResponseLinks';
|
|
80
82
|
export * from './PaginateResponseMeta';
|
|
83
|
+
export * from './PaymentProviderDto';
|
|
81
84
|
export * from './PublicLeadBuyerDto';
|
|
82
85
|
export * from './PublicLeadDto';
|
|
83
86
|
export * from './PutBuyerLeadOfferInput';
|
|
@@ -95,7 +98,6 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
95
98
|
export * from './SetNewPasswordInput';
|
|
96
99
|
export * from './StoreBuyerLocaleInput';
|
|
97
100
|
export * from './StoreUserLocaleInput';
|
|
98
|
-
export * from './ThrottlerException';
|
|
99
101
|
export * from './UpdateDomainInput';
|
|
100
102
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
101
103
|
export * from './UpdateLeadInput';
|
|
@@ -104,5 +106,4 @@ export * from './UserPasswordResetDto';
|
|
|
104
106
|
export * from './ValidationError';
|
|
105
107
|
export * from './ValidationException';
|
|
106
108
|
export * from './VerifyLeadInput';
|
|
107
|
-
export * from './WithFinancialDtoInner';
|
|
108
109
|
export * from './WithSettingsInner';
|
|
@@ -1,68 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AccountAddressDto
|
|
16
|
-
*/
|
|
17
|
-
export interface AccountAddressDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountAddressDto
|
|
22
|
-
*/
|
|
23
|
-
type: AccountAddressDtoTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AccountAddressDto
|
|
28
|
-
*/
|
|
29
|
-
address: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AccountAddressDto
|
|
34
|
-
*/
|
|
35
|
-
postalCode: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AccountAddressDto
|
|
40
|
-
*/
|
|
41
|
-
city: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AccountAddressDto
|
|
46
|
-
*/
|
|
47
|
-
state?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof AccountAddressDto
|
|
52
|
-
*/
|
|
53
|
-
country: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const AccountAddressDtoTypeEnum: {
|
|
59
|
-
readonly BILLING: "billing";
|
|
60
|
-
};
|
|
61
|
-
export type AccountAddressDtoTypeEnum = typeof AccountAddressDtoTypeEnum[keyof typeof AccountAddressDtoTypeEnum];
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the AccountAddressDto interface.
|
|
64
|
-
*/
|
|
65
|
-
export declare function instanceOfAccountAddressDto(value: object): value is AccountAddressDto;
|
|
66
|
-
export declare function AccountAddressDtoFromJSON(json: any): AccountAddressDto;
|
|
67
|
-
export declare function AccountAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressDto;
|
|
68
|
-
export declare function AccountAddressDtoToJSON(value?: AccountAddressDto | null): any;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Nameshift
|
|
6
|
-
* Nameshift API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AccountAddressDtoTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfAccountAddressDto = instanceOfAccountAddressDto;
|
|
18
|
-
exports.AccountAddressDtoFromJSON = AccountAddressDtoFromJSON;
|
|
19
|
-
exports.AccountAddressDtoFromJSONTyped = AccountAddressDtoFromJSONTyped;
|
|
20
|
-
exports.AccountAddressDtoToJSON = AccountAddressDtoToJSON;
|
|
21
|
-
/**
|
|
22
|
-
* @export
|
|
23
|
-
*/
|
|
24
|
-
exports.AccountAddressDtoTypeEnum = {
|
|
25
|
-
BILLING: 'billing'
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the AccountAddressDto interface.
|
|
29
|
-
*/
|
|
30
|
-
function instanceOfAccountAddressDto(value) {
|
|
31
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('address' in value) || value['address'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('city' in value) || value['city'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('country' in value) || value['country'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function AccountAddressDtoFromJSON(json) {
|
|
44
|
-
return AccountAddressDtoFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function AccountAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'type': json['type'],
|
|
52
|
-
'address': json['address'],
|
|
53
|
-
'postalCode': json['postalCode'],
|
|
54
|
-
'city': json['city'],
|
|
55
|
-
'state': json['state'] == null ? undefined : json['state'],
|
|
56
|
-
'country': json['country'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
function AccountAddressDtoToJSON(value) {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'type': value['type'],
|
|
65
|
-
'address': value['address'],
|
|
66
|
-
'postalCode': value['postalCode'],
|
|
67
|
-
'city': value['city'],
|
|
68
|
-
'state': value['state'],
|
|
69
|
-
'country': value['country'],
|
|
70
|
-
};
|
|
71
|
-
}
|
|
@@ -1,68 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AccountAddressInput
|
|
16
|
-
*/
|
|
17
|
-
export interface AccountAddressInput {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountAddressInput
|
|
22
|
-
*/
|
|
23
|
-
type: AccountAddressInputTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AccountAddressInput
|
|
28
|
-
*/
|
|
29
|
-
address: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AccountAddressInput
|
|
34
|
-
*/
|
|
35
|
-
postalCode: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AccountAddressInput
|
|
40
|
-
*/
|
|
41
|
-
city: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AccountAddressInput
|
|
46
|
-
*/
|
|
47
|
-
state?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof AccountAddressInput
|
|
52
|
-
*/
|
|
53
|
-
country: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const AccountAddressInputTypeEnum: {
|
|
59
|
-
readonly BILLING: "billing";
|
|
60
|
-
};
|
|
61
|
-
export type AccountAddressInputTypeEnum = typeof AccountAddressInputTypeEnum[keyof typeof AccountAddressInputTypeEnum];
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the AccountAddressInput interface.
|
|
64
|
-
*/
|
|
65
|
-
export declare function instanceOfAccountAddressInput(value: object): value is AccountAddressInput;
|
|
66
|
-
export declare function AccountAddressInputFromJSON(json: any): AccountAddressInput;
|
|
67
|
-
export declare function AccountAddressInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressInput;
|
|
68
|
-
export declare function AccountAddressInputToJSON(value?: AccountAddressInput | null): any;
|