@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
@@ -83,15 +83,14 @@ export interface SellerSecurityUserDto {
83
83
  account: SellerSecurityUserAccountDto;
84
84
  }
85
85
 
86
-
87
86
  /**
88
- * @export
89
- */
90
- export const SellerSecurityUserDtoTypeEnum = {
91
- BUYER: 'buyer',
92
- SELLER: 'seller'
93
- } as const;
94
- export type SellerSecurityUserDtoTypeEnum = typeof SellerSecurityUserDtoTypeEnum[keyof typeof SellerSecurityUserDtoTypeEnum];
87
+ * @export
88
+ * @enum {string}
89
+ */
90
+ export enum SellerSecurityUserDtoTypeEnum {
91
+ BUYER = 'buyer',
92
+ SELLER = 'seller'
93
+ }
95
94
 
96
95
 
97
96
  /**
@@ -96,27 +96,25 @@ export interface SellerSubscriptionListItemDto {
96
96
  paidInstallmentsNumber: number;
97
97
  }
98
98
 
99
-
100
99
  /**
101
- * @export
102
- */
103
- export const SellerSubscriptionListItemDtoStatusEnum = {
104
- DRAFT: 'draft',
105
- ACTIVE: 'active',
106
- PAUSED: 'paused',
107
- CANCELLED: 'cancelled',
108
- FINISHED: 'finished'
109
- } as const;
110
- export type SellerSubscriptionListItemDtoStatusEnum = typeof SellerSubscriptionListItemDtoStatusEnum[keyof typeof SellerSubscriptionListItemDtoStatusEnum];
111
-
100
+ * @export
101
+ * @enum {string}
102
+ */
103
+ export enum SellerSubscriptionListItemDtoStatusEnum {
104
+ DRAFT = 'draft',
105
+ ACTIVE = 'active',
106
+ PAUSED = 'paused',
107
+ CANCELLED = 'cancelled',
108
+ FINISHED = 'finished'
109
+ }
112
110
  /**
113
- * @export
114
- */
115
- export const SellerSubscriptionListItemDtoTypeEnum = {
116
- RENT: 'rent',
117
- LEASE_TO_OWN: 'lease_to_own'
118
- } as const;
119
- export type SellerSubscriptionListItemDtoTypeEnum = typeof SellerSubscriptionListItemDtoTypeEnum[keyof typeof SellerSubscriptionListItemDtoTypeEnum];
111
+ * @export
112
+ * @enum {string}
113
+ */
114
+ export enum SellerSubscriptionListItemDtoTypeEnum {
115
+ RENT = 'rent',
116
+ LEASE_TO_OWN = 'lease_to_own'
117
+ }
120
118
 
121
119
 
122
120
  /**
@@ -0,0 +1,191 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
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 { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+ import type { LeadMessageDto } from './LeadMessageDto';
24
+ import {
25
+ LeadMessageDtoFromJSON,
26
+ LeadMessageDtoFromJSONTyped,
27
+ LeadMessageDtoToJSON,
28
+ LeadMessageDtoToJSONTyped,
29
+ } from './LeadMessageDto';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
35
+ */
36
+ export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
41
+ */
42
+ aiModel: string;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
47
+ */
48
+ aiModelTemperature: number;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
53
+ */
54
+ domainName: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
59
+ */
60
+ locale: string;
61
+ /**
62
+ *
63
+ * @type {MoneyDto}
64
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
65
+ */
66
+ offer: MoneyDto;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
71
+ */
72
+ sellImportance: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputSellImportanceEnum;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
77
+ */
78
+ generalPrompt: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
83
+ */
84
+ sellImportanceLowPrompt: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
89
+ */
90
+ sellImportanceMediumPrompt: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
95
+ */
96
+ sellImportanceHighPrompt: string;
97
+ /**
98
+ *
99
+ * @type {Array<LeadMessageDto>}
100
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
101
+ */
102
+ chatHistory: Array<LeadMessageDto>;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
107
+ */
108
+ buyerMessage: string;
109
+ }
110
+
111
+ /**
112
+ * @export
113
+ * @enum {string}
114
+ */
115
+ export enum SendAdminLeadAiPriceNegotiatorAgentChatMessageInputSellImportanceEnum {
116
+ LOW = 'low',
117
+ MEDIUM = 'medium',
118
+ HIGH = 'high'
119
+ }
120
+
121
+
122
+ /**
123
+ * Check if a given object implements the SendAdminLeadAiPriceNegotiatorAgentChatMessageInput interface.
124
+ */
125
+ export function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInput(value: object): value is SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
126
+ if (!('aiModel' in value) || value['aiModel'] === undefined) return false;
127
+ if (!('aiModelTemperature' in value) || value['aiModelTemperature'] === undefined) return false;
128
+ if (!('domainName' in value) || value['domainName'] === undefined) return false;
129
+ if (!('locale' in value) || value['locale'] === undefined) return false;
130
+ if (!('offer' in value) || value['offer'] === undefined) return false;
131
+ if (!('sellImportance' in value) || value['sellImportance'] === undefined) return false;
132
+ if (!('generalPrompt' in value) || value['generalPrompt'] === undefined) return false;
133
+ if (!('sellImportanceLowPrompt' in value) || value['sellImportanceLowPrompt'] === undefined) return false;
134
+ if (!('sellImportanceMediumPrompt' in value) || value['sellImportanceMediumPrompt'] === undefined) return false;
135
+ if (!('sellImportanceHighPrompt' in value) || value['sellImportanceHighPrompt'] === undefined) return false;
136
+ if (!('chatHistory' in value) || value['chatHistory'] === undefined) return false;
137
+ if (!('buyerMessage' in value) || value['buyerMessage'] === undefined) return false;
138
+ return true;
139
+ }
140
+
141
+ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSON(json: any): SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
142
+ return SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped(json, false);
143
+ }
144
+
145
+ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
146
+ if (json == null) {
147
+ return json;
148
+ }
149
+ return {
150
+
151
+ 'aiModel': json['aiModel'],
152
+ 'aiModelTemperature': json['aiModelTemperature'],
153
+ 'domainName': json['domainName'],
154
+ 'locale': json['locale'],
155
+ 'offer': MoneyDtoFromJSON(json['offer']),
156
+ 'sellImportance': json['sellImportance'],
157
+ 'generalPrompt': json['generalPrompt'],
158
+ 'sellImportanceLowPrompt': json['sellImportanceLowPrompt'],
159
+ 'sellImportanceMediumPrompt': json['sellImportanceMediumPrompt'],
160
+ 'sellImportanceHighPrompt': json['sellImportanceHighPrompt'],
161
+ 'chatHistory': ((json['chatHistory'] as Array<any>).map(LeadMessageDtoFromJSON)),
162
+ 'buyerMessage': json['buyerMessage'],
163
+ };
164
+ }
165
+
166
+ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON(json: any): SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
167
+ return SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSONTyped(json, false);
168
+ }
169
+
170
+ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSONTyped(value?: SendAdminLeadAiPriceNegotiatorAgentChatMessageInput | null, ignoreDiscriminator: boolean = false): any {
171
+ if (value == null) {
172
+ return value;
173
+ }
174
+
175
+ return {
176
+
177
+ 'aiModel': value['aiModel'],
178
+ 'aiModelTemperature': value['aiModelTemperature'],
179
+ 'domainName': value['domainName'],
180
+ 'locale': value['locale'],
181
+ 'offer': MoneyDtoToJSON(value['offer']),
182
+ 'sellImportance': value['sellImportance'],
183
+ 'generalPrompt': value['generalPrompt'],
184
+ 'sellImportanceLowPrompt': value['sellImportanceLowPrompt'],
185
+ 'sellImportanceMediumPrompt': value['sellImportanceMediumPrompt'],
186
+ 'sellImportanceHighPrompt': value['sellImportanceHighPrompt'],
187
+ 'chatHistory': ((value['chatHistory'] as Array<any>).map(LeadMessageDtoToJSON)),
188
+ 'buyerMessage': value['buyerMessage'],
189
+ };
190
+ }
191
+
@@ -45,19 +45,18 @@ export interface SepaBankAccountDetails {
45
45
  iban: string;
46
46
  }
47
47
 
48
-
49
48
  /**
50
- * @export
51
- */
52
- export const SepaBankAccountDetailsTypeEnum = {
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 SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
49
+ * @export
50
+ * @enum {string}
51
+ */
52
+ export enum SepaBankAccountDetailsTypeEnum {
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
  /**
@@ -39,15 +39,14 @@ export interface SetDomainTransferConfirmationInput {
39
39
  confirmationReasonText: string | null;
40
40
  }
41
41
 
42
-
43
42
  /**
44
- * @export
45
- */
46
- export const SetDomainTransferConfirmationInputConfirmationReasonEnum = {
47
- INVALID_AUTH_CODE: 'invalid_auth_code',
48
- OTHER: 'other'
49
- } as const;
50
- export type SetDomainTransferConfirmationInputConfirmationReasonEnum = typeof SetDomainTransferConfirmationInputConfirmationReasonEnum[keyof typeof SetDomainTransferConfirmationInputConfirmationReasonEnum];
43
+ * @export
44
+ * @enum {string}
45
+ */
46
+ export enum SetDomainTransferConfirmationInputConfirmationReasonEnum {
47
+ INVALID_AUTH_CODE = 'invalid_auth_code',
48
+ OTHER = 'other'
49
+ }
51
50
 
52
51
 
53
52
  /**
@@ -27,15 +27,14 @@ export interface SetPayoutProviderInput {
27
27
  provider: SetPayoutProviderInputProviderEnum;
28
28
  }
29
29
 
30
-
31
30
  /**
32
- * @export
33
- */
34
- export const SetPayoutProviderInputProviderEnum = {
35
- STRIPE: 'stripe',
36
- BANK_ACCOUNT: 'bank_account'
37
- } as const;
38
- export type SetPayoutProviderInputProviderEnum = typeof SetPayoutProviderInputProviderEnum[keyof typeof SetPayoutProviderInputProviderEnum];
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export enum SetPayoutProviderInputProviderEnum {
35
+ STRIPE = 'stripe',
36
+ BANK_ACCOUNT = 'bank_account'
37
+ }
39
38
 
40
39
 
41
40
  /**
@@ -33,15 +33,14 @@ export interface SubscriptionBillingPeriodicityDto {
33
33
  unit: SubscriptionBillingPeriodicityDtoUnitEnum;
34
34
  }
35
35
 
36
-
37
36
  /**
38
- * @export
39
- */
40
- export const SubscriptionBillingPeriodicityDtoUnitEnum = {
41
- WEEK: 'week',
42
- MONTH: 'month'
43
- } as const;
44
- export type SubscriptionBillingPeriodicityDtoUnitEnum = typeof SubscriptionBillingPeriodicityDtoUnitEnum[keyof typeof SubscriptionBillingPeriodicityDtoUnitEnum];
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export enum SubscriptionBillingPeriodicityDtoUnitEnum {
41
+ WEEK = 'week',
42
+ MONTH = 'month'
43
+ }
45
44
 
46
45
 
47
46
  /**
@@ -33,15 +33,14 @@ export interface SubscriptionDetailsBillingPeriodicityDto {
33
33
  unit: SubscriptionDetailsBillingPeriodicityDtoUnitEnum;
34
34
  }
35
35
 
36
-
37
36
  /**
38
- * @export
39
- */
40
- export const SubscriptionDetailsBillingPeriodicityDtoUnitEnum = {
41
- WEEK: 'week',
42
- MONTH: 'month'
43
- } as const;
44
- export type SubscriptionDetailsBillingPeriodicityDtoUnitEnum = typeof SubscriptionDetailsBillingPeriodicityDtoUnitEnum[keyof typeof SubscriptionDetailsBillingPeriodicityDtoUnitEnum];
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export enum SubscriptionDetailsBillingPeriodicityDtoUnitEnum {
41
+ WEEK = 'week',
42
+ MONTH = 'month'
43
+ }
45
44
 
46
45
 
47
46
  /**
@@ -210,27 +210,25 @@ export interface SubscriptionDetailsDto {
210
210
  domainTransfers: Array<DomainTransferDetailsDto>;
211
211
  }
212
212
 
213
-
214
213
  /**
215
- * @export
216
- */
217
- export const SubscriptionDetailsDtoStatusEnum = {
218
- DRAFT: 'draft',
219
- ACTIVE: 'active',
220
- PAUSED: 'paused',
221
- CANCELLED: 'cancelled',
222
- FINISHED: 'finished'
223
- } as const;
224
- export type SubscriptionDetailsDtoStatusEnum = typeof SubscriptionDetailsDtoStatusEnum[keyof typeof SubscriptionDetailsDtoStatusEnum];
225
-
214
+ * @export
215
+ * @enum {string}
216
+ */
217
+ export enum SubscriptionDetailsDtoStatusEnum {
218
+ DRAFT = 'draft',
219
+ ACTIVE = 'active',
220
+ PAUSED = 'paused',
221
+ CANCELLED = 'cancelled',
222
+ FINISHED = 'finished'
223
+ }
226
224
  /**
227
- * @export
228
- */
229
- export const SubscriptionDetailsDtoTypeEnum = {
230
- RENT: 'rent',
231
- LEASE_TO_OWN: 'lease_to_own'
232
- } as const;
233
- export type SubscriptionDetailsDtoTypeEnum = typeof SubscriptionDetailsDtoTypeEnum[keyof typeof SubscriptionDetailsDtoTypeEnum];
225
+ * @export
226
+ * @enum {string}
227
+ */
228
+ export enum SubscriptionDetailsDtoTypeEnum {
229
+ RENT = 'rent',
230
+ LEASE_TO_OWN = 'lease_to_own'
231
+ }
234
232
 
235
233
 
236
234
  /**
@@ -216,39 +216,36 @@ export interface SubscriptionDto {
216
216
  leaseToOwn: SubscriptionLeaseToOwnConfigurationDto | null;
217
217
  }
218
218
 
219
-
220
219
  /**
221
- * @export
222
- */
223
- export const SubscriptionDtoStatusEnum = {
224
- DRAFT: 'draft',
225
- ACTIVE: 'active',
226
- PAUSED: 'paused',
227
- CANCELLED: 'cancelled',
228
- FINISHED: 'finished'
229
- } as const;
230
- export type SubscriptionDtoStatusEnum = typeof SubscriptionDtoStatusEnum[keyof typeof SubscriptionDtoStatusEnum];
231
-
220
+ * @export
221
+ * @enum {string}
222
+ */
223
+ export enum SubscriptionDtoStatusEnum {
224
+ DRAFT = 'draft',
225
+ ACTIVE = 'active',
226
+ PAUSED = 'paused',
227
+ CANCELLED = 'cancelled',
228
+ FINISHED = 'finished'
229
+ }
232
230
  /**
233
- * @export
234
- */
235
- export const SubscriptionDtoTypeEnum = {
236
- RENT: 'rent',
237
- LEASE_TO_OWN: 'lease_to_own'
238
- } as const;
239
- export type SubscriptionDtoTypeEnum = typeof SubscriptionDtoTypeEnum[keyof typeof SubscriptionDtoTypeEnum];
240
-
231
+ * @export
232
+ * @enum {string}
233
+ */
234
+ export enum SubscriptionDtoTypeEnum {
235
+ RENT = 'rent',
236
+ LEASE_TO_OWN = 'lease_to_own'
237
+ }
241
238
  /**
242
- * @export
243
- */
244
- export const SubscriptionDtoLeadStatusEnum = {
245
- UNVERIFIED: 'unverified',
246
- ACTIVE: 'active',
247
- ACCEPTED: 'accepted',
248
- FINISHED: 'finished',
249
- CLOSED: 'closed'
250
- } as const;
251
- export type SubscriptionDtoLeadStatusEnum = typeof SubscriptionDtoLeadStatusEnum[keyof typeof SubscriptionDtoLeadStatusEnum];
239
+ * @export
240
+ * @enum {string}
241
+ */
242
+ export enum SubscriptionDtoLeadStatusEnum {
243
+ UNVERIFIED = 'unverified',
244
+ ACTIVE = 'active',
245
+ ACCEPTED = 'accepted',
246
+ FINISHED = 'finished',
247
+ CLOSED = 'closed'
248
+ }
252
249
 
253
250
 
254
251
  /**
@@ -33,15 +33,14 @@ export interface SubscriptionListItemBillingPeriodicityDto {
33
33
  unit: SubscriptionListItemBillingPeriodicityDtoUnitEnum;
34
34
  }
35
35
 
36
-
37
36
  /**
38
- * @export
39
- */
40
- export const SubscriptionListItemBillingPeriodicityDtoUnitEnum = {
41
- WEEK: 'week',
42
- MONTH: 'month'
43
- } as const;
44
- export type SubscriptionListItemBillingPeriodicityDtoUnitEnum = typeof SubscriptionListItemBillingPeriodicityDtoUnitEnum[keyof typeof SubscriptionListItemBillingPeriodicityDtoUnitEnum];
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export enum SubscriptionListItemBillingPeriodicityDtoUnitEnum {
41
+ WEEK = 'week',
42
+ MONTH = 'month'
43
+ }
45
44
 
46
45
 
47
46
  /**
@@ -183,27 +183,25 @@ export interface SubscriptionListItemDto {
183
183
  sellerLeaseToOwnKickBackPercentage: number;
184
184
  }
185
185
 
186
-
187
186
  /**
188
- * @export
189
- */
190
- export const SubscriptionListItemDtoStatusEnum = {
191
- DRAFT: 'draft',
192
- ACTIVE: 'active',
193
- PAUSED: 'paused',
194
- CANCELLED: 'cancelled',
195
- FINISHED: 'finished'
196
- } as const;
197
- export type SubscriptionListItemDtoStatusEnum = typeof SubscriptionListItemDtoStatusEnum[keyof typeof SubscriptionListItemDtoStatusEnum];
198
-
187
+ * @export
188
+ * @enum {string}
189
+ */
190
+ export enum SubscriptionListItemDtoStatusEnum {
191
+ DRAFT = 'draft',
192
+ ACTIVE = 'active',
193
+ PAUSED = 'paused',
194
+ CANCELLED = 'cancelled',
195
+ FINISHED = 'finished'
196
+ }
199
197
  /**
200
- * @export
201
- */
202
- export const SubscriptionListItemDtoTypeEnum = {
203
- RENT: 'rent',
204
- LEASE_TO_OWN: 'lease_to_own'
205
- } as const;
206
- export type SubscriptionListItemDtoTypeEnum = typeof SubscriptionListItemDtoTypeEnum[keyof typeof SubscriptionListItemDtoTypeEnum];
198
+ * @export
199
+ * @enum {string}
200
+ */
201
+ export enum SubscriptionListItemDtoTypeEnum {
202
+ RENT = 'rent',
203
+ LEASE_TO_OWN = 'lease_to_own'
204
+ }
207
205
 
208
206
 
209
207
  /**
@@ -53,16 +53,15 @@ export interface TaskListLeadDto {
53
53
  unreadSellerMessagesNumber: number;
54
54
  }
55
55
 
56
-
57
56
  /**
58
- * @export
59
- */
60
- export const TaskListLeadDtoLastOfferByEnum = {
61
- BUYER: 'buyer',
62
- SELLER: 'seller',
63
- ADMIN: 'admin'
64
- } as const;
65
- export type TaskListLeadDtoLastOfferByEnum = typeof TaskListLeadDtoLastOfferByEnum[keyof typeof TaskListLeadDtoLastOfferByEnum];
57
+ * @export
58
+ * @enum {string}
59
+ */
60
+ export enum TaskListLeadDtoLastOfferByEnum {
61
+ BUYER = 'buyer',
62
+ SELLER = 'seller',
63
+ ADMIN = 'admin'
64
+ }
66
65
 
67
66
 
68
67
  /**
@@ -45,19 +45,18 @@ export interface UkBankAccountDetails {
45
45
  accountNumber: string;
46
46
  }
47
47
 
48
-
49
48
  /**
50
- * @export
51
- */
52
- export const UkBankAccountDetailsTypeEnum = {
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 UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
49
+ * @export
50
+ * @enum {string}
51
+ */
52
+ export enum UkBankAccountDetailsTypeEnum {
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
  /**
@@ -33,15 +33,14 @@ export interface UpdateSubscriptionBillingPeriodicityInput {
33
33
  unit?: UpdateSubscriptionBillingPeriodicityInputUnitEnum;
34
34
  }
35
35
 
36
-
37
36
  /**
38
- * @export
39
- */
40
- export const UpdateSubscriptionBillingPeriodicityInputUnitEnum = {
41
- WEEK: 'week',
42
- MONTH: 'month'
43
- } as const;
44
- export type UpdateSubscriptionBillingPeriodicityInputUnitEnum = typeof UpdateSubscriptionBillingPeriodicityInputUnitEnum[keyof typeof UpdateSubscriptionBillingPeriodicityInputUnitEnum];
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export enum UpdateSubscriptionBillingPeriodicityInputUnitEnum {
41
+ WEEK = 'week',
42
+ MONTH = 'month'
43
+ }
45
44
 
46
45
 
47
46
  /**