@randock/nameshift-api-client 0.0.21 → 0.0.23
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 -2
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +46 -0
- package/dist/apis/AdminApi.js +206 -0
- package/dist/apis/DashboardApi.d.ts +26 -0
- package/dist/apis/DashboardApi.js +130 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/DashboardStatsDto.d.ts +43 -0
- package/dist/models/DashboardStatsDto.js +55 -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 +7 -2
- package/dist/models/index.js +7 -2
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +6 -6
- package/src/apis/AdminApi.ts +153 -0
- package/src/apis/DashboardApi.ts +70 -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 +2 -0
- package/src/models/DashboardStatsDto.ts +79 -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 +7 -2
- package/dist/models/UpdateFinancial400Response.d.ts +0 -43
- package/dist/models/UpdateSettings429Response.d.ts +0 -43
|
@@ -0,0 +1,59 @@
|
|
|
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.ListAccountDtoToJSON = exports.ListAccountDtoFromJSONTyped = exports.ListAccountDtoFromJSON = exports.instanceOfListAccountDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ListAccountDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfListAccountDto(value) {
|
|
21
|
+
if (!('id' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('createdAt' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('name' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('companyName' in value))
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfListAccountDto = instanceOfListAccountDto;
|
|
32
|
+
function ListAccountDtoFromJSON(json) {
|
|
33
|
+
return ListAccountDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.ListAccountDtoFromJSON = ListAccountDtoFromJSON;
|
|
36
|
+
function ListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'companyName': json['companyName'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ListAccountDtoFromJSONTyped = ListAccountDtoFromJSONTyped;
|
|
48
|
+
function ListAccountDtoToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'companyName': value['companyName'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ListAccountDtoToJSON = ListAccountDtoToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 type { ListAccountDto } from './ListAccountDto';
|
|
13
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ListAccounts200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ListAccounts200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<ListAccountDto>}
|
|
24
|
+
* @memberof ListAccounts200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<ListAccountDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof ListAccounts200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof ListAccounts200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListAccounts200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfListAccounts200Response(value: object): boolean;
|
|
44
|
+
export declare function ListAccounts200ResponseFromJSON(json: any): ListAccounts200Response;
|
|
45
|
+
export declare function ListAccounts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts200Response;
|
|
46
|
+
export declare function ListAccounts200ResponseToJSON(value?: ListAccounts200Response | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.ListAccounts200ResponseToJSON = exports.ListAccounts200ResponseFromJSONTyped = exports.ListAccounts200ResponseFromJSON = exports.instanceOfListAccounts200Response = void 0;
|
|
17
|
+
var ListAccountDto_1 = require("./ListAccountDto");
|
|
18
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
19
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ListAccounts200Response interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfListAccounts200Response(value) {
|
|
24
|
+
if (!('data' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('meta' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('links' in value))
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfListAccounts200Response = instanceOfListAccounts200Response;
|
|
33
|
+
function ListAccounts200ResponseFromJSON(json) {
|
|
34
|
+
return ListAccounts200ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.ListAccounts200ResponseFromJSON = ListAccounts200ResponseFromJSON;
|
|
37
|
+
function ListAccounts200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'data': (json['data'].map(ListAccountDto_1.ListAccountDtoFromJSON)),
|
|
43
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ListAccounts200ResponseFromJSONTyped = ListAccounts200ResponseFromJSONTyped;
|
|
48
|
+
function ListAccounts200ResponseToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'data': (value['data'].map(ListAccountDto_1.ListAccountDtoToJSON)),
|
|
54
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
55
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.ListAccounts200ResponseToJSON = ListAccounts200ResponseToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ListAccounts400Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAccounts400Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ListAccounts400Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<object>}
|
|
27
|
+
* @memberof ListAccounts400Response
|
|
28
|
+
*/
|
|
29
|
+
message: Array<object>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListAccounts400Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ListAccounts400Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfListAccounts400Response(value: object): boolean;
|
|
41
|
+
export declare function ListAccounts400ResponseFromJSON(json: any): ListAccounts400Response;
|
|
42
|
+
export declare function ListAccounts400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts400Response;
|
|
43
|
+
export declare function ListAccounts400ResponseToJSON(value?: ListAccounts400Response | null): any;
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ListAccounts400ResponseToJSON = exports.ListAccounts400ResponseFromJSONTyped = exports.ListAccounts400ResponseFromJSON = exports.instanceOfListAccounts400Response = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* Check if a given object implements the
|
|
18
|
+
* Check if a given object implements the ListAccounts400Response interface.
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
20
|
+
function instanceOfListAccounts400Response(value) {
|
|
21
21
|
if (!('statusCode' in value))
|
|
22
22
|
return false;
|
|
23
23
|
if (!('message' in value))
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
exports.
|
|
28
|
-
function
|
|
29
|
-
return
|
|
27
|
+
exports.instanceOfListAccounts400Response = instanceOfListAccounts400Response;
|
|
28
|
+
function ListAccounts400ResponseFromJSON(json) {
|
|
29
|
+
return ListAccounts400ResponseFromJSONTyped(json, false);
|
|
30
30
|
}
|
|
31
|
-
exports.
|
|
32
|
-
function
|
|
31
|
+
exports.ListAccounts400ResponseFromJSON = ListAccounts400ResponseFromJSON;
|
|
32
|
+
function ListAccounts400ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
33
|
if (json == null) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
@@ -39,8 +39,8 @@ function UpdateSettings429ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'error': json['error'] == null ? undefined : json['error'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
43
|
-
function
|
|
42
|
+
exports.ListAccounts400ResponseFromJSONTyped = ListAccounts400ResponseFromJSONTyped;
|
|
43
|
+
function ListAccounts400ResponseToJSON(value) {
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
@@ -50,4 +50,4 @@ function UpdateSettings429ResponseToJSON(value) {
|
|
|
50
50
|
'error': value['error'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
exports.
|
|
53
|
+
exports.ListAccounts400ResponseToJSON = ListAccounts400ResponseToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ListAccounts429Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAccounts429Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ListAccounts429Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListAccounts429Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListAccounts429Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ListAccounts429Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfListAccounts429Response(value: object): boolean;
|
|
41
|
+
export declare function ListAccounts429ResponseFromJSON(json: any): ListAccounts429Response;
|
|
42
|
+
export declare function ListAccounts429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts429Response;
|
|
43
|
+
export declare function ListAccounts429ResponseToJSON(value?: ListAccounts429Response | null): any;
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ListAccounts429ResponseToJSON = exports.ListAccounts429ResponseFromJSONTyped = exports.ListAccounts429ResponseFromJSON = exports.instanceOfListAccounts429Response = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* Check if a given object implements the
|
|
18
|
+
* Check if a given object implements the ListAccounts429Response interface.
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
20
|
+
function instanceOfListAccounts429Response(value) {
|
|
21
21
|
if (!('statusCode' in value))
|
|
22
22
|
return false;
|
|
23
23
|
if (!('message' in value))
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
exports.
|
|
28
|
-
function
|
|
29
|
-
return
|
|
27
|
+
exports.instanceOfListAccounts429Response = instanceOfListAccounts429Response;
|
|
28
|
+
function ListAccounts429ResponseFromJSON(json) {
|
|
29
|
+
return ListAccounts429ResponseFromJSONTyped(json, false);
|
|
30
30
|
}
|
|
31
|
-
exports.
|
|
32
|
-
function
|
|
31
|
+
exports.ListAccounts429ResponseFromJSON = ListAccounts429ResponseFromJSON;
|
|
32
|
+
function ListAccounts429ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
33
|
if (json == null) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
@@ -39,8 +39,8 @@ function UpdateFinancial400ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'error': json['error'] == null ? undefined : json['error'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
43
|
-
function
|
|
42
|
+
exports.ListAccounts429ResponseFromJSONTyped = ListAccounts429ResponseFromJSONTyped;
|
|
43
|
+
function ListAccounts429ResponseToJSON(value) {
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
@@ -50,4 +50,4 @@ function UpdateFinancial400ResponseToJSON(value) {
|
|
|
50
50
|
'error': value['error'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
exports.
|
|
53
|
+
exports.ListAccounts429ResponseToJSON = ListAccounts429ResponseToJSON;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 ListTransferDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ListTransferDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListTransferDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof ListTransferDto
|
|
28
|
+
*/
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListTransferDto
|
|
34
|
+
*/
|
|
35
|
+
status: ListTransferDtoStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListTransferDto
|
|
40
|
+
*/
|
|
41
|
+
domainName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListTransferDto
|
|
46
|
+
*/
|
|
47
|
+
assignedTo: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListTransferDto
|
|
52
|
+
*/
|
|
53
|
+
step: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const ListTransferDtoStatusEnum: {
|
|
59
|
+
readonly CREATED: "created";
|
|
60
|
+
readonly STARTED: "started";
|
|
61
|
+
readonly PENDING_MANUAL_ACTION: "pending_manual_action";
|
|
62
|
+
readonly ERROR: "error";
|
|
63
|
+
readonly COMPLETED: "completed";
|
|
64
|
+
};
|
|
65
|
+
export type ListTransferDtoStatusEnum = typeof ListTransferDtoStatusEnum[keyof typeof ListTransferDtoStatusEnum];
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the ListTransferDto interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfListTransferDto(value: object): boolean;
|
|
70
|
+
export declare function ListTransferDtoFromJSON(json: any): ListTransferDto;
|
|
71
|
+
export declare function ListTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListTransferDto;
|
|
72
|
+
export declare function ListTransferDtoToJSON(value?: ListTransferDto | null): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
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.ListTransferDtoToJSON = exports.ListTransferDtoFromJSONTyped = exports.ListTransferDtoFromJSON = exports.instanceOfListTransferDto = exports.ListTransferDtoStatusEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.ListTransferDtoStatusEnum = {
|
|
21
|
+
CREATED: 'created',
|
|
22
|
+
STARTED: 'started',
|
|
23
|
+
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
24
|
+
ERROR: 'error',
|
|
25
|
+
COMPLETED: 'completed'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the ListTransferDto interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfListTransferDto(value) {
|
|
31
|
+
if (!('id' in value))
|
|
32
|
+
return false;
|
|
33
|
+
if (!('createdAt' in value))
|
|
34
|
+
return false;
|
|
35
|
+
if (!('status' in value))
|
|
36
|
+
return false;
|
|
37
|
+
if (!('domainName' in value))
|
|
38
|
+
return false;
|
|
39
|
+
if (!('assignedTo' in value))
|
|
40
|
+
return false;
|
|
41
|
+
if (!('step' in value))
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
exports.instanceOfListTransferDto = instanceOfListTransferDto;
|
|
46
|
+
function ListTransferDtoFromJSON(json) {
|
|
47
|
+
return ListTransferDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
exports.ListTransferDtoFromJSON = ListTransferDtoFromJSON;
|
|
50
|
+
function ListTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
57
|
+
'status': json['status'],
|
|
58
|
+
'domainName': json['domainName'],
|
|
59
|
+
'assignedTo': json['assignedTo'],
|
|
60
|
+
'step': json['step'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.ListTransferDtoFromJSONTyped = ListTransferDtoFromJSONTyped;
|
|
64
|
+
function ListTransferDtoToJSON(value) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value['id'],
|
|
70
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
71
|
+
'status': value['status'],
|
|
72
|
+
'domainName': value['domainName'],
|
|
73
|
+
'assignedTo': value['assignedTo'],
|
|
74
|
+
'step': value['step'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
exports.ListTransferDtoToJSON = ListTransferDtoToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 type { ListTransferDto } from './ListTransferDto';
|
|
13
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ListTransfers200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ListTransfers200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<ListTransferDto>}
|
|
24
|
+
* @memberof ListTransfers200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<ListTransferDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof ListTransfers200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof ListTransfers200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListTransfers200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfListTransfers200Response(value: object): boolean;
|
|
44
|
+
export declare function ListTransfers200ResponseFromJSON(json: any): ListTransfers200Response;
|
|
45
|
+
export declare function ListTransfers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListTransfers200Response;
|
|
46
|
+
export declare function ListTransfers200ResponseToJSON(value?: ListTransfers200Response | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.ListTransfers200ResponseToJSON = exports.ListTransfers200ResponseFromJSONTyped = exports.ListTransfers200ResponseFromJSON = exports.instanceOfListTransfers200Response = void 0;
|
|
17
|
+
var ListTransferDto_1 = require("./ListTransferDto");
|
|
18
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
19
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ListTransfers200Response interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfListTransfers200Response(value) {
|
|
24
|
+
if (!('data' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('meta' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('links' in value))
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfListTransfers200Response = instanceOfListTransfers200Response;
|
|
33
|
+
function ListTransfers200ResponseFromJSON(json) {
|
|
34
|
+
return ListTransfers200ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.ListTransfers200ResponseFromJSON = ListTransfers200ResponseFromJSON;
|
|
37
|
+
function ListTransfers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'data': (json['data'].map(ListTransferDto_1.ListTransferDtoFromJSON)),
|
|
43
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ListTransfers200ResponseFromJSONTyped = ListTransfers200ResponseFromJSONTyped;
|
|
48
|
+
function ListTransfers200ResponseToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'data': (value['data'].map(ListTransferDto_1.ListTransferDtoToJSON)),
|
|
54
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
55
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.ListTransfers200ResponseToJSON = ListTransfers200ResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './BatchUpdate404Response';
|
|
|
7
7
|
export * from './BatchUpdateDomainsInput';
|
|
8
8
|
export * from './CreateLeadInput';
|
|
9
9
|
export * from './CreateLeadMessageInput';
|
|
10
|
+
export * from './DashboardStatsDto';
|
|
10
11
|
export * from './DeleteDomainsInput';
|
|
11
12
|
export * from './DomainDto';
|
|
12
13
|
export * from './DomainSalesInformationDto';
|
|
@@ -24,7 +25,13 @@ export * from './LeadMessageDtoData';
|
|
|
24
25
|
export * from './List200Response';
|
|
25
26
|
export * from './List400Response';
|
|
26
27
|
export * from './List401Response';
|
|
28
|
+
export * from './ListAccountDto';
|
|
29
|
+
export * from './ListAccounts200Response';
|
|
30
|
+
export * from './ListAccounts400Response';
|
|
31
|
+
export * from './ListAccounts429Response';
|
|
27
32
|
export * from './ListLeadMessagesDto';
|
|
33
|
+
export * from './ListTransferDto';
|
|
34
|
+
export * from './ListTransfers200Response';
|
|
28
35
|
export * from './Login401Response';
|
|
29
36
|
export * from './Login429Response';
|
|
30
37
|
export * from './LoginInput';
|
|
@@ -39,9 +46,7 @@ export * from './PutLeadInput';
|
|
|
39
46
|
export * from './SecurityUserDto';
|
|
40
47
|
export * from './TokenDto';
|
|
41
48
|
export * from './UpdateDomainInput';
|
|
42
|
-
export * from './UpdateFinancial400Response';
|
|
43
49
|
export * from './UpdateSettings400Response';
|
|
44
50
|
export * from './UpdateSettings401Response';
|
|
45
|
-
export * from './UpdateSettings429Response';
|
|
46
51
|
export * from './WithFinancialDtoInner';
|
|
47
52
|
export * from './WithSettingsInner';
|
package/dist/models/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./BatchUpdate404Response"), exports);
|
|
|
25
25
|
__exportStar(require("./BatchUpdateDomainsInput"), exports);
|
|
26
26
|
__exportStar(require("./CreateLeadInput"), exports);
|
|
27
27
|
__exportStar(require("./CreateLeadMessageInput"), exports);
|
|
28
|
+
__exportStar(require("./DashboardStatsDto"), exports);
|
|
28
29
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
29
30
|
__exportStar(require("./DomainDto"), exports);
|
|
30
31
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
@@ -42,7 +43,13 @@ __exportStar(require("./LeadMessageDtoData"), exports);
|
|
|
42
43
|
__exportStar(require("./List200Response"), exports);
|
|
43
44
|
__exportStar(require("./List400Response"), exports);
|
|
44
45
|
__exportStar(require("./List401Response"), exports);
|
|
46
|
+
__exportStar(require("./ListAccountDto"), exports);
|
|
47
|
+
__exportStar(require("./ListAccounts200Response"), exports);
|
|
48
|
+
__exportStar(require("./ListAccounts400Response"), exports);
|
|
49
|
+
__exportStar(require("./ListAccounts429Response"), exports);
|
|
45
50
|
__exportStar(require("./ListLeadMessagesDto"), exports);
|
|
51
|
+
__exportStar(require("./ListTransferDto"), exports);
|
|
52
|
+
__exportStar(require("./ListTransfers200Response"), exports);
|
|
46
53
|
__exportStar(require("./Login401Response"), exports);
|
|
47
54
|
__exportStar(require("./Login429Response"), exports);
|
|
48
55
|
__exportStar(require("./LoginInput"), exports);
|
|
@@ -57,9 +64,7 @@ __exportStar(require("./PutLeadInput"), exports);
|
|
|
57
64
|
__exportStar(require("./SecurityUserDto"), exports);
|
|
58
65
|
__exportStar(require("./TokenDto"), exports);
|
|
59
66
|
__exportStar(require("./UpdateDomainInput"), exports);
|
|
60
|
-
__exportStar(require("./UpdateFinancial400Response"), exports);
|
|
61
67
|
__exportStar(require("./UpdateSettings400Response"), exports);
|
|
62
68
|
__exportStar(require("./UpdateSettings401Response"), exports);
|
|
63
|
-
__exportStar(require("./UpdateSettings429Response"), exports);
|
|
64
69
|
__exportStar(require("./WithFinancialDtoInner"), exports);
|
|
65
70
|
__exportStar(require("./WithSettingsInner"), exports);
|