@djangocfg/api 1.2.6 → 1.2.8
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 +3023 -1755
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2542 -908
- package/dist/index.d.ts +2542 -908
- package/dist/index.mjs +2959 -1707
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +6 -7
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +12 -13
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +8 -9
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +8 -9
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_activity.ts +61 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_api_zones.ts +62 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_charts.ts +90 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +92 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_overview.ts +48 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_statistics.ts +76 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_system.ts +63 -0
- package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +3 -4
- package/src/cfg/generated/_utils/fetchers/cfg__health.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +57 -58
- package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +6 -7
- package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +3 -4
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +6 -7
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +3 -4
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +8 -9
- package/src/cfg/generated/_utils/fetchers/cfg__support.ts +12 -13
- package/src/cfg/generated/_utils/fetchers/cfg__tasks.ts +10 -11
- package/src/cfg/generated/_utils/fetchers/index.ts +7 -1
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_activity.ts +49 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_api_zones.ts +50 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_charts.ts +78 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts +84 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_overview.ts +36 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_statistics.ts +64 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_system.ts +51 -0
- package/src/cfg/generated/_utils/hooks/index.ts +7 -1
- package/src/cfg/generated/_utils/schemas/APIZone.schema.ts +27 -0
- package/src/cfg/generated/_utils/schemas/APIZonesSummary.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ActivityTrackerDay.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/ChartData.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ChartDataset.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/Command.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/CommandHelpResponse.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/RecentUser.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/index.ts +10 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_activity/client.ts +45 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_activity/models.ts +0 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/client.ts +34 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/models.ts +27 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_charts/client.ts +98 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_charts/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_charts/models.ts +24 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/client.ts +55 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +58 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/client.ts +25 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/models.ts +23 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_statistics/client.ts +44 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_statistics/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_statistics/models.ts +16 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_system/client.ts +34 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_system/index.ts +2 -0
- package/src/cfg/generated/{cfg__dashboard → cfg__dashboard__dashboard_system}/models.ts +0 -39
- package/src/cfg/generated/client.ts +32 -12
- package/src/cfg/generated/http.ts +8 -3
- package/src/cfg/generated/index.ts +35 -5
- package/src/cfg/generated/schema.ts +776 -22
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard.ts +0 -150
- package/src/cfg/generated/_utils/hooks/cfg__dashboard.ts +0 -137
- package/src/cfg/generated/cfg__dashboard/client.ts +0 -106
- /package/src/cfg/generated/{cfg__dashboard → cfg__dashboard__dashboard_activity}/index.ts +0 -0
|
@@ -74,7 +74,6 @@ import { PublicDocumentSchema, type PublicDocument } from '../schemas/PublicDocu
|
|
|
74
74
|
import { VectorizationResultSchema, type VectorizationResult } from '../schemas/VectorizationResult.schema'
|
|
75
75
|
import { VectorizationStatisticsSchema, type VectorizationStatistics } from '../schemas/VectorizationStatistics.schema'
|
|
76
76
|
import { getAPIInstance } from '../../api-instance'
|
|
77
|
-
import type { API } from '../../index'
|
|
78
77
|
|
|
79
78
|
/**
|
|
80
79
|
* API operation
|
|
@@ -82,7 +81,7 @@ import type { API } from '../../index'
|
|
|
82
81
|
* @method GET
|
|
83
82
|
* @path /cfg/knowbase/admin/chat/
|
|
84
83
|
*/
|
|
85
|
-
export async function getKnowbaseAdminChatList( params?: { page?: number; page_size?: number }, client?:
|
|
84
|
+
export async function getKnowbaseAdminChatList( params?: { page?: number; page_size?: number }, client?: any
|
|
86
85
|
): Promise<PaginatedChatResponseList> {
|
|
87
86
|
const api = client || getAPIInstance()
|
|
88
87
|
const response = await api.cfg_knowbase.adminChatList(params?.page, params?.page_size)
|
|
@@ -96,7 +95,7 @@ export async function getKnowbaseAdminChatList( params?: { page?: number; page_
|
|
|
96
95
|
* @method POST
|
|
97
96
|
* @path /cfg/knowbase/admin/chat/
|
|
98
97
|
*/
|
|
99
|
-
export async function createKnowbaseAdminChatCreate( data: ChatResponseRequest, client?:
|
|
98
|
+
export async function createKnowbaseAdminChatCreate( data: ChatResponseRequest, client?: any
|
|
100
99
|
): Promise<ChatResponse> {
|
|
101
100
|
const api = client || getAPIInstance()
|
|
102
101
|
const response = await api.cfg_knowbase.adminChatCreate(data)
|
|
@@ -110,7 +109,7 @@ export async function createKnowbaseAdminChatCreate( data: ChatResponseRequest,
|
|
|
110
109
|
* @method GET
|
|
111
110
|
* @path /cfg/knowbase/admin/chat/{id}/
|
|
112
111
|
*/
|
|
113
|
-
export async function getKnowbaseAdminChatRetrieve( id: string, client?:
|
|
112
|
+
export async function getKnowbaseAdminChatRetrieve( id: string, client?: any
|
|
114
113
|
): Promise<ChatResponse> {
|
|
115
114
|
const api = client || getAPIInstance()
|
|
116
115
|
const response = await api.cfg_knowbase.adminChatRetrieve(id)
|
|
@@ -124,7 +123,7 @@ export async function getKnowbaseAdminChatRetrieve( id: string, client?: API
|
|
|
124
123
|
* @method PUT
|
|
125
124
|
* @path /cfg/knowbase/admin/chat/{id}/
|
|
126
125
|
*/
|
|
127
|
-
export async function updateKnowbaseAdminChatUpdate( id: string, data: ChatResponseRequest, client?:
|
|
126
|
+
export async function updateKnowbaseAdminChatUpdate( id: string, data: ChatResponseRequest, client?: any
|
|
128
127
|
): Promise<ChatResponse> {
|
|
129
128
|
const api = client || getAPIInstance()
|
|
130
129
|
const response = await api.cfg_knowbase.adminChatUpdate(id, data)
|
|
@@ -138,7 +137,7 @@ export async function updateKnowbaseAdminChatUpdate( id: string, data: ChatResp
|
|
|
138
137
|
* @method PATCH
|
|
139
138
|
* @path /cfg/knowbase/admin/chat/{id}/
|
|
140
139
|
*/
|
|
141
|
-
export async function partialUpdateKnowbaseAdminChatPartialUpdate( id: string, data?: PatchedChatResponseRequest, client?:
|
|
140
|
+
export async function partialUpdateKnowbaseAdminChatPartialUpdate( id: string, data?: PatchedChatResponseRequest, client?: any
|
|
142
141
|
): Promise<ChatResponse> {
|
|
143
142
|
const api = client || getAPIInstance()
|
|
144
143
|
const response = await api.cfg_knowbase.adminChatPartialUpdate(id, data)
|
|
@@ -152,7 +151,7 @@ export async function partialUpdateKnowbaseAdminChatPartialUpdate( id: string,
|
|
|
152
151
|
* @method DELETE
|
|
153
152
|
* @path /cfg/knowbase/admin/chat/{id}/
|
|
154
153
|
*/
|
|
155
|
-
export async function deleteKnowbaseAdminChatDestroy( id: string, client?:
|
|
154
|
+
export async function deleteKnowbaseAdminChatDestroy( id: string, client?: any
|
|
156
155
|
): Promise<void> {
|
|
157
156
|
const api = client || getAPIInstance()
|
|
158
157
|
const response = await api.cfg_knowbase.adminChatDestroy(id)
|
|
@@ -166,7 +165,7 @@ export async function deleteKnowbaseAdminChatDestroy( id: string, client?: API
|
|
|
166
165
|
* @method GET
|
|
167
166
|
* @path /cfg/knowbase/admin/chat/{id}/history/
|
|
168
167
|
*/
|
|
169
|
-
export async function getKnowbaseAdminChatHistoryRetrieve( id: string, client?:
|
|
168
|
+
export async function getKnowbaseAdminChatHistoryRetrieve( id: string, client?: any
|
|
170
169
|
): Promise<ChatHistory> {
|
|
171
170
|
const api = client || getAPIInstance()
|
|
172
171
|
const response = await api.cfg_knowbase.adminChatHistoryRetrieve(id)
|
|
@@ -180,7 +179,7 @@ export async function getKnowbaseAdminChatHistoryRetrieve( id: string, client?
|
|
|
180
179
|
* @method POST
|
|
181
180
|
* @path /cfg/knowbase/admin/chat/query/
|
|
182
181
|
*/
|
|
183
|
-
export async function createKnowbaseAdminChatQueryCreate( data: ChatQueryRequest, client?:
|
|
182
|
+
export async function createKnowbaseAdminChatQueryCreate( data: ChatQueryRequest, client?: any
|
|
184
183
|
): Promise<ChatResponse> {
|
|
185
184
|
const api = client || getAPIInstance()
|
|
186
185
|
const response = await api.cfg_knowbase.adminChatQueryCreate(data)
|
|
@@ -194,7 +193,7 @@ export async function createKnowbaseAdminChatQueryCreate( data: ChatQueryReques
|
|
|
194
193
|
* @method GET
|
|
195
194
|
* @path /cfg/knowbase/admin/documents/
|
|
196
195
|
*/
|
|
197
|
-
export async function getKnowbaseAdminDocumentsList( params?: { page?: number; page_size?: number; status?: string }, client?:
|
|
196
|
+
export async function getKnowbaseAdminDocumentsList( params?: { page?: number; page_size?: number; status?: string }, client?: any
|
|
198
197
|
): Promise<PaginatedDocumentList> {
|
|
199
198
|
const api = client || getAPIInstance()
|
|
200
199
|
const response = await api.cfg_knowbase.adminDocumentsList(params?.page, params?.page_size, params?.status)
|
|
@@ -208,7 +207,7 @@ export async function getKnowbaseAdminDocumentsList( params?: { page?: number;
|
|
|
208
207
|
* @method POST
|
|
209
208
|
* @path /cfg/knowbase/admin/documents/
|
|
210
209
|
*/
|
|
211
|
-
export async function createKnowbaseAdminDocumentsCreate( data: DocumentCreateRequest, client?:
|
|
210
|
+
export async function createKnowbaseAdminDocumentsCreate( data: DocumentCreateRequest, client?: any
|
|
212
211
|
): Promise<Document> {
|
|
213
212
|
const api = client || getAPIInstance()
|
|
214
213
|
const response = await api.cfg_knowbase.adminDocumentsCreate(data)
|
|
@@ -222,7 +221,7 @@ export async function createKnowbaseAdminDocumentsCreate( data: DocumentCreateR
|
|
|
222
221
|
* @method GET
|
|
223
222
|
* @path /cfg/knowbase/admin/documents/{id}/
|
|
224
223
|
*/
|
|
225
|
-
export async function getKnowbaseAdminDocumentsRetrieve( id: string, client?:
|
|
224
|
+
export async function getKnowbaseAdminDocumentsRetrieve( id: string, client?: any
|
|
226
225
|
): Promise<Document> {
|
|
227
226
|
const api = client || getAPIInstance()
|
|
228
227
|
const response = await api.cfg_knowbase.adminDocumentsRetrieve(id)
|
|
@@ -236,7 +235,7 @@ export async function getKnowbaseAdminDocumentsRetrieve( id: string, client?:
|
|
|
236
235
|
* @method PUT
|
|
237
236
|
* @path /cfg/knowbase/admin/documents/{id}/
|
|
238
237
|
*/
|
|
239
|
-
export async function updateKnowbaseAdminDocumentsUpdate( id: string, data: DocumentRequest, client?:
|
|
238
|
+
export async function updateKnowbaseAdminDocumentsUpdate( id: string, data: DocumentRequest, client?: any
|
|
240
239
|
): Promise<Document> {
|
|
241
240
|
const api = client || getAPIInstance()
|
|
242
241
|
const response = await api.cfg_knowbase.adminDocumentsUpdate(id, data)
|
|
@@ -250,7 +249,7 @@ export async function updateKnowbaseAdminDocumentsUpdate( id: string, data: Doc
|
|
|
250
249
|
* @method PATCH
|
|
251
250
|
* @path /cfg/knowbase/admin/documents/{id}/
|
|
252
251
|
*/
|
|
253
|
-
export async function partialUpdateKnowbaseAdminDocumentsPartialUpdate( id: string, data?: PatchedDocumentRequest, client?:
|
|
252
|
+
export async function partialUpdateKnowbaseAdminDocumentsPartialUpdate( id: string, data?: PatchedDocumentRequest, client?: any
|
|
254
253
|
): Promise<Document> {
|
|
255
254
|
const api = client || getAPIInstance()
|
|
256
255
|
const response = await api.cfg_knowbase.adminDocumentsPartialUpdate(id, data)
|
|
@@ -264,7 +263,7 @@ export async function partialUpdateKnowbaseAdminDocumentsPartialUpdate( id: str
|
|
|
264
263
|
* @method DELETE
|
|
265
264
|
* @path /cfg/knowbase/admin/documents/{id}/
|
|
266
265
|
*/
|
|
267
|
-
export async function deleteKnowbaseAdminDocumentsDestroy( id: string, client?:
|
|
266
|
+
export async function deleteKnowbaseAdminDocumentsDestroy( id: string, client?: any
|
|
268
267
|
): Promise<void> {
|
|
269
268
|
const api = client || getAPIInstance()
|
|
270
269
|
const response = await api.cfg_knowbase.adminDocumentsDestroy(id)
|
|
@@ -278,7 +277,7 @@ export async function deleteKnowbaseAdminDocumentsDestroy( id: string, client?
|
|
|
278
277
|
* @method POST
|
|
279
278
|
* @path /cfg/knowbase/admin/documents/{id}/reprocess/
|
|
280
279
|
*/
|
|
281
|
-
export async function createKnowbaseAdminDocumentsReprocessCreate( id: string, data: DocumentRequest, client?:
|
|
280
|
+
export async function createKnowbaseAdminDocumentsReprocessCreate( id: string, data: DocumentRequest, client?: any
|
|
282
281
|
): Promise<Document> {
|
|
283
282
|
const api = client || getAPIInstance()
|
|
284
283
|
const response = await api.cfg_knowbase.adminDocumentsReprocessCreate(id, data)
|
|
@@ -292,7 +291,7 @@ export async function createKnowbaseAdminDocumentsReprocessCreate( id: string,
|
|
|
292
291
|
* @method GET
|
|
293
292
|
* @path /cfg/knowbase/admin/documents/{id}/status/
|
|
294
293
|
*/
|
|
295
|
-
export async function getKnowbaseAdminDocumentsStatusRetrieve( id: string, client?:
|
|
294
|
+
export async function getKnowbaseAdminDocumentsStatusRetrieve( id: string, client?: any
|
|
296
295
|
): Promise<DocumentProcessingStatus> {
|
|
297
296
|
const api = client || getAPIInstance()
|
|
298
297
|
const response = await api.cfg_knowbase.adminDocumentsStatusRetrieve(id)
|
|
@@ -306,7 +305,7 @@ export async function getKnowbaseAdminDocumentsStatusRetrieve( id: string, cli
|
|
|
306
305
|
* @method GET
|
|
307
306
|
* @path /cfg/knowbase/admin/documents/stats/
|
|
308
307
|
*/
|
|
309
|
-
export async function getKnowbaseAdminDocumentsStatsRetrieve( client?:
|
|
308
|
+
export async function getKnowbaseAdminDocumentsStatsRetrieve( client?: any
|
|
310
309
|
): Promise<DocumentStats> {
|
|
311
310
|
const api = client || getAPIInstance()
|
|
312
311
|
const response = await api.cfg_knowbase.adminDocumentsStatsRetrieve()
|
|
@@ -320,7 +319,7 @@ export async function getKnowbaseAdminDocumentsStatsRetrieve( client?: API
|
|
|
320
319
|
* @method GET
|
|
321
320
|
* @path /cfg/knowbase/admin/sessions/
|
|
322
321
|
*/
|
|
323
|
-
export async function getKnowbaseAdminSessionsList( params?: { page?: number; page_size?: number }, client?:
|
|
322
|
+
export async function getKnowbaseAdminSessionsList( params?: { page?: number; page_size?: number }, client?: any
|
|
324
323
|
): Promise<PaginatedChatSessionList> {
|
|
325
324
|
const api = client || getAPIInstance()
|
|
326
325
|
const response = await api.cfg_knowbase.adminSessionsList(params?.page, params?.page_size)
|
|
@@ -334,7 +333,7 @@ export async function getKnowbaseAdminSessionsList( params?: { page?: number; p
|
|
|
334
333
|
* @method POST
|
|
335
334
|
* @path /cfg/knowbase/admin/sessions/
|
|
336
335
|
*/
|
|
337
|
-
export async function createKnowbaseAdminSessionsCreate( data: ChatSessionCreateRequest, client?:
|
|
336
|
+
export async function createKnowbaseAdminSessionsCreate( data: ChatSessionCreateRequest, client?: any
|
|
338
337
|
): Promise<ChatSession> {
|
|
339
338
|
const api = client || getAPIInstance()
|
|
340
339
|
const response = await api.cfg_knowbase.adminSessionsCreate(data)
|
|
@@ -348,7 +347,7 @@ export async function createKnowbaseAdminSessionsCreate( data: ChatSessionCreat
|
|
|
348
347
|
* @method GET
|
|
349
348
|
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
350
349
|
*/
|
|
351
|
-
export async function getKnowbaseAdminSessionsRetrieve( id: string, client?:
|
|
350
|
+
export async function getKnowbaseAdminSessionsRetrieve( id: string, client?: any
|
|
352
351
|
): Promise<ChatSession> {
|
|
353
352
|
const api = client || getAPIInstance()
|
|
354
353
|
const response = await api.cfg_knowbase.adminSessionsRetrieve(id)
|
|
@@ -362,7 +361,7 @@ export async function getKnowbaseAdminSessionsRetrieve( id: string, client?: A
|
|
|
362
361
|
* @method PUT
|
|
363
362
|
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
364
363
|
*/
|
|
365
|
-
export async function updateKnowbaseAdminSessionsUpdate( id: string, data: ChatSessionRequest, client?:
|
|
364
|
+
export async function updateKnowbaseAdminSessionsUpdate( id: string, data: ChatSessionRequest, client?: any
|
|
366
365
|
): Promise<ChatSession> {
|
|
367
366
|
const api = client || getAPIInstance()
|
|
368
367
|
const response = await api.cfg_knowbase.adminSessionsUpdate(id, data)
|
|
@@ -376,7 +375,7 @@ export async function updateKnowbaseAdminSessionsUpdate( id: string, data: Chat
|
|
|
376
375
|
* @method PATCH
|
|
377
376
|
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
378
377
|
*/
|
|
379
|
-
export async function partialUpdateKnowbaseAdminSessionsPartialUpdate( id: string, data?: PatchedChatSessionRequest, client?:
|
|
378
|
+
export async function partialUpdateKnowbaseAdminSessionsPartialUpdate( id: string, data?: PatchedChatSessionRequest, client?: any
|
|
380
379
|
): Promise<ChatSession> {
|
|
381
380
|
const api = client || getAPIInstance()
|
|
382
381
|
const response = await api.cfg_knowbase.adminSessionsPartialUpdate(id, data)
|
|
@@ -390,7 +389,7 @@ export async function partialUpdateKnowbaseAdminSessionsPartialUpdate( id: stri
|
|
|
390
389
|
* @method DELETE
|
|
391
390
|
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
392
391
|
*/
|
|
393
|
-
export async function deleteKnowbaseAdminSessionsDestroy( id: string, client?:
|
|
392
|
+
export async function deleteKnowbaseAdminSessionsDestroy( id: string, client?: any
|
|
394
393
|
): Promise<void> {
|
|
395
394
|
const api = client || getAPIInstance()
|
|
396
395
|
const response = await api.cfg_knowbase.adminSessionsDestroy(id)
|
|
@@ -404,7 +403,7 @@ export async function deleteKnowbaseAdminSessionsDestroy( id: string, client?:
|
|
|
404
403
|
* @method POST
|
|
405
404
|
* @path /cfg/knowbase/admin/sessions/{id}/activate/
|
|
406
405
|
*/
|
|
407
|
-
export async function createKnowbaseAdminSessionsActivateCreate( id: string, data: ChatSessionRequest, client?:
|
|
406
|
+
export async function createKnowbaseAdminSessionsActivateCreate( id: string, data: ChatSessionRequest, client?: any
|
|
408
407
|
): Promise<ChatSession> {
|
|
409
408
|
const api = client || getAPIInstance()
|
|
410
409
|
const response = await api.cfg_knowbase.adminSessionsActivateCreate(id, data)
|
|
@@ -418,7 +417,7 @@ export async function createKnowbaseAdminSessionsActivateCreate( id: string, da
|
|
|
418
417
|
* @method POST
|
|
419
418
|
* @path /cfg/knowbase/admin/sessions/{id}/archive/
|
|
420
419
|
*/
|
|
421
|
-
export async function createKnowbaseAdminSessionsArchiveCreate( id: string, data: ChatSessionRequest, client?:
|
|
420
|
+
export async function createKnowbaseAdminSessionsArchiveCreate( id: string, data: ChatSessionRequest, client?: any
|
|
422
421
|
): Promise<ChatSession> {
|
|
423
422
|
const api = client || getAPIInstance()
|
|
424
423
|
const response = await api.cfg_knowbase.adminSessionsArchiveCreate(id, data)
|
|
@@ -432,7 +431,7 @@ export async function createKnowbaseAdminSessionsArchiveCreate( id: string, dat
|
|
|
432
431
|
* @method GET
|
|
433
432
|
* @path /cfg/knowbase/categories/
|
|
434
433
|
*/
|
|
435
|
-
export async function getKnowbaseCategoriesList( params?: { page?: number; page_size?: number }, client?:
|
|
434
|
+
export async function getKnowbaseCategoriesList( params?: { page?: number; page_size?: number }, client?: any
|
|
436
435
|
): Promise<PaginatedPublicCategoryList> {
|
|
437
436
|
const api = client || getAPIInstance()
|
|
438
437
|
const response = await api.cfg_knowbase.categoriesList(params?.page, params?.page_size)
|
|
@@ -446,7 +445,7 @@ export async function getKnowbaseCategoriesList( params?: { page?: number; page
|
|
|
446
445
|
* @method GET
|
|
447
446
|
* @path /cfg/knowbase/categories/{id}/
|
|
448
447
|
*/
|
|
449
|
-
export async function getKnowbaseCategoriesRetrieve( id: string, client?:
|
|
448
|
+
export async function getKnowbaseCategoriesRetrieve( id: string, client?: any
|
|
450
449
|
): Promise<PublicCategory> {
|
|
451
450
|
const api = client || getAPIInstance()
|
|
452
451
|
const response = await api.cfg_knowbase.categoriesRetrieve(id)
|
|
@@ -460,7 +459,7 @@ export async function getKnowbaseCategoriesRetrieve( id: string, client?: API
|
|
|
460
459
|
* @method GET
|
|
461
460
|
* @path /cfg/knowbase/documents/
|
|
462
461
|
*/
|
|
463
|
-
export async function getKnowbaseDocumentsList( params?: { category?: string; page?: number; page_size?: number; search?: string }, client?:
|
|
462
|
+
export async function getKnowbaseDocumentsList( params?: { category?: string; page?: number; page_size?: number; search?: string }, client?: any
|
|
464
463
|
): Promise<PaginatedPublicDocumentListList> {
|
|
465
464
|
const api = client || getAPIInstance()
|
|
466
465
|
const response = await api.cfg_knowbase.documentsList(params?.category, params?.page, params?.page_size, params?.search)
|
|
@@ -474,7 +473,7 @@ export async function getKnowbaseDocumentsList( params?: { category?: string; p
|
|
|
474
473
|
* @method GET
|
|
475
474
|
* @path /cfg/knowbase/documents/{id}/
|
|
476
475
|
*/
|
|
477
|
-
export async function getKnowbaseDocumentsRetrieve( id: string, client?:
|
|
476
|
+
export async function getKnowbaseDocumentsRetrieve( id: string, client?: any
|
|
478
477
|
): Promise<PublicDocument> {
|
|
479
478
|
const api = client || getAPIInstance()
|
|
480
479
|
const response = await api.cfg_knowbase.documentsRetrieve(id)
|
|
@@ -488,7 +487,7 @@ export async function getKnowbaseDocumentsRetrieve( id: string, client?: API
|
|
|
488
487
|
* @method GET
|
|
489
488
|
* @path /cfg/knowbase/system/archives/
|
|
490
489
|
*/
|
|
491
|
-
export async function getKnowbaseSystemArchivesList( params?: { page?: number; page_size?: number }, client?:
|
|
490
|
+
export async function getKnowbaseSystemArchivesList( params?: { page?: number; page_size?: number }, client?: any
|
|
492
491
|
): Promise<PaginatedDocumentArchiveListList> {
|
|
493
492
|
const api = client || getAPIInstance()
|
|
494
493
|
const response = await api.cfg_knowbase.systemArchivesList(params?.page, params?.page_size)
|
|
@@ -502,7 +501,7 @@ export async function getKnowbaseSystemArchivesList( params?: { page?: number;
|
|
|
502
501
|
* @method POST
|
|
503
502
|
* @path /cfg/knowbase/system/archives/
|
|
504
503
|
*/
|
|
505
|
-
export async function createKnowbaseSystemArchivesCreate( data: any, client?:
|
|
504
|
+
export async function createKnowbaseSystemArchivesCreate( data: any, client?: any
|
|
506
505
|
): Promise<ArchiveProcessingResult> {
|
|
507
506
|
const api = client || getAPIInstance()
|
|
508
507
|
const response = await api.cfg_knowbase.systemArchivesCreate(data)
|
|
@@ -516,7 +515,7 @@ export async function createKnowbaseSystemArchivesCreate( data: any, client?:
|
|
|
516
515
|
* @method GET
|
|
517
516
|
* @path /cfg/knowbase/system/archives/{id}/
|
|
518
517
|
*/
|
|
519
|
-
export async function getKnowbaseSystemArchivesRetrieve( id: string, client?:
|
|
518
|
+
export async function getKnowbaseSystemArchivesRetrieve( id: string, client?: any
|
|
520
519
|
): Promise<DocumentArchiveDetail> {
|
|
521
520
|
const api = client || getAPIInstance()
|
|
522
521
|
const response = await api.cfg_knowbase.systemArchivesRetrieve(id)
|
|
@@ -530,7 +529,7 @@ export async function getKnowbaseSystemArchivesRetrieve( id: string, client?:
|
|
|
530
529
|
* @method PUT
|
|
531
530
|
* @path /cfg/knowbase/system/archives/{id}/
|
|
532
531
|
*/
|
|
533
|
-
export async function updateKnowbaseSystemArchivesUpdate( id: string, data: DocumentArchiveRequest, client?:
|
|
532
|
+
export async function updateKnowbaseSystemArchivesUpdate( id: string, data: DocumentArchiveRequest, client?: any
|
|
534
533
|
): Promise<DocumentArchive> {
|
|
535
534
|
const api = client || getAPIInstance()
|
|
536
535
|
const response = await api.cfg_knowbase.systemArchivesUpdate(id, data)
|
|
@@ -544,7 +543,7 @@ export async function updateKnowbaseSystemArchivesUpdate( id: string, data: Doc
|
|
|
544
543
|
* @method PATCH
|
|
545
544
|
* @path /cfg/knowbase/system/archives/{id}/
|
|
546
545
|
*/
|
|
547
|
-
export async function partialUpdateKnowbaseSystemArchivesPartialUpdate( id: string, data?: PatchedDocumentArchiveRequest, client?:
|
|
546
|
+
export async function partialUpdateKnowbaseSystemArchivesPartialUpdate( id: string, data?: PatchedDocumentArchiveRequest, client?: any
|
|
548
547
|
): Promise<DocumentArchive> {
|
|
549
548
|
const api = client || getAPIInstance()
|
|
550
549
|
const response = await api.cfg_knowbase.systemArchivesPartialUpdate(id, data)
|
|
@@ -558,7 +557,7 @@ export async function partialUpdateKnowbaseSystemArchivesPartialUpdate( id: str
|
|
|
558
557
|
* @method DELETE
|
|
559
558
|
* @path /cfg/knowbase/system/archives/{id}/
|
|
560
559
|
*/
|
|
561
|
-
export async function deleteKnowbaseSystemArchivesDestroy( id: string, client?:
|
|
560
|
+
export async function deleteKnowbaseSystemArchivesDestroy( id: string, client?: any
|
|
562
561
|
): Promise<void> {
|
|
563
562
|
const api = client || getAPIInstance()
|
|
564
563
|
const response = await api.cfg_knowbase.systemArchivesDestroy(id)
|
|
@@ -572,7 +571,7 @@ export async function deleteKnowbaseSystemArchivesDestroy( id: string, client?
|
|
|
572
571
|
* @method GET
|
|
573
572
|
* @path /cfg/knowbase/system/archives/{id}/file_tree/
|
|
574
573
|
*/
|
|
575
|
-
export async function getKnowbaseSystemArchivesFileTreeRetrieve( id: string, client?:
|
|
574
|
+
export async function getKnowbaseSystemArchivesFileTreeRetrieve( id: string, client?: any
|
|
576
575
|
): Promise<any> {
|
|
577
576
|
const api = client || getAPIInstance()
|
|
578
577
|
const response = await api.cfg_knowbase.systemArchivesFileTreeRetrieve(id)
|
|
@@ -586,7 +585,7 @@ export async function getKnowbaseSystemArchivesFileTreeRetrieve( id: string, c
|
|
|
586
585
|
* @method GET
|
|
587
586
|
* @path /cfg/knowbase/system/archives/{id}/items/
|
|
588
587
|
*/
|
|
589
|
-
export async function getKnowbaseSystemArchivesItemsList( id: string, params?: { page?: number; page_size?: number }, client?:
|
|
588
|
+
export async function getKnowbaseSystemArchivesItemsList( id: string, params?: { page?: number; page_size?: number }, client?: any
|
|
590
589
|
): Promise<PaginatedArchiveItemList> {
|
|
591
590
|
const api = client || getAPIInstance()
|
|
592
591
|
const response = await api.cfg_knowbase.systemArchivesItemsList(id, params?.page, params?.page_size)
|
|
@@ -600,7 +599,7 @@ export async function getKnowbaseSystemArchivesItemsList( id: string, params?:
|
|
|
600
599
|
* @method POST
|
|
601
600
|
* @path /cfg/knowbase/system/archives/{id}/search/
|
|
602
601
|
*/
|
|
603
|
-
export async function createKnowbaseSystemArchivesSearchCreate( id: string, data: ArchiveSearchRequestRequest, params?: { page?: number; page_size?: number }, client?:
|
|
602
|
+
export async function createKnowbaseSystemArchivesSearchCreate( id: string, data: ArchiveSearchRequestRequest, params?: { page?: number; page_size?: number }, client?: any
|
|
604
603
|
): Promise<PaginatedArchiveSearchResultList> {
|
|
605
604
|
const api = client || getAPIInstance()
|
|
606
605
|
const response = await api.cfg_knowbase.systemArchivesSearchCreate(id, data, params?.page, params?.page_size)
|
|
@@ -614,7 +613,7 @@ export async function createKnowbaseSystemArchivesSearchCreate( id: string, dat
|
|
|
614
613
|
* @method POST
|
|
615
614
|
* @path /cfg/knowbase/system/archives/revectorize/
|
|
616
615
|
*/
|
|
617
|
-
export async function createKnowbaseSystemArchivesRevectorizeCreate( data: ChunkRevectorizationRequestRequest, client?:
|
|
616
|
+
export async function createKnowbaseSystemArchivesRevectorizeCreate( data: ChunkRevectorizationRequestRequest, client?: any
|
|
618
617
|
): Promise<VectorizationResult> {
|
|
619
618
|
const api = client || getAPIInstance()
|
|
620
619
|
const response = await api.cfg_knowbase.systemArchivesRevectorizeCreate(data)
|
|
@@ -628,7 +627,7 @@ export async function createKnowbaseSystemArchivesRevectorizeCreate( data: Chun
|
|
|
628
627
|
* @method GET
|
|
629
628
|
* @path /cfg/knowbase/system/archives/statistics/
|
|
630
629
|
*/
|
|
631
|
-
export async function getKnowbaseSystemArchivesStatisticsRetrieve( client?:
|
|
630
|
+
export async function getKnowbaseSystemArchivesStatisticsRetrieve( client?: any
|
|
632
631
|
): Promise<ArchiveStatistics> {
|
|
633
632
|
const api = client || getAPIInstance()
|
|
634
633
|
const response = await api.cfg_knowbase.systemArchivesStatisticsRetrieve()
|
|
@@ -642,7 +641,7 @@ export async function getKnowbaseSystemArchivesStatisticsRetrieve( client?: API
|
|
|
642
641
|
* @method GET
|
|
643
642
|
* @path /cfg/knowbase/system/archives/vectorization_stats/
|
|
644
643
|
*/
|
|
645
|
-
export async function getKnowbaseSystemArchivesVectorizationStatsRetrieve( client?:
|
|
644
|
+
export async function getKnowbaseSystemArchivesVectorizationStatsRetrieve( client?: any
|
|
646
645
|
): Promise<VectorizationStatistics> {
|
|
647
646
|
const api = client || getAPIInstance()
|
|
648
647
|
const response = await api.cfg_knowbase.systemArchivesVectorizationStatsRetrieve()
|
|
@@ -656,7 +655,7 @@ export async function getKnowbaseSystemArchivesVectorizationStatsRetrieve( clie
|
|
|
656
655
|
* @method GET
|
|
657
656
|
* @path /cfg/knowbase/system/chunks/
|
|
658
657
|
*/
|
|
659
|
-
export async function getKnowbaseSystemChunksList( params?: { page?: number; page_size?: number }, client?:
|
|
658
|
+
export async function getKnowbaseSystemChunksList( params?: { page?: number; page_size?: number }, client?: any
|
|
660
659
|
): Promise<PaginatedArchiveItemChunkList> {
|
|
661
660
|
const api = client || getAPIInstance()
|
|
662
661
|
const response = await api.cfg_knowbase.systemChunksList(params?.page, params?.page_size)
|
|
@@ -670,7 +669,7 @@ export async function getKnowbaseSystemChunksList( params?: { page?: number; pa
|
|
|
670
669
|
* @method POST
|
|
671
670
|
* @path /cfg/knowbase/system/chunks/
|
|
672
671
|
*/
|
|
673
|
-
export async function createKnowbaseSystemChunksCreate( data: ArchiveItemChunkRequest, client?:
|
|
672
|
+
export async function createKnowbaseSystemChunksCreate( data: ArchiveItemChunkRequest, client?: any
|
|
674
673
|
): Promise<ArchiveItemChunk> {
|
|
675
674
|
const api = client || getAPIInstance()
|
|
676
675
|
const response = await api.cfg_knowbase.systemChunksCreate(data)
|
|
@@ -684,7 +683,7 @@ export async function createKnowbaseSystemChunksCreate( data: ArchiveItemChunkR
|
|
|
684
683
|
* @method GET
|
|
685
684
|
* @path /cfg/knowbase/system/chunks/{id}/
|
|
686
685
|
*/
|
|
687
|
-
export async function getKnowbaseSystemChunksRetrieve( id: string, client?:
|
|
686
|
+
export async function getKnowbaseSystemChunksRetrieve( id: string, client?: any
|
|
688
687
|
): Promise<ArchiveItemChunkDetail> {
|
|
689
688
|
const api = client || getAPIInstance()
|
|
690
689
|
const response = await api.cfg_knowbase.systemChunksRetrieve(id)
|
|
@@ -698,7 +697,7 @@ export async function getKnowbaseSystemChunksRetrieve( id: string, client?: AP
|
|
|
698
697
|
* @method PUT
|
|
699
698
|
* @path /cfg/knowbase/system/chunks/{id}/
|
|
700
699
|
*/
|
|
701
|
-
export async function updateKnowbaseSystemChunksUpdate( id: string, data: ArchiveItemChunkRequest, client?:
|
|
700
|
+
export async function updateKnowbaseSystemChunksUpdate( id: string, data: ArchiveItemChunkRequest, client?: any
|
|
702
701
|
): Promise<ArchiveItemChunk> {
|
|
703
702
|
const api = client || getAPIInstance()
|
|
704
703
|
const response = await api.cfg_knowbase.systemChunksUpdate(id, data)
|
|
@@ -712,7 +711,7 @@ export async function updateKnowbaseSystemChunksUpdate( id: string, data: Archi
|
|
|
712
711
|
* @method PATCH
|
|
713
712
|
* @path /cfg/knowbase/system/chunks/{id}/
|
|
714
713
|
*/
|
|
715
|
-
export async function partialUpdateKnowbaseSystemChunksPartialUpdate( id: string, data?: PatchedArchiveItemChunkRequest, client?:
|
|
714
|
+
export async function partialUpdateKnowbaseSystemChunksPartialUpdate( id: string, data?: PatchedArchiveItemChunkRequest, client?: any
|
|
716
715
|
): Promise<ArchiveItemChunk> {
|
|
717
716
|
const api = client || getAPIInstance()
|
|
718
717
|
const response = await api.cfg_knowbase.systemChunksPartialUpdate(id, data)
|
|
@@ -726,7 +725,7 @@ export async function partialUpdateKnowbaseSystemChunksPartialUpdate( id: strin
|
|
|
726
725
|
* @method DELETE
|
|
727
726
|
* @path /cfg/knowbase/system/chunks/{id}/
|
|
728
727
|
*/
|
|
729
|
-
export async function deleteKnowbaseSystemChunksDestroy( id: string, client?:
|
|
728
|
+
export async function deleteKnowbaseSystemChunksDestroy( id: string, client?: any
|
|
730
729
|
): Promise<void> {
|
|
731
730
|
const api = client || getAPIInstance()
|
|
732
731
|
const response = await api.cfg_knowbase.systemChunksDestroy(id)
|
|
@@ -740,7 +739,7 @@ export async function deleteKnowbaseSystemChunksDestroy( id: string, client?:
|
|
|
740
739
|
* @method GET
|
|
741
740
|
* @path /cfg/knowbase/system/chunks/{id}/context/
|
|
742
741
|
*/
|
|
743
|
-
export async function getKnowbaseSystemChunksContextRetrieve( id: string, client?:
|
|
742
|
+
export async function getKnowbaseSystemChunksContextRetrieve( id: string, client?: any
|
|
744
743
|
): Promise<ArchiveItemChunkDetail> {
|
|
745
744
|
const api = client || getAPIInstance()
|
|
746
745
|
const response = await api.cfg_knowbase.systemChunksContextRetrieve(id)
|
|
@@ -754,7 +753,7 @@ export async function getKnowbaseSystemChunksContextRetrieve( id: string, clie
|
|
|
754
753
|
* @method POST
|
|
755
754
|
* @path /cfg/knowbase/system/chunks/{id}/vectorize/
|
|
756
755
|
*/
|
|
757
|
-
export async function createKnowbaseSystemChunksVectorizeCreate( id: string, data: ArchiveItemChunkRequest, client?:
|
|
756
|
+
export async function createKnowbaseSystemChunksVectorizeCreate( id: string, data: ArchiveItemChunkRequest, client?: any
|
|
758
757
|
): Promise<any> {
|
|
759
758
|
const api = client || getAPIInstance()
|
|
760
759
|
const response = await api.cfg_knowbase.systemChunksVectorizeCreate(id, data)
|
|
@@ -768,7 +767,7 @@ export async function createKnowbaseSystemChunksVectorizeCreate( id: string, da
|
|
|
768
767
|
* @method GET
|
|
769
768
|
* @path /cfg/knowbase/system/items/
|
|
770
769
|
*/
|
|
771
|
-
export async function getKnowbaseSystemItemsList( params?: { page?: number; page_size?: number }, client?:
|
|
770
|
+
export async function getKnowbaseSystemItemsList( params?: { page?: number; page_size?: number }, client?: any
|
|
772
771
|
): Promise<PaginatedArchiveItemList> {
|
|
773
772
|
const api = client || getAPIInstance()
|
|
774
773
|
const response = await api.cfg_knowbase.systemItemsList(params?.page, params?.page_size)
|
|
@@ -782,7 +781,7 @@ export async function getKnowbaseSystemItemsList( params?: { page?: number; pag
|
|
|
782
781
|
* @method POST
|
|
783
782
|
* @path /cfg/knowbase/system/items/
|
|
784
783
|
*/
|
|
785
|
-
export async function createKnowbaseSystemItemsCreate( data: ArchiveItemRequest, client?:
|
|
784
|
+
export async function createKnowbaseSystemItemsCreate( data: ArchiveItemRequest, client?: any
|
|
786
785
|
): Promise<ArchiveItem> {
|
|
787
786
|
const api = client || getAPIInstance()
|
|
788
787
|
const response = await api.cfg_knowbase.systemItemsCreate(data)
|
|
@@ -796,7 +795,7 @@ export async function createKnowbaseSystemItemsCreate( data: ArchiveItemRequest
|
|
|
796
795
|
* @method GET
|
|
797
796
|
* @path /cfg/knowbase/system/items/{id}/
|
|
798
797
|
*/
|
|
799
|
-
export async function getKnowbaseSystemItemsRetrieve( id: string, client?:
|
|
798
|
+
export async function getKnowbaseSystemItemsRetrieve( id: string, client?: any
|
|
800
799
|
): Promise<ArchiveItemDetail> {
|
|
801
800
|
const api = client || getAPIInstance()
|
|
802
801
|
const response = await api.cfg_knowbase.systemItemsRetrieve(id)
|
|
@@ -810,7 +809,7 @@ export async function getKnowbaseSystemItemsRetrieve( id: string, client?: API
|
|
|
810
809
|
* @method PUT
|
|
811
810
|
* @path /cfg/knowbase/system/items/{id}/
|
|
812
811
|
*/
|
|
813
|
-
export async function updateKnowbaseSystemItemsUpdate( id: string, data: ArchiveItemRequest, client?:
|
|
812
|
+
export async function updateKnowbaseSystemItemsUpdate( id: string, data: ArchiveItemRequest, client?: any
|
|
814
813
|
): Promise<ArchiveItem> {
|
|
815
814
|
const api = client || getAPIInstance()
|
|
816
815
|
const response = await api.cfg_knowbase.systemItemsUpdate(id, data)
|
|
@@ -824,7 +823,7 @@ export async function updateKnowbaseSystemItemsUpdate( id: string, data: Archiv
|
|
|
824
823
|
* @method PATCH
|
|
825
824
|
* @path /cfg/knowbase/system/items/{id}/
|
|
826
825
|
*/
|
|
827
|
-
export async function partialUpdateKnowbaseSystemItemsPartialUpdate( id: string, data?: PatchedArchiveItemRequest, client?:
|
|
826
|
+
export async function partialUpdateKnowbaseSystemItemsPartialUpdate( id: string, data?: PatchedArchiveItemRequest, client?: any
|
|
828
827
|
): Promise<ArchiveItem> {
|
|
829
828
|
const api = client || getAPIInstance()
|
|
830
829
|
const response = await api.cfg_knowbase.systemItemsPartialUpdate(id, data)
|
|
@@ -838,7 +837,7 @@ export async function partialUpdateKnowbaseSystemItemsPartialUpdate( id: string
|
|
|
838
837
|
* @method DELETE
|
|
839
838
|
* @path /cfg/knowbase/system/items/{id}/
|
|
840
839
|
*/
|
|
841
|
-
export async function deleteKnowbaseSystemItemsDestroy( id: string, client?:
|
|
840
|
+
export async function deleteKnowbaseSystemItemsDestroy( id: string, client?: any
|
|
842
841
|
): Promise<void> {
|
|
843
842
|
const api = client || getAPIInstance()
|
|
844
843
|
const response = await api.cfg_knowbase.systemItemsDestroy(id)
|
|
@@ -852,7 +851,7 @@ export async function deleteKnowbaseSystemItemsDestroy( id: string, client?: A
|
|
|
852
851
|
* @method GET
|
|
853
852
|
* @path /cfg/knowbase/system/items/{id}/chunks/
|
|
854
853
|
*/
|
|
855
|
-
export async function getKnowbaseSystemItemsChunksList( id: string, params?: { page?: number; page_size?: number }, client?:
|
|
854
|
+
export async function getKnowbaseSystemItemsChunksList( id: string, params?: { page?: number; page_size?: number }, client?: any
|
|
856
855
|
): Promise<PaginatedArchiveItemChunkList> {
|
|
857
856
|
const api = client || getAPIInstance()
|
|
858
857
|
const response = await api.cfg_knowbase.systemItemsChunksList(id, params?.page, params?.page_size)
|
|
@@ -866,7 +865,7 @@ export async function getKnowbaseSystemItemsChunksList( id: string, params?: {
|
|
|
866
865
|
* @method GET
|
|
867
866
|
* @path /cfg/knowbase/system/items/{id}/content/
|
|
868
867
|
*/
|
|
869
|
-
export async function getKnowbaseSystemItemsContentRetrieve( id: string, client?:
|
|
868
|
+
export async function getKnowbaseSystemItemsContentRetrieve( id: string, client?: any
|
|
870
869
|
): Promise<ArchiveItemDetail> {
|
|
871
870
|
const api = client || getAPIInstance()
|
|
872
871
|
const response = await api.cfg_knowbase.systemItemsContentRetrieve(id)
|
|
@@ -34,7 +34,6 @@ import { LeadSubmissionRequestSchema, type LeadSubmissionRequest } from '../sche
|
|
|
34
34
|
import { PaginatedLeadSubmissionListSchema, type PaginatedLeadSubmissionList } from '../schemas/PaginatedLeadSubmissionList.schema'
|
|
35
35
|
import { PatchedLeadSubmissionRequestSchema, type PatchedLeadSubmissionRequest } from '../schemas/PatchedLeadSubmissionRequest.schema'
|
|
36
36
|
import { getAPIInstance } from '../../api-instance'
|
|
37
|
-
import type { API } from '../../index'
|
|
38
37
|
|
|
39
38
|
/**
|
|
40
39
|
* API operation
|
|
@@ -42,7 +41,7 @@ import type { API } from '../../index'
|
|
|
42
41
|
* @method GET
|
|
43
42
|
* @path /cfg/leads/
|
|
44
43
|
*/
|
|
45
|
-
export async function getLeadsList( params?: { page?: number; page_size?: number }, client?:
|
|
44
|
+
export async function getLeadsList( params?: { page?: number; page_size?: number }, client?: any
|
|
46
45
|
): Promise<PaginatedLeadSubmissionList> {
|
|
47
46
|
const api = client || getAPIInstance()
|
|
48
47
|
const response = await api.cfg_leads.list(params?.page, params?.page_size)
|
|
@@ -56,7 +55,7 @@ export async function getLeadsList( params?: { page?: number; page_size?: numbe
|
|
|
56
55
|
* @method POST
|
|
57
56
|
* @path /cfg/leads/
|
|
58
57
|
*/
|
|
59
|
-
export async function createLeadsCreate( data: LeadSubmissionRequest, client?:
|
|
58
|
+
export async function createLeadsCreate( data: LeadSubmissionRequest, client?: any
|
|
60
59
|
): Promise<LeadSubmission> {
|
|
61
60
|
const api = client || getAPIInstance()
|
|
62
61
|
const response = await api.cfg_leads.create(data)
|
|
@@ -70,7 +69,7 @@ export async function createLeadsCreate( data: LeadSubmissionRequest, client?:
|
|
|
70
69
|
* @method GET
|
|
71
70
|
* @path /cfg/leads/{id}/
|
|
72
71
|
*/
|
|
73
|
-
export async function getLeadsRetrieve( id: number, client?:
|
|
72
|
+
export async function getLeadsRetrieve( id: number, client?: any
|
|
74
73
|
): Promise<LeadSubmission> {
|
|
75
74
|
const api = client || getAPIInstance()
|
|
76
75
|
const response = await api.cfg_leads.retrieve(id)
|
|
@@ -84,7 +83,7 @@ export async function getLeadsRetrieve( id: number, client?: API
|
|
|
84
83
|
* @method PUT
|
|
85
84
|
* @path /cfg/leads/{id}/
|
|
86
85
|
*/
|
|
87
|
-
export async function updateLeadsUpdate( id: number, data: LeadSubmissionRequest, client?:
|
|
86
|
+
export async function updateLeadsUpdate( id: number, data: LeadSubmissionRequest, client?: any
|
|
88
87
|
): Promise<LeadSubmission> {
|
|
89
88
|
const api = client || getAPIInstance()
|
|
90
89
|
const response = await api.cfg_leads.update(id, data)
|
|
@@ -98,7 +97,7 @@ export async function updateLeadsUpdate( id: number, data: LeadSubmissionReques
|
|
|
98
97
|
* @method PATCH
|
|
99
98
|
* @path /cfg/leads/{id}/
|
|
100
99
|
*/
|
|
101
|
-
export async function partialUpdateLeadsPartialUpdate( id: number, data?: PatchedLeadSubmissionRequest, client?:
|
|
100
|
+
export async function partialUpdateLeadsPartialUpdate( id: number, data?: PatchedLeadSubmissionRequest, client?: any
|
|
102
101
|
): Promise<LeadSubmission> {
|
|
103
102
|
const api = client || getAPIInstance()
|
|
104
103
|
const response = await api.cfg_leads.partialUpdate(id, data)
|
|
@@ -112,7 +111,7 @@ export async function partialUpdateLeadsPartialUpdate( id: number, data?: Patch
|
|
|
112
111
|
* @method DELETE
|
|
113
112
|
* @path /cfg/leads/{id}/
|
|
114
113
|
*/
|
|
115
|
-
export async function deleteLeadsDestroy( id: number, client?:
|
|
114
|
+
export async function deleteLeadsDestroy( id: number, client?: any
|
|
116
115
|
): Promise<void> {
|
|
117
116
|
const api = client || getAPIInstance()
|
|
118
117
|
const response = await api.cfg_leads.destroy(id)
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
import { LeadSubmissionRequestSchema, type LeadSubmissionRequest } from '../schemas/LeadSubmissionRequest.schema'
|
|
33
33
|
import { LeadSubmissionResponseSchema, type LeadSubmissionResponse } from '../schemas/LeadSubmissionResponse.schema'
|
|
34
34
|
import { getAPIInstance } from '../../api-instance'
|
|
35
|
-
import type { API } from '../../index'
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* Submit Lead Form
|
|
@@ -40,7 +39,7 @@ import type { API } from '../../index'
|
|
|
40
39
|
* @method POST
|
|
41
40
|
* @path /cfg/leads/submit/
|
|
42
41
|
*/
|
|
43
|
-
export async function createLeadsSubmitCreate( data: LeadSubmissionRequest, client?:
|
|
42
|
+
export async function createLeadsSubmitCreate( data: LeadSubmissionRequest, client?: any
|
|
44
43
|
): Promise<LeadSubmissionResponse> {
|
|
45
44
|
const api = client || getAPIInstance()
|
|
46
45
|
const response = await api.cfg_lead_submission.leadsSubmitCreate(data)
|
|
@@ -35,7 +35,6 @@ import { PatchedUnsubscribeRequestSchema, type PatchedUnsubscribeRequest } from
|
|
|
35
35
|
import { UnsubscribeSchema, type Unsubscribe } from '../schemas/Unsubscribe.schema'
|
|
36
36
|
import { UnsubscribeRequestSchema, type UnsubscribeRequest } from '../schemas/UnsubscribeRequest.schema'
|
|
37
37
|
import { getAPIInstance } from '../../api-instance'
|
|
38
|
-
import type { API } from '../../index'
|
|
39
38
|
|
|
40
39
|
/**
|
|
41
40
|
* API operation
|
|
@@ -43,7 +42,7 @@ import type { API } from '../../index'
|
|
|
43
42
|
* @method PATCH
|
|
44
43
|
* @path /cfg/newsletter/campaigns/{id}/
|
|
45
44
|
*/
|
|
46
|
-
export async function partialUpdateNewsletterCampaignsPartialUpdate( id: number, data?: PatchedNewsletterCampaignRequest, client?:
|
|
45
|
+
export async function partialUpdateNewsletterCampaignsPartialUpdate( id: number, data?: PatchedNewsletterCampaignRequest, client?: any
|
|
47
46
|
): Promise<NewsletterCampaign> {
|
|
48
47
|
const api = client || getAPIInstance()
|
|
49
48
|
const response = await api.cfg_newsletter.campaignsPartialUpdate(id, data)
|
|
@@ -57,7 +56,7 @@ export async function partialUpdateNewsletterCampaignsPartialUpdate( id: number
|
|
|
57
56
|
* @method PUT
|
|
58
57
|
* @path /cfg/newsletter/unsubscribe/
|
|
59
58
|
*/
|
|
60
|
-
export async function updateNewsletterUnsubscribeUpdate( data: UnsubscribeRequest, client?:
|
|
59
|
+
export async function updateNewsletterUnsubscribeUpdate( data: UnsubscribeRequest, client?: any
|
|
61
60
|
): Promise<Unsubscribe> {
|
|
62
61
|
const api = client || getAPIInstance()
|
|
63
62
|
const response = await api.cfg_newsletter.unsubscribeUpdate(data)
|
|
@@ -71,7 +70,7 @@ export async function updateNewsletterUnsubscribeUpdate( data: UnsubscribeReque
|
|
|
71
70
|
* @method PATCH
|
|
72
71
|
* @path /cfg/newsletter/unsubscribe/
|
|
73
72
|
*/
|
|
74
|
-
export async function partialUpdateNewsletterUnsubscribePartialUpdate( data?: PatchedUnsubscribeRequest, client?:
|
|
73
|
+
export async function partialUpdateNewsletterUnsubscribePartialUpdate( data?: PatchedUnsubscribeRequest, client?: any
|
|
75
74
|
): Promise<Unsubscribe> {
|
|
76
75
|
const api = client || getAPIInstance()
|
|
77
76
|
const response = await api.cfg_newsletter.unsubscribePartialUpdate(data)
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
import { BulkEmailRequestSchema, type BulkEmailRequest } from '../schemas/BulkEmailRequest.schema'
|
|
33
33
|
import { BulkEmailResponseSchema, type BulkEmailResponse } from '../schemas/BulkEmailResponse.schema'
|
|
34
34
|
import { getAPIInstance } from '../../api-instance'
|
|
35
|
-
import type { API } from '../../index'
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* Send Bulk Email
|
|
@@ -40,7 +39,7 @@ import type { API } from '../../index'
|
|
|
40
39
|
* @method POST
|
|
41
40
|
* @path /cfg/newsletter/bulk/
|
|
42
41
|
*/
|
|
43
|
-
export async function createNewsletterBulkCreate( data: BulkEmailRequest, client?:
|
|
42
|
+
export async function createNewsletterBulkCreate( data: BulkEmailRequest, client?: any
|
|
44
43
|
): Promise<BulkEmailResponse> {
|
|
45
44
|
const api = client || getAPIInstance()
|
|
46
45
|
const response = await api.cfg_bulk_email.newsletterBulkCreate(data)
|