@djangocfg/api 1.0.2 → 1.0.3
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.
- package/dist/index.cjs +1572 -2035
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +299 -144
- package/dist/index.d.ts +299 -144
- package/dist/index.mjs +1570 -1744
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/contexts/payments/ApiKeysContext.tsx +2 -2
- package/src/cfg/contexts/payments/CurrenciesContext.tsx +0 -26
- package/src/cfg/contexts/payments/OverviewContext.tsx +79 -0
- package/src/cfg/contexts/payments/RootPaymentsContext.tsx +137 -0
- package/src/cfg/contexts/payments/index.ts +13 -0
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +12 -10
- package/src/cfg/generated/_utils/hooks/cfg__payments.ts +12 -10
- package/src/cfg/generated/_utils/schemas/APIKeyValidationResponse.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/AdminPaymentDetail.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/AdminPaymentList.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/CurrencyList.schema.ts +2 -0
- package/src/cfg/generated/_utils/schemas/CurrencyRates.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/Network.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/Payment.schema.ts +1 -0
- package/src/cfg/generated/_utils/schemas/PaymentCreate.schema.ts +0 -1
- package/src/cfg/generated/_utils/schemas/PaymentCreateRequest.schema.ts +0 -1
- package/src/cfg/generated/_utils/schemas/PaymentsMetrics.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/ProviderCurrency.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/SupportedCurrencies.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/index.ts +2 -0
- package/src/cfg/generated/cfg__payments/client.ts +24 -44
- package/src/cfg/generated/cfg__payments/models.ts +46 -12
- package/src/cfg/generated/enums.ts +34 -22
- package/src/cfg/generated/index.ts +2 -3
- package/src/cfg/generated/schema.ts +90 -74
- package/src/index.ts +20 -1
package/dist/index.cjs
CHANGED
|
@@ -85,6 +85,7 @@ __export(index_exports, {
|
|
|
85
85
|
PaymentsProvider: () => PaymentsProvider,
|
|
86
86
|
PaymentsService: () => PaymentsService,
|
|
87
87
|
REFRESH_TOKEN_KEY: () => REFRESH_TOKEN_KEY,
|
|
88
|
+
RootPaymentsProvider: () => RootPaymentsProvider,
|
|
88
89
|
Schemas: () => schemas_exports,
|
|
89
90
|
SubscriptionsService: () => SubscriptionsService,
|
|
90
91
|
SupportProvider: () => SupportProvider,
|
|
@@ -95,303 +96,12 @@ __export(index_exports, {
|
|
|
95
96
|
api: () => api,
|
|
96
97
|
clearAPITokens: () => clearAPITokens,
|
|
97
98
|
configureAPI: () => configureAPI,
|
|
98
|
-
createAccountsOtpRequestCreate: () => createAccountsOtpRequestCreate,
|
|
99
|
-
createAccountsOtpVerifyCreate: () => createAccountsOtpVerifyCreate,
|
|
100
|
-
createAccountsProfileAvatarCreate: () => createAccountsProfileAvatarCreate,
|
|
101
|
-
createAccountsTokenRefreshCreate: () => createAccountsTokenRefreshCreate,
|
|
102
|
-
createKnowbaseAdminChatCreate: () => createKnowbaseAdminChatCreate,
|
|
103
|
-
createKnowbaseAdminChatQueryCreate: () => createKnowbaseAdminChatQueryCreate,
|
|
104
|
-
createKnowbaseAdminDocumentsCreate: () => createKnowbaseAdminDocumentsCreate,
|
|
105
|
-
createKnowbaseAdminDocumentsReprocessCreate: () => createKnowbaseAdminDocumentsReprocessCreate,
|
|
106
|
-
createKnowbaseAdminSessionsActivateCreate: () => createKnowbaseAdminSessionsActivateCreate,
|
|
107
|
-
createKnowbaseAdminSessionsArchiveCreate: () => createKnowbaseAdminSessionsArchiveCreate,
|
|
108
|
-
createKnowbaseAdminSessionsCreate: () => createKnowbaseAdminSessionsCreate,
|
|
109
|
-
createKnowbaseSystemArchivesCreate: () => createKnowbaseSystemArchivesCreate,
|
|
110
|
-
createKnowbaseSystemArchivesRevectorizeCreate: () => createKnowbaseSystemArchivesRevectorizeCreate,
|
|
111
|
-
createKnowbaseSystemArchivesSearchCreate: () => createKnowbaseSystemArchivesSearchCreate,
|
|
112
|
-
createKnowbaseSystemChunksCreate: () => createKnowbaseSystemChunksCreate,
|
|
113
|
-
createKnowbaseSystemChunksVectorizeCreate: () => createKnowbaseSystemChunksVectorizeCreate,
|
|
114
|
-
createKnowbaseSystemItemsCreate: () => createKnowbaseSystemItemsCreate,
|
|
115
|
-
createLeadsCreate: () => createLeadsCreate,
|
|
116
|
-
createLeadsSubmitCreate: () => createLeadsSubmitCreate,
|
|
117
|
-
createNewsletterBulkCreate: () => createNewsletterBulkCreate,
|
|
118
|
-
createNewsletterCampaignsCreate: () => createNewsletterCampaignsCreate,
|
|
119
|
-
createNewsletterCampaignsSendCreate: () => createNewsletterCampaignsSendCreate,
|
|
120
|
-
createNewsletterSubscribeCreate: () => createNewsletterSubscribeCreate,
|
|
121
|
-
createNewsletterTestCreate: () => createNewsletterTestCreate,
|
|
122
|
-
createNewsletterUnsubscribeCreate: () => createNewsletterUnsubscribeCreate,
|
|
123
|
-
createPaymentsAdminApiPaymentsCancelCreate: () => createPaymentsAdminApiPaymentsCancelCreate,
|
|
124
|
-
createPaymentsAdminApiPaymentsCreate: () => createPaymentsAdminApiPaymentsCreate,
|
|
125
|
-
createPaymentsAdminApiPaymentsRefreshStatusCreate: () => createPaymentsAdminApiPaymentsRefreshStatusCreate,
|
|
126
|
-
createPaymentsAdminApiPaymentsRefundCreate: () => createPaymentsAdminApiPaymentsRefundCreate,
|
|
127
|
-
createPaymentsAdminApiWebhookTestTestCreate: () => createPaymentsAdminApiWebhookTestTestCreate,
|
|
128
|
-
createPaymentsAdminApiWebhooksEventsClearAllCreate: () => createPaymentsAdminApiWebhooksEventsClearAllCreate,
|
|
129
|
-
createPaymentsAdminApiWebhooksEventsRetryCreate: () => createPaymentsAdminApiWebhooksEventsRetryCreate,
|
|
130
|
-
createPaymentsAdminApiWebhooksEventsRetryFailedCreate: () => createPaymentsAdminApiWebhooksEventsRetryFailedCreate,
|
|
131
|
-
createPaymentsApiKeysCreate: () => createPaymentsApiKeysCreate,
|
|
132
|
-
createPaymentsApiKeysCreateCreate: () => createPaymentsApiKeysCreateCreate,
|
|
133
|
-
createPaymentsApiKeysPerformActionCreate: () => createPaymentsApiKeysPerformActionCreate,
|
|
134
|
-
createPaymentsApiKeysValidateCreate: () => createPaymentsApiKeysValidateCreate,
|
|
135
|
-
createPaymentsApiKeysValidateKeyCreate: () => createPaymentsApiKeysValidateKeyCreate,
|
|
136
|
-
createPaymentsCurrenciesConvertCreate: () => createPaymentsCurrenciesConvertCreate,
|
|
137
|
-
createPaymentsCurrenciesCreate: () => createPaymentsCurrenciesCreate,
|
|
138
|
-
createPaymentsPaymentCancelCreate: () => createPaymentsPaymentCancelCreate,
|
|
139
|
-
createPaymentsPaymentCheckStatusCreate: () => createPaymentsPaymentCheckStatusCreate,
|
|
140
|
-
createPaymentsPaymentCreate: () => createPaymentsPaymentCreate,
|
|
141
|
-
createPaymentsPaymentCreateCreate: () => createPaymentsPaymentCreateCreate,
|
|
142
|
-
createPaymentsSubscriptionsCreate: () => createPaymentsSubscriptionsCreate,
|
|
143
|
-
createPaymentsSubscriptionsIncrementUsageCreate: () => createPaymentsSubscriptionsIncrementUsageCreate,
|
|
144
|
-
createPaymentsSubscriptionsUpdateStatusCreate: () => createPaymentsSubscriptionsUpdateStatusCreate,
|
|
145
|
-
createPaymentsUsersApiKeysCreate: () => createPaymentsUsersApiKeysCreate,
|
|
146
|
-
createPaymentsUsersApiKeysPerformActionCreate: () => createPaymentsUsersApiKeysPerformActionCreate,
|
|
147
|
-
createPaymentsUsersCancelCreate: () => createPaymentsUsersCancelCreate,
|
|
148
|
-
createPaymentsUsersCheckStatusCreate: () => createPaymentsUsersCheckStatusCreate,
|
|
149
|
-
createPaymentsUsersCreate: () => createPaymentsUsersCreate,
|
|
150
|
-
createPaymentsUsersPaymentCancelCreate: () => createPaymentsUsersPaymentCancelCreate,
|
|
151
|
-
createPaymentsUsersPaymentCheckStatusCreate: () => createPaymentsUsersPaymentCheckStatusCreate,
|
|
152
|
-
createPaymentsUsersPaymentCreate: () => createPaymentsUsersPaymentCreate,
|
|
153
|
-
createPaymentsUsersSubscriptionsCreate: () => createPaymentsUsersSubscriptionsCreate,
|
|
154
|
-
createPaymentsUsersSubscriptionsIncrementUsageCreate: () => createPaymentsUsersSubscriptionsIncrementUsageCreate,
|
|
155
|
-
createPaymentsUsersSubscriptionsUpdateStatusCreate: () => createPaymentsUsersSubscriptionsUpdateStatusCreate,
|
|
156
|
-
createPaymentsWebhooksCreate: () => createPaymentsWebhooksCreate,
|
|
157
|
-
createSupportTicketsCreate: () => createSupportTicketsCreate,
|
|
158
|
-
createSupportTicketsMessagesCreate: () => createSupportTicketsMessagesCreate,
|
|
159
|
-
createTasksApiClearCreate: () => createTasksApiClearCreate,
|
|
160
|
-
createTasksApiClearQueuesCreate: () => createTasksApiClearQueuesCreate,
|
|
161
|
-
createTasksApiPurgeFailedCreate: () => createTasksApiPurgeFailedCreate,
|
|
162
|
-
createTasksApiQueuesManageCreate: () => createTasksApiQueuesManageCreate,
|
|
163
|
-
createTasksApiSimulateCreate: () => createTasksApiSimulateCreate,
|
|
164
|
-
createTasksApiWorkersManageCreate: () => createTasksApiWorkersManageCreate,
|
|
165
99
|
default: () => api,
|
|
166
|
-
deleteKnowbaseAdminChatDestroy: () => deleteKnowbaseAdminChatDestroy,
|
|
167
|
-
deleteKnowbaseAdminDocumentsDestroy: () => deleteKnowbaseAdminDocumentsDestroy,
|
|
168
|
-
deleteKnowbaseAdminSessionsDestroy: () => deleteKnowbaseAdminSessionsDestroy,
|
|
169
|
-
deleteKnowbaseSystemArchivesDestroy: () => deleteKnowbaseSystemArchivesDestroy,
|
|
170
|
-
deleteKnowbaseSystemChunksDestroy: () => deleteKnowbaseSystemChunksDestroy,
|
|
171
|
-
deleteKnowbaseSystemItemsDestroy: () => deleteKnowbaseSystemItemsDestroy,
|
|
172
|
-
deleteLeadsDestroy: () => deleteLeadsDestroy,
|
|
173
|
-
deleteNewsletterCampaignsDestroy: () => deleteNewsletterCampaignsDestroy,
|
|
174
|
-
deletePaymentsAdminApiPaymentsDestroy: () => deletePaymentsAdminApiPaymentsDestroy,
|
|
175
|
-
deletePaymentsApiKeysDestroy: () => deletePaymentsApiKeysDestroy,
|
|
176
|
-
deletePaymentsPaymentDestroy: () => deletePaymentsPaymentDestroy,
|
|
177
|
-
deletePaymentsSubscriptionsDestroy: () => deletePaymentsSubscriptionsDestroy,
|
|
178
|
-
deletePaymentsUsersApiKeysDestroy: () => deletePaymentsUsersApiKeysDestroy,
|
|
179
|
-
deletePaymentsUsersDestroy: () => deletePaymentsUsersDestroy,
|
|
180
|
-
deletePaymentsUsersPaymentDestroy: () => deletePaymentsUsersPaymentDestroy,
|
|
181
|
-
deletePaymentsUsersSubscriptionsDestroy: () => deletePaymentsUsersSubscriptionsDestroy,
|
|
182
|
-
deleteSupportTicketsDestroy: () => deleteSupportTicketsDestroy,
|
|
183
|
-
deleteSupportTicketsMessagesDestroy: () => deleteSupportTicketsMessagesDestroy,
|
|
184
100
|
getAPIInstance: () => getAPIInstance,
|
|
185
|
-
getAccountsProfileRetrieve: () => getAccountsProfileRetrieve,
|
|
186
|
-
getEndpointsDrfRetrieve: () => getEndpointsDrfRetrieve,
|
|
187
|
-
getHealthDrfQuickRetrieve: () => getHealthDrfQuickRetrieve,
|
|
188
|
-
getHealthDrfRetrieve: () => getHealthDrfRetrieve,
|
|
189
|
-
getKnowbaseAdminChatHistoryRetrieve: () => getKnowbaseAdminChatHistoryRetrieve,
|
|
190
|
-
getKnowbaseAdminChatList: () => getKnowbaseAdminChatList,
|
|
191
|
-
getKnowbaseAdminChatRetrieve: () => getKnowbaseAdminChatRetrieve,
|
|
192
|
-
getKnowbaseAdminDocumentsList: () => getKnowbaseAdminDocumentsList,
|
|
193
|
-
getKnowbaseAdminDocumentsRetrieve: () => getKnowbaseAdminDocumentsRetrieve,
|
|
194
|
-
getKnowbaseAdminDocumentsStatsRetrieve: () => getKnowbaseAdminDocumentsStatsRetrieve,
|
|
195
|
-
getKnowbaseAdminDocumentsStatusRetrieve: () => getKnowbaseAdminDocumentsStatusRetrieve,
|
|
196
|
-
getKnowbaseAdminSessionsList: () => getKnowbaseAdminSessionsList,
|
|
197
|
-
getKnowbaseAdminSessionsRetrieve: () => getKnowbaseAdminSessionsRetrieve,
|
|
198
|
-
getKnowbaseCategoriesList: () => getKnowbaseCategoriesList,
|
|
199
|
-
getKnowbaseCategoriesRetrieve: () => getKnowbaseCategoriesRetrieve,
|
|
200
|
-
getKnowbaseDocumentsList: () => getKnowbaseDocumentsList,
|
|
201
|
-
getKnowbaseDocumentsRetrieve: () => getKnowbaseDocumentsRetrieve,
|
|
202
|
-
getKnowbaseSystemArchivesFileTreeRetrieve: () => getKnowbaseSystemArchivesFileTreeRetrieve,
|
|
203
|
-
getKnowbaseSystemArchivesItemsList: () => getKnowbaseSystemArchivesItemsList,
|
|
204
|
-
getKnowbaseSystemArchivesList: () => getKnowbaseSystemArchivesList,
|
|
205
|
-
getKnowbaseSystemArchivesRetrieve: () => getKnowbaseSystemArchivesRetrieve,
|
|
206
|
-
getKnowbaseSystemArchivesStatisticsRetrieve: () => getKnowbaseSystemArchivesStatisticsRetrieve,
|
|
207
|
-
getKnowbaseSystemArchivesVectorizationStatsRetrieve: () => getKnowbaseSystemArchivesVectorizationStatsRetrieve,
|
|
208
|
-
getKnowbaseSystemChunksContextRetrieve: () => getKnowbaseSystemChunksContextRetrieve,
|
|
209
|
-
getKnowbaseSystemChunksList: () => getKnowbaseSystemChunksList,
|
|
210
|
-
getKnowbaseSystemChunksRetrieve: () => getKnowbaseSystemChunksRetrieve,
|
|
211
|
-
getKnowbaseSystemItemsChunksList: () => getKnowbaseSystemItemsChunksList,
|
|
212
|
-
getKnowbaseSystemItemsContentRetrieve: () => getKnowbaseSystemItemsContentRetrieve,
|
|
213
|
-
getKnowbaseSystemItemsList: () => getKnowbaseSystemItemsList,
|
|
214
|
-
getKnowbaseSystemItemsRetrieve: () => getKnowbaseSystemItemsRetrieve,
|
|
215
|
-
getLeadsList: () => getLeadsList,
|
|
216
|
-
getLeadsRetrieve: () => getLeadsRetrieve,
|
|
217
|
-
getNewsletterCampaignsList: () => getNewsletterCampaignsList,
|
|
218
|
-
getNewsletterCampaignsRetrieve: () => getNewsletterCampaignsRetrieve,
|
|
219
|
-
getNewsletterLogsList: () => getNewsletterLogsList,
|
|
220
|
-
getNewsletterNewslettersList: () => getNewsletterNewslettersList,
|
|
221
|
-
getNewsletterNewslettersRetrieve: () => getNewsletterNewslettersRetrieve,
|
|
222
|
-
getNewsletterSubscriptionsList: () => getNewsletterSubscriptionsList,
|
|
223
|
-
getPaymentsAdminApiPaymentsList: () => getPaymentsAdminApiPaymentsList,
|
|
224
|
-
getPaymentsAdminApiPaymentsRetrieve: () => getPaymentsAdminApiPaymentsRetrieve,
|
|
225
|
-
getPaymentsAdminApiPaymentsStatsRetrieve: () => getPaymentsAdminApiPaymentsStatsRetrieve,
|
|
226
|
-
getPaymentsAdminApiStatsList: () => getPaymentsAdminApiStatsList,
|
|
227
|
-
getPaymentsAdminApiStatsPaymentsRetrieve: () => getPaymentsAdminApiStatsPaymentsRetrieve,
|
|
228
|
-
getPaymentsAdminApiStatsRetrieve: () => getPaymentsAdminApiStatsRetrieve,
|
|
229
|
-
getPaymentsAdminApiStatsSystemRetrieve: () => getPaymentsAdminApiStatsSystemRetrieve,
|
|
230
|
-
getPaymentsAdminApiStatsWebhooksRetrieve: () => getPaymentsAdminApiStatsWebhooksRetrieve,
|
|
231
|
-
getPaymentsAdminApiUsersList: () => getPaymentsAdminApiUsersList,
|
|
232
|
-
getPaymentsAdminApiUsersRetrieve: () => getPaymentsAdminApiUsersRetrieve,
|
|
233
|
-
getPaymentsAdminApiWebhooksEventsList: () => getPaymentsAdminApiWebhooksEventsList,
|
|
234
|
-
getPaymentsAdminApiWebhooksEventsRetrieve: () => getPaymentsAdminApiWebhooksEventsRetrieve,
|
|
235
|
-
getPaymentsAdminApiWebhooksList: () => getPaymentsAdminApiWebhooksList,
|
|
236
|
-
getPaymentsAdminApiWebhooksRetrieve: () => getPaymentsAdminApiWebhooksRetrieve,
|
|
237
|
-
getPaymentsAdminApiWebhooksStatsRetrieve: () => getPaymentsAdminApiWebhooksStatsRetrieve,
|
|
238
|
-
getPaymentsApiKeysAnalyticsRetrieve: () => getPaymentsApiKeysAnalyticsRetrieve,
|
|
239
|
-
getPaymentsApiKeysByUserRetrieve: () => getPaymentsApiKeysByUserRetrieve,
|
|
240
|
-
getPaymentsApiKeysExpiringSoonRetrieve: () => getPaymentsApiKeysExpiringSoonRetrieve,
|
|
241
|
-
getPaymentsApiKeysHealthRetrieve: () => getPaymentsApiKeysHealthRetrieve,
|
|
242
|
-
getPaymentsApiKeysList: () => getPaymentsApiKeysList,
|
|
243
|
-
getPaymentsApiKeysRetrieve: () => getPaymentsApiKeysRetrieve,
|
|
244
|
-
getPaymentsApiKeysStatsRetrieve: () => getPaymentsApiKeysStatsRetrieve,
|
|
245
|
-
getPaymentsBalancesAnalyticsRetrieve: () => getPaymentsBalancesAnalyticsRetrieve,
|
|
246
|
-
getPaymentsBalancesHealthRetrieve: () => getPaymentsBalancesHealthRetrieve,
|
|
247
|
-
getPaymentsBalancesList: () => getPaymentsBalancesList,
|
|
248
|
-
getPaymentsBalancesRetrieve: () => getPaymentsBalancesRetrieve,
|
|
249
|
-
getPaymentsBalancesStatsRetrieve: () => getPaymentsBalancesStatsRetrieve,
|
|
250
|
-
getPaymentsBalancesSummaryRetrieve: () => getPaymentsBalancesSummaryRetrieve,
|
|
251
|
-
getPaymentsCurrenciesCryptoRetrieve: () => getPaymentsCurrenciesCryptoRetrieve,
|
|
252
|
-
getPaymentsCurrenciesFiatRetrieve: () => getPaymentsCurrenciesFiatRetrieve,
|
|
253
|
-
getPaymentsCurrenciesHealthRetrieve: () => getPaymentsCurrenciesHealthRetrieve,
|
|
254
|
-
getPaymentsCurrenciesList: () => getPaymentsCurrenciesList,
|
|
255
|
-
getPaymentsCurrenciesNetworksRetrieve: () => getPaymentsCurrenciesNetworksRetrieve,
|
|
256
|
-
getPaymentsCurrenciesProvidersRetrieve: () => getPaymentsCurrenciesProvidersRetrieve,
|
|
257
|
-
getPaymentsCurrenciesRatesRetrieve: () => getPaymentsCurrenciesRatesRetrieve,
|
|
258
|
-
getPaymentsCurrenciesRetrieve: () => getPaymentsCurrenciesRetrieve,
|
|
259
|
-
getPaymentsCurrenciesStableRetrieve: () => getPaymentsCurrenciesStableRetrieve,
|
|
260
|
-
getPaymentsCurrenciesStatsRetrieve: () => getPaymentsCurrenciesStatsRetrieve,
|
|
261
|
-
getPaymentsCurrenciesSupportedRetrieve: () => getPaymentsCurrenciesSupportedRetrieve,
|
|
262
|
-
getPaymentsEndpointGroupsAvailableRetrieve: () => getPaymentsEndpointGroupsAvailableRetrieve,
|
|
263
|
-
getPaymentsEndpointGroupsHealthRetrieve: () => getPaymentsEndpointGroupsHealthRetrieve,
|
|
264
|
-
getPaymentsEndpointGroupsList: () => getPaymentsEndpointGroupsList,
|
|
265
|
-
getPaymentsEndpointGroupsRetrieve: () => getPaymentsEndpointGroupsRetrieve,
|
|
266
|
-
getPaymentsEndpointGroupsStatsRetrieve: () => getPaymentsEndpointGroupsStatsRetrieve,
|
|
267
|
-
getPaymentsHealthRetrieve: () => getPaymentsHealthRetrieve,
|
|
268
|
-
getPaymentsNetworksByCurrencyRetrieve: () => getPaymentsNetworksByCurrencyRetrieve,
|
|
269
|
-
getPaymentsNetworksHealthRetrieve: () => getPaymentsNetworksHealthRetrieve,
|
|
270
|
-
getPaymentsNetworksList: () => getPaymentsNetworksList,
|
|
271
|
-
getPaymentsNetworksRetrieve: () => getPaymentsNetworksRetrieve,
|
|
272
|
-
getPaymentsNetworksStatsRetrieve: () => getPaymentsNetworksStatsRetrieve,
|
|
273
|
-
getPaymentsOverviewDashboardApiKeysOverviewRetrieve: () => getPaymentsOverviewDashboardApiKeysOverviewRetrieve,
|
|
274
|
-
getPaymentsOverviewDashboardBalanceOverviewRetrieve: () => getPaymentsOverviewDashboardBalanceOverviewRetrieve,
|
|
275
|
-
getPaymentsOverviewDashboardChartDataRetrieve: () => getPaymentsOverviewDashboardChartDataRetrieve,
|
|
276
|
-
getPaymentsOverviewDashboardMetricsRetrieve: () => getPaymentsOverviewDashboardMetricsRetrieve,
|
|
277
|
-
getPaymentsOverviewDashboardOverviewRetrieve: () => getPaymentsOverviewDashboardOverviewRetrieve,
|
|
278
|
-
getPaymentsOverviewDashboardPaymentAnalyticsRetrieve: () => getPaymentsOverviewDashboardPaymentAnalyticsRetrieve,
|
|
279
|
-
getPaymentsOverviewDashboardRecentPaymentsList: () => getPaymentsOverviewDashboardRecentPaymentsList,
|
|
280
|
-
getPaymentsOverviewDashboardRecentTransactionsList: () => getPaymentsOverviewDashboardRecentTransactionsList,
|
|
281
|
-
getPaymentsOverviewDashboardSubscriptionOverviewRetrieve: () => getPaymentsOverviewDashboardSubscriptionOverviewRetrieve,
|
|
282
|
-
getPaymentsPaymentAnalyticsRetrieve: () => getPaymentsPaymentAnalyticsRetrieve,
|
|
283
|
-
getPaymentsPaymentByProviderRetrieve: () => getPaymentsPaymentByProviderRetrieve,
|
|
284
|
-
getPaymentsPaymentHealthRetrieve: () => getPaymentsPaymentHealthRetrieve,
|
|
285
|
-
getPaymentsPaymentList: () => getPaymentsPaymentList,
|
|
286
|
-
getPaymentsPaymentRetrieve: () => getPaymentsPaymentRetrieve,
|
|
287
|
-
getPaymentsPaymentStatsRetrieve: () => getPaymentsPaymentStatsRetrieve,
|
|
288
|
-
getPaymentsPaymentStatusRetrieve: () => getPaymentsPaymentStatusRetrieve,
|
|
289
|
-
getPaymentsProviderCurrenciesByProviderRetrieve: () => getPaymentsProviderCurrenciesByProviderRetrieve,
|
|
290
|
-
getPaymentsProviderCurrenciesHealthRetrieve: () => getPaymentsProviderCurrenciesHealthRetrieve,
|
|
291
|
-
getPaymentsProviderCurrenciesLimitsRetrieve: () => getPaymentsProviderCurrenciesLimitsRetrieve,
|
|
292
|
-
getPaymentsProviderCurrenciesList: () => getPaymentsProviderCurrenciesList,
|
|
293
|
-
getPaymentsProviderCurrenciesRetrieve: () => getPaymentsProviderCurrenciesRetrieve,
|
|
294
|
-
getPaymentsProviderCurrenciesStatsRetrieve: () => getPaymentsProviderCurrenciesStatsRetrieve,
|
|
295
|
-
getPaymentsSubscriptionsAnalyticsRetrieve: () => getPaymentsSubscriptionsAnalyticsRetrieve,
|
|
296
|
-
getPaymentsSubscriptionsByStatusRetrieve: () => getPaymentsSubscriptionsByStatusRetrieve,
|
|
297
|
-
getPaymentsSubscriptionsByTierRetrieve: () => getPaymentsSubscriptionsByTierRetrieve,
|
|
298
|
-
getPaymentsSubscriptionsHealthRetrieve: () => getPaymentsSubscriptionsHealthRetrieve,
|
|
299
|
-
getPaymentsSubscriptionsList: () => getPaymentsSubscriptionsList,
|
|
300
|
-
getPaymentsSubscriptionsRetrieve: () => getPaymentsSubscriptionsRetrieve,
|
|
301
|
-
getPaymentsSubscriptionsStatsRetrieve: () => getPaymentsSubscriptionsStatsRetrieve,
|
|
302
|
-
getPaymentsTariffsEndpointGroupsRetrieve: () => getPaymentsTariffsEndpointGroupsRetrieve,
|
|
303
|
-
getPaymentsTariffsFreeRetrieve: () => getPaymentsTariffsFreeRetrieve,
|
|
304
|
-
getPaymentsTariffsHealthRetrieve: () => getPaymentsTariffsHealthRetrieve,
|
|
305
|
-
getPaymentsTariffsList: () => getPaymentsTariffsList,
|
|
306
|
-
getPaymentsTariffsPaidRetrieve: () => getPaymentsTariffsPaidRetrieve,
|
|
307
|
-
getPaymentsTariffsRetrieve: () => getPaymentsTariffsRetrieve,
|
|
308
|
-
getPaymentsTariffsStatsRetrieve: () => getPaymentsTariffsStatsRetrieve,
|
|
309
|
-
getPaymentsTransactionsByTypeRetrieve: () => getPaymentsTransactionsByTypeRetrieve,
|
|
310
|
-
getPaymentsTransactionsHealthRetrieve: () => getPaymentsTransactionsHealthRetrieve,
|
|
311
|
-
getPaymentsTransactionsList: () => getPaymentsTransactionsList,
|
|
312
|
-
getPaymentsTransactionsRecentRetrieve: () => getPaymentsTransactionsRecentRetrieve,
|
|
313
|
-
getPaymentsTransactionsRetrieve: () => getPaymentsTransactionsRetrieve,
|
|
314
|
-
getPaymentsTransactionsStatsRetrieve: () => getPaymentsTransactionsStatsRetrieve,
|
|
315
|
-
getPaymentsUsersApiKeysActiveRetrieve: () => getPaymentsUsersApiKeysActiveRetrieve,
|
|
316
|
-
getPaymentsUsersApiKeysHealthRetrieve: () => getPaymentsUsersApiKeysHealthRetrieve,
|
|
317
|
-
getPaymentsUsersApiKeysList: () => getPaymentsUsersApiKeysList,
|
|
318
|
-
getPaymentsUsersApiKeysRetrieve: () => getPaymentsUsersApiKeysRetrieve,
|
|
319
|
-
getPaymentsUsersApiKeysStatsRetrieve: () => getPaymentsUsersApiKeysStatsRetrieve,
|
|
320
|
-
getPaymentsUsersApiKeysSummaryRetrieve: () => getPaymentsUsersApiKeysSummaryRetrieve,
|
|
321
|
-
getPaymentsUsersHealthRetrieve: () => getPaymentsUsersHealthRetrieve,
|
|
322
|
-
getPaymentsUsersList: () => getPaymentsUsersList,
|
|
323
|
-
getPaymentsUsersPaymentHealthRetrieve: () => getPaymentsUsersPaymentHealthRetrieve,
|
|
324
|
-
getPaymentsUsersPaymentList: () => getPaymentsUsersPaymentList,
|
|
325
|
-
getPaymentsUsersPaymentRetrieve: () => getPaymentsUsersPaymentRetrieve,
|
|
326
|
-
getPaymentsUsersPaymentStatsRetrieve: () => getPaymentsUsersPaymentStatsRetrieve,
|
|
327
|
-
getPaymentsUsersPaymentSummaryRetrieve: () => getPaymentsUsersPaymentSummaryRetrieve,
|
|
328
|
-
getPaymentsUsersRetrieve: () => getPaymentsUsersRetrieve,
|
|
329
|
-
getPaymentsUsersStatsRetrieve: () => getPaymentsUsersStatsRetrieve,
|
|
330
|
-
getPaymentsUsersSubscriptionsActiveRetrieve: () => getPaymentsUsersSubscriptionsActiveRetrieve,
|
|
331
|
-
getPaymentsUsersSubscriptionsHealthRetrieve: () => getPaymentsUsersSubscriptionsHealthRetrieve,
|
|
332
|
-
getPaymentsUsersSubscriptionsList: () => getPaymentsUsersSubscriptionsList,
|
|
333
|
-
getPaymentsUsersSubscriptionsRetrieve: () => getPaymentsUsersSubscriptionsRetrieve,
|
|
334
|
-
getPaymentsUsersSubscriptionsStatsRetrieve: () => getPaymentsUsersSubscriptionsStatsRetrieve,
|
|
335
|
-
getPaymentsUsersSubscriptionsSummaryRetrieve: () => getPaymentsUsersSubscriptionsSummaryRetrieve,
|
|
336
|
-
getPaymentsUsersSummaryRetrieve: () => getPaymentsUsersSummaryRetrieve,
|
|
337
|
-
getPaymentsWebhooksHealthRetrieve: () => getPaymentsWebhooksHealthRetrieve,
|
|
338
|
-
getPaymentsWebhooksProvidersRetrieve: () => getPaymentsWebhooksProvidersRetrieve,
|
|
339
|
-
getPaymentsWebhooksRetrieve: () => getPaymentsWebhooksRetrieve,
|
|
340
|
-
getPaymentsWebhooksStatsRetrieve: () => getPaymentsWebhooksStatsRetrieve,
|
|
341
|
-
getSupportTicketsList: () => getSupportTicketsList,
|
|
342
|
-
getSupportTicketsMessagesList: () => getSupportTicketsMessagesList,
|
|
343
|
-
getSupportTicketsMessagesRetrieve: () => getSupportTicketsMessagesRetrieve,
|
|
344
|
-
getSupportTicketsRetrieve: () => getSupportTicketsRetrieve,
|
|
345
|
-
getTasksApiQueuesStatusRetrieve: () => getTasksApiQueuesStatusRetrieve,
|
|
346
|
-
getTasksApiTasksListRetrieve: () => getTasksApiTasksListRetrieve,
|
|
347
|
-
getTasksApiTasksStatsRetrieve: () => getTasksApiTasksStatsRetrieve,
|
|
348
|
-
getTasksApiWorkersListRetrieve: () => getTasksApiWorkersListRetrieve,
|
|
349
101
|
isAPIConfigured: () => isAPIConfigured,
|
|
350
|
-
partialUpdateAccountsProfilePartialPartialUpdate: () => partialUpdateAccountsProfilePartialPartialUpdate,
|
|
351
|
-
partialUpdateAccountsProfilePartialUpdate: () => partialUpdateAccountsProfilePartialUpdate,
|
|
352
|
-
partialUpdateAccountsProfileUpdatePartialUpdate: () => partialUpdateAccountsProfileUpdatePartialUpdate,
|
|
353
|
-
partialUpdateKnowbaseAdminChatPartialUpdate: () => partialUpdateKnowbaseAdminChatPartialUpdate,
|
|
354
|
-
partialUpdateKnowbaseAdminDocumentsPartialUpdate: () => partialUpdateKnowbaseAdminDocumentsPartialUpdate,
|
|
355
|
-
partialUpdateKnowbaseAdminSessionsPartialUpdate: () => partialUpdateKnowbaseAdminSessionsPartialUpdate,
|
|
356
|
-
partialUpdateKnowbaseSystemArchivesPartialUpdate: () => partialUpdateKnowbaseSystemArchivesPartialUpdate,
|
|
357
|
-
partialUpdateKnowbaseSystemChunksPartialUpdate: () => partialUpdateKnowbaseSystemChunksPartialUpdate,
|
|
358
|
-
partialUpdateKnowbaseSystemItemsPartialUpdate: () => partialUpdateKnowbaseSystemItemsPartialUpdate,
|
|
359
|
-
partialUpdateLeadsPartialUpdate: () => partialUpdateLeadsPartialUpdate,
|
|
360
|
-
partialUpdateNewsletterCampaignsPartialUpdate: () => partialUpdateNewsletterCampaignsPartialUpdate,
|
|
361
|
-
partialUpdateNewsletterUnsubscribePartialUpdate: () => partialUpdateNewsletterUnsubscribePartialUpdate,
|
|
362
|
-
partialUpdatePaymentsAdminApiPaymentsPartialUpdate: () => partialUpdatePaymentsAdminApiPaymentsPartialUpdate,
|
|
363
|
-
partialUpdatePaymentsApiKeysPartialUpdate: () => partialUpdatePaymentsApiKeysPartialUpdate,
|
|
364
|
-
partialUpdatePaymentsPaymentPartialUpdate: () => partialUpdatePaymentsPaymentPartialUpdate,
|
|
365
|
-
partialUpdatePaymentsSubscriptionsPartialUpdate: () => partialUpdatePaymentsSubscriptionsPartialUpdate,
|
|
366
|
-
partialUpdatePaymentsUsersApiKeysPartialUpdate: () => partialUpdatePaymentsUsersApiKeysPartialUpdate,
|
|
367
|
-
partialUpdatePaymentsUsersPartialUpdate: () => partialUpdatePaymentsUsersPartialUpdate,
|
|
368
|
-
partialUpdatePaymentsUsersPaymentPartialUpdate: () => partialUpdatePaymentsUsersPaymentPartialUpdate,
|
|
369
|
-
partialUpdatePaymentsUsersSubscriptionsPartialUpdate: () => partialUpdatePaymentsUsersSubscriptionsPartialUpdate,
|
|
370
|
-
partialUpdateSupportTicketsMessagesPartialUpdate: () => partialUpdateSupportTicketsMessagesPartialUpdate,
|
|
371
|
-
partialUpdateSupportTicketsPartialUpdate: () => partialUpdateSupportTicketsPartialUpdate,
|
|
372
102
|
reconfigureAPI: () => reconfigureAPI,
|
|
373
103
|
resetAPI: () => resetAPI,
|
|
374
104
|
shouldRetry: () => shouldRetry,
|
|
375
|
-
updateAccountsProfileUpdateUpdate: () => updateAccountsProfileUpdateUpdate,
|
|
376
|
-
updateKnowbaseAdminChatUpdate: () => updateKnowbaseAdminChatUpdate,
|
|
377
|
-
updateKnowbaseAdminDocumentsUpdate: () => updateKnowbaseAdminDocumentsUpdate,
|
|
378
|
-
updateKnowbaseAdminSessionsUpdate: () => updateKnowbaseAdminSessionsUpdate,
|
|
379
|
-
updateKnowbaseSystemArchivesUpdate: () => updateKnowbaseSystemArchivesUpdate,
|
|
380
|
-
updateKnowbaseSystemChunksUpdate: () => updateKnowbaseSystemChunksUpdate,
|
|
381
|
-
updateKnowbaseSystemItemsUpdate: () => updateKnowbaseSystemItemsUpdate,
|
|
382
|
-
updateLeadsUpdate: () => updateLeadsUpdate,
|
|
383
|
-
updateNewsletterCampaignsUpdate: () => updateNewsletterCampaignsUpdate,
|
|
384
|
-
updateNewsletterUnsubscribeUpdate: () => updateNewsletterUnsubscribeUpdate,
|
|
385
|
-
updatePaymentsAdminApiPaymentsUpdate: () => updatePaymentsAdminApiPaymentsUpdate,
|
|
386
|
-
updatePaymentsApiKeysUpdate: () => updatePaymentsApiKeysUpdate,
|
|
387
|
-
updatePaymentsPaymentUpdate: () => updatePaymentsPaymentUpdate,
|
|
388
|
-
updatePaymentsSubscriptionsUpdate: () => updatePaymentsSubscriptionsUpdate,
|
|
389
|
-
updatePaymentsUsersApiKeysUpdate: () => updatePaymentsUsersApiKeysUpdate,
|
|
390
|
-
updatePaymentsUsersPaymentUpdate: () => updatePaymentsUsersPaymentUpdate,
|
|
391
|
-
updatePaymentsUsersSubscriptionsUpdate: () => updatePaymentsUsersSubscriptionsUpdate,
|
|
392
|
-
updatePaymentsUsersUpdate: () => updatePaymentsUsersUpdate,
|
|
393
|
-
updateSupportTicketsMessagesUpdate: () => updateSupportTicketsMessagesUpdate,
|
|
394
|
-
updateSupportTicketsUpdate: () => updateSupportTicketsUpdate,
|
|
395
105
|
useAccountsContext: () => useAccountsContext,
|
|
396
106
|
useApiKeysContext: () => useApiKeysContext,
|
|
397
107
|
useBalancesContext: () => useBalancesContext,
|
|
@@ -403,6 +113,7 @@ __export(index_exports, {
|
|
|
403
113
|
useNewsletterContext: () => useNewsletterContext,
|
|
404
114
|
useOverviewContext: () => useOverviewContext,
|
|
405
115
|
usePaymentsContext: () => usePaymentsContext,
|
|
116
|
+
useRootPaymentsContext: () => useRootPaymentsContext,
|
|
406
117
|
useSupportContext: () => useSupportContext,
|
|
407
118
|
withRetry: () => withRetry
|
|
408
119
|
});
|
|
@@ -1745,8 +1456,9 @@ var CfgPayments = class {
|
|
|
1745
1456
|
return response;
|
|
1746
1457
|
}
|
|
1747
1458
|
/**
|
|
1748
|
-
*
|
|
1749
|
-
*
|
|
1459
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1460
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1461
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1750
1462
|
*/
|
|
1751
1463
|
async apiKeysList(...args) {
|
|
1752
1464
|
const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
|
|
@@ -1760,40 +1472,45 @@ var CfgPayments = class {
|
|
|
1760
1472
|
return response;
|
|
1761
1473
|
}
|
|
1762
1474
|
/**
|
|
1763
|
-
*
|
|
1764
|
-
*
|
|
1475
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1476
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1477
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1765
1478
|
*/
|
|
1766
1479
|
async apiKeysCreate(data) {
|
|
1767
1480
|
const response = await this.client.request("POST", "/cfg/payments/api-keys/", { body: data });
|
|
1768
1481
|
return response;
|
|
1769
1482
|
}
|
|
1770
1483
|
/**
|
|
1771
|
-
*
|
|
1772
|
-
*
|
|
1484
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1485
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1486
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1773
1487
|
*/
|
|
1774
1488
|
async apiKeysRetrieve(id) {
|
|
1775
1489
|
const response = await this.client.request("GET", `/cfg/payments/api-keys/${id}/`);
|
|
1776
1490
|
return response;
|
|
1777
1491
|
}
|
|
1778
1492
|
/**
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1493
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1494
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1495
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1781
1496
|
*/
|
|
1782
1497
|
async apiKeysUpdate(id, data) {
|
|
1783
1498
|
const response = await this.client.request("PUT", `/cfg/payments/api-keys/${id}/`, { body: data });
|
|
1784
1499
|
return response;
|
|
1785
1500
|
}
|
|
1786
1501
|
/**
|
|
1787
|
-
*
|
|
1788
|
-
*
|
|
1502
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1503
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1504
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1789
1505
|
*/
|
|
1790
1506
|
async apiKeysPartialUpdate(id, data) {
|
|
1791
1507
|
const response = await this.client.request("PATCH", `/cfg/payments/api-keys/${id}/`, { body: data });
|
|
1792
1508
|
return response;
|
|
1793
1509
|
}
|
|
1794
1510
|
/**
|
|
1795
|
-
*
|
|
1796
|
-
*
|
|
1511
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1512
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1513
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1797
1514
|
*/
|
|
1798
1515
|
async apiKeysDestroy(id) {
|
|
1799
1516
|
const response = await this.client.request("DELETE", `/cfg/payments/api-keys/${id}/`);
|
|
@@ -1997,19 +1714,10 @@ var CfgPayments = class {
|
|
|
1997
1714
|
return response;
|
|
1998
1715
|
}
|
|
1999
1716
|
/**
|
|
2000
|
-
* Get exchange rates
|
|
2001
|
-
*
|
|
2002
|
-
* Get current exchange rates for specified currencies
|
|
1717
|
+
* Get current exchange rates.
|
|
2003
1718
|
*/
|
|
2004
|
-
async currenciesRatesRetrieve(
|
|
2005
|
-
const
|
|
2006
|
-
let params;
|
|
2007
|
-
if (isParamsObject) {
|
|
2008
|
-
params = args[0];
|
|
2009
|
-
} else {
|
|
2010
|
-
params = { base_currency: args[0], currencies: args[1] };
|
|
2011
|
-
}
|
|
2012
|
-
const response = await this.client.request("GET", "/cfg/payments/currencies/rates/", { params });
|
|
1719
|
+
async currenciesRatesRetrieve() {
|
|
1720
|
+
const response = await this.client.request("GET", "/cfg/payments/currencies/rates/");
|
|
2013
1721
|
return response;
|
|
2014
1722
|
}
|
|
2015
1723
|
/**
|
|
@@ -2028,19 +1736,10 @@ var CfgPayments = class {
|
|
|
2028
1736
|
return response;
|
|
2029
1737
|
}
|
|
2030
1738
|
/**
|
|
2031
|
-
* Get supported currencies
|
|
2032
|
-
*
|
|
2033
|
-
* Get list of supported currencies from payment providers
|
|
1739
|
+
* Get supported currencies from providers.
|
|
2034
1740
|
*/
|
|
2035
|
-
async currenciesSupportedRetrieve(
|
|
2036
|
-
const
|
|
2037
|
-
let params;
|
|
2038
|
-
if (isParamsObject) {
|
|
2039
|
-
params = args[0];
|
|
2040
|
-
} else {
|
|
2041
|
-
params = { currency_type: args[0], provider: args[1] };
|
|
2042
|
-
}
|
|
2043
|
-
const response = await this.client.request("GET", "/cfg/payments/currencies/supported/", { params });
|
|
1741
|
+
async currenciesSupportedRetrieve() {
|
|
1742
|
+
const response = await this.client.request("GET", "/cfg/payments/currencies/supported/");
|
|
2044
1743
|
return response;
|
|
2045
1744
|
}
|
|
2046
1745
|
/**
|
|
@@ -6149,6 +5848,19 @@ var OPENAPI_SCHEMA = {
|
|
|
6149
5848
|
"type_display": {
|
|
6150
5849
|
"readOnly": true,
|
|
6151
5850
|
"type": "string"
|
|
5851
|
+
},
|
|
5852
|
+
"usd_rate": {
|
|
5853
|
+
"description": "Current USD exchange rate (1 unit = X USD)",
|
|
5854
|
+
"format": "double",
|
|
5855
|
+
"readOnly": true,
|
|
5856
|
+
"type": "number"
|
|
5857
|
+
},
|
|
5858
|
+
"usd_rate_updated_at": {
|
|
5859
|
+
"description": "When USD rate was last updated",
|
|
5860
|
+
"format": "date-time",
|
|
5861
|
+
"nullable": true,
|
|
5862
|
+
"readOnly": true,
|
|
5863
|
+
"type": "string"
|
|
6152
5864
|
}
|
|
6153
5865
|
},
|
|
6154
5866
|
"required": [
|
|
@@ -6158,10 +5870,41 @@ var OPENAPI_SCHEMA = {
|
|
|
6158
5870
|
"is_active",
|
|
6159
5871
|
"name",
|
|
6160
5872
|
"symbol",
|
|
6161
|
-
"type_display"
|
|
5873
|
+
"type_display",
|
|
5874
|
+
"usd_rate",
|
|
5875
|
+
"usd_rate_updated_at"
|
|
6162
5876
|
],
|
|
6163
5877
|
"type": "object"
|
|
6164
5878
|
},
|
|
5879
|
+
"CurrencyRates": {
|
|
5880
|
+
"description": "Currency rates serializer for getting exchange rates.\n\nFetches current exchange rates through CurrencyService.",
|
|
5881
|
+
"properties": {
|
|
5882
|
+
"base_currency": {
|
|
5883
|
+
"default": "USD",
|
|
5884
|
+
"description": "Base currency for rates (default: USD)",
|
|
5885
|
+
"maxLength": 10,
|
|
5886
|
+
"type": "string"
|
|
5887
|
+
},
|
|
5888
|
+
"currencies": {
|
|
5889
|
+
"description": "Specific currencies to get rates for (optional)",
|
|
5890
|
+
"items": {
|
|
5891
|
+
"maxLength": 10,
|
|
5892
|
+
"type": "string"
|
|
5893
|
+
},
|
|
5894
|
+
"type": "array"
|
|
5895
|
+
},
|
|
5896
|
+
"provider": {
|
|
5897
|
+
"default": "nowpayments",
|
|
5898
|
+
"description": "Provider for exchange rates\n\n* `nowpayments` - NowPayments",
|
|
5899
|
+
"enum": [
|
|
5900
|
+
"nowpayments"
|
|
5901
|
+
],
|
|
5902
|
+
"type": "string",
|
|
5903
|
+
"x-spec-enum-id": "47694db6bd068cb3"
|
|
5904
|
+
}
|
|
5905
|
+
},
|
|
5906
|
+
"type": "object"
|
|
5907
|
+
},
|
|
6165
5908
|
"Document": {
|
|
6166
5909
|
"description": "Document response serializer.",
|
|
6167
5910
|
"properties": {
|
|
@@ -7550,6 +7293,7 @@ var OPENAPI_SCHEMA = {
|
|
|
7550
7293
|
"$ref": "#/components/schemas/CurrencyList"
|
|
7551
7294
|
}
|
|
7552
7295
|
],
|
|
7296
|
+
"nullable": true,
|
|
7553
7297
|
"readOnly": true
|
|
7554
7298
|
},
|
|
7555
7299
|
"id": {
|
|
@@ -10540,6 +10284,12 @@ var OPENAPI_SCHEMA = {
|
|
|
10540
10284
|
"Payment": {
|
|
10541
10285
|
"description": "Complete payment serializer with full details.\n\nUsed for detail views and updates.",
|
|
10542
10286
|
"properties": {
|
|
10287
|
+
"amount_crypto": {
|
|
10288
|
+
"description": "Calculate crypto amount from USD amount and currency rate.",
|
|
10289
|
+
"format": "double",
|
|
10290
|
+
"readOnly": true,
|
|
10291
|
+
"type": "number"
|
|
10292
|
+
},
|
|
10543
10293
|
"amount_display": {
|
|
10544
10294
|
"description": "Get formatted amount display.",
|
|
10545
10295
|
"readOnly": true,
|
|
@@ -10693,6 +10443,7 @@ var OPENAPI_SCHEMA = {
|
|
|
10693
10443
|
}
|
|
10694
10444
|
},
|
|
10695
10445
|
"required": [
|
|
10446
|
+
"amount_crypto",
|
|
10696
10447
|
"amount_display",
|
|
10697
10448
|
"amount_usd",
|
|
10698
10449
|
"completed_at",
|
|
@@ -10780,15 +10531,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10780
10531
|
},
|
|
10781
10532
|
"metadata": {
|
|
10782
10533
|
"description": "Additional metadata"
|
|
10783
|
-
},
|
|
10784
|
-
"provider": {
|
|
10785
|
-
"default": "nowpayments",
|
|
10786
|
-
"description": "Payment provider\n\n* `nowpayments` - NowPayments",
|
|
10787
|
-
"enum": [
|
|
10788
|
-
"nowpayments"
|
|
10789
|
-
],
|
|
10790
|
-
"type": "string",
|
|
10791
|
-
"x-spec-enum-id": "47694db6bd068cb3"
|
|
10792
10534
|
}
|
|
10793
10535
|
},
|
|
10794
10536
|
"required": [
|
|
@@ -10839,15 +10581,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10839
10581
|
},
|
|
10840
10582
|
"metadata": {
|
|
10841
10583
|
"description": "Additional metadata"
|
|
10842
|
-
},
|
|
10843
|
-
"provider": {
|
|
10844
|
-
"default": "nowpayments",
|
|
10845
|
-
"description": "Payment provider\n\n* `nowpayments` - NowPayments",
|
|
10846
|
-
"enum": [
|
|
10847
|
-
"nowpayments"
|
|
10848
|
-
],
|
|
10849
|
-
"type": "string",
|
|
10850
|
-
"x-spec-enum-id": "47694db6bd068cb3"
|
|
10851
10584
|
}
|
|
10852
10585
|
},
|
|
10853
10586
|
"required": [
|
|
@@ -11288,6 +11021,7 @@ var OPENAPI_SCHEMA = {
|
|
|
11288
11021
|
"$ref": "#/components/schemas/Network"
|
|
11289
11022
|
}
|
|
11290
11023
|
],
|
|
11024
|
+
"nullable": true,
|
|
11291
11025
|
"readOnly": true
|
|
11292
11026
|
},
|
|
11293
11027
|
"provider": {
|
|
@@ -12261,6 +11995,32 @@ var OPENAPI_SCHEMA = {
|
|
|
12261
11995
|
],
|
|
12262
11996
|
"type": "object"
|
|
12263
11997
|
},
|
|
11998
|
+
"SupportedCurrencies": {
|
|
11999
|
+
"description": "Supported currencies serializer for provider capabilities.\n\nGets supported currencies from providers through CurrencyService.",
|
|
12000
|
+
"properties": {
|
|
12001
|
+
"currency_type": {
|
|
12002
|
+
"default": "all",
|
|
12003
|
+
"description": "Filter by currency type\n\n* `all` - All\n* `crypto` - Cryptocurrency\n* `fiat` - Fiat Currency",
|
|
12004
|
+
"enum": [
|
|
12005
|
+
"all",
|
|
12006
|
+
"crypto",
|
|
12007
|
+
"fiat"
|
|
12008
|
+
],
|
|
12009
|
+
"type": "string",
|
|
12010
|
+
"x-spec-enum-id": "aaea9f89fe6374a5"
|
|
12011
|
+
},
|
|
12012
|
+
"provider": {
|
|
12013
|
+
"default": "nowpayments",
|
|
12014
|
+
"description": "Provider to get supported currencies from\n\n* `nowpayments` - NowPayments",
|
|
12015
|
+
"enum": [
|
|
12016
|
+
"nowpayments"
|
|
12017
|
+
],
|
|
12018
|
+
"type": "string",
|
|
12019
|
+
"x-spec-enum-id": "47694db6bd068cb3"
|
|
12020
|
+
}
|
|
12021
|
+
},
|
|
12022
|
+
"type": "object"
|
|
12023
|
+
},
|
|
12264
12024
|
"SupportedProviders": {
|
|
12265
12025
|
"description": "Serializer for supported providers response.",
|
|
12266
12026
|
"properties": {
|
|
@@ -19818,7 +19578,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19818
19578
|
},
|
|
19819
19579
|
"/cfg/payments/api-keys/": {
|
|
19820
19580
|
"get": {
|
|
19821
|
-
"description": "
|
|
19581
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19822
19582
|
"operationId": "cfg_payments_api_keys_list",
|
|
19823
19583
|
"parameters": [
|
|
19824
19584
|
{
|
|
@@ -19898,7 +19658,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19898
19658
|
"x-async-capable": false
|
|
19899
19659
|
},
|
|
19900
19660
|
"post": {
|
|
19901
|
-
"description": "
|
|
19661
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19902
19662
|
"operationId": "cfg_payments_api_keys_create",
|
|
19903
19663
|
"requestBody": {
|
|
19904
19664
|
"content": {
|
|
@@ -20250,7 +20010,7 @@ var OPENAPI_SCHEMA = {
|
|
|
20250
20010
|
},
|
|
20251
20011
|
"/cfg/payments/api-keys/{id}/": {
|
|
20252
20012
|
"delete": {
|
|
20253
|
-
"description": "
|
|
20013
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
20254
20014
|
"operationId": "cfg_payments_api_keys_destroy",
|
|
20255
20015
|
"parameters": [
|
|
20256
20016
|
{
|
|
@@ -20283,7 +20043,7 @@ var OPENAPI_SCHEMA = {
|
|
|
20283
20043
|
"x-async-capable": false
|
|
20284
20044
|
},
|
|
20285
20045
|
"get": {
|
|
20286
|
-
"description": "
|
|
20046
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
20287
20047
|
"operationId": "cfg_payments_api_keys_retrieve",
|
|
20288
20048
|
"parameters": [
|
|
20289
20049
|
{
|
|
@@ -20323,7 +20083,7 @@ var OPENAPI_SCHEMA = {
|
|
|
20323
20083
|
"x-async-capable": false
|
|
20324
20084
|
},
|
|
20325
20085
|
"patch": {
|
|
20326
|
-
"description": "
|
|
20086
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
20327
20087
|
"operationId": "cfg_payments_api_keys_partial_update",
|
|
20328
20088
|
"parameters": [
|
|
20329
20089
|
{
|
|
@@ -20382,7 +20142,7 @@ var OPENAPI_SCHEMA = {
|
|
|
20382
20142
|
"x-async-capable": false
|
|
20383
20143
|
},
|
|
20384
20144
|
"put": {
|
|
20385
|
-
"description": "
|
|
20145
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
20386
20146
|
"operationId": "cfg_payments_api_keys_update",
|
|
20387
20147
|
"parameters": [
|
|
20388
20148
|
{
|
|
@@ -20958,25 +20718,177 @@ var OPENAPI_SCHEMA = {
|
|
|
20958
20718
|
},
|
|
20959
20719
|
"/cfg/payments/currencies/rates/": {
|
|
20960
20720
|
"get": {
|
|
20961
|
-
"description": "Get current exchange rates
|
|
20721
|
+
"description": "Get current exchange rates.",
|
|
20962
20722
|
"operationId": "cfg_payments_currencies_rates_retrieve",
|
|
20723
|
+
"responses": {
|
|
20724
|
+
"200": {
|
|
20725
|
+
"content": {
|
|
20726
|
+
"application/json": {
|
|
20727
|
+
"schema": {
|
|
20728
|
+
"$ref": "#/components/schemas/CurrencyRates"
|
|
20729
|
+
}
|
|
20730
|
+
}
|
|
20731
|
+
},
|
|
20732
|
+
"description": ""
|
|
20733
|
+
}
|
|
20734
|
+
},
|
|
20735
|
+
"security": [
|
|
20736
|
+
{
|
|
20737
|
+
"jwtAuth": []
|
|
20738
|
+
},
|
|
20739
|
+
{
|
|
20740
|
+
"cookieAuth": []
|
|
20741
|
+
}
|
|
20742
|
+
],
|
|
20743
|
+
"tags": [
|
|
20744
|
+
"payments"
|
|
20745
|
+
],
|
|
20746
|
+
"x-async-capable": false
|
|
20747
|
+
}
|
|
20748
|
+
},
|
|
20749
|
+
"/cfg/payments/currencies/stable/": {
|
|
20750
|
+
"get": {
|
|
20751
|
+
"description": "Get only stablecoins.\n\nGET /api/currencies/stable/",
|
|
20752
|
+
"operationId": "cfg_payments_currencies_stable_retrieve",
|
|
20753
|
+
"responses": {
|
|
20754
|
+
"200": {
|
|
20755
|
+
"content": {
|
|
20756
|
+
"application/json": {
|
|
20757
|
+
"schema": {
|
|
20758
|
+
"$ref": "#/components/schemas/Currency"
|
|
20759
|
+
}
|
|
20760
|
+
}
|
|
20761
|
+
},
|
|
20762
|
+
"description": ""
|
|
20763
|
+
}
|
|
20764
|
+
},
|
|
20765
|
+
"security": [
|
|
20766
|
+
{
|
|
20767
|
+
"jwtAuth": []
|
|
20768
|
+
},
|
|
20769
|
+
{
|
|
20770
|
+
"cookieAuth": []
|
|
20771
|
+
}
|
|
20772
|
+
],
|
|
20773
|
+
"tags": [
|
|
20774
|
+
"payments"
|
|
20775
|
+
],
|
|
20776
|
+
"x-async-capable": false
|
|
20777
|
+
}
|
|
20778
|
+
},
|
|
20779
|
+
"/cfg/payments/currencies/stats/": {
|
|
20780
|
+
"get": {
|
|
20781
|
+
"description": "Get statistics for the current queryset.\n\nReturns counts, aggregates, and breakdowns.",
|
|
20782
|
+
"operationId": "cfg_payments_currencies_stats_retrieve",
|
|
20783
|
+
"responses": {
|
|
20784
|
+
"200": {
|
|
20785
|
+
"content": {
|
|
20786
|
+
"application/json": {
|
|
20787
|
+
"schema": {
|
|
20788
|
+
"$ref": "#/components/schemas/Currency"
|
|
20789
|
+
}
|
|
20790
|
+
}
|
|
20791
|
+
},
|
|
20792
|
+
"description": ""
|
|
20793
|
+
}
|
|
20794
|
+
},
|
|
20795
|
+
"security": [
|
|
20796
|
+
{
|
|
20797
|
+
"jwtAuth": []
|
|
20798
|
+
},
|
|
20799
|
+
{
|
|
20800
|
+
"cookieAuth": []
|
|
20801
|
+
}
|
|
20802
|
+
],
|
|
20803
|
+
"tags": [
|
|
20804
|
+
"payments"
|
|
20805
|
+
],
|
|
20806
|
+
"x-async-capable": false
|
|
20807
|
+
}
|
|
20808
|
+
},
|
|
20809
|
+
"/cfg/payments/currencies/supported/": {
|
|
20810
|
+
"get": {
|
|
20811
|
+
"description": "Get supported currencies from providers.",
|
|
20812
|
+
"operationId": "cfg_payments_currencies_supported_retrieve",
|
|
20813
|
+
"responses": {
|
|
20814
|
+
"200": {
|
|
20815
|
+
"content": {
|
|
20816
|
+
"application/json": {
|
|
20817
|
+
"schema": {
|
|
20818
|
+
"$ref": "#/components/schemas/SupportedCurrencies"
|
|
20819
|
+
}
|
|
20820
|
+
}
|
|
20821
|
+
},
|
|
20822
|
+
"description": ""
|
|
20823
|
+
}
|
|
20824
|
+
},
|
|
20825
|
+
"security": [
|
|
20826
|
+
{
|
|
20827
|
+
"jwtAuth": []
|
|
20828
|
+
},
|
|
20829
|
+
{
|
|
20830
|
+
"cookieAuth": []
|
|
20831
|
+
}
|
|
20832
|
+
],
|
|
20833
|
+
"tags": [
|
|
20834
|
+
"payments"
|
|
20835
|
+
],
|
|
20836
|
+
"x-async-capable": false
|
|
20837
|
+
}
|
|
20838
|
+
},
|
|
20839
|
+
"/cfg/payments/currencies/{id}/": {
|
|
20840
|
+
"get": {
|
|
20841
|
+
"description": "Currency ViewSet: /api/currencies/\n\nRead-only access to currency information with conversion capabilities.",
|
|
20842
|
+
"operationId": "cfg_payments_currencies_retrieve",
|
|
20963
20843
|
"parameters": [
|
|
20964
20844
|
{
|
|
20965
|
-
"description": "
|
|
20966
|
-
"in": "
|
|
20967
|
-
"name": "
|
|
20845
|
+
"description": "A unique integer value identifying this Currency.",
|
|
20846
|
+
"in": "path",
|
|
20847
|
+
"name": "id",
|
|
20968
20848
|
"required": true,
|
|
20969
20849
|
"schema": {
|
|
20970
|
-
"type": "
|
|
20850
|
+
"type": "integer"
|
|
20971
20851
|
}
|
|
20852
|
+
}
|
|
20853
|
+
],
|
|
20854
|
+
"responses": {
|
|
20855
|
+
"200": {
|
|
20856
|
+
"content": {
|
|
20857
|
+
"application/json": {
|
|
20858
|
+
"schema": {
|
|
20859
|
+
"$ref": "#/components/schemas/Currency"
|
|
20860
|
+
}
|
|
20861
|
+
}
|
|
20862
|
+
},
|
|
20863
|
+
"description": ""
|
|
20864
|
+
}
|
|
20865
|
+
},
|
|
20866
|
+
"security": [
|
|
20867
|
+
{
|
|
20868
|
+
"jwtAuth": []
|
|
20972
20869
|
},
|
|
20973
20870
|
{
|
|
20974
|
-
"
|
|
20975
|
-
|
|
20976
|
-
|
|
20871
|
+
"cookieAuth": []
|
|
20872
|
+
}
|
|
20873
|
+
],
|
|
20874
|
+
"tags": [
|
|
20875
|
+
"payments"
|
|
20876
|
+
],
|
|
20877
|
+
"x-async-capable": false
|
|
20878
|
+
}
|
|
20879
|
+
},
|
|
20880
|
+
"/cfg/payments/currencies/{id}/networks/": {
|
|
20881
|
+
"get": {
|
|
20882
|
+
"description": "Get networks for specific currency.\n\nGET /api/currencies/{id}/networks/",
|
|
20883
|
+
"operationId": "cfg_payments_currencies_networks_retrieve",
|
|
20884
|
+
"parameters": [
|
|
20885
|
+
{
|
|
20886
|
+
"description": "A unique integer value identifying this Currency.",
|
|
20887
|
+
"in": "path",
|
|
20888
|
+
"name": "id",
|
|
20977
20889
|
"required": true,
|
|
20978
20890
|
"schema": {
|
|
20979
|
-
"type": "
|
|
20891
|
+
"type": "integer"
|
|
20980
20892
|
}
|
|
20981
20893
|
}
|
|
20982
20894
|
],
|
|
@@ -21000,224 +20912,27 @@ var OPENAPI_SCHEMA = {
|
|
|
21000
20912
|
"cookieAuth": []
|
|
21001
20913
|
}
|
|
21002
20914
|
],
|
|
21003
|
-
"summary": "Get exchange rates",
|
|
21004
20915
|
"tags": [
|
|
21005
20916
|
"payments"
|
|
21006
20917
|
],
|
|
21007
20918
|
"x-async-capable": false
|
|
21008
20919
|
}
|
|
21009
20920
|
},
|
|
21010
|
-
"/cfg/payments/currencies/
|
|
20921
|
+
"/cfg/payments/currencies/{id}/providers/": {
|
|
21011
20922
|
"get": {
|
|
21012
|
-
"description": "Get
|
|
21013
|
-
"operationId": "
|
|
21014
|
-
"
|
|
21015
|
-
|
|
21016
|
-
"
|
|
21017
|
-
|
|
21018
|
-
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
|
|
21022
|
-
}
|
|
21023
|
-
|
|
21024
|
-
|
|
21025
|
-
},
|
|
21026
|
-
"security": [
|
|
21027
|
-
{
|
|
21028
|
-
"jwtAuth": []
|
|
21029
|
-
},
|
|
21030
|
-
{
|
|
21031
|
-
"cookieAuth": []
|
|
21032
|
-
}
|
|
21033
|
-
],
|
|
21034
|
-
"tags": [
|
|
21035
|
-
"payments"
|
|
21036
|
-
],
|
|
21037
|
-
"x-async-capable": false
|
|
21038
|
-
}
|
|
21039
|
-
},
|
|
21040
|
-
"/cfg/payments/currencies/stats/": {
|
|
21041
|
-
"get": {
|
|
21042
|
-
"description": "Get statistics for the current queryset.\n\nReturns counts, aggregates, and breakdowns.",
|
|
21043
|
-
"operationId": "cfg_payments_currencies_stats_retrieve",
|
|
21044
|
-
"responses": {
|
|
21045
|
-
"200": {
|
|
21046
|
-
"content": {
|
|
21047
|
-
"application/json": {
|
|
21048
|
-
"schema": {
|
|
21049
|
-
"$ref": "#/components/schemas/Currency"
|
|
21050
|
-
}
|
|
21051
|
-
}
|
|
21052
|
-
},
|
|
21053
|
-
"description": ""
|
|
21054
|
-
}
|
|
21055
|
-
},
|
|
21056
|
-
"security": [
|
|
21057
|
-
{
|
|
21058
|
-
"jwtAuth": []
|
|
21059
|
-
},
|
|
21060
|
-
{
|
|
21061
|
-
"cookieAuth": []
|
|
21062
|
-
}
|
|
21063
|
-
],
|
|
21064
|
-
"tags": [
|
|
21065
|
-
"payments"
|
|
21066
|
-
],
|
|
21067
|
-
"x-async-capable": false
|
|
21068
|
-
}
|
|
21069
|
-
},
|
|
21070
|
-
"/cfg/payments/currencies/supported/": {
|
|
21071
|
-
"get": {
|
|
21072
|
-
"description": "Get list of supported currencies from payment providers",
|
|
21073
|
-
"operationId": "cfg_payments_currencies_supported_retrieve",
|
|
21074
|
-
"parameters": [
|
|
21075
|
-
{
|
|
21076
|
-
"description": "Currency type filter: crypto, fiat, or stablecoin",
|
|
21077
|
-
"in": "query",
|
|
21078
|
-
"name": "currency_type",
|
|
21079
|
-
"schema": {
|
|
21080
|
-
"enum": [
|
|
21081
|
-
"crypto",
|
|
21082
|
-
"fiat",
|
|
21083
|
-
"stablecoin"
|
|
21084
|
-
],
|
|
21085
|
-
"type": "string"
|
|
21086
|
-
}
|
|
21087
|
-
},
|
|
21088
|
-
{
|
|
21089
|
-
"description": "Payment provider name (e.g., nowpayments)",
|
|
21090
|
-
"in": "query",
|
|
21091
|
-
"name": "provider",
|
|
21092
|
-
"schema": {
|
|
21093
|
-
"type": "string"
|
|
21094
|
-
}
|
|
21095
|
-
}
|
|
21096
|
-
],
|
|
21097
|
-
"responses": {
|
|
21098
|
-
"200": {
|
|
21099
|
-
"content": {
|
|
21100
|
-
"application/json": {
|
|
21101
|
-
"schema": {
|
|
21102
|
-
"$ref": "#/components/schemas/Currency"
|
|
21103
|
-
}
|
|
21104
|
-
}
|
|
21105
|
-
},
|
|
21106
|
-
"description": ""
|
|
21107
|
-
}
|
|
21108
|
-
},
|
|
21109
|
-
"security": [
|
|
21110
|
-
{
|
|
21111
|
-
"jwtAuth": []
|
|
21112
|
-
},
|
|
21113
|
-
{
|
|
21114
|
-
"cookieAuth": []
|
|
21115
|
-
}
|
|
21116
|
-
],
|
|
21117
|
-
"summary": "Get supported currencies",
|
|
21118
|
-
"tags": [
|
|
21119
|
-
"payments"
|
|
21120
|
-
],
|
|
21121
|
-
"x-async-capable": false
|
|
21122
|
-
}
|
|
21123
|
-
},
|
|
21124
|
-
"/cfg/payments/currencies/{id}/": {
|
|
21125
|
-
"get": {
|
|
21126
|
-
"description": "Currency ViewSet: /api/currencies/\n\nRead-only access to currency information with conversion capabilities.",
|
|
21127
|
-
"operationId": "cfg_payments_currencies_retrieve",
|
|
21128
|
-
"parameters": [
|
|
21129
|
-
{
|
|
21130
|
-
"description": "A unique integer value identifying this Currency.",
|
|
21131
|
-
"in": "path",
|
|
21132
|
-
"name": "id",
|
|
21133
|
-
"required": true,
|
|
21134
|
-
"schema": {
|
|
21135
|
-
"type": "integer"
|
|
21136
|
-
}
|
|
21137
|
-
}
|
|
21138
|
-
],
|
|
21139
|
-
"responses": {
|
|
21140
|
-
"200": {
|
|
21141
|
-
"content": {
|
|
21142
|
-
"application/json": {
|
|
21143
|
-
"schema": {
|
|
21144
|
-
"$ref": "#/components/schemas/Currency"
|
|
21145
|
-
}
|
|
21146
|
-
}
|
|
21147
|
-
},
|
|
21148
|
-
"description": ""
|
|
21149
|
-
}
|
|
21150
|
-
},
|
|
21151
|
-
"security": [
|
|
21152
|
-
{
|
|
21153
|
-
"jwtAuth": []
|
|
21154
|
-
},
|
|
21155
|
-
{
|
|
21156
|
-
"cookieAuth": []
|
|
21157
|
-
}
|
|
21158
|
-
],
|
|
21159
|
-
"tags": [
|
|
21160
|
-
"payments"
|
|
21161
|
-
],
|
|
21162
|
-
"x-async-capable": false
|
|
21163
|
-
}
|
|
21164
|
-
},
|
|
21165
|
-
"/cfg/payments/currencies/{id}/networks/": {
|
|
21166
|
-
"get": {
|
|
21167
|
-
"description": "Get networks for specific currency.\n\nGET /api/currencies/{id}/networks/",
|
|
21168
|
-
"operationId": "cfg_payments_currencies_networks_retrieve",
|
|
21169
|
-
"parameters": [
|
|
21170
|
-
{
|
|
21171
|
-
"description": "A unique integer value identifying this Currency.",
|
|
21172
|
-
"in": "path",
|
|
21173
|
-
"name": "id",
|
|
21174
|
-
"required": true,
|
|
21175
|
-
"schema": {
|
|
21176
|
-
"type": "integer"
|
|
21177
|
-
}
|
|
21178
|
-
}
|
|
21179
|
-
],
|
|
21180
|
-
"responses": {
|
|
21181
|
-
"200": {
|
|
21182
|
-
"content": {
|
|
21183
|
-
"application/json": {
|
|
21184
|
-
"schema": {
|
|
21185
|
-
"$ref": "#/components/schemas/Currency"
|
|
21186
|
-
}
|
|
21187
|
-
}
|
|
21188
|
-
},
|
|
21189
|
-
"description": ""
|
|
21190
|
-
}
|
|
21191
|
-
},
|
|
21192
|
-
"security": [
|
|
21193
|
-
{
|
|
21194
|
-
"jwtAuth": []
|
|
21195
|
-
},
|
|
21196
|
-
{
|
|
21197
|
-
"cookieAuth": []
|
|
21198
|
-
}
|
|
21199
|
-
],
|
|
21200
|
-
"tags": [
|
|
21201
|
-
"payments"
|
|
21202
|
-
],
|
|
21203
|
-
"x-async-capable": false
|
|
21204
|
-
}
|
|
21205
|
-
},
|
|
21206
|
-
"/cfg/payments/currencies/{id}/providers/": {
|
|
21207
|
-
"get": {
|
|
21208
|
-
"description": "Get providers supporting specific currency.\n\nGET /api/currencies/{id}/providers/",
|
|
21209
|
-
"operationId": "cfg_payments_currencies_providers_retrieve",
|
|
21210
|
-
"parameters": [
|
|
21211
|
-
{
|
|
21212
|
-
"description": "A unique integer value identifying this Currency.",
|
|
21213
|
-
"in": "path",
|
|
21214
|
-
"name": "id",
|
|
21215
|
-
"required": true,
|
|
21216
|
-
"schema": {
|
|
21217
|
-
"type": "integer"
|
|
21218
|
-
}
|
|
21219
|
-
}
|
|
21220
|
-
],
|
|
20923
|
+
"description": "Get providers supporting specific currency.\n\nGET /api/currencies/{id}/providers/",
|
|
20924
|
+
"operationId": "cfg_payments_currencies_providers_retrieve",
|
|
20925
|
+
"parameters": [
|
|
20926
|
+
{
|
|
20927
|
+
"description": "A unique integer value identifying this Currency.",
|
|
20928
|
+
"in": "path",
|
|
20929
|
+
"name": "id",
|
|
20930
|
+
"required": true,
|
|
20931
|
+
"schema": {
|
|
20932
|
+
"type": "integer"
|
|
20933
|
+
}
|
|
20934
|
+
}
|
|
20935
|
+
],
|
|
21221
20936
|
"responses": {
|
|
21222
20937
|
"200": {
|
|
21223
20938
|
"content": {
|
|
@@ -28105,6 +27820,7 @@ __export(enums_exports, {
|
|
|
28105
27820
|
ChatMessageRole: () => ChatMessageRole,
|
|
28106
27821
|
CurrencyCurrencyType: () => CurrencyCurrencyType,
|
|
28107
27822
|
CurrencyListCurrencyType: () => CurrencyListCurrencyType,
|
|
27823
|
+
CurrencyRatesProvider: () => CurrencyRatesProvider,
|
|
28108
27824
|
DocumentArchiveArchiveType: () => DocumentArchiveArchiveType,
|
|
28109
27825
|
DocumentArchiveDetailArchiveType: () => DocumentArchiveDetailArchiveType,
|
|
28110
27826
|
DocumentArchiveDetailProcessingStatus: () => DocumentArchiveDetailProcessingStatus,
|
|
@@ -28126,9 +27842,7 @@ __export(enums_exports, {
|
|
|
28126
27842
|
PatchedSubscriptionRequestTier: () => PatchedSubscriptionRequestTier,
|
|
28127
27843
|
PatchedTicketRequestStatus: () => PatchedTicketRequestStatus,
|
|
28128
27844
|
PaymentCreateCurrencyCode: () => PaymentCreateCurrencyCode,
|
|
28129
|
-
PaymentCreateProvider: () => PaymentCreateProvider,
|
|
28130
27845
|
PaymentCreateRequestCurrencyCode: () => PaymentCreateRequestCurrencyCode,
|
|
28131
|
-
PaymentCreateRequestProvider: () => PaymentCreateRequestProvider,
|
|
28132
27846
|
PaymentListProvider: () => PaymentListProvider,
|
|
28133
27847
|
PaymentListStatus: () => PaymentListStatus,
|
|
28134
27848
|
PaymentProvider: () => PaymentProvider,
|
|
@@ -28142,6 +27856,8 @@ __export(enums_exports, {
|
|
|
28142
27856
|
SubscriptionRequestTier: () => SubscriptionRequestTier,
|
|
28143
27857
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
28144
27858
|
SubscriptionTier: () => SubscriptionTier,
|
|
27859
|
+
SupportedCurrenciesCurrencyType: () => SupportedCurrenciesCurrencyType,
|
|
27860
|
+
SupportedCurrenciesProvider: () => SupportedCurrenciesProvider,
|
|
28145
27861
|
TicketRequestStatus: () => TicketRequestStatus,
|
|
28146
27862
|
TicketStatus: () => TicketStatus,
|
|
28147
27863
|
TransactionTransactionType: () => TransactionTransactionType,
|
|
@@ -28251,11 +27967,15 @@ var CurrencyListCurrencyType = /* @__PURE__ */ ((CurrencyListCurrencyType2) => {
|
|
|
28251
27967
|
CurrencyListCurrencyType2["CRYPTO"] = "crypto";
|
|
28252
27968
|
return CurrencyListCurrencyType2;
|
|
28253
27969
|
})(CurrencyListCurrencyType || {});
|
|
27970
|
+
var CurrencyRatesProvider = /* @__PURE__ */ ((CurrencyRatesProvider2) => {
|
|
27971
|
+
CurrencyRatesProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
27972
|
+
return CurrencyRatesProvider2;
|
|
27973
|
+
})(CurrencyRatesProvider || {});
|
|
28254
27974
|
var DocumentArchiveArchiveType = /* @__PURE__ */ ((DocumentArchiveArchiveType2) => {
|
|
28255
27975
|
DocumentArchiveArchiveType2["ZIP"] = "zip";
|
|
28256
27976
|
DocumentArchiveArchiveType2["TAR"] = "tar";
|
|
28257
|
-
DocumentArchiveArchiveType2["
|
|
28258
|
-
DocumentArchiveArchiveType2["
|
|
27977
|
+
DocumentArchiveArchiveType2["TAR_DOT_GZ"] = "tar.gz";
|
|
27978
|
+
DocumentArchiveArchiveType2["TAR_DOT_BZ2"] = "tar.bz2";
|
|
28259
27979
|
return DocumentArchiveArchiveType2;
|
|
28260
27980
|
})(DocumentArchiveArchiveType || {});
|
|
28261
27981
|
var DocumentArchiveProcessingStatus = /* @__PURE__ */ ((DocumentArchiveProcessingStatus2) => {
|
|
@@ -28269,8 +27989,8 @@ var DocumentArchiveProcessingStatus = /* @__PURE__ */ ((DocumentArchiveProcessin
|
|
|
28269
27989
|
var DocumentArchiveDetailArchiveType = /* @__PURE__ */ ((DocumentArchiveDetailArchiveType2) => {
|
|
28270
27990
|
DocumentArchiveDetailArchiveType2["ZIP"] = "zip";
|
|
28271
27991
|
DocumentArchiveDetailArchiveType2["TAR"] = "tar";
|
|
28272
|
-
DocumentArchiveDetailArchiveType2["
|
|
28273
|
-
DocumentArchiveDetailArchiveType2["
|
|
27992
|
+
DocumentArchiveDetailArchiveType2["TAR_DOT_GZ"] = "tar.gz";
|
|
27993
|
+
DocumentArchiveDetailArchiveType2["TAR_DOT_BZ2"] = "tar.bz2";
|
|
28274
27994
|
return DocumentArchiveDetailArchiveType2;
|
|
28275
27995
|
})(DocumentArchiveDetailArchiveType || {});
|
|
28276
27996
|
var DocumentArchiveDetailProcessingStatus = /* @__PURE__ */ ((DocumentArchiveDetailProcessingStatus2) => {
|
|
@@ -28284,8 +28004,8 @@ var DocumentArchiveDetailProcessingStatus = /* @__PURE__ */ ((DocumentArchiveDet
|
|
|
28284
28004
|
var DocumentArchiveListArchiveType = /* @__PURE__ */ ((DocumentArchiveListArchiveType2) => {
|
|
28285
28005
|
DocumentArchiveListArchiveType2["ZIP"] = "zip";
|
|
28286
28006
|
DocumentArchiveListArchiveType2["TAR"] = "tar";
|
|
28287
|
-
DocumentArchiveListArchiveType2["
|
|
28288
|
-
DocumentArchiveListArchiveType2["
|
|
28007
|
+
DocumentArchiveListArchiveType2["TAR_DOT_GZ"] = "tar.gz";
|
|
28008
|
+
DocumentArchiveListArchiveType2["TAR_DOT_BZ2"] = "tar.bz2";
|
|
28289
28009
|
return DocumentArchiveListArchiveType2;
|
|
28290
28010
|
})(DocumentArchiveListArchiveType || {});
|
|
28291
28011
|
var DocumentArchiveListProcessingStatus = /* @__PURE__ */ ((DocumentArchiveListProcessingStatus2) => {
|
|
@@ -28427,10 +28147,6 @@ var PaymentCreateCurrencyCode = /* @__PURE__ */ ((PaymentCreateCurrencyCode2) =>
|
|
|
28427
28147
|
PaymentCreateCurrencyCode2["DOT"] = "DOT";
|
|
28428
28148
|
return PaymentCreateCurrencyCode2;
|
|
28429
28149
|
})(PaymentCreateCurrencyCode || {});
|
|
28430
|
-
var PaymentCreateProvider = /* @__PURE__ */ ((PaymentCreateProvider2) => {
|
|
28431
|
-
PaymentCreateProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28432
|
-
return PaymentCreateProvider2;
|
|
28433
|
-
})(PaymentCreateProvider || {});
|
|
28434
28150
|
var PaymentCreateRequestCurrencyCode = /* @__PURE__ */ ((PaymentCreateRequestCurrencyCode2) => {
|
|
28435
28151
|
PaymentCreateRequestCurrencyCode2["BTC"] = "BTC";
|
|
28436
28152
|
PaymentCreateRequestCurrencyCode2["ETH"] = "ETH";
|
|
@@ -28442,10 +28158,6 @@ var PaymentCreateRequestCurrencyCode = /* @__PURE__ */ ((PaymentCreateRequestCur
|
|
|
28442
28158
|
PaymentCreateRequestCurrencyCode2["DOT"] = "DOT";
|
|
28443
28159
|
return PaymentCreateRequestCurrencyCode2;
|
|
28444
28160
|
})(PaymentCreateRequestCurrencyCode || {});
|
|
28445
|
-
var PaymentCreateRequestProvider = /* @__PURE__ */ ((PaymentCreateRequestProvider2) => {
|
|
28446
|
-
PaymentCreateRequestProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28447
|
-
return PaymentCreateRequestProvider2;
|
|
28448
|
-
})(PaymentCreateRequestProvider || {});
|
|
28449
28161
|
var PaymentListProvider = /* @__PURE__ */ ((PaymentListProvider2) => {
|
|
28450
28162
|
PaymentListProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28451
28163
|
return PaymentListProvider2;
|
|
@@ -28530,6 +28242,16 @@ var SubscriptionRequestTier = /* @__PURE__ */ ((SubscriptionRequestTier2) => {
|
|
|
28530
28242
|
SubscriptionRequestTier2["ENTERPRISE"] = "enterprise";
|
|
28531
28243
|
return SubscriptionRequestTier2;
|
|
28532
28244
|
})(SubscriptionRequestTier || {});
|
|
28245
|
+
var SupportedCurrenciesProvider = /* @__PURE__ */ ((SupportedCurrenciesProvider2) => {
|
|
28246
|
+
SupportedCurrenciesProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28247
|
+
return SupportedCurrenciesProvider2;
|
|
28248
|
+
})(SupportedCurrenciesProvider || {});
|
|
28249
|
+
var SupportedCurrenciesCurrencyType = /* @__PURE__ */ ((SupportedCurrenciesCurrencyType2) => {
|
|
28250
|
+
SupportedCurrenciesCurrencyType2["ALL"] = "all";
|
|
28251
|
+
SupportedCurrenciesCurrencyType2["CRYPTO"] = "crypto";
|
|
28252
|
+
SupportedCurrenciesCurrencyType2["FIAT"] = "fiat";
|
|
28253
|
+
return SupportedCurrenciesCurrencyType2;
|
|
28254
|
+
})(SupportedCurrenciesCurrencyType || {});
|
|
28533
28255
|
var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
|
|
28534
28256
|
TicketStatus2["OPEN"] = "open";
|
|
28535
28257
|
TicketStatus2["WAITING_FOR_USER"] = "waiting_for_user";
|
|
@@ -28633,6 +28355,7 @@ __export(schemas_exports, {
|
|
|
28633
28355
|
ChunkRevectorizationRequestRequestSchema: () => ChunkRevectorizationRequestRequestSchema,
|
|
28634
28356
|
CurrencyAnalyticsItemSchema: () => CurrencyAnalyticsItemSchema,
|
|
28635
28357
|
CurrencyListSchema: () => CurrencyListSchema,
|
|
28358
|
+
CurrencyRatesSchema: () => CurrencyRatesSchema,
|
|
28636
28359
|
CurrencySchema: () => CurrencySchema,
|
|
28637
28360
|
DocumentArchiveDetailSchema: () => DocumentArchiveDetailSchema,
|
|
28638
28361
|
DocumentArchiveListSchema: () => DocumentArchiveListSchema,
|
|
@@ -28751,6 +28474,7 @@ __export(schemas_exports, {
|
|
|
28751
28474
|
SubscriptionRequestSchema: () => SubscriptionRequestSchema,
|
|
28752
28475
|
SubscriptionSchema: () => SubscriptionSchema,
|
|
28753
28476
|
SuccessResponseSchema: () => SuccessResponseSchema,
|
|
28477
|
+
SupportedCurrenciesSchema: () => SupportedCurrenciesSchema,
|
|
28754
28478
|
SupportedProvidersSchema: () => SupportedProvidersSchema,
|
|
28755
28479
|
TariffSchema: () => TariffSchema,
|
|
28756
28480
|
TaskStatisticsSchema: () => TaskStatisticsSchema,
|
|
@@ -28854,7 +28578,7 @@ var import_zod8 = require("zod");
|
|
|
28854
28578
|
var APIKeyValidationResponseSchema = import_zod8.z.object({
|
|
28855
28579
|
success: import_zod8.z.boolean(),
|
|
28856
28580
|
valid: import_zod8.z.boolean(),
|
|
28857
|
-
api_key: APIKeyDetailSchema,
|
|
28581
|
+
api_key: APIKeyDetailSchema.nullable(),
|
|
28858
28582
|
message: import_zod8.z.string(),
|
|
28859
28583
|
error: import_zod8.z.string().optional(),
|
|
28860
28584
|
error_code: import_zod8.z.string().optional()
|
|
@@ -28942,7 +28666,7 @@ var AdminPaymentDetailSchema = import_zod15.z.object({
|
|
|
28942
28666
|
provider_display: import_zod15.z.string(),
|
|
28943
28667
|
status: import_zod15.z.string(),
|
|
28944
28668
|
status_display: import_zod15.z.string(),
|
|
28945
|
-
pay_amount: import_zod15.z.string()
|
|
28669
|
+
pay_amount: import_zod15.z.string(),
|
|
28946
28670
|
pay_address: import_zod15.z.string(),
|
|
28947
28671
|
payment_url: import_zod15.z.url(),
|
|
28948
28672
|
transaction_hash: import_zod15.z.string(),
|
|
@@ -28974,7 +28698,7 @@ var AdminPaymentListSchema = import_zod16.z.object({
|
|
|
28974
28698
|
provider_display: import_zod16.z.string(),
|
|
28975
28699
|
status: import_zod16.z.string(),
|
|
28976
28700
|
status_display: import_zod16.z.string(),
|
|
28977
|
-
pay_amount: import_zod16.z.string()
|
|
28701
|
+
pay_amount: import_zod16.z.string(),
|
|
28978
28702
|
pay_address: import_zod16.z.string(),
|
|
28979
28703
|
transaction_hash: import_zod16.z.string(),
|
|
28980
28704
|
created_at: import_zod16.z.iso.datetime(),
|
|
@@ -29367,72 +29091,53 @@ var CurrencyListSchema = import_zod48.z.object({
|
|
|
29367
29091
|
symbol: import_zod48.z.string(),
|
|
29368
29092
|
currency_type: import_zod48.z.nativeEnum(CurrencyListCurrencyType),
|
|
29369
29093
|
type_display: import_zod48.z.string(),
|
|
29370
|
-
is_active: import_zod48.z.boolean()
|
|
29094
|
+
is_active: import_zod48.z.boolean(),
|
|
29095
|
+
usd_rate: import_zod48.z.number(),
|
|
29096
|
+
usd_rate_updated_at: import_zod48.z.iso.datetime().nullable()
|
|
29371
29097
|
});
|
|
29372
29098
|
|
|
29373
|
-
// src/cfg/generated/_utils/schemas/
|
|
29099
|
+
// src/cfg/generated/_utils/schemas/CurrencyRates.schema.ts
|
|
29374
29100
|
var import_zod49 = require("zod");
|
|
29375
|
-
var
|
|
29376
|
-
|
|
29377
|
-
|
|
29378
|
-
|
|
29379
|
-
file_size: import_zod49.z.int().min(0).max(9223372036854776e3).optional(),
|
|
29380
|
-
processing_status: import_zod49.z.string(),
|
|
29381
|
-
chunks_count: import_zod49.z.int(),
|
|
29382
|
-
total_tokens: import_zod49.z.int(),
|
|
29383
|
-
total_cost_usd: import_zod49.z.number(),
|
|
29384
|
-
created_at: import_zod49.z.iso.datetime(),
|
|
29385
|
-
updated_at: import_zod49.z.iso.datetime(),
|
|
29386
|
-
processing_started_at: import_zod49.z.iso.datetime(),
|
|
29387
|
-
processing_completed_at: import_zod49.z.iso.datetime(),
|
|
29388
|
-
processing_error: import_zod49.z.string(),
|
|
29389
|
-
metadata: import_zod49.z.string().nullable().optional()
|
|
29101
|
+
var CurrencyRatesSchema = import_zod49.z.object({
|
|
29102
|
+
base_currency: import_zod49.z.string().max(10).optional(),
|
|
29103
|
+
currencies: import_zod49.z.array(import_zod49.z.string().max(10)).optional(),
|
|
29104
|
+
provider: import_zod49.z.nativeEnum(CurrencyRatesProvider).optional()
|
|
29390
29105
|
});
|
|
29391
29106
|
|
|
29392
|
-
// src/cfg/generated/_utils/schemas/
|
|
29393
|
-
var import_zod51 = require("zod");
|
|
29394
|
-
|
|
29395
|
-
// src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
|
|
29107
|
+
// src/cfg/generated/_utils/schemas/Document.schema.ts
|
|
29396
29108
|
var import_zod50 = require("zod");
|
|
29397
|
-
var
|
|
29109
|
+
var DocumentSchema = import_zod50.z.object({
|
|
29398
29110
|
id: import_zod50.z.uuid(),
|
|
29399
|
-
|
|
29400
|
-
|
|
29401
|
-
|
|
29402
|
-
|
|
29111
|
+
title: import_zod50.z.string().max(512),
|
|
29112
|
+
file_type: import_zod50.z.string().max(100).optional(),
|
|
29113
|
+
file_size: import_zod50.z.int().min(0).max(9223372036854776e3).optional(),
|
|
29114
|
+
processing_status: import_zod50.z.string(),
|
|
29115
|
+
chunks_count: import_zod50.z.int(),
|
|
29116
|
+
total_tokens: import_zod50.z.int(),
|
|
29117
|
+
total_cost_usd: import_zod50.z.number(),
|
|
29118
|
+
created_at: import_zod50.z.iso.datetime(),
|
|
29119
|
+
updated_at: import_zod50.z.iso.datetime(),
|
|
29120
|
+
processing_started_at: import_zod50.z.iso.datetime(),
|
|
29121
|
+
processing_completed_at: import_zod50.z.iso.datetime(),
|
|
29122
|
+
processing_error: import_zod50.z.string(),
|
|
29123
|
+
metadata: import_zod50.z.string().nullable().optional()
|
|
29403
29124
|
});
|
|
29404
29125
|
|
|
29405
29126
|
// src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
|
|
29406
|
-
var
|
|
29127
|
+
var import_zod52 = require("zod");
|
|
29128
|
+
|
|
29129
|
+
// src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
|
|
29130
|
+
var import_zod51 = require("zod");
|
|
29131
|
+
var DocumentCategorySchema = import_zod51.z.object({
|
|
29407
29132
|
id: import_zod51.z.uuid(),
|
|
29408
|
-
|
|
29133
|
+
name: import_zod51.z.string().max(255),
|
|
29409
29134
|
description: import_zod51.z.string().optional(),
|
|
29410
|
-
categories: import_zod51.z.array(DocumentCategorySchema),
|
|
29411
29135
|
is_public: import_zod51.z.boolean().optional(),
|
|
29412
|
-
|
|
29413
|
-
original_filename: import_zod51.z.string(),
|
|
29414
|
-
file_size: import_zod51.z.int(),
|
|
29415
|
-
archive_type: import_zod51.z.nativeEnum(DocumentArchiveArchiveType),
|
|
29416
|
-
processing_status: import_zod51.z.nativeEnum(DocumentArchiveProcessingStatus),
|
|
29417
|
-
processed_at: import_zod51.z.iso.datetime().nullable(),
|
|
29418
|
-
processing_duration_ms: import_zod51.z.int(),
|
|
29419
|
-
processing_error: import_zod51.z.string(),
|
|
29420
|
-
total_items: import_zod51.z.int(),
|
|
29421
|
-
processed_items: import_zod51.z.int(),
|
|
29422
|
-
total_chunks: import_zod51.z.int(),
|
|
29423
|
-
vectorized_chunks: import_zod51.z.int(),
|
|
29424
|
-
total_tokens: import_zod51.z.int(),
|
|
29425
|
-
total_cost_usd: import_zod51.z.number(),
|
|
29426
|
-
processing_progress: import_zod51.z.number(),
|
|
29427
|
-
vectorization_progress: import_zod51.z.number(),
|
|
29428
|
-
is_processed: import_zod51.z.boolean(),
|
|
29429
|
-
created_at: import_zod51.z.iso.datetime(),
|
|
29430
|
-
updated_at: import_zod51.z.iso.datetime()
|
|
29136
|
+
created_at: import_zod51.z.iso.datetime()
|
|
29431
29137
|
});
|
|
29432
29138
|
|
|
29433
|
-
// src/cfg/generated/_utils/schemas/
|
|
29434
|
-
var
|
|
29435
|
-
var DocumentArchiveDetailSchema = import_zod52.z.object({
|
|
29139
|
+
// src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
|
|
29140
|
+
var DocumentArchiveSchema = import_zod52.z.object({
|
|
29436
29141
|
id: import_zod52.z.uuid(),
|
|
29437
29142
|
title: import_zod52.z.string().max(512),
|
|
29438
29143
|
description: import_zod52.z.string().optional(),
|
|
@@ -29441,8 +29146,8 @@ var DocumentArchiveDetailSchema = import_zod52.z.object({
|
|
|
29441
29146
|
archive_file: import_zod52.z.url(),
|
|
29442
29147
|
original_filename: import_zod52.z.string(),
|
|
29443
29148
|
file_size: import_zod52.z.int(),
|
|
29444
|
-
archive_type: import_zod52.z.nativeEnum(
|
|
29445
|
-
processing_status: import_zod52.z.nativeEnum(
|
|
29149
|
+
archive_type: import_zod52.z.nativeEnum(DocumentArchiveArchiveType),
|
|
29150
|
+
processing_status: import_zod52.z.nativeEnum(DocumentArchiveProcessingStatus),
|
|
29446
29151
|
processed_at: import_zod52.z.iso.datetime().nullable(),
|
|
29447
29152
|
processing_duration_ms: import_zod52.z.int(),
|
|
29448
29153
|
processing_error: import_zod52.z.string(),
|
|
@@ -29456,407 +29161,422 @@ var DocumentArchiveDetailSchema = import_zod52.z.object({
|
|
|
29456
29161
|
vectorization_progress: import_zod52.z.number(),
|
|
29457
29162
|
is_processed: import_zod52.z.boolean(),
|
|
29458
29163
|
created_at: import_zod52.z.iso.datetime(),
|
|
29459
|
-
updated_at: import_zod52.z.iso.datetime()
|
|
29460
|
-
items: import_zod52.z.array(ArchiveItemSchema),
|
|
29461
|
-
file_tree: import_zod52.z.record(import_zod52.z.string(), import_zod52.z.any()),
|
|
29462
|
-
metadata: import_zod52.z.string().nullable().optional()
|
|
29164
|
+
updated_at: import_zod52.z.iso.datetime()
|
|
29463
29165
|
});
|
|
29464
29166
|
|
|
29465
|
-
// src/cfg/generated/_utils/schemas/
|
|
29167
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
|
|
29466
29168
|
var import_zod53 = require("zod");
|
|
29467
|
-
var
|
|
29169
|
+
var DocumentArchiveDetailSchema = import_zod53.z.object({
|
|
29468
29170
|
id: import_zod53.z.uuid(),
|
|
29469
|
-
title: import_zod53.z.string(),
|
|
29470
|
-
description: import_zod53.z.string(),
|
|
29171
|
+
title: import_zod53.z.string().max(512),
|
|
29172
|
+
description: import_zod53.z.string().optional(),
|
|
29471
29173
|
categories: import_zod53.z.array(DocumentCategorySchema),
|
|
29472
|
-
is_public: import_zod53.z.boolean(),
|
|
29174
|
+
is_public: import_zod53.z.boolean().optional(),
|
|
29175
|
+
archive_file: import_zod53.z.url(),
|
|
29473
29176
|
original_filename: import_zod53.z.string(),
|
|
29474
29177
|
file_size: import_zod53.z.int(),
|
|
29475
|
-
archive_type: import_zod53.z.nativeEnum(
|
|
29476
|
-
processing_status: import_zod53.z.nativeEnum(
|
|
29178
|
+
archive_type: import_zod53.z.nativeEnum(DocumentArchiveDetailArchiveType),
|
|
29179
|
+
processing_status: import_zod53.z.nativeEnum(DocumentArchiveDetailProcessingStatus),
|
|
29477
29180
|
processed_at: import_zod53.z.iso.datetime().nullable(),
|
|
29181
|
+
processing_duration_ms: import_zod53.z.int(),
|
|
29182
|
+
processing_error: import_zod53.z.string(),
|
|
29478
29183
|
total_items: import_zod53.z.int(),
|
|
29184
|
+
processed_items: import_zod53.z.int(),
|
|
29479
29185
|
total_chunks: import_zod53.z.int(),
|
|
29186
|
+
vectorized_chunks: import_zod53.z.int(),
|
|
29187
|
+
total_tokens: import_zod53.z.int(),
|
|
29480
29188
|
total_cost_usd: import_zod53.z.number(),
|
|
29481
29189
|
processing_progress: import_zod53.z.number(),
|
|
29482
|
-
|
|
29190
|
+
vectorization_progress: import_zod53.z.number(),
|
|
29191
|
+
is_processed: import_zod53.z.boolean(),
|
|
29192
|
+
created_at: import_zod53.z.iso.datetime(),
|
|
29193
|
+
updated_at: import_zod53.z.iso.datetime(),
|
|
29194
|
+
items: import_zod53.z.array(ArchiveItemSchema),
|
|
29195
|
+
file_tree: import_zod53.z.record(import_zod53.z.string(), import_zod53.z.any()),
|
|
29196
|
+
metadata: import_zod53.z.string().nullable().optional()
|
|
29483
29197
|
});
|
|
29484
29198
|
|
|
29485
|
-
// src/cfg/generated/_utils/schemas/
|
|
29199
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
|
|
29486
29200
|
var import_zod54 = require("zod");
|
|
29487
|
-
var
|
|
29488
|
-
|
|
29489
|
-
|
|
29490
|
-
|
|
29201
|
+
var DocumentArchiveListSchema = import_zod54.z.object({
|
|
29202
|
+
id: import_zod54.z.uuid(),
|
|
29203
|
+
title: import_zod54.z.string(),
|
|
29204
|
+
description: import_zod54.z.string(),
|
|
29205
|
+
categories: import_zod54.z.array(DocumentCategorySchema),
|
|
29206
|
+
is_public: import_zod54.z.boolean(),
|
|
29207
|
+
original_filename: import_zod54.z.string(),
|
|
29208
|
+
file_size: import_zod54.z.int(),
|
|
29209
|
+
archive_type: import_zod54.z.nativeEnum(DocumentArchiveListArchiveType),
|
|
29210
|
+
processing_status: import_zod54.z.nativeEnum(DocumentArchiveListProcessingStatus),
|
|
29211
|
+
processed_at: import_zod54.z.iso.datetime().nullable(),
|
|
29212
|
+
total_items: import_zod54.z.int(),
|
|
29213
|
+
total_chunks: import_zod54.z.int(),
|
|
29214
|
+
total_cost_usd: import_zod54.z.number(),
|
|
29215
|
+
processing_progress: import_zod54.z.number(),
|
|
29216
|
+
created_at: import_zod54.z.iso.datetime()
|
|
29491
29217
|
});
|
|
29492
29218
|
|
|
29493
|
-
// src/cfg/generated/_utils/schemas/
|
|
29219
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
|
|
29494
29220
|
var import_zod55 = require("zod");
|
|
29495
|
-
var
|
|
29496
|
-
|
|
29221
|
+
var DocumentArchiveRequestSchema = import_zod55.z.object({
|
|
29222
|
+
title: import_zod55.z.string().min(1).max(512),
|
|
29497
29223
|
description: import_zod55.z.string().optional(),
|
|
29498
29224
|
is_public: import_zod55.z.boolean().optional()
|
|
29499
29225
|
});
|
|
29500
29226
|
|
|
29501
|
-
// src/cfg/generated/_utils/schemas/
|
|
29227
|
+
// src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
|
|
29502
29228
|
var import_zod56 = require("zod");
|
|
29503
|
-
var
|
|
29504
|
-
|
|
29505
|
-
|
|
29506
|
-
|
|
29507
|
-
metadata: import_zod56.z.string().optional()
|
|
29229
|
+
var DocumentCategoryRequestSchema = import_zod56.z.object({
|
|
29230
|
+
name: import_zod56.z.string().min(1).max(255),
|
|
29231
|
+
description: import_zod56.z.string().optional(),
|
|
29232
|
+
is_public: import_zod56.z.boolean().optional()
|
|
29508
29233
|
});
|
|
29509
29234
|
|
|
29510
|
-
// src/cfg/generated/_utils/schemas/
|
|
29235
|
+
// src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
|
|
29511
29236
|
var import_zod57 = require("zod");
|
|
29512
|
-
var
|
|
29513
|
-
|
|
29514
|
-
|
|
29515
|
-
|
|
29516
|
-
|
|
29517
|
-
processing_time_seconds: import_zod57.z.number().nullable().optional()
|
|
29237
|
+
var DocumentCreateRequestSchema = import_zod57.z.object({
|
|
29238
|
+
title: import_zod57.z.string().min(1).max(512),
|
|
29239
|
+
content: import_zod57.z.string().min(10).max(1e6),
|
|
29240
|
+
file_type: import_zod57.z.string().min(1).optional(),
|
|
29241
|
+
metadata: import_zod57.z.string().optional()
|
|
29518
29242
|
});
|
|
29519
29243
|
|
|
29520
|
-
// src/cfg/generated/_utils/schemas/
|
|
29244
|
+
// src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
|
|
29521
29245
|
var import_zod58 = require("zod");
|
|
29522
|
-
var
|
|
29523
|
-
|
|
29524
|
-
|
|
29525
|
-
|
|
29526
|
-
|
|
29246
|
+
var DocumentProcessingStatusSchema = import_zod58.z.object({
|
|
29247
|
+
id: import_zod58.z.uuid(),
|
|
29248
|
+
status: import_zod58.z.string(),
|
|
29249
|
+
progress: import_zod58.z.string(),
|
|
29250
|
+
error: import_zod58.z.string().nullable().optional(),
|
|
29251
|
+
processing_time_seconds: import_zod58.z.number().nullable().optional()
|
|
29527
29252
|
});
|
|
29528
29253
|
|
|
29529
|
-
// src/cfg/generated/_utils/schemas/
|
|
29254
|
+
// src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
|
|
29530
29255
|
var import_zod59 = require("zod");
|
|
29531
|
-
var
|
|
29532
|
-
|
|
29533
|
-
|
|
29534
|
-
|
|
29535
|
-
|
|
29536
|
-
total_tokens: import_zod59.z.int(),
|
|
29537
|
-
total_cost_usd: import_zod59.z.number(),
|
|
29538
|
-
avg_processing_time_seconds: import_zod59.z.number()
|
|
29256
|
+
var DocumentRequestSchema = import_zod59.z.object({
|
|
29257
|
+
title: import_zod59.z.string().min(1).max(512),
|
|
29258
|
+
file_type: import_zod59.z.string().min(1).max(100).optional(),
|
|
29259
|
+
file_size: import_zod59.z.int().min(0).max(9223372036854776e3).optional(),
|
|
29260
|
+
metadata: import_zod59.z.string().nullable().optional()
|
|
29539
29261
|
});
|
|
29540
29262
|
|
|
29541
|
-
// src/cfg/generated/_utils/schemas/
|
|
29263
|
+
// src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
|
|
29542
29264
|
var import_zod60 = require("zod");
|
|
29543
|
-
var
|
|
29544
|
-
|
|
29545
|
-
|
|
29546
|
-
|
|
29547
|
-
|
|
29548
|
-
|
|
29549
|
-
|
|
29550
|
-
|
|
29551
|
-
body: import_zod60.z.string(),
|
|
29552
|
-
status: import_zod60.z.nativeEnum(EmailLogStatus),
|
|
29553
|
-
created_at: import_zod60.z.iso.datetime(),
|
|
29554
|
-
sent_at: import_zod60.z.iso.datetime().nullable(),
|
|
29555
|
-
error_message: import_zod60.z.string().nullable()
|
|
29265
|
+
var DocumentStatsSchema = import_zod60.z.object({
|
|
29266
|
+
total_documents: import_zod60.z.int(),
|
|
29267
|
+
completed_documents: import_zod60.z.int(),
|
|
29268
|
+
processing_success_rate: import_zod60.z.number(),
|
|
29269
|
+
total_chunks: import_zod60.z.int(),
|
|
29270
|
+
total_tokens: import_zod60.z.int(),
|
|
29271
|
+
total_cost_usd: import_zod60.z.number(),
|
|
29272
|
+
avg_processing_time_seconds: import_zod60.z.number()
|
|
29556
29273
|
});
|
|
29557
29274
|
|
|
29558
|
-
// src/cfg/generated/_utils/schemas/
|
|
29275
|
+
// src/cfg/generated/_utils/schemas/EmailLog.schema.ts
|
|
29559
29276
|
var import_zod61 = require("zod");
|
|
29560
|
-
var
|
|
29561
|
-
|
|
29562
|
-
|
|
29563
|
-
|
|
29564
|
-
|
|
29565
|
-
|
|
29566
|
-
|
|
29567
|
-
|
|
29568
|
-
|
|
29569
|
-
|
|
29570
|
-
|
|
29571
|
-
|
|
29572
|
-
|
|
29573
|
-
reason: import_zod61.z.string().optional(),
|
|
29574
|
-
last_checked: import_zod61.z.iso.datetime().nullable().optional(),
|
|
29575
|
-
has_parameters: import_zod61.z.boolean().optional(),
|
|
29576
|
-
required_auth: import_zod61.z.boolean().optional(),
|
|
29577
|
-
rate_limited: import_zod61.z.boolean().optional()
|
|
29277
|
+
var EmailLogSchema = import_zod61.z.object({
|
|
29278
|
+
id: import_zod61.z.uuid(),
|
|
29279
|
+
user: import_zod61.z.int().nullable(),
|
|
29280
|
+
user_email: import_zod61.z.string(),
|
|
29281
|
+
newsletter: import_zod61.z.int().nullable(),
|
|
29282
|
+
newsletter_title: import_zod61.z.string(),
|
|
29283
|
+
recipient: import_zod61.z.string(),
|
|
29284
|
+
subject: import_zod61.z.string(),
|
|
29285
|
+
body: import_zod61.z.string(),
|
|
29286
|
+
status: import_zod61.z.nativeEnum(EmailLogStatus),
|
|
29287
|
+
created_at: import_zod61.z.iso.datetime(),
|
|
29288
|
+
sent_at: import_zod61.z.iso.datetime().nullable(),
|
|
29289
|
+
error_message: import_zod61.z.string().nullable()
|
|
29578
29290
|
});
|
|
29579
29291
|
|
|
29580
|
-
// src/cfg/generated/_utils/schemas/
|
|
29292
|
+
// src/cfg/generated/_utils/schemas/Endpoint.schema.ts
|
|
29581
29293
|
var import_zod62 = require("zod");
|
|
29582
|
-
var
|
|
29583
|
-
|
|
29584
|
-
|
|
29585
|
-
|
|
29586
|
-
|
|
29587
|
-
|
|
29588
|
-
|
|
29294
|
+
var EndpointSchema = import_zod62.z.object({
|
|
29295
|
+
url: import_zod62.z.string(),
|
|
29296
|
+
url_pattern: import_zod62.z.string().nullable().optional(),
|
|
29297
|
+
url_name: import_zod62.z.string().nullable().optional(),
|
|
29298
|
+
namespace: import_zod62.z.string().optional(),
|
|
29299
|
+
group: import_zod62.z.string(),
|
|
29300
|
+
view: import_zod62.z.string().optional(),
|
|
29301
|
+
status: import_zod62.z.string(),
|
|
29302
|
+
status_code: import_zod62.z.int().nullable().optional(),
|
|
29303
|
+
response_time_ms: import_zod62.z.number().nullable().optional(),
|
|
29304
|
+
is_healthy: import_zod62.z.boolean().nullable().optional(),
|
|
29305
|
+
error: import_zod62.z.string().optional(),
|
|
29306
|
+
error_type: import_zod62.z.string().optional(),
|
|
29307
|
+
reason: import_zod62.z.string().optional(),
|
|
29308
|
+
last_checked: import_zod62.z.iso.datetime().nullable().optional(),
|
|
29309
|
+
has_parameters: import_zod62.z.boolean().optional(),
|
|
29310
|
+
required_auth: import_zod62.z.boolean().optional(),
|
|
29311
|
+
rate_limited: import_zod62.z.boolean().optional()
|
|
29589
29312
|
});
|
|
29590
29313
|
|
|
29591
|
-
// src/cfg/generated/_utils/schemas/
|
|
29314
|
+
// src/cfg/generated/_utils/schemas/EndpointGroup.schema.ts
|
|
29592
29315
|
var import_zod63 = require("zod");
|
|
29593
|
-
var
|
|
29594
|
-
|
|
29595
|
-
|
|
29596
|
-
|
|
29597
|
-
|
|
29598
|
-
|
|
29599
|
-
|
|
29600
|
-
errors: import_zod63.z.int(),
|
|
29601
|
-
skipped: import_zod63.z.int(),
|
|
29602
|
-
endpoints: import_zod63.z.array(EndpointSchema)
|
|
29316
|
+
var EndpointGroupSchema = import_zod63.z.object({
|
|
29317
|
+
id: import_zod63.z.int(),
|
|
29318
|
+
name: import_zod63.z.string(),
|
|
29319
|
+
description: import_zod63.z.string(),
|
|
29320
|
+
is_enabled: import_zod63.z.boolean(),
|
|
29321
|
+
created_at: import_zod63.z.iso.datetime(),
|
|
29322
|
+
updated_at: import_zod63.z.iso.datetime()
|
|
29603
29323
|
});
|
|
29604
29324
|
|
|
29605
|
-
// src/cfg/generated/_utils/schemas/
|
|
29325
|
+
// src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
|
|
29606
29326
|
var import_zod64 = require("zod");
|
|
29607
|
-
var
|
|
29608
|
-
|
|
29609
|
-
|
|
29327
|
+
var EndpointsStatusSchema = import_zod64.z.object({
|
|
29328
|
+
status: import_zod64.z.string(),
|
|
29329
|
+
timestamp: import_zod64.z.iso.datetime(),
|
|
29330
|
+
total_endpoints: import_zod64.z.int(),
|
|
29331
|
+
healthy: import_zod64.z.int(),
|
|
29332
|
+
unhealthy: import_zod64.z.int(),
|
|
29333
|
+
warnings: import_zod64.z.int(),
|
|
29334
|
+
errors: import_zod64.z.int(),
|
|
29335
|
+
skipped: import_zod64.z.int(),
|
|
29336
|
+
endpoints: import_zod64.z.array(EndpointSchema)
|
|
29610
29337
|
});
|
|
29611
29338
|
|
|
29612
|
-
// src/cfg/generated/_utils/schemas/
|
|
29339
|
+
// src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
|
|
29613
29340
|
var import_zod65 = require("zod");
|
|
29614
|
-
var
|
|
29615
|
-
|
|
29616
|
-
|
|
29617
|
-
service: import_zod65.z.string(),
|
|
29618
|
-
version: import_zod65.z.string(),
|
|
29619
|
-
checks: import_zod65.z.record(import_zod65.z.string(), import_zod65.z.any()),
|
|
29620
|
-
environment: import_zod65.z.record(import_zod65.z.string(), import_zod65.z.any())
|
|
29341
|
+
var ErrorResponseSchema = import_zod65.z.object({
|
|
29342
|
+
success: import_zod65.z.boolean().optional(),
|
|
29343
|
+
message: import_zod65.z.string()
|
|
29621
29344
|
});
|
|
29622
29345
|
|
|
29623
|
-
// src/cfg/generated/_utils/schemas/
|
|
29346
|
+
// src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
|
|
29624
29347
|
var import_zod66 = require("zod");
|
|
29625
|
-
var
|
|
29626
|
-
|
|
29627
|
-
|
|
29628
|
-
|
|
29629
|
-
|
|
29630
|
-
|
|
29631
|
-
|
|
29632
|
-
subject: import_zod66.z.string().max(200).nullable().optional(),
|
|
29633
|
-
message: import_zod66.z.string(),
|
|
29634
|
-
extra: import_zod66.z.string().nullable().optional(),
|
|
29635
|
-
site_url: import_zod66.z.url()
|
|
29348
|
+
var HealthCheckSchema = import_zod66.z.object({
|
|
29349
|
+
status: import_zod66.z.string(),
|
|
29350
|
+
timestamp: import_zod66.z.iso.datetime(),
|
|
29351
|
+
service: import_zod66.z.string(),
|
|
29352
|
+
version: import_zod66.z.string(),
|
|
29353
|
+
checks: import_zod66.z.record(import_zod66.z.string(), import_zod66.z.any()),
|
|
29354
|
+
environment: import_zod66.z.record(import_zod66.z.string(), import_zod66.z.any())
|
|
29636
29355
|
});
|
|
29637
29356
|
|
|
29638
|
-
// src/cfg/generated/_utils/schemas/
|
|
29357
|
+
// src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
|
|
29639
29358
|
var import_zod67 = require("zod");
|
|
29640
|
-
var
|
|
29641
|
-
|
|
29642
|
-
|
|
29643
|
-
|
|
29359
|
+
var LeadSubmissionSchema = import_zod67.z.object({
|
|
29360
|
+
name: import_zod67.z.string().max(200),
|
|
29361
|
+
email: import_zod67.z.email(),
|
|
29362
|
+
company: import_zod67.z.string().max(200).nullable().optional(),
|
|
29363
|
+
company_site: import_zod67.z.string().max(200).nullable().optional(),
|
|
29364
|
+
contact_type: import_zod67.z.nativeEnum(LeadSubmissionContactType).optional(),
|
|
29365
|
+
contact_value: import_zod67.z.string().max(200).nullable().optional(),
|
|
29366
|
+
subject: import_zod67.z.string().max(200).nullable().optional(),
|
|
29367
|
+
message: import_zod67.z.string(),
|
|
29368
|
+
extra: import_zod67.z.string().nullable().optional(),
|
|
29369
|
+
site_url: import_zod67.z.url()
|
|
29644
29370
|
});
|
|
29645
29371
|
|
|
29646
|
-
// src/cfg/generated/_utils/schemas/
|
|
29372
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
|
|
29647
29373
|
var import_zod68 = require("zod");
|
|
29648
|
-
var
|
|
29649
|
-
|
|
29650
|
-
|
|
29651
|
-
|
|
29652
|
-
company_site: import_zod68.z.string().max(200).nullable().optional(),
|
|
29653
|
-
contact_type: import_zod68.z.nativeEnum(LeadSubmissionRequestContactType).optional(),
|
|
29654
|
-
contact_value: import_zod68.z.string().max(200).nullable().optional(),
|
|
29655
|
-
subject: import_zod68.z.string().max(200).nullable().optional(),
|
|
29656
|
-
message: import_zod68.z.string().min(1),
|
|
29657
|
-
extra: import_zod68.z.string().nullable().optional(),
|
|
29658
|
-
site_url: import_zod68.z.url()
|
|
29374
|
+
var LeadSubmissionErrorSchema = import_zod68.z.object({
|
|
29375
|
+
success: import_zod68.z.boolean(),
|
|
29376
|
+
error: import_zod68.z.string(),
|
|
29377
|
+
details: import_zod68.z.record(import_zod68.z.string(), import_zod68.z.any()).optional()
|
|
29659
29378
|
});
|
|
29660
29379
|
|
|
29661
|
-
// src/cfg/generated/_utils/schemas/
|
|
29380
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
|
|
29662
29381
|
var import_zod69 = require("zod");
|
|
29663
|
-
var
|
|
29664
|
-
|
|
29665
|
-
|
|
29666
|
-
|
|
29382
|
+
var LeadSubmissionRequestSchema = import_zod69.z.object({
|
|
29383
|
+
name: import_zod69.z.string().min(1).max(200),
|
|
29384
|
+
email: import_zod69.z.email(),
|
|
29385
|
+
company: import_zod69.z.string().max(200).nullable().optional(),
|
|
29386
|
+
company_site: import_zod69.z.string().max(200).nullable().optional(),
|
|
29387
|
+
contact_type: import_zod69.z.nativeEnum(LeadSubmissionRequestContactType).optional(),
|
|
29388
|
+
contact_value: import_zod69.z.string().max(200).nullable().optional(),
|
|
29389
|
+
subject: import_zod69.z.string().max(200).nullable().optional(),
|
|
29390
|
+
message: import_zod69.z.string().min(1),
|
|
29391
|
+
extra: import_zod69.z.string().nullable().optional(),
|
|
29392
|
+
site_url: import_zod69.z.url()
|
|
29393
|
+
});
|
|
29394
|
+
|
|
29395
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
|
|
29396
|
+
var import_zod70 = require("zod");
|
|
29397
|
+
var LeadSubmissionResponseSchema = import_zod70.z.object({
|
|
29398
|
+
success: import_zod70.z.boolean(),
|
|
29399
|
+
message: import_zod70.z.string(),
|
|
29400
|
+
lead_id: import_zod70.z.int()
|
|
29667
29401
|
});
|
|
29668
29402
|
|
|
29669
29403
|
// src/cfg/generated/_utils/schemas/Message.schema.ts
|
|
29670
|
-
var
|
|
29404
|
+
var import_zod72 = require("zod");
|
|
29671
29405
|
|
|
29672
29406
|
// src/cfg/generated/_utils/schemas/Sender.schema.ts
|
|
29673
|
-
var
|
|
29674
|
-
var SenderSchema =
|
|
29675
|
-
id:
|
|
29676
|
-
display_username:
|
|
29677
|
-
email:
|
|
29678
|
-
avatar:
|
|
29679
|
-
initials:
|
|
29680
|
-
is_staff:
|
|
29681
|
-
is_superuser:
|
|
29407
|
+
var import_zod71 = require("zod");
|
|
29408
|
+
var SenderSchema = import_zod71.z.object({
|
|
29409
|
+
id: import_zod71.z.int(),
|
|
29410
|
+
display_username: import_zod71.z.string(),
|
|
29411
|
+
email: import_zod71.z.email(),
|
|
29412
|
+
avatar: import_zod71.z.string().nullable(),
|
|
29413
|
+
initials: import_zod71.z.string(),
|
|
29414
|
+
is_staff: import_zod71.z.boolean(),
|
|
29415
|
+
is_superuser: import_zod71.z.boolean()
|
|
29682
29416
|
});
|
|
29683
29417
|
|
|
29684
29418
|
// src/cfg/generated/_utils/schemas/Message.schema.ts
|
|
29685
|
-
var MessageSchema =
|
|
29686
|
-
uuid:
|
|
29687
|
-
ticket:
|
|
29419
|
+
var MessageSchema = import_zod72.z.object({
|
|
29420
|
+
uuid: import_zod72.z.uuid(),
|
|
29421
|
+
ticket: import_zod72.z.uuid(),
|
|
29688
29422
|
sender: SenderSchema,
|
|
29689
|
-
is_from_author:
|
|
29690
|
-
text:
|
|
29691
|
-
created_at:
|
|
29423
|
+
is_from_author: import_zod72.z.boolean(),
|
|
29424
|
+
text: import_zod72.z.string(),
|
|
29425
|
+
created_at: import_zod72.z.iso.datetime()
|
|
29692
29426
|
});
|
|
29693
29427
|
|
|
29694
29428
|
// src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
|
|
29695
|
-
var import_zod72 = require("zod");
|
|
29696
|
-
var MessageCreateSchema = import_zod72.z.object({
|
|
29697
|
-
text: import_zod72.z.string()
|
|
29698
|
-
});
|
|
29699
|
-
|
|
29700
|
-
// src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
|
|
29701
29429
|
var import_zod73 = require("zod");
|
|
29702
|
-
var
|
|
29703
|
-
text: import_zod73.z.string()
|
|
29430
|
+
var MessageCreateSchema = import_zod73.z.object({
|
|
29431
|
+
text: import_zod73.z.string()
|
|
29704
29432
|
});
|
|
29705
29433
|
|
|
29706
|
-
// src/cfg/generated/_utils/schemas/
|
|
29434
|
+
// src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
|
|
29707
29435
|
var import_zod74 = require("zod");
|
|
29708
|
-
var
|
|
29436
|
+
var MessageCreateRequestSchema = import_zod74.z.object({
|
|
29709
29437
|
text: import_zod74.z.string().min(1)
|
|
29710
29438
|
});
|
|
29711
29439
|
|
|
29712
|
-
// src/cfg/generated/_utils/schemas/
|
|
29440
|
+
// src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
|
|
29713
29441
|
var import_zod75 = require("zod");
|
|
29714
|
-
var
|
|
29715
|
-
|
|
29716
|
-
currency: CurrencyListSchema,
|
|
29717
|
-
name: import_zod75.z.string(),
|
|
29718
|
-
code: import_zod75.z.string(),
|
|
29719
|
-
is_active: import_zod75.z.boolean(),
|
|
29720
|
-
created_at: import_zod75.z.iso.datetime(),
|
|
29721
|
-
updated_at: import_zod75.z.iso.datetime()
|
|
29442
|
+
var MessageRequestSchema = import_zod75.z.object({
|
|
29443
|
+
text: import_zod75.z.string().min(1)
|
|
29722
29444
|
});
|
|
29723
29445
|
|
|
29724
|
-
// src/cfg/generated/_utils/schemas/
|
|
29446
|
+
// src/cfg/generated/_utils/schemas/Network.schema.ts
|
|
29725
29447
|
var import_zod76 = require("zod");
|
|
29726
|
-
var
|
|
29448
|
+
var NetworkSchema = import_zod76.z.object({
|
|
29727
29449
|
id: import_zod76.z.int(),
|
|
29728
|
-
|
|
29729
|
-
|
|
29730
|
-
|
|
29731
|
-
|
|
29450
|
+
currency: CurrencyListSchema.nullable(),
|
|
29451
|
+
name: import_zod76.z.string(),
|
|
29452
|
+
code: import_zod76.z.string(),
|
|
29453
|
+
is_active: import_zod76.z.boolean(),
|
|
29732
29454
|
created_at: import_zod76.z.iso.datetime(),
|
|
29733
|
-
updated_at: import_zod76.z.iso.datetime()
|
|
29734
|
-
subscribers_count: import_zod76.z.int()
|
|
29455
|
+
updated_at: import_zod76.z.iso.datetime()
|
|
29735
29456
|
});
|
|
29736
29457
|
|
|
29737
|
-
// src/cfg/generated/_utils/schemas/
|
|
29458
|
+
// src/cfg/generated/_utils/schemas/Newsletter.schema.ts
|
|
29738
29459
|
var import_zod77 = require("zod");
|
|
29739
|
-
var
|
|
29460
|
+
var NewsletterSchema = import_zod77.z.object({
|
|
29740
29461
|
id: import_zod77.z.int(),
|
|
29741
|
-
|
|
29742
|
-
|
|
29743
|
-
|
|
29744
|
-
|
|
29745
|
-
main_text: import_zod77.z.string(),
|
|
29746
|
-
main_html_content: import_zod77.z.string().optional(),
|
|
29747
|
-
button_text: import_zod77.z.string().max(100).optional(),
|
|
29748
|
-
button_url: import_zod77.z.url().optional(),
|
|
29749
|
-
secondary_text: import_zod77.z.string().optional(),
|
|
29750
|
-
status: import_zod77.z.nativeEnum(NewsletterCampaignStatus),
|
|
29462
|
+
title: import_zod77.z.string().max(255),
|
|
29463
|
+
description: import_zod77.z.string().optional(),
|
|
29464
|
+
is_active: import_zod77.z.boolean().optional(),
|
|
29465
|
+
auto_subscribe: import_zod77.z.boolean().optional(),
|
|
29751
29466
|
created_at: import_zod77.z.iso.datetime(),
|
|
29752
|
-
|
|
29753
|
-
|
|
29467
|
+
updated_at: import_zod77.z.iso.datetime(),
|
|
29468
|
+
subscribers_count: import_zod77.z.int()
|
|
29754
29469
|
});
|
|
29755
29470
|
|
|
29756
|
-
// src/cfg/generated/_utils/schemas/
|
|
29471
|
+
// src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
|
|
29757
29472
|
var import_zod78 = require("zod");
|
|
29758
|
-
var
|
|
29473
|
+
var NewsletterCampaignSchema = import_zod78.z.object({
|
|
29474
|
+
id: import_zod78.z.int(),
|
|
29759
29475
|
newsletter: import_zod78.z.int(),
|
|
29760
|
-
|
|
29761
|
-
|
|
29762
|
-
|
|
29476
|
+
newsletter_title: import_zod78.z.string(),
|
|
29477
|
+
subject: import_zod78.z.string().max(255),
|
|
29478
|
+
email_title: import_zod78.z.string().max(255),
|
|
29479
|
+
main_text: import_zod78.z.string(),
|
|
29763
29480
|
main_html_content: import_zod78.z.string().optional(),
|
|
29764
29481
|
button_text: import_zod78.z.string().max(100).optional(),
|
|
29765
29482
|
button_url: import_zod78.z.url().optional(),
|
|
29766
|
-
secondary_text: import_zod78.z.string().optional()
|
|
29483
|
+
secondary_text: import_zod78.z.string().optional(),
|
|
29484
|
+
status: import_zod78.z.nativeEnum(NewsletterCampaignStatus),
|
|
29485
|
+
created_at: import_zod78.z.iso.datetime(),
|
|
29486
|
+
sent_at: import_zod78.z.iso.datetime().nullable(),
|
|
29487
|
+
recipient_count: import_zod78.z.int()
|
|
29767
29488
|
});
|
|
29768
29489
|
|
|
29769
|
-
// src/cfg/generated/_utils/schemas/
|
|
29490
|
+
// src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
|
|
29770
29491
|
var import_zod79 = require("zod");
|
|
29771
|
-
var
|
|
29772
|
-
id: import_zod79.z.int(),
|
|
29492
|
+
var NewsletterCampaignRequestSchema = import_zod79.z.object({
|
|
29773
29493
|
newsletter: import_zod79.z.int(),
|
|
29774
|
-
|
|
29775
|
-
|
|
29776
|
-
|
|
29777
|
-
|
|
29778
|
-
|
|
29779
|
-
|
|
29780
|
-
|
|
29494
|
+
subject: import_zod79.z.string().min(1).max(255),
|
|
29495
|
+
email_title: import_zod79.z.string().min(1).max(255),
|
|
29496
|
+
main_text: import_zod79.z.string().min(1),
|
|
29497
|
+
main_html_content: import_zod79.z.string().optional(),
|
|
29498
|
+
button_text: import_zod79.z.string().max(100).optional(),
|
|
29499
|
+
button_url: import_zod79.z.url().optional(),
|
|
29500
|
+
secondary_text: import_zod79.z.string().optional()
|
|
29781
29501
|
});
|
|
29782
29502
|
|
|
29783
|
-
// src/cfg/generated/_utils/schemas/
|
|
29503
|
+
// src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
|
|
29784
29504
|
var import_zod80 = require("zod");
|
|
29785
|
-
var
|
|
29786
|
-
|
|
29505
|
+
var NewsletterSubscriptionSchema = import_zod80.z.object({
|
|
29506
|
+
id: import_zod80.z.int(),
|
|
29507
|
+
newsletter: import_zod80.z.int(),
|
|
29508
|
+
newsletter_title: import_zod80.z.string(),
|
|
29509
|
+
user: import_zod80.z.int().nullable().optional(),
|
|
29510
|
+
user_email: import_zod80.z.string(),
|
|
29511
|
+
email: import_zod80.z.email(),
|
|
29512
|
+
is_active: import_zod80.z.boolean().optional(),
|
|
29513
|
+
subscribed_at: import_zod80.z.iso.datetime(),
|
|
29514
|
+
unsubscribed_at: import_zod80.z.iso.datetime().nullable()
|
|
29787
29515
|
});
|
|
29788
29516
|
|
|
29789
|
-
// src/cfg/generated/_utils/schemas/
|
|
29517
|
+
// src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
|
|
29790
29518
|
var import_zod81 = require("zod");
|
|
29791
|
-
var
|
|
29792
|
-
|
|
29793
|
-
channel: import_zod81.z.nativeEnum(OTPRequestRequestChannel).optional(),
|
|
29794
|
-
source_url: import_zod81.z.url().optional()
|
|
29519
|
+
var OTPErrorResponseSchema = import_zod81.z.object({
|
|
29520
|
+
error: import_zod81.z.string()
|
|
29795
29521
|
});
|
|
29796
29522
|
|
|
29797
|
-
// src/cfg/generated/_utils/schemas/
|
|
29523
|
+
// src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
|
|
29798
29524
|
var import_zod82 = require("zod");
|
|
29799
|
-
var
|
|
29800
|
-
|
|
29525
|
+
var OTPRequestRequestSchema = import_zod82.z.object({
|
|
29526
|
+
identifier: import_zod82.z.string().min(1),
|
|
29527
|
+
channel: import_zod82.z.nativeEnum(OTPRequestRequestChannel).optional(),
|
|
29528
|
+
source_url: import_zod82.z.url().optional()
|
|
29801
29529
|
});
|
|
29802
29530
|
|
|
29803
|
-
// src/cfg/generated/_utils/schemas/
|
|
29531
|
+
// src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
|
|
29804
29532
|
var import_zod83 = require("zod");
|
|
29805
|
-
var
|
|
29806
|
-
|
|
29807
|
-
|
|
29808
|
-
|
|
29809
|
-
|
|
29533
|
+
var OTPRequestResponseSchema = import_zod83.z.object({
|
|
29534
|
+
message: import_zod83.z.string()
|
|
29535
|
+
});
|
|
29536
|
+
|
|
29537
|
+
// src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
|
|
29538
|
+
var import_zod84 = require("zod");
|
|
29539
|
+
var OTPVerifyRequestSchema = import_zod84.z.object({
|
|
29540
|
+
identifier: import_zod84.z.string().min(1),
|
|
29541
|
+
otp: import_zod84.z.string().min(6).max(6),
|
|
29542
|
+
channel: import_zod84.z.nativeEnum(OTPVerifyRequestChannel).optional(),
|
|
29543
|
+
source_url: import_zod84.z.url().optional()
|
|
29810
29544
|
});
|
|
29811
29545
|
|
|
29812
29546
|
// src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
|
|
29813
|
-
var
|
|
29547
|
+
var import_zod86 = require("zod");
|
|
29814
29548
|
|
|
29815
29549
|
// src/cfg/generated/_utils/schemas/User.schema.ts
|
|
29816
|
-
var
|
|
29817
|
-
var UserSchema =
|
|
29818
|
-
id:
|
|
29819
|
-
email:
|
|
29820
|
-
first_name:
|
|
29821
|
-
last_name:
|
|
29822
|
-
full_name:
|
|
29823
|
-
initials:
|
|
29824
|
-
display_username:
|
|
29825
|
-
company:
|
|
29826
|
-
phone:
|
|
29827
|
-
position:
|
|
29828
|
-
avatar:
|
|
29829
|
-
is_staff:
|
|
29830
|
-
is_superuser:
|
|
29831
|
-
date_joined:
|
|
29832
|
-
last_login:
|
|
29833
|
-
unanswered_messages_count:
|
|
29550
|
+
var import_zod85 = require("zod");
|
|
29551
|
+
var UserSchema = import_zod85.z.object({
|
|
29552
|
+
id: import_zod85.z.int(),
|
|
29553
|
+
email: import_zod85.z.email(),
|
|
29554
|
+
first_name: import_zod85.z.string().max(50).optional(),
|
|
29555
|
+
last_name: import_zod85.z.string().max(50).optional(),
|
|
29556
|
+
full_name: import_zod85.z.string(),
|
|
29557
|
+
initials: import_zod85.z.string(),
|
|
29558
|
+
display_username: import_zod85.z.string(),
|
|
29559
|
+
company: import_zod85.z.string().max(100).optional(),
|
|
29560
|
+
phone: import_zod85.z.string().max(20).optional(),
|
|
29561
|
+
position: import_zod85.z.string().max(100).optional(),
|
|
29562
|
+
avatar: import_zod85.z.url().nullable(),
|
|
29563
|
+
is_staff: import_zod85.z.boolean(),
|
|
29564
|
+
is_superuser: import_zod85.z.boolean(),
|
|
29565
|
+
date_joined: import_zod85.z.iso.datetime(),
|
|
29566
|
+
last_login: import_zod85.z.iso.datetime().nullable(),
|
|
29567
|
+
unanswered_messages_count: import_zod85.z.int()
|
|
29834
29568
|
});
|
|
29835
29569
|
|
|
29836
29570
|
// src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
|
|
29837
|
-
var OTPVerifyResponseSchema =
|
|
29838
|
-
refresh:
|
|
29839
|
-
access:
|
|
29571
|
+
var OTPVerifyResponseSchema = import_zod86.z.object({
|
|
29572
|
+
refresh: import_zod86.z.string(),
|
|
29573
|
+
access: import_zod86.z.string(),
|
|
29840
29574
|
user: UserSchema
|
|
29841
29575
|
});
|
|
29842
29576
|
|
|
29843
29577
|
// src/cfg/generated/_utils/schemas/PaginatedAPIKeyListList.schema.ts
|
|
29844
|
-
var import_zod86 = require("zod");
|
|
29845
|
-
var PaginatedAPIKeyListListSchema = import_zod86.z.object({
|
|
29846
|
-
count: import_zod86.z.int(),
|
|
29847
|
-
page: import_zod86.z.int(),
|
|
29848
|
-
pages: import_zod86.z.int(),
|
|
29849
|
-
page_size: import_zod86.z.int(),
|
|
29850
|
-
has_next: import_zod86.z.boolean(),
|
|
29851
|
-
has_previous: import_zod86.z.boolean(),
|
|
29852
|
-
next_page: import_zod86.z.int().nullable().optional(),
|
|
29853
|
-
previous_page: import_zod86.z.int().nullable().optional(),
|
|
29854
|
-
results: import_zod86.z.array(APIKeyListSchema)
|
|
29855
|
-
});
|
|
29856
|
-
|
|
29857
|
-
// src/cfg/generated/_utils/schemas/PaginatedAdminPaymentListList.schema.ts
|
|
29858
29578
|
var import_zod87 = require("zod");
|
|
29859
|
-
var
|
|
29579
|
+
var PaginatedAPIKeyListListSchema = import_zod87.z.object({
|
|
29860
29580
|
count: import_zod87.z.int(),
|
|
29861
29581
|
page: import_zod87.z.int(),
|
|
29862
29582
|
pages: import_zod87.z.int(),
|
|
@@ -29865,12 +29585,12 @@ var PaginatedAdminPaymentListListSchema = import_zod87.z.object({
|
|
|
29865
29585
|
has_previous: import_zod87.z.boolean(),
|
|
29866
29586
|
next_page: import_zod87.z.int().nullable().optional(),
|
|
29867
29587
|
previous_page: import_zod87.z.int().nullable().optional(),
|
|
29868
|
-
results: import_zod87.z.array(
|
|
29588
|
+
results: import_zod87.z.array(APIKeyListSchema)
|
|
29869
29589
|
});
|
|
29870
29590
|
|
|
29871
|
-
// src/cfg/generated/_utils/schemas/
|
|
29591
|
+
// src/cfg/generated/_utils/schemas/PaginatedAdminPaymentListList.schema.ts
|
|
29872
29592
|
var import_zod88 = require("zod");
|
|
29873
|
-
var
|
|
29593
|
+
var PaginatedAdminPaymentListListSchema = import_zod88.z.object({
|
|
29874
29594
|
count: import_zod88.z.int(),
|
|
29875
29595
|
page: import_zod88.z.int(),
|
|
29876
29596
|
pages: import_zod88.z.int(),
|
|
@@ -29879,12 +29599,12 @@ var PaginatedAdminPaymentStatsListSchema = import_zod88.z.object({
|
|
|
29879
29599
|
has_previous: import_zod88.z.boolean(),
|
|
29880
29600
|
next_page: import_zod88.z.int().nullable().optional(),
|
|
29881
29601
|
previous_page: import_zod88.z.int().nullable().optional(),
|
|
29882
|
-
results: import_zod88.z.array(
|
|
29602
|
+
results: import_zod88.z.array(AdminPaymentListSchema)
|
|
29883
29603
|
});
|
|
29884
29604
|
|
|
29885
|
-
// src/cfg/generated/_utils/schemas/
|
|
29605
|
+
// src/cfg/generated/_utils/schemas/PaginatedAdminPaymentStatsList.schema.ts
|
|
29886
29606
|
var import_zod89 = require("zod");
|
|
29887
|
-
var
|
|
29607
|
+
var PaginatedAdminPaymentStatsListSchema = import_zod89.z.object({
|
|
29888
29608
|
count: import_zod89.z.int(),
|
|
29889
29609
|
page: import_zod89.z.int(),
|
|
29890
29610
|
pages: import_zod89.z.int(),
|
|
@@ -29893,12 +29613,12 @@ var PaginatedAdminUserListSchema = import_zod89.z.object({
|
|
|
29893
29613
|
has_previous: import_zod89.z.boolean(),
|
|
29894
29614
|
next_page: import_zod89.z.int().nullable().optional(),
|
|
29895
29615
|
previous_page: import_zod89.z.int().nullable().optional(),
|
|
29896
|
-
results: import_zod89.z.array(
|
|
29616
|
+
results: import_zod89.z.array(AdminPaymentStatsSchema)
|
|
29897
29617
|
});
|
|
29898
29618
|
|
|
29899
|
-
// src/cfg/generated/_utils/schemas/
|
|
29619
|
+
// src/cfg/generated/_utils/schemas/PaginatedAdminUserList.schema.ts
|
|
29900
29620
|
var import_zod90 = require("zod");
|
|
29901
|
-
var
|
|
29621
|
+
var PaginatedAdminUserListSchema = import_zod90.z.object({
|
|
29902
29622
|
count: import_zod90.z.int(),
|
|
29903
29623
|
page: import_zod90.z.int(),
|
|
29904
29624
|
pages: import_zod90.z.int(),
|
|
@@ -29907,12 +29627,12 @@ var PaginatedArchiveItemChunkListSchema = import_zod90.z.object({
|
|
|
29907
29627
|
has_previous: import_zod90.z.boolean(),
|
|
29908
29628
|
next_page: import_zod90.z.int().nullable().optional(),
|
|
29909
29629
|
previous_page: import_zod90.z.int().nullable().optional(),
|
|
29910
|
-
results: import_zod90.z.array(
|
|
29630
|
+
results: import_zod90.z.array(AdminUserSchema)
|
|
29911
29631
|
});
|
|
29912
29632
|
|
|
29913
|
-
// src/cfg/generated/_utils/schemas/
|
|
29633
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
|
|
29914
29634
|
var import_zod91 = require("zod");
|
|
29915
|
-
var
|
|
29635
|
+
var PaginatedArchiveItemChunkListSchema = import_zod91.z.object({
|
|
29916
29636
|
count: import_zod91.z.int(),
|
|
29917
29637
|
page: import_zod91.z.int(),
|
|
29918
29638
|
pages: import_zod91.z.int(),
|
|
@@ -29921,12 +29641,12 @@ var PaginatedArchiveItemListSchema = import_zod91.z.object({
|
|
|
29921
29641
|
has_previous: import_zod91.z.boolean(),
|
|
29922
29642
|
next_page: import_zod91.z.int().nullable().optional(),
|
|
29923
29643
|
previous_page: import_zod91.z.int().nullable().optional(),
|
|
29924
|
-
results: import_zod91.z.array(
|
|
29644
|
+
results: import_zod91.z.array(ArchiveItemChunkSchema)
|
|
29925
29645
|
});
|
|
29926
29646
|
|
|
29927
|
-
// src/cfg/generated/_utils/schemas/
|
|
29647
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
|
|
29928
29648
|
var import_zod92 = require("zod");
|
|
29929
|
-
var
|
|
29649
|
+
var PaginatedArchiveItemListSchema = import_zod92.z.object({
|
|
29930
29650
|
count: import_zod92.z.int(),
|
|
29931
29651
|
page: import_zod92.z.int(),
|
|
29932
29652
|
pages: import_zod92.z.int(),
|
|
@@ -29935,12 +29655,12 @@ var PaginatedArchiveSearchResultListSchema = import_zod92.z.object({
|
|
|
29935
29655
|
has_previous: import_zod92.z.boolean(),
|
|
29936
29656
|
next_page: import_zod92.z.int().nullable().optional(),
|
|
29937
29657
|
previous_page: import_zod92.z.int().nullable().optional(),
|
|
29938
|
-
results: import_zod92.z.array(
|
|
29658
|
+
results: import_zod92.z.array(ArchiveItemSchema)
|
|
29939
29659
|
});
|
|
29940
29660
|
|
|
29941
|
-
// src/cfg/generated/_utils/schemas/
|
|
29661
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
|
|
29942
29662
|
var import_zod93 = require("zod");
|
|
29943
|
-
var
|
|
29663
|
+
var PaginatedArchiveSearchResultListSchema = import_zod93.z.object({
|
|
29944
29664
|
count: import_zod93.z.int(),
|
|
29945
29665
|
page: import_zod93.z.int(),
|
|
29946
29666
|
pages: import_zod93.z.int(),
|
|
@@ -29949,12 +29669,12 @@ var PaginatedChatResponseListSchema = import_zod93.z.object({
|
|
|
29949
29669
|
has_previous: import_zod93.z.boolean(),
|
|
29950
29670
|
next_page: import_zod93.z.int().nullable().optional(),
|
|
29951
29671
|
previous_page: import_zod93.z.int().nullable().optional(),
|
|
29952
|
-
results: import_zod93.z.array(
|
|
29672
|
+
results: import_zod93.z.array(ArchiveSearchResultSchema)
|
|
29953
29673
|
});
|
|
29954
29674
|
|
|
29955
|
-
// src/cfg/generated/_utils/schemas/
|
|
29675
|
+
// src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
|
|
29956
29676
|
var import_zod94 = require("zod");
|
|
29957
|
-
var
|
|
29677
|
+
var PaginatedChatResponseListSchema = import_zod94.z.object({
|
|
29958
29678
|
count: import_zod94.z.int(),
|
|
29959
29679
|
page: import_zod94.z.int(),
|
|
29960
29680
|
pages: import_zod94.z.int(),
|
|
@@ -29963,12 +29683,12 @@ var PaginatedChatSessionListSchema = import_zod94.z.object({
|
|
|
29963
29683
|
has_previous: import_zod94.z.boolean(),
|
|
29964
29684
|
next_page: import_zod94.z.int().nullable().optional(),
|
|
29965
29685
|
previous_page: import_zod94.z.int().nullable().optional(),
|
|
29966
|
-
results: import_zod94.z.array(
|
|
29686
|
+
results: import_zod94.z.array(ChatResponseSchema)
|
|
29967
29687
|
});
|
|
29968
29688
|
|
|
29969
|
-
// src/cfg/generated/_utils/schemas/
|
|
29689
|
+
// src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
|
|
29970
29690
|
var import_zod95 = require("zod");
|
|
29971
|
-
var
|
|
29691
|
+
var PaginatedChatSessionListSchema = import_zod95.z.object({
|
|
29972
29692
|
count: import_zod95.z.int(),
|
|
29973
29693
|
page: import_zod95.z.int(),
|
|
29974
29694
|
pages: import_zod95.z.int(),
|
|
@@ -29977,12 +29697,12 @@ var PaginatedCurrencyListListSchema = import_zod95.z.object({
|
|
|
29977
29697
|
has_previous: import_zod95.z.boolean(),
|
|
29978
29698
|
next_page: import_zod95.z.int().nullable().optional(),
|
|
29979
29699
|
previous_page: import_zod95.z.int().nullable().optional(),
|
|
29980
|
-
results: import_zod95.z.array(
|
|
29700
|
+
results: import_zod95.z.array(ChatSessionSchema)
|
|
29981
29701
|
});
|
|
29982
29702
|
|
|
29983
|
-
// src/cfg/generated/_utils/schemas/
|
|
29703
|
+
// src/cfg/generated/_utils/schemas/PaginatedCurrencyListList.schema.ts
|
|
29984
29704
|
var import_zod96 = require("zod");
|
|
29985
|
-
var
|
|
29705
|
+
var PaginatedCurrencyListListSchema = import_zod96.z.object({
|
|
29986
29706
|
count: import_zod96.z.int(),
|
|
29987
29707
|
page: import_zod96.z.int(),
|
|
29988
29708
|
pages: import_zod96.z.int(),
|
|
@@ -29991,12 +29711,12 @@ var PaginatedDocumentArchiveListListSchema = import_zod96.z.object({
|
|
|
29991
29711
|
has_previous: import_zod96.z.boolean(),
|
|
29992
29712
|
next_page: import_zod96.z.int().nullable().optional(),
|
|
29993
29713
|
previous_page: import_zod96.z.int().nullable().optional(),
|
|
29994
|
-
results: import_zod96.z.array(
|
|
29714
|
+
results: import_zod96.z.array(CurrencyListSchema)
|
|
29995
29715
|
});
|
|
29996
29716
|
|
|
29997
|
-
// src/cfg/generated/_utils/schemas/
|
|
29717
|
+
// src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
|
|
29998
29718
|
var import_zod97 = require("zod");
|
|
29999
|
-
var
|
|
29719
|
+
var PaginatedDocumentArchiveListListSchema = import_zod97.z.object({
|
|
30000
29720
|
count: import_zod97.z.int(),
|
|
30001
29721
|
page: import_zod97.z.int(),
|
|
30002
29722
|
pages: import_zod97.z.int(),
|
|
@@ -30005,12 +29725,12 @@ var PaginatedDocumentListSchema = import_zod97.z.object({
|
|
|
30005
29725
|
has_previous: import_zod97.z.boolean(),
|
|
30006
29726
|
next_page: import_zod97.z.int().nullable().optional(),
|
|
30007
29727
|
previous_page: import_zod97.z.int().nullable().optional(),
|
|
30008
|
-
results: import_zod97.z.array(
|
|
29728
|
+
results: import_zod97.z.array(DocumentArchiveListSchema)
|
|
30009
29729
|
});
|
|
30010
29730
|
|
|
30011
|
-
// src/cfg/generated/_utils/schemas/
|
|
29731
|
+
// src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
|
|
30012
29732
|
var import_zod98 = require("zod");
|
|
30013
|
-
var
|
|
29733
|
+
var PaginatedDocumentListSchema = import_zod98.z.object({
|
|
30014
29734
|
count: import_zod98.z.int(),
|
|
30015
29735
|
page: import_zod98.z.int(),
|
|
30016
29736
|
pages: import_zod98.z.int(),
|
|
@@ -30019,12 +29739,12 @@ var PaginatedEmailLogListSchema = import_zod98.z.object({
|
|
|
30019
29739
|
has_previous: import_zod98.z.boolean(),
|
|
30020
29740
|
next_page: import_zod98.z.int().nullable().optional(),
|
|
30021
29741
|
previous_page: import_zod98.z.int().nullable().optional(),
|
|
30022
|
-
results: import_zod98.z.array(
|
|
29742
|
+
results: import_zod98.z.array(DocumentSchema)
|
|
30023
29743
|
});
|
|
30024
29744
|
|
|
30025
|
-
// src/cfg/generated/_utils/schemas/
|
|
29745
|
+
// src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
|
|
30026
29746
|
var import_zod99 = require("zod");
|
|
30027
|
-
var
|
|
29747
|
+
var PaginatedEmailLogListSchema = import_zod99.z.object({
|
|
30028
29748
|
count: import_zod99.z.int(),
|
|
30029
29749
|
page: import_zod99.z.int(),
|
|
30030
29750
|
pages: import_zod99.z.int(),
|
|
@@ -30033,12 +29753,12 @@ var PaginatedEndpointGroupListSchema = import_zod99.z.object({
|
|
|
30033
29753
|
has_previous: import_zod99.z.boolean(),
|
|
30034
29754
|
next_page: import_zod99.z.int().nullable().optional(),
|
|
30035
29755
|
previous_page: import_zod99.z.int().nullable().optional(),
|
|
30036
|
-
results: import_zod99.z.array(
|
|
29756
|
+
results: import_zod99.z.array(EmailLogSchema)
|
|
30037
29757
|
});
|
|
30038
29758
|
|
|
30039
|
-
// src/cfg/generated/_utils/schemas/
|
|
29759
|
+
// src/cfg/generated/_utils/schemas/PaginatedEndpointGroupList.schema.ts
|
|
30040
29760
|
var import_zod100 = require("zod");
|
|
30041
|
-
var
|
|
29761
|
+
var PaginatedEndpointGroupListSchema = import_zod100.z.object({
|
|
30042
29762
|
count: import_zod100.z.int(),
|
|
30043
29763
|
page: import_zod100.z.int(),
|
|
30044
29764
|
pages: import_zod100.z.int(),
|
|
@@ -30047,12 +29767,12 @@ var PaginatedLeadSubmissionListSchema = import_zod100.z.object({
|
|
|
30047
29767
|
has_previous: import_zod100.z.boolean(),
|
|
30048
29768
|
next_page: import_zod100.z.int().nullable().optional(),
|
|
30049
29769
|
previous_page: import_zod100.z.int().nullable().optional(),
|
|
30050
|
-
results: import_zod100.z.array(
|
|
29770
|
+
results: import_zod100.z.array(EndpointGroupSchema)
|
|
30051
29771
|
});
|
|
30052
29772
|
|
|
30053
|
-
// src/cfg/generated/_utils/schemas/
|
|
29773
|
+
// src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
|
|
30054
29774
|
var import_zod101 = require("zod");
|
|
30055
|
-
var
|
|
29775
|
+
var PaginatedLeadSubmissionListSchema = import_zod101.z.object({
|
|
30056
29776
|
count: import_zod101.z.int(),
|
|
30057
29777
|
page: import_zod101.z.int(),
|
|
30058
29778
|
pages: import_zod101.z.int(),
|
|
@@ -30061,12 +29781,12 @@ var PaginatedMessageListSchema = import_zod101.z.object({
|
|
|
30061
29781
|
has_previous: import_zod101.z.boolean(),
|
|
30062
29782
|
next_page: import_zod101.z.int().nullable().optional(),
|
|
30063
29783
|
previous_page: import_zod101.z.int().nullable().optional(),
|
|
30064
|
-
results: import_zod101.z.array(
|
|
29784
|
+
results: import_zod101.z.array(LeadSubmissionSchema)
|
|
30065
29785
|
});
|
|
30066
29786
|
|
|
30067
|
-
// src/cfg/generated/_utils/schemas/
|
|
29787
|
+
// src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
|
|
30068
29788
|
var import_zod102 = require("zod");
|
|
30069
|
-
var
|
|
29789
|
+
var PaginatedMessageListSchema = import_zod102.z.object({
|
|
30070
29790
|
count: import_zod102.z.int(),
|
|
30071
29791
|
page: import_zod102.z.int(),
|
|
30072
29792
|
pages: import_zod102.z.int(),
|
|
@@ -30075,12 +29795,12 @@ var PaginatedNetworkListSchema = import_zod102.z.object({
|
|
|
30075
29795
|
has_previous: import_zod102.z.boolean(),
|
|
30076
29796
|
next_page: import_zod102.z.int().nullable().optional(),
|
|
30077
29797
|
previous_page: import_zod102.z.int().nullable().optional(),
|
|
30078
|
-
results: import_zod102.z.array(
|
|
29798
|
+
results: import_zod102.z.array(MessageSchema)
|
|
30079
29799
|
});
|
|
30080
29800
|
|
|
30081
|
-
// src/cfg/generated/_utils/schemas/
|
|
29801
|
+
// src/cfg/generated/_utils/schemas/PaginatedNetworkList.schema.ts
|
|
30082
29802
|
var import_zod103 = require("zod");
|
|
30083
|
-
var
|
|
29803
|
+
var PaginatedNetworkListSchema = import_zod103.z.object({
|
|
30084
29804
|
count: import_zod103.z.int(),
|
|
30085
29805
|
page: import_zod103.z.int(),
|
|
30086
29806
|
pages: import_zod103.z.int(),
|
|
@@ -30089,12 +29809,12 @@ var PaginatedNewsletterCampaignListSchema = import_zod103.z.object({
|
|
|
30089
29809
|
has_previous: import_zod103.z.boolean(),
|
|
30090
29810
|
next_page: import_zod103.z.int().nullable().optional(),
|
|
30091
29811
|
previous_page: import_zod103.z.int().nullable().optional(),
|
|
30092
|
-
results: import_zod103.z.array(
|
|
29812
|
+
results: import_zod103.z.array(NetworkSchema)
|
|
30093
29813
|
});
|
|
30094
29814
|
|
|
30095
|
-
// src/cfg/generated/_utils/schemas/
|
|
29815
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
|
|
30096
29816
|
var import_zod104 = require("zod");
|
|
30097
|
-
var
|
|
29817
|
+
var PaginatedNewsletterCampaignListSchema = import_zod104.z.object({
|
|
30098
29818
|
count: import_zod104.z.int(),
|
|
30099
29819
|
page: import_zod104.z.int(),
|
|
30100
29820
|
pages: import_zod104.z.int(),
|
|
@@ -30103,12 +29823,12 @@ var PaginatedNewsletterListSchema = import_zod104.z.object({
|
|
|
30103
29823
|
has_previous: import_zod104.z.boolean(),
|
|
30104
29824
|
next_page: import_zod104.z.int().nullable().optional(),
|
|
30105
29825
|
previous_page: import_zod104.z.int().nullable().optional(),
|
|
30106
|
-
results: import_zod104.z.array(
|
|
29826
|
+
results: import_zod104.z.array(NewsletterCampaignSchema)
|
|
30107
29827
|
});
|
|
30108
29828
|
|
|
30109
|
-
// src/cfg/generated/_utils/schemas/
|
|
29829
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
|
|
30110
29830
|
var import_zod105 = require("zod");
|
|
30111
|
-
var
|
|
29831
|
+
var PaginatedNewsletterListSchema = import_zod105.z.object({
|
|
30112
29832
|
count: import_zod105.z.int(),
|
|
30113
29833
|
page: import_zod105.z.int(),
|
|
30114
29834
|
pages: import_zod105.z.int(),
|
|
@@ -30117,1056 +29837,1076 @@ var PaginatedNewsletterSubscriptionListSchema = import_zod105.z.object({
|
|
|
30117
29837
|
has_previous: import_zod105.z.boolean(),
|
|
30118
29838
|
next_page: import_zod105.z.int().nullable().optional(),
|
|
30119
29839
|
previous_page: import_zod105.z.int().nullable().optional(),
|
|
30120
|
-
results: import_zod105.z.array(
|
|
29840
|
+
results: import_zod105.z.array(NewsletterSchema)
|
|
29841
|
+
});
|
|
29842
|
+
|
|
29843
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
|
|
29844
|
+
var import_zod106 = require("zod");
|
|
29845
|
+
var PaginatedNewsletterSubscriptionListSchema = import_zod106.z.object({
|
|
29846
|
+
count: import_zod106.z.int(),
|
|
29847
|
+
page: import_zod106.z.int(),
|
|
29848
|
+
pages: import_zod106.z.int(),
|
|
29849
|
+
page_size: import_zod106.z.int(),
|
|
29850
|
+
has_next: import_zod106.z.boolean(),
|
|
29851
|
+
has_previous: import_zod106.z.boolean(),
|
|
29852
|
+
next_page: import_zod106.z.int().nullable().optional(),
|
|
29853
|
+
previous_page: import_zod106.z.int().nullable().optional(),
|
|
29854
|
+
results: import_zod106.z.array(NewsletterSubscriptionSchema)
|
|
30121
29855
|
});
|
|
30122
29856
|
|
|
30123
29857
|
// src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
|
|
30124
|
-
var
|
|
29858
|
+
var import_zod108 = require("zod");
|
|
30125
29859
|
|
|
30126
29860
|
// src/cfg/generated/_utils/schemas/PaymentList.schema.ts
|
|
30127
|
-
var
|
|
30128
|
-
var PaymentListSchema =
|
|
30129
|
-
id:
|
|
30130
|
-
amount_usd:
|
|
30131
|
-
currency:
|
|
30132
|
-
provider:
|
|
30133
|
-
status:
|
|
30134
|
-
status_display:
|
|
30135
|
-
amount_display:
|
|
30136
|
-
created_at:
|
|
30137
|
-
expires_at:
|
|
29861
|
+
var import_zod107 = require("zod");
|
|
29862
|
+
var PaymentListSchema = import_zod107.z.object({
|
|
29863
|
+
id: import_zod107.z.uuid(),
|
|
29864
|
+
amount_usd: import_zod107.z.number(),
|
|
29865
|
+
currency: import_zod107.z.int(),
|
|
29866
|
+
provider: import_zod107.z.nativeEnum(PaymentListProvider),
|
|
29867
|
+
status: import_zod107.z.nativeEnum(PaymentListStatus),
|
|
29868
|
+
status_display: import_zod107.z.string(),
|
|
29869
|
+
amount_display: import_zod107.z.string(),
|
|
29870
|
+
created_at: import_zod107.z.iso.datetime(),
|
|
29871
|
+
expires_at: import_zod107.z.iso.datetime().nullable()
|
|
30138
29872
|
});
|
|
30139
29873
|
|
|
30140
29874
|
// src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
|
|
30141
|
-
var PaginatedPaymentListListSchema =
|
|
30142
|
-
count:
|
|
30143
|
-
page:
|
|
30144
|
-
pages:
|
|
30145
|
-
page_size:
|
|
30146
|
-
has_next:
|
|
30147
|
-
has_previous:
|
|
30148
|
-
next_page:
|
|
30149
|
-
previous_page:
|
|
30150
|
-
results:
|
|
29875
|
+
var PaginatedPaymentListListSchema = import_zod108.z.object({
|
|
29876
|
+
count: import_zod108.z.int(),
|
|
29877
|
+
page: import_zod108.z.int(),
|
|
29878
|
+
pages: import_zod108.z.int(),
|
|
29879
|
+
page_size: import_zod108.z.int(),
|
|
29880
|
+
has_next: import_zod108.z.boolean(),
|
|
29881
|
+
has_previous: import_zod108.z.boolean(),
|
|
29882
|
+
next_page: import_zod108.z.int().nullable().optional(),
|
|
29883
|
+
previous_page: import_zod108.z.int().nullable().optional(),
|
|
29884
|
+
results: import_zod108.z.array(PaymentListSchema)
|
|
30151
29885
|
});
|
|
30152
29886
|
|
|
30153
29887
|
// src/cfg/generated/_utils/schemas/PaginatedProviderCurrencyList.schema.ts
|
|
30154
|
-
var
|
|
29888
|
+
var import_zod110 = require("zod");
|
|
30155
29889
|
|
|
30156
29890
|
// src/cfg/generated/_utils/schemas/ProviderCurrency.schema.ts
|
|
30157
|
-
var
|
|
30158
|
-
var ProviderCurrencySchema =
|
|
30159
|
-
id:
|
|
29891
|
+
var import_zod109 = require("zod");
|
|
29892
|
+
var ProviderCurrencySchema = import_zod109.z.object({
|
|
29893
|
+
id: import_zod109.z.int(),
|
|
30160
29894
|
currency: CurrencyListSchema,
|
|
30161
|
-
network: NetworkSchema,
|
|
30162
|
-
provider:
|
|
30163
|
-
provider_currency_code:
|
|
30164
|
-
provider_min_amount_usd:
|
|
30165
|
-
provider_max_amount_usd:
|
|
30166
|
-
provider_fee_percentage:
|
|
30167
|
-
provider_fixed_fee_usd:
|
|
30168
|
-
is_enabled:
|
|
30169
|
-
created_at:
|
|
30170
|
-
updated_at:
|
|
29895
|
+
network: NetworkSchema.nullable(),
|
|
29896
|
+
provider: import_zod109.z.string(),
|
|
29897
|
+
provider_currency_code: import_zod109.z.string(),
|
|
29898
|
+
provider_min_amount_usd: import_zod109.z.number(),
|
|
29899
|
+
provider_max_amount_usd: import_zod109.z.number(),
|
|
29900
|
+
provider_fee_percentage: import_zod109.z.number(),
|
|
29901
|
+
provider_fixed_fee_usd: import_zod109.z.number(),
|
|
29902
|
+
is_enabled: import_zod109.z.boolean(),
|
|
29903
|
+
created_at: import_zod109.z.iso.datetime(),
|
|
29904
|
+
updated_at: import_zod109.z.iso.datetime()
|
|
30171
29905
|
});
|
|
30172
29906
|
|
|
30173
29907
|
// src/cfg/generated/_utils/schemas/PaginatedProviderCurrencyList.schema.ts
|
|
30174
|
-
var PaginatedProviderCurrencyListSchema =
|
|
30175
|
-
count:
|
|
30176
|
-
page:
|
|
30177
|
-
pages:
|
|
30178
|
-
page_size:
|
|
30179
|
-
has_next:
|
|
30180
|
-
has_previous:
|
|
30181
|
-
next_page:
|
|
30182
|
-
previous_page:
|
|
30183
|
-
results:
|
|
29908
|
+
var PaginatedProviderCurrencyListSchema = import_zod110.z.object({
|
|
29909
|
+
count: import_zod110.z.int(),
|
|
29910
|
+
page: import_zod110.z.int(),
|
|
29911
|
+
pages: import_zod110.z.int(),
|
|
29912
|
+
page_size: import_zod110.z.int(),
|
|
29913
|
+
has_next: import_zod110.z.boolean(),
|
|
29914
|
+
has_previous: import_zod110.z.boolean(),
|
|
29915
|
+
next_page: import_zod110.z.int().nullable().optional(),
|
|
29916
|
+
previous_page: import_zod110.z.int().nullable().optional(),
|
|
29917
|
+
results: import_zod110.z.array(ProviderCurrencySchema)
|
|
30184
29918
|
});
|
|
30185
29919
|
|
|
30186
29920
|
// src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
|
|
30187
|
-
var
|
|
29921
|
+
var import_zod112 = require("zod");
|
|
30188
29922
|
|
|
30189
29923
|
// src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
|
|
30190
|
-
var
|
|
30191
|
-
var PublicCategorySchema =
|
|
30192
|
-
id:
|
|
30193
|
-
name:
|
|
30194
|
-
description:
|
|
29924
|
+
var import_zod111 = require("zod");
|
|
29925
|
+
var PublicCategorySchema = import_zod111.z.object({
|
|
29926
|
+
id: import_zod111.z.uuid(),
|
|
29927
|
+
name: import_zod111.z.string().max(255),
|
|
29928
|
+
description: import_zod111.z.string().optional()
|
|
30195
29929
|
});
|
|
30196
29930
|
|
|
30197
29931
|
// src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
|
|
30198
|
-
var PaginatedPublicCategoryListSchema =
|
|
30199
|
-
count:
|
|
30200
|
-
page:
|
|
30201
|
-
pages:
|
|
30202
|
-
page_size:
|
|
30203
|
-
has_next:
|
|
30204
|
-
has_previous:
|
|
30205
|
-
next_page:
|
|
30206
|
-
previous_page:
|
|
30207
|
-
results:
|
|
29932
|
+
var PaginatedPublicCategoryListSchema = import_zod112.z.object({
|
|
29933
|
+
count: import_zod112.z.int(),
|
|
29934
|
+
page: import_zod112.z.int(),
|
|
29935
|
+
pages: import_zod112.z.int(),
|
|
29936
|
+
page_size: import_zod112.z.int(),
|
|
29937
|
+
has_next: import_zod112.z.boolean(),
|
|
29938
|
+
has_previous: import_zod112.z.boolean(),
|
|
29939
|
+
next_page: import_zod112.z.int().nullable().optional(),
|
|
29940
|
+
previous_page: import_zod112.z.int().nullable().optional(),
|
|
29941
|
+
results: import_zod112.z.array(PublicCategorySchema)
|
|
30208
29942
|
});
|
|
30209
29943
|
|
|
30210
29944
|
// src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
|
|
30211
|
-
var
|
|
29945
|
+
var import_zod114 = require("zod");
|
|
30212
29946
|
|
|
30213
29947
|
// src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
|
|
30214
|
-
var
|
|
30215
|
-
var PublicDocumentListSchema =
|
|
30216
|
-
id:
|
|
30217
|
-
title:
|
|
29948
|
+
var import_zod113 = require("zod");
|
|
29949
|
+
var PublicDocumentListSchema = import_zod113.z.object({
|
|
29950
|
+
id: import_zod113.z.uuid(),
|
|
29951
|
+
title: import_zod113.z.string().max(512),
|
|
30218
29952
|
category: PublicCategorySchema,
|
|
30219
|
-
created_at:
|
|
30220
|
-
updated_at:
|
|
29953
|
+
created_at: import_zod113.z.iso.datetime(),
|
|
29954
|
+
updated_at: import_zod113.z.iso.datetime()
|
|
30221
29955
|
});
|
|
30222
29956
|
|
|
30223
29957
|
// src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
|
|
30224
|
-
var PaginatedPublicDocumentListListSchema =
|
|
30225
|
-
count:
|
|
30226
|
-
page:
|
|
30227
|
-
pages:
|
|
30228
|
-
page_size:
|
|
30229
|
-
has_next:
|
|
30230
|
-
has_previous:
|
|
30231
|
-
next_page:
|
|
30232
|
-
previous_page:
|
|
30233
|
-
results:
|
|
29958
|
+
var PaginatedPublicDocumentListListSchema = import_zod114.z.object({
|
|
29959
|
+
count: import_zod114.z.int(),
|
|
29960
|
+
page: import_zod114.z.int(),
|
|
29961
|
+
pages: import_zod114.z.int(),
|
|
29962
|
+
page_size: import_zod114.z.int(),
|
|
29963
|
+
has_next: import_zod114.z.boolean(),
|
|
29964
|
+
has_previous: import_zod114.z.boolean(),
|
|
29965
|
+
next_page: import_zod114.z.int().nullable().optional(),
|
|
29966
|
+
previous_page: import_zod114.z.int().nullable().optional(),
|
|
29967
|
+
results: import_zod114.z.array(PublicDocumentListSchema)
|
|
30234
29968
|
});
|
|
30235
29969
|
|
|
30236
29970
|
// src/cfg/generated/_utils/schemas/PaginatedRecentPaymentList.schema.ts
|
|
30237
|
-
var
|
|
29971
|
+
var import_zod116 = require("zod");
|
|
30238
29972
|
|
|
30239
29973
|
// src/cfg/generated/_utils/schemas/RecentPayment.schema.ts
|
|
30240
|
-
var
|
|
30241
|
-
var RecentPaymentSchema =
|
|
30242
|
-
id:
|
|
30243
|
-
internal_payment_id:
|
|
30244
|
-
amount_usd:
|
|
30245
|
-
amount_display:
|
|
30246
|
-
currency_code:
|
|
30247
|
-
status:
|
|
30248
|
-
status_display:
|
|
30249
|
-
status_color:
|
|
30250
|
-
provider:
|
|
30251
|
-
created_at:
|
|
30252
|
-
completed_at:
|
|
30253
|
-
is_pending:
|
|
30254
|
-
is_completed:
|
|
30255
|
-
is_failed:
|
|
29974
|
+
var import_zod115 = require("zod");
|
|
29975
|
+
var RecentPaymentSchema = import_zod115.z.object({
|
|
29976
|
+
id: import_zod115.z.uuid(),
|
|
29977
|
+
internal_payment_id: import_zod115.z.string(),
|
|
29978
|
+
amount_usd: import_zod115.z.number(),
|
|
29979
|
+
amount_display: import_zod115.z.string(),
|
|
29980
|
+
currency_code: import_zod115.z.string(),
|
|
29981
|
+
status: import_zod115.z.string(),
|
|
29982
|
+
status_display: import_zod115.z.string(),
|
|
29983
|
+
status_color: import_zod115.z.string(),
|
|
29984
|
+
provider: import_zod115.z.string(),
|
|
29985
|
+
created_at: import_zod115.z.iso.datetime(),
|
|
29986
|
+
completed_at: import_zod115.z.iso.datetime().nullable(),
|
|
29987
|
+
is_pending: import_zod115.z.boolean(),
|
|
29988
|
+
is_completed: import_zod115.z.boolean(),
|
|
29989
|
+
is_failed: import_zod115.z.boolean()
|
|
30256
29990
|
});
|
|
30257
29991
|
|
|
30258
29992
|
// src/cfg/generated/_utils/schemas/PaginatedRecentPaymentList.schema.ts
|
|
30259
|
-
var PaginatedRecentPaymentListSchema =
|
|
30260
|
-
count:
|
|
30261
|
-
page:
|
|
30262
|
-
pages:
|
|
30263
|
-
page_size:
|
|
30264
|
-
has_next:
|
|
30265
|
-
has_previous:
|
|
30266
|
-
next_page:
|
|
30267
|
-
previous_page:
|
|
30268
|
-
results:
|
|
29993
|
+
var PaginatedRecentPaymentListSchema = import_zod116.z.object({
|
|
29994
|
+
count: import_zod116.z.int(),
|
|
29995
|
+
page: import_zod116.z.int(),
|
|
29996
|
+
pages: import_zod116.z.int(),
|
|
29997
|
+
page_size: import_zod116.z.int(),
|
|
29998
|
+
has_next: import_zod116.z.boolean(),
|
|
29999
|
+
has_previous: import_zod116.z.boolean(),
|
|
30000
|
+
next_page: import_zod116.z.int().nullable().optional(),
|
|
30001
|
+
previous_page: import_zod116.z.int().nullable().optional(),
|
|
30002
|
+
results: import_zod116.z.array(RecentPaymentSchema)
|
|
30269
30003
|
});
|
|
30270
30004
|
|
|
30271
30005
|
// src/cfg/generated/_utils/schemas/PaginatedRecentTransactionList.schema.ts
|
|
30272
|
-
var
|
|
30006
|
+
var import_zod118 = require("zod");
|
|
30273
30007
|
|
|
30274
30008
|
// src/cfg/generated/_utils/schemas/RecentTransaction.schema.ts
|
|
30275
|
-
var
|
|
30276
|
-
var RecentTransactionSchema =
|
|
30277
|
-
id:
|
|
30278
|
-
transaction_type:
|
|
30279
|
-
amount_usd:
|
|
30280
|
-
amount_display:
|
|
30281
|
-
balance_after:
|
|
30282
|
-
description:
|
|
30283
|
-
created_at:
|
|
30284
|
-
payment_id:
|
|
30285
|
-
is_credit:
|
|
30286
|
-
is_debit:
|
|
30287
|
-
type_color:
|
|
30009
|
+
var import_zod117 = require("zod");
|
|
30010
|
+
var RecentTransactionSchema = import_zod117.z.object({
|
|
30011
|
+
id: import_zod117.z.uuid(),
|
|
30012
|
+
transaction_type: import_zod117.z.string(),
|
|
30013
|
+
amount_usd: import_zod117.z.number(),
|
|
30014
|
+
amount_display: import_zod117.z.string(),
|
|
30015
|
+
balance_after: import_zod117.z.number(),
|
|
30016
|
+
description: import_zod117.z.string(),
|
|
30017
|
+
created_at: import_zod117.z.iso.datetime(),
|
|
30018
|
+
payment_id: import_zod117.z.string().nullable(),
|
|
30019
|
+
is_credit: import_zod117.z.boolean(),
|
|
30020
|
+
is_debit: import_zod117.z.boolean(),
|
|
30021
|
+
type_color: import_zod117.z.string()
|
|
30288
30022
|
});
|
|
30289
30023
|
|
|
30290
30024
|
// src/cfg/generated/_utils/schemas/PaginatedRecentTransactionList.schema.ts
|
|
30291
|
-
var PaginatedRecentTransactionListSchema =
|
|
30292
|
-
count:
|
|
30293
|
-
page:
|
|
30294
|
-
pages:
|
|
30295
|
-
page_size:
|
|
30296
|
-
has_next:
|
|
30297
|
-
has_previous:
|
|
30298
|
-
next_page:
|
|
30299
|
-
previous_page:
|
|
30300
|
-
results:
|
|
30025
|
+
var PaginatedRecentTransactionListSchema = import_zod118.z.object({
|
|
30026
|
+
count: import_zod118.z.int(),
|
|
30027
|
+
page: import_zod118.z.int(),
|
|
30028
|
+
pages: import_zod118.z.int(),
|
|
30029
|
+
page_size: import_zod118.z.int(),
|
|
30030
|
+
has_next: import_zod118.z.boolean(),
|
|
30031
|
+
has_previous: import_zod118.z.boolean(),
|
|
30032
|
+
next_page: import_zod118.z.int().nullable().optional(),
|
|
30033
|
+
previous_page: import_zod118.z.int().nullable().optional(),
|
|
30034
|
+
results: import_zod118.z.array(RecentTransactionSchema)
|
|
30301
30035
|
});
|
|
30302
30036
|
|
|
30303
30037
|
// src/cfg/generated/_utils/schemas/PaginatedSubscriptionListList.schema.ts
|
|
30304
|
-
var
|
|
30038
|
+
var import_zod120 = require("zod");
|
|
30305
30039
|
|
|
30306
30040
|
// src/cfg/generated/_utils/schemas/SubscriptionList.schema.ts
|
|
30307
|
-
var
|
|
30308
|
-
var SubscriptionListSchema =
|
|
30309
|
-
id:
|
|
30310
|
-
user:
|
|
30311
|
-
tariff_name:
|
|
30312
|
-
status:
|
|
30313
|
-
status_display:
|
|
30314
|
-
is_active:
|
|
30315
|
-
is_expired:
|
|
30316
|
-
expires_at:
|
|
30317
|
-
created_at:
|
|
30041
|
+
var import_zod119 = require("zod");
|
|
30042
|
+
var SubscriptionListSchema = import_zod119.z.object({
|
|
30043
|
+
id: import_zod119.z.uuid(),
|
|
30044
|
+
user: import_zod119.z.string(),
|
|
30045
|
+
tariff_name: import_zod119.z.string(),
|
|
30046
|
+
status: import_zod119.z.nativeEnum(SubscriptionListStatus),
|
|
30047
|
+
status_display: import_zod119.z.string(),
|
|
30048
|
+
is_active: import_zod119.z.boolean(),
|
|
30049
|
+
is_expired: import_zod119.z.boolean(),
|
|
30050
|
+
expires_at: import_zod119.z.iso.datetime(),
|
|
30051
|
+
created_at: import_zod119.z.iso.datetime()
|
|
30318
30052
|
});
|
|
30319
30053
|
|
|
30320
30054
|
// src/cfg/generated/_utils/schemas/PaginatedSubscriptionListList.schema.ts
|
|
30321
|
-
var PaginatedSubscriptionListListSchema =
|
|
30322
|
-
count:
|
|
30323
|
-
page:
|
|
30324
|
-
pages:
|
|
30325
|
-
page_size:
|
|
30326
|
-
has_next:
|
|
30327
|
-
has_previous:
|
|
30328
|
-
next_page:
|
|
30329
|
-
previous_page:
|
|
30330
|
-
results:
|
|
30055
|
+
var PaginatedSubscriptionListListSchema = import_zod120.z.object({
|
|
30056
|
+
count: import_zod120.z.int(),
|
|
30057
|
+
page: import_zod120.z.int(),
|
|
30058
|
+
pages: import_zod120.z.int(),
|
|
30059
|
+
page_size: import_zod120.z.int(),
|
|
30060
|
+
has_next: import_zod120.z.boolean(),
|
|
30061
|
+
has_previous: import_zod120.z.boolean(),
|
|
30062
|
+
next_page: import_zod120.z.int().nullable().optional(),
|
|
30063
|
+
previous_page: import_zod120.z.int().nullable().optional(),
|
|
30064
|
+
results: import_zod120.z.array(SubscriptionListSchema)
|
|
30331
30065
|
});
|
|
30332
30066
|
|
|
30333
30067
|
// src/cfg/generated/_utils/schemas/PaginatedTariffList.schema.ts
|
|
30334
|
-
var
|
|
30068
|
+
var import_zod122 = require("zod");
|
|
30335
30069
|
|
|
30336
30070
|
// src/cfg/generated/_utils/schemas/Tariff.schema.ts
|
|
30337
|
-
var
|
|
30338
|
-
var TariffSchema =
|
|
30339
|
-
id:
|
|
30340
|
-
name:
|
|
30341
|
-
description:
|
|
30342
|
-
monthly_price_usd:
|
|
30343
|
-
requests_per_month:
|
|
30344
|
-
requests_per_hour:
|
|
30345
|
-
is_active:
|
|
30346
|
-
endpoint_groups:
|
|
30347
|
-
endpoint_groups_count:
|
|
30348
|
-
created_at:
|
|
30349
|
-
updated_at:
|
|
30071
|
+
var import_zod121 = require("zod");
|
|
30072
|
+
var TariffSchema = import_zod121.z.object({
|
|
30073
|
+
id: import_zod121.z.int(),
|
|
30074
|
+
name: import_zod121.z.string(),
|
|
30075
|
+
description: import_zod121.z.string(),
|
|
30076
|
+
monthly_price_usd: import_zod121.z.number(),
|
|
30077
|
+
requests_per_month: import_zod121.z.int(),
|
|
30078
|
+
requests_per_hour: import_zod121.z.int(),
|
|
30079
|
+
is_active: import_zod121.z.boolean(),
|
|
30080
|
+
endpoint_groups: import_zod121.z.array(EndpointGroupSchema),
|
|
30081
|
+
endpoint_groups_count: import_zod121.z.int(),
|
|
30082
|
+
created_at: import_zod121.z.iso.datetime(),
|
|
30083
|
+
updated_at: import_zod121.z.iso.datetime()
|
|
30350
30084
|
});
|
|
30351
30085
|
|
|
30352
30086
|
// src/cfg/generated/_utils/schemas/PaginatedTariffList.schema.ts
|
|
30353
|
-
var PaginatedTariffListSchema =
|
|
30354
|
-
count:
|
|
30355
|
-
page:
|
|
30356
|
-
pages:
|
|
30357
|
-
page_size:
|
|
30358
|
-
has_next:
|
|
30359
|
-
has_previous:
|
|
30360
|
-
next_page:
|
|
30361
|
-
previous_page:
|
|
30362
|
-
results:
|
|
30087
|
+
var PaginatedTariffListSchema = import_zod122.z.object({
|
|
30088
|
+
count: import_zod122.z.int(),
|
|
30089
|
+
page: import_zod122.z.int(),
|
|
30090
|
+
pages: import_zod122.z.int(),
|
|
30091
|
+
page_size: import_zod122.z.int(),
|
|
30092
|
+
has_next: import_zod122.z.boolean(),
|
|
30093
|
+
has_previous: import_zod122.z.boolean(),
|
|
30094
|
+
next_page: import_zod122.z.int().nullable().optional(),
|
|
30095
|
+
previous_page: import_zod122.z.int().nullable().optional(),
|
|
30096
|
+
results: import_zod122.z.array(TariffSchema)
|
|
30363
30097
|
});
|
|
30364
30098
|
|
|
30365
30099
|
// src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
|
|
30366
|
-
var
|
|
30100
|
+
var import_zod124 = require("zod");
|
|
30367
30101
|
|
|
30368
30102
|
// src/cfg/generated/_utils/schemas/Ticket.schema.ts
|
|
30369
|
-
var
|
|
30370
|
-
var TicketSchema =
|
|
30371
|
-
uuid:
|
|
30372
|
-
user:
|
|
30373
|
-
subject:
|
|
30374
|
-
status:
|
|
30375
|
-
created_at:
|
|
30376
|
-
unanswered_messages_count:
|
|
30103
|
+
var import_zod123 = require("zod");
|
|
30104
|
+
var TicketSchema = import_zod123.z.object({
|
|
30105
|
+
uuid: import_zod123.z.uuid(),
|
|
30106
|
+
user: import_zod123.z.int(),
|
|
30107
|
+
subject: import_zod123.z.string().max(255),
|
|
30108
|
+
status: import_zod123.z.nativeEnum(TicketStatus).optional(),
|
|
30109
|
+
created_at: import_zod123.z.iso.datetime(),
|
|
30110
|
+
unanswered_messages_count: import_zod123.z.int()
|
|
30377
30111
|
});
|
|
30378
30112
|
|
|
30379
30113
|
// src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
|
|
30380
|
-
var PaginatedTicketListSchema =
|
|
30381
|
-
count:
|
|
30382
|
-
page:
|
|
30383
|
-
pages:
|
|
30384
|
-
page_size:
|
|
30385
|
-
has_next:
|
|
30386
|
-
has_previous:
|
|
30387
|
-
next_page:
|
|
30388
|
-
previous_page:
|
|
30389
|
-
results:
|
|
30114
|
+
var PaginatedTicketListSchema = import_zod124.z.object({
|
|
30115
|
+
count: import_zod124.z.int(),
|
|
30116
|
+
page: import_zod124.z.int(),
|
|
30117
|
+
pages: import_zod124.z.int(),
|
|
30118
|
+
page_size: import_zod124.z.int(),
|
|
30119
|
+
has_next: import_zod124.z.boolean(),
|
|
30120
|
+
has_previous: import_zod124.z.boolean(),
|
|
30121
|
+
next_page: import_zod124.z.int().nullable().optional(),
|
|
30122
|
+
previous_page: import_zod124.z.int().nullable().optional(),
|
|
30123
|
+
results: import_zod124.z.array(TicketSchema)
|
|
30390
30124
|
});
|
|
30391
30125
|
|
|
30392
30126
|
// src/cfg/generated/_utils/schemas/PaginatedTransactionList.schema.ts
|
|
30393
|
-
var
|
|
30127
|
+
var import_zod126 = require("zod");
|
|
30394
30128
|
|
|
30395
30129
|
// src/cfg/generated/_utils/schemas/Transaction.schema.ts
|
|
30396
|
-
var
|
|
30397
|
-
var TransactionSchema =
|
|
30398
|
-
id:
|
|
30399
|
-
user:
|
|
30400
|
-
amount_usd:
|
|
30401
|
-
amount_display:
|
|
30402
|
-
transaction_type:
|
|
30403
|
-
type_color:
|
|
30404
|
-
description:
|
|
30405
|
-
payment_id:
|
|
30406
|
-
metadata:
|
|
30407
|
-
is_credit:
|
|
30408
|
-
is_debit:
|
|
30409
|
-
created_at:
|
|
30130
|
+
var import_zod125 = require("zod");
|
|
30131
|
+
var TransactionSchema = import_zod125.z.object({
|
|
30132
|
+
id: import_zod125.z.uuid(),
|
|
30133
|
+
user: import_zod125.z.string(),
|
|
30134
|
+
amount_usd: import_zod125.z.number(),
|
|
30135
|
+
amount_display: import_zod125.z.string(),
|
|
30136
|
+
transaction_type: import_zod125.z.nativeEnum(TransactionTransactionType),
|
|
30137
|
+
type_color: import_zod125.z.string(),
|
|
30138
|
+
description: import_zod125.z.string(),
|
|
30139
|
+
payment_id: import_zod125.z.string().nullable(),
|
|
30140
|
+
metadata: import_zod125.z.string(),
|
|
30141
|
+
is_credit: import_zod125.z.boolean(),
|
|
30142
|
+
is_debit: import_zod125.z.boolean(),
|
|
30143
|
+
created_at: import_zod125.z.iso.datetime()
|
|
30410
30144
|
});
|
|
30411
30145
|
|
|
30412
30146
|
// src/cfg/generated/_utils/schemas/PaginatedTransactionList.schema.ts
|
|
30413
|
-
var PaginatedTransactionListSchema =
|
|
30414
|
-
count:
|
|
30415
|
-
page:
|
|
30416
|
-
pages:
|
|
30417
|
-
page_size:
|
|
30418
|
-
has_next:
|
|
30419
|
-
has_previous:
|
|
30420
|
-
next_page:
|
|
30421
|
-
previous_page:
|
|
30422
|
-
results:
|
|
30147
|
+
var PaginatedTransactionListSchema = import_zod126.z.object({
|
|
30148
|
+
count: import_zod126.z.int(),
|
|
30149
|
+
page: import_zod126.z.int(),
|
|
30150
|
+
pages: import_zod126.z.int(),
|
|
30151
|
+
page_size: import_zod126.z.int(),
|
|
30152
|
+
has_next: import_zod126.z.boolean(),
|
|
30153
|
+
has_previous: import_zod126.z.boolean(),
|
|
30154
|
+
next_page: import_zod126.z.int().nullable().optional(),
|
|
30155
|
+
previous_page: import_zod126.z.int().nullable().optional(),
|
|
30156
|
+
results: import_zod126.z.array(TransactionSchema)
|
|
30423
30157
|
});
|
|
30424
30158
|
|
|
30425
30159
|
// src/cfg/generated/_utils/schemas/PaginatedUserBalanceList.schema.ts
|
|
30426
|
-
var
|
|
30160
|
+
var import_zod128 = require("zod");
|
|
30427
30161
|
|
|
30428
30162
|
// src/cfg/generated/_utils/schemas/UserBalance.schema.ts
|
|
30429
|
-
var
|
|
30430
|
-
var UserBalanceSchema =
|
|
30431
|
-
user:
|
|
30432
|
-
balance_usd:
|
|
30433
|
-
balance_display:
|
|
30434
|
-
is_empty:
|
|
30435
|
-
has_transactions:
|
|
30436
|
-
created_at:
|
|
30437
|
-
updated_at:
|
|
30163
|
+
var import_zod127 = require("zod");
|
|
30164
|
+
var UserBalanceSchema = import_zod127.z.object({
|
|
30165
|
+
user: import_zod127.z.string(),
|
|
30166
|
+
balance_usd: import_zod127.z.number(),
|
|
30167
|
+
balance_display: import_zod127.z.string(),
|
|
30168
|
+
is_empty: import_zod127.z.boolean(),
|
|
30169
|
+
has_transactions: import_zod127.z.boolean(),
|
|
30170
|
+
created_at: import_zod127.z.iso.datetime(),
|
|
30171
|
+
updated_at: import_zod127.z.iso.datetime()
|
|
30438
30172
|
});
|
|
30439
30173
|
|
|
30440
30174
|
// src/cfg/generated/_utils/schemas/PaginatedUserBalanceList.schema.ts
|
|
30441
|
-
var PaginatedUserBalanceListSchema =
|
|
30442
|
-
count:
|
|
30443
|
-
page:
|
|
30444
|
-
pages:
|
|
30445
|
-
page_size:
|
|
30446
|
-
has_next:
|
|
30447
|
-
has_previous:
|
|
30448
|
-
next_page:
|
|
30449
|
-
previous_page:
|
|
30450
|
-
results:
|
|
30175
|
+
var PaginatedUserBalanceListSchema = import_zod128.z.object({
|
|
30176
|
+
count: import_zod128.z.int(),
|
|
30177
|
+
page: import_zod128.z.int(),
|
|
30178
|
+
pages: import_zod128.z.int(),
|
|
30179
|
+
page_size: import_zod128.z.int(),
|
|
30180
|
+
has_next: import_zod128.z.boolean(),
|
|
30181
|
+
has_previous: import_zod128.z.boolean(),
|
|
30182
|
+
next_page: import_zod128.z.int().nullable().optional(),
|
|
30183
|
+
previous_page: import_zod128.z.int().nullable().optional(),
|
|
30184
|
+
results: import_zod128.z.array(UserBalanceSchema)
|
|
30451
30185
|
});
|
|
30452
30186
|
|
|
30453
30187
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookEventListList.schema.ts
|
|
30454
|
-
var
|
|
30188
|
+
var import_zod131 = require("zod");
|
|
30455
30189
|
|
|
30456
30190
|
// src/cfg/generated/_utils/schemas/WebhookEventList.schema.ts
|
|
30457
|
-
var
|
|
30191
|
+
var import_zod130 = require("zod");
|
|
30458
30192
|
|
|
30459
30193
|
// src/cfg/generated/_utils/schemas/WebhookEvent.schema.ts
|
|
30460
|
-
var
|
|
30461
|
-
var WebhookEventSchema =
|
|
30462
|
-
id:
|
|
30463
|
-
provider:
|
|
30464
|
-
event_type:
|
|
30465
|
-
status:
|
|
30466
|
-
timestamp:
|
|
30467
|
-
payload_size:
|
|
30468
|
-
response_time:
|
|
30469
|
-
retry_count:
|
|
30470
|
-
error_message:
|
|
30471
|
-
payload_preview:
|
|
30472
|
-
response_status_code:
|
|
30473
|
-
webhook_url:
|
|
30194
|
+
var import_zod129 = require("zod");
|
|
30195
|
+
var WebhookEventSchema = import_zod129.z.object({
|
|
30196
|
+
id: import_zod129.z.int(),
|
|
30197
|
+
provider: import_zod129.z.string().max(50),
|
|
30198
|
+
event_type: import_zod129.z.string().max(100),
|
|
30199
|
+
status: import_zod129.z.nativeEnum(WebhookEventStatus),
|
|
30200
|
+
timestamp: import_zod129.z.iso.datetime(),
|
|
30201
|
+
payload_size: import_zod129.z.int(),
|
|
30202
|
+
response_time: import_zod129.z.int(),
|
|
30203
|
+
retry_count: import_zod129.z.int().optional(),
|
|
30204
|
+
error_message: import_zod129.z.string().max(500).optional(),
|
|
30205
|
+
payload_preview: import_zod129.z.string().max(200).optional(),
|
|
30206
|
+
response_status_code: import_zod129.z.int().optional(),
|
|
30207
|
+
webhook_url: import_zod129.z.url().optional()
|
|
30474
30208
|
});
|
|
30475
30209
|
|
|
30476
30210
|
// src/cfg/generated/_utils/schemas/WebhookEventList.schema.ts
|
|
30477
|
-
var WebhookEventListSchema =
|
|
30478
|
-
events:
|
|
30479
|
-
total:
|
|
30480
|
-
page:
|
|
30481
|
-
per_page:
|
|
30482
|
-
has_next:
|
|
30483
|
-
has_previous:
|
|
30211
|
+
var WebhookEventListSchema = import_zod130.z.object({
|
|
30212
|
+
events: import_zod130.z.array(WebhookEventSchema),
|
|
30213
|
+
total: import_zod130.z.int(),
|
|
30214
|
+
page: import_zod130.z.int(),
|
|
30215
|
+
per_page: import_zod130.z.int(),
|
|
30216
|
+
has_next: import_zod130.z.boolean(),
|
|
30217
|
+
has_previous: import_zod130.z.boolean()
|
|
30484
30218
|
});
|
|
30485
30219
|
|
|
30486
30220
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookEventListList.schema.ts
|
|
30487
|
-
var PaginatedWebhookEventListListSchema =
|
|
30488
|
-
count:
|
|
30489
|
-
page:
|
|
30490
|
-
pages:
|
|
30491
|
-
page_size:
|
|
30492
|
-
has_next:
|
|
30493
|
-
has_previous:
|
|
30494
|
-
next_page:
|
|
30495
|
-
previous_page:
|
|
30496
|
-
results:
|
|
30221
|
+
var PaginatedWebhookEventListListSchema = import_zod131.z.object({
|
|
30222
|
+
count: import_zod131.z.int(),
|
|
30223
|
+
page: import_zod131.z.int(),
|
|
30224
|
+
pages: import_zod131.z.int(),
|
|
30225
|
+
page_size: import_zod131.z.int(),
|
|
30226
|
+
has_next: import_zod131.z.boolean(),
|
|
30227
|
+
has_previous: import_zod131.z.boolean(),
|
|
30228
|
+
next_page: import_zod131.z.int().nullable().optional(),
|
|
30229
|
+
previous_page: import_zod131.z.int().nullable().optional(),
|
|
30230
|
+
results: import_zod131.z.array(WebhookEventListSchema)
|
|
30497
30231
|
});
|
|
30498
30232
|
|
|
30499
30233
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookStatsList.schema.ts
|
|
30500
|
-
var
|
|
30234
|
+
var import_zod133 = require("zod");
|
|
30501
30235
|
|
|
30502
30236
|
// src/cfg/generated/_utils/schemas/WebhookStats.schema.ts
|
|
30503
|
-
var
|
|
30504
|
-
var WebhookStatsSchema =
|
|
30505
|
-
total:
|
|
30506
|
-
successful:
|
|
30507
|
-
failed:
|
|
30508
|
-
pending:
|
|
30509
|
-
success_rate:
|
|
30510
|
-
providers:
|
|
30511
|
-
last_24h:
|
|
30512
|
-
avg_response_time:
|
|
30513
|
-
max_response_time:
|
|
30237
|
+
var import_zod132 = require("zod");
|
|
30238
|
+
var WebhookStatsSchema = import_zod132.z.object({
|
|
30239
|
+
total: import_zod132.z.int(),
|
|
30240
|
+
successful: import_zod132.z.int(),
|
|
30241
|
+
failed: import_zod132.z.int(),
|
|
30242
|
+
pending: import_zod132.z.int(),
|
|
30243
|
+
success_rate: import_zod132.z.number(),
|
|
30244
|
+
providers: import_zod132.z.record(import_zod132.z.string(), import_zod132.z.any()),
|
|
30245
|
+
last_24h: import_zod132.z.record(import_zod132.z.string(), import_zod132.z.any()),
|
|
30246
|
+
avg_response_time: import_zod132.z.number(),
|
|
30247
|
+
max_response_time: import_zod132.z.int()
|
|
30514
30248
|
});
|
|
30515
30249
|
|
|
30516
30250
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookStatsList.schema.ts
|
|
30517
|
-
var PaginatedWebhookStatsListSchema =
|
|
30518
|
-
count:
|
|
30519
|
-
page:
|
|
30520
|
-
pages:
|
|
30521
|
-
page_size:
|
|
30522
|
-
has_next:
|
|
30523
|
-
has_previous:
|
|
30524
|
-
next_page:
|
|
30525
|
-
previous_page:
|
|
30526
|
-
results:
|
|
30251
|
+
var PaginatedWebhookStatsListSchema = import_zod133.z.object({
|
|
30252
|
+
count: import_zod133.z.int(),
|
|
30253
|
+
page: import_zod133.z.int(),
|
|
30254
|
+
pages: import_zod133.z.int(),
|
|
30255
|
+
page_size: import_zod133.z.int(),
|
|
30256
|
+
has_next: import_zod133.z.boolean(),
|
|
30257
|
+
has_previous: import_zod133.z.boolean(),
|
|
30258
|
+
next_page: import_zod133.z.int().nullable().optional(),
|
|
30259
|
+
previous_page: import_zod133.z.int().nullable().optional(),
|
|
30260
|
+
results: import_zod133.z.array(WebhookStatsSchema)
|
|
30527
30261
|
});
|
|
30528
30262
|
|
|
30529
30263
|
// src/cfg/generated/_utils/schemas/PatchedAPIKeyUpdateRequest.schema.ts
|
|
30530
|
-
var
|
|
30531
|
-
var PatchedAPIKeyUpdateRequestSchema =
|
|
30532
|
-
name:
|
|
30533
|
-
is_active:
|
|
30264
|
+
var import_zod134 = require("zod");
|
|
30265
|
+
var PatchedAPIKeyUpdateRequestSchema = import_zod134.z.object({
|
|
30266
|
+
name: import_zod134.z.string().min(1).max(100).optional(),
|
|
30267
|
+
is_active: import_zod134.z.boolean().optional()
|
|
30534
30268
|
});
|
|
30535
30269
|
|
|
30536
30270
|
// src/cfg/generated/_utils/schemas/PatchedAdminPaymentUpdateRequest.schema.ts
|
|
30537
|
-
var
|
|
30538
|
-
var PatchedAdminPaymentUpdateRequestSchema =
|
|
30539
|
-
status:
|
|
30540
|
-
description:
|
|
30541
|
-
callback_url:
|
|
30542
|
-
cancel_url:
|
|
30543
|
-
provider_data:
|
|
30544
|
-
webhook_data:
|
|
30271
|
+
var import_zod135 = require("zod");
|
|
30272
|
+
var PatchedAdminPaymentUpdateRequestSchema = import_zod135.z.object({
|
|
30273
|
+
status: import_zod135.z.nativeEnum(PatchedAdminPaymentUpdateRequestStatus).optional(),
|
|
30274
|
+
description: import_zod135.z.string().optional(),
|
|
30275
|
+
callback_url: import_zod135.z.url().nullable().optional(),
|
|
30276
|
+
cancel_url: import_zod135.z.url().nullable().optional(),
|
|
30277
|
+
provider_data: import_zod135.z.string().optional(),
|
|
30278
|
+
webhook_data: import_zod135.z.string().optional()
|
|
30545
30279
|
});
|
|
30546
30280
|
|
|
30547
30281
|
// src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
|
|
30548
|
-
var
|
|
30549
|
-
var PatchedArchiveItemChunkRequestSchema =
|
|
30550
|
-
content:
|
|
30551
|
-
chunk_index:
|
|
30552
|
-
chunk_type:
|
|
30282
|
+
var import_zod136 = require("zod");
|
|
30283
|
+
var PatchedArchiveItemChunkRequestSchema = import_zod136.z.object({
|
|
30284
|
+
content: import_zod136.z.string().min(1).optional(),
|
|
30285
|
+
chunk_index: import_zod136.z.int().min(0).max(9223372036854776e3).optional(),
|
|
30286
|
+
chunk_type: import_zod136.z.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
|
|
30553
30287
|
});
|
|
30554
30288
|
|
|
30555
30289
|
// src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
|
|
30556
|
-
var
|
|
30557
|
-
var PatchedArchiveItemRequestSchema =
|
|
30558
|
-
relative_path:
|
|
30559
|
-
item_name:
|
|
30560
|
-
item_type:
|
|
30561
|
-
file_size:
|
|
30290
|
+
var import_zod137 = require("zod");
|
|
30291
|
+
var PatchedArchiveItemRequestSchema = import_zod137.z.object({
|
|
30292
|
+
relative_path: import_zod137.z.string().min(1).max(1024).optional(),
|
|
30293
|
+
item_name: import_zod137.z.string().min(1).max(255).optional(),
|
|
30294
|
+
item_type: import_zod137.z.string().min(1).max(100).optional(),
|
|
30295
|
+
file_size: import_zod137.z.int().min(0).max(9223372036854776e3).optional()
|
|
30562
30296
|
});
|
|
30563
30297
|
|
|
30564
30298
|
// src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
|
|
30565
|
-
var
|
|
30566
|
-
var PatchedChatResponseRequestSchema =
|
|
30567
|
-
message_id:
|
|
30568
|
-
content:
|
|
30569
|
-
tokens_used:
|
|
30570
|
-
cost_usd:
|
|
30571
|
-
processing_time_ms:
|
|
30572
|
-
model_used:
|
|
30573
|
-
sources:
|
|
30299
|
+
var import_zod138 = require("zod");
|
|
30300
|
+
var PatchedChatResponseRequestSchema = import_zod138.z.object({
|
|
30301
|
+
message_id: import_zod138.z.uuid().optional(),
|
|
30302
|
+
content: import_zod138.z.string().min(1).optional(),
|
|
30303
|
+
tokens_used: import_zod138.z.int().optional(),
|
|
30304
|
+
cost_usd: import_zod138.z.number().optional(),
|
|
30305
|
+
processing_time_ms: import_zod138.z.int().optional(),
|
|
30306
|
+
model_used: import_zod138.z.string().min(1).optional(),
|
|
30307
|
+
sources: import_zod138.z.array(ChatSourceRequestSchema).nullable().optional()
|
|
30574
30308
|
});
|
|
30575
30309
|
|
|
30576
30310
|
// src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
|
|
30577
|
-
var
|
|
30578
|
-
var PatchedChatSessionRequestSchema =
|
|
30579
|
-
title:
|
|
30580
|
-
is_active:
|
|
30581
|
-
messages_count:
|
|
30582
|
-
total_tokens_used:
|
|
30583
|
-
model_name:
|
|
30584
|
-
temperature:
|
|
30585
|
-
max_context_chunks:
|
|
30311
|
+
var import_zod139 = require("zod");
|
|
30312
|
+
var PatchedChatSessionRequestSchema = import_zod139.z.object({
|
|
30313
|
+
title: import_zod139.z.string().max(255).optional(),
|
|
30314
|
+
is_active: import_zod139.z.boolean().optional(),
|
|
30315
|
+
messages_count: import_zod139.z.int().min(0).max(9223372036854776e3).optional(),
|
|
30316
|
+
total_tokens_used: import_zod139.z.int().min(0).max(9223372036854776e3).optional(),
|
|
30317
|
+
model_name: import_zod139.z.string().min(1).max(100).optional(),
|
|
30318
|
+
temperature: import_zod139.z.number().optional(),
|
|
30319
|
+
max_context_chunks: import_zod139.z.int().min(0).max(9223372036854776e3).optional()
|
|
30586
30320
|
});
|
|
30587
30321
|
|
|
30588
30322
|
// src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
|
|
30589
|
-
var
|
|
30590
|
-
var PatchedDocumentArchiveRequestSchema =
|
|
30591
|
-
title:
|
|
30592
|
-
description:
|
|
30593
|
-
is_public:
|
|
30323
|
+
var import_zod140 = require("zod");
|
|
30324
|
+
var PatchedDocumentArchiveRequestSchema = import_zod140.z.object({
|
|
30325
|
+
title: import_zod140.z.string().min(1).max(512).optional(),
|
|
30326
|
+
description: import_zod140.z.string().optional(),
|
|
30327
|
+
is_public: import_zod140.z.boolean().optional()
|
|
30594
30328
|
});
|
|
30595
30329
|
|
|
30596
30330
|
// src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
|
|
30597
|
-
var
|
|
30598
|
-
var PatchedDocumentRequestSchema =
|
|
30599
|
-
title:
|
|
30600
|
-
file_type:
|
|
30601
|
-
file_size:
|
|
30602
|
-
metadata:
|
|
30331
|
+
var import_zod141 = require("zod");
|
|
30332
|
+
var PatchedDocumentRequestSchema = import_zod141.z.object({
|
|
30333
|
+
title: import_zod141.z.string().min(1).max(512).optional(),
|
|
30334
|
+
file_type: import_zod141.z.string().min(1).max(100).optional(),
|
|
30335
|
+
file_size: import_zod141.z.int().min(0).max(9223372036854776e3).optional(),
|
|
30336
|
+
metadata: import_zod141.z.string().nullable().optional()
|
|
30603
30337
|
});
|
|
30604
30338
|
|
|
30605
30339
|
// src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
|
|
30606
|
-
var
|
|
30607
|
-
var PatchedLeadSubmissionRequestSchema =
|
|
30608
|
-
name:
|
|
30609
|
-
email:
|
|
30610
|
-
company:
|
|
30611
|
-
company_site:
|
|
30612
|
-
contact_type:
|
|
30613
|
-
contact_value:
|
|
30614
|
-
subject:
|
|
30615
|
-
message:
|
|
30616
|
-
extra:
|
|
30617
|
-
site_url:
|
|
30340
|
+
var import_zod142 = require("zod");
|
|
30341
|
+
var PatchedLeadSubmissionRequestSchema = import_zod142.z.object({
|
|
30342
|
+
name: import_zod142.z.string().min(1).max(200).optional(),
|
|
30343
|
+
email: import_zod142.z.email().optional(),
|
|
30344
|
+
company: import_zod142.z.string().max(200).nullable().optional(),
|
|
30345
|
+
company_site: import_zod142.z.string().max(200).nullable().optional(),
|
|
30346
|
+
contact_type: import_zod142.z.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
|
|
30347
|
+
contact_value: import_zod142.z.string().max(200).nullable().optional(),
|
|
30348
|
+
subject: import_zod142.z.string().max(200).nullable().optional(),
|
|
30349
|
+
message: import_zod142.z.string().min(1).optional(),
|
|
30350
|
+
extra: import_zod142.z.string().nullable().optional(),
|
|
30351
|
+
site_url: import_zod142.z.url().optional()
|
|
30618
30352
|
});
|
|
30619
30353
|
|
|
30620
30354
|
// src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
|
|
30621
|
-
var
|
|
30622
|
-
var PatchedMessageRequestSchema =
|
|
30623
|
-
text:
|
|
30355
|
+
var import_zod143 = require("zod");
|
|
30356
|
+
var PatchedMessageRequestSchema = import_zod143.z.object({
|
|
30357
|
+
text: import_zod143.z.string().min(1).optional()
|
|
30624
30358
|
});
|
|
30625
30359
|
|
|
30626
30360
|
// src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
|
|
30627
|
-
var
|
|
30628
|
-
var PatchedNewsletterCampaignRequestSchema =
|
|
30629
|
-
newsletter:
|
|
30630
|
-
subject:
|
|
30631
|
-
email_title:
|
|
30632
|
-
main_text:
|
|
30633
|
-
main_html_content:
|
|
30634
|
-
button_text:
|
|
30635
|
-
button_url:
|
|
30636
|
-
secondary_text:
|
|
30361
|
+
var import_zod144 = require("zod");
|
|
30362
|
+
var PatchedNewsletterCampaignRequestSchema = import_zod144.z.object({
|
|
30363
|
+
newsletter: import_zod144.z.int().optional(),
|
|
30364
|
+
subject: import_zod144.z.string().min(1).max(255).optional(),
|
|
30365
|
+
email_title: import_zod144.z.string().min(1).max(255).optional(),
|
|
30366
|
+
main_text: import_zod144.z.string().min(1).optional(),
|
|
30367
|
+
main_html_content: import_zod144.z.string().optional(),
|
|
30368
|
+
button_text: import_zod144.z.string().max(100).optional(),
|
|
30369
|
+
button_url: import_zod144.z.url().optional(),
|
|
30370
|
+
secondary_text: import_zod144.z.string().optional()
|
|
30637
30371
|
});
|
|
30638
30372
|
|
|
30639
30373
|
// src/cfg/generated/_utils/schemas/PatchedPaymentRequest.schema.ts
|
|
30640
|
-
var
|
|
30641
|
-
var PatchedPaymentRequestSchema =
|
|
30642
|
-
amount_usd:
|
|
30643
|
-
currency:
|
|
30644
|
-
network:
|
|
30645
|
-
provider:
|
|
30646
|
-
status:
|
|
30647
|
-
callback_url:
|
|
30648
|
-
cancel_url:
|
|
30649
|
-
description:
|
|
30650
|
-
expires_at:
|
|
30374
|
+
var import_zod145 = require("zod");
|
|
30375
|
+
var PatchedPaymentRequestSchema = import_zod145.z.object({
|
|
30376
|
+
amount_usd: import_zod145.z.number().min(1).max(5e4).optional(),
|
|
30377
|
+
currency: import_zod145.z.int().optional(),
|
|
30378
|
+
network: import_zod145.z.int().nullable().optional(),
|
|
30379
|
+
provider: import_zod145.z.nativeEnum(PatchedPaymentRequestProvider).optional(),
|
|
30380
|
+
status: import_zod145.z.nativeEnum(PatchedPaymentRequestStatus).optional(),
|
|
30381
|
+
callback_url: import_zod145.z.url().nullable().optional(),
|
|
30382
|
+
cancel_url: import_zod145.z.url().nullable().optional(),
|
|
30383
|
+
description: import_zod145.z.string().optional(),
|
|
30384
|
+
expires_at: import_zod145.z.iso.datetime().nullable().optional()
|
|
30651
30385
|
});
|
|
30652
30386
|
|
|
30653
30387
|
// src/cfg/generated/_utils/schemas/PatchedSubscriptionRequest.schema.ts
|
|
30654
|
-
var
|
|
30655
|
-
var PatchedSubscriptionRequestSchema =
|
|
30656
|
-
status:
|
|
30657
|
-
tier:
|
|
30658
|
-
expires_at:
|
|
30388
|
+
var import_zod146 = require("zod");
|
|
30389
|
+
var PatchedSubscriptionRequestSchema = import_zod146.z.object({
|
|
30390
|
+
status: import_zod146.z.nativeEnum(PatchedSubscriptionRequestStatus).optional(),
|
|
30391
|
+
tier: import_zod146.z.nativeEnum(PatchedSubscriptionRequestTier).optional(),
|
|
30392
|
+
expires_at: import_zod146.z.iso.datetime().optional()
|
|
30659
30393
|
});
|
|
30660
30394
|
|
|
30661
30395
|
// src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
|
|
30662
|
-
var
|
|
30663
|
-
var PatchedTicketRequestSchema =
|
|
30664
|
-
user:
|
|
30665
|
-
subject:
|
|
30666
|
-
status:
|
|
30396
|
+
var import_zod147 = require("zod");
|
|
30397
|
+
var PatchedTicketRequestSchema = import_zod147.z.object({
|
|
30398
|
+
user: import_zod147.z.int().optional(),
|
|
30399
|
+
subject: import_zod147.z.string().min(1).max(255).optional(),
|
|
30400
|
+
status: import_zod147.z.nativeEnum(PatchedTicketRequestStatus).optional()
|
|
30667
30401
|
});
|
|
30668
30402
|
|
|
30669
30403
|
// src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
|
|
30670
|
-
var
|
|
30671
|
-
var PatchedUnsubscribeRequestSchema =
|
|
30672
|
-
subscription_id:
|
|
30404
|
+
var import_zod148 = require("zod");
|
|
30405
|
+
var PatchedUnsubscribeRequestSchema = import_zod148.z.object({
|
|
30406
|
+
subscription_id: import_zod148.z.int().optional()
|
|
30673
30407
|
});
|
|
30674
30408
|
|
|
30675
30409
|
// src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
|
|
30676
|
-
var
|
|
30677
|
-
var PatchedUserProfileUpdateRequestSchema =
|
|
30678
|
-
first_name:
|
|
30679
|
-
last_name:
|
|
30680
|
-
company:
|
|
30681
|
-
phone:
|
|
30682
|
-
position:
|
|
30410
|
+
var import_zod149 = require("zod");
|
|
30411
|
+
var PatchedUserProfileUpdateRequestSchema = import_zod149.z.object({
|
|
30412
|
+
first_name: import_zod149.z.string().max(50).optional(),
|
|
30413
|
+
last_name: import_zod149.z.string().max(50).optional(),
|
|
30414
|
+
company: import_zod149.z.string().max(100).optional(),
|
|
30415
|
+
phone: import_zod149.z.string().max(20).optional(),
|
|
30416
|
+
position: import_zod149.z.string().max(100).optional()
|
|
30683
30417
|
});
|
|
30684
30418
|
|
|
30685
30419
|
// src/cfg/generated/_utils/schemas/Payment.schema.ts
|
|
30686
|
-
var
|
|
30687
|
-
var PaymentSchema =
|
|
30688
|
-
id:
|
|
30689
|
-
user:
|
|
30690
|
-
amount_usd:
|
|
30691
|
-
|
|
30692
|
-
|
|
30693
|
-
|
|
30694
|
-
|
|
30695
|
-
|
|
30696
|
-
|
|
30697
|
-
|
|
30698
|
-
|
|
30699
|
-
|
|
30700
|
-
|
|
30701
|
-
|
|
30702
|
-
|
|
30703
|
-
|
|
30704
|
-
|
|
30705
|
-
|
|
30706
|
-
|
|
30707
|
-
|
|
30708
|
-
|
|
30709
|
-
|
|
30710
|
-
|
|
30711
|
-
|
|
30712
|
-
|
|
30420
|
+
var import_zod150 = require("zod");
|
|
30421
|
+
var PaymentSchema = import_zod150.z.object({
|
|
30422
|
+
id: import_zod150.z.uuid(),
|
|
30423
|
+
user: import_zod150.z.string(),
|
|
30424
|
+
amount_usd: import_zod150.z.number().min(1).max(5e4),
|
|
30425
|
+
amount_crypto: import_zod150.z.number(),
|
|
30426
|
+
currency: import_zod150.z.int(),
|
|
30427
|
+
network: import_zod150.z.int().nullable().optional(),
|
|
30428
|
+
provider: import_zod150.z.nativeEnum(PaymentProvider).optional(),
|
|
30429
|
+
status: import_zod150.z.nativeEnum(PaymentStatus).optional(),
|
|
30430
|
+
status_display: import_zod150.z.string(),
|
|
30431
|
+
amount_display: import_zod150.z.string(),
|
|
30432
|
+
provider_payment_id: import_zod150.z.string().nullable(),
|
|
30433
|
+
payment_url: import_zod150.z.url().nullable(),
|
|
30434
|
+
pay_address: import_zod150.z.string().nullable(),
|
|
30435
|
+
callback_url: import_zod150.z.url().nullable().optional(),
|
|
30436
|
+
cancel_url: import_zod150.z.url().nullable().optional(),
|
|
30437
|
+
description: import_zod150.z.string().optional(),
|
|
30438
|
+
transaction_hash: import_zod150.z.string().nullable(),
|
|
30439
|
+
confirmations_count: import_zod150.z.int(),
|
|
30440
|
+
created_at: import_zod150.z.iso.datetime(),
|
|
30441
|
+
updated_at: import_zod150.z.iso.datetime(),
|
|
30442
|
+
expires_at: import_zod150.z.iso.datetime().nullable().optional(),
|
|
30443
|
+
completed_at: import_zod150.z.iso.datetime().nullable(),
|
|
30444
|
+
is_pending: import_zod150.z.boolean(),
|
|
30445
|
+
is_completed: import_zod150.z.boolean(),
|
|
30446
|
+
is_failed: import_zod150.z.boolean(),
|
|
30447
|
+
is_expired: import_zod150.z.boolean()
|
|
30713
30448
|
});
|
|
30714
30449
|
|
|
30715
30450
|
// src/cfg/generated/_utils/schemas/PaymentAnalyticsResponse.schema.ts
|
|
30716
|
-
var
|
|
30451
|
+
var import_zod152 = require("zod");
|
|
30717
30452
|
|
|
30718
30453
|
// src/cfg/generated/_utils/schemas/ProviderAnalyticsItem.schema.ts
|
|
30719
|
-
var
|
|
30720
|
-
var ProviderAnalyticsItemSchema =
|
|
30721
|
-
provider:
|
|
30722
|
-
provider_display:
|
|
30723
|
-
total_payments:
|
|
30724
|
-
total_amount:
|
|
30725
|
-
completed_payments:
|
|
30726
|
-
success_rate:
|
|
30454
|
+
var import_zod151 = require("zod");
|
|
30455
|
+
var ProviderAnalyticsItemSchema = import_zod151.z.object({
|
|
30456
|
+
provider: import_zod151.z.string(),
|
|
30457
|
+
provider_display: import_zod151.z.string(),
|
|
30458
|
+
total_payments: import_zod151.z.int(),
|
|
30459
|
+
total_amount: import_zod151.z.number(),
|
|
30460
|
+
completed_payments: import_zod151.z.int(),
|
|
30461
|
+
success_rate: import_zod151.z.number()
|
|
30727
30462
|
});
|
|
30728
30463
|
|
|
30729
30464
|
// src/cfg/generated/_utils/schemas/PaymentAnalyticsResponse.schema.ts
|
|
30730
|
-
var PaymentAnalyticsResponseSchema =
|
|
30731
|
-
currency_analytics:
|
|
30732
|
-
provider_analytics:
|
|
30465
|
+
var PaymentAnalyticsResponseSchema = import_zod152.z.object({
|
|
30466
|
+
currency_analytics: import_zod152.z.array(CurrencyAnalyticsItemSchema),
|
|
30467
|
+
provider_analytics: import_zod152.z.array(ProviderAnalyticsItemSchema)
|
|
30733
30468
|
});
|
|
30734
30469
|
|
|
30735
30470
|
// src/cfg/generated/_utils/schemas/PaymentCreate.schema.ts
|
|
30736
|
-
var import_zod152 = require("zod");
|
|
30737
|
-
var PaymentCreateSchema = import_zod152.z.object({
|
|
30738
|
-
amount_usd: import_zod152.z.number().min(1).max(5e4),
|
|
30739
|
-
currency_code: import_zod152.z.nativeEnum(PaymentCreateCurrencyCode),
|
|
30740
|
-
provider: import_zod152.z.nativeEnum(PaymentCreateProvider).optional(),
|
|
30741
|
-
callback_url: import_zod152.z.url().optional(),
|
|
30742
|
-
cancel_url: import_zod152.z.url().optional(),
|
|
30743
|
-
description: import_zod152.z.string().max(500).optional(),
|
|
30744
|
-
metadata: import_zod152.z.string().optional()
|
|
30745
|
-
});
|
|
30746
|
-
|
|
30747
|
-
// src/cfg/generated/_utils/schemas/PaymentCreateRequest.schema.ts
|
|
30748
30471
|
var import_zod153 = require("zod");
|
|
30749
|
-
var
|
|
30472
|
+
var PaymentCreateSchema = import_zod153.z.object({
|
|
30750
30473
|
amount_usd: import_zod153.z.number().min(1).max(5e4),
|
|
30751
|
-
currency_code: import_zod153.z.nativeEnum(
|
|
30752
|
-
provider: import_zod153.z.nativeEnum(PaymentCreateRequestProvider).optional(),
|
|
30474
|
+
currency_code: import_zod153.z.nativeEnum(PaymentCreateCurrencyCode),
|
|
30753
30475
|
callback_url: import_zod153.z.url().optional(),
|
|
30754
30476
|
cancel_url: import_zod153.z.url().optional(),
|
|
30755
30477
|
description: import_zod153.z.string().max(500).optional(),
|
|
30756
30478
|
metadata: import_zod153.z.string().optional()
|
|
30757
30479
|
});
|
|
30758
30480
|
|
|
30759
|
-
// src/cfg/generated/_utils/schemas/
|
|
30481
|
+
// src/cfg/generated/_utils/schemas/PaymentCreateRequest.schema.ts
|
|
30760
30482
|
var import_zod154 = require("zod");
|
|
30761
|
-
var
|
|
30762
|
-
|
|
30763
|
-
|
|
30764
|
-
|
|
30765
|
-
|
|
30766
|
-
|
|
30767
|
-
|
|
30768
|
-
average_payment_usd: import_zod154.z.number(),
|
|
30769
|
-
success_rate: import_zod154.z.number(),
|
|
30770
|
-
last_payment_at: import_zod154.z.iso.datetime().nullable(),
|
|
30771
|
-
payments_this_month: import_zod154.z.int(),
|
|
30772
|
-
amount_this_month: import_zod154.z.number(),
|
|
30773
|
-
top_currency: import_zod154.z.string().nullable(),
|
|
30774
|
-
top_currency_count: import_zod154.z.int()
|
|
30483
|
+
var PaymentCreateRequestSchema = import_zod154.z.object({
|
|
30484
|
+
amount_usd: import_zod154.z.number().min(1).max(5e4),
|
|
30485
|
+
currency_code: import_zod154.z.nativeEnum(PaymentCreateRequestCurrencyCode),
|
|
30486
|
+
callback_url: import_zod154.z.url().optional(),
|
|
30487
|
+
cancel_url: import_zod154.z.url().optional(),
|
|
30488
|
+
description: import_zod154.z.string().max(500).optional(),
|
|
30489
|
+
metadata: import_zod154.z.string().optional()
|
|
30775
30490
|
});
|
|
30776
30491
|
|
|
30777
|
-
// src/cfg/generated/_utils/schemas/
|
|
30492
|
+
// src/cfg/generated/_utils/schemas/PaymentOverview.schema.ts
|
|
30778
30493
|
var import_zod155 = require("zod");
|
|
30779
|
-
var
|
|
30780
|
-
|
|
30781
|
-
|
|
30782
|
-
|
|
30783
|
-
|
|
30784
|
-
|
|
30785
|
-
|
|
30786
|
-
|
|
30787
|
-
|
|
30788
|
-
|
|
30494
|
+
var PaymentOverviewSchema = import_zod155.z.object({
|
|
30495
|
+
total_payments: import_zod155.z.int(),
|
|
30496
|
+
completed_payments: import_zod155.z.int(),
|
|
30497
|
+
pending_payments: import_zod155.z.int(),
|
|
30498
|
+
failed_payments: import_zod155.z.int(),
|
|
30499
|
+
total_amount_usd: import_zod155.z.number(),
|
|
30500
|
+
completed_amount_usd: import_zod155.z.number(),
|
|
30501
|
+
average_payment_usd: import_zod155.z.number(),
|
|
30502
|
+
success_rate: import_zod155.z.number(),
|
|
30503
|
+
last_payment_at: import_zod155.z.iso.datetime().nullable(),
|
|
30504
|
+
payments_this_month: import_zod155.z.int(),
|
|
30505
|
+
amount_this_month: import_zod155.z.number(),
|
|
30506
|
+
top_currency: import_zod155.z.string().nullable(),
|
|
30507
|
+
top_currency_count: import_zod155.z.int()
|
|
30789
30508
|
});
|
|
30790
30509
|
|
|
30791
|
-
// src/cfg/generated/_utils/schemas/
|
|
30510
|
+
// src/cfg/generated/_utils/schemas/PaymentRequest.schema.ts
|
|
30792
30511
|
var import_zod156 = require("zod");
|
|
30793
|
-
var
|
|
30794
|
-
|
|
30795
|
-
|
|
30796
|
-
|
|
30797
|
-
|
|
30798
|
-
|
|
30512
|
+
var PaymentRequestSchema = import_zod156.z.object({
|
|
30513
|
+
amount_usd: import_zod156.z.number().min(1).max(5e4),
|
|
30514
|
+
currency: import_zod156.z.int(),
|
|
30515
|
+
network: import_zod156.z.int().nullable().optional(),
|
|
30516
|
+
provider: import_zod156.z.nativeEnum(PaymentRequestProvider).optional(),
|
|
30517
|
+
status: import_zod156.z.nativeEnum(PaymentRequestStatus).optional(),
|
|
30518
|
+
callback_url: import_zod156.z.url().nullable().optional(),
|
|
30519
|
+
cancel_url: import_zod156.z.url().nullable().optional(),
|
|
30520
|
+
description: import_zod156.z.string().optional(),
|
|
30521
|
+
expires_at: import_zod156.z.iso.datetime().nullable().optional()
|
|
30522
|
+
});
|
|
30523
|
+
|
|
30524
|
+
// src/cfg/generated/_utils/schemas/PaymentsChartResponse.schema.ts
|
|
30525
|
+
var import_zod157 = require("zod");
|
|
30526
|
+
var PaymentsChartResponseSchema = import_zod157.z.object({
|
|
30527
|
+
series: import_zod157.z.array(ChartSeriesSchema),
|
|
30528
|
+
period: import_zod157.z.string(),
|
|
30529
|
+
total_amount: import_zod157.z.number(),
|
|
30530
|
+
total_payments: import_zod157.z.int(),
|
|
30531
|
+
success_rate: import_zod157.z.number()
|
|
30799
30532
|
});
|
|
30800
30533
|
|
|
30801
30534
|
// src/cfg/generated/_utils/schemas/PaymentsDashboardOverview.schema.ts
|
|
30802
|
-
var
|
|
30535
|
+
var import_zod160 = require("zod");
|
|
30803
30536
|
|
|
30804
30537
|
// src/cfg/generated/_utils/schemas/PaymentsMetrics.schema.ts
|
|
30805
|
-
var
|
|
30538
|
+
var import_zod159 = require("zod");
|
|
30806
30539
|
|
|
30807
30540
|
// src/cfg/generated/_utils/schemas/SubscriptionOverview.schema.ts
|
|
30808
|
-
var
|
|
30809
|
-
var SubscriptionOverviewSchema =
|
|
30810
|
-
tier:
|
|
30811
|
-
tier_display:
|
|
30812
|
-
status:
|
|
30813
|
-
status_display:
|
|
30814
|
-
status_color:
|
|
30815
|
-
is_active:
|
|
30816
|
-
is_expired:
|
|
30817
|
-
days_remaining:
|
|
30818
|
-
requests_per_hour:
|
|
30819
|
-
requests_per_day:
|
|
30820
|
-
total_requests:
|
|
30821
|
-
usage_percentage:
|
|
30822
|
-
monthly_cost_usd:
|
|
30823
|
-
cost_display:
|
|
30824
|
-
starts_at:
|
|
30825
|
-
expires_at:
|
|
30826
|
-
last_request_at:
|
|
30827
|
-
endpoint_groups_count:
|
|
30828
|
-
endpoint_groups:
|
|
30541
|
+
var import_zod158 = require("zod");
|
|
30542
|
+
var SubscriptionOverviewSchema = import_zod158.z.object({
|
|
30543
|
+
tier: import_zod158.z.string(),
|
|
30544
|
+
tier_display: import_zod158.z.string(),
|
|
30545
|
+
status: import_zod158.z.string(),
|
|
30546
|
+
status_display: import_zod158.z.string(),
|
|
30547
|
+
status_color: import_zod158.z.string(),
|
|
30548
|
+
is_active: import_zod158.z.boolean(),
|
|
30549
|
+
is_expired: import_zod158.z.boolean(),
|
|
30550
|
+
days_remaining: import_zod158.z.int(),
|
|
30551
|
+
requests_per_hour: import_zod158.z.int(),
|
|
30552
|
+
requests_per_day: import_zod158.z.int(),
|
|
30553
|
+
total_requests: import_zod158.z.int(),
|
|
30554
|
+
usage_percentage: import_zod158.z.number(),
|
|
30555
|
+
monthly_cost_usd: import_zod158.z.number(),
|
|
30556
|
+
cost_display: import_zod158.z.string(),
|
|
30557
|
+
starts_at: import_zod158.z.iso.datetime(),
|
|
30558
|
+
expires_at: import_zod158.z.iso.datetime(),
|
|
30559
|
+
last_request_at: import_zod158.z.iso.datetime().nullable(),
|
|
30560
|
+
endpoint_groups_count: import_zod158.z.int(),
|
|
30561
|
+
endpoint_groups: import_zod158.z.array(import_zod158.z.string())
|
|
30829
30562
|
});
|
|
30830
30563
|
|
|
30831
30564
|
// src/cfg/generated/_utils/schemas/PaymentsMetrics.schema.ts
|
|
30832
|
-
var PaymentsMetricsSchema =
|
|
30565
|
+
var PaymentsMetricsSchema = import_zod159.z.object({
|
|
30833
30566
|
balance: BalanceOverviewSchema,
|
|
30834
|
-
subscription: SubscriptionOverviewSchema,
|
|
30567
|
+
subscription: SubscriptionOverviewSchema.nullable(),
|
|
30835
30568
|
api_keys: APIKeysOverviewSchema,
|
|
30836
30569
|
payments: PaymentOverviewSchema
|
|
30837
30570
|
});
|
|
30838
30571
|
|
|
30839
30572
|
// src/cfg/generated/_utils/schemas/PaymentsDashboardOverview.schema.ts
|
|
30840
|
-
var PaymentsDashboardOverviewSchema =
|
|
30573
|
+
var PaymentsDashboardOverviewSchema = import_zod160.z.object({
|
|
30841
30574
|
metrics: PaymentsMetricsSchema,
|
|
30842
|
-
recent_payments:
|
|
30843
|
-
recent_transactions:
|
|
30575
|
+
recent_payments: import_zod160.z.array(RecentPaymentSchema),
|
|
30576
|
+
recent_transactions: import_zod160.z.array(RecentTransactionSchema),
|
|
30844
30577
|
chart_data: PaymentsChartResponseSchema
|
|
30845
30578
|
});
|
|
30846
30579
|
|
|
30847
30580
|
// src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
|
|
30848
|
-
var
|
|
30849
|
-
var PublicDocumentSchema =
|
|
30850
|
-
id:
|
|
30851
|
-
title:
|
|
30852
|
-
content:
|
|
30581
|
+
var import_zod161 = require("zod");
|
|
30582
|
+
var PublicDocumentSchema = import_zod161.z.object({
|
|
30583
|
+
id: import_zod161.z.uuid(),
|
|
30584
|
+
title: import_zod161.z.string().max(512),
|
|
30585
|
+
content: import_zod161.z.string(),
|
|
30853
30586
|
category: PublicCategorySchema,
|
|
30854
|
-
created_at:
|
|
30855
|
-
updated_at:
|
|
30587
|
+
created_at: import_zod161.z.iso.datetime(),
|
|
30588
|
+
updated_at: import_zod161.z.iso.datetime()
|
|
30856
30589
|
});
|
|
30857
30590
|
|
|
30858
30591
|
// src/cfg/generated/_utils/schemas/QueueAction.schema.ts
|
|
30859
|
-
var
|
|
30860
|
-
var QueueActionSchema =
|
|
30861
|
-
action:
|
|
30862
|
-
queue_names:
|
|
30592
|
+
var import_zod162 = require("zod");
|
|
30593
|
+
var QueueActionSchema = import_zod162.z.object({
|
|
30594
|
+
action: import_zod162.z.nativeEnum(QueueActionAction),
|
|
30595
|
+
queue_names: import_zod162.z.array(import_zod162.z.string()).optional()
|
|
30863
30596
|
});
|
|
30864
30597
|
|
|
30865
30598
|
// src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
|
|
30866
|
-
var
|
|
30867
|
-
var QueueActionRequestSchema =
|
|
30868
|
-
action:
|
|
30869
|
-
queue_names:
|
|
30599
|
+
var import_zod163 = require("zod");
|
|
30600
|
+
var QueueActionRequestSchema = import_zod163.z.object({
|
|
30601
|
+
action: import_zod163.z.nativeEnum(QueueActionRequestAction),
|
|
30602
|
+
queue_names: import_zod163.z.array(import_zod163.z.string().min(1)).optional()
|
|
30870
30603
|
});
|
|
30871
30604
|
|
|
30872
30605
|
// src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
|
|
30873
|
-
var
|
|
30874
|
-
var QueueStatusSchema =
|
|
30875
|
-
queues:
|
|
30876
|
-
workers:
|
|
30877
|
-
redis_connected:
|
|
30878
|
-
timestamp:
|
|
30879
|
-
error:
|
|
30606
|
+
var import_zod164 = require("zod");
|
|
30607
|
+
var QueueStatusSchema = import_zod164.z.object({
|
|
30608
|
+
queues: import_zod164.z.record(import_zod164.z.string(), import_zod164.z.any()),
|
|
30609
|
+
workers: import_zod164.z.int(),
|
|
30610
|
+
redis_connected: import_zod164.z.boolean(),
|
|
30611
|
+
timestamp: import_zod164.z.string(),
|
|
30612
|
+
error: import_zod164.z.string().optional()
|
|
30880
30613
|
});
|
|
30881
30614
|
|
|
30882
30615
|
// src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
|
|
30883
|
-
var
|
|
30884
|
-
var QuickHealthSchema =
|
|
30885
|
-
status:
|
|
30886
|
-
timestamp:
|
|
30887
|
-
error:
|
|
30616
|
+
var import_zod165 = require("zod");
|
|
30617
|
+
var QuickHealthSchema = import_zod165.z.object({
|
|
30618
|
+
status: import_zod165.z.string(),
|
|
30619
|
+
timestamp: import_zod165.z.iso.datetime(),
|
|
30620
|
+
error: import_zod165.z.string().optional()
|
|
30888
30621
|
});
|
|
30889
30622
|
|
|
30890
30623
|
// src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
|
|
30891
|
-
var
|
|
30892
|
-
var SendCampaignRequestSchema =
|
|
30893
|
-
campaign_id:
|
|
30624
|
+
var import_zod166 = require("zod");
|
|
30625
|
+
var SendCampaignRequestSchema = import_zod166.z.object({
|
|
30626
|
+
campaign_id: import_zod166.z.int()
|
|
30894
30627
|
});
|
|
30895
30628
|
|
|
30896
30629
|
// src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
|
|
30897
|
-
var
|
|
30898
|
-
var SendCampaignResponseSchema =
|
|
30899
|
-
success:
|
|
30900
|
-
message:
|
|
30901
|
-
sent_count:
|
|
30902
|
-
error:
|
|
30630
|
+
var import_zod167 = require("zod");
|
|
30631
|
+
var SendCampaignResponseSchema = import_zod167.z.object({
|
|
30632
|
+
success: import_zod167.z.boolean(),
|
|
30633
|
+
message: import_zod167.z.string().optional(),
|
|
30634
|
+
sent_count: import_zod167.z.int().optional(),
|
|
30635
|
+
error: import_zod167.z.string().optional()
|
|
30903
30636
|
});
|
|
30904
30637
|
|
|
30905
30638
|
// src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
|
|
30906
|
-
var
|
|
30907
|
-
var SubscribeRequestSchema =
|
|
30908
|
-
newsletter_id:
|
|
30909
|
-
email:
|
|
30639
|
+
var import_zod168 = require("zod");
|
|
30640
|
+
var SubscribeRequestSchema = import_zod168.z.object({
|
|
30641
|
+
newsletter_id: import_zod168.z.int(),
|
|
30642
|
+
email: import_zod168.z.email()
|
|
30910
30643
|
});
|
|
30911
30644
|
|
|
30912
30645
|
// src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
|
|
30913
|
-
var
|
|
30914
|
-
var SubscribeResponseSchema =
|
|
30915
|
-
success:
|
|
30916
|
-
message:
|
|
30917
|
-
subscription_id:
|
|
30646
|
+
var import_zod169 = require("zod");
|
|
30647
|
+
var SubscribeResponseSchema = import_zod169.z.object({
|
|
30648
|
+
success: import_zod169.z.boolean(),
|
|
30649
|
+
message: import_zod169.z.string(),
|
|
30650
|
+
subscription_id: import_zod169.z.int().optional()
|
|
30918
30651
|
});
|
|
30919
30652
|
|
|
30920
30653
|
// src/cfg/generated/_utils/schemas/Subscription.schema.ts
|
|
30921
|
-
var
|
|
30922
|
-
var SubscriptionSchema =
|
|
30923
|
-
id:
|
|
30924
|
-
user:
|
|
30654
|
+
var import_zod170 = require("zod");
|
|
30655
|
+
var SubscriptionSchema = import_zod170.z.object({
|
|
30656
|
+
id: import_zod170.z.uuid(),
|
|
30657
|
+
user: import_zod170.z.string(),
|
|
30925
30658
|
tariff: TariffSchema,
|
|
30926
30659
|
endpoint_group: EndpointGroupSchema,
|
|
30927
|
-
status:
|
|
30928
|
-
status_display:
|
|
30929
|
-
status_color:
|
|
30930
|
-
tier:
|
|
30931
|
-
total_requests:
|
|
30932
|
-
usage_percentage:
|
|
30933
|
-
last_request_at:
|
|
30934
|
-
expires_at:
|
|
30935
|
-
is_active:
|
|
30936
|
-
is_expired:
|
|
30937
|
-
created_at:
|
|
30938
|
-
updated_at:
|
|
30660
|
+
status: import_zod170.z.nativeEnum(SubscriptionStatus).optional(),
|
|
30661
|
+
status_display: import_zod170.z.string(),
|
|
30662
|
+
status_color: import_zod170.z.string(),
|
|
30663
|
+
tier: import_zod170.z.nativeEnum(SubscriptionTier).optional(),
|
|
30664
|
+
total_requests: import_zod170.z.int(),
|
|
30665
|
+
usage_percentage: import_zod170.z.number(),
|
|
30666
|
+
last_request_at: import_zod170.z.iso.datetime().nullable(),
|
|
30667
|
+
expires_at: import_zod170.z.iso.datetime(),
|
|
30668
|
+
is_active: import_zod170.z.boolean(),
|
|
30669
|
+
is_expired: import_zod170.z.boolean(),
|
|
30670
|
+
created_at: import_zod170.z.iso.datetime(),
|
|
30671
|
+
updated_at: import_zod170.z.iso.datetime()
|
|
30939
30672
|
});
|
|
30940
30673
|
|
|
30941
30674
|
// src/cfg/generated/_utils/schemas/SubscriptionCreate.schema.ts
|
|
30942
|
-
var import_zod170 = require("zod");
|
|
30943
|
-
var SubscriptionCreateSchema = import_zod170.z.object({
|
|
30944
|
-
tariff_id: import_zod170.z.int().min(1),
|
|
30945
|
-
endpoint_group_id: import_zod170.z.int().min(1).nullable().optional(),
|
|
30946
|
-
duration_days: import_zod170.z.int().min(1).max(365).optional()
|
|
30947
|
-
});
|
|
30948
|
-
|
|
30949
|
-
// src/cfg/generated/_utils/schemas/SubscriptionCreateRequest.schema.ts
|
|
30950
30675
|
var import_zod171 = require("zod");
|
|
30951
|
-
var
|
|
30676
|
+
var SubscriptionCreateSchema = import_zod171.z.object({
|
|
30952
30677
|
tariff_id: import_zod171.z.int().min(1),
|
|
30953
30678
|
endpoint_group_id: import_zod171.z.int().min(1).nullable().optional(),
|
|
30954
30679
|
duration_days: import_zod171.z.int().min(1).max(365).optional()
|
|
30955
30680
|
});
|
|
30956
30681
|
|
|
30957
|
-
// src/cfg/generated/_utils/schemas/
|
|
30682
|
+
// src/cfg/generated/_utils/schemas/SubscriptionCreateRequest.schema.ts
|
|
30958
30683
|
var import_zod172 = require("zod");
|
|
30959
|
-
var
|
|
30960
|
-
|
|
30961
|
-
|
|
30962
|
-
|
|
30684
|
+
var SubscriptionCreateRequestSchema = import_zod172.z.object({
|
|
30685
|
+
tariff_id: import_zod172.z.int().min(1),
|
|
30686
|
+
endpoint_group_id: import_zod172.z.int().min(1).nullable().optional(),
|
|
30687
|
+
duration_days: import_zod172.z.int().min(1).max(365).optional()
|
|
30963
30688
|
});
|
|
30964
30689
|
|
|
30965
|
-
// src/cfg/generated/_utils/schemas/
|
|
30690
|
+
// src/cfg/generated/_utils/schemas/SubscriptionRequest.schema.ts
|
|
30966
30691
|
var import_zod173 = require("zod");
|
|
30967
|
-
var
|
|
30968
|
-
|
|
30969
|
-
|
|
30692
|
+
var SubscriptionRequestSchema = import_zod173.z.object({
|
|
30693
|
+
status: import_zod173.z.nativeEnum(SubscriptionRequestStatus).optional(),
|
|
30694
|
+
tier: import_zod173.z.nativeEnum(SubscriptionRequestTier).optional(),
|
|
30695
|
+
expires_at: import_zod173.z.iso.datetime()
|
|
30970
30696
|
});
|
|
30971
30697
|
|
|
30972
|
-
// src/cfg/generated/_utils/schemas/
|
|
30698
|
+
// src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
|
|
30973
30699
|
var import_zod174 = require("zod");
|
|
30974
|
-
var
|
|
30700
|
+
var SuccessResponseSchema = import_zod174.z.object({
|
|
30975
30701
|
success: import_zod174.z.boolean(),
|
|
30976
|
-
|
|
30977
|
-
total_count: import_zod174.z.int(),
|
|
30978
|
-
timestamp: import_zod174.z.iso.datetime()
|
|
30702
|
+
message: import_zod174.z.string()
|
|
30979
30703
|
});
|
|
30980
30704
|
|
|
30981
|
-
// src/cfg/generated/_utils/schemas/
|
|
30705
|
+
// src/cfg/generated/_utils/schemas/SupportedCurrencies.schema.ts
|
|
30982
30706
|
var import_zod175 = require("zod");
|
|
30983
|
-
var
|
|
30984
|
-
|
|
30985
|
-
|
|
30986
|
-
timestamp: import_zod175.z.string(),
|
|
30987
|
-
error: import_zod175.z.string().optional()
|
|
30707
|
+
var SupportedCurrenciesSchema = import_zod175.z.object({
|
|
30708
|
+
provider: import_zod175.z.nativeEnum(SupportedCurrenciesProvider).optional(),
|
|
30709
|
+
currency_type: import_zod175.z.nativeEnum(SupportedCurrenciesCurrencyType).optional()
|
|
30988
30710
|
});
|
|
30989
30711
|
|
|
30990
|
-
// src/cfg/generated/_utils/schemas/
|
|
30712
|
+
// src/cfg/generated/_utils/schemas/SupportedProviders.schema.ts
|
|
30991
30713
|
var import_zod176 = require("zod");
|
|
30992
|
-
var
|
|
30993
|
-
|
|
30994
|
-
|
|
30995
|
-
|
|
30714
|
+
var SupportedProvidersSchema = import_zod176.z.object({
|
|
30715
|
+
success: import_zod176.z.boolean(),
|
|
30716
|
+
providers: import_zod176.z.string(),
|
|
30717
|
+
total_count: import_zod176.z.int(),
|
|
30718
|
+
timestamp: import_zod176.z.iso.datetime()
|
|
30996
30719
|
});
|
|
30997
30720
|
|
|
30998
|
-
// src/cfg/generated/_utils/schemas/
|
|
30721
|
+
// src/cfg/generated/_utils/schemas/TaskStatistics.schema.ts
|
|
30999
30722
|
var import_zod177 = require("zod");
|
|
31000
|
-
var
|
|
31001
|
-
|
|
31002
|
-
|
|
31003
|
-
|
|
30723
|
+
var TaskStatisticsSchema = import_zod177.z.object({
|
|
30724
|
+
statistics: import_zod177.z.record(import_zod177.z.string(), import_zod177.z.any()),
|
|
30725
|
+
recent_tasks: import_zod177.z.array(import_zod177.z.record(import_zod177.z.string(), import_zod177.z.any())),
|
|
30726
|
+
timestamp: import_zod177.z.string(),
|
|
30727
|
+
error: import_zod177.z.string().optional()
|
|
31004
30728
|
});
|
|
31005
30729
|
|
|
31006
|
-
// src/cfg/generated/_utils/schemas/
|
|
30730
|
+
// src/cfg/generated/_utils/schemas/TestEmailRequest.schema.ts
|
|
31007
30731
|
var import_zod178 = require("zod");
|
|
31008
|
-
var
|
|
31009
|
-
|
|
31010
|
-
|
|
30732
|
+
var TestEmailRequestSchema = import_zod178.z.object({
|
|
30733
|
+
email: import_zod178.z.email(),
|
|
30734
|
+
subject: import_zod178.z.string().min(1).max(255).optional(),
|
|
30735
|
+
message: import_zod178.z.string().min(1).optional()
|
|
31011
30736
|
});
|
|
31012
30737
|
|
|
31013
|
-
// src/cfg/generated/_utils/schemas/
|
|
30738
|
+
// src/cfg/generated/_utils/schemas/TicketRequest.schema.ts
|
|
31014
30739
|
var import_zod179 = require("zod");
|
|
31015
|
-
var
|
|
31016
|
-
|
|
30740
|
+
var TicketRequestSchema = import_zod179.z.object({
|
|
30741
|
+
user: import_zod179.z.int(),
|
|
30742
|
+
subject: import_zod179.z.string().min(1).max(255),
|
|
30743
|
+
status: import_zod179.z.nativeEnum(TicketRequestStatus).optional()
|
|
31017
30744
|
});
|
|
31018
30745
|
|
|
31019
|
-
// src/cfg/generated/_utils/schemas/
|
|
30746
|
+
// src/cfg/generated/_utils/schemas/TokenRefresh.schema.ts
|
|
31020
30747
|
var import_zod180 = require("zod");
|
|
31021
|
-
var
|
|
31022
|
-
|
|
30748
|
+
var TokenRefreshSchema = import_zod180.z.object({
|
|
30749
|
+
access: import_zod180.z.string(),
|
|
30750
|
+
refresh: import_zod180.z.string()
|
|
31023
30751
|
});
|
|
31024
30752
|
|
|
31025
|
-
// src/cfg/generated/_utils/schemas/
|
|
30753
|
+
// src/cfg/generated/_utils/schemas/TokenRefreshRequest.schema.ts
|
|
31026
30754
|
var import_zod181 = require("zod");
|
|
31027
|
-
var
|
|
31028
|
-
|
|
30755
|
+
var TokenRefreshRequestSchema = import_zod181.z.object({
|
|
30756
|
+
refresh: import_zod181.z.string().min(1)
|
|
31029
30757
|
});
|
|
31030
30758
|
|
|
31031
|
-
// src/cfg/generated/_utils/schemas/
|
|
30759
|
+
// src/cfg/generated/_utils/schemas/Unsubscribe.schema.ts
|
|
31032
30760
|
var import_zod182 = require("zod");
|
|
31033
|
-
var
|
|
31034
|
-
|
|
31035
|
-
last_name: import_zod182.z.string().max(50).optional(),
|
|
31036
|
-
company: import_zod182.z.string().max(100).optional(),
|
|
31037
|
-
phone: import_zod182.z.string().max(20).optional(),
|
|
31038
|
-
position: import_zod182.z.string().max(100).optional()
|
|
30761
|
+
var UnsubscribeSchema = import_zod182.z.object({
|
|
30762
|
+
subscription_id: import_zod182.z.int()
|
|
31039
30763
|
});
|
|
31040
30764
|
|
|
31041
|
-
// src/cfg/generated/_utils/schemas/
|
|
30765
|
+
// src/cfg/generated/_utils/schemas/UnsubscribeRequest.schema.ts
|
|
31042
30766
|
var import_zod183 = require("zod");
|
|
31043
|
-
var
|
|
31044
|
-
|
|
31045
|
-
failed_count: import_zod183.z.int(),
|
|
31046
|
-
total_tokens: import_zod183.z.int(),
|
|
31047
|
-
total_cost: import_zod183.z.number(),
|
|
31048
|
-
success_rate: import_zod183.z.number(),
|
|
31049
|
-
errors: import_zod183.z.array(import_zod183.z.string())
|
|
30767
|
+
var UnsubscribeRequestSchema = import_zod183.z.object({
|
|
30768
|
+
subscription_id: import_zod183.z.int()
|
|
31050
30769
|
});
|
|
31051
30770
|
|
|
31052
|
-
// src/cfg/generated/_utils/schemas/
|
|
30771
|
+
// src/cfg/generated/_utils/schemas/UserProfileUpdateRequest.schema.ts
|
|
31053
30772
|
var import_zod184 = require("zod");
|
|
31054
|
-
var
|
|
31055
|
-
|
|
31056
|
-
|
|
31057
|
-
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
total_cost: import_zod184.z.number(),
|
|
31061
|
-
avg_tokens_per_chunk: import_zod184.z.number(),
|
|
31062
|
-
avg_cost_per_chunk: import_zod184.z.number()
|
|
30773
|
+
var UserProfileUpdateRequestSchema = import_zod184.z.object({
|
|
30774
|
+
first_name: import_zod184.z.string().max(50).optional(),
|
|
30775
|
+
last_name: import_zod184.z.string().max(50).optional(),
|
|
30776
|
+
company: import_zod184.z.string().max(100).optional(),
|
|
30777
|
+
phone: import_zod184.z.string().max(20).optional(),
|
|
30778
|
+
position: import_zod184.z.string().max(100).optional()
|
|
31063
30779
|
});
|
|
31064
30780
|
|
|
31065
|
-
// src/cfg/generated/_utils/schemas/
|
|
30781
|
+
// src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts
|
|
30782
|
+
var import_zod185 = require("zod");
|
|
30783
|
+
var VectorizationResultSchema = import_zod185.z.object({
|
|
30784
|
+
vectorized_count: import_zod185.z.int(),
|
|
30785
|
+
failed_count: import_zod185.z.int(),
|
|
30786
|
+
total_tokens: import_zod185.z.int(),
|
|
30787
|
+
total_cost: import_zod185.z.number(),
|
|
30788
|
+
success_rate: import_zod185.z.number(),
|
|
30789
|
+
errors: import_zod185.z.array(import_zod185.z.string())
|
|
30790
|
+
});
|
|
30791
|
+
|
|
30792
|
+
// src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts
|
|
31066
30793
|
var import_zod186 = require("zod");
|
|
30794
|
+
var VectorizationStatisticsSchema = import_zod186.z.object({
|
|
30795
|
+
total_chunks: import_zod186.z.int(),
|
|
30796
|
+
vectorized_chunks: import_zod186.z.int(),
|
|
30797
|
+
pending_chunks: import_zod186.z.int(),
|
|
30798
|
+
vectorization_rate: import_zod186.z.number(),
|
|
30799
|
+
total_tokens: import_zod186.z.int(),
|
|
30800
|
+
total_cost: import_zod186.z.number(),
|
|
30801
|
+
avg_tokens_per_chunk: import_zod186.z.number(),
|
|
30802
|
+
avg_cost_per_chunk: import_zod186.z.number()
|
|
30803
|
+
});
|
|
30804
|
+
|
|
30805
|
+
// src/cfg/generated/_utils/schemas/WebhookEventListRequest.schema.ts
|
|
30806
|
+
var import_zod188 = require("zod");
|
|
31067
30807
|
|
|
31068
30808
|
// src/cfg/generated/_utils/schemas/WebhookEventRequest.schema.ts
|
|
31069
|
-
var
|
|
31070
|
-
var WebhookEventRequestSchema =
|
|
31071
|
-
provider:
|
|
31072
|
-
event_type:
|
|
31073
|
-
status:
|
|
31074
|
-
timestamp:
|
|
31075
|
-
payload_size:
|
|
31076
|
-
response_time:
|
|
31077
|
-
retry_count:
|
|
31078
|
-
error_message:
|
|
31079
|
-
payload_preview:
|
|
31080
|
-
response_status_code:
|
|
31081
|
-
webhook_url:
|
|
30809
|
+
var import_zod187 = require("zod");
|
|
30810
|
+
var WebhookEventRequestSchema = import_zod187.z.object({
|
|
30811
|
+
provider: import_zod187.z.string().min(1).max(50),
|
|
30812
|
+
event_type: import_zod187.z.string().min(1).max(100),
|
|
30813
|
+
status: import_zod187.z.nativeEnum(WebhookEventRequestStatus),
|
|
30814
|
+
timestamp: import_zod187.z.iso.datetime(),
|
|
30815
|
+
payload_size: import_zod187.z.int(),
|
|
30816
|
+
response_time: import_zod187.z.int(),
|
|
30817
|
+
retry_count: import_zod187.z.int().optional(),
|
|
30818
|
+
error_message: import_zod187.z.string().max(500).optional(),
|
|
30819
|
+
payload_preview: import_zod187.z.string().max(200).optional(),
|
|
30820
|
+
response_status_code: import_zod187.z.int().optional(),
|
|
30821
|
+
webhook_url: import_zod187.z.url().optional()
|
|
31082
30822
|
});
|
|
31083
30823
|
|
|
31084
30824
|
// src/cfg/generated/_utils/schemas/WebhookEventListRequest.schema.ts
|
|
31085
|
-
var WebhookEventListRequestSchema =
|
|
31086
|
-
events:
|
|
31087
|
-
total:
|
|
31088
|
-
page:
|
|
31089
|
-
per_page:
|
|
31090
|
-
has_next:
|
|
31091
|
-
has_previous:
|
|
30825
|
+
var WebhookEventListRequestSchema = import_zod188.z.object({
|
|
30826
|
+
events: import_zod188.z.array(WebhookEventRequestSchema),
|
|
30827
|
+
total: import_zod188.z.int(),
|
|
30828
|
+
page: import_zod188.z.int(),
|
|
30829
|
+
per_page: import_zod188.z.int(),
|
|
30830
|
+
has_next: import_zod188.z.boolean(),
|
|
30831
|
+
has_previous: import_zod188.z.boolean()
|
|
31092
30832
|
});
|
|
31093
30833
|
|
|
31094
30834
|
// src/cfg/generated/_utils/schemas/WebhookHealth.schema.ts
|
|
31095
|
-
var
|
|
31096
|
-
var WebhookHealthSchema =
|
|
31097
|
-
status:
|
|
31098
|
-
timestamp:
|
|
31099
|
-
providers:
|
|
30835
|
+
var import_zod189 = require("zod");
|
|
30836
|
+
var WebhookHealthSchema = import_zod189.z.object({
|
|
30837
|
+
status: import_zod189.z.string().max(20),
|
|
30838
|
+
timestamp: import_zod189.z.iso.datetime(),
|
|
30839
|
+
providers: import_zod189.z.string()
|
|
31100
30840
|
});
|
|
31101
30841
|
|
|
31102
30842
|
// src/cfg/generated/_utils/schemas/WebhookProviderStats.schema.ts
|
|
31103
|
-
var
|
|
31104
|
-
var WebhookProviderStatsSchema =
|
|
31105
|
-
total:
|
|
31106
|
-
successful:
|
|
31107
|
-
failed:
|
|
31108
|
-
pending:
|
|
31109
|
-
success_rate:
|
|
30843
|
+
var import_zod190 = require("zod");
|
|
30844
|
+
var WebhookProviderStatsSchema = import_zod190.z.object({
|
|
30845
|
+
total: import_zod190.z.int(),
|
|
30846
|
+
successful: import_zod190.z.int(),
|
|
30847
|
+
failed: import_zod190.z.int(),
|
|
30848
|
+
pending: import_zod190.z.int().optional(),
|
|
30849
|
+
success_rate: import_zod190.z.number()
|
|
31110
30850
|
});
|
|
31111
30851
|
|
|
31112
30852
|
// src/cfg/generated/_utils/schemas/WebhookProviderStatsRequest.schema.ts
|
|
31113
|
-
var
|
|
31114
|
-
var WebhookProviderStatsRequestSchema =
|
|
31115
|
-
total:
|
|
31116
|
-
successful:
|
|
31117
|
-
failed:
|
|
31118
|
-
pending:
|
|
31119
|
-
success_rate:
|
|
30853
|
+
var import_zod191 = require("zod");
|
|
30854
|
+
var WebhookProviderStatsRequestSchema = import_zod191.z.object({
|
|
30855
|
+
total: import_zod191.z.int(),
|
|
30856
|
+
successful: import_zod191.z.int(),
|
|
30857
|
+
failed: import_zod191.z.int(),
|
|
30858
|
+
pending: import_zod191.z.int().optional(),
|
|
30859
|
+
success_rate: import_zod191.z.number()
|
|
31120
30860
|
});
|
|
31121
30861
|
|
|
31122
30862
|
// src/cfg/generated/_utils/schemas/WebhookResponse.schema.ts
|
|
31123
|
-
var
|
|
31124
|
-
var WebhookResponseSchema =
|
|
31125
|
-
success:
|
|
31126
|
-
message:
|
|
31127
|
-
payment_id:
|
|
31128
|
-
provider_payment_id:
|
|
31129
|
-
processed_at:
|
|
30863
|
+
var import_zod192 = require("zod");
|
|
30864
|
+
var WebhookResponseSchema = import_zod192.z.object({
|
|
30865
|
+
success: import_zod192.z.boolean(),
|
|
30866
|
+
message: import_zod192.z.string().max(500),
|
|
30867
|
+
payment_id: import_zod192.z.string().max(256).optional(),
|
|
30868
|
+
provider_payment_id: import_zod192.z.string().max(256).optional(),
|
|
30869
|
+
processed_at: import_zod192.z.iso.datetime().optional()
|
|
31130
30870
|
});
|
|
31131
30871
|
|
|
31132
30872
|
// src/cfg/generated/_utils/schemas/WebhookResponseRequest.schema.ts
|
|
31133
|
-
var
|
|
31134
|
-
var WebhookResponseRequestSchema =
|
|
31135
|
-
success:
|
|
31136
|
-
message:
|
|
31137
|
-
payment_id:
|
|
31138
|
-
provider_payment_id:
|
|
31139
|
-
processed_at:
|
|
30873
|
+
var import_zod193 = require("zod");
|
|
30874
|
+
var WebhookResponseRequestSchema = import_zod193.z.object({
|
|
30875
|
+
success: import_zod193.z.boolean(),
|
|
30876
|
+
message: import_zod193.z.string().min(1).max(500),
|
|
30877
|
+
payment_id: import_zod193.z.string().min(1).max(256).optional(),
|
|
30878
|
+
provider_payment_id: import_zod193.z.string().min(1).max(256).optional(),
|
|
30879
|
+
processed_at: import_zod193.z.iso.datetime().optional()
|
|
31140
30880
|
});
|
|
31141
30881
|
|
|
31142
30882
|
// src/cfg/generated/_utils/schemas/WebhookStatsRequest.schema.ts
|
|
31143
|
-
var
|
|
31144
|
-
var WebhookStatsRequestSchema =
|
|
31145
|
-
total:
|
|
31146
|
-
successful:
|
|
31147
|
-
failed:
|
|
31148
|
-
pending:
|
|
31149
|
-
success_rate:
|
|
31150
|
-
providers:
|
|
31151
|
-
last_24h:
|
|
31152
|
-
avg_response_time:
|
|
31153
|
-
max_response_time:
|
|
30883
|
+
var import_zod194 = require("zod");
|
|
30884
|
+
var WebhookStatsRequestSchema = import_zod194.z.object({
|
|
30885
|
+
total: import_zod194.z.int(),
|
|
30886
|
+
successful: import_zod194.z.int(),
|
|
30887
|
+
failed: import_zod194.z.int(),
|
|
30888
|
+
pending: import_zod194.z.int(),
|
|
30889
|
+
success_rate: import_zod194.z.number(),
|
|
30890
|
+
providers: import_zod194.z.record(import_zod194.z.string(), import_zod194.z.any()),
|
|
30891
|
+
last_24h: import_zod194.z.record(import_zod194.z.string(), import_zod194.z.any()),
|
|
30892
|
+
avg_response_time: import_zod194.z.number(),
|
|
30893
|
+
max_response_time: import_zod194.z.int()
|
|
31154
30894
|
});
|
|
31155
30895
|
|
|
31156
30896
|
// src/cfg/generated/_utils/schemas/WorkerAction.schema.ts
|
|
31157
|
-
var
|
|
31158
|
-
var WorkerActionSchema =
|
|
31159
|
-
action:
|
|
31160
|
-
processes:
|
|
31161
|
-
threads:
|
|
30897
|
+
var import_zod195 = require("zod");
|
|
30898
|
+
var WorkerActionSchema = import_zod195.z.object({
|
|
30899
|
+
action: import_zod195.z.nativeEnum(WorkerActionAction),
|
|
30900
|
+
processes: import_zod195.z.int().min(1).max(10).optional(),
|
|
30901
|
+
threads: import_zod195.z.int().min(1).max(20).optional()
|
|
31162
30902
|
});
|
|
31163
30903
|
|
|
31164
30904
|
// src/cfg/generated/_utils/schemas/WorkerActionRequest.schema.ts
|
|
31165
|
-
var
|
|
31166
|
-
var WorkerActionRequestSchema =
|
|
31167
|
-
action:
|
|
31168
|
-
processes:
|
|
31169
|
-
threads:
|
|
30905
|
+
var import_zod196 = require("zod");
|
|
30906
|
+
var WorkerActionRequestSchema = import_zod196.z.object({
|
|
30907
|
+
action: import_zod196.z.nativeEnum(WorkerActionRequestAction),
|
|
30908
|
+
processes: import_zod196.z.int().min(1).max(10).optional(),
|
|
30909
|
+
threads: import_zod196.z.int().min(1).max(20).optional()
|
|
31170
30910
|
});
|
|
31171
30911
|
|
|
31172
30912
|
// src/cfg/generated/_utils/fetchers/index.ts
|
|
@@ -32282,10 +32022,10 @@ async function getPaymentsCurrenciesHealthRetrieve(client) {
|
|
|
32282
32022
|
const response = await api2.cfg_payments.currenciesHealthRetrieve();
|
|
32283
32023
|
return CurrencySchema.parse(response);
|
|
32284
32024
|
}
|
|
32285
|
-
async function getPaymentsCurrenciesRatesRetrieve(
|
|
32025
|
+
async function getPaymentsCurrenciesRatesRetrieve(client) {
|
|
32286
32026
|
const api2 = client || getAPIInstance();
|
|
32287
|
-
const response = await api2.cfg_payments.currenciesRatesRetrieve(
|
|
32288
|
-
return
|
|
32027
|
+
const response = await api2.cfg_payments.currenciesRatesRetrieve();
|
|
32028
|
+
return CurrencyRatesSchema.parse(response);
|
|
32289
32029
|
}
|
|
32290
32030
|
async function getPaymentsCurrenciesStableRetrieve(client) {
|
|
32291
32031
|
const api2 = client || getAPIInstance();
|
|
@@ -32297,10 +32037,10 @@ async function getPaymentsCurrenciesStatsRetrieve(client) {
|
|
|
32297
32037
|
const response = await api2.cfg_payments.currenciesStatsRetrieve();
|
|
32298
32038
|
return CurrencySchema.parse(response);
|
|
32299
32039
|
}
|
|
32300
|
-
async function getPaymentsCurrenciesSupportedRetrieve(
|
|
32040
|
+
async function getPaymentsCurrenciesSupportedRetrieve(client) {
|
|
32301
32041
|
const api2 = client || getAPIInstance();
|
|
32302
|
-
const response = await api2.cfg_payments.currenciesSupportedRetrieve(
|
|
32303
|
-
return
|
|
32042
|
+
const response = await api2.cfg_payments.currenciesSupportedRetrieve();
|
|
32043
|
+
return SupportedCurrenciesSchema.parse(response);
|
|
32304
32044
|
}
|
|
32305
32045
|
async function getPaymentsEndpointGroupsList(params, client) {
|
|
32306
32046
|
const api2 = client || getAPIInstance();
|
|
@@ -34448,10 +34188,10 @@ function usePaymentsCurrenciesHealthRetrieve(client) {
|
|
|
34448
34188
|
() => getPaymentsCurrenciesHealthRetrieve(client)
|
|
34449
34189
|
);
|
|
34450
34190
|
}
|
|
34451
|
-
function usePaymentsCurrenciesRatesRetrieve(
|
|
34191
|
+
function usePaymentsCurrenciesRatesRetrieve(client) {
|
|
34452
34192
|
return (0, import_swr23.default)(
|
|
34453
|
-
|
|
34454
|
-
() => getPaymentsCurrenciesRatesRetrieve(
|
|
34193
|
+
"cfg-payments-currencies-rate",
|
|
34194
|
+
() => getPaymentsCurrenciesRatesRetrieve(client)
|
|
34455
34195
|
);
|
|
34456
34196
|
}
|
|
34457
34197
|
function usePaymentsCurrenciesStableRetrieve(client) {
|
|
@@ -34466,10 +34206,10 @@ function usePaymentsCurrenciesStatsRetrieve(client) {
|
|
|
34466
34206
|
() => getPaymentsCurrenciesStatsRetrieve(client)
|
|
34467
34207
|
);
|
|
34468
34208
|
}
|
|
34469
|
-
function usePaymentsCurrenciesSupportedRetrieve(
|
|
34209
|
+
function usePaymentsCurrenciesSupportedRetrieve(client) {
|
|
34470
34210
|
return (0, import_swr23.default)(
|
|
34471
|
-
|
|
34472
|
-
() => getPaymentsCurrenciesSupportedRetrieve(
|
|
34211
|
+
"cfg-payments-currencies-supported",
|
|
34212
|
+
() => getPaymentsCurrenciesSupportedRetrieve(client)
|
|
34473
34213
|
);
|
|
34474
34214
|
}
|
|
34475
34215
|
function usePaymentsEndpointGroupsList(params, client) {
|
|
@@ -37275,24 +37015,11 @@ function CurrenciesProvider({ children }) {
|
|
|
37275
37015
|
const refreshCurrencies = async () => {
|
|
37276
37016
|
await mutateCurrencies();
|
|
37277
37017
|
};
|
|
37278
|
-
const getCurrency = async (id) => {
|
|
37279
|
-
const { data } = usePaymentsCurrenciesRetrieve(id, api);
|
|
37280
|
-
return data;
|
|
37281
|
-
};
|
|
37282
|
-
const getCurrencyRates = async (baseCurrency, currencies2) => {
|
|
37283
|
-
const { data } = usePaymentsCurrenciesRatesRetrieve(
|
|
37284
|
-
{ base_currency: baseCurrency, currencies: currencies2 },
|
|
37285
|
-
api
|
|
37286
|
-
);
|
|
37287
|
-
return data;
|
|
37288
|
-
};
|
|
37289
37018
|
const value = {
|
|
37290
37019
|
currencies,
|
|
37291
37020
|
isLoadingCurrencies,
|
|
37292
37021
|
currenciesError,
|
|
37293
|
-
refreshCurrencies
|
|
37294
|
-
getCurrency,
|
|
37295
|
-
getCurrencyRates
|
|
37022
|
+
refreshCurrencies
|
|
37296
37023
|
};
|
|
37297
37024
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CurrenciesContext.Provider, { value, children });
|
|
37298
37025
|
}
|
|
@@ -37318,7 +37045,7 @@ function ApiKeysProvider({ children }) {
|
|
|
37318
37045
|
const refreshApiKeys = async () => {
|
|
37319
37046
|
await mutateApiKeys();
|
|
37320
37047
|
};
|
|
37321
|
-
const createApiKeyMutation =
|
|
37048
|
+
const createApiKeyMutation = useCreatePaymentsApiKeysCreateCreate();
|
|
37322
37049
|
const deleteApiKeyMutation = useDeletePaymentsApiKeysDestroy();
|
|
37323
37050
|
const getApiKey = async (id) => {
|
|
37324
37051
|
const { data } = usePaymentsApiKeysRetrieve(id, api);
|
|
@@ -37371,6 +37098,19 @@ function OverviewProvider({ children }) {
|
|
|
37371
37098
|
const { data: chartData, mutate: mutateChartData } = usePaymentsOverviewDashboardChartDataRetrieve({}, api);
|
|
37372
37099
|
const { data: recentPayments, mutate: mutateRecentPayments } = usePaymentsOverviewDashboardRecentPaymentsList({}, api);
|
|
37373
37100
|
const { data: recentTransactions, mutate: mutateRecentTransactions } = usePaymentsOverviewDashboardRecentTransactionsList({}, api);
|
|
37101
|
+
const {
|
|
37102
|
+
data: balances,
|
|
37103
|
+
error: balancesError,
|
|
37104
|
+
isLoading: isLoadingBalances,
|
|
37105
|
+
mutate: mutateBalances
|
|
37106
|
+
} = usePaymentsBalancesList({}, api);
|
|
37107
|
+
const {
|
|
37108
|
+
data: balanceSummary,
|
|
37109
|
+
error: summaryError,
|
|
37110
|
+
isLoading: isLoadingSummary,
|
|
37111
|
+
mutate: mutateSummary
|
|
37112
|
+
} = usePaymentsBalancesSummaryRetrieve(api);
|
|
37113
|
+
const createPaymentMutation = useCreatePaymentsPaymentCreate();
|
|
37374
37114
|
const isLoadingOverview = isLoadingOverview1;
|
|
37375
37115
|
const refreshOverview = async () => {
|
|
37376
37116
|
await Promise.all([
|
|
@@ -37384,6 +37124,26 @@ function OverviewProvider({ children }) {
|
|
|
37384
37124
|
mutateRecentTransactions()
|
|
37385
37125
|
]);
|
|
37386
37126
|
};
|
|
37127
|
+
const refreshBalances = async () => {
|
|
37128
|
+
await mutateBalances();
|
|
37129
|
+
};
|
|
37130
|
+
const refreshSummary = async () => {
|
|
37131
|
+
await mutateSummary();
|
|
37132
|
+
};
|
|
37133
|
+
const retrieveBalance = async (id) => {
|
|
37134
|
+
try {
|
|
37135
|
+
const result = await getPaymentsBalancesRetrieve(id, api);
|
|
37136
|
+
return result;
|
|
37137
|
+
} catch (error) {
|
|
37138
|
+
defaultLogger.error("Failed to retrieve balance:", error);
|
|
37139
|
+
return void 0;
|
|
37140
|
+
}
|
|
37141
|
+
};
|
|
37142
|
+
const createPayment = async (data) => {
|
|
37143
|
+
const result = await createPaymentMutation(data, api);
|
|
37144
|
+
await refreshOverview();
|
|
37145
|
+
return result;
|
|
37146
|
+
};
|
|
37387
37147
|
const value = {
|
|
37388
37148
|
overview,
|
|
37389
37149
|
metrics,
|
|
@@ -37393,6 +37153,16 @@ function OverviewProvider({ children }) {
|
|
|
37393
37153
|
chartData,
|
|
37394
37154
|
recentPayments,
|
|
37395
37155
|
recentTransactions,
|
|
37156
|
+
balances,
|
|
37157
|
+
isLoadingBalances,
|
|
37158
|
+
balancesError,
|
|
37159
|
+
refreshBalances,
|
|
37160
|
+
balanceSummary,
|
|
37161
|
+
isLoadingSummary,
|
|
37162
|
+
summaryError,
|
|
37163
|
+
refreshSummary,
|
|
37164
|
+
retrieveBalance,
|
|
37165
|
+
createPayment,
|
|
37396
37166
|
isLoadingOverview,
|
|
37397
37167
|
overviewError,
|
|
37398
37168
|
refreshOverview
|
|
@@ -37407,10 +37177,66 @@ function useOverviewContext() {
|
|
|
37407
37177
|
return context;
|
|
37408
37178
|
}
|
|
37409
37179
|
|
|
37410
|
-
// src/cfg/contexts/
|
|
37180
|
+
// src/cfg/contexts/payments/RootPaymentsContext.tsx
|
|
37411
37181
|
var import_react10 = require("react");
|
|
37412
37182
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
37413
|
-
var
|
|
37183
|
+
var RootPaymentsContext = (0, import_react10.createContext)(void 0);
|
|
37184
|
+
function RootPaymentsProvider({ children }) {
|
|
37185
|
+
const {
|
|
37186
|
+
data: currencies,
|
|
37187
|
+
error: currenciesError,
|
|
37188
|
+
isLoading: isLoadingCurrencies,
|
|
37189
|
+
mutate: mutateCurrencies
|
|
37190
|
+
} = usePaymentsCurrenciesList({ page_size: 1e3 }, api);
|
|
37191
|
+
const {
|
|
37192
|
+
data: providerCurrencies,
|
|
37193
|
+
error: providerCurrenciesError,
|
|
37194
|
+
isLoading: isLoadingProviderCurrencies,
|
|
37195
|
+
mutate: mutateProviderCurrencies
|
|
37196
|
+
} = usePaymentsProviderCurrenciesList({ page_size: 1e3 }, api);
|
|
37197
|
+
const {
|
|
37198
|
+
data: networks,
|
|
37199
|
+
error: networksError,
|
|
37200
|
+
isLoading: isLoadingNetworks,
|
|
37201
|
+
mutate: mutateNetworks
|
|
37202
|
+
} = usePaymentsNetworksList({ page_size: 1e3 }, api);
|
|
37203
|
+
const refreshCurrencies = async () => {
|
|
37204
|
+
await mutateCurrencies();
|
|
37205
|
+
};
|
|
37206
|
+
const refreshProviderCurrencies = async () => {
|
|
37207
|
+
await mutateProviderCurrencies();
|
|
37208
|
+
};
|
|
37209
|
+
const refreshNetworks = async () => {
|
|
37210
|
+
await mutateNetworks();
|
|
37211
|
+
};
|
|
37212
|
+
const value = {
|
|
37213
|
+
currencies,
|
|
37214
|
+
isLoadingCurrencies,
|
|
37215
|
+
currenciesError,
|
|
37216
|
+
refreshCurrencies,
|
|
37217
|
+
providerCurrencies,
|
|
37218
|
+
isLoadingProviderCurrencies,
|
|
37219
|
+
providerCurrenciesError,
|
|
37220
|
+
refreshProviderCurrencies,
|
|
37221
|
+
networks,
|
|
37222
|
+
isLoadingNetworks,
|
|
37223
|
+
networksError,
|
|
37224
|
+
refreshNetworks
|
|
37225
|
+
};
|
|
37226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(RootPaymentsContext.Provider, { value, children });
|
|
37227
|
+
}
|
|
37228
|
+
function useRootPaymentsContext() {
|
|
37229
|
+
const context = (0, import_react10.useContext)(RootPaymentsContext);
|
|
37230
|
+
if (!context) {
|
|
37231
|
+
throw new Error("useRootPaymentsContext must be used within RootPaymentsProvider");
|
|
37232
|
+
}
|
|
37233
|
+
return context;
|
|
37234
|
+
}
|
|
37235
|
+
|
|
37236
|
+
// src/cfg/contexts/knowbase/ChatContext.tsx
|
|
37237
|
+
var import_react11 = require("react");
|
|
37238
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
37239
|
+
var KnowbaseChatContext = (0, import_react11.createContext)(void 0);
|
|
37414
37240
|
function KnowbaseChatProvider({ children }) {
|
|
37415
37241
|
const {
|
|
37416
37242
|
data: chats,
|
|
@@ -37471,10 +37297,10 @@ function KnowbaseChatProvider({ children }) {
|
|
|
37471
37297
|
deleteChat,
|
|
37472
37298
|
sendQuery
|
|
37473
37299
|
};
|
|
37474
|
-
return /* @__PURE__ */ (0,
|
|
37300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(KnowbaseChatContext.Provider, { value, children });
|
|
37475
37301
|
}
|
|
37476
37302
|
function useKnowbaseChatContext() {
|
|
37477
|
-
const context = (0,
|
|
37303
|
+
const context = (0, import_react11.useContext)(KnowbaseChatContext);
|
|
37478
37304
|
if (!context) {
|
|
37479
37305
|
throw new Error("useKnowbaseChatContext must be used within KnowbaseChatProvider");
|
|
37480
37306
|
}
|
|
@@ -37482,9 +37308,9 @@ function useKnowbaseChatContext() {
|
|
|
37482
37308
|
}
|
|
37483
37309
|
|
|
37484
37310
|
// src/cfg/contexts/knowbase/DocumentsContext.tsx
|
|
37485
|
-
var
|
|
37486
|
-
var
|
|
37487
|
-
var KnowbaseDocumentsContext = (0,
|
|
37311
|
+
var import_react12 = require("react");
|
|
37312
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
37313
|
+
var KnowbaseDocumentsContext = (0, import_react12.createContext)(
|
|
37488
37314
|
void 0
|
|
37489
37315
|
);
|
|
37490
37316
|
function KnowbaseDocumentsProvider({ children }) {
|
|
@@ -37603,10 +37429,10 @@ function KnowbaseDocumentsProvider({ children }) {
|
|
|
37603
37429
|
partialUpdateArchive,
|
|
37604
37430
|
deleteArchive
|
|
37605
37431
|
};
|
|
37606
|
-
return /* @__PURE__ */ (0,
|
|
37432
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(KnowbaseDocumentsContext.Provider, { value, children });
|
|
37607
37433
|
}
|
|
37608
37434
|
function useKnowbaseDocumentsContext() {
|
|
37609
|
-
const context = (0,
|
|
37435
|
+
const context = (0, import_react12.useContext)(KnowbaseDocumentsContext);
|
|
37610
37436
|
if (!context) {
|
|
37611
37437
|
throw new Error("useKnowbaseDocumentsContext must be used within KnowbaseDocumentsProvider");
|
|
37612
37438
|
}
|
|
@@ -37614,9 +37440,9 @@ function useKnowbaseDocumentsContext() {
|
|
|
37614
37440
|
}
|
|
37615
37441
|
|
|
37616
37442
|
// src/cfg/contexts/knowbase/SessionsContext.tsx
|
|
37617
|
-
var
|
|
37618
|
-
var
|
|
37619
|
-
var KnowbaseSessionsContext = (0,
|
|
37443
|
+
var import_react13 = require("react");
|
|
37444
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
37445
|
+
var KnowbaseSessionsContext = (0, import_react13.createContext)(void 0);
|
|
37620
37446
|
function KnowbaseSessionsProvider({ children }) {
|
|
37621
37447
|
const {
|
|
37622
37448
|
data: sessions,
|
|
@@ -37679,10 +37505,10 @@ function KnowbaseSessionsProvider({ children }) {
|
|
|
37679
37505
|
activateSession,
|
|
37680
37506
|
archiveSession
|
|
37681
37507
|
};
|
|
37682
|
-
return /* @__PURE__ */ (0,
|
|
37508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(KnowbaseSessionsContext.Provider, { value, children });
|
|
37683
37509
|
}
|
|
37684
37510
|
function useKnowbaseSessionsContext() {
|
|
37685
|
-
const context = (0,
|
|
37511
|
+
const context = (0, import_react13.useContext)(KnowbaseSessionsContext);
|
|
37686
37512
|
if (!context) {
|
|
37687
37513
|
throw new Error("useKnowbaseSessionsContext must be used within KnowbaseSessionsProvider");
|
|
37688
37514
|
}
|
|
@@ -37746,6 +37572,7 @@ function useKnowbaseSessionsContext() {
|
|
|
37746
37572
|
PaymentsProvider,
|
|
37747
37573
|
PaymentsService,
|
|
37748
37574
|
REFRESH_TOKEN_KEY,
|
|
37575
|
+
RootPaymentsProvider,
|
|
37749
37576
|
Schemas,
|
|
37750
37577
|
SubscriptionsService,
|
|
37751
37578
|
SupportProvider,
|
|
@@ -37756,302 +37583,11 @@ function useKnowbaseSessionsContext() {
|
|
|
37756
37583
|
api,
|
|
37757
37584
|
clearAPITokens,
|
|
37758
37585
|
configureAPI,
|
|
37759
|
-
createAccountsOtpRequestCreate,
|
|
37760
|
-
createAccountsOtpVerifyCreate,
|
|
37761
|
-
createAccountsProfileAvatarCreate,
|
|
37762
|
-
createAccountsTokenRefreshCreate,
|
|
37763
|
-
createKnowbaseAdminChatCreate,
|
|
37764
|
-
createKnowbaseAdminChatQueryCreate,
|
|
37765
|
-
createKnowbaseAdminDocumentsCreate,
|
|
37766
|
-
createKnowbaseAdminDocumentsReprocessCreate,
|
|
37767
|
-
createKnowbaseAdminSessionsActivateCreate,
|
|
37768
|
-
createKnowbaseAdminSessionsArchiveCreate,
|
|
37769
|
-
createKnowbaseAdminSessionsCreate,
|
|
37770
|
-
createKnowbaseSystemArchivesCreate,
|
|
37771
|
-
createKnowbaseSystemArchivesRevectorizeCreate,
|
|
37772
|
-
createKnowbaseSystemArchivesSearchCreate,
|
|
37773
|
-
createKnowbaseSystemChunksCreate,
|
|
37774
|
-
createKnowbaseSystemChunksVectorizeCreate,
|
|
37775
|
-
createKnowbaseSystemItemsCreate,
|
|
37776
|
-
createLeadsCreate,
|
|
37777
|
-
createLeadsSubmitCreate,
|
|
37778
|
-
createNewsletterBulkCreate,
|
|
37779
|
-
createNewsletterCampaignsCreate,
|
|
37780
|
-
createNewsletterCampaignsSendCreate,
|
|
37781
|
-
createNewsletterSubscribeCreate,
|
|
37782
|
-
createNewsletterTestCreate,
|
|
37783
|
-
createNewsletterUnsubscribeCreate,
|
|
37784
|
-
createPaymentsAdminApiPaymentsCancelCreate,
|
|
37785
|
-
createPaymentsAdminApiPaymentsCreate,
|
|
37786
|
-
createPaymentsAdminApiPaymentsRefreshStatusCreate,
|
|
37787
|
-
createPaymentsAdminApiPaymentsRefundCreate,
|
|
37788
|
-
createPaymentsAdminApiWebhookTestTestCreate,
|
|
37789
|
-
createPaymentsAdminApiWebhooksEventsClearAllCreate,
|
|
37790
|
-
createPaymentsAdminApiWebhooksEventsRetryCreate,
|
|
37791
|
-
createPaymentsAdminApiWebhooksEventsRetryFailedCreate,
|
|
37792
|
-
createPaymentsApiKeysCreate,
|
|
37793
|
-
createPaymentsApiKeysCreateCreate,
|
|
37794
|
-
createPaymentsApiKeysPerformActionCreate,
|
|
37795
|
-
createPaymentsApiKeysValidateCreate,
|
|
37796
|
-
createPaymentsApiKeysValidateKeyCreate,
|
|
37797
|
-
createPaymentsCurrenciesConvertCreate,
|
|
37798
|
-
createPaymentsCurrenciesCreate,
|
|
37799
|
-
createPaymentsPaymentCancelCreate,
|
|
37800
|
-
createPaymentsPaymentCheckStatusCreate,
|
|
37801
|
-
createPaymentsPaymentCreate,
|
|
37802
|
-
createPaymentsPaymentCreateCreate,
|
|
37803
|
-
createPaymentsSubscriptionsCreate,
|
|
37804
|
-
createPaymentsSubscriptionsIncrementUsageCreate,
|
|
37805
|
-
createPaymentsSubscriptionsUpdateStatusCreate,
|
|
37806
|
-
createPaymentsUsersApiKeysCreate,
|
|
37807
|
-
createPaymentsUsersApiKeysPerformActionCreate,
|
|
37808
|
-
createPaymentsUsersCancelCreate,
|
|
37809
|
-
createPaymentsUsersCheckStatusCreate,
|
|
37810
|
-
createPaymentsUsersCreate,
|
|
37811
|
-
createPaymentsUsersPaymentCancelCreate,
|
|
37812
|
-
createPaymentsUsersPaymentCheckStatusCreate,
|
|
37813
|
-
createPaymentsUsersPaymentCreate,
|
|
37814
|
-
createPaymentsUsersSubscriptionsCreate,
|
|
37815
|
-
createPaymentsUsersSubscriptionsIncrementUsageCreate,
|
|
37816
|
-
createPaymentsUsersSubscriptionsUpdateStatusCreate,
|
|
37817
|
-
createPaymentsWebhooksCreate,
|
|
37818
|
-
createSupportTicketsCreate,
|
|
37819
|
-
createSupportTicketsMessagesCreate,
|
|
37820
|
-
createTasksApiClearCreate,
|
|
37821
|
-
createTasksApiClearQueuesCreate,
|
|
37822
|
-
createTasksApiPurgeFailedCreate,
|
|
37823
|
-
createTasksApiQueuesManageCreate,
|
|
37824
|
-
createTasksApiSimulateCreate,
|
|
37825
|
-
createTasksApiWorkersManageCreate,
|
|
37826
|
-
deleteKnowbaseAdminChatDestroy,
|
|
37827
|
-
deleteKnowbaseAdminDocumentsDestroy,
|
|
37828
|
-
deleteKnowbaseAdminSessionsDestroy,
|
|
37829
|
-
deleteKnowbaseSystemArchivesDestroy,
|
|
37830
|
-
deleteKnowbaseSystemChunksDestroy,
|
|
37831
|
-
deleteKnowbaseSystemItemsDestroy,
|
|
37832
|
-
deleteLeadsDestroy,
|
|
37833
|
-
deleteNewsletterCampaignsDestroy,
|
|
37834
|
-
deletePaymentsAdminApiPaymentsDestroy,
|
|
37835
|
-
deletePaymentsApiKeysDestroy,
|
|
37836
|
-
deletePaymentsPaymentDestroy,
|
|
37837
|
-
deletePaymentsSubscriptionsDestroy,
|
|
37838
|
-
deletePaymentsUsersApiKeysDestroy,
|
|
37839
|
-
deletePaymentsUsersDestroy,
|
|
37840
|
-
deletePaymentsUsersPaymentDestroy,
|
|
37841
|
-
deletePaymentsUsersSubscriptionsDestroy,
|
|
37842
|
-
deleteSupportTicketsDestroy,
|
|
37843
|
-
deleteSupportTicketsMessagesDestroy,
|
|
37844
37586
|
getAPIInstance,
|
|
37845
|
-
getAccountsProfileRetrieve,
|
|
37846
|
-
getEndpointsDrfRetrieve,
|
|
37847
|
-
getHealthDrfQuickRetrieve,
|
|
37848
|
-
getHealthDrfRetrieve,
|
|
37849
|
-
getKnowbaseAdminChatHistoryRetrieve,
|
|
37850
|
-
getKnowbaseAdminChatList,
|
|
37851
|
-
getKnowbaseAdminChatRetrieve,
|
|
37852
|
-
getKnowbaseAdminDocumentsList,
|
|
37853
|
-
getKnowbaseAdminDocumentsRetrieve,
|
|
37854
|
-
getKnowbaseAdminDocumentsStatsRetrieve,
|
|
37855
|
-
getKnowbaseAdminDocumentsStatusRetrieve,
|
|
37856
|
-
getKnowbaseAdminSessionsList,
|
|
37857
|
-
getKnowbaseAdminSessionsRetrieve,
|
|
37858
|
-
getKnowbaseCategoriesList,
|
|
37859
|
-
getKnowbaseCategoriesRetrieve,
|
|
37860
|
-
getKnowbaseDocumentsList,
|
|
37861
|
-
getKnowbaseDocumentsRetrieve,
|
|
37862
|
-
getKnowbaseSystemArchivesFileTreeRetrieve,
|
|
37863
|
-
getKnowbaseSystemArchivesItemsList,
|
|
37864
|
-
getKnowbaseSystemArchivesList,
|
|
37865
|
-
getKnowbaseSystemArchivesRetrieve,
|
|
37866
|
-
getKnowbaseSystemArchivesStatisticsRetrieve,
|
|
37867
|
-
getKnowbaseSystemArchivesVectorizationStatsRetrieve,
|
|
37868
|
-
getKnowbaseSystemChunksContextRetrieve,
|
|
37869
|
-
getKnowbaseSystemChunksList,
|
|
37870
|
-
getKnowbaseSystemChunksRetrieve,
|
|
37871
|
-
getKnowbaseSystemItemsChunksList,
|
|
37872
|
-
getKnowbaseSystemItemsContentRetrieve,
|
|
37873
|
-
getKnowbaseSystemItemsList,
|
|
37874
|
-
getKnowbaseSystemItemsRetrieve,
|
|
37875
|
-
getLeadsList,
|
|
37876
|
-
getLeadsRetrieve,
|
|
37877
|
-
getNewsletterCampaignsList,
|
|
37878
|
-
getNewsletterCampaignsRetrieve,
|
|
37879
|
-
getNewsletterLogsList,
|
|
37880
|
-
getNewsletterNewslettersList,
|
|
37881
|
-
getNewsletterNewslettersRetrieve,
|
|
37882
|
-
getNewsletterSubscriptionsList,
|
|
37883
|
-
getPaymentsAdminApiPaymentsList,
|
|
37884
|
-
getPaymentsAdminApiPaymentsRetrieve,
|
|
37885
|
-
getPaymentsAdminApiPaymentsStatsRetrieve,
|
|
37886
|
-
getPaymentsAdminApiStatsList,
|
|
37887
|
-
getPaymentsAdminApiStatsPaymentsRetrieve,
|
|
37888
|
-
getPaymentsAdminApiStatsRetrieve,
|
|
37889
|
-
getPaymentsAdminApiStatsSystemRetrieve,
|
|
37890
|
-
getPaymentsAdminApiStatsWebhooksRetrieve,
|
|
37891
|
-
getPaymentsAdminApiUsersList,
|
|
37892
|
-
getPaymentsAdminApiUsersRetrieve,
|
|
37893
|
-
getPaymentsAdminApiWebhooksEventsList,
|
|
37894
|
-
getPaymentsAdminApiWebhooksEventsRetrieve,
|
|
37895
|
-
getPaymentsAdminApiWebhooksList,
|
|
37896
|
-
getPaymentsAdminApiWebhooksRetrieve,
|
|
37897
|
-
getPaymentsAdminApiWebhooksStatsRetrieve,
|
|
37898
|
-
getPaymentsApiKeysAnalyticsRetrieve,
|
|
37899
|
-
getPaymentsApiKeysByUserRetrieve,
|
|
37900
|
-
getPaymentsApiKeysExpiringSoonRetrieve,
|
|
37901
|
-
getPaymentsApiKeysHealthRetrieve,
|
|
37902
|
-
getPaymentsApiKeysList,
|
|
37903
|
-
getPaymentsApiKeysRetrieve,
|
|
37904
|
-
getPaymentsApiKeysStatsRetrieve,
|
|
37905
|
-
getPaymentsBalancesAnalyticsRetrieve,
|
|
37906
|
-
getPaymentsBalancesHealthRetrieve,
|
|
37907
|
-
getPaymentsBalancesList,
|
|
37908
|
-
getPaymentsBalancesRetrieve,
|
|
37909
|
-
getPaymentsBalancesStatsRetrieve,
|
|
37910
|
-
getPaymentsBalancesSummaryRetrieve,
|
|
37911
|
-
getPaymentsCurrenciesCryptoRetrieve,
|
|
37912
|
-
getPaymentsCurrenciesFiatRetrieve,
|
|
37913
|
-
getPaymentsCurrenciesHealthRetrieve,
|
|
37914
|
-
getPaymentsCurrenciesList,
|
|
37915
|
-
getPaymentsCurrenciesNetworksRetrieve,
|
|
37916
|
-
getPaymentsCurrenciesProvidersRetrieve,
|
|
37917
|
-
getPaymentsCurrenciesRatesRetrieve,
|
|
37918
|
-
getPaymentsCurrenciesRetrieve,
|
|
37919
|
-
getPaymentsCurrenciesStableRetrieve,
|
|
37920
|
-
getPaymentsCurrenciesStatsRetrieve,
|
|
37921
|
-
getPaymentsCurrenciesSupportedRetrieve,
|
|
37922
|
-
getPaymentsEndpointGroupsAvailableRetrieve,
|
|
37923
|
-
getPaymentsEndpointGroupsHealthRetrieve,
|
|
37924
|
-
getPaymentsEndpointGroupsList,
|
|
37925
|
-
getPaymentsEndpointGroupsRetrieve,
|
|
37926
|
-
getPaymentsEndpointGroupsStatsRetrieve,
|
|
37927
|
-
getPaymentsHealthRetrieve,
|
|
37928
|
-
getPaymentsNetworksByCurrencyRetrieve,
|
|
37929
|
-
getPaymentsNetworksHealthRetrieve,
|
|
37930
|
-
getPaymentsNetworksList,
|
|
37931
|
-
getPaymentsNetworksRetrieve,
|
|
37932
|
-
getPaymentsNetworksStatsRetrieve,
|
|
37933
|
-
getPaymentsOverviewDashboardApiKeysOverviewRetrieve,
|
|
37934
|
-
getPaymentsOverviewDashboardBalanceOverviewRetrieve,
|
|
37935
|
-
getPaymentsOverviewDashboardChartDataRetrieve,
|
|
37936
|
-
getPaymentsOverviewDashboardMetricsRetrieve,
|
|
37937
|
-
getPaymentsOverviewDashboardOverviewRetrieve,
|
|
37938
|
-
getPaymentsOverviewDashboardPaymentAnalyticsRetrieve,
|
|
37939
|
-
getPaymentsOverviewDashboardRecentPaymentsList,
|
|
37940
|
-
getPaymentsOverviewDashboardRecentTransactionsList,
|
|
37941
|
-
getPaymentsOverviewDashboardSubscriptionOverviewRetrieve,
|
|
37942
|
-
getPaymentsPaymentAnalyticsRetrieve,
|
|
37943
|
-
getPaymentsPaymentByProviderRetrieve,
|
|
37944
|
-
getPaymentsPaymentHealthRetrieve,
|
|
37945
|
-
getPaymentsPaymentList,
|
|
37946
|
-
getPaymentsPaymentRetrieve,
|
|
37947
|
-
getPaymentsPaymentStatsRetrieve,
|
|
37948
|
-
getPaymentsPaymentStatusRetrieve,
|
|
37949
|
-
getPaymentsProviderCurrenciesByProviderRetrieve,
|
|
37950
|
-
getPaymentsProviderCurrenciesHealthRetrieve,
|
|
37951
|
-
getPaymentsProviderCurrenciesLimitsRetrieve,
|
|
37952
|
-
getPaymentsProviderCurrenciesList,
|
|
37953
|
-
getPaymentsProviderCurrenciesRetrieve,
|
|
37954
|
-
getPaymentsProviderCurrenciesStatsRetrieve,
|
|
37955
|
-
getPaymentsSubscriptionsAnalyticsRetrieve,
|
|
37956
|
-
getPaymentsSubscriptionsByStatusRetrieve,
|
|
37957
|
-
getPaymentsSubscriptionsByTierRetrieve,
|
|
37958
|
-
getPaymentsSubscriptionsHealthRetrieve,
|
|
37959
|
-
getPaymentsSubscriptionsList,
|
|
37960
|
-
getPaymentsSubscriptionsRetrieve,
|
|
37961
|
-
getPaymentsSubscriptionsStatsRetrieve,
|
|
37962
|
-
getPaymentsTariffsEndpointGroupsRetrieve,
|
|
37963
|
-
getPaymentsTariffsFreeRetrieve,
|
|
37964
|
-
getPaymentsTariffsHealthRetrieve,
|
|
37965
|
-
getPaymentsTariffsList,
|
|
37966
|
-
getPaymentsTariffsPaidRetrieve,
|
|
37967
|
-
getPaymentsTariffsRetrieve,
|
|
37968
|
-
getPaymentsTariffsStatsRetrieve,
|
|
37969
|
-
getPaymentsTransactionsByTypeRetrieve,
|
|
37970
|
-
getPaymentsTransactionsHealthRetrieve,
|
|
37971
|
-
getPaymentsTransactionsList,
|
|
37972
|
-
getPaymentsTransactionsRecentRetrieve,
|
|
37973
|
-
getPaymentsTransactionsRetrieve,
|
|
37974
|
-
getPaymentsTransactionsStatsRetrieve,
|
|
37975
|
-
getPaymentsUsersApiKeysActiveRetrieve,
|
|
37976
|
-
getPaymentsUsersApiKeysHealthRetrieve,
|
|
37977
|
-
getPaymentsUsersApiKeysList,
|
|
37978
|
-
getPaymentsUsersApiKeysRetrieve,
|
|
37979
|
-
getPaymentsUsersApiKeysStatsRetrieve,
|
|
37980
|
-
getPaymentsUsersApiKeysSummaryRetrieve,
|
|
37981
|
-
getPaymentsUsersHealthRetrieve,
|
|
37982
|
-
getPaymentsUsersList,
|
|
37983
|
-
getPaymentsUsersPaymentHealthRetrieve,
|
|
37984
|
-
getPaymentsUsersPaymentList,
|
|
37985
|
-
getPaymentsUsersPaymentRetrieve,
|
|
37986
|
-
getPaymentsUsersPaymentStatsRetrieve,
|
|
37987
|
-
getPaymentsUsersPaymentSummaryRetrieve,
|
|
37988
|
-
getPaymentsUsersRetrieve,
|
|
37989
|
-
getPaymentsUsersStatsRetrieve,
|
|
37990
|
-
getPaymentsUsersSubscriptionsActiveRetrieve,
|
|
37991
|
-
getPaymentsUsersSubscriptionsHealthRetrieve,
|
|
37992
|
-
getPaymentsUsersSubscriptionsList,
|
|
37993
|
-
getPaymentsUsersSubscriptionsRetrieve,
|
|
37994
|
-
getPaymentsUsersSubscriptionsStatsRetrieve,
|
|
37995
|
-
getPaymentsUsersSubscriptionsSummaryRetrieve,
|
|
37996
|
-
getPaymentsUsersSummaryRetrieve,
|
|
37997
|
-
getPaymentsWebhooksHealthRetrieve,
|
|
37998
|
-
getPaymentsWebhooksProvidersRetrieve,
|
|
37999
|
-
getPaymentsWebhooksRetrieve,
|
|
38000
|
-
getPaymentsWebhooksStatsRetrieve,
|
|
38001
|
-
getSupportTicketsList,
|
|
38002
|
-
getSupportTicketsMessagesList,
|
|
38003
|
-
getSupportTicketsMessagesRetrieve,
|
|
38004
|
-
getSupportTicketsRetrieve,
|
|
38005
|
-
getTasksApiQueuesStatusRetrieve,
|
|
38006
|
-
getTasksApiTasksListRetrieve,
|
|
38007
|
-
getTasksApiTasksStatsRetrieve,
|
|
38008
|
-
getTasksApiWorkersListRetrieve,
|
|
38009
37587
|
isAPIConfigured,
|
|
38010
|
-
partialUpdateAccountsProfilePartialPartialUpdate,
|
|
38011
|
-
partialUpdateAccountsProfilePartialUpdate,
|
|
38012
|
-
partialUpdateAccountsProfileUpdatePartialUpdate,
|
|
38013
|
-
partialUpdateKnowbaseAdminChatPartialUpdate,
|
|
38014
|
-
partialUpdateKnowbaseAdminDocumentsPartialUpdate,
|
|
38015
|
-
partialUpdateKnowbaseAdminSessionsPartialUpdate,
|
|
38016
|
-
partialUpdateKnowbaseSystemArchivesPartialUpdate,
|
|
38017
|
-
partialUpdateKnowbaseSystemChunksPartialUpdate,
|
|
38018
|
-
partialUpdateKnowbaseSystemItemsPartialUpdate,
|
|
38019
|
-
partialUpdateLeadsPartialUpdate,
|
|
38020
|
-
partialUpdateNewsletterCampaignsPartialUpdate,
|
|
38021
|
-
partialUpdateNewsletterUnsubscribePartialUpdate,
|
|
38022
|
-
partialUpdatePaymentsAdminApiPaymentsPartialUpdate,
|
|
38023
|
-
partialUpdatePaymentsApiKeysPartialUpdate,
|
|
38024
|
-
partialUpdatePaymentsPaymentPartialUpdate,
|
|
38025
|
-
partialUpdatePaymentsSubscriptionsPartialUpdate,
|
|
38026
|
-
partialUpdatePaymentsUsersApiKeysPartialUpdate,
|
|
38027
|
-
partialUpdatePaymentsUsersPartialUpdate,
|
|
38028
|
-
partialUpdatePaymentsUsersPaymentPartialUpdate,
|
|
38029
|
-
partialUpdatePaymentsUsersSubscriptionsPartialUpdate,
|
|
38030
|
-
partialUpdateSupportTicketsMessagesPartialUpdate,
|
|
38031
|
-
partialUpdateSupportTicketsPartialUpdate,
|
|
38032
37588
|
reconfigureAPI,
|
|
38033
37589
|
resetAPI,
|
|
38034
37590
|
shouldRetry,
|
|
38035
|
-
updateAccountsProfileUpdateUpdate,
|
|
38036
|
-
updateKnowbaseAdminChatUpdate,
|
|
38037
|
-
updateKnowbaseAdminDocumentsUpdate,
|
|
38038
|
-
updateKnowbaseAdminSessionsUpdate,
|
|
38039
|
-
updateKnowbaseSystemArchivesUpdate,
|
|
38040
|
-
updateKnowbaseSystemChunksUpdate,
|
|
38041
|
-
updateKnowbaseSystemItemsUpdate,
|
|
38042
|
-
updateLeadsUpdate,
|
|
38043
|
-
updateNewsletterCampaignsUpdate,
|
|
38044
|
-
updateNewsletterUnsubscribeUpdate,
|
|
38045
|
-
updatePaymentsAdminApiPaymentsUpdate,
|
|
38046
|
-
updatePaymentsApiKeysUpdate,
|
|
38047
|
-
updatePaymentsPaymentUpdate,
|
|
38048
|
-
updatePaymentsSubscriptionsUpdate,
|
|
38049
|
-
updatePaymentsUsersApiKeysUpdate,
|
|
38050
|
-
updatePaymentsUsersPaymentUpdate,
|
|
38051
|
-
updatePaymentsUsersSubscriptionsUpdate,
|
|
38052
|
-
updatePaymentsUsersUpdate,
|
|
38053
|
-
updateSupportTicketsMessagesUpdate,
|
|
38054
|
-
updateSupportTicketsUpdate,
|
|
38055
37591
|
useAccountsContext,
|
|
38056
37592
|
useApiKeysContext,
|
|
38057
37593
|
useBalancesContext,
|
|
@@ -38063,6 +37599,7 @@ function useKnowbaseSessionsContext() {
|
|
|
38063
37599
|
useNewsletterContext,
|
|
38064
37600
|
useOverviewContext,
|
|
38065
37601
|
usePaymentsContext,
|
|
37602
|
+
useRootPaymentsContext,
|
|
38066
37603
|
useSupportContext,
|
|
38067
37604
|
withRetry
|
|
38068
37605
|
});
|