@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
@@ -68,6 +68,12 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
68
68
  return false;
69
69
  if (!('ownerDescription' in value) || value['ownerDescription'] === undefined)
70
70
  return false;
71
+ if (!('ownerDescriptions' in value) || value['ownerDescriptions'] === undefined)
72
+ return false;
73
+ if (!('ownerDescriptionByLocale' in value) || value['ownerDescriptionByLocale'] === undefined)
74
+ return false;
75
+ if (!('showOwnerDescription' in value) || value['showOwnerDescription'] === undefined)
76
+ return false;
71
77
  if (!('currencyCode' in value) || value['currencyCode'] === undefined)
72
78
  return false;
73
79
  if (!('buyNow' in value) || value['buyNow'] === undefined)
@@ -137,6 +143,9 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
137
143
  'displayName': json['displayName'],
138
144
  'customDisplayName': json['customDisplayName'],
139
145
  'ownerDescription': json['ownerDescription'],
146
+ 'ownerDescriptions': json['ownerDescriptions'],
147
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
148
+ 'showOwnerDescription': json['showOwnerDescription'],
140
149
  'currencyCode': json['currencyCode'],
141
150
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
142
151
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
@@ -184,6 +193,9 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
184
193
  'displayName': value['displayName'],
185
194
  'customDisplayName': value['customDisplayName'],
186
195
  'ownerDescription': value['ownerDescription'],
196
+ 'ownerDescriptions': value['ownerDescriptions'],
197
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
198
+ 'showOwnerDescription': value['showOwnerDescription'],
187
199
  'currencyCode': value['currencyCode'],
188
200
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
189
201
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
@@ -97,11 +97,31 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
97
97
  */
98
98
  customDisplayName: string | null;
99
99
  /**
100
- * Owner's short description shown on the domain's landing page.
100
+ * Owner's short description shown on the domain's landing page, the same in every language.
101
101
  * @type {string}
102
102
  * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
103
103
  */
104
104
  ownerDescription: string | null;
105
+ /**
106
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
107
+ * @type {{ [key: string]: string; }}
108
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
109
+ */
110
+ ownerDescriptions: {
111
+ [key: string]: string;
112
+ } | null;
113
+ /**
114
+ * Whether the landing page shows the owner's description by locale instead of the single one.
115
+ * @type {boolean}
116
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
117
+ */
118
+ ownerDescriptionByLocale: boolean;
119
+ /**
120
+ * Whether the domain's landing page shows the owner's description; null follows the account.
121
+ * @type {boolean}
122
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
123
+ */
124
+ showOwnerDescription: boolean | null;
105
125
  /**
106
126
  * ISO 4217 currency code used for domain pricing.
107
127
  * @type {string}
@@ -80,6 +80,12 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(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)
@@ -151,6 +157,9 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json,
151
157
  'displayName': json['displayName'],
152
158
  'customDisplayName': json['customDisplayName'],
153
159
  'ownerDescription': json['ownerDescription'],
160
+ 'ownerDescriptions': json['ownerDescriptions'],
161
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
162
+ 'showOwnerDescription': json['showOwnerDescription'],
154
163
  'currencyCode': json['currencyCode'],
155
164
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
156
165
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
@@ -199,6 +208,9 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value,
199
208
  'displayName': value['displayName'],
200
209
  'customDisplayName': value['customDisplayName'],
201
210
  'ownerDescription': value['ownerDescription'],
211
+ 'ownerDescriptions': value['ownerDescriptions'],
212
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
213
+ 'showOwnerDescription': value['showOwnerDescription'],
202
214
  'currencyCode': value['currencyCode'],
203
215
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
204
216
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
@@ -84,6 +84,18 @@ export interface LandingPageOriginalDesignSettingsDto {
84
84
  * @memberof LandingPageOriginalDesignSettingsDto
85
85
  */
86
86
  showContent: boolean | null;
87
+ /**
88
+ * Custom rich text (HTML) block for the landing page, the same in every language.
89
+ * @type {string}
90
+ * @memberof LandingPageOriginalDesignSettingsDto
91
+ */
92
+ sharedContent: string | null;
93
+ /**
94
+ * Whether the landing page shows the custom block by locale (contents) instead of the one for every language (sharedContent).
95
+ * @type {boolean}
96
+ * @memberof LandingPageOriginalDesignSettingsDto
97
+ */
98
+ contentByLocale: boolean;
87
99
  }
88
100
  /**
89
101
  * Check if a given object implements the LandingPageOriginalDesignSettingsDto interface.
@@ -44,6 +44,10 @@ function instanceOfLandingPageOriginalDesignSettingsDto(value) {
44
44
  return false;
45
45
  if (!('showContent' in value) || value['showContent'] === undefined)
46
46
  return false;
47
+ if (!('sharedContent' in value) || value['sharedContent'] === undefined)
48
+ return false;
49
+ if (!('contentByLocale' in value) || value['contentByLocale'] === undefined)
50
+ return false;
47
51
  return true;
48
52
  }
49
53
  function LandingPageOriginalDesignSettingsDtoFromJSON(json) {
@@ -65,6 +69,8 @@ function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json, ignoreDiscrimin
65
69
  'contents': json['contents'],
66
70
  'content': json['content'],
67
71
  'showContent': json['showContent'],
72
+ 'sharedContent': json['sharedContent'],
73
+ 'contentByLocale': json['contentByLocale'],
68
74
  };
69
75
  }
70
76
  function LandingPageOriginalDesignSettingsDtoToJSON(json) {
@@ -87,5 +93,7 @@ function LandingPageOriginalDesignSettingsDtoToJSONTyped(value, ignoreDiscrimina
87
93
  'contents': value['contents'],
88
94
  'content': value['content'],
89
95
  'showContent': value['showContent'],
96
+ 'sharedContent': value['sharedContent'],
97
+ 'contentByLocale': value['contentByLocale'],
90
98
  };
91
99
  }
@@ -84,6 +84,18 @@ export interface LandingPageOriginalDesignSettingsInput {
84
84
  * @memberof LandingPageOriginalDesignSettingsInput
85
85
  */
86
86
  showContent?: boolean | null;
87
+ /**
88
+ * Custom rich text (HTML) block for the landing page, the same in every language.
89
+ * @type {string}
90
+ * @memberof LandingPageOriginalDesignSettingsInput
91
+ */
92
+ sharedContent?: string | null;
93
+ /**
94
+ * Whether the landing page shows the custom block by locale (contents) instead of the one for every language (sharedContent).
95
+ * @type {boolean}
96
+ * @memberof LandingPageOriginalDesignSettingsInput
97
+ */
98
+ contentByLocale?: boolean | null;
87
99
  }
88
100
  /**
89
101
  * Check if a given object implements the LandingPageOriginalDesignSettingsInput interface.
@@ -43,6 +43,8 @@ function LandingPageOriginalDesignSettingsInputFromJSONTyped(json, ignoreDiscrim
43
43
  'contents': json['contents'] == null ? undefined : json['contents'],
44
44
  'content': json['content'] == null ? undefined : json['content'],
45
45
  'showContent': json['showContent'] == null ? undefined : json['showContent'],
46
+ 'sharedContent': json['sharedContent'] == null ? undefined : json['sharedContent'],
47
+ 'contentByLocale': json['contentByLocale'] == null ? undefined : json['contentByLocale'],
46
48
  };
47
49
  }
48
50
  function LandingPageOriginalDesignSettingsInputToJSON(json) {
@@ -65,5 +67,7 @@ function LandingPageOriginalDesignSettingsInputToJSONTyped(value, ignoreDiscrimi
65
67
  'contents': value['contents'],
66
68
  'content': value['content'],
67
69
  'showContent': value['showContent'],
70
+ 'sharedContent': value['sharedContent'],
71
+ 'contentByLocale': value['contentByLocale'],
68
72
  };
69
73
  }
@@ -70,6 +70,12 @@ export interface LeadMessageDto {
70
70
  * @memberof LeadMessageDto
71
71
  */
72
72
  readByBuyer: boolean;
73
+ /**
74
+ * Automation that wrote the message on behalf of the seller. Only told to the seller.
75
+ * @type {string}
76
+ * @memberof LeadMessageDto
77
+ */
78
+ automationId: string | null;
73
79
  }
74
80
  /**
75
81
  * @export
@@ -71,6 +71,8 @@ function instanceOfLeadMessageDto(value) {
71
71
  return false;
72
72
  if (!('readByBuyer' in value) || value['readByBuyer'] === undefined)
73
73
  return false;
74
+ if (!('automationId' in value) || value['automationId'] === undefined)
75
+ return false;
74
76
  return true;
75
77
  }
76
78
  function LeadMessageDtoFromJSON(json) {
@@ -90,6 +92,7 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
90
92
  'message': json['message'],
91
93
  'readBySeller': json['readBySeller'],
92
94
  'readByBuyer': json['readByBuyer'],
95
+ 'automationId': json['automationId'],
93
96
  };
94
97
  }
95
98
  function LeadMessageDtoToJSON(json) {
@@ -110,5 +113,6 @@ function LeadMessageDtoToJSONTyped(value, ignoreDiscriminator) {
110
113
  'message': value['message'],
111
114
  'readBySeller': value['readBySeller'],
112
115
  'readByBuyer': value['readByBuyer'],
116
+ 'automationId': value['automationId'],
113
117
  };
114
118
  }
@@ -166,6 +166,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
166
166
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
167
167
  readonly WEBHOOKS: "WEBHOOKS";
168
168
  readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
169
+ readonly AUTOMATIONS: "AUTOMATIONS";
169
170
  };
170
171
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
171
172
  /**
@@ -66,7 +66,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
66
66
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
67
67
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
68
68
  WEBHOOKS: 'WEBHOOKS',
69
- CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
69
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
70
+ AUTOMATIONS: 'AUTOMATIONS'
70
71
  };
71
72
  /**
72
73
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AutomationTriggerEnum } from './AutomationTriggerEnum';
13
+ import type { MoneyInput } from './MoneyInput';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SimulateAutomationsInput
18
+ */
19
+ export interface SimulateAutomationsInput {
20
+ /**
21
+ * What happens to the lead.
22
+ * @type {AutomationTriggerEnum}
23
+ * @memberof SimulateAutomationsInput
24
+ */
25
+ trigger: AutomationTriggerEnum;
26
+ /**
27
+ * Name of the domain the lead is for.
28
+ * @type {string}
29
+ * @memberof SimulateAutomationsInput
30
+ */
31
+ domainName: string;
32
+ /**
33
+ * Buy now price of the domain.
34
+ * @type {MoneyInput}
35
+ * @memberof SimulateAutomationsInput
36
+ */
37
+ buyNowPrice?: MoneyInput | null;
38
+ /**
39
+ * Email of the buyer.
40
+ * @type {string}
41
+ * @memberof SimulateAutomationsInput
42
+ */
43
+ buyerEmail: string;
44
+ /**
45
+ * ISO 3166-1 alpha-2 code of the country of the buyer IP.
46
+ * @type {string}
47
+ * @memberof SimulateAutomationsInput
48
+ */
49
+ buyerIpCountry?: string | null;
50
+ /**
51
+ * Offer of the buyer.
52
+ * @type {MoneyInput}
53
+ * @memberof SimulateAutomationsInput
54
+ */
55
+ offer?: MoneyInput | null;
56
+ /**
57
+ * Text of the message of the buyer.
58
+ * @type {string}
59
+ * @memberof SimulateAutomationsInput
60
+ */
61
+ message?: string | null;
62
+ }
63
+ /**
64
+ * Check if a given object implements the SimulateAutomationsInput interface.
65
+ */
66
+ export declare function instanceOfSimulateAutomationsInput(value: object): value is SimulateAutomationsInput;
67
+ export declare function SimulateAutomationsInputFromJSON(json: any): SimulateAutomationsInput;
68
+ export declare function SimulateAutomationsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateAutomationsInput;
69
+ export declare function SimulateAutomationsInputToJSON(json: any): SimulateAutomationsInput;
70
+ export declare function SimulateAutomationsInputToJSONTyped(value?: SimulateAutomationsInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSimulateAutomationsInput = instanceOfSimulateAutomationsInput;
17
+ exports.SimulateAutomationsInputFromJSON = SimulateAutomationsInputFromJSON;
18
+ exports.SimulateAutomationsInputFromJSONTyped = SimulateAutomationsInputFromJSONTyped;
19
+ exports.SimulateAutomationsInputToJSON = SimulateAutomationsInputToJSON;
20
+ exports.SimulateAutomationsInputToJSONTyped = SimulateAutomationsInputToJSONTyped;
21
+ var AutomationTriggerEnum_1 = require("./AutomationTriggerEnum");
22
+ var MoneyInput_1 = require("./MoneyInput");
23
+ /**
24
+ * Check if a given object implements the SimulateAutomationsInput interface.
25
+ */
26
+ function instanceOfSimulateAutomationsInput(value) {
27
+ if (!('trigger' in value) || value['trigger'] === undefined)
28
+ return false;
29
+ if (!('domainName' in value) || value['domainName'] === undefined)
30
+ return false;
31
+ if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SimulateAutomationsInputFromJSON(json) {
36
+ return SimulateAutomationsInputFromJSONTyped(json, false);
37
+ }
38
+ function SimulateAutomationsInputFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumFromJSON)(json['trigger']),
44
+ 'domainName': json['domainName'],
45
+ 'buyNowPrice': json['buyNowPrice'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['buyNowPrice']),
46
+ 'buyerEmail': json['buyerEmail'],
47
+ 'buyerIpCountry': json['buyerIpCountry'] == null ? undefined : json['buyerIpCountry'],
48
+ 'offer': json['offer'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['offer']),
49
+ 'message': json['message'] == null ? undefined : json['message'],
50
+ };
51
+ }
52
+ function SimulateAutomationsInputToJSON(json) {
53
+ return SimulateAutomationsInputToJSONTyped(json, false);
54
+ }
55
+ function SimulateAutomationsInputToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumToJSON)(value['trigger']),
62
+ 'domainName': value['domainName'],
63
+ 'buyNowPrice': (0, MoneyInput_1.MoneyInputToJSON)(value['buyNowPrice']),
64
+ 'buyerEmail': value['buyerEmail'],
65
+ 'buyerIpCountry': value['buyerIpCountry'],
66
+ 'offer': (0, MoneyInput_1.MoneyInputToJSON)(value['offer']),
67
+ 'message': value['message'],
68
+ };
69
+ }
@@ -70,11 +70,31 @@ export interface UpdateDomainInput {
70
70
  */
71
71
  customDisplayName?: string | null;
72
72
  /**
73
- * Owner's short description shown on the domain's landing page.
73
+ * Owner's short description shown on the domain's landing page, the same in every language.
74
74
  * @type {string}
75
75
  * @memberof UpdateDomainInput
76
76
  */
77
77
  ownerDescription?: string | null;
78
+ /**
79
+ * Owner's short description by landing page locale (en-gb) or language (en, every English locale).
80
+ * @type {{ [key: string]: string | null; }}
81
+ * @memberof UpdateDomainInput
82
+ */
83
+ ownerDescriptions?: {
84
+ [key: string]: string | null;
85
+ } | null;
86
+ /**
87
+ * Whether the landing page shows the owner's description by locale instead of the single one.
88
+ * @type {boolean}
89
+ * @memberof UpdateDomainInput
90
+ */
91
+ ownerDescriptionByLocale?: boolean;
92
+ /**
93
+ * Whether the domain's landing page shows the owner's description; null follows the account.
94
+ * @type {boolean}
95
+ * @memberof UpdateDomainInput
96
+ */
97
+ showOwnerDescription?: boolean | null;
78
98
  /**
79
99
  * Whether third-party sales data sharing is allowed for this domain
80
100
  * @type {boolean}
@@ -59,6 +59,9 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
60
60
  'customDisplayName': json['customDisplayName'] == null ? undefined : json['customDisplayName'],
61
61
  'ownerDescription': json['ownerDescription'] == null ? undefined : json['ownerDescription'],
62
+ 'ownerDescriptions': json['ownerDescriptions'] == null ? undefined : json['ownerDescriptions'],
63
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'] == null ? undefined : json['ownerDescriptionByLocale'],
64
+ 'showOwnerDescription': json['showOwnerDescription'] == null ? undefined : json['showOwnerDescription'],
62
65
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
63
66
  'leadPriceNegotiator': json['leadPriceNegotiator'] == null ? undefined : (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiator']),
64
67
  'leadVerification': json['leadVerification'] == null ? undefined : (0, LeadVerificationInput_1.LeadVerificationInputFromJSON)(json['leadVerification']),
@@ -82,6 +85,9 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
82
85
  'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
83
86
  'customDisplayName': value['customDisplayName'],
84
87
  'ownerDescription': value['ownerDescription'],
88
+ 'ownerDescriptions': value['ownerDescriptions'],
89
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
90
+ 'showOwnerDescription': value['showOwnerDescription'],
85
91
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
86
92
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiator']),
87
93
  'leadVerification': (0, LeadVerificationInput_1.LeadVerificationInputToJSON)(value['leadVerification']),
@@ -106,6 +106,41 @@ export * from './AuctionListItemDto';
106
106
  export * from './AuctionListItemDtoDomainInformation';
107
107
  export * from './AuctionListItemDtoSellerAccount';
108
108
  export * from './AuctionsStatsDto';
109
+ export * from './AutomationActionDto';
110
+ export * from './AutomationActionInput';
111
+ export * from './AutomationActionStatusEnum';
112
+ export * from './AutomationActionTypeEnum';
113
+ export * from './AutomationAggregateEnum';
114
+ export * from './AutomationCatalogDelayUnitDto';
115
+ export * from './AutomationCatalogDto';
116
+ export * from './AutomationCatalogFactDto';
117
+ export * from './AutomationCatalogTriggerDto';
118
+ export * from './AutomationConditionDto';
119
+ export * from './AutomationConditionEvaluationDto';
120
+ export * from './AutomationConditionGroupDto';
121
+ export * from './AutomationConditionGroupDtoChildrenInner';
122
+ export * from './AutomationConditionGroupEvaluationDto';
123
+ export * from './AutomationConditionGroupEvaluationDtoChildrenInner';
124
+ export * from './AutomationConditionGroupInput';
125
+ export * from './AutomationConditionGroupInputChildrenInner';
126
+ export * from './AutomationConditionInput';
127
+ export * from './AutomationDelayDto';
128
+ export * from './AutomationDelayInput';
129
+ export * from './AutomationDelayUnitEnum';
130
+ export * from './AutomationDto';
131
+ export * from './AutomationFactEnum';
132
+ export * from './AutomationFactGroupEnum';
133
+ export * from './AutomationFactValueTypeEnum';
134
+ export * from './AutomationGroupOperatorEnum';
135
+ export * from './AutomationInput';
136
+ export * from './AutomationOperatorEnum';
137
+ export * from './AutomationRunActionDto';
138
+ export * from './AutomationRunAutomationDto';
139
+ export * from './AutomationRunDto';
140
+ export * from './AutomationRunLeadDto';
141
+ export * from './AutomationSimulationDto';
142
+ export * from './AutomationStatusInput';
143
+ export * from './AutomationTriggerEnum';
109
144
  export * from './BadRequestException';
110
145
  export * from './BankAccountFormatCountryDto';
111
146
  export * from './BankAccountFormatDto';
@@ -309,6 +344,8 @@ export * from './GetAllOwnedDomains200Response';
309
344
  export * from './GetAllReferrals200Response';
310
345
  export * from './GetAllSubscriptions200Response';
311
346
  export * from './GetAllSubscriptions200Response1';
347
+ export * from './GetAutomationRuns200Response';
348
+ export * from './GetAutomations200Response';
312
349
  export * from './GetBuyerAuctions200Response';
313
350
  export * from './GetBuyerDomainAppraisalRequests200Response';
314
351
  export * from './GetBuyerInvoices200Response';
@@ -585,6 +622,7 @@ export * from './SetDomainTransferConfirmationInput';
585
622
  export * from './SetNewPasswordInput';
586
623
  export * from './SetPayoutFrequencyInput';
587
624
  export * from './SetPayoutProviderInput';
625
+ export * from './SimulateAutomationsInput';
588
626
  export * from './SimulateCommissionInput';
589
627
  export * from './StartAuctionInput';
590
628
  export * from './StateDto';
@@ -124,6 +124,41 @@ __exportStar(require("./AuctionListItemDto"), exports);
124
124
  __exportStar(require("./AuctionListItemDtoDomainInformation"), exports);
125
125
  __exportStar(require("./AuctionListItemDtoSellerAccount"), exports);
126
126
  __exportStar(require("./AuctionsStatsDto"), exports);
127
+ __exportStar(require("./AutomationActionDto"), exports);
128
+ __exportStar(require("./AutomationActionInput"), exports);
129
+ __exportStar(require("./AutomationActionStatusEnum"), exports);
130
+ __exportStar(require("./AutomationActionTypeEnum"), exports);
131
+ __exportStar(require("./AutomationAggregateEnum"), exports);
132
+ __exportStar(require("./AutomationCatalogDelayUnitDto"), exports);
133
+ __exportStar(require("./AutomationCatalogDto"), exports);
134
+ __exportStar(require("./AutomationCatalogFactDto"), exports);
135
+ __exportStar(require("./AutomationCatalogTriggerDto"), exports);
136
+ __exportStar(require("./AutomationConditionDto"), exports);
137
+ __exportStar(require("./AutomationConditionEvaluationDto"), exports);
138
+ __exportStar(require("./AutomationConditionGroupDto"), exports);
139
+ __exportStar(require("./AutomationConditionGroupDtoChildrenInner"), exports);
140
+ __exportStar(require("./AutomationConditionGroupEvaluationDto"), exports);
141
+ __exportStar(require("./AutomationConditionGroupEvaluationDtoChildrenInner"), exports);
142
+ __exportStar(require("./AutomationConditionGroupInput"), exports);
143
+ __exportStar(require("./AutomationConditionGroupInputChildrenInner"), exports);
144
+ __exportStar(require("./AutomationConditionInput"), exports);
145
+ __exportStar(require("./AutomationDelayDto"), exports);
146
+ __exportStar(require("./AutomationDelayInput"), exports);
147
+ __exportStar(require("./AutomationDelayUnitEnum"), exports);
148
+ __exportStar(require("./AutomationDto"), exports);
149
+ __exportStar(require("./AutomationFactEnum"), exports);
150
+ __exportStar(require("./AutomationFactGroupEnum"), exports);
151
+ __exportStar(require("./AutomationFactValueTypeEnum"), exports);
152
+ __exportStar(require("./AutomationGroupOperatorEnum"), exports);
153
+ __exportStar(require("./AutomationInput"), exports);
154
+ __exportStar(require("./AutomationOperatorEnum"), exports);
155
+ __exportStar(require("./AutomationRunActionDto"), exports);
156
+ __exportStar(require("./AutomationRunAutomationDto"), exports);
157
+ __exportStar(require("./AutomationRunDto"), exports);
158
+ __exportStar(require("./AutomationRunLeadDto"), exports);
159
+ __exportStar(require("./AutomationSimulationDto"), exports);
160
+ __exportStar(require("./AutomationStatusInput"), exports);
161
+ __exportStar(require("./AutomationTriggerEnum"), exports);
127
162
  __exportStar(require("./BadRequestException"), exports);
128
163
  __exportStar(require("./BankAccountFormatCountryDto"), exports);
129
164
  __exportStar(require("./BankAccountFormatDto"), exports);
@@ -327,6 +362,8 @@ __exportStar(require("./GetAllOwnedDomains200Response"), exports);
327
362
  __exportStar(require("./GetAllReferrals200Response"), exports);
328
363
  __exportStar(require("./GetAllSubscriptions200Response"), exports);
329
364
  __exportStar(require("./GetAllSubscriptions200Response1"), exports);
365
+ __exportStar(require("./GetAutomationRuns200Response"), exports);
366
+ __exportStar(require("./GetAutomations200Response"), exports);
330
367
  __exportStar(require("./GetBuyerAuctions200Response"), exports);
331
368
  __exportStar(require("./GetBuyerDomainAppraisalRequests200Response"), exports);
332
369
  __exportStar(require("./GetBuyerInvoices200Response"), exports);
@@ -603,6 +640,7 @@ __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
603
640
  __exportStar(require("./SetNewPasswordInput"), exports);
604
641
  __exportStar(require("./SetPayoutFrequencyInput"), exports);
605
642
  __exportStar(require("./SetPayoutProviderInput"), exports);
643
+ __exportStar(require("./SimulateAutomationsInput"), exports);
606
644
  __exportStar(require("./SimulateCommissionInput"), exports);
607
645
  __exportStar(require("./StartAuctionInput"), exports);
608
646
  __exportStar(require("./StateDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.551",
3
+ "version": "0.0.553",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {