@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,63 @@
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.AutomationOperatorEnum = void 0;
17
+ exports.instanceOfAutomationOperatorEnum = instanceOfAutomationOperatorEnum;
18
+ exports.AutomationOperatorEnumFromJSON = AutomationOperatorEnumFromJSON;
19
+ exports.AutomationOperatorEnumFromJSONTyped = AutomationOperatorEnumFromJSONTyped;
20
+ exports.AutomationOperatorEnumToJSON = AutomationOperatorEnumToJSON;
21
+ exports.AutomationOperatorEnumToJSONTyped = AutomationOperatorEnumToJSONTyped;
22
+ /**
23
+ * How the fact is compared against the value.
24
+ * @export
25
+ */
26
+ exports.AutomationOperatorEnum = {
27
+ EQUAL: 'equal',
28
+ NOT_EQUAL: 'not_equal',
29
+ CONTAINS: 'contains',
30
+ NOT_CONTAINS: 'not_contains',
31
+ STARTS_WITH: 'starts_with',
32
+ NOT_STARTS_WITH: 'not_starts_with',
33
+ ENDS_WITH: 'ends_with',
34
+ NOT_ENDS_WITH: 'not_ends_with',
35
+ IN: 'in',
36
+ NOT_IN: 'not_in',
37
+ LESS_THAN: 'less_than',
38
+ LESS_THAN_OR_EQUAL: 'less_than_or_equal',
39
+ GREATER_THAN: 'greater_than',
40
+ GREATER_THAN_OR_EQUAL: 'greater_than_or_equal'
41
+ };
42
+ function instanceOfAutomationOperatorEnum(value) {
43
+ for (var key in exports.AutomationOperatorEnum) {
44
+ if (Object.prototype.hasOwnProperty.call(exports.AutomationOperatorEnum, key)) {
45
+ if (exports.AutomationOperatorEnum[key] === value) {
46
+ return true;
47
+ }
48
+ }
49
+ }
50
+ return false;
51
+ }
52
+ function AutomationOperatorEnumFromJSON(json) {
53
+ return AutomationOperatorEnumFromJSONTyped(json, false);
54
+ }
55
+ function AutomationOperatorEnumFromJSONTyped(json, ignoreDiscriminator) {
56
+ return json;
57
+ }
58
+ function AutomationOperatorEnumToJSON(value) {
59
+ return value;
60
+ }
61
+ function AutomationOperatorEnumToJSONTyped(value, ignoreDiscriminator) {
62
+ return value;
63
+ }
@@ -0,0 +1,46 @@
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 { AutomationActionStatusEnum } from './AutomationActionStatusEnum';
13
+ import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AutomationRunActionDto
18
+ */
19
+ export interface AutomationRunActionDto {
20
+ /**
21
+ * Action the automation ran.
22
+ * @type {AutomationActionTypeEnum}
23
+ * @memberof AutomationRunActionDto
24
+ */
25
+ type: AutomationActionTypeEnum;
26
+ /**
27
+ * How the action ended.
28
+ * @type {AutomationActionStatusEnum}
29
+ * @memberof AutomationRunActionDto
30
+ */
31
+ status: AutomationActionStatusEnum;
32
+ /**
33
+ * Code of why the action was skipped or failed.
34
+ * @type {string}
35
+ * @memberof AutomationRunActionDto
36
+ */
37
+ reason: string | null;
38
+ }
39
+ /**
40
+ * Check if a given object implements the AutomationRunActionDto interface.
41
+ */
42
+ export declare function instanceOfAutomationRunActionDto(value: object): value is AutomationRunActionDto;
43
+ export declare function AutomationRunActionDtoFromJSON(json: any): AutomationRunActionDto;
44
+ export declare function AutomationRunActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunActionDto;
45
+ export declare function AutomationRunActionDtoToJSON(json: any): AutomationRunActionDto;
46
+ export declare function AutomationRunActionDtoToJSONTyped(value?: AutomationRunActionDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfAutomationRunActionDto = instanceOfAutomationRunActionDto;
17
+ exports.AutomationRunActionDtoFromJSON = AutomationRunActionDtoFromJSON;
18
+ exports.AutomationRunActionDtoFromJSONTyped = AutomationRunActionDtoFromJSONTyped;
19
+ exports.AutomationRunActionDtoToJSON = AutomationRunActionDtoToJSON;
20
+ exports.AutomationRunActionDtoToJSONTyped = AutomationRunActionDtoToJSONTyped;
21
+ var AutomationActionStatusEnum_1 = require("./AutomationActionStatusEnum");
22
+ var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
23
+ /**
24
+ * Check if a given object implements the AutomationRunActionDto interface.
25
+ */
26
+ function instanceOfAutomationRunActionDto(value) {
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ if (!('status' in value) || value['status'] === undefined)
30
+ return false;
31
+ if (!('reason' in value) || value['reason'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function AutomationRunActionDtoFromJSON(json) {
36
+ return AutomationRunActionDtoFromJSONTyped(json, false);
37
+ }
38
+ function AutomationRunActionDtoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
44
+ 'status': (0, AutomationActionStatusEnum_1.AutomationActionStatusEnumFromJSON)(json['status']),
45
+ 'reason': json['reason'],
46
+ };
47
+ }
48
+ function AutomationRunActionDtoToJSON(json) {
49
+ return AutomationRunActionDtoToJSONTyped(json, false);
50
+ }
51
+ function AutomationRunActionDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
58
+ 'status': (0, AutomationActionStatusEnum_1.AutomationActionStatusEnumToJSON)(value['status']),
59
+ 'reason': value['reason'],
60
+ };
61
+ }
@@ -0,0 +1,58 @@
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 { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
13
+ import type { AutomationRunActionDto } from './AutomationRunActionDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AutomationRunAutomationDto
18
+ */
19
+ export interface AutomationRunAutomationDto {
20
+ /**
21
+ * Id of the automation, which may no longer exist.
22
+ * @type {string}
23
+ * @memberof AutomationRunAutomationDto
24
+ */
25
+ automationId: string;
26
+ /**
27
+ * Name the automation had when it ran.
28
+ * @type {string}
29
+ * @memberof AutomationRunAutomationDto
30
+ */
31
+ automationName: string;
32
+ /**
33
+ * Whether the conditions of the automation held.
34
+ * @type {boolean}
35
+ * @memberof AutomationRunAutomationDto
36
+ */
37
+ matched: boolean;
38
+ /**
39
+ * How each condition went, with the value its fact had.
40
+ * @type {AutomationConditionGroupEvaluationDto}
41
+ * @memberof AutomationRunAutomationDto
42
+ */
43
+ conditions: AutomationConditionGroupEvaluationDto;
44
+ /**
45
+ * Actions of the automation and how each one ended.
46
+ * @type {Array<AutomationRunActionDto>}
47
+ * @memberof AutomationRunAutomationDto
48
+ */
49
+ actions: Array<AutomationRunActionDto>;
50
+ }
51
+ /**
52
+ * Check if a given object implements the AutomationRunAutomationDto interface.
53
+ */
54
+ export declare function instanceOfAutomationRunAutomationDto(value: object): value is AutomationRunAutomationDto;
55
+ export declare function AutomationRunAutomationDtoFromJSON(json: any): AutomationRunAutomationDto;
56
+ export declare function AutomationRunAutomationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunAutomationDto;
57
+ export declare function AutomationRunAutomationDtoToJSON(json: any): AutomationRunAutomationDto;
58
+ export declare function AutomationRunAutomationDtoToJSONTyped(value?: AutomationRunAutomationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
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.instanceOfAutomationRunAutomationDto = instanceOfAutomationRunAutomationDto;
17
+ exports.AutomationRunAutomationDtoFromJSON = AutomationRunAutomationDtoFromJSON;
18
+ exports.AutomationRunAutomationDtoFromJSONTyped = AutomationRunAutomationDtoFromJSONTyped;
19
+ exports.AutomationRunAutomationDtoToJSON = AutomationRunAutomationDtoToJSON;
20
+ exports.AutomationRunAutomationDtoToJSONTyped = AutomationRunAutomationDtoToJSONTyped;
21
+ var AutomationConditionGroupEvaluationDto_1 = require("./AutomationConditionGroupEvaluationDto");
22
+ var AutomationRunActionDto_1 = require("./AutomationRunActionDto");
23
+ /**
24
+ * Check if a given object implements the AutomationRunAutomationDto interface.
25
+ */
26
+ function instanceOfAutomationRunAutomationDto(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 (!('matched' in value) || value['matched'] === undefined)
32
+ return false;
33
+ if (!('conditions' in value) || value['conditions'] === undefined)
34
+ return false;
35
+ if (!('actions' in value) || value['actions'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function AutomationRunAutomationDtoFromJSON(json) {
40
+ return AutomationRunAutomationDtoFromJSONTyped(json, false);
41
+ }
42
+ function AutomationRunAutomationDtoFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'automationId': json['automationId'],
48
+ 'automationName': json['automationName'],
49
+ 'matched': json['matched'],
50
+ 'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoFromJSON)(json['conditions']),
51
+ 'actions': (json['actions'].map(AutomationRunActionDto_1.AutomationRunActionDtoFromJSON)),
52
+ };
53
+ }
54
+ function AutomationRunAutomationDtoToJSON(json) {
55
+ return AutomationRunAutomationDtoToJSONTyped(json, false);
56
+ }
57
+ function AutomationRunAutomationDtoToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'automationId': value['automationId'],
64
+ 'automationName': value['automationName'],
65
+ 'matched': value['matched'],
66
+ 'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoToJSON)(value['conditions']),
67
+ 'actions': (value['actions'].map(AutomationRunActionDto_1.AutomationRunActionDtoToJSON)),
68
+ };
69
+ }
@@ -0,0 +1,65 @@
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 { AutomationTriggerEnum } from './AutomationTriggerEnum';
13
+ import type { AutomationRunAutomationDto } from './AutomationRunAutomationDto';
14
+ import type { AutomationRunLeadDto } from './AutomationRunLeadDto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AutomationRunDto
19
+ */
20
+ export interface AutomationRunDto {
21
+ /**
22
+ * Run id.
23
+ * @type {string}
24
+ * @memberof AutomationRunDto
25
+ */
26
+ id: string;
27
+ /**
28
+ * What made the automations be evaluated.
29
+ * @type {AutomationTriggerEnum}
30
+ * @memberof AutomationRunDto
31
+ */
32
+ trigger: AutomationTriggerEnum;
33
+ /**
34
+ * Whether any automation of the run matched.
35
+ * @type {boolean}
36
+ * @memberof AutomationRunDto
37
+ */
38
+ matched: boolean;
39
+ /**
40
+ * Lead the automations were evaluated for.
41
+ * @type {AutomationRunLeadDto}
42
+ * @memberof AutomationRunDto
43
+ */
44
+ lead: AutomationRunLeadDto;
45
+ /**
46
+ * Automations evaluated in the run and how each one went.
47
+ * @type {Array<AutomationRunAutomationDto>}
48
+ * @memberof AutomationRunDto
49
+ */
50
+ automations: Array<AutomationRunAutomationDto>;
51
+ /**
52
+ * When the automations were evaluated.
53
+ * @type {Date}
54
+ * @memberof AutomationRunDto
55
+ */
56
+ createdAt: Date;
57
+ }
58
+ /**
59
+ * Check if a given object implements the AutomationRunDto interface.
60
+ */
61
+ export declare function instanceOfAutomationRunDto(value: object): value is AutomationRunDto;
62
+ export declare function AutomationRunDtoFromJSON(json: any): AutomationRunDto;
63
+ export declare function AutomationRunDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunDto;
64
+ export declare function AutomationRunDtoToJSON(json: any): AutomationRunDto;
65
+ export declare function AutomationRunDtoToJSONTyped(value?: AutomationRunDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
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.instanceOfAutomationRunDto = instanceOfAutomationRunDto;
17
+ exports.AutomationRunDtoFromJSON = AutomationRunDtoFromJSON;
18
+ exports.AutomationRunDtoFromJSONTyped = AutomationRunDtoFromJSONTyped;
19
+ exports.AutomationRunDtoToJSON = AutomationRunDtoToJSON;
20
+ exports.AutomationRunDtoToJSONTyped = AutomationRunDtoToJSONTyped;
21
+ var AutomationTriggerEnum_1 = require("./AutomationTriggerEnum");
22
+ var AutomationRunAutomationDto_1 = require("./AutomationRunAutomationDto");
23
+ var AutomationRunLeadDto_1 = require("./AutomationRunLeadDto");
24
+ /**
25
+ * Check if a given object implements the AutomationRunDto interface.
26
+ */
27
+ function instanceOfAutomationRunDto(value) {
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ if (!('trigger' in value) || value['trigger'] === undefined)
31
+ return false;
32
+ if (!('matched' in value) || value['matched'] === undefined)
33
+ return false;
34
+ if (!('lead' in value) || value['lead'] === undefined)
35
+ return false;
36
+ if (!('automations' in value) || value['automations'] === undefined)
37
+ return false;
38
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function AutomationRunDtoFromJSON(json) {
43
+ return AutomationRunDtoFromJSONTyped(json, false);
44
+ }
45
+ function AutomationRunDtoFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'id': json['id'],
51
+ 'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumFromJSON)(json['trigger']),
52
+ 'matched': json['matched'],
53
+ 'lead': (0, AutomationRunLeadDto_1.AutomationRunLeadDtoFromJSON)(json['lead']),
54
+ 'automations': (json['automations'].map(AutomationRunAutomationDto_1.AutomationRunAutomationDtoFromJSON)),
55
+ 'createdAt': (new Date(json['createdAt'])),
56
+ };
57
+ }
58
+ function AutomationRunDtoToJSON(json) {
59
+ return AutomationRunDtoToJSONTyped(json, false);
60
+ }
61
+ function AutomationRunDtoToJSONTyped(value, ignoreDiscriminator) {
62
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'id': value['id'],
68
+ 'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumToJSON)(value['trigger']),
69
+ 'matched': value['matched'],
70
+ 'lead': (0, AutomationRunLeadDto_1.AutomationRunLeadDtoToJSON)(value['lead']),
71
+ 'automations': (value['automations'].map(AutomationRunAutomationDto_1.AutomationRunAutomationDtoToJSON)),
72
+ 'createdAt': ((value['createdAt']).toISOString()),
73
+ };
74
+ }
@@ -0,0 +1,44 @@
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 AutomationRunLeadDto
16
+ */
17
+ export interface AutomationRunLeadDto {
18
+ /**
19
+ * Lead id.
20
+ * @type {string}
21
+ * @memberof AutomationRunLeadDto
22
+ */
23
+ id: string;
24
+ /**
25
+ * Name of the domain the lead is for.
26
+ * @type {string}
27
+ * @memberof AutomationRunLeadDto
28
+ */
29
+ domainName: string;
30
+ /**
31
+ * Email of the buyer of the lead.
32
+ * @type {string}
33
+ * @memberof AutomationRunLeadDto
34
+ */
35
+ buyerEmail: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the AutomationRunLeadDto interface.
39
+ */
40
+ export declare function instanceOfAutomationRunLeadDto(value: object): value is AutomationRunLeadDto;
41
+ export declare function AutomationRunLeadDtoFromJSON(json: any): AutomationRunLeadDto;
42
+ export declare function AutomationRunLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunLeadDto;
43
+ export declare function AutomationRunLeadDtoToJSON(json: any): AutomationRunLeadDto;
44
+ export declare function AutomationRunLeadDtoToJSONTyped(value?: AutomationRunLeadDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfAutomationRunLeadDto = instanceOfAutomationRunLeadDto;
17
+ exports.AutomationRunLeadDtoFromJSON = AutomationRunLeadDtoFromJSON;
18
+ exports.AutomationRunLeadDtoFromJSONTyped = AutomationRunLeadDtoFromJSONTyped;
19
+ exports.AutomationRunLeadDtoToJSON = AutomationRunLeadDtoToJSON;
20
+ exports.AutomationRunLeadDtoToJSONTyped = AutomationRunLeadDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AutomationRunLeadDto interface.
23
+ */
24
+ function instanceOfAutomationRunLeadDto(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('domainName' in value) || value['domainName'] === undefined)
28
+ return false;
29
+ if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function AutomationRunLeadDtoFromJSON(json) {
34
+ return AutomationRunLeadDtoFromJSONTyped(json, false);
35
+ }
36
+ function AutomationRunLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'domainName': json['domainName'],
43
+ 'buyerEmail': json['buyerEmail'],
44
+ };
45
+ }
46
+ function AutomationRunLeadDtoToJSON(json) {
47
+ return AutomationRunLeadDtoToJSONTyped(json, false);
48
+ }
49
+ function AutomationRunLeadDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'id': value['id'],
56
+ 'domainName': value['domainName'],
57
+ 'buyerEmail': value['buyerEmail'],
58
+ };
59
+ }
@@ -0,0 +1,64 @@
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 { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
13
+ import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AutomationSimulationDto
18
+ */
19
+ export interface AutomationSimulationDto {
20
+ /**
21
+ * Id of the automation.
22
+ * @type {string}
23
+ * @memberof AutomationSimulationDto
24
+ */
25
+ automationId: string;
26
+ /**
27
+ * Name of the automation.
28
+ * @type {string}
29
+ * @memberof AutomationSimulationDto
30
+ */
31
+ automationName: string;
32
+ /**
33
+ * Whether the automation is turned on.
34
+ * @type {boolean}
35
+ * @memberof AutomationSimulationDto
36
+ */
37
+ enabled: boolean;
38
+ /**
39
+ * Whether the conditions of the automation would hold.
40
+ * @type {boolean}
41
+ * @memberof AutomationSimulationDto
42
+ */
43
+ matched: boolean;
44
+ /**
45
+ * How each condition would go, with the value its fact has.
46
+ * @type {AutomationConditionGroupEvaluationDto}
47
+ * @memberof AutomationSimulationDto
48
+ */
49
+ conditions: AutomationConditionGroupEvaluationDto;
50
+ /**
51
+ * Actions of the automation.
52
+ * @type {Array<AutomationActionTypeEnum>}
53
+ * @memberof AutomationSimulationDto
54
+ */
55
+ actions: Array<AutomationActionTypeEnum>;
56
+ }
57
+ /**
58
+ * Check if a given object implements the AutomationSimulationDto interface.
59
+ */
60
+ export declare function instanceOfAutomationSimulationDto(value: object): value is AutomationSimulationDto;
61
+ export declare function AutomationSimulationDtoFromJSON(json: any): AutomationSimulationDto;
62
+ export declare function AutomationSimulationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationSimulationDto;
63
+ export declare function AutomationSimulationDtoToJSON(json: any): AutomationSimulationDto;
64
+ export declare function AutomationSimulationDtoToJSONTyped(value?: AutomationSimulationDto | null, ignoreDiscriminator?: boolean): any;