@randock/nameshift-api-client 0.0.1
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 +45 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/dist/apis/AccountsApi.d.ts +54 -0
- package/dist/apis/AccountsApi.js +254 -0
- package/dist/apis/AuthApi.d.ts +27 -0
- package/dist/apis/AuthApi.js +124 -0
- package/dist/apis/DomainsApi.d.ts +77 -0
- package/dist/apis/DomainsApi.js +374 -0
- package/dist/apis/LeadsApi.d.ts +27 -0
- package/dist/apis/LeadsApi.js +124 -0
- package/dist/apis/TestApi.d.ts +23 -0
- package/dist/apis/TestApi.js +116 -0
- package/dist/apis/index.d.ts +5 -0
- package/dist/apis/index.js +23 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AccountAddressDto.d.ts +68 -0
- package/dist/models/AccountAddressDto.js +71 -0
- package/dist/models/AccountAddressInput.d.ts +68 -0
- package/dist/models/AccountAddressInput.js +71 -0
- package/dist/models/AccountFinancialInput.d.ts +49 -0
- package/dist/models/AccountFinancialInput.js +59 -0
- package/dist/models/AccountSettingsInput.d.ts +32 -0
- package/dist/models/AccountSettingsInput.js +51 -0
- package/dist/models/BatchUpdate404Response.d.ts +43 -0
- package/dist/models/BatchUpdate404Response.js +56 -0
- package/dist/models/BatchUpdateDomainsInput.d.ts +38 -0
- package/dist/models/BatchUpdateDomainsInput.js +54 -0
- package/dist/models/CreateLeadInput.d.ts +61 -0
- package/dist/models/CreateLeadInput.js +65 -0
- package/dist/models/DomainDto.d.ts +62 -0
- package/dist/models/DomainDto.js +66 -0
- package/dist/models/ImportDomainsDto.d.ts +49 -0
- package/dist/models/ImportDomainsDto.js +59 -0
- package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +38 -0
- package/dist/models/IntersectionAccountDtoWithAddressDto.js +54 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +38 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDto.js +54 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +49 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.js +56 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +38 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +54 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.d.ts +32 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.js +51 -0
- package/dist/models/LeadDto.d.ts +31 -0
- package/dist/models/LeadDto.js +50 -0
- package/dist/models/List200Response.d.ts +46 -0
- package/dist/models/List200Response.js +59 -0
- package/dist/models/List400Response.d.ts +43 -0
- package/dist/models/List400Response.js +56 -0
- package/dist/models/List401Response.d.ts +43 -0
- package/dist/models/List401Response.js +56 -0
- package/dist/models/List429Response.d.ts +43 -0
- package/dist/models/List429Response.js +56 -0
- package/dist/models/LoginInput.d.ts +37 -0
- package/dist/models/LoginInput.js +53 -0
- package/dist/models/MoneyDto.d.ts +37 -0
- package/dist/models/MoneyDto.js +53 -0
- package/dist/models/MoneyInput.d.ts +37 -0
- package/dist/models/MoneyInput.js +53 -0
- package/dist/models/PaginateResponse.d.ts +45 -0
- package/dist/models/PaginateResponse.js +58 -0
- package/dist/models/PaginateResponseLinks.d.ts +55 -0
- package/dist/models/PaginateResponseLinks.js +58 -0
- package/dist/models/PaginateResponseMeta.d.ts +67 -0
- package/dist/models/PaginateResponseMeta.js +62 -0
- package/dist/models/TokenDto.d.ts +31 -0
- package/dist/models/TokenDto.js +50 -0
- package/dist/models/UpdateDomainInput.d.ts +38 -0
- package/dist/models/UpdateDomainInput.js +53 -0
- package/dist/models/UpdateSettings401Response.d.ts +43 -0
- package/dist/models/UpdateSettings401Response.js +56 -0
- package/dist/models/UserAuthControllerLogin401Response.d.ts +43 -0
- package/dist/models/UserAuthControllerLogin401Response.js +56 -0
- package/dist/models/UserAuthControllerLogin429Response.d.ts +43 -0
- package/dist/models/UserAuthControllerLogin429Response.js +56 -0
- package/dist/models/index.d.ts +30 -0
- package/dist/models/index.js +48 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +562 -0
- package/package.json +19 -0
- package/src/apis/AccountsApi.ts +201 -0
- package/src/apis/AuthApi.ts +74 -0
- package/src/apis/DomainsApi.ts +305 -0
- package/src/apis/LeadsApi.ts +71 -0
- package/src/apis/TestApi.ts +46 -0
- package/src/apis/index.ts +7 -0
- package/src/index.ts +5 -0
- package/src/models/AccountAddressDto.ts +120 -0
- package/src/models/AccountAddressInput.ts +120 -0
- package/src/models/AccountFinancialInput.ts +93 -0
- package/src/models/AccountSettingsInput.ts +72 -0
- package/src/models/BatchUpdate404Response.ts +83 -0
- package/src/models/BatchUpdateDomainsInput.ts +82 -0
- package/src/models/CreateLeadInput.ts +111 -0
- package/src/models/DomainDto.ts +118 -0
- package/src/models/ImportDomainsDto.ts +93 -0
- package/src/models/IntersectionAccountDtoWithAddressDto.ts +82 -0
- package/src/models/IntersectionAccountDtoWithFinancialDto.ts +82 -0
- package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +89 -0
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +82 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts +72 -0
- package/src/models/LeadDto.ts +66 -0
- package/src/models/List200Response.ts +103 -0
- package/src/models/List400Response.ts +83 -0
- package/src/models/List401Response.ts +83 -0
- package/src/models/List429Response.ts +83 -0
- package/src/models/LoginInput.ts +75 -0
- package/src/models/MoneyDto.ts +75 -0
- package/src/models/MoneyInput.ts +75 -0
- package/src/models/PaginateResponse.ts +97 -0
- package/src/models/PaginateResponseLinks.ts +97 -0
- package/src/models/PaginateResponseMeta.ts +113 -0
- package/src/models/TokenDto.ts +66 -0
- package/src/models/UpdateDomainInput.ts +80 -0
- package/src/models/UpdateSettings401Response.ts +83 -0
- package/src/models/UserAuthControllerLogin401Response.ts +83 -0
- package/src/models/UserAuthControllerLogin429Response.ts +83 -0
- package/src/models/index.ts +32 -0
- package/src/runtime.ts +431 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,97 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PaginateResponseLinks
|
|
20
|
+
*/
|
|
21
|
+
export interface PaginateResponseLinks {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PaginateResponseLinks
|
|
26
|
+
*/
|
|
27
|
+
first?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PaginateResponseLinks
|
|
32
|
+
*/
|
|
33
|
+
previous?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PaginateResponseLinks
|
|
38
|
+
*/
|
|
39
|
+
current?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PaginateResponseLinks
|
|
44
|
+
*/
|
|
45
|
+
next?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof PaginateResponseLinks
|
|
50
|
+
*/
|
|
51
|
+
last?: string | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the PaginateResponseLinks interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfPaginateResponseLinks(value: object): boolean {
|
|
58
|
+
let isInstance = true;
|
|
59
|
+
|
|
60
|
+
return isInstance;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function PaginateResponseLinksFromJSON(json: any): PaginateResponseLinks {
|
|
64
|
+
return PaginateResponseLinksFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PaginateResponseLinksFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponseLinks {
|
|
68
|
+
if ((json === undefined) || (json === null)) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'first': !exists(json, 'first') ? undefined : json['first'],
|
|
74
|
+
'previous': !exists(json, 'previous') ? undefined : json['previous'],
|
|
75
|
+
'current': !exists(json, 'current') ? undefined : json['current'],
|
|
76
|
+
'next': !exists(json, 'next') ? undefined : json['next'],
|
|
77
|
+
'last': !exists(json, 'last') ? undefined : json['last'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function PaginateResponseLinksToJSON(value?: PaginateResponseLinks | null): any {
|
|
82
|
+
if (value === undefined) {
|
|
83
|
+
return undefined;
|
|
84
|
+
}
|
|
85
|
+
if (value === null) {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'first': value.first,
|
|
91
|
+
'previous': value.previous,
|
|
92
|
+
'current': value.current,
|
|
93
|
+
'next': value.next,
|
|
94
|
+
'last': value.last,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PaginateResponseMeta
|
|
20
|
+
*/
|
|
21
|
+
export interface PaginateResponseMeta {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PaginateResponseMeta
|
|
26
|
+
*/
|
|
27
|
+
page?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PaginateResponseMeta
|
|
32
|
+
*/
|
|
33
|
+
itemsPerPage?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PaginateResponseMeta
|
|
38
|
+
*/
|
|
39
|
+
offset?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PaginateResponseMeta
|
|
44
|
+
*/
|
|
45
|
+
unpaged?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PaginateResponseMeta
|
|
50
|
+
*/
|
|
51
|
+
totalPages?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof PaginateResponseMeta
|
|
56
|
+
*/
|
|
57
|
+
totalItems?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<object>}
|
|
61
|
+
* @memberof PaginateResponseMeta
|
|
62
|
+
*/
|
|
63
|
+
sortBy?: Array<object>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the PaginateResponseMeta interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfPaginateResponseMeta(value: object): boolean {
|
|
70
|
+
let isInstance = true;
|
|
71
|
+
|
|
72
|
+
return isInstance;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginateResponseMetaFromJSON(json: any): PaginateResponseMeta {
|
|
76
|
+
return PaginateResponseMetaFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginateResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponseMeta {
|
|
80
|
+
if ((json === undefined) || (json === null)) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'page': !exists(json, 'page') ? undefined : json['page'],
|
|
86
|
+
'itemsPerPage': !exists(json, 'itemsPerPage') ? undefined : json['itemsPerPage'],
|
|
87
|
+
'offset': !exists(json, 'offset') ? undefined : json['offset'],
|
|
88
|
+
'unpaged': !exists(json, 'unpaged') ? undefined : json['unpaged'],
|
|
89
|
+
'totalPages': !exists(json, 'totalPages') ? undefined : json['totalPages'],
|
|
90
|
+
'totalItems': !exists(json, 'totalItems') ? undefined : json['totalItems'],
|
|
91
|
+
'sortBy': !exists(json, 'sortBy') ? undefined : json['sortBy'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function PaginateResponseMetaToJSON(value?: PaginateResponseMeta | null): any {
|
|
96
|
+
if (value === undefined) {
|
|
97
|
+
return undefined;
|
|
98
|
+
}
|
|
99
|
+
if (value === null) {
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'page': value.page,
|
|
105
|
+
'itemsPerPage': value.itemsPerPage,
|
|
106
|
+
'offset': value.offset,
|
|
107
|
+
'unpaged': value.unpaged,
|
|
108
|
+
'totalPages': value.totalPages,
|
|
109
|
+
'totalItems': value.totalItems,
|
|
110
|
+
'sortBy': value.sortBy,
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface TokenDto
|
|
20
|
+
*/
|
|
21
|
+
export interface TokenDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TokenDto
|
|
26
|
+
*/
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TokenDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfTokenDto(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "token" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function TokenDtoFromJSON(json: any): TokenDto {
|
|
41
|
+
return TokenDtoFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function TokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenDto {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'token': json['token'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function TokenDtoToJSON(value?: TokenDto | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'token': value.token,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { MoneyInput } from './MoneyInput';
|
|
17
|
+
import {
|
|
18
|
+
MoneyInputFromJSON,
|
|
19
|
+
MoneyInputFromJSONTyped,
|
|
20
|
+
MoneyInputToJSON,
|
|
21
|
+
} from './MoneyInput';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface UpdateDomainInput
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdateDomainInput {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {MoneyInput}
|
|
32
|
+
* @memberof UpdateDomainInput
|
|
33
|
+
*/
|
|
34
|
+
bin?: MoneyInput | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {MoneyInput}
|
|
38
|
+
* @memberof UpdateDomainInput
|
|
39
|
+
*/
|
|
40
|
+
minOffer?: MoneyInput | null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UpdateDomainInput interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfUpdateDomainInput(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateDomainInputFromJSON(json: any): UpdateDomainInput {
|
|
53
|
+
return UpdateDomainInputFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDomainInput {
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'bin': !exists(json, 'bin') ? undefined : MoneyInputFromJSON(json['bin']),
|
|
63
|
+
'minOffer': !exists(json, 'minOffer') ? undefined : MoneyInputFromJSON(json['minOffer']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function UpdateDomainInputToJSON(value?: UpdateDomainInput | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'bin': MoneyInputToJSON(value.bin),
|
|
77
|
+
'minOffer': MoneyInputToJSON(value.minOffer),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Returned if you are not authorized to change the settings.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateSettings401Response
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateSettings401Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateSettings401Response
|
|
26
|
+
*/
|
|
27
|
+
statusCode: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateSettings401Response
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateSettings401Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the UpdateSettings401Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfUpdateSettings401Response(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "statusCode" in value;
|
|
48
|
+
isInstance = isInstance && "message" in value;
|
|
49
|
+
|
|
50
|
+
return isInstance;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateSettings401ResponseFromJSON(json: any): UpdateSettings401Response {
|
|
54
|
+
return UpdateSettings401ResponseFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UpdateSettings401ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettings401Response {
|
|
58
|
+
if ((json === undefined) || (json === null)) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'statusCode': json['statusCode'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function UpdateSettings401ResponseToJSON(value?: UpdateSettings401Response | null): any {
|
|
70
|
+
if (value === undefined) {
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
if (value === null) {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'statusCode': value.statusCode,
|
|
79
|
+
'message': value.message,
|
|
80
|
+
'error': value.error,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Returned if login is incorrect.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UserAuthControllerLogin401Response
|
|
20
|
+
*/
|
|
21
|
+
export interface UserAuthControllerLogin401Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UserAuthControllerLogin401Response
|
|
26
|
+
*/
|
|
27
|
+
statusCode: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserAuthControllerLogin401Response
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserAuthControllerLogin401Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the UserAuthControllerLogin401Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfUserAuthControllerLogin401Response(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "statusCode" in value;
|
|
48
|
+
isInstance = isInstance && "message" in value;
|
|
49
|
+
|
|
50
|
+
return isInstance;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UserAuthControllerLogin401ResponseFromJSON(json: any): UserAuthControllerLogin401Response {
|
|
54
|
+
return UserAuthControllerLogin401ResponseFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UserAuthControllerLogin401ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAuthControllerLogin401Response {
|
|
58
|
+
if ((json === undefined) || (json === null)) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'statusCode': json['statusCode'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function UserAuthControllerLogin401ResponseToJSON(value?: UserAuthControllerLogin401Response | null): any {
|
|
70
|
+
if (value === undefined) {
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
if (value === null) {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'statusCode': value.statusCode,
|
|
79
|
+
'message': value.message,
|
|
80
|
+
'error': value.error,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Returned if more than 5 requests are made per minute.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UserAuthControllerLogin429Response
|
|
20
|
+
*/
|
|
21
|
+
export interface UserAuthControllerLogin429Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UserAuthControllerLogin429Response
|
|
26
|
+
*/
|
|
27
|
+
statusCode: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserAuthControllerLogin429Response
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserAuthControllerLogin429Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the UserAuthControllerLogin429Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfUserAuthControllerLogin429Response(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "statusCode" in value;
|
|
48
|
+
isInstance = isInstance && "message" in value;
|
|
49
|
+
|
|
50
|
+
return isInstance;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UserAuthControllerLogin429ResponseFromJSON(json: any): UserAuthControllerLogin429Response {
|
|
54
|
+
return UserAuthControllerLogin429ResponseFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UserAuthControllerLogin429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAuthControllerLogin429Response {
|
|
58
|
+
if ((json === undefined) || (json === null)) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'statusCode': json['statusCode'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function UserAuthControllerLogin429ResponseToJSON(value?: UserAuthControllerLogin429Response | null): any {
|
|
70
|
+
if (value === undefined) {
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
if (value === null) {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'statusCode': value.statusCode,
|
|
79
|
+
'message': value.message,
|
|
80
|
+
'error': value.error,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './AccountAddressDto';
|
|
4
|
+
export * from './AccountAddressInput';
|
|
5
|
+
export * from './AccountFinancialInput';
|
|
6
|
+
export * from './AccountSettingsInput';
|
|
7
|
+
export * from './BatchUpdate404Response';
|
|
8
|
+
export * from './BatchUpdateDomainsInput';
|
|
9
|
+
export * from './CreateLeadInput';
|
|
10
|
+
export * from './DomainDto';
|
|
11
|
+
export * from './ImportDomainsDto';
|
|
12
|
+
export * from './IntersectionAccountDtoWithAddressDto';
|
|
13
|
+
export * from './IntersectionAccountDtoWithFinancialDto';
|
|
14
|
+
export * from './IntersectionAccountDtoWithFinancialDtoFinancial';
|
|
15
|
+
export * from './IntersectionAccountDtoWithSettingsDto';
|
|
16
|
+
export * from './IntersectionAccountDtoWithSettingsDtoSettings';
|
|
17
|
+
export * from './LeadDto';
|
|
18
|
+
export * from './List200Response';
|
|
19
|
+
export * from './List400Response';
|
|
20
|
+
export * from './List401Response';
|
|
21
|
+
export * from './List429Response';
|
|
22
|
+
export * from './LoginInput';
|
|
23
|
+
export * from './MoneyDto';
|
|
24
|
+
export * from './MoneyInput';
|
|
25
|
+
export * from './PaginateResponse';
|
|
26
|
+
export * from './PaginateResponseLinks';
|
|
27
|
+
export * from './PaginateResponseMeta';
|
|
28
|
+
export * from './TokenDto';
|
|
29
|
+
export * from './UpdateDomainInput';
|
|
30
|
+
export * from './UpdateSettings401Response';
|
|
31
|
+
export * from './UserAuthControllerLogin401Response';
|
|
32
|
+
export * from './UserAuthControllerLogin429Response';
|