@gpt-core/client 0.7.62 → 0.7.64

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.ts 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
  */
@@ -3588,7 +3551,7 @@ type ExtractionDocument = {
3588
3551
  /**
3589
3552
  * Field included by default.
3590
3553
  */
3591
- status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | unknown;
3554
+ status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | "pending_credits" | unknown;
3592
3555
  /**
3593
3556
  * Field included by default.
3594
3557
  */
@@ -3641,9 +3604,9 @@ type ExtractionDocument = {
3641
3604
  */
3642
3605
  completed_at?: unknown;
3643
3606
  /**
3644
- * The version of the extraction schema used to process this document. Field included by default.
3607
+ * The version of the agent/schema used to process this document. Field included by default.
3645
3608
  */
3646
- schema_version?: number | null | unknown;
3609
+ schema_version?: string | null | unknown;
3647
3610
  presigned_view_url?: string | null | unknown;
3648
3611
  /**
3649
3612
  * Field included by default.
@@ -4176,75 +4139,6 @@ type PatchExtractionDocumentsByIdCancelResponses = {
4176
4139
  };
4177
4140
  };
4178
4141
  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
4142
  type GetLlmAnalyticsCostsData = {
4249
4143
  body?: never;
4250
4144
  headers: {
@@ -5917,7 +5811,7 @@ type PatchExtractionDocumentsByIdStatusData = {
5917
5811
  * State or province code (2-letter)
5918
5812
  */
5919
5813
  state?: string | unknown;
5920
- status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | unknown;
5814
+ status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | "pending_credits" | unknown;
5921
5815
  /**
5922
5816
  * Metadata about the training session for this document (trained_at, user_id, scores)
5923
5817
  */
@@ -8206,6 +8100,7 @@ type PostAgentVersionsData = {
8206
8100
  attributes?: {
8207
8101
  agent_id: string;
8208
8102
  changes_summary?: string | unknown;
8103
+ fields?: Array<AgentVersionFieldsInputCreateType> | unknown;
8209
8104
  parent_version_id?: string | unknown;
8210
8105
  prompt_template: string;
8211
8106
  schema_definition?: {
@@ -9675,23 +9570,8 @@ type PostUsersAuthRegisterWithOidcResponses = {
9675
9570
  };
9676
9571
  };
9677
9572
  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
- };
9573
+ type GetAgentsByIdSchemaVersionsData = {
9574
+ body?: never;
9695
9575
  headers: {
9696
9576
  /**
9697
9577
  * Application ID for authentication and routing
@@ -9699,23 +9579,15 @@ type PostTenantsByIdCreditData = {
9699
9579
  "x-application-key": string;
9700
9580
  };
9701
9581
  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
9582
  /**
9710
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9583
+ * Agent ID (automatically mapped from route)
9711
9584
  */
9712
- fields?: {
9713
- [key: string]: unknown;
9714
- };
9585
+ id: string;
9715
9586
  };
9716
- url: "/tenants/{id}/credit";
9587
+ query?: never;
9588
+ url: "/agents/{id}/schema_versions";
9717
9589
  };
9718
- type PostTenantsByIdCreditErrors = {
9590
+ type GetAgentsByIdSchemaVersionsErrors = {
9719
9591
  /**
9720
9592
  * Bad Request - Invalid input data or malformed request
9721
9593
  */
@@ -9745,22 +9617,33 @@ type PostTenantsByIdCreditErrors = {
9745
9617
  */
9746
9618
  default: Errors;
9747
9619
  };
9748
- type PostTenantsByIdCreditError = PostTenantsByIdCreditErrors[keyof PostTenantsByIdCreditErrors];
9749
- type PostTenantsByIdCreditResponses = {
9620
+ type GetAgentsByIdSchemaVersionsError = GetAgentsByIdSchemaVersionsErrors[keyof GetAgentsByIdSchemaVersionsErrors];
9621
+ type GetAgentsByIdSchemaVersionsResponses = {
9750
9622
  /**
9751
9623
  * Success
9752
9624
  */
9753
- 201: {
9754
- data?: Tenant;
9755
- included?: Array<Workspace>;
9756
- meta?: {
9757
- [key: string]: unknown;
9758
- };
9625
+ 200: {
9626
+ [key: string]: unknown;
9759
9627
  };
9760
9628
  };
9761
- type PostTenantsByIdCreditResponse = PostTenantsByIdCreditResponses[keyof PostTenantsByIdCreditResponses];
9762
- type GetTransactionsByIdData = {
9763
- body?: never;
9629
+ type GetAgentsByIdSchemaVersionsResponse = GetAgentsByIdSchemaVersionsResponses[keyof GetAgentsByIdSchemaVersionsResponses];
9630
+ type PostAgentsByIdSchemaVersionsData = {
9631
+ /**
9632
+ * Request body for the /agents/:id/schema_versions operation on agent resource
9633
+ */
9634
+ body: {
9635
+ data: {
9636
+ changes_summary?: string | unknown;
9637
+ fields?: Array<{
9638
+ [key: string]: unknown;
9639
+ }> | unknown;
9640
+ prompt_template: string;
9641
+ schema_definition: {
9642
+ [key: string]: unknown;
9643
+ };
9644
+ version_number: string;
9645
+ };
9646
+ };
9764
9647
  headers: {
9765
9648
  /**
9766
9649
  * Application ID for authentication and routing
@@ -9768,23 +9651,15 @@ type GetTransactionsByIdData = {
9768
9651
  "x-application-key": string;
9769
9652
  };
9770
9653
  path: {
9771
- id: string;
9772
- };
9773
- query?: {
9774
9654
  /**
9775
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9776
- */
9777
- include?: string;
9778
- /**
9779
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9655
+ * Agent ID (automatically mapped from route)
9780
9656
  */
9781
- fields?: {
9782
- [key: string]: unknown;
9783
- };
9657
+ id: string;
9784
9658
  };
9785
- url: "/transactions/{id}";
9659
+ query?: never;
9660
+ url: "/agents/{id}/schema_versions";
9786
9661
  };
9787
- type GetTransactionsByIdErrors = {
9662
+ type PostAgentsByIdSchemaVersionsErrors = {
9788
9663
  /**
9789
9664
  * Bad Request - Invalid input data or malformed request
9790
9665
  */
@@ -9814,36 +9689,185 @@ type GetTransactionsByIdErrors = {
9814
9689
  */
9815
9690
  default: Errors;
9816
9691
  };
9817
- type GetTransactionsByIdError = GetTransactionsByIdErrors[keyof GetTransactionsByIdErrors];
9818
- type GetTransactionsByIdResponses = {
9692
+ type PostAgentsByIdSchemaVersionsError = PostAgentsByIdSchemaVersionsErrors[keyof PostAgentsByIdSchemaVersionsErrors];
9693
+ type PostAgentsByIdSchemaVersionsResponses = {
9819
9694
  /**
9820
9695
  * Success
9821
9696
  */
9822
- 200: {
9823
- data?: Transaction;
9824
- included?: Array<unknown>;
9825
- meta?: {
9826
- [key: string]: unknown;
9827
- };
9697
+ 201: {
9698
+ [key: string]: unknown;
9828
9699
  };
9829
9700
  };
9830
- type GetTransactionsByIdResponse = GetTransactionsByIdResponses[keyof GetTransactionsByIdResponses];
9831
- type GetTenantMembershipsData = {
9832
- body?: never;
9833
- headers: {
9834
- /**
9835
- * Application ID for authentication and routing
9836
- */
9837
- "x-application-key": string;
9838
- };
9839
- path?: never;
9840
- query?: {
9841
- /**
9842
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
9843
- */
9844
- filter?: {
9845
- [key: string]: unknown;
9846
- };
9701
+ type PostAgentsByIdSchemaVersionsResponse = PostAgentsByIdSchemaVersionsResponses[keyof PostAgentsByIdSchemaVersionsResponses];
9702
+ type PostTenantsByIdCreditData = {
9703
+ /**
9704
+ * Request body for the /tenants/:id/credit operation on tenant resource
9705
+ */
9706
+ body: {
9707
+ data: {
9708
+ attributes?: {
9709
+ amount: number;
9710
+ description?: string | unknown;
9711
+ operation?: string | unknown;
9712
+ };
9713
+ relationships?: {
9714
+ [key: string]: never;
9715
+ };
9716
+ type?: "tenant";
9717
+ };
9718
+ };
9719
+ headers: {
9720
+ /**
9721
+ * Application ID for authentication and routing
9722
+ */
9723
+ "x-application-key": string;
9724
+ };
9725
+ path: {
9726
+ id: string;
9727
+ };
9728
+ query?: {
9729
+ /**
9730
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9731
+ */
9732
+ include?: string;
9733
+ /**
9734
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9735
+ */
9736
+ fields?: {
9737
+ [key: string]: unknown;
9738
+ };
9739
+ };
9740
+ url: "/tenants/{id}/credit";
9741
+ };
9742
+ type PostTenantsByIdCreditErrors = {
9743
+ /**
9744
+ * Bad Request - Invalid input data or malformed request
9745
+ */
9746
+ 400: ErrorResponse;
9747
+ /**
9748
+ * Unauthorized - Missing or invalid authentication token
9749
+ */
9750
+ 401: ErrorResponse;
9751
+ /**
9752
+ * Forbidden - Authenticated but not authorized for this resource
9753
+ */
9754
+ 403: ErrorResponse;
9755
+ /**
9756
+ * Not Found - Resource does not exist
9757
+ */
9758
+ 404: ErrorResponse;
9759
+ /**
9760
+ * Too Many Requests - Rate limit exceeded
9761
+ */
9762
+ 429: ErrorResponse;
9763
+ /**
9764
+ * Internal Server Error - Unexpected server error
9765
+ */
9766
+ 500: ErrorResponse;
9767
+ /**
9768
+ * General Error
9769
+ */
9770
+ default: Errors;
9771
+ };
9772
+ type PostTenantsByIdCreditError = PostTenantsByIdCreditErrors[keyof PostTenantsByIdCreditErrors];
9773
+ type PostTenantsByIdCreditResponses = {
9774
+ /**
9775
+ * Success
9776
+ */
9777
+ 201: {
9778
+ data?: Tenant;
9779
+ included?: Array<Workspace>;
9780
+ meta?: {
9781
+ [key: string]: unknown;
9782
+ };
9783
+ };
9784
+ };
9785
+ type PostTenantsByIdCreditResponse = PostTenantsByIdCreditResponses[keyof PostTenantsByIdCreditResponses];
9786
+ type GetTransactionsByIdData = {
9787
+ body?: never;
9788
+ headers: {
9789
+ /**
9790
+ * Application ID for authentication and routing
9791
+ */
9792
+ "x-application-key": string;
9793
+ };
9794
+ path: {
9795
+ id: string;
9796
+ };
9797
+ query?: {
9798
+ /**
9799
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9800
+ */
9801
+ include?: string;
9802
+ /**
9803
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9804
+ */
9805
+ fields?: {
9806
+ [key: string]: unknown;
9807
+ };
9808
+ };
9809
+ url: "/transactions/{id}";
9810
+ };
9811
+ type GetTransactionsByIdErrors = {
9812
+ /**
9813
+ * Bad Request - Invalid input data or malformed request
9814
+ */
9815
+ 400: ErrorResponse;
9816
+ /**
9817
+ * Unauthorized - Missing or invalid authentication token
9818
+ */
9819
+ 401: ErrorResponse;
9820
+ /**
9821
+ * Forbidden - Authenticated but not authorized for this resource
9822
+ */
9823
+ 403: ErrorResponse;
9824
+ /**
9825
+ * Not Found - Resource does not exist
9826
+ */
9827
+ 404: ErrorResponse;
9828
+ /**
9829
+ * Too Many Requests - Rate limit exceeded
9830
+ */
9831
+ 429: ErrorResponse;
9832
+ /**
9833
+ * Internal Server Error - Unexpected server error
9834
+ */
9835
+ 500: ErrorResponse;
9836
+ /**
9837
+ * General Error
9838
+ */
9839
+ default: Errors;
9840
+ };
9841
+ type GetTransactionsByIdError = GetTransactionsByIdErrors[keyof GetTransactionsByIdErrors];
9842
+ type GetTransactionsByIdResponses = {
9843
+ /**
9844
+ * Success
9845
+ */
9846
+ 200: {
9847
+ data?: Transaction;
9848
+ included?: Array<unknown>;
9849
+ meta?: {
9850
+ [key: string]: unknown;
9851
+ };
9852
+ };
9853
+ };
9854
+ type GetTransactionsByIdResponse = GetTransactionsByIdResponses[keyof GetTransactionsByIdResponses];
9855
+ type GetTenantMembershipsData = {
9856
+ body?: never;
9857
+ headers: {
9858
+ /**
9859
+ * Application ID for authentication and routing
9860
+ */
9861
+ "x-application-key": string;
9862
+ };
9863
+ path?: never;
9864
+ query?: {
9865
+ /**
9866
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
9867
+ */
9868
+ filter?: {
9869
+ [key: string]: unknown;
9870
+ };
9847
9871
  /**
9848
9872
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
9849
9873
  */
@@ -10208,17 +10232,29 @@ type GetLlmAnalyticsSummaryResponses = {
10208
10232
  };
10209
10233
  };
10210
10234
  type GetLlmAnalyticsSummaryResponse = GetLlmAnalyticsSummaryResponses[keyof GetLlmAnalyticsSummaryResponses];
10211
- type DeleteExtractionSchemaFieldsByIdData = {
10212
- body?: never;
10235
+ type PostStorageSignDownloadData = {
10236
+ /**
10237
+ * Request body for the /storage/sign_download operation on presigned_url resource
10238
+ */
10239
+ body: {
10240
+ data: {
10241
+ attributes?: {
10242
+ bucket_id: string;
10243
+ filename: string;
10244
+ };
10245
+ relationships?: {
10246
+ [key: string]: never;
10247
+ };
10248
+ type?: "presigned_url";
10249
+ };
10250
+ };
10213
10251
  headers: {
10214
10252
  /**
10215
10253
  * Application ID for authentication and routing
10216
10254
  */
10217
10255
  "x-application-key": string;
10218
10256
  };
10219
- path: {
10220
- id: string;
10221
- };
10257
+ path?: never;
10222
10258
  query?: {
10223
10259
  /**
10224
10260
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -10231,9 +10267,9 @@ type DeleteExtractionSchemaFieldsByIdData = {
10231
10267
  [key: string]: unknown;
10232
10268
  };
10233
10269
  };
10234
- url: "/extraction/schema-fields/{id}";
10270
+ url: "/storage/sign_download";
10235
10271
  };
10236
- type DeleteExtractionSchemaFieldsByIdErrors = {
10272
+ type PostStorageSignDownloadErrors = {
10237
10273
  /**
10238
10274
  * Bad Request - Invalid input data or malformed request
10239
10275
  */
@@ -10263,14 +10299,21 @@ type DeleteExtractionSchemaFieldsByIdErrors = {
10263
10299
  */
10264
10300
  default: Errors;
10265
10301
  };
10266
- type DeleteExtractionSchemaFieldsByIdError = DeleteExtractionSchemaFieldsByIdErrors[keyof DeleteExtractionSchemaFieldsByIdErrors];
10267
- type DeleteExtractionSchemaFieldsByIdResponses = {
10302
+ type PostStorageSignDownloadError = PostStorageSignDownloadErrors[keyof PostStorageSignDownloadErrors];
10303
+ type PostStorageSignDownloadResponses = {
10268
10304
  /**
10269
- * Deleted successfully
10305
+ * Success
10270
10306
  */
10271
- 200: unknown;
10307
+ 201: {
10308
+ data?: PresignedUrl;
10309
+ included?: Array<unknown>;
10310
+ meta?: {
10311
+ [key: string]: unknown;
10312
+ };
10313
+ };
10272
10314
  };
10273
- type GetExtractionSchemaFieldsByIdData = {
10315
+ type PostStorageSignDownloadResponse = PostStorageSignDownloadResponses[keyof PostStorageSignDownloadResponses];
10316
+ type DeleteTrainingSessionsByIdData = {
10274
10317
  body?: never;
10275
10318
  headers: {
10276
10319
  /**
@@ -10293,9 +10336,9 @@ type GetExtractionSchemaFieldsByIdData = {
10293
10336
  [key: string]: unknown;
10294
10337
  };
10295
10338
  };
10296
- url: "/extraction/schema-fields/{id}";
10339
+ url: "/training_sessions/{id}";
10297
10340
  };
10298
- type GetExtractionSchemaFieldsByIdErrors = {
10341
+ type DeleteTrainingSessionsByIdErrors = {
10299
10342
  /**
10300
10343
  * Bad Request - Invalid input data or malformed request
10301
10344
  */
@@ -10325,42 +10368,15 @@ type GetExtractionSchemaFieldsByIdErrors = {
10325
10368
  */
10326
10369
  default: Errors;
10327
10370
  };
10328
- type GetExtractionSchemaFieldsByIdError = GetExtractionSchemaFieldsByIdErrors[keyof GetExtractionSchemaFieldsByIdErrors];
10329
- type GetExtractionSchemaFieldsByIdResponses = {
10371
+ type DeleteTrainingSessionsByIdError = DeleteTrainingSessionsByIdErrors[keyof DeleteTrainingSessionsByIdErrors];
10372
+ type DeleteTrainingSessionsByIdResponses = {
10330
10373
  /**
10331
- * Success
10374
+ * Deleted successfully
10332
10375
  */
10333
- 200: {
10334
- data?: ExtractionSchemaField;
10335
- included?: Array<unknown>;
10336
- meta?: {
10337
- [key: string]: unknown;
10338
- };
10339
- };
10376
+ 200: unknown;
10340
10377
  };
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
- };
10378
+ type GetTrainingSessionsByIdData = {
10379
+ body?: never;
10364
10380
  headers: {
10365
10381
  /**
10366
10382
  * Application ID for authentication and routing
@@ -10382,9 +10398,9 @@ type PatchExtractionSchemaFieldsByIdData = {
10382
10398
  [key: string]: unknown;
10383
10399
  };
10384
10400
  };
10385
- url: "/extraction/schema-fields/{id}";
10401
+ url: "/training_sessions/{id}";
10386
10402
  };
10387
- type PatchExtractionSchemaFieldsByIdErrors = {
10403
+ type GetTrainingSessionsByIdErrors = {
10388
10404
  /**
10389
10405
  * Bad Request - Invalid input data or malformed request
10390
10406
  */
@@ -10414,225 +10430,13 @@ type PatchExtractionSchemaFieldsByIdErrors = {
10414
10430
  */
10415
10431
  default: Errors;
10416
10432
  };
10417
- type PatchExtractionSchemaFieldsByIdError = PatchExtractionSchemaFieldsByIdErrors[keyof PatchExtractionSchemaFieldsByIdErrors];
10418
- type PatchExtractionSchemaFieldsByIdResponses = {
10433
+ type GetTrainingSessionsByIdError = GetTrainingSessionsByIdErrors[keyof GetTrainingSessionsByIdErrors];
10434
+ type GetTrainingSessionsByIdResponses = {
10419
10435
  /**
10420
10436
  * Success
10421
10437
  */
10422
10438
  200: {
10423
- data?: ExtractionSchemaField;
10424
- included?: Array<unknown>;
10425
- meta?: {
10426
- [key: string]: unknown;
10427
- };
10428
- };
10429
- };
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
- };
10447
- headers: {
10448
- /**
10449
- * Application ID for authentication and routing
10450
- */
10451
- "x-application-key": string;
10452
- };
10453
- path?: never;
10454
- query?: {
10455
- /**
10456
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10457
- */
10458
- include?: string;
10459
- /**
10460
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10461
- */
10462
- fields?: {
10463
- [key: string]: unknown;
10464
- };
10465
- };
10466
- url: "/storage/sign_download";
10467
- };
10468
- type PostStorageSignDownloadErrors = {
10469
- /**
10470
- * Bad Request - Invalid input data or malformed request
10471
- */
10472
- 400: ErrorResponse;
10473
- /**
10474
- * Unauthorized - Missing or invalid authentication token
10475
- */
10476
- 401: ErrorResponse;
10477
- /**
10478
- * Forbidden - Authenticated but not authorized for this resource
10479
- */
10480
- 403: ErrorResponse;
10481
- /**
10482
- * Not Found - Resource does not exist
10483
- */
10484
- 404: ErrorResponse;
10485
- /**
10486
- * Too Many Requests - Rate limit exceeded
10487
- */
10488
- 429: ErrorResponse;
10489
- /**
10490
- * Internal Server Error - Unexpected server error
10491
- */
10492
- 500: ErrorResponse;
10493
- /**
10494
- * General Error
10495
- */
10496
- default: Errors;
10497
- };
10498
- type PostStorageSignDownloadError = PostStorageSignDownloadErrors[keyof PostStorageSignDownloadErrors];
10499
- type PostStorageSignDownloadResponses = {
10500
- /**
10501
- * Success
10502
- */
10503
- 201: {
10504
- data?: PresignedUrl;
10505
- included?: Array<unknown>;
10506
- meta?: {
10507
- [key: string]: unknown;
10508
- };
10509
- };
10510
- };
10511
- type PostStorageSignDownloadResponse = PostStorageSignDownloadResponses[keyof PostStorageSignDownloadResponses];
10512
- type DeleteTrainingSessionsByIdData = {
10513
- body?: never;
10514
- headers: {
10515
- /**
10516
- * Application ID for authentication and routing
10517
- */
10518
- "x-application-key": string;
10519
- };
10520
- path: {
10521
- id: string;
10522
- };
10523
- query?: {
10524
- /**
10525
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10526
- */
10527
- include?: string;
10528
- /**
10529
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10530
- */
10531
- fields?: {
10532
- [key: string]: unknown;
10533
- };
10534
- };
10535
- url: "/training_sessions/{id}";
10536
- };
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;
10439
+ data?: TrainingSession;
10636
10440
  included?: Array<unknown>;
10637
10441
  meta?: {
10638
10442
  [key: string]: unknown;
@@ -11775,8 +11579,21 @@ type PostAgentsPredictResponses = {
11775
11579
  };
11776
11580
  };
11777
11581
  type PostAgentsPredictResponse = PostAgentsPredictResponses[keyof PostAgentsPredictResponses];
11778
- type DeleteThreadsByIdData = {
11779
- body?: never;
11582
+ type PostExtractionDocumentsByIdReprocessData = {
11583
+ /**
11584
+ * Request body for the /extraction/documents/:id/reprocess operation on extraction_document resource
11585
+ */
11586
+ body?: {
11587
+ data: {
11588
+ attributes?: {
11589
+ schema_version_id?: string | unknown;
11590
+ };
11591
+ relationships?: {
11592
+ [key: string]: never;
11593
+ };
11594
+ type?: "extraction_document";
11595
+ };
11596
+ };
11780
11597
  headers: {
11781
11598
  /**
11782
11599
  * Application ID for authentication and routing
@@ -11798,9 +11615,9 @@ type DeleteThreadsByIdData = {
11798
11615
  [key: string]: unknown;
11799
11616
  };
11800
11617
  };
11801
- url: "/threads/{id}";
11618
+ url: "/extraction/documents/{id}/reprocess";
11802
11619
  };
11803
- type DeleteThreadsByIdErrors = {
11620
+ type PostExtractionDocumentsByIdReprocessErrors = {
11804
11621
  /**
11805
11622
  * Bad Request - Invalid input data or malformed request
11806
11623
  */
@@ -11830,14 +11647,21 @@ type DeleteThreadsByIdErrors = {
11830
11647
  */
11831
11648
  default: Errors;
11832
11649
  };
11833
- type DeleteThreadsByIdError = DeleteThreadsByIdErrors[keyof DeleteThreadsByIdErrors];
11834
- type DeleteThreadsByIdResponses = {
11650
+ type PostExtractionDocumentsByIdReprocessError = PostExtractionDocumentsByIdReprocessErrors[keyof PostExtractionDocumentsByIdReprocessErrors];
11651
+ type PostExtractionDocumentsByIdReprocessResponses = {
11835
11652
  /**
11836
- * Deleted successfully
11653
+ * Success
11837
11654
  */
11838
- 200: unknown;
11655
+ 201: {
11656
+ data?: ExtractionDocument;
11657
+ included?: Array<ExtractionResult>;
11658
+ meta?: {
11659
+ [key: string]: unknown;
11660
+ };
11661
+ };
11839
11662
  };
11840
- type GetThreadsByIdData = {
11663
+ type PostExtractionDocumentsByIdReprocessResponse = PostExtractionDocumentsByIdReprocessResponses[keyof PostExtractionDocumentsByIdReprocessResponses];
11664
+ type DeleteThreadsByIdData = {
11841
11665
  body?: never;
11842
11666
  headers: {
11843
11667
  /**
@@ -11862,7 +11686,7 @@ type GetThreadsByIdData = {
11862
11686
  };
11863
11687
  url: "/threads/{id}";
11864
11688
  };
11865
- type GetThreadsByIdErrors = {
11689
+ type DeleteThreadsByIdErrors = {
11866
11690
  /**
11867
11691
  * Bad Request - Invalid input data or malformed request
11868
11692
  */
@@ -11892,35 +11716,97 @@ type GetThreadsByIdErrors = {
11892
11716
  */
11893
11717
  default: Errors;
11894
11718
  };
11895
- type GetThreadsByIdError = GetThreadsByIdErrors[keyof GetThreadsByIdErrors];
11896
- type GetThreadsByIdResponses = {
11719
+ type DeleteThreadsByIdError = DeleteThreadsByIdErrors[keyof DeleteThreadsByIdErrors];
11720
+ type DeleteThreadsByIdResponses = {
11897
11721
  /**
11898
- * Success
11722
+ * Deleted successfully
11899
11723
  */
11900
- 200: {
11901
- data?: Thread;
11902
- included?: Array<unknown>;
11903
- meta?: {
11904
- [key: string]: unknown;
11905
- };
11906
- };
11724
+ 200: unknown;
11907
11725
  };
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";
11726
+ type GetThreadsByIdData = {
11727
+ body?: never;
11728
+ headers: {
11729
+ /**
11730
+ * Application ID for authentication and routing
11731
+ */
11732
+ "x-application-key": string;
11733
+ };
11734
+ path: {
11735
+ id: string;
11736
+ };
11737
+ query?: {
11738
+ /**
11739
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
11740
+ */
11741
+ include?: string;
11742
+ /**
11743
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
11744
+ */
11745
+ fields?: {
11746
+ [key: string]: unknown;
11747
+ };
11748
+ };
11749
+ url: "/threads/{id}";
11750
+ };
11751
+ type GetThreadsByIdErrors = {
11752
+ /**
11753
+ * Bad Request - Invalid input data or malformed request
11754
+ */
11755
+ 400: ErrorResponse;
11756
+ /**
11757
+ * Unauthorized - Missing or invalid authentication token
11758
+ */
11759
+ 401: ErrorResponse;
11760
+ /**
11761
+ * Forbidden - Authenticated but not authorized for this resource
11762
+ */
11763
+ 403: ErrorResponse;
11764
+ /**
11765
+ * Not Found - Resource does not exist
11766
+ */
11767
+ 404: ErrorResponse;
11768
+ /**
11769
+ * Too Many Requests - Rate limit exceeded
11770
+ */
11771
+ 429: ErrorResponse;
11772
+ /**
11773
+ * Internal Server Error - Unexpected server error
11774
+ */
11775
+ 500: ErrorResponse;
11776
+ /**
11777
+ * General Error
11778
+ */
11779
+ default: Errors;
11780
+ };
11781
+ type GetThreadsByIdError = GetThreadsByIdErrors[keyof GetThreadsByIdErrors];
11782
+ type GetThreadsByIdResponses = {
11783
+ /**
11784
+ * Success
11785
+ */
11786
+ 200: {
11787
+ data?: Thread;
11788
+ included?: Array<unknown>;
11789
+ meta?: {
11790
+ [key: string]: unknown;
11791
+ };
11792
+ };
11793
+ };
11794
+ type GetThreadsByIdResponse = GetThreadsByIdResponses[keyof GetThreadsByIdResponses];
11795
+ type PatchThreadsByIdData = {
11796
+ /**
11797
+ * Request body for the /threads/:id operation on thread resource
11798
+ */
11799
+ body?: {
11800
+ data: {
11801
+ attributes?: {
11802
+ context_summary?: string | unknown;
11803
+ title?: string | unknown;
11804
+ };
11805
+ id: string;
11806
+ relationships?: {
11807
+ [key: string]: never;
11808
+ };
11809
+ type?: "thread";
11924
11810
  };
11925
11811
  };
11926
11812
  headers: {
@@ -16793,179 +16679,6 @@ type GetLlmAnalyticsByIdResponses = {
16793
16679
  };
16794
16680
  };
16795
16681
  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
16682
  type PatchExtractionDocumentsByIdMarkTrainedData = {
16970
16683
  /**
16971
16684
  * Request body for the /extraction/documents/:id/mark_trained operation on extraction_document resource
@@ -17960,7 +17673,7 @@ type PostUsersAuthConfirmResponses = {
17960
17673
  };
17961
17674
  };
17962
17675
  type PostUsersAuthConfirmResponse = PostUsersAuthConfirmResponses[keyof PostUsersAuthConfirmResponses];
17963
- type GetExtractionSchemasData = {
17676
+ type GetStorageStatsData = {
17964
17677
  body?: never;
17965
17678
  headers: {
17966
17679
  /**
@@ -17980,12 +17693,6 @@ type GetExtractionSchemasData = {
17980
17693
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
17981
17694
  */
17982
17695
  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
17696
  /**
17990
17697
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17991
17698
  */
@@ -17997,9 +17704,9 @@ type GetExtractionSchemasData = {
17997
17704
  [key: string]: unknown;
17998
17705
  };
17999
17706
  };
18000
- url: "/extraction/schemas";
17707
+ url: "/storage/stats";
18001
17708
  };
18002
- type GetExtractionSchemasErrors = {
17709
+ type GetStorageStatsErrors = {
18003
17710
  /**
18004
17711
  * Bad Request - Invalid input data or malformed request
18005
17712
  */
@@ -18029,194 +17736,31 @@ type GetExtractionSchemasErrors = {
18029
17736
  */
18030
17737
  default: Errors;
18031
17738
  };
18032
- type GetExtractionSchemasError = GetExtractionSchemasErrors[keyof GetExtractionSchemasErrors];
18033
- type GetExtractionSchemasResponses = {
17739
+ type GetStorageStatsError = GetStorageStatsErrors[keyof GetStorageStatsErrors];
17740
+ type GetStorageStatsResponses = {
18034
17741
  /**
18035
17742
  * Success
18036
17743
  */
18037
17744
  200: {
18038
17745
  /**
18039
- * An array of resource objects representing a extraction_schema
17746
+ * An array of resource objects representing a storage_stats
18040
17747
  */
18041
- data?: Array<ExtractionSchema>;
18042
- included?: Array<ExtractionSchemaField>;
17748
+ data?: Array<StorageStats>;
17749
+ included?: Array<unknown>;
18043
17750
  meta?: {
18044
17751
  [key: string]: unknown;
18045
17752
  };
18046
17753
  };
18047
17754
  };
18048
- type GetExtractionSchemasResponse = GetExtractionSchemasResponses[keyof GetExtractionSchemasResponses];
18049
- type PostExtractionSchemasData = {
17755
+ type GetStorageStatsResponse = GetStorageStatsResponses[keyof GetStorageStatsResponses];
17756
+ type PostTenantsByIdBuyStorageData = {
18050
17757
  /**
18051
- * Request body for the /extraction/schemas operation on extraction_schema resource
17758
+ * Request body for the /tenants/:id/buy-storage operation on tenant resource
18052
17759
  */
18053
- body: {
17760
+ body?: {
18054
17761
  data: {
18055
17762
  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?: {
18217
- data: {
18218
- attributes?: {
18219
- quantity?: number | unknown;
17763
+ quantity?: number | unknown;
18220
17764
  };
18221
17765
  relationships?: {
18222
17766
  [key: string]: never;
@@ -18755,6 +18299,64 @@ type PostTrainingExamplesBulkResponses = {
18755
18299
  };
18756
18300
  };
18757
18301
  type PostTrainingExamplesBulkResponse = PostTrainingExamplesBulkResponses[keyof PostTrainingExamplesBulkResponses];
18302
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateData = {
18303
+ body?: never;
18304
+ headers: {
18305
+ /**
18306
+ * Application ID for authentication and routing
18307
+ */
18308
+ "x-application-key": string;
18309
+ };
18310
+ path: {
18311
+ version_id: string;
18312
+ /**
18313
+ * Agent ID (automatically mapped from route)
18314
+ */
18315
+ id: string;
18316
+ };
18317
+ query?: never;
18318
+ url: "/agents/{id}/schema_versions/{version_id}/activate";
18319
+ };
18320
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
18321
+ /**
18322
+ * Bad Request - Invalid input data or malformed request
18323
+ */
18324
+ 400: ErrorResponse;
18325
+ /**
18326
+ * Unauthorized - Missing or invalid authentication token
18327
+ */
18328
+ 401: ErrorResponse;
18329
+ /**
18330
+ * Forbidden - Authenticated but not authorized for this resource
18331
+ */
18332
+ 403: ErrorResponse;
18333
+ /**
18334
+ * Not Found - Resource does not exist
18335
+ */
18336
+ 404: ErrorResponse;
18337
+ /**
18338
+ * Too Many Requests - Rate limit exceeded
18339
+ */
18340
+ 429: ErrorResponse;
18341
+ /**
18342
+ * Internal Server Error - Unexpected server error
18343
+ */
18344
+ 500: ErrorResponse;
18345
+ /**
18346
+ * General Error
18347
+ */
18348
+ default: Errors;
18349
+ };
18350
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateError = PostAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateErrors];
18351
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
18352
+ /**
18353
+ * Success
18354
+ */
18355
+ 201: {
18356
+ [key: string]: unknown;
18357
+ };
18358
+ };
18359
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
18758
18360
  type DeleteBucketsByIdData = {
18759
18361
  body?: never;
18760
18362
  headers: {
@@ -19132,234 +18734,18 @@ type PostExtractionDocumentsBeginUploadError = PostExtractionDocumentsBeginUploa
19132
18734
  type PostExtractionDocumentsBeginUploadResponses = {
19133
18735
  /**
19134
18736
  * Success
19135
- */
19136
- 201: {
19137
- data?: ExtractionDocument;
19138
- included?: Array<ExtractionResult>;
19139
- meta?: {
19140
- [key: string]: unknown;
19141
- };
19142
- };
19143
- };
19144
- type PostExtractionDocumentsBeginUploadResponse = PostExtractionDocumentsBeginUploadResponses[keyof PostExtractionDocumentsBeginUploadResponses];
19145
- type DeleteAiGraphEdgesByIdData = {
19146
- body?: never;
19147
- headers: {
19148
- /**
19149
- * Application ID for authentication and routing
19150
- */
19151
- "x-application-key": string;
19152
- };
19153
- path: {
19154
- id: string;
19155
- };
19156
- query?: {
19157
- /**
19158
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19159
- */
19160
- include?: string;
19161
- /**
19162
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19163
- */
19164
- fields?: {
19165
- [key: string]: unknown;
19166
- };
19167
- };
19168
- url: "/ai/graph/edges/{id}";
19169
- };
19170
- type DeleteAiGraphEdgesByIdErrors = {
19171
- /**
19172
- * Bad Request - Invalid input data or malformed request
19173
- */
19174
- 400: ErrorResponse;
19175
- /**
19176
- * Unauthorized - Missing or invalid authentication token
19177
- */
19178
- 401: ErrorResponse;
19179
- /**
19180
- * Forbidden - Authenticated but not authorized for this resource
19181
- */
19182
- 403: ErrorResponse;
19183
- /**
19184
- * Not Found - Resource does not exist
19185
- */
19186
- 404: ErrorResponse;
19187
- /**
19188
- * Too Many Requests - Rate limit exceeded
19189
- */
19190
- 429: ErrorResponse;
19191
- /**
19192
- * Internal Server Error - Unexpected server error
19193
- */
19194
- 500: ErrorResponse;
19195
- /**
19196
- * General Error
19197
- */
19198
- default: Errors;
19199
- };
19200
- type DeleteAiGraphEdgesByIdError = DeleteAiGraphEdgesByIdErrors[keyof DeleteAiGraphEdgesByIdErrors];
19201
- type DeleteAiGraphEdgesByIdResponses = {
19202
- /**
19203
- * Deleted successfully
19204
- */
19205
- 200: unknown;
19206
- };
19207
- type DeleteTenantsByIdData = {
19208
- body?: never;
19209
- headers: {
19210
- /**
19211
- * Application ID for authentication and routing
19212
- */
19213
- "x-application-key": string;
19214
- };
19215
- path: {
19216
- id: string;
19217
- };
19218
- query?: {
19219
- /**
19220
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19221
- */
19222
- include?: string;
19223
- /**
19224
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19225
- */
19226
- fields?: {
19227
- [key: string]: unknown;
19228
- };
19229
- };
19230
- url: "/tenants/{id}";
19231
- };
19232
- type DeleteTenantsByIdErrors = {
19233
- /**
19234
- * Bad Request - Invalid input data or malformed request
19235
- */
19236
- 400: ErrorResponse;
19237
- /**
19238
- * Unauthorized - Missing or invalid authentication token
19239
- */
19240
- 401: ErrorResponse;
19241
- /**
19242
- * Forbidden - Authenticated but not authorized for this resource
19243
- */
19244
- 403: ErrorResponse;
19245
- /**
19246
- * Not Found - Resource does not exist
19247
- */
19248
- 404: ErrorResponse;
19249
- /**
19250
- * Too Many Requests - Rate limit exceeded
19251
- */
19252
- 429: ErrorResponse;
19253
- /**
19254
- * Internal Server Error - Unexpected server error
19255
- */
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";
18737
+ */
18738
+ 201: {
18739
+ data?: ExtractionDocument;
18740
+ included?: Array<ExtractionResult>;
18741
+ meta?: {
18742
+ [key: string]: unknown;
19361
18743
  };
19362
18744
  };
18745
+ };
18746
+ type PostExtractionDocumentsBeginUploadResponse = PostExtractionDocumentsBeginUploadResponses[keyof PostExtractionDocumentsBeginUploadResponses];
18747
+ type DeleteAiGraphEdgesByIdData = {
18748
+ body?: never;
19363
18749
  headers: {
19364
18750
  /**
19365
18751
  * Application ID for authentication and routing
@@ -19381,9 +18767,9 @@ type PatchTenantsByIdData = {
19381
18767
  [key: string]: unknown;
19382
18768
  };
19383
18769
  };
19384
- url: "/tenants/{id}";
18770
+ url: "/ai/graph/edges/{id}";
19385
18771
  };
19386
- type PatchTenantsByIdErrors = {
18772
+ type DeleteAiGraphEdgesByIdErrors = {
19387
18773
  /**
19388
18774
  * Bad Request - Invalid input data or malformed request
19389
18775
  */
@@ -19413,21 +18799,14 @@ type PatchTenantsByIdErrors = {
19413
18799
  */
19414
18800
  default: Errors;
19415
18801
  };
19416
- type PatchTenantsByIdError = PatchTenantsByIdErrors[keyof PatchTenantsByIdErrors];
19417
- type PatchTenantsByIdResponses = {
18802
+ type DeleteAiGraphEdgesByIdError = DeleteAiGraphEdgesByIdErrors[keyof DeleteAiGraphEdgesByIdErrors];
18803
+ type DeleteAiGraphEdgesByIdResponses = {
19418
18804
  /**
19419
- * Success
18805
+ * Deleted successfully
19420
18806
  */
19421
- 200: {
19422
- data?: Tenant;
19423
- included?: Array<Workspace>;
19424
- meta?: {
19425
- [key: string]: unknown;
19426
- };
19427
- };
18807
+ 200: unknown;
19428
18808
  };
19429
- type PatchTenantsByIdResponse = PatchTenantsByIdResponses[keyof PatchTenantsByIdResponses];
19430
- type GetPlansData = {
18809
+ type DeleteTenantsByIdData = {
19431
18810
  body?: never;
19432
18811
  headers: {
19433
18812
  /**
@@ -19435,24 +18814,10 @@ type GetPlansData = {
19435
18814
  */
19436
18815
  "x-application-key": string;
19437
18816
  };
19438
- path?: never;
18817
+ path: {
18818
+ id: string;
18819
+ };
19439
18820
  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
18821
  /**
19457
18822
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19458
18823
  */
@@ -19464,9 +18829,9 @@ type GetPlansData = {
19464
18829
  [key: string]: unknown;
19465
18830
  };
19466
18831
  };
19467
- url: "/plans";
18832
+ url: "/tenants/{id}";
19468
18833
  };
19469
- type GetPlansErrors = {
18834
+ type DeleteTenantsByIdErrors = {
19470
18835
  /**
19471
18836
  * Bad Request - Invalid input data or malformed request
19472
18837
  */
@@ -19496,42 +18861,15 @@ type GetPlansErrors = {
19496
18861
  */
19497
18862
  default: Errors;
19498
18863
  };
19499
- type GetPlansError = GetPlansErrors[keyof GetPlansErrors];
19500
- type GetPlansResponses = {
18864
+ type DeleteTenantsByIdError = DeleteTenantsByIdErrors[keyof DeleteTenantsByIdErrors];
18865
+ type DeleteTenantsByIdResponses = {
19501
18866
  /**
19502
- * Success
18867
+ * Deleted successfully
19503
18868
  */
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
- };
18869
+ 200: unknown;
19514
18870
  };
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
- };
18871
+ type GetTenantsByIdData = {
18872
+ body?: never;
19535
18873
  headers: {
19536
18874
  /**
19537
18875
  * Application ID for authentication and routing
@@ -19553,9 +18891,9 @@ type PatchExtractionSchemasByIdFieldsData = {
19553
18891
  [key: string]: unknown;
19554
18892
  };
19555
18893
  };
19556
- url: "/extraction/schemas/{id}/fields";
18894
+ url: "/tenants/{id}";
19557
18895
  };
19558
- type PatchExtractionSchemasByIdFieldsErrors = {
18896
+ type GetTenantsByIdErrors = {
19559
18897
  /**
19560
18898
  * Bad Request - Invalid input data or malformed request
19561
18899
  */
@@ -19585,22 +18923,45 @@ type PatchExtractionSchemasByIdFieldsErrors = {
19585
18923
  */
19586
18924
  default: Errors;
19587
18925
  };
19588
- type PatchExtractionSchemasByIdFieldsError = PatchExtractionSchemasByIdFieldsErrors[keyof PatchExtractionSchemasByIdFieldsErrors];
19589
- type PatchExtractionSchemasByIdFieldsResponses = {
18926
+ type GetTenantsByIdError = GetTenantsByIdErrors[keyof GetTenantsByIdErrors];
18927
+ type GetTenantsByIdResponses = {
19590
18928
  /**
19591
18929
  * Success
19592
18930
  */
19593
18931
  200: {
19594
- data?: ExtractionSchema;
19595
- included?: Array<ExtractionSchemaField>;
18932
+ data?: Tenant;
18933
+ included?: Array<Workspace>;
19596
18934
  meta?: {
19597
18935
  [key: string]: unknown;
19598
18936
  };
19599
18937
  };
19600
18938
  };
19601
- type PatchExtractionSchemasByIdFieldsResponse = PatchExtractionSchemasByIdFieldsResponses[keyof PatchExtractionSchemasByIdFieldsResponses];
19602
- type GetExtractionSchemasByIdData = {
19603
- body?: never;
18939
+ type GetTenantsByIdResponse = GetTenantsByIdResponses[keyof GetTenantsByIdResponses];
18940
+ type PatchTenantsByIdData = {
18941
+ /**
18942
+ * Request body for the /tenants/:id operation on tenant resource
18943
+ */
18944
+ body?: {
18945
+ data: {
18946
+ attributes?: {
18947
+ badge_url?: string | unknown;
18948
+ kind?: "platform" | "admin" | "tenant" | unknown;
18949
+ logo_url?: string | unknown;
18950
+ name?: string | unknown;
18951
+ parent_id?: string | unknown;
18952
+ slug?: string | unknown;
18953
+ /**
18954
+ * Cost in credits for training on a single document
18955
+ */
18956
+ training_price_credits?: number | unknown;
18957
+ };
18958
+ id: string;
18959
+ relationships?: {
18960
+ [key: string]: never;
18961
+ };
18962
+ type?: "tenant";
18963
+ };
18964
+ };
19604
18965
  headers: {
19605
18966
  /**
19606
18967
  * Application ID for authentication and routing
@@ -19622,9 +18983,9 @@ type GetExtractionSchemasByIdData = {
19622
18983
  [key: string]: unknown;
19623
18984
  };
19624
18985
  };
19625
- url: "/extraction/schemas/{id}";
18986
+ url: "/tenants/{id}";
19626
18987
  };
19627
- type GetExtractionSchemasByIdErrors = {
18988
+ type PatchTenantsByIdErrors = {
19628
18989
  /**
19629
18990
  * Bad Request - Invalid input data or malformed request
19630
18991
  */
@@ -19654,46 +19015,46 @@ type GetExtractionSchemasByIdErrors = {
19654
19015
  */
19655
19016
  default: Errors;
19656
19017
  };
19657
- type GetExtractionSchemasByIdError = GetExtractionSchemasByIdErrors[keyof GetExtractionSchemasByIdErrors];
19658
- type GetExtractionSchemasByIdResponses = {
19018
+ type PatchTenantsByIdError = PatchTenantsByIdErrors[keyof PatchTenantsByIdErrors];
19019
+ type PatchTenantsByIdResponses = {
19659
19020
  /**
19660
19021
  * Success
19661
19022
  */
19662
19023
  200: {
19663
- data?: ExtractionSchema;
19664
- included?: Array<ExtractionSchemaField>;
19024
+ data?: Tenant;
19025
+ included?: Array<Workspace>;
19665
19026
  meta?: {
19666
19027
  [key: string]: unknown;
19667
19028
  };
19668
19029
  };
19669
19030
  };
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
- };
19031
+ type PatchTenantsByIdResponse = PatchTenantsByIdResponses[keyof PatchTenantsByIdResponses];
19032
+ type GetPlansData = {
19033
+ body?: never;
19687
19034
  headers: {
19688
19035
  /**
19689
19036
  * Application ID for authentication and routing
19690
19037
  */
19691
19038
  "x-application-key": string;
19692
19039
  };
19693
- path: {
19694
- id: string;
19695
- };
19040
+ path?: never;
19696
19041
  query?: {
19042
+ /**
19043
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19044
+ */
19045
+ filter?: {
19046
+ [key: string]: unknown;
19047
+ };
19048
+ /**
19049
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19050
+ */
19051
+ sort?: string;
19052
+ /**
19053
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
19054
+ */
19055
+ page?: {
19056
+ [key: string]: unknown;
19057
+ };
19697
19058
  /**
19698
19059
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19699
19060
  */
@@ -19705,9 +19066,9 @@ type PatchExtractionSchemasByIdData = {
19705
19066
  [key: string]: unknown;
19706
19067
  };
19707
19068
  };
19708
- url: "/extraction/schemas/{id}";
19069
+ url: "/plans";
19709
19070
  };
19710
- type PatchExtractionSchemasByIdErrors = {
19071
+ type GetPlansErrors = {
19711
19072
  /**
19712
19073
  * Bad Request - Invalid input data or malformed request
19713
19074
  */
@@ -19737,20 +19098,23 @@ type PatchExtractionSchemasByIdErrors = {
19737
19098
  */
19738
19099
  default: Errors;
19739
19100
  };
19740
- type PatchExtractionSchemasByIdError = PatchExtractionSchemasByIdErrors[keyof PatchExtractionSchemasByIdErrors];
19741
- type PatchExtractionSchemasByIdResponses = {
19101
+ type GetPlansError = GetPlansErrors[keyof GetPlansErrors];
19102
+ type GetPlansResponses = {
19742
19103
  /**
19743
19104
  * Success
19744
19105
  */
19745
19106
  200: {
19746
- data?: ExtractionSchema;
19747
- included?: Array<ExtractionSchemaField>;
19107
+ /**
19108
+ * An array of resource objects representing a plan
19109
+ */
19110
+ data?: Array<Plan>;
19111
+ included?: Array<unknown>;
19748
19112
  meta?: {
19749
19113
  [key: string]: unknown;
19750
19114
  };
19751
19115
  };
19752
19116
  };
19753
- type PatchExtractionSchemasByIdResponse = PatchExtractionSchemasByIdResponses[keyof PatchExtractionSchemasByIdResponses];
19117
+ type GetPlansResponse = GetPlansResponses[keyof GetPlansResponses];
19754
19118
  type PostAgentsByIdTestData = {
19755
19119
  /**
19756
19120
  * Request body for the /agents/:id/test operation on agent resource
@@ -21091,11 +20455,11 @@ type PostExtractionResultsData = {
21091
20455
  [key: string]: unknown;
21092
20456
  }> | unknown;
21093
20457
  processing_time_ms?: number | unknown;
21094
- schema_id: string;
20458
+ schema_id?: string | unknown;
21095
20459
  /**
21096
- * The version of the schema used for this extraction
20460
+ * The version of the schema/agent used for this extraction
21097
20461
  */
21098
- schema_version?: number | unknown;
20462
+ schema_version?: string | unknown;
21099
20463
  status?: "pending" | "completed" | "failed" | unknown;
21100
20464
  used_training_example_ids?: Array<string> | unknown;
21101
20465
  workspace_id: string;
@@ -21315,100 +20679,17 @@ type DeleteAiConversationsByIdResponses = {
21315
20679
  */
21316
20680
  200: unknown;
21317
20681
  };
21318
- type GetAiConversationsByIdData = {
21319
- body?: never;
21320
- headers: {
21321
- /**
21322
- * Application ID for authentication and routing
21323
- */
21324
- "x-application-key": string;
21325
- };
21326
- path: {
21327
- id: string;
21328
- };
21329
- query?: {
21330
- /**
21331
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
21332
- */
21333
- include?: string;
21334
- /**
21335
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
21336
- */
21337
- fields?: {
21338
- [key: string]: unknown;
21339
- };
21340
- };
21341
- url: "/ai/conversations/{id}";
21342
- };
21343
- type GetAiConversationsByIdErrors = {
21344
- /**
21345
- * Bad Request - Invalid input data or malformed request
21346
- */
21347
- 400: ErrorResponse;
21348
- /**
21349
- * Unauthorized - Missing or invalid authentication token
21350
- */
21351
- 401: ErrorResponse;
21352
- /**
21353
- * Forbidden - Authenticated but not authorized for this resource
21354
- */
21355
- 403: ErrorResponse;
21356
- /**
21357
- * Not Found - Resource does not exist
21358
- */
21359
- 404: ErrorResponse;
21360
- /**
21361
- * Too Many Requests - Rate limit exceeded
21362
- */
21363
- 429: ErrorResponse;
21364
- /**
21365
- * Internal Server Error - Unexpected server error
21366
- */
21367
- 500: ErrorResponse;
21368
- /**
21369
- * General Error
21370
- */
21371
- default: Errors;
21372
- };
21373
- type GetAiConversationsByIdError = GetAiConversationsByIdErrors[keyof GetAiConversationsByIdErrors];
21374
- type GetAiConversationsByIdResponses = {
21375
- /**
21376
- * Success
21377
- */
21378
- 200: {
21379
- data?: Conversation;
21380
- included?: Array<unknown>;
21381
- meta?: {
21382
- [key: string]: unknown;
21383
- };
21384
- };
21385
- };
21386
- 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
- };
20682
+ type GetAiConversationsByIdData = {
20683
+ body?: never;
21405
20684
  headers: {
21406
20685
  /**
21407
20686
  * Application ID for authentication and routing
21408
20687
  */
21409
20688
  "x-application-key": string;
21410
20689
  };
21411
- path?: never;
20690
+ path: {
20691
+ id: string;
20692
+ };
21412
20693
  query?: {
21413
20694
  /**
21414
20695
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -21421,9 +20702,9 @@ type PostExtractionSchemasBulkCreateData = {
21421
20702
  [key: string]: unknown;
21422
20703
  };
21423
20704
  };
21424
- url: "/extraction/schemas/bulk_create";
20705
+ url: "/ai/conversations/{id}";
21425
20706
  };
21426
- type PostExtractionSchemasBulkCreateErrors = {
20707
+ type GetAiConversationsByIdErrors = {
21427
20708
  /**
21428
20709
  * Bad Request - Invalid input data or malformed request
21429
20710
  */
@@ -21453,20 +20734,20 @@ type PostExtractionSchemasBulkCreateErrors = {
21453
20734
  */
21454
20735
  default: Errors;
21455
20736
  };
21456
- type PostExtractionSchemasBulkCreateError = PostExtractionSchemasBulkCreateErrors[keyof PostExtractionSchemasBulkCreateErrors];
21457
- type PostExtractionSchemasBulkCreateResponses = {
20737
+ type GetAiConversationsByIdError = GetAiConversationsByIdErrors[keyof GetAiConversationsByIdErrors];
20738
+ type GetAiConversationsByIdResponses = {
21458
20739
  /**
21459
20740
  * Success
21460
20741
  */
21461
- 201: {
21462
- data?: ExtractionSchema;
21463
- included?: Array<ExtractionSchemaField>;
20742
+ 200: {
20743
+ data?: Conversation;
20744
+ included?: Array<unknown>;
21464
20745
  meta?: {
21465
20746
  [key: string]: unknown;
21466
20747
  };
21467
20748
  };
21468
20749
  };
21469
- type PostExtractionSchemasBulkCreateResponse = PostExtractionSchemasBulkCreateResponses[keyof PostExtractionSchemasBulkCreateResponses];
20750
+ type GetAiConversationsByIdResponse = GetAiConversationsByIdResponses[keyof GetAiConversationsByIdResponses];
21470
20751
  type DeleteUserProfilesByIdData = {
21471
20752
  body?: never;
21472
20753
  headers: {
@@ -22472,22 +21753,8 @@ type GetWalletResponses = {
22472
21753
  };
22473
21754
  };
22474
21755
  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
- };
21756
+ type DeleteMessagesByIdData = {
21757
+ body?: never;
22491
21758
  headers: {
22492
21759
  /**
22493
21760
  * Application ID for authentication and routing
@@ -22509,9 +21776,9 @@ type PatchExtractionSchemasByIdActivateData = {
22509
21776
  [key: string]: unknown;
22510
21777
  };
22511
21778
  };
22512
- url: "/extraction/schemas/{id}/activate";
21779
+ url: "/messages/{id}";
22513
21780
  };
22514
- type PatchExtractionSchemasByIdActivateErrors = {
21781
+ type DeleteMessagesByIdErrors = {
22515
21782
  /**
22516
21783
  * Bad Request - Invalid input data or malformed request
22517
21784
  */
@@ -22541,21 +21808,14 @@ type PatchExtractionSchemasByIdActivateErrors = {
22541
21808
  */
22542
21809
  default: Errors;
22543
21810
  };
22544
- type PatchExtractionSchemasByIdActivateError = PatchExtractionSchemasByIdActivateErrors[keyof PatchExtractionSchemasByIdActivateErrors];
22545
- type PatchExtractionSchemasByIdActivateResponses = {
21811
+ type DeleteMessagesByIdError = DeleteMessagesByIdErrors[keyof DeleteMessagesByIdErrors];
21812
+ type DeleteMessagesByIdResponses = {
22546
21813
  /**
22547
- * Success
21814
+ * Deleted successfully
22548
21815
  */
22549
- 200: {
22550
- data?: ExtractionSchema;
22551
- included?: Array<ExtractionSchemaField>;
22552
- meta?: {
22553
- [key: string]: unknown;
22554
- };
22555
- };
21816
+ 200: unknown;
22556
21817
  };
22557
- type PatchExtractionSchemasByIdActivateResponse = PatchExtractionSchemasByIdActivateResponses[keyof PatchExtractionSchemasByIdActivateResponses];
22558
- type DeleteMessagesByIdData = {
21818
+ type GetMessagesByIdData = {
22559
21819
  body?: never;
22560
21820
  headers: {
22561
21821
  /**
@@ -22580,7 +21840,7 @@ type DeleteMessagesByIdData = {
22580
21840
  };
22581
21841
  url: "/messages/{id}";
22582
21842
  };
22583
- type DeleteMessagesByIdErrors = {
21843
+ type GetMessagesByIdErrors = {
22584
21844
  /**
22585
21845
  * Bad Request - Invalid input data or malformed request
22586
21846
  */
@@ -22610,15 +21870,40 @@ type DeleteMessagesByIdErrors = {
22610
21870
  */
22611
21871
  default: Errors;
22612
21872
  };
22613
- type DeleteMessagesByIdError = DeleteMessagesByIdErrors[keyof DeleteMessagesByIdErrors];
22614
- type DeleteMessagesByIdResponses = {
21873
+ type GetMessagesByIdError = GetMessagesByIdErrors[keyof GetMessagesByIdErrors];
21874
+ type GetMessagesByIdResponses = {
22615
21875
  /**
22616
- * Deleted successfully
21876
+ * Success
22617
21877
  */
22618
- 200: unknown;
21878
+ 200: {
21879
+ data?: Message;
21880
+ included?: Array<unknown>;
21881
+ meta?: {
21882
+ [key: string]: unknown;
21883
+ };
21884
+ };
22619
21885
  };
22620
- type GetMessagesByIdData = {
22621
- body?: never;
21886
+ type GetMessagesByIdResponse = GetMessagesByIdResponses[keyof GetMessagesByIdResponses];
21887
+ type PatchMessagesByIdData = {
21888
+ /**
21889
+ * Request body for the /messages/:id operation on message resource
21890
+ */
21891
+ body?: {
21892
+ data: {
21893
+ attributes?: {
21894
+ content?: string | unknown;
21895
+ metadata?: {
21896
+ [key: string]: unknown;
21897
+ } | unknown;
21898
+ role?: "user" | "assistant" | "system" | "tool" | unknown;
21899
+ };
21900
+ id: string;
21901
+ relationships?: {
21902
+ [key: string]: never;
21903
+ };
21904
+ type?: "message";
21905
+ };
21906
+ };
22622
21907
  headers: {
22623
21908
  /**
22624
21909
  * Application ID for authentication and routing
@@ -22642,7 +21927,7 @@ type GetMessagesByIdData = {
22642
21927
  };
22643
21928
  url: "/messages/{id}";
22644
21929
  };
22645
- type GetMessagesByIdErrors = {
21930
+ type PatchMessagesByIdErrors = {
22646
21931
  /**
22647
21932
  * Bad Request - Invalid input data or malformed request
22648
21933
  */
@@ -22672,8 +21957,8 @@ type GetMessagesByIdErrors = {
22672
21957
  */
22673
21958
  default: Errors;
22674
21959
  };
22675
- type GetMessagesByIdError = GetMessagesByIdErrors[keyof GetMessagesByIdErrors];
22676
- type GetMessagesByIdResponses = {
21960
+ type PatchMessagesByIdError = PatchMessagesByIdErrors[keyof PatchMessagesByIdErrors];
21961
+ type PatchMessagesByIdResponses = {
22677
21962
  /**
22678
21963
  * Success
22679
21964
  */
@@ -22685,25 +21970,21 @@ type GetMessagesByIdResponses = {
22685
21970
  };
22686
21971
  };
22687
21972
  };
22688
- type GetMessagesByIdResponse = GetMessagesByIdResponses[keyof GetMessagesByIdResponses];
22689
- type PatchMessagesByIdData = {
21973
+ type PatchMessagesByIdResponse = PatchMessagesByIdResponses[keyof PatchMessagesByIdResponses];
21974
+ type PostAgentsByIdDiscoverSchemaData = {
22690
21975
  /**
22691
- * Request body for the /messages/:id operation on message resource
21976
+ * Request body for the /agents/:id/discover_schema operation on agent resource
22692
21977
  */
22693
21978
  body?: {
22694
21979
  data: {
22695
- attributes?: {
22696
- content?: string | unknown;
22697
- metadata?: {
22698
- [key: string]: unknown;
22699
- } | unknown;
22700
- role?: "user" | "assistant" | "system" | "tool" | unknown;
22701
- };
22702
- id: string;
22703
- relationships?: {
22704
- [key: string]: never;
22705
- };
22706
- type?: "message";
21980
+ /**
21981
+ * Raw content to analyze (alternative to document_id)
21982
+ */
21983
+ content?: string | unknown;
21984
+ /**
21985
+ * ID of document to analyze (will fetch content from document)
21986
+ */
21987
+ document_id?: string | unknown;
22707
21988
  };
22708
21989
  };
22709
21990
  headers: {
@@ -22715,21 +21996,10 @@ type PatchMessagesByIdData = {
22715
21996
  path: {
22716
21997
  id: string;
22717
21998
  };
22718
- query?: {
22719
- /**
22720
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22721
- */
22722
- include?: string;
22723
- /**
22724
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
22725
- */
22726
- fields?: {
22727
- [key: string]: unknown;
22728
- };
22729
- };
22730
- url: "/messages/{id}";
21999
+ query?: never;
22000
+ url: "/agents/{id}/discover_schema";
22731
22001
  };
22732
- type PatchMessagesByIdErrors = {
22002
+ type PostAgentsByIdDiscoverSchemaErrors = {
22733
22003
  /**
22734
22004
  * Bad Request - Invalid input data or malformed request
22735
22005
  */
@@ -22759,20 +22029,16 @@ type PatchMessagesByIdErrors = {
22759
22029
  */
22760
22030
  default: Errors;
22761
22031
  };
22762
- type PatchMessagesByIdError = PatchMessagesByIdErrors[keyof PatchMessagesByIdErrors];
22763
- type PatchMessagesByIdResponses = {
22032
+ type PostAgentsByIdDiscoverSchemaError = PostAgentsByIdDiscoverSchemaErrors[keyof PostAgentsByIdDiscoverSchemaErrors];
22033
+ type PostAgentsByIdDiscoverSchemaResponses = {
22764
22034
  /**
22765
22035
  * Success
22766
22036
  */
22767
- 200: {
22768
- data?: Message;
22769
- included?: Array<unknown>;
22770
- meta?: {
22771
- [key: string]: unknown;
22772
- };
22037
+ 201: {
22038
+ [key: string]: unknown;
22773
22039
  };
22774
22040
  };
22775
- type PatchMessagesByIdResponse = PatchMessagesByIdResponses[keyof PatchMessagesByIdResponses];
22041
+ type PostAgentsByIdDiscoverSchemaResponse = PostAgentsByIdDiscoverSchemaResponses[keyof PostAgentsByIdDiscoverSchemaResponses];
22776
22042
  type GetLlmAnalyticsUsageData = {
22777
22043
  body?: never;
22778
22044
  headers: {
@@ -24603,16 +23869,6 @@ declare const postThreads: <ThrowOnError extends boolean = false>(options: Optio
24603
23869
  * Cancel a processing document
24604
23870
  */
24605
23871
  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
23872
  /**
24617
23873
  * List costs
24618
23874
  *
@@ -25243,6 +24499,18 @@ declare const getUsersMe: <ThrowOnError extends boolean = false>(options: Option
25243
24499
  *
25244
24500
  */
25245
24501
  declare const postUsersAuthRegisterWithOidc: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterWithOidcData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterWithOidcResponses, PostUsersAuthRegisterWithOidcErrors, ThrowOnError, "fields">;
24502
+ /**
24503
+ * Get schema versions
24504
+ *
24505
+ * List all schema versions for this agent
24506
+ */
24507
+ declare const getAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<GetAgentsByIdSchemaVersionsResponses, GetAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
24508
+ /**
24509
+ * Create schema versions
24510
+ *
24511
+ * Create a new schema version for this agent
24512
+ */
24513
+ declare const postAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsResponses, PostAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
25246
24514
  /**
25247
24515
  * Create credit
25248
24516
  *
@@ -25305,36 +24573,6 @@ declare const patchExtractionDocumentsByIdInclude: <ThrowOnError extends boolean
25305
24573
  *
25306
24574
  */
25307
24575
  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
24576
  /**
25339
24577
  * Create sign download
25340
24578
  *
@@ -25501,6 +24739,12 @@ declare const postApplications: <ThrowOnError extends boolean = false>(options:
25501
24739
  * Predicts the best agents for a given input
25502
24740
  */
25503
24741
  declare const postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
24742
+ /**
24743
+ * Create reprocess
24744
+ *
24745
+ * Re-extract document with current or specified schema version
24746
+ */
24747
+ declare const postExtractionDocumentsByIdReprocess: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsByIdReprocessData, ThrowOnError>) => RequestResult<PostExtractionDocumentsByIdReprocessResponses, PostExtractionDocumentsByIdReprocessErrors, ThrowOnError, "fields">;
25504
24748
  /**
25505
24749
  * Delete threads
25506
24750
  *
@@ -26091,26 +25335,6 @@ declare const patchExtractionDocumentsByIdRestore: <ThrowOnError extends boolean
26091
25335
  *
26092
25336
  */
26093
25337
  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
25338
  /**
26115
25339
  * Update mark trained
26116
25340
  *
@@ -26215,26 +25439,6 @@ declare const patchExtractionResultsByIdRegenerate: <ThrowOnError extends boolea
26215
25439
  *
26216
25440
  */
26217
25441
  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
25442
  /**
26239
25443
  * List stats
26240
25444
  *
@@ -26311,6 +25515,12 @@ declare const postUsersAuthRegister: <ThrowOnError extends boolean = false>(opti
26311
25515
  *
26312
25516
  */
26313
25517
  declare const postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
25518
+ /**
25519
+ * Create activate
25520
+ *
25521
+ * Activate a specific schema version
25522
+ */
25523
+ declare const postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
26314
25524
  /**
26315
25525
  * Delete buckets
26316
25526
  *
@@ -26411,36 +25621,6 @@ declare const patchTenantsById: <ThrowOnError extends boolean = false>(options:
26411
25621
  *
26412
25622
  */
26413
25623
  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
25624
  /**
26445
25625
  * Create test
26446
25626
  *
@@ -26633,16 +25813,6 @@ declare const deleteAiConversationsById: <ThrowOnError extends boolean = false>(
26633
25813
  *
26634
25814
  */
26635
25815
  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
25816
  /**
26647
25817
  * Delete user profiles
26648
25818
  *
@@ -26761,16 +25931,6 @@ declare const getNotificationLogs: <ThrowOnError extends boolean = false>(option
26761
25931
  * Reads the wallet for the current tenant
26762
25932
  */
26763
25933
  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
25934
  /**
26775
25935
  * Delete messages
26776
25936
  *
@@ -26801,6 +25961,12 @@ declare const getMessagesById: <ThrowOnError extends boolean = false>(options: O
26801
25961
  *
26802
25962
  */
26803
25963
  declare const patchMessagesById: <ThrowOnError extends boolean = false>(options: Options<PatchMessagesByIdData, ThrowOnError>) => RequestResult<PatchMessagesByIdResponses, PatchMessagesByIdErrors, ThrowOnError, "fields">;
25964
+ /**
25965
+ * Create discover schema
25966
+ *
25967
+ * Analyze document content to discover extractable fields with confidence scores
25968
+ */
25969
+ declare const postAgentsByIdDiscoverSchema: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdDiscoverSchemaData, ThrowOnError>) => RequestResult<PostAgentsByIdDiscoverSchemaResponses, PostAgentsByIdDiscoverSchemaErrors, ThrowOnError, "fields">;
26804
25970
  /**
26805
25971
  * List usage
26806
25972
  *
@@ -27323,7 +26489,6 @@ declare const gptCore: {
27323
26489
  getThreads: <ThrowOnError extends boolean = false>(options: Options<GetThreadsData, ThrowOnError>) => RequestResult<GetThreadsResponses, GetThreadsErrors, ThrowOnError, "fields">;
27324
26490
  postThreads: <ThrowOnError extends boolean = false>(options: Options<PostThreadsData, ThrowOnError>) => RequestResult<PostThreadsResponses, PostThreadsErrors, ThrowOnError, "fields">;
27325
26491
  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
26492
  getLlmAnalyticsCosts: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsCostsData, ThrowOnError>) => RequestResult<GetLlmAnalyticsCostsResponses, GetLlmAnalyticsCostsErrors, ThrowOnError, "fields">;
27328
26493
  getTrainingSessionsAgentsByAgentIdSessions: <ThrowOnError extends boolean = false>(options: Options<GetTrainingSessionsAgentsByAgentIdSessionsData, ThrowOnError>) => RequestResult<GetTrainingSessionsAgentsByAgentIdSessionsResponses, GetTrainingSessionsAgentsByAgentIdSessionsErrors, ThrowOnError, "fields">;
27329
26494
  getAiChunksDocumentByDocumentId: <ThrowOnError extends boolean = false>(options: Options<GetAiChunksDocumentByDocumentIdData, ThrowOnError>) => RequestResult<GetAiChunksDocumentByDocumentIdResponses, GetAiChunksDocumentByDocumentIdErrors, ThrowOnError, "fields">;
@@ -27393,6 +26558,8 @@ declare const gptCore: {
27393
26558
  postWebhookConfigsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostWebhookConfigsByIdTestData, ThrowOnError>) => RequestResult<PostWebhookConfigsByIdTestResponses, PostWebhookConfigsByIdTestErrors, ThrowOnError, "fields">;
27394
26559
  getUsersMe: <ThrowOnError extends boolean = false>(options: Options<GetUsersMeData, ThrowOnError>) => RequestResult<GetUsersMeResponses, GetUsersMeErrors, ThrowOnError, "fields">;
27395
26560
  postUsersAuthRegisterWithOidc: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterWithOidcData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterWithOidcResponses, PostUsersAuthRegisterWithOidcErrors, ThrowOnError, "fields">;
26561
+ getAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<GetAgentsByIdSchemaVersionsResponses, GetAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
26562
+ postAgentsByIdSchemaVersions: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsResponses, PostAgentsByIdSchemaVersionsErrors, ThrowOnError, "fields">;
27396
26563
  postTenantsByIdCredit: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdCreditData, ThrowOnError>) => RequestResult<PostTenantsByIdCreditResponses, PostTenantsByIdCreditErrors, ThrowOnError, "fields">;
27397
26564
  getTransactionsById: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsByIdData, ThrowOnError>) => RequestResult<GetTransactionsByIdResponses, GetTransactionsByIdErrors, ThrowOnError, "fields">;
27398
26565
  getTenantMemberships: <ThrowOnError extends boolean = false>(options: Options<GetTenantMembershipsData, ThrowOnError>) => RequestResult<GetTenantMembershipsResponses, GetTenantMembershipsErrors, ThrowOnError, "fields">;
@@ -27400,9 +26567,6 @@ declare const gptCore: {
27400
26567
  postTrainingExamplesBulkDelete: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkDeleteData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkDeleteResponses, PostTrainingExamplesBulkDeleteErrors, ThrowOnError, "fields">;
27401
26568
  patchExtractionDocumentsByIdInclude: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdIncludeData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdIncludeResponses, PatchExtractionDocumentsByIdIncludeErrors, ThrowOnError, "fields">;
27402
26569
  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
26570
  postStorageSignDownload: <ThrowOnError extends boolean = false>(options: Options<PostStorageSignDownloadData, ThrowOnError>) => RequestResult<PostStorageSignDownloadResponses, PostStorageSignDownloadErrors, ThrowOnError, "fields">;
27407
26571
  deleteTrainingSessionsById: <ThrowOnError extends boolean = false>(options: Options<DeleteTrainingSessionsByIdData, ThrowOnError>) => RequestResult<DeleteTrainingSessionsByIdResponses, DeleteTrainingSessionsByIdErrors, ThrowOnError, "fields">;
27408
26572
  getTrainingSessionsById: <ThrowOnError extends boolean = false>(options: Options<GetTrainingSessionsByIdData, ThrowOnError>) => RequestResult<GetTrainingSessionsByIdResponses, GetTrainingSessionsByIdErrors, ThrowOnError, "fields">;
@@ -27420,6 +26584,7 @@ declare const gptCore: {
27420
26584
  getApplications: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsData, ThrowOnError>) => RequestResult<GetApplicationsResponses, GetApplicationsErrors, ThrowOnError, "fields">;
27421
26585
  postApplications: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsData, ThrowOnError>) => RequestResult<PostApplicationsResponses, PostApplicationsErrors, ThrowOnError, "fields">;
27422
26586
  postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
26587
+ postExtractionDocumentsByIdReprocess: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsByIdReprocessData, ThrowOnError>) => RequestResult<PostExtractionDocumentsByIdReprocessResponses, PostExtractionDocumentsByIdReprocessErrors, ThrowOnError, "fields">;
27423
26588
  deleteThreadsById: <ThrowOnError extends boolean = false>(options: Options<DeleteThreadsByIdData, ThrowOnError>) => RequestResult<DeleteThreadsByIdResponses, DeleteThreadsByIdErrors, ThrowOnError, "fields">;
27424
26589
  getThreadsById: <ThrowOnError extends boolean = false>(options: Options<GetThreadsByIdData, ThrowOnError>) => RequestResult<GetThreadsByIdResponses, GetThreadsByIdErrors, ThrowOnError, "fields">;
27425
26590
  patchThreadsById: <ThrowOnError extends boolean = false>(options: Options<PatchThreadsByIdData, ThrowOnError>) => RequestResult<PatchThreadsByIdResponses, PatchThreadsByIdErrors, ThrowOnError, "fields">;
@@ -27483,8 +26648,6 @@ declare const gptCore: {
27483
26648
  getPlansSlugBySlug: <ThrowOnError extends boolean = false>(options: Options<GetPlansSlugBySlugData, ThrowOnError>) => RequestResult<GetPlansSlugBySlugResponses, GetPlansSlugBySlugErrors, ThrowOnError, "fields">;
27484
26649
  patchExtractionDocumentsByIdRestore: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdRestoreData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdRestoreResponses, PatchExtractionDocumentsByIdRestoreErrors, ThrowOnError, "fields">;
27485
26650
  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
26651
  patchExtractionDocumentsByIdMarkTrained: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdMarkTrainedData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdMarkTrainedResponses, PatchExtractionDocumentsByIdMarkTrainedErrors, ThrowOnError, "fields">;
27489
26652
  patchApplicationsByIdGrantCredits: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByIdGrantCreditsData, ThrowOnError>) => RequestResult<PatchApplicationsByIdGrantCreditsResponses, PatchApplicationsByIdGrantCreditsErrors, ThrowOnError, "fields">;
27490
26653
  getSearchStatus: <ThrowOnError extends boolean = false>(options: Options<GetSearchStatusData, ThrowOnError>) => RequestResult<GetSearchStatusResponses, GetSearchStatusErrors, ThrowOnError, "fields">;
@@ -27497,8 +26660,6 @@ declare const gptCore: {
27497
26660
  postSearchReindex: <ThrowOnError extends boolean = false>(options: Options<PostSearchReindexData, ThrowOnError>) => RequestResult<PostSearchReindexResponses, PostSearchReindexErrors, ThrowOnError, "fields">;
27498
26661
  patchExtractionResultsByIdRegenerate: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdRegenerateData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdRegenerateResponses, PatchExtractionResultsByIdRegenerateErrors, ThrowOnError, "fields">;
27499
26662
  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
26663
  getStorageStats: <ThrowOnError extends boolean = false>(options: Options<GetStorageStatsData, ThrowOnError>) => RequestResult<GetStorageStatsResponses, GetStorageStatsErrors, ThrowOnError, "fields">;
27503
26664
  postTenantsByIdBuyStorage: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdBuyStorageData, ThrowOnError>) => RequestResult<PostTenantsByIdBuyStorageResponses, PostTenantsByIdBuyStorageErrors, ThrowOnError, "fields">;
27504
26665
  getWorkspaceMemberships: <ThrowOnError extends boolean = false>(options: Options<GetWorkspaceMembershipsData, ThrowOnError>) => RequestResult<GetWorkspaceMembershipsResponses, GetWorkspaceMembershipsErrors, ThrowOnError, "fields">;
@@ -27507,6 +26668,7 @@ declare const gptCore: {
27507
26668
  postUsersAuthMagicLinkRequest: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthMagicLinkRequestData, ThrowOnError>) => RequestResult<PostUsersAuthMagicLinkRequestResponses, PostUsersAuthMagicLinkRequestErrors, ThrowOnError, "fields">;
27508
26669
  postUsersAuthRegister: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterResponses, PostUsersAuthRegisterErrors, ThrowOnError, "fields">;
27509
26670
  postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
26671
+ postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
27510
26672
  deleteBucketsById: <ThrowOnError extends boolean = false>(options: Options<DeleteBucketsByIdData, ThrowOnError>) => RequestResult<DeleteBucketsByIdResponses, DeleteBucketsByIdErrors, ThrowOnError, "fields">;
27511
26673
  getBucketsById: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdData, ThrowOnError>) => RequestResult<GetBucketsByIdResponses, GetBucketsByIdErrors, ThrowOnError, "fields">;
27512
26674
  patchBucketsById: <ThrowOnError extends boolean = false>(options: Options<PatchBucketsByIdData, ThrowOnError>) => RequestResult<PatchBucketsByIdResponses, PatchBucketsByIdErrors, ThrowOnError, "fields">;
@@ -27517,9 +26679,6 @@ declare const gptCore: {
27517
26679
  getTenantsById: <ThrowOnError extends boolean = false>(options: Options<GetTenantsByIdData, ThrowOnError>) => RequestResult<GetTenantsByIdResponses, GetTenantsByIdErrors, ThrowOnError, "fields">;
27518
26680
  patchTenantsById: <ThrowOnError extends boolean = false>(options: Options<PatchTenantsByIdData, ThrowOnError>) => RequestResult<PatchTenantsByIdResponses, PatchTenantsByIdErrors, ThrowOnError, "fields">;
27519
26681
  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
26682
  postAgentsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdTestData, ThrowOnError>) => RequestResult<PostAgentsByIdTestResponses, PostAgentsByIdTestErrors, ThrowOnError, "fields">;
27524
26683
  getExtractionDocuments: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsData, ThrowOnError>) => RequestResult<GetExtractionDocumentsResponses, GetExtractionDocumentsErrors, ThrowOnError, "fields">;
27525
26684
  deleteTenantMembershipsByTenantIdByUserId: <ThrowOnError extends boolean = false>(options: Options<DeleteTenantMembershipsByTenantIdByUserIdData, ThrowOnError>) => RequestResult<DeleteTenantMembershipsByTenantIdByUserIdResponses, DeleteTenantMembershipsByTenantIdByUserIdErrors, ThrowOnError, "fields">;
@@ -27540,7 +26699,6 @@ declare const gptCore: {
27540
26699
  postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
27541
26700
  deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
27542
26701
  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
26702
  deleteUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<DeleteUserProfilesByIdData, ThrowOnError>) => RequestResult<DeleteUserProfilesByIdResponses, DeleteUserProfilesByIdErrors, ThrowOnError, "fields">;
27545
26703
  getUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<GetUserProfilesByIdData, ThrowOnError>) => RequestResult<GetUserProfilesByIdResponses, GetUserProfilesByIdErrors, ThrowOnError, "fields">;
27546
26704
  patchUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdResponses, PatchUserProfilesByIdErrors, ThrowOnError, "fields">;
@@ -27554,10 +26712,10 @@ declare const gptCore: {
27554
26712
  getApplicationsBySlugBySlug: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsBySlugBySlugData, ThrowOnError>) => RequestResult<GetApplicationsBySlugBySlugResponses, GetApplicationsBySlugBySlugErrors, ThrowOnError, "fields">;
27555
26713
  getNotificationLogs: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsData, ThrowOnError>) => RequestResult<GetNotificationLogsResponses, GetNotificationLogsErrors, ThrowOnError, "fields">;
27556
26714
  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
26715
  deleteMessagesById: <ThrowOnError extends boolean = false>(options: Options<DeleteMessagesByIdData, ThrowOnError>) => RequestResult<DeleteMessagesByIdResponses, DeleteMessagesByIdErrors, ThrowOnError, "fields">;
27559
26716
  getMessagesById: <ThrowOnError extends boolean = false>(options: Options<GetMessagesByIdData, ThrowOnError>) => RequestResult<GetMessagesByIdResponses, GetMessagesByIdErrors, ThrowOnError, "fields">;
27560
26717
  patchMessagesById: <ThrowOnError extends boolean = false>(options: Options<PatchMessagesByIdData, ThrowOnError>) => RequestResult<PatchMessagesByIdResponses, PatchMessagesByIdErrors, ThrowOnError, "fields">;
26718
+ postAgentsByIdDiscoverSchema: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdDiscoverSchemaData, ThrowOnError>) => RequestResult<PostAgentsByIdDiscoverSchemaResponses, PostAgentsByIdDiscoverSchemaErrors, ThrowOnError, "fields">;
27561
26719
  getLlmAnalyticsUsage: <ThrowOnError extends boolean = false>(options: Options<GetLlmAnalyticsUsageData, ThrowOnError>) => RequestResult<GetLlmAnalyticsUsageResponses, GetLlmAnalyticsUsageErrors, ThrowOnError, "fields">;
27562
26720
  getSearchStats: <ThrowOnError extends boolean = false>(options: Options<GetSearchStatsData, ThrowOnError>) => RequestResult<GetSearchStatsResponses, GetSearchStatsErrors, ThrowOnError, "fields">;
27563
26721
  deleteNotificationPreferencesById: <ThrowOnError extends boolean = false>(options: Options<DeleteNotificationPreferencesByIdData, ThrowOnError>) => RequestResult<DeleteNotificationPreferencesByIdResponses, DeleteNotificationPreferencesByIdErrors, ThrowOnError, "fields">;
@@ -27578,4 +26736,4 @@ declare const gptCore: {
27578
26736
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
27579
26737
  };
27580
26738
 
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 };
26739
+ 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 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 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, 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 };