@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
@@ -5,6 +5,7 @@ export * from './AddressPublicApi';
5
5
  export * from './AdminApi';
6
6
  export * from './AuctionsApi';
7
7
  export * from './AuctionsPublicApi';
8
+ export * from './AutomationsApi';
8
9
  export * from './BankAccountsApi';
9
10
  export * from './BrokeredLeadsApi';
10
11
  export * from './BrokeredLeadsPublicApi';
@@ -23,6 +23,7 @@ __exportStar(require("./AddressPublicApi"), exports);
23
23
  __exportStar(require("./AdminApi"), exports);
24
24
  __exportStar(require("./AuctionsApi"), exports);
25
25
  __exportStar(require("./AuctionsPublicApi"), exports);
26
+ __exportStar(require("./AutomationsApi"), exports);
26
27
  __exportStar(require("./BankAccountsApi"), exports);
27
28
  __exportStar(require("./BrokeredLeadsApi"), exports);
28
29
  __exportStar(require("./BrokeredLeadsPublicApi"), exports);
@@ -68,11 +68,25 @@ export interface AccountSettingsDto {
68
68
  */
69
69
  sidn: AccountSettingsSidnDto;
70
70
  /**
71
- * Public account description.
71
+ * Public account description, the same in every language.
72
72
  * @type {string}
73
73
  * @memberof AccountSettingsDto
74
74
  */
75
75
  description: string | null;
76
+ /**
77
+ * Public account description by landing page locale (en-gb, nl-be, …).
78
+ * @type {{ [key: string]: string; }}
79
+ * @memberof AccountSettingsDto
80
+ */
81
+ descriptions: {
82
+ [key: string]: string;
83
+ } | null;
84
+ /**
85
+ * Whether the landing page shows the description by locale instead of the single description.
86
+ * @type {boolean}
87
+ * @memberof AccountSettingsDto
88
+ */
89
+ descriptionByLocale: boolean;
76
90
  /**
77
91
  * Account avatar URL.
78
92
  * @type {string}
@@ -67,6 +67,10 @@ function instanceOfAccountSettingsDto(value) {
67
67
  return false;
68
68
  if (!('description' in value) || value['description'] === undefined)
69
69
  return false;
70
+ if (!('descriptions' in value) || value['descriptions'] === undefined)
71
+ return false;
72
+ if (!('descriptionByLocale' in value) || value['descriptionByLocale'] === undefined)
73
+ return false;
70
74
  if (!('avatar' in value) || value['avatar'] === undefined)
71
75
  return false;
72
76
  if (!('alias' in value) || value['alias'] === undefined)
@@ -103,6 +107,8 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
103
107
  'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landing']),
104
108
  'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoFromJSON)(json['sidn']),
105
109
  'description': json['description'],
110
+ 'descriptions': json['descriptions'],
111
+ 'descriptionByLocale': json['descriptionByLocale'],
106
112
  'avatar': json['avatar'],
107
113
  'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoFromJSON)(json['alias']),
108
114
  'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'],
@@ -131,6 +137,8 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
131
137
  'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landing']),
132
138
  'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoToJSON)(value['sidn']),
133
139
  'description': value['description'],
140
+ 'descriptions': value['descriptions'],
141
+ 'descriptionByLocale': value['descriptionByLocale'],
134
142
  'avatar': value['avatar'],
135
143
  'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoToJSON)(value['alias']),
136
144
  'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
@@ -66,6 +66,20 @@ export interface AccountSettingsInput {
66
66
  * @memberof AccountSettingsInput
67
67
  */
68
68
  description?: string | null;
69
+ /**
70
+ * Public description by landing page locale (en-gb) or language (en, every English locale).
71
+ * @type {{ [key: string]: string | null; }}
72
+ * @memberof AccountSettingsInput
73
+ */
74
+ descriptions?: {
75
+ [key: string]: string | null;
76
+ } | null;
77
+ /**
78
+ * Whether the landing page shows the description by locale instead of the single description.
79
+ * @type {boolean}
80
+ * @memberof AccountSettingsInput
81
+ */
82
+ descriptionByLocale?: boolean;
69
83
  /**
70
84
  * Whether third-party sales data sharing is allowed by default
71
85
  * @type {boolean}
@@ -67,6 +67,8 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
68
68
  'leaseToOwn': json['leaseToOwn'] == null ? undefined : (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputFromJSON)(json['leaseToOwn']),
69
69
  'description': json['description'] == null ? undefined : json['description'],
70
+ 'descriptions': json['descriptions'] == null ? undefined : json['descriptions'],
71
+ 'descriptionByLocale': json['descriptionByLocale'] == null ? undefined : json['descriptionByLocale'],
70
72
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
71
73
  'timeTable': json['timeTable'] == null ? undefined : (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputFromJSON)(json['timeTable']),
72
74
  'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiatorAiAgent']),
@@ -96,6 +98,8 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
96
98
  'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
97
99
  'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
98
100
  'description': value['description'],
101
+ 'descriptions': value['descriptions'],
102
+ 'descriptionByLocale': value['descriptionByLocale'],
99
103
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
100
104
  'timeTable': (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputToJSON)(value['timeTable']),
101
105
  'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiatorAiAgent']),
@@ -96,11 +96,31 @@ export interface AdminDomainListItemDto {
96
96
  */
97
97
  customDisplayName: string | null;
98
98
  /**
99
- * Owner's short description shown on the domain's landing page.
99
+ * Owner's short description shown on the domain's landing page, the same in every language.
100
100
  * @type {string}
101
101
  * @memberof AdminDomainListItemDto
102
102
  */
103
103
  ownerDescription: string | null;
104
+ /**
105
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
106
+ * @type {{ [key: string]: string; }}
107
+ * @memberof AdminDomainListItemDto
108
+ */
109
+ ownerDescriptions: {
110
+ [key: string]: string;
111
+ } | null;
112
+ /**
113
+ * Whether the landing page shows the owner's description by locale instead of the single one.
114
+ * @type {boolean}
115
+ * @memberof AdminDomainListItemDto
116
+ */
117
+ ownerDescriptionByLocale: boolean;
118
+ /**
119
+ * Whether the domain's landing page shows the owner's description; null follows the account.
120
+ * @type {boolean}
121
+ * @memberof AdminDomainListItemDto
122
+ */
123
+ showOwnerDescription: boolean | null;
104
124
  /**
105
125
  * ISO 4217 currency code used for domain pricing.
106
126
  * @type {string}
@@ -80,6 +80,12 @@ function instanceOfAdminDomainListItemDto(value) {
80
80
  return false;
81
81
  if (!('ownerDescription' in value) || value['ownerDescription'] === undefined)
82
82
  return false;
83
+ if (!('ownerDescriptions' in value) || value['ownerDescriptions'] === undefined)
84
+ return false;
85
+ if (!('ownerDescriptionByLocale' in value) || value['ownerDescriptionByLocale'] === undefined)
86
+ return false;
87
+ if (!('showOwnerDescription' in value) || value['showOwnerDescription'] === undefined)
88
+ return false;
83
89
  if (!('currencyCode' in value) || value['currencyCode'] === undefined)
84
90
  return false;
85
91
  if (!('buyNow' in value) || value['buyNow'] === undefined)
@@ -149,6 +155,9 @@ function AdminDomainListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
149
155
  'displayName': json['displayName'],
150
156
  'customDisplayName': json['customDisplayName'],
151
157
  'ownerDescription': json['ownerDescription'],
158
+ 'ownerDescriptions': json['ownerDescriptions'],
159
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
160
+ 'showOwnerDescription': json['showOwnerDescription'],
152
161
  'currencyCode': json['currencyCode'],
153
162
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
154
163
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
@@ -196,6 +205,9 @@ function AdminDomainListItemDtoToJSONTyped(value, ignoreDiscriminator) {
196
205
  'displayName': value['displayName'],
197
206
  'customDisplayName': value['customDisplayName'],
198
207
  'ownerDescription': value['ownerDescription'],
208
+ 'ownerDescriptions': value['ownerDescriptions'],
209
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
210
+ 'showOwnerDescription': value['showOwnerDescription'],
199
211
  'currencyCode': value['currencyCode'],
200
212
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
201
213
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
@@ -0,0 +1,45 @@
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 { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AutomationActionDto
17
+ */
18
+ export interface AutomationActionDto {
19
+ /**
20
+ * What the automation does to the lead.
21
+ * @type {AutomationActionTypeEnum}
22
+ * @memberof AutomationActionDto
23
+ */
24
+ type: AutomationActionTypeEnum;
25
+ /**
26
+ * Text the action sends to the buyer, with {{variable}} tokens.
27
+ * @type {string}
28
+ * @memberof AutomationActionDto
29
+ */
30
+ message: string | null;
31
+ /**
32
+ * Quick reply the action sends instead of a message of its own.
33
+ * @type {string}
34
+ * @memberof AutomationActionDto
35
+ */
36
+ quickReplyId: string | null;
37
+ }
38
+ /**
39
+ * Check if a given object implements the AutomationActionDto interface.
40
+ */
41
+ export declare function instanceOfAutomationActionDto(value: object): value is AutomationActionDto;
42
+ export declare function AutomationActionDtoFromJSON(json: any): AutomationActionDto;
43
+ export declare function AutomationActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDto;
44
+ export declare function AutomationActionDtoToJSON(json: any): AutomationActionDto;
45
+ export declare function AutomationActionDtoToJSONTyped(value?: AutomationActionDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfAutomationActionDto = instanceOfAutomationActionDto;
17
+ exports.AutomationActionDtoFromJSON = AutomationActionDtoFromJSON;
18
+ exports.AutomationActionDtoFromJSONTyped = AutomationActionDtoFromJSONTyped;
19
+ exports.AutomationActionDtoToJSON = AutomationActionDtoToJSON;
20
+ exports.AutomationActionDtoToJSONTyped = AutomationActionDtoToJSONTyped;
21
+ var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
22
+ /**
23
+ * Check if a given object implements the AutomationActionDto interface.
24
+ */
25
+ function instanceOfAutomationActionDto(value) {
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ if (!('message' in value) || value['message'] === undefined)
29
+ return false;
30
+ if (!('quickReplyId' in value) || value['quickReplyId'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function AutomationActionDtoFromJSON(json) {
35
+ return AutomationActionDtoFromJSONTyped(json, false);
36
+ }
37
+ function AutomationActionDtoFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
43
+ 'message': json['message'],
44
+ 'quickReplyId': json['quickReplyId'],
45
+ };
46
+ }
47
+ function AutomationActionDtoToJSON(json) {
48
+ return AutomationActionDtoToJSONTyped(json, false);
49
+ }
50
+ function AutomationActionDtoToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
57
+ 'message': value['message'],
58
+ 'quickReplyId': value['quickReplyId'],
59
+ };
60
+ }
@@ -0,0 +1,45 @@
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 { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AutomationActionInput
17
+ */
18
+ export interface AutomationActionInput {
19
+ /**
20
+ * What the automation does to the lead.
21
+ * @type {AutomationActionTypeEnum}
22
+ * @memberof AutomationActionInput
23
+ */
24
+ type: AutomationActionTypeEnum;
25
+ /**
26
+ * Text the action sends to the buyer, with {{variable}} tokens.
27
+ * @type {string}
28
+ * @memberof AutomationActionInput
29
+ */
30
+ message?: string | null;
31
+ /**
32
+ * Quick reply the action sends instead of a message of its own.
33
+ * @type {string}
34
+ * @memberof AutomationActionInput
35
+ */
36
+ quickReplyId?: string | null;
37
+ }
38
+ /**
39
+ * Check if a given object implements the AutomationActionInput interface.
40
+ */
41
+ export declare function instanceOfAutomationActionInput(value: object): value is AutomationActionInput;
42
+ export declare function AutomationActionInputFromJSON(json: any): AutomationActionInput;
43
+ export declare function AutomationActionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionInput;
44
+ export declare function AutomationActionInputToJSON(json: any): AutomationActionInput;
45
+ export declare function AutomationActionInputToJSONTyped(value?: AutomationActionInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfAutomationActionInput = instanceOfAutomationActionInput;
17
+ exports.AutomationActionInputFromJSON = AutomationActionInputFromJSON;
18
+ exports.AutomationActionInputFromJSONTyped = AutomationActionInputFromJSONTyped;
19
+ exports.AutomationActionInputToJSON = AutomationActionInputToJSON;
20
+ exports.AutomationActionInputToJSONTyped = AutomationActionInputToJSONTyped;
21
+ var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
22
+ /**
23
+ * Check if a given object implements the AutomationActionInput interface.
24
+ */
25
+ function instanceOfAutomationActionInput(value) {
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AutomationActionInputFromJSON(json) {
31
+ return AutomationActionInputFromJSONTyped(json, false);
32
+ }
33
+ function AutomationActionInputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
39
+ 'message': json['message'] == null ? undefined : json['message'],
40
+ 'quickReplyId': json['quickReplyId'] == null ? undefined : json['quickReplyId'],
41
+ };
42
+ }
43
+ function AutomationActionInputToJSON(json) {
44
+ return AutomationActionInputToJSONTyped(json, false);
45
+ }
46
+ function AutomationActionInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
53
+ 'message': value['message'],
54
+ 'quickReplyId': value['quickReplyId'],
55
+ };
56
+ }
@@ -0,0 +1,26 @@
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
+ * How the action ended.
14
+ * @export
15
+ */
16
+ export declare const AutomationActionStatusEnum: {
17
+ readonly EXECUTED: "executed";
18
+ readonly SKIPPED: "skipped";
19
+ readonly FAILED: "failed";
20
+ };
21
+ export type AutomationActionStatusEnum = typeof AutomationActionStatusEnum[keyof typeof AutomationActionStatusEnum];
22
+ export declare function instanceOfAutomationActionStatusEnum(value: any): boolean;
23
+ export declare function AutomationActionStatusEnumFromJSON(json: any): AutomationActionStatusEnum;
24
+ export declare function AutomationActionStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionStatusEnum;
25
+ export declare function AutomationActionStatusEnumToJSON(value?: AutomationActionStatusEnum | null): any;
26
+ export declare function AutomationActionStatusEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationActionStatusEnum;
@@ -0,0 +1,52 @@
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.AutomationActionStatusEnum = void 0;
17
+ exports.instanceOfAutomationActionStatusEnum = instanceOfAutomationActionStatusEnum;
18
+ exports.AutomationActionStatusEnumFromJSON = AutomationActionStatusEnumFromJSON;
19
+ exports.AutomationActionStatusEnumFromJSONTyped = AutomationActionStatusEnumFromJSONTyped;
20
+ exports.AutomationActionStatusEnumToJSON = AutomationActionStatusEnumToJSON;
21
+ exports.AutomationActionStatusEnumToJSONTyped = AutomationActionStatusEnumToJSONTyped;
22
+ /**
23
+ * How the action ended.
24
+ * @export
25
+ */
26
+ exports.AutomationActionStatusEnum = {
27
+ EXECUTED: 'executed',
28
+ SKIPPED: 'skipped',
29
+ FAILED: 'failed'
30
+ };
31
+ function instanceOfAutomationActionStatusEnum(value) {
32
+ for (var key in exports.AutomationActionStatusEnum) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.AutomationActionStatusEnum, key)) {
34
+ if (exports.AutomationActionStatusEnum[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function AutomationActionStatusEnumFromJSON(json) {
42
+ return AutomationActionStatusEnumFromJSONTyped(json, false);
43
+ }
44
+ function AutomationActionStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function AutomationActionStatusEnumToJSON(value) {
48
+ return value;
49
+ }
50
+ function AutomationActionStatusEnumToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -0,0 +1,27 @@
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 the automation does to the lead.
14
+ * @export
15
+ */
16
+ export declare const AutomationActionTypeEnum: {
17
+ readonly REJECT_LEAD_OFFER: "reject_lead_offer";
18
+ readonly SEND_LEAD_MESSAGE: "send_lead_message";
19
+ readonly ARCHIVE_LEAD: "archive_lead";
20
+ readonly MUTE_LEAD: "mute_lead";
21
+ };
22
+ export type AutomationActionTypeEnum = typeof AutomationActionTypeEnum[keyof typeof AutomationActionTypeEnum];
23
+ export declare function instanceOfAutomationActionTypeEnum(value: any): boolean;
24
+ export declare function AutomationActionTypeEnumFromJSON(json: any): AutomationActionTypeEnum;
25
+ export declare function AutomationActionTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionTypeEnum;
26
+ export declare function AutomationActionTypeEnumToJSON(value?: AutomationActionTypeEnum | null): any;
27
+ export declare function AutomationActionTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationActionTypeEnum;
@@ -0,0 +1,53 @@
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.AutomationActionTypeEnum = void 0;
17
+ exports.instanceOfAutomationActionTypeEnum = instanceOfAutomationActionTypeEnum;
18
+ exports.AutomationActionTypeEnumFromJSON = AutomationActionTypeEnumFromJSON;
19
+ exports.AutomationActionTypeEnumFromJSONTyped = AutomationActionTypeEnumFromJSONTyped;
20
+ exports.AutomationActionTypeEnumToJSON = AutomationActionTypeEnumToJSON;
21
+ exports.AutomationActionTypeEnumToJSONTyped = AutomationActionTypeEnumToJSONTyped;
22
+ /**
23
+ * What the automation does to the lead.
24
+ * @export
25
+ */
26
+ exports.AutomationActionTypeEnum = {
27
+ REJECT_LEAD_OFFER: 'reject_lead_offer',
28
+ SEND_LEAD_MESSAGE: 'send_lead_message',
29
+ ARCHIVE_LEAD: 'archive_lead',
30
+ MUTE_LEAD: 'mute_lead'
31
+ };
32
+ function instanceOfAutomationActionTypeEnum(value) {
33
+ for (var key in exports.AutomationActionTypeEnum) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.AutomationActionTypeEnum, key)) {
35
+ if (exports.AutomationActionTypeEnum[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function AutomationActionTypeEnumFromJSON(json) {
43
+ return AutomationActionTypeEnumFromJSONTyped(json, false);
44
+ }
45
+ function AutomationActionTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function AutomationActionTypeEnumToJSON(value) {
49
+ return value;
50
+ }
51
+ function AutomationActionTypeEnumToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
@@ -0,0 +1,24 @@
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 the trigger happens to, which triggers are grouped by.
14
+ * @export
15
+ */
16
+ export declare const AutomationAggregateEnum: {
17
+ readonly LEAD: "lead";
18
+ };
19
+ export type AutomationAggregateEnum = typeof AutomationAggregateEnum[keyof typeof AutomationAggregateEnum];
20
+ export declare function instanceOfAutomationAggregateEnum(value: any): boolean;
21
+ export declare function AutomationAggregateEnumFromJSON(json: any): AutomationAggregateEnum;
22
+ export declare function AutomationAggregateEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationAggregateEnum;
23
+ export declare function AutomationAggregateEnumToJSON(value?: AutomationAggregateEnum | null): any;
24
+ export declare function AutomationAggregateEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationAggregateEnum;
@@ -0,0 +1,50 @@
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.AutomationAggregateEnum = void 0;
17
+ exports.instanceOfAutomationAggregateEnum = instanceOfAutomationAggregateEnum;
18
+ exports.AutomationAggregateEnumFromJSON = AutomationAggregateEnumFromJSON;
19
+ exports.AutomationAggregateEnumFromJSONTyped = AutomationAggregateEnumFromJSONTyped;
20
+ exports.AutomationAggregateEnumToJSON = AutomationAggregateEnumToJSON;
21
+ exports.AutomationAggregateEnumToJSONTyped = AutomationAggregateEnumToJSONTyped;
22
+ /**
23
+ * What the trigger happens to, which triggers are grouped by.
24
+ * @export
25
+ */
26
+ exports.AutomationAggregateEnum = {
27
+ LEAD: 'lead'
28
+ };
29
+ function instanceOfAutomationAggregateEnum(value) {
30
+ for (var key in exports.AutomationAggregateEnum) {
31
+ if (Object.prototype.hasOwnProperty.call(exports.AutomationAggregateEnum, key)) {
32
+ if (exports.AutomationAggregateEnum[key] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+ function AutomationAggregateEnumFromJSON(json) {
40
+ return AutomationAggregateEnumFromJSONTyped(json, false);
41
+ }
42
+ function AutomationAggregateEnumFromJSONTyped(json, ignoreDiscriminator) {
43
+ return json;
44
+ }
45
+ function AutomationAggregateEnumToJSON(value) {
46
+ return value;
47
+ }
48
+ function AutomationAggregateEnumToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }