@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,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./AccountsApi"), exports);
20
+ __exportStar(require("./AuthApi"), exports);
21
+ __exportStar(require("./DomainsApi"), exports);
22
+ __exportStar(require("./LeadsApi"), exports);
23
+ __exportStar(require("./TestApi"), exports);
@@ -0,0 +1,3 @@
1
+ export * from './runtime';
2
+ export * from './apis/index';
3
+ export * from './models/index';
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./runtime"), exports);
20
+ __exportStar(require("./apis/index"), exports);
21
+ __exportStar(require("./models/index"), exports);
@@ -0,0 +1,68 @@
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 AccountAddressDto
16
+ */
17
+ export interface AccountAddressDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountAddressDto
22
+ */
23
+ type: AccountAddressDtoTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountAddressDto
28
+ */
29
+ address: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AccountAddressDto
34
+ */
35
+ postalCode: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AccountAddressDto
40
+ */
41
+ city: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AccountAddressDto
46
+ */
47
+ state?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof AccountAddressDto
52
+ */
53
+ country: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const AccountAddressDtoTypeEnum: {
59
+ readonly BILLING: "billing";
60
+ };
61
+ export type AccountAddressDtoTypeEnum = typeof AccountAddressDtoTypeEnum[keyof typeof AccountAddressDtoTypeEnum];
62
+ /**
63
+ * Check if a given object implements the AccountAddressDto interface.
64
+ */
65
+ export declare function instanceOfAccountAddressDto(value: object): boolean;
66
+ export declare function AccountAddressDtoFromJSON(json: any): AccountAddressDto;
67
+ export declare function AccountAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressDto;
68
+ export declare function AccountAddressDtoToJSON(value?: AccountAddressDto | null): any;
@@ -0,0 +1,71 @@
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.AccountAddressDtoToJSON = exports.AccountAddressDtoFromJSONTyped = exports.AccountAddressDtoFromJSON = exports.instanceOfAccountAddressDto = exports.AccountAddressDtoTypeEnum = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * @export
20
+ */
21
+ exports.AccountAddressDtoTypeEnum = {
22
+ BILLING: 'billing'
23
+ };
24
+ /**
25
+ * Check if a given object implements the AccountAddressDto interface.
26
+ */
27
+ function instanceOfAccountAddressDto(value) {
28
+ var isInstance = true;
29
+ isInstance = isInstance && "type" in value;
30
+ isInstance = isInstance && "address" in value;
31
+ isInstance = isInstance && "postalCode" in value;
32
+ isInstance = isInstance && "city" in value;
33
+ isInstance = isInstance && "country" in value;
34
+ return isInstance;
35
+ }
36
+ exports.instanceOfAccountAddressDto = instanceOfAccountAddressDto;
37
+ function AccountAddressDtoFromJSON(json) {
38
+ return AccountAddressDtoFromJSONTyped(json, false);
39
+ }
40
+ exports.AccountAddressDtoFromJSON = AccountAddressDtoFromJSON;
41
+ function AccountAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
42
+ if ((json === undefined) || (json === null)) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'type': json['type'],
47
+ 'address': json['address'],
48
+ 'postalCode': json['postalCode'],
49
+ 'city': json['city'],
50
+ 'state': !(0, runtime_1.exists)(json, 'state') ? undefined : json['state'],
51
+ 'country': json['country'],
52
+ };
53
+ }
54
+ exports.AccountAddressDtoFromJSONTyped = AccountAddressDtoFromJSONTyped;
55
+ function AccountAddressDtoToJSON(value) {
56
+ if (value === undefined) {
57
+ return undefined;
58
+ }
59
+ if (value === null) {
60
+ return null;
61
+ }
62
+ return {
63
+ 'type': value.type,
64
+ 'address': value.address,
65
+ 'postalCode': value.postalCode,
66
+ 'city': value.city,
67
+ 'state': value.state,
68
+ 'country': value.country,
69
+ };
70
+ }
71
+ exports.AccountAddressDtoToJSON = AccountAddressDtoToJSON;
@@ -0,0 +1,68 @@
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 AccountAddressInput
16
+ */
17
+ export interface AccountAddressInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountAddressInput
22
+ */
23
+ type: AccountAddressInputTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountAddressInput
28
+ */
29
+ address: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AccountAddressInput
34
+ */
35
+ postalCode: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AccountAddressInput
40
+ */
41
+ city: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AccountAddressInput
46
+ */
47
+ state?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof AccountAddressInput
52
+ */
53
+ country: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const AccountAddressInputTypeEnum: {
59
+ readonly BILLING: "billing";
60
+ };
61
+ export type AccountAddressInputTypeEnum = typeof AccountAddressInputTypeEnum[keyof typeof AccountAddressInputTypeEnum];
62
+ /**
63
+ * Check if a given object implements the AccountAddressInput interface.
64
+ */
65
+ export declare function instanceOfAccountAddressInput(value: object): boolean;
66
+ export declare function AccountAddressInputFromJSON(json: any): AccountAddressInput;
67
+ export declare function AccountAddressInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressInput;
68
+ export declare function AccountAddressInputToJSON(value?: AccountAddressInput | null): any;
@@ -0,0 +1,71 @@
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.AccountAddressInputToJSON = exports.AccountAddressInputFromJSONTyped = exports.AccountAddressInputFromJSON = exports.instanceOfAccountAddressInput = exports.AccountAddressInputTypeEnum = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * @export
20
+ */
21
+ exports.AccountAddressInputTypeEnum = {
22
+ BILLING: 'billing'
23
+ };
24
+ /**
25
+ * Check if a given object implements the AccountAddressInput interface.
26
+ */
27
+ function instanceOfAccountAddressInput(value) {
28
+ var isInstance = true;
29
+ isInstance = isInstance && "type" in value;
30
+ isInstance = isInstance && "address" in value;
31
+ isInstance = isInstance && "postalCode" in value;
32
+ isInstance = isInstance && "city" in value;
33
+ isInstance = isInstance && "country" in value;
34
+ return isInstance;
35
+ }
36
+ exports.instanceOfAccountAddressInput = instanceOfAccountAddressInput;
37
+ function AccountAddressInputFromJSON(json) {
38
+ return AccountAddressInputFromJSONTyped(json, false);
39
+ }
40
+ exports.AccountAddressInputFromJSON = AccountAddressInputFromJSON;
41
+ function AccountAddressInputFromJSONTyped(json, ignoreDiscriminator) {
42
+ if ((json === undefined) || (json === null)) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'type': json['type'],
47
+ 'address': json['address'],
48
+ 'postalCode': json['postalCode'],
49
+ 'city': json['city'],
50
+ 'state': !(0, runtime_1.exists)(json, 'state') ? undefined : json['state'],
51
+ 'country': json['country'],
52
+ };
53
+ }
54
+ exports.AccountAddressInputFromJSONTyped = AccountAddressInputFromJSONTyped;
55
+ function AccountAddressInputToJSON(value) {
56
+ if (value === undefined) {
57
+ return undefined;
58
+ }
59
+ if (value === null) {
60
+ return null;
61
+ }
62
+ return {
63
+ 'type': value.type,
64
+ 'address': value.address,
65
+ 'postalCode': value.postalCode,
66
+ 'city': value.city,
67
+ 'state': value.state,
68
+ 'country': value.country,
69
+ };
70
+ }
71
+ exports.AccountAddressInputToJSON = AccountAddressInputToJSON;
@@ -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 AccountFinancialInput
16
+ */
17
+ export interface AccountFinancialInput {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof AccountFinancialInput
22
+ */
23
+ company: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountFinancialInput
28
+ */
29
+ companyName: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AccountFinancialInput
34
+ */
35
+ companyVatNumber: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AccountFinancialInput
40
+ */
41
+ companyRegistrationNumber: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the AccountFinancialInput interface.
45
+ */
46
+ export declare function instanceOfAccountFinancialInput(value: object): boolean;
47
+ export declare function AccountFinancialInputFromJSON(json: any): AccountFinancialInput;
48
+ export declare function AccountFinancialInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountFinancialInput;
49
+ export declare function AccountFinancialInputToJSON(value?: AccountFinancialInput | 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.AccountFinancialInputToJSON = exports.AccountFinancialInputFromJSONTyped = exports.AccountFinancialInputFromJSON = exports.instanceOfAccountFinancialInput = void 0;
17
+ /**
18
+ * Check if a given object implements the AccountFinancialInput interface.
19
+ */
20
+ function instanceOfAccountFinancialInput(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "company" in value;
23
+ isInstance = isInstance && "companyName" in value;
24
+ isInstance = isInstance && "companyVatNumber" in value;
25
+ isInstance = isInstance && "companyRegistrationNumber" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfAccountFinancialInput = instanceOfAccountFinancialInput;
29
+ function AccountFinancialInputFromJSON(json) {
30
+ return AccountFinancialInputFromJSONTyped(json, false);
31
+ }
32
+ exports.AccountFinancialInputFromJSON = AccountFinancialInputFromJSON;
33
+ function AccountFinancialInputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'company': json['company'],
39
+ 'companyName': json['companyName'],
40
+ 'companyVatNumber': json['companyVatNumber'],
41
+ 'companyRegistrationNumber': json['companyRegistrationNumber'],
42
+ };
43
+ }
44
+ exports.AccountFinancialInputFromJSONTyped = AccountFinancialInputFromJSONTyped;
45
+ function AccountFinancialInputToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'company': value.company,
54
+ 'companyName': value.companyName,
55
+ 'companyVatNumber': value.companyVatNumber,
56
+ 'companyRegistrationNumber': value.companyRegistrationNumber,
57
+ };
58
+ }
59
+ exports.AccountFinancialInputToJSON = AccountFinancialInputToJSON;
@@ -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 { MoneyInput } from './MoneyInput';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountSettingsInput
17
+ */
18
+ export interface AccountSettingsInput {
19
+ /**
20
+ *
21
+ * @type {MoneyInput}
22
+ * @memberof AccountSettingsInput
23
+ */
24
+ defaultStartingOffer?: MoneyInput;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AccountSettingsInput interface.
28
+ */
29
+ export declare function instanceOfAccountSettingsInput(value: object): boolean;
30
+ export declare function AccountSettingsInputFromJSON(json: any): AccountSettingsInput;
31
+ export declare function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsInput;
32
+ export declare function AccountSettingsInputToJSON(value?: AccountSettingsInput | 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.AccountSettingsInputToJSON = exports.AccountSettingsInputFromJSONTyped = exports.AccountSettingsInputFromJSON = exports.instanceOfAccountSettingsInput = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var MoneyInput_1 = require("./MoneyInput");
19
+ /**
20
+ * Check if a given object implements the AccountSettingsInput interface.
21
+ */
22
+ function instanceOfAccountSettingsInput(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfAccountSettingsInput = instanceOfAccountSettingsInput;
27
+ function AccountSettingsInputFromJSON(json) {
28
+ return AccountSettingsInputFromJSONTyped(json, false);
29
+ }
30
+ exports.AccountSettingsInputFromJSON = AccountSettingsInputFromJSON;
31
+ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'defaultStartingOffer': !(0, runtime_1.exists)(json, 'defaultStartingOffer') ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['defaultStartingOffer']),
37
+ };
38
+ }
39
+ exports.AccountSettingsInputFromJSONTyped = AccountSettingsInputFromJSONTyped;
40
+ function AccountSettingsInputToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'defaultStartingOffer': (0, MoneyInput_1.MoneyInputToJSON)(value.defaultStartingOffer),
49
+ };
50
+ }
51
+ exports.AccountSettingsInputToJSON = AccountSettingsInputToJSON;
@@ -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
+ *
14
+ * @export
15
+ * @interface BatchUpdate404Response
16
+ */
17
+ export interface BatchUpdate404Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof BatchUpdate404Response
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BatchUpdate404Response
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BatchUpdate404Response
34
+ */
35
+ error?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the BatchUpdate404Response interface.
39
+ */
40
+ export declare function instanceOfBatchUpdate404Response(value: object): boolean;
41
+ export declare function BatchUpdate404ResponseFromJSON(json: any): BatchUpdate404Response;
42
+ export declare function BatchUpdate404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchUpdate404Response;
43
+ export declare function BatchUpdate404ResponseToJSON(value?: BatchUpdate404Response | 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.BatchUpdate404ResponseToJSON = exports.BatchUpdate404ResponseFromJSONTyped = exports.BatchUpdate404ResponseFromJSON = exports.instanceOfBatchUpdate404Response = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the BatchUpdate404Response interface.
20
+ */
21
+ function instanceOfBatchUpdate404Response(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "statusCode" in value;
24
+ isInstance = isInstance && "message" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfBatchUpdate404Response = instanceOfBatchUpdate404Response;
28
+ function BatchUpdate404ResponseFromJSON(json) {
29
+ return BatchUpdate404ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.BatchUpdate404ResponseFromJSON = BatchUpdate404ResponseFromJSON;
32
+ function BatchUpdate404ResponseFromJSONTyped(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.BatchUpdate404ResponseFromJSONTyped = BatchUpdate404ResponseFromJSONTyped;
43
+ function BatchUpdate404ResponseToJSON(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.BatchUpdate404ResponseToJSON = BatchUpdate404ResponseToJSON;
@@ -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 { UpdateDomainInput } from './UpdateDomainInput';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BatchUpdateDomainsInput
17
+ */
18
+ export interface BatchUpdateDomainsInput {
19
+ /**
20
+ *
21
+ * @type {Array<string>}
22
+ * @memberof BatchUpdateDomainsInput
23
+ */
24
+ domainIds: Array<string>;
25
+ /**
26
+ *
27
+ * @type {UpdateDomainInput}
28
+ * @memberof BatchUpdateDomainsInput
29
+ */
30
+ update: UpdateDomainInput;
31
+ }
32
+ /**
33
+ * Check if a given object implements the BatchUpdateDomainsInput interface.
34
+ */
35
+ export declare function instanceOfBatchUpdateDomainsInput(value: object): boolean;
36
+ export declare function BatchUpdateDomainsInputFromJSON(json: any): BatchUpdateDomainsInput;
37
+ export declare function BatchUpdateDomainsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchUpdateDomainsInput;
38
+ export declare function BatchUpdateDomainsInputToJSON(value?: BatchUpdateDomainsInput | null): any;