@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/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ src/models/AccountDto.ts
|
|
|
24
24
|
src/models/AccountFinancialInput.ts
|
|
25
25
|
src/models/AccountSettingsInput.ts
|
|
26
26
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
27
|
+
src/models/BadRequestException.ts
|
|
27
28
|
src/models/BatchUpdateDomainsInput.ts
|
|
28
29
|
src/models/BuyerDomainTransferAuthCodeDto.ts
|
|
29
30
|
src/models/BuyerDomainTransferListItemDomainDto.ts
|
|
@@ -41,12 +42,14 @@ src/models/DomainDto.ts
|
|
|
41
42
|
src/models/DomainSellerDto.ts
|
|
42
43
|
src/models/DomainStats.ts
|
|
43
44
|
src/models/DomainTransferAgentDto.ts
|
|
44
|
-
src/models/
|
|
45
|
+
src/models/DomainTransferDetailWorkflowStepActionDto.ts
|
|
45
46
|
src/models/DomainTransferDetailWorkflowStepDto.ts
|
|
46
47
|
src/models/DomainTransferDetailsAuthCodeDto.ts
|
|
48
|
+
src/models/DomainTransferDetailsBuyerConfirmationDto.ts
|
|
47
49
|
src/models/DomainTransferDetailsDomainDto.ts
|
|
48
50
|
src/models/DomainTransferDetailsDto.ts
|
|
49
51
|
src/models/DomainTransferDetailsDtoAuthCode.ts
|
|
52
|
+
src/models/DomainTransferDetailsDtoBuyerConfirmation.ts
|
|
50
53
|
src/models/DomainTransferDetailsOrderBuyerDto.ts
|
|
51
54
|
src/models/DomainTransferDetailsOrderDto.ts
|
|
52
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,49 @@
|
|
|
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 BadRequestException
|
|
16
|
+
*/
|
|
17
|
+
export interface BadRequestException {
|
|
18
|
+
/**
|
|
19
|
+
* Exception name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BadRequestException
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* http status code
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BadRequestException
|
|
28
|
+
*/
|
|
29
|
+
statusCode: number;
|
|
30
|
+
/**
|
|
31
|
+
* error message
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BadRequestException
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BadRequestException
|
|
40
|
+
*/
|
|
41
|
+
code: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the BadRequestException interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfBadRequestException(value: object): value is BadRequestException;
|
|
47
|
+
export declare function BadRequestExceptionFromJSON(json: any): BadRequestException;
|
|
48
|
+
export declare function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestException;
|
|
49
|
+
export declare function BadRequestExceptionToJSON(value?: BadRequestException | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.BadRequestExceptionToJSON = exports.BadRequestExceptionFromJSONTyped = exports.BadRequestExceptionFromJSON = exports.instanceOfBadRequestException = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the BadRequestException interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfBadRequestException(value) {
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfBadRequestException = instanceOfBadRequestException;
|
|
32
|
+
function BadRequestExceptionFromJSON(json) {
|
|
33
|
+
return BadRequestExceptionFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.BadRequestExceptionFromJSON = BadRequestExceptionFromJSON;
|
|
36
|
+
function BadRequestExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'statusCode': json['statusCode'],
|
|
43
|
+
'message': json['message'],
|
|
44
|
+
'code': json['code'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.BadRequestExceptionFromJSONTyped = BadRequestExceptionFromJSONTyped;
|
|
48
|
+
function BadRequestExceptionToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'statusCode': value['statusCode'],
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'code': value['code'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.BadRequestExceptionToJSON = BadRequestExceptionToJSON;
|
|
@@ -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
|
@@ -4,6 +4,7 @@ export * from './AccountDto';
|
|
|
4
4
|
export * from './AccountFinancialInput';
|
|
5
5
|
export * from './AccountSettingsInput';
|
|
6
6
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
7
|
+
export * from './BadRequestException';
|
|
7
8
|
export * from './BatchUpdateDomainsInput';
|
|
8
9
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
9
10
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
@@ -21,12 +22,14 @@ export * from './DomainDto';
|
|
|
21
22
|
export * from './DomainSellerDto';
|
|
22
23
|
export * from './DomainStats';
|
|
23
24
|
export * from './DomainTransferAgentDto';
|
|
24
|
-
export * from './
|
|
25
|
+
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
25
26
|
export * from './DomainTransferDetailWorkflowStepDto';
|
|
26
27
|
export * from './DomainTransferDetailsAuthCodeDto';
|
|
28
|
+
export * from './DomainTransferDetailsBuyerConfirmationDto';
|
|
27
29
|
export * from './DomainTransferDetailsDomainDto';
|
|
28
30
|
export * from './DomainTransferDetailsDto';
|
|
29
31
|
export * from './DomainTransferDetailsDtoAuthCode';
|
|
32
|
+
export * from './DomainTransferDetailsDtoBuyerConfirmation';
|
|
30
33
|
export * from './DomainTransferDetailsOrderBuyerDto';
|
|
31
34
|
export * from './DomainTransferDetailsOrderDto';
|
|
32
35
|
export * from './DomainTransferDetailsOrderSellerDto';
|