@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.
Files changed (123) hide show
  1. package/.openapi-generator/FILES +45 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +45 -0
  5. package/dist/apis/AccountsApi.d.ts +54 -0
  6. package/dist/apis/AccountsApi.js +254 -0
  7. package/dist/apis/AuthApi.d.ts +27 -0
  8. package/dist/apis/AuthApi.js +124 -0
  9. package/dist/apis/DomainsApi.d.ts +77 -0
  10. package/dist/apis/DomainsApi.js +374 -0
  11. package/dist/apis/LeadsApi.d.ts +27 -0
  12. package/dist/apis/LeadsApi.js +124 -0
  13. package/dist/apis/TestApi.d.ts +23 -0
  14. package/dist/apis/TestApi.js +116 -0
  15. package/dist/apis/index.d.ts +5 -0
  16. package/dist/apis/index.js +23 -0
  17. package/dist/index.d.ts +3 -0
  18. package/dist/index.js +21 -0
  19. package/dist/models/AccountAddressDto.d.ts +68 -0
  20. package/dist/models/AccountAddressDto.js +71 -0
  21. package/dist/models/AccountAddressInput.d.ts +68 -0
  22. package/dist/models/AccountAddressInput.js +71 -0
  23. package/dist/models/AccountFinancialInput.d.ts +49 -0
  24. package/dist/models/AccountFinancialInput.js +59 -0
  25. package/dist/models/AccountSettingsInput.d.ts +32 -0
  26. package/dist/models/AccountSettingsInput.js +51 -0
  27. package/dist/models/BatchUpdate404Response.d.ts +43 -0
  28. package/dist/models/BatchUpdate404Response.js +56 -0
  29. package/dist/models/BatchUpdateDomainsInput.d.ts +38 -0
  30. package/dist/models/BatchUpdateDomainsInput.js +54 -0
  31. package/dist/models/CreateLeadInput.d.ts +61 -0
  32. package/dist/models/CreateLeadInput.js +65 -0
  33. package/dist/models/DomainDto.d.ts +62 -0
  34. package/dist/models/DomainDto.js +66 -0
  35. package/dist/models/ImportDomainsDto.d.ts +49 -0
  36. package/dist/models/ImportDomainsDto.js +59 -0
  37. package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +38 -0
  38. package/dist/models/IntersectionAccountDtoWithAddressDto.js +54 -0
  39. package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +38 -0
  40. package/dist/models/IntersectionAccountDtoWithFinancialDto.js +54 -0
  41. package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +49 -0
  42. package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.js +56 -0
  43. package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +38 -0
  44. package/dist/models/IntersectionAccountDtoWithSettingsDto.js +54 -0
  45. package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.d.ts +32 -0
  46. package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.js +51 -0
  47. package/dist/models/LeadDto.d.ts +31 -0
  48. package/dist/models/LeadDto.js +50 -0
  49. package/dist/models/List200Response.d.ts +46 -0
  50. package/dist/models/List200Response.js +59 -0
  51. package/dist/models/List400Response.d.ts +43 -0
  52. package/dist/models/List400Response.js +56 -0
  53. package/dist/models/List401Response.d.ts +43 -0
  54. package/dist/models/List401Response.js +56 -0
  55. package/dist/models/List429Response.d.ts +43 -0
  56. package/dist/models/List429Response.js +56 -0
  57. package/dist/models/LoginInput.d.ts +37 -0
  58. package/dist/models/LoginInput.js +53 -0
  59. package/dist/models/MoneyDto.d.ts +37 -0
  60. package/dist/models/MoneyDto.js +53 -0
  61. package/dist/models/MoneyInput.d.ts +37 -0
  62. package/dist/models/MoneyInput.js +53 -0
  63. package/dist/models/PaginateResponse.d.ts +45 -0
  64. package/dist/models/PaginateResponse.js +58 -0
  65. package/dist/models/PaginateResponseLinks.d.ts +55 -0
  66. package/dist/models/PaginateResponseLinks.js +58 -0
  67. package/dist/models/PaginateResponseMeta.d.ts +67 -0
  68. package/dist/models/PaginateResponseMeta.js +62 -0
  69. package/dist/models/TokenDto.d.ts +31 -0
  70. package/dist/models/TokenDto.js +50 -0
  71. package/dist/models/UpdateDomainInput.d.ts +38 -0
  72. package/dist/models/UpdateDomainInput.js +53 -0
  73. package/dist/models/UpdateSettings401Response.d.ts +43 -0
  74. package/dist/models/UpdateSettings401Response.js +56 -0
  75. package/dist/models/UserAuthControllerLogin401Response.d.ts +43 -0
  76. package/dist/models/UserAuthControllerLogin401Response.js +56 -0
  77. package/dist/models/UserAuthControllerLogin429Response.d.ts +43 -0
  78. package/dist/models/UserAuthControllerLogin429Response.js +56 -0
  79. package/dist/models/index.d.ts +30 -0
  80. package/dist/models/index.js +48 -0
  81. package/dist/runtime.d.ts +182 -0
  82. package/dist/runtime.js +562 -0
  83. package/package.json +19 -0
  84. package/src/apis/AccountsApi.ts +201 -0
  85. package/src/apis/AuthApi.ts +74 -0
  86. package/src/apis/DomainsApi.ts +305 -0
  87. package/src/apis/LeadsApi.ts +71 -0
  88. package/src/apis/TestApi.ts +46 -0
  89. package/src/apis/index.ts +7 -0
  90. package/src/index.ts +5 -0
  91. package/src/models/AccountAddressDto.ts +120 -0
  92. package/src/models/AccountAddressInput.ts +120 -0
  93. package/src/models/AccountFinancialInput.ts +93 -0
  94. package/src/models/AccountSettingsInput.ts +72 -0
  95. package/src/models/BatchUpdate404Response.ts +83 -0
  96. package/src/models/BatchUpdateDomainsInput.ts +82 -0
  97. package/src/models/CreateLeadInput.ts +111 -0
  98. package/src/models/DomainDto.ts +118 -0
  99. package/src/models/ImportDomainsDto.ts +93 -0
  100. package/src/models/IntersectionAccountDtoWithAddressDto.ts +82 -0
  101. package/src/models/IntersectionAccountDtoWithFinancialDto.ts +82 -0
  102. package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +89 -0
  103. package/src/models/IntersectionAccountDtoWithSettingsDto.ts +82 -0
  104. package/src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts +72 -0
  105. package/src/models/LeadDto.ts +66 -0
  106. package/src/models/List200Response.ts +103 -0
  107. package/src/models/List400Response.ts +83 -0
  108. package/src/models/List401Response.ts +83 -0
  109. package/src/models/List429Response.ts +83 -0
  110. package/src/models/LoginInput.ts +75 -0
  111. package/src/models/MoneyDto.ts +75 -0
  112. package/src/models/MoneyInput.ts +75 -0
  113. package/src/models/PaginateResponse.ts +97 -0
  114. package/src/models/PaginateResponseLinks.ts +97 -0
  115. package/src/models/PaginateResponseMeta.ts +113 -0
  116. package/src/models/TokenDto.ts +66 -0
  117. package/src/models/UpdateDomainInput.ts +80 -0
  118. package/src/models/UpdateSettings401Response.ts +83 -0
  119. package/src/models/UserAuthControllerLogin401Response.ts +83 -0
  120. package/src/models/UserAuthControllerLogin429Response.ts +83 -0
  121. package/src/models/index.ts +32 -0
  122. package/src/runtime.ts +431 -0
  123. package/tsconfig.json +20 -0
@@ -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.BatchUpdateDomainsInputToJSON = exports.BatchUpdateDomainsInputFromJSONTyped = exports.BatchUpdateDomainsInputFromJSON = exports.instanceOfBatchUpdateDomainsInput = void 0;
17
+ var UpdateDomainInput_1 = require("./UpdateDomainInput");
18
+ /**
19
+ * Check if a given object implements the BatchUpdateDomainsInput interface.
20
+ */
21
+ function instanceOfBatchUpdateDomainsInput(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "domainIds" in value;
24
+ isInstance = isInstance && "update" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfBatchUpdateDomainsInput = instanceOfBatchUpdateDomainsInput;
28
+ function BatchUpdateDomainsInputFromJSON(json) {
29
+ return BatchUpdateDomainsInputFromJSONTyped(json, false);
30
+ }
31
+ exports.BatchUpdateDomainsInputFromJSON = BatchUpdateDomainsInputFromJSON;
32
+ function BatchUpdateDomainsInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'domainIds': json['domainIds'],
38
+ 'update': (0, UpdateDomainInput_1.UpdateDomainInputFromJSON)(json['update']),
39
+ };
40
+ }
41
+ exports.BatchUpdateDomainsInputFromJSONTyped = BatchUpdateDomainsInputFromJSONTyped;
42
+ function BatchUpdateDomainsInputToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'domainIds': value.domainIds,
51
+ 'update': (0, UpdateDomainInput_1.UpdateDomainInputToJSON)(value.update),
52
+ };
53
+ }
54
+ exports.BatchUpdateDomainsInputToJSON = BatchUpdateDomainsInputToJSON;
@@ -0,0 +1,61 @@
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 CreateLeadInput
16
+ */
17
+ export interface CreateLeadInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateLeadInput
22
+ */
23
+ domainId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateLeadInput
28
+ */
29
+ firstname: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateLeadInput
34
+ */
35
+ lastname: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreateLeadInput
40
+ */
41
+ email: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CreateLeadInput
46
+ */
47
+ phone: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof CreateLeadInput
52
+ */
53
+ companyName: string | null;
54
+ }
55
+ /**
56
+ * Check if a given object implements the CreateLeadInput interface.
57
+ */
58
+ export declare function instanceOfCreateLeadInput(value: object): boolean;
59
+ export declare function CreateLeadInputFromJSON(json: any): CreateLeadInput;
60
+ export declare function CreateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLeadInput;
61
+ export declare function CreateLeadInputToJSON(value?: CreateLeadInput | null): any;
@@ -0,0 +1,65 @@
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.CreateLeadInputToJSON = exports.CreateLeadInputFromJSONTyped = exports.CreateLeadInputFromJSON = exports.instanceOfCreateLeadInput = void 0;
17
+ /**
18
+ * Check if a given object implements the CreateLeadInput interface.
19
+ */
20
+ function instanceOfCreateLeadInput(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "domainId" in value;
23
+ isInstance = isInstance && "firstname" in value;
24
+ isInstance = isInstance && "lastname" in value;
25
+ isInstance = isInstance && "email" in value;
26
+ isInstance = isInstance && "phone" in value;
27
+ isInstance = isInstance && "companyName" in value;
28
+ return isInstance;
29
+ }
30
+ exports.instanceOfCreateLeadInput = instanceOfCreateLeadInput;
31
+ function CreateLeadInputFromJSON(json) {
32
+ return CreateLeadInputFromJSONTyped(json, false);
33
+ }
34
+ exports.CreateLeadInputFromJSON = CreateLeadInputFromJSON;
35
+ function CreateLeadInputFromJSONTyped(json, ignoreDiscriminator) {
36
+ if ((json === undefined) || (json === null)) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'domainId': json['domainId'],
41
+ 'firstname': json['firstname'],
42
+ 'lastname': json['lastname'],
43
+ 'email': json['email'],
44
+ 'phone': json['phone'],
45
+ 'companyName': json['companyName'],
46
+ };
47
+ }
48
+ exports.CreateLeadInputFromJSONTyped = CreateLeadInputFromJSONTyped;
49
+ function CreateLeadInputToJSON(value) {
50
+ if (value === undefined) {
51
+ return undefined;
52
+ }
53
+ if (value === null) {
54
+ return null;
55
+ }
56
+ return {
57
+ 'domainId': value.domainId,
58
+ 'firstname': value.firstname,
59
+ 'lastname': value.lastname,
60
+ 'email': value.email,
61
+ 'phone': value.phone,
62
+ 'companyName': value.companyName,
63
+ };
64
+ }
65
+ exports.CreateLeadInputToJSON = CreateLeadInputToJSON;
@@ -0,0 +1,62 @@
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 DomainDto
17
+ */
18
+ export interface DomainDto {
19
+ /**
20
+ * The uuid for this domain.
21
+ * @type {string}
22
+ * @memberof DomainDto
23
+ */
24
+ id: string;
25
+ /**
26
+ * Whether this domain is verified by the owner (ns3, txt) or not.
27
+ * @type {boolean}
28
+ * @memberof DomainDto
29
+ */
30
+ verified: boolean;
31
+ /**
32
+ * Whether the nameservers (ns1,ns2) are set or not.
33
+ * @type {boolean}
34
+ * @memberof DomainDto
35
+ */
36
+ nameservers: boolean;
37
+ /**
38
+ * The domain name (example.com)
39
+ * @type {string}
40
+ * @memberof DomainDto
41
+ */
42
+ name: string;
43
+ /**
44
+ *
45
+ * @type {MoneyDto}
46
+ * @memberof DomainDto
47
+ */
48
+ buyNow: MoneyDto;
49
+ /**
50
+ *
51
+ * @type {MoneyDto}
52
+ * @memberof DomainDto
53
+ */
54
+ minOffer: MoneyDto;
55
+ }
56
+ /**
57
+ * Check if a given object implements the DomainDto interface.
58
+ */
59
+ export declare function instanceOfDomainDto(value: object): boolean;
60
+ export declare function DomainDtoFromJSON(json: any): DomainDto;
61
+ export declare function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainDto;
62
+ export declare function DomainDtoToJSON(value?: DomainDto | null): any;
@@ -0,0 +1,66 @@
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.DomainDtoToJSON = exports.DomainDtoFromJSONTyped = exports.DomainDtoFromJSON = exports.instanceOfDomainDto = void 0;
17
+ var MoneyDto_1 = require("./MoneyDto");
18
+ /**
19
+ * Check if a given object implements the DomainDto interface.
20
+ */
21
+ function instanceOfDomainDto(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "verified" in value;
25
+ isInstance = isInstance && "nameservers" in value;
26
+ isInstance = isInstance && "name" in value;
27
+ isInstance = isInstance && "buyNow" in value;
28
+ isInstance = isInstance && "minOffer" in value;
29
+ return isInstance;
30
+ }
31
+ exports.instanceOfDomainDto = instanceOfDomainDto;
32
+ function DomainDtoFromJSON(json) {
33
+ return DomainDtoFromJSONTyped(json, false);
34
+ }
35
+ exports.DomainDtoFromJSON = DomainDtoFromJSON;
36
+ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if ((json === undefined) || (json === null)) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'verified': json['verified'],
43
+ 'nameservers': json['nameservers'],
44
+ 'name': json['name'],
45
+ 'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
46
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
47
+ };
48
+ }
49
+ exports.DomainDtoFromJSONTyped = DomainDtoFromJSONTyped;
50
+ function DomainDtoToJSON(value) {
51
+ if (value === undefined) {
52
+ return undefined;
53
+ }
54
+ if (value === null) {
55
+ return null;
56
+ }
57
+ return {
58
+ 'id': value.id,
59
+ 'verified': value.verified,
60
+ 'nameservers': value.nameservers,
61
+ 'name': value.name,
62
+ 'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value.buyNow),
63
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value.minOffer),
64
+ };
65
+ }
66
+ exports.DomainDtoToJSON = DomainDtoToJSON;
@@ -0,0 +1,49 @@
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 ImportDomainsDto
16
+ */
17
+ export interface ImportDomainsDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ImportDomainsDto
22
+ */
23
+ total: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ImportDomainsDto
28
+ */
29
+ queued: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ImportDomainsDto
34
+ */
35
+ error: number;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof ImportDomainsDto
40
+ */
41
+ errors: Array<string>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ImportDomainsDto interface.
45
+ */
46
+ export declare function instanceOfImportDomainsDto(value: object): boolean;
47
+ export declare function ImportDomainsDtoFromJSON(json: any): ImportDomainsDto;
48
+ export declare function ImportDomainsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportDomainsDto;
49
+ export declare function ImportDomainsDtoToJSON(value?: ImportDomainsDto | 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.ImportDomainsDtoToJSON = exports.ImportDomainsDtoFromJSONTyped = exports.ImportDomainsDtoFromJSON = exports.instanceOfImportDomainsDto = void 0;
17
+ /**
18
+ * Check if a given object implements the ImportDomainsDto interface.
19
+ */
20
+ function instanceOfImportDomainsDto(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "total" in value;
23
+ isInstance = isInstance && "queued" in value;
24
+ isInstance = isInstance && "error" in value;
25
+ isInstance = isInstance && "errors" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfImportDomainsDto = instanceOfImportDomainsDto;
29
+ function ImportDomainsDtoFromJSON(json) {
30
+ return ImportDomainsDtoFromJSONTyped(json, false);
31
+ }
32
+ exports.ImportDomainsDtoFromJSON = ImportDomainsDtoFromJSON;
33
+ function ImportDomainsDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'total': json['total'],
39
+ 'queued': json['queued'],
40
+ 'error': json['error'],
41
+ 'errors': json['errors'],
42
+ };
43
+ }
44
+ exports.ImportDomainsDtoFromJSONTyped = ImportDomainsDtoFromJSONTyped;
45
+ function ImportDomainsDtoToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'total': value.total,
54
+ 'queued': value.queued,
55
+ 'error': value.error,
56
+ 'errors': value.errors,
57
+ };
58
+ }
59
+ exports.ImportDomainsDtoToJSON = ImportDomainsDtoToJSON;
@@ -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 { AccountAddressDto } from './AccountAddressDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IntersectionAccountDtoWithAddressDto
17
+ */
18
+ export interface IntersectionAccountDtoWithAddressDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof IntersectionAccountDtoWithAddressDto
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {Array<AccountAddressDto>}
28
+ * @memberof IntersectionAccountDtoWithAddressDto
29
+ */
30
+ addresses: Array<AccountAddressDto>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the IntersectionAccountDtoWithAddressDto interface.
34
+ */
35
+ export declare function instanceOfIntersectionAccountDtoWithAddressDto(value: object): boolean;
36
+ export declare function IntersectionAccountDtoWithAddressDtoFromJSON(json: any): IntersectionAccountDtoWithAddressDto;
37
+ export declare function IntersectionAccountDtoWithAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithAddressDto;
38
+ export declare function IntersectionAccountDtoWithAddressDtoToJSON(value?: IntersectionAccountDtoWithAddressDto | 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.IntersectionAccountDtoWithAddressDtoToJSON = exports.IntersectionAccountDtoWithAddressDtoFromJSONTyped = exports.IntersectionAccountDtoWithAddressDtoFromJSON = exports.instanceOfIntersectionAccountDtoWithAddressDto = void 0;
17
+ var AccountAddressDto_1 = require("./AccountAddressDto");
18
+ /**
19
+ * Check if a given object implements the IntersectionAccountDtoWithAddressDto interface.
20
+ */
21
+ function instanceOfIntersectionAccountDtoWithAddressDto(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "addresses" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfIntersectionAccountDtoWithAddressDto = instanceOfIntersectionAccountDtoWithAddressDto;
28
+ function IntersectionAccountDtoWithAddressDtoFromJSON(json) {
29
+ return IntersectionAccountDtoWithAddressDtoFromJSONTyped(json, false);
30
+ }
31
+ exports.IntersectionAccountDtoWithAddressDtoFromJSON = IntersectionAccountDtoWithAddressDtoFromJSON;
32
+ function IntersectionAccountDtoWithAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'addresses': (json['addresses'].map(AccountAddressDto_1.AccountAddressDtoFromJSON)),
39
+ };
40
+ }
41
+ exports.IntersectionAccountDtoWithAddressDtoFromJSONTyped = IntersectionAccountDtoWithAddressDtoFromJSONTyped;
42
+ function IntersectionAccountDtoWithAddressDtoToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'id': value.id,
51
+ 'addresses': (value.addresses.map(AccountAddressDto_1.AccountAddressDtoToJSON)),
52
+ };
53
+ }
54
+ exports.IntersectionAccountDtoWithAddressDtoToJSON = IntersectionAccountDtoWithAddressDtoToJSON;
@@ -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 { IntersectionAccountDtoWithFinancialDtoFinancial } from './IntersectionAccountDtoWithFinancialDtoFinancial';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IntersectionAccountDtoWithFinancialDto
17
+ */
18
+ export interface IntersectionAccountDtoWithFinancialDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof IntersectionAccountDtoWithFinancialDto
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {IntersectionAccountDtoWithFinancialDtoFinancial}
28
+ * @memberof IntersectionAccountDtoWithFinancialDto
29
+ */
30
+ financial: IntersectionAccountDtoWithFinancialDtoFinancial;
31
+ }
32
+ /**
33
+ * Check if a given object implements the IntersectionAccountDtoWithFinancialDto interface.
34
+ */
35
+ export declare function instanceOfIntersectionAccountDtoWithFinancialDto(value: object): boolean;
36
+ export declare function IntersectionAccountDtoWithFinancialDtoFromJSON(json: any): IntersectionAccountDtoWithFinancialDto;
37
+ export declare function IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithFinancialDto;
38
+ export declare function IntersectionAccountDtoWithFinancialDtoToJSON(value?: IntersectionAccountDtoWithFinancialDto | 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.IntersectionAccountDtoWithFinancialDtoToJSON = exports.IntersectionAccountDtoWithFinancialDtoFromJSONTyped = exports.IntersectionAccountDtoWithFinancialDtoFromJSON = exports.instanceOfIntersectionAccountDtoWithFinancialDto = void 0;
17
+ var IntersectionAccountDtoWithFinancialDtoFinancial_1 = require("./IntersectionAccountDtoWithFinancialDtoFinancial");
18
+ /**
19
+ * Check if a given object implements the IntersectionAccountDtoWithFinancialDto interface.
20
+ */
21
+ function instanceOfIntersectionAccountDtoWithFinancialDto(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "financial" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfIntersectionAccountDtoWithFinancialDto = instanceOfIntersectionAccountDtoWithFinancialDto;
28
+ function IntersectionAccountDtoWithFinancialDtoFromJSON(json) {
29
+ return IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json, false);
30
+ }
31
+ exports.IntersectionAccountDtoWithFinancialDtoFromJSON = IntersectionAccountDtoWithFinancialDtoFromJSON;
32
+ function IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'financial': (0, IntersectionAccountDtoWithFinancialDtoFinancial_1.IntersectionAccountDtoWithFinancialDtoFinancialFromJSON)(json['financial']),
39
+ };
40
+ }
41
+ exports.IntersectionAccountDtoWithFinancialDtoFromJSONTyped = IntersectionAccountDtoWithFinancialDtoFromJSONTyped;
42
+ function IntersectionAccountDtoWithFinancialDtoToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'id': value.id,
51
+ 'financial': (0, IntersectionAccountDtoWithFinancialDtoFinancial_1.IntersectionAccountDtoWithFinancialDtoFinancialToJSON)(value.financial),
52
+ };
53
+ }
54
+ exports.IntersectionAccountDtoWithFinancialDtoToJSON = IntersectionAccountDtoWithFinancialDtoToJSON;
@@ -0,0 +1,49 @@
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 IntersectionAccountDtoWithFinancialDtoFinancial
16
+ */
17
+ export interface IntersectionAccountDtoWithFinancialDtoFinancial {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof IntersectionAccountDtoWithFinancialDtoFinancial
22
+ */
23
+ company?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof IntersectionAccountDtoWithFinancialDtoFinancial
28
+ */
29
+ companyName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof IntersectionAccountDtoWithFinancialDtoFinancial
34
+ */
35
+ companyVatNumber?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof IntersectionAccountDtoWithFinancialDtoFinancial
40
+ */
41
+ companyRegistrationNumber?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the IntersectionAccountDtoWithFinancialDtoFinancial interface.
45
+ */
46
+ export declare function instanceOfIntersectionAccountDtoWithFinancialDtoFinancial(value: object): boolean;
47
+ export declare function IntersectionAccountDtoWithFinancialDtoFinancialFromJSON(json: any): IntersectionAccountDtoWithFinancialDtoFinancial;
48
+ export declare function IntersectionAccountDtoWithFinancialDtoFinancialFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithFinancialDtoFinancial;
49
+ export declare function IntersectionAccountDtoWithFinancialDtoFinancialToJSON(value?: IntersectionAccountDtoWithFinancialDtoFinancial | null): any;