@randock/nameshift-api-client 0.0.239 → 0.0.241

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 (205) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/dist/apis/AdminApi.d.ts +12 -1
  5. package/dist/apis/AdminApi.js +55 -0
  6. package/dist/models/AccountBankAccountDto.d.ts +8 -8
  7. package/dist/models/AccountBankAccountDto.js +9 -7
  8. package/dist/models/AccountNotificationDto.d.ts +18 -18
  9. package/dist/models/AccountNotificationDto.js +20 -16
  10. package/dist/models/AccountOnboardingDto.d.ts +15 -15
  11. package/dist/models/AccountOnboardingDto.js +17 -13
  12. package/dist/models/AccountPayoutDto.d.ts +7 -7
  13. package/dist/models/AccountPayoutDto.js +8 -6
  14. package/dist/models/AuBankAccountDetails.d.ts +11 -11
  15. package/dist/models/AuBankAccountDetails.js +12 -10
  16. package/dist/models/BillingInformationDto.d.ts +9 -9
  17. package/dist/models/BillingInformationDto.js +10 -8
  18. package/dist/models/BuyerDomainTransferListItemDto.d.ts +18 -18
  19. package/dist/models/BuyerDomainTransferListItemDto.js +20 -16
  20. package/dist/models/BuyerLeadListItemDto.d.ts +18 -18
  21. package/dist/models/BuyerLeadListItemDto.js +20 -16
  22. package/dist/models/BuyerSecurityUserDto.d.ts +7 -7
  23. package/dist/models/BuyerSecurityUserDto.js +8 -6
  24. package/dist/models/BuyerSessionDto.d.ts +7 -7
  25. package/dist/models/BuyerSessionDto.js +8 -6
  26. package/dist/models/BuyerSubscriptionListItemDto.d.ts +17 -17
  27. package/dist/models/BuyerSubscriptionListItemDto.js +19 -15
  28. package/dist/models/CaBankAccountDetails.d.ts +11 -11
  29. package/dist/models/CaBankAccountDetails.js +12 -10
  30. package/dist/models/ChangeOrderStatusInput.d.ts +8 -8
  31. package/dist/models/ChangeOrderStatusInput.js +9 -7
  32. package/dist/models/ChangeSubscriptionStatusInput.d.ts +10 -10
  33. package/dist/models/ChangeSubscriptionStatusInput.js +11 -9
  34. package/dist/models/ConcreteDomainTransferTaskData.d.ts +12 -12
  35. package/dist/models/ConcreteDomainTransferTaskData.js +13 -11
  36. package/dist/models/CreateLeadInput.d.ts +8 -8
  37. package/dist/models/CreateLeadInput.js +9 -7
  38. package/dist/models/CreateManualLeadInput.d.ts +9 -9
  39. package/dist/models/CreateManualLeadInput.js +10 -8
  40. package/dist/models/CreateSubscriptionBillingPeriodicityInput.d.ts +7 -7
  41. package/dist/models/CreateSubscriptionBillingPeriodicityInput.js +8 -6
  42. package/dist/models/CreateSubscriptionInput.d.ts +7 -7
  43. package/dist/models/CreateSubscriptionInput.js +8 -6
  44. package/dist/models/DomainStatsDto.d.ts +7 -7
  45. package/dist/models/DomainStatsDto.js +8 -6
  46. package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +10 -10
  47. package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +11 -9
  48. package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +9 -9
  49. package/dist/models/DomainTransferDetailWorkflowStepDto.js +10 -8
  50. package/dist/models/DomainTransferDetailsDto.d.ts +20 -20
  51. package/dist/models/DomainTransferDetailsDto.js +22 -18
  52. package/dist/models/DomainTransferDetailsOrderDto.d.ts +7 -7
  53. package/dist/models/DomainTransferDetailsOrderDto.js +8 -6
  54. package/dist/models/DomainTransferDetailsSubscriptionDto.d.ts +7 -7
  55. package/dist/models/DomainTransferDetailsSubscriptionDto.js +8 -6
  56. package/dist/models/DomainTransferDetailsValidationDto.d.ts +13 -13
  57. package/dist/models/DomainTransferDetailsValidationDto.js +15 -11
  58. package/dist/models/DomainTransferDetailsWorkflowDto.d.ts +9 -9
  59. package/dist/models/DomainTransferDetailsWorkflowDto.js +10 -8
  60. package/dist/models/DomainTransferDto.d.ts +20 -20
  61. package/dist/models/DomainTransferDto.js +22 -18
  62. package/dist/models/DomainTransferWorkflowDto.d.ts +9 -9
  63. package/dist/models/DomainTransferWorkflowDto.js +10 -8
  64. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +10 -10
  65. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +11 -9
  66. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.d.ts +18 -18
  67. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.js +20 -16
  68. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +36 -36
  69. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +40 -32
  70. package/dist/models/IntersectionTaskListTaskDto.d.ts +16 -16
  71. package/dist/models/IntersectionTaskListTaskDto.js +18 -14
  72. package/dist/models/InvoiceDto.d.ts +15 -15
  73. package/dist/models/InvoiceDto.js +17 -13
  74. package/dist/models/InvoiceItemTaxDto.d.ts +20 -20
  75. package/dist/models/InvoiceItemTaxDto.js +21 -19
  76. package/dist/models/InvoiceTransactionDto.d.ts +6 -6
  77. package/dist/models/InvoiceTransactionDto.js +7 -5
  78. package/dist/models/LeadDto.d.ts +18 -18
  79. package/dist/models/LeadDto.js +20 -16
  80. package/dist/models/LeadMessageDto.d.ts +18 -18
  81. package/dist/models/LeadMessageDto.js +20 -16
  82. package/dist/models/LeadStatusDto.d.ts +10 -10
  83. package/dist/models/LeadStatusDto.js +11 -9
  84. package/dist/models/NzBankAccountDetails.d.ts +11 -11
  85. package/dist/models/NzBankAccountDetails.js +12 -10
  86. package/dist/models/OrderDto.d.ts +8 -8
  87. package/dist/models/OrderDto.js +9 -7
  88. package/dist/models/OrderListItemDto.d.ts +8 -8
  89. package/dist/models/OrderListItemDto.js +9 -7
  90. package/dist/models/OwnedDomainDto.d.ts +16 -16
  91. package/dist/models/OwnedDomainDto.js +18 -14
  92. package/dist/models/ParsedDomainDto.d.ts +8 -8
  93. package/dist/models/ParsedDomainDto.js +9 -7
  94. package/dist/models/PublicLeadDto.d.ts +10 -10
  95. package/dist/models/PublicLeadDto.js +11 -9
  96. package/dist/models/RegisterAccountInput.d.ts +8 -8
  97. package/dist/models/RegisterAccountInput.js +9 -7
  98. package/dist/models/SellerDomainTransferDto.d.ts +10 -10
  99. package/dist/models/SellerDomainTransferDto.js +11 -9
  100. package/dist/models/SellerDomainTransferListItemDto.d.ts +10 -10
  101. package/dist/models/SellerDomainTransferListItemDto.js +11 -9
  102. package/dist/models/SellerSecurityUserDto.d.ts +7 -7
  103. package/dist/models/SellerSecurityUserDto.js +8 -6
  104. package/dist/models/SellerSubscriptionListItemDto.d.ts +17 -17
  105. package/dist/models/SellerSubscriptionListItemDto.js +19 -15
  106. package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.d.ts +109 -0
  107. package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.js +108 -0
  108. package/dist/models/SepaBankAccountDetails.d.ts +11 -11
  109. package/dist/models/SepaBankAccountDetails.js +12 -10
  110. package/dist/models/SetDomainTransferConfirmationInput.d.ts +7 -7
  111. package/dist/models/SetDomainTransferConfirmationInput.js +8 -6
  112. package/dist/models/SetPayoutProviderInput.d.ts +7 -7
  113. package/dist/models/SetPayoutProviderInput.js +8 -6
  114. package/dist/models/SubscriptionBillingPeriodicityDto.d.ts +7 -7
  115. package/dist/models/SubscriptionBillingPeriodicityDto.js +8 -6
  116. package/dist/models/SubscriptionDetailsBillingPeriodicityDto.d.ts +7 -7
  117. package/dist/models/SubscriptionDetailsBillingPeriodicityDto.js +8 -6
  118. package/dist/models/SubscriptionDetailsDto.d.ts +17 -17
  119. package/dist/models/SubscriptionDetailsDto.js +19 -15
  120. package/dist/models/SubscriptionDto.d.ts +27 -27
  121. package/dist/models/SubscriptionDto.js +30 -24
  122. package/dist/models/SubscriptionListItemBillingPeriodicityDto.d.ts +7 -7
  123. package/dist/models/SubscriptionListItemBillingPeriodicityDto.js +8 -6
  124. package/dist/models/SubscriptionListItemDto.d.ts +17 -17
  125. package/dist/models/SubscriptionListItemDto.js +19 -15
  126. package/dist/models/TaskListLeadDto.d.ts +8 -8
  127. package/dist/models/TaskListLeadDto.js +9 -7
  128. package/dist/models/UkBankAccountDetails.d.ts +11 -11
  129. package/dist/models/UkBankAccountDetails.js +12 -10
  130. package/dist/models/UpdateSubscriptionBillingPeriodicityInput.d.ts +7 -7
  131. package/dist/models/UpdateSubscriptionBillingPeriodicityInput.js +8 -6
  132. package/dist/models/UsBankAccountDetails.d.ts +11 -11
  133. package/dist/models/UsBankAccountDetails.js +12 -10
  134. package/dist/models/UserPasswordResetDto.d.ts +7 -7
  135. package/dist/models/UserPasswordResetDto.js +8 -6
  136. package/dist/models/index.d.ts +1 -0
  137. package/dist/models/index.js +1 -0
  138. package/package.json +1 -1
  139. package/src/apis/AdminApi.ts +54 -0
  140. package/src/models/AccountBankAccountDto.ts +8 -9
  141. package/src/models/AccountNotificationDto.ts +18 -20
  142. package/src/models/AccountOnboardingDto.ts +15 -17
  143. package/src/models/AccountPayoutDto.ts +7 -8
  144. package/src/models/AuBankAccountDetails.ts +11 -12
  145. package/src/models/BillingInformationDto.ts +9 -10
  146. package/src/models/BuyerDomainTransferListItemDto.ts +18 -20
  147. package/src/models/BuyerLeadListItemDto.ts +18 -20
  148. package/src/models/BuyerSecurityUserDto.ts +7 -8
  149. package/src/models/BuyerSessionDto.ts +7 -8
  150. package/src/models/BuyerSubscriptionListItemDto.ts +17 -19
  151. package/src/models/CaBankAccountDetails.ts +11 -12
  152. package/src/models/ChangeOrderStatusInput.ts +8 -9
  153. package/src/models/ChangeSubscriptionStatusInput.ts +10 -11
  154. package/src/models/ConcreteDomainTransferTaskData.ts +12 -13
  155. package/src/models/CreateLeadInput.ts +8 -9
  156. package/src/models/CreateManualLeadInput.ts +9 -10
  157. package/src/models/CreateSubscriptionBillingPeriodicityInput.ts +7 -8
  158. package/src/models/CreateSubscriptionInput.ts +7 -8
  159. package/src/models/DomainStatsDto.ts +7 -8
  160. package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +10 -11
  161. package/src/models/DomainTransferDetailWorkflowStepDto.ts +9 -10
  162. package/src/models/DomainTransferDetailsDto.ts +20 -22
  163. package/src/models/DomainTransferDetailsOrderDto.ts +7 -8
  164. package/src/models/DomainTransferDetailsSubscriptionDto.ts +7 -8
  165. package/src/models/DomainTransferDetailsValidationDto.ts +13 -15
  166. package/src/models/DomainTransferDetailsWorkflowDto.ts +9 -10
  167. package/src/models/DomainTransferDto.ts +20 -22
  168. package/src/models/DomainTransferWorkflowDto.ts +9 -10
  169. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +10 -11
  170. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts +18 -20
  171. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +36 -40
  172. package/src/models/IntersectionTaskListTaskDto.ts +16 -18
  173. package/src/models/InvoiceDto.ts +15 -17
  174. package/src/models/InvoiceItemTaxDto.ts +20 -21
  175. package/src/models/InvoiceTransactionDto.ts +6 -7
  176. package/src/models/LeadDto.ts +18 -20
  177. package/src/models/LeadMessageDto.ts +18 -20
  178. package/src/models/LeadStatusDto.ts +10 -11
  179. package/src/models/NzBankAccountDetails.ts +11 -12
  180. package/src/models/OrderDto.ts +8 -9
  181. package/src/models/OrderListItemDto.ts +8 -9
  182. package/src/models/OwnedDomainDto.ts +16 -18
  183. package/src/models/ParsedDomainDto.ts +8 -9
  184. package/src/models/PublicLeadDto.ts +10 -11
  185. package/src/models/RegisterAccountInput.ts +8 -9
  186. package/src/models/SellerDomainTransferDto.ts +10 -11
  187. package/src/models/SellerDomainTransferListItemDto.ts +10 -11
  188. package/src/models/SellerSecurityUserDto.ts +7 -8
  189. package/src/models/SellerSubscriptionListItemDto.ts +17 -19
  190. package/src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts +191 -0
  191. package/src/models/SepaBankAccountDetails.ts +11 -12
  192. package/src/models/SetDomainTransferConfirmationInput.ts +7 -8
  193. package/src/models/SetPayoutProviderInput.ts +7 -8
  194. package/src/models/SubscriptionBillingPeriodicityDto.ts +7 -8
  195. package/src/models/SubscriptionDetailsBillingPeriodicityDto.ts +7 -8
  196. package/src/models/SubscriptionDetailsDto.ts +17 -19
  197. package/src/models/SubscriptionDto.ts +27 -30
  198. package/src/models/SubscriptionListItemBillingPeriodicityDto.ts +7 -8
  199. package/src/models/SubscriptionListItemDto.ts +17 -19
  200. package/src/models/TaskListLeadDto.ts +8 -9
  201. package/src/models/UkBankAccountDetails.ts +11 -12
  202. package/src/models/UpdateSubscriptionBillingPeriodicityInput.ts +7 -8
  203. package/src/models/UsBankAccountDetails.ts +11 -12
  204. package/src/models/UserPasswordResetDto.ts +7 -8
  205. package/src/models/index.ts +1 -0
@@ -20,16 +20,18 @@ exports.UsBankAccountDetailsFromJSONTyped = UsBankAccountDetailsFromJSONTyped;
20
20
  exports.UsBankAccountDetailsToJSON = UsBankAccountDetailsToJSON;
21
21
  exports.UsBankAccountDetailsToJSONTyped = UsBankAccountDetailsToJSONTyped;
22
22
  /**
23
- * @export
24
- */
25
- exports.UsBankAccountDetailsTypeEnum = {
26
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
- };
23
+ * @export
24
+ * @enum {string}
25
+ */
26
+ var UsBankAccountDetailsTypeEnum;
27
+ (function (UsBankAccountDetailsTypeEnum) {
28
+ UsBankAccountDetailsTypeEnum["UK_BANK_ACCOUNT_DETAILS"] = "UkBankAccountDetails";
29
+ UsBankAccountDetailsTypeEnum["US_BANK_ACCOUNT_DETAILS"] = "UsBankAccountDetails";
30
+ UsBankAccountDetailsTypeEnum["CA_BANK_ACCOUNT_DETAILS"] = "CaBankAccountDetails";
31
+ UsBankAccountDetailsTypeEnum["NZ_BANK_ACCOUNT_DETAILS"] = "NzBankAccountDetails";
32
+ UsBankAccountDetailsTypeEnum["AU_BANK_ACCOUNT_DETAILS"] = "AuBankAccountDetails";
33
+ UsBankAccountDetailsTypeEnum["SEPA_BANK_ACCOUNT_DETAILS"] = "SepaBankAccountDetails";
34
+ })(UsBankAccountDetailsTypeEnum || (exports.UsBankAccountDetailsTypeEnum = UsBankAccountDetailsTypeEnum = {}));
33
35
  /**
34
36
  * Check if a given object implements the UsBankAccountDetails interface.
35
37
  */
@@ -29,13 +29,13 @@ export interface UserPasswordResetDto {
29
29
  status: UserPasswordResetDtoStatusEnum;
30
30
  }
31
31
  /**
32
- * @export
33
- */
34
- export declare const UserPasswordResetDtoStatusEnum: {
35
- readonly ACTIVE: "active";
36
- readonly EXPIRED: "expired";
37
- };
38
- export type UserPasswordResetDtoStatusEnum = typeof UserPasswordResetDtoStatusEnum[keyof typeof UserPasswordResetDtoStatusEnum];
32
+ * @export
33
+ * @enum {string}
34
+ */
35
+ export declare enum UserPasswordResetDtoStatusEnum {
36
+ ACTIVE = "active",
37
+ EXPIRED = "expired"
38
+ }
39
39
  /**
40
40
  * Check if a given object implements the UserPasswordResetDto interface.
41
41
  */
@@ -20,12 +20,14 @@ exports.UserPasswordResetDtoFromJSONTyped = UserPasswordResetDtoFromJSONTyped;
20
20
  exports.UserPasswordResetDtoToJSON = UserPasswordResetDtoToJSON;
21
21
  exports.UserPasswordResetDtoToJSONTyped = UserPasswordResetDtoToJSONTyped;
22
22
  /**
23
- * @export
24
- */
25
- exports.UserPasswordResetDtoStatusEnum = {
26
- ACTIVE: 'active',
27
- EXPIRED: 'expired'
28
- };
23
+ * @export
24
+ * @enum {string}
25
+ */
26
+ var UserPasswordResetDtoStatusEnum;
27
+ (function (UserPasswordResetDtoStatusEnum) {
28
+ UserPasswordResetDtoStatusEnum["ACTIVE"] = "active";
29
+ UserPasswordResetDtoStatusEnum["EXPIRED"] = "expired";
30
+ })(UserPasswordResetDtoStatusEnum || (exports.UserPasswordResetDtoStatusEnum = UserPasswordResetDtoStatusEnum = {}));
29
31
  /**
30
32
  * Check if a given object implements the UserPasswordResetDto interface.
31
33
  */
@@ -181,6 +181,7 @@ export * from './SellerSecurityUserAccountDto';
181
181
  export * from './SellerSecurityUserDto';
182
182
  export * from './SellerSubscriptionListItemDto';
183
183
  export * from './SellerSubscriptionListItemDtoDomainInformation';
184
+ export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
184
185
  export * from './SeoMetricsDto';
185
186
  export * from './SepaBankAccountDetails';
186
187
  export * from './SetDomainTransferConfirmationInput';
@@ -199,6 +199,7 @@ __exportStar(require("./SellerSecurityUserAccountDto"), exports);
199
199
  __exportStar(require("./SellerSecurityUserDto"), exports);
200
200
  __exportStar(require("./SellerSubscriptionListItemDto"), exports);
201
201
  __exportStar(require("./SellerSubscriptionListItemDtoDomainInformation"), exports);
202
+ __exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInput"), exports);
202
203
  __exportStar(require("./SeoMetricsDto"), exports);
203
204
  __exportStar(require("./SepaBankAccountDetails"), exports);
204
205
  __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.239",
3
+ "version": "0.0.241",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -28,10 +28,12 @@ import type {
28
28
  GetAllOwnedDomains200Response,
29
29
  GetAllSubscriptions200Response,
30
30
  IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto,
31
+ LeadMessageDto,
31
32
  ListAccounts200Response,
32
33
  ListBankAccounts200Response,
33
34
  ListDomains200Response,
34
35
  NotFoundException,
36
+ SendAdminLeadAiPriceNegotiatorAgentChatMessageInput,
35
37
  SubscriptionDetailsDto,
36
38
  ThrottlerException,
37
39
  ValidationException,
@@ -63,6 +65,8 @@ import {
63
65
  GetAllSubscriptions200ResponseToJSON,
64
66
  IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON,
65
67
  IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON,
68
+ LeadMessageDtoFromJSON,
69
+ LeadMessageDtoToJSON,
66
70
  ListAccounts200ResponseFromJSON,
67
71
  ListAccounts200ResponseToJSON,
68
72
  ListBankAccounts200ResponseFromJSON,
@@ -71,6 +75,8 @@ import {
71
75
  ListDomains200ResponseToJSON,
72
76
  NotFoundExceptionFromJSON,
73
77
  NotFoundExceptionToJSON,
78
+ SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSON,
79
+ SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON,
74
80
  SubscriptionDetailsDtoFromJSON,
75
81
  SubscriptionDetailsDtoToJSON,
76
82
  ThrottlerExceptionFromJSON,
@@ -188,6 +194,10 @@ export interface AdminApiPostAdminExecuteDomainTransferStepActionRequest {
188
194
  actionName: string;
189
195
  }
190
196
 
197
+ export interface AdminApiPostAiPriceNegotiatorAgentChatMessageRequest {
198
+ sendAdminLeadAiPriceNegotiatorAgentChatMessageInput: SendAdminLeadAiPriceNegotiatorAgentChatMessageInput;
199
+ }
200
+
191
201
  export interface AdminApiUpdateAccountSettingsRequest {
192
202
  accountId: string;
193
203
  adminAccountSettingsInput: AdminAccountSettingsInput;
@@ -1129,6 +1139,50 @@ export class AdminApi extends runtime.BaseAPI {
1129
1139
  await this.postAdminExecuteDomainTransferStepActionRaw(requestParameters, initOverrides);
1130
1140
  }
1131
1141
 
1142
+ /**
1143
+ *
1144
+ */
1145
+ async postAiPriceNegotiatorAgentChatMessageRaw(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadMessageDto>> {
1146
+ if (requestParameters['sendAdminLeadAiPriceNegotiatorAgentChatMessageInput'] == null) {
1147
+ throw new runtime.RequiredError(
1148
+ 'sendAdminLeadAiPriceNegotiatorAgentChatMessageInput',
1149
+ 'Required parameter "sendAdminLeadAiPriceNegotiatorAgentChatMessageInput" was null or undefined when calling postAiPriceNegotiatorAgentChatMessage().'
1150
+ );
1151
+ }
1152
+
1153
+ const queryParameters: any = {};
1154
+
1155
+ const headerParameters: runtime.HTTPHeaders = {};
1156
+
1157
+ headerParameters['Content-Type'] = 'application/json';
1158
+
1159
+ if (this.configuration && this.configuration.accessToken) {
1160
+ const token = this.configuration.accessToken;
1161
+ const tokenString = await token("bearer", []);
1162
+
1163
+ if (tokenString) {
1164
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1165
+ }
1166
+ }
1167
+ const response = await this.request({
1168
+ path: `/admin/leads/ai-price-negotiator-agent/chat/message`,
1169
+ method: 'POST',
1170
+ headers: headerParameters,
1171
+ query: queryParameters,
1172
+ body: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON(requestParameters['sendAdminLeadAiPriceNegotiatorAgentChatMessageInput']),
1173
+ }, initOverrides);
1174
+
1175
+ return new runtime.JSONApiResponse(response, (jsonValue) => LeadMessageDtoFromJSON(jsonValue));
1176
+ }
1177
+
1178
+ /**
1179
+ *
1180
+ */
1181
+ async postAiPriceNegotiatorAgentChatMessage(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadMessageDto> {
1182
+ const response = await this.postAiPriceNegotiatorAgentChatMessageRaw(requestParameters, initOverrides);
1183
+ return await response.value();
1184
+ }
1185
+
1132
1186
  /**
1133
1187
  *
1134
1188
  */
@@ -59,16 +59,15 @@ export interface AccountBankAccountDto {
59
59
  details: AccountBankAccountDtoDetails;
60
60
  }
61
61
 
62
-
63
62
  /**
64
- * @export
65
- */
66
- export const AccountBankAccountDtoVerificationStatusEnum = {
67
- PENDING: 'pending',
68
- VERIFIED: 'verified',
69
- REJECTED: 'rejected'
70
- } as const;
71
- export type AccountBankAccountDtoVerificationStatusEnum = typeof AccountBankAccountDtoVerificationStatusEnum[keyof typeof AccountBankAccountDtoVerificationStatusEnum];
63
+ * @export
64
+ * @enum {string}
65
+ */
66
+ export enum AccountBankAccountDtoVerificationStatusEnum {
67
+ PENDING = 'pending',
68
+ VERIFIED = 'verified',
69
+ REJECTED = 'rejected'
70
+ }
72
71
 
73
72
 
74
73
  /**
@@ -53,28 +53,26 @@ export interface AccountNotificationDto {
53
53
  read: AccountNotificationReadStatusDto;
54
54
  }
55
55
 
56
-
57
56
  /**
58
- * @export
59
- */
60
- export const AccountNotificationDtoLevelEnum = {
61
- ERROR: 'error',
62
- WARNING: 'warning',
63
- CONFIGURATION_REQUIRED: 'configuration_required'
64
- } as const;
65
- export type AccountNotificationDtoLevelEnum = typeof AccountNotificationDtoLevelEnum[keyof typeof AccountNotificationDtoLevelEnum];
66
-
57
+ * @export
58
+ * @enum {string}
59
+ */
60
+ export enum AccountNotificationDtoLevelEnum {
61
+ ERROR = 'error',
62
+ WARNING = 'warning',
63
+ CONFIGURATION_REQUIRED = 'configuration_required'
64
+ }
67
65
  /**
68
- * @export
69
- */
70
- export const AccountNotificationDtoTypeEnum = {
71
- ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured',
72
- ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: 'account.payment_provider.not_configured',
73
- ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: 'account.payment_provider.not_active',
74
- ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed',
75
- ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: 'account.bank_account.verification_required'
76
- } as const;
77
- export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
66
+ * @export
67
+ * @enum {string}
68
+ */
69
+ export enum AccountNotificationDtoTypeEnum {
70
+ ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED = 'account.billing_information.not_configured',
71
+ ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED = 'account.payment_provider.not_configured',
72
+ ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE = 'account.payment_provider.not_active',
73
+ ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED = 'account.payment_provider.was_changed',
74
+ ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED = 'account.bank_account.verification_required'
75
+ }
78
76
 
79
77
 
80
78
  /**
@@ -45,25 +45,23 @@ export interface AccountOnboardingDto {
45
45
  provider: AccountOnboardingDtoProviderEnum;
46
46
  }
47
47
 
48
-
49
48
  /**
50
- * @export
51
- */
52
- export const AccountOnboardingDtoStatusEnum = {
53
- PENDING: 'pending',
54
- ACTIVE: 'active',
55
- REJECTED: 'rejected'
56
- } as const;
57
- export type AccountOnboardingDtoStatusEnum = typeof AccountOnboardingDtoStatusEnum[keyof typeof AccountOnboardingDtoStatusEnum];
58
-
49
+ * @export
50
+ * @enum {string}
51
+ */
52
+ export enum AccountOnboardingDtoStatusEnum {
53
+ PENDING = 'pending',
54
+ ACTIVE = 'active',
55
+ REJECTED = 'rejected'
56
+ }
59
57
  /**
60
- * @export
61
- */
62
- export const AccountOnboardingDtoProviderEnum = {
63
- STRIPE: 'stripe',
64
- SUMSUB: 'sumsub'
65
- } as const;
66
- export type AccountOnboardingDtoProviderEnum = typeof AccountOnboardingDtoProviderEnum[keyof typeof AccountOnboardingDtoProviderEnum];
58
+ * @export
59
+ * @enum {string}
60
+ */
61
+ export enum AccountOnboardingDtoProviderEnum {
62
+ STRIPE = 'stripe',
63
+ SUMSUB = 'sumsub'
64
+ }
67
65
 
68
66
 
69
67
  /**
@@ -33,15 +33,14 @@ export interface AccountPayoutDto {
33
33
  provider: AccountPayoutDtoProviderEnum;
34
34
  }
35
35
 
36
-
37
36
  /**
38
- * @export
39
- */
40
- export const AccountPayoutDtoProviderEnum = {
41
- STRIPE: 'stripe',
42
- BANK_ACCOUNT: 'bank_account'
43
- } as const;
44
- export type AccountPayoutDtoProviderEnum = typeof AccountPayoutDtoProviderEnum[keyof typeof AccountPayoutDtoProviderEnum];
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export enum AccountPayoutDtoProviderEnum {
41
+ STRIPE = 'stripe',
42
+ BANK_ACCOUNT = 'bank_account'
43
+ }
45
44
 
46
45
 
47
46
  /**
@@ -45,19 +45,18 @@ export interface AuBankAccountDetails {
45
45
  bsb: string;
46
46
  }
47
47
 
48
-
49
48
  /**
50
- * @export
51
- */
52
- export const AuBankAccountDetailsTypeEnum = {
53
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
59
- } as const;
60
- export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
49
+ * @export
50
+ * @enum {string}
51
+ */
52
+ export enum AuBankAccountDetailsTypeEnum {
53
+ UK_BANK_ACCOUNT_DETAILS = 'UkBankAccountDetails',
54
+ US_BANK_ACCOUNT_DETAILS = 'UsBankAccountDetails',
55
+ CA_BANK_ACCOUNT_DETAILS = 'CaBankAccountDetails',
56
+ NZ_BANK_ACCOUNT_DETAILS = 'NzBankAccountDetails',
57
+ AU_BANK_ACCOUNT_DETAILS = 'AuBankAccountDetails',
58
+ SEPA_BANK_ACCOUNT_DETAILS = 'SepaBankAccountDetails'
59
+ }
61
60
 
62
61
 
63
62
  /**
@@ -78,17 +78,16 @@ export interface BillingInformationDto {
78
78
  companyInfo: CompanyInformationDto | null;
79
79
  }
80
80
 
81
-
82
81
  /**
83
- * @export
84
- */
85
- export const BillingInformationDtoTypeEnum = {
86
- COMPANY: 'company',
87
- GOVERNMENT_ENTITY: 'government_entity',
88
- INDIVIDUAL: 'individual',
89
- NON_PROFIT: 'non_profit'
90
- } as const;
91
- export type BillingInformationDtoTypeEnum = typeof BillingInformationDtoTypeEnum[keyof typeof BillingInformationDtoTypeEnum];
82
+ * @export
83
+ * @enum {string}
84
+ */
85
+ export enum BillingInformationDtoTypeEnum {
86
+ COMPANY = 'company',
87
+ GOVERNMENT_ENTITY = 'government_entity',
88
+ INDIVIDUAL = 'individual',
89
+ NON_PROFIT = 'non_profit'
90
+ }
92
91
 
93
92
 
94
93
  /**
@@ -77,28 +77,26 @@ export interface BuyerDomainTransferListItemDto {
77
77
  ipsTag: string | null;
78
78
  }
79
79
 
80
-
81
80
  /**
82
- * @export
83
- */
84
- export const BuyerDomainTransferListItemDtoInvoiceStatusEnum = {
85
- DRAFT: 'draft',
86
- PAID: 'paid',
87
- CANCELLED: 'cancelled'
88
- } as const;
89
- export type BuyerDomainTransferListItemDtoInvoiceStatusEnum = typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum[keyof typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum];
90
-
81
+ * @export
82
+ * @enum {string}
83
+ */
84
+ export enum BuyerDomainTransferListItemDtoInvoiceStatusEnum {
85
+ DRAFT = 'draft',
86
+ PAID = 'paid',
87
+ CANCELLED = 'cancelled'
88
+ }
91
89
  /**
92
- * @export
93
- */
94
- export const BuyerDomainTransferListItemDtoDomainTransferStatusEnum = {
95
- CREATED: 'created',
96
- STARTED: 'started',
97
- PENDING_MANUAL_ACTION: 'pending_manual_action',
98
- ERROR: 'error',
99
- COMPLETED: 'completed'
100
- } as const;
101
- export type BuyerDomainTransferListItemDtoDomainTransferStatusEnum = typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum[keyof typeof BuyerDomainTransferListItemDtoDomainTransferStatusEnum];
90
+ * @export
91
+ * @enum {string}
92
+ */
93
+ export enum BuyerDomainTransferListItemDtoDomainTransferStatusEnum {
94
+ CREATED = 'created',
95
+ STARTED = 'started',
96
+ PENDING_MANUAL_ACTION = 'pending_manual_action',
97
+ ERROR = 'error',
98
+ COMPLETED = 'completed'
99
+ }
102
100
 
103
101
 
104
102
  /**
@@ -84,28 +84,26 @@ export interface BuyerLeadListItemDto {
84
84
  orderPaymentUrl: string | null;
85
85
  }
86
86
 
87
-
88
87
  /**
89
- * @export
90
- */
91
- export const BuyerLeadListItemDtoStatusEnum = {
92
- UNVERIFIED: 'unverified',
93
- ACTIVE: 'active',
94
- ACCEPTED: 'accepted',
95
- FINISHED: 'finished',
96
- CLOSED: 'closed'
97
- } as const;
98
- export type BuyerLeadListItemDtoStatusEnum = typeof BuyerLeadListItemDtoStatusEnum[keyof typeof BuyerLeadListItemDtoStatusEnum];
99
-
88
+ * @export
89
+ * @enum {string}
90
+ */
91
+ export enum BuyerLeadListItemDtoStatusEnum {
92
+ UNVERIFIED = 'unverified',
93
+ ACTIVE = 'active',
94
+ ACCEPTED = 'accepted',
95
+ FINISHED = 'finished',
96
+ CLOSED = 'closed'
97
+ }
100
98
  /**
101
- * @export
102
- */
103
- export const BuyerLeadListItemDtoLastOfferByEnum = {
104
- BUYER: 'buyer',
105
- SELLER: 'seller',
106
- ADMIN: 'admin'
107
- } as const;
108
- export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
99
+ * @export
100
+ * @enum {string}
101
+ */
102
+ export enum BuyerLeadListItemDtoLastOfferByEnum {
103
+ BUYER = 'buyer',
104
+ SELLER = 'seller',
105
+ ADMIN = 'admin'
106
+ }
109
107
 
110
108
 
111
109
  /**
@@ -57,15 +57,14 @@ export interface BuyerSecurityUserDto {
57
57
  type: BuyerSecurityUserDtoTypeEnum;
58
58
  }
59
59
 
60
-
61
60
  /**
62
- * @export
63
- */
64
- export const BuyerSecurityUserDtoTypeEnum = {
65
- BUYER: 'buyer',
66
- SELLER: 'seller'
67
- } as const;
68
- export type BuyerSecurityUserDtoTypeEnum = typeof BuyerSecurityUserDtoTypeEnum[keyof typeof BuyerSecurityUserDtoTypeEnum];
61
+ * @export
62
+ * @enum {string}
63
+ */
64
+ export enum BuyerSecurityUserDtoTypeEnum {
65
+ BUYER = 'buyer',
66
+ SELLER = 'seller'
67
+ }
69
68
 
70
69
 
71
70
  /**
@@ -63,15 +63,14 @@ export interface BuyerSessionDto {
63
63
  hasSubscriptions: boolean;
64
64
  }
65
65
 
66
-
67
66
  /**
68
- * @export
69
- */
70
- export const BuyerSessionDtoTypeEnum = {
71
- BUYER: 'buyer',
72
- SELLER: 'seller'
73
- } as const;
74
- export type BuyerSessionDtoTypeEnum = typeof BuyerSessionDtoTypeEnum[keyof typeof BuyerSessionDtoTypeEnum];
67
+ * @export
68
+ * @enum {string}
69
+ */
70
+ export enum BuyerSessionDtoTypeEnum {
71
+ BUYER = 'buyer',
72
+ SELLER = 'seller'
73
+ }
75
74
 
76
75
 
77
76
  /**
@@ -114,27 +114,25 @@ export interface BuyerSubscriptionListItemDto {
114
114
  paymentUrl: string | null;
115
115
  }
116
116
 
117
-
118
117
  /**
119
- * @export
120
- */
121
- export const BuyerSubscriptionListItemDtoStatusEnum = {
122
- DRAFT: 'draft',
123
- ACTIVE: 'active',
124
- PAUSED: 'paused',
125
- CANCELLED: 'cancelled',
126
- FINISHED: 'finished'
127
- } as const;
128
- export type BuyerSubscriptionListItemDtoStatusEnum = typeof BuyerSubscriptionListItemDtoStatusEnum[keyof typeof BuyerSubscriptionListItemDtoStatusEnum];
129
-
118
+ * @export
119
+ * @enum {string}
120
+ */
121
+ export enum BuyerSubscriptionListItemDtoStatusEnum {
122
+ DRAFT = 'draft',
123
+ ACTIVE = 'active',
124
+ PAUSED = 'paused',
125
+ CANCELLED = 'cancelled',
126
+ FINISHED = 'finished'
127
+ }
130
128
  /**
131
- * @export
132
- */
133
- export const BuyerSubscriptionListItemDtoTypeEnum = {
134
- RENT: 'rent',
135
- LEASE_TO_OWN: 'lease_to_own'
136
- } as const;
137
- export type BuyerSubscriptionListItemDtoTypeEnum = typeof BuyerSubscriptionListItemDtoTypeEnum[keyof typeof BuyerSubscriptionListItemDtoTypeEnum];
129
+ * @export
130
+ * @enum {string}
131
+ */
132
+ export enum BuyerSubscriptionListItemDtoTypeEnum {
133
+ RENT = 'rent',
134
+ LEASE_TO_OWN = 'lease_to_own'
135
+ }
138
136
 
139
137
 
140
138
  /**
@@ -51,19 +51,18 @@ export interface CaBankAccountDetails {
51
51
  accountNumber: string;
52
52
  }
53
53
 
54
-
55
54
  /**
56
- * @export
57
- */
58
- export const CaBankAccountDetailsTypeEnum = {
59
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
60
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
61
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
62
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
63
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
64
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
65
- } as const;
66
- export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
55
+ * @export
56
+ * @enum {string}
57
+ */
58
+ export enum CaBankAccountDetailsTypeEnum {
59
+ UK_BANK_ACCOUNT_DETAILS = 'UkBankAccountDetails',
60
+ US_BANK_ACCOUNT_DETAILS = 'UsBankAccountDetails',
61
+ CA_BANK_ACCOUNT_DETAILS = 'CaBankAccountDetails',
62
+ NZ_BANK_ACCOUNT_DETAILS = 'NzBankAccountDetails',
63
+ AU_BANK_ACCOUNT_DETAILS = 'AuBankAccountDetails',
64
+ SEPA_BANK_ACCOUNT_DETAILS = 'SepaBankAccountDetails'
65
+ }
67
66
 
68
67
 
69
68
  /**
@@ -27,16 +27,15 @@ export interface ChangeOrderStatusInput {
27
27
  status: ChangeOrderStatusInputStatusEnum;
28
28
  }
29
29
 
30
-
31
30
  /**
32
- * @export
33
- */
34
- export const ChangeOrderStatusInputStatusEnum = {
35
- DRAFT: 'draft',
36
- PAID: 'paid',
37
- CANCELLED: 'cancelled'
38
- } as const;
39
- export type ChangeOrderStatusInputStatusEnum = typeof ChangeOrderStatusInputStatusEnum[keyof typeof ChangeOrderStatusInputStatusEnum];
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export enum ChangeOrderStatusInputStatusEnum {
35
+ DRAFT = 'draft',
36
+ PAID = 'paid',
37
+ CANCELLED = 'cancelled'
38
+ }
40
39
 
41
40
 
42
41
  /**