@randock/nameshift-api-client 0.0.266 → 0.0.268

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.266
1
+ ## @randock/nameshift-api-client@0.0.268
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.266 --save
39
+ npm install @randock/nameshift-api-client@0.0.268 --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
- f8566b38e2ef07550df50b5eb1bd37ddabb63452674501c0c6e1c1e24bc4c87e98ce3e3ca3d3646c717e8bb40ed73854
47
+ 197c98a1d98a228883405025e18b9bf2e140049c0b3c27d2b32351e77848220ce1e24e00192e8342f89eaa674d5248b3
@@ -11,6 +11,9 @@
11
11
  */
12
12
  import * as runtime from '../runtime';
13
13
  import type { DomainSalesInformationDto, DomainTldsDto, List200Response3, SortDto } from '../models/index';
14
+ export interface DomainsPublicApiGetAllTldsRequest {
15
+ seller?: string;
16
+ }
14
17
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
15
18
  domainName: string;
16
19
  includeStats?: boolean;
@@ -32,11 +35,11 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
32
35
  /**
33
36
  *
34
37
  */
35
- getAllTldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTldsDto>>;
38
+ getAllTldsRaw(requestParameters: DomainsPublicApiGetAllTldsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTldsDto>>;
36
39
  /**
37
40
  *
38
41
  */
39
- getAllTlds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto>;
42
+ getAllTlds(requestParameters?: DomainsPublicApiGetAllTldsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto>;
40
43
  /**
41
44
  *
42
45
  */
@@ -78,13 +78,16 @@ var DomainsPublicApi = /** @class */ (function (_super) {
78
78
  /**
79
79
  *
80
80
  */
81
- DomainsPublicApi.prototype.getAllTldsRaw = function (initOverrides) {
81
+ DomainsPublicApi.prototype.getAllTldsRaw = function (requestParameters, initOverrides) {
82
82
  return __awaiter(this, void 0, void 0, function () {
83
83
  var queryParameters, headerParameters, response;
84
84
  return __generator(this, function (_a) {
85
85
  switch (_a.label) {
86
86
  case 0:
87
87
  queryParameters = {};
88
+ if (requestParameters['seller'] != null) {
89
+ queryParameters['seller'] = requestParameters['seller'];
90
+ }
88
91
  headerParameters = {};
89
92
  return [4 /*yield*/, this.request({
90
93
  path: "/domains/tlds",
@@ -102,12 +105,13 @@ var DomainsPublicApi = /** @class */ (function (_super) {
102
105
  /**
103
106
  *
104
107
  */
105
- DomainsPublicApi.prototype.getAllTlds = function (initOverrides) {
106
- return __awaiter(this, void 0, void 0, function () {
108
+ DomainsPublicApi.prototype.getAllTlds = function () {
109
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
107
110
  var response;
111
+ if (requestParameters === void 0) { requestParameters = {}; }
108
112
  return __generator(this, function (_a) {
109
113
  switch (_a.label) {
110
- case 0: return [4 /*yield*/, this.getAllTldsRaw(initOverrides)];
114
+ case 0: return [4 /*yield*/, this.getAllTldsRaw(requestParameters, initOverrides)];
111
115
  case 1:
112
116
  response = _a.sent();
113
117
  return [4 /*yield*/, response.value()];
@@ -53,6 +53,12 @@ export interface BuyerSubscriptionListItemDto {
53
53
  * @memberof BuyerSubscriptionListItemDto
54
54
  */
55
55
  scheduledCancellationAt: Date | null;
56
+ /**
57
+ * The subscription schedule cancellation reason
58
+ * @type {string}
59
+ * @memberof BuyerSubscriptionListItemDto
60
+ */
61
+ scheduledCancellationReason: BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum | null;
56
62
  /**
57
63
  * The subscription domain information
58
64
  * @type {BuyerSubscriptionListItemDtoDomainInformation}
@@ -115,6 +121,14 @@ export declare const BuyerSubscriptionListItemDtoTypeEnum: {
115
121
  readonly LEASE_TO_OWN: "lease_to_own";
116
122
  };
117
123
  export type BuyerSubscriptionListItemDtoTypeEnum = typeof BuyerSubscriptionListItemDtoTypeEnum[keyof typeof BuyerSubscriptionListItemDtoTypeEnum];
124
+ /**
125
+ * @export
126
+ */
127
+ export declare const BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum: {
128
+ readonly IMPOSSIBLE_TO_RENEW: "impossible_to_renew";
129
+ readonly REQUESTED_BY_USER: "requested_by_user";
130
+ };
131
+ export type BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum = typeof BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum[keyof typeof BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum];
118
132
  /**
119
133
  * Check if a given object implements the BuyerSubscriptionListItemDto interface.
120
134
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BuyerSubscriptionListItemDtoTypeEnum = exports.BuyerSubscriptionListItemDtoStatusEnum = void 0;
16
+ exports.BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum = exports.BuyerSubscriptionListItemDtoTypeEnum = exports.BuyerSubscriptionListItemDtoStatusEnum = void 0;
17
17
  exports.instanceOfBuyerSubscriptionListItemDto = instanceOfBuyerSubscriptionListItemDto;
18
18
  exports.BuyerSubscriptionListItemDtoFromJSON = BuyerSubscriptionListItemDtoFromJSON;
19
19
  exports.BuyerSubscriptionListItemDtoFromJSONTyped = BuyerSubscriptionListItemDtoFromJSONTyped;
@@ -38,6 +38,13 @@ exports.BuyerSubscriptionListItemDtoTypeEnum = {
38
38
  RENT: 'rent',
39
39
  LEASE_TO_OWN: 'lease_to_own'
40
40
  };
41
+ /**
42
+ * @export
43
+ */
44
+ exports.BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum = {
45
+ IMPOSSIBLE_TO_RENEW: 'impossible_to_renew',
46
+ REQUESTED_BY_USER: 'requested_by_user'
47
+ };
41
48
  /**
42
49
  * Check if a given object implements the BuyerSubscriptionListItemDto interface.
43
50
  */
@@ -54,6 +61,8 @@ function instanceOfBuyerSubscriptionListItemDto(value) {
54
61
  return false;
55
62
  if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined)
56
63
  return false;
64
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined)
65
+ return false;
57
66
  if (!('domain' in value) || value['domain'] === undefined)
58
67
  return false;
59
68
  if (!('basePrice' in value) || value['basePrice'] === undefined)
@@ -84,6 +93,7 @@ function BuyerSubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
84
93
  'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
85
94
  'createdAt': (new Date(json['createdAt'])),
86
95
  'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
96
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
87
97
  'domain': (0, BuyerSubscriptionListItemDtoDomainInformation_1.BuyerSubscriptionListItemDtoDomainInformationFromJSON)(json['domain']),
88
98
  'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
89
99
  'recurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['recurringPrice']),
@@ -108,6 +118,7 @@ function BuyerSubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
108
118
  'startedAt': (value['startedAt'] == null ? null : value['startedAt'].toISOString()),
109
119
  'createdAt': ((value['createdAt']).toISOString()),
110
120
  'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : value['scheduledCancellationAt'].toISOString()),
121
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
111
122
  'domain': (0, BuyerSubscriptionListItemDtoDomainInformation_1.BuyerSubscriptionListItemDtoDomainInformationToJSON)(value['domain']),
112
123
  'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
113
124
  'recurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['recurringPrice']),
@@ -53,6 +53,18 @@ export interface SubscriptionDetailsDto {
53
53
  * @memberof SubscriptionDetailsDto
54
54
  */
55
55
  totalPrice: MoneyDto;
56
+ /**
57
+ *
58
+ * @type {MoneyDto}
59
+ * @memberof SubscriptionDetailsDto
60
+ */
61
+ buyerRecurringPrice: MoneyDto;
62
+ /**
63
+ *
64
+ * @type {MoneyDto}
65
+ * @memberof SubscriptionDetailsDto
66
+ */
67
+ sellerRecurringPrice: MoneyDto;
56
68
  /**
57
69
  *
58
70
  * @type {Array<InvoiceItemDto>}
@@ -179,6 +191,18 @@ export interface SubscriptionDetailsDto {
179
191
  * @memberof SubscriptionDetailsDto
180
192
  */
181
193
  renewRetryAt: Date | null;
194
+ /**
195
+ *
196
+ * @type {string}
197
+ * @memberof SubscriptionDetailsDto
198
+ */
199
+ renewStatus: SubscriptionDetailsDtoRenewStatusEnum | null;
200
+ /**
201
+ *
202
+ * @type {string}
203
+ * @memberof SubscriptionDetailsDto
204
+ */
205
+ renewStatusReason: SubscriptionDetailsDtoRenewStatusReasonEnum | null;
182
206
  }
183
207
  /**
184
208
  * @export
@@ -199,6 +223,23 @@ export declare const SubscriptionDetailsDtoTypeEnum: {
199
223
  readonly LEASE_TO_OWN: "lease_to_own";
200
224
  };
201
225
  export type SubscriptionDetailsDtoTypeEnum = typeof SubscriptionDetailsDtoTypeEnum[keyof typeof SubscriptionDetailsDtoTypeEnum];
226
+ /**
227
+ * @export
228
+ */
229
+ export declare const SubscriptionDetailsDtoRenewStatusEnum: {
230
+ readonly SUCCESS: "success";
231
+ readonly ERROR: "error";
232
+ readonly IN_PROGRESS: "in_progress";
233
+ };
234
+ export type SubscriptionDetailsDtoRenewStatusEnum = typeof SubscriptionDetailsDtoRenewStatusEnum[keyof typeof SubscriptionDetailsDtoRenewStatusEnum];
235
+ /**
236
+ * @export
237
+ */
238
+ export declare const SubscriptionDetailsDtoRenewStatusReasonEnum: {
239
+ readonly IMPOSSIBLE_TO_PAY: "impossible_to_pay";
240
+ readonly REQUIRE_RETRY: "require_retry";
241
+ };
242
+ export type SubscriptionDetailsDtoRenewStatusReasonEnum = typeof SubscriptionDetailsDtoRenewStatusReasonEnum[keyof typeof SubscriptionDetailsDtoRenewStatusReasonEnum];
202
243
  /**
203
244
  * Check if a given object implements the SubscriptionDetailsDto interface.
204
245
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SubscriptionDetailsDtoTypeEnum = exports.SubscriptionDetailsDtoStatusEnum = void 0;
16
+ exports.SubscriptionDetailsDtoRenewStatusReasonEnum = exports.SubscriptionDetailsDtoRenewStatusEnum = exports.SubscriptionDetailsDtoTypeEnum = exports.SubscriptionDetailsDtoStatusEnum = void 0;
17
17
  exports.instanceOfSubscriptionDetailsDto = instanceOfSubscriptionDetailsDto;
18
18
  exports.SubscriptionDetailsDtoFromJSON = SubscriptionDetailsDtoFromJSON;
19
19
  exports.SubscriptionDetailsDtoFromJSONTyped = SubscriptionDetailsDtoFromJSONTyped;
@@ -44,6 +44,21 @@ exports.SubscriptionDetailsDtoTypeEnum = {
44
44
  RENT: 'rent',
45
45
  LEASE_TO_OWN: 'lease_to_own'
46
46
  };
47
+ /**
48
+ * @export
49
+ */
50
+ exports.SubscriptionDetailsDtoRenewStatusEnum = {
51
+ SUCCESS: 'success',
52
+ ERROR: 'error',
53
+ IN_PROGRESS: 'in_progress'
54
+ };
55
+ /**
56
+ * @export
57
+ */
58
+ exports.SubscriptionDetailsDtoRenewStatusReasonEnum = {
59
+ IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
60
+ REQUIRE_RETRY: 'require_retry'
61
+ };
47
62
  /**
48
63
  * Check if a given object implements the SubscriptionDetailsDto interface.
49
64
  */
@@ -58,6 +73,10 @@ function instanceOfSubscriptionDetailsDto(value) {
58
73
  return false;
59
74
  if (!('totalPrice' in value) || value['totalPrice'] === undefined)
60
75
  return false;
76
+ if (!('buyerRecurringPrice' in value) || value['buyerRecurringPrice'] === undefined)
77
+ return false;
78
+ if (!('sellerRecurringPrice' in value) || value['sellerRecurringPrice'] === undefined)
79
+ return false;
61
80
  if (!('items' in value) || value['items'] === undefined)
62
81
  return false;
63
82
  if (!('firstName' in value) || value['firstName'] === undefined)
@@ -100,6 +119,10 @@ function instanceOfSubscriptionDetailsDto(value) {
100
119
  return false;
101
120
  if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined)
102
121
  return false;
122
+ if (!('renewStatus' in value) || value['renewStatus'] === undefined)
123
+ return false;
124
+ if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined)
125
+ return false;
103
126
  return true;
104
127
  }
105
128
  function SubscriptionDetailsDtoFromJSON(json) {
@@ -115,6 +138,8 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
115
138
  'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
116
139
  'recurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['recurringPrice']),
117
140
  'totalPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalPrice']),
141
+ 'buyerRecurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyerRecurringPrice']),
142
+ 'sellerRecurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['sellerRecurringPrice']),
118
143
  'items': (json['items'].map(InvoiceItemDto_1.InvoiceItemDtoFromJSON)),
119
144
  'firstName': json['firstName'],
120
145
  'lastName': json['lastName'],
@@ -136,6 +161,8 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
136
161
  'domainTransfers': (json['domainTransfers'].map(DomainTransferDetailsDto_1.DomainTransferDetailsDtoFromJSON)),
137
162
  'renewAt': (json['renewAt'] == null ? null : new Date(json['renewAt'])),
138
163
  'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
164
+ 'renewStatus': json['renewStatus'],
165
+ 'renewStatusReason': json['renewStatusReason'],
139
166
  };
140
167
  }
141
168
  function SubscriptionDetailsDtoToJSON(json) {
@@ -152,6 +179,8 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
152
179
  'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
153
180
  'recurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['recurringPrice']),
154
181
  'totalPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalPrice']),
182
+ 'buyerRecurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyerRecurringPrice']),
183
+ 'sellerRecurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['sellerRecurringPrice']),
155
184
  'items': (value['items'].map(InvoiceItemDto_1.InvoiceItemDtoToJSON)),
156
185
  'firstName': value['firstName'],
157
186
  'lastName': value['lastName'],
@@ -173,5 +202,7 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
173
202
  'domainTransfers': (value['domainTransfers'].map(DomainTransferDetailsDto_1.DomainTransferDetailsDtoToJSON)),
174
203
  'renewAt': (value['renewAt'] == null ? null : value['renewAt'].toISOString()),
175
204
  'renewRetryAt': (value['renewRetryAt'] == null ? null : value['renewRetryAt'].toISOString()),
205
+ 'renewStatus': value['renewStatus'],
206
+ 'renewStatusReason': value['renewStatusReason'],
176
207
  };
177
208
  }
@@ -56,6 +56,12 @@ export interface SubscriptionListItemDto {
56
56
  * @memberof SubscriptionListItemDto
57
57
  */
58
58
  scheduledCancellationAt: Date | null;
59
+ /**
60
+ * The subscription schedule cancellation reason
61
+ * @type {string}
62
+ * @memberof SubscriptionListItemDto
63
+ */
64
+ scheduledCancellationReason: SubscriptionListItemDtoScheduledCancellationReasonEnum | null;
59
65
  /**
60
66
  * The subscription domain information
61
67
  * @type {SubscriptionListItemDtoDomainInformation}
@@ -122,6 +128,18 @@ export interface SubscriptionListItemDto {
122
128
  * @memberof SubscriptionListItemDto
123
129
  */
124
130
  renewRetryAt: Date;
131
+ /**
132
+ * The subscription renew status
133
+ * @type {string}
134
+ * @memberof SubscriptionListItemDto
135
+ */
136
+ renewStatus: SubscriptionListItemDtoRenewStatusEnum | null;
137
+ /**
138
+ * The subscription renew status reason
139
+ * @type {string}
140
+ * @memberof SubscriptionListItemDto
141
+ */
142
+ renewStatusReason: SubscriptionListItemDtoRenewStatusReasonEnum | null;
125
143
  /**
126
144
  * The subscription recurring markup percentage
127
145
  * @type {number}
@@ -166,6 +184,31 @@ export declare const SubscriptionListItemDtoTypeEnum: {
166
184
  readonly LEASE_TO_OWN: "lease_to_own";
167
185
  };
168
186
  export type SubscriptionListItemDtoTypeEnum = typeof SubscriptionListItemDtoTypeEnum[keyof typeof SubscriptionListItemDtoTypeEnum];
187
+ /**
188
+ * @export
189
+ */
190
+ export declare const SubscriptionListItemDtoScheduledCancellationReasonEnum: {
191
+ readonly IMPOSSIBLE_TO_RENEW: "impossible_to_renew";
192
+ readonly REQUESTED_BY_USER: "requested_by_user";
193
+ };
194
+ export type SubscriptionListItemDtoScheduledCancellationReasonEnum = typeof SubscriptionListItemDtoScheduledCancellationReasonEnum[keyof typeof SubscriptionListItemDtoScheduledCancellationReasonEnum];
195
+ /**
196
+ * @export
197
+ */
198
+ export declare const SubscriptionListItemDtoRenewStatusEnum: {
199
+ readonly SUCCESS: "success";
200
+ readonly ERROR: "error";
201
+ readonly IN_PROGRESS: "in_progress";
202
+ };
203
+ export type SubscriptionListItemDtoRenewStatusEnum = typeof SubscriptionListItemDtoRenewStatusEnum[keyof typeof SubscriptionListItemDtoRenewStatusEnum];
204
+ /**
205
+ * @export
206
+ */
207
+ export declare const SubscriptionListItemDtoRenewStatusReasonEnum: {
208
+ readonly IMPOSSIBLE_TO_PAY: "impossible_to_pay";
209
+ readonly REQUIRE_RETRY: "require_retry";
210
+ };
211
+ export type SubscriptionListItemDtoRenewStatusReasonEnum = typeof SubscriptionListItemDtoRenewStatusReasonEnum[keyof typeof SubscriptionListItemDtoRenewStatusReasonEnum];
169
212
  /**
170
213
  * Check if a given object implements the SubscriptionListItemDto interface.
171
214
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SubscriptionListItemDtoTypeEnum = exports.SubscriptionListItemDtoStatusEnum = void 0;
16
+ exports.SubscriptionListItemDtoRenewStatusReasonEnum = exports.SubscriptionListItemDtoRenewStatusEnum = exports.SubscriptionListItemDtoScheduledCancellationReasonEnum = exports.SubscriptionListItemDtoTypeEnum = exports.SubscriptionListItemDtoStatusEnum = void 0;
17
17
  exports.instanceOfSubscriptionListItemDto = instanceOfSubscriptionListItemDto;
18
18
  exports.SubscriptionListItemDtoFromJSON = SubscriptionListItemDtoFromJSON;
19
19
  exports.SubscriptionListItemDtoFromJSONTyped = SubscriptionListItemDtoFromJSONTyped;
@@ -41,6 +41,28 @@ exports.SubscriptionListItemDtoTypeEnum = {
41
41
  RENT: 'rent',
42
42
  LEASE_TO_OWN: 'lease_to_own'
43
43
  };
44
+ /**
45
+ * @export
46
+ */
47
+ exports.SubscriptionListItemDtoScheduledCancellationReasonEnum = {
48
+ IMPOSSIBLE_TO_RENEW: 'impossible_to_renew',
49
+ REQUESTED_BY_USER: 'requested_by_user'
50
+ };
51
+ /**
52
+ * @export
53
+ */
54
+ exports.SubscriptionListItemDtoRenewStatusEnum = {
55
+ SUCCESS: 'success',
56
+ ERROR: 'error',
57
+ IN_PROGRESS: 'in_progress'
58
+ };
59
+ /**
60
+ * @export
61
+ */
62
+ exports.SubscriptionListItemDtoRenewStatusReasonEnum = {
63
+ IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
64
+ REQUIRE_RETRY: 'require_retry'
65
+ };
44
66
  /**
45
67
  * Check if a given object implements the SubscriptionListItemDto interface.
46
68
  */
@@ -57,6 +79,8 @@ function instanceOfSubscriptionListItemDto(value) {
57
79
  return false;
58
80
  if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined)
59
81
  return false;
82
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined)
83
+ return false;
60
84
  if (!('domain' in value) || value['domain'] === undefined)
61
85
  return false;
62
86
  if (!('sellerAccount' in value) || value['sellerAccount'] === undefined)
@@ -79,6 +103,10 @@ function instanceOfSubscriptionListItemDto(value) {
79
103
  return false;
80
104
  if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined)
81
105
  return false;
106
+ if (!('renewStatus' in value) || value['renewStatus'] === undefined)
107
+ return false;
108
+ if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined)
109
+ return false;
82
110
  if (!('recurringMarkupPercentage' in value) || value['recurringMarkupPercentage'] === undefined)
83
111
  return false;
84
112
  if (!('recurringMarkupPrice' in value) || value['recurringMarkupPrice'] === undefined)
@@ -103,6 +131,7 @@ function SubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
103
131
  'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
104
132
  'createdAt': (new Date(json['createdAt'])),
105
133
  'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
134
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
106
135
  'domain': (0, SubscriptionListItemDtoDomainInformation_1.SubscriptionListItemDtoDomainInformationFromJSON)(json['domain']),
107
136
  'sellerAccount': (0, SubscriptionListItemDtoSellerAccount_1.SubscriptionListItemDtoSellerAccountFromJSON)(json['sellerAccount']),
108
137
  'buyerInformation': (0, SubscriptionListItemDtoBuyerInformation_1.SubscriptionListItemDtoBuyerInformationFromJSON)(json['buyerInformation']),
@@ -114,6 +143,8 @@ function SubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
114
143
  'paidSellerInstallmentsNumber': json['paidSellerInstallmentsNumber'],
115
144
  'renewAt': (new Date(json['renewAt'])),
116
145
  'renewRetryAt': (new Date(json['renewRetryAt'])),
146
+ 'renewStatus': json['renewStatus'],
147
+ 'renewStatusReason': json['renewStatusReason'],
117
148
  'recurringMarkupPercentage': json['recurringMarkupPercentage'],
118
149
  'recurringMarkupPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['recurringMarkupPrice']),
119
150
  'billingPeriodicity': (0, SubscriptionListItemBillingPeriodicityDto_1.SubscriptionListItemBillingPeriodicityDtoFromJSON)(json['billingPeriodicity']),
@@ -135,6 +166,7 @@ function SubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
135
166
  'startedAt': (value['startedAt'] == null ? null : value['startedAt'].toISOString()),
136
167
  'createdAt': ((value['createdAt']).toISOString()),
137
168
  'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : value['scheduledCancellationAt'].toISOString()),
169
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
138
170
  'domain': (0, SubscriptionListItemDtoDomainInformation_1.SubscriptionListItemDtoDomainInformationToJSON)(value['domain']),
139
171
  'sellerAccount': (0, SubscriptionListItemDtoSellerAccount_1.SubscriptionListItemDtoSellerAccountToJSON)(value['sellerAccount']),
140
172
  'buyerInformation': (0, SubscriptionListItemDtoBuyerInformation_1.SubscriptionListItemDtoBuyerInformationToJSON)(value['buyerInformation']),
@@ -146,6 +178,8 @@ function SubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
146
178
  'paidSellerInstallmentsNumber': value['paidSellerInstallmentsNumber'],
147
179
  'renewAt': ((value['renewAt']).toISOString()),
148
180
  'renewRetryAt': ((value['renewRetryAt']).toISOString()),
181
+ 'renewStatus': value['renewStatus'],
182
+ 'renewStatusReason': value['renewStatusReason'],
149
183
  'recurringMarkupPercentage': value['recurringMarkupPercentage'],
150
184
  'recurringMarkupPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['recurringMarkupPrice']),
151
185
  'billingPeriodicity': (0, SubscriptionListItemBillingPeriodicityDto_1.SubscriptionListItemBillingPeriodicityDtoToJSON)(value['billingPeriodicity']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.266",
3
+ "version": "0.0.268",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -40,6 +40,10 @@ import {
40
40
  ValidationExceptionToJSON,
41
41
  } from '../models/index';
42
42
 
43
+ export interface DomainsPublicApiGetAllTldsRequest {
44
+ seller?: string;
45
+ }
46
+
43
47
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
44
48
  domainName: string;
45
49
  includeStats?: boolean;
@@ -64,9 +68,13 @@ export class DomainsPublicApi extends runtime.BaseAPI {
64
68
  /**
65
69
  *
66
70
  */
67
- async getAllTldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTldsDto>> {
71
+ async getAllTldsRaw(requestParameters: DomainsPublicApiGetAllTldsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTldsDto>> {
68
72
  const queryParameters: any = {};
69
73
 
74
+ if (requestParameters['seller'] != null) {
75
+ queryParameters['seller'] = requestParameters['seller'];
76
+ }
77
+
70
78
  const headerParameters: runtime.HTTPHeaders = {};
71
79
 
72
80
  const response = await this.request({
@@ -82,8 +90,8 @@ export class DomainsPublicApi extends runtime.BaseAPI {
82
90
  /**
83
91
  *
84
92
  */
85
- async getAllTlds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto> {
86
- const response = await this.getAllTldsRaw(initOverrides);
93
+ async getAllTlds(requestParameters: DomainsPublicApiGetAllTldsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto> {
94
+ const response = await this.getAllTldsRaw(requestParameters, initOverrides);
87
95
  return await response.value();
88
96
  }
89
97
 
@@ -70,6 +70,12 @@ export interface BuyerSubscriptionListItemDto {
70
70
  * @memberof BuyerSubscriptionListItemDto
71
71
  */
72
72
  scheduledCancellationAt: Date | null;
73
+ /**
74
+ * The subscription schedule cancellation reason
75
+ * @type {string}
76
+ * @memberof BuyerSubscriptionListItemDto
77
+ */
78
+ scheduledCancellationReason: BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum | null;
73
79
  /**
74
80
  * The subscription domain information
75
81
  * @type {BuyerSubscriptionListItemDtoDomainInformation}
@@ -136,6 +142,15 @@ export const BuyerSubscriptionListItemDtoTypeEnum = {
136
142
  } as const;
137
143
  export type BuyerSubscriptionListItemDtoTypeEnum = typeof BuyerSubscriptionListItemDtoTypeEnum[keyof typeof BuyerSubscriptionListItemDtoTypeEnum];
138
144
 
145
+ /**
146
+ * @export
147
+ */
148
+ export const BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum = {
149
+ IMPOSSIBLE_TO_RENEW: 'impossible_to_renew',
150
+ REQUESTED_BY_USER: 'requested_by_user'
151
+ } as const;
152
+ export type BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum = typeof BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum[keyof typeof BuyerSubscriptionListItemDtoScheduledCancellationReasonEnum];
153
+
139
154
 
140
155
  /**
141
156
  * Check if a given object implements the BuyerSubscriptionListItemDto interface.
@@ -147,6 +162,7 @@ export function instanceOfBuyerSubscriptionListItemDto(value: object): value is
147
162
  if (!('startedAt' in value) || value['startedAt'] === undefined) return false;
148
163
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
149
164
  if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined) return false;
165
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined) return false;
150
166
  if (!('domain' in value) || value['domain'] === undefined) return false;
151
167
  if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
152
168
  if (!('recurringPrice' in value) || value['recurringPrice'] === undefined) return false;
@@ -173,6 +189,7 @@ export function BuyerSubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscr
173
189
  'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
174
190
  'createdAt': (new Date(json['createdAt'])),
175
191
  'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
192
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
176
193
  'domain': BuyerSubscriptionListItemDtoDomainInformationFromJSON(json['domain']),
177
194
  'basePrice': MoneyDtoFromJSON(json['basePrice']),
178
195
  'recurringPrice': MoneyDtoFromJSON(json['recurringPrice']),
@@ -200,6 +217,7 @@ export function BuyerSubscriptionListItemDtoToJSONTyped(value?: BuyerSubscriptio
200
217
  'startedAt': (value['startedAt'] == null ? null : (value['startedAt'] as any).toISOString()),
201
218
  'createdAt': ((value['createdAt']).toISOString()),
202
219
  'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : (value['scheduledCancellationAt'] as any).toISOString()),
220
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
203
221
  'domain': BuyerSubscriptionListItemDtoDomainInformationToJSON(value['domain']),
204
222
  'basePrice': MoneyDtoToJSON(value['basePrice']),
205
223
  'recurringPrice': MoneyDtoToJSON(value['recurringPrice']),
@@ -106,6 +106,18 @@ export interface SubscriptionDetailsDto {
106
106
  * @memberof SubscriptionDetailsDto
107
107
  */
108
108
  totalPrice: MoneyDto;
109
+ /**
110
+ *
111
+ * @type {MoneyDto}
112
+ * @memberof SubscriptionDetailsDto
113
+ */
114
+ buyerRecurringPrice: MoneyDto;
115
+ /**
116
+ *
117
+ * @type {MoneyDto}
118
+ * @memberof SubscriptionDetailsDto
119
+ */
120
+ sellerRecurringPrice: MoneyDto;
109
121
  /**
110
122
  *
111
123
  * @type {Array<InvoiceItemDto>}
@@ -232,6 +244,18 @@ export interface SubscriptionDetailsDto {
232
244
  * @memberof SubscriptionDetailsDto
233
245
  */
234
246
  renewRetryAt: Date | null;
247
+ /**
248
+ *
249
+ * @type {string}
250
+ * @memberof SubscriptionDetailsDto
251
+ */
252
+ renewStatus: SubscriptionDetailsDtoRenewStatusEnum | null;
253
+ /**
254
+ *
255
+ * @type {string}
256
+ * @memberof SubscriptionDetailsDto
257
+ */
258
+ renewStatusReason: SubscriptionDetailsDtoRenewStatusReasonEnum | null;
235
259
  }
236
260
 
237
261
 
@@ -256,6 +280,25 @@ export const SubscriptionDetailsDtoTypeEnum = {
256
280
  } as const;
257
281
  export type SubscriptionDetailsDtoTypeEnum = typeof SubscriptionDetailsDtoTypeEnum[keyof typeof SubscriptionDetailsDtoTypeEnum];
258
282
 
283
+ /**
284
+ * @export
285
+ */
286
+ export const SubscriptionDetailsDtoRenewStatusEnum = {
287
+ SUCCESS: 'success',
288
+ ERROR: 'error',
289
+ IN_PROGRESS: 'in_progress'
290
+ } as const;
291
+ export type SubscriptionDetailsDtoRenewStatusEnum = typeof SubscriptionDetailsDtoRenewStatusEnum[keyof typeof SubscriptionDetailsDtoRenewStatusEnum];
292
+
293
+ /**
294
+ * @export
295
+ */
296
+ export const SubscriptionDetailsDtoRenewStatusReasonEnum = {
297
+ IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
298
+ REQUIRE_RETRY: 'require_retry'
299
+ } as const;
300
+ export type SubscriptionDetailsDtoRenewStatusReasonEnum = typeof SubscriptionDetailsDtoRenewStatusReasonEnum[keyof typeof SubscriptionDetailsDtoRenewStatusReasonEnum];
301
+
259
302
 
260
303
  /**
261
304
  * Check if a given object implements the SubscriptionDetailsDto interface.
@@ -266,6 +309,8 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
266
309
  if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
267
310
  if (!('recurringPrice' in value) || value['recurringPrice'] === undefined) return false;
268
311
  if (!('totalPrice' in value) || value['totalPrice'] === undefined) return false;
312
+ if (!('buyerRecurringPrice' in value) || value['buyerRecurringPrice'] === undefined) return false;
313
+ if (!('sellerRecurringPrice' in value) || value['sellerRecurringPrice'] === undefined) return false;
269
314
  if (!('items' in value) || value['items'] === undefined) return false;
270
315
  if (!('firstName' in value) || value['firstName'] === undefined) return false;
271
316
  if (!('lastName' in value) || value['lastName'] === undefined) return false;
@@ -287,6 +332,8 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
287
332
  if (!('domainTransfers' in value) || value['domainTransfers'] === undefined) return false;
288
333
  if (!('renewAt' in value) || value['renewAt'] === undefined) return false;
289
334
  if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined) return false;
335
+ if (!('renewStatus' in value) || value['renewStatus'] === undefined) return false;
336
+ if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined) return false;
290
337
  return true;
291
338
  }
292
339
 
@@ -305,6 +352,8 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
305
352
  'basePrice': MoneyDtoFromJSON(json['basePrice']),
306
353
  'recurringPrice': MoneyDtoFromJSON(json['recurringPrice']),
307
354
  'totalPrice': MoneyDtoFromJSON(json['totalPrice']),
355
+ 'buyerRecurringPrice': MoneyDtoFromJSON(json['buyerRecurringPrice']),
356
+ 'sellerRecurringPrice': MoneyDtoFromJSON(json['sellerRecurringPrice']),
308
357
  'items': ((json['items'] as Array<any>).map(InvoiceItemDtoFromJSON)),
309
358
  'firstName': json['firstName'],
310
359
  'lastName': json['lastName'],
@@ -326,6 +375,8 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
326
375
  'domainTransfers': ((json['domainTransfers'] as Array<any>).map(DomainTransferDetailsDtoFromJSON)),
327
376
  'renewAt': (json['renewAt'] == null ? null : new Date(json['renewAt'])),
328
377
  'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
378
+ 'renewStatus': json['renewStatus'],
379
+ 'renewStatusReason': json['renewStatusReason'],
329
380
  };
330
381
  }
331
382
 
@@ -345,6 +396,8 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
345
396
  'basePrice': MoneyDtoToJSON(value['basePrice']),
346
397
  'recurringPrice': MoneyDtoToJSON(value['recurringPrice']),
347
398
  'totalPrice': MoneyDtoToJSON(value['totalPrice']),
399
+ 'buyerRecurringPrice': MoneyDtoToJSON(value['buyerRecurringPrice']),
400
+ 'sellerRecurringPrice': MoneyDtoToJSON(value['sellerRecurringPrice']),
348
401
  'items': ((value['items'] as Array<any>).map(InvoiceItemDtoToJSON)),
349
402
  'firstName': value['firstName'],
350
403
  'lastName': value['lastName'],
@@ -366,6 +419,8 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
366
419
  'domainTransfers': ((value['domainTransfers'] as Array<any>).map(DomainTransferDetailsDtoToJSON)),
367
420
  'renewAt': (value['renewAt'] == null ? null : (value['renewAt'] as any).toISOString()),
368
421
  'renewRetryAt': (value['renewRetryAt'] == null ? null : (value['renewRetryAt'] as any).toISOString()),
422
+ 'renewStatus': value['renewStatus'],
423
+ 'renewStatusReason': value['renewStatusReason'],
369
424
  };
370
425
  }
371
426
 
@@ -91,6 +91,12 @@ export interface SubscriptionListItemDto {
91
91
  * @memberof SubscriptionListItemDto
92
92
  */
93
93
  scheduledCancellationAt: Date | null;
94
+ /**
95
+ * The subscription schedule cancellation reason
96
+ * @type {string}
97
+ * @memberof SubscriptionListItemDto
98
+ */
99
+ scheduledCancellationReason: SubscriptionListItemDtoScheduledCancellationReasonEnum | null;
94
100
  /**
95
101
  * The subscription domain information
96
102
  * @type {SubscriptionListItemDtoDomainInformation}
@@ -157,6 +163,18 @@ export interface SubscriptionListItemDto {
157
163
  * @memberof SubscriptionListItemDto
158
164
  */
159
165
  renewRetryAt: Date;
166
+ /**
167
+ * The subscription renew status
168
+ * @type {string}
169
+ * @memberof SubscriptionListItemDto
170
+ */
171
+ renewStatus: SubscriptionListItemDtoRenewStatusEnum | null;
172
+ /**
173
+ * The subscription renew status reason
174
+ * @type {string}
175
+ * @memberof SubscriptionListItemDto
176
+ */
177
+ renewStatusReason: SubscriptionListItemDtoRenewStatusReasonEnum | null;
160
178
  /**
161
179
  * The subscription recurring markup percentage
162
180
  * @type {number}
@@ -205,6 +223,34 @@ export const SubscriptionListItemDtoTypeEnum = {
205
223
  } as const;
206
224
  export type SubscriptionListItemDtoTypeEnum = typeof SubscriptionListItemDtoTypeEnum[keyof typeof SubscriptionListItemDtoTypeEnum];
207
225
 
226
+ /**
227
+ * @export
228
+ */
229
+ export const SubscriptionListItemDtoScheduledCancellationReasonEnum = {
230
+ IMPOSSIBLE_TO_RENEW: 'impossible_to_renew',
231
+ REQUESTED_BY_USER: 'requested_by_user'
232
+ } as const;
233
+ export type SubscriptionListItemDtoScheduledCancellationReasonEnum = typeof SubscriptionListItemDtoScheduledCancellationReasonEnum[keyof typeof SubscriptionListItemDtoScheduledCancellationReasonEnum];
234
+
235
+ /**
236
+ * @export
237
+ */
238
+ export const SubscriptionListItemDtoRenewStatusEnum = {
239
+ SUCCESS: 'success',
240
+ ERROR: 'error',
241
+ IN_PROGRESS: 'in_progress'
242
+ } as const;
243
+ export type SubscriptionListItemDtoRenewStatusEnum = typeof SubscriptionListItemDtoRenewStatusEnum[keyof typeof SubscriptionListItemDtoRenewStatusEnum];
244
+
245
+ /**
246
+ * @export
247
+ */
248
+ export const SubscriptionListItemDtoRenewStatusReasonEnum = {
249
+ IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
250
+ REQUIRE_RETRY: 'require_retry'
251
+ } as const;
252
+ export type SubscriptionListItemDtoRenewStatusReasonEnum = typeof SubscriptionListItemDtoRenewStatusReasonEnum[keyof typeof SubscriptionListItemDtoRenewStatusReasonEnum];
253
+
208
254
 
209
255
  /**
210
256
  * Check if a given object implements the SubscriptionListItemDto interface.
@@ -216,6 +262,7 @@ export function instanceOfSubscriptionListItemDto(value: object): value is Subsc
216
262
  if (!('startedAt' in value) || value['startedAt'] === undefined) return false;
217
263
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
218
264
  if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined) return false;
265
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined) return false;
219
266
  if (!('domain' in value) || value['domain'] === undefined) return false;
220
267
  if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
221
268
  if (!('buyerInformation' in value) || value['buyerInformation'] === undefined) return false;
@@ -227,6 +274,8 @@ export function instanceOfSubscriptionListItemDto(value: object): value is Subsc
227
274
  if (!('paidSellerInstallmentsNumber' in value) || value['paidSellerInstallmentsNumber'] === undefined) return false;
228
275
  if (!('renewAt' in value) || value['renewAt'] === undefined) return false;
229
276
  if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined) return false;
277
+ if (!('renewStatus' in value) || value['renewStatus'] === undefined) return false;
278
+ if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined) return false;
230
279
  if (!('recurringMarkupPercentage' in value) || value['recurringMarkupPercentage'] === undefined) return false;
231
280
  if (!('recurringMarkupPrice' in value) || value['recurringMarkupPrice'] === undefined) return false;
232
281
  if (!('billingPeriodicity' in value) || value['billingPeriodicity'] === undefined) return false;
@@ -250,6 +299,7 @@ export function SubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscrimina
250
299
  'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
251
300
  'createdAt': (new Date(json['createdAt'])),
252
301
  'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
302
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
253
303
  'domain': SubscriptionListItemDtoDomainInformationFromJSON(json['domain']),
254
304
  'sellerAccount': SubscriptionListItemDtoSellerAccountFromJSON(json['sellerAccount']),
255
305
  'buyerInformation': SubscriptionListItemDtoBuyerInformationFromJSON(json['buyerInformation']),
@@ -261,6 +311,8 @@ export function SubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscrimina
261
311
  'paidSellerInstallmentsNumber': json['paidSellerInstallmentsNumber'],
262
312
  'renewAt': (new Date(json['renewAt'])),
263
313
  'renewRetryAt': (new Date(json['renewRetryAt'])),
314
+ 'renewStatus': json['renewStatus'],
315
+ 'renewStatusReason': json['renewStatusReason'],
264
316
  'recurringMarkupPercentage': json['recurringMarkupPercentage'],
265
317
  'recurringMarkupPrice': MoneyDtoFromJSON(json['recurringMarkupPrice']),
266
318
  'billingPeriodicity': SubscriptionListItemBillingPeriodicityDtoFromJSON(json['billingPeriodicity']),
@@ -285,6 +337,7 @@ export function SubscriptionListItemDtoToJSONTyped(value?: SubscriptionListItemD
285
337
  'startedAt': (value['startedAt'] == null ? null : (value['startedAt'] as any).toISOString()),
286
338
  'createdAt': ((value['createdAt']).toISOString()),
287
339
  'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : (value['scheduledCancellationAt'] as any).toISOString()),
340
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
288
341
  'domain': SubscriptionListItemDtoDomainInformationToJSON(value['domain']),
289
342
  'sellerAccount': SubscriptionListItemDtoSellerAccountToJSON(value['sellerAccount']),
290
343
  'buyerInformation': SubscriptionListItemDtoBuyerInformationToJSON(value['buyerInformation']),
@@ -296,6 +349,8 @@ export function SubscriptionListItemDtoToJSONTyped(value?: SubscriptionListItemD
296
349
  'paidSellerInstallmentsNumber': value['paidSellerInstallmentsNumber'],
297
350
  'renewAt': ((value['renewAt']).toISOString()),
298
351
  'renewRetryAt': ((value['renewRetryAt']).toISOString()),
352
+ 'renewStatus': value['renewStatus'],
353
+ 'renewStatusReason': value['renewStatusReason'],
299
354
  'recurringMarkupPercentage': value['recurringMarkupPercentage'],
300
355
  'recurringMarkupPrice': MoneyDtoToJSON(value['recurringMarkupPrice']),
301
356
  'billingPeriodicity': SubscriptionListItemBillingPeriodicityDtoToJSON(value['billingPeriodicity']),