@randock/nameshift-api-client 0.0.258 → 0.0.259
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.259
|
|
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.259 --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
|
+
66249f3e0d6a0b490c5ecceaa6e0497422e44144879026615e7d6df7f8c79dc48fa05b453df9e5992858bb6239f47b78
|
|
@@ -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
|
@@ -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
|
|