@randock/nameshift-api-client 0.0.76 → 0.0.77
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 +3 -1
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -1
- 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/PaginateResponseLinks.d.ts +5 -5
- package/dist/models/UpdateDomainInput.d.ts +2 -2
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +1 -1
- 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/PaginateResponseLinks.ts +5 -5
- package/src/models/UpdateDomainInput.ts +2 -2
- package/src/models/index.ts +3 -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
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.77
|
|
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.77 --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
|
+
1925b4f5f01b2edf08e362fed3082b38a377d7bac8f7f5c70bf2564c51683b687b1cf5be3dccf3dd03ed8b8f628b5821
|
|
@@ -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 {
|
|
@@ -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;
|
|
@@ -20,31 +20,31 @@ export interface PaginateResponseLinks {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PaginateResponseLinks
|
|
22
22
|
*/
|
|
23
|
-
first?: string;
|
|
23
|
+
first?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PaginateResponseLinks
|
|
28
28
|
*/
|
|
29
|
-
previous?: string;
|
|
29
|
+
previous?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PaginateResponseLinks
|
|
34
34
|
*/
|
|
35
|
-
current?: string;
|
|
35
|
+
current?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaginateResponseLinks
|
|
40
40
|
*/
|
|
41
|
-
next?: string;
|
|
41
|
+
next?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PaginateResponseLinks
|
|
46
46
|
*/
|
|
47
|
-
last?: string;
|
|
47
|
+
last?: string | null;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the PaginateResponseLinks interface.
|
|
@@ -21,13 +21,13 @@ export interface UpdateDomainInput {
|
|
|
21
21
|
* @type {MoneyInput}
|
|
22
22
|
* @memberof UpdateDomainInput
|
|
23
23
|
*/
|
|
24
|
-
bin?: MoneyInput;
|
|
24
|
+
bin?: MoneyInput | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {MoneyInput}
|
|
28
28
|
* @memberof UpdateDomainInput
|
|
29
29
|
*/
|
|
30
|
-
minOffer?: MoneyInput;
|
|
30
|
+
minOffer?: MoneyInput | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -22,12 +22,14 @@ export * from './DomainDto';
|
|
|
22
22
|
export * from './DomainSellerDto';
|
|
23
23
|
export * from './DomainStats';
|
|
24
24
|
export * from './DomainTransferAgentDto';
|
|
25
|
-
export * from './
|
|
25
|
+
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
26
26
|
export * from './DomainTransferDetailWorkflowStepDto';
|
|
27
27
|
export * from './DomainTransferDetailsAuthCodeDto';
|
|
28
|
+
export * from './DomainTransferDetailsBuyerConfirmationDto';
|
|
28
29
|
export * from './DomainTransferDetailsDomainDto';
|
|
29
30
|
export * from './DomainTransferDetailsDto';
|
|
30
31
|
export * from './DomainTransferDetailsDtoAuthCode';
|
|
32
|
+
export * from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
31
33
|
export * from './DomainTransferDetailsOrderBuyerDto';
|
|
32
34
|
export * from './DomainTransferDetailsOrderDto';
|
|
33
35
|
export * from './DomainTransferDetailsOrderSellerDto';
|
package/dist/models/index.js
CHANGED
|
@@ -40,12 +40,14 @@ __exportStar(require("./DomainDto"), exports);
|
|
|
40
40
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
41
41
|
__exportStar(require("./DomainStats"), exports);
|
|
42
42
|
__exportStar(require("./DomainTransferAgentDto"), exports);
|
|
43
|
-
__exportStar(require("./
|
|
43
|
+
__exportStar(require("./DomainTransferDetailWorkflowStepActionDto"), exports);
|
|
44
44
|
__exportStar(require("./DomainTransferDetailWorkflowStepDto"), exports);
|
|
45
45
|
__exportStar(require("./DomainTransferDetailsAuthCodeDto"), exports);
|
|
46
|
+
__exportStar(require("./DomainTransferDetailsBuyerConfirmationDto"), exports);
|
|
46
47
|
__exportStar(require("./DomainTransferDetailsDomainDto"), exports);
|
|
47
48
|
__exportStar(require("./DomainTransferDetailsDto"), exports);
|
|
48
49
|
__exportStar(require("./DomainTransferDetailsDtoAuthCode"), exports);
|
|
50
|
+
__exportStar(require("./DomainTransferDetailsDtoBuyerConfirmation"), exports);
|
|
49
51
|
__exportStar(require("./DomainTransferDetailsOrderBuyerDto"), exports);
|
|
50
52
|
__exportStar(require("./DomainTransferDetailsOrderDto"), exports);
|
|
51
53
|
__exportStar(require("./DomainTransferDetailsOrderSellerDto"), exports);
|
package/package.json
CHANGED
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DomainTransferDetailWorkflowStepActionDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainTransferDetailWorkflowStepActionDto {
|
|
22
|
+
/**
|
|
23
|
+
* The domain transfer workflow step action name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DomainTransferDetailWorkflowStepActionDto
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* The domain transfer workflow step action "isAllowed" status
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof DomainTransferDetailWorkflowStepActionDto
|
|
32
|
+
*/
|
|
33
|
+
isAllowed: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DomainTransferDetailWorkflowStepActionDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDomainTransferDetailWorkflowStepActionDto(value: object): value is DomainTransferDetailWorkflowStepActionDto {
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
+
if (!('isAllowed' in value) || value['isAllowed'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DomainTransferDetailWorkflowStepActionDtoFromJSON(json: any): DomainTransferDetailWorkflowStepActionDto {
|
|
46
|
+
return DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailWorkflowStepActionDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'isAllowed': json['isAllowed'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DomainTransferDetailWorkflowStepActionDtoToJSON(value?: DomainTransferDetailWorkflowStepActionDto | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'name': value['name'],
|
|
67
|
+
'isAllowed': value['isAllowed'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { DomainTransferDetailWorkflowStepActionDto } from './DomainTransferDetailWorkflowStepActionDto';
|
|
17
|
+
import {
|
|
18
|
+
DomainTransferDetailWorkflowStepActionDtoFromJSON,
|
|
19
|
+
DomainTransferDetailWorkflowStepActionDtoFromJSONTyped,
|
|
20
|
+
DomainTransferDetailWorkflowStepActionDtoToJSON,
|
|
21
|
+
} from './DomainTransferDetailWorkflowStepActionDto';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -49,6 +56,12 @@ export interface DomainTransferDetailWorkflowStepDto {
|
|
|
49
56
|
* @memberof DomainTransferDetailWorkflowStepDto
|
|
50
57
|
*/
|
|
51
58
|
requirements: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The domain transfer workflow step requirements
|
|
61
|
+
* @type {Array<DomainTransferDetailWorkflowStepActionDto>}
|
|
62
|
+
* @memberof DomainTransferDetailWorkflowStepDto
|
|
63
|
+
*/
|
|
64
|
+
actions: Array<DomainTransferDetailWorkflowStepActionDto>;
|
|
52
65
|
}
|
|
53
66
|
|
|
54
67
|
|
|
@@ -72,6 +85,7 @@ export function instanceOfDomainTransferDetailWorkflowStepDto(value: object): va
|
|
|
72
85
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
73
86
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
74
87
|
if (!('requirements' in value) || value['requirements'] === undefined) return false;
|
|
88
|
+
if (!('actions' in value) || value['actions'] === undefined) return false;
|
|
75
89
|
return true;
|
|
76
90
|
}
|
|
77
91
|
|
|
@@ -90,6 +104,7 @@ export function DomainTransferDetailWorkflowStepDtoFromJSONTyped(json: any, igno
|
|
|
90
104
|
'name': json['name'],
|
|
91
105
|
'createdAt': (new Date(json['createdAt'])),
|
|
92
106
|
'requirements': json['requirements'],
|
|
107
|
+
'actions': ((json['actions'] as Array<any>).map(DomainTransferDetailWorkflowStepActionDtoFromJSON)),
|
|
93
108
|
};
|
|
94
109
|
}
|
|
95
110
|
|
|
@@ -104,6 +119,7 @@ export function DomainTransferDetailWorkflowStepDtoToJSON(value?: DomainTransfer
|
|
|
104
119
|
'name': value['name'],
|
|
105
120
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
106
121
|
'requirements': value['requirements'],
|
|
122
|
+
'actions': ((value['actions'] as Array<any>).map(DomainTransferDetailWorkflowStepActionDtoToJSON)),
|
|
107
123
|
};
|
|
108
124
|
}
|
|
109
125
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DomainTransferDetailsBuyerConfirmationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainTransferDetailsBuyerConfirmationDto {
|
|
22
|
+
/**
|
|
23
|
+
* The domain transfer buyer confirmation status
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof DomainTransferDetailsBuyerConfirmationDto
|
|
26
|
+
*/
|
|
27
|
+
confirmed: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The domain transfer buyer confirmation date
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof DomainTransferDetailsBuyerConfirmationDto
|
|
32
|
+
*/
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DomainTransferDetailsBuyerConfirmationDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDomainTransferDetailsBuyerConfirmationDto(value: object): value is DomainTransferDetailsBuyerConfirmationDto {
|
|
40
|
+
if (!('confirmed' in value) || value['confirmed'] === undefined) return false;
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DomainTransferDetailsBuyerConfirmationDtoFromJSON(json: any): DomainTransferDetailsBuyerConfirmationDto {
|
|
46
|
+
return DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsBuyerConfirmationDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'confirmed': json['confirmed'],
|
|
56
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DomainTransferDetailsBuyerConfirmationDtoToJSON(value?: DomainTransferDetailsBuyerConfirmationDto | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'confirmed': value['confirmed'],
|
|
67
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { DomainTransferDetailsDtoBuyerConfirmation } from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
DomainTransferDetailsDtoBuyerConfirmationFromJSON,
|
|
19
|
+
DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped,
|
|
20
|
+
DomainTransferDetailsDtoBuyerConfirmationToJSON,
|
|
21
|
+
} from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
22
22
|
import type { DomainTransferDetailsDtoAuthCode } from './DomainTransferDetailsDtoAuthCode';
|
|
23
23
|
import {
|
|
24
24
|
DomainTransferDetailsDtoAuthCodeFromJSON,
|
|
@@ -87,17 +87,17 @@ export interface DomainTransferDetailsDto {
|
|
|
87
87
|
*/
|
|
88
88
|
authCode: DomainTransferDetailsDtoAuthCode | null;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {
|
|
90
|
+
*
|
|
91
|
+
* @type {DomainTransferDetailsDtoBuyerConfirmation}
|
|
92
92
|
* @memberof DomainTransferDetailsDto
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
buyerConfirmation: DomainTransferDetailsDtoBuyerConfirmation | null;
|
|
95
95
|
/**
|
|
96
|
-
* The domain transfer
|
|
97
|
-
* @type {
|
|
96
|
+
* The domain transfer creation date
|
|
97
|
+
* @type {Date}
|
|
98
98
|
* @memberof DomainTransferDetailsDto
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
createdAt: Date;
|
|
101
101
|
/**
|
|
102
102
|
* The domain transfer workflow
|
|
103
103
|
* @type {Array<DomainTransferDetailWorkflowStepDto>}
|
|
@@ -130,8 +130,8 @@ export function instanceOfDomainTransferDetailsDto(value: object): value is Doma
|
|
|
130
130
|
if (!('order' in value) || value['order'] === undefined) return false;
|
|
131
131
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
132
132
|
if (!('authCode' in value) || value['authCode'] === undefined) return false;
|
|
133
|
+
if (!('buyerConfirmation' in value) || value['buyerConfirmation'] === undefined) return false;
|
|
133
134
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
134
|
-
if (!('workflowDefinition' in value) || value['workflowDefinition'] === undefined) return false;
|
|
135
135
|
if (!('workflow' in value) || value['workflow'] === undefined) return false;
|
|
136
136
|
return true;
|
|
137
137
|
}
|
|
@@ -152,8 +152,8 @@ export function DomainTransferDetailsDtoFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
152
152
|
'order': DomainTransferDetailsOrderDtoFromJSON(json['order']),
|
|
153
153
|
'status': json['status'],
|
|
154
154
|
'authCode': DomainTransferDetailsDtoAuthCodeFromJSON(json['authCode']),
|
|
155
|
+
'buyerConfirmation': DomainTransferDetailsDtoBuyerConfirmationFromJSON(json['buyerConfirmation']),
|
|
155
156
|
'createdAt': (new Date(json['createdAt'])),
|
|
156
|
-
'workflowDefinition': ((json['workflowDefinition'] as Array<any>).map(DomainTransferDetailWorkflowDefinitionDtoFromJSON)),
|
|
157
157
|
'workflow': ((json['workflow'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoFromJSON)),
|
|
158
158
|
};
|
|
159
159
|
}
|
|
@@ -170,8 +170,8 @@ export function DomainTransferDetailsDtoToJSON(value?: DomainTransferDetailsDto
|
|
|
170
170
|
'order': DomainTransferDetailsOrderDtoToJSON(value['order']),
|
|
171
171
|
'status': value['status'],
|
|
172
172
|
'authCode': DomainTransferDetailsDtoAuthCodeToJSON(value['authCode']),
|
|
173
|
+
'buyerConfirmation': DomainTransferDetailsDtoBuyerConfirmationToJSON(value['buyerConfirmation']),
|
|
173
174
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
174
|
-
'workflowDefinition': ((value['workflowDefinition'] as Array<any>).map(DomainTransferDetailWorkflowDefinitionDtoToJSON)),
|
|
175
175
|
'workflow': ((value['workflow'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoToJSON)),
|
|
176
176
|
};
|
|
177
177
|
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* The domain transfer buyer confirmation status
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DomainTransferDetailsDtoBuyerConfirmation
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainTransferDetailsDtoBuyerConfirmation {
|
|
22
|
+
/**
|
|
23
|
+
* The domain transfer buyer confirmation status
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof DomainTransferDetailsDtoBuyerConfirmation
|
|
26
|
+
*/
|
|
27
|
+
confirmed: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The domain transfer buyer confirmation date
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof DomainTransferDetailsDtoBuyerConfirmation
|
|
32
|
+
*/
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DomainTransferDetailsDtoBuyerConfirmation interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDomainTransferDetailsDtoBuyerConfirmation(value: object): value is DomainTransferDetailsDtoBuyerConfirmation {
|
|
40
|
+
if (!('confirmed' in value) || value['confirmed'] === undefined) return false;
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DomainTransferDetailsDtoBuyerConfirmationFromJSON(json: any): DomainTransferDetailsDtoBuyerConfirmation {
|
|
46
|
+
return DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsDtoBuyerConfirmation {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'confirmed': json['confirmed'],
|
|
56
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DomainTransferDetailsDtoBuyerConfirmationToJSON(value?: DomainTransferDetailsDtoBuyerConfirmation | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'confirmed': value['confirmed'],
|
|
67
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -24,31 +24,31 @@ export interface PaginateResponseLinks {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof PaginateResponseLinks
|
|
26
26
|
*/
|
|
27
|
-
first?: string;
|
|
27
|
+
first?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof PaginateResponseLinks
|
|
32
32
|
*/
|
|
33
|
-
previous?: string;
|
|
33
|
+
previous?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof PaginateResponseLinks
|
|
38
38
|
*/
|
|
39
|
-
current?: string;
|
|
39
|
+
current?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof PaginateResponseLinks
|
|
44
44
|
*/
|
|
45
|
-
next?: string;
|
|
45
|
+
next?: string | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof PaginateResponseLinks
|
|
50
50
|
*/
|
|
51
|
-
last?: string;
|
|
51
|
+
last?: string | null;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -31,13 +31,13 @@ export interface UpdateDomainInput {
|
|
|
31
31
|
* @type {MoneyInput}
|
|
32
32
|
* @memberof UpdateDomainInput
|
|
33
33
|
*/
|
|
34
|
-
bin?: MoneyInput;
|
|
34
|
+
bin?: MoneyInput | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {MoneyInput}
|
|
38
38
|
* @memberof UpdateDomainInput
|
|
39
39
|
*/
|
|
40
|
-
minOffer?: MoneyInput;
|
|
40
|
+
minOffer?: MoneyInput | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {string}
|
package/src/models/index.ts
CHANGED
|
@@ -24,12 +24,14 @@ export * from './DomainDto';
|
|
|
24
24
|
export * from './DomainSellerDto';
|
|
25
25
|
export * from './DomainStats';
|
|
26
26
|
export * from './DomainTransferAgentDto';
|
|
27
|
-
export * from './
|
|
27
|
+
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
28
28
|
export * from './DomainTransferDetailWorkflowStepDto';
|
|
29
29
|
export * from './DomainTransferDetailsAuthCodeDto';
|
|
30
|
+
export * from './DomainTransferDetailsBuyerConfirmationDto';
|
|
30
31
|
export * from './DomainTransferDetailsDomainDto';
|
|
31
32
|
export * from './DomainTransferDetailsDto';
|
|
32
33
|
export * from './DomainTransferDetailsDtoAuthCode';
|
|
34
|
+
export * from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
33
35
|
export * from './DomainTransferDetailsOrderBuyerDto';
|
|
34
36
|
export * from './DomainTransferDetailsOrderDto';
|
|
35
37
|
export * from './DomainTransferDetailsOrderSellerDto';
|
|
@@ -1,43 +0,0 @@
|
|
|
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 DomainTransferDetailWorkflowDefinitionDto
|
|
16
|
-
*/
|
|
17
|
-
export interface DomainTransferDetailWorkflowDefinitionDto {
|
|
18
|
-
/**
|
|
19
|
-
* The domain transfer workflow step name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DomainTransferDetailWorkflowDefinitionDto
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* The domain transfer workflow step requirements
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof DomainTransferDetailWorkflowDefinitionDto
|
|
28
|
-
*/
|
|
29
|
-
requirements: Array<string>;
|
|
30
|
-
/**
|
|
31
|
-
* The domain transfer workflow step isInitial
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof DomainTransferDetailWorkflowDefinitionDto
|
|
34
|
-
*/
|
|
35
|
-
isInitial: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the DomainTransferDetailWorkflowDefinitionDto interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfDomainTransferDetailWorkflowDefinitionDto(value: object): value is DomainTransferDetailWorkflowDefinitionDto;
|
|
41
|
-
export declare function DomainTransferDetailWorkflowDefinitionDtoFromJSON(json: any): DomainTransferDetailWorkflowDefinitionDto;
|
|
42
|
-
export declare function DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailWorkflowDefinitionDto;
|
|
43
|
-
export declare function DomainTransferDetailWorkflowDefinitionDtoToJSON(value?: DomainTransferDetailWorkflowDefinitionDto | null): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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.DomainTransferDetailWorkflowDefinitionDtoToJSON = exports.DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped = exports.DomainTransferDetailWorkflowDefinitionDtoFromJSON = exports.instanceOfDomainTransferDetailWorkflowDefinitionDto = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the DomainTransferDetailWorkflowDefinitionDto interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfDomainTransferDetailWorkflowDefinitionDto(value) {
|
|
21
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('requirements' in value) || value['requirements'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('isInitial' in value) || value['isInitial'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfDomainTransferDetailWorkflowDefinitionDto = instanceOfDomainTransferDetailWorkflowDefinitionDto;
|
|
30
|
-
function DomainTransferDetailWorkflowDefinitionDtoFromJSON(json) {
|
|
31
|
-
return DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.DomainTransferDetailWorkflowDefinitionDtoFromJSON = DomainTransferDetailWorkflowDefinitionDtoFromJSON;
|
|
34
|
-
function DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'requirements': json['requirements'],
|
|
41
|
-
'isInitial': json['isInitial'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped = DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped;
|
|
45
|
-
function DomainTransferDetailWorkflowDefinitionDtoToJSON(value) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'name': value['name'],
|
|
51
|
-
'requirements': value['requirements'],
|
|
52
|
-
'isInitial': value['isInitial'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.DomainTransferDetailWorkflowDefinitionDtoToJSON = DomainTransferDetailWorkflowDefinitionDtoToJSON;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DomainTransferDetailWorkflowDefinitionDto
|
|
20
|
-
*/
|
|
21
|
-
export interface DomainTransferDetailWorkflowDefinitionDto {
|
|
22
|
-
/**
|
|
23
|
-
* The domain transfer workflow step name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof DomainTransferDetailWorkflowDefinitionDto
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* The domain transfer workflow step requirements
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof DomainTransferDetailWorkflowDefinitionDto
|
|
32
|
-
*/
|
|
33
|
-
requirements: Array<string>;
|
|
34
|
-
/**
|
|
35
|
-
* The domain transfer workflow step isInitial
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof DomainTransferDetailWorkflowDefinitionDto
|
|
38
|
-
*/
|
|
39
|
-
isInitial: boolean;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the DomainTransferDetailWorkflowDefinitionDto interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfDomainTransferDetailWorkflowDefinitionDto(value: object): value is DomainTransferDetailWorkflowDefinitionDto {
|
|
46
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
-
if (!('requirements' in value) || value['requirements'] === undefined) return false;
|
|
48
|
-
if (!('isInitial' in value) || value['isInitial'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function DomainTransferDetailWorkflowDefinitionDtoFromJSON(json: any): DomainTransferDetailWorkflowDefinitionDto {
|
|
53
|
-
return DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function DomainTransferDetailWorkflowDefinitionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailWorkflowDefinitionDto {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'requirements': json['requirements'],
|
|
64
|
-
'isInitial': json['isInitial'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function DomainTransferDetailWorkflowDefinitionDtoToJSON(value?: DomainTransferDetailWorkflowDefinitionDto | null): any {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'name': value['name'],
|
|
75
|
-
'requirements': value['requirements'],
|
|
76
|
-
'isInitial': value['isInitial'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|