@randock/nameshift-api-client 0.0.18 → 0.0.20
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 +4 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +6 -4
- package/dist/apis/AccountsApi.js +18 -18
- package/dist/apis/AuthApi.js +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -1
- package/dist/apis/DomainsApi.js +30 -30
- package/dist/apis/DomainsPublicApi.d.ts +4 -12
- package/dist/apis/DomainsPublicApi.js +8 -50
- package/dist/apis/LeadsApi.js +18 -18
- package/dist/apis/LeadsPublicApi.js +3 -3
- package/dist/models/AccountAddressDto.js +21 -21
- package/dist/models/AccountAddressInput.js +21 -21
- package/dist/models/AccountDto.js +10 -12
- package/dist/models/AccountFinancialInput.js +16 -16
- package/dist/models/AccountSettingsInput.js +6 -11
- package/dist/models/BatchUpdate404Response.js +12 -15
- package/dist/models/BatchUpdateDomainsInput.js +10 -12
- package/dist/models/CreateLeadInput.js +22 -20
- package/dist/models/CreateLeadMessageInput.js +7 -10
- package/dist/models/DeleteDomainsInput.js +7 -10
- package/dist/models/DomainDto.d.ts +2 -2
- package/dist/models/DomainDto.js +25 -22
- package/dist/models/DomainSalesInformationDto.d.ts +51 -0
- package/dist/models/DomainSalesInformationDto.js +61 -0
- package/dist/models/DomainSellerDto.d.ts +37 -0
- package/dist/models/DomainSellerDto.js +51 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +19 -18
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +2 -2
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +28 -24
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +2 -2
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +31 -26
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +22 -20
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +40 -32
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +7 -10
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +10 -12
- package/dist/models/LeadMessageData.js +7 -10
- package/dist/models/LeadMessageDto.js +25 -22
- package/dist/models/LeadMessageDtoData.js +7 -10
- package/dist/models/List200Response.js +13 -14
- package/dist/models/List400Response.js +12 -15
- package/dist/models/List401Response.js +12 -15
- package/dist/models/ListLeadMessagesDto.js +7 -10
- package/dist/models/Login401Response.js +12 -15
- package/dist/models/Login429Response.js +12 -15
- package/dist/models/LoginInput.js +10 -12
- package/dist/models/MoneyDto.js +10 -12
- package/dist/models/MoneyInput.js +10 -12
- package/dist/models/ObjectId.js +7 -10
- package/dist/models/PaginateResponse.js +13 -14
- package/dist/models/PaginateResponseLinks.d.ts +5 -5
- package/dist/models/PaginateResponseLinks.js +14 -19
- package/dist/models/PaginateResponseMeta.js +18 -23
- package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.d.ts +43 -0
- package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.js +53 -0
- package/dist/models/PutLeadInput.js +7 -10
- package/dist/models/TokenDto.js +7 -10
- package/dist/models/UpdateDomainInput.d.ts +2 -2
- package/dist/models/UpdateDomainInput.js +8 -13
- package/dist/models/UpdateFinancial400Response.js +12 -15
- package/dist/models/UpdateSettings400Response.js +12 -15
- package/dist/models/UpdateSettings401Response.js +12 -15
- package/dist/models/UpdateSettings429Response.js +12 -15
- package/dist/models/WithFinancialDtoInner.js +16 -16
- package/dist/models/WithSettingsInner.js +7 -10
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/runtime.d.ts +2 -3
- package/dist/runtime.js +1 -6
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +36 -18
- package/src/apis/AuthApi.ts +6 -3
- package/src/apis/DomainsApi.ts +49 -31
- package/src/apis/DomainsPublicApi.ts +17 -46
- package/src/apis/LeadsApi.ts +36 -18
- package/src/apis/LeadsPublicApi.ts +6 -3
- package/src/models/AccountAddressDto.ts +17 -22
- package/src/models/AccountAddressInput.ts +17 -22
- package/src/models/AccountDto.ts +9 -14
- package/src/models/AccountFinancialInput.ts +13 -18
- package/src/models/AccountSettingsInput.ts +7 -12
- package/src/models/BatchUpdate404Response.ts +11 -16
- package/src/models/BatchUpdateDomainsInput.ts +9 -14
- package/src/models/CreateLeadInput.ts +17 -22
- package/src/models/CreateLeadMessageInput.ts +7 -12
- package/src/models/DeleteDomainsInput.ts +7 -12
- package/src/models/DomainDto.ts +21 -26
- package/src/models/DomainSalesInformationDto.ts +101 -0
- package/src/models/DomainSellerDto.ts +70 -0
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +15 -20
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +23 -28
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +25 -30
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +17 -22
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +29 -34
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +7 -12
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +9 -14
- package/src/models/LeadMessageData.ts +7 -12
- package/src/models/LeadMessageDto.ts +19 -24
- package/src/models/LeadMessageDtoData.ts +7 -12
- package/src/models/List200Response.ts +11 -16
- package/src/models/List400Response.ts +11 -16
- package/src/models/List401Response.ts +11 -16
- package/src/models/ListLeadMessagesDto.ts +7 -12
- package/src/models/Login401Response.ts +11 -16
- package/src/models/Login429Response.ts +11 -16
- package/src/models/LoginInput.ts +9 -14
- package/src/models/MoneyDto.ts +9 -14
- package/src/models/MoneyInput.ts +9 -14
- package/src/models/ObjectId.ts +7 -12
- package/src/models/PaginateResponse.ts +11 -16
- package/src/models/PaginateResponseLinks.ts +20 -25
- package/src/models/PaginateResponseMeta.ts +19 -24
- package/src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts +78 -0
- package/src/models/PutLeadInput.ts +7 -12
- package/src/models/TokenDto.ts +7 -12
- package/src/models/UpdateDomainInput.ts +11 -16
- package/src/models/UpdateFinancial400Response.ts +11 -16
- package/src/models/UpdateSettings400Response.ts +11 -16
- package/src/models/UpdateSettings401Response.ts +11 -16
- package/src/models/UpdateSettings429Response.ts +11 -16
- package/src/models/WithFinancialDtoInner.ts +13 -18
- package/src/models/WithSettingsInner.ts +7 -12
- package/src/models/index.ts +3 -1
- package/src/runtime.ts +3 -8
- package/dist/apis/TestApi.d.ts +0 -23
- package/dist/apis/TestApi.js +0 -116
- package/dist/models/CreateLeadMessageInputData.d.ts +0 -32
- package/dist/models/CreateLeadMessageInputData.js +0 -51
- package/dist/models/ImportDomainsDto.d.ts +0 -49
- package/dist/models/ImportDomainsDto.js +0 -59
- package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithAddressDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithFinancialDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +0 -49
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.js +0 -56
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.d.ts +0 -32
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.js +0 -51
- package/dist/models/IntersectionLeadDto.d.ts +0 -52
- package/dist/models/IntersectionLeadDto.js +0 -64
- package/dist/models/LeadDto.d.ts +0 -74
- package/dist/models/LeadDto.js +0 -79
- package/dist/models/List429Response.d.ts +0 -43
- package/dist/models/List429Response.js +0 -56
- package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.d.ts +0 -43
- package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.js +0 -56
- package/src/apis/TestApi.ts +0 -46
- package/src/models/CreateLeadMessageInputData.ts +0 -73
- package/src/models/ImportDomainsDto.ts +0 -93
- package/src/models/IntersectionAccountDtoWithAddressDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithFinancialDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +0 -89
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts +0 -72
- package/src/models/IntersectionLeadDto.ts +0 -96
- package/src/models/LeadDto.ts +0 -131
- package/src/models/List429Response.ts +0 -83
- package/src/models/PublicDomainControllerGetDomainIdentifier404Response.ts +0 -83
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nameshift
|
|
3
|
-
* Nameshift API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Thrown if domain is not found.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PublicDomainControllerGetDomainIdentifier404Response
|
|
16
|
-
*/
|
|
17
|
-
export interface PublicDomainControllerGetDomainIdentifier404Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PublicDomainControllerGetDomainIdentifier404Response
|
|
22
|
-
*/
|
|
23
|
-
statusCode: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PublicDomainControllerGetDomainIdentifier404Response
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PublicDomainControllerGetDomainIdentifier404Response
|
|
34
|
-
*/
|
|
35
|
-
error?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the PublicDomainControllerGetDomainIdentifier404Response interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfPublicDomainControllerGetDomainIdentifier404Response(value: object): boolean;
|
|
41
|
-
export declare function PublicDomainControllerGetDomainIdentifier404ResponseFromJSON(json: any): PublicDomainControllerGetDomainIdentifier404Response;
|
|
42
|
-
export declare function PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerGetDomainIdentifier404Response;
|
|
43
|
-
export declare function PublicDomainControllerGetDomainIdentifier404ResponseToJSON(value?: PublicDomainControllerGetDomainIdentifier404Response | null): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.PublicDomainControllerGetDomainIdentifier404ResponseToJSON = exports.PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped = exports.PublicDomainControllerGetDomainIdentifier404ResponseFromJSON = exports.instanceOfPublicDomainControllerGetDomainIdentifier404Response = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the PublicDomainControllerGetDomainIdentifier404Response interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfPublicDomainControllerGetDomainIdentifier404Response(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "statusCode" in value;
|
|
24
|
-
isInstance = isInstance && "message" in value;
|
|
25
|
-
return isInstance;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfPublicDomainControllerGetDomainIdentifier404Response = instanceOfPublicDomainControllerGetDomainIdentifier404Response;
|
|
28
|
-
function PublicDomainControllerGetDomainIdentifier404ResponseFromJSON(json) {
|
|
29
|
-
return PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.PublicDomainControllerGetDomainIdentifier404ResponseFromJSON = PublicDomainControllerGetDomainIdentifier404ResponseFromJSON;
|
|
32
|
-
function PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped(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.PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped = PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped;
|
|
43
|
-
function PublicDomainControllerGetDomainIdentifier404ResponseToJSON(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.PublicDomainControllerGetDomainIdentifier404ResponseToJSON = PublicDomainControllerGetDomainIdentifier404ResponseToJSON;
|
package/src/apis/TestApi.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import * as runtime from '../runtime';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
export class TestApi extends runtime.BaseAPI {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*/
|
|
25
|
-
async testControllerTestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
26
|
-
const queryParameters: any = {};
|
|
27
|
-
|
|
28
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
29
|
-
|
|
30
|
-
const response = await this.request({
|
|
31
|
-
path: `/testtesttest`,
|
|
32
|
-
method: 'GET',
|
|
33
|
-
headers: headerParameters,
|
|
34
|
-
query: queryParameters,
|
|
35
|
-
}, initOverrides);
|
|
36
|
-
|
|
37
|
-
return new runtime.VoidApiResponse(response);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
*/
|
|
42
|
-
async testControllerTest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
43
|
-
await this.testControllerTestRaw(initOverrides);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { MoneyDto } from './MoneyDto';
|
|
17
|
-
import {
|
|
18
|
-
MoneyDtoFromJSON,
|
|
19
|
-
MoneyDtoFromJSONTyped,
|
|
20
|
-
MoneyDtoToJSON,
|
|
21
|
-
} from './MoneyDto';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface CreateLeadMessageInputData
|
|
27
|
-
*/
|
|
28
|
-
export interface CreateLeadMessageInputData {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {MoneyDto}
|
|
32
|
-
* @memberof CreateLeadMessageInputData
|
|
33
|
-
*/
|
|
34
|
-
price: MoneyDto;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the CreateLeadMessageInputData interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfCreateLeadMessageInputData(value: object): boolean {
|
|
41
|
-
let isInstance = true;
|
|
42
|
-
isInstance = isInstance && "price" in value;
|
|
43
|
-
|
|
44
|
-
return isInstance;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function CreateLeadMessageInputDataFromJSON(json: any): CreateLeadMessageInputData {
|
|
48
|
-
return CreateLeadMessageInputDataFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function CreateLeadMessageInputDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLeadMessageInputData {
|
|
52
|
-
if ((json === undefined) || (json === null)) {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
|
|
57
|
-
'price': MoneyDtoFromJSON(json['price']),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function CreateLeadMessageInputDataToJSON(value?: CreateLeadMessageInputData | null): any {
|
|
62
|
-
if (value === undefined) {
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
if (value === null) {
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'price': MoneyDtoToJSON(value.price),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ImportDomainsDto
|
|
20
|
-
*/
|
|
21
|
-
export interface ImportDomainsDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof ImportDomainsDto
|
|
26
|
-
*/
|
|
27
|
-
total: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof ImportDomainsDto
|
|
32
|
-
*/
|
|
33
|
-
queued: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof ImportDomainsDto
|
|
38
|
-
*/
|
|
39
|
-
error: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Array<string>}
|
|
43
|
-
* @memberof ImportDomainsDto
|
|
44
|
-
*/
|
|
45
|
-
errors: Array<string>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the ImportDomainsDto interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfImportDomainsDto(value: object): boolean {
|
|
52
|
-
let isInstance = true;
|
|
53
|
-
isInstance = isInstance && "total" in value;
|
|
54
|
-
isInstance = isInstance && "queued" in value;
|
|
55
|
-
isInstance = isInstance && "error" in value;
|
|
56
|
-
isInstance = isInstance && "errors" in value;
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function ImportDomainsDtoFromJSON(json: any): ImportDomainsDto {
|
|
62
|
-
return ImportDomainsDtoFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function ImportDomainsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportDomainsDto {
|
|
66
|
-
if ((json === undefined) || (json === null)) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'total': json['total'],
|
|
72
|
-
'queued': json['queued'],
|
|
73
|
-
'error': json['error'],
|
|
74
|
-
'errors': json['errors'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function ImportDomainsDtoToJSON(value?: ImportDomainsDto | null): any {
|
|
79
|
-
if (value === undefined) {
|
|
80
|
-
return undefined;
|
|
81
|
-
}
|
|
82
|
-
if (value === null) {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'total': value.total,
|
|
88
|
-
'queued': value.queued,
|
|
89
|
-
'error': value.error,
|
|
90
|
-
'errors': value.errors,
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { AccountAddressDto } from './AccountAddressDto';
|
|
17
|
-
import {
|
|
18
|
-
AccountAddressDtoFromJSON,
|
|
19
|
-
AccountAddressDtoFromJSONTyped,
|
|
20
|
-
AccountAddressDtoToJSON,
|
|
21
|
-
} from './AccountAddressDto';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface IntersectionAccountDtoWithAddressDto
|
|
27
|
-
*/
|
|
28
|
-
export interface IntersectionAccountDtoWithAddressDto {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof IntersectionAccountDtoWithAddressDto
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof IntersectionAccountDtoWithAddressDto
|
|
39
|
-
*/
|
|
40
|
-
identifier: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {Array<AccountAddressDto>}
|
|
44
|
-
* @memberof IntersectionAccountDtoWithAddressDto
|
|
45
|
-
*/
|
|
46
|
-
addresses: Array<AccountAddressDto>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the IntersectionAccountDtoWithAddressDto interface.
|
|
51
|
-
*/
|
|
52
|
-
export function instanceOfIntersectionAccountDtoWithAddressDto(value: object): boolean {
|
|
53
|
-
let isInstance = true;
|
|
54
|
-
isInstance = isInstance && "id" in value;
|
|
55
|
-
isInstance = isInstance && "identifier" in value;
|
|
56
|
-
isInstance = isInstance && "addresses" in value;
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function IntersectionAccountDtoWithAddressDtoFromJSON(json: any): IntersectionAccountDtoWithAddressDto {
|
|
62
|
-
return IntersectionAccountDtoWithAddressDtoFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function IntersectionAccountDtoWithAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithAddressDto {
|
|
66
|
-
if ((json === undefined) || (json === null)) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'id': json['id'],
|
|
72
|
-
'identifier': json['identifier'],
|
|
73
|
-
'addresses': ((json['addresses'] as Array<any>).map(AccountAddressDtoFromJSON)),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function IntersectionAccountDtoWithAddressDtoToJSON(value?: IntersectionAccountDtoWithAddressDto | null): any {
|
|
78
|
-
if (value === undefined) {
|
|
79
|
-
return undefined;
|
|
80
|
-
}
|
|
81
|
-
if (value === null) {
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'id': value.id,
|
|
87
|
-
'identifier': value.identifier,
|
|
88
|
-
'addresses': ((value.addresses as Array<any>).map(AccountAddressDtoToJSON)),
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { WithFinancialDtoInner } from './WithFinancialDtoInner';
|
|
17
|
-
import {
|
|
18
|
-
WithFinancialDtoInnerFromJSON,
|
|
19
|
-
WithFinancialDtoInnerFromJSONTyped,
|
|
20
|
-
WithFinancialDtoInnerToJSON,
|
|
21
|
-
} from './WithFinancialDtoInner';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface IntersectionAccountDtoWithFinancialDto
|
|
27
|
-
*/
|
|
28
|
-
export interface IntersectionAccountDtoWithFinancialDto {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof IntersectionAccountDtoWithFinancialDto
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof IntersectionAccountDtoWithFinancialDto
|
|
39
|
-
*/
|
|
40
|
-
identifier: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {WithFinancialDtoInner}
|
|
44
|
-
* @memberof IntersectionAccountDtoWithFinancialDto
|
|
45
|
-
*/
|
|
46
|
-
financial: WithFinancialDtoInner;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the IntersectionAccountDtoWithFinancialDto interface.
|
|
51
|
-
*/
|
|
52
|
-
export function instanceOfIntersectionAccountDtoWithFinancialDto(value: object): boolean {
|
|
53
|
-
let isInstance = true;
|
|
54
|
-
isInstance = isInstance && "id" in value;
|
|
55
|
-
isInstance = isInstance && "identifier" in value;
|
|
56
|
-
isInstance = isInstance && "financial" in value;
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function IntersectionAccountDtoWithFinancialDtoFromJSON(json: any): IntersectionAccountDtoWithFinancialDto {
|
|
62
|
-
return IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithFinancialDto {
|
|
66
|
-
if ((json === undefined) || (json === null)) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'id': json['id'],
|
|
72
|
-
'identifier': json['identifier'],
|
|
73
|
-
'financial': WithFinancialDtoInnerFromJSON(json['financial']),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function IntersectionAccountDtoWithFinancialDtoToJSON(value?: IntersectionAccountDtoWithFinancialDto | null): any {
|
|
78
|
-
if (value === undefined) {
|
|
79
|
-
return undefined;
|
|
80
|
-
}
|
|
81
|
-
if (value === null) {
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'id': value.id,
|
|
87
|
-
'identifier': value.identifier,
|
|
88
|
-
'financial': WithFinancialDtoInnerToJSON(value.financial),
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IntersectionAccountDtoWithFinancialDtoFinancial
|
|
20
|
-
*/
|
|
21
|
-
export interface IntersectionAccountDtoWithFinancialDtoFinancial {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
26
|
-
*/
|
|
27
|
-
company?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
32
|
-
*/
|
|
33
|
-
companyName?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
38
|
-
*/
|
|
39
|
-
companyVatNumber?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof IntersectionAccountDtoWithFinancialDtoFinancial
|
|
44
|
-
*/
|
|
45
|
-
companyRegistrationNumber?: string | null;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the IntersectionAccountDtoWithFinancialDtoFinancial interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfIntersectionAccountDtoWithFinancialDtoFinancial(value: object): boolean {
|
|
52
|
-
let isInstance = true;
|
|
53
|
-
|
|
54
|
-
return isInstance;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export function IntersectionAccountDtoWithFinancialDtoFinancialFromJSON(json: any): IntersectionAccountDtoWithFinancialDtoFinancial {
|
|
58
|
-
return IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped(json, false);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithFinancialDtoFinancial {
|
|
62
|
-
if ((json === undefined) || (json === null)) {
|
|
63
|
-
return json;
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
|
|
67
|
-
'company': !exists(json, 'company') ? undefined : json['company'],
|
|
68
|
-
'companyName': !exists(json, 'companyName') ? undefined : json['companyName'],
|
|
69
|
-
'companyVatNumber': !exists(json, 'companyVatNumber') ? undefined : json['companyVatNumber'],
|
|
70
|
-
'companyRegistrationNumber': !exists(json, 'companyRegistrationNumber') ? undefined : json['companyRegistrationNumber'],
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function IntersectionAccountDtoWithFinancialDtoFinancialToJSON(value?: IntersectionAccountDtoWithFinancialDtoFinancial | null): any {
|
|
75
|
-
if (value === undefined) {
|
|
76
|
-
return undefined;
|
|
77
|
-
}
|
|
78
|
-
if (value === null) {
|
|
79
|
-
return null;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
|
|
83
|
-
'company': value.company,
|
|
84
|
-
'companyName': value.companyName,
|
|
85
|
-
'companyVatNumber': value.companyVatNumber,
|
|
86
|
-
'companyRegistrationNumber': value.companyRegistrationNumber,
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { WithSettingsInner } from './WithSettingsInner';
|
|
17
|
-
import {
|
|
18
|
-
WithSettingsInnerFromJSON,
|
|
19
|
-
WithSettingsInnerFromJSONTyped,
|
|
20
|
-
WithSettingsInnerToJSON,
|
|
21
|
-
} from './WithSettingsInner';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface IntersectionAccountDtoWithSettingsDto
|
|
27
|
-
*/
|
|
28
|
-
export interface IntersectionAccountDtoWithSettingsDto {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
39
|
-
*/
|
|
40
|
-
identifier: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {WithSettingsInner}
|
|
44
|
-
* @memberof IntersectionAccountDtoWithSettingsDto
|
|
45
|
-
*/
|
|
46
|
-
settings: WithSettingsInner;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the IntersectionAccountDtoWithSettingsDto interface.
|
|
51
|
-
*/
|
|
52
|
-
export function instanceOfIntersectionAccountDtoWithSettingsDto(value: object): boolean {
|
|
53
|
-
let isInstance = true;
|
|
54
|
-
isInstance = isInstance && "id" in value;
|
|
55
|
-
isInstance = isInstance && "identifier" in value;
|
|
56
|
-
isInstance = isInstance && "settings" in value;
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function IntersectionAccountDtoWithSettingsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDto {
|
|
62
|
-
return IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDto {
|
|
66
|
-
if ((json === undefined) || (json === null)) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'id': json['id'],
|
|
72
|
-
'identifier': json['identifier'],
|
|
73
|
-
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function IntersectionAccountDtoWithSettingsDtoToJSON(value?: IntersectionAccountDtoWithSettingsDto | null): any {
|
|
78
|
-
if (value === undefined) {
|
|
79
|
-
return undefined;
|
|
80
|
-
}
|
|
81
|
-
if (value === null) {
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'id': value.id,
|
|
87
|
-
'identifier': value.identifier,
|
|
88
|
-
'settings': WithSettingsInnerToJSON(value.settings),
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|