@randock/nameshift-api-client 0.0.389 → 0.0.391
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 +11 -0
- package/dist/apis/AdminApi.js +51 -0
- package/dist/models/BuyerDomainTransferListItemDto.d.ts +13 -0
- package/dist/models/BuyerDomainTransferListItemDto.js +9 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +2 -0
- package/dist/models/DomainTransferDetailsDto.js +2 -0
- package/dist/models/DomainTransferDto.d.ts +2 -0
- package/dist/models/DomainTransferDto.js +2 -0
- package/dist/models/SellerDomainTransferDto.d.ts +1 -0
- package/dist/models/SellerDomainTransferDto.js +1 -0
- package/dist/models/SellerDomainTransferListItemDto.d.ts +1 -0
- package/dist/models/SellerDomainTransferListItemDto.js +1 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +44 -0
- package/src/models/BuyerDomainTransferListItemDto.ts +19 -0
- package/src/models/DomainTransferDetailsDto.ts +2 -0
- package/src/models/DomainTransferDto.ts +2 -0
- package/src/models/SellerDomainTransferDto.ts +1 -0
- package/src/models/SellerDomainTransferListItemDto.ts +1 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.391
|
|
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.391 --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
|
+
a6a5cb195c553c99861689cc42d8a88e46c3389f243a1807427ff7715524f1e336a3bf2b8b0224a6d759a385e90ae956
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
|
20
20
|
export interface AdminApiBulkCommissionActionsRequest {
|
|
21
21
|
bulkCommissionActionsInput: BulkCommissionActionsInput;
|
|
22
22
|
}
|
|
23
|
+
export interface AdminApiCancelDomainTransferRequest {
|
|
24
|
+
transferId: string;
|
|
25
|
+
}
|
|
23
26
|
export interface AdminApiChangeOrderStatusRequest {
|
|
24
27
|
orderId: string;
|
|
25
28
|
changeOrderStatusInput: ChangeOrderStatusInput;
|
|
@@ -218,6 +221,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
218
221
|
*
|
|
219
222
|
*/
|
|
220
223
|
bulkCommissionActions(requestParameters: AdminApiBulkCommissionActionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
*/
|
|
227
|
+
cancelDomainTransferRaw(requestParameters: AdminApiCancelDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
*/
|
|
231
|
+
cancelDomainTransfer(requestParameters: AdminApiCancelDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
221
232
|
/**
|
|
222
233
|
*
|
|
223
234
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -191,6 +191,57 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
193
|
};
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
*/
|
|
197
|
+
AdminApi.prototype.cancelDomainTransferRaw = function (requestParameters, initOverrides) {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
199
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
200
|
+
return __generator(this, function (_a) {
|
|
201
|
+
switch (_a.label) {
|
|
202
|
+
case 0:
|
|
203
|
+
if (requestParameters['transferId'] == null) {
|
|
204
|
+
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling cancelDomainTransfer().');
|
|
205
|
+
}
|
|
206
|
+
queryParameters = {};
|
|
207
|
+
headerParameters = {};
|
|
208
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
209
|
+
token = this.configuration.accessToken;
|
|
210
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
211
|
+
case 1:
|
|
212
|
+
tokenString = _a.sent();
|
|
213
|
+
if (tokenString) {
|
|
214
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
215
|
+
}
|
|
216
|
+
_a.label = 2;
|
|
217
|
+
case 2: return [4 /*yield*/, this.request({
|
|
218
|
+
path: "/admin/domain-transfers/{transferId}/cancel".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
|
|
219
|
+
method: 'POST',
|
|
220
|
+
headers: headerParameters,
|
|
221
|
+
query: queryParameters,
|
|
222
|
+
}, initOverrides)];
|
|
223
|
+
case 3:
|
|
224
|
+
response = _a.sent();
|
|
225
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
*/
|
|
233
|
+
AdminApi.prototype.cancelDomainTransfer = function (requestParameters, initOverrides) {
|
|
234
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
235
|
+
return __generator(this, function (_a) {
|
|
236
|
+
switch (_a.label) {
|
|
237
|
+
case 0: return [4 /*yield*/, this.cancelDomainTransferRaw(requestParameters, initOverrides)];
|
|
238
|
+
case 1:
|
|
239
|
+
_a.sent();
|
|
240
|
+
return [2 /*return*/];
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
};
|
|
194
245
|
/**
|
|
195
246
|
*
|
|
196
247
|
*/
|
|
@@ -40,6 +40,12 @@ export interface BuyerDomainTransferListItemDto {
|
|
|
40
40
|
* @memberof BuyerDomainTransferListItemDto
|
|
41
41
|
*/
|
|
42
42
|
requirements: object;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BuyerDomainTransferListItemDto
|
|
47
|
+
*/
|
|
48
|
+
invoiceId: string;
|
|
43
49
|
/**
|
|
44
50
|
* The buyer domain transfer ID
|
|
45
51
|
* @type {object}
|
|
@@ -70,6 +76,12 @@ export interface BuyerDomainTransferListItemDto {
|
|
|
70
76
|
* @memberof BuyerDomainTransferListItemDto
|
|
71
77
|
*/
|
|
72
78
|
isOfferExpired: boolean;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof BuyerDomainTransferListItemDto
|
|
83
|
+
*/
|
|
84
|
+
invoiceNumber: string | null;
|
|
73
85
|
}
|
|
74
86
|
/**
|
|
75
87
|
* @export
|
|
@@ -89,6 +101,7 @@ export declare const BuyerDomainTransferListItemDtoDomainTransferStatusEnum: {
|
|
|
89
101
|
readonly STARTED: "started";
|
|
90
102
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
91
103
|
readonly ERROR: "error";
|
|
104
|
+
readonly CANCELLED: "cancelled";
|
|
92
105
|
readonly COMPLETED: "completed";
|
|
93
106
|
};
|
|
94
107
|
export type BuyerDomainTransferListItemDtoDomainTransferStatusEnum = typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum[keyof typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum];
|
|
@@ -37,6 +37,7 @@ exports.BuyerDomainTransferListItemDtoDomainTransferStatusEnum = {
|
|
|
37
37
|
STARTED: 'started',
|
|
38
38
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
39
39
|
ERROR: 'error',
|
|
40
|
+
CANCELLED: 'cancelled',
|
|
40
41
|
COMPLETED: 'completed'
|
|
41
42
|
};
|
|
42
43
|
/**
|
|
@@ -51,6 +52,8 @@ function instanceOfBuyerDomainTransferListItemDto(value) {
|
|
|
51
52
|
return false;
|
|
52
53
|
if (!('requirements' in value) || value['requirements'] === undefined)
|
|
53
54
|
return false;
|
|
55
|
+
if (!('invoiceId' in value) || value['invoiceId'] === undefined)
|
|
56
|
+
return false;
|
|
54
57
|
if (!('domainTransferId' in value) || value['domainTransferId'] === undefined)
|
|
55
58
|
return false;
|
|
56
59
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
@@ -61,6 +64,8 @@ function instanceOfBuyerDomainTransferListItemDto(value) {
|
|
|
61
64
|
return false;
|
|
62
65
|
if (!('isOfferExpired' in value) || value['isOfferExpired'] === undefined)
|
|
63
66
|
return false;
|
|
67
|
+
if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined)
|
|
68
|
+
return false;
|
|
64
69
|
return true;
|
|
65
70
|
}
|
|
66
71
|
function BuyerDomainTransferListItemDtoFromJSON(json) {
|
|
@@ -75,11 +80,13 @@ function BuyerDomainTransferListItemDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
75
80
|
'invoiceStatus': json['invoiceStatus'],
|
|
76
81
|
'domainTransferStatus': json['domainTransferStatus'],
|
|
77
82
|
'requirements': json['requirements'],
|
|
83
|
+
'invoiceId': json['invoiceId'],
|
|
78
84
|
'domainTransferId': json['domainTransferId'],
|
|
79
85
|
'domain': (0, BuyerDomainTransferListItemDomainDto_1.BuyerDomainTransferListItemDomainDtoFromJSON)(json['domain']),
|
|
80
86
|
'createdAt': (new Date(json['createdAt'])),
|
|
81
87
|
'ipsTag': json['ipsTag'],
|
|
82
88
|
'isOfferExpired': json['isOfferExpired'],
|
|
89
|
+
'invoiceNumber': json['invoiceNumber'],
|
|
83
90
|
};
|
|
84
91
|
}
|
|
85
92
|
function BuyerDomainTransferListItemDtoToJSON(json) {
|
|
@@ -95,10 +102,12 @@ function BuyerDomainTransferListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
95
102
|
'invoiceStatus': value['invoiceStatus'],
|
|
96
103
|
'domainTransferStatus': value['domainTransferStatus'],
|
|
97
104
|
'requirements': value['requirements'],
|
|
105
|
+
'invoiceId': value['invoiceId'],
|
|
98
106
|
'domainTransferId': value['domainTransferId'],
|
|
99
107
|
'domain': (0, BuyerDomainTransferListItemDomainDto_1.BuyerDomainTransferListItemDomainDtoToJSON)(value['domain']),
|
|
100
108
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
101
109
|
'ipsTag': value['ipsTag'],
|
|
102
110
|
'isOfferExpired': value['isOfferExpired'],
|
|
111
|
+
'invoiceNumber': value['invoiceNumber'],
|
|
103
112
|
};
|
|
104
113
|
}
|
|
@@ -103,6 +103,7 @@ export declare const DomainTransferDetailsDtoStatusEnum: {
|
|
|
103
103
|
readonly STARTED: "started";
|
|
104
104
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
105
105
|
readonly ERROR: "error";
|
|
106
|
+
readonly CANCELLED: "cancelled";
|
|
106
107
|
readonly COMPLETED: "completed";
|
|
107
108
|
};
|
|
108
109
|
export type DomainTransferDetailsDtoStatusEnum = typeof DomainTransferDetailsDtoStatusEnum[keyof typeof DomainTransferDetailsDtoStatusEnum];
|
|
@@ -114,6 +115,7 @@ export declare const DomainTransferDetailsDtoStatusSellerEnum: {
|
|
|
114
115
|
readonly STARTED: "started";
|
|
115
116
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
116
117
|
readonly ERROR: "error";
|
|
118
|
+
readonly CANCELLED: "cancelled";
|
|
117
119
|
readonly COMPLETED: "completed";
|
|
118
120
|
};
|
|
119
121
|
export type DomainTransferDetailsDtoStatusSellerEnum = typeof DomainTransferDetailsDtoStatusSellerEnum[keyof typeof DomainTransferDetailsDtoStatusSellerEnum];
|
|
@@ -34,6 +34,7 @@ exports.DomainTransferDetailsDtoStatusEnum = {
|
|
|
34
34
|
STARTED: 'started',
|
|
35
35
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
36
36
|
ERROR: 'error',
|
|
37
|
+
CANCELLED: 'cancelled',
|
|
37
38
|
COMPLETED: 'completed'
|
|
38
39
|
};
|
|
39
40
|
/**
|
|
@@ -44,6 +45,7 @@ exports.DomainTransferDetailsDtoStatusSellerEnum = {
|
|
|
44
45
|
STARTED: 'started',
|
|
45
46
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
46
47
|
ERROR: 'error',
|
|
48
|
+
CANCELLED: 'cancelled',
|
|
47
49
|
COMPLETED: 'completed'
|
|
48
50
|
};
|
|
49
51
|
/**
|
|
@@ -89,6 +89,7 @@ export declare const DomainTransferDtoStatusEnum: {
|
|
|
89
89
|
readonly STARTED: "started";
|
|
90
90
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
91
91
|
readonly ERROR: "error";
|
|
92
|
+
readonly CANCELLED: "cancelled";
|
|
92
93
|
readonly COMPLETED: "completed";
|
|
93
94
|
};
|
|
94
95
|
export type DomainTransferDtoStatusEnum = typeof DomainTransferDtoStatusEnum[keyof typeof DomainTransferDtoStatusEnum];
|
|
@@ -100,6 +101,7 @@ export declare const DomainTransferDtoStatusSellerEnum: {
|
|
|
100
101
|
readonly STARTED: "started";
|
|
101
102
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
102
103
|
readonly ERROR: "error";
|
|
104
|
+
readonly CANCELLED: "cancelled";
|
|
103
105
|
readonly COMPLETED: "completed";
|
|
104
106
|
};
|
|
105
107
|
export type DomainTransferDtoStatusSellerEnum = typeof DomainTransferDtoStatusSellerEnum[keyof typeof DomainTransferDtoStatusSellerEnum];
|
|
@@ -32,6 +32,7 @@ exports.DomainTransferDtoStatusEnum = {
|
|
|
32
32
|
STARTED: 'started',
|
|
33
33
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
34
34
|
ERROR: 'error',
|
|
35
|
+
CANCELLED: 'cancelled',
|
|
35
36
|
COMPLETED: 'completed'
|
|
36
37
|
};
|
|
37
38
|
/**
|
|
@@ -42,6 +43,7 @@ exports.DomainTransferDtoStatusSellerEnum = {
|
|
|
42
43
|
STARTED: 'started',
|
|
43
44
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
44
45
|
ERROR: 'error',
|
|
46
|
+
CANCELLED: 'cancelled',
|
|
45
47
|
COMPLETED: 'completed'
|
|
46
48
|
};
|
|
47
49
|
/**
|
|
@@ -62,6 +62,7 @@ export declare const SellerDomainTransferDtoStatusEnum: {
|
|
|
62
62
|
readonly STARTED: "started";
|
|
63
63
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
64
64
|
readonly ERROR: "error";
|
|
65
|
+
readonly CANCELLED: "cancelled";
|
|
65
66
|
readonly COMPLETED: "completed";
|
|
66
67
|
};
|
|
67
68
|
export type SellerDomainTransferDtoStatusEnum = typeof SellerDomainTransferDtoStatusEnum[keyof typeof SellerDomainTransferDtoStatusEnum];
|
|
@@ -68,6 +68,7 @@ export declare const SellerDomainTransferListItemDtoStatusEnum: {
|
|
|
68
68
|
readonly STARTED: "started";
|
|
69
69
|
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
70
70
|
readonly ERROR: "error";
|
|
71
|
+
readonly CANCELLED: "cancelled";
|
|
71
72
|
readonly COMPLETED: "completed";
|
|
72
73
|
};
|
|
73
74
|
export type SellerDomainTransferListItemDtoStatusEnum = typeof SellerDomainTransferListItemDtoStatusEnum[keyof typeof SellerDomainTransferListItemDtoStatusEnum];
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -153,6 +153,10 @@ export interface AdminApiBulkCommissionActionsRequest {
|
|
|
153
153
|
bulkCommissionActionsInput: BulkCommissionActionsInput;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
+
export interface AdminApiCancelDomainTransferRequest {
|
|
157
|
+
transferId: string;
|
|
158
|
+
}
|
|
159
|
+
|
|
156
160
|
export interface AdminApiChangeOrderStatusRequest {
|
|
157
161
|
orderId: string;
|
|
158
162
|
changeOrderStatusInput: ChangeOrderStatusInput;
|
|
@@ -475,6 +479,46 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
475
479
|
await this.bulkCommissionActionsRaw(requestParameters, initOverrides);
|
|
476
480
|
}
|
|
477
481
|
|
|
482
|
+
/**
|
|
483
|
+
*
|
|
484
|
+
*/
|
|
485
|
+
async cancelDomainTransferRaw(requestParameters: AdminApiCancelDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
486
|
+
if (requestParameters['transferId'] == null) {
|
|
487
|
+
throw new runtime.RequiredError(
|
|
488
|
+
'transferId',
|
|
489
|
+
'Required parameter "transferId" was null or undefined when calling cancelDomainTransfer().'
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
const queryParameters: any = {};
|
|
494
|
+
|
|
495
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
496
|
+
|
|
497
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
498
|
+
const token = this.configuration.accessToken;
|
|
499
|
+
const tokenString = await token("bearer", []);
|
|
500
|
+
|
|
501
|
+
if (tokenString) {
|
|
502
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
const response = await this.request({
|
|
506
|
+
path: `/admin/domain-transfers/{transferId}/cancel`.replace(`{${"transferId"}}`, encodeURIComponent(String(requestParameters['transferId']))),
|
|
507
|
+
method: 'POST',
|
|
508
|
+
headers: headerParameters,
|
|
509
|
+
query: queryParameters,
|
|
510
|
+
}, initOverrides);
|
|
511
|
+
|
|
512
|
+
return new runtime.VoidApiResponse(response);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
*/
|
|
518
|
+
async cancelDomainTransfer(requestParameters: AdminApiCancelDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
519
|
+
await this.cancelDomainTransferRaw(requestParameters, initOverrides);
|
|
520
|
+
}
|
|
521
|
+
|
|
478
522
|
/**
|
|
479
523
|
*
|
|
480
524
|
*/
|
|
@@ -51,6 +51,12 @@ export interface BuyerDomainTransferListItemDto {
|
|
|
51
51
|
* @memberof BuyerDomainTransferListItemDto
|
|
52
52
|
*/
|
|
53
53
|
requirements: object;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BuyerDomainTransferListItemDto
|
|
58
|
+
*/
|
|
59
|
+
invoiceId: string;
|
|
54
60
|
/**
|
|
55
61
|
* The buyer domain transfer ID
|
|
56
62
|
* @type {object}
|
|
@@ -81,6 +87,12 @@ export interface BuyerDomainTransferListItemDto {
|
|
|
81
87
|
* @memberof BuyerDomainTransferListItemDto
|
|
82
88
|
*/
|
|
83
89
|
isOfferExpired: boolean;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BuyerDomainTransferListItemDto
|
|
94
|
+
*/
|
|
95
|
+
invoiceNumber: string | null;
|
|
84
96
|
}
|
|
85
97
|
|
|
86
98
|
|
|
@@ -103,6 +115,7 @@ export const BuyerDomainTransferListItemDtoDomainTransferStatusEnum = {
|
|
|
103
115
|
STARTED: 'started',
|
|
104
116
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
105
117
|
ERROR: 'error',
|
|
118
|
+
CANCELLED: 'cancelled',
|
|
106
119
|
COMPLETED: 'completed'
|
|
107
120
|
} as const;
|
|
108
121
|
export type BuyerDomainTransferListItemDtoDomainTransferStatusEnum = typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum[keyof typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum];
|
|
@@ -116,11 +129,13 @@ export function instanceOfBuyerDomainTransferListItemDto(value: object): value i
|
|
|
116
129
|
if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined) return false;
|
|
117
130
|
if (!('domainTransferStatus' in value) || value['domainTransferStatus'] === undefined) return false;
|
|
118
131
|
if (!('requirements' in value) || value['requirements'] === undefined) return false;
|
|
132
|
+
if (!('invoiceId' in value) || value['invoiceId'] === undefined) return false;
|
|
119
133
|
if (!('domainTransferId' in value) || value['domainTransferId'] === undefined) return false;
|
|
120
134
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
121
135
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
122
136
|
if (!('ipsTag' in value) || value['ipsTag'] === undefined) return false;
|
|
123
137
|
if (!('isOfferExpired' in value) || value['isOfferExpired'] === undefined) return false;
|
|
138
|
+
if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined) return false;
|
|
124
139
|
return true;
|
|
125
140
|
}
|
|
126
141
|
|
|
@@ -138,11 +153,13 @@ export function BuyerDomainTransferListItemDtoFromJSONTyped(json: any, ignoreDis
|
|
|
138
153
|
'invoiceStatus': json['invoiceStatus'],
|
|
139
154
|
'domainTransferStatus': json['domainTransferStatus'],
|
|
140
155
|
'requirements': json['requirements'],
|
|
156
|
+
'invoiceId': json['invoiceId'],
|
|
141
157
|
'domainTransferId': json['domainTransferId'],
|
|
142
158
|
'domain': BuyerDomainTransferListItemDomainDtoFromJSON(json['domain']),
|
|
143
159
|
'createdAt': (new Date(json['createdAt'])),
|
|
144
160
|
'ipsTag': json['ipsTag'],
|
|
145
161
|
'isOfferExpired': json['isOfferExpired'],
|
|
162
|
+
'invoiceNumber': json['invoiceNumber'],
|
|
146
163
|
};
|
|
147
164
|
}
|
|
148
165
|
|
|
@@ -161,11 +178,13 @@ export function BuyerDomainTransferListItemDtoToJSONTyped(value?: BuyerDomainTra
|
|
|
161
178
|
'invoiceStatus': value['invoiceStatus'],
|
|
162
179
|
'domainTransferStatus': value['domainTransferStatus'],
|
|
163
180
|
'requirements': value['requirements'],
|
|
181
|
+
'invoiceId': value['invoiceId'],
|
|
164
182
|
'domainTransferId': value['domainTransferId'],
|
|
165
183
|
'domain': BuyerDomainTransferListItemDomainDtoToJSON(value['domain']),
|
|
166
184
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
167
185
|
'ipsTag': value['ipsTag'],
|
|
168
186
|
'isOfferExpired': value['isOfferExpired'],
|
|
187
|
+
'invoiceNumber': value['invoiceNumber'],
|
|
169
188
|
};
|
|
170
189
|
}
|
|
171
190
|
|
|
@@ -152,6 +152,7 @@ export const DomainTransferDetailsDtoStatusEnum = {
|
|
|
152
152
|
STARTED: 'started',
|
|
153
153
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
154
154
|
ERROR: 'error',
|
|
155
|
+
CANCELLED: 'cancelled',
|
|
155
156
|
COMPLETED: 'completed'
|
|
156
157
|
} as const;
|
|
157
158
|
export type DomainTransferDetailsDtoStatusEnum = typeof DomainTransferDetailsDtoStatusEnum[keyof typeof DomainTransferDetailsDtoStatusEnum];
|
|
@@ -164,6 +165,7 @@ export const DomainTransferDetailsDtoStatusSellerEnum = {
|
|
|
164
165
|
STARTED: 'started',
|
|
165
166
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
166
167
|
ERROR: 'error',
|
|
168
|
+
CANCELLED: 'cancelled',
|
|
167
169
|
COMPLETED: 'completed'
|
|
168
170
|
} as const;
|
|
169
171
|
export type DomainTransferDetailsDtoStatusSellerEnum = typeof DomainTransferDetailsDtoStatusSellerEnum[keyof typeof DomainTransferDetailsDtoStatusSellerEnum];
|
|
@@ -126,6 +126,7 @@ export const DomainTransferDtoStatusEnum = {
|
|
|
126
126
|
STARTED: 'started',
|
|
127
127
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
128
128
|
ERROR: 'error',
|
|
129
|
+
CANCELLED: 'cancelled',
|
|
129
130
|
COMPLETED: 'completed'
|
|
130
131
|
} as const;
|
|
131
132
|
export type DomainTransferDtoStatusEnum = typeof DomainTransferDtoStatusEnum[keyof typeof DomainTransferDtoStatusEnum];
|
|
@@ -138,6 +139,7 @@ export const DomainTransferDtoStatusSellerEnum = {
|
|
|
138
139
|
STARTED: 'started',
|
|
139
140
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
140
141
|
ERROR: 'error',
|
|
142
|
+
CANCELLED: 'cancelled',
|
|
141
143
|
COMPLETED: 'completed'
|
|
142
144
|
} as const;
|
|
143
145
|
export type DomainTransferDtoStatusSellerEnum = typeof DomainTransferDtoStatusSellerEnum[keyof typeof DomainTransferDtoStatusSellerEnum];
|
|
@@ -81,6 +81,7 @@ export const SellerDomainTransferDtoStatusEnum = {
|
|
|
81
81
|
STARTED: 'started',
|
|
82
82
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
83
83
|
ERROR: 'error',
|
|
84
|
+
CANCELLED: 'cancelled',
|
|
84
85
|
COMPLETED: 'completed'
|
|
85
86
|
} as const;
|
|
86
87
|
export type SellerDomainTransferDtoStatusEnum = typeof SellerDomainTransferDtoStatusEnum[keyof typeof SellerDomainTransferDtoStatusEnum];
|
|
@@ -87,6 +87,7 @@ export const SellerDomainTransferListItemDtoStatusEnum = {
|
|
|
87
87
|
STARTED: 'started',
|
|
88
88
|
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
89
89
|
ERROR: 'error',
|
|
90
|
+
CANCELLED: 'cancelled',
|
|
90
91
|
COMPLETED: 'completed'
|
|
91
92
|
} as const;
|
|
92
93
|
export type SellerDomainTransferListItemDtoStatusEnum = typeof SellerDomainTransferListItemDtoStatusEnum[keyof typeof SellerDomainTransferListItemDtoStatusEnum];
|