@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
@@ -156,11 +156,29 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
156
156
  */
157
157
  customDisplayName: string | null;
158
158
  /**
159
- * Owner's short description shown on the domain's landing page.
159
+ * Owner's short description shown on the domain's landing page, the same in every language.
160
160
  * @type {string}
161
161
  * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
162
162
  */
163
163
  ownerDescription: string | null;
164
+ /**
165
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
166
+ * @type {{ [key: string]: string; }}
167
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
168
+ */
169
+ ownerDescriptions: { [key: string]: string; } | null;
170
+ /**
171
+ * Whether the landing page shows the owner's description by locale instead of the single one.
172
+ * @type {boolean}
173
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
174
+ */
175
+ ownerDescriptionByLocale: boolean;
176
+ /**
177
+ * Whether the domain's landing page shows the owner's description; null follows the account.
178
+ * @type {boolean}
179
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
180
+ */
181
+ showOwnerDescription: boolean | null;
164
182
  /**
165
183
  * ISO 4217 currency code used for domain pricing.
166
184
  * @type {string}
@@ -352,6 +370,9 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(v
352
370
  if (!('displayName' in value) || value['displayName'] === undefined) return false;
353
371
  if (!('customDisplayName' in value) || value['customDisplayName'] === undefined) return false;
354
372
  if (!('ownerDescription' in value) || value['ownerDescription'] === undefined) return false;
373
+ if (!('ownerDescriptions' in value) || value['ownerDescriptions'] === undefined) return false;
374
+ if (!('ownerDescriptionByLocale' in value) || value['ownerDescriptionByLocale'] === undefined) return false;
375
+ if (!('showOwnerDescription' in value) || value['showOwnerDescription'] === undefined) return false;
355
376
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
356
377
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
357
378
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
@@ -402,6 +423,9 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONType
402
423
  'displayName': json['displayName'],
403
424
  'customDisplayName': json['customDisplayName'],
404
425
  'ownerDescription': json['ownerDescription'],
426
+ 'ownerDescriptions': json['ownerDescriptions'],
427
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
428
+ 'showOwnerDescription': json['showOwnerDescription'],
405
429
  'currencyCode': json['currencyCode'],
406
430
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
407
431
  'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
@@ -453,6 +477,9 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(
453
477
  'displayName': value['displayName'],
454
478
  'customDisplayName': value['customDisplayName'],
455
479
  'ownerDescription': value['ownerDescription'],
480
+ 'ownerDescriptions': value['ownerDescriptions'],
481
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
482
+ 'showOwnerDescription': value['showOwnerDescription'],
456
483
  'currencyCode': value['currencyCode'],
457
484
  'buyNow': MoneyDtoToJSON(value['buyNow']),
458
485
  'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
@@ -86,6 +86,18 @@ export interface LandingPageOriginalDesignSettingsDto {
86
86
  * @memberof LandingPageOriginalDesignSettingsDto
87
87
  */
88
88
  showContent: boolean | null;
89
+ /**
90
+ * Custom rich text (HTML) block for the landing page, the same in every language.
91
+ * @type {string}
92
+ * @memberof LandingPageOriginalDesignSettingsDto
93
+ */
94
+ sharedContent: string | null;
95
+ /**
96
+ * Whether the landing page shows the custom block by locale (contents) instead of the one for every language (sharedContent).
97
+ * @type {boolean}
98
+ * @memberof LandingPageOriginalDesignSettingsDto
99
+ */
100
+ contentByLocale: boolean;
89
101
  }
90
102
 
91
103
  /**
@@ -103,6 +115,8 @@ export function instanceOfLandingPageOriginalDesignSettingsDto(value: object): v
103
115
  if (!('contents' in value) || value['contents'] === undefined) return false;
104
116
  if (!('content' in value) || value['content'] === undefined) return false;
105
117
  if (!('showContent' in value) || value['showContent'] === undefined) return false;
118
+ if (!('sharedContent' in value) || value['sharedContent'] === undefined) return false;
119
+ if (!('contentByLocale' in value) || value['contentByLocale'] === undefined) return false;
106
120
  return true;
107
121
  }
108
122
 
@@ -127,6 +141,8 @@ export function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json: any, ign
127
141
  'contents': json['contents'],
128
142
  'content': json['content'],
129
143
  'showContent': json['showContent'],
144
+ 'sharedContent': json['sharedContent'],
145
+ 'contentByLocale': json['contentByLocale'],
130
146
  };
131
147
  }
132
148
 
@@ -152,6 +168,8 @@ export function LandingPageOriginalDesignSettingsDtoToJSONTyped(value?: LandingP
152
168
  'contents': value['contents'],
153
169
  'content': value['content'],
154
170
  'showContent': value['showContent'],
171
+ 'sharedContent': value['sharedContent'],
172
+ 'contentByLocale': value['contentByLocale'],
155
173
  };
156
174
  }
157
175
 
@@ -86,6 +86,18 @@ export interface LandingPageOriginalDesignSettingsInput {
86
86
  * @memberof LandingPageOriginalDesignSettingsInput
87
87
  */
88
88
  showContent?: boolean | null;
89
+ /**
90
+ * Custom rich text (HTML) block for the landing page, the same in every language.
91
+ * @type {string}
92
+ * @memberof LandingPageOriginalDesignSettingsInput
93
+ */
94
+ sharedContent?: string | null;
95
+ /**
96
+ * Whether the landing page shows the custom block by locale (contents) instead of the one for every language (sharedContent).
97
+ * @type {boolean}
98
+ * @memberof LandingPageOriginalDesignSettingsInput
99
+ */
100
+ contentByLocale?: boolean | null;
89
101
  }
90
102
 
91
103
  /**
@@ -116,6 +128,8 @@ export function LandingPageOriginalDesignSettingsInputFromJSONTyped(json: any, i
116
128
  'contents': json['contents'] == null ? undefined : json['contents'],
117
129
  'content': json['content'] == null ? undefined : json['content'],
118
130
  'showContent': json['showContent'] == null ? undefined : json['showContent'],
131
+ 'sharedContent': json['sharedContent'] == null ? undefined : json['sharedContent'],
132
+ 'contentByLocale': json['contentByLocale'] == null ? undefined : json['contentByLocale'],
119
133
  };
120
134
  }
121
135
 
@@ -141,6 +155,8 @@ export function LandingPageOriginalDesignSettingsInputToJSONTyped(value?: Landin
141
155
  'contents': value['contents'],
142
156
  'content': value['content'],
143
157
  'showContent': value['showContent'],
158
+ 'sharedContent': value['sharedContent'],
159
+ 'contentByLocale': value['contentByLocale'],
144
160
  };
145
161
  }
146
162
 
@@ -81,6 +81,12 @@ export interface LeadMessageDto {
81
81
  * @memberof LeadMessageDto
82
82
  */
83
83
  readByBuyer: boolean;
84
+ /**
85
+ * Automation that wrote the message on behalf of the seller. Only told to the seller.
86
+ * @type {string}
87
+ * @memberof LeadMessageDto
88
+ */
89
+ automationId: string | null;
84
90
  }
85
91
 
86
92
 
@@ -133,6 +139,7 @@ export function instanceOfLeadMessageDto(value: object): value is LeadMessageDto
133
139
  if (!('message' in value) || value['message'] === undefined) return false;
134
140
  if (!('readBySeller' in value) || value['readBySeller'] === undefined) return false;
135
141
  if (!('readByBuyer' in value) || value['readByBuyer'] === undefined) return false;
142
+ if (!('automationId' in value) || value['automationId'] === undefined) return false;
136
143
  return true;
137
144
  }
138
145
 
@@ -155,6 +162,7 @@ export function LeadMessageDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
155
162
  'message': json['message'],
156
163
  'readBySeller': json['readBySeller'],
157
164
  'readByBuyer': json['readByBuyer'],
165
+ 'automationId': json['automationId'],
158
166
  };
159
167
  }
160
168
 
@@ -178,6 +186,7 @@ export function LeadMessageDtoToJSONTyped(value?: LeadMessageDto | null, ignoreD
178
186
  'message': value['message'],
179
187
  'readBySeller': value['readBySeller'],
180
188
  'readByBuyer': value['readByBuyer'],
189
+ 'automationId': value['automationId'],
181
190
  };
182
191
  }
183
192
 
@@ -214,7 +214,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
214
214
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
215
215
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
216
216
  WEBHOOKS: 'WEBHOOKS',
217
- CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
217
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
218
+ AUTOMATIONS: 'AUTOMATIONS'
218
219
  } as const;
219
220
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
220
221
 
@@ -0,0 +1,133 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AutomationTriggerEnum } from './AutomationTriggerEnum';
17
+ import {
18
+ AutomationTriggerEnumFromJSON,
19
+ AutomationTriggerEnumFromJSONTyped,
20
+ AutomationTriggerEnumToJSON,
21
+ AutomationTriggerEnumToJSONTyped,
22
+ } from './AutomationTriggerEnum';
23
+ import type { MoneyInput } from './MoneyInput';
24
+ import {
25
+ MoneyInputFromJSON,
26
+ MoneyInputFromJSONTyped,
27
+ MoneyInputToJSON,
28
+ MoneyInputToJSONTyped,
29
+ } from './MoneyInput';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface SimulateAutomationsInput
35
+ */
36
+ export interface SimulateAutomationsInput {
37
+ /**
38
+ * What happens to the lead.
39
+ * @type {AutomationTriggerEnum}
40
+ * @memberof SimulateAutomationsInput
41
+ */
42
+ trigger: AutomationTriggerEnum;
43
+ /**
44
+ * Name of the domain the lead is for.
45
+ * @type {string}
46
+ * @memberof SimulateAutomationsInput
47
+ */
48
+ domainName: string;
49
+ /**
50
+ * Buy now price of the domain.
51
+ * @type {MoneyInput}
52
+ * @memberof SimulateAutomationsInput
53
+ */
54
+ buyNowPrice?: MoneyInput | null;
55
+ /**
56
+ * Email of the buyer.
57
+ * @type {string}
58
+ * @memberof SimulateAutomationsInput
59
+ */
60
+ buyerEmail: string;
61
+ /**
62
+ * ISO 3166-1 alpha-2 code of the country of the buyer IP.
63
+ * @type {string}
64
+ * @memberof SimulateAutomationsInput
65
+ */
66
+ buyerIpCountry?: string | null;
67
+ /**
68
+ * Offer of the buyer.
69
+ * @type {MoneyInput}
70
+ * @memberof SimulateAutomationsInput
71
+ */
72
+ offer?: MoneyInput | null;
73
+ /**
74
+ * Text of the message of the buyer.
75
+ * @type {string}
76
+ * @memberof SimulateAutomationsInput
77
+ */
78
+ message?: string | null;
79
+ }
80
+
81
+
82
+
83
+ /**
84
+ * Check if a given object implements the SimulateAutomationsInput interface.
85
+ */
86
+ export function instanceOfSimulateAutomationsInput(value: object): value is SimulateAutomationsInput {
87
+ if (!('trigger' in value) || value['trigger'] === undefined) return false;
88
+ if (!('domainName' in value) || value['domainName'] === undefined) return false;
89
+ if (!('buyerEmail' in value) || value['buyerEmail'] === undefined) return false;
90
+ return true;
91
+ }
92
+
93
+ export function SimulateAutomationsInputFromJSON(json: any): SimulateAutomationsInput {
94
+ return SimulateAutomationsInputFromJSONTyped(json, false);
95
+ }
96
+
97
+ export function SimulateAutomationsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateAutomationsInput {
98
+ if (json == null) {
99
+ return json;
100
+ }
101
+ return {
102
+
103
+ 'trigger': AutomationTriggerEnumFromJSON(json['trigger']),
104
+ 'domainName': json['domainName'],
105
+ 'buyNowPrice': json['buyNowPrice'] == null ? undefined : MoneyInputFromJSON(json['buyNowPrice']),
106
+ 'buyerEmail': json['buyerEmail'],
107
+ 'buyerIpCountry': json['buyerIpCountry'] == null ? undefined : json['buyerIpCountry'],
108
+ 'offer': json['offer'] == null ? undefined : MoneyInputFromJSON(json['offer']),
109
+ 'message': json['message'] == null ? undefined : json['message'],
110
+ };
111
+ }
112
+
113
+ export function SimulateAutomationsInputToJSON(json: any): SimulateAutomationsInput {
114
+ return SimulateAutomationsInputToJSONTyped(json, false);
115
+ }
116
+
117
+ export function SimulateAutomationsInputToJSONTyped(value?: SimulateAutomationsInput | null, ignoreDiscriminator: boolean = false): any {
118
+ if (value == null) {
119
+ return value;
120
+ }
121
+
122
+ return {
123
+
124
+ 'trigger': AutomationTriggerEnumToJSON(value['trigger']),
125
+ 'domainName': value['domainName'],
126
+ 'buyNowPrice': MoneyInputToJSON(value['buyNowPrice']),
127
+ 'buyerEmail': value['buyerEmail'],
128
+ 'buyerIpCountry': value['buyerIpCountry'],
129
+ 'offer': MoneyInputToJSON(value['offer']),
130
+ 'message': value['message'],
131
+ };
132
+ }
133
+
@@ -111,11 +111,29 @@ export interface UpdateDomainInput {
111
111
  */
112
112
  customDisplayName?: string | null;
113
113
  /**
114
- * Owner's short description shown on the domain's landing page.
114
+ * Owner's short description shown on the domain's landing page, the same in every language.
115
115
  * @type {string}
116
116
  * @memberof UpdateDomainInput
117
117
  */
118
118
  ownerDescription?: string | null;
119
+ /**
120
+ * Owner's short description by landing page locale (en-gb) or language (en, every English locale).
121
+ * @type {{ [key: string]: string | null; }}
122
+ * @memberof UpdateDomainInput
123
+ */
124
+ ownerDescriptions?: { [key: string]: string | null; } | null;
125
+ /**
126
+ * Whether the landing page shows the owner's description by locale instead of the single one.
127
+ * @type {boolean}
128
+ * @memberof UpdateDomainInput
129
+ */
130
+ ownerDescriptionByLocale?: boolean;
131
+ /**
132
+ * Whether the domain's landing page shows the owner's description; null follows the account.
133
+ * @type {boolean}
134
+ * @memberof UpdateDomainInput
135
+ */
136
+ showOwnerDescription?: boolean | null;
119
137
  /**
120
138
  * Whether third-party sales data sharing is allowed for this domain
121
139
  * @type {boolean}
@@ -177,6 +195,9 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
177
195
  'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
178
196
  'customDisplayName': json['customDisplayName'] == null ? undefined : json['customDisplayName'],
179
197
  'ownerDescription': json['ownerDescription'] == null ? undefined : json['ownerDescription'],
198
+ 'ownerDescriptions': json['ownerDescriptions'] == null ? undefined : json['ownerDescriptions'],
199
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'] == null ? undefined : json['ownerDescriptionByLocale'],
200
+ 'showOwnerDescription': json['showOwnerDescription'] == null ? undefined : json['showOwnerDescription'],
180
201
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
181
202
  'leadPriceNegotiator': json['leadPriceNegotiator'] == null ? undefined : DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json['leadPriceNegotiator']),
182
203
  'leadVerification': json['leadVerification'] == null ? undefined : LeadVerificationInputFromJSON(json['leadVerification']),
@@ -203,6 +224,9 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
203
224
  'landingPage': LandingPageInputToJSON(value['landingPage']),
204
225
  'customDisplayName': value['customDisplayName'],
205
226
  'ownerDescription': value['ownerDescription'],
227
+ 'ownerDescriptions': value['ownerDescriptions'],
228
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
229
+ 'showOwnerDescription': value['showOwnerDescription'],
206
230
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
207
231
  'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON(value['leadPriceNegotiator']),
208
232
  'leadVerification': LeadVerificationInputToJSON(value['leadVerification']),
@@ -108,6 +108,41 @@ export * from './AuctionListItemDto';
108
108
  export * from './AuctionListItemDtoDomainInformation';
109
109
  export * from './AuctionListItemDtoSellerAccount';
110
110
  export * from './AuctionsStatsDto';
111
+ export * from './AutomationActionDto';
112
+ export * from './AutomationActionInput';
113
+ export * from './AutomationActionStatusEnum';
114
+ export * from './AutomationActionTypeEnum';
115
+ export * from './AutomationAggregateEnum';
116
+ export * from './AutomationCatalogDelayUnitDto';
117
+ export * from './AutomationCatalogDto';
118
+ export * from './AutomationCatalogFactDto';
119
+ export * from './AutomationCatalogTriggerDto';
120
+ export * from './AutomationConditionDto';
121
+ export * from './AutomationConditionEvaluationDto';
122
+ export * from './AutomationConditionGroupDto';
123
+ export * from './AutomationConditionGroupDtoChildrenInner';
124
+ export * from './AutomationConditionGroupEvaluationDto';
125
+ export * from './AutomationConditionGroupEvaluationDtoChildrenInner';
126
+ export * from './AutomationConditionGroupInput';
127
+ export * from './AutomationConditionGroupInputChildrenInner';
128
+ export * from './AutomationConditionInput';
129
+ export * from './AutomationDelayDto';
130
+ export * from './AutomationDelayInput';
131
+ export * from './AutomationDelayUnitEnum';
132
+ export * from './AutomationDto';
133
+ export * from './AutomationFactEnum';
134
+ export * from './AutomationFactGroupEnum';
135
+ export * from './AutomationFactValueTypeEnum';
136
+ export * from './AutomationGroupOperatorEnum';
137
+ export * from './AutomationInput';
138
+ export * from './AutomationOperatorEnum';
139
+ export * from './AutomationRunActionDto';
140
+ export * from './AutomationRunAutomationDto';
141
+ export * from './AutomationRunDto';
142
+ export * from './AutomationRunLeadDto';
143
+ export * from './AutomationSimulationDto';
144
+ export * from './AutomationStatusInput';
145
+ export * from './AutomationTriggerEnum';
111
146
  export * from './BadRequestException';
112
147
  export * from './BankAccountFormatCountryDto';
113
148
  export * from './BankAccountFormatDto';
@@ -311,6 +346,8 @@ export * from './GetAllOwnedDomains200Response';
311
346
  export * from './GetAllReferrals200Response';
312
347
  export * from './GetAllSubscriptions200Response';
313
348
  export * from './GetAllSubscriptions200Response1';
349
+ export * from './GetAutomationRuns200Response';
350
+ export * from './GetAutomations200Response';
314
351
  export * from './GetBuyerAuctions200Response';
315
352
  export * from './GetBuyerDomainAppraisalRequests200Response';
316
353
  export * from './GetBuyerInvoices200Response';
@@ -587,6 +624,7 @@ export * from './SetDomainTransferConfirmationInput';
587
624
  export * from './SetNewPasswordInput';
588
625
  export * from './SetPayoutFrequencyInput';
589
626
  export * from './SetPayoutProviderInput';
627
+ export * from './SimulateAutomationsInput';
590
628
  export * from './SimulateCommissionInput';
591
629
  export * from './StartAuctionInput';
592
630
  export * from './StateDto';