@randock/nameshift-api-client 0.0.551 → 0.0.553

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 (168) hide show
  1. package/.openapi-generator/FILES +39 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AutomationsApi.d.ts +160 -0
  4. package/dist/apis/AutomationsApi.js +748 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AccountSettingsDto.d.ts +15 -1
  8. package/dist/models/AccountSettingsDto.js +8 -0
  9. package/dist/models/AccountSettingsInput.d.ts +14 -0
  10. package/dist/models/AccountSettingsInput.js +4 -0
  11. package/dist/models/AdminDomainListItemDto.d.ts +21 -1
  12. package/dist/models/AdminDomainListItemDto.js +12 -0
  13. package/dist/models/AutomationActionDto.d.ts +45 -0
  14. package/dist/models/AutomationActionDto.js +60 -0
  15. package/dist/models/AutomationActionInput.d.ts +45 -0
  16. package/dist/models/AutomationActionInput.js +56 -0
  17. package/dist/models/AutomationActionStatusEnum.d.ts +26 -0
  18. package/dist/models/AutomationActionStatusEnum.js +52 -0
  19. package/dist/models/AutomationActionTypeEnum.d.ts +27 -0
  20. package/dist/models/AutomationActionTypeEnum.js +53 -0
  21. package/dist/models/AutomationAggregateEnum.d.ts +24 -0
  22. package/dist/models/AutomationAggregateEnum.js +50 -0
  23. package/dist/models/AutomationCatalogDelayUnitDto.d.ts +45 -0
  24. package/dist/models/AutomationCatalogDelayUnitDto.js +60 -0
  25. package/dist/models/AutomationCatalogDto.d.ts +77 -0
  26. package/dist/models/AutomationCatalogDto.js +82 -0
  27. package/dist/models/AutomationCatalogFactDto.d.ts +54 -0
  28. package/dist/models/AutomationCatalogFactDto.js +67 -0
  29. package/dist/models/AutomationCatalogTriggerDto.d.ts +60 -0
  30. package/dist/models/AutomationCatalogTriggerDto.js +71 -0
  31. package/dist/models/AutomationConditionDto.d.ts +65 -0
  32. package/dist/models/AutomationConditionDto.js +76 -0
  33. package/dist/models/AutomationConditionEvaluationDto.d.ts +77 -0
  34. package/dist/models/AutomationConditionEvaluationDto.js +84 -0
  35. package/dist/models/AutomationConditionGroupDto.d.ts +53 -0
  36. package/dist/models/AutomationConditionGroupDto.js +68 -0
  37. package/dist/models/AutomationConditionGroupDtoChildrenInner.d.ts +27 -0
  38. package/dist/models/AutomationConditionGroupDtoChildrenInner.js +54 -0
  39. package/dist/models/AutomationConditionGroupEvaluationDto.d.ts +59 -0
  40. package/dist/models/AutomationConditionGroupEvaluationDto.js +72 -0
  41. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.d.ts +27 -0
  42. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.js +54 -0
  43. package/dist/models/AutomationConditionGroupInput.d.ts +53 -0
  44. package/dist/models/AutomationConditionGroupInput.js +68 -0
  45. package/dist/models/AutomationConditionGroupInputChildrenInner.d.ts +27 -0
  46. package/dist/models/AutomationConditionGroupInputChildrenInner.js +54 -0
  47. package/dist/models/AutomationConditionInput.d.ts +65 -0
  48. package/dist/models/AutomationConditionInput.js +74 -0
  49. package/dist/models/AutomationDelayDto.d.ts +39 -0
  50. package/dist/models/AutomationDelayDto.js +56 -0
  51. package/dist/models/AutomationDelayInput.d.ts +39 -0
  52. package/dist/models/AutomationDelayInput.js +56 -0
  53. package/dist/models/AutomationDelayUnitEnum.d.ts +25 -0
  54. package/dist/models/AutomationDelayUnitEnum.js +51 -0
  55. package/dist/models/AutomationDto.d.ts +96 -0
  56. package/dist/models/AutomationDto.js +95 -0
  57. package/dist/models/AutomationFactEnum.d.ts +36 -0
  58. package/dist/models/AutomationFactEnum.js +62 -0
  59. package/dist/models/AutomationFactGroupEnum.d.ts +27 -0
  60. package/dist/models/AutomationFactGroupEnum.js +53 -0
  61. package/dist/models/AutomationFactValueTypeEnum.d.ts +30 -0
  62. package/dist/models/AutomationFactValueTypeEnum.js +56 -0
  63. package/dist/models/AutomationGroupOperatorEnum.d.ts +25 -0
  64. package/dist/models/AutomationGroupOperatorEnum.js +51 -0
  65. package/dist/models/AutomationInput.d.ts +66 -0
  66. package/dist/models/AutomationInput.js +71 -0
  67. package/dist/models/AutomationOperatorEnum.d.ts +37 -0
  68. package/dist/models/AutomationOperatorEnum.js +63 -0
  69. package/dist/models/AutomationRunActionDto.d.ts +46 -0
  70. package/dist/models/AutomationRunActionDto.js +61 -0
  71. package/dist/models/AutomationRunAutomationDto.d.ts +58 -0
  72. package/dist/models/AutomationRunAutomationDto.js +69 -0
  73. package/dist/models/AutomationRunDto.d.ts +65 -0
  74. package/dist/models/AutomationRunDto.js +74 -0
  75. package/dist/models/AutomationRunLeadDto.d.ts +44 -0
  76. package/dist/models/AutomationRunLeadDto.js +59 -0
  77. package/dist/models/AutomationSimulationDto.d.ts +64 -0
  78. package/dist/models/AutomationSimulationDto.js +73 -0
  79. package/dist/models/AutomationStatusInput.d.ts +32 -0
  80. package/dist/models/AutomationStatusInput.js +51 -0
  81. package/dist/models/AutomationTriggerEnum.d.ts +28 -0
  82. package/dist/models/AutomationTriggerEnum.js +54 -0
  83. package/dist/models/DomainSellerDto.d.ts +9 -1
  84. package/dist/models/DomainSellerDto.js +4 -0
  85. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  86. package/dist/models/FeatureFlagListItemDto.js +2 -1
  87. package/dist/models/GetAutomationRuns200Response.d.ts +47 -0
  88. package/dist/models/GetAutomationRuns200Response.js +62 -0
  89. package/dist/models/GetAutomations200Response.d.ts +47 -0
  90. package/dist/models/GetAutomations200Response.js +62 -0
  91. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  92. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  93. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +21 -1
  94. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +12 -0
  95. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +21 -1
  96. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +12 -0
  97. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +21 -1
  98. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +12 -0
  99. package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +12 -0
  100. package/dist/models/LandingPageOriginalDesignSettingsDto.js +8 -0
  101. package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +12 -0
  102. package/dist/models/LandingPageOriginalDesignSettingsInput.js +4 -0
  103. package/dist/models/LeadMessageDto.d.ts +6 -0
  104. package/dist/models/LeadMessageDto.js +4 -0
  105. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  106. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  107. package/dist/models/SimulateAutomationsInput.d.ts +70 -0
  108. package/dist/models/SimulateAutomationsInput.js +69 -0
  109. package/dist/models/UpdateDomainInput.d.ts +21 -1
  110. package/dist/models/UpdateDomainInput.js +6 -0
  111. package/dist/models/index.d.ts +38 -0
  112. package/dist/models/index.js +38 -0
  113. package/package.json +1 -1
  114. package/src/apis/AutomationsApi.ts +622 -0
  115. package/src/apis/index.ts +1 -0
  116. package/src/models/AccountSettingsDto.ts +19 -1
  117. package/src/models/AccountSettingsInput.ts +16 -0
  118. package/src/models/AdminDomainListItemDto.ts +28 -1
  119. package/src/models/AutomationActionDto.ts +94 -0
  120. package/src/models/AutomationActionInput.ts +92 -0
  121. package/src/models/AutomationActionStatusEnum.ts +54 -0
  122. package/src/models/AutomationActionTypeEnum.ts +55 -0
  123. package/src/models/AutomationAggregateEnum.ts +52 -0
  124. package/src/models/AutomationCatalogDelayUnitDto.ts +94 -0
  125. package/src/models/AutomationCatalogDto.ts +151 -0
  126. package/src/models/AutomationCatalogFactDto.ts +124 -0
  127. package/src/models/AutomationCatalogTriggerDto.ts +133 -0
  128. package/src/models/AutomationConditionDto.ts +127 -0
  129. package/src/models/AutomationConditionEvaluationDto.ts +145 -0
  130. package/src/models/AutomationConditionGroupDto.ts +109 -0
  131. package/src/models/AutomationConditionGroupDtoChildrenInner.ts +73 -0
  132. package/src/models/AutomationConditionGroupEvaluationDto.ts +118 -0
  133. package/src/models/AutomationConditionGroupEvaluationDtoChildrenInner.ts +73 -0
  134. package/src/models/AutomationConditionGroupInput.ts +109 -0
  135. package/src/models/AutomationConditionGroupInputChildrenInner.ts +73 -0
  136. package/src/models/AutomationConditionInput.ts +126 -0
  137. package/src/models/AutomationDelayDto.ts +85 -0
  138. package/src/models/AutomationDelayInput.ts +85 -0
  139. package/src/models/AutomationDelayUnitEnum.ts +53 -0
  140. package/src/models/AutomationDto.ts +187 -0
  141. package/src/models/AutomationFactEnum.ts +64 -0
  142. package/src/models/AutomationFactGroupEnum.ts +55 -0
  143. package/src/models/AutomationFactValueTypeEnum.ts +58 -0
  144. package/src/models/AutomationGroupOperatorEnum.ts +53 -0
  145. package/src/models/AutomationInput.ts +140 -0
  146. package/src/models/AutomationOperatorEnum.ts +65 -0
  147. package/src/models/AutomationRunActionDto.ts +101 -0
  148. package/src/models/AutomationRunAutomationDto.ts +117 -0
  149. package/src/models/AutomationRunDto.ts +135 -0
  150. package/src/models/AutomationRunLeadDto.ts +84 -0
  151. package/src/models/AutomationSimulationDto.ts +126 -0
  152. package/src/models/AutomationStatusInput.ts +66 -0
  153. package/src/models/AutomationTriggerEnum.ts +56 -0
  154. package/src/models/DomainSellerDto.ts +10 -1
  155. package/src/models/FeatureFlagListItemDto.ts +2 -1
  156. package/src/models/GetAutomationRuns200Response.ts +106 -0
  157. package/src/models/GetAutomations200Response.ts +106 -0
  158. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  159. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +28 -1
  160. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +28 -1
  161. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +28 -1
  162. package/src/models/LandingPageOriginalDesignSettingsDto.ts +18 -0
  163. package/src/models/LandingPageOriginalDesignSettingsInput.ts +16 -0
  164. package/src/models/LeadMessageDto.ts +9 -0
  165. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  166. package/src/models/SimulateAutomationsInput.ts +133 -0
  167. package/src/models/UpdateDomainInput.ts +25 -1
  168. package/src/models/index.ts +38 -0
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.instanceOfAutomationSimulationDto = instanceOfAutomationSimulationDto;
17
+ exports.AutomationSimulationDtoFromJSON = AutomationSimulationDtoFromJSON;
18
+ exports.AutomationSimulationDtoFromJSONTyped = AutomationSimulationDtoFromJSONTyped;
19
+ exports.AutomationSimulationDtoToJSON = AutomationSimulationDtoToJSON;
20
+ exports.AutomationSimulationDtoToJSONTyped = AutomationSimulationDtoToJSONTyped;
21
+ var AutomationConditionGroupEvaluationDto_1 = require("./AutomationConditionGroupEvaluationDto");
22
+ var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
23
+ /**
24
+ * Check if a given object implements the AutomationSimulationDto interface.
25
+ */
26
+ function instanceOfAutomationSimulationDto(value) {
27
+ if (!('automationId' in value) || value['automationId'] === undefined)
28
+ return false;
29
+ if (!('automationName' in value) || value['automationName'] === undefined)
30
+ return false;
31
+ if (!('enabled' in value) || value['enabled'] === undefined)
32
+ return false;
33
+ if (!('matched' in value) || value['matched'] === undefined)
34
+ return false;
35
+ if (!('conditions' in value) || value['conditions'] === undefined)
36
+ return false;
37
+ if (!('actions' in value) || value['actions'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function AutomationSimulationDtoFromJSON(json) {
42
+ return AutomationSimulationDtoFromJSONTyped(json, false);
43
+ }
44
+ function AutomationSimulationDtoFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'automationId': json['automationId'],
50
+ 'automationName': json['automationName'],
51
+ 'enabled': json['enabled'],
52
+ 'matched': json['matched'],
53
+ 'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoFromJSON)(json['conditions']),
54
+ 'actions': (json['actions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)),
55
+ };
56
+ }
57
+ function AutomationSimulationDtoToJSON(json) {
58
+ return AutomationSimulationDtoToJSONTyped(json, false);
59
+ }
60
+ function AutomationSimulationDtoToJSONTyped(value, ignoreDiscriminator) {
61
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'automationId': value['automationId'],
67
+ 'automationName': value['automationName'],
68
+ 'enabled': value['enabled'],
69
+ 'matched': value['matched'],
70
+ 'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoToJSON)(value['conditions']),
71
+ 'actions': (value['actions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)),
72
+ };
73
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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 AutomationStatusInput
16
+ */
17
+ export interface AutomationStatusInput {
18
+ /**
19
+ * Whether the automation is applied.
20
+ * @type {boolean}
21
+ * @memberof AutomationStatusInput
22
+ */
23
+ enabled: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AutomationStatusInput interface.
27
+ */
28
+ export declare function instanceOfAutomationStatusInput(value: object): value is AutomationStatusInput;
29
+ export declare function AutomationStatusInputFromJSON(json: any): AutomationStatusInput;
30
+ export declare function AutomationStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationStatusInput;
31
+ export declare function AutomationStatusInputToJSON(json: any): AutomationStatusInput;
32
+ export declare function AutomationStatusInputToJSONTyped(value?: AutomationStatusInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.instanceOfAutomationStatusInput = instanceOfAutomationStatusInput;
17
+ exports.AutomationStatusInputFromJSON = AutomationStatusInputFromJSON;
18
+ exports.AutomationStatusInputFromJSONTyped = AutomationStatusInputFromJSONTyped;
19
+ exports.AutomationStatusInputToJSON = AutomationStatusInputToJSON;
20
+ exports.AutomationStatusInputToJSONTyped = AutomationStatusInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AutomationStatusInput interface.
23
+ */
24
+ function instanceOfAutomationStatusInput(value) {
25
+ if (!('enabled' in value) || value['enabled'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AutomationStatusInputFromJSON(json) {
30
+ return AutomationStatusInputFromJSONTyped(json, false);
31
+ }
32
+ function AutomationStatusInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'enabled': json['enabled'],
38
+ };
39
+ }
40
+ function AutomationStatusInputToJSON(json) {
41
+ return AutomationStatusInputToJSONTyped(json, false);
42
+ }
43
+ function AutomationStatusInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'enabled': value['enabled'],
50
+ };
51
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+ * What makes the automation be evaluated.
14
+ * @export
15
+ */
16
+ export declare const AutomationTriggerEnum: {
17
+ readonly LEAD_RECEIVED: "lead_received";
18
+ readonly LEAD_OFFER_RECEIVED: "lead_offer_received";
19
+ readonly LEAD_MESSAGE_RECEIVED: "lead_message_received";
20
+ readonly LEAD_OFFER_ACCEPTED: "lead_offer_accepted";
21
+ readonly LEAD_UNANSWERED: "lead_unanswered";
22
+ };
23
+ export type AutomationTriggerEnum = typeof AutomationTriggerEnum[keyof typeof AutomationTriggerEnum];
24
+ export declare function instanceOfAutomationTriggerEnum(value: any): boolean;
25
+ export declare function AutomationTriggerEnumFromJSON(json: any): AutomationTriggerEnum;
26
+ export declare function AutomationTriggerEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationTriggerEnum;
27
+ export declare function AutomationTriggerEnumToJSON(value?: AutomationTriggerEnum | null): any;
28
+ export declare function AutomationTriggerEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationTriggerEnum;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.AutomationTriggerEnum = void 0;
17
+ exports.instanceOfAutomationTriggerEnum = instanceOfAutomationTriggerEnum;
18
+ exports.AutomationTriggerEnumFromJSON = AutomationTriggerEnumFromJSON;
19
+ exports.AutomationTriggerEnumFromJSONTyped = AutomationTriggerEnumFromJSONTyped;
20
+ exports.AutomationTriggerEnumToJSON = AutomationTriggerEnumToJSON;
21
+ exports.AutomationTriggerEnumToJSONTyped = AutomationTriggerEnumToJSONTyped;
22
+ /**
23
+ * What makes the automation be evaluated.
24
+ * @export
25
+ */
26
+ exports.AutomationTriggerEnum = {
27
+ LEAD_RECEIVED: 'lead_received',
28
+ LEAD_OFFER_RECEIVED: 'lead_offer_received',
29
+ LEAD_MESSAGE_RECEIVED: 'lead_message_received',
30
+ LEAD_OFFER_ACCEPTED: 'lead_offer_accepted',
31
+ LEAD_UNANSWERED: 'lead_unanswered'
32
+ };
33
+ function instanceOfAutomationTriggerEnum(value) {
34
+ for (var key in exports.AutomationTriggerEnum) {
35
+ if (Object.prototype.hasOwnProperty.call(exports.AutomationTriggerEnum, key)) {
36
+ if (exports.AutomationTriggerEnum[key] === value) {
37
+ return true;
38
+ }
39
+ }
40
+ }
41
+ return false;
42
+ }
43
+ function AutomationTriggerEnumFromJSON(json) {
44
+ return AutomationTriggerEnumFromJSONTyped(json, false);
45
+ }
46
+ function AutomationTriggerEnumFromJSONTyped(json, ignoreDiscriminator) {
47
+ return json;
48
+ }
49
+ function AutomationTriggerEnumToJSON(value) {
50
+ return value;
51
+ }
52
+ function AutomationTriggerEnumToJSONTyped(value, ignoreDiscriminator) {
53
+ return value;
54
+ }
@@ -58,11 +58,19 @@ export interface DomainSellerDto {
58
58
  */
59
59
  avatar: string | null;
60
60
  /**
61
- * Seller profile description shown on the landing page.
61
+ * Seller profile description shown on the landing page in every language; null when the seller writes one by locale.
62
62
  * @type {string}
63
63
  * @memberof DomainSellerDto
64
64
  */
65
65
  description: string | null;
66
+ /**
67
+ * Seller profile description by landing page locale (en-gb, nl-be, …), when the seller writes one by locale.
68
+ * @type {{ [key: string]: string; }}
69
+ * @memberof DomainSellerDto
70
+ */
71
+ descriptions: {
72
+ [key: string]: string;
73
+ } | null;
66
74
  }
67
75
  /**
68
76
  * Check if a given object implements the DomainSellerDto interface.
@@ -38,6 +38,8 @@ function instanceOfDomainSellerDto(value) {
38
38
  return false;
39
39
  if (!('description' in value) || value['description'] === undefined)
40
40
  return false;
41
+ if (!('descriptions' in value) || value['descriptions'] === undefined)
42
+ return false;
41
43
  return true;
42
44
  }
43
45
  function DomainSellerDtoFromJSON(json) {
@@ -56,6 +58,7 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
56
58
  'name': json['name'],
57
59
  'avatar': json['avatar'],
58
60
  'description': json['description'],
61
+ 'descriptions': json['descriptions'],
59
62
  };
60
63
  }
61
64
  function DomainSellerDtoToJSON(json) {
@@ -75,5 +78,6 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
75
78
  'name': value['name'],
76
79
  'avatar': value['avatar'],
77
80
  'description': value['description'],
81
+ 'descriptions': value['descriptions'],
78
82
  };
79
83
  }
@@ -99,6 +99,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
99
99
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
100
100
  readonly WEBHOOKS: "WEBHOOKS";
101
101
  readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
102
+ readonly AUTOMATIONS: "AUTOMATIONS";
102
103
  };
103
104
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
104
105
  /**
@@ -59,7 +59,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
59
59
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
60
60
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
61
61
  WEBHOOKS: 'WEBHOOKS',
62
- CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
62
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
63
+ AUTOMATIONS: 'AUTOMATIONS'
63
64
  };
64
65
  /**
65
66
  * Check if a given object implements the FeatureFlagListItemDto interface.
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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 { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { AutomationRunDto } from './AutomationRunDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface GetAutomationRuns200Response
19
+ */
20
+ export interface GetAutomationRuns200Response {
21
+ /**
22
+ *
23
+ * @type {Array<AutomationRunDto>}
24
+ * @memberof GetAutomationRuns200Response
25
+ */
26
+ data: Array<AutomationRunDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof GetAutomationRuns200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof GetAutomationRuns200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the GetAutomationRuns200Response interface.
42
+ */
43
+ export declare function instanceOfGetAutomationRuns200Response(value: object): value is GetAutomationRuns200Response;
44
+ export declare function GetAutomationRuns200ResponseFromJSON(json: any): GetAutomationRuns200Response;
45
+ export declare function GetAutomationRuns200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAutomationRuns200Response;
46
+ export declare function GetAutomationRuns200ResponseToJSON(json: any): GetAutomationRuns200Response;
47
+ export declare function GetAutomationRuns200ResponseToJSONTyped(value?: GetAutomationRuns200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.instanceOfGetAutomationRuns200Response = instanceOfGetAutomationRuns200Response;
17
+ exports.GetAutomationRuns200ResponseFromJSON = GetAutomationRuns200ResponseFromJSON;
18
+ exports.GetAutomationRuns200ResponseFromJSONTyped = GetAutomationRuns200ResponseFromJSONTyped;
19
+ exports.GetAutomationRuns200ResponseToJSON = GetAutomationRuns200ResponseToJSON;
20
+ exports.GetAutomationRuns200ResponseToJSONTyped = GetAutomationRuns200ResponseToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var AutomationRunDto_1 = require("./AutomationRunDto");
23
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
+ /**
25
+ * Check if a given object implements the GetAutomationRuns200Response interface.
26
+ */
27
+ function instanceOfGetAutomationRuns200Response(value) {
28
+ if (!('data' in value) || value['data'] === undefined)
29
+ return false;
30
+ if (!('meta' in value) || value['meta'] === undefined)
31
+ return false;
32
+ if (!('links' in value) || value['links'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function GetAutomationRuns200ResponseFromJSON(json) {
37
+ return GetAutomationRuns200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function GetAutomationRuns200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(AutomationRunDto_1.AutomationRunDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function GetAutomationRuns200ResponseToJSON(json) {
50
+ return GetAutomationRuns200ResponseToJSONTyped(json, false);
51
+ }
52
+ function GetAutomationRuns200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(AutomationRunDto_1.AutomationRunDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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 { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { AutomationDto } from './AutomationDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface GetAutomations200Response
19
+ */
20
+ export interface GetAutomations200Response {
21
+ /**
22
+ *
23
+ * @type {Array<AutomationDto>}
24
+ * @memberof GetAutomations200Response
25
+ */
26
+ data: Array<AutomationDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof GetAutomations200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof GetAutomations200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the GetAutomations200Response interface.
42
+ */
43
+ export declare function instanceOfGetAutomations200Response(value: object): value is GetAutomations200Response;
44
+ export declare function GetAutomations200ResponseFromJSON(json: any): GetAutomations200Response;
45
+ export declare function GetAutomations200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAutomations200Response;
46
+ export declare function GetAutomations200ResponseToJSON(json: any): GetAutomations200Response;
47
+ export declare function GetAutomations200ResponseToJSONTyped(value?: GetAutomations200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.instanceOfGetAutomations200Response = instanceOfGetAutomations200Response;
17
+ exports.GetAutomations200ResponseFromJSON = GetAutomations200ResponseFromJSON;
18
+ exports.GetAutomations200ResponseFromJSONTyped = GetAutomations200ResponseFromJSONTyped;
19
+ exports.GetAutomations200ResponseToJSON = GetAutomations200ResponseToJSON;
20
+ exports.GetAutomations200ResponseToJSONTyped = GetAutomations200ResponseToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var AutomationDto_1 = require("./AutomationDto");
23
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
+ /**
25
+ * Check if a given object implements the GetAutomations200Response interface.
26
+ */
27
+ function instanceOfGetAutomations200Response(value) {
28
+ if (!('data' in value) || value['data'] === undefined)
29
+ return false;
30
+ if (!('meta' in value) || value['meta'] === undefined)
31
+ return false;
32
+ if (!('links' in value) || value['links'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function GetAutomations200ResponseFromJSON(json) {
37
+ return GetAutomations200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function GetAutomations200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(AutomationDto_1.AutomationDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function GetAutomations200ResponseToJSON(json) {
50
+ return GetAutomations200ResponseToJSONTyped(json, false);
51
+ }
52
+ function GetAutomations200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(AutomationDto_1.AutomationDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -154,6 +154,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
154
154
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
155
155
  readonly WEBHOOKS: "WEBHOOKS";
156
156
  readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
157
+ readonly AUTOMATIONS: "AUTOMATIONS";
157
158
  };
158
159
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
159
160
  /**
@@ -66,7 +66,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
66
66
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
67
67
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
68
68
  WEBHOOKS: 'WEBHOOKS',
69
- CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
69
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
70
+ AUTOMATIONS: 'AUTOMATIONS'
70
71
  };
71
72
  /**
72
73
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -96,11 +96,31 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
96
96
  */
97
97
  customDisplayName: string | null;
98
98
  /**
99
- * Owner's short description shown on the domain's landing page.
99
+ * Owner's short description shown on the domain's landing page, the same in every language.
100
100
  * @type {string}
101
101
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
102
102
  */
103
103
  ownerDescription: string | null;
104
+ /**
105
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
106
+ * @type {{ [key: string]: string; }}
107
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
108
+ */
109
+ ownerDescriptions: {
110
+ [key: string]: string;
111
+ } | null;
112
+ /**
113
+ * Whether the landing page shows the owner's description by locale instead of the single one.
114
+ * @type {boolean}
115
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
116
+ */
117
+ ownerDescriptionByLocale: boolean;
118
+ /**
119
+ * Whether the domain's landing page shows the owner's description; null follows the account.
120
+ * @type {boolean}
121
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
122
+ */
123
+ showOwnerDescription: boolean | null;
104
124
  /**
105
125
  * ISO 4217 currency code used for domain pricing.
106
126
  * @type {string}
@@ -68,6 +68,12 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
68
68
  return false;
69
69
  if (!('ownerDescription' in value) || value['ownerDescription'] === undefined)
70
70
  return false;
71
+ if (!('ownerDescriptions' in value) || value['ownerDescriptions'] === undefined)
72
+ return false;
73
+ if (!('ownerDescriptionByLocale' in value) || value['ownerDescriptionByLocale'] === undefined)
74
+ return false;
75
+ if (!('showOwnerDescription' in value) || value['showOwnerDescription'] === undefined)
76
+ return false;
71
77
  if (!('currencyCode' in value) || value['currencyCode'] === undefined)
72
78
  return false;
73
79
  if (!('buyNow' in value) || value['buyNow'] === undefined)
@@ -137,6 +143,9 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
137
143
  'displayName': json['displayName'],
138
144
  'customDisplayName': json['customDisplayName'],
139
145
  'ownerDescription': json['ownerDescription'],
146
+ 'ownerDescriptions': json['ownerDescriptions'],
147
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
148
+ 'showOwnerDescription': json['showOwnerDescription'],
140
149
  'currencyCode': json['currencyCode'],
141
150
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
142
151
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
@@ -184,6 +193,9 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
184
193
  'displayName': value['displayName'],
185
194
  'customDisplayName': value['customDisplayName'],
186
195
  'ownerDescription': value['ownerDescription'],
196
+ 'ownerDescriptions': value['ownerDescriptions'],
197
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
198
+ 'showOwnerDescription': value['showOwnerDescription'],
187
199
  'currencyCode': value['currencyCode'],
188
200
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
189
201
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
@@ -96,11 +96,31 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
96
96
  */
97
97
  customDisplayName: string | null;
98
98
  /**
99
- * Owner's short description shown on the domain's landing page.
99
+ * Owner's short description shown on the domain's landing page, the same in every language.
100
100
  * @type {string}
101
101
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
102
102
  */
103
103
  ownerDescription: string | null;
104
+ /**
105
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
106
+ * @type {{ [key: string]: string; }}
107
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
108
+ */
109
+ ownerDescriptions: {
110
+ [key: string]: string;
111
+ } | null;
112
+ /**
113
+ * Whether the landing page shows the owner's description by locale instead of the single one.
114
+ * @type {boolean}
115
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
116
+ */
117
+ ownerDescriptionByLocale: boolean;
118
+ /**
119
+ * Whether the domain's landing page shows the owner's description; null follows the account.
120
+ * @type {boolean}
121
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
122
+ */
123
+ showOwnerDescription: boolean | null;
104
124
  /**
105
125
  * ISO 4217 currency code used for domain pricing.
106
126
  * @type {string}