@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
|
@@ -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 ForbiddenException
|
|
20
|
-
*/
|
|
21
|
-
export interface ForbiddenException {
|
|
22
|
-
/**
|
|
23
|
-
* Exception name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ForbiddenException
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* http status code
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof ForbiddenException
|
|
32
|
-
*/
|
|
33
|
-
statusCode: number;
|
|
34
|
-
/**
|
|
35
|
-
* error message
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ForbiddenException
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the ForbiddenException interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfForbiddenException(value: object): boolean {
|
|
46
|
-
if (!('name' in value)) return false;
|
|
47
|
-
if (!('statusCode' in value)) return false;
|
|
48
|
-
if (!('message' in value)) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ForbiddenExceptionFromJSON(json: any): ForbiddenException {
|
|
53
|
-
return ForbiddenExceptionFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ForbiddenExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForbiddenException {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'statusCode': json['statusCode'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function ForbiddenExceptionToJSON(value?: ForbiddenException | null): any {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'name': value['name'],
|
|
75
|
-
'statusCode': value['statusCode'],
|
|
76
|
-
'message': value['message'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
@@ -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 UnauthorizedException
|
|
20
|
-
*/
|
|
21
|
-
export interface UnauthorizedException {
|
|
22
|
-
/**
|
|
23
|
-
* Exception name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UnauthorizedException
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* http status code
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof UnauthorizedException
|
|
32
|
-
*/
|
|
33
|
-
statusCode: number;
|
|
34
|
-
/**
|
|
35
|
-
* error message
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UnauthorizedException
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the UnauthorizedException interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfUnauthorizedException(value: object): boolean {
|
|
46
|
-
if (!('name' in value)) return false;
|
|
47
|
-
if (!('statusCode' in value)) return false;
|
|
48
|
-
if (!('message' in value)) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function UnauthorizedExceptionFromJSON(json: any): UnauthorizedException {
|
|
53
|
-
return UnauthorizedExceptionFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function UnauthorizedExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnauthorizedException {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'statusCode': json['statusCode'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function UnauthorizedExceptionToJSON(value?: UnauthorizedException | null): any {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'name': value['name'],
|
|
75
|
-
'statusCode': value['statusCode'],
|
|
76
|
-
'message': value['message'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|