@randock/nameshift-api-client 0.0.76 → 0.0.78
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/.openapi-generator/FILES +4 -1
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -1
- package/dist/apis/LeadsApi.d.ts +9 -3
- package/dist/apis/LeadsApi.js +18 -5
- package/dist/models/DomainTransferDetailWorkflowStepActionDto.d.ts +37 -0
- package/dist/models/DomainTransferDetailWorkflowStepActionDto.js +51 -0
- package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +7 -0
- package/dist/models/DomainTransferDetailWorkflowStepDto.js +5 -0
- package/dist/models/DomainTransferDetailsBuyerConfirmationDto.d.ts +37 -0
- package/dist/models/DomainTransferDetailsBuyerConfirmationDto.js +51 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +7 -7
- package/dist/models/DomainTransferDetailsDto.js +5 -5
- package/dist/models/DomainTransferDetailsDtoBuyerConfirmation.d.ts +37 -0
- package/dist/models/DomainTransferDetailsDtoBuyerConfirmation.js +51 -0
- package/dist/models/List200Response1.d.ts +46 -0
- package/dist/models/List200Response1.js +58 -0
- package/dist/models/PaginateResponseLinks.d.ts +5 -5
- package/dist/models/UpdateDomainInput.d.ts +2 -2
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +1 -1
- package/src/apis/LeadsApi.ts +30 -7
- package/src/models/DomainTransferDetailWorkflowStepActionDto.ts +70 -0
- package/src/models/DomainTransferDetailWorkflowStepDto.ts +16 -0
- package/src/models/DomainTransferDetailsBuyerConfirmationDto.ts +70 -0
- package/src/models/DomainTransferDetailsDto.ts +14 -14
- package/src/models/DomainTransferDetailsDtoBuyerConfirmation.ts +70 -0
- package/src/models/List200Response1.ts +98 -0
- package/src/models/PaginateResponseLinks.ts +5 -5
- package/src/models/UpdateDomainInput.ts +2 -2
- package/src/models/index.ts +4 -1
- package/dist/models/DomainTransferDetailWorkflowDefinitionDto.d.ts +0 -43
- package/dist/models/DomainTransferDetailWorkflowDefinitionDto.js +0 -55
- package/src/models/DomainTransferDetailWorkflowDefinitionDto.ts +0 -79
package/.openapi-generator/FILES
CHANGED
|
@@ -42,12 +42,14 @@ src/models/DomainDto.ts
|
|
|
42
42
|
src/models/DomainSellerDto.ts
|
|
43
43
|
src/models/DomainStats.ts
|
|
44
44
|
src/models/DomainTransferAgentDto.ts
|
|
45
|
-
src/models/
|
|
45
|
+
src/models/DomainTransferDetailWorkflowStepActionDto.ts
|
|
46
46
|
src/models/DomainTransferDetailWorkflowStepDto.ts
|
|
47
47
|
src/models/DomainTransferDetailsAuthCodeDto.ts
|
|
48
|
+
src/models/DomainTransferDetailsBuyerConfirmationDto.ts
|
|
48
49
|
src/models/DomainTransferDetailsDomainDto.ts
|
|
49
50
|
src/models/DomainTransferDetailsDto.ts
|
|
50
51
|
src/models/DomainTransferDetailsDtoAuthCode.ts
|
|
52
|
+
src/models/DomainTransferDetailsDtoBuyerConfirmation.ts
|
|
51
53
|
src/models/DomainTransferDetailsOrderBuyerDto.ts
|
|
52
54
|
src/models/DomainTransferDetailsOrderDto.ts
|
|
53
55
|
src/models/DomainTransferDetailsOrderSellerDto.ts
|
|
@@ -76,6 +78,7 @@ src/models/LeadMessageDto.ts
|
|
|
76
78
|
src/models/LeadMessageDtoData.ts
|
|
77
79
|
src/models/LeadStatusDto.ts
|
|
78
80
|
src/models/List200Response.ts
|
|
81
|
+
src/models/List200Response1.ts
|
|
79
82
|
src/models/ListAccountDto.ts
|
|
80
83
|
src/models/ListAccounts200Response.ts
|
|
81
84
|
src/models/ListLeadMessagesDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.78
|
|
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.78 --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
|
+
26f0df9c33e8ca76aac6b6a8ee25a1125795885fe9a527297734f58130f052c5181f38e3fe3e19c86941676f612bb2ae
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
|
-
file?: Blob;
|
|
15
|
+
file?: Blob | null;
|
|
16
16
|
domains?: Array<string>;
|
|
17
17
|
}
|
|
18
18
|
export interface DomainsApiBatchUpdateRequest {
|
package/dist/apis/LeadsApi.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 { CreateLeadMessageInput, IntersectionLeadDtoWithLeadDetailsDto,
|
|
13
|
+
import type { CreateLeadMessageInput, IntersectionLeadDtoWithLeadDetailsDto, List200Response1, ListLeadMessagesDto, ObjectId, PutLeadOfferInput } from '../models/index';
|
|
14
14
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -24,6 +24,12 @@ export interface LeadsApiGetLeadRequest {
|
|
|
24
24
|
export interface LeadsApiGetMessagesRequest {
|
|
25
25
|
leadId: string;
|
|
26
26
|
}
|
|
27
|
+
export interface LeadsApiListRequest {
|
|
28
|
+
filter?: object;
|
|
29
|
+
page?: number;
|
|
30
|
+
limit?: number;
|
|
31
|
+
sortBy?: Array<string>;
|
|
32
|
+
}
|
|
27
33
|
export interface LeadsApiPutOfferRequest {
|
|
28
34
|
leadId: string;
|
|
29
35
|
putLeadOfferInput: PutLeadOfferInput;
|
|
@@ -67,11 +73,11 @@ export declare class LeadsApi extends runtime.BaseAPI {
|
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
*/
|
|
70
|
-
|
|
76
|
+
listRaw(requestParameters: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>>;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
*/
|
|
74
|
-
|
|
80
|
+
list(requestParameters?: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1>;
|
|
75
81
|
/**
|
|
76
82
|
*
|
|
77
83
|
*/
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -293,13 +293,25 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
293
293
|
/**
|
|
294
294
|
*
|
|
295
295
|
*/
|
|
296
|
-
LeadsApi.prototype.
|
|
296
|
+
LeadsApi.prototype.listRaw = function (requestParameters, initOverrides) {
|
|
297
297
|
return __awaiter(this, void 0, void 0, function () {
|
|
298
298
|
var queryParameters, headerParameters, token, tokenString, response;
|
|
299
299
|
return __generator(this, function (_a) {
|
|
300
300
|
switch (_a.label) {
|
|
301
301
|
case 0:
|
|
302
302
|
queryParameters = {};
|
|
303
|
+
if (requestParameters['filter'] != null) {
|
|
304
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
305
|
+
}
|
|
306
|
+
if (requestParameters['page'] != null) {
|
|
307
|
+
queryParameters['page'] = requestParameters['page'];
|
|
308
|
+
}
|
|
309
|
+
if (requestParameters['limit'] != null) {
|
|
310
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
311
|
+
}
|
|
312
|
+
if (requestParameters['sortBy'] != null) {
|
|
313
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
314
|
+
}
|
|
303
315
|
headerParameters = {};
|
|
304
316
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
305
317
|
token = this.configuration.accessToken;
|
|
@@ -318,7 +330,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
318
330
|
}, initOverrides)];
|
|
319
331
|
case 3:
|
|
320
332
|
response = _a.sent();
|
|
321
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return
|
|
333
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response1FromJSON)(jsonValue); })];
|
|
322
334
|
}
|
|
323
335
|
});
|
|
324
336
|
});
|
|
@@ -326,12 +338,13 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
326
338
|
/**
|
|
327
339
|
*
|
|
328
340
|
*/
|
|
329
|
-
LeadsApi.prototype.
|
|
330
|
-
return __awaiter(this,
|
|
341
|
+
LeadsApi.prototype.list = function () {
|
|
342
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
331
343
|
var response;
|
|
344
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
332
345
|
return __generator(this, function (_a) {
|
|
333
346
|
switch (_a.label) {
|
|
334
|
-
case 0: return [4 /*yield*/, this.
|
|
347
|
+
case 0: return [4 /*yield*/, this.listRaw(requestParameters, initOverrides)];
|
|
335
348
|
case 1:
|
|
336
349
|
response = _a.sent();
|
|
337
350
|
return [4 /*yield*/, response.value()];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainTransferDetailWorkflowStepActionDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainTransferDetailWorkflowStepActionDto {
|
|
18
|
+
/**
|
|
19
|
+
* The domain transfer workflow step action name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DomainTransferDetailWorkflowStepActionDto
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* The domain transfer workflow step action "isAllowed" status
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof DomainTransferDetailWorkflowStepActionDto
|
|
28
|
+
*/
|
|
29
|
+
isAllowed: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainTransferDetailWorkflowStepActionDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainTransferDetailWorkflowStepActionDto(value: object): value is DomainTransferDetailWorkflowStepActionDto;
|
|
35
|
+
export declare function DomainTransferDetailWorkflowStepActionDtoFromJSON(json: any): DomainTransferDetailWorkflowStepActionDto;
|
|
36
|
+
export declare function DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailWorkflowStepActionDto;
|
|
37
|
+
export declare function DomainTransferDetailWorkflowStepActionDtoToJSON(value?: DomainTransferDetailWorkflowStepActionDto | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DomainTransferDetailWorkflowStepActionDtoToJSON = exports.DomainTransferDetailWorkflowStepActionDtoFromJSONTyped = exports.DomainTransferDetailWorkflowStepActionDtoFromJSON = exports.instanceOfDomainTransferDetailWorkflowStepActionDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainTransferDetailWorkflowStepActionDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainTransferDetailWorkflowStepActionDto(value) {
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('isAllowed' in value) || value['isAllowed'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainTransferDetailWorkflowStepActionDto = instanceOfDomainTransferDetailWorkflowStepActionDto;
|
|
28
|
+
function DomainTransferDetailWorkflowStepActionDtoFromJSON(json) {
|
|
29
|
+
return DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainTransferDetailWorkflowStepActionDtoFromJSON = DomainTransferDetailWorkflowStepActionDtoFromJSON;
|
|
32
|
+
function DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'isAllowed': json['isAllowed'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainTransferDetailWorkflowStepActionDtoFromJSONTyped = DomainTransferDetailWorkflowStepActionDtoFromJSONTyped;
|
|
42
|
+
function DomainTransferDetailWorkflowStepActionDtoToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': value['name'],
|
|
48
|
+
'isAllowed': value['isAllowed'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainTransferDetailWorkflowStepActionDtoToJSON = DomainTransferDetailWorkflowStepActionDtoToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DomainTransferDetailWorkflowStepActionDto } from './DomainTransferDetailWorkflowStepActionDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -45,6 +46,12 @@ export interface DomainTransferDetailWorkflowStepDto {
|
|
|
45
46
|
* @memberof DomainTransferDetailWorkflowStepDto
|
|
46
47
|
*/
|
|
47
48
|
requirements: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The domain transfer workflow step requirements
|
|
51
|
+
* @type {Array<DomainTransferDetailWorkflowStepActionDto>}
|
|
52
|
+
* @memberof DomainTransferDetailWorkflowStepDto
|
|
53
|
+
*/
|
|
54
|
+
actions: Array<DomainTransferDetailWorkflowStepActionDto>;
|
|
48
55
|
}
|
|
49
56
|
/**
|
|
50
57
|
* @export
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DomainTransferDetailWorkflowStepDtoToJSON = exports.DomainTransferDetailWorkflowStepDtoFromJSONTyped = exports.DomainTransferDetailWorkflowStepDtoFromJSON = exports.instanceOfDomainTransferDetailWorkflowStepDto = exports.DomainTransferDetailWorkflowStepDtoStatusEnum = void 0;
|
|
17
|
+
var DomainTransferDetailWorkflowStepActionDto_1 = require("./DomainTransferDetailWorkflowStepActionDto");
|
|
17
18
|
/**
|
|
18
19
|
* @export
|
|
19
20
|
*/
|
|
@@ -36,6 +37,8 @@ function instanceOfDomainTransferDetailWorkflowStepDto(value) {
|
|
|
36
37
|
return false;
|
|
37
38
|
if (!('requirements' in value) || value['requirements'] === undefined)
|
|
38
39
|
return false;
|
|
40
|
+
if (!('actions' in value) || value['actions'] === undefined)
|
|
41
|
+
return false;
|
|
39
42
|
return true;
|
|
40
43
|
}
|
|
41
44
|
exports.instanceOfDomainTransferDetailWorkflowStepDto = instanceOfDomainTransferDetailWorkflowStepDto;
|
|
@@ -53,6 +56,7 @@ function DomainTransferDetailWorkflowStepDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
53
56
|
'name': json['name'],
|
|
54
57
|
'createdAt': (new Date(json['createdAt'])),
|
|
55
58
|
'requirements': json['requirements'],
|
|
59
|
+
'actions': (json['actions'].map(DomainTransferDetailWorkflowStepActionDto_1.DomainTransferDetailWorkflowStepActionDtoFromJSON)),
|
|
56
60
|
};
|
|
57
61
|
}
|
|
58
62
|
exports.DomainTransferDetailWorkflowStepDtoFromJSONTyped = DomainTransferDetailWorkflowStepDtoFromJSONTyped;
|
|
@@ -66,6 +70,7 @@ function DomainTransferDetailWorkflowStepDtoToJSON(value) {
|
|
|
66
70
|
'name': value['name'],
|
|
67
71
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
68
72
|
'requirements': value['requirements'],
|
|
73
|
+
'actions': (value['actions'].map(DomainTransferDetailWorkflowStepActionDto_1.DomainTransferDetailWorkflowStepActionDtoToJSON)),
|
|
69
74
|
};
|
|
70
75
|
}
|
|
71
76
|
exports.DomainTransferDetailWorkflowStepDtoToJSON = DomainTransferDetailWorkflowStepDtoToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainTransferDetailsBuyerConfirmationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainTransferDetailsBuyerConfirmationDto {
|
|
18
|
+
/**
|
|
19
|
+
* The domain transfer buyer confirmation status
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof DomainTransferDetailsBuyerConfirmationDto
|
|
22
|
+
*/
|
|
23
|
+
confirmed: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The domain transfer buyer confirmation date
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof DomainTransferDetailsBuyerConfirmationDto
|
|
28
|
+
*/
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainTransferDetailsBuyerConfirmationDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainTransferDetailsBuyerConfirmationDto(value: object): value is DomainTransferDetailsBuyerConfirmationDto;
|
|
35
|
+
export declare function DomainTransferDetailsBuyerConfirmationDtoFromJSON(json: any): DomainTransferDetailsBuyerConfirmationDto;
|
|
36
|
+
export declare function DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsBuyerConfirmationDto;
|
|
37
|
+
export declare function DomainTransferDetailsBuyerConfirmationDtoToJSON(value?: DomainTransferDetailsBuyerConfirmationDto | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DomainTransferDetailsBuyerConfirmationDtoToJSON = exports.DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped = exports.DomainTransferDetailsBuyerConfirmationDtoFromJSON = exports.instanceOfDomainTransferDetailsBuyerConfirmationDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainTransferDetailsBuyerConfirmationDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainTransferDetailsBuyerConfirmationDto(value) {
|
|
21
|
+
if (!('confirmed' in value) || value['confirmed'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainTransferDetailsBuyerConfirmationDto = instanceOfDomainTransferDetailsBuyerConfirmationDto;
|
|
28
|
+
function DomainTransferDetailsBuyerConfirmationDtoFromJSON(json) {
|
|
29
|
+
return DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainTransferDetailsBuyerConfirmationDtoFromJSON = DomainTransferDetailsBuyerConfirmationDtoFromJSON;
|
|
32
|
+
function DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'confirmed': json['confirmed'],
|
|
38
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped = DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped;
|
|
42
|
+
function DomainTransferDetailsBuyerConfirmationDtoToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'confirmed': value['confirmed'],
|
|
48
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainTransferDetailsBuyerConfirmationDtoToJSON = DomainTransferDetailsBuyerConfirmationDtoToJSON;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { DomainTransferDetailsDtoBuyerConfirmation } from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
13
13
|
import type { DomainTransferDetailsDtoAuthCode } from './DomainTransferDetailsDtoAuthCode';
|
|
14
14
|
import type { DomainTransferDetailsOrderDto } from './DomainTransferDetailsOrderDto';
|
|
15
15
|
import type { DomainTransferDetailWorkflowStepDto } from './DomainTransferDetailWorkflowStepDto';
|
|
@@ -57,17 +57,17 @@ export interface DomainTransferDetailsDto {
|
|
|
57
57
|
*/
|
|
58
58
|
authCode: DomainTransferDetailsDtoAuthCode | null;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {
|
|
60
|
+
*
|
|
61
|
+
* @type {DomainTransferDetailsDtoBuyerConfirmation}
|
|
62
62
|
* @memberof DomainTransferDetailsDto
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
buyerConfirmation: DomainTransferDetailsDtoBuyerConfirmation | null;
|
|
65
65
|
/**
|
|
66
|
-
* The domain transfer
|
|
67
|
-
* @type {
|
|
66
|
+
* The domain transfer creation date
|
|
67
|
+
* @type {Date}
|
|
68
68
|
* @memberof DomainTransferDetailsDto
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
createdAt: Date;
|
|
71
71
|
/**
|
|
72
72
|
* The domain transfer workflow
|
|
73
73
|
* @type {Array<DomainTransferDetailWorkflowStepDto>}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DomainTransferDetailsDtoToJSON = exports.DomainTransferDetailsDtoFromJSONTyped = exports.DomainTransferDetailsDtoFromJSON = exports.instanceOfDomainTransferDetailsDto = exports.DomainTransferDetailsDtoStatusEnum = void 0;
|
|
17
|
-
var
|
|
17
|
+
var DomainTransferDetailsDtoBuyerConfirmation_1 = require("./DomainTransferDetailsDtoBuyerConfirmation");
|
|
18
18
|
var DomainTransferDetailsDtoAuthCode_1 = require("./DomainTransferDetailsDtoAuthCode");
|
|
19
19
|
var DomainTransferDetailsOrderDto_1 = require("./DomainTransferDetailsOrderDto");
|
|
20
20
|
var DomainTransferDetailWorkflowStepDto_1 = require("./DomainTransferDetailWorkflowStepDto");
|
|
@@ -45,9 +45,9 @@ function instanceOfDomainTransferDetailsDto(value) {
|
|
|
45
45
|
return false;
|
|
46
46
|
if (!('authCode' in value) || value['authCode'] === undefined)
|
|
47
47
|
return false;
|
|
48
|
-
if (!('
|
|
48
|
+
if (!('buyerConfirmation' in value) || value['buyerConfirmation'] === undefined)
|
|
49
49
|
return false;
|
|
50
|
-
if (!('
|
|
50
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
51
51
|
return false;
|
|
52
52
|
if (!('workflow' in value) || value['workflow'] === undefined)
|
|
53
53
|
return false;
|
|
@@ -69,8 +69,8 @@ function DomainTransferDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
69
|
'order': (0, DomainTransferDetailsOrderDto_1.DomainTransferDetailsOrderDtoFromJSON)(json['order']),
|
|
70
70
|
'status': json['status'],
|
|
71
71
|
'authCode': (0, DomainTransferDetailsDtoAuthCode_1.DomainTransferDetailsDtoAuthCodeFromJSON)(json['authCode']),
|
|
72
|
+
'buyerConfirmation': (0, DomainTransferDetailsDtoBuyerConfirmation_1.DomainTransferDetailsDtoBuyerConfirmationFromJSON)(json['buyerConfirmation']),
|
|
72
73
|
'createdAt': (new Date(json['createdAt'])),
|
|
73
|
-
'workflowDefinition': (json['workflowDefinition'].map(DomainTransferDetailWorkflowDefinitionDto_1.DomainTransferDetailWorkflowDefinitionDtoFromJSON)),
|
|
74
74
|
'workflow': (json['workflow'].map(DomainTransferDetailWorkflowStepDto_1.DomainTransferDetailWorkflowStepDtoFromJSON)),
|
|
75
75
|
};
|
|
76
76
|
}
|
|
@@ -86,8 +86,8 @@ function DomainTransferDetailsDtoToJSON(value) {
|
|
|
86
86
|
'order': (0, DomainTransferDetailsOrderDto_1.DomainTransferDetailsOrderDtoToJSON)(value['order']),
|
|
87
87
|
'status': value['status'],
|
|
88
88
|
'authCode': (0, DomainTransferDetailsDtoAuthCode_1.DomainTransferDetailsDtoAuthCodeToJSON)(value['authCode']),
|
|
89
|
+
'buyerConfirmation': (0, DomainTransferDetailsDtoBuyerConfirmation_1.DomainTransferDetailsDtoBuyerConfirmationToJSON)(value['buyerConfirmation']),
|
|
89
90
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
90
|
-
'workflowDefinition': (value['workflowDefinition'].map(DomainTransferDetailWorkflowDefinitionDto_1.DomainTransferDetailWorkflowDefinitionDtoToJSON)),
|
|
91
91
|
'workflow': (value['workflow'].map(DomainTransferDetailWorkflowStepDto_1.DomainTransferDetailWorkflowStepDtoToJSON)),
|
|
92
92
|
};
|
|
93
93
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The domain transfer buyer confirmation status
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainTransferDetailsDtoBuyerConfirmation
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainTransferDetailsDtoBuyerConfirmation {
|
|
18
|
+
/**
|
|
19
|
+
* The domain transfer buyer confirmation status
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof DomainTransferDetailsDtoBuyerConfirmation
|
|
22
|
+
*/
|
|
23
|
+
confirmed: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The domain transfer buyer confirmation date
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof DomainTransferDetailsDtoBuyerConfirmation
|
|
28
|
+
*/
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainTransferDetailsDtoBuyerConfirmation interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainTransferDetailsDtoBuyerConfirmation(value: object): value is DomainTransferDetailsDtoBuyerConfirmation;
|
|
35
|
+
export declare function DomainTransferDetailsDtoBuyerConfirmationFromJSON(json: any): DomainTransferDetailsDtoBuyerConfirmation;
|
|
36
|
+
export declare function DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsDtoBuyerConfirmation;
|
|
37
|
+
export declare function DomainTransferDetailsDtoBuyerConfirmationToJSON(value?: DomainTransferDetailsDtoBuyerConfirmation | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DomainTransferDetailsDtoBuyerConfirmationToJSON = exports.DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped = exports.DomainTransferDetailsDtoBuyerConfirmationFromJSON = exports.instanceOfDomainTransferDetailsDtoBuyerConfirmation = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainTransferDetailsDtoBuyerConfirmation interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainTransferDetailsDtoBuyerConfirmation(value) {
|
|
21
|
+
if (!('confirmed' in value) || value['confirmed'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainTransferDetailsDtoBuyerConfirmation = instanceOfDomainTransferDetailsDtoBuyerConfirmation;
|
|
28
|
+
function DomainTransferDetailsDtoBuyerConfirmationFromJSON(json) {
|
|
29
|
+
return DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainTransferDetailsDtoBuyerConfirmationFromJSON = DomainTransferDetailsDtoBuyerConfirmationFromJSON;
|
|
32
|
+
function DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'confirmed': json['confirmed'],
|
|
38
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped = DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped;
|
|
42
|
+
function DomainTransferDetailsDtoBuyerConfirmationToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'confirmed': value['confirmed'],
|
|
48
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainTransferDetailsDtoBuyerConfirmationToJSON = DomainTransferDetailsDtoBuyerConfirmationToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { IntersectionLeadDtoWithListFieldsDto } from './IntersectionLeadDtoWithListFieldsDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface List200Response1
|
|
19
|
+
*/
|
|
20
|
+
export interface List200Response1 {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<IntersectionLeadDtoWithListFieldsDto>}
|
|
24
|
+
* @memberof List200Response1
|
|
25
|
+
*/
|
|
26
|
+
data: Array<IntersectionLeadDtoWithListFieldsDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof List200Response1
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof List200Response1
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the List200Response1 interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfList200Response1(value: object): value is List200Response1;
|
|
44
|
+
export declare function List200Response1FromJSON(json: any): List200Response1;
|
|
45
|
+
export declare function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response1;
|
|
46
|
+
export declare function List200Response1ToJSON(value?: List200Response1 | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.List200Response1ToJSON = exports.List200Response1FromJSONTyped = exports.List200Response1FromJSON = exports.instanceOfList200Response1 = void 0;
|
|
17
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
18
|
+
var IntersectionLeadDtoWithListFieldsDto_1 = require("./IntersectionLeadDtoWithListFieldsDto");
|
|
19
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the List200Response1 interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfList200Response1(value) {
|
|
24
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfList200Response1 = instanceOfList200Response1;
|
|
33
|
+
function List200Response1FromJSON(json) {
|
|
34
|
+
return List200Response1FromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.List200Response1FromJSON = List200Response1FromJSON;
|
|
37
|
+
function List200Response1FromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'data': (json['data'].map(IntersectionLeadDtoWithListFieldsDto_1.IntersectionLeadDtoWithListFieldsDtoFromJSON)),
|
|
43
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.List200Response1FromJSONTyped = List200Response1FromJSONTyped;
|
|
48
|
+
function List200Response1ToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'data': (value['data'].map(IntersectionLeadDtoWithListFieldsDto_1.IntersectionLeadDtoWithListFieldsDtoToJSON)),
|
|
54
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
55
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.List200Response1ToJSON = List200Response1ToJSON;
|