@randock/nameshift-api-client 0.0.552 → 0.0.554

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 (156) hide show
  1. package/.openapi-generator/FILES +39 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +1 -0
  4. package/dist/apis/AccountsApi.js +2 -1
  5. package/dist/apis/AutomationsApi.d.ts +160 -0
  6. package/dist/apis/AutomationsApi.js +748 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
  10. package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
  11. package/dist/models/AutomationActionDto.d.ts +45 -0
  12. package/dist/models/AutomationActionDto.js +60 -0
  13. package/dist/models/AutomationActionInput.d.ts +45 -0
  14. package/dist/models/AutomationActionInput.js +56 -0
  15. package/dist/models/AutomationActionStatusEnum.d.ts +26 -0
  16. package/dist/models/AutomationActionStatusEnum.js +52 -0
  17. package/dist/models/AutomationActionTypeEnum.d.ts +27 -0
  18. package/dist/models/AutomationActionTypeEnum.js +53 -0
  19. package/dist/models/AutomationAggregateEnum.d.ts +24 -0
  20. package/dist/models/AutomationAggregateEnum.js +50 -0
  21. package/dist/models/AutomationCatalogDelayUnitDto.d.ts +45 -0
  22. package/dist/models/AutomationCatalogDelayUnitDto.js +60 -0
  23. package/dist/models/AutomationCatalogDto.d.ts +77 -0
  24. package/dist/models/AutomationCatalogDto.js +82 -0
  25. package/dist/models/AutomationCatalogFactDto.d.ts +54 -0
  26. package/dist/models/AutomationCatalogFactDto.js +67 -0
  27. package/dist/models/AutomationCatalogTriggerDto.d.ts +60 -0
  28. package/dist/models/AutomationCatalogTriggerDto.js +71 -0
  29. package/dist/models/AutomationConditionDto.d.ts +65 -0
  30. package/dist/models/AutomationConditionDto.js +76 -0
  31. package/dist/models/AutomationConditionEvaluationDto.d.ts +77 -0
  32. package/dist/models/AutomationConditionEvaluationDto.js +84 -0
  33. package/dist/models/AutomationConditionGroupDto.d.ts +53 -0
  34. package/dist/models/AutomationConditionGroupDto.js +68 -0
  35. package/dist/models/AutomationConditionGroupDtoChildrenInner.d.ts +27 -0
  36. package/dist/models/AutomationConditionGroupDtoChildrenInner.js +54 -0
  37. package/dist/models/AutomationConditionGroupEvaluationDto.d.ts +59 -0
  38. package/dist/models/AutomationConditionGroupEvaluationDto.js +72 -0
  39. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.d.ts +27 -0
  40. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.js +54 -0
  41. package/dist/models/AutomationConditionGroupInput.d.ts +53 -0
  42. package/dist/models/AutomationConditionGroupInput.js +68 -0
  43. package/dist/models/AutomationConditionGroupInputChildrenInner.d.ts +27 -0
  44. package/dist/models/AutomationConditionGroupInputChildrenInner.js +54 -0
  45. package/dist/models/AutomationConditionInput.d.ts +65 -0
  46. package/dist/models/AutomationConditionInput.js +74 -0
  47. package/dist/models/AutomationDelayDto.d.ts +39 -0
  48. package/dist/models/AutomationDelayDto.js +56 -0
  49. package/dist/models/AutomationDelayInput.d.ts +39 -0
  50. package/dist/models/AutomationDelayInput.js +56 -0
  51. package/dist/models/AutomationDelayUnitEnum.d.ts +25 -0
  52. package/dist/models/AutomationDelayUnitEnum.js +51 -0
  53. package/dist/models/AutomationDto.d.ts +96 -0
  54. package/dist/models/AutomationDto.js +95 -0
  55. package/dist/models/AutomationFactEnum.d.ts +36 -0
  56. package/dist/models/AutomationFactEnum.js +62 -0
  57. package/dist/models/AutomationFactGroupEnum.d.ts +27 -0
  58. package/dist/models/AutomationFactGroupEnum.js +53 -0
  59. package/dist/models/AutomationFactValueTypeEnum.d.ts +30 -0
  60. package/dist/models/AutomationFactValueTypeEnum.js +56 -0
  61. package/dist/models/AutomationGroupOperatorEnum.d.ts +25 -0
  62. package/dist/models/AutomationGroupOperatorEnum.js +51 -0
  63. package/dist/models/AutomationInput.d.ts +66 -0
  64. package/dist/models/AutomationInput.js +71 -0
  65. package/dist/models/AutomationOperatorEnum.d.ts +37 -0
  66. package/dist/models/AutomationOperatorEnum.js +63 -0
  67. package/dist/models/AutomationRunActionDto.d.ts +46 -0
  68. package/dist/models/AutomationRunActionDto.js +61 -0
  69. package/dist/models/AutomationRunAutomationDto.d.ts +58 -0
  70. package/dist/models/AutomationRunAutomationDto.js +69 -0
  71. package/dist/models/AutomationRunDto.d.ts +65 -0
  72. package/dist/models/AutomationRunDto.js +74 -0
  73. package/dist/models/AutomationRunLeadDto.d.ts +44 -0
  74. package/dist/models/AutomationRunLeadDto.js +59 -0
  75. package/dist/models/AutomationSimulationDto.d.ts +64 -0
  76. package/dist/models/AutomationSimulationDto.js +73 -0
  77. package/dist/models/AutomationStatusInput.d.ts +32 -0
  78. package/dist/models/AutomationStatusInput.js +51 -0
  79. package/dist/models/AutomationTriggerEnum.d.ts +28 -0
  80. package/dist/models/AutomationTriggerEnum.js +54 -0
  81. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  82. package/dist/models/FeatureFlagListItemDto.js +2 -1
  83. package/dist/models/GetAutomationRuns200Response.d.ts +47 -0
  84. package/dist/models/GetAutomationRuns200Response.js +62 -0
  85. package/dist/models/GetAutomations200Response.d.ts +47 -0
  86. package/dist/models/GetAutomations200Response.js +62 -0
  87. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  88. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  89. package/dist/models/InvoiceDtoTransaction.d.ts +1 -0
  90. package/dist/models/InvoiceDtoTransaction.js +2 -1
  91. package/dist/models/InvoiceTransactionDto.d.ts +1 -0
  92. package/dist/models/InvoiceTransactionDto.js +2 -1
  93. package/dist/models/LeadMessageDto.d.ts +6 -0
  94. package/dist/models/LeadMessageDto.js +4 -0
  95. package/dist/models/OrderListItemDtoTransaction.d.ts +1 -0
  96. package/dist/models/OrderListItemDtoTransaction.js +2 -1
  97. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  98. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  99. package/dist/models/SimulateAutomationsInput.d.ts +70 -0
  100. package/dist/models/SimulateAutomationsInput.js +69 -0
  101. package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
  102. package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
  103. package/dist/models/index.d.ts +38 -0
  104. package/dist/models/index.js +38 -0
  105. package/package.json +1 -1
  106. package/src/apis/AccountsApi.ts +2 -1
  107. package/src/apis/AutomationsApi.ts +622 -0
  108. package/src/apis/index.ts +1 -0
  109. package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
  110. package/src/models/AutomationActionDto.ts +94 -0
  111. package/src/models/AutomationActionInput.ts +92 -0
  112. package/src/models/AutomationActionStatusEnum.ts +54 -0
  113. package/src/models/AutomationActionTypeEnum.ts +55 -0
  114. package/src/models/AutomationAggregateEnum.ts +52 -0
  115. package/src/models/AutomationCatalogDelayUnitDto.ts +94 -0
  116. package/src/models/AutomationCatalogDto.ts +151 -0
  117. package/src/models/AutomationCatalogFactDto.ts +124 -0
  118. package/src/models/AutomationCatalogTriggerDto.ts +133 -0
  119. package/src/models/AutomationConditionDto.ts +127 -0
  120. package/src/models/AutomationConditionEvaluationDto.ts +145 -0
  121. package/src/models/AutomationConditionGroupDto.ts +109 -0
  122. package/src/models/AutomationConditionGroupDtoChildrenInner.ts +73 -0
  123. package/src/models/AutomationConditionGroupEvaluationDto.ts +118 -0
  124. package/src/models/AutomationConditionGroupEvaluationDtoChildrenInner.ts +73 -0
  125. package/src/models/AutomationConditionGroupInput.ts +109 -0
  126. package/src/models/AutomationConditionGroupInputChildrenInner.ts +73 -0
  127. package/src/models/AutomationConditionInput.ts +126 -0
  128. package/src/models/AutomationDelayDto.ts +85 -0
  129. package/src/models/AutomationDelayInput.ts +85 -0
  130. package/src/models/AutomationDelayUnitEnum.ts +53 -0
  131. package/src/models/AutomationDto.ts +187 -0
  132. package/src/models/AutomationFactEnum.ts +64 -0
  133. package/src/models/AutomationFactGroupEnum.ts +55 -0
  134. package/src/models/AutomationFactValueTypeEnum.ts +58 -0
  135. package/src/models/AutomationGroupOperatorEnum.ts +53 -0
  136. package/src/models/AutomationInput.ts +140 -0
  137. package/src/models/AutomationOperatorEnum.ts +65 -0
  138. package/src/models/AutomationRunActionDto.ts +101 -0
  139. package/src/models/AutomationRunAutomationDto.ts +117 -0
  140. package/src/models/AutomationRunDto.ts +135 -0
  141. package/src/models/AutomationRunLeadDto.ts +84 -0
  142. package/src/models/AutomationSimulationDto.ts +126 -0
  143. package/src/models/AutomationStatusInput.ts +66 -0
  144. package/src/models/AutomationTriggerEnum.ts +56 -0
  145. package/src/models/FeatureFlagListItemDto.ts +2 -1
  146. package/src/models/GetAutomationRuns200Response.ts +106 -0
  147. package/src/models/GetAutomations200Response.ts +106 -0
  148. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  149. package/src/models/InvoiceDtoTransaction.ts +2 -1
  150. package/src/models/InvoiceTransactionDto.ts +2 -1
  151. package/src/models/LeadMessageDto.ts +9 -0
  152. package/src/models/OrderListItemDtoTransaction.ts +2 -1
  153. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  154. package/src/models/SimulateAutomationsInput.ts +133 -0
  155. package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
  156. package/src/models/index.ts +38 -0
@@ -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
+ }
@@ -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.
@@ -49,6 +49,7 @@ export declare const InvoiceDtoTransactionGatewayEnum: {
49
49
  readonly MOLLIE: "mollie";
50
50
  readonly NICKY: "nicky";
51
51
  readonly AIRWALLEX: "airwallex";
52
+ readonly RADOM: "radom";
52
53
  };
53
54
  export type InvoiceDtoTransactionGatewayEnum = typeof InvoiceDtoTransactionGatewayEnum[keyof typeof InvoiceDtoTransactionGatewayEnum];
54
55
  /**
@@ -27,7 +27,8 @@ exports.InvoiceDtoTransactionGatewayEnum = {
27
27
  STRIPE: 'stripe',
28
28
  MOLLIE: 'mollie',
29
29
  NICKY: 'nicky',
30
- AIRWALLEX: 'airwallex'
30
+ AIRWALLEX: 'airwallex',
31
+ RADOM: 'radom'
31
32
  };
32
33
  /**
33
34
  * Check if a given object implements the InvoiceDtoTransaction interface.
@@ -79,6 +79,7 @@ export declare const InvoiceTransactionDtoGatewayEnum: {
79
79
  readonly MOLLIE: "mollie";
80
80
  readonly NICKY: "nicky";
81
81
  readonly AIRWALLEX: "airwallex";
82
+ readonly RADOM: "radom";
82
83
  };
83
84
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
84
85
  /**
@@ -27,7 +27,8 @@ exports.InvoiceTransactionDtoGatewayEnum = {
27
27
  STRIPE: 'stripe',
28
28
  MOLLIE: 'mollie',
29
29
  NICKY: 'nicky',
30
- AIRWALLEX: 'airwallex'
30
+ AIRWALLEX: 'airwallex',
31
+ RADOM: 'radom'
31
32
  };
32
33
  /**
33
34
  * @export
@@ -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
  }
@@ -66,6 +66,7 @@ export declare const OrderListItemDtoTransactionGatewayEnum: {
66
66
  readonly MOLLIE: "mollie";
67
67
  readonly NICKY: "nicky";
68
68
  readonly AIRWALLEX: "airwallex";
69
+ readonly RADOM: "radom";
69
70
  };
70
71
  export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
71
72
  /**
@@ -37,7 +37,8 @@ exports.OrderListItemDtoTransactionGatewayEnum = {
37
37
  STRIPE: 'stripe',
38
38
  MOLLIE: 'mollie',
39
39
  NICKY: 'nicky',
40
- AIRWALLEX: 'airwallex'
40
+ AIRWALLEX: 'airwallex',
41
+ RADOM: 'radom'
41
42
  };
42
43
  /**
43
44
  * @export
@@ -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
+ }
@@ -42,6 +42,7 @@ export declare const SubscriptionListItemDtoTransactionGatewayEnum: {
42
42
  readonly MOLLIE: "mollie";
43
43
  readonly NICKY: "nicky";
44
44
  readonly AIRWALLEX: "airwallex";
45
+ readonly RADOM: "radom";
45
46
  };
46
47
  export type SubscriptionListItemDtoTransactionGatewayEnum = typeof SubscriptionListItemDtoTransactionGatewayEnum[keyof typeof SubscriptionListItemDtoTransactionGatewayEnum];
47
48
  /**
@@ -26,7 +26,8 @@ exports.SubscriptionListItemDtoTransactionGatewayEnum = {
26
26
  STRIPE: 'stripe',
27
27
  MOLLIE: 'mollie',
28
28
  NICKY: 'nicky',
29
- AIRWALLEX: 'airwallex'
29
+ AIRWALLEX: 'airwallex',
30
+ RADOM: 'radom'
30
31
  };
31
32
  /**
32
33
  * Check if a given object implements the SubscriptionListItemDtoTransaction interface.