@gpt-core/client 0.8.12 → 0.8.20

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.js CHANGED
@@ -58,10 +58,12 @@ __export(index_exports, {
58
58
  deleteAiConversationsById: () => deleteAiConversationsById,
59
59
  deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
60
60
  deleteAiGraphNodesById: () => deleteAiGraphNodesById,
61
+ deleteAiMessagesById: () => deleteAiMessagesById,
61
62
  deleteApiKeysById: () => deleteApiKeysById,
62
63
  deleteApplicationsByApplicationIdEmailTemplatesBySlug: () => deleteApplicationsByApplicationIdEmailTemplatesBySlug,
63
64
  deleteApplicationsById: () => deleteApplicationsById,
64
65
  deleteBucketsById: () => deleteBucketsById,
66
+ deleteExtractionBatchesById: () => deleteExtractionBatchesById,
65
67
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
66
68
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
67
69
  deleteMessagesById: () => deleteMessagesById,
@@ -75,23 +77,30 @@ __export(index_exports, {
75
77
  deleteTrainingExamplesById: () => deleteTrainingExamplesById,
76
78
  deleteTrainingSessionsById: () => deleteTrainingSessionsById,
77
79
  deleteUserProfilesById: () => deleteUserProfilesById,
80
+ deleteUsersById: () => deleteUsersById,
78
81
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
79
82
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
80
83
  deleteWorkspacesById: () => deleteWorkspacesById,
81
84
  getAgentVersions: () => getAgentVersions,
82
85
  getAgentVersionsById: () => getAgentVersionsById,
86
+ getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
83
87
  getAgents: () => getAgents,
84
88
  getAgentsById: () => getAgentsById,
85
89
  getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
90
+ getAgentsByIdStats: () => getAgentsByIdStats,
86
91
  getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
87
92
  getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
88
93
  getAiConversations: () => getAiConversations,
89
94
  getAiConversationsById: () => getAiConversationsById,
90
95
  getAiGraphEdges: () => getAiGraphEdges,
91
96
  getAiGraphNodes: () => getAiGraphNodes,
97
+ getAiGraphNodesBySourceNodeIdRelated: () => getAiGraphNodesBySourceNodeIdRelated,
98
+ getAiGraphNodesLabelByLabel: () => getAiGraphNodesLabelByLabel,
92
99
  getAiMessages: () => getAiMessages,
93
100
  getApiKeys: () => getApiKeys,
101
+ getApiKeysActive: () => getApiKeysActive,
94
102
  getApiKeysById: () => getApiKeysById,
103
+ getApiKeysStats: () => getApiKeysStats,
95
104
  getApplications: () => getApplications,
96
105
  getApplicationsByApplicationIdEmailTemplates: () => getApplicationsByApplicationIdEmailTemplates,
97
106
  getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
@@ -99,7 +108,9 @@ __export(index_exports, {
99
108
  getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
100
109
  getApplicationsCurrent: () => getApplicationsCurrent,
101
110
  getAuditLogs: () => getAuditLogs,
111
+ getAuditLogsActivity: () => getAuditLogsActivity,
102
112
  getBuckets: () => getBuckets,
113
+ getBucketsAll: () => getBucketsAll,
103
114
  getBucketsById: () => getBucketsById,
104
115
  getBucketsByIdObjects: () => getBucketsByIdObjects,
105
116
  getBucketsByIdStats: () => getBucketsByIdStats,
@@ -116,11 +127,15 @@ __export(index_exports, {
116
127
  getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
117
128
  getExtractionDocumentsByIdView: () => getExtractionDocumentsByIdView,
118
129
  getExtractionDocumentsWorkspaceByWorkspaceId: () => getExtractionDocumentsWorkspaceByWorkspaceId,
130
+ getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus: () => getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus,
119
131
  getExtractionDocumentsWorkspaceByWorkspaceIdExcluded: () => getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
120
132
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
121
133
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
134
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrashed: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
122
135
  getExtractionResultsById: () => getExtractionResultsById,
123
136
  getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
137
+ getExtractionResultsWorkspaceByWorkspaceId: () => getExtractionResultsWorkspaceByWorkspaceId,
138
+ getExtractionSchemaDiscoveriesById: () => getExtractionSchemaDiscoveriesById,
124
139
  getFieldTemplates: () => getFieldTemplates,
125
140
  getFieldTemplatesById: () => getFieldTemplatesById,
126
141
  getInvitations: () => getInvitations,
@@ -136,26 +151,36 @@ __export(index_exports, {
136
151
  getMessages: () => getMessages,
137
152
  getMessagesById: () => getMessagesById,
138
153
  getMessagesSearch: () => getMessagesSearch,
154
+ getMessagesSemanticSearch: () => getMessagesSemanticSearch,
139
155
  getNotificationLogs: () => getNotificationLogs,
140
156
  getNotificationLogsById: () => getNotificationLogsById,
157
+ getNotificationLogsStats: () => getNotificationLogsStats,
141
158
  getNotificationMethods: () => getNotificationMethods,
142
159
  getNotificationMethodsById: () => getNotificationMethodsById,
143
160
  getNotificationPreferences: () => getNotificationPreferences,
144
161
  getNotificationPreferencesById: () => getNotificationPreferencesById,
145
162
  getObjects: () => getObjects,
146
163
  getObjectsById: () => getObjectsById,
164
+ getPermissions: () => getPermissions,
165
+ getPermissionsById: () => getPermissionsById,
166
+ getPermissionsMeta: () => getPermissionsMeta,
167
+ getPermissionsPresets: () => getPermissionsPresets,
168
+ getPermissionsPresetsById: () => getPermissionsPresetsById,
147
169
  getPlans: () => getPlans,
148
170
  getPlansById: () => getPlansById,
149
171
  getPlansSlugBySlug: () => getPlansSlugBySlug,
150
- getSchemaDiscoveriesById: () => getSchemaDiscoveriesById,
151
172
  getSearch: () => getSearch,
173
+ getSearchAnalytics: () => getSearchAnalytics,
174
+ getSearchAnalyticsSummary: () => getSearchAnalyticsSummary,
152
175
  getSearchHealth: () => getSearchHealth,
153
176
  getSearchIndexes: () => getSearchIndexes,
154
177
  getSearchSaved: () => getSearchSaved,
155
178
  getSearchSemantic: () => getSearchSemantic,
156
179
  getSearchStats: () => getSearchStats,
157
180
  getSearchStatus: () => getSearchStatus,
181
+ getSearchSuggest: () => getSearchSuggest,
158
182
  getStorageStats: () => getStorageStats,
183
+ getStorageStatsTenantByTenantId: () => getStorageStatsTenantByTenantId,
159
184
  getTenantMemberships: () => getTenantMemberships,
160
185
  getTenants: () => getTenants,
161
186
  getTenantsById: () => getTenantsById,
@@ -164,7 +189,10 @@ __export(index_exports, {
164
189
  getTenantsByTenantIdWorkspaceStats: () => getTenantsByTenantIdWorkspaceStats,
165
190
  getThreads: () => getThreads,
166
191
  getThreadsById: () => getThreadsById,
192
+ getThreadsByIdMessages: () => getThreadsByIdMessages,
167
193
  getThreadsSearch: () => getThreadsSearch,
194
+ getThreadsStats: () => getThreadsStats,
195
+ getThreadsWorkspaceStats: () => getThreadsWorkspaceStats,
168
196
  getTrainingExamples: () => getTrainingExamples,
169
197
  getTrainingExamplesById: () => getTrainingExamplesById,
170
198
  getTrainingSessionsAgentsByAgentIdSessions: () => getTrainingSessionsAgentsByAgentIdSessions,
@@ -175,17 +203,31 @@ __export(index_exports, {
175
203
  getUserProfilesById: () => getUserProfilesById,
176
204
  getUserProfilesMe: () => getUserProfilesMe,
177
205
  getUsers: () => getUsers,
206
+ getUsersByEmail: () => getUsersByEmail,
178
207
  getUsersById: () => getUsersById,
179
208
  getUsersMe: () => getUsersMe,
209
+ getUsersMeActivity: () => getUsersMeActivity,
210
+ getUsersMeDashboard: () => getUsersMeDashboard,
211
+ getUsersMeStats: () => getUsersMeStats,
180
212
  getUsersMeTenants: () => getUsersMeTenants,
181
213
  getWallet: () => getWallet,
214
+ getWalletInvoices: () => getWalletInvoices,
215
+ getWatcherClaims: () => getWatcherClaims,
216
+ getWatcherClaimsById: () => getWatcherClaimsById,
217
+ getWatcherClaimsStatus: () => getWatcherClaimsStatus,
218
+ getWatcherEvents: () => getWatcherEvents,
219
+ getWatcherEventsById: () => getWatcherEventsById,
182
220
  getWebhookConfigs: () => getWebhookConfigs,
183
221
  getWebhookConfigsById: () => getWebhookConfigsById,
222
+ getWebhookConfigsByIdEvents: () => getWebhookConfigsByIdEvents,
223
+ getWebhookConfigsStats: () => getWebhookConfigsStats,
184
224
  getWebhookDeliveries: () => getWebhookDeliveries,
185
225
  getWebhookDeliveriesById: () => getWebhookDeliveriesById,
226
+ getWebhookDeliveriesStats: () => getWebhookDeliveriesStats,
186
227
  getWorkspaceMemberships: () => getWorkspaceMemberships,
187
228
  getWorkspaces: () => getWorkspaces,
188
229
  getWorkspacesById: () => getWorkspacesById,
230
+ getWorkspacesByIdMembers: () => getWorkspacesByIdMembers,
189
231
  getWorkspacesByWorkspaceIdExtractionExports: () => getWorkspacesByWorkspaceIdExtractionExports,
190
232
  getWorkspacesByWorkspaceIdExtractionExportsById: () => getWorkspacesByWorkspaceIdExtractionExportsById,
191
233
  getWorkspacesByWorkspaceIdTrainingAnalytics: () => getWorkspacesByWorkspaceIdTrainingAnalytics,
@@ -197,13 +239,16 @@ __export(index_exports, {
197
239
  paginateToArray: () => paginateToArray,
198
240
  patchAgentsById: () => patchAgentsById,
199
241
  patchAgentsByIdSchemaVersionsByVersionId: () => patchAgentsByIdSchemaVersionsByVersionId,
242
+ patchAiConversationsById: () => patchAiConversationsById,
200
243
  patchApiKeysById: () => patchApiKeysById,
201
244
  patchApiKeysByIdAllocate: () => patchApiKeysByIdAllocate,
245
+ patchApiKeysByIdResetPeriod: () => patchApiKeysByIdResetPeriod,
202
246
  patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
203
247
  patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
204
248
  patchApiKeysByIdSetBudget: () => patchApiKeysByIdSetBudget,
205
249
  patchApplicationsByApplicationIdEmailTemplatesBySlug: () => patchApplicationsByApplicationIdEmailTemplatesBySlug,
206
250
  patchApplicationsById: () => patchApplicationsById,
251
+ patchApplicationsByIdAllocateCredits: () => patchApplicationsByIdAllocateCredits,
207
252
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
208
253
  patchBucketsById: () => patchBucketsById,
209
254
  patchConfigsByKey: () => patchConfigsByKey,
@@ -217,6 +262,7 @@ __export(index_exports, {
217
262
  patchExtractionDocumentsByIdReprocess: () => patchExtractionDocumentsByIdReprocess,
218
263
  patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
219
264
  patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
265
+ patchExtractionDocumentsByIdVerification: () => patchExtractionDocumentsByIdVerification,
220
266
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
221
267
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
222
268
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
@@ -226,11 +272,16 @@ __export(index_exports, {
226
272
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
227
273
  patchMessagesById: () => patchMessagesById,
228
274
  patchNotificationMethodsById: () => patchNotificationMethodsById,
275
+ patchNotificationMethodsByIdSendVerification: () => patchNotificationMethodsByIdSendVerification,
229
276
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
277
+ patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
230
278
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
279
+ patchSearchSavedById: () => patchSearchSavedById,
231
280
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
232
281
  patchTenantsById: () => patchTenantsById,
233
282
  patchThreadsById: () => patchThreadsById,
283
+ patchThreadsByIdArchive: () => patchThreadsByIdArchive,
284
+ patchThreadsByIdUnarchive: () => patchThreadsByIdUnarchive,
234
285
  patchTrainingExamplesById: () => patchTrainingExamplesById,
235
286
  patchUserProfilesById: () => patchUserProfilesById,
236
287
  patchUsersAuthPasswordChange: () => patchUsersAuthPasswordChange,
@@ -241,13 +292,20 @@ __export(index_exports, {
241
292
  patchUsersByIdResetPassword: () => patchUsersByIdResetPassword,
242
293
  patchWalletAddons: () => patchWalletAddons,
243
294
  patchWalletAddonsByAddonSlugCancel: () => patchWalletAddonsByAddonSlugCancel,
295
+ patchWalletAutoTopUp: () => patchWalletAutoTopUp,
244
296
  patchWalletCredits: () => patchWalletCredits,
245
297
  patchWalletPlan: () => patchWalletPlan,
298
+ patchWatcherClaimsById: () => patchWatcherClaimsById,
299
+ patchWatcherClaimsByIdRelease: () => patchWatcherClaimsByIdRelease,
300
+ patchWatcherClaimsByIdRetry: () => patchWatcherClaimsByIdRetry,
246
301
  patchWebhookConfigsById: () => patchWebhookConfigsById,
247
302
  patchWebhookConfigsByIdRotateSecret: () => patchWebhookConfigsByIdRotateSecret,
248
303
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
249
304
  patchWorkspacesById: () => patchWorkspacesById,
250
305
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
306
+ patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
307
+ postAgentTestResults: () => postAgentTestResults,
308
+ postAgentVersionComparisons: () => postAgentVersionComparisons,
251
309
  postAgentVersions: () => postAgentVersions,
252
310
  postAgents: () => postAgents,
253
311
  postAgentsByIdClone: () => postAgentsByIdClone,
@@ -256,7 +314,6 @@ __export(index_exports, {
256
314
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
257
315
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
258
316
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
259
- postAgentsByIdStats: () => postAgentsByIdStats,
260
317
  postAgentsByIdTeach: () => postAgentsByIdTeach,
261
318
  postAgentsByIdTest: () => postAgentsByIdTest,
262
319
  postAgentsByIdValidate: () => postAgentsByIdValidate,
@@ -274,14 +331,18 @@ __export(index_exports, {
274
331
  postApiKeys: () => postApiKeys,
275
332
  postApplications: () => postApplications,
276
333
  postApplicationsByApplicationIdEmailTemplates: () => postApplicationsByApplicationIdEmailTemplates,
334
+ postApplicationsByApplicationIdEmailTemplatesBySlugPreview: () => postApplicationsByApplicationIdEmailTemplatesBySlugPreview,
335
+ postApplicationsByApplicationIdEmailTemplatesBySlugTest: () => postApplicationsByApplicationIdEmailTemplatesBySlugTest,
277
336
  postBuckets: () => postBuckets,
278
337
  postConfigs: () => postConfigs,
279
338
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
280
339
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
281
340
  postExtractionBatches: () => postExtractionBatches,
282
341
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
342
+ postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
283
343
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
284
344
  postExtractionResults: () => postExtractionResults,
345
+ postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
285
346
  postFieldTemplates: () => postFieldTemplates,
286
347
  postInvitations: () => postInvitations,
287
348
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
@@ -290,10 +351,14 @@ __export(index_exports, {
290
351
  postNotificationMethods: () => postNotificationMethods,
291
352
  postNotificationPreferences: () => postNotificationPreferences,
292
353
  postObjectsBulkDestroy: () => postObjectsBulkDestroy,
354
+ postObjectsCopy: () => postObjectsCopy,
355
+ postObjectsMove: () => postObjectsMove,
293
356
  postObjectsRegister: () => postObjectsRegister,
294
357
  postPayments: () => postPayments,
358
+ postSearchBatch: () => postSearchBatch,
295
359
  postSearchReindex: () => postSearchReindex,
296
360
  postSearchSaved: () => postSearchSaved,
361
+ postSearchSavedByIdRun: () => postSearchSavedByIdRun,
297
362
  postStorageSignDownload: () => postStorageSignDownload,
298
363
  postStorageSignUpload: () => postStorageSignUpload,
299
364
  postTenantMemberships: () => postTenantMemberships,
@@ -301,9 +366,12 @@ __export(index_exports, {
301
366
  postTenantsByIdBuyStorage: () => postTenantsByIdBuyStorage,
302
367
  postTenantsByIdCredit: () => postTenantsByIdCredit,
303
368
  postTenantsByIdRemoveStorage: () => postTenantsByIdRemoveStorage,
369
+ postTenantsByIdSchedulePurge: () => postTenantsByIdSchedulePurge,
304
370
  postTenantsIsv: () => postTenantsIsv,
305
371
  postThreads: () => postThreads,
306
372
  postThreadsActive: () => postThreadsActive,
373
+ postThreadsByIdExport: () => postThreadsByIdExport,
374
+ postThreadsByIdFork: () => postThreadsByIdFork,
307
375
  postThreadsByIdMessages: () => postThreadsByIdMessages,
308
376
  postThreadsByIdSummarize: () => postThreadsByIdSummarize,
309
377
  postTokens: () => postTokens,
@@ -320,14 +388,15 @@ __export(index_exports, {
320
388
  postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
321
389
  postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
322
390
  postUsersRegisterIsv: () => postUsersRegisterIsv,
391
+ postWatcherClaims: () => postWatcherClaims,
392
+ postWatcherEvents: () => postWatcherEvents,
323
393
  postWebhookConfigs: () => postWebhookConfigs,
324
394
  postWebhookConfigsBulkDisable: () => postWebhookConfigsBulkDisable,
325
395
  postWebhookConfigsBulkEnable: () => postWebhookConfigsBulkEnable,
396
+ postWebhookConfigsByIdReplay: () => postWebhookConfigsByIdReplay,
326
397
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
327
- postWebhookConfigsStats: () => postWebhookConfigsStats,
328
398
  postWebhookDeliveriesBulkRetry: () => postWebhookDeliveriesBulkRetry,
329
399
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
330
- postWebhookDeliveriesStats: () => postWebhookDeliveriesStats,
331
400
  postWorkspaceMemberships: () => postWorkspaceMemberships,
332
401
  postWorkspaces: () => postWorkspaces,
333
402
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
@@ -349,10 +418,12 @@ __export(sdk_gen_exports, {
349
418
  deleteAiConversationsById: () => deleteAiConversationsById,
350
419
  deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
351
420
  deleteAiGraphNodesById: () => deleteAiGraphNodesById,
421
+ deleteAiMessagesById: () => deleteAiMessagesById,
352
422
  deleteApiKeysById: () => deleteApiKeysById,
353
423
  deleteApplicationsByApplicationIdEmailTemplatesBySlug: () => deleteApplicationsByApplicationIdEmailTemplatesBySlug,
354
424
  deleteApplicationsById: () => deleteApplicationsById,
355
425
  deleteBucketsById: () => deleteBucketsById,
426
+ deleteExtractionBatchesById: () => deleteExtractionBatchesById,
356
427
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
357
428
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
358
429
  deleteMessagesById: () => deleteMessagesById,
@@ -366,23 +437,30 @@ __export(sdk_gen_exports, {
366
437
  deleteTrainingExamplesById: () => deleteTrainingExamplesById,
367
438
  deleteTrainingSessionsById: () => deleteTrainingSessionsById,
368
439
  deleteUserProfilesById: () => deleteUserProfilesById,
440
+ deleteUsersById: () => deleteUsersById,
369
441
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
370
442
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
371
443
  deleteWorkspacesById: () => deleteWorkspacesById,
372
444
  getAgentVersions: () => getAgentVersions,
373
445
  getAgentVersionsById: () => getAgentVersionsById,
446
+ getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
374
447
  getAgents: () => getAgents,
375
448
  getAgentsById: () => getAgentsById,
376
449
  getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
450
+ getAgentsByIdStats: () => getAgentsByIdStats,
377
451
  getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
378
452
  getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
379
453
  getAiConversations: () => getAiConversations,
380
454
  getAiConversationsById: () => getAiConversationsById,
381
455
  getAiGraphEdges: () => getAiGraphEdges,
382
456
  getAiGraphNodes: () => getAiGraphNodes,
457
+ getAiGraphNodesBySourceNodeIdRelated: () => getAiGraphNodesBySourceNodeIdRelated,
458
+ getAiGraphNodesLabelByLabel: () => getAiGraphNodesLabelByLabel,
383
459
  getAiMessages: () => getAiMessages,
384
460
  getApiKeys: () => getApiKeys,
461
+ getApiKeysActive: () => getApiKeysActive,
385
462
  getApiKeysById: () => getApiKeysById,
463
+ getApiKeysStats: () => getApiKeysStats,
386
464
  getApplications: () => getApplications,
387
465
  getApplicationsByApplicationIdEmailTemplates: () => getApplicationsByApplicationIdEmailTemplates,
388
466
  getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
@@ -390,7 +468,9 @@ __export(sdk_gen_exports, {
390
468
  getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
391
469
  getApplicationsCurrent: () => getApplicationsCurrent,
392
470
  getAuditLogs: () => getAuditLogs,
471
+ getAuditLogsActivity: () => getAuditLogsActivity,
393
472
  getBuckets: () => getBuckets,
473
+ getBucketsAll: () => getBucketsAll,
394
474
  getBucketsById: () => getBucketsById,
395
475
  getBucketsByIdObjects: () => getBucketsByIdObjects,
396
476
  getBucketsByIdStats: () => getBucketsByIdStats,
@@ -407,11 +487,15 @@ __export(sdk_gen_exports, {
407
487
  getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
408
488
  getExtractionDocumentsByIdView: () => getExtractionDocumentsByIdView,
409
489
  getExtractionDocumentsWorkspaceByWorkspaceId: () => getExtractionDocumentsWorkspaceByWorkspaceId,
490
+ getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus: () => getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus,
410
491
  getExtractionDocumentsWorkspaceByWorkspaceIdExcluded: () => getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
411
492
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
412
493
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
494
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrashed: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
413
495
  getExtractionResultsById: () => getExtractionResultsById,
414
496
  getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
497
+ getExtractionResultsWorkspaceByWorkspaceId: () => getExtractionResultsWorkspaceByWorkspaceId,
498
+ getExtractionSchemaDiscoveriesById: () => getExtractionSchemaDiscoveriesById,
415
499
  getFieldTemplates: () => getFieldTemplates,
416
500
  getFieldTemplatesById: () => getFieldTemplatesById,
417
501
  getInvitations: () => getInvitations,
@@ -427,26 +511,36 @@ __export(sdk_gen_exports, {
427
511
  getMessages: () => getMessages,
428
512
  getMessagesById: () => getMessagesById,
429
513
  getMessagesSearch: () => getMessagesSearch,
514
+ getMessagesSemanticSearch: () => getMessagesSemanticSearch,
430
515
  getNotificationLogs: () => getNotificationLogs,
431
516
  getNotificationLogsById: () => getNotificationLogsById,
517
+ getNotificationLogsStats: () => getNotificationLogsStats,
432
518
  getNotificationMethods: () => getNotificationMethods,
433
519
  getNotificationMethodsById: () => getNotificationMethodsById,
434
520
  getNotificationPreferences: () => getNotificationPreferences,
435
521
  getNotificationPreferencesById: () => getNotificationPreferencesById,
436
522
  getObjects: () => getObjects,
437
523
  getObjectsById: () => getObjectsById,
524
+ getPermissions: () => getPermissions,
525
+ getPermissionsById: () => getPermissionsById,
526
+ getPermissionsMeta: () => getPermissionsMeta,
527
+ getPermissionsPresets: () => getPermissionsPresets,
528
+ getPermissionsPresetsById: () => getPermissionsPresetsById,
438
529
  getPlans: () => getPlans,
439
530
  getPlansById: () => getPlansById,
440
531
  getPlansSlugBySlug: () => getPlansSlugBySlug,
441
- getSchemaDiscoveriesById: () => getSchemaDiscoveriesById,
442
532
  getSearch: () => getSearch,
533
+ getSearchAnalytics: () => getSearchAnalytics,
534
+ getSearchAnalyticsSummary: () => getSearchAnalyticsSummary,
443
535
  getSearchHealth: () => getSearchHealth,
444
536
  getSearchIndexes: () => getSearchIndexes,
445
537
  getSearchSaved: () => getSearchSaved,
446
538
  getSearchSemantic: () => getSearchSemantic,
447
539
  getSearchStats: () => getSearchStats,
448
540
  getSearchStatus: () => getSearchStatus,
541
+ getSearchSuggest: () => getSearchSuggest,
449
542
  getStorageStats: () => getStorageStats,
543
+ getStorageStatsTenantByTenantId: () => getStorageStatsTenantByTenantId,
450
544
  getTenantMemberships: () => getTenantMemberships,
451
545
  getTenants: () => getTenants,
452
546
  getTenantsById: () => getTenantsById,
@@ -455,7 +549,10 @@ __export(sdk_gen_exports, {
455
549
  getTenantsByTenantIdWorkspaceStats: () => getTenantsByTenantIdWorkspaceStats,
456
550
  getThreads: () => getThreads,
457
551
  getThreadsById: () => getThreadsById,
552
+ getThreadsByIdMessages: () => getThreadsByIdMessages,
458
553
  getThreadsSearch: () => getThreadsSearch,
554
+ getThreadsStats: () => getThreadsStats,
555
+ getThreadsWorkspaceStats: () => getThreadsWorkspaceStats,
459
556
  getTrainingExamples: () => getTrainingExamples,
460
557
  getTrainingExamplesById: () => getTrainingExamplesById,
461
558
  getTrainingSessionsAgentsByAgentIdSessions: () => getTrainingSessionsAgentsByAgentIdSessions,
@@ -466,17 +563,31 @@ __export(sdk_gen_exports, {
466
563
  getUserProfilesById: () => getUserProfilesById,
467
564
  getUserProfilesMe: () => getUserProfilesMe,
468
565
  getUsers: () => getUsers,
566
+ getUsersByEmail: () => getUsersByEmail,
469
567
  getUsersById: () => getUsersById,
470
568
  getUsersMe: () => getUsersMe,
569
+ getUsersMeActivity: () => getUsersMeActivity,
570
+ getUsersMeDashboard: () => getUsersMeDashboard,
571
+ getUsersMeStats: () => getUsersMeStats,
471
572
  getUsersMeTenants: () => getUsersMeTenants,
472
573
  getWallet: () => getWallet,
574
+ getWalletInvoices: () => getWalletInvoices,
575
+ getWatcherClaims: () => getWatcherClaims,
576
+ getWatcherClaimsById: () => getWatcherClaimsById,
577
+ getWatcherClaimsStatus: () => getWatcherClaimsStatus,
578
+ getWatcherEvents: () => getWatcherEvents,
579
+ getWatcherEventsById: () => getWatcherEventsById,
473
580
  getWebhookConfigs: () => getWebhookConfigs,
474
581
  getWebhookConfigsById: () => getWebhookConfigsById,
582
+ getWebhookConfigsByIdEvents: () => getWebhookConfigsByIdEvents,
583
+ getWebhookConfigsStats: () => getWebhookConfigsStats,
475
584
  getWebhookDeliveries: () => getWebhookDeliveries,
476
585
  getWebhookDeliveriesById: () => getWebhookDeliveriesById,
586
+ getWebhookDeliveriesStats: () => getWebhookDeliveriesStats,
477
587
  getWorkspaceMemberships: () => getWorkspaceMemberships,
478
588
  getWorkspaces: () => getWorkspaces,
479
589
  getWorkspacesById: () => getWorkspacesById,
590
+ getWorkspacesByIdMembers: () => getWorkspacesByIdMembers,
480
591
  getWorkspacesByWorkspaceIdExtractionExports: () => getWorkspacesByWorkspaceIdExtractionExports,
481
592
  getWorkspacesByWorkspaceIdExtractionExportsById: () => getWorkspacesByWorkspaceIdExtractionExportsById,
482
593
  getWorkspacesByWorkspaceIdTrainingAnalytics: () => getWorkspacesByWorkspaceIdTrainingAnalytics,
@@ -484,13 +595,16 @@ __export(sdk_gen_exports, {
484
595
  getWorkspacesShared: () => getWorkspacesShared,
485
596
  patchAgentsById: () => patchAgentsById,
486
597
  patchAgentsByIdSchemaVersionsByVersionId: () => patchAgentsByIdSchemaVersionsByVersionId,
598
+ patchAiConversationsById: () => patchAiConversationsById,
487
599
  patchApiKeysById: () => patchApiKeysById,
488
600
  patchApiKeysByIdAllocate: () => patchApiKeysByIdAllocate,
601
+ patchApiKeysByIdResetPeriod: () => patchApiKeysByIdResetPeriod,
489
602
  patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
490
603
  patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
491
604
  patchApiKeysByIdSetBudget: () => patchApiKeysByIdSetBudget,
492
605
  patchApplicationsByApplicationIdEmailTemplatesBySlug: () => patchApplicationsByApplicationIdEmailTemplatesBySlug,
493
606
  patchApplicationsById: () => patchApplicationsById,
607
+ patchApplicationsByIdAllocateCredits: () => patchApplicationsByIdAllocateCredits,
494
608
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
495
609
  patchBucketsById: () => patchBucketsById,
496
610
  patchConfigsByKey: () => patchConfigsByKey,
@@ -504,6 +618,7 @@ __export(sdk_gen_exports, {
504
618
  patchExtractionDocumentsByIdReprocess: () => patchExtractionDocumentsByIdReprocess,
505
619
  patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
506
620
  patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
621
+ patchExtractionDocumentsByIdVerification: () => patchExtractionDocumentsByIdVerification,
507
622
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
508
623
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
509
624
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
@@ -513,11 +628,16 @@ __export(sdk_gen_exports, {
513
628
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
514
629
  patchMessagesById: () => patchMessagesById,
515
630
  patchNotificationMethodsById: () => patchNotificationMethodsById,
631
+ patchNotificationMethodsByIdSendVerification: () => patchNotificationMethodsByIdSendVerification,
516
632
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
633
+ patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
517
634
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
635
+ patchSearchSavedById: () => patchSearchSavedById,
518
636
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
519
637
  patchTenantsById: () => patchTenantsById,
520
638
  patchThreadsById: () => patchThreadsById,
639
+ patchThreadsByIdArchive: () => patchThreadsByIdArchive,
640
+ patchThreadsByIdUnarchive: () => patchThreadsByIdUnarchive,
521
641
  patchTrainingExamplesById: () => patchTrainingExamplesById,
522
642
  patchUserProfilesById: () => patchUserProfilesById,
523
643
  patchUsersAuthPasswordChange: () => patchUsersAuthPasswordChange,
@@ -528,13 +648,20 @@ __export(sdk_gen_exports, {
528
648
  patchUsersByIdResetPassword: () => patchUsersByIdResetPassword,
529
649
  patchWalletAddons: () => patchWalletAddons,
530
650
  patchWalletAddonsByAddonSlugCancel: () => patchWalletAddonsByAddonSlugCancel,
651
+ patchWalletAutoTopUp: () => patchWalletAutoTopUp,
531
652
  patchWalletCredits: () => patchWalletCredits,
532
653
  patchWalletPlan: () => patchWalletPlan,
654
+ patchWatcherClaimsById: () => patchWatcherClaimsById,
655
+ patchWatcherClaimsByIdRelease: () => patchWatcherClaimsByIdRelease,
656
+ patchWatcherClaimsByIdRetry: () => patchWatcherClaimsByIdRetry,
533
657
  patchWebhookConfigsById: () => patchWebhookConfigsById,
534
658
  patchWebhookConfigsByIdRotateSecret: () => patchWebhookConfigsByIdRotateSecret,
535
659
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
536
660
  patchWorkspacesById: () => patchWorkspacesById,
537
661
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
662
+ patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
663
+ postAgentTestResults: () => postAgentTestResults,
664
+ postAgentVersionComparisons: () => postAgentVersionComparisons,
538
665
  postAgentVersions: () => postAgentVersions,
539
666
  postAgents: () => postAgents,
540
667
  postAgentsByIdClone: () => postAgentsByIdClone,
@@ -543,7 +670,6 @@ __export(sdk_gen_exports, {
543
670
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
544
671
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
545
672
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
546
- postAgentsByIdStats: () => postAgentsByIdStats,
547
673
  postAgentsByIdTeach: () => postAgentsByIdTeach,
548
674
  postAgentsByIdTest: () => postAgentsByIdTest,
549
675
  postAgentsByIdValidate: () => postAgentsByIdValidate,
@@ -561,14 +687,18 @@ __export(sdk_gen_exports, {
561
687
  postApiKeys: () => postApiKeys,
562
688
  postApplications: () => postApplications,
563
689
  postApplicationsByApplicationIdEmailTemplates: () => postApplicationsByApplicationIdEmailTemplates,
690
+ postApplicationsByApplicationIdEmailTemplatesBySlugPreview: () => postApplicationsByApplicationIdEmailTemplatesBySlugPreview,
691
+ postApplicationsByApplicationIdEmailTemplatesBySlugTest: () => postApplicationsByApplicationIdEmailTemplatesBySlugTest,
564
692
  postBuckets: () => postBuckets,
565
693
  postConfigs: () => postConfigs,
566
694
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
567
695
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
568
696
  postExtractionBatches: () => postExtractionBatches,
569
697
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
698
+ postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
570
699
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
571
700
  postExtractionResults: () => postExtractionResults,
701
+ postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
572
702
  postFieldTemplates: () => postFieldTemplates,
573
703
  postInvitations: () => postInvitations,
574
704
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
@@ -577,10 +707,14 @@ __export(sdk_gen_exports, {
577
707
  postNotificationMethods: () => postNotificationMethods,
578
708
  postNotificationPreferences: () => postNotificationPreferences,
579
709
  postObjectsBulkDestroy: () => postObjectsBulkDestroy,
710
+ postObjectsCopy: () => postObjectsCopy,
711
+ postObjectsMove: () => postObjectsMove,
580
712
  postObjectsRegister: () => postObjectsRegister,
581
713
  postPayments: () => postPayments,
714
+ postSearchBatch: () => postSearchBatch,
582
715
  postSearchReindex: () => postSearchReindex,
583
716
  postSearchSaved: () => postSearchSaved,
717
+ postSearchSavedByIdRun: () => postSearchSavedByIdRun,
584
718
  postStorageSignDownload: () => postStorageSignDownload,
585
719
  postStorageSignUpload: () => postStorageSignUpload,
586
720
  postTenantMemberships: () => postTenantMemberships,
@@ -588,9 +722,12 @@ __export(sdk_gen_exports, {
588
722
  postTenantsByIdBuyStorage: () => postTenantsByIdBuyStorage,
589
723
  postTenantsByIdCredit: () => postTenantsByIdCredit,
590
724
  postTenantsByIdRemoveStorage: () => postTenantsByIdRemoveStorage,
725
+ postTenantsByIdSchedulePurge: () => postTenantsByIdSchedulePurge,
591
726
  postTenantsIsv: () => postTenantsIsv,
592
727
  postThreads: () => postThreads,
593
728
  postThreadsActive: () => postThreadsActive,
729
+ postThreadsByIdExport: () => postThreadsByIdExport,
730
+ postThreadsByIdFork: () => postThreadsByIdFork,
594
731
  postThreadsByIdMessages: () => postThreadsByIdMessages,
595
732
  postThreadsByIdSummarize: () => postThreadsByIdSummarize,
596
733
  postTokens: () => postTokens,
@@ -607,14 +744,15 @@ __export(sdk_gen_exports, {
607
744
  postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
608
745
  postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
609
746
  postUsersRegisterIsv: () => postUsersRegisterIsv,
747
+ postWatcherClaims: () => postWatcherClaims,
748
+ postWatcherEvents: () => postWatcherEvents,
610
749
  postWebhookConfigs: () => postWebhookConfigs,
611
750
  postWebhookConfigsBulkDisable: () => postWebhookConfigsBulkDisable,
612
751
  postWebhookConfigsBulkEnable: () => postWebhookConfigsBulkEnable,
752
+ postWebhookConfigsByIdReplay: () => postWebhookConfigsByIdReplay,
613
753
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
614
- postWebhookConfigsStats: () => postWebhookConfigsStats,
615
754
  postWebhookDeliveriesBulkRetry: () => postWebhookDeliveriesBulkRetry,
616
755
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
617
- postWebhookDeliveriesStats: () => postWebhookDeliveriesStats,
618
756
  postWorkspaceMemberships: () => postWorkspaceMemberships,
619
757
  postWorkspaces: () => postWorkspaces,
620
758
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
@@ -1443,7 +1581,6 @@ var client = createClient(
1443
1581
 
1444
1582
  // src/_internal/sdk.gen.ts
1445
1583
  var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1446
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1447
1584
  security: [{ scheme: "bearer", type: "http" }],
1448
1585
  url: "/ai/search/advanced",
1449
1586
  ...options,
@@ -1453,31 +1590,21 @@ var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1453
1590
  }
1454
1591
  });
1455
1592
  var deleteExtractionDocumentsById = (options) => (options.client ?? client).delete({
1456
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1457
1593
  security: [{ scheme: "bearer", type: "http" }],
1458
1594
  url: "/extraction/documents/{id}",
1459
1595
  ...options
1460
1596
  });
1461
1597
  var getExtractionDocumentsById = (options) => (options.client ?? client).get({
1462
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1463
1598
  security: [{ scheme: "bearer", type: "http" }],
1464
1599
  url: "/extraction/documents/{id}",
1465
1600
  ...options
1466
1601
  });
1467
1602
  var getThreads = (options) => (options.client ?? client).get({
1468
- querySerializer: {
1469
- parameters: {
1470
- filter: { object: { style: "form" } },
1471
- page: { object: { style: "form" } },
1472
- fields: { object: { style: "form" } }
1473
- }
1474
- },
1475
1603
  security: [{ scheme: "bearer", type: "http" }],
1476
1604
  url: "/threads",
1477
1605
  ...options
1478
1606
  });
1479
1607
  var postThreads = (options) => (options.client ?? client).post({
1480
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1481
1608
  security: [{ scheme: "bearer", type: "http" }],
1482
1609
  url: "/threads",
1483
1610
  ...options,
@@ -1487,7 +1614,6 @@ var postThreads = (options) => (options.client ?? client).post({
1487
1614
  }
1488
1615
  });
1489
1616
  var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client).patch({
1490
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1491
1617
  security: [{ scheme: "bearer", type: "http" }],
1492
1618
  url: "/extraction/documents/{id}/cancel",
1493
1619
  ...options,
@@ -1497,30 +1623,26 @@ var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client)
1497
1623
  }
1498
1624
  });
1499
1625
  var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
1500
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1501
1626
  security: [{ scheme: "bearer", type: "http" }],
1502
1627
  url: "/llm_analytics/costs",
1503
1628
  ...options
1504
1629
  });
1505
1630
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
1506
- querySerializer: {
1507
- parameters: {
1508
- filter: { object: { style: "form" } },
1509
- fields: { object: { style: "form" } }
1510
- }
1511
- },
1512
1631
  security: [{ scheme: "bearer", type: "http" }],
1513
1632
  url: "/training_sessions/agents/{agent_id}/sessions",
1514
1633
  ...options
1515
1634
  });
1635
+ var getWatcherEventsById = (options) => (options.client ?? client).get({
1636
+ security: [{ scheme: "bearer", type: "http" }],
1637
+ url: "/watcher/events/{id}",
1638
+ ...options
1639
+ });
1516
1640
  var getAiChunksDocumentByDocumentId = (options) => (options.client ?? client).get({
1517
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1518
1641
  security: [{ scheme: "bearer", type: "http" }],
1519
1642
  url: "/ai/chunks/document/{document_id}",
1520
1643
  ...options
1521
1644
  });
1522
1645
  var patchWalletCredits = (options) => (options.client ?? client).patch({
1523
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1524
1646
  security: [{ scheme: "bearer", type: "http" }],
1525
1647
  url: "/wallet/credits",
1526
1648
  ...options,
@@ -1529,30 +1651,22 @@ var patchWalletCredits = (options) => (options.client ?? client).patch({
1529
1651
  ...options.headers
1530
1652
  }
1531
1653
  });
1532
- var postWebhookConfigsStats = (options) => (options.client ?? client).post({
1654
+ var getWebhookConfigsStats = (options) => (options.client ?? client).get({
1533
1655
  security: [{ scheme: "bearer", type: "http" }],
1534
1656
  url: "/webhook_configs/stats",
1535
1657
  ...options
1536
1658
  });
1537
1659
  var getApplicationsCurrent = (options) => (options.client ?? client).get({
1538
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1539
1660
  security: [{ scheme: "bearer", type: "http" }],
1540
1661
  url: "/applications/current",
1541
1662
  ...options
1542
1663
  });
1543
1664
  var getWorkspaces = (options) => (options.client ?? client).get({
1544
- querySerializer: {
1545
- parameters: {
1546
- filter: { object: { style: "form" } },
1547
- fields: { object: { style: "form" } }
1548
- }
1549
- },
1550
1665
  security: [{ scheme: "bearer", type: "http" }],
1551
1666
  url: "/workspaces",
1552
1667
  ...options
1553
1668
  });
1554
1669
  var postWorkspaces = (options) => (options.client ?? client).post({
1555
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1556
1670
  security: [{ scheme: "bearer", type: "http" }],
1557
1671
  url: "/workspaces",
1558
1672
  ...options,
@@ -1561,19 +1675,17 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1561
1675
  ...options.headers
1562
1676
  }
1563
1677
  });
1564
- var postAgentsByIdStats = (options) => (options.client ?? client).post({
1678
+ var getAgentsByIdStats = (options) => (options.client ?? client).get({
1565
1679
  security: [{ scheme: "bearer", type: "http" }],
1566
1680
  url: "/agents/{id}/stats",
1567
1681
  ...options
1568
1682
  });
1569
1683
  var getDocumentsStats = (options) => (options.client ?? client).get({
1570
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1571
1684
  security: [{ scheme: "bearer", type: "http" }],
1572
1685
  url: "/documents/stats",
1573
1686
  ...options
1574
1687
  });
1575
1688
  var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client).patch({
1576
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1577
1689
  security: [{ scheme: "bearer", type: "http" }],
1578
1690
  url: "/extraction/documents/{id}/dismiss",
1579
1691
  ...options,
@@ -1583,7 +1695,6 @@ var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client
1583
1695
  }
1584
1696
  });
1585
1697
  var postObjectsRegister = (options) => (options.client ?? client).post({
1586
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1587
1698
  security: [{ scheme: "bearer", type: "http" }],
1588
1699
  url: "/objects/register",
1589
1700
  ...options,
@@ -1593,13 +1704,11 @@ var postObjectsRegister = (options) => (options.client ?? client).post({
1593
1704
  }
1594
1705
  });
1595
1706
  var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
1596
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1597
1707
  security: [{ scheme: "bearer", type: "http" }],
1598
1708
  url: "/llm_analytics/workspace",
1599
1709
  ...options
1600
1710
  });
1601
1711
  var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?? client).patch({
1602
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1603
1712
  security: [{ scheme: "bearer", type: "http" }],
1604
1713
  url: "/extraction/documents/{id}/dismiss-training",
1605
1714
  ...options,
@@ -1608,20 +1717,23 @@ var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?
1608
1717
  ...options.headers
1609
1718
  }
1610
1719
  });
1720
+ var postAgentVersionComparisons = (options) => (options.client ?? client).post({
1721
+ security: [{ scheme: "bearer", type: "http" }],
1722
+ url: "/agent_version_comparisons",
1723
+ ...options,
1724
+ headers: {
1725
+ "Content-Type": "application/vnd.api+json",
1726
+ ...options.headers
1727
+ }
1728
+ });
1611
1729
  var getSearchIndexes = (options) => (options.client ?? client).get({
1612
- querySerializer: {
1613
- parameters: {
1614
- filter: { object: { style: "form" } },
1615
- fields: { object: { style: "form" } }
1616
- }
1617
- },
1618
1730
  security: [{ scheme: "bearer", type: "http" }],
1619
1731
  url: "/search/indexes",
1620
1732
  ...options
1621
1733
  });
1622
- var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post({
1734
+ var postApplicationsByApplicationIdEmailTemplatesBySlugPreview = (options) => (options.client ?? client).post({
1623
1735
  security: [{ scheme: "bearer", type: "http" }],
1624
- url: "/webhook_configs/bulk-disable",
1736
+ url: "/applications/{application_id}/email-templates/{slug}/preview",
1625
1737
  ...options,
1626
1738
  headers: {
1627
1739
  "Content-Type": "application/vnd.api+json",
@@ -1629,13 +1741,11 @@ var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post
1629
1741
  }
1630
1742
  });
1631
1743
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
1632
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1633
1744
  security: [{ scheme: "bearer", type: "http" }],
1634
1745
  url: "/credit-packages/slug/{slug}",
1635
1746
  ...options
1636
1747
  });
1637
1748
  var patchUsersAuthPasswordChange = (options) => (options.client ?? client).patch({
1638
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1639
1749
  security: [{ scheme: "bearer", type: "http" }],
1640
1750
  url: "/users/auth/password/change",
1641
1751
  ...options,
@@ -1645,7 +1755,6 @@ var patchUsersAuthPasswordChange = (options) => (options.client ?? client).patch
1645
1755
  }
1646
1756
  });
1647
1757
  var postExtractionBatches = (options) => (options.client ?? client).post({
1648
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1649
1758
  security: [{ scheme: "bearer", type: "http" }],
1650
1759
  url: "/extraction/batches",
1651
1760
  ...options,
@@ -1655,13 +1764,11 @@ var postExtractionBatches = (options) => (options.client ?? client).post({
1655
1764
  }
1656
1765
  });
1657
1766
  var getLlmAnalyticsPlatform = (options) => (options.client ?? client).get({
1658
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1659
1767
  security: [{ scheme: "bearer", type: "http" }],
1660
1768
  url: "/llm_analytics/platform",
1661
1769
  ...options
1662
1770
  });
1663
1771
  var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client).patch({
1664
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1665
1772
  security: [{ scheme: "bearer", type: "http" }],
1666
1773
  url: "/extraction/documents/{id}/exclude",
1667
1774
  ...options,
@@ -1671,7 +1778,6 @@ var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client
1671
1778
  }
1672
1779
  });
1673
1780
  var postPayments = (options) => (options.client ?? client).post({
1674
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1675
1781
  security: [{ scheme: "bearer", type: "http" }],
1676
1782
  url: "/payments",
1677
1783
  ...options,
@@ -1681,7 +1787,6 @@ var postPayments = (options) => (options.client ?? client).post({
1681
1787
  }
1682
1788
  });
1683
1789
  var postAgentsImport = (options) => (options.client ?? client).post({
1684
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1685
1790
  security: [{ scheme: "bearer", type: "http" }],
1686
1791
  url: "/agents/import",
1687
1792
  ...options,
@@ -1691,18 +1796,11 @@ var postAgentsImport = (options) => (options.client ?? client).post({
1691
1796
  }
1692
1797
  });
1693
1798
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1694
- querySerializer: {
1695
- parameters: {
1696
- filter: { object: { style: "form" } },
1697
- fields: { object: { style: "form" } }
1698
- }
1699
- },
1700
1799
  security: [{ scheme: "bearer", type: "http" }],
1701
1800
  url: "/extraction/batches/workspace/{workspace_id}",
1702
1801
  ...options
1703
1802
  });
1704
1803
  var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1705
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1706
1804
  security: [{ scheme: "bearer", type: "http" }],
1707
1805
  url: "/api_keys/{id}/revoke",
1708
1806
  ...options,
@@ -1712,19 +1810,16 @@ var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1712
1810
  }
1713
1811
  });
1714
1812
  var getInvitationsConsumeByToken = (options) => (options.client ?? client).get({
1715
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1716
1813
  security: [{ scheme: "bearer", type: "http" }],
1717
1814
  url: "/invitations/consume/{token}",
1718
1815
  ...options
1719
1816
  });
1720
1817
  var getExtractionDocumentsByIdStatus = (options) => (options.client ?? client).get({
1721
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1722
1818
  security: [{ scheme: "bearer", type: "http" }],
1723
1819
  url: "/extraction/documents/{id}/status",
1724
1820
  ...options
1725
1821
  });
1726
1822
  var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client).patch({
1727
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1728
1823
  security: [{ scheme: "bearer", type: "http" }],
1729
1824
  url: "/extraction/documents/{id}/status",
1730
1825
  ...options,
@@ -1734,7 +1829,6 @@ var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client)
1734
1829
  }
1735
1830
  });
1736
1831
  var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? client).patch({
1737
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1738
1832
  security: [{ scheme: "bearer", type: "http" }],
1739
1833
  url: "/extraction/documents/{id}/finish_upload",
1740
1834
  ...options,
@@ -1743,8 +1837,12 @@ var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? c
1743
1837
  ...options.headers
1744
1838
  }
1745
1839
  });
1840
+ var getUsersMeDashboard = (options) => (options.client ?? client).get({
1841
+ security: [{ scheme: "bearer", type: "http" }],
1842
+ url: "/users/me/dashboard",
1843
+ ...options
1844
+ });
1746
1845
  var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch({
1747
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1748
1846
  security: [{ scheme: "bearer", type: "http" }],
1749
1847
  url: "/workspaces/{id}/allocate",
1750
1848
  ...options,
@@ -1754,7 +1852,6 @@ var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch(
1754
1852
  }
1755
1853
  });
1756
1854
  var postThreadsActive = (options) => (options.client ?? client).post({
1757
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1758
1855
  security: [{ scheme: "bearer", type: "http" }],
1759
1856
  url: "/threads/active",
1760
1857
  ...options,
@@ -1764,7 +1861,6 @@ var postThreadsActive = (options) => (options.client ?? client).post({
1764
1861
  }
1765
1862
  });
1766
1863
  var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1767
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1768
1864
  security: [{ scheme: "bearer", type: "http" }],
1769
1865
  url: "/invitations/{id}/revoke",
1770
1866
  ...options,
@@ -1773,8 +1869,12 @@ var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1773
1869
  ...options.headers
1774
1870
  }
1775
1871
  });
1872
+ var getAiGraphNodesLabelByLabel = (options) => (options.client ?? client).get({
1873
+ security: [{ scheme: "bearer", type: "http" }],
1874
+ url: "/ai/graph/nodes/label/{label}",
1875
+ ...options
1876
+ });
1776
1877
  var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options) => (options.client ?? client).post({
1777
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1778
1878
  security: [{ scheme: "bearer", type: "http" }],
1779
1879
  url: "/workspaces/{workspace_id}/extraction/documents/dismiss-all-trained",
1780
1880
  ...options,
@@ -1784,19 +1884,11 @@ var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options)
1784
1884
  }
1785
1885
  });
1786
1886
  var getConfigs = (options) => (options.client ?? client).get({
1787
- querySerializer: {
1788
- parameters: {
1789
- filter: { object: { style: "form" } },
1790
- page: { object: { style: "form" } },
1791
- fields: { object: { style: "form" } }
1792
- }
1793
- },
1794
1887
  security: [{ scheme: "bearer", type: "http" }],
1795
1888
  url: "/configs",
1796
1889
  ...options
1797
1890
  });
1798
1891
  var postConfigs = (options) => (options.client ?? client).post({
1799
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1800
1892
  security: [{ scheme: "bearer", type: "http" }],
1801
1893
  url: "/configs",
1802
1894
  ...options,
@@ -1805,19 +1897,18 @@ var postConfigs = (options) => (options.client ?? client).post({
1805
1897
  ...options.headers
1806
1898
  }
1807
1899
  });
1808
- var postTokens = (options) => (options.client ?? client).post({
1809
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1900
+ var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
1810
1901
  security: [{ scheme: "bearer", type: "http" }],
1811
- url: "/tokens",
1902
+ url: "/wallet/auto-top-up",
1812
1903
  ...options,
1813
1904
  headers: {
1814
1905
  "Content-Type": "application/vnd.api+json",
1815
1906
  ...options.headers
1816
1907
  }
1817
1908
  });
1818
- var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post({
1909
+ var postTokens = (options) => (options.client ?? client).post({
1819
1910
  security: [{ scheme: "bearer", type: "http" }],
1820
- url: "/webhook_configs/bulk-enable",
1911
+ url: "/tokens",
1821
1912
  ...options,
1822
1913
  headers: {
1823
1914
  "Content-Type": "application/vnd.api+json",
@@ -1825,7 +1916,6 @@ var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post(
1825
1916
  }
1826
1917
  });
1827
1918
  var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
1828
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1829
1919
  security: [{ scheme: "bearer", type: "http" }],
1830
1920
  url: "/api_keys/{id}/set_budget",
1831
1921
  ...options,
@@ -1835,19 +1925,16 @@ var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
1835
1925
  }
1836
1926
  });
1837
1927
  var deleteTrainingExamplesById = (options) => (options.client ?? client).delete({
1838
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1839
1928
  security: [{ scheme: "bearer", type: "http" }],
1840
1929
  url: "/training_examples/{id}",
1841
1930
  ...options
1842
1931
  });
1843
1932
  var getTrainingExamplesById = (options) => (options.client ?? client).get({
1844
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1845
1933
  security: [{ scheme: "bearer", type: "http" }],
1846
1934
  url: "/training_examples/{id}",
1847
1935
  ...options
1848
1936
  });
1849
1937
  var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1850
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1851
1938
  security: [{ scheme: "bearer", type: "http" }],
1852
1939
  url: "/training_examples/{id}",
1853
1940
  ...options,
@@ -1856,23 +1943,21 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1856
1943
  ...options.headers
1857
1944
  }
1858
1945
  });
1859
- var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).post({
1946
+ var deleteSearchSavedById = (options) => (options.client ?? client).delete({
1860
1947
  security: [{ scheme: "bearer", type: "http" }],
1861
- url: "/webhook_deliveries/bulk-retry",
1948
+ url: "/search/saved/{id}",
1949
+ ...options
1950
+ });
1951
+ var patchSearchSavedById = (options) => (options.client ?? client).patch({
1952
+ security: [{ scheme: "bearer", type: "http" }],
1953
+ url: "/search/saved/{id}",
1862
1954
  ...options,
1863
1955
  headers: {
1864
1956
  "Content-Type": "application/vnd.api+json",
1865
1957
  ...options.headers
1866
1958
  }
1867
1959
  });
1868
- var deleteSearchSavedById = (options) => (options.client ?? client).delete({
1869
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1870
- security: [{ scheme: "bearer", type: "http" }],
1871
- url: "/search/saved/{id}",
1872
- ...options
1873
- });
1874
1960
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1875
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1876
1961
  security: [{ scheme: "bearer", type: "http" }],
1877
1962
  url: "/users/{id}/admin/email",
1878
1963
  ...options,
@@ -1882,19 +1967,16 @@ var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1882
1967
  }
1883
1968
  });
1884
1969
  var getExtractionDocumentsWorkspaceByWorkspaceIdTrained = (options) => (options.client ?? client).get({
1885
- querySerializer: {
1886
- parameters: {
1887
- filter: { object: { style: "form" } },
1888
- page: { object: { style: "form" } },
1889
- fields: { object: { style: "form" } }
1890
- }
1891
- },
1892
1970
  security: [{ scheme: "bearer", type: "http" }],
1893
1971
  url: "/extraction/documents/workspace/{workspace_id}/trained",
1894
1972
  ...options
1895
1973
  });
1974
+ var getWatcherClaimsStatus = (options) => (options.client ?? client).get({
1975
+ security: [{ scheme: "bearer", type: "http" }],
1976
+ url: "/watcher/claims/status",
1977
+ ...options
1978
+ });
1896
1979
  var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch({
1897
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1898
1980
  security: [{ scheme: "bearer", type: "http" }],
1899
1981
  url: "/users/auth/reset-password",
1900
1982
  ...options,
@@ -1904,25 +1986,16 @@ var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch(
1904
1986
  }
1905
1987
  });
1906
1988
  var getBucketsByIdStats = (options) => (options.client ?? client).get({
1907
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1908
1989
  security: [{ scheme: "bearer", type: "http" }],
1909
1990
  url: "/buckets/{id}/stats",
1910
1991
  ...options
1911
1992
  });
1912
1993
  var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
1913
- querySerializer: {
1914
- parameters: {
1915
- filter: { object: { style: "form" } },
1916
- page: { object: { style: "form" } },
1917
- fields: { object: { style: "form" } }
1918
- }
1919
- },
1920
1994
  security: [{ scheme: "bearer", type: "http" }],
1921
1995
  url: "/applications/{application_id}/email-templates",
1922
1996
  ...options
1923
1997
  });
1924
1998
  var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
1925
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1926
1999
  security: [{ scheme: "bearer", type: "http" }],
1927
2000
  url: "/applications/{application_id}/email-templates",
1928
2001
  ...options,
@@ -1932,7 +2005,6 @@ var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client
1932
2005
  }
1933
2006
  });
1934
2007
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1935
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1936
2008
  security: [{ scheme: "bearer", type: "http" }],
1937
2009
  url: "/notification_methods/{id}/set_primary",
1938
2010
  ...options,
@@ -1942,13 +2014,11 @@ var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? cli
1942
2014
  }
1943
2015
  });
1944
2016
  var getBucketsByIdObjects = (options) => (options.client ?? client).get({
1945
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1946
2017
  security: [{ scheme: "bearer", type: "http" }],
1947
2018
  url: "/buckets/{id}/objects",
1948
2019
  ...options
1949
2020
  });
1950
2021
  var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
1951
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1952
2022
  security: [{ scheme: "bearer", type: "http" }],
1953
2023
  url: "/invitations/{id}/resend",
1954
2024
  ...options,
@@ -1957,19 +2027,21 @@ var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
1957
2027
  ...options.headers
1958
2028
  }
1959
2029
  });
2030
+ var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).post({
2031
+ security: [{ scheme: "bearer", type: "http" }],
2032
+ url: "/extraction/schema_discoveries",
2033
+ ...options,
2034
+ headers: {
2035
+ "Content-Type": "application/vnd.api+json",
2036
+ ...options.headers
2037
+ }
2038
+ });
1960
2039
  var getSearchSaved = (options) => (options.client ?? client).get({
1961
- querySerializer: {
1962
- parameters: {
1963
- filter: { object: { style: "form" } },
1964
- fields: { object: { style: "form" } }
1965
- }
1966
- },
1967
2040
  security: [{ scheme: "bearer", type: "http" }],
1968
2041
  url: "/search/saved",
1969
2042
  ...options
1970
2043
  });
1971
2044
  var postSearchSaved = (options) => (options.client ?? client).post({
1972
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1973
2045
  security: [{ scheme: "bearer", type: "http" }],
1974
2046
  url: "/search/saved",
1975
2047
  ...options,
@@ -1978,43 +2050,51 @@ var postSearchSaved = (options) => (options.client ?? client).post({
1978
2050
  ...options.headers
1979
2051
  }
1980
2052
  });
2053
+ var patchNotificationMethodsByIdSendVerification = (options) => (options.client ?? client).patch({
2054
+ security: [{ scheme: "bearer", type: "http" }],
2055
+ url: "/notification_methods/{id}/send_verification",
2056
+ ...options,
2057
+ headers: {
2058
+ "Content-Type": "application/vnd.api+json",
2059
+ ...options.headers
2060
+ }
2061
+ });
1981
2062
  var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
1982
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1983
2063
  security: [{ scheme: "bearer", type: "http" }],
1984
2064
  url: "/field_templates/{id}",
1985
2065
  ...options
1986
2066
  });
1987
2067
  var getFieldTemplatesById = (options) => (options.client ?? client).get({
1988
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1989
2068
  security: [{ scheme: "bearer", type: "http" }],
1990
2069
  url: "/field_templates/{id}",
1991
2070
  ...options
1992
2071
  });
1993
2072
  var getWorkspacesByWorkspaceIdTrainingAnalytics = (options) => (options.client ?? client).get({
1994
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1995
2073
  security: [{ scheme: "bearer", type: "http" }],
1996
2074
  url: "/workspaces/{workspace_id}/training/analytics",
1997
2075
  ...options
1998
2076
  });
1999
2077
  var getUserProfilesMe = (options) => (options.client ?? client).get({
2000
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2001
2078
  security: [{ scheme: "bearer", type: "http" }],
2002
2079
  url: "/user_profiles/me",
2003
2080
  ...options
2004
2081
  });
2082
+ var getExtractionSchemaDiscoveriesById = (options) => (options.client ?? client).get({
2083
+ security: [{ scheme: "bearer", type: "http" }],
2084
+ url: "/extraction/schema_discoveries/{id}",
2085
+ ...options
2086
+ });
2087
+ var getApiKeysActive = (options) => (options.client ?? client).get({
2088
+ security: [{ scheme: "bearer", type: "http" }],
2089
+ url: "/api_keys/active",
2090
+ ...options
2091
+ });
2005
2092
  var getAgentVersions = (options) => (options.client ?? client).get({
2006
- querySerializer: {
2007
- parameters: {
2008
- filter: { object: { style: "form" } },
2009
- fields: { object: { style: "form" } }
2010
- }
2011
- },
2012
2093
  security: [{ scheme: "bearer", type: "http" }],
2013
2094
  url: "/agent_versions",
2014
2095
  ...options
2015
2096
  });
2016
2097
  var postAgentVersions = (options) => (options.client ?? client).post({
2017
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2018
2098
  security: [{ scheme: "bearer", type: "http" }],
2019
2099
  url: "/agent_versions",
2020
2100
  ...options,
@@ -2024,7 +2104,6 @@ var postAgentVersions = (options) => (options.client ?? client).post({
2024
2104
  }
2025
2105
  });
2026
2106
  var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
2027
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2028
2107
  security: [{ scheme: "bearer", type: "http" }],
2029
2108
  url: "/invitations/{id}/accept-by-user",
2030
2109
  ...options,
@@ -2033,20 +2112,36 @@ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).p
2033
2112
  ...options.headers
2034
2113
  }
2035
2114
  });
2115
+ var getPermissionsMeta = (options) => (options.client ?? client).get({
2116
+ security: [{ scheme: "bearer", type: "http" }],
2117
+ url: "/permissions/meta",
2118
+ ...options
2119
+ });
2120
+ var postApplicationsByApplicationIdEmailTemplatesBySlugTest = (options) => (options.client ?? client).post({
2121
+ security: [{ scheme: "bearer", type: "http" }],
2122
+ url: "/applications/{application_id}/email-templates/{slug}/test",
2123
+ ...options,
2124
+ headers: {
2125
+ "Content-Type": "application/vnd.api+json",
2126
+ ...options.headers
2127
+ }
2128
+ });
2129
+ var getSearchSuggest = (options) => (options.client ?? client).get({
2130
+ security: [{ scheme: "bearer", type: "http" }],
2131
+ url: "/search/suggest",
2132
+ ...options
2133
+ });
2036
2134
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
2037
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2038
2135
  security: [{ scheme: "bearer", type: "http" }],
2039
2136
  url: "/webhook_configs/{id}",
2040
2137
  ...options
2041
2138
  });
2042
2139
  var getWebhookConfigsById = (options) => (options.client ?? client).get({
2043
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2044
2140
  security: [{ scheme: "bearer", type: "http" }],
2045
2141
  url: "/webhook_configs/{id}",
2046
2142
  ...options
2047
2143
  });
2048
2144
  var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
2049
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2050
2145
  security: [{ scheme: "bearer", type: "http" }],
2051
2146
  url: "/webhook_configs/{id}",
2052
2147
  ...options,
@@ -2055,8 +2150,16 @@ var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
2055
2150
  ...options.headers
2056
2151
  }
2057
2152
  });
2153
+ var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post({
2154
+ security: [{ scheme: "bearer", type: "http" }],
2155
+ url: "/webhook_configs/bulk_enable",
2156
+ ...options,
2157
+ headers: {
2158
+ "Content-Type": "application/vnd.api+json",
2159
+ ...options.headers
2160
+ }
2161
+ });
2058
2162
  var postInvitationsAcceptByToken = (options) => (options.client ?? client).post({
2059
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2060
2163
  security: [{ scheme: "bearer", type: "http" }],
2061
2164
  url: "/invitations/accept_by_token",
2062
2165
  ...options,
@@ -2065,14 +2168,17 @@ var postInvitationsAcceptByToken = (options) => (options.client ?? client).post(
2065
2168
  ...options.headers
2066
2169
  }
2067
2170
  });
2171
+ var deleteAiMessagesById = (options) => (options.client ?? client).delete({
2172
+ security: [{ scheme: "bearer", type: "http" }],
2173
+ url: "/ai/messages/{id}",
2174
+ ...options
2175
+ });
2068
2176
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
2069
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2070
2177
  security: [{ scheme: "bearer", type: "http" }],
2071
2178
  url: "/extraction/batches/{id}/upload-urls",
2072
2179
  ...options
2073
2180
  });
2074
2181
  var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
2075
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2076
2182
  security: [{ scheme: "bearer", type: "http" }],
2077
2183
  url: "/documents/bulk_delete",
2078
2184
  ...options,
@@ -2082,19 +2188,16 @@ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
2082
2188
  }
2083
2189
  });
2084
2190
  var deleteAgentVersionsById = (options) => (options.client ?? client).delete({
2085
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2086
2191
  security: [{ scheme: "bearer", type: "http" }],
2087
2192
  url: "/agent_versions/{id}",
2088
2193
  ...options
2089
2194
  });
2090
2195
  var getAgentVersionsById = (options) => (options.client ?? client).get({
2091
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2092
2196
  security: [{ scheme: "bearer", type: "http" }],
2093
2197
  url: "/agent_versions/{id}",
2094
2198
  ...options
2095
2199
  });
2096
2200
  var postAiChunksSearch = (options) => (options.client ?? client).post({
2097
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2098
2201
  security: [{ scheme: "bearer", type: "http" }],
2099
2202
  url: "/ai/chunks/search",
2100
2203
  ...options,
@@ -2103,8 +2206,12 @@ var postAiChunksSearch = (options) => (options.client ?? client).post({
2103
2206
  ...options.headers
2104
2207
  }
2105
2208
  });
2209
+ var getThreadsByIdMessages = (options) => (options.client ?? client).get({
2210
+ security: [{ scheme: "bearer", type: "http" }],
2211
+ url: "/threads/{id}/messages",
2212
+ ...options
2213
+ });
2106
2214
  var postThreadsByIdMessages = (options) => (options.client ?? client).post({
2107
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2108
2215
  security: [{ scheme: "bearer", type: "http" }],
2109
2216
  url: "/threads/{id}/messages",
2110
2217
  ...options,
@@ -2114,7 +2221,6 @@ var postThreadsByIdMessages = (options) => (options.client ?? client).post({
2114
2221
  }
2115
2222
  });
2116
2223
  var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
2117
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2118
2224
  security: [{ scheme: "bearer", type: "http" }],
2119
2225
  url: "/agents/clone_for_workspace",
2120
2226
  ...options,
@@ -2124,7 +2230,6 @@ var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
2124
2230
  }
2125
2231
  });
2126
2232
  var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
2127
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2128
2233
  security: [{ scheme: "bearer", type: "http" }],
2129
2234
  url: "/invitations/{id}/accept",
2130
2235
  ...options,
@@ -2134,30 +2239,31 @@ var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
2134
2239
  }
2135
2240
  });
2136
2241
  var getCreditPackagesById = (options) => (options.client ?? client).get({
2137
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2138
2242
  security: [{ scheme: "bearer", type: "http" }],
2139
2243
  url: "/credit-packages/{id}",
2140
2244
  ...options
2141
2245
  });
2246
+ var deleteUsersById = (options) => (options.client ?? client).delete({
2247
+ security: [{ scheme: "bearer", type: "http" }],
2248
+ url: "/users/{id}",
2249
+ ...options
2250
+ });
2142
2251
  var getUsersById = (options) => (options.client ?? client).get({
2143
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2144
2252
  security: [{ scheme: "bearer", type: "http" }],
2145
2253
  url: "/users/{id}",
2146
2254
  ...options
2147
2255
  });
2148
2256
  var getExtractionResultsById = (options) => (options.client ?? client).get({
2149
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2150
2257
  security: [{ scheme: "bearer", type: "http" }],
2151
2258
  url: "/extraction/results/{id}",
2152
2259
  ...options
2153
2260
  });
2154
- var postWebhookDeliveriesStats = (options) => (options.client ?? client).post({
2261
+ var getWebhookDeliveriesStats = (options) => (options.client ?? client).get({
2155
2262
  security: [{ scheme: "bearer", type: "http" }],
2156
2263
  url: "/webhook_deliveries/stats",
2157
2264
  ...options
2158
2265
  });
2159
2266
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2160
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2161
2267
  security: [{ scheme: "bearer", type: "http" }],
2162
2268
  url: "/agents/{id}/validate",
2163
2269
  ...options,
@@ -2167,7 +2273,6 @@ var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2167
2273
  }
2168
2274
  });
2169
2275
  var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
2170
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2171
2276
  security: [{ scheme: "bearer", type: "http" }],
2172
2277
  url: "/webhook_configs/{id}/test",
2173
2278
  ...options,
@@ -2177,13 +2282,11 @@ var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
2177
2282
  }
2178
2283
  });
2179
2284
  var getUsersMe = (options) => (options.client ?? client).get({
2180
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2181
2285
  security: [{ scheme: "bearer", type: "http" }],
2182
2286
  url: "/users/me",
2183
2287
  ...options
2184
2288
  });
2185
2289
  var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
2186
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2187
2290
  security: [{ scheme: "bearer", type: "http" }],
2188
2291
  url: "/users/auth/register_with_oidc",
2189
2292
  ...options,
@@ -2207,7 +2310,6 @@ var postAgentsByIdSchemaVersions = (options) => (options.client ?? client).post(
2207
2310
  }
2208
2311
  });
2209
2312
  var postTenantsByIdCredit = (options) => (options.client ?? client).post({
2210
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2211
2313
  security: [{ scheme: "bearer", type: "http" }],
2212
2314
  url: "/tenants/{id}/credit",
2213
2315
  ...options,
@@ -2217,36 +2319,21 @@ var postTenantsByIdCredit = (options) => (options.client ?? client).post({
2217
2319
  }
2218
2320
  });
2219
2321
  var getTransactionsById = (options) => (options.client ?? client).get({
2220
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2221
2322
  security: [{ scheme: "bearer", type: "http" }],
2222
2323
  url: "/transactions/{id}",
2223
2324
  ...options
2224
2325
  });
2225
2326
  var getUsersMeTenants = (options) => (options.client ?? client).get({
2226
- querySerializer: {
2227
- parameters: {
2228
- filter: { object: { style: "form" } },
2229
- fields: { object: { style: "form" } }
2230
- }
2231
- },
2232
2327
  security: [{ scheme: "bearer", type: "http" }],
2233
2328
  url: "/users/me/tenants",
2234
2329
  ...options
2235
2330
  });
2236
2331
  var getTenantMemberships = (options) => (options.client ?? client).get({
2237
- querySerializer: {
2238
- parameters: {
2239
- filter: { object: { style: "form" } },
2240
- page: { object: { style: "form" } },
2241
- fields: { object: { style: "form" } }
2242
- }
2243
- },
2244
2332
  security: [{ scheme: "bearer", type: "http" }],
2245
2333
  url: "/tenant-memberships",
2246
2334
  ...options
2247
2335
  });
2248
2336
  var postTenantMemberships = (options) => (options.client ?? client).post({
2249
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2250
2337
  security: [{ scheme: "bearer", type: "http" }],
2251
2338
  url: "/tenant-memberships",
2252
2339
  ...options,
@@ -2265,7 +2352,6 @@ var postTrainingExamplesBulkDelete = (options) => (options.client ?? client).pos
2265
2352
  }
2266
2353
  });
2267
2354
  var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client).patch({
2268
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2269
2355
  security: [{ scheme: "bearer", type: "http" }],
2270
2356
  url: "/extraction/documents/{id}/include",
2271
2357
  ...options,
@@ -2275,13 +2361,21 @@ var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client
2275
2361
  }
2276
2362
  });
2277
2363
  var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
2278
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2279
2364
  security: [{ scheme: "bearer", type: "http" }],
2280
2365
  url: "/llm_analytics/summary",
2281
2366
  ...options
2282
2367
  });
2368
+ var getAgentVersionsByIdMetrics = (options) => (options.client ?? client).get({
2369
+ security: [{ scheme: "bearer", type: "http" }],
2370
+ url: "/agent_versions/{id}/metrics",
2371
+ ...options
2372
+ });
2373
+ var getUsersMeStats = (options) => (options.client ?? client).get({
2374
+ security: [{ scheme: "bearer", type: "http" }],
2375
+ url: "/users/me/stats",
2376
+ ...options
2377
+ });
2283
2378
  var postStorageSignDownload = (options) => (options.client ?? client).post({
2284
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2285
2379
  security: [{ scheme: "bearer", type: "http" }],
2286
2380
  url: "/storage/sign_download",
2287
2381
  ...options,
@@ -2291,31 +2385,31 @@ var postStorageSignDownload = (options) => (options.client ?? client).post({
2291
2385
  }
2292
2386
  });
2293
2387
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
2294
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2295
2388
  security: [{ scheme: "bearer", type: "http" }],
2296
2389
  url: "/training_sessions/{id}",
2297
2390
  ...options
2298
2391
  });
2299
2392
  var getTrainingSessionsById = (options) => (options.client ?? client).get({
2300
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2301
2393
  security: [{ scheme: "bearer", type: "http" }],
2302
2394
  url: "/training_sessions/{id}",
2303
2395
  ...options
2304
2396
  });
2397
+ var getUsersByEmail = (options) => (options.client ?? client).get({
2398
+ security: [{ scheme: "bearer", type: "http" }],
2399
+ url: "/users/by-email",
2400
+ ...options
2401
+ });
2305
2402
  var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
2306
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2307
2403
  security: [{ scheme: "bearer", type: "http" }],
2308
2404
  url: "/notification_methods/{id}",
2309
2405
  ...options
2310
2406
  });
2311
2407
  var getNotificationMethodsById = (options) => (options.client ?? client).get({
2312
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2313
2408
  security: [{ scheme: "bearer", type: "http" }],
2314
2409
  url: "/notification_methods/{id}",
2315
2410
  ...options
2316
2411
  });
2317
2412
  var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
2318
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2319
2413
  security: [{ scheme: "bearer", type: "http" }],
2320
2414
  url: "/notification_methods/{id}",
2321
2415
  ...options,
@@ -2325,41 +2419,30 @@ var patchNotificationMethodsById = (options) => (options.client ?? client).patch
2325
2419
  }
2326
2420
  });
2327
2421
  var getWebhookDeliveries = (options) => (options.client ?? client).get({
2328
- querySerializer: {
2329
- parameters: {
2330
- filter: { object: { style: "form" } },
2331
- page: { object: { style: "form" } },
2332
- fields: { object: { style: "form" } }
2333
- }
2334
- },
2335
2422
  security: [{ scheme: "bearer", type: "http" }],
2336
2423
  url: "/webhook_deliveries",
2337
2424
  ...options
2338
2425
  });
2426
+ var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post({
2427
+ security: [{ scheme: "bearer", type: "http" }],
2428
+ url: "/webhook_configs/bulk_disable",
2429
+ ...options,
2430
+ headers: {
2431
+ "Content-Type": "application/vnd.api+json",
2432
+ ...options.headers
2433
+ }
2434
+ });
2339
2435
  var getSearch = (options) => (options.client ?? client).get({
2340
- querySerializer: {
2341
- parameters: {
2342
- filter: { object: { style: "form" } },
2343
- fields: { object: { style: "form" } }
2344
- }
2345
- },
2346
2436
  security: [{ scheme: "bearer", type: "http" }],
2347
2437
  url: "/search",
2348
2438
  ...options
2349
2439
  });
2350
2440
  var getInvitations = (options) => (options.client ?? client).get({
2351
- querySerializer: {
2352
- parameters: {
2353
- filter: { object: { style: "form" } },
2354
- fields: { object: { style: "form" } }
2355
- }
2356
- },
2357
2441
  security: [{ scheme: "bearer", type: "http" }],
2358
2442
  url: "/invitations",
2359
2443
  ...options
2360
2444
  });
2361
2445
  var postInvitations = (options) => (options.client ?? client).post({
2362
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2363
2446
  security: [{ scheme: "bearer", type: "http" }],
2364
2447
  url: "/invitations",
2365
2448
  ...options,
@@ -2368,31 +2451,36 @@ var postInvitations = (options) => (options.client ?? client).post({
2368
2451
  ...options.headers
2369
2452
  }
2370
2453
  });
2454
+ var patchThreadsByIdArchive = (options) => (options.client ?? client).patch({
2455
+ security: [{ scheme: "bearer", type: "http" }],
2456
+ url: "/threads/{id}/archive",
2457
+ ...options,
2458
+ headers: {
2459
+ "Content-Type": "application/vnd.api+json",
2460
+ ...options.headers
2461
+ }
2462
+ });
2463
+ var getApiKeysStats = (options) => (options.client ?? client).get({
2464
+ security: [{ scheme: "bearer", type: "http" }],
2465
+ url: "/api_keys/stats",
2466
+ ...options
2467
+ });
2371
2468
  var getSearchSemantic = (options) => (options.client ?? client).get({
2372
- querySerializer: {
2373
- parameters: {
2374
- filter: { object: { style: "form" } },
2375
- fields: { object: { style: "form" } }
2376
- }
2377
- },
2378
2469
  security: [{ scheme: "bearer", type: "http" }],
2379
2470
  url: "/search/semantic",
2380
2471
  ...options
2381
2472
  });
2473
+ var getThreadsStats = (options) => (options.client ?? client).get({
2474
+ security: [{ scheme: "bearer", type: "http" }],
2475
+ url: "/threads/stats",
2476
+ ...options
2477
+ });
2382
2478
  var getMessages = (options) => (options.client ?? client).get({
2383
- querySerializer: {
2384
- parameters: {
2385
- filter: { object: { style: "form" } },
2386
- page: { object: { style: "form" } },
2387
- fields: { object: { style: "form" } }
2388
- }
2389
- },
2390
2479
  security: [{ scheme: "bearer", type: "http" }],
2391
2480
  url: "/messages",
2392
2481
  ...options
2393
2482
  });
2394
2483
  var postMessages = (options) => (options.client ?? client).post({
2395
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2396
2484
  security: [{ scheme: "bearer", type: "http" }],
2397
2485
  url: "/messages",
2398
2486
  ...options,
@@ -2402,19 +2490,11 @@ var postMessages = (options) => (options.client ?? client).post({
2402
2490
  }
2403
2491
  });
2404
2492
  var getNotificationPreferences = (options) => (options.client ?? client).get({
2405
- querySerializer: {
2406
- parameters: {
2407
- filter: { object: { style: "form" } },
2408
- page: { object: { style: "form" } },
2409
- fields: { object: { style: "form" } }
2410
- }
2411
- },
2412
2493
  security: [{ scheme: "bearer", type: "http" }],
2413
2494
  url: "/notification_preferences",
2414
2495
  ...options
2415
2496
  });
2416
2497
  var postNotificationPreferences = (options) => (options.client ?? client).post({
2417
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2418
2498
  security: [{ scheme: "bearer", type: "http" }],
2419
2499
  url: "/notification_preferences",
2420
2500
  ...options,
@@ -2424,19 +2504,11 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
2424
2504
  }
2425
2505
  });
2426
2506
  var getApplications = (options) => (options.client ?? client).get({
2427
- querySerializer: {
2428
- parameters: {
2429
- filter: { object: { style: "form" } },
2430
- page: { object: { style: "form" } },
2431
- fields: { object: { style: "form" } }
2432
- }
2433
- },
2434
2507
  security: [{ scheme: "bearer", type: "http" }],
2435
2508
  url: "/applications",
2436
2509
  ...options
2437
2510
  });
2438
2511
  var postApplications = (options) => (options.client ?? client).post({
2439
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2440
2512
  security: [{ scheme: "bearer", type: "http" }],
2441
2513
  url: "/applications",
2442
2514
  ...options,
@@ -2445,6 +2517,15 @@ var postApplications = (options) => (options.client ?? client).post({
2445
2517
  ...options.headers
2446
2518
  }
2447
2519
  });
2520
+ var patchWatcherClaimsByIdRetry = (options) => (options.client ?? client).patch({
2521
+ security: [{ scheme: "bearer", type: "http" }],
2522
+ url: "/watcher/claims/{id}/retry",
2523
+ ...options,
2524
+ headers: {
2525
+ "Content-Type": "application/vnd.api+json",
2526
+ ...options.headers
2527
+ }
2528
+ });
2448
2529
  var postAgentsPredict = (options) => (options.client ?? client).post({
2449
2530
  security: [{ scheme: "bearer", type: "http" }],
2450
2531
  url: "/agents/predict",
@@ -2455,7 +2536,6 @@ var postAgentsPredict = (options) => (options.client ?? client).post({
2455
2536
  }
2456
2537
  });
2457
2538
  var patchExtractionDocumentsByIdReprocess = (options) => (options.client ?? client).patch({
2458
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2459
2539
  security: [{ scheme: "bearer", type: "http" }],
2460
2540
  url: "/extraction/documents/{id}/reprocess",
2461
2541
  ...options,
@@ -2465,19 +2545,16 @@ var patchExtractionDocumentsByIdReprocess = (options) => (options.client ?? clie
2465
2545
  }
2466
2546
  });
2467
2547
  var deleteThreadsById = (options) => (options.client ?? client).delete({
2468
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2469
2548
  security: [{ scheme: "bearer", type: "http" }],
2470
2549
  url: "/threads/{id}",
2471
2550
  ...options
2472
2551
  });
2473
2552
  var getThreadsById = (options) => (options.client ?? client).get({
2474
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2475
2553
  security: [{ scheme: "bearer", type: "http" }],
2476
2554
  url: "/threads/{id}",
2477
2555
  ...options
2478
2556
  });
2479
2557
  var patchThreadsById = (options) => (options.client ?? client).patch({
2480
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2481
2558
  security: [{ scheme: "bearer", type: "http" }],
2482
2559
  url: "/threads/{id}",
2483
2560
  ...options,
@@ -2486,20 +2563,36 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
2486
2563
  ...options.headers
2487
2564
  }
2488
2565
  });
2566
+ var getWorkspacesByIdMembers = (options) => (options.client ?? client).get({
2567
+ security: [{ scheme: "bearer", type: "http" }],
2568
+ url: "/workspaces/{id}/members",
2569
+ ...options
2570
+ });
2571
+ var getBucketsAll = (options) => (options.client ?? client).get({
2572
+ security: [{ scheme: "bearer", type: "http" }],
2573
+ url: "/buckets/all",
2574
+ ...options
2575
+ });
2576
+ var getWatcherClaims = (options) => (options.client ?? client).get({
2577
+ security: [{ scheme: "bearer", type: "http" }],
2578
+ url: "/watcher/claims",
2579
+ ...options
2580
+ });
2581
+ var postWatcherClaims = (options) => (options.client ?? client).post({
2582
+ security: [{ scheme: "bearer", type: "http" }],
2583
+ url: "/watcher/claims",
2584
+ ...options,
2585
+ headers: {
2586
+ "Content-Type": "application/vnd.api+json",
2587
+ ...options.headers
2588
+ }
2589
+ });
2489
2590
  var getLlmAnalytics = (options) => (options.client ?? client).get({
2490
- querySerializer: {
2491
- parameters: {
2492
- filter: { object: { style: "form" } },
2493
- page: { object: { style: "form" } },
2494
- fields: { object: { style: "form" } }
2495
- }
2496
- },
2497
2591
  security: [{ scheme: "bearer", type: "http" }],
2498
2592
  url: "/llm_analytics",
2499
2593
  ...options
2500
2594
  });
2501
2595
  var postLlmAnalytics = (options) => (options.client ?? client).post({
2502
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2503
2596
  security: [{ scheme: "bearer", type: "http" }],
2504
2597
  url: "/llm_analytics",
2505
2598
  ...options,
@@ -2508,8 +2601,21 @@ var postLlmAnalytics = (options) => (options.client ?? client).post({
2508
2601
  ...options.headers
2509
2602
  }
2510
2603
  });
2604
+ var getStorageStatsTenantByTenantId = (options) => (options.client ?? client).get({
2605
+ security: [{ scheme: "bearer", type: "http" }],
2606
+ url: "/storage/stats/tenant/{tenant_id}",
2607
+ ...options
2608
+ });
2609
+ var postAgentTestResults = (options) => (options.client ?? client).post({
2610
+ security: [{ scheme: "bearer", type: "http" }],
2611
+ url: "/agent_test_results",
2612
+ ...options,
2613
+ headers: {
2614
+ "Content-Type": "application/vnd.api+json",
2615
+ ...options.headers
2616
+ }
2617
+ });
2511
2618
  var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch({
2512
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2513
2619
  security: [{ scheme: "bearer", type: "http" }],
2514
2620
  url: "/users/{id}/reset-password",
2515
2621
  ...options,
@@ -2518,8 +2624,16 @@ var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch(
2518
2624
  ...options.headers
2519
2625
  }
2520
2626
  });
2627
+ var postThreadsByIdExport = (options) => (options.client ?? client).post({
2628
+ security: [{ scheme: "bearer", type: "http" }],
2629
+ url: "/threads/{id}/export",
2630
+ ...options,
2631
+ headers: {
2632
+ "Content-Type": "application/vnd.api+json",
2633
+ ...options.headers
2634
+ }
2635
+ });
2521
2636
  var postDocumentsPresignedUpload = (options) => (options.client ?? client).post({
2522
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2523
2637
  security: [{ scheme: "bearer", type: "http" }],
2524
2638
  url: "/documents/presigned_upload",
2525
2639
  ...options,
@@ -2528,14 +2642,17 @@ var postDocumentsPresignedUpload = (options) => (options.client ?? client).post(
2528
2642
  ...options.headers
2529
2643
  }
2530
2644
  });
2645
+ var getWebhookConfigsByIdEvents = (options) => (options.client ?? client).get({
2646
+ security: [{ scheme: "bearer", type: "http" }],
2647
+ url: "/webhook_configs/{id}/events",
2648
+ ...options
2649
+ });
2531
2650
  var getMessagesSearch = (options) => (options.client ?? client).get({
2532
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2533
2651
  security: [{ scheme: "bearer", type: "http" }],
2534
2652
  url: "/messages/search",
2535
2653
  ...options
2536
2654
  });
2537
2655
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2538
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2539
2656
  security: [{ scheme: "bearer", type: "http" }],
2540
2657
  url: "/agents/{id}/teach",
2541
2658
  ...options,
@@ -2545,19 +2662,11 @@ var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2545
2662
  }
2546
2663
  });
2547
2664
  var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (options.client ?? client).get({
2548
- querySerializer: {
2549
- parameters: {
2550
- filter: { object: { style: "form" } },
2551
- page: { object: { style: "form" } },
2552
- fields: { object: { style: "form" } }
2553
- }
2554
- },
2555
2665
  security: [{ scheme: "bearer", type: "http" }],
2556
2666
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2557
2667
  ...options
2558
2668
  });
2559
2669
  var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
2560
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2561
2670
  security: [{ scheme: "bearer", type: "http" }],
2562
2671
  url: "/invitations/{id}/decline",
2563
2672
  ...options,
@@ -2567,7 +2676,6 @@ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch(
2567
2676
  }
2568
2677
  });
2569
2678
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
2570
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2571
2679
  security: [{ scheme: "bearer", type: "http" }],
2572
2680
  url: "/extraction/documents/upload",
2573
2681
  ...options,
@@ -2577,7 +2685,6 @@ var postExtractionDocumentsUpload = (options) => (options.client ?? client).post
2577
2685
  }
2578
2686
  });
2579
2687
  var patchExtractionResultsByIdCorrections = (options) => (options.client ?? client).patch({
2580
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2581
2688
  security: [{ scheme: "bearer", type: "http" }],
2582
2689
  url: "/extraction/results/{id}/corrections",
2583
2690
  ...options,
@@ -2586,26 +2693,31 @@ var patchExtractionResultsByIdCorrections = (options) => (options.client ?? clie
2586
2693
  ...options.headers
2587
2694
  }
2588
2695
  });
2696
+ var patchNotificationMethodsByIdVerify = (options) => (options.client ?? client).patch({
2697
+ security: [{ scheme: "bearer", type: "http" }],
2698
+ url: "/notification_methods/{id}/verify",
2699
+ ...options,
2700
+ headers: {
2701
+ "Content-Type": "application/vnd.api+json",
2702
+ ...options.headers
2703
+ }
2704
+ });
2589
2705
  var getExtractionResultsDocumentByDocumentId = (options) => (options.client ?? client).get({
2590
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2591
2706
  security: [{ scheme: "bearer", type: "http" }],
2592
2707
  url: "/extraction/results/document/{document_id}",
2593
2708
  ...options
2594
2709
  });
2595
2710
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
2596
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2597
2711
  security: [{ scheme: "bearer", type: "http" }],
2598
2712
  url: "/workspaces/{id}",
2599
2713
  ...options
2600
2714
  });
2601
2715
  var getWorkspacesById = (options) => (options.client ?? client).get({
2602
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2603
2716
  security: [{ scheme: "bearer", type: "http" }],
2604
2717
  url: "/workspaces/{id}",
2605
2718
  ...options
2606
2719
  });
2607
2720
  var patchWorkspacesById = (options) => (options.client ?? client).patch({
2608
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2609
2721
  security: [{ scheme: "bearer", type: "http" }],
2610
2722
  url: "/workspaces/{id}",
2611
2723
  ...options,
@@ -2615,19 +2727,11 @@ var patchWorkspacesById = (options) => (options.client ?? client).patch({
2615
2727
  }
2616
2728
  });
2617
2729
  var getTenants = (options) => (options.client ?? client).get({
2618
- querySerializer: {
2619
- parameters: {
2620
- filter: { object: { style: "form" } },
2621
- page: { object: { style: "form" } },
2622
- fields: { object: { style: "form" } }
2623
- }
2624
- },
2625
2730
  security: [{ scheme: "bearer", type: "http" }],
2626
2731
  url: "/tenants",
2627
2732
  ...options
2628
2733
  });
2629
2734
  var postTenants = (options) => (options.client ?? client).post({
2630
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2631
2735
  security: [{ scheme: "bearer", type: "http" }],
2632
2736
  url: "/tenants",
2633
2737
  ...options,
@@ -2637,7 +2741,6 @@ var postTenants = (options) => (options.client ?? client).post({
2637
2741
  }
2638
2742
  });
2639
2743
  var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post({
2640
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2641
2744
  security: [{ scheme: "bearer", type: "http" }],
2642
2745
  url: "/tenants/{id}/remove-storage",
2643
2746
  ...options,
@@ -2646,50 +2749,46 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
2646
2749
  ...options.headers
2647
2750
  }
2648
2751
  });
2752
+ var getWalletInvoices = (options) => (options.client ?? client).get({
2753
+ security: [{ scheme: "bearer", type: "http" }],
2754
+ url: "/wallet/invoices",
2755
+ ...options
2756
+ });
2757
+ var patchWorkspacesByIdStorageSettings = (options) => (options.client ?? client).patch({
2758
+ security: [{ scheme: "bearer", type: "http" }],
2759
+ url: "/workspaces/{id}/storage-settings",
2760
+ ...options,
2761
+ headers: {
2762
+ "Content-Type": "application/vnd.api+json",
2763
+ ...options.headers
2764
+ }
2765
+ });
2649
2766
  var getNotificationLogsById = (options) => (options.client ?? client).get({
2650
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2651
2767
  security: [{ scheme: "bearer", type: "http" }],
2652
2768
  url: "/notification_logs/{id}",
2653
2769
  ...options
2654
2770
  });
2655
2771
  var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get({
2656
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2657
2772
  security: [{ scheme: "bearer", type: "http" }],
2658
2773
  url: "/extraction/documents/{id}/view",
2659
2774
  ...options
2660
2775
  });
2661
2776
  var getWebhookDeliveriesById = (options) => (options.client ?? client).get({
2662
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2663
2777
  security: [{ scheme: "bearer", type: "http" }],
2664
2778
  url: "/webhook_deliveries/{id}",
2665
2779
  ...options
2666
2780
  });
2667
2781
  var getAuditLogs = (options) => (options.client ?? client).get({
2668
- querySerializer: {
2669
- parameters: {
2670
- filter: { object: { style: "form" } },
2671
- page: { object: { style: "form" } },
2672
- fields: { object: { style: "form" } }
2673
- }
2674
- },
2675
2782
  security: [{ scheme: "bearer", type: "http" }],
2676
2783
  url: "/audit-logs",
2677
2784
  ...options
2678
2785
  });
2679
2786
  var getAiGraphEdges = (options) => (options.client ?? client).get({
2680
- querySerializer: {
2681
- parameters: {
2682
- filter: { object: { style: "form" } },
2683
- page: { object: { style: "form" } },
2684
- fields: { object: { style: "form" } }
2685
- }
2686
- },
2687
2787
  security: [{ scheme: "bearer", type: "http" }],
2688
2788
  url: "/ai/graph/edges",
2689
2789
  ...options
2690
2790
  });
2691
2791
  var postAiGraphEdges = (options) => (options.client ?? client).post({
2692
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2693
2792
  security: [{ scheme: "bearer", type: "http" }],
2694
2793
  url: "/ai/graph/edges",
2695
2794
  ...options,
@@ -2699,19 +2798,11 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
2699
2798
  }
2700
2799
  });
2701
2800
  var getTrainingExamples = (options) => (options.client ?? client).get({
2702
- querySerializer: {
2703
- parameters: {
2704
- filter: { object: { style: "form" } },
2705
- page: { object: { style: "form" } },
2706
- fields: { object: { style: "form" } }
2707
- }
2708
- },
2709
2801
  security: [{ scheme: "bearer", type: "http" }],
2710
2802
  url: "/training_examples",
2711
2803
  ...options
2712
2804
  });
2713
2805
  var postTrainingExamples = (options) => (options.client ?? client).post({
2714
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2715
2806
  security: [{ scheme: "bearer", type: "http" }],
2716
2807
  url: "/training_examples",
2717
2808
  ...options,
@@ -2721,7 +2812,6 @@ var postTrainingExamples = (options) => (options.client ?? client).post({
2721
2812
  }
2722
2813
  });
2723
2814
  var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.client ?? client).get({
2724
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2725
2815
  security: [{ scheme: "bearer", type: "http" }],
2726
2816
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
2727
2817
  ...options
@@ -2731,19 +2821,21 @@ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
2731
2821
  url: "/agents/{id}/training_stats",
2732
2822
  ...options
2733
2823
  });
2824
+ var postObjectsCopy = (options) => (options.client ?? client).post({
2825
+ security: [{ scheme: "bearer", type: "http" }],
2826
+ url: "/objects/copy",
2827
+ ...options,
2828
+ headers: {
2829
+ "Content-Type": "application/vnd.api+json",
2830
+ ...options.headers
2831
+ }
2832
+ });
2734
2833
  var getBuckets = (options) => (options.client ?? client).get({
2735
- querySerializer: {
2736
- parameters: {
2737
- filter: { object: { style: "form" } },
2738
- fields: { object: { style: "form" } }
2739
- }
2740
- },
2741
2834
  security: [{ scheme: "bearer", type: "http" }],
2742
2835
  url: "/buckets",
2743
2836
  ...options
2744
2837
  });
2745
2838
  var postBuckets = (options) => (options.client ?? client).post({
2746
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2747
2839
  security: [{ scheme: "bearer", type: "http" }],
2748
2840
  url: "/buckets",
2749
2841
  ...options,
@@ -2752,20 +2844,27 @@ var postBuckets = (options) => (options.client ?? client).post({
2752
2844
  ...options.headers
2753
2845
  }
2754
2846
  });
2847
+ var getUsersMeActivity = (options) => (options.client ?? client).get({
2848
+ security: [{ scheme: "bearer", type: "http" }],
2849
+ url: "/users/me/activity",
2850
+ ...options
2851
+ });
2852
+ var getNotificationLogsStats = (options) => (options.client ?? client).get({
2853
+ security: [{ scheme: "bearer", type: "http" }],
2854
+ url: "/notification_logs/stats",
2855
+ ...options
2856
+ });
2755
2857
  var getPlansById = (options) => (options.client ?? client).get({
2756
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2757
2858
  security: [{ scheme: "bearer", type: "http" }],
2758
2859
  url: "/plans/{id}",
2759
2860
  ...options
2760
2861
  });
2761
2862
  var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
2762
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2763
2863
  security: [{ scheme: "bearer", type: "http" }],
2764
2864
  url: "/tenants/{tenant_id}/stats",
2765
2865
  ...options
2766
2866
  });
2767
2867
  var patchWalletAddons = (options) => (options.client ?? client).patch({
2768
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2769
2868
  security: [{ scheme: "bearer", type: "http" }],
2770
2869
  url: "/wallet/addons",
2771
2870
  ...options,
@@ -2774,8 +2873,21 @@ var patchWalletAddons = (options) => (options.client ?? client).patch({
2774
2873
  ...options.headers
2775
2874
  }
2776
2875
  });
2876
+ var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post({
2877
+ security: [{ scheme: "bearer", type: "http" }],
2878
+ url: "/tenants/{id}/schedule-purge",
2879
+ ...options,
2880
+ headers: {
2881
+ "Content-Type": "application/vnd.api+json",
2882
+ ...options.headers
2883
+ }
2884
+ });
2885
+ var getMessagesSemanticSearch = (options) => (options.client ?? client).get({
2886
+ security: [{ scheme: "bearer", type: "http" }],
2887
+ url: "/messages/semantic-search",
2888
+ ...options
2889
+ });
2777
2890
  var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
2778
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2779
2891
  security: [{ scheme: "bearer", type: "http" }],
2780
2892
  url: "/users/auth/magic_link/login",
2781
2893
  ...options,
@@ -2785,19 +2897,11 @@ var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
2785
2897
  }
2786
2898
  });
2787
2899
  var getApiKeys = (options) => (options.client ?? client).get({
2788
- querySerializer: {
2789
- parameters: {
2790
- filter: { object: { style: "form" } },
2791
- page: { object: { style: "form" } },
2792
- fields: { object: { style: "form" } }
2793
- }
2794
- },
2795
2900
  security: [{ scheme: "bearer", type: "http" }],
2796
2901
  url: "/api_keys",
2797
2902
  ...options
2798
2903
  });
2799
2904
  var postApiKeys = (options) => (options.client ?? client).post({
2800
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2801
2905
  security: [{ scheme: "bearer", type: "http" }],
2802
2906
  url: "/api_keys",
2803
2907
  ...options,
@@ -2807,7 +2911,6 @@ var postApiKeys = (options) => (options.client ?? client).post({
2807
2911
  }
2808
2912
  });
2809
2913
  var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
2810
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2811
2914
  security: [{ scheme: "bearer", type: "http" }],
2812
2915
  url: "/users/{id}/admin",
2813
2916
  ...options,
@@ -2816,20 +2919,26 @@ var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
2816
2919
  ...options.headers
2817
2920
  }
2818
2921
  });
2922
+ var postObjectsMove = (options) => (options.client ?? client).post({
2923
+ security: [{ scheme: "bearer", type: "http" }],
2924
+ url: "/objects/move",
2925
+ ...options,
2926
+ headers: {
2927
+ "Content-Type": "application/vnd.api+json",
2928
+ ...options.headers
2929
+ }
2930
+ });
2819
2931
  var deleteAgentsById = (options) => (options.client ?? client).delete({
2820
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2821
2932
  security: [{ scheme: "bearer", type: "http" }],
2822
2933
  url: "/agents/{id}",
2823
2934
  ...options
2824
2935
  });
2825
2936
  var getAgentsById = (options) => (options.client ?? client).get({
2826
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2827
2937
  security: [{ scheme: "bearer", type: "http" }],
2828
2938
  url: "/agents/{id}",
2829
2939
  ...options
2830
2940
  });
2831
2941
  var patchAgentsById = (options) => (options.client ?? client).patch({
2832
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2833
2942
  security: [{ scheme: "bearer", type: "http" }],
2834
2943
  url: "/agents/{id}",
2835
2944
  ...options,
@@ -2838,20 +2947,26 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
2838
2947
  ...options.headers
2839
2948
  }
2840
2949
  });
2950
+ var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
2951
+ security: [{ scheme: "bearer", type: "http" }],
2952
+ url: "/threads/{id}/unarchive",
2953
+ ...options,
2954
+ headers: {
2955
+ "Content-Type": "application/vnd.api+json",
2956
+ ...options.headers
2957
+ }
2958
+ });
2841
2959
  var deleteApiKeysById = (options) => (options.client ?? client).delete({
2842
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2843
2960
  security: [{ scheme: "bearer", type: "http" }],
2844
2961
  url: "/api_keys/{id}",
2845
2962
  ...options
2846
2963
  });
2847
2964
  var getApiKeysById = (options) => (options.client ?? client).get({
2848
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2849
2965
  security: [{ scheme: "bearer", type: "http" }],
2850
2966
  url: "/api_keys/{id}",
2851
2967
  ...options
2852
2968
  });
2853
2969
  var patchApiKeysById = (options) => (options.client ?? client).patch({
2854
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2855
2970
  security: [{ scheme: "bearer", type: "http" }],
2856
2971
  url: "/api_keys/{id}",
2857
2972
  ...options,
@@ -2869,20 +2984,21 @@ var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
2869
2984
  ...options.headers
2870
2985
  }
2871
2986
  });
2987
+ var patchWatcherClaimsByIdRelease = (options) => (options.client ?? client).patch({
2988
+ security: [{ scheme: "bearer", type: "http" }],
2989
+ url: "/watcher/claims/{id}/release",
2990
+ ...options,
2991
+ headers: {
2992
+ "Content-Type": "application/vnd.api+json",
2993
+ ...options.headers
2994
+ }
2995
+ });
2872
2996
  var getAiConversations = (options) => (options.client ?? client).get({
2873
- querySerializer: {
2874
- parameters: {
2875
- filter: { object: { style: "form" } },
2876
- page: { object: { style: "form" } },
2877
- fields: { object: { style: "form" } }
2878
- }
2879
- },
2880
2997
  security: [{ scheme: "bearer", type: "http" }],
2881
2998
  url: "/ai/conversations",
2882
2999
  ...options
2883
3000
  });
2884
3001
  var postAiConversations = (options) => (options.client ?? client).post({
2885
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2886
3002
  security: [{ scheme: "bearer", type: "http" }],
2887
3003
  url: "/ai/conversations",
2888
3004
  ...options,
@@ -2892,7 +3008,6 @@ var postAiConversations = (options) => (options.client ?? client).post({
2892
3008
  }
2893
3009
  });
2894
3010
  var postAiSearch = (options) => (options.client ?? client).post({
2895
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2896
3011
  security: [{ scheme: "bearer", type: "http" }],
2897
3012
  url: "/ai/search",
2898
3013
  ...options,
@@ -2902,24 +3017,16 @@ var postAiSearch = (options) => (options.client ?? client).post({
2902
3017
  }
2903
3018
  });
2904
3019
  var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
2905
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2906
3020
  security: [{ scheme: "bearer", type: "http" }],
2907
3021
  url: "/ai/graph/nodes/{id}",
2908
3022
  ...options
2909
3023
  });
2910
3024
  var getWorkspacesShared = (options) => (options.client ?? client).get({
2911
- querySerializer: {
2912
- parameters: {
2913
- filter: { object: { style: "form" } },
2914
- fields: { object: { style: "form" } }
2915
- }
2916
- },
2917
3025
  security: [{ scheme: "bearer", type: "http" }],
2918
3026
  url: "/workspaces/shared",
2919
3027
  ...options
2920
3028
  });
2921
3029
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
2922
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2923
3030
  security: [{ scheme: "bearer", type: "http" }],
2924
3031
  url: "/wallet/addons/{addon_slug}/cancel",
2925
3032
  ...options,
@@ -2929,19 +3036,16 @@ var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client)
2929
3036
  }
2930
3037
  });
2931
3038
  var deleteApplicationsById = (options) => (options.client ?? client).delete({
2932
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2933
3039
  security: [{ scheme: "bearer", type: "http" }],
2934
3040
  url: "/applications/{id}",
2935
3041
  ...options
2936
3042
  });
2937
3043
  var getApplicationsById = (options) => (options.client ?? client).get({
2938
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2939
3044
  security: [{ scheme: "bearer", type: "http" }],
2940
3045
  url: "/applications/{id}",
2941
3046
  ...options
2942
3047
  });
2943
3048
  var patchApplicationsById = (options) => (options.client ?? client).patch({
2944
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2945
3049
  security: [{ scheme: "bearer", type: "http" }],
2946
3050
  url: "/applications/{id}",
2947
3051
  ...options,
@@ -2951,41 +3055,39 @@ var patchApplicationsById = (options) => (options.client ?? client).patch({
2951
3055
  }
2952
3056
  });
2953
3057
  var getSearchHealth = (options) => (options.client ?? client).get({
2954
- querySerializer: {
2955
- parameters: {
2956
- filter: { object: { style: "form" } },
2957
- fields: { object: { style: "form" } }
2958
- }
2959
- },
2960
3058
  security: [{ scheme: "bearer", type: "http" }],
2961
3059
  url: "/search/health",
2962
3060
  ...options
2963
3061
  });
3062
+ var patchExtractionDocumentsByIdVerification = (options) => (options.client ?? client).patch({
3063
+ security: [{ scheme: "bearer", type: "http" }],
3064
+ url: "/extraction/documents/{id}/verification",
3065
+ ...options,
3066
+ headers: {
3067
+ "Content-Type": "application/vnd.api+json",
3068
+ ...options.headers
3069
+ }
3070
+ });
3071
+ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3072
+ security: [{ scheme: "bearer", type: "http" }],
3073
+ url: "/threads/{id}/fork",
3074
+ ...options,
3075
+ headers: {
3076
+ "Content-Type": "application/vnd.api+json",
3077
+ ...options.headers
3078
+ }
3079
+ });
2964
3080
  var getTransactions = (options) => (options.client ?? client).get({
2965
- querySerializer: {
2966
- parameters: {
2967
- filter: { object: { style: "form" } },
2968
- fields: { object: { style: "form" } }
2969
- }
2970
- },
2971
3081
  security: [{ scheme: "bearer", type: "http" }],
2972
3082
  url: "/transactions",
2973
3083
  ...options
2974
3084
  });
2975
3085
  var getUserProfiles = (options) => (options.client ?? client).get({
2976
- querySerializer: {
2977
- parameters: {
2978
- filter: { object: { style: "form" } },
2979
- page: { object: { style: "form" } },
2980
- fields: { object: { style: "form" } }
2981
- }
2982
- },
2983
3086
  security: [{ scheme: "bearer", type: "http" }],
2984
3087
  url: "/user_profiles",
2985
3088
  ...options
2986
3089
  });
2987
3090
  var postUserProfiles = (options) => (options.client ?? client).post({
2988
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2989
3091
  security: [{ scheme: "bearer", type: "http" }],
2990
3092
  url: "/user_profiles",
2991
3093
  ...options,
@@ -2995,7 +3097,6 @@ var postUserProfiles = (options) => (options.client ?? client).post({
2995
3097
  }
2996
3098
  });
2997
3099
  var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
2998
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2999
3100
  security: [{ scheme: "bearer", type: "http" }],
3000
3101
  url: "/users/{id}/confirm-email",
3001
3102
  ...options,
@@ -3005,13 +3106,20 @@ var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
3005
3106
  }
3006
3107
  });
3007
3108
  var getThreadsSearch = (options) => (options.client ?? client).get({
3008
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3009
3109
  security: [{ scheme: "bearer", type: "http" }],
3010
3110
  url: "/threads/search",
3011
3111
  ...options
3012
3112
  });
3113
+ var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3114
+ security: [{ scheme: "bearer", type: "http" }],
3115
+ url: "/search/saved/{id}/run",
3116
+ ...options,
3117
+ headers: {
3118
+ "Content-Type": "application/vnd.api+json",
3119
+ ...options.headers
3120
+ }
3121
+ });
3013
3122
  var patchWalletPlan = (options) => (options.client ?? client).patch({
3014
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3015
3123
  security: [{ scheme: "bearer", type: "http" }],
3016
3124
  url: "/wallet/plan",
3017
3125
  ...options,
@@ -3021,13 +3129,11 @@ var patchWalletPlan = (options) => (options.client ?? client).patch({
3021
3129
  }
3022
3130
  });
3023
3131
  var getPlansSlugBySlug = (options) => (options.client ?? client).get({
3024
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3025
3132
  security: [{ scheme: "bearer", type: "http" }],
3026
3133
  url: "/plans/slug/{slug}",
3027
3134
  ...options
3028
3135
  });
3029
3136
  var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
3030
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3031
3137
  security: [{ scheme: "bearer", type: "http" }],
3032
3138
  url: "/extraction/documents/{id}/restore",
3033
3139
  ...options,
@@ -3037,13 +3143,16 @@ var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client
3037
3143
  }
3038
3144
  });
3039
3145
  var getLlmAnalyticsById = (options) => (options.client ?? client).get({
3040
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3041
3146
  security: [{ scheme: "bearer", type: "http" }],
3042
3147
  url: "/llm_analytics/{id}",
3043
3148
  ...options
3044
3149
  });
3150
+ var getPermissions = (options) => (options.client ?? client).get({
3151
+ security: [{ scheme: "bearer", type: "http" }],
3152
+ url: "/permissions",
3153
+ ...options
3154
+ });
3045
3155
  var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? client).patch({
3046
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3047
3156
  security: [{ scheme: "bearer", type: "http" }],
3048
3157
  url: "/extraction/documents/{id}/mark_trained",
3049
3158
  ...options,
@@ -3053,7 +3162,6 @@ var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? cl
3053
3162
  }
3054
3163
  });
3055
3164
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
3056
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3057
3165
  security: [{ scheme: "bearer", type: "http" }],
3058
3166
  url: "/applications/{id}/grant-credits",
3059
3167
  ...options,
@@ -3063,29 +3171,16 @@ var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).
3063
3171
  }
3064
3172
  });
3065
3173
  var getSearchStatus = (options) => (options.client ?? client).get({
3066
- querySerializer: {
3067
- parameters: {
3068
- filter: { object: { style: "form" } },
3069
- fields: { object: { style: "form" } }
3070
- }
3071
- },
3072
3174
  security: [{ scheme: "bearer", type: "http" }],
3073
3175
  url: "/search/status",
3074
3176
  ...options
3075
3177
  });
3076
3178
  var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
3077
- querySerializer: {
3078
- parameters: {
3079
- filter: { object: { style: "form" } },
3080
- fields: { object: { style: "form" } }
3081
- }
3082
- },
3083
3179
  security: [{ scheme: "bearer", type: "http" }],
3084
3180
  url: "/tenants/{tenant_id}/workspace_stats",
3085
3181
  ...options
3086
3182
  });
3087
3183
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
3088
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3089
3184
  security: [{ scheme: "bearer", type: "http" }],
3090
3185
  url: "/api_keys/{id}/allocate",
3091
3186
  ...options,
@@ -3094,8 +3189,21 @@ var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
3094
3189
  ...options.headers
3095
3190
  }
3096
3191
  });
3192
+ var getWatcherClaimsById = (options) => (options.client ?? client).get({
3193
+ security: [{ scheme: "bearer", type: "http" }],
3194
+ url: "/watcher/claims/{id}",
3195
+ ...options
3196
+ });
3197
+ var patchWatcherClaimsById = (options) => (options.client ?? client).patch({
3198
+ security: [{ scheme: "bearer", type: "http" }],
3199
+ url: "/watcher/claims/{id}",
3200
+ ...options,
3201
+ headers: {
3202
+ "Content-Type": "application/vnd.api+json",
3203
+ ...options.headers
3204
+ }
3205
+ });
3097
3206
  var postUsersAuthLogin = (options) => (options.client ?? client).post({
3098
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3099
3207
  security: [{ scheme: "bearer", type: "http" }],
3100
3208
  url: "/users/auth/login",
3101
3209
  ...options,
@@ -3104,8 +3212,12 @@ var postUsersAuthLogin = (options) => (options.client ?? client).post({
3104
3212
  ...options.headers
3105
3213
  }
3106
3214
  });
3215
+ var getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus = (options) => (options.client ?? client).get({
3216
+ security: [{ scheme: "bearer", type: "http" }],
3217
+ url: "/extraction/documents/workspace/{workspace_id}/by_status/{status}",
3218
+ ...options
3219
+ });
3107
3220
  var postAiEmbed = (options) => (options.client ?? client).post({
3108
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3109
3221
  security: [{ scheme: "bearer", type: "http" }],
3110
3222
  url: "/ai/embed",
3111
3223
  ...options,
@@ -3114,19 +3226,21 @@ var postAiEmbed = (options) => (options.client ?? client).post({
3114
3226
  ...options.headers
3115
3227
  }
3116
3228
  });
3229
+ var postWebhookConfigsByIdReplay = (options) => (options.client ?? client).post({
3230
+ security: [{ scheme: "bearer", type: "http" }],
3231
+ url: "/webhook_configs/{id}/replay",
3232
+ ...options,
3233
+ headers: {
3234
+ "Content-Type": "application/vnd.api+json",
3235
+ ...options.headers
3236
+ }
3237
+ });
3117
3238
  var getWorkspacesMine = (options) => (options.client ?? client).get({
3118
- querySerializer: {
3119
- parameters: {
3120
- filter: { object: { style: "form" } },
3121
- fields: { object: { style: "form" } }
3122
- }
3123
- },
3124
3239
  security: [{ scheme: "bearer", type: "http" }],
3125
3240
  url: "/workspaces/mine",
3126
3241
  ...options
3127
3242
  });
3128
3243
  var postTenantsIsv = (options) => (options.client ?? client).post({
3129
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3130
3244
  security: [{ scheme: "bearer", type: "http" }],
3131
3245
  url: "/tenants/isv",
3132
3246
  ...options,
@@ -3136,7 +3250,6 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
3136
3250
  }
3137
3251
  });
3138
3252
  var postSearchReindex = (options) => (options.client ?? client).post({
3139
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3140
3253
  security: [{ scheme: "bearer", type: "http" }],
3141
3254
  url: "/search/reindex",
3142
3255
  ...options,
@@ -3146,7 +3259,6 @@ var postSearchReindex = (options) => (options.client ?? client).post({
3146
3259
  }
3147
3260
  });
3148
3261
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
3149
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3150
3262
  security: [{ scheme: "bearer", type: "http" }],
3151
3263
  url: "/extraction/results/{id}/regenerate",
3152
3264
  ...options,
@@ -3156,7 +3268,6 @@ var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? clien
3156
3268
  }
3157
3269
  });
3158
3270
  var postUsersAuthConfirm = (options) => (options.client ?? client).post({
3159
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3160
3271
  security: [{ scheme: "bearer", type: "http" }],
3161
3272
  url: "/users/auth/confirm",
3162
3273
  ...options,
@@ -3166,18 +3277,11 @@ var postUsersAuthConfirm = (options) => (options.client ?? client).post({
3166
3277
  }
3167
3278
  });
3168
3279
  var getStorageStats = (options) => (options.client ?? client).get({
3169
- querySerializer: {
3170
- parameters: {
3171
- filter: { object: { style: "form" } },
3172
- fields: { object: { style: "form" } }
3173
- }
3174
- },
3175
3280
  security: [{ scheme: "bearer", type: "http" }],
3176
3281
  url: "/storage/stats",
3177
3282
  ...options
3178
3283
  });
3179
3284
  var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
3180
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3181
3285
  security: [{ scheme: "bearer", type: "http" }],
3182
3286
  url: "/tenants/{id}/buy-storage",
3183
3287
  ...options,
@@ -3187,19 +3291,11 @@ var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
3187
3291
  }
3188
3292
  });
3189
3293
  var getWorkspaceMemberships = (options) => (options.client ?? client).get({
3190
- querySerializer: {
3191
- parameters: {
3192
- filter: { object: { style: "form" } },
3193
- page: { object: { style: "form" } },
3194
- fields: { object: { style: "form" } }
3195
- }
3196
- },
3197
3294
  security: [{ scheme: "bearer", type: "http" }],
3198
3295
  url: "/workspace-memberships",
3199
3296
  ...options
3200
3297
  });
3201
3298
  var postWorkspaceMemberships = (options) => (options.client ?? client).post({
3202
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3203
3299
  security: [{ scheme: "bearer", type: "http" }],
3204
3300
  url: "/workspace-memberships",
3205
3301
  ...options,
@@ -3208,14 +3304,26 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
3208
3304
  ...options.headers
3209
3305
  }
3210
3306
  });
3307
+ var patchApiKeysByIdResetPeriod = (options) => (options.client ?? client).patch({
3308
+ security: [{ scheme: "bearer", type: "http" }],
3309
+ url: "/api_keys/{id}/reset-period",
3310
+ ...options,
3311
+ headers: {
3312
+ "Content-Type": "application/vnd.api+json",
3313
+ ...options.headers
3314
+ }
3315
+ });
3211
3316
  var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
3212
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3213
3317
  security: [{ scheme: "bearer", type: "http" }],
3214
3318
  url: "/tenants/{tenant_id}/document_stats",
3215
3319
  ...options
3216
3320
  });
3321
+ var getSearchAnalytics = (options) => (options.client ?? client).get({
3322
+ security: [{ scheme: "bearer", type: "http" }],
3323
+ url: "/search/analytics",
3324
+ ...options
3325
+ });
3217
3326
  var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
3218
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3219
3327
  security: [{ scheme: "bearer", type: "http" }],
3220
3328
  url: "/users/auth/magic_link/request",
3221
3329
  ...options,
@@ -3224,8 +3332,26 @@ var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post
3224
3332
  ...options.headers
3225
3333
  }
3226
3334
  });
3335
+ var getPermissionsPresetsById = (options) => (options.client ?? client).get({
3336
+ security: [{ scheme: "bearer", type: "http" }],
3337
+ url: "/permissions/presets/{id}",
3338
+ ...options
3339
+ });
3340
+ var getPermissionsPresets = (options) => (options.client ?? client).get({
3341
+ security: [{ scheme: "bearer", type: "http" }],
3342
+ url: "/permissions/presets",
3343
+ ...options
3344
+ });
3345
+ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).post({
3346
+ security: [{ scheme: "bearer", type: "http" }],
3347
+ url: "/webhook_deliveries/bulk_retry",
3348
+ ...options,
3349
+ headers: {
3350
+ "Content-Type": "application/vnd.api+json",
3351
+ ...options.headers
3352
+ }
3353
+ });
3227
3354
  var postUsersAuthRegister = (options) => (options.client ?? client).post({
3228
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3229
3355
  security: [{ scheme: "bearer", type: "http" }],
3230
3356
  url: "/users/auth/register",
3231
3357
  ...options,
@@ -3249,19 +3375,16 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
3249
3375
  ...options
3250
3376
  });
3251
3377
  var deleteBucketsById = (options) => (options.client ?? client).delete({
3252
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3253
3378
  security: [{ scheme: "bearer", type: "http" }],
3254
3379
  url: "/buckets/{id}",
3255
3380
  ...options
3256
3381
  });
3257
3382
  var getBucketsById = (options) => (options.client ?? client).get({
3258
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3259
3383
  security: [{ scheme: "bearer", type: "http" }],
3260
3384
  url: "/buckets/{id}",
3261
3385
  ...options
3262
3386
  });
3263
3387
  var patchBucketsById = (options) => (options.client ?? client).patch({
3264
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3265
3388
  security: [{ scheme: "bearer", type: "http" }],
3266
3389
  url: "/buckets/{id}",
3267
3390
  ...options,
@@ -3270,19 +3393,41 @@ var patchBucketsById = (options) => (options.client ?? client).patch({
3270
3393
  ...options.headers
3271
3394
  }
3272
3395
  });
3396
+ var getPermissionsById = (options) => (options.client ?? client).get({
3397
+ security: [{ scheme: "bearer", type: "http" }],
3398
+ url: "/permissions/{id}",
3399
+ ...options
3400
+ });
3401
+ var getAiGraphNodesBySourceNodeIdRelated = (options) => (options.client ?? client).get({
3402
+ security: [{ scheme: "bearer", type: "http" }],
3403
+ url: "/ai/graph/nodes/{source_node_id}/related",
3404
+ ...options
3405
+ });
3273
3406
  var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
3274
- querySerializer: {
3275
- parameters: {
3276
- filter: { object: { style: "form" } },
3277
- fields: { object: { style: "form" } }
3278
- }
3279
- },
3280
3407
  security: [{ scheme: "bearer", type: "http" }],
3281
3408
  url: "/extraction/documents/workspace/{workspace_id}",
3282
3409
  ...options
3283
3410
  });
3411
+ var patchApplicationsByIdAllocateCredits = (options) => (options.client ?? client).patch({
3412
+ security: [{ scheme: "bearer", type: "http" }],
3413
+ url: "/applications/{id}/allocate-credits",
3414
+ ...options,
3415
+ headers: {
3416
+ "Content-Type": "application/vnd.api+json",
3417
+ ...options.headers
3418
+ }
3419
+ });
3420
+ var getExtractionResultsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
3421
+ security: [{ scheme: "bearer", type: "http" }],
3422
+ url: "/extraction/results/workspace/{workspace_id}",
3423
+ ...options
3424
+ });
3425
+ var getSearchAnalyticsSummary = (options) => (options.client ?? client).get({
3426
+ security: [{ scheme: "bearer", type: "http" }],
3427
+ url: "/search/analytics/summary",
3428
+ ...options
3429
+ });
3284
3430
  var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
3285
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3286
3431
  security: [{ scheme: "bearer", type: "http" }],
3287
3432
  url: "/extraction/documents/begin_upload",
3288
3433
  ...options,
@@ -3292,25 +3437,21 @@ var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client)
3292
3437
  }
3293
3438
  });
3294
3439
  var deleteAiGraphEdgesById = (options) => (options.client ?? client).delete({
3295
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3296
3440
  security: [{ scheme: "bearer", type: "http" }],
3297
3441
  url: "/ai/graph/edges/{id}",
3298
3442
  ...options
3299
3443
  });
3300
3444
  var deleteTenantsById = (options) => (options.client ?? client).delete({
3301
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3302
3445
  security: [{ scheme: "bearer", type: "http" }],
3303
3446
  url: "/tenants/{id}",
3304
3447
  ...options
3305
3448
  });
3306
3449
  var getTenantsById = (options) => (options.client ?? client).get({
3307
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3308
3450
  security: [{ scheme: "bearer", type: "http" }],
3309
3451
  url: "/tenants/{id}",
3310
3452
  ...options
3311
3453
  });
3312
3454
  var patchTenantsById = (options) => (options.client ?? client).patch({
3313
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3314
3455
  security: [{ scheme: "bearer", type: "http" }],
3315
3456
  url: "/tenants/{id}",
3316
3457
  ...options,
@@ -3320,19 +3461,11 @@ var patchTenantsById = (options) => (options.client ?? client).patch({
3320
3461
  }
3321
3462
  });
3322
3463
  var getPlans = (options) => (options.client ?? client).get({
3323
- querySerializer: {
3324
- parameters: {
3325
- filter: { object: { style: "form" } },
3326
- page: { object: { style: "form" } },
3327
- fields: { object: { style: "form" } }
3328
- }
3329
- },
3330
3464
  security: [{ scheme: "bearer", type: "http" }],
3331
3465
  url: "/plans",
3332
3466
  ...options
3333
3467
  });
3334
3468
  var postAgentsByIdTest = (options) => (options.client ?? client).post({
3335
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3336
3469
  security: [{ scheme: "bearer", type: "http" }],
3337
3470
  url: "/agents/{id}/test",
3338
3471
  ...options,
@@ -3342,24 +3475,16 @@ var postAgentsByIdTest = (options) => (options.client ?? client).post({
3342
3475
  }
3343
3476
  });
3344
3477
  var getExtractionDocuments = (options) => (options.client ?? client).get({
3345
- querySerializer: {
3346
- parameters: {
3347
- filter: { object: { style: "form" } },
3348
- fields: { object: { style: "form" } }
3349
- }
3350
- },
3351
3478
  security: [{ scheme: "bearer", type: "http" }],
3352
3479
  url: "/extraction/documents",
3353
3480
  ...options
3354
3481
  });
3355
3482
  var deleteTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).delete({
3356
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3357
3483
  security: [{ scheme: "bearer", type: "http" }],
3358
3484
  url: "/tenant-memberships/{tenant_id}/{user_id}",
3359
3485
  ...options
3360
3486
  });
3361
3487
  var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).patch({
3362
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3363
3488
  security: [{ scheme: "bearer", type: "http" }],
3364
3489
  url: "/tenant-memberships/{tenant_id}/{user_id}",
3365
3490
  ...options,
@@ -3369,7 +3494,6 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
3369
3494
  }
3370
3495
  });
3371
3496
  var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
3372
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3373
3497
  security: [{ scheme: "bearer", type: "http" }],
3374
3498
  url: "/webhook_configs/{id}/rotate_secret",
3375
3499
  ...options,
@@ -3378,8 +3502,12 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
3378
3502
  ...options.headers
3379
3503
  }
3380
3504
  });
3505
+ var getAuditLogsActivity = (options) => (options.client ?? client).get({
3506
+ security: [{ scheme: "bearer", type: "http" }],
3507
+ url: "/audit-logs/activity",
3508
+ ...options
3509
+ });
3381
3510
  var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
3382
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3383
3511
  security: [{ scheme: "bearer", type: "http" }],
3384
3512
  url: "/users/auth/resend-confirmation",
3385
3513
  ...options,
@@ -3389,18 +3517,11 @@ var postUsersAuthResendConfirmation = (options) => (options.client ?? client).po
3389
3517
  }
3390
3518
  });
3391
3519
  var getFieldTemplates = (options) => (options.client ?? client).get({
3392
- querySerializer: {
3393
- parameters: {
3394
- filter: { object: { style: "form" } },
3395
- fields: { object: { style: "form" } }
3396
- }
3397
- },
3398
3520
  security: [{ scheme: "bearer", type: "http" }],
3399
3521
  url: "/field_templates",
3400
3522
  ...options
3401
3523
  });
3402
3524
  var postFieldTemplates = (options) => (options.client ?? client).post({
3403
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3404
3525
  security: [{ scheme: "bearer", type: "http" }],
3405
3526
  url: "/field_templates",
3406
3527
  ...options,
@@ -3410,19 +3531,11 @@ var postFieldTemplates = (options) => (options.client ?? client).post({
3410
3531
  }
3411
3532
  });
3412
3533
  var getAiMessages = (options) => (options.client ?? client).get({
3413
- querySerializer: {
3414
- parameters: {
3415
- filter: { object: { style: "form" } },
3416
- page: { object: { style: "form" } },
3417
- fields: { object: { style: "form" } }
3418
- }
3419
- },
3420
3534
  security: [{ scheme: "bearer", type: "http" }],
3421
3535
  url: "/ai/messages",
3422
3536
  ...options
3423
3537
  });
3424
3538
  var postAiMessages = (options) => (options.client ?? client).post({
3425
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3426
3539
  security: [{ scheme: "bearer", type: "http" }],
3427
3540
  url: "/ai/messages",
3428
3541
  ...options,
@@ -3431,8 +3544,21 @@ var postAiMessages = (options) => (options.client ?? client).post({
3431
3544
  ...options.headers
3432
3545
  }
3433
3546
  });
3547
+ var getWatcherEvents = (options) => (options.client ?? client).get({
3548
+ security: [{ scheme: "bearer", type: "http" }],
3549
+ url: "/watcher/events",
3550
+ ...options
3551
+ });
3552
+ var postWatcherEvents = (options) => (options.client ?? client).post({
3553
+ security: [{ scheme: "bearer", type: "http" }],
3554
+ url: "/watcher/events",
3555
+ ...options,
3556
+ headers: {
3557
+ "Content-Type": "application/vnd.api+json",
3558
+ ...options.headers
3559
+ }
3560
+ });
3434
3561
  var postStorageSignUpload = (options) => (options.client ?? client).post({
3435
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3436
3562
  security: [{ scheme: "bearer", type: "http" }],
3437
3563
  url: "/storage/sign_upload",
3438
3564
  ...options,
@@ -3442,7 +3568,6 @@ var postStorageSignUpload = (options) => (options.client ?? client).post({
3442
3568
  }
3443
3569
  });
3444
3570
  var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
3445
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3446
3571
  security: [{ scheme: "bearer", type: "http" }],
3447
3572
  url: "/webhook_deliveries/{id}/retry",
3448
3573
  ...options,
@@ -3452,19 +3577,11 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
3452
3577
  }
3453
3578
  });
3454
3579
  var getNotificationMethods = (options) => (options.client ?? client).get({
3455
- querySerializer: {
3456
- parameters: {
3457
- filter: { object: { style: "form" } },
3458
- page: { object: { style: "form" } },
3459
- fields: { object: { style: "form" } }
3460
- }
3461
- },
3462
3580
  security: [{ scheme: "bearer", type: "http" }],
3463
3581
  url: "/notification_methods",
3464
3582
  ...options
3465
3583
  });
3466
3584
  var postNotificationMethods = (options) => (options.client ?? client).post({
3467
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3468
3585
  security: [{ scheme: "bearer", type: "http" }],
3469
3586
  url: "/notification_methods",
3470
3587
  ...options,
@@ -3474,7 +3591,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
3474
3591
  }
3475
3592
  });
3476
3593
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3477
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3478
3594
  security: [{ scheme: "bearer", type: "http" }],
3479
3595
  url: "/threads/{id}/summarize",
3480
3596
  ...options,
@@ -3484,7 +3600,6 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3484
3600
  }
3485
3601
  });
3486
3602
  var patchConfigsByKey = (options) => (options.client ?? client).patch({
3487
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3488
3603
  security: [{ scheme: "bearer", type: "http" }],
3489
3604
  url: "/configs/{key}",
3490
3605
  ...options,
@@ -3494,7 +3609,6 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
3494
3609
  }
3495
3610
  });
3496
3611
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
3497
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3498
3612
  security: [{ scheme: "bearer", type: "http" }],
3499
3613
  url: "/api_keys/{id}/rotate",
3500
3614
  ...options,
@@ -3504,7 +3618,6 @@ var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
3504
3618
  }
3505
3619
  });
3506
3620
  var postExtractionResults = (options) => (options.client ?? client).post({
3507
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3508
3621
  security: [{ scheme: "bearer", type: "http" }],
3509
3622
  url: "/extraction/results",
3510
3623
  ...options,
@@ -3514,7 +3627,6 @@ var postExtractionResults = (options) => (options.client ?? client).post({
3514
3627
  }
3515
3628
  });
3516
3629
  var postAgentsByIdClone = (options) => (options.client ?? client).post({
3517
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3518
3630
  security: [{ scheme: "bearer", type: "http" }],
3519
3631
  url: "/agents/{id}/clone",
3520
3632
  ...options,
@@ -3524,31 +3636,35 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
3524
3636
  }
3525
3637
  });
3526
3638
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
3527
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3528
3639
  security: [{ scheme: "bearer", type: "http" }],
3529
3640
  url: "/ai/conversations/{id}",
3530
3641
  ...options
3531
3642
  });
3532
3643
  var getAiConversationsById = (options) => (options.client ?? client).get({
3533
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3534
3644
  security: [{ scheme: "bearer", type: "http" }],
3535
3645
  url: "/ai/conversations/{id}",
3536
3646
  ...options
3537
3647
  });
3648
+ var patchAiConversationsById = (options) => (options.client ?? client).patch({
3649
+ security: [{ scheme: "bearer", type: "http" }],
3650
+ url: "/ai/conversations/{id}",
3651
+ ...options,
3652
+ headers: {
3653
+ "Content-Type": "application/vnd.api+json",
3654
+ ...options.headers
3655
+ }
3656
+ });
3538
3657
  var deleteUserProfilesById = (options) => (options.client ?? client).delete({
3539
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3540
3658
  security: [{ scheme: "bearer", type: "http" }],
3541
3659
  url: "/user_profiles/{id}",
3542
3660
  ...options
3543
3661
  });
3544
3662
  var getUserProfilesById = (options) => (options.client ?? client).get({
3545
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3546
3663
  security: [{ scheme: "bearer", type: "http" }],
3547
3664
  url: "/user_profiles/{id}",
3548
3665
  ...options
3549
3666
  });
3550
3667
  var patchUserProfilesById = (options) => (options.client ?? client).patch({
3551
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3552
3668
  security: [{ scheme: "bearer", type: "http" }],
3553
3669
  url: "/user_profiles/{id}",
3554
3670
  ...options,
@@ -3558,12 +3674,6 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3558
3674
  }
3559
3675
  });
3560
3676
  var getInvitationsMe = (options) => (options.client ?? client).get({
3561
- querySerializer: {
3562
- parameters: {
3563
- filter: { object: { style: "form" } },
3564
- fields: { object: { style: "form" } }
3565
- }
3566
- },
3567
3677
  security: [{ scheme: "bearer", type: "http" }],
3568
3678
  url: "/invitations/me",
3569
3679
  ...options
@@ -3577,44 +3687,41 @@ var patchAgentsByIdSchemaVersionsByVersionId = (options) => (options.client ?? c
3577
3687
  ...options.headers
3578
3688
  }
3579
3689
  });
3690
+ var postSearchBatch = (options) => (options.client ?? client).post({
3691
+ security: [{ scheme: "bearer", type: "http" }],
3692
+ url: "/search/batch",
3693
+ ...options,
3694
+ headers: {
3695
+ "Content-Type": "application/vnd.api+json",
3696
+ ...options.headers
3697
+ }
3698
+ });
3699
+ var getThreadsWorkspaceStats = (options) => (options.client ?? client).get({
3700
+ security: [{ scheme: "bearer", type: "http" }],
3701
+ url: "/threads/workspace-stats",
3702
+ ...options
3703
+ });
3580
3704
  var deleteObjectsById = (options) => (options.client ?? client).delete({
3581
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3582
3705
  security: [{ scheme: "bearer", type: "http" }],
3583
3706
  url: "/objects/{id}",
3584
3707
  ...options
3585
3708
  });
3586
3709
  var getObjectsById = (options) => (options.client ?? client).get({
3587
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3588
3710
  security: [{ scheme: "bearer", type: "http" }],
3589
3711
  url: "/objects/{id}",
3590
3712
  ...options
3591
3713
  });
3592
3714
  var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
3593
- querySerializer: {
3594
- parameters: {
3595
- filter: { object: { style: "form" } },
3596
- page: { object: { style: "form" } },
3597
- fields: { object: { style: "form" } }
3598
- }
3599
- },
3600
3715
  security: [{ scheme: "bearer", type: "http" }],
3601
3716
  url: "/extraction/documents/workspace/{workspace_id}/excluded",
3602
3717
  ...options
3603
3718
  });
3604
3719
  var getWebhookConfigs = (options) => (options.client ?? client).get({
3605
- querySerializer: {
3606
- parameters: {
3607
- filter: { object: { style: "form" } },
3608
- page: { object: { style: "form" } },
3609
- fields: { object: { style: "form" } }
3610
- }
3611
- },
3612
3720
  security: [{ scheme: "bearer", type: "http" }],
3613
3721
  url: "/webhook_configs",
3614
3722
  ...options
3615
3723
  });
3616
3724
  var postWebhookConfigs = (options) => (options.client ?? client).post({
3617
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3618
3725
  security: [{ scheme: "bearer", type: "http" }],
3619
3726
  url: "/webhook_configs",
3620
3727
  ...options,
@@ -3624,7 +3731,6 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
3624
3731
  }
3625
3732
  });
3626
3733
  var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
3627
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3628
3734
  security: [{ scheme: "bearer", type: "http" }],
3629
3735
  url: "/agents/{id}/publish_version",
3630
3736
  ...options,
@@ -3633,8 +3739,16 @@ var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post(
3633
3739
  ...options.headers
3634
3740
  }
3635
3741
  });
3742
+ var postExtractionDocumentsBulkReprocess = (options) => (options.client ?? client).post({
3743
+ security: [{ scheme: "bearer", type: "http" }],
3744
+ url: "/extraction/documents/bulk-reprocess",
3745
+ ...options,
3746
+ headers: {
3747
+ "Content-Type": "application/vnd.api+json",
3748
+ ...options.headers
3749
+ }
3750
+ });
3636
3751
  var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
3637
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3638
3752
  security: [{ scheme: "bearer", type: "http" }],
3639
3753
  url: "/objects/bulk-destroy",
3640
3754
  ...options,
@@ -3644,42 +3758,31 @@ var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
3644
3758
  }
3645
3759
  });
3646
3760
  var getApplicationsBySlugBySlug = (options) => (options.client ?? client).get({
3647
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3648
3761
  security: [{ scheme: "bearer", type: "http" }],
3649
3762
  url: "/applications/by-slug/{slug}",
3650
3763
  ...options
3651
3764
  });
3652
3765
  var getNotificationLogs = (options) => (options.client ?? client).get({
3653
- querySerializer: {
3654
- parameters: {
3655
- filter: { object: { style: "form" } },
3656
- fields: { object: { style: "form" } }
3657
- }
3658
- },
3659
3766
  security: [{ scheme: "bearer", type: "http" }],
3660
3767
  url: "/notification_logs",
3661
3768
  ...options
3662
3769
  });
3663
3770
  var getWallet = (options) => (options.client ?? client).get({
3664
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3665
3771
  security: [{ scheme: "bearer", type: "http" }],
3666
3772
  url: "/wallet",
3667
3773
  ...options
3668
3774
  });
3669
3775
  var deleteMessagesById = (options) => (options.client ?? client).delete({
3670
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3671
3776
  security: [{ scheme: "bearer", type: "http" }],
3672
3777
  url: "/messages/{id}",
3673
3778
  ...options
3674
3779
  });
3675
3780
  var getMessagesById = (options) => (options.client ?? client).get({
3676
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3677
3781
  security: [{ scheme: "bearer", type: "http" }],
3678
3782
  url: "/messages/{id}",
3679
3783
  ...options
3680
3784
  });
3681
3785
  var patchMessagesById = (options) => (options.client ?? client).patch({
3682
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3683
3786
  security: [{ scheme: "bearer", type: "http" }],
3684
3787
  url: "/messages/{id}",
3685
3788
  ...options,
@@ -3698,36 +3801,26 @@ var postAgentsByIdDiscoverSchema = (options) => (options.client ?? client).post(
3698
3801
  }
3699
3802
  });
3700
3803
  var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
3701
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3702
3804
  security: [{ scheme: "bearer", type: "http" }],
3703
3805
  url: "/llm_analytics/usage",
3704
3806
  ...options
3705
3807
  });
3706
3808
  var getSearchStats = (options) => (options.client ?? client).get({
3707
- querySerializer: {
3708
- parameters: {
3709
- filter: { object: { style: "form" } },
3710
- fields: { object: { style: "form" } }
3711
- }
3712
- },
3713
3809
  security: [{ scheme: "bearer", type: "http" }],
3714
3810
  url: "/search/stats",
3715
3811
  ...options
3716
3812
  });
3717
3813
  var deleteNotificationPreferencesById = (options) => (options.client ?? client).delete({
3718
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3719
3814
  security: [{ scheme: "bearer", type: "http" }],
3720
3815
  url: "/notification_preferences/{id}",
3721
3816
  ...options
3722
3817
  });
3723
3818
  var getNotificationPreferencesById = (options) => (options.client ?? client).get({
3724
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3725
3819
  security: [{ scheme: "bearer", type: "http" }],
3726
3820
  url: "/notification_preferences/{id}",
3727
3821
  ...options
3728
3822
  });
3729
3823
  var patchNotificationPreferencesById = (options) => (options.client ?? client).patch({
3730
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3731
3824
  security: [{ scheme: "bearer", type: "http" }],
3732
3825
  url: "/notification_preferences/{id}",
3733
3826
  ...options,
@@ -3736,26 +3829,12 @@ var patchNotificationPreferencesById = (options) => (options.client ?? client).p
3736
3829
  ...options.headers
3737
3830
  }
3738
3831
  });
3739
- var getSchemaDiscoveriesById = (options) => (options.client ?? client).get({
3740
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3741
- security: [{ scheme: "bearer", type: "http" }],
3742
- url: "/schema_discoveries/{id}",
3743
- ...options
3744
- });
3745
3832
  var getAiGraphNodes = (options) => (options.client ?? client).get({
3746
- querySerializer: {
3747
- parameters: {
3748
- filter: { object: { style: "form" } },
3749
- page: { object: { style: "form" } },
3750
- fields: { object: { style: "form" } }
3751
- }
3752
- },
3753
3833
  security: [{ scheme: "bearer", type: "http" }],
3754
3834
  url: "/ai/graph/nodes",
3755
3835
  ...options
3756
3836
  });
3757
3837
  var postAiGraphNodes = (options) => (options.client ?? client).post({
3758
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3759
3838
  security: [{ scheme: "bearer", type: "http" }],
3760
3839
  url: "/ai/graph/nodes",
3761
3840
  ...options,
@@ -3765,19 +3844,11 @@ var postAiGraphNodes = (options) => (options.client ?? client).post({
3765
3844
  }
3766
3845
  });
3767
3846
  var getAgents = (options) => (options.client ?? client).get({
3768
- querySerializer: {
3769
- parameters: {
3770
- filter: { object: { style: "form" } },
3771
- page: { object: { style: "form" } },
3772
- fields: { object: { style: "form" } }
3773
- }
3774
- },
3775
3847
  security: [{ scheme: "bearer", type: "http" }],
3776
3848
  url: "/agents",
3777
3849
  ...options
3778
3850
  });
3779
3851
  var postAgents = (options) => (options.client ?? client).post({
3780
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3781
3852
  security: [{ scheme: "bearer", type: "http" }],
3782
3853
  url: "/agents",
3783
3854
  ...options,
@@ -3787,19 +3858,16 @@ var postAgents = (options) => (options.client ?? client).post({
3787
3858
  }
3788
3859
  });
3789
3860
  var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
3790
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3791
3861
  security: [{ scheme: "bearer", type: "http" }],
3792
3862
  url: "/applications/{application_id}/email-templates/{slug}",
3793
3863
  ...options
3794
3864
  });
3795
3865
  var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
3796
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3797
3866
  security: [{ scheme: "bearer", type: "http" }],
3798
3867
  url: "/applications/{application_id}/email-templates/{slug}",
3799
3868
  ...options
3800
3869
  });
3801
3870
  var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
3802
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3803
3871
  security: [{ scheme: "bearer", type: "http" }],
3804
3872
  url: "/applications/{application_id}/email-templates/{slug}",
3805
3873
  ...options,
@@ -3814,7 +3882,6 @@ var postAgentsByIdExport = (options) => (options.client ?? client).post({
3814
3882
  ...options
3815
3883
  });
3816
3884
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3817
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3818
3885
  security: [{ scheme: "bearer", type: "http" }],
3819
3886
  url: "/users/register_isv",
3820
3887
  ...options,
@@ -3823,26 +3890,22 @@ var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3823
3890
  ...options.headers
3824
3891
  }
3825
3892
  });
3893
+ var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
3894
+ security: [{ scheme: "bearer", type: "http" }],
3895
+ url: "/extraction/batches/{id}",
3896
+ ...options
3897
+ });
3826
3898
  var getExtractionBatchesById = (options) => (options.client ?? client).get({
3827
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3828
3899
  security: [{ scheme: "bearer", type: "http" }],
3829
3900
  url: "/extraction/batches/{id}",
3830
3901
  ...options
3831
3902
  });
3832
3903
  var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
3833
- querySerializer: {
3834
- parameters: {
3835
- filter: { object: { style: "form" } },
3836
- page: { object: { style: "form" } },
3837
- fields: { object: { style: "form" } }
3838
- }
3839
- },
3840
3904
  security: [{ scheme: "bearer", type: "http" }],
3841
3905
  url: "/workspaces/{workspace_id}/extraction/exports",
3842
3906
  ...options
3843
3907
  });
3844
3908
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
3845
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3846
3909
  security: [{ scheme: "bearer", type: "http" }],
3847
3910
  url: "/workspaces/{workspace_id}/extraction/exports",
3848
3911
  ...options,
@@ -3852,13 +3915,11 @@ var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client
3852
3915
  }
3853
3916
  });
3854
3917
  var deleteWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).delete({
3855
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3856
3918
  security: [{ scheme: "bearer", type: "http" }],
3857
3919
  url: "/workspace-memberships/{workspace_id}/{user_id}",
3858
3920
  ...options
3859
3921
  });
3860
3922
  var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).patch({
3861
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3862
3923
  security: [{ scheme: "bearer", type: "http" }],
3863
3924
  url: "/workspace-memberships/{workspace_id}/{user_id}",
3864
3925
  ...options,
@@ -3867,38 +3928,22 @@ var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.clien
3867
3928
  ...options.headers
3868
3929
  }
3869
3930
  });
3931
+ var getExtractionDocumentsWorkspaceByWorkspaceIdTrashed = (options) => (options.client ?? client).get({
3932
+ security: [{ scheme: "bearer", type: "http" }],
3933
+ url: "/extraction/documents/workspace/{workspace_id}/trashed",
3934
+ ...options
3935
+ });
3870
3936
  var getCreditPackages = (options) => (options.client ?? client).get({
3871
- querySerializer: {
3872
- parameters: {
3873
- filter: { object: { style: "form" } },
3874
- page: { object: { style: "form" } },
3875
- fields: { object: { style: "form" } }
3876
- }
3877
- },
3878
3937
  security: [{ scheme: "bearer", type: "http" }],
3879
3938
  url: "/credit-packages",
3880
3939
  ...options
3881
3940
  });
3882
3941
  var getUsers = (options) => (options.client ?? client).get({
3883
- querySerializer: {
3884
- parameters: {
3885
- filter: { object: { style: "form" } },
3886
- page: { object: { style: "form" } },
3887
- fields: { object: { style: "form" } }
3888
- }
3889
- },
3890
3942
  security: [{ scheme: "bearer", type: "http" }],
3891
3943
  url: "/users",
3892
3944
  ...options
3893
3945
  });
3894
3946
  var getObjects = (options) => (options.client ?? client).get({
3895
- querySerializer: {
3896
- parameters: {
3897
- filter: { object: { style: "form" } },
3898
- page: { object: { style: "form" } },
3899
- fields: { object: { style: "form" } }
3900
- }
3901
- },
3902
3947
  security: [{ scheme: "bearer", type: "http" }],
3903
3948
  url: "/objects",
3904
3949
  ...options
@@ -4001,9 +4046,10 @@ function handleApiError(error) {
4001
4046
  case 400:
4002
4047
  case 422:
4003
4048
  throw new ValidationError(message, errors, errorOptions);
4004
- case 429:
4049
+ case 429: {
4005
4050
  const retryAfter = headers?.get?.("retry-after") || headers?.["retry-after"];
4006
4051
  throw new RateLimitError(message, retryAfter ? parseInt(retryAfter, 10) : void 0, errorOptions);
4052
+ }
4007
4053
  case 500:
4008
4054
  case 502:
4009
4055
  case 503:
@@ -4225,7 +4271,7 @@ async function* streamSSE(response, options = {}) {
4225
4271
  try {
4226
4272
  const parsed = JSON.parse(data);
4227
4273
  yield parsed;
4228
- } catch (e) {
4274
+ } catch (_e) {
4229
4275
  yield data;
4230
4276
  }
4231
4277
  }
@@ -4502,10 +4548,12 @@ var index_default = gptCore;
4502
4548
  deleteAiConversationsById,
4503
4549
  deleteAiGraphEdgesById,
4504
4550
  deleteAiGraphNodesById,
4551
+ deleteAiMessagesById,
4505
4552
  deleteApiKeysById,
4506
4553
  deleteApplicationsByApplicationIdEmailTemplatesBySlug,
4507
4554
  deleteApplicationsById,
4508
4555
  deleteBucketsById,
4556
+ deleteExtractionBatchesById,
4509
4557
  deleteExtractionDocumentsById,
4510
4558
  deleteFieldTemplatesById,
4511
4559
  deleteMessagesById,
@@ -4519,23 +4567,30 @@ var index_default = gptCore;
4519
4567
  deleteTrainingExamplesById,
4520
4568
  deleteTrainingSessionsById,
4521
4569
  deleteUserProfilesById,
4570
+ deleteUsersById,
4522
4571
  deleteWebhookConfigsById,
4523
4572
  deleteWorkspaceMembershipsByWorkspaceIdByUserId,
4524
4573
  deleteWorkspacesById,
4525
4574
  getAgentVersions,
4526
4575
  getAgentVersionsById,
4576
+ getAgentVersionsByIdMetrics,
4527
4577
  getAgents,
4528
4578
  getAgentsById,
4529
4579
  getAgentsByIdSchemaVersions,
4580
+ getAgentsByIdStats,
4530
4581
  getAgentsByIdTrainingStats,
4531
4582
  getAiChunksDocumentByDocumentId,
4532
4583
  getAiConversations,
4533
4584
  getAiConversationsById,
4534
4585
  getAiGraphEdges,
4535
4586
  getAiGraphNodes,
4587
+ getAiGraphNodesBySourceNodeIdRelated,
4588
+ getAiGraphNodesLabelByLabel,
4536
4589
  getAiMessages,
4537
4590
  getApiKeys,
4591
+ getApiKeysActive,
4538
4592
  getApiKeysById,
4593
+ getApiKeysStats,
4539
4594
  getApplications,
4540
4595
  getApplicationsByApplicationIdEmailTemplates,
4541
4596
  getApplicationsByApplicationIdEmailTemplatesBySlug,
@@ -4543,7 +4598,9 @@ var index_default = gptCore;
4543
4598
  getApplicationsBySlugBySlug,
4544
4599
  getApplicationsCurrent,
4545
4600
  getAuditLogs,
4601
+ getAuditLogsActivity,
4546
4602
  getBuckets,
4603
+ getBucketsAll,
4547
4604
  getBucketsById,
4548
4605
  getBucketsByIdObjects,
4549
4606
  getBucketsByIdStats,
@@ -4560,11 +4617,15 @@ var index_default = gptCore;
4560
4617
  getExtractionDocumentsByIdStatus,
4561
4618
  getExtractionDocumentsByIdView,
4562
4619
  getExtractionDocumentsWorkspaceByWorkspaceId,
4620
+ getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus,
4563
4621
  getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
4564
4622
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
4565
4623
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
4624
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
4566
4625
  getExtractionResultsById,
4567
4626
  getExtractionResultsDocumentByDocumentId,
4627
+ getExtractionResultsWorkspaceByWorkspaceId,
4628
+ getExtractionSchemaDiscoveriesById,
4568
4629
  getFieldTemplates,
4569
4630
  getFieldTemplatesById,
4570
4631
  getInvitations,
@@ -4580,26 +4641,36 @@ var index_default = gptCore;
4580
4641
  getMessages,
4581
4642
  getMessagesById,
4582
4643
  getMessagesSearch,
4644
+ getMessagesSemanticSearch,
4583
4645
  getNotificationLogs,
4584
4646
  getNotificationLogsById,
4647
+ getNotificationLogsStats,
4585
4648
  getNotificationMethods,
4586
4649
  getNotificationMethodsById,
4587
4650
  getNotificationPreferences,
4588
4651
  getNotificationPreferencesById,
4589
4652
  getObjects,
4590
4653
  getObjectsById,
4654
+ getPermissions,
4655
+ getPermissionsById,
4656
+ getPermissionsMeta,
4657
+ getPermissionsPresets,
4658
+ getPermissionsPresetsById,
4591
4659
  getPlans,
4592
4660
  getPlansById,
4593
4661
  getPlansSlugBySlug,
4594
- getSchemaDiscoveriesById,
4595
4662
  getSearch,
4663
+ getSearchAnalytics,
4664
+ getSearchAnalyticsSummary,
4596
4665
  getSearchHealth,
4597
4666
  getSearchIndexes,
4598
4667
  getSearchSaved,
4599
4668
  getSearchSemantic,
4600
4669
  getSearchStats,
4601
4670
  getSearchStatus,
4671
+ getSearchSuggest,
4602
4672
  getStorageStats,
4673
+ getStorageStatsTenantByTenantId,
4603
4674
  getTenantMemberships,
4604
4675
  getTenants,
4605
4676
  getTenantsById,
@@ -4608,7 +4679,10 @@ var index_default = gptCore;
4608
4679
  getTenantsByTenantIdWorkspaceStats,
4609
4680
  getThreads,
4610
4681
  getThreadsById,
4682
+ getThreadsByIdMessages,
4611
4683
  getThreadsSearch,
4684
+ getThreadsStats,
4685
+ getThreadsWorkspaceStats,
4612
4686
  getTrainingExamples,
4613
4687
  getTrainingExamplesById,
4614
4688
  getTrainingSessionsAgentsByAgentIdSessions,
@@ -4619,17 +4693,31 @@ var index_default = gptCore;
4619
4693
  getUserProfilesById,
4620
4694
  getUserProfilesMe,
4621
4695
  getUsers,
4696
+ getUsersByEmail,
4622
4697
  getUsersById,
4623
4698
  getUsersMe,
4699
+ getUsersMeActivity,
4700
+ getUsersMeDashboard,
4701
+ getUsersMeStats,
4624
4702
  getUsersMeTenants,
4625
4703
  getWallet,
4704
+ getWalletInvoices,
4705
+ getWatcherClaims,
4706
+ getWatcherClaimsById,
4707
+ getWatcherClaimsStatus,
4708
+ getWatcherEvents,
4709
+ getWatcherEventsById,
4626
4710
  getWebhookConfigs,
4627
4711
  getWebhookConfigsById,
4712
+ getWebhookConfigsByIdEvents,
4713
+ getWebhookConfigsStats,
4628
4714
  getWebhookDeliveries,
4629
4715
  getWebhookDeliveriesById,
4716
+ getWebhookDeliveriesStats,
4630
4717
  getWorkspaceMemberships,
4631
4718
  getWorkspaces,
4632
4719
  getWorkspacesById,
4720
+ getWorkspacesByIdMembers,
4633
4721
  getWorkspacesByWorkspaceIdExtractionExports,
4634
4722
  getWorkspacesByWorkspaceIdExtractionExportsById,
4635
4723
  getWorkspacesByWorkspaceIdTrainingAnalytics,
@@ -4641,13 +4729,16 @@ var index_default = gptCore;
4641
4729
  paginateToArray,
4642
4730
  patchAgentsById,
4643
4731
  patchAgentsByIdSchemaVersionsByVersionId,
4732
+ patchAiConversationsById,
4644
4733
  patchApiKeysById,
4645
4734
  patchApiKeysByIdAllocate,
4735
+ patchApiKeysByIdResetPeriod,
4646
4736
  patchApiKeysByIdRevoke,
4647
4737
  patchApiKeysByIdRotate,
4648
4738
  patchApiKeysByIdSetBudget,
4649
4739
  patchApplicationsByApplicationIdEmailTemplatesBySlug,
4650
4740
  patchApplicationsById,
4741
+ patchApplicationsByIdAllocateCredits,
4651
4742
  patchApplicationsByIdGrantCredits,
4652
4743
  patchBucketsById,
4653
4744
  patchConfigsByKey,
@@ -4661,6 +4752,7 @@ var index_default = gptCore;
4661
4752
  patchExtractionDocumentsByIdReprocess,
4662
4753
  patchExtractionDocumentsByIdRestore,
4663
4754
  patchExtractionDocumentsByIdStatus,
4755
+ patchExtractionDocumentsByIdVerification,
4664
4756
  patchExtractionResultsByIdCorrections,
4665
4757
  patchExtractionResultsByIdRegenerate,
4666
4758
  patchInvitationsByIdAccept,
@@ -4670,11 +4762,16 @@ var index_default = gptCore;
4670
4762
  patchInvitationsByIdRevoke,
4671
4763
  patchMessagesById,
4672
4764
  patchNotificationMethodsById,
4765
+ patchNotificationMethodsByIdSendVerification,
4673
4766
  patchNotificationMethodsByIdSetPrimary,
4767
+ patchNotificationMethodsByIdVerify,
4674
4768
  patchNotificationPreferencesById,
4769
+ patchSearchSavedById,
4675
4770
  patchTenantMembershipsByTenantIdByUserId,
4676
4771
  patchTenantsById,
4677
4772
  patchThreadsById,
4773
+ patchThreadsByIdArchive,
4774
+ patchThreadsByIdUnarchive,
4678
4775
  patchTrainingExamplesById,
4679
4776
  patchUserProfilesById,
4680
4777
  patchUsersAuthPasswordChange,
@@ -4685,13 +4782,20 @@ var index_default = gptCore;
4685
4782
  patchUsersByIdResetPassword,
4686
4783
  patchWalletAddons,
4687
4784
  patchWalletAddonsByAddonSlugCancel,
4785
+ patchWalletAutoTopUp,
4688
4786
  patchWalletCredits,
4689
4787
  patchWalletPlan,
4788
+ patchWatcherClaimsById,
4789
+ patchWatcherClaimsByIdRelease,
4790
+ patchWatcherClaimsByIdRetry,
4690
4791
  patchWebhookConfigsById,
4691
4792
  patchWebhookConfigsByIdRotateSecret,
4692
4793
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
4693
4794
  patchWorkspacesById,
4694
4795
  patchWorkspacesByIdAllocate,
4796
+ patchWorkspacesByIdStorageSettings,
4797
+ postAgentTestResults,
4798
+ postAgentVersionComparisons,
4695
4799
  postAgentVersions,
4696
4800
  postAgents,
4697
4801
  postAgentsByIdClone,
@@ -4700,7 +4804,6 @@ var index_default = gptCore;
4700
4804
  postAgentsByIdPublishVersion,
4701
4805
  postAgentsByIdSchemaVersions,
4702
4806
  postAgentsByIdSchemaVersionsByVersionIdActivate,
4703
- postAgentsByIdStats,
4704
4807
  postAgentsByIdTeach,
4705
4808
  postAgentsByIdTest,
4706
4809
  postAgentsByIdValidate,
@@ -4718,14 +4821,18 @@ var index_default = gptCore;
4718
4821
  postApiKeys,
4719
4822
  postApplications,
4720
4823
  postApplicationsByApplicationIdEmailTemplates,
4824
+ postApplicationsByApplicationIdEmailTemplatesBySlugPreview,
4825
+ postApplicationsByApplicationIdEmailTemplatesBySlugTest,
4721
4826
  postBuckets,
4722
4827
  postConfigs,
4723
4828
  postDocumentsBulkDelete,
4724
4829
  postDocumentsPresignedUpload,
4725
4830
  postExtractionBatches,
4726
4831
  postExtractionDocumentsBeginUpload,
4832
+ postExtractionDocumentsBulkReprocess,
4727
4833
  postExtractionDocumentsUpload,
4728
4834
  postExtractionResults,
4835
+ postExtractionSchemaDiscoveries,
4729
4836
  postFieldTemplates,
4730
4837
  postInvitations,
4731
4838
  postInvitationsAcceptByToken,
@@ -4734,10 +4841,14 @@ var index_default = gptCore;
4734
4841
  postNotificationMethods,
4735
4842
  postNotificationPreferences,
4736
4843
  postObjectsBulkDestroy,
4844
+ postObjectsCopy,
4845
+ postObjectsMove,
4737
4846
  postObjectsRegister,
4738
4847
  postPayments,
4848
+ postSearchBatch,
4739
4849
  postSearchReindex,
4740
4850
  postSearchSaved,
4851
+ postSearchSavedByIdRun,
4741
4852
  postStorageSignDownload,
4742
4853
  postStorageSignUpload,
4743
4854
  postTenantMemberships,
@@ -4745,9 +4856,12 @@ var index_default = gptCore;
4745
4856
  postTenantsByIdBuyStorage,
4746
4857
  postTenantsByIdCredit,
4747
4858
  postTenantsByIdRemoveStorage,
4859
+ postTenantsByIdSchedulePurge,
4748
4860
  postTenantsIsv,
4749
4861
  postThreads,
4750
4862
  postThreadsActive,
4863
+ postThreadsByIdExport,
4864
+ postThreadsByIdFork,
4751
4865
  postThreadsByIdMessages,
4752
4866
  postThreadsByIdSummarize,
4753
4867
  postTokens,
@@ -4764,14 +4878,15 @@ var index_default = gptCore;
4764
4878
  postUsersAuthRegisterWithOidc,
4765
4879
  postUsersAuthResendConfirmation,
4766
4880
  postUsersRegisterIsv,
4881
+ postWatcherClaims,
4882
+ postWatcherEvents,
4767
4883
  postWebhookConfigs,
4768
4884
  postWebhookConfigsBulkDisable,
4769
4885
  postWebhookConfigsBulkEnable,
4886
+ postWebhookConfigsByIdReplay,
4770
4887
  postWebhookConfigsByIdTest,
4771
- postWebhookConfigsStats,
4772
4888
  postWebhookDeliveriesBulkRetry,
4773
4889
  postWebhookDeliveriesByIdRetry,
4774
- postWebhookDeliveriesStats,
4775
4890
  postWorkspaceMemberships,
4776
4891
  postWorkspaces,
4777
4892
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,