@randock/nameshift-api-client 0.0.434 → 0.0.436
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/apis/AdminApi.d.ts +9 -1
- package/dist/apis/AdminApi.js +50 -0
- package/dist/models/RentIndexationDto.d.ts +6 -0
- package/dist/models/RentIndexationDto.js +4 -0
- package/dist/models/SubscriptionDetailsDto.d.ts +13 -0
- package/dist/models/SubscriptionDetailsDto.js +9 -0
- package/dist/models/SubscriptionListItemDto.d.ts +13 -0
- package/dist/models/SubscriptionListItemDto.js +9 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +37 -0
- package/src/models/RentIndexationDto.ts +9 -0
- package/src/models/SubscriptionDetailsDto.ts +19 -0
- package/src/models/SubscriptionListItemDto.ts +19 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.436
|
|
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.436 --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
|
+
ad16732369a1b482f06b7978cfbbd9aa8a2459f183b0e7a385ad9b8ebb63fbe2d86c6252c5c15021969d3d416908fe0a
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, BulkCommissionActionsInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput } from '../models/index';
|
|
13
|
+
import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, BulkCommissionActionsInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminDeleteAuctionRequest {
|
|
15
15
|
auctionId: string;
|
|
16
16
|
}
|
|
@@ -519,6 +519,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
519
519
|
*
|
|
520
520
|
*/
|
|
521
521
|
listDomainLocks(requestParameters: AdminApiListDomainLocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DomainLockDto>>;
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
*/
|
|
525
|
+
listDomainTldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTldsDto>>;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
*/
|
|
529
|
+
listDomainTlds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto>;
|
|
522
530
|
/**
|
|
523
531
|
*
|
|
524
532
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -2077,6 +2077,56 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
});
|
|
2079
2079
|
};
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
*/
|
|
2083
|
+
AdminApi.prototype.listDomainTldsRaw = function (initOverrides) {
|
|
2084
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2085
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
2086
|
+
return __generator(this, function (_a) {
|
|
2087
|
+
switch (_a.label) {
|
|
2088
|
+
case 0:
|
|
2089
|
+
queryParameters = {};
|
|
2090
|
+
headerParameters = {};
|
|
2091
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
2092
|
+
token = this.configuration.accessToken;
|
|
2093
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
2094
|
+
case 1:
|
|
2095
|
+
tokenString = _a.sent();
|
|
2096
|
+
if (tokenString) {
|
|
2097
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
2098
|
+
}
|
|
2099
|
+
_a.label = 2;
|
|
2100
|
+
case 2: return [4 /*yield*/, this.request({
|
|
2101
|
+
path: "/admin/domains/tlds",
|
|
2102
|
+
method: 'GET',
|
|
2103
|
+
headers: headerParameters,
|
|
2104
|
+
query: queryParameters,
|
|
2105
|
+
}, initOverrides)];
|
|
2106
|
+
case 3:
|
|
2107
|
+
response = _a.sent();
|
|
2108
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainTldsDtoFromJSON)(jsonValue); })];
|
|
2109
|
+
}
|
|
2110
|
+
});
|
|
2111
|
+
});
|
|
2112
|
+
};
|
|
2113
|
+
/**
|
|
2114
|
+
*
|
|
2115
|
+
*/
|
|
2116
|
+
AdminApi.prototype.listDomainTlds = function (initOverrides) {
|
|
2117
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2118
|
+
var response;
|
|
2119
|
+
return __generator(this, function (_a) {
|
|
2120
|
+
switch (_a.label) {
|
|
2121
|
+
case 0: return [4 /*yield*/, this.listDomainTldsRaw(initOverrides)];
|
|
2122
|
+
case 1:
|
|
2123
|
+
response = _a.sent();
|
|
2124
|
+
return [4 /*yield*/, response.value()];
|
|
2125
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
2126
|
+
}
|
|
2127
|
+
});
|
|
2128
|
+
});
|
|
2129
|
+
};
|
|
2080
2130
|
/**
|
|
2081
2131
|
*
|
|
2082
2132
|
*/
|
|
@@ -52,6 +52,12 @@ export interface RentIndexationDto {
|
|
|
52
52
|
* @memberof RentIndexationDto
|
|
53
53
|
*/
|
|
54
54
|
oldRecurringPrice: MoneyDto | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {MoneyDto}
|
|
58
|
+
* @memberof RentIndexationDto
|
|
59
|
+
*/
|
|
60
|
+
indexedRentBasePrice: MoneyDto | null;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the RentIndexationDto interface.
|
|
@@ -35,6 +35,8 @@ function instanceOfRentIndexationDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('oldRecurringPrice' in value) || value['oldRecurringPrice'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('indexedRentBasePrice' in value) || value['indexedRentBasePrice'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function RentIndexationDtoFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function RentIndexationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'advanceNotifiedAt': (json['advanceNotifiedAt'] == null ? null : new Date(json['advanceNotifiedAt'])),
|
|
52
54
|
'advanceNotifiedForYear': json['advanceNotifiedForYear'],
|
|
53
55
|
'oldRecurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['oldRecurringPrice']),
|
|
56
|
+
'indexedRentBasePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['indexedRentBasePrice']),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function RentIndexationDtoToJSON(json) {
|
|
@@ -68,5 +71,6 @@ function RentIndexationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
71
|
'advanceNotifiedAt': (value['advanceNotifiedAt'] == null ? null : value['advanceNotifiedAt'].toISOString()),
|
|
69
72
|
'advanceNotifiedForYear': value['advanceNotifiedForYear'],
|
|
70
73
|
'oldRecurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['oldRecurringPrice']),
|
|
74
|
+
'indexedRentBasePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['indexedRentBasePrice']),
|
|
71
75
|
};
|
|
72
76
|
}
|
|
@@ -240,6 +240,18 @@ export interface SubscriptionDetailsDto {
|
|
|
240
240
|
* @memberof SubscriptionDetailsDto
|
|
241
241
|
*/
|
|
242
242
|
rentIndexationSkipReason: SubscriptionDetailsDtoRentIndexationSkipReasonEnum;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {Date}
|
|
246
|
+
* @memberof SubscriptionDetailsDto
|
|
247
|
+
*/
|
|
248
|
+
rentIndexationAdvanceNotifiedAt: Date;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {number}
|
|
252
|
+
* @memberof SubscriptionDetailsDto
|
|
253
|
+
*/
|
|
254
|
+
rentIndexationAdvanceNotifiedForYear: number;
|
|
243
255
|
}
|
|
244
256
|
/**
|
|
245
257
|
* @export
|
|
@@ -285,6 +297,7 @@ export declare const SubscriptionDetailsDtoRentIndexationStatusEnum: {
|
|
|
285
297
|
readonly NOT_ELIGIBLE: "not_eligible";
|
|
286
298
|
readonly INDEXED: "indexed";
|
|
287
299
|
readonly FAILED: "failed";
|
|
300
|
+
readonly PENDING: "pending";
|
|
288
301
|
readonly PENDING_DATA: "pending_data";
|
|
289
302
|
};
|
|
290
303
|
export type SubscriptionDetailsDtoRentIndexationStatusEnum = typeof SubscriptionDetailsDtoRentIndexationStatusEnum[keyof typeof SubscriptionDetailsDtoRentIndexationStatusEnum];
|
|
@@ -68,6 +68,7 @@ exports.SubscriptionDetailsDtoRentIndexationStatusEnum = {
|
|
|
68
68
|
NOT_ELIGIBLE: 'not_eligible',
|
|
69
69
|
INDEXED: 'indexed',
|
|
70
70
|
FAILED: 'failed',
|
|
71
|
+
PENDING: 'pending',
|
|
71
72
|
PENDING_DATA: 'pending_data'
|
|
72
73
|
};
|
|
73
74
|
/**
|
|
@@ -162,6 +163,10 @@ function instanceOfSubscriptionDetailsDto(value) {
|
|
|
162
163
|
return false;
|
|
163
164
|
if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined)
|
|
164
165
|
return false;
|
|
166
|
+
if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined)
|
|
167
|
+
return false;
|
|
168
|
+
if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined)
|
|
169
|
+
return false;
|
|
165
170
|
return true;
|
|
166
171
|
}
|
|
167
172
|
function SubscriptionDetailsDtoFromJSON(json) {
|
|
@@ -208,6 +213,8 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
208
213
|
'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
|
|
209
214
|
'rentIndexationStatus': json['rentIndexationStatus'],
|
|
210
215
|
'rentIndexationSkipReason': json['rentIndexationSkipReason'],
|
|
216
|
+
'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
|
|
217
|
+
'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
|
|
211
218
|
};
|
|
212
219
|
}
|
|
213
220
|
function SubscriptionDetailsDtoToJSON(json) {
|
|
@@ -255,5 +262,7 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
255
262
|
'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : value['nextEligibleRentIndexationDate'].toISOString()),
|
|
256
263
|
'rentIndexationStatus': value['rentIndexationStatus'],
|
|
257
264
|
'rentIndexationSkipReason': value['rentIndexationSkipReason'],
|
|
265
|
+
'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
|
|
266
|
+
'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
|
|
258
267
|
};
|
|
259
268
|
}
|
|
@@ -214,6 +214,18 @@ export interface SubscriptionListItemDto {
|
|
|
214
214
|
* @memberof SubscriptionListItemDto
|
|
215
215
|
*/
|
|
216
216
|
rentIndexationSkipReason: SubscriptionListItemDtoRentIndexationSkipReasonEnum;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {Date}
|
|
220
|
+
* @memberof SubscriptionListItemDto
|
|
221
|
+
*/
|
|
222
|
+
rentIndexationAdvanceNotifiedAt: Date;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {number}
|
|
226
|
+
* @memberof SubscriptionListItemDto
|
|
227
|
+
*/
|
|
228
|
+
rentIndexationAdvanceNotifiedForYear: number;
|
|
217
229
|
}
|
|
218
230
|
/**
|
|
219
231
|
* @export
|
|
@@ -267,6 +279,7 @@ export declare const SubscriptionListItemDtoRentIndexationStatusEnum: {
|
|
|
267
279
|
readonly NOT_ELIGIBLE: "not_eligible";
|
|
268
280
|
readonly INDEXED: "indexed";
|
|
269
281
|
readonly FAILED: "failed";
|
|
282
|
+
readonly PENDING: "pending";
|
|
270
283
|
readonly PENDING_DATA: "pending_data";
|
|
271
284
|
};
|
|
272
285
|
export type SubscriptionListItemDtoRentIndexationStatusEnum = typeof SubscriptionListItemDtoRentIndexationStatusEnum[keyof typeof SubscriptionListItemDtoRentIndexationStatusEnum];
|
|
@@ -73,6 +73,7 @@ exports.SubscriptionListItemDtoRentIndexationStatusEnum = {
|
|
|
73
73
|
NOT_ELIGIBLE: 'not_eligible',
|
|
74
74
|
INDEXED: 'indexed',
|
|
75
75
|
FAILED: 'failed',
|
|
76
|
+
PENDING: 'pending',
|
|
76
77
|
PENDING_DATA: 'pending_data'
|
|
77
78
|
};
|
|
78
79
|
/**
|
|
@@ -159,6 +160,10 @@ function instanceOfSubscriptionListItemDto(value) {
|
|
|
159
160
|
return false;
|
|
160
161
|
if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined)
|
|
161
162
|
return false;
|
|
163
|
+
if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined)
|
|
164
|
+
return false;
|
|
165
|
+
if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined)
|
|
166
|
+
return false;
|
|
162
167
|
return true;
|
|
163
168
|
}
|
|
164
169
|
function SubscriptionListItemDtoFromJSON(json) {
|
|
@@ -201,6 +206,8 @@ function SubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
201
206
|
'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
|
|
202
207
|
'rentIndexationStatus': json['rentIndexationStatus'],
|
|
203
208
|
'rentIndexationSkipReason': json['rentIndexationSkipReason'],
|
|
209
|
+
'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
|
|
210
|
+
'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
|
|
204
211
|
};
|
|
205
212
|
}
|
|
206
213
|
function SubscriptionListItemDtoToJSON(json) {
|
|
@@ -244,5 +251,7 @@ function SubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
244
251
|
'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : value['nextEligibleRentIndexationDate'].toISOString()),
|
|
245
252
|
'rentIndexationStatus': value['rentIndexationStatus'],
|
|
246
253
|
'rentIndexationSkipReason': value['rentIndexationSkipReason'],
|
|
254
|
+
'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
|
|
255
|
+
'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
|
|
247
256
|
};
|
|
248
257
|
}
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -34,6 +34,7 @@ import type {
|
|
|
34
34
|
CreateChallengeInput,
|
|
35
35
|
DomainLockDto,
|
|
36
36
|
DomainStatsDto,
|
|
37
|
+
DomainTldsDto,
|
|
37
38
|
DomainTransferDetailsDto,
|
|
38
39
|
GetAccountChallengeRewardUsagesListDto,
|
|
39
40
|
GetAllAuctions200Response,
|
|
@@ -99,6 +100,8 @@ import {
|
|
|
99
100
|
DomainLockDtoToJSON,
|
|
100
101
|
DomainStatsDtoFromJSON,
|
|
101
102
|
DomainStatsDtoToJSON,
|
|
103
|
+
DomainTldsDtoFromJSON,
|
|
104
|
+
DomainTldsDtoToJSON,
|
|
102
105
|
DomainTransferDetailsDtoFromJSON,
|
|
103
106
|
DomainTransferDetailsDtoToJSON,
|
|
104
107
|
GetAccountChallengeRewardUsagesListDtoFromJSON,
|
|
@@ -1994,6 +1997,40 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1994
1997
|
return await response.value();
|
|
1995
1998
|
}
|
|
1996
1999
|
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
*/
|
|
2003
|
+
async listDomainTldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTldsDto>> {
|
|
2004
|
+
const queryParameters: any = {};
|
|
2005
|
+
|
|
2006
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
2007
|
+
|
|
2008
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2009
|
+
const token = this.configuration.accessToken;
|
|
2010
|
+
const tokenString = await token("bearer", []);
|
|
2011
|
+
|
|
2012
|
+
if (tokenString) {
|
|
2013
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
const response = await this.request({
|
|
2017
|
+
path: `/admin/domains/tlds`,
|
|
2018
|
+
method: 'GET',
|
|
2019
|
+
headers: headerParameters,
|
|
2020
|
+
query: queryParameters,
|
|
2021
|
+
}, initOverrides);
|
|
2022
|
+
|
|
2023
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DomainTldsDtoFromJSON(jsonValue));
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
*
|
|
2028
|
+
*/
|
|
2029
|
+
async listDomainTlds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto> {
|
|
2030
|
+
const response = await this.listDomainTldsRaw(initOverrides);
|
|
2031
|
+
return await response.value();
|
|
2032
|
+
}
|
|
2033
|
+
|
|
1997
2034
|
/**
|
|
1998
2035
|
*
|
|
1999
2036
|
*/
|
|
@@ -63,6 +63,12 @@ export interface RentIndexationDto {
|
|
|
63
63
|
* @memberof RentIndexationDto
|
|
64
64
|
*/
|
|
65
65
|
oldRecurringPrice: MoneyDto | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {MoneyDto}
|
|
69
|
+
* @memberof RentIndexationDto
|
|
70
|
+
*/
|
|
71
|
+
indexedRentBasePrice: MoneyDto | null;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -75,6 +81,7 @@ export function instanceOfRentIndexationDto(value: object): value is RentIndexat
|
|
|
75
81
|
if (!('advanceNotifiedAt' in value) || value['advanceNotifiedAt'] === undefined) return false;
|
|
76
82
|
if (!('advanceNotifiedForYear' in value) || value['advanceNotifiedForYear'] === undefined) return false;
|
|
77
83
|
if (!('oldRecurringPrice' in value) || value['oldRecurringPrice'] === undefined) return false;
|
|
84
|
+
if (!('indexedRentBasePrice' in value) || value['indexedRentBasePrice'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -94,6 +101,7 @@ export function RentIndexationDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
94
101
|
'advanceNotifiedAt': (json['advanceNotifiedAt'] == null ? null : new Date(json['advanceNotifiedAt'])),
|
|
95
102
|
'advanceNotifiedForYear': json['advanceNotifiedForYear'],
|
|
96
103
|
'oldRecurringPrice': MoneyDtoFromJSON(json['oldRecurringPrice']),
|
|
104
|
+
'indexedRentBasePrice': MoneyDtoFromJSON(json['indexedRentBasePrice']),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -114,6 +122,7 @@ export function RentIndexationDtoToJSONTyped(value?: RentIndexationDto | null, i
|
|
|
114
122
|
'advanceNotifiedAt': (value['advanceNotifiedAt'] == null ? null : (value['advanceNotifiedAt'] as any).toISOString()),
|
|
115
123
|
'advanceNotifiedForYear': value['advanceNotifiedForYear'],
|
|
116
124
|
'oldRecurringPrice': MoneyDtoToJSON(value['oldRecurringPrice']),
|
|
125
|
+
'indexedRentBasePrice': MoneyDtoToJSON(value['indexedRentBasePrice']),
|
|
117
126
|
};
|
|
118
127
|
}
|
|
119
128
|
|
|
@@ -299,6 +299,18 @@ export interface SubscriptionDetailsDto {
|
|
|
299
299
|
* @memberof SubscriptionDetailsDto
|
|
300
300
|
*/
|
|
301
301
|
rentIndexationSkipReason: SubscriptionDetailsDtoRentIndexationSkipReasonEnum;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {Date}
|
|
305
|
+
* @memberof SubscriptionDetailsDto
|
|
306
|
+
*/
|
|
307
|
+
rentIndexationAdvanceNotifiedAt: Date;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @type {number}
|
|
311
|
+
* @memberof SubscriptionDetailsDto
|
|
312
|
+
*/
|
|
313
|
+
rentIndexationAdvanceNotifiedForYear: number;
|
|
302
314
|
}
|
|
303
315
|
|
|
304
316
|
|
|
@@ -350,6 +362,7 @@ export const SubscriptionDetailsDtoRentIndexationStatusEnum = {
|
|
|
350
362
|
NOT_ELIGIBLE: 'not_eligible',
|
|
351
363
|
INDEXED: 'indexed',
|
|
352
364
|
FAILED: 'failed',
|
|
365
|
+
PENDING: 'pending',
|
|
353
366
|
PENDING_DATA: 'pending_data'
|
|
354
367
|
} as const;
|
|
355
368
|
export type SubscriptionDetailsDtoRentIndexationStatusEnum = typeof SubscriptionDetailsDtoRentIndexationStatusEnum[keyof typeof SubscriptionDetailsDtoRentIndexationStatusEnum];
|
|
@@ -413,6 +426,8 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
|
|
|
413
426
|
if (!('nextEligibleRentIndexationDate' in value) || value['nextEligibleRentIndexationDate'] === undefined) return false;
|
|
414
427
|
if (!('rentIndexationStatus' in value) || value['rentIndexationStatus'] === undefined) return false;
|
|
415
428
|
if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined) return false;
|
|
429
|
+
if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined) return false;
|
|
430
|
+
if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined) return false;
|
|
416
431
|
return true;
|
|
417
432
|
}
|
|
418
433
|
|
|
@@ -462,6 +477,8 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
462
477
|
'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
|
|
463
478
|
'rentIndexationStatus': json['rentIndexationStatus'],
|
|
464
479
|
'rentIndexationSkipReason': json['rentIndexationSkipReason'],
|
|
480
|
+
'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
|
|
481
|
+
'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
|
|
465
482
|
};
|
|
466
483
|
}
|
|
467
484
|
|
|
@@ -512,6 +529,8 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
|
|
|
512
529
|
'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : (value['nextEligibleRentIndexationDate'] as any).toISOString()),
|
|
513
530
|
'rentIndexationStatus': value['rentIndexationStatus'],
|
|
514
531
|
'rentIndexationSkipReason': value['rentIndexationSkipReason'],
|
|
532
|
+
'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
|
|
533
|
+
'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
|
|
515
534
|
};
|
|
516
535
|
}
|
|
517
536
|
|
|
@@ -261,6 +261,18 @@ export interface SubscriptionListItemDto {
|
|
|
261
261
|
* @memberof SubscriptionListItemDto
|
|
262
262
|
*/
|
|
263
263
|
rentIndexationSkipReason: SubscriptionListItemDtoRentIndexationSkipReasonEnum;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @type {Date}
|
|
267
|
+
* @memberof SubscriptionListItemDto
|
|
268
|
+
*/
|
|
269
|
+
rentIndexationAdvanceNotifiedAt: Date;
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @type {number}
|
|
273
|
+
* @memberof SubscriptionListItemDto
|
|
274
|
+
*/
|
|
275
|
+
rentIndexationAdvanceNotifiedForYear: number;
|
|
264
276
|
}
|
|
265
277
|
|
|
266
278
|
|
|
@@ -321,6 +333,7 @@ export const SubscriptionListItemDtoRentIndexationStatusEnum = {
|
|
|
321
333
|
NOT_ELIGIBLE: 'not_eligible',
|
|
322
334
|
INDEXED: 'indexed',
|
|
323
335
|
FAILED: 'failed',
|
|
336
|
+
PENDING: 'pending',
|
|
324
337
|
PENDING_DATA: 'pending_data'
|
|
325
338
|
} as const;
|
|
326
339
|
export type SubscriptionListItemDtoRentIndexationStatusEnum = typeof SubscriptionListItemDtoRentIndexationStatusEnum[keyof typeof SubscriptionListItemDtoRentIndexationStatusEnum];
|
|
@@ -380,6 +393,8 @@ export function instanceOfSubscriptionListItemDto(value: object): value is Subsc
|
|
|
380
393
|
if (!('nextEligibleRentIndexationDate' in value) || value['nextEligibleRentIndexationDate'] === undefined) return false;
|
|
381
394
|
if (!('rentIndexationStatus' in value) || value['rentIndexationStatus'] === undefined) return false;
|
|
382
395
|
if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined) return false;
|
|
396
|
+
if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined) return false;
|
|
397
|
+
if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined) return false;
|
|
383
398
|
return true;
|
|
384
399
|
}
|
|
385
400
|
|
|
@@ -425,6 +440,8 @@ export function SubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
425
440
|
'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
|
|
426
441
|
'rentIndexationStatus': json['rentIndexationStatus'],
|
|
427
442
|
'rentIndexationSkipReason': json['rentIndexationSkipReason'],
|
|
443
|
+
'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
|
|
444
|
+
'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
|
|
428
445
|
};
|
|
429
446
|
}
|
|
430
447
|
|
|
@@ -471,6 +488,8 @@ export function SubscriptionListItemDtoToJSONTyped(value?: SubscriptionListItemD
|
|
|
471
488
|
'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : (value['nextEligibleRentIndexationDate'] as any).toISOString()),
|
|
472
489
|
'rentIndexationStatus': value['rentIndexationStatus'],
|
|
473
490
|
'rentIndexationSkipReason': value['rentIndexationSkipReason'],
|
|
491
|
+
'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
|
|
492
|
+
'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
|
|
474
493
|
};
|
|
475
494
|
}
|
|
476
495
|
|