@randock/nameshift-api-client 0.0.258 → 0.0.260
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/README.md +3 -3
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.d.ts +6 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.js +4 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +6 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +4 -0
- package/dist/models/LeadDto.d.ts +6 -0
- package/dist/models/LeadDto.js +4 -0
- package/dist/models/SubscriptionDetailsDto.d.ts +24 -0
- package/dist/models/SubscriptionDetailsDto.js +16 -0
- package/package.json +1 -1
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts +9 -0
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +9 -0
- package/src/models/LeadDto.ts +9 -0
- package/src/models/SubscriptionDetailsDto.ts +36 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.260
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.260 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
fc52757682baa120149614fb8a1d7f53064cdc6009d5df3588960e38aa6d628e62bfdab59b66b1a55cf533fefe367f37
|
|
@@ -90,6 +90,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto {
|
|
|
90
90
|
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
91
91
|
*/
|
|
92
92
|
orderPaymentUrl: string | null;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
97
|
+
*/
|
|
98
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
93
99
|
}
|
|
94
100
|
/**
|
|
95
101
|
* @export
|
|
@@ -68,6 +68,8 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto(valu
|
|
|
68
68
|
return false;
|
|
69
69
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
70
70
|
return false;
|
|
71
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
72
|
+
return false;
|
|
71
73
|
return true;
|
|
72
74
|
}
|
|
73
75
|
function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON(json) {
|
|
@@ -90,6 +92,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped(j
|
|
|
90
92
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
91
93
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
92
94
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
95
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
93
96
|
};
|
|
94
97
|
}
|
|
95
98
|
function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSON(json) {
|
|
@@ -113,5 +116,6 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped(val
|
|
|
113
116
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
114
117
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
115
118
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
119
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
116
120
|
};
|
|
117
121
|
}
|
|
@@ -114,6 +114,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
114
114
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
115
115
|
*/
|
|
116
116
|
orderPaymentUrl: string | null;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {boolean}
|
|
120
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
121
|
+
*/
|
|
122
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
117
123
|
/**
|
|
118
124
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
119
125
|
* @type {string}
|
|
@@ -94,6 +94,8 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
|
94
94
|
return false;
|
|
95
95
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
96
96
|
return false;
|
|
97
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
98
|
+
return false;
|
|
97
99
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
98
100
|
return false;
|
|
99
101
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -124,6 +126,7 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
124
126
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
125
127
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
126
128
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
129
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
127
130
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
128
131
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
129
132
|
};
|
|
@@ -153,6 +156,7 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
153
156
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
154
157
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
155
158
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
159
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
156
160
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
157
161
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
158
162
|
};
|
package/dist/models/LeadDto.d.ts
CHANGED
package/dist/models/LeadDto.js
CHANGED
|
@@ -65,6 +65,8 @@ function instanceOfLeadDto(value) {
|
|
|
65
65
|
return false;
|
|
66
66
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
67
67
|
return false;
|
|
68
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
69
|
+
return false;
|
|
68
70
|
return true;
|
|
69
71
|
}
|
|
70
72
|
function LeadDtoFromJSON(json) {
|
|
@@ -86,6 +88,7 @@ function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
88
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
87
89
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
88
90
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
91
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
89
92
|
};
|
|
90
93
|
}
|
|
91
94
|
function LeadDtoToJSON(json) {
|
|
@@ -108,5 +111,6 @@ function LeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
108
111
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
109
112
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
110
113
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
114
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
111
115
|
};
|
|
112
116
|
}
|
|
@@ -119,6 +119,18 @@ export interface SubscriptionDetailsDto {
|
|
|
119
119
|
* @memberof SubscriptionDetailsDto
|
|
120
120
|
*/
|
|
121
121
|
installments: number | null;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof SubscriptionDetailsDto
|
|
126
|
+
*/
|
|
127
|
+
paidBuyerInstallments: number | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof SubscriptionDetailsDto
|
|
132
|
+
*/
|
|
133
|
+
paidSellerInstallments: number | null;
|
|
122
134
|
/**
|
|
123
135
|
*
|
|
124
136
|
* @type {SubscriptionDetailsBillingPeriodicityDto}
|
|
@@ -155,6 +167,18 @@ export interface SubscriptionDetailsDto {
|
|
|
155
167
|
* @memberof SubscriptionDetailsDto
|
|
156
168
|
*/
|
|
157
169
|
domainTransfers: Array<DomainTransferDetailsDto>;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {Date}
|
|
173
|
+
* @memberof SubscriptionDetailsDto
|
|
174
|
+
*/
|
|
175
|
+
renewAt: Date | null;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {Date}
|
|
179
|
+
* @memberof SubscriptionDetailsDto
|
|
180
|
+
*/
|
|
181
|
+
renewRetryAt: Date | null;
|
|
158
182
|
}
|
|
159
183
|
/**
|
|
160
184
|
* @export
|
|
@@ -80,6 +80,10 @@ function instanceOfSubscriptionDetailsDto(value) {
|
|
|
80
80
|
return false;
|
|
81
81
|
if (!('installments' in value) || value['installments'] === undefined)
|
|
82
82
|
return false;
|
|
83
|
+
if (!('paidBuyerInstallments' in value) || value['paidBuyerInstallments'] === undefined)
|
|
84
|
+
return false;
|
|
85
|
+
if (!('paidSellerInstallments' in value) || value['paidSellerInstallments'] === undefined)
|
|
86
|
+
return false;
|
|
83
87
|
if (!('billingPeriodicity' in value) || value['billingPeriodicity'] === undefined)
|
|
84
88
|
return false;
|
|
85
89
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -92,6 +96,10 @@ function instanceOfSubscriptionDetailsDto(value) {
|
|
|
92
96
|
return false;
|
|
93
97
|
if (!('domainTransfers' in value) || value['domainTransfers'] === undefined)
|
|
94
98
|
return false;
|
|
99
|
+
if (!('renewAt' in value) || value['renewAt'] === undefined)
|
|
100
|
+
return false;
|
|
101
|
+
if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined)
|
|
102
|
+
return false;
|
|
95
103
|
return true;
|
|
96
104
|
}
|
|
97
105
|
function SubscriptionDetailsDtoFromJSON(json) {
|
|
@@ -118,12 +126,16 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
118
126
|
'domain': (0, SubscriptionDetailsDomainDto_1.SubscriptionDetailsDomainDtoFromJSON)(json['domain']),
|
|
119
127
|
'type': json['type'],
|
|
120
128
|
'installments': json['installments'],
|
|
129
|
+
'paidBuyerInstallments': json['paidBuyerInstallments'],
|
|
130
|
+
'paidSellerInstallments': json['paidSellerInstallments'],
|
|
121
131
|
'billingPeriodicity': (0, SubscriptionDetailsBillingPeriodicityDto_1.SubscriptionDetailsBillingPeriodicityDtoFromJSON)(json['billingPeriodicity']),
|
|
122
132
|
'createdAt': (new Date(json['createdAt'])),
|
|
123
133
|
'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
|
|
124
134
|
'finishedAt': (json['finishedAt'] == null ? null : new Date(json['finishedAt'])),
|
|
125
135
|
'sellerInfo': (0, SubscriptionDetailsDomainSellerDto_1.SubscriptionDetailsDomainSellerDtoFromJSON)(json['sellerInfo']),
|
|
126
136
|
'domainTransfers': (json['domainTransfers'].map(DomainTransferDetailsDto_1.DomainTransferDetailsDtoFromJSON)),
|
|
137
|
+
'renewAt': (json['renewAt'] == null ? null : new Date(json['renewAt'])),
|
|
138
|
+
'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
|
|
127
139
|
};
|
|
128
140
|
}
|
|
129
141
|
function SubscriptionDetailsDtoToJSON(json) {
|
|
@@ -151,11 +163,15 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
151
163
|
'domain': (0, SubscriptionDetailsDomainDto_1.SubscriptionDetailsDomainDtoToJSON)(value['domain']),
|
|
152
164
|
'type': value['type'],
|
|
153
165
|
'installments': value['installments'],
|
|
166
|
+
'paidBuyerInstallments': value['paidBuyerInstallments'],
|
|
167
|
+
'paidSellerInstallments': value['paidSellerInstallments'],
|
|
154
168
|
'billingPeriodicity': (0, SubscriptionDetailsBillingPeriodicityDto_1.SubscriptionDetailsBillingPeriodicityDtoToJSON)(value['billingPeriodicity']),
|
|
155
169
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
156
170
|
'startedAt': (value['startedAt'] == null ? null : value['startedAt'].toISOString()),
|
|
157
171
|
'finishedAt': (value['finishedAt'] == null ? null : value['finishedAt'].toISOString()),
|
|
158
172
|
'sellerInfo': (0, SubscriptionDetailsDomainSellerDto_1.SubscriptionDetailsDomainSellerDtoToJSON)(value['sellerInfo']),
|
|
159
173
|
'domainTransfers': (value['domainTransfers'].map(DomainTransferDetailsDto_1.DomainTransferDetailsDtoToJSON)),
|
|
174
|
+
'renewAt': (value['renewAt'] == null ? null : value['renewAt'].toISOString()),
|
|
175
|
+
'renewRetryAt': (value['renewRetryAt'] == null ? null : value['renewRetryAt'].toISOString()),
|
|
160
176
|
};
|
|
161
177
|
}
|
package/package.json
CHANGED
|
@@ -113,6 +113,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto {
|
|
|
113
113
|
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
114
114
|
*/
|
|
115
115
|
orderPaymentUrl: string | null;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
120
|
+
*/
|
|
121
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
116
122
|
}
|
|
117
123
|
|
|
118
124
|
|
|
@@ -155,6 +161,7 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsD
|
|
|
155
161
|
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined) return false;
|
|
156
162
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
157
163
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
164
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
158
165
|
return true;
|
|
159
166
|
}
|
|
160
167
|
|
|
@@ -180,6 +187,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON
|
|
|
180
187
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
181
188
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
182
189
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
190
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
183
191
|
};
|
|
184
192
|
}
|
|
185
193
|
|
|
@@ -206,6 +214,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTy
|
|
|
206
214
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
207
215
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
208
216
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
217
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
209
218
|
};
|
|
210
219
|
}
|
|
211
220
|
|
|
@@ -137,6 +137,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
137
137
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
138
138
|
*/
|
|
139
139
|
orderPaymentUrl: string | null;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {boolean}
|
|
143
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
144
|
+
*/
|
|
145
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
140
146
|
/**
|
|
141
147
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
142
148
|
* @type {string}
|
|
@@ -217,6 +223,7 @@ export function instanceOfIntersectionLeadDtoWithListFieldsDto(value: object): v
|
|
|
217
223
|
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined) return false;
|
|
218
224
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
219
225
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
226
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
220
227
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
|
|
221
228
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
|
|
222
229
|
return true;
|
|
@@ -248,6 +255,7 @@ export function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ign
|
|
|
248
255
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
249
256
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
250
257
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
258
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
251
259
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
252
260
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
253
261
|
};
|
|
@@ -280,6 +288,7 @@ export function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value?: Intersec
|
|
|
280
288
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
281
289
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
282
290
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
291
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
283
292
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
284
293
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
285
294
|
};
|
package/src/models/LeadDto.ts
CHANGED
|
@@ -100,6 +100,12 @@ export interface LeadDto {
|
|
|
100
100
|
* @memberof LeadDto
|
|
101
101
|
*/
|
|
102
102
|
orderPaymentUrl: string | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof LeadDto
|
|
107
|
+
*/
|
|
108
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
|
|
@@ -141,6 +147,7 @@ export function instanceOfLeadDto(value: object): value is LeadDto {
|
|
|
141
147
|
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined) return false;
|
|
142
148
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
143
149
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
150
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
144
151
|
return true;
|
|
145
152
|
}
|
|
146
153
|
|
|
@@ -165,6 +172,7 @@ export function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
|
|
|
165
172
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
166
173
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
167
174
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
175
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
168
176
|
};
|
|
169
177
|
}
|
|
170
178
|
|
|
@@ -190,6 +198,7 @@ export function LeadDtoToJSONTyped(value?: LeadDto | null, ignoreDiscriminator:
|
|
|
190
198
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
191
199
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
192
200
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
201
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
193
202
|
};
|
|
194
203
|
}
|
|
195
204
|
|
|
@@ -172,6 +172,18 @@ export interface SubscriptionDetailsDto {
|
|
|
172
172
|
* @memberof SubscriptionDetailsDto
|
|
173
173
|
*/
|
|
174
174
|
installments: number | null;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {number}
|
|
178
|
+
* @memberof SubscriptionDetailsDto
|
|
179
|
+
*/
|
|
180
|
+
paidBuyerInstallments: number | null;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {number}
|
|
184
|
+
* @memberof SubscriptionDetailsDto
|
|
185
|
+
*/
|
|
186
|
+
paidSellerInstallments: number | null;
|
|
175
187
|
/**
|
|
176
188
|
*
|
|
177
189
|
* @type {SubscriptionDetailsBillingPeriodicityDto}
|
|
@@ -208,6 +220,18 @@ export interface SubscriptionDetailsDto {
|
|
|
208
220
|
* @memberof SubscriptionDetailsDto
|
|
209
221
|
*/
|
|
210
222
|
domainTransfers: Array<DomainTransferDetailsDto>;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {Date}
|
|
226
|
+
* @memberof SubscriptionDetailsDto
|
|
227
|
+
*/
|
|
228
|
+
renewAt: Date | null;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @type {Date}
|
|
232
|
+
* @memberof SubscriptionDetailsDto
|
|
233
|
+
*/
|
|
234
|
+
renewRetryAt: Date | null;
|
|
211
235
|
}
|
|
212
236
|
|
|
213
237
|
|
|
@@ -253,12 +277,16 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
|
|
|
253
277
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
254
278
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
255
279
|
if (!('installments' in value) || value['installments'] === undefined) return false;
|
|
280
|
+
if (!('paidBuyerInstallments' in value) || value['paidBuyerInstallments'] === undefined) return false;
|
|
281
|
+
if (!('paidSellerInstallments' in value) || value['paidSellerInstallments'] === undefined) return false;
|
|
256
282
|
if (!('billingPeriodicity' in value) || value['billingPeriodicity'] === undefined) return false;
|
|
257
283
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
258
284
|
if (!('startedAt' in value) || value['startedAt'] === undefined) return false;
|
|
259
285
|
if (!('finishedAt' in value) || value['finishedAt'] === undefined) return false;
|
|
260
286
|
if (!('sellerInfo' in value) || value['sellerInfo'] === undefined) return false;
|
|
261
287
|
if (!('domainTransfers' in value) || value['domainTransfers'] === undefined) return false;
|
|
288
|
+
if (!('renewAt' in value) || value['renewAt'] === undefined) return false;
|
|
289
|
+
if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined) return false;
|
|
262
290
|
return true;
|
|
263
291
|
}
|
|
264
292
|
|
|
@@ -288,12 +316,16 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
288
316
|
'domain': SubscriptionDetailsDomainDtoFromJSON(json['domain']),
|
|
289
317
|
'type': json['type'],
|
|
290
318
|
'installments': json['installments'],
|
|
319
|
+
'paidBuyerInstallments': json['paidBuyerInstallments'],
|
|
320
|
+
'paidSellerInstallments': json['paidSellerInstallments'],
|
|
291
321
|
'billingPeriodicity': SubscriptionDetailsBillingPeriodicityDtoFromJSON(json['billingPeriodicity']),
|
|
292
322
|
'createdAt': (new Date(json['createdAt'])),
|
|
293
323
|
'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
|
|
294
324
|
'finishedAt': (json['finishedAt'] == null ? null : new Date(json['finishedAt'])),
|
|
295
325
|
'sellerInfo': SubscriptionDetailsDomainSellerDtoFromJSON(json['sellerInfo']),
|
|
296
326
|
'domainTransfers': ((json['domainTransfers'] as Array<any>).map(DomainTransferDetailsDtoFromJSON)),
|
|
327
|
+
'renewAt': (json['renewAt'] == null ? null : new Date(json['renewAt'])),
|
|
328
|
+
'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
|
|
297
329
|
};
|
|
298
330
|
}
|
|
299
331
|
|
|
@@ -324,12 +356,16 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
|
|
|
324
356
|
'domain': SubscriptionDetailsDomainDtoToJSON(value['domain']),
|
|
325
357
|
'type': value['type'],
|
|
326
358
|
'installments': value['installments'],
|
|
359
|
+
'paidBuyerInstallments': value['paidBuyerInstallments'],
|
|
360
|
+
'paidSellerInstallments': value['paidSellerInstallments'],
|
|
327
361
|
'billingPeriodicity': SubscriptionDetailsBillingPeriodicityDtoToJSON(value['billingPeriodicity']),
|
|
328
362
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
329
363
|
'startedAt': (value['startedAt'] == null ? null : (value['startedAt'] as any).toISOString()),
|
|
330
364
|
'finishedAt': (value['finishedAt'] == null ? null : (value['finishedAt'] as any).toISOString()),
|
|
331
365
|
'sellerInfo': SubscriptionDetailsDomainSellerDtoToJSON(value['sellerInfo']),
|
|
332
366
|
'domainTransfers': ((value['domainTransfers'] as Array<any>).map(DomainTransferDetailsDtoToJSON)),
|
|
367
|
+
'renewAt': (value['renewAt'] == null ? null : (value['renewAt'] as any).toISOString()),
|
|
368
|
+
'renewRetryAt': (value['renewRetryAt'] == null ? null : (value['renewRetryAt'] as any).toISOString()),
|
|
333
369
|
};
|
|
334
370
|
}
|
|
335
371
|
|