@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
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { OrderTaxDto } from './OrderTaxDto';
|
|
14
|
+
import type { AddressDto } from './AddressDto';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
15
17
|
* @export
|
|
@@ -36,52 +38,46 @@ export interface OrderDto {
|
|
|
36
38
|
basePrice: MoneyDto;
|
|
37
39
|
/**
|
|
38
40
|
*
|
|
39
|
-
* @type {
|
|
41
|
+
* @type {MoneyDto}
|
|
40
42
|
* @memberof OrderDto
|
|
41
43
|
*/
|
|
42
|
-
|
|
44
|
+
totalPrice: MoneyDto;
|
|
43
45
|
/**
|
|
44
46
|
*
|
|
45
|
-
* @type {
|
|
47
|
+
* @type {Array<OrderTaxDto>}
|
|
46
48
|
* @memberof OrderDto
|
|
47
49
|
*/
|
|
48
|
-
|
|
50
|
+
taxes: Array<OrderTaxDto>;
|
|
49
51
|
/**
|
|
50
52
|
*
|
|
51
53
|
* @type {string}
|
|
52
54
|
* @memberof OrderDto
|
|
53
55
|
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof OrderDto
|
|
59
|
-
*/
|
|
60
|
-
phone: string;
|
|
56
|
+
firstname: string;
|
|
61
57
|
/**
|
|
62
58
|
*
|
|
63
59
|
* @type {string}
|
|
64
60
|
* @memberof OrderDto
|
|
65
61
|
*/
|
|
66
|
-
|
|
62
|
+
lastname: string;
|
|
67
63
|
/**
|
|
68
64
|
*
|
|
69
65
|
* @type {string}
|
|
70
66
|
* @memberof OrderDto
|
|
71
67
|
*/
|
|
72
|
-
|
|
68
|
+
email: string;
|
|
73
69
|
/**
|
|
74
70
|
*
|
|
75
71
|
* @type {string}
|
|
76
72
|
* @memberof OrderDto
|
|
77
73
|
*/
|
|
78
|
-
|
|
74
|
+
phone: string | null;
|
|
79
75
|
/**
|
|
80
76
|
*
|
|
81
|
-
* @type {
|
|
77
|
+
* @type {AddressDto}
|
|
82
78
|
* @memberof OrderDto
|
|
83
79
|
*/
|
|
84
|
-
address:
|
|
80
|
+
address: AddressDto | null;
|
|
85
81
|
/**
|
|
86
82
|
*
|
|
87
83
|
* @type {string}
|
package/dist/models/OrderDto.js
CHANGED
|
@@ -19,6 +19,8 @@ exports.OrderDtoFromJSON = OrderDtoFromJSON;
|
|
|
19
19
|
exports.OrderDtoFromJSONTyped = OrderDtoFromJSONTyped;
|
|
20
20
|
exports.OrderDtoToJSON = OrderDtoToJSON;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
var OrderTaxDto_1 = require("./OrderTaxDto");
|
|
23
|
+
var AddressDto_1 = require("./AddressDto");
|
|
22
24
|
/**
|
|
23
25
|
* @export
|
|
24
26
|
*/
|
|
@@ -36,6 +38,10 @@ function instanceOfOrderDto(value) {
|
|
|
36
38
|
return false;
|
|
37
39
|
if (!('basePrice' in value) || value['basePrice'] === undefined)
|
|
38
40
|
return false;
|
|
41
|
+
if (!('totalPrice' in value) || value['totalPrice'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('taxes' in value) || value['taxes'] === undefined)
|
|
44
|
+
return false;
|
|
39
45
|
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
40
46
|
return false;
|
|
41
47
|
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
@@ -44,12 +50,6 @@ function instanceOfOrderDto(value) {
|
|
|
44
50
|
return false;
|
|
45
51
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
46
52
|
return false;
|
|
47
|
-
if (!('country' in value) || value['country'] === undefined)
|
|
48
|
-
return false;
|
|
49
|
-
if (!('city' in value) || value['city'] === undefined)
|
|
50
|
-
return false;
|
|
51
|
-
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
52
|
-
return false;
|
|
53
53
|
if (!('address' in value) || value['address'] === undefined)
|
|
54
54
|
return false;
|
|
55
55
|
if (!('locale' in value) || value['locale'] === undefined)
|
|
@@ -71,14 +71,13 @@ function OrderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
71
|
'id': json['id'],
|
|
72
72
|
'status': json['status'],
|
|
73
73
|
'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
|
|
74
|
+
'totalPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalPrice']),
|
|
75
|
+
'taxes': (json['taxes'].map(OrderTaxDto_1.OrderTaxDtoFromJSON)),
|
|
74
76
|
'firstname': json['firstname'],
|
|
75
77
|
'lastname': json['lastname'],
|
|
76
78
|
'email': json['email'],
|
|
77
79
|
'phone': json['phone'],
|
|
78
|
-
'
|
|
79
|
-
'city': json['city'],
|
|
80
|
-
'postalCode': json['postalCode'],
|
|
81
|
-
'address': json['address'],
|
|
80
|
+
'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
82
81
|
'locale': json['locale'],
|
|
83
82
|
'companyName': json['companyName'],
|
|
84
83
|
'companyVatNumber': json['companyVatNumber'],
|
|
@@ -92,14 +91,13 @@ function OrderDtoToJSON(value) {
|
|
|
92
91
|
'id': value['id'],
|
|
93
92
|
'status': value['status'],
|
|
94
93
|
'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
|
|
94
|
+
'totalPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalPrice']),
|
|
95
|
+
'taxes': (value['taxes'].map(OrderTaxDto_1.OrderTaxDtoToJSON)),
|
|
95
96
|
'firstname': value['firstname'],
|
|
96
97
|
'lastname': value['lastname'],
|
|
97
98
|
'email': value['email'],
|
|
98
99
|
'phone': value['phone'],
|
|
99
|
-
'
|
|
100
|
-
'city': value['city'],
|
|
101
|
-
'postalCode': value['postalCode'],
|
|
102
|
-
'address': value['address'],
|
|
100
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
103
101
|
'locale': value['locale'],
|
|
104
102
|
'companyName': value['companyName'],
|
|
105
103
|
'companyVatNumber': value['companyVatNumber'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AddressDto } from './AddressDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -38,31 +39,13 @@ export interface OrderListItemDtoBuyerInformation {
|
|
|
38
39
|
* @type {string}
|
|
39
40
|
* @memberof OrderListItemDtoBuyerInformation
|
|
40
41
|
*/
|
|
41
|
-
phone: string;
|
|
42
|
-
/**
|
|
43
|
-
* The order buyer country
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof OrderListItemDtoBuyerInformation
|
|
46
|
-
*/
|
|
47
|
-
country: string;
|
|
48
|
-
/**
|
|
49
|
-
* The order buyer city
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof OrderListItemDtoBuyerInformation
|
|
52
|
-
*/
|
|
53
|
-
city: string;
|
|
54
|
-
/**
|
|
55
|
-
* The order buyer postal code
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof OrderListItemDtoBuyerInformation
|
|
58
|
-
*/
|
|
59
|
-
postalCode: string;
|
|
42
|
+
phone: string | null;
|
|
60
43
|
/**
|
|
61
44
|
* The order buyer address
|
|
62
|
-
* @type {
|
|
45
|
+
* @type {AddressDto}
|
|
63
46
|
* @memberof OrderListItemDtoBuyerInformation
|
|
64
47
|
*/
|
|
65
|
-
address:
|
|
48
|
+
address: AddressDto | null;
|
|
66
49
|
/**
|
|
67
50
|
* The order buyer company name
|
|
68
51
|
* @type {string}
|
|
@@ -17,6 +17,7 @@ exports.instanceOfOrderListItemDtoBuyerInformation = instanceOfOrderListItemDtoB
|
|
|
17
17
|
exports.OrderListItemDtoBuyerInformationFromJSON = OrderListItemDtoBuyerInformationFromJSON;
|
|
18
18
|
exports.OrderListItemDtoBuyerInformationFromJSONTyped = OrderListItemDtoBuyerInformationFromJSONTyped;
|
|
19
19
|
exports.OrderListItemDtoBuyerInformationToJSON = OrderListItemDtoBuyerInformationToJSON;
|
|
20
|
+
var AddressDto_1 = require("./AddressDto");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the OrderListItemDtoBuyerInformation interface.
|
|
22
23
|
*/
|
|
@@ -29,12 +30,6 @@ function instanceOfOrderListItemDtoBuyerInformation(value) {
|
|
|
29
30
|
return false;
|
|
30
31
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
31
32
|
return false;
|
|
32
|
-
if (!('country' in value) || value['country'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('city' in value) || value['city'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
37
|
-
return false;
|
|
38
33
|
if (!('address' in value) || value['address'] === undefined)
|
|
39
34
|
return false;
|
|
40
35
|
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
@@ -55,10 +50,7 @@ function OrderListItemDtoBuyerInformationFromJSONTyped(json, ignoreDiscriminator
|
|
|
55
50
|
'lastname': json['lastname'],
|
|
56
51
|
'email': json['email'],
|
|
57
52
|
'phone': json['phone'],
|
|
58
|
-
'
|
|
59
|
-
'city': json['city'],
|
|
60
|
-
'postalCode': json['postalCode'],
|
|
61
|
-
'address': json['address'],
|
|
53
|
+
'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
62
54
|
'companyName': json['companyName'],
|
|
63
55
|
'companyVatNumber': json['companyVatNumber'],
|
|
64
56
|
};
|
|
@@ -72,10 +64,7 @@ function OrderListItemDtoBuyerInformationToJSON(value) {
|
|
|
72
64
|
'lastname': value['lastname'],
|
|
73
65
|
'email': value['email'],
|
|
74
66
|
'phone': value['phone'],
|
|
75
|
-
'
|
|
76
|
-
'city': value['city'],
|
|
77
|
-
'postalCode': value['postalCode'],
|
|
78
|
-
'address': value['address'],
|
|
67
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
79
68
|
'companyName': value['companyName'],
|
|
80
69
|
'companyVatNumber': value['companyVatNumber'],
|
|
81
70
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
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 OrderTaxDto
|
|
17
|
+
*/
|
|
18
|
+
export interface OrderTaxDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrderTaxDto
|
|
23
|
+
*/
|
|
24
|
+
type: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof OrderTaxDto
|
|
29
|
+
*/
|
|
30
|
+
price: MoneyDto;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof OrderTaxDto
|
|
35
|
+
*/
|
|
36
|
+
percentage: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the OrderTaxDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfOrderTaxDto(value: object): value is OrderTaxDto;
|
|
42
|
+
export declare function OrderTaxDtoFromJSON(json: any): OrderTaxDto;
|
|
43
|
+
export declare function OrderTaxDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderTaxDto;
|
|
44
|
+
export declare function OrderTaxDtoToJSON(value?: OrderTaxDto | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfOrderTaxDto = instanceOfOrderTaxDto;
|
|
17
|
+
exports.OrderTaxDtoFromJSON = OrderTaxDtoFromJSON;
|
|
18
|
+
exports.OrderTaxDtoFromJSONTyped = OrderTaxDtoFromJSONTyped;
|
|
19
|
+
exports.OrderTaxDtoToJSON = OrderTaxDtoToJSON;
|
|
20
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrderTaxDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrderTaxDto(value) {
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('percentage' in value) || value['percentage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OrderTaxDtoFromJSON(json) {
|
|
34
|
+
return OrderTaxDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OrderTaxDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'type': json['type'],
|
|
42
|
+
'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
|
|
43
|
+
'percentage': json['percentage'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function OrderTaxDtoToJSON(value) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'type': value['type'],
|
|
52
|
+
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
53
|
+
'percentage': value['percentage'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 PaymentProviderDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentProviderDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PaymentProviderDto
|
|
22
|
+
*/
|
|
23
|
+
accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaymentProviderDto
|
|
28
|
+
*/
|
|
29
|
+
status: PaymentProviderDtoStatusEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const PaymentProviderDtoStatusEnum: {
|
|
35
|
+
readonly PENDING: "pending";
|
|
36
|
+
readonly ACTIVE: "active";
|
|
37
|
+
};
|
|
38
|
+
export type PaymentProviderDtoStatusEnum = typeof PaymentProviderDtoStatusEnum[keyof typeof PaymentProviderDtoStatusEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the PaymentProviderDto interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfPaymentProviderDto(value: object): value is PaymentProviderDto;
|
|
43
|
+
export declare function PaymentProviderDtoFromJSON(json: any): PaymentProviderDto;
|
|
44
|
+
export declare function PaymentProviderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentProviderDto;
|
|
45
|
+
export declare function PaymentProviderDtoToJSON(value?: PaymentProviderDto | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.PaymentProviderDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfPaymentProviderDto = instanceOfPaymentProviderDto;
|
|
18
|
+
exports.PaymentProviderDtoFromJSON = PaymentProviderDtoFromJSON;
|
|
19
|
+
exports.PaymentProviderDtoFromJSONTyped = PaymentProviderDtoFromJSONTyped;
|
|
20
|
+
exports.PaymentProviderDtoToJSON = PaymentProviderDtoToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.PaymentProviderDtoStatusEnum = {
|
|
25
|
+
PENDING: 'pending',
|
|
26
|
+
ACTIVE: 'active'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the PaymentProviderDto interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfPaymentProviderDto(value) {
|
|
32
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function PaymentProviderDtoFromJSON(json) {
|
|
39
|
+
return PaymentProviderDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PaymentProviderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'accountId': json['accountId'],
|
|
47
|
+
'status': json['status'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PaymentProviderDtoToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'accountId': value['accountId'],
|
|
56
|
+
'status': value['status'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -33,12 +33,6 @@ export interface PublicLeadBuyerDto {
|
|
|
33
33
|
* @memberof PublicLeadBuyerDto
|
|
34
34
|
*/
|
|
35
35
|
email: string;
|
|
36
|
-
/**
|
|
37
|
-
* Lead buyer phone number
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PublicLeadBuyerDto
|
|
40
|
-
*/
|
|
41
|
-
phone: string;
|
|
42
36
|
/**
|
|
43
37
|
* Lead buyer company name
|
|
44
38
|
* @type {string}
|
|
@@ -27,8 +27,6 @@ function instanceOfPublicLeadBuyerDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('email' in value) || value['email'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
-
if (!('phone' in value) || value['phone'] === undefined)
|
|
31
|
-
return false;
|
|
32
30
|
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
33
31
|
return false;
|
|
34
32
|
return true;
|
|
@@ -44,7 +42,6 @@ function PublicLeadBuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
42
|
'firstname': json['firstname'],
|
|
45
43
|
'lastname': json['lastname'],
|
|
46
44
|
'email': json['email'],
|
|
47
|
-
'phone': json['phone'],
|
|
48
45
|
'companyName': json['companyName'],
|
|
49
46
|
};
|
|
50
47
|
}
|
|
@@ -56,7 +53,6 @@ function PublicLeadBuyerDtoToJSON(value) {
|
|
|
56
53
|
'firstname': value['firstname'],
|
|
57
54
|
'lastname': value['lastname'],
|
|
58
55
|
'email': value['email'],
|
|
59
|
-
'phone': value['phone'],
|
|
60
56
|
'companyName': value['companyName'],
|
|
61
57
|
};
|
|
62
58
|
}
|
|
@@ -27,8 +27,6 @@ function instanceOfUpdateLeadInput(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('email' in value) || value['email'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
-
if (!('phone' in value) || value['phone'] === undefined)
|
|
31
|
-
return false;
|
|
32
30
|
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
33
31
|
return false;
|
|
34
32
|
return true;
|
|
@@ -44,7 +42,6 @@ function UpdateLeadInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
42
|
'firstname': json['firstname'],
|
|
45
43
|
'lastname': json['lastname'],
|
|
46
44
|
'email': json['email'],
|
|
47
|
-
'phone': json['phone'],
|
|
48
45
|
'companyName': json['companyName'],
|
|
49
46
|
};
|
|
50
47
|
}
|
|
@@ -56,7 +53,6 @@ function UpdateLeadInputToJSON(value) {
|
|
|
56
53
|
'firstname': value['firstname'],
|
|
57
54
|
'lastname': value['lastname'],
|
|
58
55
|
'email': value['email'],
|
|
59
|
-
'phone': value['phone'],
|
|
60
56
|
'companyName': value['companyName'],
|
|
61
57
|
};
|
|
62
58
|
}
|
|
@@ -45,36 +45,6 @@ export interface UpdateOrderInput {
|
|
|
45
45
|
* @memberof UpdateOrderInput
|
|
46
46
|
*/
|
|
47
47
|
email: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof UpdateOrderInput
|
|
52
|
-
*/
|
|
53
|
-
phone: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof UpdateOrderInput
|
|
58
|
-
*/
|
|
59
|
-
country: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof UpdateOrderInput
|
|
64
|
-
*/
|
|
65
|
-
city: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof UpdateOrderInput
|
|
70
|
-
*/
|
|
71
|
-
postalCode: string;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof UpdateOrderInput
|
|
76
|
-
*/
|
|
77
|
-
address: string;
|
|
78
48
|
}
|
|
79
49
|
/**
|
|
80
50
|
* Check if a given object implements the UpdateOrderInput interface.
|
|
@@ -31,16 +31,6 @@ function instanceOfUpdateOrderInput(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('email' in value) || value['email'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
-
if (!('phone' in value) || value['phone'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('country' in value) || value['country'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('city' in value) || value['city'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('address' in value) || value['address'] === undefined)
|
|
43
|
-
return false;
|
|
44
34
|
return true;
|
|
45
35
|
}
|
|
46
36
|
function UpdateOrderInputFromJSON(json) {
|
|
@@ -56,11 +46,6 @@ function UpdateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
46
|
'firstname': json['firstname'],
|
|
57
47
|
'lastname': json['lastname'],
|
|
58
48
|
'email': json['email'],
|
|
59
|
-
'phone': json['phone'],
|
|
60
|
-
'country': json['country'],
|
|
61
|
-
'city': json['city'],
|
|
62
|
-
'postalCode': json['postalCode'],
|
|
63
|
-
'address': json['address'],
|
|
64
49
|
};
|
|
65
50
|
}
|
|
66
51
|
function UpdateOrderInputToJSON(value) {
|
|
@@ -73,10 +58,5 @@ function UpdateOrderInputToJSON(value) {
|
|
|
73
58
|
'firstname': value['firstname'],
|
|
74
59
|
'lastname': value['lastname'],
|
|
75
60
|
'email': value['email'],
|
|
76
|
-
'phone': value['phone'],
|
|
77
|
-
'country': value['country'],
|
|
78
|
-
'city': value['city'],
|
|
79
|
-
'postalCode': value['postalCode'],
|
|
80
|
-
'address': value['address'],
|
|
81
61
|
};
|
|
82
62
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export * from './AccountAddressDto';
|
|
2
|
-
export * from './AccountAddressInput';
|
|
3
1
|
export * from './AccountDto';
|
|
4
|
-
export * from './
|
|
2
|
+
export * from './AccountPaymentProviderSessionDto';
|
|
5
3
|
export * from './AccountSettingsInput';
|
|
4
|
+
export * from './AddressDto';
|
|
6
5
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
7
6
|
export * from './BadRequestException';
|
|
8
7
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
@@ -17,6 +16,7 @@ export * from './BuyerUserDto';
|
|
|
17
16
|
export * from './ChangeOrderStatusInput';
|
|
18
17
|
export * from './ChartDataPoint';
|
|
19
18
|
export * from './ConflictException';
|
|
19
|
+
export * from './CreateAccountPaymentProviderInput';
|
|
20
20
|
export * from './CreateBuyerLeadMessageInput';
|
|
21
21
|
export * from './CreateLeadInput';
|
|
22
22
|
export * from './CreateLeadMessageInput';
|
|
@@ -46,7 +46,7 @@ export * from './GetAllOrders200Response';
|
|
|
46
46
|
export * from './GetBuyerLeads200Response';
|
|
47
47
|
export * from './GetBuyerTransfers200Response';
|
|
48
48
|
export * from './HttpException';
|
|
49
|
-
export * from './
|
|
49
|
+
export * from './IntersectionAccountDtoWithSettingsDto';
|
|
50
50
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
51
51
|
export * from './IntersectionDomainDtoWithDomainUrlDto';
|
|
52
52
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
@@ -68,14 +68,17 @@ export * from './LoginInput';
|
|
|
68
68
|
export * from './MoneyDto';
|
|
69
69
|
export * from './NotFoundException';
|
|
70
70
|
export * from './ObjectId';
|
|
71
|
+
export * from './OrderCheckoutSessionDto';
|
|
71
72
|
export * from './OrderDto';
|
|
72
73
|
export * from './OrderListItemDto';
|
|
73
74
|
export * from './OrderListItemDtoBuyerInformation';
|
|
74
75
|
export * from './OrderListItemDtoDomainInformation';
|
|
75
76
|
export * from './OrderListItemDtoSellerAccount';
|
|
77
|
+
export * from './OrderTaxDto';
|
|
76
78
|
export * from './PaginateResponse';
|
|
77
79
|
export * from './PaginateResponseLinks';
|
|
78
80
|
export * from './PaginateResponseMeta';
|
|
81
|
+
export * from './PaymentProviderDto';
|
|
79
82
|
export * from './PublicLeadBuyerDto';
|
|
80
83
|
export * from './PublicLeadDto';
|
|
81
84
|
export * from './PutBuyerLeadOfferInput';
|
|
@@ -93,7 +96,6 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
93
96
|
export * from './SetNewPasswordInput';
|
|
94
97
|
export * from './StoreBuyerLocaleInput';
|
|
95
98
|
export * from './StoreUserLocaleInput';
|
|
96
|
-
export * from './ThrottlerException';
|
|
97
99
|
export * from './UpdateDomainInput';
|
|
98
100
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
99
101
|
export * from './UpdateLeadInput';
|
|
@@ -102,5 +104,4 @@ export * from './UserPasswordResetDto';
|
|
|
102
104
|
export * from './ValidationError';
|
|
103
105
|
export * from './ValidationException';
|
|
104
106
|
export * from './VerifyLeadInput';
|
|
105
|
-
export * from './WithFinancialDtoInner';
|
|
106
107
|
export * from './WithSettingsInner';
|