@gpt-core/client 0.7.63 → 0.7.65

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.d.mts CHANGED
@@ -617,43 +617,6 @@ type IsvRevenue = {
617
617
  };
618
618
  type: string;
619
619
  };
620
- /**
621
- * A "Resource object" representing a extraction_schema
622
- */
623
- type ExtractionSchema = {
624
- /**
625
- * An attributes object for a extraction_schema
626
- */
627
- attributes?: {
628
- /**
629
- * Field included by default.
630
- */
631
- is_active: boolean;
632
- /**
633
- * Field included by default.
634
- */
635
- version: number;
636
- };
637
- id: string;
638
- /**
639
- * A relationships object for a extraction_schema
640
- */
641
- relationships?: {
642
- fields?: {
643
- /**
644
- * Relationship data for fields
645
- */
646
- data?: Array<{
647
- id: string;
648
- meta?: {
649
- [key: string]: unknown;
650
- };
651
- type: string;
652
- }>;
653
- };
654
- };
655
- type: string;
656
- };
657
620
  /**
658
621
  * A "Resource object" representing a user_profile
659
622
  */
@@ -900,6 +863,15 @@ type NotificationMethod = {
900
863
  };
901
864
  type: string;
902
865
  };
866
+ type AgentVersionFieldsInputCreateType = {
867
+ ai_hints?: string | unknown;
868
+ description?: string | unknown;
869
+ label?: string | unknown;
870
+ name: string;
871
+ order?: number | unknown;
872
+ required?: boolean | unknown;
873
+ type?: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "address" | unknown;
874
+ };
903
875
  /**
904
876
  * A "Resource object" representing a account
905
877
  */
@@ -1679,10 +1651,11 @@ type ExtractionResult = {
1679
1651
  * Field included by default.
1680
1652
  */
1681
1653
  processing_time_ms?: number | null | unknown;
1654
+ schema_id?: string | null | unknown;
1682
1655
  /**
1683
- * The version of the schema used for this extraction. Field included by default.
1656
+ * The version of the schema/agent used for this extraction. Field included by default.
1684
1657
  */
1685
- schema_version?: number | null | unknown;
1658
+ schema_version?: string | null | unknown;
1686
1659
  /**
1687
1660
  * Field included by default.
1688
1661
  */
@@ -1834,10 +1807,46 @@ type AgentVersion = {
1834
1807
  * Field included by default.
1835
1808
  */
1836
1809
  created_at: unknown;
1810
+ /**
1811
+ * Field included by default.
1812
+ */
1813
+ fields?: Array<{
1814
+ /**
1815
+ * Field included by default.
1816
+ */
1817
+ ai_hints?: string | null | unknown;
1818
+ /**
1819
+ * Field included by default.
1820
+ */
1821
+ description?: string | null | unknown;
1822
+ /**
1823
+ * Field included by default.
1824
+ */
1825
+ label?: string | null | unknown;
1826
+ /**
1827
+ * Field included by default.
1828
+ */
1829
+ name: string;
1830
+ /**
1831
+ * Field included by default.
1832
+ */
1833
+ order: number;
1834
+ /**
1835
+ * Field included by default.
1836
+ */
1837
+ required: boolean;
1838
+ /**
1839
+ * Field included by default.
1840
+ */
1841
+ type: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "address";
1842
+ }> | null | unknown;
1837
1843
  /**
1838
1844
  * Field included by default.
1839
1845
  */
1840
1846
  is_active: boolean;
1847
+ json_schema?: {
1848
+ [key: string]: unknown;
1849
+ } | null | unknown;
1841
1850
  /**
1842
1851
  * Field included by default.
1843
1852
  */
@@ -2662,52 +2671,6 @@ type AuditLog = {
2662
2671
  };
2663
2672
  type: string;
2664
2673
  };
2665
- /**
2666
- * A "Resource object" representing a extraction_schema_field
2667
- */
2668
- type ExtractionSchemaField = {
2669
- /**
2670
- * An attributes object for a extraction_schema_field
2671
- */
2672
- attributes?: {
2673
- /**
2674
- * Field included by default.
2675
- */
2676
- extraction_hint?: string | null | unknown;
2677
- /**
2678
- * Field included by default.
2679
- */
2680
- group?: string | null | unknown;
2681
- /**
2682
- * Field included by default.
2683
- */
2684
- label?: string | null | unknown;
2685
- /**
2686
- * Field included by default.
2687
- */
2688
- name: string;
2689
- /**
2690
- * Field included by default.
2691
- */
2692
- order?: number | null | unknown;
2693
- /**
2694
- * Field included by default.
2695
- */
2696
- required: boolean;
2697
- /**
2698
- * Field included by default.
2699
- */
2700
- type: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "timestamp" | "alphanumeric_code" | "address";
2701
- };
2702
- id: string;
2703
- /**
2704
- * A relationships object for a extraction_schema_field
2705
- */
2706
- relationships?: {
2707
- [key: string]: never;
2708
- };
2709
- type: string;
2710
- };
2711
2674
  /**
2712
2675
  * A "Resource object" representing a payment
2713
2676
  */
@@ -2877,6 +2840,52 @@ type AiConfig = {
2877
2840
  };
2878
2841
  type: string;
2879
2842
  };
2843
+ /**
2844
+ * A "Resource object" representing a schema_discovery
2845
+ */
2846
+ type SchemaDiscovery = {
2847
+ /**
2848
+ * An attributes object for a schema_discovery
2849
+ */
2850
+ attributes?: {
2851
+ /**
2852
+ * Field included by default.
2853
+ */
2854
+ created_at: unknown;
2855
+ /**
2856
+ * Field included by default.
2857
+ */
2858
+ discovered_fields?: Array<{
2859
+ [key: string]: unknown;
2860
+ }> | null | unknown;
2861
+ /**
2862
+ * Field included by default.
2863
+ */
2864
+ document_assessment?: {
2865
+ [key: string]: unknown;
2866
+ } | null | unknown;
2867
+ /**
2868
+ * Field included by default.
2869
+ */
2870
+ error?: string | null | unknown;
2871
+ /**
2872
+ * Field included by default.
2873
+ */
2874
+ status: "pending" | "processing" | "completed" | "failed";
2875
+ /**
2876
+ * Field included by default.
2877
+ */
2878
+ updated_at: unknown;
2879
+ };
2880
+ id: string;
2881
+ /**
2882
+ * A relationships object for a schema_discovery
2883
+ */
2884
+ relationships?: {
2885
+ [key: string]: never;
2886
+ };
2887
+ type: string;
2888
+ };
2880
2889
  type ErrorResponse = {
2881
2890
  errors: Array<{
2882
2891
  /**
@@ -3641,9 +3650,9 @@ type ExtractionDocument = {
3641
3650
  */
3642
3651
  completed_at?: unknown;
3643
3652
  /**
3644
- * The version of the extraction schema used to process this document. Field included by default.
3653
+ * The version of the agent/schema used to process this document. Field included by default.
3645
3654
  */
3646
- schema_version?: number | null | unknown;
3655
+ schema_version?: string | null | unknown;
3647
3656
  presigned_view_url?: string | null | unknown;
3648
3657
  /**
3649
3658
  * Field included by default.
@@ -4176,75 +4185,6 @@ type PatchExtractionDocumentsByIdCancelResponses = {
4176
4185
  };
4177
4186
  };
4178
4187
  type PatchExtractionDocumentsByIdCancelResponse = PatchExtractionDocumentsByIdCancelResponses[keyof PatchExtractionDocumentsByIdCancelResponses];
4179
- type GetExtractionSchemasWorkspaceByWorkspaceIdData = {
4180
- body?: never;
4181
- headers: {
4182
- /**
4183
- * Application ID for authentication and routing
4184
- */
4185
- "x-application-key": string;
4186
- };
4187
- path: {
4188
- workspace_id: string;
4189
- };
4190
- query?: {
4191
- /**
4192
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
4193
- */
4194
- include?: string;
4195
- /**
4196
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
4197
- */
4198
- fields?: {
4199
- [key: string]: unknown;
4200
- };
4201
- };
4202
- url: "/extraction/schemas/workspace/{workspace_id}";
4203
- };
4204
- type GetExtractionSchemasWorkspaceByWorkspaceIdErrors = {
4205
- /**
4206
- * Bad Request - Invalid input data or malformed request
4207
- */
4208
- 400: ErrorResponse;
4209
- /**
4210
- * Unauthorized - Missing or invalid authentication token
4211
- */
4212
- 401: ErrorResponse;
4213
- /**
4214
- * Forbidden - Authenticated but not authorized for this resource
4215
- */
4216
- 403: ErrorResponse;
4217
- /**
4218
- * Not Found - Resource does not exist
4219
- */
4220
- 404: ErrorResponse;
4221
- /**
4222
- * Too Many Requests - Rate limit exceeded
4223
- */
4224
- 429: ErrorResponse;
4225
- /**
4226
- * Internal Server Error - Unexpected server error
4227
- */
4228
- 500: ErrorResponse;
4229
- /**
4230
- * General Error
4231
- */
4232
- default: Errors;
4233
- };
4234
- type GetExtractionSchemasWorkspaceByWorkspaceIdError = GetExtractionSchemasWorkspaceByWorkspaceIdErrors[keyof GetExtractionSchemasWorkspaceByWorkspaceIdErrors];
4235
- type GetExtractionSchemasWorkspaceByWorkspaceIdResponses = {
4236
- /**
4237
- * Success
4238
- */
4239
- 200: {
4240
- data?: ExtractionSchema;
4241
- included?: Array<ExtractionSchemaField>;
4242
- meta?: {
4243
- [key: string]: unknown;
4244
- };
4245
- };
4246
- };
4247
- type GetExtractionSchemasWorkspaceByWorkspaceIdResponse = GetExtractionSchemasWorkspaceByWorkspaceIdResponses[keyof GetExtractionSchemasWorkspaceByWorkspaceIdResponses];
4248
4188
  type GetLlmAnalyticsCostsData = {
4249
4189
  body?: never;
4250
4190
  headers: {
@@ -8206,6 +8146,7 @@ type PostAgentVersionsData = {
8206
8146
  attributes?: {
8207
8147
  agent_id: string;
8208
8148
  changes_summary?: string | unknown;
8149
+ fields?: Array<AgentVersionFieldsInputCreateType> | unknown;
8209
8150
  parent_version_id?: string | unknown;
8210
8151
  prompt_template: string;
8211
8152
  schema_definition?: {
@@ -9060,7 +9001,7 @@ type PostAgentsCloneForWorkspaceResponses = {
9060
9001
  */
9061
9002
  201: {
9062
9003
  data?: Agent;
9063
- included?: Array<unknown>;
9004
+ included?: Array<AgentVersion>;
9064
9005
  meta?: {
9065
9006
  [key: string]: unknown;
9066
9007
  };
@@ -9434,7 +9375,7 @@ type PostAgentsByIdValidateResponses = {
9434
9375
  */
9435
9376
  201: {
9436
9377
  data?: Agent;
9437
- included?: Array<unknown>;
9378
+ included?: Array<AgentVersion>;
9438
9379
  meta?: {
9439
9380
  [key: string]: unknown;
9440
9381
  };
@@ -9675,23 +9616,8 @@ type PostUsersAuthRegisterWithOidcResponses = {
9675
9616
  };
9676
9617
  };
9677
9618
  type PostUsersAuthRegisterWithOidcResponse = PostUsersAuthRegisterWithOidcResponses[keyof PostUsersAuthRegisterWithOidcResponses];
9678
- type PostTenantsByIdCreditData = {
9679
- /**
9680
- * Request body for the /tenants/:id/credit operation on tenant resource
9681
- */
9682
- body: {
9683
- data: {
9684
- attributes?: {
9685
- amount: number;
9686
- description?: string | unknown;
9687
- operation?: string | unknown;
9688
- };
9689
- relationships?: {
9690
- [key: string]: never;
9691
- };
9692
- type?: "tenant";
9693
- };
9694
- };
9619
+ type GetAgentsByIdSchemaVersionsData = {
9620
+ body?: never;
9695
9621
  headers: {
9696
9622
  /**
9697
9623
  * Application ID for authentication and routing
@@ -9699,23 +9625,15 @@ type PostTenantsByIdCreditData = {
9699
9625
  "x-application-key": string;
9700
9626
  };
9701
9627
  path: {
9702
- id: string;
9703
- };
9704
- query?: {
9705
- /**
9706
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9707
- */
9708
- include?: string;
9709
9628
  /**
9710
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9629
+ * Agent ID (automatically mapped from route)
9711
9630
  */
9712
- fields?: {
9713
- [key: string]: unknown;
9714
- };
9631
+ id: string;
9715
9632
  };
9716
- url: "/tenants/{id}/credit";
9633
+ query?: never;
9634
+ url: "/agents/{id}/schema_versions";
9717
9635
  };
9718
- type PostTenantsByIdCreditErrors = {
9636
+ type GetAgentsByIdSchemaVersionsErrors = {
9719
9637
  /**
9720
9638
  * Bad Request - Invalid input data or malformed request
9721
9639
  */
@@ -9745,22 +9663,33 @@ type PostTenantsByIdCreditErrors = {
9745
9663
  */
9746
9664
  default: Errors;
9747
9665
  };
9748
- type PostTenantsByIdCreditError = PostTenantsByIdCreditErrors[keyof PostTenantsByIdCreditErrors];
9749
- type PostTenantsByIdCreditResponses = {
9666
+ type GetAgentsByIdSchemaVersionsError = GetAgentsByIdSchemaVersionsErrors[keyof GetAgentsByIdSchemaVersionsErrors];
9667
+ type GetAgentsByIdSchemaVersionsResponses = {
9750
9668
  /**
9751
9669
  * Success
9752
9670
  */
9753
- 201: {
9754
- data?: Tenant;
9755
- included?: Array<Workspace>;
9756
- meta?: {
9757
- [key: string]: unknown;
9758
- };
9671
+ 200: {
9672
+ [key: string]: unknown;
9759
9673
  };
9760
9674
  };
9761
- type PostTenantsByIdCreditResponse = PostTenantsByIdCreditResponses[keyof PostTenantsByIdCreditResponses];
9762
- type GetTransactionsByIdData = {
9763
- body?: never;
9675
+ type GetAgentsByIdSchemaVersionsResponse = GetAgentsByIdSchemaVersionsResponses[keyof GetAgentsByIdSchemaVersionsResponses];
9676
+ type PostAgentsByIdSchemaVersionsData = {
9677
+ /**
9678
+ * Request body for the /agents/:id/schema_versions operation on agent resource
9679
+ */
9680
+ body: {
9681
+ data: {
9682
+ changes_summary?: string | unknown;
9683
+ fields?: Array<{
9684
+ [key: string]: unknown;
9685
+ }> | unknown;
9686
+ prompt_template: string;
9687
+ schema_definition: {
9688
+ [key: string]: unknown;
9689
+ };
9690
+ version_number: string;
9691
+ };
9692
+ };
9764
9693
  headers: {
9765
9694
  /**
9766
9695
  * Application ID for authentication and routing
@@ -9768,8 +9697,149 @@ type GetTransactionsByIdData = {
9768
9697
  "x-application-key": string;
9769
9698
  };
9770
9699
  path: {
9771
- id: string;
9772
- };
9700
+ /**
9701
+ * Agent ID (automatically mapped from route)
9702
+ */
9703
+ id: string;
9704
+ };
9705
+ query?: never;
9706
+ url: "/agents/{id}/schema_versions";
9707
+ };
9708
+ type PostAgentsByIdSchemaVersionsErrors = {
9709
+ /**
9710
+ * Bad Request - Invalid input data or malformed request
9711
+ */
9712
+ 400: ErrorResponse;
9713
+ /**
9714
+ * Unauthorized - Missing or invalid authentication token
9715
+ */
9716
+ 401: ErrorResponse;
9717
+ /**
9718
+ * Forbidden - Authenticated but not authorized for this resource
9719
+ */
9720
+ 403: ErrorResponse;
9721
+ /**
9722
+ * Not Found - Resource does not exist
9723
+ */
9724
+ 404: ErrorResponse;
9725
+ /**
9726
+ * Too Many Requests - Rate limit exceeded
9727
+ */
9728
+ 429: ErrorResponse;
9729
+ /**
9730
+ * Internal Server Error - Unexpected server error
9731
+ */
9732
+ 500: ErrorResponse;
9733
+ /**
9734
+ * General Error
9735
+ */
9736
+ default: Errors;
9737
+ };
9738
+ type PostAgentsByIdSchemaVersionsError = PostAgentsByIdSchemaVersionsErrors[keyof PostAgentsByIdSchemaVersionsErrors];
9739
+ type PostAgentsByIdSchemaVersionsResponses = {
9740
+ /**
9741
+ * Success
9742
+ */
9743
+ 201: {
9744
+ [key: string]: unknown;
9745
+ };
9746
+ };
9747
+ type PostAgentsByIdSchemaVersionsResponse = PostAgentsByIdSchemaVersionsResponses[keyof PostAgentsByIdSchemaVersionsResponses];
9748
+ type PostTenantsByIdCreditData = {
9749
+ /**
9750
+ * Request body for the /tenants/:id/credit operation on tenant resource
9751
+ */
9752
+ body: {
9753
+ data: {
9754
+ attributes?: {
9755
+ amount: number;
9756
+ description?: string | unknown;
9757
+ operation?: string | unknown;
9758
+ };
9759
+ relationships?: {
9760
+ [key: string]: never;
9761
+ };
9762
+ type?: "tenant";
9763
+ };
9764
+ };
9765
+ headers: {
9766
+ /**
9767
+ * Application ID for authentication and routing
9768
+ */
9769
+ "x-application-key": string;
9770
+ };
9771
+ path: {
9772
+ id: string;
9773
+ };
9774
+ query?: {
9775
+ /**
9776
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9777
+ */
9778
+ include?: string;
9779
+ /**
9780
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9781
+ */
9782
+ fields?: {
9783
+ [key: string]: unknown;
9784
+ };
9785
+ };
9786
+ url: "/tenants/{id}/credit";
9787
+ };
9788
+ type PostTenantsByIdCreditErrors = {
9789
+ /**
9790
+ * Bad Request - Invalid input data or malformed request
9791
+ */
9792
+ 400: ErrorResponse;
9793
+ /**
9794
+ * Unauthorized - Missing or invalid authentication token
9795
+ */
9796
+ 401: ErrorResponse;
9797
+ /**
9798
+ * Forbidden - Authenticated but not authorized for this resource
9799
+ */
9800
+ 403: ErrorResponse;
9801
+ /**
9802
+ * Not Found - Resource does not exist
9803
+ */
9804
+ 404: ErrorResponse;
9805
+ /**
9806
+ * Too Many Requests - Rate limit exceeded
9807
+ */
9808
+ 429: ErrorResponse;
9809
+ /**
9810
+ * Internal Server Error - Unexpected server error
9811
+ */
9812
+ 500: ErrorResponse;
9813
+ /**
9814
+ * General Error
9815
+ */
9816
+ default: Errors;
9817
+ };
9818
+ type PostTenantsByIdCreditError = PostTenantsByIdCreditErrors[keyof PostTenantsByIdCreditErrors];
9819
+ type PostTenantsByIdCreditResponses = {
9820
+ /**
9821
+ * Success
9822
+ */
9823
+ 201: {
9824
+ data?: Tenant;
9825
+ included?: Array<Workspace>;
9826
+ meta?: {
9827
+ [key: string]: unknown;
9828
+ };
9829
+ };
9830
+ };
9831
+ type PostTenantsByIdCreditResponse = PostTenantsByIdCreditResponses[keyof PostTenantsByIdCreditResponses];
9832
+ type GetTransactionsByIdData = {
9833
+ body?: never;
9834
+ headers: {
9835
+ /**
9836
+ * Application ID for authentication and routing
9837
+ */
9838
+ "x-application-key": string;
9839
+ };
9840
+ path: {
9841
+ id: string;
9842
+ };
9773
9843
  query?: {
9774
9844
  /**
9775
9845
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -10208,17 +10278,29 @@ type GetLlmAnalyticsSummaryResponses = {
10208
10278
  };
10209
10279
  };
10210
10280
  type GetLlmAnalyticsSummaryResponse = GetLlmAnalyticsSummaryResponses[keyof GetLlmAnalyticsSummaryResponses];
10211
- type DeleteExtractionSchemaFieldsByIdData = {
10212
- body?: never;
10281
+ type PostStorageSignDownloadData = {
10282
+ /**
10283
+ * Request body for the /storage/sign_download operation on presigned_url resource
10284
+ */
10285
+ body: {
10286
+ data: {
10287
+ attributes?: {
10288
+ bucket_id: string;
10289
+ filename: string;
10290
+ };
10291
+ relationships?: {
10292
+ [key: string]: never;
10293
+ };
10294
+ type?: "presigned_url";
10295
+ };
10296
+ };
10213
10297
  headers: {
10214
10298
  /**
10215
10299
  * Application ID for authentication and routing
10216
10300
  */
10217
10301
  "x-application-key": string;
10218
10302
  };
10219
- path: {
10220
- id: string;
10221
- };
10303
+ path?: never;
10222
10304
  query?: {
10223
10305
  /**
10224
10306
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -10231,9 +10313,9 @@ type DeleteExtractionSchemaFieldsByIdData = {
10231
10313
  [key: string]: unknown;
10232
10314
  };
10233
10315
  };
10234
- url: "/extraction/schema-fields/{id}";
10316
+ url: "/storage/sign_download";
10235
10317
  };
10236
- type DeleteExtractionSchemaFieldsByIdErrors = {
10318
+ type PostStorageSignDownloadErrors = {
10237
10319
  /**
10238
10320
  * Bad Request - Invalid input data or malformed request
10239
10321
  */
@@ -10263,14 +10345,21 @@ type DeleteExtractionSchemaFieldsByIdErrors = {
10263
10345
  */
10264
10346
  default: Errors;
10265
10347
  };
10266
- type DeleteExtractionSchemaFieldsByIdError = DeleteExtractionSchemaFieldsByIdErrors[keyof DeleteExtractionSchemaFieldsByIdErrors];
10267
- type DeleteExtractionSchemaFieldsByIdResponses = {
10348
+ type PostStorageSignDownloadError = PostStorageSignDownloadErrors[keyof PostStorageSignDownloadErrors];
10349
+ type PostStorageSignDownloadResponses = {
10268
10350
  /**
10269
- * Deleted successfully
10351
+ * Success
10270
10352
  */
10271
- 200: unknown;
10353
+ 201: {
10354
+ data?: PresignedUrl;
10355
+ included?: Array<unknown>;
10356
+ meta?: {
10357
+ [key: string]: unknown;
10358
+ };
10359
+ };
10272
10360
  };
10273
- type GetExtractionSchemaFieldsByIdData = {
10361
+ type PostStorageSignDownloadResponse = PostStorageSignDownloadResponses[keyof PostStorageSignDownloadResponses];
10362
+ type DeleteTrainingSessionsByIdData = {
10274
10363
  body?: never;
10275
10364
  headers: {
10276
10365
  /**
@@ -10293,9 +10382,9 @@ type GetExtractionSchemaFieldsByIdData = {
10293
10382
  [key: string]: unknown;
10294
10383
  };
10295
10384
  };
10296
- url: "/extraction/schema-fields/{id}";
10385
+ url: "/training_sessions/{id}";
10297
10386
  };
10298
- type GetExtractionSchemaFieldsByIdErrors = {
10387
+ type DeleteTrainingSessionsByIdErrors = {
10299
10388
  /**
10300
10389
  * Bad Request - Invalid input data or malformed request
10301
10390
  */
@@ -10325,42 +10414,15 @@ type GetExtractionSchemaFieldsByIdErrors = {
10325
10414
  */
10326
10415
  default: Errors;
10327
10416
  };
10328
- type GetExtractionSchemaFieldsByIdError = GetExtractionSchemaFieldsByIdErrors[keyof GetExtractionSchemaFieldsByIdErrors];
10329
- type GetExtractionSchemaFieldsByIdResponses = {
10417
+ type DeleteTrainingSessionsByIdError = DeleteTrainingSessionsByIdErrors[keyof DeleteTrainingSessionsByIdErrors];
10418
+ type DeleteTrainingSessionsByIdResponses = {
10330
10419
  /**
10331
- * Success
10420
+ * Deleted successfully
10332
10421
  */
10333
- 200: {
10334
- data?: ExtractionSchemaField;
10335
- included?: Array<unknown>;
10336
- meta?: {
10337
- [key: string]: unknown;
10338
- };
10339
- };
10422
+ 200: unknown;
10340
10423
  };
10341
- type GetExtractionSchemaFieldsByIdResponse = GetExtractionSchemaFieldsByIdResponses[keyof GetExtractionSchemaFieldsByIdResponses];
10342
- type PatchExtractionSchemaFieldsByIdData = {
10343
- /**
10344
- * Request body for the /extraction/schema-fields/:id operation on extraction_schema_field resource
10345
- */
10346
- body?: {
10347
- data: {
10348
- attributes?: {
10349
- extraction_hint?: string | unknown;
10350
- group?: string | unknown;
10351
- label?: string | unknown;
10352
- name?: string | unknown;
10353
- order?: number | unknown;
10354
- required?: boolean | unknown;
10355
- type?: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "timestamp" | "alphanumeric_code" | "address" | unknown;
10356
- };
10357
- id: string;
10358
- relationships?: {
10359
- [key: string]: never;
10360
- };
10361
- type?: "extraction_schema_field";
10362
- };
10363
- };
10424
+ type GetTrainingSessionsByIdData = {
10425
+ body?: never;
10364
10426
  headers: {
10365
10427
  /**
10366
10428
  * Application ID for authentication and routing
@@ -10382,9 +10444,9 @@ type PatchExtractionSchemaFieldsByIdData = {
10382
10444
  [key: string]: unknown;
10383
10445
  };
10384
10446
  };
10385
- url: "/extraction/schema-fields/{id}";
10447
+ url: "/training_sessions/{id}";
10386
10448
  };
10387
- type PatchExtractionSchemaFieldsByIdErrors = {
10449
+ type GetTrainingSessionsByIdErrors = {
10388
10450
  /**
10389
10451
  * Bad Request - Invalid input data or malformed request
10390
10452
  */
@@ -10414,43 +10476,31 @@ type PatchExtractionSchemaFieldsByIdErrors = {
10414
10476
  */
10415
10477
  default: Errors;
10416
10478
  };
10417
- type PatchExtractionSchemaFieldsByIdError = PatchExtractionSchemaFieldsByIdErrors[keyof PatchExtractionSchemaFieldsByIdErrors];
10418
- type PatchExtractionSchemaFieldsByIdResponses = {
10479
+ type GetTrainingSessionsByIdError = GetTrainingSessionsByIdErrors[keyof GetTrainingSessionsByIdErrors];
10480
+ type GetTrainingSessionsByIdResponses = {
10419
10481
  /**
10420
10482
  * Success
10421
10483
  */
10422
10484
  200: {
10423
- data?: ExtractionSchemaField;
10485
+ data?: TrainingSession;
10424
10486
  included?: Array<unknown>;
10425
10487
  meta?: {
10426
10488
  [key: string]: unknown;
10427
10489
  };
10428
10490
  };
10429
10491
  };
10430
- type PatchExtractionSchemaFieldsByIdResponse = PatchExtractionSchemaFieldsByIdResponses[keyof PatchExtractionSchemaFieldsByIdResponses];
10431
- type PostStorageSignDownloadData = {
10432
- /**
10433
- * Request body for the /storage/sign_download operation on presigned_url resource
10434
- */
10435
- body: {
10436
- data: {
10437
- attributes?: {
10438
- bucket_id: string;
10439
- filename: string;
10440
- };
10441
- relationships?: {
10442
- [key: string]: never;
10443
- };
10444
- type?: "presigned_url";
10445
- };
10446
- };
10492
+ type GetTrainingSessionsByIdResponse = GetTrainingSessionsByIdResponses[keyof GetTrainingSessionsByIdResponses];
10493
+ type DeleteNotificationMethodsByIdData = {
10494
+ body?: never;
10447
10495
  headers: {
10448
10496
  /**
10449
10497
  * Application ID for authentication and routing
10450
10498
  */
10451
10499
  "x-application-key": string;
10452
10500
  };
10453
- path?: never;
10501
+ path: {
10502
+ id: string;
10503
+ };
10454
10504
  query?: {
10455
10505
  /**
10456
10506
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -10463,9 +10513,9 @@ type PostStorageSignDownloadData = {
10463
10513
  [key: string]: unknown;
10464
10514
  };
10465
10515
  };
10466
- url: "/storage/sign_download";
10516
+ url: "/notification_methods/{id}";
10467
10517
  };
10468
- type PostStorageSignDownloadErrors = {
10518
+ type DeleteNotificationMethodsByIdErrors = {
10469
10519
  /**
10470
10520
  * Bad Request - Invalid input data or malformed request
10471
10521
  */
@@ -10495,21 +10545,14 @@ type PostStorageSignDownloadErrors = {
10495
10545
  */
10496
10546
  default: Errors;
10497
10547
  };
10498
- type PostStorageSignDownloadError = PostStorageSignDownloadErrors[keyof PostStorageSignDownloadErrors];
10499
- type PostStorageSignDownloadResponses = {
10548
+ type DeleteNotificationMethodsByIdError = DeleteNotificationMethodsByIdErrors[keyof DeleteNotificationMethodsByIdErrors];
10549
+ type DeleteNotificationMethodsByIdResponses = {
10500
10550
  /**
10501
- * Success
10551
+ * Deleted successfully
10502
10552
  */
10503
- 201: {
10504
- data?: PresignedUrl;
10505
- included?: Array<unknown>;
10506
- meta?: {
10507
- [key: string]: unknown;
10508
- };
10509
- };
10553
+ 200: unknown;
10510
10554
  };
10511
- type PostStorageSignDownloadResponse = PostStorageSignDownloadResponses[keyof PostStorageSignDownloadResponses];
10512
- type DeleteTrainingSessionsByIdData = {
10555
+ type GetNotificationMethodsByIdData = {
10513
10556
  body?: never;
10514
10557
  headers: {
10515
10558
  /**
@@ -10532,202 +10575,9 @@ type DeleteTrainingSessionsByIdData = {
10532
10575
  [key: string]: unknown;
10533
10576
  };
10534
10577
  };
10535
- url: "/training_sessions/{id}";
10578
+ url: "/notification_methods/{id}";
10536
10579
  };
10537
- type DeleteTrainingSessionsByIdErrors = {
10538
- /**
10539
- * Bad Request - Invalid input data or malformed request
10540
- */
10541
- 400: ErrorResponse;
10542
- /**
10543
- * Unauthorized - Missing or invalid authentication token
10544
- */
10545
- 401: ErrorResponse;
10546
- /**
10547
- * Forbidden - Authenticated but not authorized for this resource
10548
- */
10549
- 403: ErrorResponse;
10550
- /**
10551
- * Not Found - Resource does not exist
10552
- */
10553
- 404: ErrorResponse;
10554
- /**
10555
- * Too Many Requests - Rate limit exceeded
10556
- */
10557
- 429: ErrorResponse;
10558
- /**
10559
- * Internal Server Error - Unexpected server error
10560
- */
10561
- 500: ErrorResponse;
10562
- /**
10563
- * General Error
10564
- */
10565
- default: Errors;
10566
- };
10567
- type DeleteTrainingSessionsByIdError = DeleteTrainingSessionsByIdErrors[keyof DeleteTrainingSessionsByIdErrors];
10568
- type DeleteTrainingSessionsByIdResponses = {
10569
- /**
10570
- * Deleted successfully
10571
- */
10572
- 200: unknown;
10573
- };
10574
- type GetTrainingSessionsByIdData = {
10575
- body?: never;
10576
- headers: {
10577
- /**
10578
- * Application ID for authentication and routing
10579
- */
10580
- "x-application-key": string;
10581
- };
10582
- path: {
10583
- id: string;
10584
- };
10585
- query?: {
10586
- /**
10587
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10588
- */
10589
- include?: string;
10590
- /**
10591
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10592
- */
10593
- fields?: {
10594
- [key: string]: unknown;
10595
- };
10596
- };
10597
- url: "/training_sessions/{id}";
10598
- };
10599
- type GetTrainingSessionsByIdErrors = {
10600
- /**
10601
- * Bad Request - Invalid input data or malformed request
10602
- */
10603
- 400: ErrorResponse;
10604
- /**
10605
- * Unauthorized - Missing or invalid authentication token
10606
- */
10607
- 401: ErrorResponse;
10608
- /**
10609
- * Forbidden - Authenticated but not authorized for this resource
10610
- */
10611
- 403: ErrorResponse;
10612
- /**
10613
- * Not Found - Resource does not exist
10614
- */
10615
- 404: ErrorResponse;
10616
- /**
10617
- * Too Many Requests - Rate limit exceeded
10618
- */
10619
- 429: ErrorResponse;
10620
- /**
10621
- * Internal Server Error - Unexpected server error
10622
- */
10623
- 500: ErrorResponse;
10624
- /**
10625
- * General Error
10626
- */
10627
- default: Errors;
10628
- };
10629
- type GetTrainingSessionsByIdError = GetTrainingSessionsByIdErrors[keyof GetTrainingSessionsByIdErrors];
10630
- type GetTrainingSessionsByIdResponses = {
10631
- /**
10632
- * Success
10633
- */
10634
- 200: {
10635
- data?: TrainingSession;
10636
- included?: Array<unknown>;
10637
- meta?: {
10638
- [key: string]: unknown;
10639
- };
10640
- };
10641
- };
10642
- type GetTrainingSessionsByIdResponse = GetTrainingSessionsByIdResponses[keyof GetTrainingSessionsByIdResponses];
10643
- type DeleteNotificationMethodsByIdData = {
10644
- body?: never;
10645
- headers: {
10646
- /**
10647
- * Application ID for authentication and routing
10648
- */
10649
- "x-application-key": string;
10650
- };
10651
- path: {
10652
- id: string;
10653
- };
10654
- query?: {
10655
- /**
10656
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10657
- */
10658
- include?: string;
10659
- /**
10660
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10661
- */
10662
- fields?: {
10663
- [key: string]: unknown;
10664
- };
10665
- };
10666
- url: "/notification_methods/{id}";
10667
- };
10668
- type DeleteNotificationMethodsByIdErrors = {
10669
- /**
10670
- * Bad Request - Invalid input data or malformed request
10671
- */
10672
- 400: ErrorResponse;
10673
- /**
10674
- * Unauthorized - Missing or invalid authentication token
10675
- */
10676
- 401: ErrorResponse;
10677
- /**
10678
- * Forbidden - Authenticated but not authorized for this resource
10679
- */
10680
- 403: ErrorResponse;
10681
- /**
10682
- * Not Found - Resource does not exist
10683
- */
10684
- 404: ErrorResponse;
10685
- /**
10686
- * Too Many Requests - Rate limit exceeded
10687
- */
10688
- 429: ErrorResponse;
10689
- /**
10690
- * Internal Server Error - Unexpected server error
10691
- */
10692
- 500: ErrorResponse;
10693
- /**
10694
- * General Error
10695
- */
10696
- default: Errors;
10697
- };
10698
- type DeleteNotificationMethodsByIdError = DeleteNotificationMethodsByIdErrors[keyof DeleteNotificationMethodsByIdErrors];
10699
- type DeleteNotificationMethodsByIdResponses = {
10700
- /**
10701
- * Deleted successfully
10702
- */
10703
- 200: unknown;
10704
- };
10705
- type GetNotificationMethodsByIdData = {
10706
- body?: never;
10707
- headers: {
10708
- /**
10709
- * Application ID for authentication and routing
10710
- */
10711
- "x-application-key": string;
10712
- };
10713
- path: {
10714
- id: string;
10715
- };
10716
- query?: {
10717
- /**
10718
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10719
- */
10720
- include?: string;
10721
- /**
10722
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10723
- */
10724
- fields?: {
10725
- [key: string]: unknown;
10726
- };
10727
- };
10728
- url: "/notification_methods/{id}";
10729
- };
10730
- type GetNotificationMethodsByIdErrors = {
10580
+ type GetNotificationMethodsByIdErrors = {
10731
10581
  /**
10732
10582
  * Bad Request - Invalid input data or malformed request
10733
10583
  */
@@ -11775,8 +11625,21 @@ type PostAgentsPredictResponses = {
11775
11625
  };
11776
11626
  };
11777
11627
  type PostAgentsPredictResponse = PostAgentsPredictResponses[keyof PostAgentsPredictResponses];
11778
- type DeleteThreadsByIdData = {
11779
- body?: never;
11628
+ type PostExtractionDocumentsByIdReprocessData = {
11629
+ /**
11630
+ * Request body for the /extraction/documents/:id/reprocess operation on extraction_document resource
11631
+ */
11632
+ body?: {
11633
+ data: {
11634
+ attributes?: {
11635
+ schema_version_id?: string | unknown;
11636
+ };
11637
+ relationships?: {
11638
+ [key: string]: never;
11639
+ };
11640
+ type?: "extraction_document";
11641
+ };
11642
+ };
11780
11643
  headers: {
11781
11644
  /**
11782
11645
  * Application ID for authentication and routing
@@ -11798,9 +11661,9 @@ type DeleteThreadsByIdData = {
11798
11661
  [key: string]: unknown;
11799
11662
  };
11800
11663
  };
11801
- url: "/threads/{id}";
11664
+ url: "/extraction/documents/{id}/reprocess";
11802
11665
  };
11803
- type DeleteThreadsByIdErrors = {
11666
+ type PostExtractionDocumentsByIdReprocessErrors = {
11804
11667
  /**
11805
11668
  * Bad Request - Invalid input data or malformed request
11806
11669
  */
@@ -11830,14 +11693,21 @@ type DeleteThreadsByIdErrors = {
11830
11693
  */
11831
11694
  default: Errors;
11832
11695
  };
11833
- type DeleteThreadsByIdError = DeleteThreadsByIdErrors[keyof DeleteThreadsByIdErrors];
11834
- type DeleteThreadsByIdResponses = {
11696
+ type PostExtractionDocumentsByIdReprocessError = PostExtractionDocumentsByIdReprocessErrors[keyof PostExtractionDocumentsByIdReprocessErrors];
11697
+ type PostExtractionDocumentsByIdReprocessResponses = {
11835
11698
  /**
11836
- * Deleted successfully
11699
+ * Success
11837
11700
  */
11838
- 200: unknown;
11701
+ 201: {
11702
+ data?: ExtractionDocument;
11703
+ included?: Array<ExtractionResult>;
11704
+ meta?: {
11705
+ [key: string]: unknown;
11706
+ };
11707
+ };
11839
11708
  };
11840
- type GetThreadsByIdData = {
11709
+ type PostExtractionDocumentsByIdReprocessResponse = PostExtractionDocumentsByIdReprocessResponses[keyof PostExtractionDocumentsByIdReprocessResponses];
11710
+ type DeleteThreadsByIdData = {
11841
11711
  body?: never;
11842
11712
  headers: {
11843
11713
  /**
@@ -11862,7 +11732,7 @@ type GetThreadsByIdData = {
11862
11732
  };
11863
11733
  url: "/threads/{id}";
11864
11734
  };
11865
- type GetThreadsByIdErrors = {
11735
+ type DeleteThreadsByIdErrors = {
11866
11736
  /**
11867
11737
  * Bad Request - Invalid input data or malformed request
11868
11738
  */
@@ -11892,36 +11762,98 @@ type GetThreadsByIdErrors = {
11892
11762
  */
11893
11763
  default: Errors;
11894
11764
  };
11895
- type GetThreadsByIdError = GetThreadsByIdErrors[keyof GetThreadsByIdErrors];
11896
- type GetThreadsByIdResponses = {
11765
+ type DeleteThreadsByIdError = DeleteThreadsByIdErrors[keyof DeleteThreadsByIdErrors];
11766
+ type DeleteThreadsByIdResponses = {
11897
11767
  /**
11898
- * Success
11768
+ * Deleted successfully
11899
11769
  */
11900
- 200: {
11901
- data?: Thread;
11902
- included?: Array<unknown>;
11903
- meta?: {
11904
- [key: string]: unknown;
11905
- };
11906
- };
11770
+ 200: unknown;
11907
11771
  };
11908
- type GetThreadsByIdResponse = GetThreadsByIdResponses[keyof GetThreadsByIdResponses];
11909
- type PatchThreadsByIdData = {
11910
- /**
11911
- * Request body for the /threads/:id operation on thread resource
11912
- */
11913
- body?: {
11914
- data: {
11915
- attributes?: {
11916
- context_summary?: string | unknown;
11917
- title?: string | unknown;
11918
- };
11919
- id: string;
11920
- relationships?: {
11921
- [key: string]: never;
11922
- };
11923
- type?: "thread";
11924
- };
11772
+ type GetThreadsByIdData = {
11773
+ body?: never;
11774
+ headers: {
11775
+ /**
11776
+ * Application ID for authentication and routing
11777
+ */
11778
+ "x-application-key": string;
11779
+ };
11780
+ path: {
11781
+ id: string;
11782
+ };
11783
+ query?: {
11784
+ /**
11785
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
11786
+ */
11787
+ include?: string;
11788
+ /**
11789
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
11790
+ */
11791
+ fields?: {
11792
+ [key: string]: unknown;
11793
+ };
11794
+ };
11795
+ url: "/threads/{id}";
11796
+ };
11797
+ type GetThreadsByIdErrors = {
11798
+ /**
11799
+ * Bad Request - Invalid input data or malformed request
11800
+ */
11801
+ 400: ErrorResponse;
11802
+ /**
11803
+ * Unauthorized - Missing or invalid authentication token
11804
+ */
11805
+ 401: ErrorResponse;
11806
+ /**
11807
+ * Forbidden - Authenticated but not authorized for this resource
11808
+ */
11809
+ 403: ErrorResponse;
11810
+ /**
11811
+ * Not Found - Resource does not exist
11812
+ */
11813
+ 404: ErrorResponse;
11814
+ /**
11815
+ * Too Many Requests - Rate limit exceeded
11816
+ */
11817
+ 429: ErrorResponse;
11818
+ /**
11819
+ * Internal Server Error - Unexpected server error
11820
+ */
11821
+ 500: ErrorResponse;
11822
+ /**
11823
+ * General Error
11824
+ */
11825
+ default: Errors;
11826
+ };
11827
+ type GetThreadsByIdError = GetThreadsByIdErrors[keyof GetThreadsByIdErrors];
11828
+ type GetThreadsByIdResponses = {
11829
+ /**
11830
+ * Success
11831
+ */
11832
+ 200: {
11833
+ data?: Thread;
11834
+ included?: Array<unknown>;
11835
+ meta?: {
11836
+ [key: string]: unknown;
11837
+ };
11838
+ };
11839
+ };
11840
+ type GetThreadsByIdResponse = GetThreadsByIdResponses[keyof GetThreadsByIdResponses];
11841
+ type PatchThreadsByIdData = {
11842
+ /**
11843
+ * Request body for the /threads/:id operation on thread resource
11844
+ */
11845
+ body?: {
11846
+ data: {
11847
+ attributes?: {
11848
+ context_summary?: string | unknown;
11849
+ title?: string | unknown;
11850
+ };
11851
+ id: string;
11852
+ relationships?: {
11853
+ [key: string]: never;
11854
+ };
11855
+ type?: "thread";
11856
+ };
11925
11857
  };
11926
11858
  headers: {
11927
11859
  /**
@@ -12495,7 +12427,7 @@ type PostAgentsByIdTeachResponses = {
12495
12427
  */
12496
12428
  201: {
12497
12429
  data?: Agent;
12498
- included?: Array<unknown>;
12430
+ included?: Array<AgentVersion>;
12499
12431
  meta?: {
12500
12432
  [key: string]: unknown;
12501
12433
  };
@@ -14991,7 +14923,7 @@ type GetAgentsByIdResponses = {
14991
14923
  */
14992
14924
  200: {
14993
14925
  data?: Agent;
14994
- included?: Array<unknown>;
14926
+ included?: Array<AgentVersion>;
14995
14927
  meta?: {
14996
14928
  [key: string]: unknown;
14997
14929
  };
@@ -15085,7 +15017,7 @@ type PatchAgentsByIdResponses = {
15085
15017
  */
15086
15018
  200: {
15087
15019
  data?: Agent;
15088
- included?: Array<unknown>;
15020
+ included?: Array<AgentVersion>;
15089
15021
  meta?: {
15090
15022
  [key: string]: unknown;
15091
15023
  };
@@ -16793,179 +16725,6 @@ type GetLlmAnalyticsByIdResponses = {
16793
16725
  };
16794
16726
  };
16795
16727
  type GetLlmAnalyticsByIdResponse = GetLlmAnalyticsByIdResponses[keyof GetLlmAnalyticsByIdResponses];
16796
- type GetExtractionSchemaFieldsData = {
16797
- body?: never;
16798
- headers: {
16799
- /**
16800
- * Application ID for authentication and routing
16801
- */
16802
- "x-application-key": string;
16803
- };
16804
- path?: never;
16805
- query?: {
16806
- /**
16807
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
16808
- */
16809
- filter?: {
16810
- [key: string]: unknown;
16811
- };
16812
- /**
16813
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
16814
- */
16815
- sort?: string;
16816
- /**
16817
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
16818
- */
16819
- page?: {
16820
- [key: string]: unknown;
16821
- };
16822
- /**
16823
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16824
- */
16825
- include?: string;
16826
- /**
16827
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
16828
- */
16829
- fields?: {
16830
- [key: string]: unknown;
16831
- };
16832
- };
16833
- url: "/extraction/schema-fields";
16834
- };
16835
- type GetExtractionSchemaFieldsErrors = {
16836
- /**
16837
- * Bad Request - Invalid input data or malformed request
16838
- */
16839
- 400: ErrorResponse;
16840
- /**
16841
- * Unauthorized - Missing or invalid authentication token
16842
- */
16843
- 401: ErrorResponse;
16844
- /**
16845
- * Forbidden - Authenticated but not authorized for this resource
16846
- */
16847
- 403: ErrorResponse;
16848
- /**
16849
- * Not Found - Resource does not exist
16850
- */
16851
- 404: ErrorResponse;
16852
- /**
16853
- * Too Many Requests - Rate limit exceeded
16854
- */
16855
- 429: ErrorResponse;
16856
- /**
16857
- * Internal Server Error - Unexpected server error
16858
- */
16859
- 500: ErrorResponse;
16860
- /**
16861
- * General Error
16862
- */
16863
- default: Errors;
16864
- };
16865
- type GetExtractionSchemaFieldsError = GetExtractionSchemaFieldsErrors[keyof GetExtractionSchemaFieldsErrors];
16866
- type GetExtractionSchemaFieldsResponses = {
16867
- /**
16868
- * Success
16869
- */
16870
- 200: {
16871
- /**
16872
- * An array of resource objects representing a extraction_schema_field
16873
- */
16874
- data?: Array<ExtractionSchemaField>;
16875
- included?: Array<unknown>;
16876
- meta?: {
16877
- [key: string]: unknown;
16878
- };
16879
- };
16880
- };
16881
- type GetExtractionSchemaFieldsResponse = GetExtractionSchemaFieldsResponses[keyof GetExtractionSchemaFieldsResponses];
16882
- type PostExtractionSchemaFieldsData = {
16883
- /**
16884
- * Request body for the /extraction/schema-fields operation on extraction_schema_field resource
16885
- */
16886
- body: {
16887
- data: {
16888
- attributes?: {
16889
- extraction_hint?: string | unknown;
16890
- group?: string | unknown;
16891
- label?: string | unknown;
16892
- name: string;
16893
- order?: number | unknown;
16894
- required?: boolean | unknown;
16895
- schema_id: string;
16896
- type: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "timestamp" | "alphanumeric_code" | "address";
16897
- };
16898
- relationships?: {
16899
- [key: string]: never;
16900
- };
16901
- type?: "extraction_schema_field";
16902
- };
16903
- };
16904
- headers: {
16905
- /**
16906
- * Application ID for authentication and routing
16907
- */
16908
- "x-application-key": string;
16909
- };
16910
- path?: never;
16911
- query?: {
16912
- /**
16913
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16914
- */
16915
- include?: string;
16916
- /**
16917
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
16918
- */
16919
- fields?: {
16920
- [key: string]: unknown;
16921
- };
16922
- };
16923
- url: "/extraction/schema-fields";
16924
- };
16925
- type PostExtractionSchemaFieldsErrors = {
16926
- /**
16927
- * Bad Request - Invalid input data or malformed request
16928
- */
16929
- 400: ErrorResponse;
16930
- /**
16931
- * Unauthorized - Missing or invalid authentication token
16932
- */
16933
- 401: ErrorResponse;
16934
- /**
16935
- * Forbidden - Authenticated but not authorized for this resource
16936
- */
16937
- 403: ErrorResponse;
16938
- /**
16939
- * Not Found - Resource does not exist
16940
- */
16941
- 404: ErrorResponse;
16942
- /**
16943
- * Too Many Requests - Rate limit exceeded
16944
- */
16945
- 429: ErrorResponse;
16946
- /**
16947
- * Internal Server Error - Unexpected server error
16948
- */
16949
- 500: ErrorResponse;
16950
- /**
16951
- * General Error
16952
- */
16953
- default: Errors;
16954
- };
16955
- type PostExtractionSchemaFieldsError = PostExtractionSchemaFieldsErrors[keyof PostExtractionSchemaFieldsErrors];
16956
- type PostExtractionSchemaFieldsResponses = {
16957
- /**
16958
- * Success
16959
- */
16960
- 201: {
16961
- data?: ExtractionSchemaField;
16962
- included?: Array<unknown>;
16963
- meta?: {
16964
- [key: string]: unknown;
16965
- };
16966
- };
16967
- };
16968
- type PostExtractionSchemaFieldsResponse = PostExtractionSchemaFieldsResponses[keyof PostExtractionSchemaFieldsResponses];
16969
16728
  type PatchExtractionDocumentsByIdMarkTrainedData = {
16970
16729
  /**
16971
16730
  * Request body for the /extraction/documents/:id/mark_trained operation on extraction_document resource
@@ -17960,7 +17719,7 @@ type PostUsersAuthConfirmResponses = {
17960
17719
  };
17961
17720
  };
17962
17721
  type PostUsersAuthConfirmResponse = PostUsersAuthConfirmResponses[keyof PostUsersAuthConfirmResponses];
17963
- type GetExtractionSchemasData = {
17722
+ type GetStorageStatsData = {
17964
17723
  body?: never;
17965
17724
  headers: {
17966
17725
  /**
@@ -17980,12 +17739,6 @@ type GetExtractionSchemasData = {
17980
17739
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
17981
17740
  */
17982
17741
  sort?: string;
17983
- /**
17984
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
17985
- */
17986
- page?: {
17987
- [key: string]: unknown;
17988
- };
17989
17742
  /**
17990
17743
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17991
17744
  */
@@ -17997,9 +17750,9 @@ type GetExtractionSchemasData = {
17997
17750
  [key: string]: unknown;
17998
17751
  };
17999
17752
  };
18000
- url: "/extraction/schemas";
17753
+ url: "/storage/stats";
18001
17754
  };
18002
- type GetExtractionSchemasErrors = {
17755
+ type GetStorageStatsErrors = {
18003
17756
  /**
18004
17757
  * Bad Request - Invalid input data or malformed request
18005
17758
  */
@@ -18029,191 +17782,28 @@ type GetExtractionSchemasErrors = {
18029
17782
  */
18030
17783
  default: Errors;
18031
17784
  };
18032
- type GetExtractionSchemasError = GetExtractionSchemasErrors[keyof GetExtractionSchemasErrors];
18033
- type GetExtractionSchemasResponses = {
17785
+ type GetStorageStatsError = GetStorageStatsErrors[keyof GetStorageStatsErrors];
17786
+ type GetStorageStatsResponses = {
18034
17787
  /**
18035
17788
  * Success
18036
17789
  */
18037
17790
  200: {
18038
17791
  /**
18039
- * An array of resource objects representing a extraction_schema
17792
+ * An array of resource objects representing a storage_stats
18040
17793
  */
18041
- data?: Array<ExtractionSchema>;
18042
- included?: Array<ExtractionSchemaField>;
17794
+ data?: Array<StorageStats>;
17795
+ included?: Array<unknown>;
18043
17796
  meta?: {
18044
17797
  [key: string]: unknown;
18045
17798
  };
18046
17799
  };
18047
17800
  };
18048
- type GetExtractionSchemasResponse = GetExtractionSchemasResponses[keyof GetExtractionSchemasResponses];
18049
- type PostExtractionSchemasData = {
17801
+ type GetStorageStatsResponse = GetStorageStatsResponses[keyof GetStorageStatsResponses];
17802
+ type PostTenantsByIdBuyStorageData = {
18050
17803
  /**
18051
- * Request body for the /extraction/schemas operation on extraction_schema resource
17804
+ * Request body for the /tenants/:id/buy-storage operation on tenant resource
18052
17805
  */
18053
- body: {
18054
- data: {
18055
- attributes?: {
18056
- fields?: Array<{
18057
- [key: string]: unknown;
18058
- }> | unknown;
18059
- workspace_id: string;
18060
- };
18061
- relationships?: {
18062
- [key: string]: never;
18063
- };
18064
- type?: "extraction_schema";
18065
- };
18066
- };
18067
- headers: {
18068
- /**
18069
- * Application ID for authentication and routing
18070
- */
18071
- "x-application-key": string;
18072
- };
18073
- path?: never;
18074
- query?: {
18075
- /**
18076
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18077
- */
18078
- include?: string;
18079
- /**
18080
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
18081
- */
18082
- fields?: {
18083
- [key: string]: unknown;
18084
- };
18085
- };
18086
- url: "/extraction/schemas";
18087
- };
18088
- type PostExtractionSchemasErrors = {
18089
- /**
18090
- * Bad Request - Invalid input data or malformed request
18091
- */
18092
- 400: ErrorResponse;
18093
- /**
18094
- * Unauthorized - Missing or invalid authentication token
18095
- */
18096
- 401: ErrorResponse;
18097
- /**
18098
- * Forbidden - Authenticated but not authorized for this resource
18099
- */
18100
- 403: ErrorResponse;
18101
- /**
18102
- * Not Found - Resource does not exist
18103
- */
18104
- 404: ErrorResponse;
18105
- /**
18106
- * Too Many Requests - Rate limit exceeded
18107
- */
18108
- 429: ErrorResponse;
18109
- /**
18110
- * Internal Server Error - Unexpected server error
18111
- */
18112
- 500: ErrorResponse;
18113
- /**
18114
- * General Error
18115
- */
18116
- default: Errors;
18117
- };
18118
- type PostExtractionSchemasError = PostExtractionSchemasErrors[keyof PostExtractionSchemasErrors];
18119
- type PostExtractionSchemasResponses = {
18120
- /**
18121
- * Success
18122
- */
18123
- 201: {
18124
- data?: ExtractionSchema;
18125
- included?: Array<ExtractionSchemaField>;
18126
- meta?: {
18127
- [key: string]: unknown;
18128
- };
18129
- };
18130
- };
18131
- type PostExtractionSchemasResponse = PostExtractionSchemasResponses[keyof PostExtractionSchemasResponses];
18132
- type GetStorageStatsData = {
18133
- body?: never;
18134
- headers: {
18135
- /**
18136
- * Application ID for authentication and routing
18137
- */
18138
- "x-application-key": string;
18139
- };
18140
- path?: never;
18141
- query?: {
18142
- /**
18143
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
18144
- */
18145
- filter?: {
18146
- [key: string]: unknown;
18147
- };
18148
- /**
18149
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
18150
- */
18151
- sort?: string;
18152
- /**
18153
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18154
- */
18155
- include?: string;
18156
- /**
18157
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
18158
- */
18159
- fields?: {
18160
- [key: string]: unknown;
18161
- };
18162
- };
18163
- url: "/storage/stats";
18164
- };
18165
- type GetStorageStatsErrors = {
18166
- /**
18167
- * Bad Request - Invalid input data or malformed request
18168
- */
18169
- 400: ErrorResponse;
18170
- /**
18171
- * Unauthorized - Missing or invalid authentication token
18172
- */
18173
- 401: ErrorResponse;
18174
- /**
18175
- * Forbidden - Authenticated but not authorized for this resource
18176
- */
18177
- 403: ErrorResponse;
18178
- /**
18179
- * Not Found - Resource does not exist
18180
- */
18181
- 404: ErrorResponse;
18182
- /**
18183
- * Too Many Requests - Rate limit exceeded
18184
- */
18185
- 429: ErrorResponse;
18186
- /**
18187
- * Internal Server Error - Unexpected server error
18188
- */
18189
- 500: ErrorResponse;
18190
- /**
18191
- * General Error
18192
- */
18193
- default: Errors;
18194
- };
18195
- type GetStorageStatsError = GetStorageStatsErrors[keyof GetStorageStatsErrors];
18196
- type GetStorageStatsResponses = {
18197
- /**
18198
- * Success
18199
- */
18200
- 200: {
18201
- /**
18202
- * An array of resource objects representing a storage_stats
18203
- */
18204
- data?: Array<StorageStats>;
18205
- included?: Array<unknown>;
18206
- meta?: {
18207
- [key: string]: unknown;
18208
- };
18209
- };
18210
- };
18211
- type GetStorageStatsResponse = GetStorageStatsResponses[keyof GetStorageStatsResponses];
18212
- type PostTenantsByIdBuyStorageData = {
18213
- /**
18214
- * Request body for the /tenants/:id/buy-storage operation on tenant resource
18215
- */
18216
- body?: {
17806
+ body?: {
18217
17807
  data: {
18218
17808
  attributes?: {
18219
17809
  quantity?: number | unknown;
@@ -18755,6 +18345,64 @@ type PostTrainingExamplesBulkResponses = {
18755
18345
  };
18756
18346
  };
18757
18347
  type PostTrainingExamplesBulkResponse = PostTrainingExamplesBulkResponses[keyof PostTrainingExamplesBulkResponses];
18348
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateData = {
18349
+ body?: never;
18350
+ headers: {
18351
+ /**
18352
+ * Application ID for authentication and routing
18353
+ */
18354
+ "x-application-key": string;
18355
+ };
18356
+ path: {
18357
+ version_id: string;
18358
+ /**
18359
+ * Agent ID (automatically mapped from route)
18360
+ */
18361
+ id: string;
18362
+ };
18363
+ query?: never;
18364
+ url: "/agents/{id}/schema_versions/{version_id}/activate";
18365
+ };
18366
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
18367
+ /**
18368
+ * Bad Request - Invalid input data or malformed request
18369
+ */
18370
+ 400: ErrorResponse;
18371
+ /**
18372
+ * Unauthorized - Missing or invalid authentication token
18373
+ */
18374
+ 401: ErrorResponse;
18375
+ /**
18376
+ * Forbidden - Authenticated but not authorized for this resource
18377
+ */
18378
+ 403: ErrorResponse;
18379
+ /**
18380
+ * Not Found - Resource does not exist
18381
+ */
18382
+ 404: ErrorResponse;
18383
+ /**
18384
+ * Too Many Requests - Rate limit exceeded
18385
+ */
18386
+ 429: ErrorResponse;
18387
+ /**
18388
+ * Internal Server Error - Unexpected server error
18389
+ */
18390
+ 500: ErrorResponse;
18391
+ /**
18392
+ * General Error
18393
+ */
18394
+ default: Errors;
18395
+ };
18396
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateError = PostAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateErrors];
18397
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
18398
+ /**
18399
+ * Success
18400
+ */
18401
+ 201: {
18402
+ [key: string]: unknown;
18403
+ };
18404
+ };
18405
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
18758
18406
  type DeleteBucketsByIdData = {
18759
18407
  body?: never;
18760
18408
  headers: {
@@ -19253,285 +18901,21 @@ type DeleteTenantsByIdErrors = {
19253
18901
  /**
19254
18902
  * Internal Server Error - Unexpected server error
19255
18903
  */
19256
- 500: ErrorResponse;
19257
- /**
19258
- * General Error
19259
- */
19260
- default: Errors;
19261
- };
19262
- type DeleteTenantsByIdError = DeleteTenantsByIdErrors[keyof DeleteTenantsByIdErrors];
19263
- type DeleteTenantsByIdResponses = {
19264
- /**
19265
- * Deleted successfully
19266
- */
19267
- 200: unknown;
19268
- };
19269
- type GetTenantsByIdData = {
19270
- body?: never;
19271
- headers: {
19272
- /**
19273
- * Application ID for authentication and routing
19274
- */
19275
- "x-application-key": string;
19276
- };
19277
- path: {
19278
- id: string;
19279
- };
19280
- query?: {
19281
- /**
19282
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19283
- */
19284
- include?: string;
19285
- /**
19286
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19287
- */
19288
- fields?: {
19289
- [key: string]: unknown;
19290
- };
19291
- };
19292
- url: "/tenants/{id}";
19293
- };
19294
- type GetTenantsByIdErrors = {
19295
- /**
19296
- * Bad Request - Invalid input data or malformed request
19297
- */
19298
- 400: ErrorResponse;
19299
- /**
19300
- * Unauthorized - Missing or invalid authentication token
19301
- */
19302
- 401: ErrorResponse;
19303
- /**
19304
- * Forbidden - Authenticated but not authorized for this resource
19305
- */
19306
- 403: ErrorResponse;
19307
- /**
19308
- * Not Found - Resource does not exist
19309
- */
19310
- 404: ErrorResponse;
19311
- /**
19312
- * Too Many Requests - Rate limit exceeded
19313
- */
19314
- 429: ErrorResponse;
19315
- /**
19316
- * Internal Server Error - Unexpected server error
19317
- */
19318
- 500: ErrorResponse;
19319
- /**
19320
- * General Error
19321
- */
19322
- default: Errors;
19323
- };
19324
- type GetTenantsByIdError = GetTenantsByIdErrors[keyof GetTenantsByIdErrors];
19325
- type GetTenantsByIdResponses = {
19326
- /**
19327
- * Success
19328
- */
19329
- 200: {
19330
- data?: Tenant;
19331
- included?: Array<Workspace>;
19332
- meta?: {
19333
- [key: string]: unknown;
19334
- };
19335
- };
19336
- };
19337
- type GetTenantsByIdResponse = GetTenantsByIdResponses[keyof GetTenantsByIdResponses];
19338
- type PatchTenantsByIdData = {
19339
- /**
19340
- * Request body for the /tenants/:id operation on tenant resource
19341
- */
19342
- body?: {
19343
- data: {
19344
- attributes?: {
19345
- badge_url?: string | unknown;
19346
- kind?: "platform" | "admin" | "tenant" | unknown;
19347
- logo_url?: string | unknown;
19348
- name?: string | unknown;
19349
- parent_id?: string | unknown;
19350
- slug?: string | unknown;
19351
- /**
19352
- * Cost in credits for training on a single document
19353
- */
19354
- training_price_credits?: number | unknown;
19355
- };
19356
- id: string;
19357
- relationships?: {
19358
- [key: string]: never;
19359
- };
19360
- type?: "tenant";
19361
- };
19362
- };
19363
- headers: {
19364
- /**
19365
- * Application ID for authentication and routing
19366
- */
19367
- "x-application-key": string;
19368
- };
19369
- path: {
19370
- id: string;
19371
- };
19372
- query?: {
19373
- /**
19374
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19375
- */
19376
- include?: string;
19377
- /**
19378
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19379
- */
19380
- fields?: {
19381
- [key: string]: unknown;
19382
- };
19383
- };
19384
- url: "/tenants/{id}";
19385
- };
19386
- type PatchTenantsByIdErrors = {
19387
- /**
19388
- * Bad Request - Invalid input data or malformed request
19389
- */
19390
- 400: ErrorResponse;
19391
- /**
19392
- * Unauthorized - Missing or invalid authentication token
19393
- */
19394
- 401: ErrorResponse;
19395
- /**
19396
- * Forbidden - Authenticated but not authorized for this resource
19397
- */
19398
- 403: ErrorResponse;
19399
- /**
19400
- * Not Found - Resource does not exist
19401
- */
19402
- 404: ErrorResponse;
19403
- /**
19404
- * Too Many Requests - Rate limit exceeded
19405
- */
19406
- 429: ErrorResponse;
19407
- /**
19408
- * Internal Server Error - Unexpected server error
19409
- */
19410
- 500: ErrorResponse;
19411
- /**
19412
- * General Error
19413
- */
19414
- default: Errors;
19415
- };
19416
- type PatchTenantsByIdError = PatchTenantsByIdErrors[keyof PatchTenantsByIdErrors];
19417
- type PatchTenantsByIdResponses = {
19418
- /**
19419
- * Success
19420
- */
19421
- 200: {
19422
- data?: Tenant;
19423
- included?: Array<Workspace>;
19424
- meta?: {
19425
- [key: string]: unknown;
19426
- };
19427
- };
19428
- };
19429
- type PatchTenantsByIdResponse = PatchTenantsByIdResponses[keyof PatchTenantsByIdResponses];
19430
- type GetPlansData = {
19431
- body?: never;
19432
- headers: {
19433
- /**
19434
- * Application ID for authentication and routing
19435
- */
19436
- "x-application-key": string;
19437
- };
19438
- path?: never;
19439
- query?: {
19440
- /**
19441
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19442
- */
19443
- filter?: {
19444
- [key: string]: unknown;
19445
- };
19446
- /**
19447
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19448
- */
19449
- sort?: string;
19450
- /**
19451
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
19452
- */
19453
- page?: {
19454
- [key: string]: unknown;
19455
- };
19456
- /**
19457
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19458
- */
19459
- include?: string;
19460
- /**
19461
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19462
- */
19463
- fields?: {
19464
- [key: string]: unknown;
19465
- };
19466
- };
19467
- url: "/plans";
19468
- };
19469
- type GetPlansErrors = {
19470
- /**
19471
- * Bad Request - Invalid input data or malformed request
19472
- */
19473
- 400: ErrorResponse;
19474
- /**
19475
- * Unauthorized - Missing or invalid authentication token
19476
- */
19477
- 401: ErrorResponse;
19478
- /**
19479
- * Forbidden - Authenticated but not authorized for this resource
19480
- */
19481
- 403: ErrorResponse;
19482
- /**
19483
- * Not Found - Resource does not exist
19484
- */
19485
- 404: ErrorResponse;
19486
- /**
19487
- * Too Many Requests - Rate limit exceeded
19488
- */
19489
- 429: ErrorResponse;
19490
- /**
19491
- * Internal Server Error - Unexpected server error
19492
- */
19493
- 500: ErrorResponse;
19494
- /**
19495
- * General Error
19496
- */
19497
- default: Errors;
19498
- };
19499
- type GetPlansError = GetPlansErrors[keyof GetPlansErrors];
19500
- type GetPlansResponses = {
19501
- /**
19502
- * Success
19503
- */
19504
- 200: {
19505
- /**
19506
- * An array of resource objects representing a plan
19507
- */
19508
- data?: Array<Plan>;
19509
- included?: Array<unknown>;
19510
- meta?: {
19511
- [key: string]: unknown;
19512
- };
19513
- };
19514
- };
19515
- type GetPlansResponse = GetPlansResponses[keyof GetPlansResponses];
19516
- type PatchExtractionSchemasByIdFieldsData = {
19517
- /**
19518
- * Request body for the /extraction/schemas/:id/fields operation on extraction_schema resource
19519
- */
19520
- body?: {
19521
- data: {
19522
- attributes?: {
19523
- fields?: Array<{
19524
- [key: string]: unknown;
19525
- }> | unknown;
19526
- is_active?: boolean | unknown;
19527
- };
19528
- id: string;
19529
- relationships?: {
19530
- [key: string]: never;
19531
- };
19532
- type?: "extraction_schema";
19533
- };
19534
- };
18904
+ 500: ErrorResponse;
18905
+ /**
18906
+ * General Error
18907
+ */
18908
+ default: Errors;
18909
+ };
18910
+ type DeleteTenantsByIdError = DeleteTenantsByIdErrors[keyof DeleteTenantsByIdErrors];
18911
+ type DeleteTenantsByIdResponses = {
18912
+ /**
18913
+ * Deleted successfully
18914
+ */
18915
+ 200: unknown;
18916
+ };
18917
+ type GetTenantsByIdData = {
18918
+ body?: never;
19535
18919
  headers: {
19536
18920
  /**
19537
18921
  * Application ID for authentication and routing
@@ -19553,9 +18937,9 @@ type PatchExtractionSchemasByIdFieldsData = {
19553
18937
  [key: string]: unknown;
19554
18938
  };
19555
18939
  };
19556
- url: "/extraction/schemas/{id}/fields";
18940
+ url: "/tenants/{id}";
19557
18941
  };
19558
- type PatchExtractionSchemasByIdFieldsErrors = {
18942
+ type GetTenantsByIdErrors = {
19559
18943
  /**
19560
18944
  * Bad Request - Invalid input data or malformed request
19561
18945
  */
@@ -19585,22 +18969,45 @@ type PatchExtractionSchemasByIdFieldsErrors = {
19585
18969
  */
19586
18970
  default: Errors;
19587
18971
  };
19588
- type PatchExtractionSchemasByIdFieldsError = PatchExtractionSchemasByIdFieldsErrors[keyof PatchExtractionSchemasByIdFieldsErrors];
19589
- type PatchExtractionSchemasByIdFieldsResponses = {
18972
+ type GetTenantsByIdError = GetTenantsByIdErrors[keyof GetTenantsByIdErrors];
18973
+ type GetTenantsByIdResponses = {
19590
18974
  /**
19591
18975
  * Success
19592
18976
  */
19593
18977
  200: {
19594
- data?: ExtractionSchema;
19595
- included?: Array<ExtractionSchemaField>;
18978
+ data?: Tenant;
18979
+ included?: Array<Workspace>;
19596
18980
  meta?: {
19597
18981
  [key: string]: unknown;
19598
18982
  };
19599
18983
  };
19600
18984
  };
19601
- type PatchExtractionSchemasByIdFieldsResponse = PatchExtractionSchemasByIdFieldsResponses[keyof PatchExtractionSchemasByIdFieldsResponses];
19602
- type GetExtractionSchemasByIdData = {
19603
- body?: never;
18985
+ type GetTenantsByIdResponse = GetTenantsByIdResponses[keyof GetTenantsByIdResponses];
18986
+ type PatchTenantsByIdData = {
18987
+ /**
18988
+ * Request body for the /tenants/:id operation on tenant resource
18989
+ */
18990
+ body?: {
18991
+ data: {
18992
+ attributes?: {
18993
+ badge_url?: string | unknown;
18994
+ kind?: "platform" | "admin" | "tenant" | unknown;
18995
+ logo_url?: string | unknown;
18996
+ name?: string | unknown;
18997
+ parent_id?: string | unknown;
18998
+ slug?: string | unknown;
18999
+ /**
19000
+ * Cost in credits for training on a single document
19001
+ */
19002
+ training_price_credits?: number | unknown;
19003
+ };
19004
+ id: string;
19005
+ relationships?: {
19006
+ [key: string]: never;
19007
+ };
19008
+ type?: "tenant";
19009
+ };
19010
+ };
19604
19011
  headers: {
19605
19012
  /**
19606
19013
  * Application ID for authentication and routing
@@ -19622,9 +19029,9 @@ type GetExtractionSchemasByIdData = {
19622
19029
  [key: string]: unknown;
19623
19030
  };
19624
19031
  };
19625
- url: "/extraction/schemas/{id}";
19032
+ url: "/tenants/{id}";
19626
19033
  };
19627
- type GetExtractionSchemasByIdErrors = {
19034
+ type PatchTenantsByIdErrors = {
19628
19035
  /**
19629
19036
  * Bad Request - Invalid input data or malformed request
19630
19037
  */
@@ -19654,46 +19061,46 @@ type GetExtractionSchemasByIdErrors = {
19654
19061
  */
19655
19062
  default: Errors;
19656
19063
  };
19657
- type GetExtractionSchemasByIdError = GetExtractionSchemasByIdErrors[keyof GetExtractionSchemasByIdErrors];
19658
- type GetExtractionSchemasByIdResponses = {
19064
+ type PatchTenantsByIdError = PatchTenantsByIdErrors[keyof PatchTenantsByIdErrors];
19065
+ type PatchTenantsByIdResponses = {
19659
19066
  /**
19660
19067
  * Success
19661
19068
  */
19662
19069
  200: {
19663
- data?: ExtractionSchema;
19664
- included?: Array<ExtractionSchemaField>;
19070
+ data?: Tenant;
19071
+ included?: Array<Workspace>;
19665
19072
  meta?: {
19666
19073
  [key: string]: unknown;
19667
19074
  };
19668
19075
  };
19669
19076
  };
19670
- type GetExtractionSchemasByIdResponse = GetExtractionSchemasByIdResponses[keyof GetExtractionSchemasByIdResponses];
19671
- type PatchExtractionSchemasByIdData = {
19672
- /**
19673
- * Request body for the /extraction/schemas/:id operation on extraction_schema resource
19674
- */
19675
- body?: {
19676
- data: {
19677
- attributes?: {
19678
- is_active?: boolean | unknown;
19679
- };
19680
- id: string;
19681
- relationships?: {
19682
- [key: string]: never;
19683
- };
19684
- type?: "extraction_schema";
19685
- };
19686
- };
19077
+ type PatchTenantsByIdResponse = PatchTenantsByIdResponses[keyof PatchTenantsByIdResponses];
19078
+ type GetPlansData = {
19079
+ body?: never;
19687
19080
  headers: {
19688
19081
  /**
19689
19082
  * Application ID for authentication and routing
19690
19083
  */
19691
19084
  "x-application-key": string;
19692
19085
  };
19693
- path: {
19694
- id: string;
19695
- };
19086
+ path?: never;
19696
19087
  query?: {
19088
+ /**
19089
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19090
+ */
19091
+ filter?: {
19092
+ [key: string]: unknown;
19093
+ };
19094
+ /**
19095
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19096
+ */
19097
+ sort?: string;
19098
+ /**
19099
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
19100
+ */
19101
+ page?: {
19102
+ [key: string]: unknown;
19103
+ };
19697
19104
  /**
19698
19105
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19699
19106
  */
@@ -19705,9 +19112,9 @@ type PatchExtractionSchemasByIdData = {
19705
19112
  [key: string]: unknown;
19706
19113
  };
19707
19114
  };
19708
- url: "/extraction/schemas/{id}";
19115
+ url: "/plans";
19709
19116
  };
19710
- type PatchExtractionSchemasByIdErrors = {
19117
+ type GetPlansErrors = {
19711
19118
  /**
19712
19119
  * Bad Request - Invalid input data or malformed request
19713
19120
  */
@@ -19737,20 +19144,23 @@ type PatchExtractionSchemasByIdErrors = {
19737
19144
  */
19738
19145
  default: Errors;
19739
19146
  };
19740
- type PatchExtractionSchemasByIdError = PatchExtractionSchemasByIdErrors[keyof PatchExtractionSchemasByIdErrors];
19741
- type PatchExtractionSchemasByIdResponses = {
19147
+ type GetPlansError = GetPlansErrors[keyof GetPlansErrors];
19148
+ type GetPlansResponses = {
19742
19149
  /**
19743
19150
  * Success
19744
19151
  */
19745
19152
  200: {
19746
- data?: ExtractionSchema;
19747
- included?: Array<ExtractionSchemaField>;
19153
+ /**
19154
+ * An array of resource objects representing a plan
19155
+ */
19156
+ data?: Array<Plan>;
19157
+ included?: Array<unknown>;
19748
19158
  meta?: {
19749
19159
  [key: string]: unknown;
19750
19160
  };
19751
19161
  };
19752
19162
  };
19753
- type PatchExtractionSchemasByIdResponse = PatchExtractionSchemasByIdResponses[keyof PatchExtractionSchemasByIdResponses];
19163
+ type GetPlansResponse = GetPlansResponses[keyof GetPlansResponses];
19754
19164
  type PostAgentsByIdTestData = {
19755
19165
  /**
19756
19166
  * Request body for the /agents/:id/test operation on agent resource
@@ -19826,7 +19236,7 @@ type PostAgentsByIdTestResponses = {
19826
19236
  */
19827
19237
  201: {
19828
19238
  data?: Agent;
19829
- included?: Array<unknown>;
19239
+ included?: Array<AgentVersion>;
19830
19240
  meta?: {
19831
19241
  [key: string]: unknown;
19832
19242
  };
@@ -21091,11 +20501,11 @@ type PostExtractionResultsData = {
21091
20501
  [key: string]: unknown;
21092
20502
  }> | unknown;
21093
20503
  processing_time_ms?: number | unknown;
21094
- schema_id: string;
20504
+ schema_id?: string | unknown;
21095
20505
  /**
21096
- * The version of the schema used for this extraction
20506
+ * The version of the schema/agent used for this extraction
21097
20507
  */
21098
- schema_version?: number | unknown;
20508
+ schema_version?: string | unknown;
21099
20509
  status?: "pending" | "completed" | "failed" | unknown;
21100
20510
  used_training_example_ids?: Array<string> | unknown;
21101
20511
  workspace_id: string;
@@ -21246,7 +20656,7 @@ type PostAgentsByIdCloneResponses = {
21246
20656
  */
21247
20657
  201: {
21248
20658
  data?: Agent;
21249
- included?: Array<unknown>;
20659
+ included?: Array<AgentVersion>;
21250
20660
  meta?: {
21251
20661
  [key: string]: unknown;
21252
20662
  };
@@ -21384,89 +20794,6 @@ type GetAiConversationsByIdResponses = {
21384
20794
  };
21385
20795
  };
21386
20796
  type GetAiConversationsByIdResponse = GetAiConversationsByIdResponses[keyof GetAiConversationsByIdResponses];
21387
- type PostExtractionSchemasBulkCreateData = {
21388
- /**
21389
- * Request body for the /extraction/schemas/bulk_create operation on extraction_schema resource
21390
- */
21391
- body: {
21392
- data: {
21393
- attributes?: {
21394
- fields?: Array<{
21395
- [key: string]: unknown;
21396
- }> | unknown;
21397
- workspace_id: string;
21398
- };
21399
- relationships?: {
21400
- [key: string]: never;
21401
- };
21402
- type?: "extraction_schema";
21403
- };
21404
- };
21405
- headers: {
21406
- /**
21407
- * Application ID for authentication and routing
21408
- */
21409
- "x-application-key": string;
21410
- };
21411
- path?: never;
21412
- query?: {
21413
- /**
21414
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
21415
- */
21416
- include?: string;
21417
- /**
21418
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
21419
- */
21420
- fields?: {
21421
- [key: string]: unknown;
21422
- };
21423
- };
21424
- url: "/extraction/schemas/bulk_create";
21425
- };
21426
- type PostExtractionSchemasBulkCreateErrors = {
21427
- /**
21428
- * Bad Request - Invalid input data or malformed request
21429
- */
21430
- 400: ErrorResponse;
21431
- /**
21432
- * Unauthorized - Missing or invalid authentication token
21433
- */
21434
- 401: ErrorResponse;
21435
- /**
21436
- * Forbidden - Authenticated but not authorized for this resource
21437
- */
21438
- 403: ErrorResponse;
21439
- /**
21440
- * Not Found - Resource does not exist
21441
- */
21442
- 404: ErrorResponse;
21443
- /**
21444
- * Too Many Requests - Rate limit exceeded
21445
- */
21446
- 429: ErrorResponse;
21447
- /**
21448
- * Internal Server Error - Unexpected server error
21449
- */
21450
- 500: ErrorResponse;
21451
- /**
21452
- * General Error
21453
- */
21454
- default: Errors;
21455
- };
21456
- type PostExtractionSchemasBulkCreateError = PostExtractionSchemasBulkCreateErrors[keyof PostExtractionSchemasBulkCreateErrors];
21457
- type PostExtractionSchemasBulkCreateResponses = {
21458
- /**
21459
- * Success
21460
- */
21461
- 201: {
21462
- data?: ExtractionSchema;
21463
- included?: Array<ExtractionSchemaField>;
21464
- meta?: {
21465
- [key: string]: unknown;
21466
- };
21467
- };
21468
- };
21469
- type PostExtractionSchemasBulkCreateResponse = PostExtractionSchemasBulkCreateResponses[keyof PostExtractionSchemasBulkCreateResponses];
21470
20797
  type DeleteUserProfilesByIdData = {
21471
20798
  body?: never;
21472
20799
  headers: {
@@ -22169,7 +21496,7 @@ type PostAgentsByIdPublishVersionResponses = {
22169
21496
  */
22170
21497
  201: {
22171
21498
  data?: Agent;
22172
- included?: Array<unknown>;
21499
+ included?: Array<AgentVersion>;
22173
21500
  meta?: {
22174
21501
  [key: string]: unknown;
22175
21502
  };
@@ -22411,92 +21738,9 @@ type GetWalletData = {
22411
21738
  /**
22412
21739
  * Application ID for authentication and routing
22413
21740
  */
22414
- "x-application-key": string;
22415
- };
22416
- path?: never;
22417
- query?: {
22418
- /**
22419
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22420
- */
22421
- include?: string;
22422
- /**
22423
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
22424
- */
22425
- fields?: {
22426
- [key: string]: unknown;
22427
- };
22428
- };
22429
- url: "/wallet";
22430
- };
22431
- type GetWalletErrors = {
22432
- /**
22433
- * Bad Request - Invalid input data or malformed request
22434
- */
22435
- 400: ErrorResponse;
22436
- /**
22437
- * Unauthorized - Missing or invalid authentication token
22438
- */
22439
- 401: ErrorResponse;
22440
- /**
22441
- * Forbidden - Authenticated but not authorized for this resource
22442
- */
22443
- 403: ErrorResponse;
22444
- /**
22445
- * Not Found - Resource does not exist
22446
- */
22447
- 404: ErrorResponse;
22448
- /**
22449
- * Too Many Requests - Rate limit exceeded
22450
- */
22451
- 429: ErrorResponse;
22452
- /**
22453
- * Internal Server Error - Unexpected server error
22454
- */
22455
- 500: ErrorResponse;
22456
- /**
22457
- * General Error
22458
- */
22459
- default: Errors;
22460
- };
22461
- type GetWalletError = GetWalletErrors[keyof GetWalletErrors];
22462
- type GetWalletResponses = {
22463
- /**
22464
- * Success
22465
- */
22466
- 200: {
22467
- data?: Wallet;
22468
- included?: Array<unknown>;
22469
- meta?: {
22470
- [key: string]: unknown;
22471
- };
22472
- };
22473
- };
22474
- type GetWalletResponse = GetWalletResponses[keyof GetWalletResponses];
22475
- type PatchExtractionSchemasByIdActivateData = {
22476
- /**
22477
- * Request body for the /extraction/schemas/:id/activate operation on extraction_schema resource
22478
- */
22479
- body?: {
22480
- data: {
22481
- attributes?: {
22482
- [key: string]: never;
22483
- };
22484
- id: string;
22485
- relationships?: {
22486
- [key: string]: never;
22487
- };
22488
- type?: "extraction_schema";
22489
- };
22490
- };
22491
- headers: {
22492
- /**
22493
- * Application ID for authentication and routing
22494
- */
22495
- "x-application-key": string;
22496
- };
22497
- path: {
22498
- id: string;
21741
+ "x-application-key": string;
22499
21742
  };
21743
+ path?: never;
22500
21744
  query?: {
22501
21745
  /**
22502
21746
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -22509,9 +21753,9 @@ type PatchExtractionSchemasByIdActivateData = {
22509
21753
  [key: string]: unknown;
22510
21754
  };
22511
21755
  };
22512
- url: "/extraction/schemas/{id}/activate";
21756
+ url: "/wallet";
22513
21757
  };
22514
- type PatchExtractionSchemasByIdActivateErrors = {
21758
+ type GetWalletErrors = {
22515
21759
  /**
22516
21760
  * Bad Request - Invalid input data or malformed request
22517
21761
  */
@@ -22541,20 +21785,20 @@ type PatchExtractionSchemasByIdActivateErrors = {
22541
21785
  */
22542
21786
  default: Errors;
22543
21787
  };
22544
- type PatchExtractionSchemasByIdActivateError = PatchExtractionSchemasByIdActivateErrors[keyof PatchExtractionSchemasByIdActivateErrors];
22545
- type PatchExtractionSchemasByIdActivateResponses = {
21788
+ type GetWalletError = GetWalletErrors[keyof GetWalletErrors];
21789
+ type GetWalletResponses = {
22546
21790
  /**
22547
21791
  * Success
22548
21792
  */
22549
21793
  200: {
22550
- data?: ExtractionSchema;
22551
- included?: Array<ExtractionSchemaField>;
21794
+ data?: Wallet;
21795
+ included?: Array<unknown>;
22552
21796
  meta?: {
22553
21797
  [key: string]: unknown;
22554
21798
  };
22555
21799
  };
22556
21800
  };
22557
- type PatchExtractionSchemasByIdActivateResponse = PatchExtractionSchemasByIdActivateResponses[keyof PatchExtractionSchemasByIdActivateResponses];
21801
+ type GetWalletResponse = GetWalletResponses[keyof GetWalletResponses];
22558
21802
  type DeleteMessagesByIdData = {
22559
21803
  body?: never;
22560
21804
  headers: {
@@ -22773,6 +22017,70 @@ type PatchMessagesByIdResponses = {
22773
22017
  };
22774
22018
  };
22775
22019
  type PatchMessagesByIdResponse = PatchMessagesByIdResponses[keyof PatchMessagesByIdResponses];
22020
+ type PostAgentsByIdDiscoverSchemaData = {
22021
+ /**
22022
+ * Request body for the /agents/:id/discover_schema operation on agent resource
22023
+ */
22024
+ body: {
22025
+ data: {
22026
+ /**
22027
+ * ID of document to analyze
22028
+ */
22029
+ document_id: string;
22030
+ };
22031
+ };
22032
+ headers: {
22033
+ /**
22034
+ * Application ID for authentication and routing
22035
+ */
22036
+ "x-application-key": string;
22037
+ };
22038
+ path: {
22039
+ id: string;
22040
+ };
22041
+ query?: never;
22042
+ url: "/agents/{id}/discover_schema";
22043
+ };
22044
+ type PostAgentsByIdDiscoverSchemaErrors = {
22045
+ /**
22046
+ * Bad Request - Invalid input data or malformed request
22047
+ */
22048
+ 400: ErrorResponse;
22049
+ /**
22050
+ * Unauthorized - Missing or invalid authentication token
22051
+ */
22052
+ 401: ErrorResponse;
22053
+ /**
22054
+ * Forbidden - Authenticated but not authorized for this resource
22055
+ */
22056
+ 403: ErrorResponse;
22057
+ /**
22058
+ * Not Found - Resource does not exist
22059
+ */
22060
+ 404: ErrorResponse;
22061
+ /**
22062
+ * Too Many Requests - Rate limit exceeded
22063
+ */
22064
+ 429: ErrorResponse;
22065
+ /**
22066
+ * Internal Server Error - Unexpected server error
22067
+ */
22068
+ 500: ErrorResponse;
22069
+ /**
22070
+ * General Error
22071
+ */
22072
+ default: Errors;
22073
+ };
22074
+ type PostAgentsByIdDiscoverSchemaError = PostAgentsByIdDiscoverSchemaErrors[keyof PostAgentsByIdDiscoverSchemaErrors];
22075
+ type PostAgentsByIdDiscoverSchemaResponses = {
22076
+ /**
22077
+ * Success
22078
+ */
22079
+ 201: {
22080
+ [key: string]: unknown;
22081
+ };
22082
+ };
22083
+ type PostAgentsByIdDiscoverSchemaResponse = PostAgentsByIdDiscoverSchemaResponses[keyof PostAgentsByIdDiscoverSchemaResponses];
22776
22084
  type GetLlmAnalyticsUsageData = {
22777
22085
  body?: never;
22778
22086
  headers: {
@@ -23137,6 +22445,75 @@ type PatchNotificationPreferencesByIdResponses = {
23137
22445
  };
23138
22446
  };
23139
22447
  type PatchNotificationPreferencesByIdResponse = PatchNotificationPreferencesByIdResponses[keyof PatchNotificationPreferencesByIdResponses];
22448
+ type GetSchemaDiscoveriesByIdData = {
22449
+ body?: never;
22450
+ headers: {
22451
+ /**
22452
+ * Application ID for authentication and routing
22453
+ */
22454
+ "x-application-key": string;
22455
+ };
22456
+ path: {
22457
+ id: string;
22458
+ };
22459
+ query?: {
22460
+ /**
22461
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22462
+ */
22463
+ include?: string;
22464
+ /**
22465
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
22466
+ */
22467
+ fields?: {
22468
+ [key: string]: unknown;
22469
+ };
22470
+ };
22471
+ url: "/schema_discoveries/{id}";
22472
+ };
22473
+ type GetSchemaDiscoveriesByIdErrors = {
22474
+ /**
22475
+ * Bad Request - Invalid input data or malformed request
22476
+ */
22477
+ 400: ErrorResponse;
22478
+ /**
22479
+ * Unauthorized - Missing or invalid authentication token
22480
+ */
22481
+ 401: ErrorResponse;
22482
+ /**
22483
+ * Forbidden - Authenticated but not authorized for this resource
22484
+ */
22485
+ 403: ErrorResponse;
22486
+ /**
22487
+ * Not Found - Resource does not exist
22488
+ */
22489
+ 404: ErrorResponse;
22490
+ /**
22491
+ * Too Many Requests - Rate limit exceeded
22492
+ */
22493
+ 429: ErrorResponse;
22494
+ /**
22495
+ * Internal Server Error - Unexpected server error
22496
+ */
22497
+ 500: ErrorResponse;
22498
+ /**
22499
+ * General Error
22500
+ */
22501
+ default: Errors;
22502
+ };
22503
+ type GetSchemaDiscoveriesByIdError = GetSchemaDiscoveriesByIdErrors[keyof GetSchemaDiscoveriesByIdErrors];
22504
+ type GetSchemaDiscoveriesByIdResponses = {
22505
+ /**
22506
+ * Success
22507
+ */
22508
+ 200: {
22509
+ data?: SchemaDiscovery;
22510
+ included?: Array<unknown>;
22511
+ meta?: {
22512
+ [key: string]: unknown;
22513
+ };
22514
+ };
22515
+ };
22516
+ type GetSchemaDiscoveriesByIdResponse = GetSchemaDiscoveriesByIdResponses[keyof GetSchemaDiscoveriesByIdResponses];
23140
22517
  type GetAiGraphNodesData = {
23141
22518
  body?: never;
23142
22519
  headers: {
@@ -23386,7 +22763,7 @@ type GetAgentsResponses = {
23386
22763
  * An array of resource objects representing a agent
23387
22764
  */
23388
22765
  data?: Array<Agent>;
23389
- included?: Array<unknown>;
22766
+ included?: Array<AgentVersion>;
23390
22767
  meta?: {
23391
22768
  [key: string]: unknown;
23392
22769
  };
@@ -23478,7 +22855,7 @@ type PostAgentsResponses = {
23478
22855
  */
23479
22856
  201: {
23480
22857
  data?: Agent;
23481
- included?: Array<unknown>;
22858
+ included?: Array<AgentVersion>;
23482
22859
  meta?: {
23483
22860
  [key: string]: unknown;
23484
22861
  };
@@ -24603,16 +23980,6 @@ declare const postThreads: <ThrowOnError extends boolean = false>(options: Optio
24603
23980
  * Cancel a processing document
24604
23981
  */
24605
23982
  declare const patchExtractionDocumentsByIdCancel: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdCancelData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdCancelResponses, PatchExtractionDocumentsByIdCancelErrors, ThrowOnError, "fields">;
24606
- /**
24607
- * Get workspace
24608
- *
24609
- * Retrieves a single resource by ID.
24610
- *
24611
- * **Authentication:** Required - Bearer token or API key
24612
- * **Rate Limit:** 100 requests per minute
24613
- *
24614
- */
24615
- declare const getExtractionSchemasWorkspaceByWorkspaceId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemasWorkspaceByWorkspaceIdData, ThrowOnError>) => RequestResult<GetExtractionSchemasWorkspaceByWorkspaceIdResponses, GetExtractionSchemasWorkspaceByWorkspaceIdErrors, ThrowOnError, "fields">;
24616
23983
  /**
24617
23984
  * List costs
24618
23985
  *
@@ -25243,6 +24610,18 @@ declare const getUsersMe: <ThrowOnError extends boolean = false>(options: Option
25243
24610
  *
25244
24611
  */
25245
24612
  declare const postUsersAuthRegisterWithOidc: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterWithOidcData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterWithOidcResponses, PostUsersAuthRegisterWithOidcErrors, ThrowOnError, "fields">;
24613
+ /**
24614
+ * Get schema versions
24615
+ *
24616
+ * List all schema versions for this agent
24617
+ */
24618
+ declare const getAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<GetAgentsByIdSchemaVersionsResponses, GetAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
24619
+ /**
24620
+ * Create schema versions
24621
+ *
24622
+ * Create a new schema version for this agent
24623
+ */
24624
+ declare const postAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsResponses, PostAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
25246
24625
  /**
25247
24626
  * Create credit
25248
24627
  *
@@ -25305,36 +24684,6 @@ declare const patchExtractionDocumentsByIdInclude: <ThrowOnError extends boolean
25305
24684
  *
25306
24685
  */
25307
24686
  declare const getLlmAnalyticsSummary: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsSummaryData, ThrowOnError>) => RequestResult<GetLlmAnalyticsSummaryResponses, GetLlmAnalyticsSummaryErrors, ThrowOnError, "fields">;
25308
- /**
25309
- * Delete schema fields
25310
- *
25311
- * Deletes a resource permanently. This action cannot be undone.
25312
- *
25313
- * **Authentication:** Required - Bearer token or API key
25314
- * **Rate Limit:** 100 requests per minute
25315
- *
25316
- */
25317
- declare const deleteExtractionSchemaFieldsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionSchemaFieldsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionSchemaFieldsByIdResponses, DeleteExtractionSchemaFieldsByIdErrors, ThrowOnError, "fields">;
25318
- /**
25319
- * Get schema fields
25320
- *
25321
- * Retrieves a single resource by ID.
25322
- *
25323
- * **Authentication:** Required - Bearer token or API key
25324
- * **Rate Limit:** 100 requests per minute
25325
- *
25326
- */
25327
- declare const getExtractionSchemaFieldsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemaFieldsByIdData, ThrowOnError>) => RequestResult<GetExtractionSchemaFieldsByIdResponses, GetExtractionSchemaFieldsByIdErrors, ThrowOnError, "fields">;
25328
- /**
25329
- * Update schema fields
25330
- *
25331
- * Updates specific fields of an existing resource.
25332
- *
25333
- * **Authentication:** Required - Bearer token or API key
25334
- * **Rate Limit:** 100 requests per minute
25335
- *
25336
- */
25337
- declare const patchExtractionSchemaFieldsById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemaFieldsByIdData, ThrowOnError>) => RequestResult<PatchExtractionSchemaFieldsByIdResponses, PatchExtractionSchemaFieldsByIdErrors, ThrowOnError, "fields">;
25338
24687
  /**
25339
24688
  * Create sign download
25340
24689
  *
@@ -25501,6 +24850,12 @@ declare const postApplications: <ThrowOnError extends boolean = false>(options:
25501
24850
  * Predicts the best agents for a given input
25502
24851
  */
25503
24852
  declare const postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
24853
+ /**
24854
+ * Create reprocess
24855
+ *
24856
+ * Re-extract document with current or specified schema version
24857
+ */
24858
+ declare const postExtractionDocumentsByIdReprocess: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsByIdReprocessData, ThrowOnError>) => RequestResult<PostExtractionDocumentsByIdReprocessResponses, PostExtractionDocumentsByIdReprocessErrors, ThrowOnError, "fields">;
25504
24859
  /**
25505
24860
  * Delete threads
25506
24861
  *
@@ -26091,26 +25446,6 @@ declare const patchExtractionDocumentsByIdRestore: <ThrowOnError extends boolean
26091
25446
  *
26092
25447
  */
26093
25448
  declare const getLlmAnalyticsById: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsByIdData, ThrowOnError>) => RequestResult<GetLlmAnalyticsByIdResponses, GetLlmAnalyticsByIdErrors, ThrowOnError, "fields">;
26094
- /**
26095
- * List schema fields
26096
- *
26097
- * Lists resources with optional filtering, sorting, and pagination.
26098
- *
26099
- * **Authentication:** Required - Bearer token or API key
26100
- * **Rate Limit:** 100 requests per minute
26101
- *
26102
- */
26103
- declare const getExtractionSchemaFields: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemaFieldsData, ThrowOnError>) => RequestResult<GetExtractionSchemaFieldsResponses, GetExtractionSchemaFieldsErrors, ThrowOnError, "fields">;
26104
- /**
26105
- * Create schema fields
26106
- *
26107
- * Creates a new resource. Returns the created resource with generated ID.
26108
- *
26109
- * **Authentication:** Required - Bearer token or API key
26110
- * **Rate Limit:** 100 requests per minute
26111
- *
26112
- */
26113
- declare const postExtractionSchemaFields: <ThrowOnError extends boolean = false>(options: Options<PostExtractionSchemaFieldsData, ThrowOnError>) => RequestResult<PostExtractionSchemaFieldsResponses, PostExtractionSchemaFieldsErrors, ThrowOnError, "fields">;
26114
25449
  /**
26115
25450
  * Update mark trained
26116
25451
  *
@@ -26215,26 +25550,6 @@ declare const patchExtractionResultsByIdRegenerate: <ThrowOnError extends boolea
26215
25550
  *
26216
25551
  */
26217
25552
  declare const postUsersAuthConfirm: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthConfirmData, ThrowOnError>) => RequestResult<PostUsersAuthConfirmResponses, PostUsersAuthConfirmErrors, ThrowOnError, "fields">;
26218
- /**
26219
- * List schemas
26220
- *
26221
- * Lists resources with optional filtering, sorting, and pagination.
26222
- *
26223
- * **Authentication:** Required - Bearer token or API key
26224
- * **Rate Limit:** 100 requests per minute
26225
- *
26226
- */
26227
- declare const getExtractionSchemas: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemasData, ThrowOnError>) => RequestResult<GetExtractionSchemasResponses, GetExtractionSchemasErrors, ThrowOnError, "fields">;
26228
- /**
26229
- * Create schemas
26230
- *
26231
- * Creates a new resource. Returns the created resource with generated ID.
26232
- *
26233
- * **Authentication:** Required - Bearer token or API key
26234
- * **Rate Limit:** 100 requests per minute
26235
- *
26236
- */
26237
- declare const postExtractionSchemas: <ThrowOnError extends boolean = false>(options: Options<PostExtractionSchemasData, ThrowOnError>) => RequestResult<PostExtractionSchemasResponses, PostExtractionSchemasErrors, ThrowOnError, "fields">;
26238
25553
  /**
26239
25554
  * List stats
26240
25555
  *
@@ -26311,6 +25626,12 @@ declare const postUsersAuthRegister: <ThrowOnError extends boolean = false>(opti
26311
25626
  *
26312
25627
  */
26313
25628
  declare const postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
25629
+ /**
25630
+ * Create activate
25631
+ *
25632
+ * Activate a specific schema version
25633
+ */
25634
+ declare const postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
26314
25635
  /**
26315
25636
  * Delete buckets
26316
25637
  *
@@ -26411,36 +25732,6 @@ declare const patchTenantsById: <ThrowOnError extends boolean = false>(options:
26411
25732
  *
26412
25733
  */
26413
25734
  declare const getPlans: <ThrowOnError extends boolean = false>(options: Options<GetPlansData, ThrowOnError>) => RequestResult<GetPlansResponses, GetPlansErrors, ThrowOnError, "fields">;
26414
- /**
26415
- * Update fields
26416
- *
26417
- * Updates specific fields of an existing resource.
26418
- *
26419
- * **Authentication:** Required - Bearer token or API key
26420
- * **Rate Limit:** 100 requests per minute
26421
- *
26422
- */
26423
- declare const patchExtractionSchemasByIdFields: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemasByIdFieldsData, ThrowOnError>) => RequestResult<PatchExtractionSchemasByIdFieldsResponses, PatchExtractionSchemasByIdFieldsErrors, ThrowOnError, "fields">;
26424
- /**
26425
- * Get schemas
26426
- *
26427
- * Retrieves a single resource by ID.
26428
- *
26429
- * **Authentication:** Required - Bearer token or API key
26430
- * **Rate Limit:** 100 requests per minute
26431
- *
26432
- */
26433
- declare const getExtractionSchemasById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemasByIdData, ThrowOnError>) => RequestResult<GetExtractionSchemasByIdResponses, GetExtractionSchemasByIdErrors, ThrowOnError, "fields">;
26434
- /**
26435
- * Update schemas
26436
- *
26437
- * Updates specific fields of an existing resource.
26438
- *
26439
- * **Authentication:** Required - Bearer token or API key
26440
- * **Rate Limit:** 100 requests per minute
26441
- *
26442
- */
26443
- declare const patchExtractionSchemasById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemasByIdData, ThrowOnError>) => RequestResult<PatchExtractionSchemasByIdResponses, PatchExtractionSchemasByIdErrors, ThrowOnError, "fields">;
26444
25735
  /**
26445
25736
  * Create test
26446
25737
  *
@@ -26633,16 +25924,6 @@ declare const deleteAiConversationsById: <ThrowOnError extends boolean = false>(
26633
25924
  *
26634
25925
  */
26635
25926
  declare const getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
26636
- /**
26637
- * Create bulk create
26638
- *
26639
- * Creates a new resource. Returns the created resource with generated ID.
26640
- *
26641
- * **Authentication:** Required - Bearer token or API key
26642
- * **Rate Limit:** 100 requests per minute
26643
- *
26644
- */
26645
- declare const postExtractionSchemasBulkCreate: <ThrowOnError extends boolean = false>(options: Options<PostExtractionSchemasBulkCreateData, ThrowOnError>) => RequestResult<PostExtractionSchemasBulkCreateResponses, PostExtractionSchemasBulkCreateErrors, ThrowOnError, "fields">;
26646
25927
  /**
26647
25928
  * Delete user profiles
26648
25929
  *
@@ -26761,16 +26042,6 @@ declare const getNotificationLogs: <ThrowOnError extends boolean = false>(option
26761
26042
  * Reads the wallet for the current tenant
26762
26043
  */
26763
26044
  declare const getWallet: <ThrowOnError extends boolean = false>(options: Options<GetWalletData, ThrowOnError>) => RequestResult<GetWalletResponses, GetWalletErrors, ThrowOnError, "fields">;
26764
- /**
26765
- * Update activate
26766
- *
26767
- * Updates specific fields of an existing resource.
26768
- *
26769
- * **Authentication:** Required - Bearer token or API key
26770
- * **Rate Limit:** 100 requests per minute
26771
- *
26772
- */
26773
- declare const patchExtractionSchemasByIdActivate: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemasByIdActivateData, ThrowOnError>) => RequestResult<PatchExtractionSchemasByIdActivateResponses, PatchExtractionSchemasByIdActivateErrors, ThrowOnError, "fields">;
26774
26045
  /**
26775
26046
  * Delete messages
26776
26047
  *
@@ -26801,6 +26072,12 @@ declare const getMessagesById: <ThrowOnError extends boolean = false>(options: O
26801
26072
  *
26802
26073
  */
26803
26074
  declare const patchMessagesById: <ThrowOnError extends boolean = false>(options: Options<PatchMessagesByIdData, ThrowOnError>) => RequestResult<PatchMessagesByIdResponses, PatchMessagesByIdErrors, ThrowOnError, "fields">;
26075
+ /**
26076
+ * Create discover schema
26077
+ *
26078
+ * Initiate async schema discovery for a document. Returns a discovery record that can be polled for results.
26079
+ */
26080
+ declare const postAgentsByIdDiscoverSchema: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdDiscoverSchemaData, ThrowOnError>) => RequestResult<PostAgentsByIdDiscoverSchemaResponses, PostAgentsByIdDiscoverSchemaErrors, ThrowOnError, "fields">;
26804
26081
  /**
26805
26082
  * List usage
26806
26083
  *
@@ -26851,6 +26128,16 @@ declare const getNotificationPreferencesById: <ThrowOnError extends boolean = fa
26851
26128
  *
26852
26129
  */
26853
26130
  declare const patchNotificationPreferencesById: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationPreferencesByIdData, ThrowOnError>) => RequestResult<PatchNotificationPreferencesByIdResponses, PatchNotificationPreferencesByIdErrors, ThrowOnError, "fields">;
26131
+ /**
26132
+ * Get schema discoveries
26133
+ *
26134
+ * Retrieves a single resource by ID.
26135
+ *
26136
+ * **Authentication:** Required - Bearer token or API key
26137
+ * **Rate Limit:** 100 requests per minute
26138
+ *
26139
+ */
26140
+ declare const getSchemaDiscoveriesById: <ThrowOnError extends boolean = false>(options: Options<GetSchemaDiscoveriesByIdData, ThrowOnError>) => RequestResult<GetSchemaDiscoveriesByIdResponses, GetSchemaDiscoveriesByIdErrors, ThrowOnError, "fields">;
26854
26141
  /**
26855
26142
  * List nodes
26856
26143
  *
@@ -27323,7 +26610,6 @@ declare const gptCore: {
27323
26610
  getThreads: <ThrowOnError extends boolean = false>(options: Options<GetThreadsData, ThrowOnError>) => RequestResult<GetThreadsResponses, GetThreadsErrors, ThrowOnError, "fields">;
27324
26611
  postThreads: <ThrowOnError extends boolean = false>(options: Options<PostThreadsData, ThrowOnError>) => RequestResult<PostThreadsResponses, PostThreadsErrors, ThrowOnError, "fields">;
27325
26612
  patchExtractionDocumentsByIdCancel: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdCancelData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdCancelResponses, PatchExtractionDocumentsByIdCancelErrors, ThrowOnError, "fields">;
27326
- getExtractionSchemasWorkspaceByWorkspaceId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemasWorkspaceByWorkspaceIdData, ThrowOnError>) => RequestResult<GetExtractionSchemasWorkspaceByWorkspaceIdResponses, GetExtractionSchemasWorkspaceByWorkspaceIdErrors, ThrowOnError, "fields">;
27327
26613
  getLlmAnalyticsCosts: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsCostsData, ThrowOnError>) => RequestResult<GetLlmAnalyticsCostsResponses, GetLlmAnalyticsCostsErrors, ThrowOnError, "fields">;
27328
26614
  getTrainingSessionsAgentsByAgentIdSessions: <ThrowOnError extends boolean = false>(options: Options<GetTrainingSessionsAgentsByAgentIdSessionsData, ThrowOnError>) => RequestResult<GetTrainingSessionsAgentsByAgentIdSessionsResponses, GetTrainingSessionsAgentsByAgentIdSessionsErrors, ThrowOnError, "fields">;
27329
26615
  getAiChunksDocumentByDocumentId: <ThrowOnError extends boolean = false>(options: Options<GetAiChunksDocumentByDocumentIdData, ThrowOnError>) => RequestResult<GetAiChunksDocumentByDocumentIdResponses, GetAiChunksDocumentByDocumentIdErrors, ThrowOnError, "fields">;
@@ -27393,6 +26679,8 @@ declare const gptCore: {
27393
26679
  postWebhookConfigsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostWebhookConfigsByIdTestData, ThrowOnError>) => RequestResult<PostWebhookConfigsByIdTestResponses, PostWebhookConfigsByIdTestErrors, ThrowOnError, "fields">;
27394
26680
  getUsersMe: <ThrowOnError extends boolean = false>(options: Options<GetUsersMeData, ThrowOnError>) => RequestResult<GetUsersMeResponses, GetUsersMeErrors, ThrowOnError, "fields">;
27395
26681
  postUsersAuthRegisterWithOidc: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterWithOidcData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterWithOidcResponses, PostUsersAuthRegisterWithOidcErrors, ThrowOnError, "fields">;
26682
+ getAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<GetAgentsByIdSchemaVersionsResponses, GetAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
26683
+ postAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsResponses, PostAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
27396
26684
  postTenantsByIdCredit: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdCreditData, ThrowOnError>) => RequestResult<PostTenantsByIdCreditResponses, PostTenantsByIdCreditErrors, ThrowOnError, "fields">;
27397
26685
  getTransactionsById: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsByIdData, ThrowOnError>) => RequestResult<GetTransactionsByIdResponses, GetTransactionsByIdErrors, ThrowOnError, "fields">;
27398
26686
  getTenantMemberships: <ThrowOnError extends boolean = false>(options: Options<GetTenantMembershipsData, ThrowOnError>) => RequestResult<GetTenantMembershipsResponses, GetTenantMembershipsErrors, ThrowOnError, "fields">;
@@ -27400,9 +26688,6 @@ declare const gptCore: {
27400
26688
  postTrainingExamplesBulkDelete: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkDeleteData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkDeleteResponses, PostTrainingExamplesBulkDeleteErrors, ThrowOnError, "fields">;
27401
26689
  patchExtractionDocumentsByIdInclude: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdIncludeData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdIncludeResponses, PatchExtractionDocumentsByIdIncludeErrors, ThrowOnError, "fields">;
27402
26690
  getLlmAnalyticsSummary: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsSummaryData, ThrowOnError>) => RequestResult<GetLlmAnalyticsSummaryResponses, GetLlmAnalyticsSummaryErrors, ThrowOnError, "fields">;
27403
- deleteExtractionSchemaFieldsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionSchemaFieldsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionSchemaFieldsByIdResponses, DeleteExtractionSchemaFieldsByIdErrors, ThrowOnError, "fields">;
27404
- getExtractionSchemaFieldsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemaFieldsByIdData, ThrowOnError>) => RequestResult<GetExtractionSchemaFieldsByIdResponses, GetExtractionSchemaFieldsByIdErrors, ThrowOnError, "fields">;
27405
- patchExtractionSchemaFieldsById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemaFieldsByIdData, ThrowOnError>) => RequestResult<PatchExtractionSchemaFieldsByIdResponses, PatchExtractionSchemaFieldsByIdErrors, ThrowOnError, "fields">;
27406
26691
  postStorageSignDownload: <ThrowOnError extends boolean = false>(options: Options<PostStorageSignDownloadData, ThrowOnError>) => RequestResult<PostStorageSignDownloadResponses, PostStorageSignDownloadErrors, ThrowOnError, "fields">;
27407
26692
  deleteTrainingSessionsById: <ThrowOnError extends boolean = false>(options: Options<DeleteTrainingSessionsByIdData, ThrowOnError>) => RequestResult<DeleteTrainingSessionsByIdResponses, DeleteTrainingSessionsByIdErrors, ThrowOnError, "fields">;
27408
26693
  getTrainingSessionsById: <ThrowOnError extends boolean = false>(options: Options<GetTrainingSessionsByIdData, ThrowOnError>) => RequestResult<GetTrainingSessionsByIdResponses, GetTrainingSessionsByIdErrors, ThrowOnError, "fields">;
@@ -27420,6 +26705,7 @@ declare const gptCore: {
27420
26705
  getApplications: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsData, ThrowOnError>) => RequestResult<GetApplicationsResponses, GetApplicationsErrors, ThrowOnError, "fields">;
27421
26706
  postApplications: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsData, ThrowOnError>) => RequestResult<PostApplicationsResponses, PostApplicationsErrors, ThrowOnError, "fields">;
27422
26707
  postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
26708
+ postExtractionDocumentsByIdReprocess: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsByIdReprocessData, ThrowOnError>) => RequestResult<PostExtractionDocumentsByIdReprocessResponses, PostExtractionDocumentsByIdReprocessErrors, ThrowOnError, "fields">;
27423
26709
  deleteThreadsById: <ThrowOnError extends boolean = false>(options: Options<DeleteThreadsByIdData, ThrowOnError>) => RequestResult<DeleteThreadsByIdResponses, DeleteThreadsByIdErrors, ThrowOnError, "fields">;
27424
26710
  getThreadsById: <ThrowOnError extends boolean = false>(options: Options<GetThreadsByIdData, ThrowOnError>) => RequestResult<GetThreadsByIdResponses, GetThreadsByIdErrors, ThrowOnError, "fields">;
27425
26711
  patchThreadsById: <ThrowOnError extends boolean = false>(options: Options<PatchThreadsByIdData, ThrowOnError>) => RequestResult<PatchThreadsByIdResponses, PatchThreadsByIdErrors, ThrowOnError, "fields">;
@@ -27483,8 +26769,6 @@ declare const gptCore: {
27483
26769
  getPlansSlugBySlug: <ThrowOnError extends boolean = false>(options: Options<GetPlansSlugBySlugData, ThrowOnError>) => RequestResult<GetPlansSlugBySlugResponses, GetPlansSlugBySlugErrors, ThrowOnError, "fields">;
27484
26770
  patchExtractionDocumentsByIdRestore: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdRestoreData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdRestoreResponses, PatchExtractionDocumentsByIdRestoreErrors, ThrowOnError, "fields">;
27485
26771
  getLlmAnalyticsById: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsByIdData, ThrowOnError>) => RequestResult<GetLlmAnalyticsByIdResponses, GetLlmAnalyticsByIdErrors, ThrowOnError, "fields">;
27486
- getExtractionSchemaFields: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemaFieldsData, ThrowOnError>) => RequestResult<GetExtractionSchemaFieldsResponses, GetExtractionSchemaFieldsErrors, ThrowOnError, "fields">;
27487
- postExtractionSchemaFields: <ThrowOnError extends boolean = false>(options: Options<PostExtractionSchemaFieldsData, ThrowOnError>) => RequestResult<PostExtractionSchemaFieldsResponses, PostExtractionSchemaFieldsErrors, ThrowOnError, "fields">;
27488
26772
  patchExtractionDocumentsByIdMarkTrained: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdMarkTrainedData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdMarkTrainedResponses, PatchExtractionDocumentsByIdMarkTrainedErrors, ThrowOnError, "fields">;
27489
26773
  patchApplicationsByIdGrantCredits: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByIdGrantCreditsData, ThrowOnError>) => RequestResult<PatchApplicationsByIdGrantCreditsResponses, PatchApplicationsByIdGrantCreditsErrors, ThrowOnError, "fields">;
27490
26774
  getSearchStatus: <ThrowOnError extends boolean = false>(options: Options<GetSearchStatusData, ThrowOnError>) => RequestResult<GetSearchStatusResponses, GetSearchStatusErrors, ThrowOnError, "fields">;
@@ -27497,8 +26781,6 @@ declare const gptCore: {
27497
26781
  postSearchReindex: <ThrowOnError extends boolean = false>(options: Options<PostSearchReindexData, ThrowOnError>) => RequestResult<PostSearchReindexResponses, PostSearchReindexErrors, ThrowOnError, "fields">;
27498
26782
  patchExtractionResultsByIdRegenerate: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdRegenerateData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdRegenerateResponses, PatchExtractionResultsByIdRegenerateErrors, ThrowOnError, "fields">;
27499
26783
  postUsersAuthConfirm: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthConfirmData, ThrowOnError>) => RequestResult<PostUsersAuthConfirmResponses, PostUsersAuthConfirmErrors, ThrowOnError, "fields">;
27500
- getExtractionSchemas: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemasData, ThrowOnError>) => RequestResult<GetExtractionSchemasResponses, GetExtractionSchemasErrors, ThrowOnError, "fields">;
27501
- postExtractionSchemas: <ThrowOnError extends boolean = false>(options: Options<PostExtractionSchemasData, ThrowOnError>) => RequestResult<PostExtractionSchemasResponses, PostExtractionSchemasErrors, ThrowOnError, "fields">;
27502
26784
  getStorageStats: <ThrowOnError extends boolean = false>(options: Options<GetStorageStatsData, ThrowOnError>) => RequestResult<GetStorageStatsResponses, GetStorageStatsErrors, ThrowOnError, "fields">;
27503
26785
  postTenantsByIdBuyStorage: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdBuyStorageData, ThrowOnError>) => RequestResult<PostTenantsByIdBuyStorageResponses, PostTenantsByIdBuyStorageErrors, ThrowOnError, "fields">;
27504
26786
  getWorkspaceMemberships: <ThrowOnError extends boolean = false>(options: Options<GetWorkspaceMembershipsData, ThrowOnError>) => RequestResult<GetWorkspaceMembershipsResponses, GetWorkspaceMembershipsErrors, ThrowOnError, "fields">;
@@ -27507,6 +26789,7 @@ declare const gptCore: {
27507
26789
  postUsersAuthMagicLinkRequest: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthMagicLinkRequestData, ThrowOnError>) => RequestResult<PostUsersAuthMagicLinkRequestResponses, PostUsersAuthMagicLinkRequestErrors, ThrowOnError, "fields">;
27508
26790
  postUsersAuthRegister: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterResponses, PostUsersAuthRegisterErrors, ThrowOnError, "fields">;
27509
26791
  postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
26792
+ postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
27510
26793
  deleteBucketsById: <ThrowOnError extends boolean = false>(options: Options<DeleteBucketsByIdData, ThrowOnError>) => RequestResult<DeleteBucketsByIdResponses, DeleteBucketsByIdErrors, ThrowOnError, "fields">;
27511
26794
  getBucketsById: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdData, ThrowOnError>) => RequestResult<GetBucketsByIdResponses, GetBucketsByIdErrors, ThrowOnError, "fields">;
27512
26795
  patchBucketsById: <ThrowOnError extends boolean = false>(options: Options<PatchBucketsByIdData, ThrowOnError>) => RequestResult<PatchBucketsByIdResponses, PatchBucketsByIdErrors, ThrowOnError, "fields">;
@@ -27517,9 +26800,6 @@ declare const gptCore: {
27517
26800
  getTenantsById: <ThrowOnError extends boolean = false>(options: Options<GetTenantsByIdData, ThrowOnError>) => RequestResult<GetTenantsByIdResponses, GetTenantsByIdErrors, ThrowOnError, "fields">;
27518
26801
  patchTenantsById: <ThrowOnError extends boolean = false>(options: Options<PatchTenantsByIdData, ThrowOnError>) => RequestResult<PatchTenantsByIdResponses, PatchTenantsByIdErrors, ThrowOnError, "fields">;
27519
26802
  getPlans: <ThrowOnError extends boolean = false>(options: Options<GetPlansData, ThrowOnError>) => RequestResult<GetPlansResponses, GetPlansErrors, ThrowOnError, "fields">;
27520
- patchExtractionSchemasByIdFields: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemasByIdFieldsData, ThrowOnError>) => RequestResult<PatchExtractionSchemasByIdFieldsResponses, PatchExtractionSchemasByIdFieldsErrors, ThrowOnError, "fields">;
27521
- getExtractionSchemasById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionSchemasByIdData, ThrowOnError>) => RequestResult<GetExtractionSchemasByIdResponses, GetExtractionSchemasByIdErrors, ThrowOnError, "fields">;
27522
- patchExtractionSchemasById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemasByIdData, ThrowOnError>) => RequestResult<PatchExtractionSchemasByIdResponses, PatchExtractionSchemasByIdErrors, ThrowOnError, "fields">;
27523
26803
  postAgentsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdTestData, ThrowOnError>) => RequestResult<PostAgentsByIdTestResponses, PostAgentsByIdTestErrors, ThrowOnError, "fields">;
27524
26804
  getExtractionDocuments: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsData, ThrowOnError>) => RequestResult<GetExtractionDocumentsResponses, GetExtractionDocumentsErrors, ThrowOnError, "fields">;
27525
26805
  deleteTenantMembershipsByTenantIdByUserId: <ThrowOnError extends boolean = false>(options: Options<DeleteTenantMembershipsByTenantIdByUserIdData, ThrowOnError>) => RequestResult<DeleteTenantMembershipsByTenantIdByUserIdResponses, DeleteTenantMembershipsByTenantIdByUserIdErrors, ThrowOnError, "fields">;
@@ -27540,7 +26820,6 @@ declare const gptCore: {
27540
26820
  postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
27541
26821
  deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
27542
26822
  getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
27543
- postExtractionSchemasBulkCreate: <ThrowOnError extends boolean = false>(options: Options<PostExtractionSchemasBulkCreateData, ThrowOnError>) => RequestResult<PostExtractionSchemasBulkCreateResponses, PostExtractionSchemasBulkCreateErrors, ThrowOnError, "fields">;
27544
26823
  deleteUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<DeleteUserProfilesByIdData, ThrowOnError>) => RequestResult<DeleteUserProfilesByIdResponses, DeleteUserProfilesByIdErrors, ThrowOnError, "fields">;
27545
26824
  getUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<GetUserProfilesByIdData, ThrowOnError>) => RequestResult<GetUserProfilesByIdResponses, GetUserProfilesByIdErrors, ThrowOnError, "fields">;
27546
26825
  patchUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdResponses, PatchUserProfilesByIdErrors, ThrowOnError, "fields">;
@@ -27554,15 +26833,16 @@ declare const gptCore: {
27554
26833
  getApplicationsBySlugBySlug: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsBySlugBySlugData, ThrowOnError>) => RequestResult<GetApplicationsBySlugBySlugResponses, GetApplicationsBySlugBySlugErrors, ThrowOnError, "fields">;
27555
26834
  getNotificationLogs: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsData, ThrowOnError>) => RequestResult<GetNotificationLogsResponses, GetNotificationLogsErrors, ThrowOnError, "fields">;
27556
26835
  getWallet: <ThrowOnError extends boolean = false>(options: Options<GetWalletData, ThrowOnError>) => RequestResult<GetWalletResponses, GetWalletErrors, ThrowOnError, "fields">;
27557
- patchExtractionSchemasByIdActivate: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionSchemasByIdActivateData, ThrowOnError>) => RequestResult<PatchExtractionSchemasByIdActivateResponses, PatchExtractionSchemasByIdActivateErrors, ThrowOnError, "fields">;
27558
26836
  deleteMessagesById: <ThrowOnError extends boolean = false>(options: Options<DeleteMessagesByIdData, ThrowOnError>) => RequestResult<DeleteMessagesByIdResponses, DeleteMessagesByIdErrors, ThrowOnError, "fields">;
27559
26837
  getMessagesById: <ThrowOnError extends boolean = false>(options: Options<GetMessagesByIdData, ThrowOnError>) => RequestResult<GetMessagesByIdResponses, GetMessagesByIdErrors, ThrowOnError, "fields">;
27560
26838
  patchMessagesById: <ThrowOnError extends boolean = false>(options: Options<PatchMessagesByIdData, ThrowOnError>) => RequestResult<PatchMessagesByIdResponses, PatchMessagesByIdErrors, ThrowOnError, "fields">;
26839
+ postAgentsByIdDiscoverSchema: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdDiscoverSchemaData, ThrowOnError>) => RequestResult<PostAgentsByIdDiscoverSchemaResponses, PostAgentsByIdDiscoverSchemaErrors, ThrowOnError, "fields">;
27561
26840
  getLlmAnalyticsUsage: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsUsageData, ThrowOnError>) => RequestResult<GetLlmAnalyticsUsageResponses, GetLlmAnalyticsUsageErrors, ThrowOnError, "fields">;
27562
26841
  getSearchStats: <ThrowOnError extends boolean = false>(options: Options<GetSearchStatsData, ThrowOnError>) => RequestResult<GetSearchStatsResponses, GetSearchStatsErrors, ThrowOnError, "fields">;
27563
26842
  deleteNotificationPreferencesById: <ThrowOnError extends boolean = false>(options: Options<DeleteNotificationPreferencesByIdData, ThrowOnError>) => RequestResult<DeleteNotificationPreferencesByIdResponses, DeleteNotificationPreferencesByIdErrors, ThrowOnError, "fields">;
27564
26843
  getNotificationPreferencesById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationPreferencesByIdData, ThrowOnError>) => RequestResult<GetNotificationPreferencesByIdResponses, GetNotificationPreferencesByIdErrors, ThrowOnError, "fields">;
27565
26844
  patchNotificationPreferencesById: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationPreferencesByIdData, ThrowOnError>) => RequestResult<PatchNotificationPreferencesByIdResponses, PatchNotificationPreferencesByIdErrors, ThrowOnError, "fields">;
26845
+ getSchemaDiscoveriesById: <ThrowOnError extends boolean = false>(options: Options<GetSchemaDiscoveriesByIdData, ThrowOnError>) => RequestResult<GetSchemaDiscoveriesByIdResponses, GetSchemaDiscoveriesByIdErrors, ThrowOnError, "fields">;
27566
26846
  getAiGraphNodes: <ThrowOnError extends boolean = false>(options: Options<GetAiGraphNodesData, ThrowOnError>) => RequestResult<GetAiGraphNodesResponses, GetAiGraphNodesErrors, ThrowOnError, "fields">;
27567
26847
  postAiGraphNodes: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphNodesData, ThrowOnError>) => RequestResult<PostAiGraphNodesResponses, PostAiGraphNodesErrors, ThrowOnError, "fields">;
27568
26848
  getAgents: <ThrowOnError extends boolean = false>(options: Options<GetAgentsData, ThrowOnError>) => RequestResult<GetAgentsResponses, GetAgentsErrors, ThrowOnError, "fields">;
@@ -27578,4 +26858,4 @@ declare const gptCore: {
27578
26858
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
27579
26859
  };
27580
26860
 
27581
- export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentVersion, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type AuditLog, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type ExtractionSchema, type ExtractionSchemaField, type FieldTemplate, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasData, type GetExtractionSchemasError, type GetExtractionSchemasErrors, type GetExtractionSchemasResponse, type GetExtractionSchemasResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdActivateData, type PatchExtractionSchemasByIdActivateError, type PatchExtractionSchemasByIdActivateErrors, type PatchExtractionSchemasByIdActivateResponse, type PatchExtractionSchemasByIdActivateResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdFieldsData, type PatchExtractionSchemasByIdFieldsError, type PatchExtractionSchemasByIdFieldsErrors, type PatchExtractionSchemasByIdFieldsResponse, type PatchExtractionSchemasByIdFieldsResponses, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentMethod, type Plan, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasBulkCreateData, type PostExtractionSchemasBulkCreateError, type PostExtractionSchemasBulkCreateErrors, type PostExtractionSchemasBulkCreateResponse, type PostExtractionSchemasBulkCreateResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type Search, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StreamMessageChunk, type StreamOptions, type Subscription, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type User, type UserProfile, ValidationError, type Wallet, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersions, getAgentVersionsById, getAgents, getAgentsById, getAgentsByIdTrainingStats, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemas, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsById, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchExtractionSchemasByIdActivate, patchExtractionSchemasByIdFields, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSetPrimary, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletCredits, patchWalletPlan, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentVersions, postAgents, postAgentsByIdClone, postAgentsByIdPublishVersion, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postExtractionSchemasBulkCreate, postFieldTemplates, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };
26861
+ export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentVersion, type AgentVersionFieldsInputCreateType, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type AuditLog, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldTemplate, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSchemaDiscoveriesByIdData, type GetSchemaDiscoveriesByIdError, type GetSchemaDiscoveriesByIdErrors, type GetSchemaDiscoveriesByIdResponse, type GetSchemaDiscoveriesByIdResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentMethod, type Plan, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsByIdReprocessData, type PostExtractionDocumentsByIdReprocessError, type PostExtractionDocumentsByIdReprocessErrors, type PostExtractionDocumentsByIdReprocessResponse, type PostExtractionDocumentsByIdReprocessResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StreamMessageChunk, type StreamOptions, type Subscription, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type User, type UserProfile, ValidationError, type Wallet, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersions, getAgentVersionsById, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdTrainingStats, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSchemaDiscoveriesById, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsById, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSetPrimary, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletCredits, patchWalletPlan, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentVersions, postAgents, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdPublishVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsByIdReprocess, postExtractionDocumentsUpload, postExtractionResults, postFieldTemplates, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };