@randock/nameshift-api-client 0.0.17 → 0.0.19

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 (157) hide show
  1. package/.openapi-generator/FILES +3 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +6 -4
  4. package/dist/apis/AccountsApi.js +18 -18
  5. package/dist/apis/AuthApi.js +3 -3
  6. package/dist/apis/DomainsApi.d.ts +1 -1
  7. package/dist/apis/DomainsApi.js +30 -30
  8. package/dist/apis/LeadsApi.js +18 -18
  9. package/dist/apis/LeadsPublicApi.js +3 -3
  10. package/dist/apis/index.d.ts +0 -1
  11. package/dist/apis/index.js +0 -1
  12. package/dist/models/AccountAddressDto.js +21 -21
  13. package/dist/models/AccountAddressInput.js +21 -21
  14. package/dist/models/AccountDto.js +10 -12
  15. package/dist/models/AccountFinancialInput.js +16 -16
  16. package/dist/models/AccountSettingsInput.js +6 -11
  17. package/dist/models/BatchUpdate404Response.js +12 -15
  18. package/dist/models/BatchUpdateDomainsInput.js +10 -12
  19. package/dist/models/CreateLeadInput.js +22 -20
  20. package/dist/models/CreateLeadMessageInput.js +7 -10
  21. package/dist/models/DeleteDomainsInput.js +7 -10
  22. package/dist/models/DomainDto.d.ts +2 -2
  23. package/dist/models/DomainDto.js +25 -22
  24. package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +19 -18
  25. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +2 -2
  26. package/dist/models/IntersectionDomainDtoWithAccountDto.js +28 -24
  27. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +2 -2
  28. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +31 -26
  29. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +22 -20
  30. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +40 -32
  31. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +7 -10
  32. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +10 -12
  33. package/dist/models/LeadMessageData.js +7 -10
  34. package/dist/models/LeadMessageDto.js +25 -22
  35. package/dist/models/LeadMessageDtoData.js +7 -10
  36. package/dist/models/List200Response.js +13 -14
  37. package/dist/models/List400Response.d.ts +3 -3
  38. package/dist/models/List400Response.js +12 -15
  39. package/dist/models/List401Response.js +12 -15
  40. package/dist/models/ListLeadMessagesDto.js +7 -10
  41. package/dist/models/Login401Response.js +12 -15
  42. package/dist/models/Login429Response.js +12 -15
  43. package/dist/models/LoginInput.js +10 -12
  44. package/dist/models/MoneyDto.js +10 -12
  45. package/dist/models/MoneyInput.js +10 -12
  46. package/dist/models/ObjectId.js +7 -10
  47. package/dist/models/PaginateResponse.js +13 -14
  48. package/dist/models/PaginateResponseLinks.d.ts +5 -5
  49. package/dist/models/PaginateResponseLinks.js +14 -19
  50. package/dist/models/PaginateResponseMeta.js +18 -23
  51. package/dist/models/PutLeadInput.js +7 -10
  52. package/dist/models/TokenDto.js +7 -10
  53. package/dist/models/UpdateDomainInput.d.ts +2 -2
  54. package/dist/models/UpdateDomainInput.js +8 -13
  55. package/dist/models/UpdateFinancial400Response.d.ts +43 -0
  56. package/dist/models/UpdateFinancial400Response.js +53 -0
  57. package/dist/models/UpdateSettings400Response.d.ts +43 -0
  58. package/dist/models/UpdateSettings400Response.js +53 -0
  59. package/dist/models/UpdateSettings401Response.js +12 -15
  60. package/dist/models/UpdateSettings429Response.js +12 -15
  61. package/dist/models/WithFinancialDtoInner.js +16 -16
  62. package/dist/models/WithSettingsInner.js +7 -10
  63. package/dist/models/index.d.ts +2 -1
  64. package/dist/models/index.js +2 -1
  65. package/dist/runtime.d.ts +2 -3
  66. package/dist/runtime.js +1 -6
  67. package/package.json +1 -1
  68. package/src/apis/AccountsApi.ts +42 -18
  69. package/src/apis/AuthApi.ts +6 -3
  70. package/src/apis/DomainsApi.ts +49 -31
  71. package/src/apis/LeadsApi.ts +39 -18
  72. package/src/apis/LeadsPublicApi.ts +9 -3
  73. package/src/apis/index.ts +0 -1
  74. package/src/models/AccountAddressDto.ts +17 -22
  75. package/src/models/AccountAddressInput.ts +17 -22
  76. package/src/models/AccountDto.ts +9 -14
  77. package/src/models/AccountFinancialInput.ts +13 -18
  78. package/src/models/AccountSettingsInput.ts +7 -12
  79. package/src/models/BatchUpdate404Response.ts +11 -16
  80. package/src/models/BatchUpdateDomainsInput.ts +9 -14
  81. package/src/models/CreateLeadInput.ts +17 -22
  82. package/src/models/CreateLeadMessageInput.ts +7 -12
  83. package/src/models/DeleteDomainsInput.ts +7 -12
  84. package/src/models/DomainDto.ts +21 -26
  85. package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +15 -20
  86. package/src/models/IntersectionDomainDtoWithAccountDto.ts +23 -28
  87. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +25 -30
  88. package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +17 -22
  89. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +29 -34
  90. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +7 -12
  91. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +9 -14
  92. package/src/models/LeadMessageData.ts +7 -12
  93. package/src/models/LeadMessageDto.ts +19 -24
  94. package/src/models/LeadMessageDtoData.ts +7 -12
  95. package/src/models/List200Response.ts +11 -16
  96. package/src/models/List400Response.ts +14 -19
  97. package/src/models/List401Response.ts +11 -16
  98. package/src/models/ListLeadMessagesDto.ts +7 -12
  99. package/src/models/Login401Response.ts +11 -16
  100. package/src/models/Login429Response.ts +11 -16
  101. package/src/models/LoginInput.ts +9 -14
  102. package/src/models/MoneyDto.ts +9 -14
  103. package/src/models/MoneyInput.ts +9 -14
  104. package/src/models/ObjectId.ts +7 -12
  105. package/src/models/PaginateResponse.ts +11 -16
  106. package/src/models/PaginateResponseLinks.ts +20 -25
  107. package/src/models/PaginateResponseMeta.ts +19 -24
  108. package/src/models/PutLeadInput.ts +7 -12
  109. package/src/models/TokenDto.ts +7 -12
  110. package/src/models/UpdateDomainInput.ts +11 -16
  111. package/src/models/UpdateFinancial400Response.ts +78 -0
  112. package/src/models/UpdateSettings400Response.ts +78 -0
  113. package/src/models/UpdateSettings401Response.ts +11 -16
  114. package/src/models/UpdateSettings429Response.ts +11 -16
  115. package/src/models/WithFinancialDtoInner.ts +13 -18
  116. package/src/models/WithSettingsInner.ts +7 -12
  117. package/src/models/index.ts +2 -1
  118. package/src/runtime.ts +3 -8
  119. package/dist/apis/DomainsPublicApi.d.ts +0 -35
  120. package/dist/apis/DomainsPublicApi.js +0 -164
  121. package/dist/apis/TestApi.d.ts +0 -23
  122. package/dist/apis/TestApi.js +0 -116
  123. package/dist/models/CreateLeadMessageInputData.d.ts +0 -32
  124. package/dist/models/CreateLeadMessageInputData.js +0 -51
  125. package/dist/models/ImportDomainsDto.d.ts +0 -49
  126. package/dist/models/ImportDomainsDto.js +0 -59
  127. package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +0 -44
  128. package/dist/models/IntersectionAccountDtoWithAddressDto.js +0 -57
  129. package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +0 -44
  130. package/dist/models/IntersectionAccountDtoWithFinancialDto.js +0 -57
  131. package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +0 -49
  132. package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.js +0 -56
  133. package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -44
  134. package/dist/models/IntersectionAccountDtoWithSettingsDto.js +0 -57
  135. package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.d.ts +0 -32
  136. package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.js +0 -51
  137. package/dist/models/IntersectionLeadDto.d.ts +0 -52
  138. package/dist/models/IntersectionLeadDto.js +0 -64
  139. package/dist/models/LeadDto.d.ts +0 -74
  140. package/dist/models/LeadDto.js +0 -79
  141. package/dist/models/List429Response.d.ts +0 -43
  142. package/dist/models/List429Response.js +0 -56
  143. package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.d.ts +0 -43
  144. package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.js +0 -56
  145. package/src/apis/DomainsPublicApi.ts +0 -97
  146. package/src/apis/TestApi.ts +0 -46
  147. package/src/models/CreateLeadMessageInputData.ts +0 -73
  148. package/src/models/ImportDomainsDto.ts +0 -93
  149. package/src/models/IntersectionAccountDtoWithAddressDto.ts +0 -91
  150. package/src/models/IntersectionAccountDtoWithFinancialDto.ts +0 -91
  151. package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +0 -89
  152. package/src/models/IntersectionAccountDtoWithSettingsDto.ts +0 -91
  153. package/src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts +0 -72
  154. package/src/models/IntersectionLeadDto.ts +0 -96
  155. package/src/models/LeadDto.ts +0 -131
  156. package/src/models/List429Response.ts +0 -83
  157. package/src/models/PublicDomainControllerGetDomainIdentifier404Response.ts +0 -83
@@ -1,64 +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.IntersectionLeadDtoToJSON = exports.IntersectionLeadDtoFromJSONTyped = exports.IntersectionLeadDtoFromJSON = exports.instanceOfIntersectionLeadDto = exports.IntersectionLeadDtoStatusEnum = void 0;
17
- /**
18
- * @export
19
- */
20
- exports.IntersectionLeadDtoStatusEnum = {
21
- ACTIVE: 'active',
22
- DELETED: 'deleted',
23
- ARCHIVED: 'archived'
24
- };
25
- /**
26
- * Check if a given object implements the IntersectionLeadDto interface.
27
- */
28
- function instanceOfIntersectionLeadDto(value) {
29
- var isInstance = true;
30
- isInstance = isInstance && "id" in value;
31
- isInstance = isInstance && "status" in value;
32
- isInstance = isInstance && "createdAt" in value;
33
- return isInstance;
34
- }
35
- exports.instanceOfIntersectionLeadDto = instanceOfIntersectionLeadDto;
36
- function IntersectionLeadDtoFromJSON(json) {
37
- return IntersectionLeadDtoFromJSONTyped(json, false);
38
- }
39
- exports.IntersectionLeadDtoFromJSON = IntersectionLeadDtoFromJSON;
40
- function IntersectionLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
41
- if ((json === undefined) || (json === null)) {
42
- return json;
43
- }
44
- return {
45
- 'id': json['id'],
46
- 'status': json['status'],
47
- 'createdAt': (new Date(json['createdAt'])),
48
- };
49
- }
50
- exports.IntersectionLeadDtoFromJSONTyped = IntersectionLeadDtoFromJSONTyped;
51
- function IntersectionLeadDtoToJSON(value) {
52
- if (value === undefined) {
53
- return undefined;
54
- }
55
- if (value === null) {
56
- return null;
57
- }
58
- return {
59
- 'id': value.id,
60
- 'status': value.status,
61
- 'createdAt': (value.createdAt.toISOString()),
62
- };
63
- }
64
- exports.IntersectionLeadDtoToJSON = IntersectionLeadDtoToJSON;
@@ -1,74 +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
- import type { IntersectionLeadDtoWithListFieldsDtoLastOffer } from './IntersectionLeadDtoWithListFieldsDtoLastOffer';
13
- /**
14
- *
15
- * @export
16
- * @interface LeadDto
17
- */
18
- export interface LeadDto {
19
- /**
20
- * The current id
21
- * @type {string}
22
- * @memberof LeadDto
23
- */
24
- id: string;
25
- /**
26
- * The current lead status
27
- * @type {string}
28
- * @memberof LeadDto
29
- */
30
- status: LeadDtoStatusEnum;
31
- /**
32
- *
33
- * @type {IntersectionLeadDtoWithListFieldsDtoLastOffer}
34
- * @memberof LeadDto
35
- */
36
- lastOffer: IntersectionLeadDtoWithListFieldsDtoLastOffer | null;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof LeadDto
41
- */
42
- lastOfferBy: LeadDtoLastOfferByEnum | null;
43
- /**
44
- * Created at date
45
- * @type {Date}
46
- * @memberof LeadDto
47
- */
48
- createdAt: Date;
49
- }
50
- /**
51
- * @export
52
- */
53
- export declare const LeadDtoStatusEnum: {
54
- readonly ACTIVE: "active";
55
- readonly DELETED: "deleted";
56
- readonly ARCHIVED: "archived";
57
- };
58
- export type LeadDtoStatusEnum = typeof LeadDtoStatusEnum[keyof typeof LeadDtoStatusEnum];
59
- /**
60
- * @export
61
- */
62
- export declare const LeadDtoLastOfferByEnum: {
63
- readonly BUYER: "buyer";
64
- readonly SELLER: "seller";
65
- readonly ADMIN: "admin";
66
- };
67
- export type LeadDtoLastOfferByEnum = typeof LeadDtoLastOfferByEnum[keyof typeof LeadDtoLastOfferByEnum];
68
- /**
69
- * Check if a given object implements the LeadDto interface.
70
- */
71
- export declare function instanceOfLeadDto(value: object): boolean;
72
- export declare function LeadDtoFromJSON(json: any): LeadDto;
73
- export declare function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadDto;
74
- export declare function LeadDtoToJSON(value?: LeadDto | null): any;
@@ -1,79 +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.LeadDtoToJSON = exports.LeadDtoFromJSONTyped = exports.LeadDtoFromJSON = exports.instanceOfLeadDto = exports.LeadDtoLastOfferByEnum = exports.LeadDtoStatusEnum = void 0;
17
- var IntersectionLeadDtoWithListFieldsDtoLastOffer_1 = require("./IntersectionLeadDtoWithListFieldsDtoLastOffer");
18
- /**
19
- * @export
20
- */
21
- exports.LeadDtoStatusEnum = {
22
- ACTIVE: 'active',
23
- DELETED: 'deleted',
24
- ARCHIVED: 'archived'
25
- };
26
- /**
27
- * @export
28
- */
29
- exports.LeadDtoLastOfferByEnum = {
30
- BUYER: 'buyer',
31
- SELLER: 'seller',
32
- ADMIN: 'admin'
33
- };
34
- /**
35
- * Check if a given object implements the LeadDto interface.
36
- */
37
- function instanceOfLeadDto(value) {
38
- var isInstance = true;
39
- isInstance = isInstance && "id" in value;
40
- isInstance = isInstance && "status" in value;
41
- isInstance = isInstance && "lastOffer" in value;
42
- isInstance = isInstance && "lastOfferBy" in value;
43
- isInstance = isInstance && "createdAt" in value;
44
- return isInstance;
45
- }
46
- exports.instanceOfLeadDto = instanceOfLeadDto;
47
- function LeadDtoFromJSON(json) {
48
- return LeadDtoFromJSONTyped(json, false);
49
- }
50
- exports.LeadDtoFromJSON = LeadDtoFromJSON;
51
- function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
52
- if ((json === undefined) || (json === null)) {
53
- return json;
54
- }
55
- return {
56
- 'id': json['id'],
57
- 'status': json['status'],
58
- 'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON)(json['lastOffer']),
59
- 'lastOfferBy': json['lastOfferBy'],
60
- 'createdAt': (new Date(json['createdAt'])),
61
- };
62
- }
63
- exports.LeadDtoFromJSONTyped = LeadDtoFromJSONTyped;
64
- function LeadDtoToJSON(value) {
65
- if (value === undefined) {
66
- return undefined;
67
- }
68
- if (value === null) {
69
- return null;
70
- }
71
- return {
72
- 'id': value.id,
73
- 'status': value.status,
74
- 'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value.lastOffer),
75
- 'lastOfferBy': value.lastOfferBy,
76
- 'createdAt': (value.createdAt.toISOString()),
77
- };
78
- }
79
- exports.LeadDtoToJSON = LeadDtoToJSON;
@@ -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
- * Returned if more than 300 requests are made per minute.
14
- * @export
15
- * @interface List429Response
16
- */
17
- export interface List429Response {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof List429Response
22
- */
23
- statusCode: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof List429Response
28
- */
29
- message: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof List429Response
34
- */
35
- error?: string;
36
- }
37
- /**
38
- * Check if a given object implements the List429Response interface.
39
- */
40
- export declare function instanceOfList429Response(value: object): boolean;
41
- export declare function List429ResponseFromJSON(json: any): List429Response;
42
- export declare function List429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): List429Response;
43
- export declare function List429ResponseToJSON(value?: List429Response | null): any;
@@ -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.List429ResponseToJSON = exports.List429ResponseFromJSONTyped = exports.List429ResponseFromJSON = exports.instanceOfList429Response = void 0;
17
- var runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the List429Response interface.
20
- */
21
- function instanceOfList429Response(value) {
22
- var isInstance = true;
23
- isInstance = isInstance && "statusCode" in value;
24
- isInstance = isInstance && "message" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfList429Response = instanceOfList429Response;
28
- function List429ResponseFromJSON(json) {
29
- return List429ResponseFromJSONTyped(json, false);
30
- }
31
- exports.List429ResponseFromJSON = List429ResponseFromJSON;
32
- function List429ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'statusCode': json['statusCode'],
38
- 'message': json['message'],
39
- 'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
40
- };
41
- }
42
- exports.List429ResponseFromJSONTyped = List429ResponseFromJSONTyped;
43
- function List429ResponseToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
49
- }
50
- return {
51
- 'statusCode': value.statusCode,
52
- 'message': value.message,
53
- 'error': value.error,
54
- };
55
- }
56
- exports.List429ResponseToJSON = List429ResponseToJSON;
@@ -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;
@@ -1,97 +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
- import type {
18
- PublicDomainControllerGetDomainIdentifier404Response,
19
- } from '../models/index';
20
- import {
21
- PublicDomainControllerGetDomainIdentifier404ResponseFromJSON,
22
- PublicDomainControllerGetDomainIdentifier404ResponseToJSON,
23
- } from '../models/index';
24
-
25
- export interface DomainsPublicApiPublicDomainControllerGetCaddyRequest {
26
- domain: string;
27
- }
28
-
29
- export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest {
30
- domainName: string;
31
- }
32
-
33
- /**
34
- *
35
- */
36
- export class DomainsPublicApi extends runtime.BaseAPI {
37
-
38
- /**
39
- */
40
- async publicDomainControllerGetCaddyRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
41
- if (requestParameters.domain === null || requestParameters.domain === undefined) {
42
- throw new runtime.RequiredError('domain','Required parameter requestParameters.domain was null or undefined when calling publicDomainControllerGetCaddy.');
43
- }
44
-
45
- const queryParameters: any = {};
46
-
47
- if (requestParameters.domain !== undefined) {
48
- queryParameters['domain'] = requestParameters.domain;
49
- }
50
-
51
- const headerParameters: runtime.HTTPHeaders = {};
52
-
53
- const response = await this.request({
54
- path: `/caddy`,
55
- method: 'GET',
56
- headers: headerParameters,
57
- query: queryParameters,
58
- }, initOverrides);
59
-
60
- return new runtime.VoidApiResponse(response);
61
- }
62
-
63
- /**
64
- */
65
- async publicDomainControllerGetCaddy(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
66
- await this.publicDomainControllerGetCaddyRaw(requestParameters, initOverrides);
67
- }
68
-
69
- /**
70
- */
71
- async publicDomainControllerGetDomainIdentifierRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
72
- if (requestParameters.domainName === null || requestParameters.domainName === undefined) {
73
- throw new runtime.RequiredError('domainName','Required parameter requestParameters.domainName was null or undefined when calling publicDomainControllerGetDomainIdentifier.');
74
- }
75
-
76
- const queryParameters: any = {};
77
-
78
- const headerParameters: runtime.HTTPHeaders = {};
79
-
80
- const response = await this.request({
81
- path: `/domains/by-name/{domainName}/identifier`.replace(`{${"domainName"}}`, encodeURIComponent(String(requestParameters.domainName))),
82
- method: 'GET',
83
- headers: headerParameters,
84
- query: queryParameters,
85
- }, initOverrides);
86
-
87
- return new runtime.JSONApiResponse<any>(response);
88
- }
89
-
90
- /**
91
- */
92
- async publicDomainControllerGetDomainIdentifier(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
93
- const response = await this.publicDomainControllerGetDomainIdentifierRaw(requestParameters, initOverrides);
94
- return await response.value();
95
- }
96
-
97
- }
@@ -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
-