@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,56 @@
|
|
|
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.List429ResponseToJSON = exports.List429ResponseFromJSONTyped = exports.List429ResponseFromJSON = exports.instanceOfList429Response = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the List429Response interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfList429Response(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "statusCode" in value;
|
|
24
|
+
isInstance = isInstance && "message" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfList429Response = instanceOfList429Response;
|
|
28
|
+
function List429ResponseFromJSON(json) {
|
|
29
|
+
return List429ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.List429ResponseFromJSON = List429ResponseFromJSON;
|
|
32
|
+
function List429ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'statusCode': json['statusCode'],
|
|
38
|
+
'message': json['message'],
|
|
39
|
+
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.List429ResponseFromJSONTyped = List429ResponseFromJSONTyped;
|
|
43
|
+
function List429ResponseToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'statusCode': value.statusCode,
|
|
52
|
+
'message': value.message,
|
|
53
|
+
'error': value.error,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.List429ResponseToJSON = List429ResponseToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 LoginInput
|
|
16
|
+
*/
|
|
17
|
+
export interface LoginInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LoginInput
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LoginInput
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LoginInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLoginInput(value: object): boolean;
|
|
35
|
+
export declare function LoginInputFromJSON(json: any): LoginInput;
|
|
36
|
+
export declare function LoginInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginInput;
|
|
37
|
+
export declare function LoginInputToJSON(value?: LoginInput | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.LoginInputToJSON = exports.LoginInputFromJSONTyped = exports.LoginInputFromJSON = exports.instanceOfLoginInput = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LoginInput interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLoginInput(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
isInstance = isInstance && "password" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfLoginInput = instanceOfLoginInput;
|
|
27
|
+
function LoginInputFromJSON(json) {
|
|
28
|
+
return LoginInputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.LoginInputFromJSON = LoginInputFromJSON;
|
|
31
|
+
function LoginInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'email': json['email'],
|
|
37
|
+
'password': json['password'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.LoginInputFromJSONTyped = LoginInputFromJSONTyped;
|
|
41
|
+
function LoginInputToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'email': value.email,
|
|
50
|
+
'password': value.password,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.LoginInputToJSON = LoginInputToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 MoneyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface MoneyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MoneyDto
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Three letter ISO currency code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoneyDto
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MoneyDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMoneyDto(value: object): boolean;
|
|
35
|
+
export declare function MoneyDtoFromJSON(json: any): MoneyDto;
|
|
36
|
+
export declare function MoneyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyDto;
|
|
37
|
+
export declare function MoneyDtoToJSON(value?: MoneyDto | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.MoneyDtoToJSON = exports.MoneyDtoFromJSONTyped = exports.MoneyDtoFromJSON = exports.instanceOfMoneyDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the MoneyDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfMoneyDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "amount" in value;
|
|
23
|
+
isInstance = isInstance && "currencyCode" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfMoneyDto = instanceOfMoneyDto;
|
|
27
|
+
function MoneyDtoFromJSON(json) {
|
|
28
|
+
return MoneyDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.MoneyDtoFromJSON = MoneyDtoFromJSON;
|
|
31
|
+
function MoneyDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'amount': json['amount'],
|
|
37
|
+
'currencyCode': json['currencyCode'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.MoneyDtoFromJSONTyped = MoneyDtoFromJSONTyped;
|
|
41
|
+
function MoneyDtoToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'amount': value.amount,
|
|
50
|
+
'currencyCode': value.currencyCode,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.MoneyDtoToJSON = MoneyDtoToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 MoneyInput
|
|
16
|
+
*/
|
|
17
|
+
export interface MoneyInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MoneyInput
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoneyInput
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MoneyInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMoneyInput(value: object): boolean;
|
|
35
|
+
export declare function MoneyInputFromJSON(json: any): MoneyInput;
|
|
36
|
+
export declare function MoneyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyInput;
|
|
37
|
+
export declare function MoneyInputToJSON(value?: MoneyInput | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.MoneyInputToJSON = exports.MoneyInputFromJSONTyped = exports.MoneyInputFromJSON = exports.instanceOfMoneyInput = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the MoneyInput interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfMoneyInput(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "amount" in value;
|
|
23
|
+
isInstance = isInstance && "currencyCode" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfMoneyInput = instanceOfMoneyInput;
|
|
27
|
+
function MoneyInputFromJSON(json) {
|
|
28
|
+
return MoneyInputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.MoneyInputFromJSON = MoneyInputFromJSON;
|
|
31
|
+
function MoneyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'amount': json['amount'],
|
|
37
|
+
'currencyCode': json['currencyCode'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.MoneyInputFromJSONTyped = MoneyInputFromJSONTyped;
|
|
41
|
+
function MoneyInputToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'amount': value.amount,
|
|
50
|
+
'currencyCode': value.currencyCode,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.MoneyInputToJSON = MoneyInputToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginateResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginateResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<string>}
|
|
23
|
+
* @memberof PaginateResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<string>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PaginateResponseMeta}
|
|
29
|
+
* @memberof PaginateResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PaginateResponseMeta;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PaginateResponseLinks}
|
|
35
|
+
* @memberof PaginateResponse
|
|
36
|
+
*/
|
|
37
|
+
links: PaginateResponseLinks;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the PaginateResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfPaginateResponse(value: object): boolean;
|
|
43
|
+
export declare function PaginateResponseFromJSON(json: any): PaginateResponse;
|
|
44
|
+
export declare function PaginateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponse;
|
|
45
|
+
export declare function PaginateResponseToJSON(value?: PaginateResponse | 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.PaginateResponseToJSON = exports.PaginateResponseFromJSONTyped = exports.PaginateResponseFromJSON = exports.instanceOfPaginateResponse = void 0;
|
|
17
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
18
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the PaginateResponse interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfPaginateResponse(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "data" in value;
|
|
25
|
+
isInstance = isInstance && "meta" in value;
|
|
26
|
+
isInstance = isInstance && "links" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfPaginateResponse = instanceOfPaginateResponse;
|
|
30
|
+
function PaginateResponseFromJSON(json) {
|
|
31
|
+
return PaginateResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.PaginateResponseFromJSON = PaginateResponseFromJSON;
|
|
34
|
+
function PaginateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'data': json['data'],
|
|
40
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
41
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.PaginateResponseFromJSONTyped = PaginateResponseFromJSONTyped;
|
|
45
|
+
function PaginateResponseToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'data': value.data,
|
|
54
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value.meta),
|
|
55
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value.links),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.PaginateResponseToJSON = PaginateResponseToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 PaginateResponseLinks
|
|
16
|
+
*/
|
|
17
|
+
export interface PaginateResponseLinks {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PaginateResponseLinks
|
|
22
|
+
*/
|
|
23
|
+
first?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaginateResponseLinks
|
|
28
|
+
*/
|
|
29
|
+
previous?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PaginateResponseLinks
|
|
34
|
+
*/
|
|
35
|
+
current?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaginateResponseLinks
|
|
40
|
+
*/
|
|
41
|
+
next?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaginateResponseLinks
|
|
46
|
+
*/
|
|
47
|
+
last?: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PaginateResponseLinks interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPaginateResponseLinks(value: object): boolean;
|
|
53
|
+
export declare function PaginateResponseLinksFromJSON(json: any): PaginateResponseLinks;
|
|
54
|
+
export declare function PaginateResponseLinksFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponseLinks;
|
|
55
|
+
export declare function PaginateResponseLinksToJSON(value?: PaginateResponseLinks | 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.PaginateResponseLinksToJSON = exports.PaginateResponseLinksFromJSONTyped = exports.PaginateResponseLinksFromJSON = exports.instanceOfPaginateResponseLinks = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PaginateResponseLinks interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPaginateResponseLinks(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPaginateResponseLinks = instanceOfPaginateResponseLinks;
|
|
26
|
+
function PaginateResponseLinksFromJSON(json) {
|
|
27
|
+
return PaginateResponseLinksFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PaginateResponseLinksFromJSON = PaginateResponseLinksFromJSON;
|
|
30
|
+
function PaginateResponseLinksFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'first': !(0, runtime_1.exists)(json, 'first') ? undefined : json['first'],
|
|
36
|
+
'previous': !(0, runtime_1.exists)(json, 'previous') ? undefined : json['previous'],
|
|
37
|
+
'current': !(0, runtime_1.exists)(json, 'current') ? undefined : json['current'],
|
|
38
|
+
'next': !(0, runtime_1.exists)(json, 'next') ? undefined : json['next'],
|
|
39
|
+
'last': !(0, runtime_1.exists)(json, 'last') ? undefined : json['last'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.PaginateResponseLinksFromJSONTyped = PaginateResponseLinksFromJSONTyped;
|
|
43
|
+
function PaginateResponseLinksToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'first': value.first,
|
|
52
|
+
'previous': value.previous,
|
|
53
|
+
'current': value.current,
|
|
54
|
+
'next': value.next,
|
|
55
|
+
'last': value.last,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.PaginateResponseLinksToJSON = PaginateResponseLinksToJSON;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 PaginateResponseMeta
|
|
16
|
+
*/
|
|
17
|
+
export interface PaginateResponseMeta {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PaginateResponseMeta
|
|
22
|
+
*/
|
|
23
|
+
page?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PaginateResponseMeta
|
|
28
|
+
*/
|
|
29
|
+
itemsPerPage?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PaginateResponseMeta
|
|
34
|
+
*/
|
|
35
|
+
offset?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PaginateResponseMeta
|
|
40
|
+
*/
|
|
41
|
+
unpaged?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PaginateResponseMeta
|
|
46
|
+
*/
|
|
47
|
+
totalPages?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PaginateResponseMeta
|
|
52
|
+
*/
|
|
53
|
+
totalItems?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<object>}
|
|
57
|
+
* @memberof PaginateResponseMeta
|
|
58
|
+
*/
|
|
59
|
+
sortBy?: Array<object>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the PaginateResponseMeta interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfPaginateResponseMeta(value: object): boolean;
|
|
65
|
+
export declare function PaginateResponseMetaFromJSON(json: any): PaginateResponseMeta;
|
|
66
|
+
export declare function PaginateResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponseMeta;
|
|
67
|
+
export declare function PaginateResponseMetaToJSON(value?: PaginateResponseMeta | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.PaginateResponseMetaToJSON = exports.PaginateResponseMetaFromJSONTyped = exports.PaginateResponseMetaFromJSON = exports.instanceOfPaginateResponseMeta = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PaginateResponseMeta interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPaginateResponseMeta(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPaginateResponseMeta = instanceOfPaginateResponseMeta;
|
|
26
|
+
function PaginateResponseMetaFromJSON(json) {
|
|
27
|
+
return PaginateResponseMetaFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PaginateResponseMetaFromJSON = PaginateResponseMetaFromJSON;
|
|
30
|
+
function PaginateResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'page': !(0, runtime_1.exists)(json, 'page') ? undefined : json['page'],
|
|
36
|
+
'itemsPerPage': !(0, runtime_1.exists)(json, 'itemsPerPage') ? undefined : json['itemsPerPage'],
|
|
37
|
+
'offset': !(0, runtime_1.exists)(json, 'offset') ? undefined : json['offset'],
|
|
38
|
+
'unpaged': !(0, runtime_1.exists)(json, 'unpaged') ? undefined : json['unpaged'],
|
|
39
|
+
'totalPages': !(0, runtime_1.exists)(json, 'totalPages') ? undefined : json['totalPages'],
|
|
40
|
+
'totalItems': !(0, runtime_1.exists)(json, 'totalItems') ? undefined : json['totalItems'],
|
|
41
|
+
'sortBy': !(0, runtime_1.exists)(json, 'sortBy') ? undefined : json['sortBy'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.PaginateResponseMetaFromJSONTyped = PaginateResponseMetaFromJSONTyped;
|
|
45
|
+
function PaginateResponseMetaToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'page': value.page,
|
|
54
|
+
'itemsPerPage': value.itemsPerPage,
|
|
55
|
+
'offset': value.offset,
|
|
56
|
+
'unpaged': value.unpaged,
|
|
57
|
+
'totalPages': value.totalPages,
|
|
58
|
+
'totalItems': value.totalItems,
|
|
59
|
+
'sortBy': value.sortBy,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.PaginateResponseMetaToJSON = PaginateResponseMetaToJSON;
|