@gpt-core/client 0.6.96 → 0.6.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,3 +1,271 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // src/_internal/sdk.gen.ts
8
+ var sdk_gen_exports = {};
9
+ __export(sdk_gen_exports, {
10
+ deleteAgentsById: () => deleteAgentsById,
11
+ deleteAiConversationsById: () => deleteAiConversationsById,
12
+ deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
13
+ deleteAiGraphNodesById: () => deleteAiGraphNodesById,
14
+ deleteApiKeysById: () => deleteApiKeysById,
15
+ deleteApplicationsById: () => deleteApplicationsById,
16
+ deleteBucketsById: () => deleteBucketsById,
17
+ deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
18
+ deleteExtractionSchemaFieldsById: () => deleteExtractionSchemaFieldsById,
19
+ deleteFieldTemplatesById: () => deleteFieldTemplatesById,
20
+ deleteMessagesById: () => deleteMessagesById,
21
+ deleteNotificationMethodsById: () => deleteNotificationMethodsById,
22
+ deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
23
+ deleteObjectsById: () => deleteObjectsById,
24
+ deleteSearchSavedById: () => deleteSearchSavedById,
25
+ deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
26
+ deleteTenantsById: () => deleteTenantsById,
27
+ deleteThreadsById: () => deleteThreadsById,
28
+ deleteTrainingExamplesById: () => deleteTrainingExamplesById,
29
+ deleteTrainingSessionsById: () => deleteTrainingSessionsById,
30
+ deleteUserProfilesById: () => deleteUserProfilesById,
31
+ deleteWebhookConfigsById: () => deleteWebhookConfigsById,
32
+ deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
33
+ deleteWorkspacesById: () => deleteWorkspacesById,
34
+ getAgentVersions: () => getAgentVersions,
35
+ getAgentVersionsById: () => getAgentVersionsById,
36
+ getAgents: () => getAgents,
37
+ getAgentsById: () => getAgentsById,
38
+ getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
39
+ getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
40
+ getAiConversations: () => getAiConversations,
41
+ getAiConversationsById: () => getAiConversationsById,
42
+ getAiGraphEdges: () => getAiGraphEdges,
43
+ getAiGraphNodes: () => getAiGraphNodes,
44
+ getAiMessages: () => getAiMessages,
45
+ getApiKeys: () => getApiKeys,
46
+ getApiKeysById: () => getApiKeysById,
47
+ getApplications: () => getApplications,
48
+ getApplicationsById: () => getApplicationsById,
49
+ getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
50
+ getAuditLogs: () => getAuditLogs,
51
+ getBuckets: () => getBuckets,
52
+ getBucketsById: () => getBucketsById,
53
+ getBucketsByIdObjects: () => getBucketsByIdObjects,
54
+ getBucketsByIdStats: () => getBucketsByIdStats,
55
+ getConfigs: () => getConfigs,
56
+ getCreditPackages: () => getCreditPackages,
57
+ getCreditPackagesById: () => getCreditPackagesById,
58
+ getCreditPackagesSlugBySlug: () => getCreditPackagesSlugBySlug,
59
+ getDocumentsStats: () => getDocumentsStats,
60
+ getExtractionBatchesById: () => getExtractionBatchesById,
61
+ getExtractionBatchesByIdUploadUrls: () => getExtractionBatchesByIdUploadUrls,
62
+ getExtractionBatchesWorkspaceByWorkspaceId: () => getExtractionBatchesWorkspaceByWorkspaceId,
63
+ getExtractionDocuments: () => getExtractionDocuments,
64
+ getExtractionDocumentsById: () => getExtractionDocumentsById,
65
+ getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
66
+ getExtractionDocumentsByIdView: () => getExtractionDocumentsByIdView,
67
+ getExtractionDocumentsWorkspaceByWorkspaceId: () => getExtractionDocumentsWorkspaceByWorkspaceId,
68
+ getExtractionDocumentsWorkspaceByWorkspaceIdExcluded: () => getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
69
+ getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
70
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
71
+ getExtractionResultsById: () => getExtractionResultsById,
72
+ getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
73
+ getExtractionSchemaFields: () => getExtractionSchemaFields,
74
+ getExtractionSchemaFieldsById: () => getExtractionSchemaFieldsById,
75
+ getExtractionSchemas: () => getExtractionSchemas,
76
+ getExtractionSchemasById: () => getExtractionSchemasById,
77
+ getExtractionSchemasWorkspaceByWorkspaceId: () => getExtractionSchemasWorkspaceByWorkspaceId,
78
+ getFieldTemplates: () => getFieldTemplates,
79
+ getFieldTemplatesById: () => getFieldTemplatesById,
80
+ getInvitations: () => getInvitations,
81
+ getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
82
+ getLlmAnalytics: () => getLlmAnalytics,
83
+ getLlmAnalyticsById: () => getLlmAnalyticsById,
84
+ getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
85
+ getLlmAnalyticsPlatform: () => getLlmAnalyticsPlatform,
86
+ getLlmAnalyticsSummary: () => getLlmAnalyticsSummary,
87
+ getLlmAnalyticsUsage: () => getLlmAnalyticsUsage,
88
+ getLlmAnalyticsWorkspace: () => getLlmAnalyticsWorkspace,
89
+ getMessages: () => getMessages,
90
+ getMessagesById: () => getMessagesById,
91
+ getMessagesSearch: () => getMessagesSearch,
92
+ getNotificationLogs: () => getNotificationLogs,
93
+ getNotificationLogsById: () => getNotificationLogsById,
94
+ getNotificationMethods: () => getNotificationMethods,
95
+ getNotificationMethodsById: () => getNotificationMethodsById,
96
+ getNotificationPreferences: () => getNotificationPreferences,
97
+ getNotificationPreferencesById: () => getNotificationPreferencesById,
98
+ getObjects: () => getObjects,
99
+ getObjectsById: () => getObjectsById,
100
+ getPlans: () => getPlans,
101
+ getPlansById: () => getPlansById,
102
+ getPlansSlugBySlug: () => getPlansSlugBySlug,
103
+ getSearch: () => getSearch,
104
+ getSearchHealth: () => getSearchHealth,
105
+ getSearchIndexes: () => getSearchIndexes,
106
+ getSearchSaved: () => getSearchSaved,
107
+ getSearchSemantic: () => getSearchSemantic,
108
+ getSearchStats: () => getSearchStats,
109
+ getSearchStatus: () => getSearchStatus,
110
+ getStorageStats: () => getStorageStats,
111
+ getTenantMemberships: () => getTenantMemberships,
112
+ getTenants: () => getTenants,
113
+ getTenantsById: () => getTenantsById,
114
+ getTenantsByTenantIdDocumentStats: () => getTenantsByTenantIdDocumentStats,
115
+ getTenantsByTenantIdStats: () => getTenantsByTenantIdStats,
116
+ getTenantsByTenantIdWorkspaceStats: () => getTenantsByTenantIdWorkspaceStats,
117
+ getThreads: () => getThreads,
118
+ getThreadsById: () => getThreadsById,
119
+ getThreadsSearch: () => getThreadsSearch,
120
+ getTrainingExamples: () => getTrainingExamples,
121
+ getTrainingExamplesById: () => getTrainingExamplesById,
122
+ getTrainingSessionsAgentsByAgentIdSessions: () => getTrainingSessionsAgentsByAgentIdSessions,
123
+ getTrainingSessionsById: () => getTrainingSessionsById,
124
+ getTransactions: () => getTransactions,
125
+ getTransactionsById: () => getTransactionsById,
126
+ getUserProfiles: () => getUserProfiles,
127
+ getUserProfilesById: () => getUserProfilesById,
128
+ getUserProfilesMe: () => getUserProfilesMe,
129
+ getUsers: () => getUsers,
130
+ getUsersById: () => getUsersById,
131
+ getUsersMe: () => getUsersMe,
132
+ getWallet: () => getWallet,
133
+ getWebhookConfigs: () => getWebhookConfigs,
134
+ getWebhookConfigsById: () => getWebhookConfigsById,
135
+ getWebhookDeliveries: () => getWebhookDeliveries,
136
+ getWebhookDeliveriesById: () => getWebhookDeliveriesById,
137
+ getWorkspaceMemberships: () => getWorkspaceMemberships,
138
+ getWorkspaces: () => getWorkspaces,
139
+ getWorkspacesById: () => getWorkspacesById,
140
+ getWorkspacesByWorkspaceIdExtractionExports: () => getWorkspacesByWorkspaceIdExtractionExports,
141
+ getWorkspacesByWorkspaceIdExtractionExportsById: () => getWorkspacesByWorkspaceIdExtractionExportsById,
142
+ getWorkspacesByWorkspaceIdTrainingAnalytics: () => getWorkspacesByWorkspaceIdTrainingAnalytics,
143
+ getWorkspacesMine: () => getWorkspacesMine,
144
+ patchAgentsById: () => patchAgentsById,
145
+ patchApiKeysById: () => patchApiKeysById,
146
+ patchApiKeysByIdAllocate: () => patchApiKeysByIdAllocate,
147
+ patchApiKeysByIdRevoke: () => patchApiKeysByIdRevoke,
148
+ patchApiKeysByIdRotate: () => patchApiKeysByIdRotate,
149
+ patchApplicationsById: () => patchApplicationsById,
150
+ patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
151
+ patchBucketsById: () => patchBucketsById,
152
+ patchConfigsByKey: () => patchConfigsByKey,
153
+ patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
154
+ patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
155
+ patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
156
+ patchExtractionDocumentsByIdFinishUpload: () => patchExtractionDocumentsByIdFinishUpload,
157
+ patchExtractionDocumentsByIdInclude: () => patchExtractionDocumentsByIdInclude,
158
+ patchExtractionDocumentsByIdMarkTrained: () => patchExtractionDocumentsByIdMarkTrained,
159
+ patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
160
+ patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
161
+ patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
162
+ patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
163
+ patchExtractionSchemaFieldsById: () => patchExtractionSchemaFieldsById,
164
+ patchExtractionSchemasById: () => patchExtractionSchemasById,
165
+ patchExtractionSchemasByIdActivate: () => patchExtractionSchemasByIdActivate,
166
+ patchExtractionSchemasByIdFields: () => patchExtractionSchemasByIdFields,
167
+ patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
168
+ patchInvitationsByIdResend: () => patchInvitationsByIdResend,
169
+ patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
170
+ patchMessagesById: () => patchMessagesById,
171
+ patchNotificationMethodsById: () => patchNotificationMethodsById,
172
+ patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
173
+ patchNotificationPreferencesById: () => patchNotificationPreferencesById,
174
+ patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
175
+ patchTenantsById: () => patchTenantsById,
176
+ patchThreadsById: () => patchThreadsById,
177
+ patchTrainingExamplesById: () => patchTrainingExamplesById,
178
+ patchUserProfilesById: () => patchUserProfilesById,
179
+ patchUsersAuthResetPassword: () => patchUsersAuthResetPassword,
180
+ patchUsersByIdAdmin: () => patchUsersByIdAdmin,
181
+ patchUsersByIdAdminEmail: () => patchUsersByIdAdminEmail,
182
+ patchUsersByIdConfirmEmail: () => patchUsersByIdConfirmEmail,
183
+ patchUsersByIdResetPassword: () => patchUsersByIdResetPassword,
184
+ patchWalletAddons: () => patchWalletAddons,
185
+ patchWalletAddonsByAddonSlugCancel: () => patchWalletAddonsByAddonSlugCancel,
186
+ patchWalletCredits: () => patchWalletCredits,
187
+ patchWalletPlan: () => patchWalletPlan,
188
+ patchWebhookConfigsById: () => patchWebhookConfigsById,
189
+ patchWebhookConfigsByIdRotateSecret: () => patchWebhookConfigsByIdRotateSecret,
190
+ patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
191
+ patchWorkspacesById: () => patchWorkspacesById,
192
+ patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
193
+ postAgentVersions: () => postAgentVersions,
194
+ postAgents: () => postAgents,
195
+ postAgentsByIdClone: () => postAgentsByIdClone,
196
+ postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
197
+ postAgentsByIdTeach: () => postAgentsByIdTeach,
198
+ postAgentsByIdTest: () => postAgentsByIdTest,
199
+ postAgentsByIdValidate: () => postAgentsByIdValidate,
200
+ postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
201
+ postAgentsPredict: () => postAgentsPredict,
202
+ postAiChunksSearch: () => postAiChunksSearch,
203
+ postAiConversations: () => postAiConversations,
204
+ postAiEmbed: () => postAiEmbed,
205
+ postAiGraphEdges: () => postAiGraphEdges,
206
+ postAiGraphNodes: () => postAiGraphNodes,
207
+ postAiMessages: () => postAiMessages,
208
+ postAiSearch: () => postAiSearch,
209
+ postAiSearchAdvanced: () => postAiSearchAdvanced,
210
+ postApiKeys: () => postApiKeys,
211
+ postApplications: () => postApplications,
212
+ postBuckets: () => postBuckets,
213
+ postConfigs: () => postConfigs,
214
+ postDocumentsBulkDelete: () => postDocumentsBulkDelete,
215
+ postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
216
+ postExtractionBatches: () => postExtractionBatches,
217
+ postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
218
+ postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
219
+ postExtractionResults: () => postExtractionResults,
220
+ postExtractionSchemaFields: () => postExtractionSchemaFields,
221
+ postExtractionSchemas: () => postExtractionSchemas,
222
+ postExtractionSchemasBulkCreate: () => postExtractionSchemasBulkCreate,
223
+ postFieldTemplates: () => postFieldTemplates,
224
+ postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
225
+ postInvitationsInvite: () => postInvitationsInvite,
226
+ postLlmAnalytics: () => postLlmAnalytics,
227
+ postMessages: () => postMessages,
228
+ postNotificationMethods: () => postNotificationMethods,
229
+ postNotificationPreferences: () => postNotificationPreferences,
230
+ postObjectsBulkDestroy: () => postObjectsBulkDestroy,
231
+ postObjectsRegister: () => postObjectsRegister,
232
+ postPayments: () => postPayments,
233
+ postSearchReindex: () => postSearchReindex,
234
+ postSearchSaved: () => postSearchSaved,
235
+ postStorageSignDownload: () => postStorageSignDownload,
236
+ postStorageSignUpload: () => postStorageSignUpload,
237
+ postTenantMemberships: () => postTenantMemberships,
238
+ postTenants: () => postTenants,
239
+ postTenantsByIdBuyStorage: () => postTenantsByIdBuyStorage,
240
+ postTenantsByIdCredit: () => postTenantsByIdCredit,
241
+ postTenantsByIdRemoveStorage: () => postTenantsByIdRemoveStorage,
242
+ postTenantsIsv: () => postTenantsIsv,
243
+ postThreads: () => postThreads,
244
+ postThreadsActive: () => postThreadsActive,
245
+ postThreadsByIdMessages: () => postThreadsByIdMessages,
246
+ postThreadsByIdSummarize: () => postThreadsByIdSummarize,
247
+ postTokens: () => postTokens,
248
+ postTrainingExamples: () => postTrainingExamples,
249
+ postTrainingExamplesBulk: () => postTrainingExamplesBulk,
250
+ postTrainingExamplesBulkDelete: () => postTrainingExamplesBulkDelete,
251
+ postTrainingExamplesSearch: () => postTrainingExamplesSearch,
252
+ postUserProfiles: () => postUserProfiles,
253
+ postUsersAuthConfirm: () => postUsersAuthConfirm,
254
+ postUsersAuthLogin: () => postUsersAuthLogin,
255
+ postUsersAuthMagicLinkLogin: () => postUsersAuthMagicLinkLogin,
256
+ postUsersAuthMagicLinkRequest: () => postUsersAuthMagicLinkRequest,
257
+ postUsersAuthRegister: () => postUsersAuthRegister,
258
+ postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
259
+ postUsersRegisterIsv: () => postUsersRegisterIsv,
260
+ postWebhookConfigs: () => postWebhookConfigs,
261
+ postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
262
+ postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
263
+ postWorkspaceMemberships: () => postWorkspaceMemberships,
264
+ postWorkspaces: () => postWorkspaces,
265
+ postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
266
+ postWorkspacesByWorkspaceIdExtractionExports: () => postWorkspacesByWorkspaceIdExtractionExports
267
+ });
268
+
1
269
  // src/_internal/core/bodySerializer.gen.ts
2
270
  var jsonBodySerializer = {
3
271
  bodySerializer: (body) => JSON.stringify(
@@ -829,7 +1097,6 @@ var client = createClient(
829
1097
 
830
1098
  // src/_internal/sdk.gen.ts
831
1099
  var postAiSearchAdvanced = (options) => (options.client ?? client).post({
832
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
833
1100
  security: [{ scheme: "bearer", type: "http" }],
834
1101
  url: "/ai/search/advanced",
835
1102
  ...options,
@@ -839,31 +1106,21 @@ var postAiSearchAdvanced = (options) => (options.client ?? client).post({
839
1106
  }
840
1107
  });
841
1108
  var deleteExtractionDocumentsById = (options) => (options.client ?? client).delete({
842
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
843
1109
  security: [{ scheme: "bearer", type: "http" }],
844
1110
  url: "/extraction/documents/{id}",
845
1111
  ...options
846
1112
  });
847
1113
  var getExtractionDocumentsById = (options) => (options.client ?? client).get({
848
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
849
1114
  security: [{ scheme: "bearer", type: "http" }],
850
1115
  url: "/extraction/documents/{id}",
851
1116
  ...options
852
1117
  });
853
1118
  var getThreads = (options) => (options.client ?? client).get({
854
- querySerializer: {
855
- parameters: {
856
- filter: { object: { style: "form" } },
857
- page: { object: { style: "form" } },
858
- fields: { object: { style: "form" } }
859
- }
860
- },
861
1119
  security: [{ scheme: "bearer", type: "http" }],
862
1120
  url: "/threads",
863
1121
  ...options
864
1122
  });
865
1123
  var postThreads = (options) => (options.client ?? client).post({
866
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
867
1124
  security: [{ scheme: "bearer", type: "http" }],
868
1125
  url: "/threads",
869
1126
  ...options,
@@ -873,36 +1130,26 @@ var postThreads = (options) => (options.client ?? client).post({
873
1130
  }
874
1131
  });
875
1132
  var getExtractionSchemasWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
876
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
877
1133
  security: [{ scheme: "bearer", type: "http" }],
878
1134
  url: "/extraction/schemas/workspace/{workspace_id}",
879
1135
  ...options
880
1136
  });
881
1137
  var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
882
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
883
1138
  security: [{ scheme: "bearer", type: "http" }],
884
1139
  url: "/llm_analytics/costs",
885
1140
  ...options
886
1141
  });
887
1142
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
888
- querySerializer: {
889
- parameters: {
890
- filter: { object: { style: "form" } },
891
- fields: { object: { style: "form" } }
892
- }
893
- },
894
1143
  security: [{ scheme: "bearer", type: "http" }],
895
1144
  url: "/training_sessions/agents/{agent_id}/sessions",
896
1145
  ...options
897
1146
  });
898
1147
  var getAiChunksDocumentByDocumentId = (options) => (options.client ?? client).get({
899
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
900
1148
  security: [{ scheme: "bearer", type: "http" }],
901
1149
  url: "/ai/chunks/document/{document_id}",
902
1150
  ...options
903
1151
  });
904
1152
  var patchWalletCredits = (options) => (options.client ?? client).patch({
905
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
906
1153
  security: [{ scheme: "bearer", type: "http" }],
907
1154
  url: "/wallet/credits",
908
1155
  ...options,
@@ -912,18 +1159,11 @@ var patchWalletCredits = (options) => (options.client ?? client).patch({
912
1159
  }
913
1160
  });
914
1161
  var getWorkspaces = (options) => (options.client ?? client).get({
915
- querySerializer: {
916
- parameters: {
917
- filter: { object: { style: "form" } },
918
- fields: { object: { style: "form" } }
919
- }
920
- },
921
1162
  security: [{ scheme: "bearer", type: "http" }],
922
1163
  url: "/workspaces",
923
1164
  ...options
924
1165
  });
925
1166
  var postWorkspaces = (options) => (options.client ?? client).post({
926
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
927
1167
  security: [{ scheme: "bearer", type: "http" }],
928
1168
  url: "/workspaces",
929
1169
  ...options,
@@ -933,13 +1173,20 @@ var postWorkspaces = (options) => (options.client ?? client).post({
933
1173
  }
934
1174
  });
935
1175
  var getDocumentsStats = (options) => (options.client ?? client).get({
936
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
937
1176
  security: [{ scheme: "bearer", type: "http" }],
938
1177
  url: "/documents/stats",
939
1178
  ...options
940
1179
  });
1180
+ var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client).patch({
1181
+ security: [{ scheme: "bearer", type: "http" }],
1182
+ url: "/extraction/documents/{id}/dismiss",
1183
+ ...options,
1184
+ headers: {
1185
+ "Content-Type": "application/vnd.api+json",
1186
+ ...options.headers
1187
+ }
1188
+ });
941
1189
  var postObjectsRegister = (options) => (options.client ?? client).post({
942
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
943
1190
  security: [{ scheme: "bearer", type: "http" }],
944
1191
  url: "/objects/register",
945
1192
  ...options,
@@ -949,30 +1196,30 @@ var postObjectsRegister = (options) => (options.client ?? client).post({
949
1196
  }
950
1197
  });
951
1198
  var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
952
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
953
1199
  security: [{ scheme: "bearer", type: "http" }],
954
1200
  url: "/llm_analytics/workspace",
955
1201
  ...options
956
1202
  });
1203
+ var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?? client).patch({
1204
+ security: [{ scheme: "bearer", type: "http" }],
1205
+ url: "/extraction/documents/{id}/dismiss-training",
1206
+ ...options,
1207
+ headers: {
1208
+ "Content-Type": "application/vnd.api+json",
1209
+ ...options.headers
1210
+ }
1211
+ });
957
1212
  var getSearchIndexes = (options) => (options.client ?? client).get({
958
- querySerializer: {
959
- parameters: {
960
- filter: { object: { style: "form" } },
961
- fields: { object: { style: "form" } }
962
- }
963
- },
964
1213
  security: [{ scheme: "bearer", type: "http" }],
965
1214
  url: "/search/indexes",
966
1215
  ...options
967
1216
  });
968
1217
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
969
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
970
1218
  security: [{ scheme: "bearer", type: "http" }],
971
1219
  url: "/credit-packages/slug/{slug}",
972
1220
  ...options
973
1221
  });
974
1222
  var postExtractionBatches = (options) => (options.client ?? client).post({
975
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
976
1223
  security: [{ scheme: "bearer", type: "http" }],
977
1224
  url: "/extraction/batches",
978
1225
  ...options,
@@ -982,13 +1229,11 @@ var postExtractionBatches = (options) => (options.client ?? client).post({
982
1229
  }
983
1230
  });
984
1231
  var getLlmAnalyticsPlatform = (options) => (options.client ?? client).get({
985
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
986
1232
  security: [{ scheme: "bearer", type: "http" }],
987
1233
  url: "/llm_analytics/platform",
988
1234
  ...options
989
1235
  });
990
1236
  var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client).patch({
991
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
992
1237
  security: [{ scheme: "bearer", type: "http" }],
993
1238
  url: "/extraction/documents/{id}/exclude",
994
1239
  ...options,
@@ -998,7 +1243,6 @@ var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client
998
1243
  }
999
1244
  });
1000
1245
  var postPayments = (options) => (options.client ?? client).post({
1001
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1002
1246
  security: [{ scheme: "bearer", type: "http" }],
1003
1247
  url: "/payments",
1004
1248
  ...options,
@@ -1008,18 +1252,11 @@ var postPayments = (options) => (options.client ?? client).post({
1008
1252
  }
1009
1253
  });
1010
1254
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1011
- querySerializer: {
1012
- parameters: {
1013
- filter: { object: { style: "form" } },
1014
- fields: { object: { style: "form" } }
1015
- }
1016
- },
1017
1255
  security: [{ scheme: "bearer", type: "http" }],
1018
1256
  url: "/extraction/batches/workspace/{workspace_id}",
1019
1257
  ...options
1020
1258
  });
1021
1259
  var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1022
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1023
1260
  security: [{ scheme: "bearer", type: "http" }],
1024
1261
  url: "/api_keys/{id}/revoke",
1025
1262
  ...options,
@@ -1029,19 +1266,16 @@ var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1029
1266
  }
1030
1267
  });
1031
1268
  var getInvitationsConsumeByToken = (options) => (options.client ?? client).get({
1032
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1033
1269
  security: [{ scheme: "bearer", type: "http" }],
1034
1270
  url: "/invitations/consume/{token}",
1035
1271
  ...options
1036
1272
  });
1037
1273
  var getExtractionDocumentsByIdStatus = (options) => (options.client ?? client).get({
1038
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1039
1274
  security: [{ scheme: "bearer", type: "http" }],
1040
1275
  url: "/extraction/documents/{id}/status",
1041
1276
  ...options
1042
1277
  });
1043
1278
  var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client).patch({
1044
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1045
1279
  security: [{ scheme: "bearer", type: "http" }],
1046
1280
  url: "/extraction/documents/{id}/status",
1047
1281
  ...options,
@@ -1051,7 +1285,6 @@ var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client)
1051
1285
  }
1052
1286
  });
1053
1287
  var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? client).patch({
1054
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1055
1288
  security: [{ scheme: "bearer", type: "http" }],
1056
1289
  url: "/extraction/documents/{id}/finish_upload",
1057
1290
  ...options,
@@ -1061,7 +1294,6 @@ var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? c
1061
1294
  }
1062
1295
  });
1063
1296
  var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch({
1064
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1065
1297
  security: [{ scheme: "bearer", type: "http" }],
1066
1298
  url: "/workspaces/{id}/allocate",
1067
1299
  ...options,
@@ -1071,7 +1303,6 @@ var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch(
1071
1303
  }
1072
1304
  });
1073
1305
  var postThreadsActive = (options) => (options.client ?? client).post({
1074
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1075
1306
  security: [{ scheme: "bearer", type: "http" }],
1076
1307
  url: "/threads/active",
1077
1308
  ...options,
@@ -1081,7 +1312,6 @@ var postThreadsActive = (options) => (options.client ?? client).post({
1081
1312
  }
1082
1313
  });
1083
1314
  var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1084
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1085
1315
  security: [{ scheme: "bearer", type: "http" }],
1086
1316
  url: "/invitations/{id}/revoke",
1087
1317
  ...options,
@@ -1090,20 +1320,21 @@ var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1090
1320
  ...options.headers
1091
1321
  }
1092
1322
  });
1323
+ var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options) => (options.client ?? client).post({
1324
+ security: [{ scheme: "bearer", type: "http" }],
1325
+ url: "/workspaces/{workspace_id}/extraction/documents/dismiss-all-trained",
1326
+ ...options,
1327
+ headers: {
1328
+ "Content-Type": "application/vnd.api+json",
1329
+ ...options.headers
1330
+ }
1331
+ });
1093
1332
  var getConfigs = (options) => (options.client ?? client).get({
1094
- querySerializer: {
1095
- parameters: {
1096
- filter: { object: { style: "form" } },
1097
- page: { object: { style: "form" } },
1098
- fields: { object: { style: "form" } }
1099
- }
1100
- },
1101
1333
  security: [{ scheme: "bearer", type: "http" }],
1102
1334
  url: "/configs",
1103
1335
  ...options
1104
1336
  });
1105
1337
  var postConfigs = (options) => (options.client ?? client).post({
1106
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1107
1338
  security: [{ scheme: "bearer", type: "http" }],
1108
1339
  url: "/configs",
1109
1340
  ...options,
@@ -1113,7 +1344,6 @@ var postConfigs = (options) => (options.client ?? client).post({
1113
1344
  }
1114
1345
  });
1115
1346
  var postTokens = (options) => (options.client ?? client).post({
1116
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1117
1347
  security: [{ scheme: "bearer", type: "http" }],
1118
1348
  url: "/tokens",
1119
1349
  ...options,
@@ -1123,19 +1353,16 @@ var postTokens = (options) => (options.client ?? client).post({
1123
1353
  }
1124
1354
  });
1125
1355
  var deleteTrainingExamplesById = (options) => (options.client ?? client).delete({
1126
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1127
1356
  security: [{ scheme: "bearer", type: "http" }],
1128
1357
  url: "/training_examples/{id}",
1129
1358
  ...options
1130
1359
  });
1131
1360
  var getTrainingExamplesById = (options) => (options.client ?? client).get({
1132
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1133
1361
  security: [{ scheme: "bearer", type: "http" }],
1134
1362
  url: "/training_examples/{id}",
1135
1363
  ...options
1136
1364
  });
1137
1365
  var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1138
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1139
1366
  security: [{ scheme: "bearer", type: "http" }],
1140
1367
  url: "/training_examples/{id}",
1141
1368
  ...options,
@@ -1145,13 +1372,11 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1145
1372
  }
1146
1373
  });
1147
1374
  var deleteSearchSavedById = (options) => (options.client ?? client).delete({
1148
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1149
1375
  security: [{ scheme: "bearer", type: "http" }],
1150
1376
  url: "/search/saved/{id}",
1151
1377
  ...options
1152
1378
  });
1153
1379
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1154
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1155
1380
  security: [{ scheme: "bearer", type: "http" }],
1156
1381
  url: "/users/{id}/admin/email",
1157
1382
  ...options,
@@ -1160,8 +1385,12 @@ var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1160
1385
  ...options.headers
1161
1386
  }
1162
1387
  });
1388
+ var getExtractionDocumentsWorkspaceByWorkspaceIdTrained = (options) => (options.client ?? client).get({
1389
+ security: [{ scheme: "bearer", type: "http" }],
1390
+ url: "/extraction/documents/workspace/{workspace_id}/trained",
1391
+ ...options
1392
+ });
1163
1393
  var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch({
1164
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1165
1394
  security: [{ scheme: "bearer", type: "http" }],
1166
1395
  url: "/users/auth/reset-password",
1167
1396
  ...options,
@@ -1171,13 +1400,11 @@ var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch(
1171
1400
  }
1172
1401
  });
1173
1402
  var getBucketsByIdStats = (options) => (options.client ?? client).get({
1174
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1175
1403
  security: [{ scheme: "bearer", type: "http" }],
1176
1404
  url: "/buckets/{id}/stats",
1177
1405
  ...options
1178
1406
  });
1179
1407
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1180
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1181
1408
  security: [{ scheme: "bearer", type: "http" }],
1182
1409
  url: "/notification_methods/{id}/set_primary",
1183
1410
  ...options,
@@ -1187,13 +1414,11 @@ var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? cli
1187
1414
  }
1188
1415
  });
1189
1416
  var getBucketsByIdObjects = (options) => (options.client ?? client).get({
1190
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1191
1417
  security: [{ scheme: "bearer", type: "http" }],
1192
1418
  url: "/buckets/{id}/objects",
1193
1419
  ...options
1194
1420
  });
1195
1421
  var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
1196
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1197
1422
  security: [{ scheme: "bearer", type: "http" }],
1198
1423
  url: "/invitations/{id}/resend",
1199
1424
  ...options,
@@ -1203,18 +1428,11 @@ var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
1203
1428
  }
1204
1429
  });
1205
1430
  var getSearchSaved = (options) => (options.client ?? client).get({
1206
- querySerializer: {
1207
- parameters: {
1208
- filter: { object: { style: "form" } },
1209
- fields: { object: { style: "form" } }
1210
- }
1211
- },
1212
1431
  security: [{ scheme: "bearer", type: "http" }],
1213
1432
  url: "/search/saved",
1214
1433
  ...options
1215
1434
  });
1216
1435
  var postSearchSaved = (options) => (options.client ?? client).post({
1217
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1218
1436
  security: [{ scheme: "bearer", type: "http" }],
1219
1437
  url: "/search/saved",
1220
1438
  ...options,
@@ -1224,31 +1442,26 @@ var postSearchSaved = (options) => (options.client ?? client).post({
1224
1442
  }
1225
1443
  });
1226
1444
  var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
1227
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1228
1445
  security: [{ scheme: "bearer", type: "http" }],
1229
1446
  url: "/field_templates/{id}",
1230
1447
  ...options
1231
1448
  });
1232
1449
  var getFieldTemplatesById = (options) => (options.client ?? client).get({
1233
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1234
1450
  security: [{ scheme: "bearer", type: "http" }],
1235
1451
  url: "/field_templates/{id}",
1236
1452
  ...options
1237
1453
  });
1238
1454
  var getWorkspacesByWorkspaceIdTrainingAnalytics = (options) => (options.client ?? client).get({
1239
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1240
1455
  security: [{ scheme: "bearer", type: "http" }],
1241
1456
  url: "/workspaces/{workspace_id}/training/analytics",
1242
1457
  ...options
1243
1458
  });
1244
1459
  var getUserProfilesMe = (options) => (options.client ?? client).get({
1245
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1246
1460
  security: [{ scheme: "bearer", type: "http" }],
1247
1461
  url: "/user_profiles/me",
1248
1462
  ...options
1249
1463
  });
1250
1464
  var postInvitationsInvite = (options) => (options.client ?? client).post({
1251
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1252
1465
  security: [{ scheme: "bearer", type: "http" }],
1253
1466
  url: "/invitations/invite",
1254
1467
  ...options,
@@ -1258,18 +1471,11 @@ var postInvitationsInvite = (options) => (options.client ?? client).post({
1258
1471
  }
1259
1472
  });
1260
1473
  var getAgentVersions = (options) => (options.client ?? client).get({
1261
- querySerializer: {
1262
- parameters: {
1263
- filter: { object: { style: "form" } },
1264
- fields: { object: { style: "form" } }
1265
- }
1266
- },
1267
1474
  security: [{ scheme: "bearer", type: "http" }],
1268
1475
  url: "/agent_versions",
1269
1476
  ...options
1270
1477
  });
1271
1478
  var postAgentVersions = (options) => (options.client ?? client).post({
1272
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1273
1479
  security: [{ scheme: "bearer", type: "http" }],
1274
1480
  url: "/agent_versions",
1275
1481
  ...options,
@@ -1279,19 +1485,16 @@ var postAgentVersions = (options) => (options.client ?? client).post({
1279
1485
  }
1280
1486
  });
1281
1487
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
1282
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1283
1488
  security: [{ scheme: "bearer", type: "http" }],
1284
1489
  url: "/webhook_configs/{id}",
1285
1490
  ...options
1286
1491
  });
1287
1492
  var getWebhookConfigsById = (options) => (options.client ?? client).get({
1288
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1289
1493
  security: [{ scheme: "bearer", type: "http" }],
1290
1494
  url: "/webhook_configs/{id}",
1291
1495
  ...options
1292
1496
  });
1293
1497
  var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
1294
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1295
1498
  security: [{ scheme: "bearer", type: "http" }],
1296
1499
  url: "/webhook_configs/{id}",
1297
1500
  ...options,
@@ -1301,7 +1504,6 @@ var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
1301
1504
  }
1302
1505
  });
1303
1506
  var postInvitationsAcceptByToken = (options) => (options.client ?? client).post({
1304
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1305
1507
  security: [{ scheme: "bearer", type: "http" }],
1306
1508
  url: "/invitations/accept_by_token",
1307
1509
  ...options,
@@ -1311,13 +1513,11 @@ var postInvitationsAcceptByToken = (options) => (options.client ?? client).post(
1311
1513
  }
1312
1514
  });
1313
1515
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
1314
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1315
1516
  security: [{ scheme: "bearer", type: "http" }],
1316
1517
  url: "/extraction/batches/{id}/upload-urls",
1317
1518
  ...options
1318
1519
  });
1319
1520
  var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
1320
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1321
1521
  security: [{ scheme: "bearer", type: "http" }],
1322
1522
  url: "/documents/bulk_delete",
1323
1523
  ...options,
@@ -1327,13 +1527,11 @@ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
1327
1527
  }
1328
1528
  });
1329
1529
  var getAgentVersionsById = (options) => (options.client ?? client).get({
1330
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1331
1530
  security: [{ scheme: "bearer", type: "http" }],
1332
1531
  url: "/agent_versions/{id}",
1333
1532
  ...options
1334
1533
  });
1335
1534
  var postAiChunksSearch = (options) => (options.client ?? client).post({
1336
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1337
1535
  security: [{ scheme: "bearer", type: "http" }],
1338
1536
  url: "/ai/chunks/search",
1339
1537
  ...options,
@@ -1343,7 +1541,6 @@ var postAiChunksSearch = (options) => (options.client ?? client).post({
1343
1541
  }
1344
1542
  });
1345
1543
  var postThreadsByIdMessages = (options) => (options.client ?? client).post({
1346
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1347
1544
  security: [{ scheme: "bearer", type: "http" }],
1348
1545
  url: "/threads/{id}/messages",
1349
1546
  ...options,
@@ -1353,7 +1550,6 @@ var postThreadsByIdMessages = (options) => (options.client ?? client).post({
1353
1550
  }
1354
1551
  });
1355
1552
  var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
1356
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1357
1553
  security: [{ scheme: "bearer", type: "http" }],
1358
1554
  url: "/agents/clone_for_workspace",
1359
1555
  ...options,
@@ -1363,7 +1559,6 @@ var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
1363
1559
  }
1364
1560
  });
1365
1561
  var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
1366
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1367
1562
  security: [{ scheme: "bearer", type: "http" }],
1368
1563
  url: "/invitations/{id}/accept",
1369
1564
  ...options,
@@ -1373,25 +1568,21 @@ var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
1373
1568
  }
1374
1569
  });
1375
1570
  var getCreditPackagesById = (options) => (options.client ?? client).get({
1376
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1377
1571
  security: [{ scheme: "bearer", type: "http" }],
1378
1572
  url: "/credit-packages/{id}",
1379
1573
  ...options
1380
1574
  });
1381
1575
  var getUsersById = (options) => (options.client ?? client).get({
1382
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1383
1576
  security: [{ scheme: "bearer", type: "http" }],
1384
1577
  url: "/users/{id}",
1385
1578
  ...options
1386
1579
  });
1387
1580
  var getExtractionResultsById = (options) => (options.client ?? client).get({
1388
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1389
1581
  security: [{ scheme: "bearer", type: "http" }],
1390
1582
  url: "/extraction/results/{id}",
1391
1583
  ...options
1392
1584
  });
1393
1585
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
1394
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1395
1586
  security: [{ scheme: "bearer", type: "http" }],
1396
1587
  url: "/agents/{id}/validate",
1397
1588
  ...options,
@@ -1401,7 +1592,6 @@ var postAgentsByIdValidate = (options) => (options.client ?? client).post({
1401
1592
  }
1402
1593
  });
1403
1594
  var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
1404
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1405
1595
  security: [{ scheme: "bearer", type: "http" }],
1406
1596
  url: "/webhook_configs/{id}/test",
1407
1597
  ...options,
@@ -1411,13 +1601,11 @@ var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
1411
1601
  }
1412
1602
  });
1413
1603
  var getUsersMe = (options) => (options.client ?? client).get({
1414
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1415
1604
  security: [{ scheme: "bearer", type: "http" }],
1416
1605
  url: "/users/me",
1417
1606
  ...options
1418
1607
  });
1419
1608
  var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
1420
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1421
1609
  security: [{ scheme: "bearer", type: "http" }],
1422
1610
  url: "/users/auth/register_with_oidc",
1423
1611
  ...options,
@@ -1427,7 +1615,6 @@ var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post
1427
1615
  }
1428
1616
  });
1429
1617
  var postTenantsByIdCredit = (options) => (options.client ?? client).post({
1430
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1431
1618
  security: [{ scheme: "bearer", type: "http" }],
1432
1619
  url: "/tenants/{id}/credit",
1433
1620
  ...options,
@@ -1437,25 +1624,16 @@ var postTenantsByIdCredit = (options) => (options.client ?? client).post({
1437
1624
  }
1438
1625
  });
1439
1626
  var getTransactionsById = (options) => (options.client ?? client).get({
1440
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1441
1627
  security: [{ scheme: "bearer", type: "http" }],
1442
1628
  url: "/transactions/{id}",
1443
1629
  ...options
1444
1630
  });
1445
1631
  var getTenantMemberships = (options) => (options.client ?? client).get({
1446
- querySerializer: {
1447
- parameters: {
1448
- filter: { object: { style: "form" } },
1449
- page: { object: { style: "form" } },
1450
- fields: { object: { style: "form" } }
1451
- }
1452
- },
1453
1632
  security: [{ scheme: "bearer", type: "http" }],
1454
1633
  url: "/tenant-memberships",
1455
1634
  ...options
1456
1635
  });
1457
1636
  var postTenantMemberships = (options) => (options.client ?? client).post({
1458
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1459
1637
  security: [{ scheme: "bearer", type: "http" }],
1460
1638
  url: "/tenant-memberships",
1461
1639
  ...options,
@@ -1474,7 +1652,6 @@ var postTrainingExamplesBulkDelete = (options) => (options.client ?? client).pos
1474
1652
  }
1475
1653
  });
1476
1654
  var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client).patch({
1477
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1478
1655
  security: [{ scheme: "bearer", type: "http" }],
1479
1656
  url: "/extraction/documents/{id}/include",
1480
1657
  ...options,
@@ -1484,25 +1661,21 @@ var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client
1484
1661
  }
1485
1662
  });
1486
1663
  var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
1487
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1488
1664
  security: [{ scheme: "bearer", type: "http" }],
1489
1665
  url: "/llm_analytics/summary",
1490
1666
  ...options
1491
1667
  });
1492
1668
  var deleteExtractionSchemaFieldsById = (options) => (options.client ?? client).delete({
1493
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1494
1669
  security: [{ scheme: "bearer", type: "http" }],
1495
1670
  url: "/extraction/schema-fields/{id}",
1496
1671
  ...options
1497
1672
  });
1498
1673
  var getExtractionSchemaFieldsById = (options) => (options.client ?? client).get({
1499
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1500
1674
  security: [{ scheme: "bearer", type: "http" }],
1501
1675
  url: "/extraction/schema-fields/{id}",
1502
1676
  ...options
1503
1677
  });
1504
1678
  var patchExtractionSchemaFieldsById = (options) => (options.client ?? client).patch({
1505
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1506
1679
  security: [{ scheme: "bearer", type: "http" }],
1507
1680
  url: "/extraction/schema-fields/{id}",
1508
1681
  ...options,
@@ -1512,7 +1685,6 @@ var patchExtractionSchemaFieldsById = (options) => (options.client ?? client).pa
1512
1685
  }
1513
1686
  });
1514
1687
  var postStorageSignDownload = (options) => (options.client ?? client).post({
1515
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1516
1688
  security: [{ scheme: "bearer", type: "http" }],
1517
1689
  url: "/storage/sign_download",
1518
1690
  ...options,
@@ -1522,31 +1694,26 @@ var postStorageSignDownload = (options) => (options.client ?? client).post({
1522
1694
  }
1523
1695
  });
1524
1696
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
1525
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1526
1697
  security: [{ scheme: "bearer", type: "http" }],
1527
1698
  url: "/training_sessions/{id}",
1528
1699
  ...options
1529
1700
  });
1530
1701
  var getTrainingSessionsById = (options) => (options.client ?? client).get({
1531
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1532
1702
  security: [{ scheme: "bearer", type: "http" }],
1533
1703
  url: "/training_sessions/{id}",
1534
1704
  ...options
1535
1705
  });
1536
1706
  var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
1537
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1538
1707
  security: [{ scheme: "bearer", type: "http" }],
1539
1708
  url: "/notification_methods/{id}",
1540
1709
  ...options
1541
1710
  });
1542
1711
  var getNotificationMethodsById = (options) => (options.client ?? client).get({
1543
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1544
1712
  security: [{ scheme: "bearer", type: "http" }],
1545
1713
  url: "/notification_methods/{id}",
1546
1714
  ...options
1547
1715
  });
1548
1716
  var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
1549
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1550
1717
  security: [{ scheme: "bearer", type: "http" }],
1551
1718
  url: "/notification_methods/{id}",
1552
1719
  ...options,
@@ -1556,64 +1723,31 @@ var patchNotificationMethodsById = (options) => (options.client ?? client).patch
1556
1723
  }
1557
1724
  });
1558
1725
  var getWebhookDeliveries = (options) => (options.client ?? client).get({
1559
- querySerializer: {
1560
- parameters: {
1561
- filter: { object: { style: "form" } },
1562
- page: { object: { style: "form" } },
1563
- fields: { object: { style: "form" } }
1564
- }
1565
- },
1566
1726
  security: [{ scheme: "bearer", type: "http" }],
1567
1727
  url: "/webhook_deliveries",
1568
1728
  ...options
1569
1729
  });
1570
1730
  var getSearch = (options) => (options.client ?? client).get({
1571
- querySerializer: {
1572
- parameters: {
1573
- filter: { object: { style: "form" } },
1574
- fields: { object: { style: "form" } }
1575
- }
1576
- },
1577
1731
  security: [{ scheme: "bearer", type: "http" }],
1578
1732
  url: "/search",
1579
1733
  ...options
1580
1734
  });
1581
1735
  var getInvitations = (options) => (options.client ?? client).get({
1582
- querySerializer: {
1583
- parameters: {
1584
- filter: { object: { style: "form" } },
1585
- fields: { object: { style: "form" } }
1586
- }
1587
- },
1588
1736
  security: [{ scheme: "bearer", type: "http" }],
1589
1737
  url: "/invitations",
1590
1738
  ...options
1591
1739
  });
1592
1740
  var getSearchSemantic = (options) => (options.client ?? client).get({
1593
- querySerializer: {
1594
- parameters: {
1595
- filter: { object: { style: "form" } },
1596
- fields: { object: { style: "form" } }
1597
- }
1598
- },
1599
1741
  security: [{ scheme: "bearer", type: "http" }],
1600
1742
  url: "/search/semantic",
1601
1743
  ...options
1602
1744
  });
1603
1745
  var getMessages = (options) => (options.client ?? client).get({
1604
- querySerializer: {
1605
- parameters: {
1606
- filter: { object: { style: "form" } },
1607
- page: { object: { style: "form" } },
1608
- fields: { object: { style: "form" } }
1609
- }
1610
- },
1611
1746
  security: [{ scheme: "bearer", type: "http" }],
1612
1747
  url: "/messages",
1613
1748
  ...options
1614
1749
  });
1615
1750
  var postMessages = (options) => (options.client ?? client).post({
1616
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1617
1751
  security: [{ scheme: "bearer", type: "http" }],
1618
1752
  url: "/messages",
1619
1753
  ...options,
@@ -1623,19 +1757,11 @@ var postMessages = (options) => (options.client ?? client).post({
1623
1757
  }
1624
1758
  });
1625
1759
  var getNotificationPreferences = (options) => (options.client ?? client).get({
1626
- querySerializer: {
1627
- parameters: {
1628
- filter: { object: { style: "form" } },
1629
- page: { object: { style: "form" } },
1630
- fields: { object: { style: "form" } }
1631
- }
1632
- },
1633
1760
  security: [{ scheme: "bearer", type: "http" }],
1634
1761
  url: "/notification_preferences",
1635
1762
  ...options
1636
1763
  });
1637
1764
  var postNotificationPreferences = (options) => (options.client ?? client).post({
1638
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1639
1765
  security: [{ scheme: "bearer", type: "http" }],
1640
1766
  url: "/notification_preferences",
1641
1767
  ...options,
@@ -1645,19 +1771,11 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
1645
1771
  }
1646
1772
  });
1647
1773
  var getApplications = (options) => (options.client ?? client).get({
1648
- querySerializer: {
1649
- parameters: {
1650
- filter: { object: { style: "form" } },
1651
- page: { object: { style: "form" } },
1652
- fields: { object: { style: "form" } }
1653
- }
1654
- },
1655
1774
  security: [{ scheme: "bearer", type: "http" }],
1656
1775
  url: "/applications",
1657
1776
  ...options
1658
1777
  });
1659
1778
  var postApplications = (options) => (options.client ?? client).post({
1660
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1661
1779
  security: [{ scheme: "bearer", type: "http" }],
1662
1780
  url: "/applications",
1663
1781
  ...options,
@@ -1676,19 +1794,16 @@ var postAgentsPredict = (options) => (options.client ?? client).post({
1676
1794
  }
1677
1795
  });
1678
1796
  var deleteThreadsById = (options) => (options.client ?? client).delete({
1679
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1680
1797
  security: [{ scheme: "bearer", type: "http" }],
1681
1798
  url: "/threads/{id}",
1682
1799
  ...options
1683
1800
  });
1684
1801
  var getThreadsById = (options) => (options.client ?? client).get({
1685
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1686
1802
  security: [{ scheme: "bearer", type: "http" }],
1687
1803
  url: "/threads/{id}",
1688
1804
  ...options
1689
1805
  });
1690
1806
  var patchThreadsById = (options) => (options.client ?? client).patch({
1691
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1692
1807
  security: [{ scheme: "bearer", type: "http" }],
1693
1808
  url: "/threads/{id}",
1694
1809
  ...options,
@@ -1698,19 +1813,11 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
1698
1813
  }
1699
1814
  });
1700
1815
  var getLlmAnalytics = (options) => (options.client ?? client).get({
1701
- querySerializer: {
1702
- parameters: {
1703
- filter: { object: { style: "form" } },
1704
- page: { object: { style: "form" } },
1705
- fields: { object: { style: "form" } }
1706
- }
1707
- },
1708
1816
  security: [{ scheme: "bearer", type: "http" }],
1709
1817
  url: "/llm_analytics",
1710
1818
  ...options
1711
1819
  });
1712
1820
  var postLlmAnalytics = (options) => (options.client ?? client).post({
1713
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1714
1821
  security: [{ scheme: "bearer", type: "http" }],
1715
1822
  url: "/llm_analytics",
1716
1823
  ...options,
@@ -1720,7 +1827,6 @@ var postLlmAnalytics = (options) => (options.client ?? client).post({
1720
1827
  }
1721
1828
  });
1722
1829
  var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch({
1723
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1724
1830
  security: [{ scheme: "bearer", type: "http" }],
1725
1831
  url: "/users/{id}/reset-password",
1726
1832
  ...options,
@@ -1730,7 +1836,6 @@ var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch(
1730
1836
  }
1731
1837
  });
1732
1838
  var postDocumentsPresignedUpload = (options) => (options.client ?? client).post({
1733
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1734
1839
  security: [{ scheme: "bearer", type: "http" }],
1735
1840
  url: "/documents/presigned_upload",
1736
1841
  ...options,
@@ -1740,13 +1845,11 @@ var postDocumentsPresignedUpload = (options) => (options.client ?? client).post(
1740
1845
  }
1741
1846
  });
1742
1847
  var getMessagesSearch = (options) => (options.client ?? client).get({
1743
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1744
1848
  security: [{ scheme: "bearer", type: "http" }],
1745
1849
  url: "/messages/search",
1746
1850
  ...options
1747
1851
  });
1748
1852
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
1749
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1750
1853
  security: [{ scheme: "bearer", type: "http" }],
1751
1854
  url: "/agents/{id}/teach",
1752
1855
  ...options,
@@ -1756,19 +1859,11 @@ var postAgentsByIdTeach = (options) => (options.client ?? client).post({
1756
1859
  }
1757
1860
  });
1758
1861
  var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (options.client ?? client).get({
1759
- querySerializer: {
1760
- parameters: {
1761
- filter: { object: { style: "form" } },
1762
- page: { object: { style: "form" } },
1763
- fields: { object: { style: "form" } }
1764
- }
1765
- },
1766
1862
  security: [{ scheme: "bearer", type: "http" }],
1767
1863
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
1768
1864
  ...options
1769
1865
  });
1770
1866
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
1771
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1772
1867
  security: [{ scheme: "bearer", type: "http" }],
1773
1868
  url: "/extraction/documents/upload",
1774
1869
  ...options,
@@ -1778,7 +1873,6 @@ var postExtractionDocumentsUpload = (options) => (options.client ?? client).post
1778
1873
  }
1779
1874
  });
1780
1875
  var patchExtractionResultsByIdCorrections = (options) => (options.client ?? client).patch({
1781
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1782
1876
  security: [{ scheme: "bearer", type: "http" }],
1783
1877
  url: "/extraction/results/{id}/corrections",
1784
1878
  ...options,
@@ -1788,25 +1882,21 @@ var patchExtractionResultsByIdCorrections = (options) => (options.client ?? clie
1788
1882
  }
1789
1883
  });
1790
1884
  var getExtractionResultsDocumentByDocumentId = (options) => (options.client ?? client).get({
1791
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1792
1885
  security: [{ scheme: "bearer", type: "http" }],
1793
1886
  url: "/extraction/results/document/{document_id}",
1794
1887
  ...options
1795
1888
  });
1796
1889
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
1797
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1798
1890
  security: [{ scheme: "bearer", type: "http" }],
1799
1891
  url: "/workspaces/{id}",
1800
1892
  ...options
1801
1893
  });
1802
1894
  var getWorkspacesById = (options) => (options.client ?? client).get({
1803
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1804
1895
  security: [{ scheme: "bearer", type: "http" }],
1805
1896
  url: "/workspaces/{id}",
1806
1897
  ...options
1807
1898
  });
1808
1899
  var patchWorkspacesById = (options) => (options.client ?? client).patch({
1809
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1810
1900
  security: [{ scheme: "bearer", type: "http" }],
1811
1901
  url: "/workspaces/{id}",
1812
1902
  ...options,
@@ -1816,19 +1906,11 @@ var patchWorkspacesById = (options) => (options.client ?? client).patch({
1816
1906
  }
1817
1907
  });
1818
1908
  var getTenants = (options) => (options.client ?? client).get({
1819
- querySerializer: {
1820
- parameters: {
1821
- filter: { object: { style: "form" } },
1822
- page: { object: { style: "form" } },
1823
- fields: { object: { style: "form" } }
1824
- }
1825
- },
1826
1909
  security: [{ scheme: "bearer", type: "http" }],
1827
1910
  url: "/tenants",
1828
1911
  ...options
1829
1912
  });
1830
1913
  var postTenants = (options) => (options.client ?? client).post({
1831
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1832
1914
  security: [{ scheme: "bearer", type: "http" }],
1833
1915
  url: "/tenants",
1834
1916
  ...options,
@@ -1838,7 +1920,6 @@ var postTenants = (options) => (options.client ?? client).post({
1838
1920
  }
1839
1921
  });
1840
1922
  var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post({
1841
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1842
1923
  security: [{ scheme: "bearer", type: "http" }],
1843
1924
  url: "/tenants/{id}/remove-storage",
1844
1925
  ...options,
@@ -1848,49 +1929,31 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
1848
1929
  }
1849
1930
  });
1850
1931
  var getNotificationLogsById = (options) => (options.client ?? client).get({
1851
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1852
1932
  security: [{ scheme: "bearer", type: "http" }],
1853
1933
  url: "/notification_logs/{id}",
1854
1934
  ...options
1855
1935
  });
1856
1936
  var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get({
1857
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1858
1937
  security: [{ scheme: "bearer", type: "http" }],
1859
1938
  url: "/extraction/documents/{id}/view",
1860
1939
  ...options
1861
1940
  });
1862
1941
  var getWebhookDeliveriesById = (options) => (options.client ?? client).get({
1863
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1864
1942
  security: [{ scheme: "bearer", type: "http" }],
1865
1943
  url: "/webhook_deliveries/{id}",
1866
1944
  ...options
1867
1945
  });
1868
1946
  var getAuditLogs = (options) => (options.client ?? client).get({
1869
- querySerializer: {
1870
- parameters: {
1871
- filter: { object: { style: "form" } },
1872
- page: { object: { style: "form" } },
1873
- fields: { object: { style: "form" } }
1874
- }
1875
- },
1876
1947
  security: [{ scheme: "bearer", type: "http" }],
1877
1948
  url: "/audit-logs",
1878
1949
  ...options
1879
1950
  });
1880
1951
  var getAiGraphEdges = (options) => (options.client ?? client).get({
1881
- querySerializer: {
1882
- parameters: {
1883
- filter: { object: { style: "form" } },
1884
- page: { object: { style: "form" } },
1885
- fields: { object: { style: "form" } }
1886
- }
1887
- },
1888
1952
  security: [{ scheme: "bearer", type: "http" }],
1889
1953
  url: "/ai/graph/edges",
1890
1954
  ...options
1891
1955
  });
1892
1956
  var postAiGraphEdges = (options) => (options.client ?? client).post({
1893
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1894
1957
  security: [{ scheme: "bearer", type: "http" }],
1895
1958
  url: "/ai/graph/edges",
1896
1959
  ...options,
@@ -1900,19 +1963,11 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
1900
1963
  }
1901
1964
  });
1902
1965
  var getTrainingExamples = (options) => (options.client ?? client).get({
1903
- querySerializer: {
1904
- parameters: {
1905
- filter: { object: { style: "form" } },
1906
- page: { object: { style: "form" } },
1907
- fields: { object: { style: "form" } }
1908
- }
1909
- },
1910
1966
  security: [{ scheme: "bearer", type: "http" }],
1911
1967
  url: "/training_examples",
1912
1968
  ...options
1913
1969
  });
1914
1970
  var postTrainingExamples = (options) => (options.client ?? client).post({
1915
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1916
1971
  security: [{ scheme: "bearer", type: "http" }],
1917
1972
  url: "/training_examples",
1918
1973
  ...options,
@@ -1922,7 +1977,6 @@ var postTrainingExamples = (options) => (options.client ?? client).post({
1922
1977
  }
1923
1978
  });
1924
1979
  var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.client ?? client).get({
1925
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1926
1980
  security: [{ scheme: "bearer", type: "http" }],
1927
1981
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
1928
1982
  ...options
@@ -1933,19 +1987,11 @@ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
1933
1987
  ...options
1934
1988
  });
1935
1989
  var getBuckets = (options) => (options.client ?? client).get({
1936
- querySerializer: {
1937
- parameters: {
1938
- filter: { object: { style: "form" } },
1939
- page: { object: { style: "form" } },
1940
- fields: { object: { style: "form" } }
1941
- }
1942
- },
1943
1990
  security: [{ scheme: "bearer", type: "http" }],
1944
1991
  url: "/buckets",
1945
1992
  ...options
1946
1993
  });
1947
1994
  var postBuckets = (options) => (options.client ?? client).post({
1948
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1949
1995
  security: [{ scheme: "bearer", type: "http" }],
1950
1996
  url: "/buckets",
1951
1997
  ...options,
@@ -1955,19 +2001,16 @@ var postBuckets = (options) => (options.client ?? client).post({
1955
2001
  }
1956
2002
  });
1957
2003
  var getPlansById = (options) => (options.client ?? client).get({
1958
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1959
2004
  security: [{ scheme: "bearer", type: "http" }],
1960
2005
  url: "/plans/{id}",
1961
2006
  ...options
1962
2007
  });
1963
2008
  var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
1964
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1965
2009
  security: [{ scheme: "bearer", type: "http" }],
1966
2010
  url: "/tenants/{tenant_id}/stats",
1967
2011
  ...options
1968
2012
  });
1969
2013
  var patchWalletAddons = (options) => (options.client ?? client).patch({
1970
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1971
2014
  security: [{ scheme: "bearer", type: "http" }],
1972
2015
  url: "/wallet/addons",
1973
2016
  ...options,
@@ -1977,7 +2020,6 @@ var patchWalletAddons = (options) => (options.client ?? client).patch({
1977
2020
  }
1978
2021
  });
1979
2022
  var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
1980
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1981
2023
  security: [{ scheme: "bearer", type: "http" }],
1982
2024
  url: "/users/auth/magic_link/login",
1983
2025
  ...options,
@@ -1987,19 +2029,11 @@ var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
1987
2029
  }
1988
2030
  });
1989
2031
  var getApiKeys = (options) => (options.client ?? client).get({
1990
- querySerializer: {
1991
- parameters: {
1992
- filter: { object: { style: "form" } },
1993
- page: { object: { style: "form" } },
1994
- fields: { object: { style: "form" } }
1995
- }
1996
- },
1997
2032
  security: [{ scheme: "bearer", type: "http" }],
1998
2033
  url: "/api_keys",
1999
2034
  ...options
2000
2035
  });
2001
2036
  var postApiKeys = (options) => (options.client ?? client).post({
2002
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2003
2037
  security: [{ scheme: "bearer", type: "http" }],
2004
2038
  url: "/api_keys",
2005
2039
  ...options,
@@ -2009,7 +2043,6 @@ var postApiKeys = (options) => (options.client ?? client).post({
2009
2043
  }
2010
2044
  });
2011
2045
  var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
2012
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2013
2046
  security: [{ scheme: "bearer", type: "http" }],
2014
2047
  url: "/users/{id}/admin",
2015
2048
  ...options,
@@ -2019,19 +2052,16 @@ var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
2019
2052
  }
2020
2053
  });
2021
2054
  var deleteAgentsById = (options) => (options.client ?? client).delete({
2022
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2023
2055
  security: [{ scheme: "bearer", type: "http" }],
2024
2056
  url: "/agents/{id}",
2025
2057
  ...options
2026
2058
  });
2027
2059
  var getAgentsById = (options) => (options.client ?? client).get({
2028
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2029
2060
  security: [{ scheme: "bearer", type: "http" }],
2030
2061
  url: "/agents/{id}",
2031
2062
  ...options
2032
2063
  });
2033
2064
  var patchAgentsById = (options) => (options.client ?? client).patch({
2034
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2035
2065
  security: [{ scheme: "bearer", type: "http" }],
2036
2066
  url: "/agents/{id}",
2037
2067
  ...options,
@@ -2041,19 +2071,16 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
2041
2071
  }
2042
2072
  });
2043
2073
  var deleteApiKeysById = (options) => (options.client ?? client).delete({
2044
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2045
2074
  security: [{ scheme: "bearer", type: "http" }],
2046
2075
  url: "/api_keys/{id}",
2047
2076
  ...options
2048
2077
  });
2049
2078
  var getApiKeysById = (options) => (options.client ?? client).get({
2050
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2051
2079
  security: [{ scheme: "bearer", type: "http" }],
2052
2080
  url: "/api_keys/{id}",
2053
2081
  ...options
2054
2082
  });
2055
2083
  var patchApiKeysById = (options) => (options.client ?? client).patch({
2056
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2057
2084
  security: [{ scheme: "bearer", type: "http" }],
2058
2085
  url: "/api_keys/{id}",
2059
2086
  ...options,
@@ -2072,19 +2099,11 @@ var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
2072
2099
  }
2073
2100
  });
2074
2101
  var getAiConversations = (options) => (options.client ?? client).get({
2075
- querySerializer: {
2076
- parameters: {
2077
- filter: { object: { style: "form" } },
2078
- page: { object: { style: "form" } },
2079
- fields: { object: { style: "form" } }
2080
- }
2081
- },
2082
2102
  security: [{ scheme: "bearer", type: "http" }],
2083
2103
  url: "/ai/conversations",
2084
2104
  ...options
2085
2105
  });
2086
2106
  var postAiConversations = (options) => (options.client ?? client).post({
2087
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2088
2107
  security: [{ scheme: "bearer", type: "http" }],
2089
2108
  url: "/ai/conversations",
2090
2109
  ...options,
@@ -2094,7 +2113,6 @@ var postAiConversations = (options) => (options.client ?? client).post({
2094
2113
  }
2095
2114
  });
2096
2115
  var postAiSearch = (options) => (options.client ?? client).post({
2097
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2098
2116
  security: [{ scheme: "bearer", type: "http" }],
2099
2117
  url: "/ai/search",
2100
2118
  ...options,
@@ -2104,13 +2122,11 @@ var postAiSearch = (options) => (options.client ?? client).post({
2104
2122
  }
2105
2123
  });
2106
2124
  var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
2107
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2108
2125
  security: [{ scheme: "bearer", type: "http" }],
2109
2126
  url: "/ai/graph/nodes/{id}",
2110
2127
  ...options
2111
2128
  });
2112
2129
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
2113
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2114
2130
  security: [{ scheme: "bearer", type: "http" }],
2115
2131
  url: "/wallet/addons/{addon_slug}/cancel",
2116
2132
  ...options,
@@ -2120,19 +2136,16 @@ var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client)
2120
2136
  }
2121
2137
  });
2122
2138
  var deleteApplicationsById = (options) => (options.client ?? client).delete({
2123
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2124
2139
  security: [{ scheme: "bearer", type: "http" }],
2125
2140
  url: "/applications/{id}",
2126
2141
  ...options
2127
2142
  });
2128
2143
  var getApplicationsById = (options) => (options.client ?? client).get({
2129
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2130
2144
  security: [{ scheme: "bearer", type: "http" }],
2131
2145
  url: "/applications/{id}",
2132
2146
  ...options
2133
2147
  });
2134
2148
  var patchApplicationsById = (options) => (options.client ?? client).patch({
2135
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2136
2149
  security: [{ scheme: "bearer", type: "http" }],
2137
2150
  url: "/applications/{id}",
2138
2151
  ...options,
@@ -2142,41 +2155,21 @@ var patchApplicationsById = (options) => (options.client ?? client).patch({
2142
2155
  }
2143
2156
  });
2144
2157
  var getSearchHealth = (options) => (options.client ?? client).get({
2145
- querySerializer: {
2146
- parameters: {
2147
- filter: { object: { style: "form" } },
2148
- fields: { object: { style: "form" } }
2149
- }
2150
- },
2151
2158
  security: [{ scheme: "bearer", type: "http" }],
2152
2159
  url: "/search/health",
2153
2160
  ...options
2154
2161
  });
2155
2162
  var getTransactions = (options) => (options.client ?? client).get({
2156
- querySerializer: {
2157
- parameters: {
2158
- filter: { object: { style: "form" } },
2159
- fields: { object: { style: "form" } }
2160
- }
2161
- },
2162
2163
  security: [{ scheme: "bearer", type: "http" }],
2163
2164
  url: "/transactions",
2164
2165
  ...options
2165
2166
  });
2166
2167
  var getUserProfiles = (options) => (options.client ?? client).get({
2167
- querySerializer: {
2168
- parameters: {
2169
- filter: { object: { style: "form" } },
2170
- page: { object: { style: "form" } },
2171
- fields: { object: { style: "form" } }
2172
- }
2173
- },
2174
2168
  security: [{ scheme: "bearer", type: "http" }],
2175
2169
  url: "/user_profiles",
2176
2170
  ...options
2177
2171
  });
2178
2172
  var postUserProfiles = (options) => (options.client ?? client).post({
2179
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2180
2173
  security: [{ scheme: "bearer", type: "http" }],
2181
2174
  url: "/user_profiles",
2182
2175
  ...options,
@@ -2186,7 +2179,6 @@ var postUserProfiles = (options) => (options.client ?? client).post({
2186
2179
  }
2187
2180
  });
2188
2181
  var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
2189
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2190
2182
  security: [{ scheme: "bearer", type: "http" }],
2191
2183
  url: "/users/{id}/confirm-email",
2192
2184
  ...options,
@@ -2196,13 +2188,11 @@ var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
2196
2188
  }
2197
2189
  });
2198
2190
  var getThreadsSearch = (options) => (options.client ?? client).get({
2199
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2200
2191
  security: [{ scheme: "bearer", type: "http" }],
2201
2192
  url: "/threads/search",
2202
2193
  ...options
2203
2194
  });
2204
2195
  var patchWalletPlan = (options) => (options.client ?? client).patch({
2205
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2206
2196
  security: [{ scheme: "bearer", type: "http" }],
2207
2197
  url: "/wallet/plan",
2208
2198
  ...options,
@@ -2212,13 +2202,11 @@ var patchWalletPlan = (options) => (options.client ?? client).patch({
2212
2202
  }
2213
2203
  });
2214
2204
  var getPlansSlugBySlug = (options) => (options.client ?? client).get({
2215
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2216
2205
  security: [{ scheme: "bearer", type: "http" }],
2217
2206
  url: "/plans/slug/{slug}",
2218
2207
  ...options
2219
2208
  });
2220
2209
  var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
2221
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2222
2210
  security: [{ scheme: "bearer", type: "http" }],
2223
2211
  url: "/extraction/documents/{id}/restore",
2224
2212
  ...options,
@@ -2228,25 +2216,16 @@ var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client
2228
2216
  }
2229
2217
  });
2230
2218
  var getLlmAnalyticsById = (options) => (options.client ?? client).get({
2231
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2232
2219
  security: [{ scheme: "bearer", type: "http" }],
2233
2220
  url: "/llm_analytics/{id}",
2234
2221
  ...options
2235
2222
  });
2236
2223
  var getExtractionSchemaFields = (options) => (options.client ?? client).get({
2237
- querySerializer: {
2238
- parameters: {
2239
- filter: { object: { style: "form" } },
2240
- page: { object: { style: "form" } },
2241
- fields: { object: { style: "form" } }
2242
- }
2243
- },
2244
2224
  security: [{ scheme: "bearer", type: "http" }],
2245
2225
  url: "/extraction/schema-fields",
2246
2226
  ...options
2247
2227
  });
2248
2228
  var postExtractionSchemaFields = (options) => (options.client ?? client).post({
2249
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2250
2229
  security: [{ scheme: "bearer", type: "http" }],
2251
2230
  url: "/extraction/schema-fields",
2252
2231
  ...options,
@@ -2255,8 +2234,16 @@ var postExtractionSchemaFields = (options) => (options.client ?? client).post({
2255
2234
  ...options.headers
2256
2235
  }
2257
2236
  });
2237
+ var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? client).patch({
2238
+ security: [{ scheme: "bearer", type: "http" }],
2239
+ url: "/extraction/documents/{id}/mark_trained",
2240
+ ...options,
2241
+ headers: {
2242
+ "Content-Type": "application/vnd.api+json",
2243
+ ...options.headers
2244
+ }
2245
+ });
2258
2246
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
2259
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2260
2247
  security: [{ scheme: "bearer", type: "http" }],
2261
2248
  url: "/applications/{id}/grant-credits",
2262
2249
  ...options,
@@ -2266,29 +2253,16 @@ var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).
2266
2253
  }
2267
2254
  });
2268
2255
  var getSearchStatus = (options) => (options.client ?? client).get({
2269
- querySerializer: {
2270
- parameters: {
2271
- filter: { object: { style: "form" } },
2272
- fields: { object: { style: "form" } }
2273
- }
2274
- },
2275
2256
  security: [{ scheme: "bearer", type: "http" }],
2276
2257
  url: "/search/status",
2277
2258
  ...options
2278
2259
  });
2279
2260
  var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
2280
- querySerializer: {
2281
- parameters: {
2282
- filter: { object: { style: "form" } },
2283
- fields: { object: { style: "form" } }
2284
- }
2285
- },
2286
2261
  security: [{ scheme: "bearer", type: "http" }],
2287
2262
  url: "/tenants/{tenant_id}/workspace_stats",
2288
2263
  ...options
2289
2264
  });
2290
2265
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
2291
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2292
2266
  security: [{ scheme: "bearer", type: "http" }],
2293
2267
  url: "/api_keys/{id}/allocate",
2294
2268
  ...options,
@@ -2298,7 +2272,6 @@ var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
2298
2272
  }
2299
2273
  });
2300
2274
  var postUsersAuthLogin = (options) => (options.client ?? client).post({
2301
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2302
2275
  security: [{ scheme: "bearer", type: "http" }],
2303
2276
  url: "/users/auth/login",
2304
2277
  ...options,
@@ -2308,7 +2281,6 @@ var postUsersAuthLogin = (options) => (options.client ?? client).post({
2308
2281
  }
2309
2282
  });
2310
2283
  var postAiEmbed = (options) => (options.client ?? client).post({
2311
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2312
2284
  security: [{ scheme: "bearer", type: "http" }],
2313
2285
  url: "/ai/embed",
2314
2286
  ...options,
@@ -2318,18 +2290,11 @@ var postAiEmbed = (options) => (options.client ?? client).post({
2318
2290
  }
2319
2291
  });
2320
2292
  var getWorkspacesMine = (options) => (options.client ?? client).get({
2321
- querySerializer: {
2322
- parameters: {
2323
- filter: { object: { style: "form" } },
2324
- fields: { object: { style: "form" } }
2325
- }
2326
- },
2327
2293
  security: [{ scheme: "bearer", type: "http" }],
2328
2294
  url: "/workspaces/mine",
2329
2295
  ...options
2330
2296
  });
2331
2297
  var postTenantsIsv = (options) => (options.client ?? client).post({
2332
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2333
2298
  security: [{ scheme: "bearer", type: "http" }],
2334
2299
  url: "/tenants/isv",
2335
2300
  ...options,
@@ -2339,7 +2304,6 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
2339
2304
  }
2340
2305
  });
2341
2306
  var postSearchReindex = (options) => (options.client ?? client).post({
2342
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2343
2307
  security: [{ scheme: "bearer", type: "http" }],
2344
2308
  url: "/search/reindex",
2345
2309
  ...options,
@@ -2349,7 +2313,6 @@ var postSearchReindex = (options) => (options.client ?? client).post({
2349
2313
  }
2350
2314
  });
2351
2315
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
2352
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2353
2316
  security: [{ scheme: "bearer", type: "http" }],
2354
2317
  url: "/extraction/results/{id}/regenerate",
2355
2318
  ...options,
@@ -2359,7 +2322,6 @@ var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? clien
2359
2322
  }
2360
2323
  });
2361
2324
  var postUsersAuthConfirm = (options) => (options.client ?? client).post({
2362
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2363
2325
  security: [{ scheme: "bearer", type: "http" }],
2364
2326
  url: "/users/auth/confirm",
2365
2327
  ...options,
@@ -2369,19 +2331,11 @@ var postUsersAuthConfirm = (options) => (options.client ?? client).post({
2369
2331
  }
2370
2332
  });
2371
2333
  var getExtractionSchemas = (options) => (options.client ?? client).get({
2372
- querySerializer: {
2373
- parameters: {
2374
- filter: { object: { style: "form" } },
2375
- page: { object: { style: "form" } },
2376
- fields: { object: { style: "form" } }
2377
- }
2378
- },
2379
2334
  security: [{ scheme: "bearer", type: "http" }],
2380
2335
  url: "/extraction/schemas",
2381
2336
  ...options
2382
2337
  });
2383
2338
  var postExtractionSchemas = (options) => (options.client ?? client).post({
2384
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2385
2339
  security: [{ scheme: "bearer", type: "http" }],
2386
2340
  url: "/extraction/schemas",
2387
2341
  ...options,
@@ -2391,18 +2345,11 @@ var postExtractionSchemas = (options) => (options.client ?? client).post({
2391
2345
  }
2392
2346
  });
2393
2347
  var getStorageStats = (options) => (options.client ?? client).get({
2394
- querySerializer: {
2395
- parameters: {
2396
- filter: { object: { style: "form" } },
2397
- fields: { object: { style: "form" } }
2398
- }
2399
- },
2400
2348
  security: [{ scheme: "bearer", type: "http" }],
2401
2349
  url: "/storage/stats",
2402
2350
  ...options
2403
2351
  });
2404
2352
  var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
2405
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2406
2353
  security: [{ scheme: "bearer", type: "http" }],
2407
2354
  url: "/tenants/{id}/buy-storage",
2408
2355
  ...options,
@@ -2412,19 +2359,11 @@ var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
2412
2359
  }
2413
2360
  });
2414
2361
  var getWorkspaceMemberships = (options) => (options.client ?? client).get({
2415
- querySerializer: {
2416
- parameters: {
2417
- filter: { object: { style: "form" } },
2418
- page: { object: { style: "form" } },
2419
- fields: { object: { style: "form" } }
2420
- }
2421
- },
2422
2362
  security: [{ scheme: "bearer", type: "http" }],
2423
2363
  url: "/workspace-memberships",
2424
2364
  ...options
2425
2365
  });
2426
2366
  var postWorkspaceMemberships = (options) => (options.client ?? client).post({
2427
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2428
2367
  security: [{ scheme: "bearer", type: "http" }],
2429
2368
  url: "/workspace-memberships",
2430
2369
  ...options,
@@ -2434,13 +2373,11 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
2434
2373
  }
2435
2374
  });
2436
2375
  var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
2437
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2438
2376
  security: [{ scheme: "bearer", type: "http" }],
2439
2377
  url: "/tenants/{tenant_id}/document_stats",
2440
2378
  ...options
2441
2379
  });
2442
2380
  var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
2443
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2444
2381
  security: [{ scheme: "bearer", type: "http" }],
2445
2382
  url: "/users/auth/magic_link/request",
2446
2383
  ...options,
@@ -2450,7 +2387,6 @@ var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post
2450
2387
  }
2451
2388
  });
2452
2389
  var postUsersAuthRegister = (options) => (options.client ?? client).post({
2453
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2454
2390
  security: [{ scheme: "bearer", type: "http" }],
2455
2391
  url: "/users/auth/register",
2456
2392
  ...options,
@@ -2469,19 +2405,16 @@ var postTrainingExamplesBulk = (options) => (options.client ?? client).post({
2469
2405
  }
2470
2406
  });
2471
2407
  var deleteBucketsById = (options) => (options.client ?? client).delete({
2472
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2473
2408
  security: [{ scheme: "bearer", type: "http" }],
2474
2409
  url: "/buckets/{id}",
2475
2410
  ...options
2476
2411
  });
2477
2412
  var getBucketsById = (options) => (options.client ?? client).get({
2478
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2479
2413
  security: [{ scheme: "bearer", type: "http" }],
2480
2414
  url: "/buckets/{id}",
2481
2415
  ...options
2482
2416
  });
2483
2417
  var patchBucketsById = (options) => (options.client ?? client).patch({
2484
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2485
2418
  security: [{ scheme: "bearer", type: "http" }],
2486
2419
  url: "/buckets/{id}",
2487
2420
  ...options,
@@ -2491,18 +2424,11 @@ var patchBucketsById = (options) => (options.client ?? client).patch({
2491
2424
  }
2492
2425
  });
2493
2426
  var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2494
- querySerializer: {
2495
- parameters: {
2496
- filter: { object: { style: "form" } },
2497
- fields: { object: { style: "form" } }
2498
- }
2499
- },
2500
2427
  security: [{ scheme: "bearer", type: "http" }],
2501
2428
  url: "/extraction/documents/workspace/{workspace_id}",
2502
2429
  ...options
2503
2430
  });
2504
2431
  var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
2505
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2506
2432
  security: [{ scheme: "bearer", type: "http" }],
2507
2433
  url: "/extraction/documents/begin_upload",
2508
2434
  ...options,
@@ -2512,25 +2438,21 @@ var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client)
2512
2438
  }
2513
2439
  });
2514
2440
  var deleteAiGraphEdgesById = (options) => (options.client ?? client).delete({
2515
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2516
2441
  security: [{ scheme: "bearer", type: "http" }],
2517
2442
  url: "/ai/graph/edges/{id}",
2518
2443
  ...options
2519
2444
  });
2520
2445
  var deleteTenantsById = (options) => (options.client ?? client).delete({
2521
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2522
2446
  security: [{ scheme: "bearer", type: "http" }],
2523
2447
  url: "/tenants/{id}",
2524
2448
  ...options
2525
2449
  });
2526
2450
  var getTenantsById = (options) => (options.client ?? client).get({
2527
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2528
2451
  security: [{ scheme: "bearer", type: "http" }],
2529
2452
  url: "/tenants/{id}",
2530
2453
  ...options
2531
2454
  });
2532
2455
  var patchTenantsById = (options) => (options.client ?? client).patch({
2533
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2534
2456
  security: [{ scheme: "bearer", type: "http" }],
2535
2457
  url: "/tenants/{id}",
2536
2458
  ...options,
@@ -2540,19 +2462,11 @@ var patchTenantsById = (options) => (options.client ?? client).patch({
2540
2462
  }
2541
2463
  });
2542
2464
  var getPlans = (options) => (options.client ?? client).get({
2543
- querySerializer: {
2544
- parameters: {
2545
- filter: { object: { style: "form" } },
2546
- page: { object: { style: "form" } },
2547
- fields: { object: { style: "form" } }
2548
- }
2549
- },
2550
2465
  security: [{ scheme: "bearer", type: "http" }],
2551
2466
  url: "/plans",
2552
2467
  ...options
2553
2468
  });
2554
2469
  var patchExtractionSchemasByIdFields = (options) => (options.client ?? client).patch({
2555
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2556
2470
  security: [{ scheme: "bearer", type: "http" }],
2557
2471
  url: "/extraction/schemas/{id}/fields",
2558
2472
  ...options,
@@ -2562,13 +2476,11 @@ var patchExtractionSchemasByIdFields = (options) => (options.client ?? client).p
2562
2476
  }
2563
2477
  });
2564
2478
  var getExtractionSchemasById = (options) => (options.client ?? client).get({
2565
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2566
2479
  security: [{ scheme: "bearer", type: "http" }],
2567
2480
  url: "/extraction/schemas/{id}",
2568
2481
  ...options
2569
2482
  });
2570
2483
  var patchExtractionSchemasById = (options) => (options.client ?? client).patch({
2571
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2572
2484
  security: [{ scheme: "bearer", type: "http" }],
2573
2485
  url: "/extraction/schemas/{id}",
2574
2486
  ...options,
@@ -2578,7 +2490,6 @@ var patchExtractionSchemasById = (options) => (options.client ?? client).patch({
2578
2490
  }
2579
2491
  });
2580
2492
  var postAgentsByIdTest = (options) => (options.client ?? client).post({
2581
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2582
2493
  security: [{ scheme: "bearer", type: "http" }],
2583
2494
  url: "/agents/{id}/test",
2584
2495
  ...options,
@@ -2588,24 +2499,16 @@ var postAgentsByIdTest = (options) => (options.client ?? client).post({
2588
2499
  }
2589
2500
  });
2590
2501
  var getExtractionDocuments = (options) => (options.client ?? client).get({
2591
- querySerializer: {
2592
- parameters: {
2593
- filter: { object: { style: "form" } },
2594
- fields: { object: { style: "form" } }
2595
- }
2596
- },
2597
2502
  security: [{ scheme: "bearer", type: "http" }],
2598
2503
  url: "/extraction/documents",
2599
2504
  ...options
2600
2505
  });
2601
2506
  var deleteTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).delete({
2602
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2603
2507
  security: [{ scheme: "bearer", type: "http" }],
2604
2508
  url: "/tenant-memberships/{tenant_id}/{user_id}",
2605
2509
  ...options
2606
2510
  });
2607
2511
  var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).patch({
2608
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2609
2512
  security: [{ scheme: "bearer", type: "http" }],
2610
2513
  url: "/tenant-memberships/{tenant_id}/{user_id}",
2611
2514
  ...options,
@@ -2615,7 +2518,6 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
2615
2518
  }
2616
2519
  });
2617
2520
  var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
2618
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2619
2521
  security: [{ scheme: "bearer", type: "http" }],
2620
2522
  url: "/webhook_configs/{id}/rotate_secret",
2621
2523
  ...options,
@@ -2625,18 +2527,11 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
2625
2527
  }
2626
2528
  });
2627
2529
  var getFieldTemplates = (options) => (options.client ?? client).get({
2628
- querySerializer: {
2629
- parameters: {
2630
- filter: { object: { style: "form" } },
2631
- fields: { object: { style: "form" } }
2632
- }
2633
- },
2634
2530
  security: [{ scheme: "bearer", type: "http" }],
2635
2531
  url: "/field_templates",
2636
2532
  ...options
2637
2533
  });
2638
2534
  var postFieldTemplates = (options) => (options.client ?? client).post({
2639
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2640
2535
  security: [{ scheme: "bearer", type: "http" }],
2641
2536
  url: "/field_templates",
2642
2537
  ...options,
@@ -2646,19 +2541,11 @@ var postFieldTemplates = (options) => (options.client ?? client).post({
2646
2541
  }
2647
2542
  });
2648
2543
  var getAiMessages = (options) => (options.client ?? client).get({
2649
- querySerializer: {
2650
- parameters: {
2651
- filter: { object: { style: "form" } },
2652
- page: { object: { style: "form" } },
2653
- fields: { object: { style: "form" } }
2654
- }
2655
- },
2656
2544
  security: [{ scheme: "bearer", type: "http" }],
2657
2545
  url: "/ai/messages",
2658
2546
  ...options
2659
2547
  });
2660
2548
  var postAiMessages = (options) => (options.client ?? client).post({
2661
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2662
2549
  security: [{ scheme: "bearer", type: "http" }],
2663
2550
  url: "/ai/messages",
2664
2551
  ...options,
@@ -2668,7 +2555,6 @@ var postAiMessages = (options) => (options.client ?? client).post({
2668
2555
  }
2669
2556
  });
2670
2557
  var postStorageSignUpload = (options) => (options.client ?? client).post({
2671
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2672
2558
  security: [{ scheme: "bearer", type: "http" }],
2673
2559
  url: "/storage/sign_upload",
2674
2560
  ...options,
@@ -2678,7 +2564,6 @@ var postStorageSignUpload = (options) => (options.client ?? client).post({
2678
2564
  }
2679
2565
  });
2680
2566
  var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
2681
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2682
2567
  security: [{ scheme: "bearer", type: "http" }],
2683
2568
  url: "/webhook_deliveries/{id}/retry",
2684
2569
  ...options,
@@ -2688,19 +2573,11 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
2688
2573
  }
2689
2574
  });
2690
2575
  var getNotificationMethods = (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
2576
  security: [{ scheme: "bearer", type: "http" }],
2699
2577
  url: "/notification_methods",
2700
2578
  ...options
2701
2579
  });
2702
2580
  var postNotificationMethods = (options) => (options.client ?? client).post({
2703
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2704
2581
  security: [{ scheme: "bearer", type: "http" }],
2705
2582
  url: "/notification_methods",
2706
2583
  ...options,
@@ -2710,7 +2587,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
2710
2587
  }
2711
2588
  });
2712
2589
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
2713
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2714
2590
  security: [{ scheme: "bearer", type: "http" }],
2715
2591
  url: "/threads/{id}/summarize",
2716
2592
  ...options,
@@ -2720,7 +2596,6 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
2720
2596
  }
2721
2597
  });
2722
2598
  var patchConfigsByKey = (options) => (options.client ?? client).patch({
2723
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2724
2599
  security: [{ scheme: "bearer", type: "http" }],
2725
2600
  url: "/configs/{key}",
2726
2601
  ...options,
@@ -2730,7 +2605,6 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
2730
2605
  }
2731
2606
  });
2732
2607
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
2733
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2734
2608
  security: [{ scheme: "bearer", type: "http" }],
2735
2609
  url: "/api_keys/{id}/rotate",
2736
2610
  ...options,
@@ -2740,7 +2614,6 @@ var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
2740
2614
  }
2741
2615
  });
2742
2616
  var postExtractionResults = (options) => (options.client ?? client).post({
2743
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2744
2617
  security: [{ scheme: "bearer", type: "http" }],
2745
2618
  url: "/extraction/results",
2746
2619
  ...options,
@@ -2750,7 +2623,6 @@ var postExtractionResults = (options) => (options.client ?? client).post({
2750
2623
  }
2751
2624
  });
2752
2625
  var postAgentsByIdClone = (options) => (options.client ?? client).post({
2753
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2754
2626
  security: [{ scheme: "bearer", type: "http" }],
2755
2627
  url: "/agents/{id}/clone",
2756
2628
  ...options,
@@ -2760,19 +2632,16 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
2760
2632
  }
2761
2633
  });
2762
2634
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
2763
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2764
2635
  security: [{ scheme: "bearer", type: "http" }],
2765
2636
  url: "/ai/conversations/{id}",
2766
2637
  ...options
2767
2638
  });
2768
2639
  var getAiConversationsById = (options) => (options.client ?? client).get({
2769
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2770
2640
  security: [{ scheme: "bearer", type: "http" }],
2771
2641
  url: "/ai/conversations/{id}",
2772
2642
  ...options
2773
2643
  });
2774
2644
  var postExtractionSchemasBulkCreate = (options) => (options.client ?? client).post({
2775
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2776
2645
  security: [{ scheme: "bearer", type: "http" }],
2777
2646
  url: "/extraction/schemas/bulk_create",
2778
2647
  ...options,
@@ -2782,19 +2651,16 @@ var postExtractionSchemasBulkCreate = (options) => (options.client ?? client).po
2782
2651
  }
2783
2652
  });
2784
2653
  var deleteUserProfilesById = (options) => (options.client ?? client).delete({
2785
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2786
2654
  security: [{ scheme: "bearer", type: "http" }],
2787
2655
  url: "/user_profiles/{id}",
2788
2656
  ...options
2789
2657
  });
2790
2658
  var getUserProfilesById = (options) => (options.client ?? client).get({
2791
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2792
2659
  security: [{ scheme: "bearer", type: "http" }],
2793
2660
  url: "/user_profiles/{id}",
2794
2661
  ...options
2795
2662
  });
2796
2663
  var patchUserProfilesById = (options) => (options.client ?? client).patch({
2797
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2798
2664
  security: [{ scheme: "bearer", type: "http" }],
2799
2665
  url: "/user_profiles/{id}",
2800
2666
  ...options,
@@ -2804,43 +2670,26 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
2804
2670
  }
2805
2671
  });
2806
2672
  var deleteObjectsById = (options) => (options.client ?? client).delete({
2807
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2808
2673
  security: [{ scheme: "bearer", type: "http" }],
2809
2674
  url: "/objects/{id}",
2810
2675
  ...options
2811
2676
  });
2812
2677
  var getObjectsById = (options) => (options.client ?? client).get({
2813
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2814
2678
  security: [{ scheme: "bearer", type: "http" }],
2815
2679
  url: "/objects/{id}",
2816
2680
  ...options
2817
2681
  });
2818
2682
  var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
2819
- querySerializer: {
2820
- parameters: {
2821
- filter: { object: { style: "form" } },
2822
- page: { object: { style: "form" } },
2823
- fields: { object: { style: "form" } }
2824
- }
2825
- },
2826
2683
  security: [{ scheme: "bearer", type: "http" }],
2827
2684
  url: "/extraction/documents/workspace/{workspace_id}/excluded",
2828
2685
  ...options
2829
2686
  });
2830
2687
  var getWebhookConfigs = (options) => (options.client ?? client).get({
2831
- querySerializer: {
2832
- parameters: {
2833
- filter: { object: { style: "form" } },
2834
- page: { object: { style: "form" } },
2835
- fields: { object: { style: "form" } }
2836
- }
2837
- },
2838
2688
  security: [{ scheme: "bearer", type: "http" }],
2839
2689
  url: "/webhook_configs",
2840
2690
  ...options
2841
2691
  });
2842
2692
  var postWebhookConfigs = (options) => (options.client ?? client).post({
2843
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2844
2693
  security: [{ scheme: "bearer", type: "http" }],
2845
2694
  url: "/webhook_configs",
2846
2695
  ...options,
@@ -2850,7 +2699,6 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
2850
2699
  }
2851
2700
  });
2852
2701
  var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
2853
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2854
2702
  security: [{ scheme: "bearer", type: "http" }],
2855
2703
  url: "/agents/{id}/publish_version",
2856
2704
  ...options,
@@ -2860,7 +2708,6 @@ var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post(
2860
2708
  }
2861
2709
  });
2862
2710
  var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
2863
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2864
2711
  security: [{ scheme: "bearer", type: "http" }],
2865
2712
  url: "/objects/bulk-destroy",
2866
2713
  ...options,
@@ -2870,30 +2717,21 @@ var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
2870
2717
  }
2871
2718
  });
2872
2719
  var getApplicationsBySlugBySlug = (options) => (options.client ?? client).get({
2873
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2874
2720
  security: [{ scheme: "bearer", type: "http" }],
2875
2721
  url: "/applications/by-slug/{slug}",
2876
2722
  ...options
2877
2723
  });
2878
2724
  var getNotificationLogs = (options) => (options.client ?? client).get({
2879
- querySerializer: {
2880
- parameters: {
2881
- filter: { object: { style: "form" } },
2882
- fields: { object: { style: "form" } }
2883
- }
2884
- },
2885
2725
  security: [{ scheme: "bearer", type: "http" }],
2886
2726
  url: "/notification_logs",
2887
2727
  ...options
2888
2728
  });
2889
2729
  var getWallet = (options) => (options.client ?? client).get({
2890
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2891
2730
  security: [{ scheme: "bearer", type: "http" }],
2892
2731
  url: "/wallet",
2893
2732
  ...options
2894
2733
  });
2895
2734
  var patchExtractionSchemasByIdActivate = (options) => (options.client ?? client).patch({
2896
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2897
2735
  security: [{ scheme: "bearer", type: "http" }],
2898
2736
  url: "/extraction/schemas/{id}/activate",
2899
2737
  ...options,
@@ -2903,19 +2741,16 @@ var patchExtractionSchemasByIdActivate = (options) => (options.client ?? client)
2903
2741
  }
2904
2742
  });
2905
2743
  var deleteMessagesById = (options) => (options.client ?? client).delete({
2906
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2907
2744
  security: [{ scheme: "bearer", type: "http" }],
2908
2745
  url: "/messages/{id}",
2909
2746
  ...options
2910
2747
  });
2911
2748
  var getMessagesById = (options) => (options.client ?? client).get({
2912
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2913
2749
  security: [{ scheme: "bearer", type: "http" }],
2914
2750
  url: "/messages/{id}",
2915
2751
  ...options
2916
2752
  });
2917
2753
  var patchMessagesById = (options) => (options.client ?? client).patch({
2918
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2919
2754
  security: [{ scheme: "bearer", type: "http" }],
2920
2755
  url: "/messages/{id}",
2921
2756
  ...options,
@@ -2925,36 +2760,26 @@ var patchMessagesById = (options) => (options.client ?? client).patch({
2925
2760
  }
2926
2761
  });
2927
2762
  var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
2928
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2929
2763
  security: [{ scheme: "bearer", type: "http" }],
2930
2764
  url: "/llm_analytics/usage",
2931
2765
  ...options
2932
2766
  });
2933
2767
  var getSearchStats = (options) => (options.client ?? client).get({
2934
- querySerializer: {
2935
- parameters: {
2936
- filter: { object: { style: "form" } },
2937
- fields: { object: { style: "form" } }
2938
- }
2939
- },
2940
2768
  security: [{ scheme: "bearer", type: "http" }],
2941
2769
  url: "/search/stats",
2942
2770
  ...options
2943
2771
  });
2944
2772
  var deleteNotificationPreferencesById = (options) => (options.client ?? client).delete({
2945
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2946
2773
  security: [{ scheme: "bearer", type: "http" }],
2947
2774
  url: "/notification_preferences/{id}",
2948
2775
  ...options
2949
2776
  });
2950
2777
  var getNotificationPreferencesById = (options) => (options.client ?? client).get({
2951
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2952
2778
  security: [{ scheme: "bearer", type: "http" }],
2953
2779
  url: "/notification_preferences/{id}",
2954
2780
  ...options
2955
2781
  });
2956
2782
  var patchNotificationPreferencesById = (options) => (options.client ?? client).patch({
2957
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2958
2783
  security: [{ scheme: "bearer", type: "http" }],
2959
2784
  url: "/notification_preferences/{id}",
2960
2785
  ...options,
@@ -2964,19 +2789,11 @@ var patchNotificationPreferencesById = (options) => (options.client ?? client).p
2964
2789
  }
2965
2790
  });
2966
2791
  var getAiGraphNodes = (options) => (options.client ?? client).get({
2967
- querySerializer: {
2968
- parameters: {
2969
- filter: { object: { style: "form" } },
2970
- page: { object: { style: "form" } },
2971
- fields: { object: { style: "form" } }
2972
- }
2973
- },
2974
2792
  security: [{ scheme: "bearer", type: "http" }],
2975
2793
  url: "/ai/graph/nodes",
2976
2794
  ...options
2977
2795
  });
2978
2796
  var postAiGraphNodes = (options) => (options.client ?? client).post({
2979
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2980
2797
  security: [{ scheme: "bearer", type: "http" }],
2981
2798
  url: "/ai/graph/nodes",
2982
2799
  ...options,
@@ -2986,19 +2803,11 @@ var postAiGraphNodes = (options) => (options.client ?? client).post({
2986
2803
  }
2987
2804
  });
2988
2805
  var getAgents = (options) => (options.client ?? client).get({
2989
- querySerializer: {
2990
- parameters: {
2991
- filter: { object: { style: "form" } },
2992
- page: { object: { style: "form" } },
2993
- fields: { object: { style: "form" } }
2994
- }
2995
- },
2996
2806
  security: [{ scheme: "bearer", type: "http" }],
2997
2807
  url: "/agents",
2998
2808
  ...options
2999
2809
  });
3000
2810
  var postAgents = (options) => (options.client ?? client).post({
3001
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3002
2811
  security: [{ scheme: "bearer", type: "http" }],
3003
2812
  url: "/agents",
3004
2813
  ...options,
@@ -3008,7 +2817,6 @@ var postAgents = (options) => (options.client ?? client).post({
3008
2817
  }
3009
2818
  });
3010
2819
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3011
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3012
2820
  security: [{ scheme: "bearer", type: "http" }],
3013
2821
  url: "/users/register_isv",
3014
2822
  ...options,
@@ -3018,25 +2826,16 @@ var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3018
2826
  }
3019
2827
  });
3020
2828
  var getExtractionBatchesById = (options) => (options.client ?? client).get({
3021
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3022
2829
  security: [{ scheme: "bearer", type: "http" }],
3023
2830
  url: "/extraction/batches/{id}",
3024
2831
  ...options
3025
2832
  });
3026
2833
  var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
3027
- querySerializer: {
3028
- parameters: {
3029
- filter: { object: { style: "form" } },
3030
- page: { object: { style: "form" } },
3031
- fields: { object: { style: "form" } }
3032
- }
3033
- },
3034
2834
  security: [{ scheme: "bearer", type: "http" }],
3035
2835
  url: "/workspaces/{workspace_id}/extraction/exports",
3036
2836
  ...options
3037
2837
  });
3038
2838
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
3039
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3040
2839
  security: [{ scheme: "bearer", type: "http" }],
3041
2840
  url: "/workspaces/{workspace_id}/extraction/exports",
3042
2841
  ...options,
@@ -3046,13 +2845,11 @@ var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client
3046
2845
  }
3047
2846
  });
3048
2847
  var deleteWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).delete({
3049
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3050
2848
  security: [{ scheme: "bearer", type: "http" }],
3051
2849
  url: "/workspace-memberships/{workspace_id}/{user_id}",
3052
2850
  ...options
3053
2851
  });
3054
2852
  var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).patch({
3055
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3056
2853
  security: [{ scheme: "bearer", type: "http" }],
3057
2854
  url: "/workspace-memberships/{workspace_id}/{user_id}",
3058
2855
  ...options,
@@ -3062,37 +2859,16 @@ var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.clien
3062
2859
  }
3063
2860
  });
3064
2861
  var getCreditPackages = (options) => (options.client ?? client).get({
3065
- querySerializer: {
3066
- parameters: {
3067
- filter: { object: { style: "form" } },
3068
- page: { object: { style: "form" } },
3069
- fields: { object: { style: "form" } }
3070
- }
3071
- },
3072
2862
  security: [{ scheme: "bearer", type: "http" }],
3073
2863
  url: "/credit-packages",
3074
2864
  ...options
3075
2865
  });
3076
2866
  var getUsers = (options) => (options.client ?? client).get({
3077
- querySerializer: {
3078
- parameters: {
3079
- filter: { object: { style: "form" } },
3080
- page: { object: { style: "form" } },
3081
- fields: { object: { style: "form" } }
3082
- }
3083
- },
3084
2867
  security: [{ scheme: "bearer", type: "http" }],
3085
2868
  url: "/users",
3086
2869
  ...options
3087
2870
  });
3088
2871
  var getObjects = (options) => (options.client ?? client).get({
3089
- querySerializer: {
3090
- parameters: {
3091
- filter: { object: { style: "form" } },
3092
- page: { object: { style: "form" } },
3093
- fields: { object: { style: "form" } }
3094
- }
3095
- },
3096
2872
  security: [{ scheme: "bearer", type: "http" }],
3097
2873
  url: "/objects",
3098
2874
  ...options
@@ -3433,6 +3209,13 @@ async function collectStreamedMessage(stream) {
3433
3209
  }
3434
3210
  return fullMessage;
3435
3211
  }
3212
+
3213
+ // src/index.ts
3214
+ var gptCore = {
3215
+ ...sdk_gen_exports,
3216
+ client
3217
+ };
3218
+ var index_default = gptCore;
3436
3219
  export {
3437
3220
  AgentCreateSchema,
3438
3221
  ApiKeyAllocateSchema,
@@ -3463,6 +3246,7 @@ export {
3463
3246
  calculateBackoff,
3464
3247
  client,
3465
3248
  collectStreamedMessage,
3249
+ index_default as default,
3466
3250
  deleteAgentsById,
3467
3251
  deleteAiConversationsById,
3468
3252
  deleteAiGraphEdgesById,
@@ -3523,6 +3307,7 @@ export {
3523
3307
  getExtractionDocumentsWorkspaceByWorkspaceId,
3524
3308
  getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
3525
3309
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
3310
+ getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
3526
3311
  getExtractionResultsById,
3527
3312
  getExtractionResultsDocumentByDocumentId,
3528
3313
  getExtractionSchemaFields,
@@ -3609,9 +3394,12 @@ export {
3609
3394
  patchApplicationsByIdGrantCredits,
3610
3395
  patchBucketsById,
3611
3396
  patchConfigsByKey,
3397
+ patchExtractionDocumentsByIdDismiss,
3398
+ patchExtractionDocumentsByIdDismissTraining,
3612
3399
  patchExtractionDocumentsByIdExclude,
3613
3400
  patchExtractionDocumentsByIdFinishUpload,
3614
3401
  patchExtractionDocumentsByIdInclude,
3402
+ patchExtractionDocumentsByIdMarkTrained,
3615
3403
  patchExtractionDocumentsByIdRestore,
3616
3404
  patchExtractionDocumentsByIdStatus,
3617
3405
  patchExtractionResultsByIdCorrections,
@@ -3718,6 +3506,7 @@ export {
3718
3506
  postWebhookDeliveriesByIdRetry,
3719
3507
  postWorkspaceMemberships,
3720
3508
  postWorkspaces,
3509
+ postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
3721
3510
  postWorkspacesByWorkspaceIdExtractionExports,
3722
3511
  retryWithBackoff,
3723
3512
  sleep,