@gpt-core/client 0.6.96 → 0.6.98

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
@@ -49,6 +49,7 @@ __export(index_exports, {
49
49
  calculateBackoff: () => calculateBackoff,
50
50
  client: () => client,
51
51
  collectStreamedMessage: () => collectStreamedMessage,
52
+ default: () => index_default,
52
53
  deleteAgentsById: () => deleteAgentsById,
53
54
  deleteAiConversationsById: () => deleteAiConversationsById,
54
55
  deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
@@ -109,6 +110,7 @@ __export(index_exports, {
109
110
  getExtractionDocumentsWorkspaceByWorkspaceId: () => getExtractionDocumentsWorkspaceByWorkspaceId,
110
111
  getExtractionDocumentsWorkspaceByWorkspaceIdExcluded: () => getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
111
112
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
113
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
112
114
  getExtractionResultsById: () => getExtractionResultsById,
113
115
  getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
114
116
  getExtractionSchemaFields: () => getExtractionSchemaFields,
@@ -195,9 +197,12 @@ __export(index_exports, {
195
197
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
196
198
  patchBucketsById: () => patchBucketsById,
197
199
  patchConfigsByKey: () => patchConfigsByKey,
200
+ patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
201
+ patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
198
202
  patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
199
203
  patchExtractionDocumentsByIdFinishUpload: () => patchExtractionDocumentsByIdFinishUpload,
200
204
  patchExtractionDocumentsByIdInclude: () => patchExtractionDocumentsByIdInclude,
205
+ patchExtractionDocumentsByIdMarkTrained: () => patchExtractionDocumentsByIdMarkTrained,
201
206
  patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
202
207
  patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
203
208
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
@@ -304,6 +309,7 @@ __export(index_exports, {
304
309
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
305
310
  postWorkspaceMemberships: () => postWorkspaceMemberships,
306
311
  postWorkspaces: () => postWorkspaces,
312
+ postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
307
313
  postWorkspacesByWorkspaceIdExtractionExports: () => postWorkspacesByWorkspaceIdExtractionExports,
308
314
  retryWithBackoff: () => retryWithBackoff,
309
315
  sleep: () => sleep,
@@ -313,6 +319,268 @@ __export(index_exports, {
313
319
  });
314
320
  module.exports = __toCommonJS(index_exports);
315
321
 
322
+ // src/_internal/sdk.gen.ts
323
+ var sdk_gen_exports = {};
324
+ __export(sdk_gen_exports, {
325
+ deleteAgentsById: () => deleteAgentsById,
326
+ deleteAiConversationsById: () => deleteAiConversationsById,
327
+ deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
328
+ deleteAiGraphNodesById: () => deleteAiGraphNodesById,
329
+ deleteApiKeysById: () => deleteApiKeysById,
330
+ deleteApplicationsById: () => deleteApplicationsById,
331
+ deleteBucketsById: () => deleteBucketsById,
332
+ deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
333
+ deleteExtractionSchemaFieldsById: () => deleteExtractionSchemaFieldsById,
334
+ deleteFieldTemplatesById: () => deleteFieldTemplatesById,
335
+ deleteMessagesById: () => deleteMessagesById,
336
+ deleteNotificationMethodsById: () => deleteNotificationMethodsById,
337
+ deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
338
+ deleteObjectsById: () => deleteObjectsById,
339
+ deleteSearchSavedById: () => deleteSearchSavedById,
340
+ deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
341
+ deleteTenantsById: () => deleteTenantsById,
342
+ deleteThreadsById: () => deleteThreadsById,
343
+ deleteTrainingExamplesById: () => deleteTrainingExamplesById,
344
+ deleteTrainingSessionsById: () => deleteTrainingSessionsById,
345
+ deleteUserProfilesById: () => deleteUserProfilesById,
346
+ deleteWebhookConfigsById: () => deleteWebhookConfigsById,
347
+ deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
348
+ deleteWorkspacesById: () => deleteWorkspacesById,
349
+ getAgentVersions: () => getAgentVersions,
350
+ getAgentVersionsById: () => getAgentVersionsById,
351
+ getAgents: () => getAgents,
352
+ getAgentsById: () => getAgentsById,
353
+ getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
354
+ getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
355
+ getAiConversations: () => getAiConversations,
356
+ getAiConversationsById: () => getAiConversationsById,
357
+ getAiGraphEdges: () => getAiGraphEdges,
358
+ getAiGraphNodes: () => getAiGraphNodes,
359
+ getAiMessages: () => getAiMessages,
360
+ getApiKeys: () => getApiKeys,
361
+ getApiKeysById: () => getApiKeysById,
362
+ getApplications: () => getApplications,
363
+ getApplicationsById: () => getApplicationsById,
364
+ getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
365
+ getAuditLogs: () => getAuditLogs,
366
+ getBuckets: () => getBuckets,
367
+ getBucketsById: () => getBucketsById,
368
+ getBucketsByIdObjects: () => getBucketsByIdObjects,
369
+ getBucketsByIdStats: () => getBucketsByIdStats,
370
+ getConfigs: () => getConfigs,
371
+ getCreditPackages: () => getCreditPackages,
372
+ getCreditPackagesById: () => getCreditPackagesById,
373
+ getCreditPackagesSlugBySlug: () => getCreditPackagesSlugBySlug,
374
+ getDocumentsStats: () => getDocumentsStats,
375
+ getExtractionBatchesById: () => getExtractionBatchesById,
376
+ getExtractionBatchesByIdUploadUrls: () => getExtractionBatchesByIdUploadUrls,
377
+ getExtractionBatchesWorkspaceByWorkspaceId: () => getExtractionBatchesWorkspaceByWorkspaceId,
378
+ getExtractionDocuments: () => getExtractionDocuments,
379
+ getExtractionDocumentsById: () => getExtractionDocumentsById,
380
+ getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
381
+ getExtractionDocumentsByIdView: () => getExtractionDocumentsByIdView,
382
+ getExtractionDocumentsWorkspaceByWorkspaceId: () => getExtractionDocumentsWorkspaceByWorkspaceId,
383
+ getExtractionDocumentsWorkspaceByWorkspaceIdExcluded: () => getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
384
+ getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
385
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
386
+ getExtractionResultsById: () => getExtractionResultsById,
387
+ getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
388
+ getExtractionSchemaFields: () => getExtractionSchemaFields,
389
+ getExtractionSchemaFieldsById: () => getExtractionSchemaFieldsById,
390
+ getExtractionSchemas: () => getExtractionSchemas,
391
+ getExtractionSchemasById: () => getExtractionSchemasById,
392
+ getExtractionSchemasWorkspaceByWorkspaceId: () => getExtractionSchemasWorkspaceByWorkspaceId,
393
+ getFieldTemplates: () => getFieldTemplates,
394
+ getFieldTemplatesById: () => getFieldTemplatesById,
395
+ getInvitations: () => getInvitations,
396
+ getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
397
+ getLlmAnalytics: () => getLlmAnalytics,
398
+ getLlmAnalyticsById: () => getLlmAnalyticsById,
399
+ getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
400
+ getLlmAnalyticsPlatform: () => getLlmAnalyticsPlatform,
401
+ getLlmAnalyticsSummary: () => getLlmAnalyticsSummary,
402
+ getLlmAnalyticsUsage: () => getLlmAnalyticsUsage,
403
+ getLlmAnalyticsWorkspace: () => getLlmAnalyticsWorkspace,
404
+ getMessages: () => getMessages,
405
+ getMessagesById: () => getMessagesById,
406
+ getMessagesSearch: () => getMessagesSearch,
407
+ getNotificationLogs: () => getNotificationLogs,
408
+ getNotificationLogsById: () => getNotificationLogsById,
409
+ getNotificationMethods: () => getNotificationMethods,
410
+ getNotificationMethodsById: () => getNotificationMethodsById,
411
+ getNotificationPreferences: () => getNotificationPreferences,
412
+ getNotificationPreferencesById: () => getNotificationPreferencesById,
413
+ getObjects: () => getObjects,
414
+ getObjectsById: () => getObjectsById,
415
+ getPlans: () => getPlans,
416
+ getPlansById: () => getPlansById,
417
+ getPlansSlugBySlug: () => getPlansSlugBySlug,
418
+ getSearch: () => getSearch,
419
+ getSearchHealth: () => getSearchHealth,
420
+ getSearchIndexes: () => getSearchIndexes,
421
+ getSearchSaved: () => getSearchSaved,
422
+ getSearchSemantic: () => getSearchSemantic,
423
+ getSearchStats: () => getSearchStats,
424
+ getSearchStatus: () => getSearchStatus,
425
+ getStorageStats: () => getStorageStats,
426
+ getTenantMemberships: () => getTenantMemberships,
427
+ getTenants: () => getTenants,
428
+ getTenantsById: () => getTenantsById,
429
+ getTenantsByTenantIdDocumentStats: () => getTenantsByTenantIdDocumentStats,
430
+ getTenantsByTenantIdStats: () => getTenantsByTenantIdStats,
431
+ getTenantsByTenantIdWorkspaceStats: () => getTenantsByTenantIdWorkspaceStats,
432
+ getThreads: () => getThreads,
433
+ getThreadsById: () => getThreadsById,
434
+ getThreadsSearch: () => getThreadsSearch,
435
+ getTrainingExamples: () => getTrainingExamples,
436
+ getTrainingExamplesById: () => getTrainingExamplesById,
437
+ getTrainingSessionsAgentsByAgentIdSessions: () => getTrainingSessionsAgentsByAgentIdSessions,
438
+ getTrainingSessionsById: () => getTrainingSessionsById,
439
+ getTransactions: () => getTransactions,
440
+ getTransactionsById: () => getTransactionsById,
441
+ getUserProfiles: () => getUserProfiles,
442
+ getUserProfilesById: () => getUserProfilesById,
443
+ getUserProfilesMe: () => getUserProfilesMe,
444
+ getUsers: () => getUsers,
445
+ getUsersById: () => getUsersById,
446
+ getUsersMe: () => getUsersMe,
447
+ getWallet: () => getWallet,
448
+ getWebhookConfigs: () => getWebhookConfigs,
449
+ getWebhookConfigsById: () => getWebhookConfigsById,
450
+ getWebhookDeliveries: () => getWebhookDeliveries,
451
+ getWebhookDeliveriesById: () => getWebhookDeliveriesById,
452
+ getWorkspaceMemberships: () => getWorkspaceMemberships,
453
+ getWorkspaces: () => getWorkspaces,
454
+ getWorkspacesById: () => getWorkspacesById,
455
+ getWorkspacesByWorkspaceIdExtractionExports: () => getWorkspacesByWorkspaceIdExtractionExports,
456
+ getWorkspacesByWorkspaceIdExtractionExportsById: () => getWorkspacesByWorkspaceIdExtractionExportsById,
457
+ getWorkspacesByWorkspaceIdTrainingAnalytics: () => getWorkspacesByWorkspaceIdTrainingAnalytics,
458
+ getWorkspacesMine: () => getWorkspacesMine,
459
+ patchAgentsById: () => patchAgentsById,
460
+ patchApiKeysById: () => patchApiKeysById,
461
+ patchApiKeysByIdAllocate: () => patchApiKeysByIdAllocate,
462
+ patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
463
+ patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
464
+ patchApplicationsById: () => patchApplicationsById,
465
+ patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
466
+ patchBucketsById: () => patchBucketsById,
467
+ patchConfigsByKey: () => patchConfigsByKey,
468
+ patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
469
+ patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
470
+ patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
471
+ patchExtractionDocumentsByIdFinishUpload: () => patchExtractionDocumentsByIdFinishUpload,
472
+ patchExtractionDocumentsByIdInclude: () => patchExtractionDocumentsByIdInclude,
473
+ patchExtractionDocumentsByIdMarkTrained: () => patchExtractionDocumentsByIdMarkTrained,
474
+ patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
475
+ patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
476
+ patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
477
+ patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
478
+ patchExtractionSchemaFieldsById: () => patchExtractionSchemaFieldsById,
479
+ patchExtractionSchemasById: () => patchExtractionSchemasById,
480
+ patchExtractionSchemasByIdActivate: () => patchExtractionSchemasByIdActivate,
481
+ patchExtractionSchemasByIdFields: () => patchExtractionSchemasByIdFields,
482
+ patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
483
+ patchInvitationsByIdResend: () => patchInvitationsByIdResend,
484
+ patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
485
+ patchMessagesById: () => patchMessagesById,
486
+ patchNotificationMethodsById: () => patchNotificationMethodsById,
487
+ patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
488
+ patchNotificationPreferencesById: () => patchNotificationPreferencesById,
489
+ patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
490
+ patchTenantsById: () => patchTenantsById,
491
+ patchThreadsById: () => patchThreadsById,
492
+ patchTrainingExamplesById: () => patchTrainingExamplesById,
493
+ patchUserProfilesById: () => patchUserProfilesById,
494
+ patchUsersAuthResetPassword: () => patchUsersAuthResetPassword,
495
+ patchUsersByIdAdmin: () => patchUsersByIdAdmin,
496
+ patchUsersByIdAdminEmail: () => patchUsersByIdAdminEmail,
497
+ patchUsersByIdConfirmEmail: () => patchUsersByIdConfirmEmail,
498
+ patchUsersByIdResetPassword: () => patchUsersByIdResetPassword,
499
+ patchWalletAddons: () => patchWalletAddons,
500
+ patchWalletAddonsByAddonSlugCancel: () => patchWalletAddonsByAddonSlugCancel,
501
+ patchWalletCredits: () => patchWalletCredits,
502
+ patchWalletPlan: () => patchWalletPlan,
503
+ patchWebhookConfigsById: () => patchWebhookConfigsById,
504
+ patchWebhookConfigsByIdRotateSecret: () => patchWebhookConfigsByIdRotateSecret,
505
+ patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
506
+ patchWorkspacesById: () => patchWorkspacesById,
507
+ patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
508
+ postAgentVersions: () => postAgentVersions,
509
+ postAgents: () => postAgents,
510
+ postAgentsByIdClone: () => postAgentsByIdClone,
511
+ postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
512
+ postAgentsByIdTeach: () => postAgentsByIdTeach,
513
+ postAgentsByIdTest: () => postAgentsByIdTest,
514
+ postAgentsByIdValidate: () => postAgentsByIdValidate,
515
+ postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
516
+ postAgentsPredict: () => postAgentsPredict,
517
+ postAiChunksSearch: () => postAiChunksSearch,
518
+ postAiConversations: () => postAiConversations,
519
+ postAiEmbed: () => postAiEmbed,
520
+ postAiGraphEdges: () => postAiGraphEdges,
521
+ postAiGraphNodes: () => postAiGraphNodes,
522
+ postAiMessages: () => postAiMessages,
523
+ postAiSearch: () => postAiSearch,
524
+ postAiSearchAdvanced: () => postAiSearchAdvanced,
525
+ postApiKeys: () => postApiKeys,
526
+ postApplications: () => postApplications,
527
+ postBuckets: () => postBuckets,
528
+ postConfigs: () => postConfigs,
529
+ postDocumentsBulkDelete: () => postDocumentsBulkDelete,
530
+ postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
531
+ postExtractionBatches: () => postExtractionBatches,
532
+ postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
533
+ postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
534
+ postExtractionResults: () => postExtractionResults,
535
+ postExtractionSchemaFields: () => postExtractionSchemaFields,
536
+ postExtractionSchemas: () => postExtractionSchemas,
537
+ postExtractionSchemasBulkCreate: () => postExtractionSchemasBulkCreate,
538
+ postFieldTemplates: () => postFieldTemplates,
539
+ postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
540
+ postInvitationsInvite: () => postInvitationsInvite,
541
+ postLlmAnalytics: () => postLlmAnalytics,
542
+ postMessages: () => postMessages,
543
+ postNotificationMethods: () => postNotificationMethods,
544
+ postNotificationPreferences: () => postNotificationPreferences,
545
+ postObjectsBulkDestroy: () => postObjectsBulkDestroy,
546
+ postObjectsRegister: () => postObjectsRegister,
547
+ postPayments: () => postPayments,
548
+ postSearchReindex: () => postSearchReindex,
549
+ postSearchSaved: () => postSearchSaved,
550
+ postStorageSignDownload: () => postStorageSignDownload,
551
+ postStorageSignUpload: () => postStorageSignUpload,
552
+ postTenantMemberships: () => postTenantMemberships,
553
+ postTenants: () => postTenants,
554
+ postTenantsByIdBuyStorage: () => postTenantsByIdBuyStorage,
555
+ postTenantsByIdCredit: () => postTenantsByIdCredit,
556
+ postTenantsByIdRemoveStorage: () => postTenantsByIdRemoveStorage,
557
+ postTenantsIsv: () => postTenantsIsv,
558
+ postThreads: () => postThreads,
559
+ postThreadsActive: () => postThreadsActive,
560
+ postThreadsByIdMessages: () => postThreadsByIdMessages,
561
+ postThreadsByIdSummarize: () => postThreadsByIdSummarize,
562
+ postTokens: () => postTokens,
563
+ postTrainingExamples: () => postTrainingExamples,
564
+ postTrainingExamplesBulk: () => postTrainingExamplesBulk,
565
+ postTrainingExamplesBulkDelete: () => postTrainingExamplesBulkDelete,
566
+ postTrainingExamplesSearch: () => postTrainingExamplesSearch,
567
+ postUserProfiles: () => postUserProfiles,
568
+ postUsersAuthConfirm: () => postUsersAuthConfirm,
569
+ postUsersAuthLogin: () => postUsersAuthLogin,
570
+ postUsersAuthMagicLinkLogin: () => postUsersAuthMagicLinkLogin,
571
+ postUsersAuthMagicLinkRequest: () => postUsersAuthMagicLinkRequest,
572
+ postUsersAuthRegister: () => postUsersAuthRegister,
573
+ postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
574
+ postUsersRegisterIsv: () => postUsersRegisterIsv,
575
+ postWebhookConfigs: () => postWebhookConfigs,
576
+ postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
577
+ postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
578
+ postWorkspaceMemberships: () => postWorkspaceMemberships,
579
+ postWorkspaces: () => postWorkspaces,
580
+ postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
581
+ postWorkspacesByWorkspaceIdExtractionExports: () => postWorkspacesByWorkspaceIdExtractionExports
582
+ });
583
+
316
584
  // src/_internal/core/bodySerializer.gen.ts
317
585
  var jsonBodySerializer = {
318
586
  bodySerializer: (body) => JSON.stringify(
@@ -1144,7 +1412,6 @@ var client = createClient(
1144
1412
 
1145
1413
  // src/_internal/sdk.gen.ts
1146
1414
  var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1147
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1148
1415
  security: [{ scheme: "bearer", type: "http" }],
1149
1416
  url: "/ai/search/advanced",
1150
1417
  ...options,
@@ -1154,31 +1421,21 @@ var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1154
1421
  }
1155
1422
  });
1156
1423
  var deleteExtractionDocumentsById = (options) => (options.client ?? client).delete({
1157
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1158
1424
  security: [{ scheme: "bearer", type: "http" }],
1159
1425
  url: "/extraction/documents/{id}",
1160
1426
  ...options
1161
1427
  });
1162
1428
  var getExtractionDocumentsById = (options) => (options.client ?? client).get({
1163
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1164
1429
  security: [{ scheme: "bearer", type: "http" }],
1165
1430
  url: "/extraction/documents/{id}",
1166
1431
  ...options
1167
1432
  });
1168
1433
  var getThreads = (options) => (options.client ?? client).get({
1169
- querySerializer: {
1170
- parameters: {
1171
- filter: { object: { style: "form" } },
1172
- page: { object: { style: "form" } },
1173
- fields: { object: { style: "form" } }
1174
- }
1175
- },
1176
1434
  security: [{ scheme: "bearer", type: "http" }],
1177
1435
  url: "/threads",
1178
1436
  ...options
1179
1437
  });
1180
1438
  var postThreads = (options) => (options.client ?? client).post({
1181
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1182
1439
  security: [{ scheme: "bearer", type: "http" }],
1183
1440
  url: "/threads",
1184
1441
  ...options,
@@ -1188,36 +1445,26 @@ var postThreads = (options) => (options.client ?? client).post({
1188
1445
  }
1189
1446
  });
1190
1447
  var getExtractionSchemasWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1191
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1192
1448
  security: [{ scheme: "bearer", type: "http" }],
1193
1449
  url: "/extraction/schemas/workspace/{workspace_id}",
1194
1450
  ...options
1195
1451
  });
1196
1452
  var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
1197
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1198
1453
  security: [{ scheme: "bearer", type: "http" }],
1199
1454
  url: "/llm_analytics/costs",
1200
1455
  ...options
1201
1456
  });
1202
1457
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
1203
- querySerializer: {
1204
- parameters: {
1205
- filter: { object: { style: "form" } },
1206
- fields: { object: { style: "form" } }
1207
- }
1208
- },
1209
1458
  security: [{ scheme: "bearer", type: "http" }],
1210
1459
  url: "/training_sessions/agents/{agent_id}/sessions",
1211
1460
  ...options
1212
1461
  });
1213
1462
  var getAiChunksDocumentByDocumentId = (options) => (options.client ?? client).get({
1214
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1215
1463
  security: [{ scheme: "bearer", type: "http" }],
1216
1464
  url: "/ai/chunks/document/{document_id}",
1217
1465
  ...options
1218
1466
  });
1219
1467
  var patchWalletCredits = (options) => (options.client ?? client).patch({
1220
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1221
1468
  security: [{ scheme: "bearer", type: "http" }],
1222
1469
  url: "/wallet/credits",
1223
1470
  ...options,
@@ -1227,18 +1474,11 @@ var patchWalletCredits = (options) => (options.client ?? client).patch({
1227
1474
  }
1228
1475
  });
1229
1476
  var getWorkspaces = (options) => (options.client ?? client).get({
1230
- querySerializer: {
1231
- parameters: {
1232
- filter: { object: { style: "form" } },
1233
- fields: { object: { style: "form" } }
1234
- }
1235
- },
1236
1477
  security: [{ scheme: "bearer", type: "http" }],
1237
1478
  url: "/workspaces",
1238
1479
  ...options
1239
1480
  });
1240
1481
  var postWorkspaces = (options) => (options.client ?? client).post({
1241
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1242
1482
  security: [{ scheme: "bearer", type: "http" }],
1243
1483
  url: "/workspaces",
1244
1484
  ...options,
@@ -1248,13 +1488,20 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1248
1488
  }
1249
1489
  });
1250
1490
  var getDocumentsStats = (options) => (options.client ?? client).get({
1251
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1252
1491
  security: [{ scheme: "bearer", type: "http" }],
1253
1492
  url: "/documents/stats",
1254
1493
  ...options
1255
1494
  });
1495
+ var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client).patch({
1496
+ security: [{ scheme: "bearer", type: "http" }],
1497
+ url: "/extraction/documents/{id}/dismiss",
1498
+ ...options,
1499
+ headers: {
1500
+ "Content-Type": "application/vnd.api+json",
1501
+ ...options.headers
1502
+ }
1503
+ });
1256
1504
  var postObjectsRegister = (options) => (options.client ?? client).post({
1257
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1258
1505
  security: [{ scheme: "bearer", type: "http" }],
1259
1506
  url: "/objects/register",
1260
1507
  ...options,
@@ -1264,30 +1511,30 @@ var postObjectsRegister = (options) => (options.client ?? client).post({
1264
1511
  }
1265
1512
  });
1266
1513
  var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
1267
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1268
1514
  security: [{ scheme: "bearer", type: "http" }],
1269
1515
  url: "/llm_analytics/workspace",
1270
1516
  ...options
1271
1517
  });
1518
+ var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?? client).patch({
1519
+ security: [{ scheme: "bearer", type: "http" }],
1520
+ url: "/extraction/documents/{id}/dismiss-training",
1521
+ ...options,
1522
+ headers: {
1523
+ "Content-Type": "application/vnd.api+json",
1524
+ ...options.headers
1525
+ }
1526
+ });
1272
1527
  var getSearchIndexes = (options) => (options.client ?? client).get({
1273
- querySerializer: {
1274
- parameters: {
1275
- filter: { object: { style: "form" } },
1276
- fields: { object: { style: "form" } }
1277
- }
1278
- },
1279
1528
  security: [{ scheme: "bearer", type: "http" }],
1280
1529
  url: "/search/indexes",
1281
1530
  ...options
1282
1531
  });
1283
1532
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
1284
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1285
1533
  security: [{ scheme: "bearer", type: "http" }],
1286
1534
  url: "/credit-packages/slug/{slug}",
1287
1535
  ...options
1288
1536
  });
1289
1537
  var postExtractionBatches = (options) => (options.client ?? client).post({
1290
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1291
1538
  security: [{ scheme: "bearer", type: "http" }],
1292
1539
  url: "/extraction/batches",
1293
1540
  ...options,
@@ -1297,13 +1544,11 @@ var postExtractionBatches = (options) => (options.client ?? client).post({
1297
1544
  }
1298
1545
  });
1299
1546
  var getLlmAnalyticsPlatform = (options) => (options.client ?? client).get({
1300
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1301
1547
  security: [{ scheme: "bearer", type: "http" }],
1302
1548
  url: "/llm_analytics/platform",
1303
1549
  ...options
1304
1550
  });
1305
1551
  var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client).patch({
1306
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1307
1552
  security: [{ scheme: "bearer", type: "http" }],
1308
1553
  url: "/extraction/documents/{id}/exclude",
1309
1554
  ...options,
@@ -1313,7 +1558,6 @@ var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client
1313
1558
  }
1314
1559
  });
1315
1560
  var postPayments = (options) => (options.client ?? client).post({
1316
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1317
1561
  security: [{ scheme: "bearer", type: "http" }],
1318
1562
  url: "/payments",
1319
1563
  ...options,
@@ -1323,18 +1567,11 @@ var postPayments = (options) => (options.client ?? client).post({
1323
1567
  }
1324
1568
  });
1325
1569
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1326
- querySerializer: {
1327
- parameters: {
1328
- filter: { object: { style: "form" } },
1329
- fields: { object: { style: "form" } }
1330
- }
1331
- },
1332
1570
  security: [{ scheme: "bearer", type: "http" }],
1333
1571
  url: "/extraction/batches/workspace/{workspace_id}",
1334
1572
  ...options
1335
1573
  });
1336
1574
  var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1337
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1338
1575
  security: [{ scheme: "bearer", type: "http" }],
1339
1576
  url: "/api_keys/{id}/revoke",
1340
1577
  ...options,
@@ -1344,19 +1581,16 @@ var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1344
1581
  }
1345
1582
  });
1346
1583
  var getInvitationsConsumeByToken = (options) => (options.client ?? client).get({
1347
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1348
1584
  security: [{ scheme: "bearer", type: "http" }],
1349
1585
  url: "/invitations/consume/{token}",
1350
1586
  ...options
1351
1587
  });
1352
1588
  var getExtractionDocumentsByIdStatus = (options) => (options.client ?? client).get({
1353
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1354
1589
  security: [{ scheme: "bearer", type: "http" }],
1355
1590
  url: "/extraction/documents/{id}/status",
1356
1591
  ...options
1357
1592
  });
1358
1593
  var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client).patch({
1359
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1360
1594
  security: [{ scheme: "bearer", type: "http" }],
1361
1595
  url: "/extraction/documents/{id}/status",
1362
1596
  ...options,
@@ -1366,7 +1600,6 @@ var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client)
1366
1600
  }
1367
1601
  });
1368
1602
  var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? client).patch({
1369
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1370
1603
  security: [{ scheme: "bearer", type: "http" }],
1371
1604
  url: "/extraction/documents/{id}/finish_upload",
1372
1605
  ...options,
@@ -1376,7 +1609,6 @@ var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? c
1376
1609
  }
1377
1610
  });
1378
1611
  var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch({
1379
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1380
1612
  security: [{ scheme: "bearer", type: "http" }],
1381
1613
  url: "/workspaces/{id}/allocate",
1382
1614
  ...options,
@@ -1386,7 +1618,6 @@ var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch(
1386
1618
  }
1387
1619
  });
1388
1620
  var postThreadsActive = (options) => (options.client ?? client).post({
1389
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1390
1621
  security: [{ scheme: "bearer", type: "http" }],
1391
1622
  url: "/threads/active",
1392
1623
  ...options,
@@ -1396,7 +1627,6 @@ var postThreadsActive = (options) => (options.client ?? client).post({
1396
1627
  }
1397
1628
  });
1398
1629
  var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1399
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1400
1630
  security: [{ scheme: "bearer", type: "http" }],
1401
1631
  url: "/invitations/{id}/revoke",
1402
1632
  ...options,
@@ -1405,20 +1635,21 @@ var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1405
1635
  ...options.headers
1406
1636
  }
1407
1637
  });
1638
+ var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options) => (options.client ?? client).post({
1639
+ security: [{ scheme: "bearer", type: "http" }],
1640
+ url: "/workspaces/{workspace_id}/extraction/documents/dismiss-all-trained",
1641
+ ...options,
1642
+ headers: {
1643
+ "Content-Type": "application/vnd.api+json",
1644
+ ...options.headers
1645
+ }
1646
+ });
1408
1647
  var getConfigs = (options) => (options.client ?? client).get({
1409
- querySerializer: {
1410
- parameters: {
1411
- filter: { object: { style: "form" } },
1412
- page: { object: { style: "form" } },
1413
- fields: { object: { style: "form" } }
1414
- }
1415
- },
1416
1648
  security: [{ scheme: "bearer", type: "http" }],
1417
1649
  url: "/configs",
1418
1650
  ...options
1419
1651
  });
1420
1652
  var postConfigs = (options) => (options.client ?? client).post({
1421
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1422
1653
  security: [{ scheme: "bearer", type: "http" }],
1423
1654
  url: "/configs",
1424
1655
  ...options,
@@ -1428,7 +1659,6 @@ var postConfigs = (options) => (options.client ?? client).post({
1428
1659
  }
1429
1660
  });
1430
1661
  var postTokens = (options) => (options.client ?? client).post({
1431
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1432
1662
  security: [{ scheme: "bearer", type: "http" }],
1433
1663
  url: "/tokens",
1434
1664
  ...options,
@@ -1438,19 +1668,16 @@ var postTokens = (options) => (options.client ?? client).post({
1438
1668
  }
1439
1669
  });
1440
1670
  var deleteTrainingExamplesById = (options) => (options.client ?? client).delete({
1441
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1442
1671
  security: [{ scheme: "bearer", type: "http" }],
1443
1672
  url: "/training_examples/{id}",
1444
1673
  ...options
1445
1674
  });
1446
1675
  var getTrainingExamplesById = (options) => (options.client ?? client).get({
1447
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1448
1676
  security: [{ scheme: "bearer", type: "http" }],
1449
1677
  url: "/training_examples/{id}",
1450
1678
  ...options
1451
1679
  });
1452
1680
  var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1453
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1454
1681
  security: [{ scheme: "bearer", type: "http" }],
1455
1682
  url: "/training_examples/{id}",
1456
1683
  ...options,
@@ -1460,13 +1687,11 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1460
1687
  }
1461
1688
  });
1462
1689
  var deleteSearchSavedById = (options) => (options.client ?? client).delete({
1463
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1464
1690
  security: [{ scheme: "bearer", type: "http" }],
1465
1691
  url: "/search/saved/{id}",
1466
1692
  ...options
1467
1693
  });
1468
1694
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1469
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1470
1695
  security: [{ scheme: "bearer", type: "http" }],
1471
1696
  url: "/users/{id}/admin/email",
1472
1697
  ...options,
@@ -1475,8 +1700,12 @@ var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1475
1700
  ...options.headers
1476
1701
  }
1477
1702
  });
1703
+ var getExtractionDocumentsWorkspaceByWorkspaceIdTrained = (options) => (options.client ?? client).get({
1704
+ security: [{ scheme: "bearer", type: "http" }],
1705
+ url: "/extraction/documents/workspace/{workspace_id}/trained",
1706
+ ...options
1707
+ });
1478
1708
  var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch({
1479
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1480
1709
  security: [{ scheme: "bearer", type: "http" }],
1481
1710
  url: "/users/auth/reset-password",
1482
1711
  ...options,
@@ -1486,13 +1715,11 @@ var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch(
1486
1715
  }
1487
1716
  });
1488
1717
  var getBucketsByIdStats = (options) => (options.client ?? client).get({
1489
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1490
1718
  security: [{ scheme: "bearer", type: "http" }],
1491
1719
  url: "/buckets/{id}/stats",
1492
1720
  ...options
1493
1721
  });
1494
1722
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1495
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1496
1723
  security: [{ scheme: "bearer", type: "http" }],
1497
1724
  url: "/notification_methods/{id}/set_primary",
1498
1725
  ...options,
@@ -1502,13 +1729,11 @@ var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? cli
1502
1729
  }
1503
1730
  });
1504
1731
  var getBucketsByIdObjects = (options) => (options.client ?? client).get({
1505
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1506
1732
  security: [{ scheme: "bearer", type: "http" }],
1507
1733
  url: "/buckets/{id}/objects",
1508
1734
  ...options
1509
1735
  });
1510
1736
  var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
1511
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1512
1737
  security: [{ scheme: "bearer", type: "http" }],
1513
1738
  url: "/invitations/{id}/resend",
1514
1739
  ...options,
@@ -1518,18 +1743,11 @@ var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
1518
1743
  }
1519
1744
  });
1520
1745
  var getSearchSaved = (options) => (options.client ?? client).get({
1521
- querySerializer: {
1522
- parameters: {
1523
- filter: { object: { style: "form" } },
1524
- fields: { object: { style: "form" } }
1525
- }
1526
- },
1527
1746
  security: [{ scheme: "bearer", type: "http" }],
1528
1747
  url: "/search/saved",
1529
1748
  ...options
1530
1749
  });
1531
1750
  var postSearchSaved = (options) => (options.client ?? client).post({
1532
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1533
1751
  security: [{ scheme: "bearer", type: "http" }],
1534
1752
  url: "/search/saved",
1535
1753
  ...options,
@@ -1539,31 +1757,26 @@ var postSearchSaved = (options) => (options.client ?? client).post({
1539
1757
  }
1540
1758
  });
1541
1759
  var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
1542
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1543
1760
  security: [{ scheme: "bearer", type: "http" }],
1544
1761
  url: "/field_templates/{id}",
1545
1762
  ...options
1546
1763
  });
1547
1764
  var getFieldTemplatesById = (options) => (options.client ?? client).get({
1548
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1549
1765
  security: [{ scheme: "bearer", type: "http" }],
1550
1766
  url: "/field_templates/{id}",
1551
1767
  ...options
1552
1768
  });
1553
1769
  var getWorkspacesByWorkspaceIdTrainingAnalytics = (options) => (options.client ?? client).get({
1554
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1555
1770
  security: [{ scheme: "bearer", type: "http" }],
1556
1771
  url: "/workspaces/{workspace_id}/training/analytics",
1557
1772
  ...options
1558
1773
  });
1559
1774
  var getUserProfilesMe = (options) => (options.client ?? client).get({
1560
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1561
1775
  security: [{ scheme: "bearer", type: "http" }],
1562
1776
  url: "/user_profiles/me",
1563
1777
  ...options
1564
1778
  });
1565
1779
  var postInvitationsInvite = (options) => (options.client ?? client).post({
1566
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1567
1780
  security: [{ scheme: "bearer", type: "http" }],
1568
1781
  url: "/invitations/invite",
1569
1782
  ...options,
@@ -1573,18 +1786,11 @@ var postInvitationsInvite = (options) => (options.client ?? client).post({
1573
1786
  }
1574
1787
  });
1575
1788
  var getAgentVersions = (options) => (options.client ?? client).get({
1576
- querySerializer: {
1577
- parameters: {
1578
- filter: { object: { style: "form" } },
1579
- fields: { object: { style: "form" } }
1580
- }
1581
- },
1582
1789
  security: [{ scheme: "bearer", type: "http" }],
1583
1790
  url: "/agent_versions",
1584
1791
  ...options
1585
1792
  });
1586
1793
  var postAgentVersions = (options) => (options.client ?? client).post({
1587
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1588
1794
  security: [{ scheme: "bearer", type: "http" }],
1589
1795
  url: "/agent_versions",
1590
1796
  ...options,
@@ -1594,19 +1800,16 @@ var postAgentVersions = (options) => (options.client ?? client).post({
1594
1800
  }
1595
1801
  });
1596
1802
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
1597
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1598
1803
  security: [{ scheme: "bearer", type: "http" }],
1599
1804
  url: "/webhook_configs/{id}",
1600
1805
  ...options
1601
1806
  });
1602
1807
  var getWebhookConfigsById = (options) => (options.client ?? client).get({
1603
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1604
1808
  security: [{ scheme: "bearer", type: "http" }],
1605
1809
  url: "/webhook_configs/{id}",
1606
1810
  ...options
1607
1811
  });
1608
1812
  var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
1609
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1610
1813
  security: [{ scheme: "bearer", type: "http" }],
1611
1814
  url: "/webhook_configs/{id}",
1612
1815
  ...options,
@@ -1616,7 +1819,6 @@ var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
1616
1819
  }
1617
1820
  });
1618
1821
  var postInvitationsAcceptByToken = (options) => (options.client ?? client).post({
1619
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1620
1822
  security: [{ scheme: "bearer", type: "http" }],
1621
1823
  url: "/invitations/accept_by_token",
1622
1824
  ...options,
@@ -1626,13 +1828,11 @@ var postInvitationsAcceptByToken = (options) => (options.client ?? client).post(
1626
1828
  }
1627
1829
  });
1628
1830
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
1629
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1630
1831
  security: [{ scheme: "bearer", type: "http" }],
1631
1832
  url: "/extraction/batches/{id}/upload-urls",
1632
1833
  ...options
1633
1834
  });
1634
1835
  var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
1635
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1636
1836
  security: [{ scheme: "bearer", type: "http" }],
1637
1837
  url: "/documents/bulk_delete",
1638
1838
  ...options,
@@ -1642,13 +1842,11 @@ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
1642
1842
  }
1643
1843
  });
1644
1844
  var getAgentVersionsById = (options) => (options.client ?? client).get({
1645
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1646
1845
  security: [{ scheme: "bearer", type: "http" }],
1647
1846
  url: "/agent_versions/{id}",
1648
1847
  ...options
1649
1848
  });
1650
1849
  var postAiChunksSearch = (options) => (options.client ?? client).post({
1651
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1652
1850
  security: [{ scheme: "bearer", type: "http" }],
1653
1851
  url: "/ai/chunks/search",
1654
1852
  ...options,
@@ -1658,7 +1856,6 @@ var postAiChunksSearch = (options) => (options.client ?? client).post({
1658
1856
  }
1659
1857
  });
1660
1858
  var postThreadsByIdMessages = (options) => (options.client ?? client).post({
1661
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1662
1859
  security: [{ scheme: "bearer", type: "http" }],
1663
1860
  url: "/threads/{id}/messages",
1664
1861
  ...options,
@@ -1668,7 +1865,6 @@ var postThreadsByIdMessages = (options) => (options.client ?? client).post({
1668
1865
  }
1669
1866
  });
1670
1867
  var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
1671
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1672
1868
  security: [{ scheme: "bearer", type: "http" }],
1673
1869
  url: "/agents/clone_for_workspace",
1674
1870
  ...options,
@@ -1678,7 +1874,6 @@ var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
1678
1874
  }
1679
1875
  });
1680
1876
  var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
1681
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1682
1877
  security: [{ scheme: "bearer", type: "http" }],
1683
1878
  url: "/invitations/{id}/accept",
1684
1879
  ...options,
@@ -1688,25 +1883,21 @@ var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
1688
1883
  }
1689
1884
  });
1690
1885
  var getCreditPackagesById = (options) => (options.client ?? client).get({
1691
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1692
1886
  security: [{ scheme: "bearer", type: "http" }],
1693
1887
  url: "/credit-packages/{id}",
1694
1888
  ...options
1695
1889
  });
1696
1890
  var getUsersById = (options) => (options.client ?? client).get({
1697
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1698
1891
  security: [{ scheme: "bearer", type: "http" }],
1699
1892
  url: "/users/{id}",
1700
1893
  ...options
1701
1894
  });
1702
1895
  var getExtractionResultsById = (options) => (options.client ?? client).get({
1703
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1704
1896
  security: [{ scheme: "bearer", type: "http" }],
1705
1897
  url: "/extraction/results/{id}",
1706
1898
  ...options
1707
1899
  });
1708
1900
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
1709
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1710
1901
  security: [{ scheme: "bearer", type: "http" }],
1711
1902
  url: "/agents/{id}/validate",
1712
1903
  ...options,
@@ -1716,7 +1907,6 @@ var postAgentsByIdValidate = (options) => (options.client ?? client).post({
1716
1907
  }
1717
1908
  });
1718
1909
  var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
1719
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1720
1910
  security: [{ scheme: "bearer", type: "http" }],
1721
1911
  url: "/webhook_configs/{id}/test",
1722
1912
  ...options,
@@ -1726,13 +1916,11 @@ var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
1726
1916
  }
1727
1917
  });
1728
1918
  var getUsersMe = (options) => (options.client ?? client).get({
1729
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1730
1919
  security: [{ scheme: "bearer", type: "http" }],
1731
1920
  url: "/users/me",
1732
1921
  ...options
1733
1922
  });
1734
1923
  var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
1735
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1736
1924
  security: [{ scheme: "bearer", type: "http" }],
1737
1925
  url: "/users/auth/register_with_oidc",
1738
1926
  ...options,
@@ -1742,7 +1930,6 @@ var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post
1742
1930
  }
1743
1931
  });
1744
1932
  var postTenantsByIdCredit = (options) => (options.client ?? client).post({
1745
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1746
1933
  security: [{ scheme: "bearer", type: "http" }],
1747
1934
  url: "/tenants/{id}/credit",
1748
1935
  ...options,
@@ -1752,25 +1939,16 @@ var postTenantsByIdCredit = (options) => (options.client ?? client).post({
1752
1939
  }
1753
1940
  });
1754
1941
  var getTransactionsById = (options) => (options.client ?? client).get({
1755
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1756
1942
  security: [{ scheme: "bearer", type: "http" }],
1757
1943
  url: "/transactions/{id}",
1758
1944
  ...options
1759
1945
  });
1760
1946
  var getTenantMemberships = (options) => (options.client ?? client).get({
1761
- querySerializer: {
1762
- parameters: {
1763
- filter: { object: { style: "form" } },
1764
- page: { object: { style: "form" } },
1765
- fields: { object: { style: "form" } }
1766
- }
1767
- },
1768
1947
  security: [{ scheme: "bearer", type: "http" }],
1769
1948
  url: "/tenant-memberships",
1770
1949
  ...options
1771
1950
  });
1772
1951
  var postTenantMemberships = (options) => (options.client ?? client).post({
1773
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1774
1952
  security: [{ scheme: "bearer", type: "http" }],
1775
1953
  url: "/tenant-memberships",
1776
1954
  ...options,
@@ -1789,7 +1967,6 @@ var postTrainingExamplesBulkDelete = (options) => (options.client ?? client).pos
1789
1967
  }
1790
1968
  });
1791
1969
  var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client).patch({
1792
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1793
1970
  security: [{ scheme: "bearer", type: "http" }],
1794
1971
  url: "/extraction/documents/{id}/include",
1795
1972
  ...options,
@@ -1799,25 +1976,21 @@ var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client
1799
1976
  }
1800
1977
  });
1801
1978
  var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
1802
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1803
1979
  security: [{ scheme: "bearer", type: "http" }],
1804
1980
  url: "/llm_analytics/summary",
1805
1981
  ...options
1806
1982
  });
1807
1983
  var deleteExtractionSchemaFieldsById = (options) => (options.client ?? client).delete({
1808
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1809
1984
  security: [{ scheme: "bearer", type: "http" }],
1810
1985
  url: "/extraction/schema-fields/{id}",
1811
1986
  ...options
1812
1987
  });
1813
1988
  var getExtractionSchemaFieldsById = (options) => (options.client ?? client).get({
1814
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1815
1989
  security: [{ scheme: "bearer", type: "http" }],
1816
1990
  url: "/extraction/schema-fields/{id}",
1817
1991
  ...options
1818
1992
  });
1819
1993
  var patchExtractionSchemaFieldsById = (options) => (options.client ?? client).patch({
1820
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1821
1994
  security: [{ scheme: "bearer", type: "http" }],
1822
1995
  url: "/extraction/schema-fields/{id}",
1823
1996
  ...options,
@@ -1827,7 +2000,6 @@ var patchExtractionSchemaFieldsById = (options) => (options.client ?? client).pa
1827
2000
  }
1828
2001
  });
1829
2002
  var postStorageSignDownload = (options) => (options.client ?? client).post({
1830
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1831
2003
  security: [{ scheme: "bearer", type: "http" }],
1832
2004
  url: "/storage/sign_download",
1833
2005
  ...options,
@@ -1837,31 +2009,26 @@ var postStorageSignDownload = (options) => (options.client ?? client).post({
1837
2009
  }
1838
2010
  });
1839
2011
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
1840
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1841
2012
  security: [{ scheme: "bearer", type: "http" }],
1842
2013
  url: "/training_sessions/{id}",
1843
2014
  ...options
1844
2015
  });
1845
2016
  var getTrainingSessionsById = (options) => (options.client ?? client).get({
1846
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1847
2017
  security: [{ scheme: "bearer", type: "http" }],
1848
2018
  url: "/training_sessions/{id}",
1849
2019
  ...options
1850
2020
  });
1851
2021
  var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
1852
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1853
2022
  security: [{ scheme: "bearer", type: "http" }],
1854
2023
  url: "/notification_methods/{id}",
1855
2024
  ...options
1856
2025
  });
1857
2026
  var getNotificationMethodsById = (options) => (options.client ?? client).get({
1858
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1859
2027
  security: [{ scheme: "bearer", type: "http" }],
1860
2028
  url: "/notification_methods/{id}",
1861
2029
  ...options
1862
2030
  });
1863
2031
  var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
1864
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1865
2032
  security: [{ scheme: "bearer", type: "http" }],
1866
2033
  url: "/notification_methods/{id}",
1867
2034
  ...options,
@@ -1871,64 +2038,31 @@ var patchNotificationMethodsById = (options) => (options.client ?? client).patch
1871
2038
  }
1872
2039
  });
1873
2040
  var getWebhookDeliveries = (options) => (options.client ?? client).get({
1874
- querySerializer: {
1875
- parameters: {
1876
- filter: { object: { style: "form" } },
1877
- page: { object: { style: "form" } },
1878
- fields: { object: { style: "form" } }
1879
- }
1880
- },
1881
2041
  security: [{ scheme: "bearer", type: "http" }],
1882
2042
  url: "/webhook_deliveries",
1883
2043
  ...options
1884
2044
  });
1885
2045
  var getSearch = (options) => (options.client ?? client).get({
1886
- querySerializer: {
1887
- parameters: {
1888
- filter: { object: { style: "form" } },
1889
- fields: { object: { style: "form" } }
1890
- }
1891
- },
1892
2046
  security: [{ scheme: "bearer", type: "http" }],
1893
2047
  url: "/search",
1894
2048
  ...options
1895
2049
  });
1896
2050
  var getInvitations = (options) => (options.client ?? client).get({
1897
- querySerializer: {
1898
- parameters: {
1899
- filter: { object: { style: "form" } },
1900
- fields: { object: { style: "form" } }
1901
- }
1902
- },
1903
2051
  security: [{ scheme: "bearer", type: "http" }],
1904
2052
  url: "/invitations",
1905
2053
  ...options
1906
2054
  });
1907
2055
  var getSearchSemantic = (options) => (options.client ?? client).get({
1908
- querySerializer: {
1909
- parameters: {
1910
- filter: { object: { style: "form" } },
1911
- fields: { object: { style: "form" } }
1912
- }
1913
- },
1914
2056
  security: [{ scheme: "bearer", type: "http" }],
1915
2057
  url: "/search/semantic",
1916
2058
  ...options
1917
2059
  });
1918
2060
  var getMessages = (options) => (options.client ?? client).get({
1919
- querySerializer: {
1920
- parameters: {
1921
- filter: { object: { style: "form" } },
1922
- page: { object: { style: "form" } },
1923
- fields: { object: { style: "form" } }
1924
- }
1925
- },
1926
2061
  security: [{ scheme: "bearer", type: "http" }],
1927
2062
  url: "/messages",
1928
2063
  ...options
1929
2064
  });
1930
2065
  var postMessages = (options) => (options.client ?? client).post({
1931
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1932
2066
  security: [{ scheme: "bearer", type: "http" }],
1933
2067
  url: "/messages",
1934
2068
  ...options,
@@ -1938,19 +2072,11 @@ var postMessages = (options) => (options.client ?? client).post({
1938
2072
  }
1939
2073
  });
1940
2074
  var getNotificationPreferences = (options) => (options.client ?? client).get({
1941
- querySerializer: {
1942
- parameters: {
1943
- filter: { object: { style: "form" } },
1944
- page: { object: { style: "form" } },
1945
- fields: { object: { style: "form" } }
1946
- }
1947
- },
1948
2075
  security: [{ scheme: "bearer", type: "http" }],
1949
2076
  url: "/notification_preferences",
1950
2077
  ...options
1951
2078
  });
1952
2079
  var postNotificationPreferences = (options) => (options.client ?? client).post({
1953
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1954
2080
  security: [{ scheme: "bearer", type: "http" }],
1955
2081
  url: "/notification_preferences",
1956
2082
  ...options,
@@ -1960,19 +2086,11 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
1960
2086
  }
1961
2087
  });
1962
2088
  var getApplications = (options) => (options.client ?? client).get({
1963
- querySerializer: {
1964
- parameters: {
1965
- filter: { object: { style: "form" } },
1966
- page: { object: { style: "form" } },
1967
- fields: { object: { style: "form" } }
1968
- }
1969
- },
1970
2089
  security: [{ scheme: "bearer", type: "http" }],
1971
2090
  url: "/applications",
1972
2091
  ...options
1973
2092
  });
1974
2093
  var postApplications = (options) => (options.client ?? client).post({
1975
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1976
2094
  security: [{ scheme: "bearer", type: "http" }],
1977
2095
  url: "/applications",
1978
2096
  ...options,
@@ -1991,19 +2109,16 @@ var postAgentsPredict = (options) => (options.client ?? client).post({
1991
2109
  }
1992
2110
  });
1993
2111
  var deleteThreadsById = (options) => (options.client ?? client).delete({
1994
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1995
2112
  security: [{ scheme: "bearer", type: "http" }],
1996
2113
  url: "/threads/{id}",
1997
2114
  ...options
1998
2115
  });
1999
2116
  var getThreadsById = (options) => (options.client ?? client).get({
2000
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2001
2117
  security: [{ scheme: "bearer", type: "http" }],
2002
2118
  url: "/threads/{id}",
2003
2119
  ...options
2004
2120
  });
2005
2121
  var patchThreadsById = (options) => (options.client ?? client).patch({
2006
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2007
2122
  security: [{ scheme: "bearer", type: "http" }],
2008
2123
  url: "/threads/{id}",
2009
2124
  ...options,
@@ -2013,19 +2128,11 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
2013
2128
  }
2014
2129
  });
2015
2130
  var getLlmAnalytics = (options) => (options.client ?? client).get({
2016
- querySerializer: {
2017
- parameters: {
2018
- filter: { object: { style: "form" } },
2019
- page: { object: { style: "form" } },
2020
- fields: { object: { style: "form" } }
2021
- }
2022
- },
2023
2131
  security: [{ scheme: "bearer", type: "http" }],
2024
2132
  url: "/llm_analytics",
2025
2133
  ...options
2026
2134
  });
2027
2135
  var postLlmAnalytics = (options) => (options.client ?? client).post({
2028
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2029
2136
  security: [{ scheme: "bearer", type: "http" }],
2030
2137
  url: "/llm_analytics",
2031
2138
  ...options,
@@ -2035,7 +2142,6 @@ var postLlmAnalytics = (options) => (options.client ?? client).post({
2035
2142
  }
2036
2143
  });
2037
2144
  var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch({
2038
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2039
2145
  security: [{ scheme: "bearer", type: "http" }],
2040
2146
  url: "/users/{id}/reset-password",
2041
2147
  ...options,
@@ -2045,7 +2151,6 @@ var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch(
2045
2151
  }
2046
2152
  });
2047
2153
  var postDocumentsPresignedUpload = (options) => (options.client ?? client).post({
2048
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2049
2154
  security: [{ scheme: "bearer", type: "http" }],
2050
2155
  url: "/documents/presigned_upload",
2051
2156
  ...options,
@@ -2055,13 +2160,11 @@ var postDocumentsPresignedUpload = (options) => (options.client ?? client).post(
2055
2160
  }
2056
2161
  });
2057
2162
  var getMessagesSearch = (options) => (options.client ?? client).get({
2058
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2059
2163
  security: [{ scheme: "bearer", type: "http" }],
2060
2164
  url: "/messages/search",
2061
2165
  ...options
2062
2166
  });
2063
2167
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2064
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2065
2168
  security: [{ scheme: "bearer", type: "http" }],
2066
2169
  url: "/agents/{id}/teach",
2067
2170
  ...options,
@@ -2071,19 +2174,11 @@ var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2071
2174
  }
2072
2175
  });
2073
2176
  var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (options.client ?? client).get({
2074
- querySerializer: {
2075
- parameters: {
2076
- filter: { object: { style: "form" } },
2077
- page: { object: { style: "form" } },
2078
- fields: { object: { style: "form" } }
2079
- }
2080
- },
2081
2177
  security: [{ scheme: "bearer", type: "http" }],
2082
2178
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2083
2179
  ...options
2084
2180
  });
2085
2181
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
2086
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2087
2182
  security: [{ scheme: "bearer", type: "http" }],
2088
2183
  url: "/extraction/documents/upload",
2089
2184
  ...options,
@@ -2093,7 +2188,6 @@ var postExtractionDocumentsUpload = (options) => (options.client ?? client).post
2093
2188
  }
2094
2189
  });
2095
2190
  var patchExtractionResultsByIdCorrections = (options) => (options.client ?? client).patch({
2096
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2097
2191
  security: [{ scheme: "bearer", type: "http" }],
2098
2192
  url: "/extraction/results/{id}/corrections",
2099
2193
  ...options,
@@ -2103,25 +2197,21 @@ var patchExtractionResultsByIdCorrections = (options) => (options.client ?? clie
2103
2197
  }
2104
2198
  });
2105
2199
  var getExtractionResultsDocumentByDocumentId = (options) => (options.client ?? client).get({
2106
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2107
2200
  security: [{ scheme: "bearer", type: "http" }],
2108
2201
  url: "/extraction/results/document/{document_id}",
2109
2202
  ...options
2110
2203
  });
2111
2204
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
2112
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2113
2205
  security: [{ scheme: "bearer", type: "http" }],
2114
2206
  url: "/workspaces/{id}",
2115
2207
  ...options
2116
2208
  });
2117
2209
  var getWorkspacesById = (options) => (options.client ?? client).get({
2118
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2119
2210
  security: [{ scheme: "bearer", type: "http" }],
2120
2211
  url: "/workspaces/{id}",
2121
2212
  ...options
2122
2213
  });
2123
2214
  var patchWorkspacesById = (options) => (options.client ?? client).patch({
2124
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2125
2215
  security: [{ scheme: "bearer", type: "http" }],
2126
2216
  url: "/workspaces/{id}",
2127
2217
  ...options,
@@ -2131,19 +2221,11 @@ var patchWorkspacesById = (options) => (options.client ?? client).patch({
2131
2221
  }
2132
2222
  });
2133
2223
  var getTenants = (options) => (options.client ?? client).get({
2134
- querySerializer: {
2135
- parameters: {
2136
- filter: { object: { style: "form" } },
2137
- page: { object: { style: "form" } },
2138
- fields: { object: { style: "form" } }
2139
- }
2140
- },
2141
2224
  security: [{ scheme: "bearer", type: "http" }],
2142
2225
  url: "/tenants",
2143
2226
  ...options
2144
2227
  });
2145
2228
  var postTenants = (options) => (options.client ?? client).post({
2146
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2147
2229
  security: [{ scheme: "bearer", type: "http" }],
2148
2230
  url: "/tenants",
2149
2231
  ...options,
@@ -2153,7 +2235,6 @@ var postTenants = (options) => (options.client ?? client).post({
2153
2235
  }
2154
2236
  });
2155
2237
  var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post({
2156
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2157
2238
  security: [{ scheme: "bearer", type: "http" }],
2158
2239
  url: "/tenants/{id}/remove-storage",
2159
2240
  ...options,
@@ -2163,49 +2244,31 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
2163
2244
  }
2164
2245
  });
2165
2246
  var getNotificationLogsById = (options) => (options.client ?? client).get({
2166
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2167
2247
  security: [{ scheme: "bearer", type: "http" }],
2168
2248
  url: "/notification_logs/{id}",
2169
2249
  ...options
2170
2250
  });
2171
2251
  var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get({
2172
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2173
2252
  security: [{ scheme: "bearer", type: "http" }],
2174
2253
  url: "/extraction/documents/{id}/view",
2175
2254
  ...options
2176
2255
  });
2177
2256
  var getWebhookDeliveriesById = (options) => (options.client ?? client).get({
2178
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2179
2257
  security: [{ scheme: "bearer", type: "http" }],
2180
2258
  url: "/webhook_deliveries/{id}",
2181
2259
  ...options
2182
2260
  });
2183
2261
  var getAuditLogs = (options) => (options.client ?? client).get({
2184
- querySerializer: {
2185
- parameters: {
2186
- filter: { object: { style: "form" } },
2187
- page: { object: { style: "form" } },
2188
- fields: { object: { style: "form" } }
2189
- }
2190
- },
2191
2262
  security: [{ scheme: "bearer", type: "http" }],
2192
2263
  url: "/audit-logs",
2193
2264
  ...options
2194
2265
  });
2195
2266
  var getAiGraphEdges = (options) => (options.client ?? client).get({
2196
- querySerializer: {
2197
- parameters: {
2198
- filter: { object: { style: "form" } },
2199
- page: { object: { style: "form" } },
2200
- fields: { object: { style: "form" } }
2201
- }
2202
- },
2203
2267
  security: [{ scheme: "bearer", type: "http" }],
2204
2268
  url: "/ai/graph/edges",
2205
2269
  ...options
2206
2270
  });
2207
2271
  var postAiGraphEdges = (options) => (options.client ?? client).post({
2208
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2209
2272
  security: [{ scheme: "bearer", type: "http" }],
2210
2273
  url: "/ai/graph/edges",
2211
2274
  ...options,
@@ -2215,19 +2278,11 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
2215
2278
  }
2216
2279
  });
2217
2280
  var getTrainingExamples = (options) => (options.client ?? client).get({
2218
- querySerializer: {
2219
- parameters: {
2220
- filter: { object: { style: "form" } },
2221
- page: { object: { style: "form" } },
2222
- fields: { object: { style: "form" } }
2223
- }
2224
- },
2225
2281
  security: [{ scheme: "bearer", type: "http" }],
2226
2282
  url: "/training_examples",
2227
2283
  ...options
2228
2284
  });
2229
2285
  var postTrainingExamples = (options) => (options.client ?? client).post({
2230
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2231
2286
  security: [{ scheme: "bearer", type: "http" }],
2232
2287
  url: "/training_examples",
2233
2288
  ...options,
@@ -2237,7 +2292,6 @@ var postTrainingExamples = (options) => (options.client ?? client).post({
2237
2292
  }
2238
2293
  });
2239
2294
  var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.client ?? client).get({
2240
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2241
2295
  security: [{ scheme: "bearer", type: "http" }],
2242
2296
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
2243
2297
  ...options
@@ -2248,19 +2302,11 @@ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
2248
2302
  ...options
2249
2303
  });
2250
2304
  var getBuckets = (options) => (options.client ?? client).get({
2251
- querySerializer: {
2252
- parameters: {
2253
- filter: { object: { style: "form" } },
2254
- page: { object: { style: "form" } },
2255
- fields: { object: { style: "form" } }
2256
- }
2257
- },
2258
2305
  security: [{ scheme: "bearer", type: "http" }],
2259
2306
  url: "/buckets",
2260
2307
  ...options
2261
2308
  });
2262
2309
  var postBuckets = (options) => (options.client ?? client).post({
2263
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2264
2310
  security: [{ scheme: "bearer", type: "http" }],
2265
2311
  url: "/buckets",
2266
2312
  ...options,
@@ -2270,19 +2316,16 @@ var postBuckets = (options) => (options.client ?? client).post({
2270
2316
  }
2271
2317
  });
2272
2318
  var getPlansById = (options) => (options.client ?? client).get({
2273
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2274
2319
  security: [{ scheme: "bearer", type: "http" }],
2275
2320
  url: "/plans/{id}",
2276
2321
  ...options
2277
2322
  });
2278
2323
  var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
2279
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2280
2324
  security: [{ scheme: "bearer", type: "http" }],
2281
2325
  url: "/tenants/{tenant_id}/stats",
2282
2326
  ...options
2283
2327
  });
2284
2328
  var patchWalletAddons = (options) => (options.client ?? client).patch({
2285
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2286
2329
  security: [{ scheme: "bearer", type: "http" }],
2287
2330
  url: "/wallet/addons",
2288
2331
  ...options,
@@ -2292,7 +2335,6 @@ var patchWalletAddons = (options) => (options.client ?? client).patch({
2292
2335
  }
2293
2336
  });
2294
2337
  var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
2295
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2296
2338
  security: [{ scheme: "bearer", type: "http" }],
2297
2339
  url: "/users/auth/magic_link/login",
2298
2340
  ...options,
@@ -2302,19 +2344,11 @@ var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
2302
2344
  }
2303
2345
  });
2304
2346
  var getApiKeys = (options) => (options.client ?? client).get({
2305
- querySerializer: {
2306
- parameters: {
2307
- filter: { object: { style: "form" } },
2308
- page: { object: { style: "form" } },
2309
- fields: { object: { style: "form" } }
2310
- }
2311
- },
2312
2347
  security: [{ scheme: "bearer", type: "http" }],
2313
2348
  url: "/api_keys",
2314
2349
  ...options
2315
2350
  });
2316
2351
  var postApiKeys = (options) => (options.client ?? client).post({
2317
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2318
2352
  security: [{ scheme: "bearer", type: "http" }],
2319
2353
  url: "/api_keys",
2320
2354
  ...options,
@@ -2324,7 +2358,6 @@ var postApiKeys = (options) => (options.client ?? client).post({
2324
2358
  }
2325
2359
  });
2326
2360
  var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
2327
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2328
2361
  security: [{ scheme: "bearer", type: "http" }],
2329
2362
  url: "/users/{id}/admin",
2330
2363
  ...options,
@@ -2334,19 +2367,16 @@ var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
2334
2367
  }
2335
2368
  });
2336
2369
  var deleteAgentsById = (options) => (options.client ?? client).delete({
2337
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2338
2370
  security: [{ scheme: "bearer", type: "http" }],
2339
2371
  url: "/agents/{id}",
2340
2372
  ...options
2341
2373
  });
2342
2374
  var getAgentsById = (options) => (options.client ?? client).get({
2343
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2344
2375
  security: [{ scheme: "bearer", type: "http" }],
2345
2376
  url: "/agents/{id}",
2346
2377
  ...options
2347
2378
  });
2348
2379
  var patchAgentsById = (options) => (options.client ?? client).patch({
2349
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2350
2380
  security: [{ scheme: "bearer", type: "http" }],
2351
2381
  url: "/agents/{id}",
2352
2382
  ...options,
@@ -2356,19 +2386,16 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
2356
2386
  }
2357
2387
  });
2358
2388
  var deleteApiKeysById = (options) => (options.client ?? client).delete({
2359
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2360
2389
  security: [{ scheme: "bearer", type: "http" }],
2361
2390
  url: "/api_keys/{id}",
2362
2391
  ...options
2363
2392
  });
2364
2393
  var getApiKeysById = (options) => (options.client ?? client).get({
2365
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2366
2394
  security: [{ scheme: "bearer", type: "http" }],
2367
2395
  url: "/api_keys/{id}",
2368
2396
  ...options
2369
2397
  });
2370
2398
  var patchApiKeysById = (options) => (options.client ?? client).patch({
2371
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2372
2399
  security: [{ scheme: "bearer", type: "http" }],
2373
2400
  url: "/api_keys/{id}",
2374
2401
  ...options,
@@ -2387,19 +2414,11 @@ var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
2387
2414
  }
2388
2415
  });
2389
2416
  var getAiConversations = (options) => (options.client ?? client).get({
2390
- querySerializer: {
2391
- parameters: {
2392
- filter: { object: { style: "form" } },
2393
- page: { object: { style: "form" } },
2394
- fields: { object: { style: "form" } }
2395
- }
2396
- },
2397
2417
  security: [{ scheme: "bearer", type: "http" }],
2398
2418
  url: "/ai/conversations",
2399
2419
  ...options
2400
2420
  });
2401
2421
  var postAiConversations = (options) => (options.client ?? client).post({
2402
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2403
2422
  security: [{ scheme: "bearer", type: "http" }],
2404
2423
  url: "/ai/conversations",
2405
2424
  ...options,
@@ -2409,7 +2428,6 @@ var postAiConversations = (options) => (options.client ?? client).post({
2409
2428
  }
2410
2429
  });
2411
2430
  var postAiSearch = (options) => (options.client ?? client).post({
2412
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2413
2431
  security: [{ scheme: "bearer", type: "http" }],
2414
2432
  url: "/ai/search",
2415
2433
  ...options,
@@ -2419,13 +2437,11 @@ var postAiSearch = (options) => (options.client ?? client).post({
2419
2437
  }
2420
2438
  });
2421
2439
  var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
2422
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2423
2440
  security: [{ scheme: "bearer", type: "http" }],
2424
2441
  url: "/ai/graph/nodes/{id}",
2425
2442
  ...options
2426
2443
  });
2427
2444
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
2428
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2429
2445
  security: [{ scheme: "bearer", type: "http" }],
2430
2446
  url: "/wallet/addons/{addon_slug}/cancel",
2431
2447
  ...options,
@@ -2435,19 +2451,16 @@ var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client)
2435
2451
  }
2436
2452
  });
2437
2453
  var deleteApplicationsById = (options) => (options.client ?? client).delete({
2438
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2439
2454
  security: [{ scheme: "bearer", type: "http" }],
2440
2455
  url: "/applications/{id}",
2441
2456
  ...options
2442
2457
  });
2443
2458
  var getApplicationsById = (options) => (options.client ?? client).get({
2444
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2445
2459
  security: [{ scheme: "bearer", type: "http" }],
2446
2460
  url: "/applications/{id}",
2447
2461
  ...options
2448
2462
  });
2449
2463
  var patchApplicationsById = (options) => (options.client ?? client).patch({
2450
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2451
2464
  security: [{ scheme: "bearer", type: "http" }],
2452
2465
  url: "/applications/{id}",
2453
2466
  ...options,
@@ -2457,41 +2470,21 @@ var patchApplicationsById = (options) => (options.client ?? client).patch({
2457
2470
  }
2458
2471
  });
2459
2472
  var getSearchHealth = (options) => (options.client ?? client).get({
2460
- querySerializer: {
2461
- parameters: {
2462
- filter: { object: { style: "form" } },
2463
- fields: { object: { style: "form" } }
2464
- }
2465
- },
2466
2473
  security: [{ scheme: "bearer", type: "http" }],
2467
2474
  url: "/search/health",
2468
2475
  ...options
2469
2476
  });
2470
2477
  var getTransactions = (options) => (options.client ?? client).get({
2471
- querySerializer: {
2472
- parameters: {
2473
- filter: { object: { style: "form" } },
2474
- fields: { object: { style: "form" } }
2475
- }
2476
- },
2477
2478
  security: [{ scheme: "bearer", type: "http" }],
2478
2479
  url: "/transactions",
2479
2480
  ...options
2480
2481
  });
2481
2482
  var getUserProfiles = (options) => (options.client ?? client).get({
2482
- querySerializer: {
2483
- parameters: {
2484
- filter: { object: { style: "form" } },
2485
- page: { object: { style: "form" } },
2486
- fields: { object: { style: "form" } }
2487
- }
2488
- },
2489
2483
  security: [{ scheme: "bearer", type: "http" }],
2490
2484
  url: "/user_profiles",
2491
2485
  ...options
2492
2486
  });
2493
2487
  var postUserProfiles = (options) => (options.client ?? client).post({
2494
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2495
2488
  security: [{ scheme: "bearer", type: "http" }],
2496
2489
  url: "/user_profiles",
2497
2490
  ...options,
@@ -2501,7 +2494,6 @@ var postUserProfiles = (options) => (options.client ?? client).post({
2501
2494
  }
2502
2495
  });
2503
2496
  var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
2504
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2505
2497
  security: [{ scheme: "bearer", type: "http" }],
2506
2498
  url: "/users/{id}/confirm-email",
2507
2499
  ...options,
@@ -2511,13 +2503,11 @@ var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
2511
2503
  }
2512
2504
  });
2513
2505
  var getThreadsSearch = (options) => (options.client ?? client).get({
2514
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2515
2506
  security: [{ scheme: "bearer", type: "http" }],
2516
2507
  url: "/threads/search",
2517
2508
  ...options
2518
2509
  });
2519
2510
  var patchWalletPlan = (options) => (options.client ?? client).patch({
2520
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2521
2511
  security: [{ scheme: "bearer", type: "http" }],
2522
2512
  url: "/wallet/plan",
2523
2513
  ...options,
@@ -2527,13 +2517,11 @@ var patchWalletPlan = (options) => (options.client ?? client).patch({
2527
2517
  }
2528
2518
  });
2529
2519
  var getPlansSlugBySlug = (options) => (options.client ?? client).get({
2530
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2531
2520
  security: [{ scheme: "bearer", type: "http" }],
2532
2521
  url: "/plans/slug/{slug}",
2533
2522
  ...options
2534
2523
  });
2535
2524
  var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
2536
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2537
2525
  security: [{ scheme: "bearer", type: "http" }],
2538
2526
  url: "/extraction/documents/{id}/restore",
2539
2527
  ...options,
@@ -2543,25 +2531,16 @@ var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client
2543
2531
  }
2544
2532
  });
2545
2533
  var getLlmAnalyticsById = (options) => (options.client ?? client).get({
2546
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2547
2534
  security: [{ scheme: "bearer", type: "http" }],
2548
2535
  url: "/llm_analytics/{id}",
2549
2536
  ...options
2550
2537
  });
2551
2538
  var getExtractionSchemaFields = (options) => (options.client ?? client).get({
2552
- querySerializer: {
2553
- parameters: {
2554
- filter: { object: { style: "form" } },
2555
- page: { object: { style: "form" } },
2556
- fields: { object: { style: "form" } }
2557
- }
2558
- },
2559
2539
  security: [{ scheme: "bearer", type: "http" }],
2560
2540
  url: "/extraction/schema-fields",
2561
2541
  ...options
2562
2542
  });
2563
2543
  var postExtractionSchemaFields = (options) => (options.client ?? client).post({
2564
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2565
2544
  security: [{ scheme: "bearer", type: "http" }],
2566
2545
  url: "/extraction/schema-fields",
2567
2546
  ...options,
@@ -2570,8 +2549,16 @@ var postExtractionSchemaFields = (options) => (options.client ?? client).post({
2570
2549
  ...options.headers
2571
2550
  }
2572
2551
  });
2552
+ var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? client).patch({
2553
+ security: [{ scheme: "bearer", type: "http" }],
2554
+ url: "/extraction/documents/{id}/mark_trained",
2555
+ ...options,
2556
+ headers: {
2557
+ "Content-Type": "application/vnd.api+json",
2558
+ ...options.headers
2559
+ }
2560
+ });
2573
2561
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
2574
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2575
2562
  security: [{ scheme: "bearer", type: "http" }],
2576
2563
  url: "/applications/{id}/grant-credits",
2577
2564
  ...options,
@@ -2581,29 +2568,16 @@ var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).
2581
2568
  }
2582
2569
  });
2583
2570
  var getSearchStatus = (options) => (options.client ?? client).get({
2584
- querySerializer: {
2585
- parameters: {
2586
- filter: { object: { style: "form" } },
2587
- fields: { object: { style: "form" } }
2588
- }
2589
- },
2590
2571
  security: [{ scheme: "bearer", type: "http" }],
2591
2572
  url: "/search/status",
2592
2573
  ...options
2593
2574
  });
2594
2575
  var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
2595
- querySerializer: {
2596
- parameters: {
2597
- filter: { object: { style: "form" } },
2598
- fields: { object: { style: "form" } }
2599
- }
2600
- },
2601
2576
  security: [{ scheme: "bearer", type: "http" }],
2602
2577
  url: "/tenants/{tenant_id}/workspace_stats",
2603
2578
  ...options
2604
2579
  });
2605
2580
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
2606
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2607
2581
  security: [{ scheme: "bearer", type: "http" }],
2608
2582
  url: "/api_keys/{id}/allocate",
2609
2583
  ...options,
@@ -2613,7 +2587,6 @@ var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
2613
2587
  }
2614
2588
  });
2615
2589
  var postUsersAuthLogin = (options) => (options.client ?? client).post({
2616
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2617
2590
  security: [{ scheme: "bearer", type: "http" }],
2618
2591
  url: "/users/auth/login",
2619
2592
  ...options,
@@ -2623,7 +2596,6 @@ var postUsersAuthLogin = (options) => (options.client ?? client).post({
2623
2596
  }
2624
2597
  });
2625
2598
  var postAiEmbed = (options) => (options.client ?? client).post({
2626
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2627
2599
  security: [{ scheme: "bearer", type: "http" }],
2628
2600
  url: "/ai/embed",
2629
2601
  ...options,
@@ -2633,18 +2605,11 @@ var postAiEmbed = (options) => (options.client ?? client).post({
2633
2605
  }
2634
2606
  });
2635
2607
  var getWorkspacesMine = (options) => (options.client ?? client).get({
2636
- querySerializer: {
2637
- parameters: {
2638
- filter: { object: { style: "form" } },
2639
- fields: { object: { style: "form" } }
2640
- }
2641
- },
2642
2608
  security: [{ scheme: "bearer", type: "http" }],
2643
2609
  url: "/workspaces/mine",
2644
2610
  ...options
2645
2611
  });
2646
2612
  var postTenantsIsv = (options) => (options.client ?? client).post({
2647
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2648
2613
  security: [{ scheme: "bearer", type: "http" }],
2649
2614
  url: "/tenants/isv",
2650
2615
  ...options,
@@ -2654,7 +2619,6 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
2654
2619
  }
2655
2620
  });
2656
2621
  var postSearchReindex = (options) => (options.client ?? client).post({
2657
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2658
2622
  security: [{ scheme: "bearer", type: "http" }],
2659
2623
  url: "/search/reindex",
2660
2624
  ...options,
@@ -2664,7 +2628,6 @@ var postSearchReindex = (options) => (options.client ?? client).post({
2664
2628
  }
2665
2629
  });
2666
2630
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
2667
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2668
2631
  security: [{ scheme: "bearer", type: "http" }],
2669
2632
  url: "/extraction/results/{id}/regenerate",
2670
2633
  ...options,
@@ -2674,7 +2637,6 @@ var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? clien
2674
2637
  }
2675
2638
  });
2676
2639
  var postUsersAuthConfirm = (options) => (options.client ?? client).post({
2677
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2678
2640
  security: [{ scheme: "bearer", type: "http" }],
2679
2641
  url: "/users/auth/confirm",
2680
2642
  ...options,
@@ -2684,19 +2646,11 @@ var postUsersAuthConfirm = (options) => (options.client ?? client).post({
2684
2646
  }
2685
2647
  });
2686
2648
  var getExtractionSchemas = (options) => (options.client ?? client).get({
2687
- querySerializer: {
2688
- parameters: {
2689
- filter: { object: { style: "form" } },
2690
- page: { object: { style: "form" } },
2691
- fields: { object: { style: "form" } }
2692
- }
2693
- },
2694
2649
  security: [{ scheme: "bearer", type: "http" }],
2695
2650
  url: "/extraction/schemas",
2696
2651
  ...options
2697
2652
  });
2698
2653
  var postExtractionSchemas = (options) => (options.client ?? client).post({
2699
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2700
2654
  security: [{ scheme: "bearer", type: "http" }],
2701
2655
  url: "/extraction/schemas",
2702
2656
  ...options,
@@ -2706,18 +2660,11 @@ var postExtractionSchemas = (options) => (options.client ?? client).post({
2706
2660
  }
2707
2661
  });
2708
2662
  var getStorageStats = (options) => (options.client ?? client).get({
2709
- querySerializer: {
2710
- parameters: {
2711
- filter: { object: { style: "form" } },
2712
- fields: { object: { style: "form" } }
2713
- }
2714
- },
2715
2663
  security: [{ scheme: "bearer", type: "http" }],
2716
2664
  url: "/storage/stats",
2717
2665
  ...options
2718
2666
  });
2719
2667
  var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
2720
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2721
2668
  security: [{ scheme: "bearer", type: "http" }],
2722
2669
  url: "/tenants/{id}/buy-storage",
2723
2670
  ...options,
@@ -2727,19 +2674,11 @@ var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
2727
2674
  }
2728
2675
  });
2729
2676
  var getWorkspaceMemberships = (options) => (options.client ?? client).get({
2730
- querySerializer: {
2731
- parameters: {
2732
- filter: { object: { style: "form" } },
2733
- page: { object: { style: "form" } },
2734
- fields: { object: { style: "form" } }
2735
- }
2736
- },
2737
2677
  security: [{ scheme: "bearer", type: "http" }],
2738
2678
  url: "/workspace-memberships",
2739
2679
  ...options
2740
2680
  });
2741
2681
  var postWorkspaceMemberships = (options) => (options.client ?? client).post({
2742
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2743
2682
  security: [{ scheme: "bearer", type: "http" }],
2744
2683
  url: "/workspace-memberships",
2745
2684
  ...options,
@@ -2749,13 +2688,11 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
2749
2688
  }
2750
2689
  });
2751
2690
  var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
2752
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2753
2691
  security: [{ scheme: "bearer", type: "http" }],
2754
2692
  url: "/tenants/{tenant_id}/document_stats",
2755
2693
  ...options
2756
2694
  });
2757
2695
  var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
2758
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2759
2696
  security: [{ scheme: "bearer", type: "http" }],
2760
2697
  url: "/users/auth/magic_link/request",
2761
2698
  ...options,
@@ -2765,7 +2702,6 @@ var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post
2765
2702
  }
2766
2703
  });
2767
2704
  var postUsersAuthRegister = (options) => (options.client ?? client).post({
2768
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2769
2705
  security: [{ scheme: "bearer", type: "http" }],
2770
2706
  url: "/users/auth/register",
2771
2707
  ...options,
@@ -2784,19 +2720,16 @@ var postTrainingExamplesBulk = (options) => (options.client ?? client).post({
2784
2720
  }
2785
2721
  });
2786
2722
  var deleteBucketsById = (options) => (options.client ?? client).delete({
2787
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2788
2723
  security: [{ scheme: "bearer", type: "http" }],
2789
2724
  url: "/buckets/{id}",
2790
2725
  ...options
2791
2726
  });
2792
2727
  var getBucketsById = (options) => (options.client ?? client).get({
2793
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2794
2728
  security: [{ scheme: "bearer", type: "http" }],
2795
2729
  url: "/buckets/{id}",
2796
2730
  ...options
2797
2731
  });
2798
2732
  var patchBucketsById = (options) => (options.client ?? client).patch({
2799
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2800
2733
  security: [{ scheme: "bearer", type: "http" }],
2801
2734
  url: "/buckets/{id}",
2802
2735
  ...options,
@@ -2806,18 +2739,11 @@ var patchBucketsById = (options) => (options.client ?? client).patch({
2806
2739
  }
2807
2740
  });
2808
2741
  var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2809
- querySerializer: {
2810
- parameters: {
2811
- filter: { object: { style: "form" } },
2812
- fields: { object: { style: "form" } }
2813
- }
2814
- },
2815
2742
  security: [{ scheme: "bearer", type: "http" }],
2816
2743
  url: "/extraction/documents/workspace/{workspace_id}",
2817
2744
  ...options
2818
2745
  });
2819
2746
  var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
2820
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2821
2747
  security: [{ scheme: "bearer", type: "http" }],
2822
2748
  url: "/extraction/documents/begin_upload",
2823
2749
  ...options,
@@ -2827,25 +2753,21 @@ var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client)
2827
2753
  }
2828
2754
  });
2829
2755
  var deleteAiGraphEdgesById = (options) => (options.client ?? client).delete({
2830
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2831
2756
  security: [{ scheme: "bearer", type: "http" }],
2832
2757
  url: "/ai/graph/edges/{id}",
2833
2758
  ...options
2834
2759
  });
2835
2760
  var deleteTenantsById = (options) => (options.client ?? client).delete({
2836
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2837
2761
  security: [{ scheme: "bearer", type: "http" }],
2838
2762
  url: "/tenants/{id}",
2839
2763
  ...options
2840
2764
  });
2841
2765
  var getTenantsById = (options) => (options.client ?? client).get({
2842
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2843
2766
  security: [{ scheme: "bearer", type: "http" }],
2844
2767
  url: "/tenants/{id}",
2845
2768
  ...options
2846
2769
  });
2847
2770
  var patchTenantsById = (options) => (options.client ?? client).patch({
2848
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2849
2771
  security: [{ scheme: "bearer", type: "http" }],
2850
2772
  url: "/tenants/{id}",
2851
2773
  ...options,
@@ -2855,19 +2777,11 @@ var patchTenantsById = (options) => (options.client ?? client).patch({
2855
2777
  }
2856
2778
  });
2857
2779
  var getPlans = (options) => (options.client ?? client).get({
2858
- querySerializer: {
2859
- parameters: {
2860
- filter: { object: { style: "form" } },
2861
- page: { object: { style: "form" } },
2862
- fields: { object: { style: "form" } }
2863
- }
2864
- },
2865
2780
  security: [{ scheme: "bearer", type: "http" }],
2866
2781
  url: "/plans",
2867
2782
  ...options
2868
2783
  });
2869
2784
  var patchExtractionSchemasByIdFields = (options) => (options.client ?? client).patch({
2870
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2871
2785
  security: [{ scheme: "bearer", type: "http" }],
2872
2786
  url: "/extraction/schemas/{id}/fields",
2873
2787
  ...options,
@@ -2877,13 +2791,11 @@ var patchExtractionSchemasByIdFields = (options) => (options.client ?? client).p
2877
2791
  }
2878
2792
  });
2879
2793
  var getExtractionSchemasById = (options) => (options.client ?? client).get({
2880
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2881
2794
  security: [{ scheme: "bearer", type: "http" }],
2882
2795
  url: "/extraction/schemas/{id}",
2883
2796
  ...options
2884
2797
  });
2885
2798
  var patchExtractionSchemasById = (options) => (options.client ?? client).patch({
2886
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2887
2799
  security: [{ scheme: "bearer", type: "http" }],
2888
2800
  url: "/extraction/schemas/{id}",
2889
2801
  ...options,
@@ -2893,7 +2805,6 @@ var patchExtractionSchemasById = (options) => (options.client ?? client).patch({
2893
2805
  }
2894
2806
  });
2895
2807
  var postAgentsByIdTest = (options) => (options.client ?? client).post({
2896
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2897
2808
  security: [{ scheme: "bearer", type: "http" }],
2898
2809
  url: "/agents/{id}/test",
2899
2810
  ...options,
@@ -2903,24 +2814,16 @@ var postAgentsByIdTest = (options) => (options.client ?? client).post({
2903
2814
  }
2904
2815
  });
2905
2816
  var getExtractionDocuments = (options) => (options.client ?? client).get({
2906
- querySerializer: {
2907
- parameters: {
2908
- filter: { object: { style: "form" } },
2909
- fields: { object: { style: "form" } }
2910
- }
2911
- },
2912
2817
  security: [{ scheme: "bearer", type: "http" }],
2913
2818
  url: "/extraction/documents",
2914
2819
  ...options
2915
2820
  });
2916
2821
  var deleteTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).delete({
2917
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2918
2822
  security: [{ scheme: "bearer", type: "http" }],
2919
2823
  url: "/tenant-memberships/{tenant_id}/{user_id}",
2920
2824
  ...options
2921
2825
  });
2922
2826
  var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).patch({
2923
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2924
2827
  security: [{ scheme: "bearer", type: "http" }],
2925
2828
  url: "/tenant-memberships/{tenant_id}/{user_id}",
2926
2829
  ...options,
@@ -2930,7 +2833,6 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
2930
2833
  }
2931
2834
  });
2932
2835
  var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
2933
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2934
2836
  security: [{ scheme: "bearer", type: "http" }],
2935
2837
  url: "/webhook_configs/{id}/rotate_secret",
2936
2838
  ...options,
@@ -2940,18 +2842,11 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
2940
2842
  }
2941
2843
  });
2942
2844
  var getFieldTemplates = (options) => (options.client ?? client).get({
2943
- querySerializer: {
2944
- parameters: {
2945
- filter: { object: { style: "form" } },
2946
- fields: { object: { style: "form" } }
2947
- }
2948
- },
2949
2845
  security: [{ scheme: "bearer", type: "http" }],
2950
2846
  url: "/field_templates",
2951
2847
  ...options
2952
2848
  });
2953
2849
  var postFieldTemplates = (options) => (options.client ?? client).post({
2954
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2955
2850
  security: [{ scheme: "bearer", type: "http" }],
2956
2851
  url: "/field_templates",
2957
2852
  ...options,
@@ -2961,19 +2856,11 @@ var postFieldTemplates = (options) => (options.client ?? client).post({
2961
2856
  }
2962
2857
  });
2963
2858
  var getAiMessages = (options) => (options.client ?? client).get({
2964
- querySerializer: {
2965
- parameters: {
2966
- filter: { object: { style: "form" } },
2967
- page: { object: { style: "form" } },
2968
- fields: { object: { style: "form" } }
2969
- }
2970
- },
2971
2859
  security: [{ scheme: "bearer", type: "http" }],
2972
2860
  url: "/ai/messages",
2973
2861
  ...options
2974
2862
  });
2975
2863
  var postAiMessages = (options) => (options.client ?? client).post({
2976
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2977
2864
  security: [{ scheme: "bearer", type: "http" }],
2978
2865
  url: "/ai/messages",
2979
2866
  ...options,
@@ -2983,7 +2870,6 @@ var postAiMessages = (options) => (options.client ?? client).post({
2983
2870
  }
2984
2871
  });
2985
2872
  var postStorageSignUpload = (options) => (options.client ?? client).post({
2986
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2987
2873
  security: [{ scheme: "bearer", type: "http" }],
2988
2874
  url: "/storage/sign_upload",
2989
2875
  ...options,
@@ -2993,7 +2879,6 @@ var postStorageSignUpload = (options) => (options.client ?? client).post({
2993
2879
  }
2994
2880
  });
2995
2881
  var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
2996
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2997
2882
  security: [{ scheme: "bearer", type: "http" }],
2998
2883
  url: "/webhook_deliveries/{id}/retry",
2999
2884
  ...options,
@@ -3003,19 +2888,11 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
3003
2888
  }
3004
2889
  });
3005
2890
  var getNotificationMethods = (options) => (options.client ?? client).get({
3006
- querySerializer: {
3007
- parameters: {
3008
- filter: { object: { style: "form" } },
3009
- page: { object: { style: "form" } },
3010
- fields: { object: { style: "form" } }
3011
- }
3012
- },
3013
2891
  security: [{ scheme: "bearer", type: "http" }],
3014
2892
  url: "/notification_methods",
3015
2893
  ...options
3016
2894
  });
3017
2895
  var postNotificationMethods = (options) => (options.client ?? client).post({
3018
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3019
2896
  security: [{ scheme: "bearer", type: "http" }],
3020
2897
  url: "/notification_methods",
3021
2898
  ...options,
@@ -3025,7 +2902,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
3025
2902
  }
3026
2903
  });
3027
2904
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3028
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3029
2905
  security: [{ scheme: "bearer", type: "http" }],
3030
2906
  url: "/threads/{id}/summarize",
3031
2907
  ...options,
@@ -3035,7 +2911,6 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3035
2911
  }
3036
2912
  });
3037
2913
  var patchConfigsByKey = (options) => (options.client ?? client).patch({
3038
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3039
2914
  security: [{ scheme: "bearer", type: "http" }],
3040
2915
  url: "/configs/{key}",
3041
2916
  ...options,
@@ -3045,7 +2920,6 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
3045
2920
  }
3046
2921
  });
3047
2922
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
3048
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3049
2923
  security: [{ scheme: "bearer", type: "http" }],
3050
2924
  url: "/api_keys/{id}/rotate",
3051
2925
  ...options,
@@ -3055,7 +2929,6 @@ var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
3055
2929
  }
3056
2930
  });
3057
2931
  var postExtractionResults = (options) => (options.client ?? client).post({
3058
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3059
2932
  security: [{ scheme: "bearer", type: "http" }],
3060
2933
  url: "/extraction/results",
3061
2934
  ...options,
@@ -3065,7 +2938,6 @@ var postExtractionResults = (options) => (options.client ?? client).post({
3065
2938
  }
3066
2939
  });
3067
2940
  var postAgentsByIdClone = (options) => (options.client ?? client).post({
3068
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3069
2941
  security: [{ scheme: "bearer", type: "http" }],
3070
2942
  url: "/agents/{id}/clone",
3071
2943
  ...options,
@@ -3075,19 +2947,16 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
3075
2947
  }
3076
2948
  });
3077
2949
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
3078
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3079
2950
  security: [{ scheme: "bearer", type: "http" }],
3080
2951
  url: "/ai/conversations/{id}",
3081
2952
  ...options
3082
2953
  });
3083
2954
  var getAiConversationsById = (options) => (options.client ?? client).get({
3084
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3085
2955
  security: [{ scheme: "bearer", type: "http" }],
3086
2956
  url: "/ai/conversations/{id}",
3087
2957
  ...options
3088
2958
  });
3089
2959
  var postExtractionSchemasBulkCreate = (options) => (options.client ?? client).post({
3090
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3091
2960
  security: [{ scheme: "bearer", type: "http" }],
3092
2961
  url: "/extraction/schemas/bulk_create",
3093
2962
  ...options,
@@ -3097,19 +2966,16 @@ var postExtractionSchemasBulkCreate = (options) => (options.client ?? client).po
3097
2966
  }
3098
2967
  });
3099
2968
  var deleteUserProfilesById = (options) => (options.client ?? client).delete({
3100
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3101
2969
  security: [{ scheme: "bearer", type: "http" }],
3102
2970
  url: "/user_profiles/{id}",
3103
2971
  ...options
3104
2972
  });
3105
2973
  var getUserProfilesById = (options) => (options.client ?? client).get({
3106
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3107
2974
  security: [{ scheme: "bearer", type: "http" }],
3108
2975
  url: "/user_profiles/{id}",
3109
2976
  ...options
3110
2977
  });
3111
2978
  var patchUserProfilesById = (options) => (options.client ?? client).patch({
3112
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3113
2979
  security: [{ scheme: "bearer", type: "http" }],
3114
2980
  url: "/user_profiles/{id}",
3115
2981
  ...options,
@@ -3119,43 +2985,26 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3119
2985
  }
3120
2986
  });
3121
2987
  var deleteObjectsById = (options) => (options.client ?? client).delete({
3122
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3123
2988
  security: [{ scheme: "bearer", type: "http" }],
3124
2989
  url: "/objects/{id}",
3125
2990
  ...options
3126
2991
  });
3127
2992
  var getObjectsById = (options) => (options.client ?? client).get({
3128
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3129
2993
  security: [{ scheme: "bearer", type: "http" }],
3130
2994
  url: "/objects/{id}",
3131
2995
  ...options
3132
2996
  });
3133
2997
  var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
3134
- querySerializer: {
3135
- parameters: {
3136
- filter: { object: { style: "form" } },
3137
- page: { object: { style: "form" } },
3138
- fields: { object: { style: "form" } }
3139
- }
3140
- },
3141
2998
  security: [{ scheme: "bearer", type: "http" }],
3142
2999
  url: "/extraction/documents/workspace/{workspace_id}/excluded",
3143
3000
  ...options
3144
3001
  });
3145
3002
  var getWebhookConfigs = (options) => (options.client ?? client).get({
3146
- querySerializer: {
3147
- parameters: {
3148
- filter: { object: { style: "form" } },
3149
- page: { object: { style: "form" } },
3150
- fields: { object: { style: "form" } }
3151
- }
3152
- },
3153
3003
  security: [{ scheme: "bearer", type: "http" }],
3154
3004
  url: "/webhook_configs",
3155
3005
  ...options
3156
3006
  });
3157
3007
  var postWebhookConfigs = (options) => (options.client ?? client).post({
3158
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3159
3008
  security: [{ scheme: "bearer", type: "http" }],
3160
3009
  url: "/webhook_configs",
3161
3010
  ...options,
@@ -3165,7 +3014,6 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
3165
3014
  }
3166
3015
  });
3167
3016
  var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
3168
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3169
3017
  security: [{ scheme: "bearer", type: "http" }],
3170
3018
  url: "/agents/{id}/publish_version",
3171
3019
  ...options,
@@ -3175,7 +3023,6 @@ var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post(
3175
3023
  }
3176
3024
  });
3177
3025
  var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
3178
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3179
3026
  security: [{ scheme: "bearer", type: "http" }],
3180
3027
  url: "/objects/bulk-destroy",
3181
3028
  ...options,
@@ -3185,30 +3032,21 @@ var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
3185
3032
  }
3186
3033
  });
3187
3034
  var getApplicationsBySlugBySlug = (options) => (options.client ?? client).get({
3188
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3189
3035
  security: [{ scheme: "bearer", type: "http" }],
3190
3036
  url: "/applications/by-slug/{slug}",
3191
3037
  ...options
3192
3038
  });
3193
3039
  var getNotificationLogs = (options) => (options.client ?? client).get({
3194
- querySerializer: {
3195
- parameters: {
3196
- filter: { object: { style: "form" } },
3197
- fields: { object: { style: "form" } }
3198
- }
3199
- },
3200
3040
  security: [{ scheme: "bearer", type: "http" }],
3201
3041
  url: "/notification_logs",
3202
3042
  ...options
3203
3043
  });
3204
3044
  var getWallet = (options) => (options.client ?? client).get({
3205
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3206
3045
  security: [{ scheme: "bearer", type: "http" }],
3207
3046
  url: "/wallet",
3208
3047
  ...options
3209
3048
  });
3210
3049
  var patchExtractionSchemasByIdActivate = (options) => (options.client ?? client).patch({
3211
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3212
3050
  security: [{ scheme: "bearer", type: "http" }],
3213
3051
  url: "/extraction/schemas/{id}/activate",
3214
3052
  ...options,
@@ -3218,19 +3056,16 @@ var patchExtractionSchemasByIdActivate = (options) => (options.client ?? client)
3218
3056
  }
3219
3057
  });
3220
3058
  var deleteMessagesById = (options) => (options.client ?? client).delete({
3221
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3222
3059
  security: [{ scheme: "bearer", type: "http" }],
3223
3060
  url: "/messages/{id}",
3224
3061
  ...options
3225
3062
  });
3226
3063
  var getMessagesById = (options) => (options.client ?? client).get({
3227
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3228
3064
  security: [{ scheme: "bearer", type: "http" }],
3229
3065
  url: "/messages/{id}",
3230
3066
  ...options
3231
3067
  });
3232
3068
  var patchMessagesById = (options) => (options.client ?? client).patch({
3233
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3234
3069
  security: [{ scheme: "bearer", type: "http" }],
3235
3070
  url: "/messages/{id}",
3236
3071
  ...options,
@@ -3240,36 +3075,26 @@ var patchMessagesById = (options) => (options.client ?? client).patch({
3240
3075
  }
3241
3076
  });
3242
3077
  var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
3243
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3244
3078
  security: [{ scheme: "bearer", type: "http" }],
3245
3079
  url: "/llm_analytics/usage",
3246
3080
  ...options
3247
3081
  });
3248
3082
  var getSearchStats = (options) => (options.client ?? client).get({
3249
- querySerializer: {
3250
- parameters: {
3251
- filter: { object: { style: "form" } },
3252
- fields: { object: { style: "form" } }
3253
- }
3254
- },
3255
3083
  security: [{ scheme: "bearer", type: "http" }],
3256
3084
  url: "/search/stats",
3257
3085
  ...options
3258
3086
  });
3259
3087
  var deleteNotificationPreferencesById = (options) => (options.client ?? client).delete({
3260
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3261
3088
  security: [{ scheme: "bearer", type: "http" }],
3262
3089
  url: "/notification_preferences/{id}",
3263
3090
  ...options
3264
3091
  });
3265
3092
  var getNotificationPreferencesById = (options) => (options.client ?? client).get({
3266
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3267
3093
  security: [{ scheme: "bearer", type: "http" }],
3268
3094
  url: "/notification_preferences/{id}",
3269
3095
  ...options
3270
3096
  });
3271
3097
  var patchNotificationPreferencesById = (options) => (options.client ?? client).patch({
3272
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3273
3098
  security: [{ scheme: "bearer", type: "http" }],
3274
3099
  url: "/notification_preferences/{id}",
3275
3100
  ...options,
@@ -3279,19 +3104,11 @@ var patchNotificationPreferencesById = (options) => (options.client ?? client).p
3279
3104
  }
3280
3105
  });
3281
3106
  var getAiGraphNodes = (options) => (options.client ?? client).get({
3282
- querySerializer: {
3283
- parameters: {
3284
- filter: { object: { style: "form" } },
3285
- page: { object: { style: "form" } },
3286
- fields: { object: { style: "form" } }
3287
- }
3288
- },
3289
3107
  security: [{ scheme: "bearer", type: "http" }],
3290
3108
  url: "/ai/graph/nodes",
3291
3109
  ...options
3292
3110
  });
3293
3111
  var postAiGraphNodes = (options) => (options.client ?? client).post({
3294
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3295
3112
  security: [{ scheme: "bearer", type: "http" }],
3296
3113
  url: "/ai/graph/nodes",
3297
3114
  ...options,
@@ -3301,19 +3118,11 @@ var postAiGraphNodes = (options) => (options.client ?? client).post({
3301
3118
  }
3302
3119
  });
3303
3120
  var getAgents = (options) => (options.client ?? client).get({
3304
- querySerializer: {
3305
- parameters: {
3306
- filter: { object: { style: "form" } },
3307
- page: { object: { style: "form" } },
3308
- fields: { object: { style: "form" } }
3309
- }
3310
- },
3311
3121
  security: [{ scheme: "bearer", type: "http" }],
3312
3122
  url: "/agents",
3313
3123
  ...options
3314
3124
  });
3315
3125
  var postAgents = (options) => (options.client ?? client).post({
3316
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3317
3126
  security: [{ scheme: "bearer", type: "http" }],
3318
3127
  url: "/agents",
3319
3128
  ...options,
@@ -3323,7 +3132,6 @@ var postAgents = (options) => (options.client ?? client).post({
3323
3132
  }
3324
3133
  });
3325
3134
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3326
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3327
3135
  security: [{ scheme: "bearer", type: "http" }],
3328
3136
  url: "/users/register_isv",
3329
3137
  ...options,
@@ -3333,25 +3141,16 @@ var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3333
3141
  }
3334
3142
  });
3335
3143
  var getExtractionBatchesById = (options) => (options.client ?? client).get({
3336
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3337
3144
  security: [{ scheme: "bearer", type: "http" }],
3338
3145
  url: "/extraction/batches/{id}",
3339
3146
  ...options
3340
3147
  });
3341
3148
  var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
3342
- querySerializer: {
3343
- parameters: {
3344
- filter: { object: { style: "form" } },
3345
- page: { object: { style: "form" } },
3346
- fields: { object: { style: "form" } }
3347
- }
3348
- },
3349
3149
  security: [{ scheme: "bearer", type: "http" }],
3350
3150
  url: "/workspaces/{workspace_id}/extraction/exports",
3351
3151
  ...options
3352
3152
  });
3353
3153
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
3354
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3355
3154
  security: [{ scheme: "bearer", type: "http" }],
3356
3155
  url: "/workspaces/{workspace_id}/extraction/exports",
3357
3156
  ...options,
@@ -3361,13 +3160,11 @@ var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client
3361
3160
  }
3362
3161
  });
3363
3162
  var deleteWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).delete({
3364
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3365
3163
  security: [{ scheme: "bearer", type: "http" }],
3366
3164
  url: "/workspace-memberships/{workspace_id}/{user_id}",
3367
3165
  ...options
3368
3166
  });
3369
3167
  var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).patch({
3370
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3371
3168
  security: [{ scheme: "bearer", type: "http" }],
3372
3169
  url: "/workspace-memberships/{workspace_id}/{user_id}",
3373
3170
  ...options,
@@ -3377,37 +3174,16 @@ var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.clien
3377
3174
  }
3378
3175
  });
3379
3176
  var getCreditPackages = (options) => (options.client ?? client).get({
3380
- querySerializer: {
3381
- parameters: {
3382
- filter: { object: { style: "form" } },
3383
- page: { object: { style: "form" } },
3384
- fields: { object: { style: "form" } }
3385
- }
3386
- },
3387
3177
  security: [{ scheme: "bearer", type: "http" }],
3388
3178
  url: "/credit-packages",
3389
3179
  ...options
3390
3180
  });
3391
3181
  var getUsers = (options) => (options.client ?? client).get({
3392
- querySerializer: {
3393
- parameters: {
3394
- filter: { object: { style: "form" } },
3395
- page: { object: { style: "form" } },
3396
- fields: { object: { style: "form" } }
3397
- }
3398
- },
3399
3182
  security: [{ scheme: "bearer", type: "http" }],
3400
3183
  url: "/users",
3401
3184
  ...options
3402
3185
  });
3403
3186
  var getObjects = (options) => (options.client ?? client).get({
3404
- querySerializer: {
3405
- parameters: {
3406
- filter: { object: { style: "form" } },
3407
- page: { object: { style: "form" } },
3408
- fields: { object: { style: "form" } }
3409
- }
3410
- },
3411
3187
  security: [{ scheme: "bearer", type: "http" }],
3412
3188
  url: "/objects",
3413
3189
  ...options
@@ -3748,6 +3524,13 @@ async function collectStreamedMessage(stream) {
3748
3524
  }
3749
3525
  return fullMessage;
3750
3526
  }
3527
+
3528
+ // src/index.ts
3529
+ var gptCore = {
3530
+ ...sdk_gen_exports,
3531
+ client
3532
+ };
3533
+ var index_default = gptCore;
3751
3534
  // Annotate the CommonJS export names for ESM import in node:
3752
3535
  0 && (module.exports = {
3753
3536
  AgentCreateSchema,
@@ -3839,6 +3622,7 @@ async function collectStreamedMessage(stream) {
3839
3622
  getExtractionDocumentsWorkspaceByWorkspaceId,
3840
3623
  getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
3841
3624
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
3625
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
3842
3626
  getExtractionResultsById,
3843
3627
  getExtractionResultsDocumentByDocumentId,
3844
3628
  getExtractionSchemaFields,
@@ -3925,9 +3709,12 @@ async function collectStreamedMessage(stream) {
3925
3709
  patchApplicationsByIdGrantCredits,
3926
3710
  patchBucketsById,
3927
3711
  patchConfigsByKey,
3712
+ patchExtractionDocumentsByIdDismiss,
3713
+ patchExtractionDocumentsByIdDismissTraining,
3928
3714
  patchExtractionDocumentsByIdExclude,
3929
3715
  patchExtractionDocumentsByIdFinishUpload,
3930
3716
  patchExtractionDocumentsByIdInclude,
3717
+ patchExtractionDocumentsByIdMarkTrained,
3931
3718
  patchExtractionDocumentsByIdRestore,
3932
3719
  patchExtractionDocumentsByIdStatus,
3933
3720
  patchExtractionResultsByIdCorrections,
@@ -4034,6 +3821,7 @@ async function collectStreamedMessage(stream) {
4034
3821
  postWebhookDeliveriesByIdRetry,
4035
3822
  postWorkspaceMemberships,
4036
3823
  postWorkspaces,
3824
+ postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
4037
3825
  postWorkspacesByWorkspaceIdExtractionExports,
4038
3826
  retryWithBackoff,
4039
3827
  sleep,