@randock/nameshift-api-client 0.0.21 → 0.0.22
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 +7 -2
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +46 -0
- package/dist/apis/AdminApi.js +206 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ListAccountDto.d.ts +49 -0
- package/dist/models/ListAccountDto.js +59 -0
- package/dist/models/ListAccounts200Response.d.ts +46 -0
- package/dist/models/ListAccounts200Response.js +58 -0
- package/dist/models/ListAccounts400Response.d.ts +43 -0
- package/dist/models/{UpdateSettings429Response.js → ListAccounts400Response.js} +11 -11
- package/dist/models/ListAccounts429Response.d.ts +43 -0
- package/dist/models/{UpdateFinancial400Response.js → ListAccounts429Response.js} +11 -11
- package/dist/models/ListTransferDto.d.ts +72 -0
- package/dist/models/ListTransferDto.js +77 -0
- package/dist/models/ListTransfers200Response.d.ts +46 -0
- package/dist/models/ListTransfers200Response.js +58 -0
- package/dist/models/index.d.ts +6 -2
- package/dist/models/index.js +6 -2
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +6 -6
- package/src/apis/AdminApi.ts +153 -0
- package/src/apis/DomainsApi.ts +3 -3
- package/src/apis/LeadsApi.ts +6 -6
- package/src/apis/LeadsPublicApi.ts +6 -6
- package/src/apis/index.ts +1 -0
- package/src/models/ListAccountDto.ts +88 -0
- package/src/models/ListAccounts200Response.ts +98 -0
- package/src/models/{UpdateFinancial400Response.ts → ListAccounts400Response.ts} +11 -11
- package/src/models/{UpdateSettings429Response.ts → ListAccounts429Response.ts} +11 -11
- package/src/models/ListTransferDto.ts +120 -0
- package/src/models/ListTransfers200Response.ts +98 -0
- package/src/models/index.ts +6 -2
- package/dist/models/UpdateFinancial400Response.d.ts +0 -43
- package/dist/models/UpdateSettings429Response.d.ts +0 -43
|
@@ -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 ListAccountDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ListAccountDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ListAccountDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof ListAccountDto
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ListAccountDto
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ListAccountDto
|
|
44
|
+
*/
|
|
45
|
+
companyName: string | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ListAccountDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfListAccountDto(value: object): boolean {
|
|
52
|
+
if (!('id' in value)) return false;
|
|
53
|
+
if (!('createdAt' in value)) return false;
|
|
54
|
+
if (!('name' in value)) return false;
|
|
55
|
+
if (!('companyName' in value)) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ListAccountDtoFromJSON(json: any): ListAccountDto {
|
|
60
|
+
return ListAccountDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountDto {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'id': json['id'],
|
|
70
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'companyName': json['companyName'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ListAccountDtoToJSON(value?: ListAccountDto | null): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
84
|
+
'name': value['name'],
|
|
85
|
+
'companyName': value['companyName'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { ListAccountDto } from './ListAccountDto';
|
|
17
|
+
import {
|
|
18
|
+
ListAccountDtoFromJSON,
|
|
19
|
+
ListAccountDtoFromJSONTyped,
|
|
20
|
+
ListAccountDtoToJSON,
|
|
21
|
+
} from './ListAccountDto';
|
|
22
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
23
|
+
import {
|
|
24
|
+
PaginateResponseLinksFromJSON,
|
|
25
|
+
PaginateResponseLinksFromJSONTyped,
|
|
26
|
+
PaginateResponseLinksToJSON,
|
|
27
|
+
} from './PaginateResponseLinks';
|
|
28
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
29
|
+
import {
|
|
30
|
+
PaginateResponseMetaFromJSON,
|
|
31
|
+
PaginateResponseMetaFromJSONTyped,
|
|
32
|
+
PaginateResponseMetaToJSON,
|
|
33
|
+
} from './PaginateResponseMeta';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface ListAccounts200Response
|
|
39
|
+
*/
|
|
40
|
+
export interface ListAccounts200Response {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<ListAccountDto>}
|
|
44
|
+
* @memberof ListAccounts200Response
|
|
45
|
+
*/
|
|
46
|
+
data: Array<ListAccountDto>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {PaginateResponseMeta}
|
|
50
|
+
* @memberof ListAccounts200Response
|
|
51
|
+
*/
|
|
52
|
+
meta: PaginateResponseMeta;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {PaginateResponseLinks}
|
|
56
|
+
* @memberof ListAccounts200Response
|
|
57
|
+
*/
|
|
58
|
+
links: PaginateResponseLinks;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ListAccounts200Response interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfListAccounts200Response(value: object): boolean {
|
|
65
|
+
if (!('data' in value)) return false;
|
|
66
|
+
if (!('meta' in value)) return false;
|
|
67
|
+
if (!('links' in value)) return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ListAccounts200ResponseFromJSON(json: any): ListAccounts200Response {
|
|
72
|
+
return ListAccounts200ResponseFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ListAccounts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts200Response {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'data': ((json['data'] as Array<any>).map(ListAccountDtoFromJSON)),
|
|
82
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
83
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ListAccounts200ResponseToJSON(value?: ListAccounts200Response | null): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'data': ((value['data'] as Array<any>).map(ListAccountDtoToJSON)),
|
|
94
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
95
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -16,43 +16,43 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
* Thrown in case of requestion validation errors.
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ListAccounts400Response
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ListAccounts400Response {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ListAccounts400Response
|
|
26
26
|
*/
|
|
27
27
|
statusCode: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {Array<object>}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ListAccounts400Response
|
|
32
32
|
*/
|
|
33
33
|
message: Array<object>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ListAccounts400Response
|
|
38
38
|
*/
|
|
39
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 ListAccounts400Response interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfListAccounts400Response(value: object): boolean {
|
|
46
46
|
if (!('statusCode' in value)) return false;
|
|
47
47
|
if (!('message' in value)) return false;
|
|
48
48
|
return true;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function
|
|
52
|
-
return
|
|
51
|
+
export function ListAccounts400ResponseFromJSON(json: any): ListAccounts400Response {
|
|
52
|
+
return ListAccounts400ResponseFromJSONTyped(json, false);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export function
|
|
55
|
+
export function ListAccounts400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts400Response {
|
|
56
56
|
if (json == null) {
|
|
57
57
|
return json;
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@ export function UpdateFinancial400ResponseFromJSONTyped(json: any, ignoreDiscrim
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export function
|
|
67
|
+
export function ListAccounts400ResponseToJSON(value?: ListAccounts400Response | null): any {
|
|
68
68
|
if (value == null) {
|
|
69
69
|
return value;
|
|
70
70
|
}
|
|
@@ -16,43 +16,43 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
* Returned if more than 300 requests are made per minute.
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ListAccounts429Response
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ListAccounts429Response {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ListAccounts429Response
|
|
26
26
|
*/
|
|
27
27
|
statusCode: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ListAccounts429Response
|
|
32
32
|
*/
|
|
33
33
|
message: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ListAccounts429Response
|
|
38
38
|
*/
|
|
39
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 ListAccounts429Response interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfListAccounts429Response(value: object): boolean {
|
|
46
46
|
if (!('statusCode' in value)) return false;
|
|
47
47
|
if (!('message' in value)) return false;
|
|
48
48
|
return true;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function
|
|
52
|
-
return
|
|
51
|
+
export function ListAccounts429ResponseFromJSON(json: any): ListAccounts429Response {
|
|
52
|
+
return ListAccounts429ResponseFromJSONTyped(json, false);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export function
|
|
55
|
+
export function ListAccounts429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts429Response {
|
|
56
56
|
if (json == null) {
|
|
57
57
|
return json;
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@ export function UpdateSettings429ResponseFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export function
|
|
67
|
+
export function ListAccounts429ResponseToJSON(value?: ListAccounts429Response | null): any {
|
|
68
68
|
if (value == null) {
|
|
69
69
|
return value;
|
|
70
70
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 ListTransferDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ListTransferDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ListTransferDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof ListTransferDto
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ListTransferDto
|
|
38
|
+
*/
|
|
39
|
+
status: ListTransferDtoStatusEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ListTransferDto
|
|
44
|
+
*/
|
|
45
|
+
domainName: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ListTransferDto
|
|
50
|
+
*/
|
|
51
|
+
assignedTo: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ListTransferDto
|
|
56
|
+
*/
|
|
57
|
+
step: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export const ListTransferDtoStatusEnum = {
|
|
65
|
+
CREATED: 'created',
|
|
66
|
+
STARTED: 'started',
|
|
67
|
+
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
68
|
+
ERROR: 'error',
|
|
69
|
+
COMPLETED: 'completed'
|
|
70
|
+
} as const;
|
|
71
|
+
export type ListTransferDtoStatusEnum = typeof ListTransferDtoStatusEnum[keyof typeof ListTransferDtoStatusEnum];
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the ListTransferDto interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfListTransferDto(value: object): boolean {
|
|
78
|
+
if (!('id' in value)) return false;
|
|
79
|
+
if (!('createdAt' in value)) return false;
|
|
80
|
+
if (!('status' in value)) return false;
|
|
81
|
+
if (!('domainName' in value)) return false;
|
|
82
|
+
if (!('assignedTo' in value)) return false;
|
|
83
|
+
if (!('step' in value)) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ListTransferDtoFromJSON(json: any): ListTransferDto {
|
|
88
|
+
return ListTransferDtoFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function ListTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListTransferDto {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': json['id'],
|
|
98
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
99
|
+
'status': json['status'],
|
|
100
|
+
'domainName': json['domainName'],
|
|
101
|
+
'assignedTo': json['assignedTo'],
|
|
102
|
+
'step': json['step'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function ListTransferDtoToJSON(value?: ListTransferDto | null): any {
|
|
107
|
+
if (value == null) {
|
|
108
|
+
return value;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'id': value['id'],
|
|
113
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
114
|
+
'status': value['status'],
|
|
115
|
+
'domainName': value['domainName'],
|
|
116
|
+
'assignedTo': value['assignedTo'],
|
|
117
|
+
'step': value['step'],
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { ListTransferDto } from './ListTransferDto';
|
|
17
|
+
import {
|
|
18
|
+
ListTransferDtoFromJSON,
|
|
19
|
+
ListTransferDtoFromJSONTyped,
|
|
20
|
+
ListTransferDtoToJSON,
|
|
21
|
+
} from './ListTransferDto';
|
|
22
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
23
|
+
import {
|
|
24
|
+
PaginateResponseLinksFromJSON,
|
|
25
|
+
PaginateResponseLinksFromJSONTyped,
|
|
26
|
+
PaginateResponseLinksToJSON,
|
|
27
|
+
} from './PaginateResponseLinks';
|
|
28
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
29
|
+
import {
|
|
30
|
+
PaginateResponseMetaFromJSON,
|
|
31
|
+
PaginateResponseMetaFromJSONTyped,
|
|
32
|
+
PaginateResponseMetaToJSON,
|
|
33
|
+
} from './PaginateResponseMeta';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface ListTransfers200Response
|
|
39
|
+
*/
|
|
40
|
+
export interface ListTransfers200Response {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<ListTransferDto>}
|
|
44
|
+
* @memberof ListTransfers200Response
|
|
45
|
+
*/
|
|
46
|
+
data: Array<ListTransferDto>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {PaginateResponseMeta}
|
|
50
|
+
* @memberof ListTransfers200Response
|
|
51
|
+
*/
|
|
52
|
+
meta: PaginateResponseMeta;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {PaginateResponseLinks}
|
|
56
|
+
* @memberof ListTransfers200Response
|
|
57
|
+
*/
|
|
58
|
+
links: PaginateResponseLinks;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ListTransfers200Response interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfListTransfers200Response(value: object): boolean {
|
|
65
|
+
if (!('data' in value)) return false;
|
|
66
|
+
if (!('meta' in value)) return false;
|
|
67
|
+
if (!('links' in value)) return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ListTransfers200ResponseFromJSON(json: any): ListTransfers200Response {
|
|
72
|
+
return ListTransfers200ResponseFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ListTransfers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListTransfers200Response {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'data': ((json['data'] as Array<any>).map(ListTransferDtoFromJSON)),
|
|
82
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
83
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ListTransfers200ResponseToJSON(value?: ListTransfers200Response | null): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'data': ((value['data'] as Array<any>).map(ListTransferDtoToJSON)),
|
|
94
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
95
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -26,7 +26,13 @@ export * from './LeadMessageDtoData';
|
|
|
26
26
|
export * from './List200Response';
|
|
27
27
|
export * from './List400Response';
|
|
28
28
|
export * from './List401Response';
|
|
29
|
+
export * from './ListAccountDto';
|
|
30
|
+
export * from './ListAccounts200Response';
|
|
31
|
+
export * from './ListAccounts400Response';
|
|
32
|
+
export * from './ListAccounts429Response';
|
|
29
33
|
export * from './ListLeadMessagesDto';
|
|
34
|
+
export * from './ListTransferDto';
|
|
35
|
+
export * from './ListTransfers200Response';
|
|
30
36
|
export * from './Login401Response';
|
|
31
37
|
export * from './Login429Response';
|
|
32
38
|
export * from './LoginInput';
|
|
@@ -41,9 +47,7 @@ export * from './PutLeadInput';
|
|
|
41
47
|
export * from './SecurityUserDto';
|
|
42
48
|
export * from './TokenDto';
|
|
43
49
|
export * from './UpdateDomainInput';
|
|
44
|
-
export * from './UpdateFinancial400Response';
|
|
45
50
|
export * from './UpdateSettings400Response';
|
|
46
51
|
export * from './UpdateSettings401Response';
|
|
47
|
-
export * from './UpdateSettings429Response';
|
|
48
52
|
export * from './WithFinancialDtoInner';
|
|
49
53
|
export * from './WithSettingsInner';
|
|
@@ -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 in case of requestion validation errors.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UpdateFinancial400Response
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateFinancial400Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof UpdateFinancial400Response
|
|
22
|
-
*/
|
|
23
|
-
statusCode: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<object>}
|
|
27
|
-
* @memberof UpdateFinancial400Response
|
|
28
|
-
*/
|
|
29
|
-
message: Array<object>;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateFinancial400Response
|
|
34
|
-
*/
|
|
35
|
-
error?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the UpdateFinancial400Response interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfUpdateFinancial400Response(value: object): boolean;
|
|
41
|
-
export declare function UpdateFinancial400ResponseFromJSON(json: any): UpdateFinancial400Response;
|
|
42
|
-
export declare function UpdateFinancial400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFinancial400Response;
|
|
43
|
-
export declare function UpdateFinancial400ResponseToJSON(value?: UpdateFinancial400Response | null): any;
|
|
@@ -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
|
-
* Returned if more than 300 requests are made per minute.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UpdateSettings429Response
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateSettings429Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof UpdateSettings429Response
|
|
22
|
-
*/
|
|
23
|
-
statusCode: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateSettings429Response
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateSettings429Response
|
|
34
|
-
*/
|
|
35
|
-
error?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the UpdateSettings429Response interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfUpdateSettings429Response(value: object): boolean;
|
|
41
|
-
export declare function UpdateSettings429ResponseFromJSON(json: any): UpdateSettings429Response;
|
|
42
|
-
export declare function UpdateSettings429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettings429Response;
|
|
43
|
-
export declare function UpdateSettings429ResponseToJSON(value?: UpdateSettings429Response | null): any;
|