@randock/nameshift-api-client 0.0.398 → 0.0.399
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/OrderDto.d.ts +6 -0
- package/dist/models/OrderDto.js +4 -0
- package/dist/models/SubscriptionDto.d.ts +6 -0
- package/dist/models/SubscriptionDto.js +4 -0
- package/package.json +1 -1
- package/src/models/OrderDto.ts +9 -0
- package/src/models/SubscriptionDto.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.399
|
|
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.399 --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
|
+
7815fca497b7208d61a059af2228c40d5249e4c39b8669f92a2e57595224fa13b9f6f0b64f115589defa031c7214da45
|
|
@@ -128,6 +128,12 @@ export interface OrderDto {
|
|
|
128
128
|
* @memberof OrderDto
|
|
129
129
|
*/
|
|
130
130
|
enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @memberof OrderDto
|
|
135
|
+
*/
|
|
136
|
+
canBeProforma: boolean;
|
|
131
137
|
}
|
|
132
138
|
/**
|
|
133
139
|
* @export
|
package/dist/models/OrderDto.js
CHANGED
|
@@ -80,6 +80,8 @@ function instanceOfOrderDto(value) {
|
|
|
80
80
|
return false;
|
|
81
81
|
if (!('enabledPaymentMethods' in value) || value['enabledPaymentMethods'] === undefined)
|
|
82
82
|
return false;
|
|
83
|
+
if (!('canBeProforma' in value) || value['canBeProforma'] === undefined)
|
|
84
|
+
return false;
|
|
83
85
|
return true;
|
|
84
86
|
}
|
|
85
87
|
function OrderDtoFromJSON(json) {
|
|
@@ -108,6 +110,7 @@ function OrderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
108
110
|
'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoFromJSON)(json['transaction']),
|
|
109
111
|
'hasPendingTransaction': json['hasPendingTransaction'],
|
|
110
112
|
'enabledPaymentMethods': json['enabledPaymentMethods'],
|
|
113
|
+
'canBeProforma': json['canBeProforma'],
|
|
111
114
|
};
|
|
112
115
|
}
|
|
113
116
|
function OrderDtoToJSON(json) {
|
|
@@ -137,5 +140,6 @@ function OrderDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
137
140
|
'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoToJSON)(value['transaction']),
|
|
138
141
|
'hasPendingTransaction': value['hasPendingTransaction'],
|
|
139
142
|
'enabledPaymentMethods': value['enabledPaymentMethods'],
|
|
143
|
+
'canBeProforma': value['canBeProforma'],
|
|
140
144
|
};
|
|
141
145
|
}
|
|
@@ -185,6 +185,12 @@ export interface SubscriptionDto {
|
|
|
185
185
|
* @memberof SubscriptionDto
|
|
186
186
|
*/
|
|
187
187
|
leaseToOwn: SubscriptionLeaseToOwnConfigurationDto | null;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {boolean}
|
|
191
|
+
* @memberof SubscriptionDto
|
|
192
|
+
*/
|
|
193
|
+
canBeProforma: boolean;
|
|
188
194
|
}
|
|
189
195
|
/**
|
|
190
196
|
* @export
|
|
@@ -112,6 +112,8 @@ function instanceOfSubscriptionDto(value) {
|
|
|
112
112
|
return false;
|
|
113
113
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
114
114
|
return false;
|
|
115
|
+
if (!('canBeProforma' in value) || value['canBeProforma'] === undefined)
|
|
116
|
+
return false;
|
|
115
117
|
return true;
|
|
116
118
|
}
|
|
117
119
|
function SubscriptionDtoFromJSON(json) {
|
|
@@ -149,6 +151,7 @@ function SubscriptionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
149
151
|
'hasLead': json['hasLead'],
|
|
150
152
|
'leadStatus': json['leadStatus'],
|
|
151
153
|
'leaseToOwn': (0, SubscriptionLeaseToOwnConfigurationDto_1.SubscriptionLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
154
|
+
'canBeProforma': json['canBeProforma'],
|
|
152
155
|
};
|
|
153
156
|
}
|
|
154
157
|
function SubscriptionDtoToJSON(json) {
|
|
@@ -187,5 +190,6 @@ function SubscriptionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
187
190
|
'hasLead': value['hasLead'],
|
|
188
191
|
'leadStatus': value['leadStatus'],
|
|
189
192
|
'leaseToOwn': (0, SubscriptionLeaseToOwnConfigurationDto_1.SubscriptionLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
193
|
+
'canBeProforma': value['canBeProforma'],
|
|
190
194
|
};
|
|
191
195
|
}
|
package/package.json
CHANGED
package/src/models/OrderDto.ts
CHANGED
|
@@ -163,6 +163,12 @@ export interface OrderDto {
|
|
|
163
163
|
* @memberof OrderDto
|
|
164
164
|
*/
|
|
165
165
|
enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {boolean}
|
|
169
|
+
* @memberof OrderDto
|
|
170
|
+
*/
|
|
171
|
+
canBeProforma: boolean;
|
|
166
172
|
}
|
|
167
173
|
|
|
168
174
|
|
|
@@ -209,6 +215,7 @@ export function instanceOfOrderDto(value: object): value is OrderDto {
|
|
|
209
215
|
if (!('transaction' in value) || value['transaction'] === undefined) return false;
|
|
210
216
|
if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined) return false;
|
|
211
217
|
if (!('enabledPaymentMethods' in value) || value['enabledPaymentMethods'] === undefined) return false;
|
|
218
|
+
if (!('canBeProforma' in value) || value['canBeProforma'] === undefined) return false;
|
|
212
219
|
return true;
|
|
213
220
|
}
|
|
214
221
|
|
|
@@ -240,6 +247,7 @@ export function OrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
240
247
|
'transaction': InvoiceTransactionDtoFromJSON(json['transaction']),
|
|
241
248
|
'hasPendingTransaction': json['hasPendingTransaction'],
|
|
242
249
|
'enabledPaymentMethods': json['enabledPaymentMethods'],
|
|
250
|
+
'canBeProforma': json['canBeProforma'],
|
|
243
251
|
};
|
|
244
252
|
}
|
|
245
253
|
|
|
@@ -272,6 +280,7 @@ export function OrderDtoToJSONTyped(value?: OrderDto | null, ignoreDiscriminator
|
|
|
272
280
|
'transaction': InvoiceTransactionDtoToJSON(value['transaction']),
|
|
273
281
|
'hasPendingTransaction': value['hasPendingTransaction'],
|
|
274
282
|
'enabledPaymentMethods': value['enabledPaymentMethods'],
|
|
283
|
+
'canBeProforma': value['canBeProforma'],
|
|
275
284
|
};
|
|
276
285
|
}
|
|
277
286
|
|
|
@@ -238,6 +238,12 @@ export interface SubscriptionDto {
|
|
|
238
238
|
* @memberof SubscriptionDto
|
|
239
239
|
*/
|
|
240
240
|
leaseToOwn: SubscriptionLeaseToOwnConfigurationDto | null;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {boolean}
|
|
244
|
+
* @memberof SubscriptionDto
|
|
245
|
+
*/
|
|
246
|
+
canBeProforma: boolean;
|
|
241
247
|
}
|
|
242
248
|
|
|
243
249
|
|
|
@@ -306,6 +312,7 @@ export function instanceOfSubscriptionDto(value: object): value is SubscriptionD
|
|
|
306
312
|
if (!('hasLead' in value) || value['hasLead'] === undefined) return false;
|
|
307
313
|
if (!('leadStatus' in value) || value['leadStatus'] === undefined) return false;
|
|
308
314
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
315
|
+
if (!('canBeProforma' in value) || value['canBeProforma'] === undefined) return false;
|
|
309
316
|
return true;
|
|
310
317
|
}
|
|
311
318
|
|
|
@@ -346,6 +353,7 @@ export function SubscriptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
346
353
|
'hasLead': json['hasLead'],
|
|
347
354
|
'leadStatus': json['leadStatus'],
|
|
348
355
|
'leaseToOwn': SubscriptionLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
356
|
+
'canBeProforma': json['canBeProforma'],
|
|
349
357
|
};
|
|
350
358
|
}
|
|
351
359
|
|
|
@@ -387,6 +395,7 @@ export function SubscriptionDtoToJSONTyped(value?: SubscriptionDto | null, ignor
|
|
|
387
395
|
'hasLead': value['hasLead'],
|
|
388
396
|
'leadStatus': value['leadStatus'],
|
|
389
397
|
'leaseToOwn': SubscriptionLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
398
|
+
'canBeProforma': value['canBeProforma'],
|
|
390
399
|
};
|
|
391
400
|
}
|
|
392
401
|
|