@randock/nameshift-api-client 0.0.354 → 0.0.356
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/AccountsApi.d.ts +75 -1
- package/dist/apis/AccountsApi.js +300 -1
- package/dist/models/AccountPaymentDto.d.ts +100 -0
- package/dist/models/AccountPaymentDto.js +101 -0
- package/dist/models/AccountPaymentMethodDto.d.ts +80 -0
- package/dist/models/AccountPaymentMethodDto.js +83 -0
- package/dist/models/AccountPaymentMethodProfileDto.d.ts +71 -0
- package/dist/models/AccountPaymentMethodProfileDto.js +80 -0
- package/dist/models/AuctionConfigurationDto.d.ts +7 -0
- package/dist/models/AuctionConfigurationDto.js +5 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/CreateAccountPaymentInput.d.ts +51 -0
- package/dist/models/CreateAccountPaymentInput.js +62 -0
- package/dist/models/CreateAccountPaymentManualTransactionInput.d.ts +58 -0
- package/dist/models/CreateAccountPaymentManualTransactionInput.js +65 -0
- package/dist/models/DomainAuctionDto.d.ts +6 -0
- package/dist/models/DomainAuctionDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/dist/models/PayAccountPaymentInput.d.ts +32 -0
- package/dist/models/PayAccountPaymentInput.js +51 -0
- package/dist/models/SellerAuctionListItemDto.d.ts +6 -0
- package/dist/models/SellerAuctionListItemDto.js +4 -0
- package/dist/models/StartAuctionInput.d.ts +6 -13
- package/dist/models/StartAuctionInput.js +2 -5
- package/dist/models/UpdateAuctionConfigurationDto.d.ts +7 -0
- package/dist/models/UpdateAuctionConfigurationDto.js +3 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +319 -0
- package/src/models/AccountPaymentDto.ts +189 -0
- package/src/models/AccountPaymentMethodDto.ts +138 -0
- package/src/models/AccountPaymentMethodProfileDto.ts +130 -0
- package/src/models/AuctionConfigurationDto.ts +16 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/CreateAccountPaymentInput.ts +92 -0
- package/src/models/CreateAccountPaymentManualTransactionInput.ts +101 -0
- package/src/models/DomainAuctionDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
- package/src/models/PayAccountPaymentInput.ts +66 -0
- package/src/models/SellerAuctionListItemDto.ts +9 -0
- package/src/models/StartAuctionInput.ts +8 -24
- package/src/models/UpdateAuctionConfigurationDto.ts +15 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +6 -0
|
@@ -0,0 +1,65 @@
|
|
|
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.CreateAccountPaymentManualTransactionInputGatewayEnum = void 0;
|
|
17
|
+
exports.instanceOfCreateAccountPaymentManualTransactionInput = instanceOfCreateAccountPaymentManualTransactionInput;
|
|
18
|
+
exports.CreateAccountPaymentManualTransactionInputFromJSON = CreateAccountPaymentManualTransactionInputFromJSON;
|
|
19
|
+
exports.CreateAccountPaymentManualTransactionInputFromJSONTyped = CreateAccountPaymentManualTransactionInputFromJSONTyped;
|
|
20
|
+
exports.CreateAccountPaymentManualTransactionInputToJSON = CreateAccountPaymentManualTransactionInputToJSON;
|
|
21
|
+
exports.CreateAccountPaymentManualTransactionInputToJSONTyped = CreateAccountPaymentManualTransactionInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CreateAccountPaymentManualTransactionInputGatewayEnum = {
|
|
26
|
+
COMMON: 'common',
|
|
27
|
+
CRYPTO: 'crypto'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfCreateAccountPaymentManualTransactionInput(value) {
|
|
33
|
+
if (!('paymentMethodType' in value) || value['paymentMethodType'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function CreateAccountPaymentManualTransactionInputFromJSON(json) {
|
|
38
|
+
return CreateAccountPaymentManualTransactionInputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function CreateAccountPaymentManualTransactionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'gateway': json['gateway'] == null ? undefined : json['gateway'],
|
|
46
|
+
'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
|
|
47
|
+
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
48
|
+
'paymentMethodType': json['paymentMethodType'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function CreateAccountPaymentManualTransactionInputToJSON(json) {
|
|
52
|
+
return CreateAccountPaymentManualTransactionInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function CreateAccountPaymentManualTransactionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'gateway': value['gateway'],
|
|
61
|
+
'successUrl': value['successUrl'],
|
|
62
|
+
'cancelUrl': value['cancelUrl'],
|
|
63
|
+
'paymentMethodType': value['paymentMethodType'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -58,6 +58,12 @@ export interface DomainAuctionDto {
|
|
|
58
58
|
* @memberof DomainAuctionDto
|
|
59
59
|
*/
|
|
60
60
|
status: DomainAuctionDtoStatusEnum;
|
|
61
|
+
/**
|
|
62
|
+
* The account payment id
|
|
63
|
+
* @type {object}
|
|
64
|
+
* @memberof DomainAuctionDto
|
|
65
|
+
*/
|
|
66
|
+
accountPaymentId: object | null;
|
|
61
67
|
}
|
|
62
68
|
/**
|
|
63
69
|
* @export
|
|
@@ -48,6 +48,8 @@ function instanceOfDomainAuctionDto(value) {
|
|
|
48
48
|
return false;
|
|
49
49
|
if (!('status' in value) || value['status'] === undefined)
|
|
50
50
|
return false;
|
|
51
|
+
if (!('accountPaymentId' in value) || value['accountPaymentId'] === undefined)
|
|
52
|
+
return false;
|
|
51
53
|
return true;
|
|
52
54
|
}
|
|
53
55
|
function DomainAuctionDtoFromJSON(json) {
|
|
@@ -65,6 +67,7 @@ function DomainAuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
67
|
'endDate': (new Date(json['endDate'])),
|
|
66
68
|
'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
|
|
67
69
|
'status': json['status'],
|
|
70
|
+
'accountPaymentId': json['accountPaymentId'],
|
|
68
71
|
};
|
|
69
72
|
}
|
|
70
73
|
function DomainAuctionDtoToJSON(json) {
|
|
@@ -83,5 +86,6 @@ function DomainAuctionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
86
|
'endDate': ((value['endDate']).toISOString()),
|
|
84
87
|
'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
|
|
85
88
|
'status': value['status'],
|
|
89
|
+
'accountPaymentId': value['accountPaymentId'],
|
|
86
90
|
};
|
|
87
91
|
}
|
|
@@ -143,6 +143,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
143
143
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
144
144
|
*/
|
|
145
145
|
auction: DomainAuctionDto | null;
|
|
146
|
+
/**
|
|
147
|
+
* The paid auction price
|
|
148
|
+
* @type {MoneyDto}
|
|
149
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
150
|
+
*/
|
|
151
|
+
paidAuctionPrice: MoneyDto;
|
|
146
152
|
/**
|
|
147
153
|
* Whether the domain has an open lead
|
|
148
154
|
* @type {boolean}
|
|
@@ -69,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('auction' in value) || value['auction'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
+
if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
|
|
73
|
+
return false;
|
|
72
74
|
if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
|
|
73
75
|
return false;
|
|
74
76
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -103,6 +105,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
103
105
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
104
106
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
|
|
105
107
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
|
|
108
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
106
109
|
'hasAcceptedLead': json['hasAcceptedLead'],
|
|
107
110
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
108
111
|
};
|
|
@@ -136,6 +139,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
136
139
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
137
140
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
|
|
138
141
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
|
|
142
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
139
143
|
'hasAcceptedLead': value['hasAcceptedLead'],
|
|
140
144
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
141
145
|
};
|
|
@@ -143,6 +143,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
143
143
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
144
144
|
*/
|
|
145
145
|
auction: DomainAuctionDto | null;
|
|
146
|
+
/**
|
|
147
|
+
* The paid auction price
|
|
148
|
+
* @type {MoneyDto}
|
|
149
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
150
|
+
*/
|
|
151
|
+
paidAuctionPrice: MoneyDto;
|
|
146
152
|
/**
|
|
147
153
|
* Whether the domain has an open lead
|
|
148
154
|
* @type {boolean}
|
|
@@ -69,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('auction' in value) || value['auction'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
+
if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
|
|
73
|
+
return false;
|
|
72
74
|
if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
|
|
73
75
|
return false;
|
|
74
76
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -105,6 +107,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
|
|
|
105
107
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
106
108
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
|
|
107
109
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
|
|
110
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
108
111
|
'hasAcceptedLead': json['hasAcceptedLead'],
|
|
109
112
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
110
113
|
'hasAuction': json['hasAuction'],
|
|
@@ -139,6 +142,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
|
|
|
139
142
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
140
143
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
|
|
141
144
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
|
|
145
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
142
146
|
'hasAcceptedLead': value['hasAcceptedLead'],
|
|
143
147
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
144
148
|
'hasAuction': value['hasAuction'],
|
|
@@ -143,6 +143,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
143
143
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
144
144
|
*/
|
|
145
145
|
auction: DomainAuctionDto | null;
|
|
146
|
+
/**
|
|
147
|
+
* The paid auction price
|
|
148
|
+
* @type {MoneyDto}
|
|
149
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
150
|
+
*/
|
|
151
|
+
paidAuctionPrice: MoneyDto;
|
|
146
152
|
/**
|
|
147
153
|
* Whether the domain has an open lead
|
|
148
154
|
* @type {boolean}
|
|
@@ -69,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('auction' in value) || value['auction'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
+
if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
|
|
73
|
+
return false;
|
|
72
74
|
if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
|
|
73
75
|
return false;
|
|
74
76
|
if (!('hijacker' in value) || value['hijacker'] === undefined)
|
|
@@ -105,6 +107,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
105
107
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
106
108
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
|
|
107
109
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
|
|
110
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
108
111
|
'hasAcceptedLead': json['hasAcceptedLead'],
|
|
109
112
|
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
110
113
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
@@ -139,6 +142,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
139
142
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
140
143
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
|
|
141
144
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
|
|
145
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
142
146
|
'hasAcceptedLead': value['hasAcceptedLead'],
|
|
143
147
|
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
144
148
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
@@ -149,6 +149,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
149
149
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
150
150
|
*/
|
|
151
151
|
auction: DomainAuctionDto | null;
|
|
152
|
+
/**
|
|
153
|
+
* The paid auction price
|
|
154
|
+
* @type {MoneyDto}
|
|
155
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
156
|
+
*/
|
|
157
|
+
paidAuctionPrice: MoneyDto;
|
|
152
158
|
/**
|
|
153
159
|
* Whether the domain has an open lead
|
|
154
160
|
* @type {boolean}
|
|
@@ -71,6 +71,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
|
71
71
|
return false;
|
|
72
72
|
if (!('auction' in value) || value['auction'] === undefined)
|
|
73
73
|
return false;
|
|
74
|
+
if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
|
|
75
|
+
return false;
|
|
74
76
|
if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
|
|
75
77
|
return false;
|
|
76
78
|
return true;
|
|
@@ -104,6 +106,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
104
106
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
105
107
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
|
|
106
108
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
|
|
109
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
107
110
|
'hasAcceptedLead': json['hasAcceptedLead'],
|
|
108
111
|
};
|
|
109
112
|
}
|
|
@@ -137,6 +140,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
|
|
|
137
140
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
138
141
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
|
|
139
142
|
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
|
|
143
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
140
144
|
'hasAcceptedLead': value['hasAcceptedLead'],
|
|
141
145
|
};
|
|
142
146
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 PayAccountPaymentInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PayAccountPaymentInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PayAccountPaymentInput
|
|
22
|
+
*/
|
|
23
|
+
paymentMethodId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PayAccountPaymentInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPayAccountPaymentInput(value: object): value is PayAccountPaymentInput;
|
|
29
|
+
export declare function PayAccountPaymentInputFromJSON(json: any): PayAccountPaymentInput;
|
|
30
|
+
export declare function PayAccountPaymentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PayAccountPaymentInput;
|
|
31
|
+
export declare function PayAccountPaymentInputToJSON(json: any): PayAccountPaymentInput;
|
|
32
|
+
export declare function PayAccountPaymentInputToJSONTyped(value?: PayAccountPaymentInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfPayAccountPaymentInput = instanceOfPayAccountPaymentInput;
|
|
17
|
+
exports.PayAccountPaymentInputFromJSON = PayAccountPaymentInputFromJSON;
|
|
18
|
+
exports.PayAccountPaymentInputFromJSONTyped = PayAccountPaymentInputFromJSONTyped;
|
|
19
|
+
exports.PayAccountPaymentInputToJSON = PayAccountPaymentInputToJSON;
|
|
20
|
+
exports.PayAccountPaymentInputToJSONTyped = PayAccountPaymentInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PayAccountPaymentInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPayAccountPaymentInput(value) {
|
|
25
|
+
if (!('paymentMethodId' in value) || value['paymentMethodId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PayAccountPaymentInputFromJSON(json) {
|
|
30
|
+
return PayAccountPaymentInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PayAccountPaymentInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'paymentMethodId': json['paymentMethodId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PayAccountPaymentInputToJSON(json) {
|
|
41
|
+
return PayAccountPaymentInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PayAccountPaymentInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'paymentMethodId': value['paymentMethodId'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -97,6 +97,12 @@ export interface SellerAuctionListItemDto {
|
|
|
97
97
|
* @memberof SellerAuctionListItemDto
|
|
98
98
|
*/
|
|
99
99
|
bids: Array<AuctionBidDto>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {object}
|
|
103
|
+
* @memberof SellerAuctionListItemDto
|
|
104
|
+
*/
|
|
105
|
+
accountPaymentId: object | null;
|
|
100
106
|
}
|
|
101
107
|
/**
|
|
102
108
|
* @export
|
|
@@ -63,6 +63,8 @@ function instanceOfSellerAuctionListItemDto(value) {
|
|
|
63
63
|
return false;
|
|
64
64
|
if (!('bids' in value) || value['bids'] === undefined)
|
|
65
65
|
return false;
|
|
66
|
+
if (!('accountPaymentId' in value) || value['accountPaymentId'] === undefined)
|
|
67
|
+
return false;
|
|
66
68
|
return true;
|
|
67
69
|
}
|
|
68
70
|
function SellerAuctionListItemDtoFromJSON(json) {
|
|
@@ -86,6 +88,7 @@ function SellerAuctionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
88
|
'sellerAccount': (0, SellerAuctionListItemDtoSellerAccount_1.SellerAuctionListItemDtoSellerAccountFromJSON)(json['sellerAccount']),
|
|
87
89
|
'numberOfBids': json['numberOfBids'],
|
|
88
90
|
'bids': (json['bids'].map(AuctionBidDto_1.AuctionBidDtoFromJSON)),
|
|
91
|
+
'accountPaymentId': json['accountPaymentId'],
|
|
89
92
|
};
|
|
90
93
|
}
|
|
91
94
|
function SellerAuctionListItemDtoToJSON(json) {
|
|
@@ -110,5 +113,6 @@ function SellerAuctionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
110
113
|
'sellerAccount': (0, SellerAuctionListItemDtoSellerAccount_1.SellerAuctionListItemDtoSellerAccountToJSON)(value['sellerAccount']),
|
|
111
114
|
'numberOfBids': value['numberOfBids'],
|
|
112
115
|
'bids': (value['bids'].map(AuctionBidDto_1.AuctionBidDtoToJSON)),
|
|
116
|
+
'accountPaymentId': value['accountPaymentId'],
|
|
113
117
|
};
|
|
114
118
|
}
|
|
@@ -9,25 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { MoneyInput } from './MoneyInput';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
16
15
|
* @interface StartAuctionInput
|
|
17
16
|
*/
|
|
18
17
|
export interface StartAuctionInput {
|
|
19
|
-
/**
|
|
20
|
-
* Minimum bid amount
|
|
21
|
-
* @type {MoneyInput}
|
|
22
|
-
* @memberof StartAuctionInput
|
|
23
|
-
*/
|
|
24
|
-
minimumBid?: MoneyInput;
|
|
25
|
-
/**
|
|
26
|
-
* Reserve price (optional)
|
|
27
|
-
* @type {MoneyInput}
|
|
28
|
-
* @memberof StartAuctionInput
|
|
29
|
-
*/
|
|
30
|
-
reservePrice?: MoneyInput;
|
|
31
18
|
/**
|
|
32
19
|
* Auction start date
|
|
33
20
|
* @type {string}
|
|
@@ -40,6 +27,12 @@ export interface StartAuctionInput {
|
|
|
40
27
|
* @memberof StartAuctionInput
|
|
41
28
|
*/
|
|
42
29
|
endDate: string;
|
|
30
|
+
/**
|
|
31
|
+
* Initial bid amount in the smallest currency unit (e.g., cents for EUR)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StartAuctionInput
|
|
34
|
+
*/
|
|
35
|
+
initialBidAmount?: number;
|
|
43
36
|
}
|
|
44
37
|
/**
|
|
45
38
|
* Check if a given object implements the StartAuctionInput interface.
|
|
@@ -18,7 +18,6 @@ exports.StartAuctionInputFromJSON = StartAuctionInputFromJSON;
|
|
|
18
18
|
exports.StartAuctionInputFromJSONTyped = StartAuctionInputFromJSONTyped;
|
|
19
19
|
exports.StartAuctionInputToJSON = StartAuctionInputToJSON;
|
|
20
20
|
exports.StartAuctionInputToJSONTyped = StartAuctionInputToJSONTyped;
|
|
21
|
-
var MoneyInput_1 = require("./MoneyInput");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the StartAuctionInput interface.
|
|
24
23
|
*/
|
|
@@ -37,10 +36,9 @@ function StartAuctionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
36
|
return json;
|
|
38
37
|
}
|
|
39
38
|
return {
|
|
40
|
-
'minimumBid': json['minimumBid'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['minimumBid']),
|
|
41
|
-
'reservePrice': json['reservePrice'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['reservePrice']),
|
|
42
39
|
'startDate': json['startDate'],
|
|
43
40
|
'endDate': json['endDate'],
|
|
41
|
+
'initialBidAmount': json['initialBidAmount'] == null ? undefined : json['initialBidAmount'],
|
|
44
42
|
};
|
|
45
43
|
}
|
|
46
44
|
function StartAuctionInputToJSON(json) {
|
|
@@ -52,9 +50,8 @@ function StartAuctionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
50
|
return value;
|
|
53
51
|
}
|
|
54
52
|
return {
|
|
55
|
-
'minimumBid': (0, MoneyInput_1.MoneyInputToJSON)(value['minimumBid']),
|
|
56
|
-
'reservePrice': (0, MoneyInput_1.MoneyInputToJSON)(value['reservePrice']),
|
|
57
53
|
'startDate': value['startDate'],
|
|
58
54
|
'endDate': value['endDate'],
|
|
55
|
+
'initialBidAmount': value['initialBidAmount'],
|
|
59
56
|
};
|
|
60
57
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AuctionDurationDto } from './AuctionDurationDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -28,6 +29,12 @@ export interface UpdateAuctionConfigurationDto {
|
|
|
28
29
|
* @memberof UpdateAuctionConfigurationDto
|
|
29
30
|
*/
|
|
30
31
|
defaultInitialBidAmount?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof UpdateAuctionConfigurationDto
|
|
36
|
+
*/
|
|
37
|
+
paidAuctionPrice?: MoneyDto;
|
|
31
38
|
}
|
|
32
39
|
/**
|
|
33
40
|
* Check if a given object implements the UpdateAuctionConfigurationDto interface.
|
|
@@ -19,6 +19,7 @@ exports.UpdateAuctionConfigurationDtoFromJSONTyped = UpdateAuctionConfigurationD
|
|
|
19
19
|
exports.UpdateAuctionConfigurationDtoToJSON = UpdateAuctionConfigurationDtoToJSON;
|
|
20
20
|
exports.UpdateAuctionConfigurationDtoToJSONTyped = UpdateAuctionConfigurationDtoToJSONTyped;
|
|
21
21
|
var AuctionDurationDto_1 = require("./AuctionDurationDto");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the UpdateAuctionConfigurationDto interface.
|
|
24
25
|
*/
|
|
@@ -35,6 +36,7 @@ function UpdateAuctionConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
return {
|
|
36
37
|
'defaultDurationFromLead': json['defaultDurationFromLead'] == null ? undefined : (0, AuctionDurationDto_1.AuctionDurationDtoFromJSON)(json['defaultDurationFromLead']),
|
|
37
38
|
'defaultInitialBidAmount': json['defaultInitialBidAmount'] == null ? undefined : json['defaultInitialBidAmount'],
|
|
39
|
+
'paidAuctionPrice': json['paidAuctionPrice'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
function UpdateAuctionConfigurationDtoToJSON(json) {
|
|
@@ -48,5 +50,6 @@ function UpdateAuctionConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
48
50
|
return {
|
|
49
51
|
'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoToJSON)(value['defaultDurationFromLead']),
|
|
50
52
|
'defaultInitialBidAmount': value['defaultInitialBidAmount'],
|
|
53
|
+
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
51
54
|
};
|
|
52
55
|
}
|
|
@@ -122,6 +122,7 @@ export declare const UserNotificationDtoTypeEnum: {
|
|
|
122
122
|
readonly LEAD_CLOSED_SELLER: "lead.closed.seller";
|
|
123
123
|
readonly SELLER_PAYOUT_WAS_PAID: "seller_payout_was_paid";
|
|
124
124
|
readonly SELLER_INVOICE: "seller_invoice";
|
|
125
|
+
readonly SELLER_ACCOUNT_PAYMENT_INVOICE: "seller_account_payment_invoice";
|
|
125
126
|
readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
|
|
126
127
|
readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
|
|
127
128
|
readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
|
|
@@ -83,6 +83,7 @@ exports.UserNotificationDtoTypeEnum = {
|
|
|
83
83
|
LEAD_CLOSED_SELLER: 'lead.closed.seller',
|
|
84
84
|
SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
|
|
85
85
|
SELLER_INVOICE: 'seller_invoice',
|
|
86
|
+
SELLER_ACCOUNT_PAYMENT_INVOICE: 'seller_account_payment_invoice',
|
|
86
87
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
87
88
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
88
89
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
@@ -115,6 +115,7 @@ export declare const UserNotificationListItemDtoTypeEnum: {
|
|
|
115
115
|
readonly LEAD_CLOSED_SELLER: "lead.closed.seller";
|
|
116
116
|
readonly SELLER_PAYOUT_WAS_PAID: "seller_payout_was_paid";
|
|
117
117
|
readonly SELLER_INVOICE: "seller_invoice";
|
|
118
|
+
readonly SELLER_ACCOUNT_PAYMENT_INVOICE: "seller_account_payment_invoice";
|
|
118
119
|
readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
|
|
119
120
|
readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
|
|
120
121
|
readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
|
|
@@ -82,6 +82,7 @@ exports.UserNotificationListItemDtoTypeEnum = {
|
|
|
82
82
|
LEAD_CLOSED_SELLER: 'lead.closed.seller',
|
|
83
83
|
SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
|
|
84
84
|
SELLER_INVOICE: 'seller_invoice',
|
|
85
|
+
SELLER_ACCOUNT_PAYMENT_INVOICE: 'seller_account_payment_invoice',
|
|
85
86
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
86
87
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
87
88
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export * from './AccountNotificationDto';
|
|
|
9
9
|
export * from './AccountNotificationReadStatusDto';
|
|
10
10
|
export * from './AccountOnboardingDto';
|
|
11
11
|
export * from './AccountOnboardingSessionDto';
|
|
12
|
+
export * from './AccountPaymentDto';
|
|
13
|
+
export * from './AccountPaymentMethodDto';
|
|
14
|
+
export * from './AccountPaymentMethodProfileDto';
|
|
12
15
|
export * from './AccountPayoutDto';
|
|
13
16
|
export * from './AccountSettingsAffiliateCommissionDto';
|
|
14
17
|
export * from './AccountSettingsAffiliateCommissionReferralDuration';
|
|
@@ -94,6 +97,8 @@ export * from './CompanyInformationDto';
|
|
|
94
97
|
export * from './CompanyTaxIdDto';
|
|
95
98
|
export * from './ConcreteDomainTransferTaskData';
|
|
96
99
|
export * from './ConflictException';
|
|
100
|
+
export * from './CreateAccountPaymentInput';
|
|
101
|
+
export * from './CreateAccountPaymentManualTransactionInput';
|
|
97
102
|
export * from './CreateBankAccountInput';
|
|
98
103
|
export * from './CreateBuyerLeadMessageInput';
|
|
99
104
|
export * from './CreateLeadInput';
|
|
@@ -240,6 +245,7 @@ export * from './PaginateResponseLinks';
|
|
|
240
245
|
export * from './PaginateResponseMeta';
|
|
241
246
|
export * from './ParsedDomainDto';
|
|
242
247
|
export * from './PartnerAuctionDto';
|
|
248
|
+
export * from './PayAccountPaymentInput';
|
|
243
249
|
export * from './PrivateAccountGetMeResponse';
|
|
244
250
|
export * from './PublicAccountInformationDto';
|
|
245
251
|
export * from './PublicAuctionListItemDto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,9 @@ __exportStar(require("./AccountNotificationDto"), exports);
|
|
|
27
27
|
__exportStar(require("./AccountNotificationReadStatusDto"), exports);
|
|
28
28
|
__exportStar(require("./AccountOnboardingDto"), exports);
|
|
29
29
|
__exportStar(require("./AccountOnboardingSessionDto"), exports);
|
|
30
|
+
__exportStar(require("./AccountPaymentDto"), exports);
|
|
31
|
+
__exportStar(require("./AccountPaymentMethodDto"), exports);
|
|
32
|
+
__exportStar(require("./AccountPaymentMethodProfileDto"), exports);
|
|
30
33
|
__exportStar(require("./AccountPayoutDto"), exports);
|
|
31
34
|
__exportStar(require("./AccountSettingsAffiliateCommissionDto"), exports);
|
|
32
35
|
__exportStar(require("./AccountSettingsAffiliateCommissionReferralDuration"), exports);
|
|
@@ -112,6 +115,8 @@ __exportStar(require("./CompanyInformationDto"), exports);
|
|
|
112
115
|
__exportStar(require("./CompanyTaxIdDto"), exports);
|
|
113
116
|
__exportStar(require("./ConcreteDomainTransferTaskData"), exports);
|
|
114
117
|
__exportStar(require("./ConflictException"), exports);
|
|
118
|
+
__exportStar(require("./CreateAccountPaymentInput"), exports);
|
|
119
|
+
__exportStar(require("./CreateAccountPaymentManualTransactionInput"), exports);
|
|
115
120
|
__exportStar(require("./CreateBankAccountInput"), exports);
|
|
116
121
|
__exportStar(require("./CreateBuyerLeadMessageInput"), exports);
|
|
117
122
|
__exportStar(require("./CreateLeadInput"), exports);
|
|
@@ -258,6 +263,7 @@ __exportStar(require("./PaginateResponseLinks"), exports);
|
|
|
258
263
|
__exportStar(require("./PaginateResponseMeta"), exports);
|
|
259
264
|
__exportStar(require("./ParsedDomainDto"), exports);
|
|
260
265
|
__exportStar(require("./PartnerAuctionDto"), exports);
|
|
266
|
+
__exportStar(require("./PayAccountPaymentInput"), exports);
|
|
261
267
|
__exportStar(require("./PrivateAccountGetMeResponse"), exports);
|
|
262
268
|
__exportStar(require("./PublicAccountInformationDto"), exports);
|
|
263
269
|
__exportStar(require("./PublicAuctionListItemDto"), exports);
|