@randock/nameshift-api-client 0.0.278 → 0.0.280

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.278
1
+ ## @randock/nameshift-api-client@0.0.280
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.278 --save
39
+ npm install @randock/nameshift-api-client@0.0.280 --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
- 168e067783527c183d729160d5252b016b806dba21bf7caa3ab79bc2f72555e1cca4a61f1cdbe8cf3f273a17e597fd4d
47
+ 916364c60c2f041b1fe10cda996946d0d4e8ab793c23104407dc258b0913aba7fc5c3894acf0631c0368aaa391ac15f9
@@ -70,6 +70,7 @@ export interface BuyerDomainTransferListItemDto {
70
70
  */
71
71
  export declare const BuyerDomainTransferListItemDtoInvoiceStatusEnum: {
72
72
  readonly DRAFT: "draft";
73
+ readonly PENDING_PAYMENT: "pending_payment";
73
74
  readonly PAID: "paid";
74
75
  readonly CANCELLED: "cancelled";
75
76
  };
@@ -25,6 +25,7 @@ var BuyerDomainTransferListItemDomainDto_1 = require("./BuyerDomainTransferListI
25
25
  */
26
26
  exports.BuyerDomainTransferListItemDtoInvoiceStatusEnum = {
27
27
  DRAFT: 'draft',
28
+ PENDING_PAYMENT: 'pending_payment',
28
29
  PAID: 'paid',
29
30
  CANCELLED: 'cancelled'
30
31
  };
@@ -27,6 +27,7 @@ export interface ChangeOrderStatusInput {
27
27
  */
28
28
  export declare const ChangeOrderStatusInputStatusEnum: {
29
29
  readonly DRAFT: "draft";
30
+ readonly PENDING_PAYMENT: "pending_payment";
30
31
  readonly PAID: "paid";
31
32
  readonly CANCELLED: "cancelled";
32
33
  };
@@ -24,6 +24,7 @@ exports.ChangeOrderStatusInputToJSONTyped = ChangeOrderStatusInputToJSONTyped;
24
24
  */
25
25
  exports.ChangeOrderStatusInputStatusEnum = {
26
26
  DRAFT: 'draft',
27
+ PENDING_PAYMENT: 'pending_payment',
27
28
  PAID: 'paid',
28
29
  CANCELLED: 'cancelled'
29
30
  };
@@ -72,6 +72,7 @@ export interface InvoiceDto {
72
72
  */
73
73
  export declare const InvoiceDtoStatusEnum: {
74
74
  readonly DRAFT: "draft";
75
+ readonly PENDING_PAYMENT: "pending_payment";
75
76
  readonly PAID: "paid";
76
77
  readonly CANCELLED: "cancelled";
77
78
  };
@@ -27,6 +27,7 @@ var MoneyDto_1 = require("./MoneyDto");
27
27
  */
28
28
  exports.InvoiceDtoStatusEnum = {
29
29
  DRAFT: 'draft',
30
+ PENDING_PAYMENT: 'pending_payment',
30
31
  PAID: 'paid',
31
32
  CANCELLED: 'cancelled'
32
33
  };
@@ -110,6 +110,7 @@ export interface OrderDto {
110
110
  */
111
111
  export declare const OrderDtoStatusEnum: {
112
112
  readonly DRAFT: "draft";
113
+ readonly PENDING_PAYMENT: "pending_payment";
113
114
  readonly PAID: "paid";
114
115
  readonly CANCELLED: "cancelled";
115
116
  };
@@ -29,6 +29,7 @@ var AddressDto_1 = require("./AddressDto");
29
29
  */
30
30
  exports.OrderDtoStatusEnum = {
31
31
  DRAFT: 'draft',
32
+ PENDING_PAYMENT: 'pending_payment',
32
33
  PAID: 'paid',
33
34
  CANCELLED: 'cancelled'
34
35
  };
@@ -85,6 +85,7 @@ export interface OrderListItemDto {
85
85
  */
86
86
  export declare const OrderListItemDtoStatusEnum: {
87
87
  readonly DRAFT: "draft";
88
+ readonly PENDING_PAYMENT: "pending_payment";
88
89
  readonly PAID: "paid";
89
90
  readonly CANCELLED: "cancelled";
90
91
  };
@@ -28,6 +28,7 @@ var OrderListItemDtoSellerAccount_1 = require("./OrderListItemDtoSellerAccount")
28
28
  */
29
29
  exports.OrderListItemDtoStatusEnum = {
30
30
  DRAFT: 'draft',
31
+ PENDING_PAYMENT: 'pending_payment',
31
32
  PAID: 'paid',
32
33
  CANCELLED: 'cancelled'
33
34
  };
@@ -203,6 +203,18 @@ export interface SubscriptionDetailsDto {
203
203
  * @memberof SubscriptionDetailsDto
204
204
  */
205
205
  renewStatusReason: SubscriptionDetailsDtoRenewStatusReasonEnum | null;
206
+ /**
207
+ *
208
+ * @type {Date}
209
+ * @memberof SubscriptionDetailsDto
210
+ */
211
+ scheduledCancellationAt: Date | null;
212
+ /**
213
+ *
214
+ * @type {string}
215
+ * @memberof SubscriptionDetailsDto
216
+ */
217
+ scheduledCancellationReason: string | null;
206
218
  }
207
219
  /**
208
220
  * @export
@@ -123,6 +123,10 @@ function instanceOfSubscriptionDetailsDto(value) {
123
123
  return false;
124
124
  if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined)
125
125
  return false;
126
+ if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined)
127
+ return false;
128
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined)
129
+ return false;
126
130
  return true;
127
131
  }
128
132
  function SubscriptionDetailsDtoFromJSON(json) {
@@ -163,6 +167,8 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
163
167
  'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
164
168
  'renewStatus': json['renewStatus'],
165
169
  'renewStatusReason': json['renewStatusReason'],
170
+ 'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
171
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
166
172
  };
167
173
  }
168
174
  function SubscriptionDetailsDtoToJSON(json) {
@@ -204,5 +210,7 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
204
210
  'renewRetryAt': (value['renewRetryAt'] == null ? null : value['renewRetryAt'].toISOString()),
205
211
  'renewStatus': value['renewStatus'],
206
212
  'renewStatusReason': value['renewStatusReason'],
213
+ 'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : value['scheduledCancellationAt'].toISOString()),
214
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
207
215
  };
208
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.278",
3
+ "version": "0.0.280",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -83,6 +83,7 @@ export interface BuyerDomainTransferListItemDto {
83
83
  */
84
84
  export const BuyerDomainTransferListItemDtoInvoiceStatusEnum = {
85
85
  DRAFT: 'draft',
86
+ PENDING_PAYMENT: 'pending_payment',
86
87
  PAID: 'paid',
87
88
  CANCELLED: 'cancelled'
88
89
  } as const;
@@ -33,6 +33,7 @@ export interface ChangeOrderStatusInput {
33
33
  */
34
34
  export const ChangeOrderStatusInputStatusEnum = {
35
35
  DRAFT: 'draft',
36
+ PENDING_PAYMENT: 'pending_payment',
36
37
  PAID: 'paid',
37
38
  CANCELLED: 'cancelled'
38
39
  } as const;
@@ -97,6 +97,7 @@ export interface InvoiceDto {
97
97
  */
98
98
  export const InvoiceDtoStatusEnum = {
99
99
  DRAFT: 'draft',
100
+ PENDING_PAYMENT: 'pending_payment',
100
101
  PAID: 'paid',
101
102
  CANCELLED: 'cancelled'
102
103
  } as const;
@@ -147,6 +147,7 @@ export interface OrderDto {
147
147
  */
148
148
  export const OrderDtoStatusEnum = {
149
149
  DRAFT: 'draft',
150
+ PENDING_PAYMENT: 'pending_payment',
150
151
  PAID: 'paid',
151
152
  CANCELLED: 'cancelled'
152
153
  } as const;
@@ -116,6 +116,7 @@ export interface OrderListItemDto {
116
116
  */
117
117
  export const OrderListItemDtoStatusEnum = {
118
118
  DRAFT: 'draft',
119
+ PENDING_PAYMENT: 'pending_payment',
119
120
  PAID: 'paid',
120
121
  CANCELLED: 'cancelled'
121
122
  } as const;
@@ -256,6 +256,18 @@ export interface SubscriptionDetailsDto {
256
256
  * @memberof SubscriptionDetailsDto
257
257
  */
258
258
  renewStatusReason: SubscriptionDetailsDtoRenewStatusReasonEnum | null;
259
+ /**
260
+ *
261
+ * @type {Date}
262
+ * @memberof SubscriptionDetailsDto
263
+ */
264
+ scheduledCancellationAt: Date | null;
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof SubscriptionDetailsDto
269
+ */
270
+ scheduledCancellationReason: string | null;
259
271
  }
260
272
 
261
273
 
@@ -334,6 +346,8 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
334
346
  if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined) return false;
335
347
  if (!('renewStatus' in value) || value['renewStatus'] === undefined) return false;
336
348
  if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined) return false;
349
+ if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined) return false;
350
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined) return false;
337
351
  return true;
338
352
  }
339
353
 
@@ -377,6 +391,8 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
377
391
  'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
378
392
  'renewStatus': json['renewStatus'],
379
393
  'renewStatusReason': json['renewStatusReason'],
394
+ 'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
395
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
380
396
  };
381
397
  }
382
398
 
@@ -421,6 +437,8 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
421
437
  'renewRetryAt': (value['renewRetryAt'] == null ? null : (value['renewRetryAt'] as any).toISOString()),
422
438
  'renewStatus': value['renewStatus'],
423
439
  'renewStatusReason': value['renewStatusReason'],
440
+ 'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : (value['scheduledCancellationAt'] as any).toISOString()),
441
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
424
442
  };
425
443
  }
426
444