@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.IntersectionAccountDtoWithFinancialDtoFinancialToJSON = exports.IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped = exports.IntersectionAccountDtoWithFinancialDtoFinancialFromJSON = exports.instanceOfIntersectionAccountDtoWithFinancialDtoFinancial = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the IntersectionAccountDtoWithFinancialDtoFinancial interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfIntersectionAccountDtoWithFinancialDtoFinancial(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfIntersectionAccountDtoWithFinancialDtoFinancial = instanceOfIntersectionAccountDtoWithFinancialDtoFinancial;
|
|
26
|
+
function IntersectionAccountDtoWithFinancialDtoFinancialFromJSON(json) {
|
|
27
|
+
return IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.IntersectionAccountDtoWithFinancialDtoFinancialFromJSON = IntersectionAccountDtoWithFinancialDtoFinancialFromJSON;
|
|
30
|
+
function IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'company': !(0, runtime_1.exists)(json, 'company') ? undefined : json['company'],
|
|
36
|
+
'companyName': !(0, runtime_1.exists)(json, 'companyName') ? undefined : json['companyName'],
|
|
37
|
+
'companyVatNumber': !(0, runtime_1.exists)(json, 'companyVatNumber') ? undefined : json['companyVatNumber'],
|
|
38
|
+
'companyRegistrationNumber': !(0, runtime_1.exists)(json, 'companyRegistrationNumber') ? undefined : json['companyRegistrationNumber'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped = IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped;
|
|
42
|
+
function IntersectionAccountDtoWithFinancialDtoFinancialToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'company': value.company,
|
|
51
|
+
'companyName': value.companyName,
|
|
52
|
+
'companyVatNumber': value.companyVatNumber,
|
|
53
|
+
'companyRegistrationNumber': value.companyRegistrationNumber,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.IntersectionAccountDtoWithFinancialDtoFinancialToJSON = IntersectionAccountDtoWithFinancialDtoFinancialToJSON;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { IntersectionAccountDtoWithSettingsDtoSettings } from './IntersectionAccountDtoWithSettingsDtoSettings';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IntersectionAccountDtoWithSettingsDto
|
|
17
|
+
*/
|
|
18
|
+
export interface IntersectionAccountDtoWithSettingsDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {IntersectionAccountDtoWithSettingsDtoSettings}
|
|
28
|
+
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
29
|
+
*/
|
|
30
|
+
settings: IntersectionAccountDtoWithSettingsDtoSettings;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfIntersectionAccountDtoWithSettingsDto(value: object): boolean;
|
|
36
|
+
export declare function IntersectionAccountDtoWithSettingsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDto;
|
|
37
|
+
export declare function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDto;
|
|
38
|
+
export declare function IntersectionAccountDtoWithSettingsDtoToJSON(value?: IntersectionAccountDtoWithSettingsDto | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.IntersectionAccountDtoWithSettingsDtoToJSON = exports.IntersectionAccountDtoWithSettingsDtoFromJSONTyped = exports.IntersectionAccountDtoWithSettingsDtoFromJSON = exports.instanceOfIntersectionAccountDtoWithSettingsDto = void 0;
|
|
17
|
+
var IntersectionAccountDtoWithSettingsDtoSettings_1 = require("./IntersectionAccountDtoWithSettingsDtoSettings");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfIntersectionAccountDtoWithSettingsDto(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "settings" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfIntersectionAccountDtoWithSettingsDto = instanceOfIntersectionAccountDtoWithSettingsDto;
|
|
28
|
+
function IntersectionAccountDtoWithSettingsDtoFromJSON(json) {
|
|
29
|
+
return IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.IntersectionAccountDtoWithSettingsDtoFromJSON = IntersectionAccountDtoWithSettingsDtoFromJSON;
|
|
32
|
+
function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'settings': (0, IntersectionAccountDtoWithSettingsDtoSettings_1.IntersectionAccountDtoWithSettingsDtoSettingsFromJSON)(json['settings']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.IntersectionAccountDtoWithSettingsDtoFromJSONTyped = IntersectionAccountDtoWithSettingsDtoFromJSONTyped;
|
|
42
|
+
function IntersectionAccountDtoWithSettingsDtoToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value.id,
|
|
51
|
+
'settings': (0, IntersectionAccountDtoWithSettingsDtoSettings_1.IntersectionAccountDtoWithSettingsDtoSettingsToJSON)(value.settings),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.IntersectionAccountDtoWithSettingsDtoToJSON = IntersectionAccountDtoWithSettingsDtoToJSON;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IntersectionAccountDtoWithSettingsDtoSettings
|
|
17
|
+
*/
|
|
18
|
+
export interface IntersectionAccountDtoWithSettingsDtoSettings {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MoneyDto}
|
|
22
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoSettings
|
|
23
|
+
*/
|
|
24
|
+
defaultStartingOffer?: MoneyDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoSettings interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfIntersectionAccountDtoWithSettingsDtoSettings(value: object): boolean;
|
|
30
|
+
export declare function IntersectionAccountDtoWithSettingsDtoSettingsFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoSettings;
|
|
31
|
+
export declare function IntersectionAccountDtoWithSettingsDtoSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoSettings;
|
|
32
|
+
export declare function IntersectionAccountDtoWithSettingsDtoSettingsToJSON(value?: IntersectionAccountDtoWithSettingsDtoSettings | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.IntersectionAccountDtoWithSettingsDtoSettingsToJSON = exports.IntersectionAccountDtoWithSettingsDtoSettingsFromJSONTyped = exports.IntersectionAccountDtoWithSettingsDtoSettingsFromJSON = exports.instanceOfIntersectionAccountDtoWithSettingsDtoSettings = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoSettings interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfIntersectionAccountDtoWithSettingsDtoSettings(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfIntersectionAccountDtoWithSettingsDtoSettings = instanceOfIntersectionAccountDtoWithSettingsDtoSettings;
|
|
27
|
+
function IntersectionAccountDtoWithSettingsDtoSettingsFromJSON(json) {
|
|
28
|
+
return IntersectionAccountDtoWithSettingsDtoSettingsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.IntersectionAccountDtoWithSettingsDtoSettingsFromJSON = IntersectionAccountDtoWithSettingsDtoSettingsFromJSON;
|
|
31
|
+
function IntersectionAccountDtoWithSettingsDtoSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'defaultStartingOffer': !(0, runtime_1.exists)(json, 'defaultStartingOffer') ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.IntersectionAccountDtoWithSettingsDtoSettingsFromJSONTyped = IntersectionAccountDtoWithSettingsDtoSettingsFromJSONTyped;
|
|
40
|
+
function IntersectionAccountDtoWithSettingsDtoSettingsToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value.defaultStartingOffer),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IntersectionAccountDtoWithSettingsDtoSettingsToJSON = IntersectionAccountDtoWithSettingsDtoSettingsToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 LeadDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LeadDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the LeadDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfLeadDto(value: object): boolean;
|
|
29
|
+
export declare function LeadDtoFromJSON(json: any): LeadDto;
|
|
30
|
+
export declare function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadDto;
|
|
31
|
+
export declare function LeadDtoToJSON(value?: LeadDto | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.LeadDtoToJSON = exports.LeadDtoFromJSONTyped = exports.LeadDtoFromJSON = exports.instanceOfLeadDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LeadDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLeadDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfLeadDto = instanceOfLeadDto;
|
|
26
|
+
function LeadDtoFromJSON(json) {
|
|
27
|
+
return LeadDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.LeadDtoFromJSON = LeadDtoFromJSON;
|
|
30
|
+
function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.LeadDtoFromJSONTyped = LeadDtoFromJSONTyped;
|
|
39
|
+
function LeadDtoToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value.id,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.LeadDtoToJSON = LeadDtoToJSON;
|
|
@@ -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 { DomainDto } from './DomainDto';
|
|
13
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface List200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface List200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<DomainDto>}
|
|
24
|
+
* @memberof List200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<DomainDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof List200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof List200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the List200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfList200Response(value: object): boolean;
|
|
44
|
+
export declare function List200ResponseFromJSON(json: any): List200Response;
|
|
45
|
+
export declare function List200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response;
|
|
46
|
+
export declare function List200ResponseToJSON(value?: List200Response | null): any;
|
|
@@ -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.List200ResponseToJSON = exports.List200ResponseFromJSONTyped = exports.List200ResponseFromJSON = exports.instanceOfList200Response = void 0;
|
|
17
|
+
var DomainDto_1 = require("./DomainDto");
|
|
18
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
19
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the List200Response interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfList200Response(value) {
|
|
24
|
+
var isInstance = true;
|
|
25
|
+
isInstance = isInstance && "data" in value;
|
|
26
|
+
isInstance = isInstance && "meta" in value;
|
|
27
|
+
isInstance = isInstance && "links" in value;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
exports.instanceOfList200Response = instanceOfList200Response;
|
|
31
|
+
function List200ResponseFromJSON(json) {
|
|
32
|
+
return List200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.List200ResponseFromJSON = List200ResponseFromJSON;
|
|
35
|
+
function List200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
|
|
41
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
42
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.List200ResponseFromJSONTyped = List200ResponseFromJSONTyped;
|
|
46
|
+
function List200ResponseToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value.data.map(DomainDto_1.DomainDtoToJSON)),
|
|
55
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value.meta),
|
|
56
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value.links),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.List200ResponseToJSON = List200ResponseToJSON;
|
|
@@ -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 invalid request was specified.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface List400Response
|
|
16
|
+
*/
|
|
17
|
+
export interface List400Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof List400Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof List400Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof List400Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the List400Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfList400Response(value: object): boolean;
|
|
41
|
+
export declare function List400ResponseFromJSON(json: any): List400Response;
|
|
42
|
+
export declare function List400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): List400Response;
|
|
43
|
+
export declare function List400ResponseToJSON(value?: List400Response | null): any;
|
|
@@ -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.List400ResponseToJSON = exports.List400ResponseFromJSONTyped = exports.List400ResponseFromJSON = exports.instanceOfList400Response = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the List400Response interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfList400Response(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "statusCode" in value;
|
|
24
|
+
isInstance = isInstance && "message" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfList400Response = instanceOfList400Response;
|
|
28
|
+
function List400ResponseFromJSON(json) {
|
|
29
|
+
return List400ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.List400ResponseFromJSON = List400ResponseFromJSON;
|
|
32
|
+
function List400ResponseFromJSONTyped(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.List400ResponseFromJSONTyped = List400ResponseFromJSONTyped;
|
|
43
|
+
function List400ResponseToJSON(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.List400ResponseToJSON = List400ResponseToJSON;
|
|
@@ -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 invalid authentication provided.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface List401Response
|
|
16
|
+
*/
|
|
17
|
+
export interface List401Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof List401Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof List401Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof List401Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the List401Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfList401Response(value: object): boolean;
|
|
41
|
+
export declare function List401ResponseFromJSON(json: any): List401Response;
|
|
42
|
+
export declare function List401ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): List401Response;
|
|
43
|
+
export declare function List401ResponseToJSON(value?: List401Response | null): any;
|
|
@@ -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.List401ResponseToJSON = exports.List401ResponseFromJSONTyped = exports.List401ResponseFromJSON = exports.instanceOfList401Response = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the List401Response interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfList401Response(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "statusCode" in value;
|
|
24
|
+
isInstance = isInstance && "message" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfList401Response = instanceOfList401Response;
|
|
28
|
+
function List401ResponseFromJSON(json) {
|
|
29
|
+
return List401ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.List401ResponseFromJSON = List401ResponseFromJSON;
|
|
32
|
+
function List401ResponseFromJSONTyped(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.List401ResponseFromJSONTyped = List401ResponseFromJSONTyped;
|
|
43
|
+
function List401ResponseToJSON(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.List401ResponseToJSON = List401ResponseToJSON;
|
|
@@ -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 List429Response
|
|
16
|
+
*/
|
|
17
|
+
export interface List429Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof List429Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof List429Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof List429Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the List429Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfList429Response(value: object): boolean;
|
|
41
|
+
export declare function List429ResponseFromJSON(json: any): List429Response;
|
|
42
|
+
export declare function List429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): List429Response;
|
|
43
|
+
export declare function List429ResponseToJSON(value?: List429Response | null): any;
|