@randock/nameshift-api-client 0.0.40 → 0.0.42
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 +6 -3
- package/README.md +3 -3
- package/dist/apis/AccountsPublicApi.d.ts +1 -46
- package/dist/apis/AccountsPublicApi.js +0 -181
- package/dist/apis/AdminApi.d.ts +1 -14
- package/dist/apis/AdminApi.js +0 -59
- package/dist/apis/DomainsApi.d.ts +24 -1
- package/dist/apis/DomainsApi.js +111 -0
- package/dist/apis/UsersPublicApi.d.ts +63 -0
- package/dist/apis/UsersPublicApi.js +261 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/GetAllDomainTransfers200Response.d.ts +3 -3
- package/dist/models/GetAllDomainTransfers200Response.js +3 -3
- package/dist/models/LoginDto.d.ts +37 -0
- package/dist/models/LoginDto.js +51 -0
- package/dist/models/SellerDomainTransferAuthCodeDto.d.ts +37 -0
- package/dist/models/SellerDomainTransferAuthCodeDto.js +51 -0
- package/dist/models/SellerDomainTransferDto.d.ts +17 -10
- package/dist/models/SellerDomainTransferDto.js +15 -10
- package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +37 -0
- package/dist/models/SellerDomainTransferDtoAuthCode.js +51 -0
- package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +43 -0
- package/dist/models/SellerDomainTransferListItemDomainDto.js +55 -0
- package/dist/models/SellerDomainTransferListItemDto.d.ts +74 -0
- package/dist/models/SellerDomainTransferListItemDto.js +80 -0
- package/dist/models/index.d.ts +5 -3
- package/dist/models/index.js +5 -3
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +0 -3
- package/src/apis/AccountsPublicApi.ts +0 -184
- package/src/apis/AdminApi.ts +0 -69
- package/src/apis/DomainsApi.ts +107 -3
- package/src/apis/UsersPublicApi.ts +214 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetAllDomainTransfers200Response.ts +9 -9
- package/src/models/{TokenDto.ts → LoginDto.ts} +18 -9
- package/src/models/SellerDomainTransferAuthCodeDto.ts +70 -0
- package/src/models/SellerDomainTransferDto.ts +29 -14
- package/src/models/SellerDomainTransferDtoAuthCode.ts +70 -0
- package/src/models/SellerDomainTransferListItemDomainDto.ts +79 -0
- package/src/models/SellerDomainTransferListItemDto.ts +126 -0
- package/src/models/index.ts +5 -3
- package/dist/models/ForbiddenException.d.ts +0 -43
- package/dist/models/ForbiddenException.js +0 -55
- package/dist/models/TokenDto.d.ts +0 -31
- package/dist/models/TokenDto.js +0 -47
- package/dist/models/UnauthorizedException.d.ts +0 -43
- package/dist/models/UnauthorizedException.js +0 -55
- package/src/models/ForbiddenException.ts +0 -79
- package/src/models/UnauthorizedException.ts +0 -79
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
SellerDomainTransferDomainDtoFromJSONTyped,
|
|
20
20
|
SellerDomainTransferDomainDtoToJSON,
|
|
21
21
|
} from './SellerDomainTransferDomainDto';
|
|
22
|
+
import type { SellerDomainTransferDtoAuthCode } from './SellerDomainTransferDtoAuthCode';
|
|
23
|
+
import {
|
|
24
|
+
SellerDomainTransferDtoAuthCodeFromJSON,
|
|
25
|
+
SellerDomainTransferDtoAuthCodeFromJSONTyped,
|
|
26
|
+
SellerDomainTransferDtoAuthCodeToJSON,
|
|
27
|
+
} from './SellerDomainTransferDtoAuthCode';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
@@ -26,6 +32,12 @@ import {
|
|
|
26
32
|
* @interface SellerDomainTransferDto
|
|
27
33
|
*/
|
|
28
34
|
export interface SellerDomainTransferDto {
|
|
35
|
+
/**
|
|
36
|
+
* The domain transfer requirements
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof SellerDomainTransferDto
|
|
39
|
+
*/
|
|
40
|
+
requirements: Array<SellerDomainTransferDtoRequirementsEnum>;
|
|
29
41
|
/**
|
|
30
42
|
* The domain transfer ID
|
|
31
43
|
* @type {object}
|
|
@@ -45,11 +57,11 @@ export interface SellerDomainTransferDto {
|
|
|
45
57
|
*/
|
|
46
58
|
status: SellerDomainTransferDtoStatusEnum;
|
|
47
59
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
60
|
+
*
|
|
61
|
+
* @type {SellerDomainTransferDtoAuthCode}
|
|
50
62
|
* @memberof SellerDomainTransferDto
|
|
51
63
|
*/
|
|
52
|
-
|
|
64
|
+
authCode: SellerDomainTransferDtoAuthCode | null;
|
|
53
65
|
/**
|
|
54
66
|
* The domain transfer creation date
|
|
55
67
|
* @type {Date}
|
|
@@ -59,6 +71,14 @@ export interface SellerDomainTransferDto {
|
|
|
59
71
|
}
|
|
60
72
|
|
|
61
73
|
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export const SellerDomainTransferDtoRequirementsEnum = {
|
|
78
|
+
AUTH_CODE: 'auth_code'
|
|
79
|
+
} as const;
|
|
80
|
+
export type SellerDomainTransferDtoRequirementsEnum = typeof SellerDomainTransferDtoRequirementsEnum[keyof typeof SellerDomainTransferDtoRequirementsEnum];
|
|
81
|
+
|
|
62
82
|
/**
|
|
63
83
|
* @export
|
|
64
84
|
*/
|
|
@@ -71,23 +91,16 @@ export const SellerDomainTransferDtoStatusEnum = {
|
|
|
71
91
|
} as const;
|
|
72
92
|
export type SellerDomainTransferDtoStatusEnum = typeof SellerDomainTransferDtoStatusEnum[keyof typeof SellerDomainTransferDtoStatusEnum];
|
|
73
93
|
|
|
74
|
-
/**
|
|
75
|
-
* @export
|
|
76
|
-
*/
|
|
77
|
-
export const SellerDomainTransferDtoRequirementsEnum = {
|
|
78
|
-
AUTH_CODE: 'auth_code'
|
|
79
|
-
} as const;
|
|
80
|
-
export type SellerDomainTransferDtoRequirementsEnum = typeof SellerDomainTransferDtoRequirementsEnum[keyof typeof SellerDomainTransferDtoRequirementsEnum];
|
|
81
|
-
|
|
82
94
|
|
|
83
95
|
/**
|
|
84
96
|
* Check if a given object implements the SellerDomainTransferDto interface.
|
|
85
97
|
*/
|
|
86
98
|
export function instanceOfSellerDomainTransferDto(value: object): boolean {
|
|
99
|
+
if (!('requirements' in value)) return false;
|
|
87
100
|
if (!('id' in value)) return false;
|
|
88
101
|
if (!('domain' in value)) return false;
|
|
89
102
|
if (!('status' in value)) return false;
|
|
90
|
-
if (!('
|
|
103
|
+
if (!('authCode' in value)) return false;
|
|
91
104
|
if (!('createdAt' in value)) return false;
|
|
92
105
|
return true;
|
|
93
106
|
}
|
|
@@ -102,10 +115,11 @@ export function SellerDomainTransferDtoFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
102
115
|
}
|
|
103
116
|
return {
|
|
104
117
|
|
|
118
|
+
'requirements': json['requirements'],
|
|
105
119
|
'id': json['id'],
|
|
106
120
|
'domain': SellerDomainTransferDomainDtoFromJSON(json['domain']),
|
|
107
121
|
'status': json['status'],
|
|
108
|
-
'
|
|
122
|
+
'authCode': SellerDomainTransferDtoAuthCodeFromJSON(json['authCode']),
|
|
109
123
|
'createdAt': (new Date(json['createdAt'])),
|
|
110
124
|
};
|
|
111
125
|
}
|
|
@@ -116,10 +130,11 @@ export function SellerDomainTransferDtoToJSON(value?: SellerDomainTransferDto |
|
|
|
116
130
|
}
|
|
117
131
|
return {
|
|
118
132
|
|
|
133
|
+
'requirements': value['requirements'],
|
|
119
134
|
'id': value['id'],
|
|
120
135
|
'domain': SellerDomainTransferDomainDtoToJSON(value['domain']),
|
|
121
136
|
'status': value['status'],
|
|
122
|
-
'
|
|
137
|
+
'authCode': SellerDomainTransferDtoAuthCodeToJSON(value['authCode']),
|
|
123
138
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
124
139
|
};
|
|
125
140
|
}
|
|
@@ -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 auth code
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SellerDomainTransferDtoAuthCode
|
|
20
|
+
*/
|
|
21
|
+
export interface SellerDomainTransferDtoAuthCode {
|
|
22
|
+
/**
|
|
23
|
+
* The domain transfer auth code value
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SellerDomainTransferDtoAuthCode
|
|
26
|
+
*/
|
|
27
|
+
value: string;
|
|
28
|
+
/**
|
|
29
|
+
* The domain transfer auth code expiry date
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof SellerDomainTransferDtoAuthCode
|
|
32
|
+
*/
|
|
33
|
+
expiryDate: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SellerDomainTransferDtoAuthCode interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSellerDomainTransferDtoAuthCode(value: object): boolean {
|
|
40
|
+
if (!('value' in value)) return false;
|
|
41
|
+
if (!('expiryDate' in value)) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SellerDomainTransferDtoAuthCodeFromJSON(json: any): SellerDomainTransferDtoAuthCode {
|
|
46
|
+
return SellerDomainTransferDtoAuthCodeFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SellerDomainTransferDtoAuthCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferDtoAuthCode {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'value': json['value'],
|
|
56
|
+
'expiryDate': (new Date(json['expiryDate'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SellerDomainTransferDtoAuthCodeToJSON(value?: SellerDomainTransferDtoAuthCode | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'value': value['value'],
|
|
67
|
+
'expiryDate': ((value['expiryDate']).toISOString()),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
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 SellerDomainTransferListItemDomainDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SellerDomainTransferListItemDomainDto {
|
|
22
|
+
/**
|
|
23
|
+
* The domain ID
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof SellerDomainTransferListItemDomainDto
|
|
26
|
+
*/
|
|
27
|
+
id: object;
|
|
28
|
+
/**
|
|
29
|
+
* The domain name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SellerDomainTransferListItemDomainDto
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* The domain TLD
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SellerDomainTransferListItemDomainDto
|
|
38
|
+
*/
|
|
39
|
+
tld: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SellerDomainTransferListItemDomainDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSellerDomainTransferListItemDomainDto(value: object): boolean {
|
|
46
|
+
if (!('id' in value)) return false;
|
|
47
|
+
if (!('name' in value)) return false;
|
|
48
|
+
if (!('tld' in value)) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SellerDomainTransferListItemDomainDtoFromJSON(json: any): SellerDomainTransferListItemDomainDto {
|
|
53
|
+
return SellerDomainTransferListItemDomainDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SellerDomainTransferListItemDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferListItemDomainDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'id': json['id'],
|
|
63
|
+
'name': json['name'],
|
|
64
|
+
'tld': json['tld'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SellerDomainTransferListItemDomainDtoToJSON(value?: SellerDomainTransferListItemDomainDto | null): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'tld': value['tld'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
import type { SellerDomainTransferListItemDomainDto } from './SellerDomainTransferListItemDomainDto';
|
|
17
|
+
import {
|
|
18
|
+
SellerDomainTransferListItemDomainDtoFromJSON,
|
|
19
|
+
SellerDomainTransferListItemDomainDtoFromJSONTyped,
|
|
20
|
+
SellerDomainTransferListItemDomainDtoToJSON,
|
|
21
|
+
} from './SellerDomainTransferListItemDomainDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface SellerDomainTransferListItemDto
|
|
27
|
+
*/
|
|
28
|
+
export interface SellerDomainTransferListItemDto {
|
|
29
|
+
/**
|
|
30
|
+
* The domain transfer requirements
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof SellerDomainTransferListItemDto
|
|
33
|
+
*/
|
|
34
|
+
requirements: Array<SellerDomainTransferListItemDtoRequirementsEnum>;
|
|
35
|
+
/**
|
|
36
|
+
* The domain transfer ID
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof SellerDomainTransferListItemDto
|
|
39
|
+
*/
|
|
40
|
+
id: object;
|
|
41
|
+
/**
|
|
42
|
+
* The domain of transfer
|
|
43
|
+
* @type {SellerDomainTransferListItemDomainDto}
|
|
44
|
+
* @memberof SellerDomainTransferListItemDto
|
|
45
|
+
*/
|
|
46
|
+
domain: SellerDomainTransferListItemDomainDto;
|
|
47
|
+
/**
|
|
48
|
+
* The domain transfer status
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof SellerDomainTransferListItemDto
|
|
51
|
+
*/
|
|
52
|
+
status: SellerDomainTransferListItemDtoStatusEnum;
|
|
53
|
+
/**
|
|
54
|
+
* The domain transfer creation date
|
|
55
|
+
* @type {Date}
|
|
56
|
+
* @memberof SellerDomainTransferListItemDto
|
|
57
|
+
*/
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export const SellerDomainTransferListItemDtoRequirementsEnum = {
|
|
66
|
+
AUTH_CODE: 'auth_code'
|
|
67
|
+
} as const;
|
|
68
|
+
export type SellerDomainTransferListItemDtoRequirementsEnum = typeof SellerDomainTransferListItemDtoRequirementsEnum[keyof typeof SellerDomainTransferListItemDtoRequirementsEnum];
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export const SellerDomainTransferListItemDtoStatusEnum = {
|
|
74
|
+
CREATED: 'created',
|
|
75
|
+
STARTED: 'started',
|
|
76
|
+
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
77
|
+
ERROR: 'error',
|
|
78
|
+
COMPLETED: 'completed'
|
|
79
|
+
} as const;
|
|
80
|
+
export type SellerDomainTransferListItemDtoStatusEnum = typeof SellerDomainTransferListItemDtoStatusEnum[keyof typeof SellerDomainTransferListItemDtoStatusEnum];
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the SellerDomainTransferListItemDto interface.
|
|
85
|
+
*/
|
|
86
|
+
export function instanceOfSellerDomainTransferListItemDto(value: object): boolean {
|
|
87
|
+
if (!('requirements' in value)) return false;
|
|
88
|
+
if (!('id' in value)) return false;
|
|
89
|
+
if (!('domain' in value)) return false;
|
|
90
|
+
if (!('status' in value)) return false;
|
|
91
|
+
if (!('createdAt' in value)) return false;
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function SellerDomainTransferListItemDtoFromJSON(json: any): SellerDomainTransferListItemDto {
|
|
96
|
+
return SellerDomainTransferListItemDtoFromJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function SellerDomainTransferListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferListItemDto {
|
|
100
|
+
if (json == null) {
|
|
101
|
+
return json;
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
|
|
105
|
+
'requirements': json['requirements'],
|
|
106
|
+
'id': json['id'],
|
|
107
|
+
'domain': SellerDomainTransferListItemDomainDtoFromJSON(json['domain']),
|
|
108
|
+
'status': json['status'],
|
|
109
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function SellerDomainTransferListItemDtoToJSON(value?: SellerDomainTransferListItemDto | null): any {
|
|
114
|
+
if (value == null) {
|
|
115
|
+
return value;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'requirements': value['requirements'],
|
|
120
|
+
'id': value['id'],
|
|
121
|
+
'domain': SellerDomainTransferListItemDomainDtoToJSON(value['domain']),
|
|
122
|
+
'status': value['status'],
|
|
123
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -22,7 +22,6 @@ export * from './DomainTransferDomainDto';
|
|
|
22
22
|
export * from './DomainTransferDto';
|
|
23
23
|
export * from './DomainTransferDtoAgent';
|
|
24
24
|
export * from './DomainTransferOrderDto';
|
|
25
|
-
export * from './ForbiddenException';
|
|
26
25
|
export * from './ForgotPasswordRequestInput';
|
|
27
26
|
export * from './GetAllDomainTransfers200Response';
|
|
28
27
|
export * from './HttpException';
|
|
@@ -41,6 +40,7 @@ export * from './List200Response';
|
|
|
41
40
|
export * from './ListAccountDto';
|
|
42
41
|
export * from './ListAccounts200Response';
|
|
43
42
|
export * from './ListLeadMessagesDto';
|
|
43
|
+
export * from './LoginDto';
|
|
44
44
|
export * from './LoginInput';
|
|
45
45
|
export * from './MoneyDto';
|
|
46
46
|
export * from './MoneyInput';
|
|
@@ -53,12 +53,14 @@ export * from './PutLeadInput';
|
|
|
53
53
|
export * from './RegisterAccountInput';
|
|
54
54
|
export * from './RelatedSellerDomain';
|
|
55
55
|
export * from './SecurityUserDto';
|
|
56
|
+
export * from './SellerDomainTransferAuthCodeDto';
|
|
56
57
|
export * from './SellerDomainTransferDomainDto';
|
|
57
58
|
export * from './SellerDomainTransferDto';
|
|
59
|
+
export * from './SellerDomainTransferDtoAuthCode';
|
|
60
|
+
export * from './SellerDomainTransferListItemDomainDto';
|
|
61
|
+
export * from './SellerDomainTransferListItemDto';
|
|
58
62
|
export * from './SetNewPasswordInput';
|
|
59
63
|
export * from './ThrottlerException';
|
|
60
|
-
export * from './TokenDto';
|
|
61
|
-
export * from './UnauthorizedException';
|
|
62
64
|
export * from './UpdateDomainInput';
|
|
63
65
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
64
66
|
export * from './UserPasswordResetDto';
|
|
@@ -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 ForbiddenException
|
|
16
|
-
*/
|
|
17
|
-
export interface ForbiddenException {
|
|
18
|
-
/**
|
|
19
|
-
* Exception name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ForbiddenException
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* http status code
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ForbiddenException
|
|
28
|
-
*/
|
|
29
|
-
statusCode: number;
|
|
30
|
-
/**
|
|
31
|
-
* error message
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ForbiddenException
|
|
34
|
-
*/
|
|
35
|
-
message: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ForbiddenException interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfForbiddenException(value: object): boolean;
|
|
41
|
-
export declare function ForbiddenExceptionFromJSON(json: any): ForbiddenException;
|
|
42
|
-
export declare function ForbiddenExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForbiddenException;
|
|
43
|
-
export declare function ForbiddenExceptionToJSON(value?: ForbiddenException | 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.ForbiddenExceptionToJSON = exports.ForbiddenExceptionFromJSONTyped = exports.ForbiddenExceptionFromJSON = exports.instanceOfForbiddenException = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ForbiddenException interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfForbiddenException(value) {
|
|
21
|
-
if (!('name' in value))
|
|
22
|
-
return false;
|
|
23
|
-
if (!('statusCode' in value))
|
|
24
|
-
return false;
|
|
25
|
-
if (!('message' in value))
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfForbiddenException = instanceOfForbiddenException;
|
|
30
|
-
function ForbiddenExceptionFromJSON(json) {
|
|
31
|
-
return ForbiddenExceptionFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.ForbiddenExceptionFromJSON = ForbiddenExceptionFromJSON;
|
|
34
|
-
function ForbiddenExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'statusCode': json['statusCode'],
|
|
41
|
-
'message': json['message'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.ForbiddenExceptionFromJSONTyped = ForbiddenExceptionFromJSONTyped;
|
|
45
|
-
function ForbiddenExceptionToJSON(value) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'name': value['name'],
|
|
51
|
-
'statusCode': value['statusCode'],
|
|
52
|
-
'message': value['message'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.ForbiddenExceptionToJSON = ForbiddenExceptionToJSON;
|
|
@@ -1,31 +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 TokenDto
|
|
16
|
-
*/
|
|
17
|
-
export interface TokenDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TokenDto
|
|
22
|
-
*/
|
|
23
|
-
token: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the TokenDto interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfTokenDto(value: object): boolean;
|
|
29
|
-
export declare function TokenDtoFromJSON(json: any): TokenDto;
|
|
30
|
-
export declare function TokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenDto;
|
|
31
|
-
export declare function TokenDtoToJSON(value?: TokenDto | null): any;
|
package/dist/models/TokenDto.js
DELETED
|
@@ -1,47 +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.TokenDtoToJSON = exports.TokenDtoFromJSONTyped = exports.TokenDtoFromJSON = exports.instanceOfTokenDto = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the TokenDto interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfTokenDto(value) {
|
|
21
|
-
if (!('token' in value))
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfTokenDto = instanceOfTokenDto;
|
|
26
|
-
function TokenDtoFromJSON(json) {
|
|
27
|
-
return TokenDtoFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.TokenDtoFromJSON = TokenDtoFromJSON;
|
|
30
|
-
function TokenDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'token': json['token'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.TokenDtoFromJSONTyped = TokenDtoFromJSONTyped;
|
|
39
|
-
function TokenDtoToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'token': value['token'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.TokenDtoToJSON = TokenDtoToJSON;
|
|
@@ -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 UnauthorizedException
|
|
16
|
-
*/
|
|
17
|
-
export interface UnauthorizedException {
|
|
18
|
-
/**
|
|
19
|
-
* Exception name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UnauthorizedException
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* http status code
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UnauthorizedException
|
|
28
|
-
*/
|
|
29
|
-
statusCode: number;
|
|
30
|
-
/**
|
|
31
|
-
* error message
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UnauthorizedException
|
|
34
|
-
*/
|
|
35
|
-
message: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the UnauthorizedException interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfUnauthorizedException(value: object): boolean;
|
|
41
|
-
export declare function UnauthorizedExceptionFromJSON(json: any): UnauthorizedException;
|
|
42
|
-
export declare function UnauthorizedExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnauthorizedException;
|
|
43
|
-
export declare function UnauthorizedExceptionToJSON(value?: UnauthorizedException | 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.UnauthorizedExceptionToJSON = exports.UnauthorizedExceptionFromJSONTyped = exports.UnauthorizedExceptionFromJSON = exports.instanceOfUnauthorizedException = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the UnauthorizedException interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUnauthorizedException(value) {
|
|
21
|
-
if (!('name' in value))
|
|
22
|
-
return false;
|
|
23
|
-
if (!('statusCode' in value))
|
|
24
|
-
return false;
|
|
25
|
-
if (!('message' in value))
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfUnauthorizedException = instanceOfUnauthorizedException;
|
|
30
|
-
function UnauthorizedExceptionFromJSON(json) {
|
|
31
|
-
return UnauthorizedExceptionFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.UnauthorizedExceptionFromJSON = UnauthorizedExceptionFromJSON;
|
|
34
|
-
function UnauthorizedExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'statusCode': json['statusCode'],
|
|
41
|
-
'message': json['message'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.UnauthorizedExceptionFromJSONTyped = UnauthorizedExceptionFromJSONTyped;
|
|
45
|
-
function UnauthorizedExceptionToJSON(value) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'name': value['name'],
|
|
51
|
-
'statusCode': value['statusCode'],
|
|
52
|
-
'message': value['message'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.UnauthorizedExceptionToJSON = UnauthorizedExceptionToJSON;
|