@gpt-core/client 0.9.22 → 0.9.30

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
@@ -65,11 +65,13 @@ __export(index_exports, {
65
65
  deleteBucketsById: () => deleteBucketsById,
66
66
  deleteExtractionBatchesById: () => deleteExtractionBatchesById,
67
67
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
68
+ deleteExtractionResultsById: () => deleteExtractionResultsById,
68
69
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
69
70
  deleteMessagesById: () => deleteMessagesById,
70
71
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
71
72
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
72
73
  deleteObjectsById: () => deleteObjectsById,
74
+ deletePaymentMethodsById: () => deletePaymentMethodsById,
73
75
  deleteSearchSavedById: () => deleteSearchSavedById,
74
76
  deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
75
77
  deleteTenantsById: () => deleteTenantsById,
@@ -81,11 +83,12 @@ __export(index_exports, {
81
83
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
82
84
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
83
85
  deleteWorkspacesById: () => deleteWorkspacesById,
84
- getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
86
+ getAgentVersionRevisions: () => getAgentVersionRevisions,
85
87
  getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
86
88
  getAgentVersions: () => getAgentVersions,
87
89
  getAgentVersionsById: () => getAgentVersionsById,
88
90
  getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
91
+ getAgentVersionsByIdRevisions: () => getAgentVersionsByIdRevisions,
89
92
  getAgents: () => getAgents,
90
93
  getAgentsById: () => getAgentsById,
91
94
  getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
@@ -126,6 +129,8 @@ __export(index_exports, {
126
129
  getExtractionBatchesById: () => getExtractionBatchesById,
127
130
  getExtractionBatchesByIdUploadUrls: () => getExtractionBatchesByIdUploadUrls,
128
131
  getExtractionBatchesWorkspaceByWorkspaceId: () => getExtractionBatchesWorkspaceByWorkspaceId,
132
+ getExtractionConfigEnums: () => getExtractionConfigEnums,
133
+ getExtractionConfigEnumsById: () => getExtractionConfigEnumsById,
129
134
  getExtractionDocuments: () => getExtractionDocuments,
130
135
  getExtractionDocumentsById: () => getExtractionDocumentsById,
131
136
  getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
@@ -136,6 +141,7 @@ __export(index_exports, {
136
141
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
137
142
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
138
143
  getExtractionDocumentsWorkspaceByWorkspaceIdTrashed: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
144
+ getExtractionResults: () => getExtractionResults,
139
145
  getExtractionResultsById: () => getExtractionResultsById,
140
146
  getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
141
147
  getExtractionResultsWorkspaceByWorkspaceId: () => getExtractionResultsWorkspaceByWorkspaceId,
@@ -165,6 +171,8 @@ __export(index_exports, {
165
171
  getNotificationPreferencesById: () => getNotificationPreferencesById,
166
172
  getObjects: () => getObjects,
167
173
  getObjectsById: () => getObjectsById,
174
+ getPaymentMethods: () => getPaymentMethods,
175
+ getPaymentMethodsById: () => getPaymentMethodsById,
168
176
  getPermissions: () => getPermissions,
169
177
  getPermissionsById: () => getPermissionsById,
170
178
  getPermissionsMeta: () => getPermissionsMeta,
@@ -216,6 +224,7 @@ __export(index_exports, {
216
224
  getUsersMeTenants: () => getUsersMeTenants,
217
225
  getWallet: () => getWallet,
218
226
  getWalletInvoices: () => getWalletInvoices,
227
+ getWalletPlanPreview: () => getWalletPlanPreview,
219
228
  getWatcherClaims: () => getWatcherClaims,
220
229
  getWatcherClaimsById: () => getWatcherClaimsById,
221
230
  getWatcherClaimsHistory: () => getWatcherClaimsHistory,
@@ -259,6 +268,7 @@ __export(index_exports, {
259
268
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
260
269
  patchBucketsById: () => patchBucketsById,
261
270
  patchConfigsByKey: () => patchConfigsByKey,
271
+ patchExtractionConfigEnumsById: () => patchExtractionConfigEnumsById,
262
272
  patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
263
273
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
264
274
  patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
@@ -270,8 +280,9 @@ __export(index_exports, {
270
280
  patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
271
281
  patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
272
282
  patchExtractionDocumentsByIdVerification: () => patchExtractionDocumentsByIdVerification,
273
- patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
283
+ patchExtractionResultsById: () => patchExtractionResultsById,
274
284
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
285
+ patchExtractionResultsByIdSaveCorrections: () => patchExtractionResultsByIdSaveCorrections,
275
286
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
276
287
  patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
277
288
  patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
@@ -283,6 +294,8 @@ __export(index_exports, {
283
294
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
284
295
  patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
285
296
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
297
+ patchPaymentMethodsById: () => patchPaymentMethodsById,
298
+ patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
286
299
  patchSearchSavedById: () => patchSearchSavedById,
287
300
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
288
301
  patchTenantsById: () => patchTenantsById,
@@ -352,11 +365,11 @@ __export(index_exports, {
352
365
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
353
366
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
354
367
  postExtractionBatches: () => postExtractionBatches,
368
+ postExtractionConfigEnums: () => postExtractionConfigEnums,
355
369
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
356
370
  postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
357
371
  postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
358
372
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
359
- postExtractionResults: () => postExtractionResults,
360
373
  postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
361
374
  postFieldTemplates: () => postFieldTemplates,
362
375
  postInvitations: () => postInvitations,
@@ -369,6 +382,8 @@ __export(index_exports, {
369
382
  postObjectsCopy: () => postObjectsCopy,
370
383
  postObjectsMove: () => postObjectsMove,
371
384
  postObjectsRegister: () => postObjectsRegister,
385
+ postPaymentMethods: () => postPaymentMethods,
386
+ postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
372
387
  postPayments: () => postPayments,
373
388
  postSearchBatch: () => postSearchBatch,
374
389
  postSearchReindex: () => postSearchReindex,
@@ -441,11 +456,13 @@ __export(sdk_gen_exports, {
441
456
  deleteBucketsById: () => deleteBucketsById,
442
457
  deleteExtractionBatchesById: () => deleteExtractionBatchesById,
443
458
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
459
+ deleteExtractionResultsById: () => deleteExtractionResultsById,
444
460
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
445
461
  deleteMessagesById: () => deleteMessagesById,
446
462
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
447
463
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
448
464
  deleteObjectsById: () => deleteObjectsById,
465
+ deletePaymentMethodsById: () => deletePaymentMethodsById,
449
466
  deleteSearchSavedById: () => deleteSearchSavedById,
450
467
  deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
451
468
  deleteTenantsById: () => deleteTenantsById,
@@ -457,11 +474,12 @@ __export(sdk_gen_exports, {
457
474
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
458
475
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
459
476
  deleteWorkspacesById: () => deleteWorkspacesById,
460
- getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
477
+ getAgentVersionRevisions: () => getAgentVersionRevisions,
461
478
  getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
462
479
  getAgentVersions: () => getAgentVersions,
463
480
  getAgentVersionsById: () => getAgentVersionsById,
464
481
  getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
482
+ getAgentVersionsByIdRevisions: () => getAgentVersionsByIdRevisions,
465
483
  getAgents: () => getAgents,
466
484
  getAgentsById: () => getAgentsById,
467
485
  getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
@@ -502,6 +520,8 @@ __export(sdk_gen_exports, {
502
520
  getExtractionBatchesById: () => getExtractionBatchesById,
503
521
  getExtractionBatchesByIdUploadUrls: () => getExtractionBatchesByIdUploadUrls,
504
522
  getExtractionBatchesWorkspaceByWorkspaceId: () => getExtractionBatchesWorkspaceByWorkspaceId,
523
+ getExtractionConfigEnums: () => getExtractionConfigEnums,
524
+ getExtractionConfigEnumsById: () => getExtractionConfigEnumsById,
505
525
  getExtractionDocuments: () => getExtractionDocuments,
506
526
  getExtractionDocumentsById: () => getExtractionDocumentsById,
507
527
  getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
@@ -512,6 +532,7 @@ __export(sdk_gen_exports, {
512
532
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
513
533
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
514
534
  getExtractionDocumentsWorkspaceByWorkspaceIdTrashed: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
535
+ getExtractionResults: () => getExtractionResults,
515
536
  getExtractionResultsById: () => getExtractionResultsById,
516
537
  getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
517
538
  getExtractionResultsWorkspaceByWorkspaceId: () => getExtractionResultsWorkspaceByWorkspaceId,
@@ -541,6 +562,8 @@ __export(sdk_gen_exports, {
541
562
  getNotificationPreferencesById: () => getNotificationPreferencesById,
542
563
  getObjects: () => getObjects,
543
564
  getObjectsById: () => getObjectsById,
565
+ getPaymentMethods: () => getPaymentMethods,
566
+ getPaymentMethodsById: () => getPaymentMethodsById,
544
567
  getPermissions: () => getPermissions,
545
568
  getPermissionsById: () => getPermissionsById,
546
569
  getPermissionsMeta: () => getPermissionsMeta,
@@ -592,6 +615,7 @@ __export(sdk_gen_exports, {
592
615
  getUsersMeTenants: () => getUsersMeTenants,
593
616
  getWallet: () => getWallet,
594
617
  getWalletInvoices: () => getWalletInvoices,
618
+ getWalletPlanPreview: () => getWalletPlanPreview,
595
619
  getWatcherClaims: () => getWatcherClaims,
596
620
  getWatcherClaimsById: () => getWatcherClaimsById,
597
621
  getWatcherClaimsHistory: () => getWatcherClaimsHistory,
@@ -631,6 +655,7 @@ __export(sdk_gen_exports, {
631
655
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
632
656
  patchBucketsById: () => patchBucketsById,
633
657
  patchConfigsByKey: () => patchConfigsByKey,
658
+ patchExtractionConfigEnumsById: () => patchExtractionConfigEnumsById,
634
659
  patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
635
660
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
636
661
  patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
@@ -642,8 +667,9 @@ __export(sdk_gen_exports, {
642
667
  patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
643
668
  patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
644
669
  patchExtractionDocumentsByIdVerification: () => patchExtractionDocumentsByIdVerification,
645
- patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
670
+ patchExtractionResultsById: () => patchExtractionResultsById,
646
671
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
672
+ patchExtractionResultsByIdSaveCorrections: () => patchExtractionResultsByIdSaveCorrections,
647
673
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
648
674
  patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
649
675
  patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
@@ -655,6 +681,8 @@ __export(sdk_gen_exports, {
655
681
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
656
682
  patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
657
683
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
684
+ patchPaymentMethodsById: () => patchPaymentMethodsById,
685
+ patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
658
686
  patchSearchSavedById: () => patchSearchSavedById,
659
687
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
660
688
  patchTenantsById: () => patchTenantsById,
@@ -724,11 +752,11 @@ __export(sdk_gen_exports, {
724
752
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
725
753
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
726
754
  postExtractionBatches: () => postExtractionBatches,
755
+ postExtractionConfigEnums: () => postExtractionConfigEnums,
727
756
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
728
757
  postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
729
758
  postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
730
759
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
731
- postExtractionResults: () => postExtractionResults,
732
760
  postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
733
761
  postFieldTemplates: () => postFieldTemplates,
734
762
  postInvitations: () => postInvitations,
@@ -741,6 +769,8 @@ __export(sdk_gen_exports, {
741
769
  postObjectsCopy: () => postObjectsCopy,
742
770
  postObjectsMove: () => postObjectsMove,
743
771
  postObjectsRegister: () => postObjectsRegister,
772
+ postPaymentMethods: () => postPaymentMethods,
773
+ postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
744
774
  postPayments: () => postPayments,
745
775
  postSearchBatch: () => postSearchBatch,
746
776
  postSearchReindex: () => postSearchReindex,
@@ -1613,7 +1643,6 @@ var client = createClient(
1613
1643
 
1614
1644
  // src/_internal/sdk.gen.ts
1615
1645
  var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1616
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1617
1646
  security: [{ scheme: "bearer", type: "http" }],
1618
1647
  url: "/ai/search/advanced",
1619
1648
  ...options,
@@ -1623,31 +1652,21 @@ var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1623
1652
  }
1624
1653
  });
1625
1654
  var deleteExtractionDocumentsById = (options) => (options.client ?? client).delete({
1626
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1627
1655
  security: [{ scheme: "bearer", type: "http" }],
1628
1656
  url: "/extraction/documents/{id}",
1629
1657
  ...options
1630
1658
  });
1631
1659
  var getExtractionDocumentsById = (options) => (options.client ?? client).get({
1632
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1633
1660
  security: [{ scheme: "bearer", type: "http" }],
1634
1661
  url: "/extraction/documents/{id}",
1635
1662
  ...options
1636
1663
  });
1637
1664
  var getThreads = (options) => (options.client ?? client).get({
1638
- querySerializer: {
1639
- parameters: {
1640
- filter: { object: { style: "form" } },
1641
- page: { object: { style: "form" } },
1642
- fields: { object: { style: "form" } }
1643
- }
1644
- },
1645
1665
  security: [{ scheme: "bearer", type: "http" }],
1646
1666
  url: "/threads",
1647
1667
  ...options
1648
1668
  });
1649
1669
  var postThreads = (options) => (options.client ?? client).post({
1650
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1651
1670
  security: [{ scheme: "bearer", type: "http" }],
1652
1671
  url: "/threads",
1653
1672
  ...options,
@@ -1657,7 +1676,6 @@ var postThreads = (options) => (options.client ?? client).post({
1657
1676
  }
1658
1677
  });
1659
1678
  var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client).patch({
1660
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1661
1679
  security: [{ scheme: "bearer", type: "http" }],
1662
1680
  url: "/extraction/documents/{id}/cancel",
1663
1681
  ...options,
@@ -1667,36 +1685,40 @@ var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client)
1667
1685
  }
1668
1686
  });
1669
1687
  var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
1670
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1671
1688
  security: [{ scheme: "bearer", type: "http" }],
1672
1689
  url: "/llm_analytics/costs",
1673
1690
  ...options
1674
1691
  });
1692
+ var getExtractionConfigEnumsById = (options) => (options.client ?? client).get({
1693
+ security: [{ scheme: "bearer", type: "http" }],
1694
+ url: "/extraction/config-enums/{id}",
1695
+ ...options
1696
+ });
1697
+ var patchExtractionConfigEnumsById = (options) => (options.client ?? client).patch({
1698
+ security: [{ scheme: "bearer", type: "http" }],
1699
+ url: "/extraction/config-enums/{id}",
1700
+ ...options,
1701
+ headers: {
1702
+ "Content-Type": "application/vnd.api+json",
1703
+ ...options.headers
1704
+ }
1705
+ });
1675
1706
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
1676
- querySerializer: {
1677
- parameters: {
1678
- filter: { object: { style: "form" } },
1679
- fields: { object: { style: "form" } }
1680
- }
1681
- },
1682
1707
  security: [{ scheme: "bearer", type: "http" }],
1683
1708
  url: "/training_sessions/agents/{agent_id}/sessions",
1684
1709
  ...options
1685
1710
  });
1686
1711
  var getWatcherEventsById = (options) => (options.client ?? client).get({
1687
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1688
1712
  security: [{ scheme: "bearer", type: "http" }],
1689
1713
  url: "/watcher/events/{id}",
1690
1714
  ...options
1691
1715
  });
1692
1716
  var getAiChunksDocumentByDocumentId = (options) => (options.client ?? client).get({
1693
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1694
1717
  security: [{ scheme: "bearer", type: "http" }],
1695
1718
  url: "/ai/chunks/document/{document_id}",
1696
1719
  ...options
1697
1720
  });
1698
1721
  var patchWalletCredits = (options) => (options.client ?? client).patch({
1699
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1700
1722
  security: [{ scheme: "bearer", type: "http" }],
1701
1723
  url: "/wallet/credits",
1702
1724
  ...options,
@@ -1716,18 +1738,11 @@ var getApplicationsCurrent = (options) => (options.client ?? client).get({
1716
1738
  ...options
1717
1739
  });
1718
1740
  var getWorkspaces = (options) => (options.client ?? client).get({
1719
- querySerializer: {
1720
- parameters: {
1721
- filter: { object: { style: "form" } },
1722
- fields: { object: { style: "form" } }
1723
- }
1724
- },
1725
1741
  security: [{ scheme: "bearer", type: "http" }],
1726
1742
  url: "/workspaces",
1727
1743
  ...options
1728
1744
  });
1729
1745
  var postWorkspaces = (options) => (options.client ?? client).post({
1730
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1731
1746
  security: [{ scheme: "bearer", type: "http" }],
1732
1747
  url: "/workspaces",
1733
1748
  ...options,
@@ -1736,19 +1751,31 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1736
1751
  ...options.headers
1737
1752
  }
1738
1753
  });
1754
+ var getPaymentMethods = (options) => (options.client ?? client).get({
1755
+ security: [{ scheme: "bearer", type: "http" }],
1756
+ url: "/payment-methods",
1757
+ ...options
1758
+ });
1759
+ var postPaymentMethods = (options) => (options.client ?? client).post({
1760
+ security: [{ scheme: "bearer", type: "http" }],
1761
+ url: "/payment-methods",
1762
+ ...options,
1763
+ headers: {
1764
+ "Content-Type": "application/vnd.api+json",
1765
+ ...options.headers
1766
+ }
1767
+ });
1739
1768
  var getAgentsByIdStats = (options) => (options.client ?? client).get({
1740
1769
  security: [{ scheme: "bearer", type: "http" }],
1741
1770
  url: "/agents/{id}/stats",
1742
1771
  ...options
1743
1772
  });
1744
1773
  var getDocumentsStats = (options) => (options.client ?? client).get({
1745
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1746
1774
  security: [{ scheme: "bearer", type: "http" }],
1747
1775
  url: "/documents/stats",
1748
1776
  ...options
1749
1777
  });
1750
1778
  var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client).patch({
1751
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1752
1779
  security: [{ scheme: "bearer", type: "http" }],
1753
1780
  url: "/extraction/documents/{id}/dismiss",
1754
1781
  ...options,
@@ -1758,7 +1785,6 @@ var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client
1758
1785
  }
1759
1786
  });
1760
1787
  var postObjectsRegister = (options) => (options.client ?? client).post({
1761
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1762
1788
  security: [{ scheme: "bearer", type: "http" }],
1763
1789
  url: "/objects/register",
1764
1790
  ...options,
@@ -1768,13 +1794,11 @@ var postObjectsRegister = (options) => (options.client ?? client).post({
1768
1794
  }
1769
1795
  });
1770
1796
  var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
1771
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1772
1797
  security: [{ scheme: "bearer", type: "http" }],
1773
1798
  url: "/llm_analytics/workspace",
1774
1799
  ...options
1775
1800
  });
1776
1801
  var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?? client).patch({
1777
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1778
1802
  security: [{ scheme: "bearer", type: "http" }],
1779
1803
  url: "/extraction/documents/{id}/dismiss-training",
1780
1804
  ...options,
@@ -1784,7 +1808,6 @@ var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?
1784
1808
  }
1785
1809
  });
1786
1810
  var postAgentVersionComparisons = (options) => (options.client ?? client).post({
1787
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1788
1811
  security: [{ scheme: "bearer", type: "http" }],
1789
1812
  url: "/agent_version_comparisons",
1790
1813
  ...options,
@@ -1794,12 +1817,6 @@ var postAgentVersionComparisons = (options) => (options.client ?? client).post({
1794
1817
  }
1795
1818
  });
1796
1819
  var getSearchIndexes = (options) => (options.client ?? client).get({
1797
- querySerializer: {
1798
- parameters: {
1799
- filter: { object: { style: "form" } },
1800
- fields: { object: { style: "form" } }
1801
- }
1802
- },
1803
1820
  security: [{ scheme: "bearer", type: "http" }],
1804
1821
  url: "/search/indexes",
1805
1822
  ...options
@@ -1814,13 +1831,11 @@ var postApplicationsByApplicationIdEmailTemplatesBySlugPreview = (options) => (o
1814
1831
  }
1815
1832
  });
1816
1833
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
1817
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1818
1834
  security: [{ scheme: "bearer", type: "http" }],
1819
1835
  url: "/credit-packages/slug/{slug}",
1820
1836
  ...options
1821
1837
  });
1822
1838
  var patchUsersAuthPasswordChange = (options) => (options.client ?? client).patch({
1823
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1824
1839
  security: [{ scheme: "bearer", type: "http" }],
1825
1840
  url: "/users/auth/password/change",
1826
1841
  ...options,
@@ -1830,7 +1845,6 @@ var patchUsersAuthPasswordChange = (options) => (options.client ?? client).patch
1830
1845
  }
1831
1846
  });
1832
1847
  var postExtractionBatches = (options) => (options.client ?? client).post({
1833
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1834
1848
  security: [{ scheme: "bearer", type: "http" }],
1835
1849
  url: "/extraction/batches",
1836
1850
  ...options,
@@ -1840,13 +1854,11 @@ var postExtractionBatches = (options) => (options.client ?? client).post({
1840
1854
  }
1841
1855
  });
1842
1856
  var getLlmAnalyticsPlatform = (options) => (options.client ?? client).get({
1843
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1844
1857
  security: [{ scheme: "bearer", type: "http" }],
1845
1858
  url: "/llm_analytics/platform",
1846
1859
  ...options
1847
1860
  });
1848
1861
  var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client).patch({
1849
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1850
1862
  security: [{ scheme: "bearer", type: "http" }],
1851
1863
  url: "/extraction/documents/{id}/exclude",
1852
1864
  ...options,
@@ -1856,7 +1868,6 @@ var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client
1856
1868
  }
1857
1869
  });
1858
1870
  var postPayments = (options) => (options.client ?? client).post({
1859
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1860
1871
  security: [{ scheme: "bearer", type: "http" }],
1861
1872
  url: "/payments",
1862
1873
  ...options,
@@ -1866,7 +1877,6 @@ var postPayments = (options) => (options.client ?? client).post({
1866
1877
  }
1867
1878
  });
1868
1879
  var postAgentsImport = (options) => (options.client ?? client).post({
1869
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1870
1880
  security: [{ scheme: "bearer", type: "http" }],
1871
1881
  url: "/agents/import",
1872
1882
  ...options,
@@ -1876,12 +1886,6 @@ var postAgentsImport = (options) => (options.client ?? client).post({
1876
1886
  }
1877
1887
  });
1878
1888
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1879
- querySerializer: {
1880
- parameters: {
1881
- filter: { object: { style: "form" } },
1882
- fields: { object: { style: "form" } }
1883
- }
1884
- },
1885
1889
  security: [{ scheme: "bearer", type: "http" }],
1886
1890
  url: "/extraction/batches/workspace/{workspace_id}",
1887
1891
  ...options
@@ -1896,7 +1900,6 @@ var postAgentVersionsByIdRemoveSystemField = (options) => (options.client ?? cli
1896
1900
  }
1897
1901
  });
1898
1902
  var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1899
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1900
1903
  security: [{ scheme: "bearer", type: "http" }],
1901
1904
  url: "/api_keys/{id}/revoke",
1902
1905
  ...options,
@@ -1906,19 +1909,16 @@ var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1906
1909
  }
1907
1910
  });
1908
1911
  var getInvitationsConsumeByToken = (options) => (options.client ?? client).get({
1909
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1910
1912
  security: [{ scheme: "bearer", type: "http" }],
1911
1913
  url: "/invitations/consume/{token}",
1912
1914
  ...options
1913
1915
  });
1914
1916
  var getExtractionDocumentsByIdStatus = (options) => (options.client ?? client).get({
1915
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1916
1917
  security: [{ scheme: "bearer", type: "http" }],
1917
1918
  url: "/extraction/documents/{id}/status",
1918
1919
  ...options
1919
1920
  });
1920
1921
  var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client).patch({
1921
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1922
1922
  security: [{ scheme: "bearer", type: "http" }],
1923
1923
  url: "/extraction/documents/{id}/status",
1924
1924
  ...options,
@@ -1928,7 +1928,6 @@ var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client)
1928
1928
  }
1929
1929
  });
1930
1930
  var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? client).patch({
1931
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1932
1931
  security: [{ scheme: "bearer", type: "http" }],
1933
1932
  url: "/extraction/documents/{id}/finish_upload",
1934
1933
  ...options,
@@ -1943,7 +1942,6 @@ var getUsersMeDashboard = (options) => (options.client ?? client).get({
1943
1942
  ...options
1944
1943
  });
1945
1944
  var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch({
1946
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1947
1945
  security: [{ scheme: "bearer", type: "http" }],
1948
1946
  url: "/workspaces/{id}/allocate",
1949
1947
  ...options,
@@ -1953,7 +1951,6 @@ var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch(
1953
1951
  }
1954
1952
  });
1955
1953
  var postThreadsActive = (options) => (options.client ?? client).post({
1956
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1957
1954
  security: [{ scheme: "bearer", type: "http" }],
1958
1955
  url: "/threads/active",
1959
1956
  ...options,
@@ -1963,7 +1960,6 @@ var postThreadsActive = (options) => (options.client ?? client).post({
1963
1960
  }
1964
1961
  });
1965
1962
  var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1966
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1967
1963
  security: [{ scheme: "bearer", type: "http" }],
1968
1964
  url: "/invitations/{id}/revoke",
1969
1965
  ...options,
@@ -1973,18 +1969,11 @@ var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1973
1969
  }
1974
1970
  });
1975
1971
  var getAiGraphNodesLabelByLabel = (options) => (options.client ?? client).get({
1976
- querySerializer: {
1977
- parameters: {
1978
- filter: { object: { style: "form" } },
1979
- fields: { object: { style: "form" } }
1980
- }
1981
- },
1982
1972
  security: [{ scheme: "bearer", type: "http" }],
1983
1973
  url: "/ai/graph/nodes/label/{label}",
1984
1974
  ...options
1985
1975
  });
1986
1976
  var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options) => (options.client ?? client).post({
1987
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1988
1977
  security: [{ scheme: "bearer", type: "http" }],
1989
1978
  url: "/workspaces/{workspace_id}/extraction/documents/dismiss-all-trained",
1990
1979
  ...options,
@@ -1994,19 +1983,11 @@ var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options)
1994
1983
  }
1995
1984
  });
1996
1985
  var getConfigs = (options) => (options.client ?? client).get({
1997
- querySerializer: {
1998
- parameters: {
1999
- filter: { object: { style: "form" } },
2000
- page: { object: { style: "form" } },
2001
- fields: { object: { style: "form" } }
2002
- }
2003
- },
2004
1986
  security: [{ scheme: "bearer", type: "http" }],
2005
1987
  url: "/configs",
2006
1988
  ...options
2007
1989
  });
2008
1990
  var postConfigs = (options) => (options.client ?? client).post({
2009
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2010
1991
  security: [{ scheme: "bearer", type: "http" }],
2011
1992
  url: "/configs",
2012
1993
  ...options,
@@ -2015,19 +1996,7 @@ var postConfigs = (options) => (options.client ?? client).post({
2015
1996
  ...options.headers
2016
1997
  }
2017
1998
  });
2018
- var getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions = (options) => (options.client ?? client).get({
2019
- querySerializer: {
2020
- parameters: {
2021
- filter: { object: { style: "form" } },
2022
- fields: { object: { style: "form" } }
2023
- }
2024
- },
2025
- security: [{ scheme: "bearer", type: "http" }],
2026
- url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions",
2027
- ...options
2028
- });
2029
1999
  var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
2030
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2031
2000
  security: [{ scheme: "bearer", type: "http" }],
2032
2001
  url: "/wallet/auto-top-up",
2033
2002
  ...options,
@@ -2037,7 +2006,6 @@ var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
2037
2006
  }
2038
2007
  });
2039
2008
  var postTokens = (options) => (options.client ?? client).post({
2040
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2041
2009
  security: [{ scheme: "bearer", type: "http" }],
2042
2010
  url: "/tokens",
2043
2011
  ...options,
@@ -2047,7 +2015,6 @@ var postTokens = (options) => (options.client ?? client).post({
2047
2015
  }
2048
2016
  });
2049
2017
  var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
2050
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2051
2018
  security: [{ scheme: "bearer", type: "http" }],
2052
2019
  url: "/api_keys/{id}/set_budget",
2053
2020
  ...options,
@@ -2057,19 +2024,16 @@ var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
2057
2024
  }
2058
2025
  });
2059
2026
  var deleteTrainingExamplesById = (options) => (options.client ?? client).delete({
2060
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2061
2027
  security: [{ scheme: "bearer", type: "http" }],
2062
2028
  url: "/training_examples/{id}",
2063
2029
  ...options
2064
2030
  });
2065
2031
  var getTrainingExamplesById = (options) => (options.client ?? client).get({
2066
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2067
2032
  security: [{ scheme: "bearer", type: "http" }],
2068
2033
  url: "/training_examples/{id}",
2069
2034
  ...options
2070
2035
  });
2071
2036
  var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
2072
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2073
2037
  security: [{ scheme: "bearer", type: "http" }],
2074
2038
  url: "/training_examples/{id}",
2075
2039
  ...options,
@@ -2079,13 +2043,11 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
2079
2043
  }
2080
2044
  });
2081
2045
  var deleteSearchSavedById = (options) => (options.client ?? client).delete({
2082
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2083
2046
  security: [{ scheme: "bearer", type: "http" }],
2084
2047
  url: "/search/saved/{id}",
2085
2048
  ...options
2086
2049
  });
2087
2050
  var patchSearchSavedById = (options) => (options.client ?? client).patch({
2088
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2089
2051
  security: [{ scheme: "bearer", type: "http" }],
2090
2052
  url: "/search/saved/{id}",
2091
2053
  ...options,
@@ -2095,7 +2057,6 @@ var patchSearchSavedById = (options) => (options.client ?? client).patch({
2095
2057
  }
2096
2058
  });
2097
2059
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
2098
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2099
2060
  security: [{ scheme: "bearer", type: "http" }],
2100
2061
  url: "/users/{id}/admin/email",
2101
2062
  ...options,
@@ -2105,13 +2066,6 @@ var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
2105
2066
  }
2106
2067
  });
2107
2068
  var getExtractionDocumentsWorkspaceByWorkspaceIdTrained = (options) => (options.client ?? client).get({
2108
- querySerializer: {
2109
- parameters: {
2110
- filter: { object: { style: "form" } },
2111
- page: { object: { style: "form" } },
2112
- fields: { object: { style: "form" } }
2113
- }
2114
- },
2115
2069
  security: [{ scheme: "bearer", type: "http" }],
2116
2070
  url: "/extraction/documents/workspace/{workspace_id}/trained",
2117
2071
  ...options
@@ -2131,7 +2085,6 @@ var getWatcherClaimsStatus = (options) => (options.client ?? client).get({
2131
2085
  ...options
2132
2086
  });
2133
2087
  var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch({
2134
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2135
2088
  security: [{ scheme: "bearer", type: "http" }],
2136
2089
  url: "/users/auth/reset-password",
2137
2090
  ...options,
@@ -2141,25 +2094,16 @@ var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch(
2141
2094
  }
2142
2095
  });
2143
2096
  var getBucketsByIdStats = (options) => (options.client ?? client).get({
2144
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2145
2097
  security: [{ scheme: "bearer", type: "http" }],
2146
2098
  url: "/buckets/{id}/stats",
2147
2099
  ...options
2148
2100
  });
2149
2101
  var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
2150
- querySerializer: {
2151
- parameters: {
2152
- filter: { object: { style: "form" } },
2153
- page: { object: { style: "form" } },
2154
- fields: { object: { style: "form" } }
2155
- }
2156
- },
2157
2102
  security: [{ scheme: "bearer", type: "http" }],
2158
2103
  url: "/applications/{application_id}/email-templates",
2159
2104
  ...options
2160
2105
  });
2161
2106
  var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
2162
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2163
2107
  security: [{ scheme: "bearer", type: "http" }],
2164
2108
  url: "/applications/{application_id}/email-templates",
2165
2109
  ...options,
@@ -2174,7 +2118,6 @@ var getAgentsUsage = (options) => (options.client ?? client).get({
2174
2118
  ...options
2175
2119
  });
2176
2120
  var patchWorkspacesByIdPopulateHashes = (options) => (options.client ?? client).patch({
2177
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2178
2121
  security: [{ scheme: "bearer", type: "http" }],
2179
2122
  url: "/workspaces/{id}/populate-hashes",
2180
2123
  ...options,
@@ -2184,7 +2127,6 @@ var patchWorkspacesByIdPopulateHashes = (options) => (options.client ?? client).
2184
2127
  }
2185
2128
  });
2186
2129
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
2187
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2188
2130
  security: [{ scheme: "bearer", type: "http" }],
2189
2131
  url: "/notification_methods/{id}/set_primary",
2190
2132
  ...options,
@@ -2194,13 +2136,11 @@ var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? cli
2194
2136
  }
2195
2137
  });
2196
2138
  var getBucketsByIdObjects = (options) => (options.client ?? client).get({
2197
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2198
2139
  security: [{ scheme: "bearer", type: "http" }],
2199
2140
  url: "/buckets/{id}/objects",
2200
2141
  ...options
2201
2142
  });
2202
2143
  var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
2203
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2204
2144
  security: [{ scheme: "bearer", type: "http" }],
2205
2145
  url: "/invitations/{id}/resend",
2206
2146
  ...options,
@@ -2210,7 +2150,6 @@ var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
2210
2150
  }
2211
2151
  });
2212
2152
  var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).post({
2213
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2214
2153
  security: [{ scheme: "bearer", type: "http" }],
2215
2154
  url: "/extraction/schema_discoveries",
2216
2155
  ...options,
@@ -2220,18 +2159,11 @@ var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).po
2220
2159
  }
2221
2160
  });
2222
2161
  var getSearchSaved = (options) => (options.client ?? client).get({
2223
- querySerializer: {
2224
- parameters: {
2225
- filter: { object: { style: "form" } },
2226
- fields: { object: { style: "form" } }
2227
- }
2228
- },
2229
2162
  security: [{ scheme: "bearer", type: "http" }],
2230
2163
  url: "/search/saved",
2231
2164
  ...options
2232
2165
  });
2233
2166
  var postSearchSaved = (options) => (options.client ?? client).post({
2234
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2235
2167
  security: [{ scheme: "bearer", type: "http" }],
2236
2168
  url: "/search/saved",
2237
2169
  ...options,
@@ -2241,7 +2173,6 @@ var postSearchSaved = (options) => (options.client ?? client).post({
2241
2173
  }
2242
2174
  });
2243
2175
  var patchNotificationMethodsByIdSendVerification = (options) => (options.client ?? client).patch({
2244
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2245
2176
  security: [{ scheme: "bearer", type: "http" }],
2246
2177
  url: "/notification_methods/{id}/send_verification",
2247
2178
  ...options,
@@ -2251,59 +2182,41 @@ var patchNotificationMethodsByIdSendVerification = (options) => (options.client
2251
2182
  }
2252
2183
  });
2253
2184
  var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
2254
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2255
2185
  security: [{ scheme: "bearer", type: "http" }],
2256
2186
  url: "/field_templates/{id}",
2257
2187
  ...options
2258
2188
  });
2259
2189
  var getFieldTemplatesById = (options) => (options.client ?? client).get({
2260
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2261
2190
  security: [{ scheme: "bearer", type: "http" }],
2262
2191
  url: "/field_templates/{id}",
2263
2192
  ...options
2264
2193
  });
2265
2194
  var getWorkspacesByWorkspaceIdTrainingAnalytics = (options) => (options.client ?? client).get({
2266
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2267
2195
  security: [{ scheme: "bearer", type: "http" }],
2268
2196
  url: "/workspaces/{workspace_id}/training/analytics",
2269
2197
  ...options
2270
2198
  });
2271
2199
  var getUserProfilesMe = (options) => (options.client ?? client).get({
2272
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2273
2200
  security: [{ scheme: "bearer", type: "http" }],
2274
2201
  url: "/user_profiles/me",
2275
2202
  ...options
2276
2203
  });
2277
2204
  var getExtractionSchemaDiscoveriesById = (options) => (options.client ?? client).get({
2278
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2279
2205
  security: [{ scheme: "bearer", type: "http" }],
2280
2206
  url: "/extraction/schema_discoveries/{id}",
2281
2207
  ...options
2282
2208
  });
2283
2209
  var getApiKeysActive = (options) => (options.client ?? client).get({
2284
- querySerializer: {
2285
- parameters: {
2286
- filter: { object: { style: "form" } },
2287
- fields: { object: { style: "form" } }
2288
- }
2289
- },
2290
2210
  security: [{ scheme: "bearer", type: "http" }],
2291
2211
  url: "/api_keys/active",
2292
2212
  ...options
2293
2213
  });
2294
2214
  var getAgentVersions = (options) => (options.client ?? client).get({
2295
- querySerializer: {
2296
- parameters: {
2297
- filter: { object: { style: "form" } },
2298
- fields: { object: { style: "form" } }
2299
- }
2300
- },
2301
2215
  security: [{ scheme: "bearer", type: "http" }],
2302
2216
  url: "/agent_versions",
2303
2217
  ...options
2304
2218
  });
2305
2219
  var postAgentVersions = (options) => (options.client ?? client).post({
2306
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2307
2220
  security: [{ scheme: "bearer", type: "http" }],
2308
2221
  url: "/agent_versions",
2309
2222
  ...options,
@@ -2313,7 +2226,6 @@ var postAgentVersions = (options) => (options.client ?? client).post({
2313
2226
  }
2314
2227
  });
2315
2228
  var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
2316
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2317
2229
  security: [{ scheme: "bearer", type: "http" }],
2318
2230
  url: "/invitations/{id}/accept-by-user",
2319
2231
  ...options,
@@ -2323,7 +2235,6 @@ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).p
2323
2235
  }
2324
2236
  });
2325
2237
  var getPermissionsMeta = (options) => (options.client ?? client).get({
2326
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2327
2238
  security: [{ scheme: "bearer", type: "http" }],
2328
2239
  url: "/permissions/meta",
2329
2240
  ...options
@@ -2338,30 +2249,21 @@ var postApplicationsByApplicationIdEmailTemplatesBySlugTest = (options) => (opti
2338
2249
  }
2339
2250
  });
2340
2251
  var getSearchSuggest = (options) => (options.client ?? client).get({
2341
- querySerializer: {
2342
- parameters: {
2343
- filter: { object: { style: "form" } },
2344
- fields: { object: { style: "form" } }
2345
- }
2346
- },
2347
2252
  security: [{ scheme: "bearer", type: "http" }],
2348
2253
  url: "/search/suggest",
2349
2254
  ...options
2350
2255
  });
2351
2256
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
2352
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2353
2257
  security: [{ scheme: "bearer", type: "http" }],
2354
2258
  url: "/webhook_configs/{id}",
2355
2259
  ...options
2356
2260
  });
2357
2261
  var getWebhookConfigsById = (options) => (options.client ?? client).get({
2358
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2359
2262
  security: [{ scheme: "bearer", type: "http" }],
2360
2263
  url: "/webhook_configs/{id}",
2361
2264
  ...options
2362
2265
  });
2363
2266
  var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
2364
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2365
2267
  security: [{ scheme: "bearer", type: "http" }],
2366
2268
  url: "/webhook_configs/{id}",
2367
2269
  ...options,
@@ -2380,7 +2282,6 @@ var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post(
2380
2282
  }
2381
2283
  });
2382
2284
  var postInvitationsAcceptByToken = (options) => (options.client ?? client).post({
2383
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2384
2285
  security: [{ scheme: "bearer", type: "http" }],
2385
2286
  url: "/invitations/accept_by_token",
2386
2287
  ...options,
@@ -2390,19 +2291,16 @@ var postInvitationsAcceptByToken = (options) => (options.client ?? client).post(
2390
2291
  }
2391
2292
  });
2392
2293
  var deleteAiMessagesById = (options) => (options.client ?? client).delete({
2393
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2394
2294
  security: [{ scheme: "bearer", type: "http" }],
2395
2295
  url: "/ai/messages/{id}",
2396
2296
  ...options
2397
2297
  });
2398
2298
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
2399
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2400
2299
  security: [{ scheme: "bearer", type: "http" }],
2401
2300
  url: "/extraction/batches/{id}/upload-urls",
2402
2301
  ...options
2403
2302
  });
2404
2303
  var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
2405
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2406
2304
  security: [{ scheme: "bearer", type: "http" }],
2407
2305
  url: "/documents/bulk_delete",
2408
2306
  ...options,
@@ -2412,19 +2310,16 @@ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
2412
2310
  }
2413
2311
  });
2414
2312
  var deleteAgentVersionsById = (options) => (options.client ?? client).delete({
2415
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2416
2313
  security: [{ scheme: "bearer", type: "http" }],
2417
2314
  url: "/agent_versions/{id}",
2418
2315
  ...options
2419
2316
  });
2420
2317
  var getAgentVersionsById = (options) => (options.client ?? client).get({
2421
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2422
2318
  security: [{ scheme: "bearer", type: "http" }],
2423
2319
  url: "/agent_versions/{id}",
2424
2320
  ...options
2425
2321
  });
2426
2322
  var postAiChunksSearch = (options) => (options.client ?? client).post({
2427
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2428
2323
  security: [{ scheme: "bearer", type: "http" }],
2429
2324
  url: "/ai/chunks/search",
2430
2325
  ...options,
@@ -2434,13 +2329,11 @@ var postAiChunksSearch = (options) => (options.client ?? client).post({
2434
2329
  }
2435
2330
  });
2436
2331
  var getThreadsByIdMessages = (options) => (options.client ?? client).get({
2437
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2438
2332
  security: [{ scheme: "bearer", type: "http" }],
2439
2333
  url: "/threads/{id}/messages",
2440
2334
  ...options
2441
2335
  });
2442
2336
  var postThreadsByIdMessages = (options) => (options.client ?? client).post({
2443
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2444
2337
  security: [{ scheme: "bearer", type: "http" }],
2445
2338
  url: "/threads/{id}/messages",
2446
2339
  ...options,
@@ -2450,7 +2343,6 @@ var postThreadsByIdMessages = (options) => (options.client ?? client).post({
2450
2343
  }
2451
2344
  });
2452
2345
  var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
2453
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2454
2346
  security: [{ scheme: "bearer", type: "http" }],
2455
2347
  url: "/agents/clone_for_workspace",
2456
2348
  ...options,
@@ -2460,7 +2352,6 @@ var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
2460
2352
  }
2461
2353
  });
2462
2354
  var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
2463
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2464
2355
  security: [{ scheme: "bearer", type: "http" }],
2465
2356
  url: "/invitations/{id}/accept",
2466
2357
  ...options,
@@ -2470,36 +2361,45 @@ var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
2470
2361
  }
2471
2362
  });
2472
2363
  var getCreditPackagesById = (options) => (options.client ?? client).get({
2473
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2474
2364
  security: [{ scheme: "bearer", type: "http" }],
2475
2365
  url: "/credit-packages/{id}",
2476
2366
  ...options
2477
2367
  });
2478
2368
  var deleteUsersById = (options) => (options.client ?? client).delete({
2479
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2480
2369
  security: [{ scheme: "bearer", type: "http" }],
2481
2370
  url: "/users/{id}",
2482
2371
  ...options
2483
2372
  });
2484
2373
  var getUsersById = (options) => (options.client ?? client).get({
2485
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2486
2374
  security: [{ scheme: "bearer", type: "http" }],
2487
2375
  url: "/users/{id}",
2488
2376
  ...options
2489
2377
  });
2378
+ var deleteExtractionResultsById = (options) => (options.client ?? client).delete({
2379
+ security: [{ scheme: "bearer", type: "http" }],
2380
+ url: "/extraction/results/{id}",
2381
+ ...options
2382
+ });
2490
2383
  var getExtractionResultsById = (options) => (options.client ?? client).get({
2491
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2492
2384
  security: [{ scheme: "bearer", type: "http" }],
2493
2385
  url: "/extraction/results/{id}",
2494
2386
  ...options
2495
2387
  });
2388
+ var patchExtractionResultsById = (options) => (options.client ?? client).patch({
2389
+ security: [{ scheme: "bearer", type: "http" }],
2390
+ url: "/extraction/results/{id}",
2391
+ ...options,
2392
+ headers: {
2393
+ "Content-Type": "application/vnd.api+json",
2394
+ ...options.headers
2395
+ }
2396
+ });
2496
2397
  var getWebhookDeliveriesStats = (options) => (options.client ?? client).get({
2497
2398
  security: [{ scheme: "bearer", type: "http" }],
2498
2399
  url: "/webhook_deliveries/stats",
2499
2400
  ...options
2500
2401
  });
2501
2402
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2502
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2503
2403
  security: [{ scheme: "bearer", type: "http" }],
2504
2404
  url: "/agents/{id}/validate",
2505
2405
  ...options,
@@ -2509,7 +2409,6 @@ var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2509
2409
  }
2510
2410
  });
2511
2411
  var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
2512
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2513
2412
  security: [{ scheme: "bearer", type: "http" }],
2514
2413
  url: "/webhook_configs/{id}/test",
2515
2414
  ...options,
@@ -2519,13 +2418,11 @@ var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
2519
2418
  }
2520
2419
  });
2521
2420
  var getUsersMe = (options) => (options.client ?? client).get({
2522
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2523
2421
  security: [{ scheme: "bearer", type: "http" }],
2524
2422
  url: "/users/me",
2525
2423
  ...options
2526
2424
  });
2527
2425
  var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
2528
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2529
2426
  security: [{ scheme: "bearer", type: "http" }],
2530
2427
  url: "/users/auth/register_with_oidc",
2531
2428
  ...options,
@@ -2549,7 +2446,6 @@ var postAgentsByIdSchemaVersions = (options) => (options.client ?? client).post(
2549
2446
  }
2550
2447
  });
2551
2448
  var postTenantsByIdCredit = (options) => (options.client ?? client).post({
2552
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2553
2449
  security: [{ scheme: "bearer", type: "http" }],
2554
2450
  url: "/tenants/{id}/credit",
2555
2451
  ...options,
@@ -2559,7 +2455,6 @@ var postTenantsByIdCredit = (options) => (options.client ?? client).post({
2559
2455
  }
2560
2456
  });
2561
2457
  var getTransactionsById = (options) => (options.client ?? client).get({
2562
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2563
2458
  security: [{ scheme: "bearer", type: "http" }],
2564
2459
  url: "/transactions/{id}",
2565
2460
  ...options
@@ -2570,19 +2465,11 @@ var getUsersMeTenants = (options) => (options.client ?? client).get({
2570
2465
  ...options
2571
2466
  });
2572
2467
  var getTenantMemberships = (options) => (options.client ?? client).get({
2573
- querySerializer: {
2574
- parameters: {
2575
- filter: { object: { style: "form" } },
2576
- page: { object: { style: "form" } },
2577
- fields: { object: { style: "form" } }
2578
- }
2579
- },
2580
2468
  security: [{ scheme: "bearer", type: "http" }],
2581
2469
  url: "/tenant-memberships",
2582
2470
  ...options
2583
2471
  });
2584
2472
  var postTenantMemberships = (options) => (options.client ?? client).post({
2585
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2586
2473
  security: [{ scheme: "bearer", type: "http" }],
2587
2474
  url: "/tenant-memberships",
2588
2475
  ...options,
@@ -2601,7 +2488,6 @@ var postTrainingExamplesBulkDelete = (options) => (options.client ?? client).pos
2601
2488
  }
2602
2489
  });
2603
2490
  var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client).patch({
2604
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2605
2491
  security: [{ scheme: "bearer", type: "http" }],
2606
2492
  url: "/extraction/documents/{id}/include",
2607
2493
  ...options,
@@ -2611,7 +2497,6 @@ var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client
2611
2497
  }
2612
2498
  });
2613
2499
  var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
2614
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2615
2500
  security: [{ scheme: "bearer", type: "http" }],
2616
2501
  url: "/llm_analytics/summary",
2617
2502
  ...options
@@ -2627,7 +2512,6 @@ var getUsersMeStats = (options) => (options.client ?? client).get({
2627
2512
  ...options
2628
2513
  });
2629
2514
  var postStorageSignDownload = (options) => (options.client ?? client).post({
2630
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2631
2515
  security: [{ scheme: "bearer", type: "http" }],
2632
2516
  url: "/storage/sign_download",
2633
2517
  ...options,
@@ -2637,48 +2521,36 @@ var postStorageSignDownload = (options) => (options.client ?? client).post({
2637
2521
  }
2638
2522
  });
2639
2523
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
2640
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2641
2524
  security: [{ scheme: "bearer", type: "http" }],
2642
2525
  url: "/training_sessions/{id}",
2643
2526
  ...options
2644
2527
  });
2645
2528
  var getTrainingSessionsById = (options) => (options.client ?? client).get({
2646
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2647
2529
  security: [{ scheme: "bearer", type: "http" }],
2648
2530
  url: "/training_sessions/{id}",
2649
2531
  ...options
2650
2532
  });
2651
2533
  var getWatcherClaimsHistory = (options) => (options.client ?? client).get({
2652
- querySerializer: {
2653
- parameters: {
2654
- filter: { object: { style: "form" } },
2655
- fields: { object: { style: "form" } }
2656
- }
2657
- },
2658
2534
  security: [{ scheme: "bearer", type: "http" }],
2659
2535
  url: "/watcher/claims/history",
2660
2536
  ...options
2661
2537
  });
2662
2538
  var getUsersByEmail = (options) => (options.client ?? client).get({
2663
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2664
2539
  security: [{ scheme: "bearer", type: "http" }],
2665
2540
  url: "/users/by-email",
2666
2541
  ...options
2667
2542
  });
2668
2543
  var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
2669
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2670
2544
  security: [{ scheme: "bearer", type: "http" }],
2671
2545
  url: "/notification_methods/{id}",
2672
2546
  ...options
2673
2547
  });
2674
2548
  var getNotificationMethodsById = (options) => (options.client ?? client).get({
2675
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2676
2549
  security: [{ scheme: "bearer", type: "http" }],
2677
2550
  url: "/notification_methods/{id}",
2678
2551
  ...options
2679
2552
  });
2680
2553
  var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
2681
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2682
2554
  security: [{ scheme: "bearer", type: "http" }],
2683
2555
  url: "/notification_methods/{id}",
2684
2556
  ...options,
@@ -2688,13 +2560,6 @@ var patchNotificationMethodsById = (options) => (options.client ?? client).patch
2688
2560
  }
2689
2561
  });
2690
2562
  var getWebhookDeliveries = (options) => (options.client ?? client).get({
2691
- querySerializer: {
2692
- parameters: {
2693
- filter: { object: { style: "form" } },
2694
- page: { object: { style: "form" } },
2695
- fields: { object: { style: "form" } }
2696
- }
2697
- },
2698
2563
  security: [{ scheme: "bearer", type: "http" }],
2699
2564
  url: "/webhook_deliveries",
2700
2565
  ...options
@@ -2709,29 +2574,16 @@ var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post
2709
2574
  }
2710
2575
  });
2711
2576
  var getSearch = (options) => (options.client ?? client).get({
2712
- querySerializer: {
2713
- parameters: {
2714
- filter: { object: { style: "form" } },
2715
- fields: { object: { style: "form" } }
2716
- }
2717
- },
2718
2577
  security: [{ scheme: "bearer", type: "http" }],
2719
2578
  url: "/search",
2720
2579
  ...options
2721
2580
  });
2722
2581
  var getInvitations = (options) => (options.client ?? client).get({
2723
- querySerializer: {
2724
- parameters: {
2725
- filter: { object: { style: "form" } },
2726
- fields: { object: { style: "form" } }
2727
- }
2728
- },
2729
2582
  security: [{ scheme: "bearer", type: "http" }],
2730
2583
  url: "/invitations",
2731
2584
  ...options
2732
2585
  });
2733
2586
  var postInvitations = (options) => (options.client ?? client).post({
2734
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2735
2587
  security: [{ scheme: "bearer", type: "http" }],
2736
2588
  url: "/invitations",
2737
2589
  ...options,
@@ -2741,7 +2593,6 @@ var postInvitations = (options) => (options.client ?? client).post({
2741
2593
  }
2742
2594
  });
2743
2595
  var patchThreadsByIdArchive = (options) => (options.client ?? client).patch({
2744
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2745
2596
  security: [{ scheme: "bearer", type: "http" }],
2746
2597
  url: "/threads/{id}/archive",
2747
2598
  ...options,
@@ -2751,23 +2602,11 @@ var patchThreadsByIdArchive = (options) => (options.client ?? client).patch({
2751
2602
  }
2752
2603
  });
2753
2604
  var getApiKeysStats = (options) => (options.client ?? client).get({
2754
- querySerializer: {
2755
- parameters: {
2756
- filter: { object: { style: "form" } },
2757
- fields: { object: { style: "form" } }
2758
- }
2759
- },
2760
2605
  security: [{ scheme: "bearer", type: "http" }],
2761
2606
  url: "/api_keys/stats",
2762
2607
  ...options
2763
2608
  });
2764
2609
  var getSearchSemantic = (options) => (options.client ?? client).get({
2765
- querySerializer: {
2766
- parameters: {
2767
- filter: { object: { style: "form" } },
2768
- fields: { object: { style: "form" } }
2769
- }
2770
- },
2771
2610
  security: [{ scheme: "bearer", type: "http" }],
2772
2611
  url: "/search/semantic",
2773
2612
  ...options
@@ -2778,19 +2617,11 @@ var getThreadsStats = (options) => (options.client ?? client).get({
2778
2617
  ...options
2779
2618
  });
2780
2619
  var getMessages = (options) => (options.client ?? client).get({
2781
- querySerializer: {
2782
- parameters: {
2783
- filter: { object: { style: "form" } },
2784
- page: { object: { style: "form" } },
2785
- fields: { object: { style: "form" } }
2786
- }
2787
- },
2788
2620
  security: [{ scheme: "bearer", type: "http" }],
2789
2621
  url: "/messages",
2790
2622
  ...options
2791
2623
  });
2792
2624
  var postMessages = (options) => (options.client ?? client).post({
2793
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2794
2625
  security: [{ scheme: "bearer", type: "http" }],
2795
2626
  url: "/messages",
2796
2627
  ...options,
@@ -2800,19 +2631,11 @@ var postMessages = (options) => (options.client ?? client).post({
2800
2631
  }
2801
2632
  });
2802
2633
  var getNotificationPreferences = (options) => (options.client ?? client).get({
2803
- querySerializer: {
2804
- parameters: {
2805
- filter: { object: { style: "form" } },
2806
- page: { object: { style: "form" } },
2807
- fields: { object: { style: "form" } }
2808
- }
2809
- },
2810
2634
  security: [{ scheme: "bearer", type: "http" }],
2811
2635
  url: "/notification_preferences",
2812
2636
  ...options
2813
2637
  });
2814
2638
  var postNotificationPreferences = (options) => (options.client ?? client).post({
2815
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2816
2639
  security: [{ scheme: "bearer", type: "http" }],
2817
2640
  url: "/notification_preferences",
2818
2641
  ...options,
@@ -2822,19 +2645,11 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
2822
2645
  }
2823
2646
  });
2824
2647
  var getApplications = (options) => (options.client ?? client).get({
2825
- querySerializer: {
2826
- parameters: {
2827
- filter: { object: { style: "form" } },
2828
- page: { object: { style: "form" } },
2829
- fields: { object: { style: "form" } }
2830
- }
2831
- },
2832
2648
  security: [{ scheme: "bearer", type: "http" }],
2833
2649
  url: "/applications",
2834
2650
  ...options
2835
2651
  });
2836
2652
  var postApplications = (options) => (options.client ?? client).post({
2837
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2838
2653
  security: [{ scheme: "bearer", type: "http" }],
2839
2654
  url: "/applications",
2840
2655
  ...options,
@@ -2844,7 +2659,6 @@ var postApplications = (options) => (options.client ?? client).post({
2844
2659
  }
2845
2660
  });
2846
2661
  var patchWatcherClaimsByIdRetry = (options) => (options.client ?? client).patch({
2847
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2848
2662
  security: [{ scheme: "bearer", type: "http" }],
2849
2663
  url: "/watcher/claims/{id}/retry",
2850
2664
  ...options,
@@ -2863,7 +2677,6 @@ var postAgentsPredict = (options) => (options.client ?? client).post({
2863
2677
  }
2864
2678
  });
2865
2679
  var patchUserProfilesByIdDismissWelcome = (options) => (options.client ?? client).patch({
2866
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2867
2680
  security: [{ scheme: "bearer", type: "http" }],
2868
2681
  url: "/user_profiles/{id}/dismiss-welcome",
2869
2682
  ...options,
@@ -2873,7 +2686,6 @@ var patchUserProfilesByIdDismissWelcome = (options) => (options.client ?? client
2873
2686
  }
2874
2687
  });
2875
2688
  var patchExtractionDocumentsByIdReprocess = (options) => (options.client ?? client).patch({
2876
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2877
2689
  security: [{ scheme: "bearer", type: "http" }],
2878
2690
  url: "/extraction/documents/{id}/reprocess",
2879
2691
  ...options,
@@ -2883,19 +2695,16 @@ var patchExtractionDocumentsByIdReprocess = (options) => (options.client ?? clie
2883
2695
  }
2884
2696
  });
2885
2697
  var deleteThreadsById = (options) => (options.client ?? client).delete({
2886
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2887
2698
  security: [{ scheme: "bearer", type: "http" }],
2888
2699
  url: "/threads/{id}",
2889
2700
  ...options
2890
2701
  });
2891
2702
  var getThreadsById = (options) => (options.client ?? client).get({
2892
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2893
2703
  security: [{ scheme: "bearer", type: "http" }],
2894
2704
  url: "/threads/{id}",
2895
2705
  ...options
2896
2706
  });
2897
2707
  var patchThreadsById = (options) => (options.client ?? client).patch({
2898
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2899
2708
  security: [{ scheme: "bearer", type: "http" }],
2900
2709
  url: "/threads/{id}",
2901
2710
  ...options,
@@ -2905,29 +2714,16 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
2905
2714
  }
2906
2715
  });
2907
2716
  var getWorkspacesByIdMembers = (options) => (options.client ?? client).get({
2908
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2909
2717
  security: [{ scheme: "bearer", type: "http" }],
2910
2718
  url: "/workspaces/{id}/members",
2911
2719
  ...options
2912
2720
  });
2913
2721
  var getBucketsAll = (options) => (options.client ?? client).get({
2914
- querySerializer: {
2915
- parameters: {
2916
- filter: { object: { style: "form" } },
2917
- fields: { object: { style: "form" } }
2918
- }
2919
- },
2920
2722
  security: [{ scheme: "bearer", type: "http" }],
2921
2723
  url: "/buckets/all",
2922
2724
  ...options
2923
2725
  });
2924
2726
  var getWatcherClaims = (options) => (options.client ?? client).get({
2925
- querySerializer: {
2926
- parameters: {
2927
- filter: { object: { style: "form" } },
2928
- fields: { object: { style: "form" } }
2929
- }
2930
- },
2931
2727
  security: [{ scheme: "bearer", type: "http" }],
2932
2728
  url: "/watcher/claims",
2933
2729
  ...options
@@ -2942,19 +2738,11 @@ var postWatcherClaims = (options) => (options.client ?? client).post({
2942
2738
  }
2943
2739
  });
2944
2740
  var getLlmAnalytics = (options) => (options.client ?? client).get({
2945
- querySerializer: {
2946
- parameters: {
2947
- filter: { object: { style: "form" } },
2948
- page: { object: { style: "form" } },
2949
- fields: { object: { style: "form" } }
2950
- }
2951
- },
2952
2741
  security: [{ scheme: "bearer", type: "http" }],
2953
2742
  url: "/llm_analytics",
2954
2743
  ...options
2955
2744
  });
2956
2745
  var postLlmAnalytics = (options) => (options.client ?? client).post({
2957
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2958
2746
  security: [{ scheme: "bearer", type: "http" }],
2959
2747
  url: "/llm_analytics",
2960
2748
  ...options,
@@ -2969,7 +2757,6 @@ var getStorageStatsTenantByTenantId = (options) => (options.client ?? client).ge
2969
2757
  ...options
2970
2758
  });
2971
2759
  var postAgentTestResults = (options) => (options.client ?? client).post({
2972
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2973
2760
  security: [{ scheme: "bearer", type: "http" }],
2974
2761
  url: "/agent_test_results",
2975
2762
  ...options,
@@ -2979,7 +2766,6 @@ var postAgentTestResults = (options) => (options.client ?? client).post({
2979
2766
  }
2980
2767
  });
2981
2768
  var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch({
2982
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2983
2769
  security: [{ scheme: "bearer", type: "http" }],
2984
2770
  url: "/users/{id}/reset-password",
2985
2771
  ...options,
@@ -2998,7 +2784,6 @@ var postThreadsByIdExport = (options) => (options.client ?? client).post({
2998
2784
  }
2999
2785
  });
3000
2786
  var postDocumentsPresignedUpload = (options) => (options.client ?? client).post({
3001
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3002
2787
  security: [{ scheme: "bearer", type: "http" }],
3003
2788
  url: "/documents/presigned_upload",
3004
2789
  ...options,
@@ -3013,13 +2798,11 @@ var getWebhookConfigsByIdEvents = (options) => (options.client ?? client).get({
3013
2798
  ...options
3014
2799
  });
3015
2800
  var getMessagesSearch = (options) => (options.client ?? client).get({
3016
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3017
2801
  security: [{ scheme: "bearer", type: "http" }],
3018
2802
  url: "/messages/search",
3019
2803
  ...options
3020
2804
  });
3021
2805
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
3022
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3023
2806
  security: [{ scheme: "bearer", type: "http" }],
3024
2807
  url: "/agents/{id}/teach",
3025
2808
  ...options,
@@ -3029,19 +2812,11 @@ var postAgentsByIdTeach = (options) => (options.client ?? client).post({
3029
2812
  }
3030
2813
  });
3031
2814
  var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (options.client ?? client).get({
3032
- querySerializer: {
3033
- parameters: {
3034
- filter: { object: { style: "form" } },
3035
- page: { object: { style: "form" } },
3036
- fields: { object: { style: "form" } }
3037
- }
3038
- },
3039
2815
  security: [{ scheme: "bearer", type: "http" }],
3040
2816
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
3041
2817
  ...options
3042
2818
  });
3043
2819
  var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
3044
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3045
2820
  security: [{ scheme: "bearer", type: "http" }],
3046
2821
  url: "/invitations/{id}/decline",
3047
2822
  ...options,
@@ -3051,7 +2826,6 @@ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch(
3051
2826
  }
3052
2827
  });
3053
2828
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
3054
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3055
2829
  security: [{ scheme: "bearer", type: "http" }],
3056
2830
  url: "/extraction/documents/upload",
3057
2831
  ...options,
@@ -3060,18 +2834,7 @@ var postExtractionDocumentsUpload = (options) => (options.client ?? client).post
3060
2834
  ...options.headers
3061
2835
  }
3062
2836
  });
3063
- var patchExtractionResultsByIdCorrections = (options) => (options.client ?? client).patch({
3064
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3065
- security: [{ scheme: "bearer", type: "http" }],
3066
- url: "/extraction/results/{id}/corrections",
3067
- ...options,
3068
- headers: {
3069
- "Content-Type": "application/vnd.api+json",
3070
- ...options.headers
3071
- }
3072
- });
3073
2837
  var patchNotificationMethodsByIdVerify = (options) => (options.client ?? client).patch({
3074
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3075
2838
  security: [{ scheme: "bearer", type: "http" }],
3076
2839
  url: "/notification_methods/{id}/verify",
3077
2840
  ...options,
@@ -3081,13 +2844,11 @@ var patchNotificationMethodsByIdVerify = (options) => (options.client ?? client)
3081
2844
  }
3082
2845
  });
3083
2846
  var getExtractionResultsDocumentByDocumentId = (options) => (options.client ?? client).get({
3084
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3085
2847
  security: [{ scheme: "bearer", type: "http" }],
3086
2848
  url: "/extraction/results/document/{document_id}",
3087
2849
  ...options
3088
2850
  });
3089
2851
  var patchUserProfilesByIdDismissAnnouncement = (options) => (options.client ?? client).patch({
3090
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3091
2852
  security: [{ scheme: "bearer", type: "http" }],
3092
2853
  url: "/user_profiles/{id}/dismiss-announcement",
3093
2854
  ...options,
@@ -3097,19 +2858,16 @@ var patchUserProfilesByIdDismissAnnouncement = (options) => (options.client ?? c
3097
2858
  }
3098
2859
  });
3099
2860
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
3100
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3101
2861
  security: [{ scheme: "bearer", type: "http" }],
3102
2862
  url: "/workspaces/{id}",
3103
2863
  ...options
3104
2864
  });
3105
2865
  var getWorkspacesById = (options) => (options.client ?? client).get({
3106
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3107
2866
  security: [{ scheme: "bearer", type: "http" }],
3108
2867
  url: "/workspaces/{id}",
3109
2868
  ...options
3110
2869
  });
3111
2870
  var patchWorkspacesById = (options) => (options.client ?? client).patch({
3112
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3113
2871
  security: [{ scheme: "bearer", type: "http" }],
3114
2872
  url: "/workspaces/{id}",
3115
2873
  ...options,
@@ -3119,19 +2877,11 @@ var patchWorkspacesById = (options) => (options.client ?? client).patch({
3119
2877
  }
3120
2878
  });
3121
2879
  var getTenants = (options) => (options.client ?? client).get({
3122
- querySerializer: {
3123
- parameters: {
3124
- filter: { object: { style: "form" } },
3125
- page: { object: { style: "form" } },
3126
- fields: { object: { style: "form" } }
3127
- }
3128
- },
3129
2880
  security: [{ scheme: "bearer", type: "http" }],
3130
2881
  url: "/tenants",
3131
2882
  ...options
3132
2883
  });
3133
2884
  var postTenants = (options) => (options.client ?? client).post({
3134
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3135
2885
  security: [{ scheme: "bearer", type: "http" }],
3136
2886
  url: "/tenants",
3137
2887
  ...options,
@@ -3141,7 +2891,6 @@ var postTenants = (options) => (options.client ?? client).post({
3141
2891
  }
3142
2892
  });
3143
2893
  var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post({
3144
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3145
2894
  security: [{ scheme: "bearer", type: "http" }],
3146
2895
  url: "/tenants/{id}/remove-storage",
3147
2896
  ...options,
@@ -3151,13 +2900,20 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
3151
2900
  }
3152
2901
  });
3153
2902
  var getWalletInvoices = (options) => (options.client ?? client).get({
3154
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3155
2903
  security: [{ scheme: "bearer", type: "http" }],
3156
2904
  url: "/wallet/invoices",
3157
2905
  ...options
3158
2906
  });
2907
+ var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ?? client).patch({
2908
+ security: [{ scheme: "bearer", type: "http" }],
2909
+ url: "/extraction/results/{id}/save_corrections",
2910
+ ...options,
2911
+ headers: {
2912
+ "Content-Type": "application/vnd.api+json",
2913
+ ...options.headers
2914
+ }
2915
+ });
3159
2916
  var patchWorkspacesByIdStorageSettings = (options) => (options.client ?? client).patch({
3160
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3161
2917
  security: [{ scheme: "bearer", type: "http" }],
3162
2918
  url: "/workspaces/{id}/storage-settings",
3163
2919
  ...options,
@@ -3167,49 +2923,31 @@ var patchWorkspacesByIdStorageSettings = (options) => (options.client ?? client)
3167
2923
  }
3168
2924
  });
3169
2925
  var getNotificationLogsById = (options) => (options.client ?? client).get({
3170
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3171
2926
  security: [{ scheme: "bearer", type: "http" }],
3172
2927
  url: "/notification_logs/{id}",
3173
2928
  ...options
3174
2929
  });
3175
2930
  var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get({
3176
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3177
2931
  security: [{ scheme: "bearer", type: "http" }],
3178
2932
  url: "/extraction/documents/{id}/view",
3179
2933
  ...options
3180
2934
  });
3181
2935
  var getWebhookDeliveriesById = (options) => (options.client ?? client).get({
3182
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3183
2936
  security: [{ scheme: "bearer", type: "http" }],
3184
2937
  url: "/webhook_deliveries/{id}",
3185
2938
  ...options
3186
2939
  });
3187
2940
  var getAuditLogs = (options) => (options.client ?? client).get({
3188
- querySerializer: {
3189
- parameters: {
3190
- filter: { object: { style: "form" } },
3191
- page: { object: { style: "form" } },
3192
- fields: { object: { style: "form" } }
3193
- }
3194
- },
3195
2941
  security: [{ scheme: "bearer", type: "http" }],
3196
2942
  url: "/audit-logs",
3197
2943
  ...options
3198
2944
  });
3199
2945
  var getAiGraphEdges = (options) => (options.client ?? client).get({
3200
- querySerializer: {
3201
- parameters: {
3202
- filter: { object: { style: "form" } },
3203
- page: { object: { style: "form" } },
3204
- fields: { object: { style: "form" } }
3205
- }
3206
- },
3207
2946
  security: [{ scheme: "bearer", type: "http" }],
3208
2947
  url: "/ai/graph/edges",
3209
2948
  ...options
3210
2949
  });
3211
2950
  var postAiGraphEdges = (options) => (options.client ?? client).post({
3212
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3213
2951
  security: [{ scheme: "bearer", type: "http" }],
3214
2952
  url: "/ai/graph/edges",
3215
2953
  ...options,
@@ -3219,25 +2957,16 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
3219
2957
  }
3220
2958
  });
3221
2959
  var getAgentVersionRevisionsById = (options) => (options.client ?? client).get({
3222
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3223
2960
  security: [{ scheme: "bearer", type: "http" }],
3224
2961
  url: "/agent_version_revisions/{id}",
3225
2962
  ...options
3226
2963
  });
3227
2964
  var getTrainingExamples = (options) => (options.client ?? client).get({
3228
- querySerializer: {
3229
- parameters: {
3230
- filter: { object: { style: "form" } },
3231
- page: { object: { style: "form" } },
3232
- fields: { object: { style: "form" } }
3233
- }
3234
- },
3235
2965
  security: [{ scheme: "bearer", type: "http" }],
3236
2966
  url: "/training_examples",
3237
2967
  ...options
3238
2968
  });
3239
2969
  var postTrainingExamples = (options) => (options.client ?? client).post({
3240
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3241
2970
  security: [{ scheme: "bearer", type: "http" }],
3242
2971
  url: "/training_examples",
3243
2972
  ...options,
@@ -3247,7 +2976,6 @@ var postTrainingExamples = (options) => (options.client ?? client).post({
3247
2976
  }
3248
2977
  });
3249
2978
  var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.client ?? client).get({
3250
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3251
2979
  security: [{ scheme: "bearer", type: "http" }],
3252
2980
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
3253
2981
  ...options
@@ -3258,7 +2986,6 @@ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
3258
2986
  ...options
3259
2987
  });
3260
2988
  var postObjectsCopy = (options) => (options.client ?? client).post({
3261
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3262
2989
  security: [{ scheme: "bearer", type: "http" }],
3263
2990
  url: "/objects/copy",
3264
2991
  ...options,
@@ -3268,18 +2995,11 @@ var postObjectsCopy = (options) => (options.client ?? client).post({
3268
2995
  }
3269
2996
  });
3270
2997
  var getBuckets = (options) => (options.client ?? client).get({
3271
- querySerializer: {
3272
- parameters: {
3273
- filter: { object: { style: "form" } },
3274
- fields: { object: { style: "form" } }
3275
- }
3276
- },
3277
2998
  security: [{ scheme: "bearer", type: "http" }],
3278
2999
  url: "/buckets",
3279
3000
  ...options
3280
3001
  });
3281
3002
  var postBuckets = (options) => (options.client ?? client).post({
3282
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3283
3003
  security: [{ scheme: "bearer", type: "http" }],
3284
3004
  url: "/buckets",
3285
3005
  ...options,
@@ -3288,14 +3008,26 @@ var postBuckets = (options) => (options.client ?? client).post({
3288
3008
  ...options.headers
3289
3009
  }
3290
3010
  });
3011
+ var getAgentVersionRevisions = (options) => (options.client ?? client).get({
3012
+ security: [{ scheme: "bearer", type: "http" }],
3013
+ url: "/agent_version_revisions",
3014
+ ...options
3015
+ });
3016
+ var postPaymentMethodsTokenize = (options) => (options.client ?? client).post({
3017
+ security: [{ scheme: "bearer", type: "http" }],
3018
+ url: "/payment-methods/tokenize",
3019
+ ...options,
3020
+ headers: {
3021
+ "Content-Type": "application/vnd.api+json",
3022
+ ...options.headers
3023
+ }
3024
+ });
3291
3025
  var getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).get({
3292
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3293
3026
  security: [{ scheme: "bearer", type: "http" }],
3294
3027
  url: "/workspaces/{workspace_id}/extraction/{document_id}/mapping",
3295
3028
  ...options
3296
3029
  });
3297
3030
  var postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).post({
3298
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3299
3031
  security: [{ scheme: "bearer", type: "http" }],
3300
3032
  url: "/workspaces/{workspace_id}/extraction/{document_id}/mapping",
3301
3033
  ...options,
@@ -3315,19 +3047,16 @@ var getNotificationLogsStats = (options) => (options.client ?? client).get({
3315
3047
  ...options
3316
3048
  });
3317
3049
  var getPlansById = (options) => (options.client ?? client).get({
3318
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3319
3050
  security: [{ scheme: "bearer", type: "http" }],
3320
3051
  url: "/plans/{id}",
3321
3052
  ...options
3322
3053
  });
3323
3054
  var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
3324
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3325
3055
  security: [{ scheme: "bearer", type: "http" }],
3326
3056
  url: "/tenants/{tenant_id}/stats",
3327
3057
  ...options
3328
3058
  });
3329
3059
  var patchWalletAddons = (options) => (options.client ?? client).patch({
3330
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3331
3060
  security: [{ scheme: "bearer", type: "http" }],
3332
3061
  url: "/wallet/addons",
3333
3062
  ...options,
@@ -3337,7 +3066,6 @@ var patchWalletAddons = (options) => (options.client ?? client).patch({
3337
3066
  }
3338
3067
  });
3339
3068
  var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post({
3340
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3341
3069
  security: [{ scheme: "bearer", type: "http" }],
3342
3070
  url: "/tenants/{id}/schedule-purge",
3343
3071
  ...options,
@@ -3347,13 +3075,11 @@ var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post(
3347
3075
  }
3348
3076
  });
3349
3077
  var getMessagesSemanticSearch = (options) => (options.client ?? client).get({
3350
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3351
3078
  security: [{ scheme: "bearer", type: "http" }],
3352
3079
  url: "/messages/semantic-search",
3353
3080
  ...options
3354
3081
  });
3355
3082
  var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
3356
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3357
3083
  security: [{ scheme: "bearer", type: "http" }],
3358
3084
  url: "/users/auth/magic_link/login",
3359
3085
  ...options,
@@ -3363,19 +3089,11 @@ var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
3363
3089
  }
3364
3090
  });
3365
3091
  var getApiKeys = (options) => (options.client ?? client).get({
3366
- querySerializer: {
3367
- parameters: {
3368
- filter: { object: { style: "form" } },
3369
- page: { object: { style: "form" } },
3370
- fields: { object: { style: "form" } }
3371
- }
3372
- },
3373
3092
  security: [{ scheme: "bearer", type: "http" }],
3374
3093
  url: "/api_keys",
3375
3094
  ...options
3376
3095
  });
3377
3096
  var postApiKeys = (options) => (options.client ?? client).post({
3378
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3379
3097
  security: [{ scheme: "bearer", type: "http" }],
3380
3098
  url: "/api_keys",
3381
3099
  ...options,
@@ -3385,7 +3103,6 @@ var postApiKeys = (options) => (options.client ?? client).post({
3385
3103
  }
3386
3104
  });
3387
3105
  var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
3388
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3389
3106
  security: [{ scheme: "bearer", type: "http" }],
3390
3107
  url: "/users/{id}/admin",
3391
3108
  ...options,
@@ -3404,19 +3121,16 @@ var postObjectsMove = (options) => (options.client ?? client).post({
3404
3121
  }
3405
3122
  });
3406
3123
  var deleteAgentsById = (options) => (options.client ?? client).delete({
3407
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3408
3124
  security: [{ scheme: "bearer", type: "http" }],
3409
3125
  url: "/agents/{id}",
3410
3126
  ...options
3411
3127
  });
3412
3128
  var getAgentsById = (options) => (options.client ?? client).get({
3413
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3414
3129
  security: [{ scheme: "bearer", type: "http" }],
3415
3130
  url: "/agents/{id}",
3416
3131
  ...options
3417
3132
  });
3418
3133
  var patchAgentsById = (options) => (options.client ?? client).patch({
3419
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3420
3134
  security: [{ scheme: "bearer", type: "http" }],
3421
3135
  url: "/agents/{id}",
3422
3136
  ...options,
@@ -3426,7 +3140,6 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
3426
3140
  }
3427
3141
  });
3428
3142
  var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
3429
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3430
3143
  security: [{ scheme: "bearer", type: "http" }],
3431
3144
  url: "/threads/{id}/unarchive",
3432
3145
  ...options,
@@ -3441,19 +3154,16 @@ var getAgentsByIdUsage = (options) => (options.client ?? client).get({
3441
3154
  ...options
3442
3155
  });
3443
3156
  var deleteApiKeysById = (options) => (options.client ?? client).delete({
3444
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3445
3157
  security: [{ scheme: "bearer", type: "http" }],
3446
3158
  url: "/api_keys/{id}",
3447
3159
  ...options
3448
3160
  });
3449
3161
  var getApiKeysById = (options) => (options.client ?? client).get({
3450
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3451
3162
  security: [{ scheme: "bearer", type: "http" }],
3452
3163
  url: "/api_keys/{id}",
3453
3164
  ...options
3454
3165
  });
3455
3166
  var patchApiKeysById = (options) => (options.client ?? client).patch({
3456
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3457
3167
  security: [{ scheme: "bearer", type: "http" }],
3458
3168
  url: "/api_keys/{id}",
3459
3169
  ...options,
@@ -3472,7 +3182,6 @@ var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
3472
3182
  }
3473
3183
  });
3474
3184
  var patchWatcherClaimsByIdRelease = (options) => (options.client ?? client).patch({
3475
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3476
3185
  security: [{ scheme: "bearer", type: "http" }],
3477
3186
  url: "/watcher/claims/{id}/release",
3478
3187
  ...options,
@@ -3482,19 +3191,11 @@ var patchWatcherClaimsByIdRelease = (options) => (options.client ?? client).patc
3482
3191
  }
3483
3192
  });
3484
3193
  var getAiConversations = (options) => (options.client ?? client).get({
3485
- querySerializer: {
3486
- parameters: {
3487
- filter: { object: { style: "form" } },
3488
- page: { object: { style: "form" } },
3489
- fields: { object: { style: "form" } }
3490
- }
3491
- },
3492
3194
  security: [{ scheme: "bearer", type: "http" }],
3493
3195
  url: "/ai/conversations",
3494
3196
  ...options
3495
3197
  });
3496
3198
  var postAiConversations = (options) => (options.client ?? client).post({
3497
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3498
3199
  security: [{ scheme: "bearer", type: "http" }],
3499
3200
  url: "/ai/conversations",
3500
3201
  ...options,
@@ -3504,7 +3205,6 @@ var postAiConversations = (options) => (options.client ?? client).post({
3504
3205
  }
3505
3206
  });
3506
3207
  var postAiSearch = (options) => (options.client ?? client).post({
3507
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3508
3208
  security: [{ scheme: "bearer", type: "http" }],
3509
3209
  url: "/ai/search",
3510
3210
  ...options,
@@ -3514,24 +3214,16 @@ var postAiSearch = (options) => (options.client ?? client).post({
3514
3214
  }
3515
3215
  });
3516
3216
  var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
3517
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3518
3217
  security: [{ scheme: "bearer", type: "http" }],
3519
3218
  url: "/ai/graph/nodes/{id}",
3520
3219
  ...options
3521
3220
  });
3522
3221
  var getWorkspacesShared = (options) => (options.client ?? client).get({
3523
- querySerializer: {
3524
- parameters: {
3525
- filter: { object: { style: "form" } },
3526
- fields: { object: { style: "form" } }
3527
- }
3528
- },
3529
3222
  security: [{ scheme: "bearer", type: "http" }],
3530
3223
  url: "/workspaces/shared",
3531
3224
  ...options
3532
3225
  });
3533
3226
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
3534
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3535
3227
  security: [{ scheme: "bearer", type: "http" }],
3536
3228
  url: "/wallet/addons/{addon_slug}/cancel",
3537
3229
  ...options,
@@ -3541,19 +3233,16 @@ var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client)
3541
3233
  }
3542
3234
  });
3543
3235
  var deleteApplicationsById = (options) => (options.client ?? client).delete({
3544
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3545
3236
  security: [{ scheme: "bearer", type: "http" }],
3546
3237
  url: "/applications/{id}",
3547
3238
  ...options
3548
3239
  });
3549
3240
  var getApplicationsById = (options) => (options.client ?? client).get({
3550
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3551
3241
  security: [{ scheme: "bearer", type: "http" }],
3552
3242
  url: "/applications/{id}",
3553
3243
  ...options
3554
3244
  });
3555
3245
  var patchApplicationsById = (options) => (options.client ?? client).patch({
3556
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3557
3246
  security: [{ scheme: "bearer", type: "http" }],
3558
3247
  url: "/applications/{id}",
3559
3248
  ...options,
@@ -3563,18 +3252,11 @@ var patchApplicationsById = (options) => (options.client ?? client).patch({
3563
3252
  }
3564
3253
  });
3565
3254
  var getSearchHealth = (options) => (options.client ?? client).get({
3566
- querySerializer: {
3567
- parameters: {
3568
- filter: { object: { style: "form" } },
3569
- fields: { object: { style: "form" } }
3570
- }
3571
- },
3572
3255
  security: [{ scheme: "bearer", type: "http" }],
3573
3256
  url: "/search/health",
3574
3257
  ...options
3575
3258
  });
3576
3259
  var patchExtractionDocumentsByIdVerification = (options) => (options.client ?? client).patch({
3577
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3578
3260
  security: [{ scheme: "bearer", type: "http" }],
3579
3261
  url: "/extraction/documents/{id}/verification",
3580
3262
  ...options,
@@ -3584,7 +3266,6 @@ var patchExtractionDocumentsByIdVerification = (options) => (options.client ?? c
3584
3266
  }
3585
3267
  });
3586
3268
  var postThreadsByIdFork = (options) => (options.client ?? client).post({
3587
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3588
3269
  security: [{ scheme: "bearer", type: "http" }],
3589
3270
  url: "/threads/{id}/fork",
3590
3271
  ...options,
@@ -3594,7 +3275,6 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3594
3275
  }
3595
3276
  });
3596
3277
  var postExtractionDocumentsFindOrBeginUpload = (options) => (options.client ?? client).post({
3597
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3598
3278
  security: [{ scheme: "bearer", type: "http" }],
3599
3279
  url: "/extraction/documents/find_or_begin_upload",
3600
3280
  ...options,
@@ -3604,30 +3284,16 @@ var postExtractionDocumentsFindOrBeginUpload = (options) => (options.client ?? c
3604
3284
  }
3605
3285
  });
3606
3286
  var getTransactions = (options) => (options.client ?? client).get({
3607
- querySerializer: {
3608
- parameters: {
3609
- filter: { object: { style: "form" } },
3610
- fields: { object: { style: "form" } }
3611
- }
3612
- },
3613
3287
  security: [{ scheme: "bearer", type: "http" }],
3614
3288
  url: "/transactions",
3615
3289
  ...options
3616
3290
  });
3617
3291
  var getUserProfiles = (options) => (options.client ?? client).get({
3618
- querySerializer: {
3619
- parameters: {
3620
- filter: { object: { style: "form" } },
3621
- page: { object: { style: "form" } },
3622
- fields: { object: { style: "form" } }
3623
- }
3624
- },
3625
3292
  security: [{ scheme: "bearer", type: "http" }],
3626
3293
  url: "/user_profiles",
3627
3294
  ...options
3628
3295
  });
3629
3296
  var postUserProfiles = (options) => (options.client ?? client).post({
3630
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3631
3297
  security: [{ scheme: "bearer", type: "http" }],
3632
3298
  url: "/user_profiles",
3633
3299
  ...options,
@@ -3637,7 +3303,6 @@ var postUserProfiles = (options) => (options.client ?? client).post({
3637
3303
  }
3638
3304
  });
3639
3305
  var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
3640
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3641
3306
  security: [{ scheme: "bearer", type: "http" }],
3642
3307
  url: "/users/{id}/confirm-email",
3643
3308
  ...options,
@@ -3647,13 +3312,11 @@ var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
3647
3312
  }
3648
3313
  });
3649
3314
  var getThreadsSearch = (options) => (options.client ?? client).get({
3650
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3651
3315
  security: [{ scheme: "bearer", type: "http" }],
3652
3316
  url: "/threads/search",
3653
3317
  ...options
3654
3318
  });
3655
3319
  var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3656
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3657
3320
  security: [{ scheme: "bearer", type: "http" }],
3658
3321
  url: "/search/saved/{id}/run",
3659
3322
  ...options,
@@ -3663,7 +3326,6 @@ var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3663
3326
  }
3664
3327
  });
3665
3328
  var patchWalletPlan = (options) => (options.client ?? client).patch({
3666
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3667
3329
  security: [{ scheme: "bearer", type: "http" }],
3668
3330
  url: "/wallet/plan",
3669
3331
  ...options,
@@ -3673,13 +3335,11 @@ var patchWalletPlan = (options) => (options.client ?? client).patch({
3673
3335
  }
3674
3336
  });
3675
3337
  var getPlansSlugBySlug = (options) => (options.client ?? client).get({
3676
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3677
3338
  security: [{ scheme: "bearer", type: "http" }],
3678
3339
  url: "/plans/slug/{slug}",
3679
3340
  ...options
3680
3341
  });
3681
3342
  var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
3682
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3683
3343
  security: [{ scheme: "bearer", type: "http" }],
3684
3344
  url: "/extraction/documents/{id}/restore",
3685
3345
  ...options,
@@ -3689,24 +3349,16 @@ var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client
3689
3349
  }
3690
3350
  });
3691
3351
  var getLlmAnalyticsById = (options) => (options.client ?? client).get({
3692
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3693
3352
  security: [{ scheme: "bearer", type: "http" }],
3694
3353
  url: "/llm_analytics/{id}",
3695
3354
  ...options
3696
3355
  });
3697
3356
  var getPermissions = (options) => (options.client ?? client).get({
3698
- querySerializer: {
3699
- parameters: {
3700
- filter: { object: { style: "form" } },
3701
- fields: { object: { style: "form" } }
3702
- }
3703
- },
3704
3357
  security: [{ scheme: "bearer", type: "http" }],
3705
3358
  url: "/permissions",
3706
3359
  ...options
3707
3360
  });
3708
3361
  var patchUserProfilesByIdAcceptTos = (options) => (options.client ?? client).patch({
3709
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3710
3362
  security: [{ scheme: "bearer", type: "http" }],
3711
3363
  url: "/user_profiles/{id}/accept-tos",
3712
3364
  ...options,
@@ -3716,7 +3368,6 @@ var patchUserProfilesByIdAcceptTos = (options) => (options.client ?? client).pat
3716
3368
  }
3717
3369
  });
3718
3370
  var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? client).patch({
3719
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3720
3371
  security: [{ scheme: "bearer", type: "http" }],
3721
3372
  url: "/extraction/documents/{id}/mark_trained",
3722
3373
  ...options,
@@ -3726,7 +3377,6 @@ var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? cl
3726
3377
  }
3727
3378
  });
3728
3379
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
3729
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3730
3380
  security: [{ scheme: "bearer", type: "http" }],
3731
3381
  url: "/applications/{id}/grant-credits",
3732
3382
  ...options,
@@ -3736,29 +3386,16 @@ var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).
3736
3386
  }
3737
3387
  });
3738
3388
  var getSearchStatus = (options) => (options.client ?? client).get({
3739
- querySerializer: {
3740
- parameters: {
3741
- filter: { object: { style: "form" } },
3742
- fields: { object: { style: "form" } }
3743
- }
3744
- },
3745
3389
  security: [{ scheme: "bearer", type: "http" }],
3746
3390
  url: "/search/status",
3747
3391
  ...options
3748
3392
  });
3749
3393
  var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
3750
- querySerializer: {
3751
- parameters: {
3752
- filter: { object: { style: "form" } },
3753
- fields: { object: { style: "form" } }
3754
- }
3755
- },
3756
3394
  security: [{ scheme: "bearer", type: "http" }],
3757
3395
  url: "/tenants/{tenant_id}/workspace_stats",
3758
3396
  ...options
3759
3397
  });
3760
3398
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
3761
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3762
3399
  security: [{ scheme: "bearer", type: "http" }],
3763
3400
  url: "/api_keys/{id}/allocate",
3764
3401
  ...options,
@@ -3768,13 +3405,11 @@ var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
3768
3405
  }
3769
3406
  });
3770
3407
  var getWatcherClaimsById = (options) => (options.client ?? client).get({
3771
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3772
3408
  security: [{ scheme: "bearer", type: "http" }],
3773
3409
  url: "/watcher/claims/{id}",
3774
3410
  ...options
3775
3411
  });
3776
3412
  var patchWatcherClaimsById = (options) => (options.client ?? client).patch({
3777
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3778
3413
  security: [{ scheme: "bearer", type: "http" }],
3779
3414
  url: "/watcher/claims/{id}",
3780
3415
  ...options,
@@ -3784,7 +3419,6 @@ var patchWatcherClaimsById = (options) => (options.client ?? client).patch({
3784
3419
  }
3785
3420
  });
3786
3421
  var postUsersAuthLogin = (options) => (options.client ?? client).post({
3787
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3788
3422
  security: [{ scheme: "bearer", type: "http" }],
3789
3423
  url: "/users/auth/login",
3790
3424
  ...options,
@@ -3794,19 +3428,11 @@ var postUsersAuthLogin = (options) => (options.client ?? client).post({
3794
3428
  }
3795
3429
  });
3796
3430
  var getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus = (options) => (options.client ?? client).get({
3797
- querySerializer: {
3798
- parameters: {
3799
- filter: { object: { style: "form" } },
3800
- page: { object: { style: "form" } },
3801
- fields: { object: { style: "form" } }
3802
- }
3803
- },
3804
3431
  security: [{ scheme: "bearer", type: "http" }],
3805
3432
  url: "/extraction/documents/workspace/{workspace_id}/by_status/{status}",
3806
3433
  ...options
3807
3434
  });
3808
3435
  var postAiEmbed = (options) => (options.client ?? client).post({
3809
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3810
3436
  security: [{ scheme: "bearer", type: "http" }],
3811
3437
  url: "/ai/embed",
3812
3438
  ...options,
@@ -3825,18 +3451,11 @@ var postWebhookConfigsByIdReplay = (options) => (options.client ?? client).post(
3825
3451
  }
3826
3452
  });
3827
3453
  var getWorkspacesMine = (options) => (options.client ?? client).get({
3828
- querySerializer: {
3829
- parameters: {
3830
- filter: { object: { style: "form" } },
3831
- fields: { object: { style: "form" } }
3832
- }
3833
- },
3834
3454
  security: [{ scheme: "bearer", type: "http" }],
3835
3455
  url: "/workspaces/mine",
3836
3456
  ...options
3837
3457
  });
3838
3458
  var postTenantsIsv = (options) => (options.client ?? client).post({
3839
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3840
3459
  security: [{ scheme: "bearer", type: "http" }],
3841
3460
  url: "/tenants/isv",
3842
3461
  ...options,
@@ -3846,7 +3465,6 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
3846
3465
  }
3847
3466
  });
3848
3467
  var postSearchReindex = (options) => (options.client ?? client).post({
3849
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3850
3468
  security: [{ scheme: "bearer", type: "http" }],
3851
3469
  url: "/search/reindex",
3852
3470
  ...options,
@@ -3856,7 +3474,6 @@ var postSearchReindex = (options) => (options.client ?? client).post({
3856
3474
  }
3857
3475
  });
3858
3476
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
3859
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3860
3477
  security: [{ scheme: "bearer", type: "http" }],
3861
3478
  url: "/extraction/results/{id}/regenerate",
3862
3479
  ...options,
@@ -3866,7 +3483,6 @@ var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? clien
3866
3483
  }
3867
3484
  });
3868
3485
  var postUsersAuthConfirm = (options) => (options.client ?? client).post({
3869
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3870
3486
  security: [{ scheme: "bearer", type: "http" }],
3871
3487
  url: "/users/auth/confirm",
3872
3488
  ...options,
@@ -3876,18 +3492,11 @@ var postUsersAuthConfirm = (options) => (options.client ?? client).post({
3876
3492
  }
3877
3493
  });
3878
3494
  var getStorageStats = (options) => (options.client ?? client).get({
3879
- querySerializer: {
3880
- parameters: {
3881
- filter: { object: { style: "form" } },
3882
- fields: { object: { style: "form" } }
3883
- }
3884
- },
3885
3495
  security: [{ scheme: "bearer", type: "http" }],
3886
3496
  url: "/storage/stats",
3887
3497
  ...options
3888
3498
  });
3889
3499
  var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
3890
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3891
3500
  security: [{ scheme: "bearer", type: "http" }],
3892
3501
  url: "/tenants/{id}/buy-storage",
3893
3502
  ...options,
@@ -3897,19 +3506,11 @@ var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
3897
3506
  }
3898
3507
  });
3899
3508
  var getWorkspaceMemberships = (options) => (options.client ?? client).get({
3900
- querySerializer: {
3901
- parameters: {
3902
- filter: { object: { style: "form" } },
3903
- page: { object: { style: "form" } },
3904
- fields: { object: { style: "form" } }
3905
- }
3906
- },
3907
3509
  security: [{ scheme: "bearer", type: "http" }],
3908
3510
  url: "/workspace-memberships",
3909
3511
  ...options
3910
3512
  });
3911
3513
  var postWorkspaceMemberships = (options) => (options.client ?? client).post({
3912
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3913
3514
  security: [{ scheme: "bearer", type: "http" }],
3914
3515
  url: "/workspace-memberships",
3915
3516
  ...options,
@@ -3919,7 +3520,6 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
3919
3520
  }
3920
3521
  });
3921
3522
  var patchApiKeysByIdResetPeriod = (options) => (options.client ?? client).patch({
3922
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3923
3523
  security: [{ scheme: "bearer", type: "http" }],
3924
3524
  url: "/api_keys/{id}/reset-period",
3925
3525
  ...options,
@@ -3929,25 +3529,16 @@ var patchApiKeysByIdResetPeriod = (options) => (options.client ?? client).patch(
3929
3529
  }
3930
3530
  });
3931
3531
  var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
3932
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3933
3532
  security: [{ scheme: "bearer", type: "http" }],
3934
3533
  url: "/tenants/{tenant_id}/document_stats",
3935
3534
  ...options
3936
3535
  });
3937
3536
  var getSearchAnalytics = (options) => (options.client ?? client).get({
3938
- querySerializer: {
3939
- parameters: {
3940
- filter: { object: { style: "form" } },
3941
- page: { object: { style: "form" } },
3942
- fields: { object: { style: "form" } }
3943
- }
3944
- },
3945
3537
  security: [{ scheme: "bearer", type: "http" }],
3946
3538
  url: "/search/analytics",
3947
3539
  ...options
3948
3540
  });
3949
3541
  var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
3950
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3951
3542
  security: [{ scheme: "bearer", type: "http" }],
3952
3543
  url: "/users/auth/magic_link/request",
3953
3544
  ...options,
@@ -3957,18 +3548,11 @@ var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post
3957
3548
  }
3958
3549
  });
3959
3550
  var getPermissionsPresetsById = (options) => (options.client ?? client).get({
3960
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3961
3551
  security: [{ scheme: "bearer", type: "http" }],
3962
3552
  url: "/permissions/presets/{id}",
3963
3553
  ...options
3964
3554
  });
3965
3555
  var getPermissionsPresets = (options) => (options.client ?? client).get({
3966
- querySerializer: {
3967
- parameters: {
3968
- filter: { object: { style: "form" } },
3969
- fields: { object: { style: "form" } }
3970
- }
3971
- },
3972
3556
  security: [{ scheme: "bearer", type: "http" }],
3973
3557
  url: "/permissions/presets",
3974
3558
  ...options
@@ -3983,7 +3567,6 @@ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).pos
3983
3567
  }
3984
3568
  });
3985
3569
  var postUsersAuthRegister = (options) => (options.client ?? client).post({
3986
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3987
3570
  security: [{ scheme: "bearer", type: "http" }],
3988
3571
  url: "/users/auth/register",
3989
3572
  ...options,
@@ -4006,20 +3589,36 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
4006
3589
  url: "/agents/{id}/schema_versions/{version_id}/activate",
4007
3590
  ...options
4008
3591
  });
3592
+ var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
3593
+ security: [{ scheme: "bearer", type: "http" }],
3594
+ url: "/payment-methods/{id}",
3595
+ ...options
3596
+ });
3597
+ var getPaymentMethodsById = (options) => (options.client ?? client).get({
3598
+ security: [{ scheme: "bearer", type: "http" }],
3599
+ url: "/payment-methods/{id}",
3600
+ ...options
3601
+ });
3602
+ var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
3603
+ security: [{ scheme: "bearer", type: "http" }],
3604
+ url: "/payment-methods/{id}",
3605
+ ...options,
3606
+ headers: {
3607
+ "Content-Type": "application/vnd.api+json",
3608
+ ...options.headers
3609
+ }
3610
+ });
4009
3611
  var deleteBucketsById = (options) => (options.client ?? client).delete({
4010
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4011
3612
  security: [{ scheme: "bearer", type: "http" }],
4012
3613
  url: "/buckets/{id}",
4013
3614
  ...options
4014
3615
  });
4015
3616
  var getBucketsById = (options) => (options.client ?? client).get({
4016
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4017
3617
  security: [{ scheme: "bearer", type: "http" }],
4018
3618
  url: "/buckets/{id}",
4019
3619
  ...options
4020
3620
  });
4021
3621
  var patchBucketsById = (options) => (options.client ?? client).patch({
4022
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4023
3622
  security: [{ scheme: "bearer", type: "http" }],
4024
3623
  url: "/buckets/{id}",
4025
3624
  ...options,
@@ -4029,35 +3628,21 @@ var patchBucketsById = (options) => (options.client ?? client).patch({
4029
3628
  }
4030
3629
  });
4031
3630
  var getPermissionsById = (options) => (options.client ?? client).get({
4032
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4033
3631
  security: [{ scheme: "bearer", type: "http" }],
4034
3632
  url: "/permissions/{id}",
4035
3633
  ...options
4036
3634
  });
4037
3635
  var getAiGraphNodesBySourceNodeIdRelated = (options) => (options.client ?? client).get({
4038
- querySerializer: {
4039
- parameters: {
4040
- filter: { object: { style: "form" } },
4041
- fields: { object: { style: "form" } }
4042
- }
4043
- },
4044
3636
  security: [{ scheme: "bearer", type: "http" }],
4045
3637
  url: "/ai/graph/nodes/{source_node_id}/related",
4046
3638
  ...options
4047
3639
  });
4048
3640
  var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
4049
- querySerializer: {
4050
- parameters: {
4051
- filter: { object: { style: "form" } },
4052
- fields: { object: { style: "form" } }
4053
- }
4054
- },
4055
3641
  security: [{ scheme: "bearer", type: "http" }],
4056
3642
  url: "/extraction/documents/workspace/{workspace_id}",
4057
3643
  ...options
4058
3644
  });
4059
3645
  var patchApplicationsByIdAllocateCredits = (options) => (options.client ?? client).patch({
4060
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4061
3646
  security: [{ scheme: "bearer", type: "http" }],
4062
3647
  url: "/applications/{id}/allocate-credits",
4063
3648
  ...options,
@@ -4067,30 +3652,16 @@ var patchApplicationsByIdAllocateCredits = (options) => (options.client ?? clien
4067
3652
  }
4068
3653
  });
4069
3654
  var getExtractionResultsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
4070
- querySerializer: {
4071
- parameters: {
4072
- filter: { object: { style: "form" } },
4073
- page: { object: { style: "form" } },
4074
- fields: { object: { style: "form" } }
4075
- }
4076
- },
4077
3655
  security: [{ scheme: "bearer", type: "http" }],
4078
3656
  url: "/extraction/results/workspace/{workspace_id}",
4079
3657
  ...options
4080
3658
  });
4081
3659
  var getSearchAnalyticsSummary = (options) => (options.client ?? client).get({
4082
- querySerializer: {
4083
- parameters: {
4084
- filter: { object: { style: "form" } },
4085
- fields: { object: { style: "form" } }
4086
- }
4087
- },
4088
3660
  security: [{ scheme: "bearer", type: "http" }],
4089
3661
  url: "/search/analytics/summary",
4090
3662
  ...options
4091
3663
  });
4092
3664
  var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
4093
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4094
3665
  security: [{ scheme: "bearer", type: "http" }],
4095
3666
  url: "/extraction/documents/begin_upload",
4096
3667
  ...options,
@@ -4100,25 +3671,21 @@ var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client)
4100
3671
  }
4101
3672
  });
4102
3673
  var deleteAiGraphEdgesById = (options) => (options.client ?? client).delete({
4103
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4104
3674
  security: [{ scheme: "bearer", type: "http" }],
4105
3675
  url: "/ai/graph/edges/{id}",
4106
3676
  ...options
4107
3677
  });
4108
3678
  var deleteTenantsById = (options) => (options.client ?? client).delete({
4109
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4110
3679
  security: [{ scheme: "bearer", type: "http" }],
4111
3680
  url: "/tenants/{id}",
4112
3681
  ...options
4113
3682
  });
4114
3683
  var getTenantsById = (options) => (options.client ?? client).get({
4115
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4116
3684
  security: [{ scheme: "bearer", type: "http" }],
4117
3685
  url: "/tenants/{id}",
4118
3686
  ...options
4119
3687
  });
4120
3688
  var patchTenantsById = (options) => (options.client ?? client).patch({
4121
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4122
3689
  security: [{ scheme: "bearer", type: "http" }],
4123
3690
  url: "/tenants/{id}",
4124
3691
  ...options,
@@ -4128,19 +3695,11 @@ var patchTenantsById = (options) => (options.client ?? client).patch({
4128
3695
  }
4129
3696
  });
4130
3697
  var getPlans = (options) => (options.client ?? client).get({
4131
- querySerializer: {
4132
- parameters: {
4133
- filter: { object: { style: "form" } },
4134
- page: { object: { style: "form" } },
4135
- fields: { object: { style: "form" } }
4136
- }
4137
- },
4138
3698
  security: [{ scheme: "bearer", type: "http" }],
4139
3699
  url: "/plans",
4140
3700
  ...options
4141
3701
  });
4142
3702
  var postAgentsByIdTest = (options) => (options.client ?? client).post({
4143
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4144
3703
  security: [{ scheme: "bearer", type: "http" }],
4145
3704
  url: "/agents/{id}/test",
4146
3705
  ...options,
@@ -4159,24 +3718,16 @@ var postAgentVersionsByIdAddSystemField = (options) => (options.client ?? client
4159
3718
  }
4160
3719
  });
4161
3720
  var getExtractionDocuments = (options) => (options.client ?? client).get({
4162
- querySerializer: {
4163
- parameters: {
4164
- filter: { object: { style: "form" } },
4165
- fields: { object: { style: "form" } }
4166
- }
4167
- },
4168
3721
  security: [{ scheme: "bearer", type: "http" }],
4169
3722
  url: "/extraction/documents",
4170
3723
  ...options
4171
3724
  });
4172
3725
  var deleteTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).delete({
4173
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4174
3726
  security: [{ scheme: "bearer", type: "http" }],
4175
3727
  url: "/tenant-memberships/{tenant_id}/{user_id}",
4176
3728
  ...options
4177
3729
  });
4178
3730
  var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).patch({
4179
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4180
3731
  security: [{ scheme: "bearer", type: "http" }],
4181
3732
  url: "/tenant-memberships/{tenant_id}/{user_id}",
4182
3733
  ...options,
@@ -4186,7 +3737,6 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
4186
3737
  }
4187
3738
  });
4188
3739
  var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
4189
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4190
3740
  security: [{ scheme: "bearer", type: "http" }],
4191
3741
  url: "/webhook_configs/{id}/rotate_secret",
4192
3742
  ...options,
@@ -4195,19 +3745,17 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
4195
3745
  ...options.headers
4196
3746
  }
4197
3747
  });
3748
+ var getAgentVersionsByIdRevisions = (options) => (options.client ?? client).get({
3749
+ security: [{ scheme: "bearer", type: "http" }],
3750
+ url: "/agent_versions/{id}/revisions",
3751
+ ...options
3752
+ });
4198
3753
  var getAuditLogsActivity = (options) => (options.client ?? client).get({
4199
- querySerializer: {
4200
- parameters: {
4201
- filter: { object: { style: "form" } },
4202
- fields: { object: { style: "form" } }
4203
- }
4204
- },
4205
3754
  security: [{ scheme: "bearer", type: "http" }],
4206
3755
  url: "/audit-logs/activity",
4207
3756
  ...options
4208
3757
  });
4209
3758
  var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
4210
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4211
3759
  security: [{ scheme: "bearer", type: "http" }],
4212
3760
  url: "/users/auth/resend-confirmation",
4213
3761
  ...options,
@@ -4217,29 +3765,16 @@ var postUsersAuthResendConfirmation = (options) => (options.client ?? client).po
4217
3765
  }
4218
3766
  });
4219
3767
  var getWorkspacesAnalyticsBatch = (options) => (options.client ?? client).get({
4220
- querySerializer: {
4221
- parameters: {
4222
- filter: { object: { style: "form" } },
4223
- fields: { object: { style: "form" } }
4224
- }
4225
- },
4226
3768
  security: [{ scheme: "bearer", type: "http" }],
4227
3769
  url: "/workspaces/analytics-batch",
4228
3770
  ...options
4229
3771
  });
4230
3772
  var getFieldTemplates = (options) => (options.client ?? client).get({
4231
- querySerializer: {
4232
- parameters: {
4233
- filter: { object: { style: "form" } },
4234
- fields: { object: { style: "form" } }
4235
- }
4236
- },
4237
3773
  security: [{ scheme: "bearer", type: "http" }],
4238
3774
  url: "/field_templates",
4239
3775
  ...options
4240
3776
  });
4241
3777
  var postFieldTemplates = (options) => (options.client ?? client).post({
4242
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4243
3778
  security: [{ scheme: "bearer", type: "http" }],
4244
3779
  url: "/field_templates",
4245
3780
  ...options,
@@ -4249,19 +3784,11 @@ var postFieldTemplates = (options) => (options.client ?? client).post({
4249
3784
  }
4250
3785
  });
4251
3786
  var getAiMessages = (options) => (options.client ?? client).get({
4252
- querySerializer: {
4253
- parameters: {
4254
- filter: { object: { style: "form" } },
4255
- page: { object: { style: "form" } },
4256
- fields: { object: { style: "form" } }
4257
- }
4258
- },
4259
3787
  security: [{ scheme: "bearer", type: "http" }],
4260
3788
  url: "/ai/messages",
4261
3789
  ...options
4262
3790
  });
4263
3791
  var postAiMessages = (options) => (options.client ?? client).post({
4264
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4265
3792
  security: [{ scheme: "bearer", type: "http" }],
4266
3793
  url: "/ai/messages",
4267
3794
  ...options,
@@ -4271,13 +3798,6 @@ var postAiMessages = (options) => (options.client ?? client).post({
4271
3798
  }
4272
3799
  });
4273
3800
  var getWatcherEvents = (options) => (options.client ?? client).get({
4274
- querySerializer: {
4275
- parameters: {
4276
- filter: { object: { style: "form" } },
4277
- page: { object: { style: "form" } },
4278
- fields: { object: { style: "form" } }
4279
- }
4280
- },
4281
3801
  security: [{ scheme: "bearer", type: "http" }],
4282
3802
  url: "/watcher/events",
4283
3803
  ...options
@@ -4292,7 +3812,6 @@ var postWatcherEvents = (options) => (options.client ?? client).post({
4292
3812
  }
4293
3813
  });
4294
3814
  var postStorageSignUpload = (options) => (options.client ?? client).post({
4295
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4296
3815
  security: [{ scheme: "bearer", type: "http" }],
4297
3816
  url: "/storage/sign_upload",
4298
3817
  ...options,
@@ -4302,7 +3821,6 @@ var postStorageSignUpload = (options) => (options.client ?? client).post({
4302
3821
  }
4303
3822
  });
4304
3823
  var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
4305
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4306
3824
  security: [{ scheme: "bearer", type: "http" }],
4307
3825
  url: "/webhook_deliveries/{id}/retry",
4308
3826
  ...options,
@@ -4312,19 +3830,11 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
4312
3830
  }
4313
3831
  });
4314
3832
  var getNotificationMethods = (options) => (options.client ?? client).get({
4315
- querySerializer: {
4316
- parameters: {
4317
- filter: { object: { style: "form" } },
4318
- page: { object: { style: "form" } },
4319
- fields: { object: { style: "form" } }
4320
- }
4321
- },
4322
3833
  security: [{ scheme: "bearer", type: "http" }],
4323
3834
  url: "/notification_methods",
4324
3835
  ...options
4325
3836
  });
4326
3837
  var postNotificationMethods = (options) => (options.client ?? client).post({
4327
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4328
3838
  security: [{ scheme: "bearer", type: "http" }],
4329
3839
  url: "/notification_methods",
4330
3840
  ...options,
@@ -4333,8 +3843,12 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
4333
3843
  ...options.headers
4334
3844
  }
4335
3845
  });
3846
+ var getWalletPlanPreview = (options) => (options.client ?? client).get({
3847
+ security: [{ scheme: "bearer", type: "http" }],
3848
+ url: "/wallet/plan/preview",
3849
+ ...options
3850
+ });
4336
3851
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
4337
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4338
3852
  security: [{ scheme: "bearer", type: "http" }],
4339
3853
  url: "/threads/{id}/summarize",
4340
3854
  ...options,
@@ -4344,7 +3858,6 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
4344
3858
  }
4345
3859
  });
4346
3860
  var patchConfigsByKey = (options) => (options.client ?? client).patch({
4347
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4348
3861
  security: [{ scheme: "bearer", type: "http" }],
4349
3862
  url: "/configs/{key}",
4350
3863
  ...options,
@@ -4354,7 +3867,6 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
4354
3867
  }
4355
3868
  });
4356
3869
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
4357
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4358
3870
  security: [{ scheme: "bearer", type: "http" }],
4359
3871
  url: "/api_keys/{id}/rotate",
4360
3872
  ...options,
@@ -4363,18 +3875,12 @@ var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
4363
3875
  ...options.headers
4364
3876
  }
4365
3877
  });
4366
- var postExtractionResults = (options) => (options.client ?? client).post({
4367
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3878
+ var getExtractionResults = (options) => (options.client ?? client).get({
4368
3879
  security: [{ scheme: "bearer", type: "http" }],
4369
3880
  url: "/extraction/results",
4370
- ...options,
4371
- headers: {
4372
- "Content-Type": "application/vnd.api+json",
4373
- ...options.headers
4374
- }
3881
+ ...options
4375
3882
  });
4376
3883
  var postAgentsByIdClone = (options) => (options.client ?? client).post({
4377
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4378
3884
  security: [{ scheme: "bearer", type: "http" }],
4379
3885
  url: "/agents/{id}/clone",
4380
3886
  ...options,
@@ -4384,19 +3890,16 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
4384
3890
  }
4385
3891
  });
4386
3892
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
4387
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4388
3893
  security: [{ scheme: "bearer", type: "http" }],
4389
3894
  url: "/ai/conversations/{id}",
4390
3895
  ...options
4391
3896
  });
4392
3897
  var getAiConversationsById = (options) => (options.client ?? client).get({
4393
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4394
3898
  security: [{ scheme: "bearer", type: "http" }],
4395
3899
  url: "/ai/conversations/{id}",
4396
3900
  ...options
4397
3901
  });
4398
3902
  var patchAiConversationsById = (options) => (options.client ?? client).patch({
4399
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4400
3903
  security: [{ scheme: "bearer", type: "http" }],
4401
3904
  url: "/ai/conversations/{id}",
4402
3905
  ...options,
@@ -4406,19 +3909,16 @@ var patchAiConversationsById = (options) => (options.client ?? client).patch({
4406
3909
  }
4407
3910
  });
4408
3911
  var deleteUserProfilesById = (options) => (options.client ?? client).delete({
4409
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4410
3912
  security: [{ scheme: "bearer", type: "http" }],
4411
3913
  url: "/user_profiles/{id}",
4412
3914
  ...options
4413
3915
  });
4414
3916
  var getUserProfilesById = (options) => (options.client ?? client).get({
4415
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4416
3917
  security: [{ scheme: "bearer", type: "http" }],
4417
3918
  url: "/user_profiles/{id}",
4418
3919
  ...options
4419
3920
  });
4420
3921
  var patchUserProfilesById = (options) => (options.client ?? client).patch({
4421
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4422
3922
  security: [{ scheme: "bearer", type: "http" }],
4423
3923
  url: "/user_profiles/{id}",
4424
3924
  ...options,
@@ -4428,12 +3928,6 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
4428
3928
  }
4429
3929
  });
4430
3930
  var getInvitationsMe = (options) => (options.client ?? client).get({
4431
- querySerializer: {
4432
- parameters: {
4433
- filter: { object: { style: "form" } },
4434
- fields: { object: { style: "form" } }
4435
- }
4436
- },
4437
3931
  security: [{ scheme: "bearer", type: "http" }],
4438
3932
  url: "/invitations/me",
4439
3933
  ...options
@@ -4448,7 +3942,6 @@ var patchAgentsByIdSchemaVersionsByVersionId = (options) => (options.client ?? c
4448
3942
  }
4449
3943
  });
4450
3944
  var postSearchBatch = (options) => (options.client ?? client).post({
4451
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4452
3945
  security: [{ scheme: "bearer", type: "http" }],
4453
3946
  url: "/search/batch",
4454
3947
  ...options,
@@ -4463,43 +3956,26 @@ var getThreadsWorkspaceStats = (options) => (options.client ?? client).get({
4463
3956
  ...options
4464
3957
  });
4465
3958
  var deleteObjectsById = (options) => (options.client ?? client).delete({
4466
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4467
3959
  security: [{ scheme: "bearer", type: "http" }],
4468
3960
  url: "/objects/{id}",
4469
3961
  ...options
4470
3962
  });
4471
3963
  var getObjectsById = (options) => (options.client ?? client).get({
4472
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4473
3964
  security: [{ scheme: "bearer", type: "http" }],
4474
3965
  url: "/objects/{id}",
4475
3966
  ...options
4476
3967
  });
4477
3968
  var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
4478
- querySerializer: {
4479
- parameters: {
4480
- filter: { object: { style: "form" } },
4481
- page: { object: { style: "form" } },
4482
- fields: { object: { style: "form" } }
4483
- }
4484
- },
4485
3969
  security: [{ scheme: "bearer", type: "http" }],
4486
3970
  url: "/extraction/documents/workspace/{workspace_id}/excluded",
4487
3971
  ...options
4488
3972
  });
4489
3973
  var getWebhookConfigs = (options) => (options.client ?? client).get({
4490
- querySerializer: {
4491
- parameters: {
4492
- filter: { object: { style: "form" } },
4493
- page: { object: { style: "form" } },
4494
- fields: { object: { style: "form" } }
4495
- }
4496
- },
4497
3974
  security: [{ scheme: "bearer", type: "http" }],
4498
3975
  url: "/webhook_configs",
4499
3976
  ...options
4500
3977
  });
4501
3978
  var postWebhookConfigs = (options) => (options.client ?? client).post({
4502
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4503
3979
  security: [{ scheme: "bearer", type: "http" }],
4504
3980
  url: "/webhook_configs",
4505
3981
  ...options,
@@ -4509,7 +3985,6 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
4509
3985
  }
4510
3986
  });
4511
3987
  var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
4512
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4513
3988
  security: [{ scheme: "bearer", type: "http" }],
4514
3989
  url: "/agents/{id}/publish_version",
4515
3990
  ...options,
@@ -4519,7 +3994,6 @@ var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post(
4519
3994
  }
4520
3995
  });
4521
3996
  var postExtractionDocumentsBulkReprocess = (options) => (options.client ?? client).post({
4522
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4523
3997
  security: [{ scheme: "bearer", type: "http" }],
4524
3998
  url: "/extraction/documents/bulk-reprocess",
4525
3999
  ...options,
@@ -4529,7 +4003,6 @@ var postExtractionDocumentsBulkReprocess = (options) => (options.client ?? clien
4529
4003
  }
4530
4004
  });
4531
4005
  var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
4532
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4533
4006
  security: [{ scheme: "bearer", type: "http" }],
4534
4007
  url: "/objects/bulk-destroy",
4535
4008
  ...options,
@@ -4539,42 +4012,31 @@ var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
4539
4012
  }
4540
4013
  });
4541
4014
  var getApplicationsBySlugBySlug = (options) => (options.client ?? client).get({
4542
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4543
4015
  security: [{ scheme: "bearer", type: "http" }],
4544
4016
  url: "/applications/by-slug/{slug}",
4545
4017
  ...options
4546
4018
  });
4547
4019
  var getNotificationLogs = (options) => (options.client ?? client).get({
4548
- querySerializer: {
4549
- parameters: {
4550
- filter: { object: { style: "form" } },
4551
- fields: { object: { style: "form" } }
4552
- }
4553
- },
4554
4020
  security: [{ scheme: "bearer", type: "http" }],
4555
4021
  url: "/notification_logs",
4556
4022
  ...options
4557
4023
  });
4558
4024
  var getWallet = (options) => (options.client ?? client).get({
4559
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4560
4025
  security: [{ scheme: "bearer", type: "http" }],
4561
4026
  url: "/wallet",
4562
4027
  ...options
4563
4028
  });
4564
4029
  var deleteMessagesById = (options) => (options.client ?? client).delete({
4565
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4566
4030
  security: [{ scheme: "bearer", type: "http" }],
4567
4031
  url: "/messages/{id}",
4568
4032
  ...options
4569
4033
  });
4570
4034
  var getMessagesById = (options) => (options.client ?? client).get({
4571
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4572
4035
  security: [{ scheme: "bearer", type: "http" }],
4573
4036
  url: "/messages/{id}",
4574
4037
  ...options
4575
4038
  });
4576
4039
  var patchMessagesById = (options) => (options.client ?? client).patch({
4577
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4578
4040
  security: [{ scheme: "bearer", type: "http" }],
4579
4041
  url: "/messages/{id}",
4580
4042
  ...options,
@@ -4593,36 +4055,26 @@ var postAgentsByIdDiscoverSchema = (options) => (options.client ?? client).post(
4593
4055
  }
4594
4056
  });
4595
4057
  var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
4596
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4597
4058
  security: [{ scheme: "bearer", type: "http" }],
4598
4059
  url: "/llm_analytics/usage",
4599
4060
  ...options
4600
4061
  });
4601
4062
  var getSearchStats = (options) => (options.client ?? client).get({
4602
- querySerializer: {
4603
- parameters: {
4604
- filter: { object: { style: "form" } },
4605
- fields: { object: { style: "form" } }
4606
- }
4607
- },
4608
4063
  security: [{ scheme: "bearer", type: "http" }],
4609
4064
  url: "/search/stats",
4610
4065
  ...options
4611
4066
  });
4612
4067
  var deleteNotificationPreferencesById = (options) => (options.client ?? client).delete({
4613
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4614
4068
  security: [{ scheme: "bearer", type: "http" }],
4615
4069
  url: "/notification_preferences/{id}",
4616
4070
  ...options
4617
4071
  });
4618
4072
  var getNotificationPreferencesById = (options) => (options.client ?? client).get({
4619
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4620
4073
  security: [{ scheme: "bearer", type: "http" }],
4621
4074
  url: "/notification_preferences/{id}",
4622
4075
  ...options
4623
4076
  });
4624
4077
  var patchNotificationPreferencesById = (options) => (options.client ?? client).patch({
4625
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4626
4078
  security: [{ scheme: "bearer", type: "http" }],
4627
4079
  url: "/notification_preferences/{id}",
4628
4080
  ...options,
@@ -4632,19 +4084,11 @@ var patchNotificationPreferencesById = (options) => (options.client ?? client).p
4632
4084
  }
4633
4085
  });
4634
4086
  var getAiGraphNodes = (options) => (options.client ?? client).get({
4635
- querySerializer: {
4636
- parameters: {
4637
- filter: { object: { style: "form" } },
4638
- page: { object: { style: "form" } },
4639
- fields: { object: { style: "form" } }
4640
- }
4641
- },
4642
4087
  security: [{ scheme: "bearer", type: "http" }],
4643
4088
  url: "/ai/graph/nodes",
4644
4089
  ...options
4645
4090
  });
4646
4091
  var postAiGraphNodes = (options) => (options.client ?? client).post({
4647
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4648
4092
  security: [{ scheme: "bearer", type: "http" }],
4649
4093
  url: "/ai/graph/nodes",
4650
4094
  ...options,
@@ -4654,19 +4098,11 @@ var postAiGraphNodes = (options) => (options.client ?? client).post({
4654
4098
  }
4655
4099
  });
4656
4100
  var getAgents = (options) => (options.client ?? client).get({
4657
- querySerializer: {
4658
- parameters: {
4659
- filter: { object: { style: "form" } },
4660
- page: { object: { style: "form" } },
4661
- fields: { object: { style: "form" } }
4662
- }
4663
- },
4664
4101
  security: [{ scheme: "bearer", type: "http" }],
4665
4102
  url: "/agents",
4666
4103
  ...options
4667
4104
  });
4668
4105
  var postAgents = (options) => (options.client ?? client).post({
4669
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4670
4106
  security: [{ scheme: "bearer", type: "http" }],
4671
4107
  url: "/agents",
4672
4108
  ...options,
@@ -4676,19 +4112,16 @@ var postAgents = (options) => (options.client ?? client).post({
4676
4112
  }
4677
4113
  });
4678
4114
  var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
4679
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4680
4115
  security: [{ scheme: "bearer", type: "http" }],
4681
4116
  url: "/applications/{application_id}/email-templates/{slug}",
4682
4117
  ...options
4683
4118
  });
4684
4119
  var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
4685
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4686
4120
  security: [{ scheme: "bearer", type: "http" }],
4687
4121
  url: "/applications/{application_id}/email-templates/{slug}",
4688
4122
  ...options
4689
4123
  });
4690
4124
  var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
4691
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4692
4125
  security: [{ scheme: "bearer", type: "http" }],
4693
4126
  url: "/applications/{application_id}/email-templates/{slug}",
4694
4127
  ...options,
@@ -4697,13 +4130,21 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
4697
4130
  ...options.headers
4698
4131
  }
4699
4132
  });
4133
+ var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
4134
+ security: [{ scheme: "bearer", type: "http" }],
4135
+ url: "/payment-methods/{id}/default",
4136
+ ...options,
4137
+ headers: {
4138
+ "Content-Type": "application/vnd.api+json",
4139
+ ...options.headers
4140
+ }
4141
+ });
4700
4142
  var postAgentsByIdExport = (options) => (options.client ?? client).post({
4701
4143
  security: [{ scheme: "bearer", type: "http" }],
4702
4144
  url: "/agents/{id}/export",
4703
4145
  ...options
4704
4146
  });
4705
4147
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
4706
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4707
4148
  security: [{ scheme: "bearer", type: "http" }],
4708
4149
  url: "/users/register_isv",
4709
4150
  ...options,
@@ -4713,31 +4154,21 @@ var postUsersRegisterIsv = (options) => (options.client ?? client).post({
4713
4154
  }
4714
4155
  });
4715
4156
  var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
4716
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4717
4157
  security: [{ scheme: "bearer", type: "http" }],
4718
4158
  url: "/extraction/batches/{id}",
4719
4159
  ...options
4720
4160
  });
4721
4161
  var getExtractionBatchesById = (options) => (options.client ?? client).get({
4722
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4723
4162
  security: [{ scheme: "bearer", type: "http" }],
4724
4163
  url: "/extraction/batches/{id}",
4725
4164
  ...options
4726
4165
  });
4727
4166
  var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
4728
- querySerializer: {
4729
- parameters: {
4730
- filter: { object: { style: "form" } },
4731
- page: { object: { style: "form" } },
4732
- fields: { object: { style: "form" } }
4733
- }
4734
- },
4735
4167
  security: [{ scheme: "bearer", type: "http" }],
4736
4168
  url: "/workspaces/{workspace_id}/extraction/exports",
4737
4169
  ...options
4738
4170
  });
4739
4171
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
4740
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4741
4172
  security: [{ scheme: "bearer", type: "http" }],
4742
4173
  url: "/workspaces/{workspace_id}/extraction/exports",
4743
4174
  ...options,
@@ -4747,13 +4178,11 @@ var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client
4747
4178
  }
4748
4179
  });
4749
4180
  var deleteWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).delete({
4750
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4751
4181
  security: [{ scheme: "bearer", type: "http" }],
4752
4182
  url: "/workspace-memberships/{workspace_id}/{user_id}",
4753
4183
  ...options
4754
4184
  });
4755
4185
  var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).patch({
4756
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4757
4186
  security: [{ scheme: "bearer", type: "http" }],
4758
4187
  url: "/workspace-memberships/{workspace_id}/{user_id}",
4759
4188
  ...options,
@@ -4762,50 +4191,36 @@ var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.clien
4762
4191
  ...options.headers
4763
4192
  }
4764
4193
  });
4194
+ var getExtractionConfigEnums = (options) => (options.client ?? client).get({
4195
+ security: [{ scheme: "bearer", type: "http" }],
4196
+ url: "/extraction/config-enums",
4197
+ ...options
4198
+ });
4199
+ var postExtractionConfigEnums = (options) => (options.client ?? client).post({
4200
+ security: [{ scheme: "bearer", type: "http" }],
4201
+ url: "/extraction/config-enums",
4202
+ ...options,
4203
+ headers: {
4204
+ "Content-Type": "application/vnd.api+json",
4205
+ ...options.headers
4206
+ }
4207
+ });
4765
4208
  var getExtractionDocumentsWorkspaceByWorkspaceIdTrashed = (options) => (options.client ?? client).get({
4766
- querySerializer: {
4767
- parameters: {
4768
- filter: { object: { style: "form" } },
4769
- page: { object: { style: "form" } },
4770
- fields: { object: { style: "form" } }
4771
- }
4772
- },
4773
4209
  security: [{ scheme: "bearer", type: "http" }],
4774
4210
  url: "/extraction/documents/workspace/{workspace_id}/trashed",
4775
4211
  ...options
4776
4212
  });
4777
4213
  var getCreditPackages = (options) => (options.client ?? client).get({
4778
- querySerializer: {
4779
- parameters: {
4780
- filter: { object: { style: "form" } },
4781
- page: { object: { style: "form" } },
4782
- fields: { object: { style: "form" } }
4783
- }
4784
- },
4785
4214
  security: [{ scheme: "bearer", type: "http" }],
4786
4215
  url: "/credit-packages",
4787
4216
  ...options
4788
4217
  });
4789
4218
  var getUsers = (options) => (options.client ?? client).get({
4790
- querySerializer: {
4791
- parameters: {
4792
- filter: { object: { style: "form" } },
4793
- page: { object: { style: "form" } },
4794
- fields: { object: { style: "form" } }
4795
- }
4796
- },
4797
4219
  security: [{ scheme: "bearer", type: "http" }],
4798
4220
  url: "/users",
4799
4221
  ...options
4800
4222
  });
4801
4223
  var getObjects = (options) => (options.client ?? client).get({
4802
- querySerializer: {
4803
- parameters: {
4804
- filter: { object: { style: "form" } },
4805
- page: { object: { style: "form" } },
4806
- fields: { object: { style: "form" } }
4807
- }
4808
- },
4809
4224
  security: [{ scheme: "bearer", type: "http" }],
4810
4225
  url: "/objects",
4811
4226
  ...options
@@ -5417,11 +4832,13 @@ var index_default = gptCore;
5417
4832
  deleteBucketsById,
5418
4833
  deleteExtractionBatchesById,
5419
4834
  deleteExtractionDocumentsById,
4835
+ deleteExtractionResultsById,
5420
4836
  deleteFieldTemplatesById,
5421
4837
  deleteMessagesById,
5422
4838
  deleteNotificationMethodsById,
5423
4839
  deleteNotificationPreferencesById,
5424
4840
  deleteObjectsById,
4841
+ deletePaymentMethodsById,
5425
4842
  deleteSearchSavedById,
5426
4843
  deleteTenantMembershipsByTenantIdByUserId,
5427
4844
  deleteTenantsById,
@@ -5433,11 +4850,12 @@ var index_default = gptCore;
5433
4850
  deleteWebhookConfigsById,
5434
4851
  deleteWorkspaceMembershipsByWorkspaceIdByUserId,
5435
4852
  deleteWorkspacesById,
5436
- getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
4853
+ getAgentVersionRevisions,
5437
4854
  getAgentVersionRevisionsById,
5438
4855
  getAgentVersions,
5439
4856
  getAgentVersionsById,
5440
4857
  getAgentVersionsByIdMetrics,
4858
+ getAgentVersionsByIdRevisions,
5441
4859
  getAgents,
5442
4860
  getAgentsById,
5443
4861
  getAgentsByIdSchemaVersions,
@@ -5478,6 +4896,8 @@ var index_default = gptCore;
5478
4896
  getExtractionBatchesById,
5479
4897
  getExtractionBatchesByIdUploadUrls,
5480
4898
  getExtractionBatchesWorkspaceByWorkspaceId,
4899
+ getExtractionConfigEnums,
4900
+ getExtractionConfigEnumsById,
5481
4901
  getExtractionDocuments,
5482
4902
  getExtractionDocumentsById,
5483
4903
  getExtractionDocumentsByIdStatus,
@@ -5488,6 +4908,7 @@ var index_default = gptCore;
5488
4908
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
5489
4909
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
5490
4910
  getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
4911
+ getExtractionResults,
5491
4912
  getExtractionResultsById,
5492
4913
  getExtractionResultsDocumentByDocumentId,
5493
4914
  getExtractionResultsWorkspaceByWorkspaceId,
@@ -5517,6 +4938,8 @@ var index_default = gptCore;
5517
4938
  getNotificationPreferencesById,
5518
4939
  getObjects,
5519
4940
  getObjectsById,
4941
+ getPaymentMethods,
4942
+ getPaymentMethodsById,
5520
4943
  getPermissions,
5521
4944
  getPermissionsById,
5522
4945
  getPermissionsMeta,
@@ -5568,6 +4991,7 @@ var index_default = gptCore;
5568
4991
  getUsersMeTenants,
5569
4992
  getWallet,
5570
4993
  getWalletInvoices,
4994
+ getWalletPlanPreview,
5571
4995
  getWatcherClaims,
5572
4996
  getWatcherClaimsById,
5573
4997
  getWatcherClaimsHistory,
@@ -5611,6 +5035,7 @@ var index_default = gptCore;
5611
5035
  patchApplicationsByIdGrantCredits,
5612
5036
  patchBucketsById,
5613
5037
  patchConfigsByKey,
5038
+ patchExtractionConfigEnumsById,
5614
5039
  patchExtractionDocumentsByIdCancel,
5615
5040
  patchExtractionDocumentsByIdDismiss,
5616
5041
  patchExtractionDocumentsByIdDismissTraining,
@@ -5622,8 +5047,9 @@ var index_default = gptCore;
5622
5047
  patchExtractionDocumentsByIdRestore,
5623
5048
  patchExtractionDocumentsByIdStatus,
5624
5049
  patchExtractionDocumentsByIdVerification,
5625
- patchExtractionResultsByIdCorrections,
5050
+ patchExtractionResultsById,
5626
5051
  patchExtractionResultsByIdRegenerate,
5052
+ patchExtractionResultsByIdSaveCorrections,
5627
5053
  patchInvitationsByIdAccept,
5628
5054
  patchInvitationsByIdAcceptByUser,
5629
5055
  patchInvitationsByIdDecline,
@@ -5635,6 +5061,8 @@ var index_default = gptCore;
5635
5061
  patchNotificationMethodsByIdSetPrimary,
5636
5062
  patchNotificationMethodsByIdVerify,
5637
5063
  patchNotificationPreferencesById,
5064
+ patchPaymentMethodsById,
5065
+ patchPaymentMethodsByIdDefault,
5638
5066
  patchSearchSavedById,
5639
5067
  patchTenantMembershipsByTenantIdByUserId,
5640
5068
  patchTenantsById,
@@ -5704,11 +5132,11 @@ var index_default = gptCore;
5704
5132
  postDocumentsBulkDelete,
5705
5133
  postDocumentsPresignedUpload,
5706
5134
  postExtractionBatches,
5135
+ postExtractionConfigEnums,
5707
5136
  postExtractionDocumentsBeginUpload,
5708
5137
  postExtractionDocumentsBulkReprocess,
5709
5138
  postExtractionDocumentsFindOrBeginUpload,
5710
5139
  postExtractionDocumentsUpload,
5711
- postExtractionResults,
5712
5140
  postExtractionSchemaDiscoveries,
5713
5141
  postFieldTemplates,
5714
5142
  postInvitations,
@@ -5721,6 +5149,8 @@ var index_default = gptCore;
5721
5149
  postObjectsCopy,
5722
5150
  postObjectsMove,
5723
5151
  postObjectsRegister,
5152
+ postPaymentMethods,
5153
+ postPaymentMethodsTokenize,
5724
5154
  postPayments,
5725
5155
  postSearchBatch,
5726
5156
  postSearchReindex,