@randock/nameshift-api-client 0.0.30 → 0.0.32
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 +9 -11
- package/README.md +3 -3
- package/dist/apis/AccountsPublicApi.d.ts +40 -0
- package/dist/apis/{AuthApi.js → AccountsPublicApi.js} +53 -9
- package/dist/apis/DomainsPublicApi.d.ts +9 -0
- package/dist/apis/DomainsPublicApi.js +40 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/ConflictException.d.ts +49 -0
- package/dist/models/ConflictException.js +59 -0
- package/dist/models/HttpException.d.ts +43 -0
- package/dist/models/{List401Response.js → HttpException.js} +15 -13
- package/dist/models/NotFoundException.d.ts +43 -0
- package/dist/models/NotFoundException.js +55 -0
- package/dist/models/RegisterAccountInput.d.ts +49 -0
- package/dist/models/RegisterAccountInput.js +59 -0
- package/dist/models/ThrottlerException.d.ts +43 -0
- package/dist/models/ThrottlerException.js +55 -0
- package/dist/models/UnauthorizedException.d.ts +43 -0
- package/dist/models/UnauthorizedException.js +55 -0
- package/dist/models/ValidationError.d.ts +43 -0
- package/dist/models/ValidationError.js +55 -0
- package/dist/models/ValidationException.d.ts +44 -0
- package/dist/models/ValidationException.js +56 -0
- package/dist/models/index.d.ts +8 -10
- package/dist/models/index.js +8 -10
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +9 -12
- package/src/apis/AccountsPublicApi.ts +127 -0
- package/src/apis/AdminApi.ts +6 -6
- package/src/apis/DashboardApi.ts +6 -6
- package/src/apis/DomainsApi.ts +12 -12
- package/src/apis/DomainsPublicApi.ts +43 -6
- package/src/apis/LeadsApi.ts +6 -6
- package/src/apis/LeadsPublicApi.ts +9 -9
- package/src/apis/index.ts +1 -1
- package/src/models/ConflictException.ts +88 -0
- package/src/models/{List401Response.ts → HttpException.ts} +22 -21
- package/src/models/{Login429Response.ts → NotFoundException.ts} +22 -21
- package/src/models/RegisterAccountInput.ts +88 -0
- package/src/models/{Login401Response.ts → ThrottlerException.ts} +22 -21
- package/src/models/{BatchUpdate404Response.ts → UnauthorizedException.ts} +21 -20
- package/src/models/ValidationError.ts +79 -0
- package/src/models/ValidationException.ts +86 -0
- package/src/models/index.ts +8 -10
- package/dist/apis/AuthApi.d.ts +0 -29
- package/dist/models/BatchUpdate404Response.d.ts +0 -43
- package/dist/models/BatchUpdate404Response.js +0 -53
- package/dist/models/GetDomainSalesInformation404Response.d.ts +0 -43
- package/dist/models/GetDomainSalesInformation404Response.js +0 -53
- package/dist/models/List400Response.d.ts +0 -43
- package/dist/models/List400Response.js +0 -53
- package/dist/models/List401Response.d.ts +0 -43
- package/dist/models/ListAccounts400Response.d.ts +0 -43
- package/dist/models/ListAccounts400Response.js +0 -53
- package/dist/models/ListAccounts429Response.d.ts +0 -43
- package/dist/models/ListAccounts429Response.js +0 -53
- package/dist/models/Login401Response.d.ts +0 -43
- package/dist/models/Login401Response.js +0 -53
- package/dist/models/Login429Response.d.ts +0 -43
- package/dist/models/Login429Response.js +0 -53
- package/dist/models/UpdateSettings400Response.d.ts +0 -43
- package/dist/models/UpdateSettings400Response.js +0 -53
- package/dist/models/UpdateSettings401Response.d.ts +0 -43
- package/dist/models/UpdateSettings401Response.js +0 -53
- package/src/apis/AuthApi.ts +0 -79
- package/src/models/GetDomainSalesInformation404Response.ts +0 -78
- package/src/models/List400Response.ts +0 -78
- package/src/models/ListAccounts400Response.ts +0 -78
- package/src/models/ListAccounts429Response.ts +0 -78
- package/src/models/UpdateSettings400Response.ts +0 -78
- package/src/models/UpdateSettings401Response.ts +0 -78
|
@@ -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 RegisterAccountInput
|
|
20
|
+
*/
|
|
21
|
+
export interface RegisterAccountInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RegisterAccountInput
|
|
26
|
+
*/
|
|
27
|
+
firstname: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RegisterAccountInput
|
|
32
|
+
*/
|
|
33
|
+
lastname: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RegisterAccountInput
|
|
38
|
+
*/
|
|
39
|
+
email: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof RegisterAccountInput
|
|
44
|
+
*/
|
|
45
|
+
password: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the RegisterAccountInput interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfRegisterAccountInput(value: object): boolean {
|
|
52
|
+
if (!('firstname' in value)) return false;
|
|
53
|
+
if (!('lastname' in value)) return false;
|
|
54
|
+
if (!('email' in value)) return false;
|
|
55
|
+
if (!('password' in value)) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function RegisterAccountInputFromJSON(json: any): RegisterAccountInput {
|
|
60
|
+
return RegisterAccountInputFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAccountInput {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'firstname': json['firstname'],
|
|
70
|
+
'lastname': json['lastname'],
|
|
71
|
+
'email': json['email'],
|
|
72
|
+
'password': json['password'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function RegisterAccountInputToJSON(value?: RegisterAccountInput | null): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'firstname': value['firstname'],
|
|
83
|
+
'lastname': value['lastname'],
|
|
84
|
+
'email': value['email'],
|
|
85
|
+
'password': value['password'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -14,65 +14,66 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ThrottlerException
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ThrottlerException {
|
|
22
|
+
/**
|
|
23
|
+
* Exception name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ThrottlerException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
22
28
|
/**
|
|
23
|
-
*
|
|
29
|
+
* http status code
|
|
24
30
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
31
|
+
* @memberof ThrottlerException
|
|
26
32
|
*/
|
|
27
33
|
statusCode: number;
|
|
28
34
|
/**
|
|
29
|
-
*
|
|
35
|
+
* error message
|
|
30
36
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
37
|
+
* @memberof ThrottlerException
|
|
32
38
|
*/
|
|
33
39
|
message: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Login401Response
|
|
38
|
-
*/
|
|
39
|
-
error?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the ThrottlerException interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfThrottlerException(value: object): boolean {
|
|
46
|
+
if (!('name' in value)) return false;
|
|
46
47
|
if (!('statusCode' in value)) return false;
|
|
47
48
|
if (!('message' in value)) return false;
|
|
48
49
|
return true;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
export function
|
|
52
|
-
return
|
|
52
|
+
export function ThrottlerExceptionFromJSON(json: any): ThrottlerException {
|
|
53
|
+
return ThrottlerExceptionFromJSONTyped(json, false);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
export function
|
|
56
|
+
export function ThrottlerExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThrottlerException {
|
|
56
57
|
if (json == null) {
|
|
57
58
|
return json;
|
|
58
59
|
}
|
|
59
60
|
return {
|
|
60
61
|
|
|
62
|
+
'name': json['name'],
|
|
61
63
|
'statusCode': json['statusCode'],
|
|
62
64
|
'message': json['message'],
|
|
63
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
export function
|
|
68
|
+
export function ThrottlerExceptionToJSON(value?: ThrottlerException | null): any {
|
|
68
69
|
if (value == null) {
|
|
69
70
|
return value;
|
|
70
71
|
}
|
|
71
72
|
return {
|
|
72
73
|
|
|
74
|
+
'name': value['name'],
|
|
73
75
|
'statusCode': value['statusCode'],
|
|
74
76
|
'message': value['message'],
|
|
75
|
-
'error': value['error'],
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
79
|
|
|
@@ -16,63 +16,64 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface UnauthorizedException
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface UnauthorizedException {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Exception name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UnauthorizedException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* http status code
|
|
24
30
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
31
|
+
* @memberof UnauthorizedException
|
|
26
32
|
*/
|
|
27
33
|
statusCode: number;
|
|
28
34
|
/**
|
|
29
|
-
*
|
|
35
|
+
* error message
|
|
30
36
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
37
|
+
* @memberof UnauthorizedException
|
|
32
38
|
*/
|
|
33
39
|
message: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof BatchUpdate404Response
|
|
38
|
-
*/
|
|
39
|
-
error?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the UnauthorizedException interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfUnauthorizedException(value: object): boolean {
|
|
46
|
+
if (!('name' in value)) return false;
|
|
46
47
|
if (!('statusCode' in value)) return false;
|
|
47
48
|
if (!('message' in value)) return false;
|
|
48
49
|
return true;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
export function
|
|
52
|
-
return
|
|
52
|
+
export function UnauthorizedExceptionFromJSON(json: any): UnauthorizedException {
|
|
53
|
+
return UnauthorizedExceptionFromJSONTyped(json, false);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
export function
|
|
56
|
+
export function UnauthorizedExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnauthorizedException {
|
|
56
57
|
if (json == null) {
|
|
57
58
|
return json;
|
|
58
59
|
}
|
|
59
60
|
return {
|
|
60
61
|
|
|
62
|
+
'name': json['name'],
|
|
61
63
|
'statusCode': json['statusCode'],
|
|
62
64
|
'message': json['message'],
|
|
63
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
export function
|
|
68
|
+
export function UnauthorizedExceptionToJSON(value?: UnauthorizedException | null): any {
|
|
68
69
|
if (value == null) {
|
|
69
70
|
return value;
|
|
70
71
|
}
|
|
71
72
|
return {
|
|
72
73
|
|
|
74
|
+
'name': value['name'],
|
|
73
75
|
'statusCode': value['statusCode'],
|
|
74
76
|
'message': value['message'],
|
|
75
|
-
'error': value['error'],
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
79
|
|
|
@@ -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 ValidationError
|
|
20
|
+
*/
|
|
21
|
+
export interface ValidationError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ValidationError
|
|
26
|
+
*/
|
|
27
|
+
code: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ValidationError
|
|
32
|
+
*/
|
|
33
|
+
property: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ValidationError
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ValidationError interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfValidationError(value: object): boolean {
|
|
46
|
+
if (!('code' in value)) return false;
|
|
47
|
+
if (!('property' in value)) return false;
|
|
48
|
+
if (!('message' in value)) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ValidationErrorFromJSON(json: any): ValidationError {
|
|
53
|
+
return ValidationErrorFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationError {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'code': json['code'],
|
|
63
|
+
'property': json['property'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ValidationErrorToJSON(value?: ValidationError | null): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'code': value['code'],
|
|
75
|
+
'property': value['property'],
|
|
76
|
+
'message': value['message'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { ValidationError } from './ValidationError';
|
|
17
|
+
import {
|
|
18
|
+
ValidationErrorFromJSON,
|
|
19
|
+
ValidationErrorFromJSONTyped,
|
|
20
|
+
ValidationErrorToJSON,
|
|
21
|
+
} from './ValidationError';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface ValidationException
|
|
27
|
+
*/
|
|
28
|
+
export interface ValidationException {
|
|
29
|
+
/**
|
|
30
|
+
* Exception name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ValidationException
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* http status code
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ValidationException
|
|
39
|
+
*/
|
|
40
|
+
statusCode: number;
|
|
41
|
+
/**
|
|
42
|
+
* array with validation errors
|
|
43
|
+
* @type {Array<ValidationError>}
|
|
44
|
+
* @memberof ValidationException
|
|
45
|
+
*/
|
|
46
|
+
errors: Array<ValidationError>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ValidationException interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfValidationException(value: object): boolean {
|
|
53
|
+
if (!('name' in value)) return false;
|
|
54
|
+
if (!('statusCode' in value)) return false;
|
|
55
|
+
if (!('errors' in value)) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ValidationExceptionFromJSON(json: any): ValidationException {
|
|
60
|
+
return ValidationExceptionFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ValidationExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationException {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'name': json['name'],
|
|
70
|
+
'statusCode': json['statusCode'],
|
|
71
|
+
'errors': ((json['errors'] as Array<any>).map(ValidationErrorFromJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ValidationExceptionToJSON(value?: ValidationException | null): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'name': value['name'],
|
|
82
|
+
'statusCode': value['statusCode'],
|
|
83
|
+
'errors': ((value['errors'] as Array<any>).map(ValidationErrorToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -5,9 +5,9 @@ export * from './AccountAddressInput';
|
|
|
5
5
|
export * from './AccountDto';
|
|
6
6
|
export * from './AccountFinancialInput';
|
|
7
7
|
export * from './AccountSettingsInput';
|
|
8
|
-
export * from './BatchUpdate404Response';
|
|
9
8
|
export * from './BatchUpdateDomainsInput';
|
|
10
9
|
export * from './BuyDomainInput';
|
|
10
|
+
export * from './ConflictException';
|
|
11
11
|
export * from './CreateLeadInput';
|
|
12
12
|
export * from './CreateLeadMessageInput';
|
|
13
13
|
export * from './DashboardStatsDto';
|
|
@@ -15,7 +15,7 @@ export * from './DeleteDomainsInput';
|
|
|
15
15
|
export * from './DomainDto';
|
|
16
16
|
export * from './DomainSalesInformationDto';
|
|
17
17
|
export * from './DomainSellerDto';
|
|
18
|
-
export * from './
|
|
18
|
+
export * from './HttpException';
|
|
19
19
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
20
20
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
21
21
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
@@ -28,31 +28,29 @@ export * from './LeadMessageDto';
|
|
|
28
28
|
export * from './LeadMessageDtoData';
|
|
29
29
|
export * from './LeadStatusDto';
|
|
30
30
|
export * from './List200Response';
|
|
31
|
-
export * from './List400Response';
|
|
32
|
-
export * from './List401Response';
|
|
33
31
|
export * from './ListAccountDto';
|
|
34
32
|
export * from './ListAccounts200Response';
|
|
35
|
-
export * from './ListAccounts400Response';
|
|
36
|
-
export * from './ListAccounts429Response';
|
|
37
33
|
export * from './ListLeadMessagesDto';
|
|
38
34
|
export * from './ListTransferDto';
|
|
39
35
|
export * from './ListTransfers200Response';
|
|
40
|
-
export * from './Login401Response';
|
|
41
|
-
export * from './Login429Response';
|
|
42
36
|
export * from './LoginInput';
|
|
43
37
|
export * from './MoneyDto';
|
|
44
38
|
export * from './MoneyInput';
|
|
39
|
+
export * from './NotFoundException';
|
|
45
40
|
export * from './ObjectId';
|
|
46
41
|
export * from './PaginateResponse';
|
|
47
42
|
export * from './PaginateResponseLinks';
|
|
48
43
|
export * from './PaginateResponseMeta';
|
|
49
44
|
export * from './PutLeadInput';
|
|
45
|
+
export * from './RegisterAccountInput';
|
|
50
46
|
export * from './RelatedSellerDomain';
|
|
51
47
|
export * from './SecurityUserDto';
|
|
48
|
+
export * from './ThrottlerException';
|
|
52
49
|
export * from './TokenDto';
|
|
50
|
+
export * from './UnauthorizedException';
|
|
53
51
|
export * from './UpdateDomainInput';
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './
|
|
52
|
+
export * from './ValidationError';
|
|
53
|
+
export * from './ValidationException';
|
|
56
54
|
export * from './VerifyLeadInput';
|
|
57
55
|
export * from './WithFinancialDtoInner';
|
|
58
56
|
export * from './WithSettingsInner';
|
package/dist/apis/AuthApi.d.ts
DELETED
|
@@ -1,29 +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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { LoginInput, TokenDto } from '../models/index';
|
|
14
|
-
export interface AuthApiLoginRequest {
|
|
15
|
-
loginInput: LoginInput;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class AuthApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
loginRaw(requestParameters: AuthApiLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenDto>>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
login(requestParameters: AuthApiLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenDto>;
|
|
29
|
-
}
|
|
@@ -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 BatchUpdate404Response
|
|
16
|
-
*/
|
|
17
|
-
export interface BatchUpdate404Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BatchUpdate404Response
|
|
22
|
-
*/
|
|
23
|
-
statusCode: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BatchUpdate404Response
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof BatchUpdate404Response
|
|
34
|
-
*/
|
|
35
|
-
error?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the BatchUpdate404Response interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfBatchUpdate404Response(value: object): boolean;
|
|
41
|
-
export declare function BatchUpdate404ResponseFromJSON(json: any): BatchUpdate404Response;
|
|
42
|
-
export declare function BatchUpdate404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchUpdate404Response;
|
|
43
|
-
export declare function BatchUpdate404ResponseToJSON(value?: BatchUpdate404Response | null): any;
|
|
@@ -1,53 +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.BatchUpdate404ResponseToJSON = exports.BatchUpdate404ResponseFromJSONTyped = exports.BatchUpdate404ResponseFromJSON = exports.instanceOfBatchUpdate404Response = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the BatchUpdate404Response interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfBatchUpdate404Response(value) {
|
|
21
|
-
if (!('statusCode' in value))
|
|
22
|
-
return false;
|
|
23
|
-
if (!('message' in value))
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfBatchUpdate404Response = instanceOfBatchUpdate404Response;
|
|
28
|
-
function BatchUpdate404ResponseFromJSON(json) {
|
|
29
|
-
return BatchUpdate404ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.BatchUpdate404ResponseFromJSON = BatchUpdate404ResponseFromJSON;
|
|
32
|
-
function BatchUpdate404ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'statusCode': json['statusCode'],
|
|
38
|
-
'message': json['message'],
|
|
39
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.BatchUpdate404ResponseFromJSONTyped = BatchUpdate404ResponseFromJSONTyped;
|
|
43
|
-
function BatchUpdate404ResponseToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'statusCode': value['statusCode'],
|
|
49
|
-
'message': value['message'],
|
|
50
|
-
'error': value['error'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.BatchUpdate404ResponseToJSON = BatchUpdate404ResponseToJSON;
|
|
@@ -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
|
-
* Thrown if domain is not found.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetDomainSalesInformation404Response
|
|
16
|
-
*/
|
|
17
|
-
export interface GetDomainSalesInformation404Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof GetDomainSalesInformation404Response
|
|
22
|
-
*/
|
|
23
|
-
statusCode: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GetDomainSalesInformation404Response
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof GetDomainSalesInformation404Response
|
|
34
|
-
*/
|
|
35
|
-
error?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the GetDomainSalesInformation404Response interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfGetDomainSalesInformation404Response(value: object): boolean;
|
|
41
|
-
export declare function GetDomainSalesInformation404ResponseFromJSON(json: any): GetDomainSalesInformation404Response;
|
|
42
|
-
export declare function GetDomainSalesInformation404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDomainSalesInformation404Response;
|
|
43
|
-
export declare function GetDomainSalesInformation404ResponseToJSON(value?: GetDomainSalesInformation404Response | null): any;
|