@randock/nameshift-api-client 0.0.552 → 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 (138) 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/AutomationActionDto.d.ts +45 -0
  8. package/dist/models/AutomationActionDto.js +60 -0
  9. package/dist/models/AutomationActionInput.d.ts +45 -0
  10. package/dist/models/AutomationActionInput.js +56 -0
  11. package/dist/models/AutomationActionStatusEnum.d.ts +26 -0
  12. package/dist/models/AutomationActionStatusEnum.js +52 -0
  13. package/dist/models/AutomationActionTypeEnum.d.ts +27 -0
  14. package/dist/models/AutomationActionTypeEnum.js +53 -0
  15. package/dist/models/AutomationAggregateEnum.d.ts +24 -0
  16. package/dist/models/AutomationAggregateEnum.js +50 -0
  17. package/dist/models/AutomationCatalogDelayUnitDto.d.ts +45 -0
  18. package/dist/models/AutomationCatalogDelayUnitDto.js +60 -0
  19. package/dist/models/AutomationCatalogDto.d.ts +77 -0
  20. package/dist/models/AutomationCatalogDto.js +82 -0
  21. package/dist/models/AutomationCatalogFactDto.d.ts +54 -0
  22. package/dist/models/AutomationCatalogFactDto.js +67 -0
  23. package/dist/models/AutomationCatalogTriggerDto.d.ts +60 -0
  24. package/dist/models/AutomationCatalogTriggerDto.js +71 -0
  25. package/dist/models/AutomationConditionDto.d.ts +65 -0
  26. package/dist/models/AutomationConditionDto.js +76 -0
  27. package/dist/models/AutomationConditionEvaluationDto.d.ts +77 -0
  28. package/dist/models/AutomationConditionEvaluationDto.js +84 -0
  29. package/dist/models/AutomationConditionGroupDto.d.ts +53 -0
  30. package/dist/models/AutomationConditionGroupDto.js +68 -0
  31. package/dist/models/AutomationConditionGroupDtoChildrenInner.d.ts +27 -0
  32. package/dist/models/AutomationConditionGroupDtoChildrenInner.js +54 -0
  33. package/dist/models/AutomationConditionGroupEvaluationDto.d.ts +59 -0
  34. package/dist/models/AutomationConditionGroupEvaluationDto.js +72 -0
  35. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.d.ts +27 -0
  36. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.js +54 -0
  37. package/dist/models/AutomationConditionGroupInput.d.ts +53 -0
  38. package/dist/models/AutomationConditionGroupInput.js +68 -0
  39. package/dist/models/AutomationConditionGroupInputChildrenInner.d.ts +27 -0
  40. package/dist/models/AutomationConditionGroupInputChildrenInner.js +54 -0
  41. package/dist/models/AutomationConditionInput.d.ts +65 -0
  42. package/dist/models/AutomationConditionInput.js +74 -0
  43. package/dist/models/AutomationDelayDto.d.ts +39 -0
  44. package/dist/models/AutomationDelayDto.js +56 -0
  45. package/dist/models/AutomationDelayInput.d.ts +39 -0
  46. package/dist/models/AutomationDelayInput.js +56 -0
  47. package/dist/models/AutomationDelayUnitEnum.d.ts +25 -0
  48. package/dist/models/AutomationDelayUnitEnum.js +51 -0
  49. package/dist/models/AutomationDto.d.ts +96 -0
  50. package/dist/models/AutomationDto.js +95 -0
  51. package/dist/models/AutomationFactEnum.d.ts +36 -0
  52. package/dist/models/AutomationFactEnum.js +62 -0
  53. package/dist/models/AutomationFactGroupEnum.d.ts +27 -0
  54. package/dist/models/AutomationFactGroupEnum.js +53 -0
  55. package/dist/models/AutomationFactValueTypeEnum.d.ts +30 -0
  56. package/dist/models/AutomationFactValueTypeEnum.js +56 -0
  57. package/dist/models/AutomationGroupOperatorEnum.d.ts +25 -0
  58. package/dist/models/AutomationGroupOperatorEnum.js +51 -0
  59. package/dist/models/AutomationInput.d.ts +66 -0
  60. package/dist/models/AutomationInput.js +71 -0
  61. package/dist/models/AutomationOperatorEnum.d.ts +37 -0
  62. package/dist/models/AutomationOperatorEnum.js +63 -0
  63. package/dist/models/AutomationRunActionDto.d.ts +46 -0
  64. package/dist/models/AutomationRunActionDto.js +61 -0
  65. package/dist/models/AutomationRunAutomationDto.d.ts +58 -0
  66. package/dist/models/AutomationRunAutomationDto.js +69 -0
  67. package/dist/models/AutomationRunDto.d.ts +65 -0
  68. package/dist/models/AutomationRunDto.js +74 -0
  69. package/dist/models/AutomationRunLeadDto.d.ts +44 -0
  70. package/dist/models/AutomationRunLeadDto.js +59 -0
  71. package/dist/models/AutomationSimulationDto.d.ts +64 -0
  72. package/dist/models/AutomationSimulationDto.js +73 -0
  73. package/dist/models/AutomationStatusInput.d.ts +32 -0
  74. package/dist/models/AutomationStatusInput.js +51 -0
  75. package/dist/models/AutomationTriggerEnum.d.ts +28 -0
  76. package/dist/models/AutomationTriggerEnum.js +54 -0
  77. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  78. package/dist/models/FeatureFlagListItemDto.js +2 -1
  79. package/dist/models/GetAutomationRuns200Response.d.ts +47 -0
  80. package/dist/models/GetAutomationRuns200Response.js +62 -0
  81. package/dist/models/GetAutomations200Response.d.ts +47 -0
  82. package/dist/models/GetAutomations200Response.js +62 -0
  83. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  84. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  85. package/dist/models/LeadMessageDto.d.ts +6 -0
  86. package/dist/models/LeadMessageDto.js +4 -0
  87. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  88. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  89. package/dist/models/SimulateAutomationsInput.d.ts +70 -0
  90. package/dist/models/SimulateAutomationsInput.js +69 -0
  91. package/dist/models/index.d.ts +38 -0
  92. package/dist/models/index.js +38 -0
  93. package/package.json +1 -1
  94. package/src/apis/AutomationsApi.ts +622 -0
  95. package/src/apis/index.ts +1 -0
  96. package/src/models/AutomationActionDto.ts +94 -0
  97. package/src/models/AutomationActionInput.ts +92 -0
  98. package/src/models/AutomationActionStatusEnum.ts +54 -0
  99. package/src/models/AutomationActionTypeEnum.ts +55 -0
  100. package/src/models/AutomationAggregateEnum.ts +52 -0
  101. package/src/models/AutomationCatalogDelayUnitDto.ts +94 -0
  102. package/src/models/AutomationCatalogDto.ts +151 -0
  103. package/src/models/AutomationCatalogFactDto.ts +124 -0
  104. package/src/models/AutomationCatalogTriggerDto.ts +133 -0
  105. package/src/models/AutomationConditionDto.ts +127 -0
  106. package/src/models/AutomationConditionEvaluationDto.ts +145 -0
  107. package/src/models/AutomationConditionGroupDto.ts +109 -0
  108. package/src/models/AutomationConditionGroupDtoChildrenInner.ts +73 -0
  109. package/src/models/AutomationConditionGroupEvaluationDto.ts +118 -0
  110. package/src/models/AutomationConditionGroupEvaluationDtoChildrenInner.ts +73 -0
  111. package/src/models/AutomationConditionGroupInput.ts +109 -0
  112. package/src/models/AutomationConditionGroupInputChildrenInner.ts +73 -0
  113. package/src/models/AutomationConditionInput.ts +126 -0
  114. package/src/models/AutomationDelayDto.ts +85 -0
  115. package/src/models/AutomationDelayInput.ts +85 -0
  116. package/src/models/AutomationDelayUnitEnum.ts +53 -0
  117. package/src/models/AutomationDto.ts +187 -0
  118. package/src/models/AutomationFactEnum.ts +64 -0
  119. package/src/models/AutomationFactGroupEnum.ts +55 -0
  120. package/src/models/AutomationFactValueTypeEnum.ts +58 -0
  121. package/src/models/AutomationGroupOperatorEnum.ts +53 -0
  122. package/src/models/AutomationInput.ts +140 -0
  123. package/src/models/AutomationOperatorEnum.ts +65 -0
  124. package/src/models/AutomationRunActionDto.ts +101 -0
  125. package/src/models/AutomationRunAutomationDto.ts +117 -0
  126. package/src/models/AutomationRunDto.ts +135 -0
  127. package/src/models/AutomationRunLeadDto.ts +84 -0
  128. package/src/models/AutomationSimulationDto.ts +126 -0
  129. package/src/models/AutomationStatusInput.ts +66 -0
  130. package/src/models/AutomationTriggerEnum.ts +56 -0
  131. package/src/models/FeatureFlagListItemDto.ts +2 -1
  132. package/src/models/GetAutomationRuns200Response.ts +106 -0
  133. package/src/models/GetAutomations200Response.ts +106 -0
  134. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  135. package/src/models/LeadMessageDto.ts +9 -0
  136. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  137. package/src/models/SimulateAutomationsInput.ts +133 -0
  138. package/src/models/index.ts +38 -0
@@ -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
+ }
@@ -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.
@@ -70,6 +70,12 @@ export interface LeadMessageDto {
70
70
  * @memberof LeadMessageDto
71
71
  */
72
72
  readByBuyer: boolean;
73
+ /**
74
+ * Automation that wrote the message on behalf of the seller. Only told to the seller.
75
+ * @type {string}
76
+ * @memberof LeadMessageDto
77
+ */
78
+ automationId: string | null;
73
79
  }
74
80
  /**
75
81
  * @export
@@ -71,6 +71,8 @@ function instanceOfLeadMessageDto(value) {
71
71
  return false;
72
72
  if (!('readByBuyer' in value) || value['readByBuyer'] === undefined)
73
73
  return false;
74
+ if (!('automationId' in value) || value['automationId'] === undefined)
75
+ return false;
74
76
  return true;
75
77
  }
76
78
  function LeadMessageDtoFromJSON(json) {
@@ -90,6 +92,7 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
90
92
  'message': json['message'],
91
93
  'readBySeller': json['readBySeller'],
92
94
  'readByBuyer': json['readByBuyer'],
95
+ 'automationId': json['automationId'],
93
96
  };
94
97
  }
95
98
  function LeadMessageDtoToJSON(json) {
@@ -110,5 +113,6 @@ function LeadMessageDtoToJSONTyped(value, ignoreDiscriminator) {
110
113
  'message': value['message'],
111
114
  'readBySeller': value['readBySeller'],
112
115
  'readByBuyer': value['readByBuyer'],
116
+ 'automationId': value['automationId'],
113
117
  };
114
118
  }
@@ -166,6 +166,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
166
166
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
167
167
  readonly WEBHOOKS: "WEBHOOKS";
168
168
  readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
169
+ readonly AUTOMATIONS: "AUTOMATIONS";
169
170
  };
170
171
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
171
172
  /**
@@ -66,7 +66,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
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 PrivateAccountGetMeResponse interface.
@@ -0,0 +1,70 @@
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 { MoneyInput } from './MoneyInput';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SimulateAutomationsInput
18
+ */
19
+ export interface SimulateAutomationsInput {
20
+ /**
21
+ * What happens to the lead.
22
+ * @type {AutomationTriggerEnum}
23
+ * @memberof SimulateAutomationsInput
24
+ */
25
+ trigger: AutomationTriggerEnum;
26
+ /**
27
+ * Name of the domain the lead is for.
28
+ * @type {string}
29
+ * @memberof SimulateAutomationsInput
30
+ */
31
+ domainName: string;
32
+ /**
33
+ * Buy now price of the domain.
34
+ * @type {MoneyInput}
35
+ * @memberof SimulateAutomationsInput
36
+ */
37
+ buyNowPrice?: MoneyInput | null;
38
+ /**
39
+ * Email of the buyer.
40
+ * @type {string}
41
+ * @memberof SimulateAutomationsInput
42
+ */
43
+ buyerEmail: string;
44
+ /**
45
+ * ISO 3166-1 alpha-2 code of the country of the buyer IP.
46
+ * @type {string}
47
+ * @memberof SimulateAutomationsInput
48
+ */
49
+ buyerIpCountry?: string | null;
50
+ /**
51
+ * Offer of the buyer.
52
+ * @type {MoneyInput}
53
+ * @memberof SimulateAutomationsInput
54
+ */
55
+ offer?: MoneyInput | null;
56
+ /**
57
+ * Text of the message of the buyer.
58
+ * @type {string}
59
+ * @memberof SimulateAutomationsInput
60
+ */
61
+ message?: string | null;
62
+ }
63
+ /**
64
+ * Check if a given object implements the SimulateAutomationsInput interface.
65
+ */
66
+ export declare function instanceOfSimulateAutomationsInput(value: object): value is SimulateAutomationsInput;
67
+ export declare function SimulateAutomationsInputFromJSON(json: any): SimulateAutomationsInput;
68
+ export declare function SimulateAutomationsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateAutomationsInput;
69
+ export declare function SimulateAutomationsInputToJSON(json: any): SimulateAutomationsInput;
70
+ export declare function SimulateAutomationsInputToJSONTyped(value?: SimulateAutomationsInput | 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.instanceOfSimulateAutomationsInput = instanceOfSimulateAutomationsInput;
17
+ exports.SimulateAutomationsInputFromJSON = SimulateAutomationsInputFromJSON;
18
+ exports.SimulateAutomationsInputFromJSONTyped = SimulateAutomationsInputFromJSONTyped;
19
+ exports.SimulateAutomationsInputToJSON = SimulateAutomationsInputToJSON;
20
+ exports.SimulateAutomationsInputToJSONTyped = SimulateAutomationsInputToJSONTyped;
21
+ var AutomationTriggerEnum_1 = require("./AutomationTriggerEnum");
22
+ var MoneyInput_1 = require("./MoneyInput");
23
+ /**
24
+ * Check if a given object implements the SimulateAutomationsInput interface.
25
+ */
26
+ function instanceOfSimulateAutomationsInput(value) {
27
+ if (!('trigger' in value) || value['trigger'] === undefined)
28
+ return false;
29
+ if (!('domainName' in value) || value['domainName'] === undefined)
30
+ return false;
31
+ if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SimulateAutomationsInputFromJSON(json) {
36
+ return SimulateAutomationsInputFromJSONTyped(json, false);
37
+ }
38
+ function SimulateAutomationsInputFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumFromJSON)(json['trigger']),
44
+ 'domainName': json['domainName'],
45
+ 'buyNowPrice': json['buyNowPrice'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['buyNowPrice']),
46
+ 'buyerEmail': json['buyerEmail'],
47
+ 'buyerIpCountry': json['buyerIpCountry'] == null ? undefined : json['buyerIpCountry'],
48
+ 'offer': json['offer'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['offer']),
49
+ 'message': json['message'] == null ? undefined : json['message'],
50
+ };
51
+ }
52
+ function SimulateAutomationsInputToJSON(json) {
53
+ return SimulateAutomationsInputToJSONTyped(json, false);
54
+ }
55
+ function SimulateAutomationsInputToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumToJSON)(value['trigger']),
62
+ 'domainName': value['domainName'],
63
+ 'buyNowPrice': (0, MoneyInput_1.MoneyInputToJSON)(value['buyNowPrice']),
64
+ 'buyerEmail': value['buyerEmail'],
65
+ 'buyerIpCountry': value['buyerIpCountry'],
66
+ 'offer': (0, MoneyInput_1.MoneyInputToJSON)(value['offer']),
67
+ 'message': value['message'],
68
+ };
69
+ }
@@ -106,6 +106,41 @@ export * from './AuctionListItemDto';
106
106
  export * from './AuctionListItemDtoDomainInformation';
107
107
  export * from './AuctionListItemDtoSellerAccount';
108
108
  export * from './AuctionsStatsDto';
109
+ export * from './AutomationActionDto';
110
+ export * from './AutomationActionInput';
111
+ export * from './AutomationActionStatusEnum';
112
+ export * from './AutomationActionTypeEnum';
113
+ export * from './AutomationAggregateEnum';
114
+ export * from './AutomationCatalogDelayUnitDto';
115
+ export * from './AutomationCatalogDto';
116
+ export * from './AutomationCatalogFactDto';
117
+ export * from './AutomationCatalogTriggerDto';
118
+ export * from './AutomationConditionDto';
119
+ export * from './AutomationConditionEvaluationDto';
120
+ export * from './AutomationConditionGroupDto';
121
+ export * from './AutomationConditionGroupDtoChildrenInner';
122
+ export * from './AutomationConditionGroupEvaluationDto';
123
+ export * from './AutomationConditionGroupEvaluationDtoChildrenInner';
124
+ export * from './AutomationConditionGroupInput';
125
+ export * from './AutomationConditionGroupInputChildrenInner';
126
+ export * from './AutomationConditionInput';
127
+ export * from './AutomationDelayDto';
128
+ export * from './AutomationDelayInput';
129
+ export * from './AutomationDelayUnitEnum';
130
+ export * from './AutomationDto';
131
+ export * from './AutomationFactEnum';
132
+ export * from './AutomationFactGroupEnum';
133
+ export * from './AutomationFactValueTypeEnum';
134
+ export * from './AutomationGroupOperatorEnum';
135
+ export * from './AutomationInput';
136
+ export * from './AutomationOperatorEnum';
137
+ export * from './AutomationRunActionDto';
138
+ export * from './AutomationRunAutomationDto';
139
+ export * from './AutomationRunDto';
140
+ export * from './AutomationRunLeadDto';
141
+ export * from './AutomationSimulationDto';
142
+ export * from './AutomationStatusInput';
143
+ export * from './AutomationTriggerEnum';
109
144
  export * from './BadRequestException';
110
145
  export * from './BankAccountFormatCountryDto';
111
146
  export * from './BankAccountFormatDto';
@@ -309,6 +344,8 @@ export * from './GetAllOwnedDomains200Response';
309
344
  export * from './GetAllReferrals200Response';
310
345
  export * from './GetAllSubscriptions200Response';
311
346
  export * from './GetAllSubscriptions200Response1';
347
+ export * from './GetAutomationRuns200Response';
348
+ export * from './GetAutomations200Response';
312
349
  export * from './GetBuyerAuctions200Response';
313
350
  export * from './GetBuyerDomainAppraisalRequests200Response';
314
351
  export * from './GetBuyerInvoices200Response';
@@ -585,6 +622,7 @@ export * from './SetDomainTransferConfirmationInput';
585
622
  export * from './SetNewPasswordInput';
586
623
  export * from './SetPayoutFrequencyInput';
587
624
  export * from './SetPayoutProviderInput';
625
+ export * from './SimulateAutomationsInput';
588
626
  export * from './SimulateCommissionInput';
589
627
  export * from './StartAuctionInput';
590
628
  export * from './StateDto';
@@ -124,6 +124,41 @@ __exportStar(require("./AuctionListItemDto"), exports);
124
124
  __exportStar(require("./AuctionListItemDtoDomainInformation"), exports);
125
125
  __exportStar(require("./AuctionListItemDtoSellerAccount"), exports);
126
126
  __exportStar(require("./AuctionsStatsDto"), exports);
127
+ __exportStar(require("./AutomationActionDto"), exports);
128
+ __exportStar(require("./AutomationActionInput"), exports);
129
+ __exportStar(require("./AutomationActionStatusEnum"), exports);
130
+ __exportStar(require("./AutomationActionTypeEnum"), exports);
131
+ __exportStar(require("./AutomationAggregateEnum"), exports);
132
+ __exportStar(require("./AutomationCatalogDelayUnitDto"), exports);
133
+ __exportStar(require("./AutomationCatalogDto"), exports);
134
+ __exportStar(require("./AutomationCatalogFactDto"), exports);
135
+ __exportStar(require("./AutomationCatalogTriggerDto"), exports);
136
+ __exportStar(require("./AutomationConditionDto"), exports);
137
+ __exportStar(require("./AutomationConditionEvaluationDto"), exports);
138
+ __exportStar(require("./AutomationConditionGroupDto"), exports);
139
+ __exportStar(require("./AutomationConditionGroupDtoChildrenInner"), exports);
140
+ __exportStar(require("./AutomationConditionGroupEvaluationDto"), exports);
141
+ __exportStar(require("./AutomationConditionGroupEvaluationDtoChildrenInner"), exports);
142
+ __exportStar(require("./AutomationConditionGroupInput"), exports);
143
+ __exportStar(require("./AutomationConditionGroupInputChildrenInner"), exports);
144
+ __exportStar(require("./AutomationConditionInput"), exports);
145
+ __exportStar(require("./AutomationDelayDto"), exports);
146
+ __exportStar(require("./AutomationDelayInput"), exports);
147
+ __exportStar(require("./AutomationDelayUnitEnum"), exports);
148
+ __exportStar(require("./AutomationDto"), exports);
149
+ __exportStar(require("./AutomationFactEnum"), exports);
150
+ __exportStar(require("./AutomationFactGroupEnum"), exports);
151
+ __exportStar(require("./AutomationFactValueTypeEnum"), exports);
152
+ __exportStar(require("./AutomationGroupOperatorEnum"), exports);
153
+ __exportStar(require("./AutomationInput"), exports);
154
+ __exportStar(require("./AutomationOperatorEnum"), exports);
155
+ __exportStar(require("./AutomationRunActionDto"), exports);
156
+ __exportStar(require("./AutomationRunAutomationDto"), exports);
157
+ __exportStar(require("./AutomationRunDto"), exports);
158
+ __exportStar(require("./AutomationRunLeadDto"), exports);
159
+ __exportStar(require("./AutomationSimulationDto"), exports);
160
+ __exportStar(require("./AutomationStatusInput"), exports);
161
+ __exportStar(require("./AutomationTriggerEnum"), exports);
127
162
  __exportStar(require("./BadRequestException"), exports);
128
163
  __exportStar(require("./BankAccountFormatCountryDto"), exports);
129
164
  __exportStar(require("./BankAccountFormatDto"), exports);
@@ -327,6 +362,8 @@ __exportStar(require("./GetAllOwnedDomains200Response"), exports);
327
362
  __exportStar(require("./GetAllReferrals200Response"), exports);
328
363
  __exportStar(require("./GetAllSubscriptions200Response"), exports);
329
364
  __exportStar(require("./GetAllSubscriptions200Response1"), exports);
365
+ __exportStar(require("./GetAutomationRuns200Response"), exports);
366
+ __exportStar(require("./GetAutomations200Response"), exports);
330
367
  __exportStar(require("./GetBuyerAuctions200Response"), exports);
331
368
  __exportStar(require("./GetBuyerDomainAppraisalRequests200Response"), exports);
332
369
  __exportStar(require("./GetBuyerInvoices200Response"), exports);
@@ -603,6 +640,7 @@ __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
603
640
  __exportStar(require("./SetNewPasswordInput"), exports);
604
641
  __exportStar(require("./SetPayoutFrequencyInput"), exports);
605
642
  __exportStar(require("./SetPayoutProviderInput"), exports);
643
+ __exportStar(require("./SimulateAutomationsInput"), exports);
606
644
  __exportStar(require("./SimulateCommissionInput"), exports);
607
645
  __exportStar(require("./StartAuctionInput"), exports);
608
646
  __exportStar(require("./StateDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.552",
3
+ "version": "0.0.553",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {