@randock/nameshift-api-client 0.0.75 → 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 +4 -1
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -1
- package/dist/models/BadRequestException.d.ts +49 -0
- package/dist/models/BadRequestException.js +59 -0
- 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 +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +3 -0
- package/src/apis/BuyersPublicApi.ts +3 -0
- package/src/apis/DomainsApi.ts +1 -1
- package/src/apis/LeadsPublicApi.ts +3 -0
- package/src/models/BadRequestException.ts +88 -0
- 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 +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/dist/models/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./AccountDto"), exports);
|
|
|
22
22
|
__exportStar(require("./AccountFinancialInput"), exports);
|
|
23
23
|
__exportStar(require("./AccountSettingsInput"), exports);
|
|
24
24
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
25
|
+
__exportStar(require("./BadRequestException"), exports);
|
|
25
26
|
__exportStar(require("./BatchUpdateDomainsInput"), exports);
|
|
26
27
|
__exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
|
|
27
28
|
__exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
|
|
@@ -39,12 +40,14 @@ __exportStar(require("./DomainDto"), exports);
|
|
|
39
40
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
40
41
|
__exportStar(require("./DomainStats"), exports);
|
|
41
42
|
__exportStar(require("./DomainTransferAgentDto"), exports);
|
|
42
|
-
__exportStar(require("./
|
|
43
|
+
__exportStar(require("./DomainTransferDetailWorkflowStepActionDto"), exports);
|
|
43
44
|
__exportStar(require("./DomainTransferDetailWorkflowStepDto"), exports);
|
|
44
45
|
__exportStar(require("./DomainTransferDetailsAuthCodeDto"), exports);
|
|
46
|
+
__exportStar(require("./DomainTransferDetailsBuyerConfirmationDto"), exports);
|
|
45
47
|
__exportStar(require("./DomainTransferDetailsDomainDto"), exports);
|
|
46
48
|
__exportStar(require("./DomainTransferDetailsDto"), exports);
|
|
47
49
|
__exportStar(require("./DomainTransferDetailsDtoAuthCode"), exports);
|
|
50
|
+
__exportStar(require("./DomainTransferDetailsDtoBuyerConfirmation"), exports);
|
|
48
51
|
__exportStar(require("./DomainTransferDetailsOrderBuyerDto"), exports);
|
|
49
52
|
__exportStar(require("./DomainTransferDetailsOrderDto"), exports);
|
|
50
53
|
__exportStar(require("./DomainTransferDetailsOrderSellerDto"), exports);
|
package/package.json
CHANGED
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
BadRequestException,
|
|
18
19
|
BuyerDomainTransferAuthCodeDto,
|
|
19
20
|
BuyerUserDto,
|
|
20
21
|
GetBuyerTransfers200Response,
|
|
@@ -24,6 +25,8 @@ import type {
|
|
|
24
25
|
ValidationException,
|
|
25
26
|
} from '../models/index';
|
|
26
27
|
import {
|
|
28
|
+
BadRequestExceptionFromJSON,
|
|
29
|
+
BadRequestExceptionToJSON,
|
|
27
30
|
BuyerDomainTransferAuthCodeDtoFromJSON,
|
|
28
31
|
BuyerDomainTransferAuthCodeDtoToJSON,
|
|
29
32
|
BuyerUserDtoFromJSON,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
BadRequestException,
|
|
18
19
|
LoginDto,
|
|
19
20
|
LoginInput,
|
|
20
21
|
RequestAccessTokenInput,
|
|
@@ -22,6 +23,8 @@ import type {
|
|
|
22
23
|
ValidationException,
|
|
23
24
|
} from '../models/index';
|
|
24
25
|
import {
|
|
26
|
+
BadRequestExceptionFromJSON,
|
|
27
|
+
BadRequestExceptionToJSON,
|
|
25
28
|
LoginDtoFromJSON,
|
|
26
29
|
LoginDtoToJSON,
|
|
27
30
|
LoginInputFromJSON,
|
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
BadRequestException,
|
|
18
19
|
CreateLeadInput,
|
|
19
20
|
LeadStatusDto,
|
|
20
21
|
NotFoundException,
|
|
@@ -26,6 +27,8 @@ import type {
|
|
|
26
27
|
VerifyLeadInput,
|
|
27
28
|
} from '../models/index';
|
|
28
29
|
import {
|
|
30
|
+
BadRequestExceptionFromJSON,
|
|
31
|
+
BadRequestExceptionToJSON,
|
|
29
32
|
CreateLeadInputFromJSON,
|
|
30
33
|
CreateLeadInputToJSON,
|
|
31
34
|
LeadStatusDtoFromJSON,
|
|
@@ -0,0 +1,88 @@
|
|
|
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 BadRequestException
|
|
20
|
+
*/
|
|
21
|
+
export interface BadRequestException {
|
|
22
|
+
/**
|
|
23
|
+
* Exception name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof BadRequestException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* http status code
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof BadRequestException
|
|
32
|
+
*/
|
|
33
|
+
statusCode: number;
|
|
34
|
+
/**
|
|
35
|
+
* error message
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof BadRequestException
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof BadRequestException
|
|
44
|
+
*/
|
|
45
|
+
code: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the BadRequestException interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfBadRequestException(value: object): value is BadRequestException {
|
|
52
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
53
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
54
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
55
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function BadRequestExceptionFromJSON(json: any): BadRequestException {
|
|
60
|
+
return BadRequestExceptionFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestException {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'name': json['name'],
|
|
70
|
+
'statusCode': json['statusCode'],
|
|
71
|
+
'message': json['message'],
|
|
72
|
+
'code': json['code'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function BadRequestExceptionToJSON(value?: BadRequestException | null): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'name': value['name'],
|
|
83
|
+
'statusCode': value['statusCode'],
|
|
84
|
+
'message': value['message'],
|
|
85
|
+
'code': value['code'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -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
|
@@ -6,6 +6,7 @@ export * from './AccountDto';
|
|
|
6
6
|
export * from './AccountFinancialInput';
|
|
7
7
|
export * from './AccountSettingsInput';
|
|
8
8
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
9
|
+
export * from './BadRequestException';
|
|
9
10
|
export * from './BatchUpdateDomainsInput';
|
|
10
11
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
11
12
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
@@ -23,12 +24,14 @@ export * from './DomainDto';
|
|
|
23
24
|
export * from './DomainSellerDto';
|
|
24
25
|
export * from './DomainStats';
|
|
25
26
|
export * from './DomainTransferAgentDto';
|
|
26
|
-
export * from './
|
|
27
|
+
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
27
28
|
export * from './DomainTransferDetailWorkflowStepDto';
|
|
28
29
|
export * from './DomainTransferDetailsAuthCodeDto';
|
|
30
|
+
export * from './DomainTransferDetailsBuyerConfirmationDto';
|
|
29
31
|
export * from './DomainTransferDetailsDomainDto';
|
|
30
32
|
export * from './DomainTransferDetailsDto';
|
|
31
33
|
export * from './DomainTransferDetailsDtoAuthCode';
|
|
34
|
+
export * from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
32
35
|
export * from './DomainTransferDetailsOrderBuyerDto';
|
|
33
36
|
export * from './DomainTransferDetailsOrderDto';
|
|
34
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;
|