@gpt-core/admin 0.7.63 → 0.7.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.mts +656 -1278
  2. package/dist/index.d.ts +656 -1278
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -392,43 +392,6 @@ type IsvRevenue = {
392
392
  };
393
393
  type: string;
394
394
  };
395
- /**
396
- * A "Resource object" representing a extraction_schema
397
- */
398
- type ExtractionSchema = {
399
- /**
400
- * An attributes object for a extraction_schema
401
- */
402
- attributes?: {
403
- /**
404
- * Field included by default.
405
- */
406
- is_active: boolean;
407
- /**
408
- * Field included by default.
409
- */
410
- version: number;
411
- };
412
- id: string;
413
- /**
414
- * A relationships object for a extraction_schema
415
- */
416
- relationships?: {
417
- fields?: {
418
- /**
419
- * Relationship data for fields
420
- */
421
- data?: Array<{
422
- id: string;
423
- meta?: {
424
- [key: string]: unknown;
425
- };
426
- type: string;
427
- }>;
428
- };
429
- };
430
- type: string;
431
- };
432
395
  /**
433
396
  * A "Resource object" representing a user_profile
434
397
  */
@@ -675,6 +638,15 @@ type NotificationMethod = {
675
638
  };
676
639
  type: string;
677
640
  };
641
+ type AgentVersionFieldsInputCreateType = {
642
+ ai_hints?: string | unknown;
643
+ description?: string | unknown;
644
+ label?: string | unknown;
645
+ name: string;
646
+ order?: number | unknown;
647
+ required?: boolean | unknown;
648
+ type?: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "address" | unknown;
649
+ };
678
650
  /**
679
651
  * A "Resource object" representing a account
680
652
  */
@@ -1454,10 +1426,11 @@ type ExtractionResult = {
1454
1426
  * Field included by default.
1455
1427
  */
1456
1428
  processing_time_ms?: number | null | unknown;
1429
+ schema_id?: string | null | unknown;
1457
1430
  /**
1458
- * The version of the schema used for this extraction. Field included by default.
1431
+ * The version of the schema/agent used for this extraction. Field included by default.
1459
1432
  */
1460
- schema_version?: number | null | unknown;
1433
+ schema_version?: string | null | unknown;
1461
1434
  /**
1462
1435
  * Field included by default.
1463
1436
  */
@@ -1609,10 +1582,46 @@ type AgentVersion = {
1609
1582
  * Field included by default.
1610
1583
  */
1611
1584
  created_at: unknown;
1585
+ /**
1586
+ * Field included by default.
1587
+ */
1588
+ fields?: Array<{
1589
+ /**
1590
+ * Field included by default.
1591
+ */
1592
+ ai_hints?: string | null | unknown;
1593
+ /**
1594
+ * Field included by default.
1595
+ */
1596
+ description?: string | null | unknown;
1597
+ /**
1598
+ * Field included by default.
1599
+ */
1600
+ label?: string | null | unknown;
1601
+ /**
1602
+ * Field included by default.
1603
+ */
1604
+ name: string;
1605
+ /**
1606
+ * Field included by default.
1607
+ */
1608
+ order: number;
1609
+ /**
1610
+ * Field included by default.
1611
+ */
1612
+ required: boolean;
1613
+ /**
1614
+ * Field included by default.
1615
+ */
1616
+ type: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "address";
1617
+ }> | null | unknown;
1612
1618
  /**
1613
1619
  * Field included by default.
1614
1620
  */
1615
1621
  is_active: boolean;
1622
+ json_schema?: {
1623
+ [key: string]: unknown;
1624
+ } | null | unknown;
1616
1625
  /**
1617
1626
  * Field included by default.
1618
1627
  */
@@ -2437,52 +2446,6 @@ type AuditLog = {
2437
2446
  };
2438
2447
  type: string;
2439
2448
  };
2440
- /**
2441
- * A "Resource object" representing a extraction_schema_field
2442
- */
2443
- type ExtractionSchemaField = {
2444
- /**
2445
- * An attributes object for a extraction_schema_field
2446
- */
2447
- attributes?: {
2448
- /**
2449
- * Field included by default.
2450
- */
2451
- extraction_hint?: string | null | unknown;
2452
- /**
2453
- * Field included by default.
2454
- */
2455
- group?: string | null | unknown;
2456
- /**
2457
- * Field included by default.
2458
- */
2459
- label?: string | null | unknown;
2460
- /**
2461
- * Field included by default.
2462
- */
2463
- name: string;
2464
- /**
2465
- * Field included by default.
2466
- */
2467
- order?: number | null | unknown;
2468
- /**
2469
- * Field included by default.
2470
- */
2471
- required: boolean;
2472
- /**
2473
- * Field included by default.
2474
- */
2475
- type: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "timestamp" | "alphanumeric_code" | "address";
2476
- };
2477
- id: string;
2478
- /**
2479
- * A relationships object for a extraction_schema_field
2480
- */
2481
- relationships?: {
2482
- [key: string]: never;
2483
- };
2484
- type: string;
2485
- };
2486
2449
  /**
2487
2450
  * A "Resource object" representing a payment
2488
2451
  */
@@ -2652,6 +2615,52 @@ type AiConfig = {
2652
2615
  };
2653
2616
  type: string;
2654
2617
  };
2618
+ /**
2619
+ * A "Resource object" representing a schema_discovery
2620
+ */
2621
+ type SchemaDiscovery = {
2622
+ /**
2623
+ * An attributes object for a schema_discovery
2624
+ */
2625
+ attributes?: {
2626
+ /**
2627
+ * Field included by default.
2628
+ */
2629
+ created_at: unknown;
2630
+ /**
2631
+ * Field included by default.
2632
+ */
2633
+ discovered_fields?: Array<{
2634
+ [key: string]: unknown;
2635
+ }> | null | unknown;
2636
+ /**
2637
+ * Field included by default.
2638
+ */
2639
+ document_assessment?: {
2640
+ [key: string]: unknown;
2641
+ } | null | unknown;
2642
+ /**
2643
+ * Field included by default.
2644
+ */
2645
+ error?: string | null | unknown;
2646
+ /**
2647
+ * Field included by default.
2648
+ */
2649
+ status: "pending" | "processing" | "completed" | "failed";
2650
+ /**
2651
+ * Field included by default.
2652
+ */
2653
+ updated_at: unknown;
2654
+ };
2655
+ id: string;
2656
+ /**
2657
+ * A relationships object for a schema_discovery
2658
+ */
2659
+ relationships?: {
2660
+ [key: string]: never;
2661
+ };
2662
+ type: string;
2663
+ };
2655
2664
  type ErrorResponse = {
2656
2665
  errors: Array<{
2657
2666
  /**
@@ -3416,9 +3425,9 @@ type ExtractionDocument = {
3416
3425
  */
3417
3426
  completed_at?: unknown;
3418
3427
  /**
3419
- * The version of the extraction schema used to process this document. Field included by default.
3428
+ * The version of the agent/schema used to process this document. Field included by default.
3420
3429
  */
3421
- schema_version?: number | null | unknown;
3430
+ schema_version?: string | null | unknown;
3422
3431
  presigned_view_url?: string | null | unknown;
3423
3432
  /**
3424
3433
  * Field included by default.
@@ -4683,89 +4692,6 @@ type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses = {
4683
4692
  };
4684
4693
  };
4685
4694
  type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse = GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses[keyof GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses];
4686
- type PatchAdminExtractionSchemasByIdActivateData = {
4687
- /**
4688
- * Request body for the /extraction/schemas/:id/activate operation on extraction_schema resource
4689
- */
4690
- body?: {
4691
- data: {
4692
- attributes?: {
4693
- [key: string]: never;
4694
- };
4695
- id: string;
4696
- relationships?: {
4697
- [key: string]: never;
4698
- };
4699
- type?: "extraction_schema";
4700
- };
4701
- };
4702
- headers: {
4703
- /**
4704
- * Application ID for authentication and routing
4705
- */
4706
- "x-application-key": string;
4707
- };
4708
- path: {
4709
- id: string;
4710
- };
4711
- query?: {
4712
- /**
4713
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
4714
- */
4715
- include?: string;
4716
- /**
4717
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
4718
- */
4719
- fields?: {
4720
- [key: string]: unknown;
4721
- };
4722
- };
4723
- url: "/admin/extraction/schemas/{id}/activate";
4724
- };
4725
- type PatchAdminExtractionSchemasByIdActivateErrors = {
4726
- /**
4727
- * Bad Request - Invalid input data or malformed request
4728
- */
4729
- 400: ErrorResponse;
4730
- /**
4731
- * Unauthorized - Missing or invalid authentication token
4732
- */
4733
- 401: ErrorResponse;
4734
- /**
4735
- * Forbidden - Authenticated but not authorized for this resource
4736
- */
4737
- 403: ErrorResponse;
4738
- /**
4739
- * Not Found - Resource does not exist
4740
- */
4741
- 404: ErrorResponse;
4742
- /**
4743
- * Too Many Requests - Rate limit exceeded
4744
- */
4745
- 429: ErrorResponse;
4746
- /**
4747
- * Internal Server Error - Unexpected server error
4748
- */
4749
- 500: ErrorResponse;
4750
- /**
4751
- * General Error
4752
- */
4753
- default: Errors;
4754
- };
4755
- type PatchAdminExtractionSchemasByIdActivateError = PatchAdminExtractionSchemasByIdActivateErrors[keyof PatchAdminExtractionSchemasByIdActivateErrors];
4756
- type PatchAdminExtractionSchemasByIdActivateResponses = {
4757
- /**
4758
- * Success
4759
- */
4760
- 200: {
4761
- data?: ExtractionSchema;
4762
- included?: Array<ExtractionSchemaField>;
4763
- meta?: {
4764
- [key: string]: unknown;
4765
- };
4766
- };
4767
- };
4768
- type PatchAdminExtractionSchemasByIdActivateResponse = PatchAdminExtractionSchemasByIdActivateResponses[keyof PatchAdminExtractionSchemasByIdActivateResponses];
4769
4695
  type PatchAdminAccountsByIdCreditData = {
4770
4696
  /**
4771
4697
  * Request body for the /accounts/:id/credit operation on account resource
@@ -4776,6 +4702,7 @@ type PatchAdminAccountsByIdCreditData = {
4776
4702
  amount: number;
4777
4703
  description?: string | unknown;
4778
4704
  operation?: "topup" | "subscription" | "refund" | "adjustment" | unknown;
4705
+ source_account_id?: string | unknown;
4779
4706
  };
4780
4707
  id: string;
4781
4708
  relationships?: {
@@ -5577,22 +5504,8 @@ type PatchAdminIsvSettlementsByIdResponses = {
5577
5504
  };
5578
5505
  };
5579
5506
  type PatchAdminIsvSettlementsByIdResponse = PatchAdminIsvSettlementsByIdResponses[keyof PatchAdminIsvSettlementsByIdResponses];
5580
- type PatchAdminExtractionDocumentsByIdCancelData = {
5581
- /**
5582
- * Request body for the /extraction/documents/:id/cancel operation on extraction_document resource
5583
- */
5584
- body?: {
5585
- data: {
5586
- attributes?: {
5587
- [key: string]: never;
5588
- };
5589
- id: string;
5590
- relationships?: {
5591
- [key: string]: never;
5592
- };
5593
- type?: "extraction_document";
5594
- };
5595
- };
5507
+ type GetAdminSchemaDiscoveriesByIdData = {
5508
+ body?: never;
5596
5509
  headers: {
5597
5510
  /**
5598
5511
  * Application ID for authentication and routing
@@ -5614,9 +5527,9 @@ type PatchAdminExtractionDocumentsByIdCancelData = {
5614
5527
  [key: string]: unknown;
5615
5528
  };
5616
5529
  };
5617
- url: "/admin/extraction/documents/{id}/cancel";
5530
+ url: "/admin/schema_discoveries/{id}";
5618
5531
  };
5619
- type PatchAdminExtractionDocumentsByIdCancelErrors = {
5532
+ type GetAdminSchemaDiscoveriesByIdErrors = {
5620
5533
  /**
5621
5534
  * Bad Request - Invalid input data or malformed request
5622
5535
  */
@@ -5646,32 +5559,115 @@ type PatchAdminExtractionDocumentsByIdCancelErrors = {
5646
5559
  */
5647
5560
  default: Errors;
5648
5561
  };
5649
- type PatchAdminExtractionDocumentsByIdCancelError = PatchAdminExtractionDocumentsByIdCancelErrors[keyof PatchAdminExtractionDocumentsByIdCancelErrors];
5650
- type PatchAdminExtractionDocumentsByIdCancelResponses = {
5562
+ type GetAdminSchemaDiscoveriesByIdError = GetAdminSchemaDiscoveriesByIdErrors[keyof GetAdminSchemaDiscoveriesByIdErrors];
5563
+ type GetAdminSchemaDiscoveriesByIdResponses = {
5651
5564
  /**
5652
5565
  * Success
5653
5566
  */
5654
5567
  200: {
5655
- data?: ExtractionDocument;
5656
- included?: Array<ExtractionResult>;
5568
+ data?: SchemaDiscovery;
5569
+ included?: Array<unknown>;
5657
5570
  meta?: {
5658
5571
  [key: string]: unknown;
5659
5572
  };
5660
5573
  };
5661
5574
  };
5662
- type PatchAdminExtractionDocumentsByIdCancelResponse = PatchAdminExtractionDocumentsByIdCancelResponses[keyof PatchAdminExtractionDocumentsByIdCancelResponses];
5663
- type GetAdminSearchStatusData = {
5664
- body?: never;
5575
+ type GetAdminSchemaDiscoveriesByIdResponse = GetAdminSchemaDiscoveriesByIdResponses[keyof GetAdminSchemaDiscoveriesByIdResponses];
5576
+ type PatchAdminExtractionDocumentsByIdCancelData = {
5577
+ /**
5578
+ * Request body for the /extraction/documents/:id/cancel operation on extraction_document resource
5579
+ */
5580
+ body?: {
5581
+ data: {
5582
+ attributes?: {
5583
+ [key: string]: never;
5584
+ };
5585
+ id: string;
5586
+ relationships?: {
5587
+ [key: string]: never;
5588
+ };
5589
+ type?: "extraction_document";
5590
+ };
5591
+ };
5665
5592
  headers: {
5666
5593
  /**
5667
5594
  * Application ID for authentication and routing
5668
5595
  */
5669
5596
  "x-application-key": string;
5670
5597
  };
5671
- path?: never;
5598
+ path: {
5599
+ id: string;
5600
+ };
5672
5601
  query?: {
5673
5602
  /**
5674
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
5603
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
5604
+ */
5605
+ include?: string;
5606
+ /**
5607
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
5608
+ */
5609
+ fields?: {
5610
+ [key: string]: unknown;
5611
+ };
5612
+ };
5613
+ url: "/admin/extraction/documents/{id}/cancel";
5614
+ };
5615
+ type PatchAdminExtractionDocumentsByIdCancelErrors = {
5616
+ /**
5617
+ * Bad Request - Invalid input data or malformed request
5618
+ */
5619
+ 400: ErrorResponse;
5620
+ /**
5621
+ * Unauthorized - Missing or invalid authentication token
5622
+ */
5623
+ 401: ErrorResponse;
5624
+ /**
5625
+ * Forbidden - Authenticated but not authorized for this resource
5626
+ */
5627
+ 403: ErrorResponse;
5628
+ /**
5629
+ * Not Found - Resource does not exist
5630
+ */
5631
+ 404: ErrorResponse;
5632
+ /**
5633
+ * Too Many Requests - Rate limit exceeded
5634
+ */
5635
+ 429: ErrorResponse;
5636
+ /**
5637
+ * Internal Server Error - Unexpected server error
5638
+ */
5639
+ 500: ErrorResponse;
5640
+ /**
5641
+ * General Error
5642
+ */
5643
+ default: Errors;
5644
+ };
5645
+ type PatchAdminExtractionDocumentsByIdCancelError = PatchAdminExtractionDocumentsByIdCancelErrors[keyof PatchAdminExtractionDocumentsByIdCancelErrors];
5646
+ type PatchAdminExtractionDocumentsByIdCancelResponses = {
5647
+ /**
5648
+ * Success
5649
+ */
5650
+ 200: {
5651
+ data?: ExtractionDocument;
5652
+ included?: Array<ExtractionResult>;
5653
+ meta?: {
5654
+ [key: string]: unknown;
5655
+ };
5656
+ };
5657
+ };
5658
+ type PatchAdminExtractionDocumentsByIdCancelResponse = PatchAdminExtractionDocumentsByIdCancelResponses[keyof PatchAdminExtractionDocumentsByIdCancelResponses];
5659
+ type GetAdminSearchStatusData = {
5660
+ body?: never;
5661
+ headers: {
5662
+ /**
5663
+ * Application ID for authentication and routing
5664
+ */
5665
+ "x-application-key": string;
5666
+ };
5667
+ path?: never;
5668
+ query?: {
5669
+ /**
5670
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
5675
5671
  */
5676
5672
  filter?: {
5677
5673
  [key: string]: unknown;
@@ -7278,6 +7274,88 @@ type PostAdminExtractionBatchesResponses = {
7278
7274
  };
7279
7275
  };
7280
7276
  type PostAdminExtractionBatchesResponse = PostAdminExtractionBatchesResponses[keyof PostAdminExtractionBatchesResponses];
7277
+ type PostAdminExtractionDocumentsByIdReprocessData = {
7278
+ /**
7279
+ * Request body for the /extraction/documents/:id/reprocess operation on extraction_document resource
7280
+ */
7281
+ body?: {
7282
+ data: {
7283
+ attributes?: {
7284
+ schema_version_id?: string | unknown;
7285
+ };
7286
+ relationships?: {
7287
+ [key: string]: never;
7288
+ };
7289
+ type?: "extraction_document";
7290
+ };
7291
+ };
7292
+ headers: {
7293
+ /**
7294
+ * Application ID for authentication and routing
7295
+ */
7296
+ "x-application-key": string;
7297
+ };
7298
+ path: {
7299
+ id: string;
7300
+ };
7301
+ query?: {
7302
+ /**
7303
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
7304
+ */
7305
+ include?: string;
7306
+ /**
7307
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
7308
+ */
7309
+ fields?: {
7310
+ [key: string]: unknown;
7311
+ };
7312
+ };
7313
+ url: "/admin/extraction/documents/{id}/reprocess";
7314
+ };
7315
+ type PostAdminExtractionDocumentsByIdReprocessErrors = {
7316
+ /**
7317
+ * Bad Request - Invalid input data or malformed request
7318
+ */
7319
+ 400: ErrorResponse;
7320
+ /**
7321
+ * Unauthorized - Missing or invalid authentication token
7322
+ */
7323
+ 401: ErrorResponse;
7324
+ /**
7325
+ * Forbidden - Authenticated but not authorized for this resource
7326
+ */
7327
+ 403: ErrorResponse;
7328
+ /**
7329
+ * Not Found - Resource does not exist
7330
+ */
7331
+ 404: ErrorResponse;
7332
+ /**
7333
+ * Too Many Requests - Rate limit exceeded
7334
+ */
7335
+ 429: ErrorResponse;
7336
+ /**
7337
+ * Internal Server Error - Unexpected server error
7338
+ */
7339
+ 500: ErrorResponse;
7340
+ /**
7341
+ * General Error
7342
+ */
7343
+ default: Errors;
7344
+ };
7345
+ type PostAdminExtractionDocumentsByIdReprocessError = PostAdminExtractionDocumentsByIdReprocessErrors[keyof PostAdminExtractionDocumentsByIdReprocessErrors];
7346
+ type PostAdminExtractionDocumentsByIdReprocessResponses = {
7347
+ /**
7348
+ * Success
7349
+ */
7350
+ 201: {
7351
+ data?: ExtractionDocument;
7352
+ included?: Array<ExtractionResult>;
7353
+ meta?: {
7354
+ [key: string]: unknown;
7355
+ };
7356
+ };
7357
+ };
7358
+ type PostAdminExtractionDocumentsByIdReprocessResponse = PostAdminExtractionDocumentsByIdReprocessResponses[keyof PostAdminExtractionDocumentsByIdReprocessResponses];
7281
7359
  type GetAdminWorkspaceMembershipsData = {
7282
7360
  body?: never;
7283
7361
  headers: {
@@ -9221,6 +9299,64 @@ type PostAdminUsersAuthConfirmResponses = {
9221
9299
  };
9222
9300
  };
9223
9301
  type PostAdminUsersAuthConfirmResponse = PostAdminUsersAuthConfirmResponses[keyof PostAdminUsersAuthConfirmResponses];
9302
+ type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateData = {
9303
+ body?: never;
9304
+ headers: {
9305
+ /**
9306
+ * Application ID for authentication and routing
9307
+ */
9308
+ "x-application-key": string;
9309
+ };
9310
+ path: {
9311
+ version_id: string;
9312
+ /**
9313
+ * Agent ID (automatically mapped from route)
9314
+ */
9315
+ id: string;
9316
+ };
9317
+ query?: never;
9318
+ url: "/admin/agents/{id}/schema_versions/{version_id}/activate";
9319
+ };
9320
+ type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
9321
+ /**
9322
+ * Bad Request - Invalid input data or malformed request
9323
+ */
9324
+ 400: ErrorResponse;
9325
+ /**
9326
+ * Unauthorized - Missing or invalid authentication token
9327
+ */
9328
+ 401: ErrorResponse;
9329
+ /**
9330
+ * Forbidden - Authenticated but not authorized for this resource
9331
+ */
9332
+ 403: ErrorResponse;
9333
+ /**
9334
+ * Not Found - Resource does not exist
9335
+ */
9336
+ 404: ErrorResponse;
9337
+ /**
9338
+ * Too Many Requests - Rate limit exceeded
9339
+ */
9340
+ 429: ErrorResponse;
9341
+ /**
9342
+ * Internal Server Error - Unexpected server error
9343
+ */
9344
+ 500: ErrorResponse;
9345
+ /**
9346
+ * General Error
9347
+ */
9348
+ default: Errors;
9349
+ };
9350
+ type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateError = PostAdminAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAdminAgentsByIdSchemaVersionsByVersionIdActivateErrors];
9351
+ type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
9352
+ /**
9353
+ * Success
9354
+ */
9355
+ 201: {
9356
+ [key: string]: unknown;
9357
+ };
9358
+ };
9359
+ type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponses];
9224
9360
  type PostAdminAgentsByIdPublishVersionData = {
9225
9361
  /**
9226
9362
  * Request body for the /agents/:id/publish_version operation on agent resource
@@ -9297,7 +9433,7 @@ type PostAdminAgentsByIdPublishVersionResponses = {
9297
9433
  */
9298
9434
  201: {
9299
9435
  data?: Agent;
9300
- included?: Array<unknown>;
9436
+ included?: Array<AgentVersion>;
9301
9437
  meta?: {
9302
9438
  [key: string]: unknown;
9303
9439
  };
@@ -13497,8 +13633,21 @@ type GetAdminUsersByIdResponses = {
13497
13633
  };
13498
13634
  };
13499
13635
  type GetAdminUsersByIdResponse = GetAdminUsersByIdResponses[keyof GetAdminUsersByIdResponses];
13500
- type GetAdminExtractionSchemaFieldsData = {
13501
- body?: never;
13636
+ type PostAdminDocumentsBulkDeleteData = {
13637
+ /**
13638
+ * Request body for the /documents/bulk_delete operation on operation_success resource
13639
+ */
13640
+ body: {
13641
+ data: {
13642
+ attributes?: {
13643
+ ids: Array<string>;
13644
+ };
13645
+ relationships?: {
13646
+ [key: string]: never;
13647
+ };
13648
+ type?: "operation_success";
13649
+ };
13650
+ };
13502
13651
  headers: {
13503
13652
  /**
13504
13653
  * Application ID for authentication and routing
@@ -13507,22 +13656,6 @@ type GetAdminExtractionSchemaFieldsData = {
13507
13656
  };
13508
13657
  path?: never;
13509
13658
  query?: {
13510
- /**
13511
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
13512
- */
13513
- filter?: {
13514
- [key: string]: unknown;
13515
- };
13516
- /**
13517
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
13518
- */
13519
- sort?: string;
13520
- /**
13521
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
13522
- */
13523
- page?: {
13524
- [key: string]: unknown;
13525
- };
13526
13659
  /**
13527
13660
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13528
13661
  */
@@ -13534,9 +13667,9 @@ type GetAdminExtractionSchemaFieldsData = {
13534
13667
  [key: string]: unknown;
13535
13668
  };
13536
13669
  };
13537
- url: "/admin/extraction/schema-fields";
13670
+ url: "/admin/documents/bulk_delete";
13538
13671
  };
13539
- type GetAdminExtractionSchemaFieldsErrors = {
13672
+ type PostAdminDocumentsBulkDeleteErrors = {
13540
13673
  /**
13541
13674
  * Bad Request - Invalid input data or malformed request
13542
13675
  */
@@ -13566,43 +13699,33 @@ type GetAdminExtractionSchemaFieldsErrors = {
13566
13699
  */
13567
13700
  default: Errors;
13568
13701
  };
13569
- type GetAdminExtractionSchemaFieldsError = GetAdminExtractionSchemaFieldsErrors[keyof GetAdminExtractionSchemaFieldsErrors];
13570
- type GetAdminExtractionSchemaFieldsResponses = {
13702
+ type PostAdminDocumentsBulkDeleteError = PostAdminDocumentsBulkDeleteErrors[keyof PostAdminDocumentsBulkDeleteErrors];
13703
+ type PostAdminDocumentsBulkDeleteResponses = {
13571
13704
  /**
13572
13705
  * Success
13573
13706
  */
13574
- 200: {
13575
- /**
13576
- * An array of resource objects representing a extraction_schema_field
13577
- */
13578
- data?: Array<ExtractionSchemaField>;
13707
+ 201: {
13708
+ data?: OperationSuccess;
13579
13709
  included?: Array<unknown>;
13580
13710
  meta?: {
13581
13711
  [key: string]: unknown;
13582
13712
  };
13583
13713
  };
13584
13714
  };
13585
- type GetAdminExtractionSchemaFieldsResponse = GetAdminExtractionSchemaFieldsResponses[keyof GetAdminExtractionSchemaFieldsResponses];
13586
- type PostAdminExtractionSchemaFieldsData = {
13715
+ type PostAdminDocumentsBulkDeleteResponse = PostAdminDocumentsBulkDeleteResponses[keyof PostAdminDocumentsBulkDeleteResponses];
13716
+ type PostAdminTenantsByIdRemoveStorageData = {
13587
13717
  /**
13588
- * Request body for the /extraction/schema-fields operation on extraction_schema_field resource
13718
+ * Request body for the /tenants/:id/remove-storage operation on tenant resource
13589
13719
  */
13590
- body: {
13720
+ body?: {
13591
13721
  data: {
13592
13722
  attributes?: {
13593
- extraction_hint?: string | unknown;
13594
- group?: string | unknown;
13595
- label?: string | unknown;
13596
- name: string;
13597
- order?: number | unknown;
13598
- required?: boolean | unknown;
13599
- schema_id: string;
13600
- type: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "timestamp" | "alphanumeric_code" | "address";
13723
+ quantity?: number | unknown;
13601
13724
  };
13602
13725
  relationships?: {
13603
13726
  [key: string]: never;
13604
13727
  };
13605
- type?: "extraction_schema_field";
13728
+ type?: "tenant";
13606
13729
  };
13607
13730
  };
13608
13731
  headers: {
@@ -13611,7 +13734,9 @@ type PostAdminExtractionSchemaFieldsData = {
13611
13734
  */
13612
13735
  "x-application-key": string;
13613
13736
  };
13614
- path?: never;
13737
+ path: {
13738
+ id: string;
13739
+ };
13615
13740
  query?: {
13616
13741
  /**
13617
13742
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -13624,9 +13749,9 @@ type PostAdminExtractionSchemaFieldsData = {
13624
13749
  [key: string]: unknown;
13625
13750
  };
13626
13751
  };
13627
- url: "/admin/extraction/schema-fields";
13752
+ url: "/admin/tenants/{id}/remove-storage";
13628
13753
  };
13629
- type PostAdminExtractionSchemaFieldsErrors = {
13754
+ type PostAdminTenantsByIdRemoveStorageErrors = {
13630
13755
  /**
13631
13756
  * Bad Request - Invalid input data or malformed request
13632
13757
  */
@@ -13656,268 +13781,20 @@ type PostAdminExtractionSchemaFieldsErrors = {
13656
13781
  */
13657
13782
  default: Errors;
13658
13783
  };
13659
- type PostAdminExtractionSchemaFieldsError = PostAdminExtractionSchemaFieldsErrors[keyof PostAdminExtractionSchemaFieldsErrors];
13660
- type PostAdminExtractionSchemaFieldsResponses = {
13784
+ type PostAdminTenantsByIdRemoveStorageError = PostAdminTenantsByIdRemoveStorageErrors[keyof PostAdminTenantsByIdRemoveStorageErrors];
13785
+ type PostAdminTenantsByIdRemoveStorageResponses = {
13661
13786
  /**
13662
13787
  * Success
13663
13788
  */
13664
13789
  201: {
13665
- data?: ExtractionSchemaField;
13666
- included?: Array<unknown>;
13667
- meta?: {
13668
- [key: string]: unknown;
13669
- };
13670
- };
13671
- };
13672
- type PostAdminExtractionSchemaFieldsResponse = PostAdminExtractionSchemaFieldsResponses[keyof PostAdminExtractionSchemaFieldsResponses];
13673
- type PostAdminDocumentsBulkDeleteData = {
13674
- /**
13675
- * Request body for the /documents/bulk_delete operation on operation_success resource
13676
- */
13677
- body: {
13678
- data: {
13679
- attributes?: {
13680
- ids: Array<string>;
13681
- };
13682
- relationships?: {
13683
- [key: string]: never;
13684
- };
13685
- type?: "operation_success";
13686
- };
13687
- };
13688
- headers: {
13689
- /**
13690
- * Application ID for authentication and routing
13691
- */
13692
- "x-application-key": string;
13693
- };
13694
- path?: never;
13695
- query?: {
13696
- /**
13697
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13698
- */
13699
- include?: string;
13700
- /**
13701
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13702
- */
13703
- fields?: {
13704
- [key: string]: unknown;
13705
- };
13706
- };
13707
- url: "/admin/documents/bulk_delete";
13708
- };
13709
- type PostAdminDocumentsBulkDeleteErrors = {
13710
- /**
13711
- * Bad Request - Invalid input data or malformed request
13712
- */
13713
- 400: ErrorResponse;
13714
- /**
13715
- * Unauthorized - Missing or invalid authentication token
13716
- */
13717
- 401: ErrorResponse;
13718
- /**
13719
- * Forbidden - Authenticated but not authorized for this resource
13720
- */
13721
- 403: ErrorResponse;
13722
- /**
13723
- * Not Found - Resource does not exist
13724
- */
13725
- 404: ErrorResponse;
13726
- /**
13727
- * Too Many Requests - Rate limit exceeded
13728
- */
13729
- 429: ErrorResponse;
13730
- /**
13731
- * Internal Server Error - Unexpected server error
13732
- */
13733
- 500: ErrorResponse;
13734
- /**
13735
- * General Error
13736
- */
13737
- default: Errors;
13738
- };
13739
- type PostAdminDocumentsBulkDeleteError = PostAdminDocumentsBulkDeleteErrors[keyof PostAdminDocumentsBulkDeleteErrors];
13740
- type PostAdminDocumentsBulkDeleteResponses = {
13741
- /**
13742
- * Success
13743
- */
13744
- 201: {
13745
- data?: OperationSuccess;
13746
- included?: Array<unknown>;
13747
- meta?: {
13748
- [key: string]: unknown;
13749
- };
13750
- };
13751
- };
13752
- type PostAdminDocumentsBulkDeleteResponse = PostAdminDocumentsBulkDeleteResponses[keyof PostAdminDocumentsBulkDeleteResponses];
13753
- type PostAdminTenantsByIdRemoveStorageData = {
13754
- /**
13755
- * Request body for the /tenants/:id/remove-storage operation on tenant resource
13756
- */
13757
- body?: {
13758
- data: {
13759
- attributes?: {
13760
- quantity?: number | unknown;
13761
- };
13762
- relationships?: {
13763
- [key: string]: never;
13764
- };
13765
- type?: "tenant";
13766
- };
13767
- };
13768
- headers: {
13769
- /**
13770
- * Application ID for authentication and routing
13771
- */
13772
- "x-application-key": string;
13773
- };
13774
- path: {
13775
- id: string;
13776
- };
13777
- query?: {
13778
- /**
13779
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13780
- */
13781
- include?: string;
13782
- /**
13783
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13784
- */
13785
- fields?: {
13786
- [key: string]: unknown;
13787
- };
13788
- };
13789
- url: "/admin/tenants/{id}/remove-storage";
13790
- };
13791
- type PostAdminTenantsByIdRemoveStorageErrors = {
13792
- /**
13793
- * Bad Request - Invalid input data or malformed request
13794
- */
13795
- 400: ErrorResponse;
13796
- /**
13797
- * Unauthorized - Missing or invalid authentication token
13798
- */
13799
- 401: ErrorResponse;
13800
- /**
13801
- * Forbidden - Authenticated but not authorized for this resource
13802
- */
13803
- 403: ErrorResponse;
13804
- /**
13805
- * Not Found - Resource does not exist
13806
- */
13807
- 404: ErrorResponse;
13808
- /**
13809
- * Too Many Requests - Rate limit exceeded
13810
- */
13811
- 429: ErrorResponse;
13812
- /**
13813
- * Internal Server Error - Unexpected server error
13814
- */
13815
- 500: ErrorResponse;
13816
- /**
13817
- * General Error
13818
- */
13819
- default: Errors;
13820
- };
13821
- type PostAdminTenantsByIdRemoveStorageError = PostAdminTenantsByIdRemoveStorageErrors[keyof PostAdminTenantsByIdRemoveStorageErrors];
13822
- type PostAdminTenantsByIdRemoveStorageResponses = {
13823
- /**
13824
- * Success
13825
- */
13826
- 201: {
13827
- data?: Tenant;
13828
- included?: Array<Workspace>;
13790
+ data?: Tenant;
13791
+ included?: Array<Workspace>;
13829
13792
  meta?: {
13830
13793
  [key: string]: unknown;
13831
13794
  };
13832
13795
  };
13833
13796
  };
13834
13797
  type PostAdminTenantsByIdRemoveStorageResponse = PostAdminTenantsByIdRemoveStorageResponses[keyof PostAdminTenantsByIdRemoveStorageResponses];
13835
- type PatchAdminExtractionSchemasByIdFieldsData = {
13836
- /**
13837
- * Request body for the /extraction/schemas/:id/fields operation on extraction_schema resource
13838
- */
13839
- body?: {
13840
- data: {
13841
- attributes?: {
13842
- fields?: Array<{
13843
- [key: string]: unknown;
13844
- }> | unknown;
13845
- is_active?: boolean | unknown;
13846
- };
13847
- id: string;
13848
- relationships?: {
13849
- [key: string]: never;
13850
- };
13851
- type?: "extraction_schema";
13852
- };
13853
- };
13854
- headers: {
13855
- /**
13856
- * Application ID for authentication and routing
13857
- */
13858
- "x-application-key": string;
13859
- };
13860
- path: {
13861
- id: string;
13862
- };
13863
- query?: {
13864
- /**
13865
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13866
- */
13867
- include?: string;
13868
- /**
13869
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13870
- */
13871
- fields?: {
13872
- [key: string]: unknown;
13873
- };
13874
- };
13875
- url: "/admin/extraction/schemas/{id}/fields";
13876
- };
13877
- type PatchAdminExtractionSchemasByIdFieldsErrors = {
13878
- /**
13879
- * Bad Request - Invalid input data or malformed request
13880
- */
13881
- 400: ErrorResponse;
13882
- /**
13883
- * Unauthorized - Missing or invalid authentication token
13884
- */
13885
- 401: ErrorResponse;
13886
- /**
13887
- * Forbidden - Authenticated but not authorized for this resource
13888
- */
13889
- 403: ErrorResponse;
13890
- /**
13891
- * Not Found - Resource does not exist
13892
- */
13893
- 404: ErrorResponse;
13894
- /**
13895
- * Too Many Requests - Rate limit exceeded
13896
- */
13897
- 429: ErrorResponse;
13898
- /**
13899
- * Internal Server Error - Unexpected server error
13900
- */
13901
- 500: ErrorResponse;
13902
- /**
13903
- * General Error
13904
- */
13905
- default: Errors;
13906
- };
13907
- type PatchAdminExtractionSchemasByIdFieldsError = PatchAdminExtractionSchemasByIdFieldsErrors[keyof PatchAdminExtractionSchemasByIdFieldsErrors];
13908
- type PatchAdminExtractionSchemasByIdFieldsResponses = {
13909
- /**
13910
- * Success
13911
- */
13912
- 200: {
13913
- data?: ExtractionSchema;
13914
- included?: Array<ExtractionSchemaField>;
13915
- meta?: {
13916
- [key: string]: unknown;
13917
- };
13918
- };
13919
- };
13920
- type PatchAdminExtractionSchemasByIdFieldsResponse = PatchAdminExtractionSchemasByIdFieldsResponses[keyof PatchAdminExtractionSchemasByIdFieldsResponses];
13921
13798
  type GetAdminPricingRulesByIdData = {
13922
13799
  body?: never;
13923
13800
  headers: {
@@ -14785,191 +14662,31 @@ type GetAdminLedgerByIdErrors = {
14785
14662
  */
14786
14663
  default: Errors;
14787
14664
  };
14788
- type GetAdminLedgerByIdError = GetAdminLedgerByIdErrors[keyof GetAdminLedgerByIdErrors];
14789
- type GetAdminLedgerByIdResponses = {
14790
- /**
14791
- * Success
14792
- */
14793
- 200: {
14794
- data?: Ledger;
14795
- included?: Array<unknown>;
14796
- meta?: {
14797
- [key: string]: unknown;
14798
- };
14799
- };
14800
- };
14801
- type GetAdminLedgerByIdResponse = GetAdminLedgerByIdResponses[keyof GetAdminLedgerByIdResponses];
14802
- type DeleteAdminAiGraphEdgesByIdData = {
14803
- body?: never;
14804
- headers: {
14805
- /**
14806
- * Application ID for authentication and routing
14807
- */
14808
- "x-application-key": string;
14809
- };
14810
- path: {
14811
- id: string;
14812
- };
14813
- query?: {
14814
- /**
14815
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14816
- */
14817
- include?: string;
14818
- /**
14819
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14820
- */
14821
- fields?: {
14822
- [key: string]: unknown;
14823
- };
14824
- };
14825
- url: "/admin/ai/graph/edges/{id}";
14826
- };
14827
- type DeleteAdminAiGraphEdgesByIdErrors = {
14828
- /**
14829
- * Bad Request - Invalid input data or malformed request
14830
- */
14831
- 400: ErrorResponse;
14832
- /**
14833
- * Unauthorized - Missing or invalid authentication token
14834
- */
14835
- 401: ErrorResponse;
14836
- /**
14837
- * Forbidden - Authenticated but not authorized for this resource
14838
- */
14839
- 403: ErrorResponse;
14840
- /**
14841
- * Not Found - Resource does not exist
14842
- */
14843
- 404: ErrorResponse;
14844
- /**
14845
- * Too Many Requests - Rate limit exceeded
14846
- */
14847
- 429: ErrorResponse;
14848
- /**
14849
- * Internal Server Error - Unexpected server error
14850
- */
14851
- 500: ErrorResponse;
14852
- /**
14853
- * General Error
14854
- */
14855
- default: Errors;
14856
- };
14857
- type DeleteAdminAiGraphEdgesByIdError = DeleteAdminAiGraphEdgesByIdErrors[keyof DeleteAdminAiGraphEdgesByIdErrors];
14858
- type DeleteAdminAiGraphEdgesByIdResponses = {
14859
- /**
14860
- * Deleted successfully
14861
- */
14862
- 200: unknown;
14863
- };
14864
- type PatchAdminApiKeysByIdAllocateData = {
14865
- /**
14866
- * Request body for the /api_keys/:id/allocate operation on api_key resource
14867
- */
14868
- body: {
14869
- data: {
14870
- attributes?: {
14871
- amount: number;
14872
- description?: string | unknown;
14873
- };
14874
- id: string;
14875
- relationships?: {
14876
- [key: string]: never;
14877
- };
14878
- type?: "api_key";
14879
- };
14880
- };
14881
- headers: {
14882
- /**
14883
- * Application ID for authentication and routing
14884
- */
14885
- "x-application-key": string;
14886
- };
14887
- path: {
14888
- id: string;
14889
- };
14890
- query?: {
14891
- /**
14892
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14893
- */
14894
- include?: string;
14895
- /**
14896
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14897
- */
14898
- fields?: {
14899
- [key: string]: unknown;
14900
- };
14901
- };
14902
- url: "/admin/api_keys/{id}/allocate";
14903
- };
14904
- type PatchAdminApiKeysByIdAllocateErrors = {
14905
- /**
14906
- * Bad Request - Invalid input data or malformed request
14907
- */
14908
- 400: ErrorResponse;
14909
- /**
14910
- * Unauthorized - Missing or invalid authentication token
14911
- */
14912
- 401: ErrorResponse;
14913
- /**
14914
- * Forbidden - Authenticated but not authorized for this resource
14915
- */
14916
- 403: ErrorResponse;
14917
- /**
14918
- * Not Found - Resource does not exist
14919
- */
14920
- 404: ErrorResponse;
14921
- /**
14922
- * Too Many Requests - Rate limit exceeded
14923
- */
14924
- 429: ErrorResponse;
14925
- /**
14926
- * Internal Server Error - Unexpected server error
14927
- */
14928
- 500: ErrorResponse;
14929
- /**
14930
- * General Error
14931
- */
14932
- default: Errors;
14933
- };
14934
- type PatchAdminApiKeysByIdAllocateError = PatchAdminApiKeysByIdAllocateErrors[keyof PatchAdminApiKeysByIdAllocateErrors];
14935
- type PatchAdminApiKeysByIdAllocateResponses = {
14936
- /**
14937
- * Success
14938
- */
14939
- 200: {
14940
- data?: ApiKey;
14941
- included?: Array<unknown>;
14942
- meta?: {
14943
- [key: string]: unknown;
14944
- };
14945
- };
14946
- };
14947
- type PatchAdminApiKeysByIdAllocateResponse = PatchAdminApiKeysByIdAllocateResponses[keyof PatchAdminApiKeysByIdAllocateResponses];
14948
- type PostAdminStorageSignUploadData = {
14949
- /**
14950
- * Request body for the /storage/sign_upload operation on presigned_url resource
14951
- */
14952
- body: {
14953
- data: {
14954
- attributes?: {
14955
- bucket_id: string;
14956
- content_type?: string | unknown;
14957
- filename: string;
14958
- size_bytes: number;
14959
- };
14960
- relationships?: {
14961
- [key: string]: never;
14962
- };
14963
- type?: "presigned_url";
14665
+ type GetAdminLedgerByIdError = GetAdminLedgerByIdErrors[keyof GetAdminLedgerByIdErrors];
14666
+ type GetAdminLedgerByIdResponses = {
14667
+ /**
14668
+ * Success
14669
+ */
14670
+ 200: {
14671
+ data?: Ledger;
14672
+ included?: Array<unknown>;
14673
+ meta?: {
14674
+ [key: string]: unknown;
14964
14675
  };
14965
14676
  };
14677
+ };
14678
+ type GetAdminLedgerByIdResponse = GetAdminLedgerByIdResponses[keyof GetAdminLedgerByIdResponses];
14679
+ type DeleteAdminAiGraphEdgesByIdData = {
14680
+ body?: never;
14966
14681
  headers: {
14967
14682
  /**
14968
14683
  * Application ID for authentication and routing
14969
14684
  */
14970
14685
  "x-application-key": string;
14971
14686
  };
14972
- path?: never;
14687
+ path: {
14688
+ id: string;
14689
+ };
14973
14690
  query?: {
14974
14691
  /**
14975
14692
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -14982,9 +14699,9 @@ type PostAdminStorageSignUploadData = {
14982
14699
  [key: string]: unknown;
14983
14700
  };
14984
14701
  };
14985
- url: "/admin/storage/sign_upload";
14702
+ url: "/admin/ai/graph/edges/{id}";
14986
14703
  };
14987
- type PostAdminStorageSignUploadErrors = {
14704
+ type DeleteAdminAiGraphEdgesByIdErrors = {
14988
14705
  /**
14989
14706
  * Bad Request - Invalid input data or malformed request
14990
14707
  */
@@ -15014,46 +14731,40 @@ type PostAdminStorageSignUploadErrors = {
15014
14731
  */
15015
14732
  default: Errors;
15016
14733
  };
15017
- type PostAdminStorageSignUploadError = PostAdminStorageSignUploadErrors[keyof PostAdminStorageSignUploadErrors];
15018
- type PostAdminStorageSignUploadResponses = {
14734
+ type DeleteAdminAiGraphEdgesByIdError = DeleteAdminAiGraphEdgesByIdErrors[keyof DeleteAdminAiGraphEdgesByIdErrors];
14735
+ type DeleteAdminAiGraphEdgesByIdResponses = {
15019
14736
  /**
15020
- * Success
14737
+ * Deleted successfully
15021
14738
  */
15022
- 201: {
15023
- data?: PresignedUrl;
15024
- included?: Array<unknown>;
15025
- meta?: {
15026
- [key: string]: unknown;
14739
+ 200: unknown;
14740
+ };
14741
+ type PatchAdminApiKeysByIdAllocateData = {
14742
+ /**
14743
+ * Request body for the /api_keys/:id/allocate operation on api_key resource
14744
+ */
14745
+ body: {
14746
+ data: {
14747
+ attributes?: {
14748
+ amount: number;
14749
+ description?: string | unknown;
14750
+ };
14751
+ id: string;
14752
+ relationships?: {
14753
+ [key: string]: never;
14754
+ };
14755
+ type?: "api_key";
15027
14756
  };
15028
14757
  };
15029
- };
15030
- type PostAdminStorageSignUploadResponse = PostAdminStorageSignUploadResponses[keyof PostAdminStorageSignUploadResponses];
15031
- type GetAdminExtractionSchemasData = {
15032
- body?: never;
15033
14758
  headers: {
15034
14759
  /**
15035
14760
  * Application ID for authentication and routing
15036
14761
  */
15037
14762
  "x-application-key": string;
15038
14763
  };
15039
- path?: never;
14764
+ path: {
14765
+ id: string;
14766
+ };
15040
14767
  query?: {
15041
- /**
15042
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
15043
- */
15044
- filter?: {
15045
- [key: string]: unknown;
15046
- };
15047
- /**
15048
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
15049
- */
15050
- sort?: string;
15051
- /**
15052
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
15053
- */
15054
- page?: {
15055
- [key: string]: unknown;
15056
- };
15057
14768
  /**
15058
14769
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
15059
14770
  */
@@ -15065,9 +14776,9 @@ type GetAdminExtractionSchemasData = {
15065
14776
  [key: string]: unknown;
15066
14777
  };
15067
14778
  };
15068
- url: "/admin/extraction/schemas";
14779
+ url: "/admin/api_keys/{id}/allocate";
15069
14780
  };
15070
- type GetAdminExtractionSchemasErrors = {
14781
+ type PatchAdminApiKeysByIdAllocateErrors = {
15071
14782
  /**
15072
14783
  * Bad Request - Invalid input data or malformed request
15073
14784
  */
@@ -15097,39 +14808,36 @@ type GetAdminExtractionSchemasErrors = {
15097
14808
  */
15098
14809
  default: Errors;
15099
14810
  };
15100
- type GetAdminExtractionSchemasError = GetAdminExtractionSchemasErrors[keyof GetAdminExtractionSchemasErrors];
15101
- type GetAdminExtractionSchemasResponses = {
14811
+ type PatchAdminApiKeysByIdAllocateError = PatchAdminApiKeysByIdAllocateErrors[keyof PatchAdminApiKeysByIdAllocateErrors];
14812
+ type PatchAdminApiKeysByIdAllocateResponses = {
15102
14813
  /**
15103
14814
  * Success
15104
14815
  */
15105
14816
  200: {
15106
- /**
15107
- * An array of resource objects representing a extraction_schema
15108
- */
15109
- data?: Array<ExtractionSchema>;
15110
- included?: Array<ExtractionSchemaField>;
14817
+ data?: ApiKey;
14818
+ included?: Array<unknown>;
15111
14819
  meta?: {
15112
14820
  [key: string]: unknown;
15113
14821
  };
15114
14822
  };
15115
14823
  };
15116
- type GetAdminExtractionSchemasResponse = GetAdminExtractionSchemasResponses[keyof GetAdminExtractionSchemasResponses];
15117
- type PostAdminExtractionSchemasData = {
14824
+ type PatchAdminApiKeysByIdAllocateResponse = PatchAdminApiKeysByIdAllocateResponses[keyof PatchAdminApiKeysByIdAllocateResponses];
14825
+ type PostAdminStorageSignUploadData = {
15118
14826
  /**
15119
- * Request body for the /extraction/schemas operation on extraction_schema resource
14827
+ * Request body for the /storage/sign_upload operation on presigned_url resource
15120
14828
  */
15121
14829
  body: {
15122
14830
  data: {
15123
14831
  attributes?: {
15124
- fields?: Array<{
15125
- [key: string]: unknown;
15126
- }> | unknown;
15127
- workspace_id: string;
14832
+ bucket_id: string;
14833
+ content_type?: string | unknown;
14834
+ filename: string;
14835
+ size_bytes: number;
15128
14836
  };
15129
14837
  relationships?: {
15130
14838
  [key: string]: never;
15131
14839
  };
15132
- type?: "extraction_schema";
14840
+ type?: "presigned_url";
15133
14841
  };
15134
14842
  };
15135
14843
  headers: {
@@ -15151,9 +14859,9 @@ type PostAdminExtractionSchemasData = {
15151
14859
  [key: string]: unknown;
15152
14860
  };
15153
14861
  };
15154
- url: "/admin/extraction/schemas";
14862
+ url: "/admin/storage/sign_upload";
15155
14863
  };
15156
- type PostAdminExtractionSchemasErrors = {
14864
+ type PostAdminStorageSignUploadErrors = {
15157
14865
  /**
15158
14866
  * Bad Request - Invalid input data or malformed request
15159
14867
  */
@@ -15183,20 +14891,20 @@ type PostAdminExtractionSchemasErrors = {
15183
14891
  */
15184
14892
  default: Errors;
15185
14893
  };
15186
- type PostAdminExtractionSchemasError = PostAdminExtractionSchemasErrors[keyof PostAdminExtractionSchemasErrors];
15187
- type PostAdminExtractionSchemasResponses = {
14894
+ type PostAdminStorageSignUploadError = PostAdminStorageSignUploadErrors[keyof PostAdminStorageSignUploadErrors];
14895
+ type PostAdminStorageSignUploadResponses = {
15188
14896
  /**
15189
14897
  * Success
15190
14898
  */
15191
14899
  201: {
15192
- data?: ExtractionSchema;
15193
- included?: Array<ExtractionSchemaField>;
14900
+ data?: PresignedUrl;
14901
+ included?: Array<unknown>;
15194
14902
  meta?: {
15195
14903
  [key: string]: unknown;
15196
14904
  };
15197
14905
  };
15198
14906
  };
15199
- type PostAdminExtractionSchemasResponse = PostAdminExtractionSchemasResponses[keyof PostAdminExtractionSchemasResponses];
14907
+ type PostAdminStorageSignUploadResponse = PostAdminStorageSignUploadResponses[keyof PostAdminStorageSignUploadResponses];
15200
14908
  type GetAdminTenantsByTenantIdDocumentStatsData = {
15201
14909
  body?: never;
15202
14910
  headers: {
@@ -16034,11 +15742,11 @@ type PostAdminExtractionResultsData = {
16034
15742
  [key: string]: unknown;
16035
15743
  }> | unknown;
16036
15744
  processing_time_ms?: number | unknown;
16037
- schema_id: string;
15745
+ schema_id?: string | unknown;
16038
15746
  /**
16039
- * The version of the schema used for this extraction
15747
+ * The version of the schema/agent used for this extraction
16040
15748
  */
16041
- schema_version?: number | unknown;
15749
+ schema_version?: string | unknown;
16042
15750
  status?: "pending" | "completed" | "failed" | unknown;
16043
15751
  used_training_example_ids?: Array<string> | unknown;
16044
15752
  workspace_id: string;
@@ -17377,89 +17085,6 @@ type GetAdminBucketsByIdObjectsResponses = {
17377
17085
  };
17378
17086
  };
17379
17087
  type GetAdminBucketsByIdObjectsResponse = GetAdminBucketsByIdObjectsResponses[keyof GetAdminBucketsByIdObjectsResponses];
17380
- type PostAdminExtractionSchemasBulkCreateData = {
17381
- /**
17382
- * Request body for the /extraction/schemas/bulk_create operation on extraction_schema resource
17383
- */
17384
- body: {
17385
- data: {
17386
- attributes?: {
17387
- fields?: Array<{
17388
- [key: string]: unknown;
17389
- }> | unknown;
17390
- workspace_id: string;
17391
- };
17392
- relationships?: {
17393
- [key: string]: never;
17394
- };
17395
- type?: "extraction_schema";
17396
- };
17397
- };
17398
- headers: {
17399
- /**
17400
- * Application ID for authentication and routing
17401
- */
17402
- "x-application-key": string;
17403
- };
17404
- path?: never;
17405
- query?: {
17406
- /**
17407
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17408
- */
17409
- include?: string;
17410
- /**
17411
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
17412
- */
17413
- fields?: {
17414
- [key: string]: unknown;
17415
- };
17416
- };
17417
- url: "/admin/extraction/schemas/bulk_create";
17418
- };
17419
- type PostAdminExtractionSchemasBulkCreateErrors = {
17420
- /**
17421
- * Bad Request - Invalid input data or malformed request
17422
- */
17423
- 400: ErrorResponse;
17424
- /**
17425
- * Unauthorized - Missing or invalid authentication token
17426
- */
17427
- 401: ErrorResponse;
17428
- /**
17429
- * Forbidden - Authenticated but not authorized for this resource
17430
- */
17431
- 403: ErrorResponse;
17432
- /**
17433
- * Not Found - Resource does not exist
17434
- */
17435
- 404: ErrorResponse;
17436
- /**
17437
- * Too Many Requests - Rate limit exceeded
17438
- */
17439
- 429: ErrorResponse;
17440
- /**
17441
- * Internal Server Error - Unexpected server error
17442
- */
17443
- 500: ErrorResponse;
17444
- /**
17445
- * General Error
17446
- */
17447
- default: Errors;
17448
- };
17449
- type PostAdminExtractionSchemasBulkCreateError = PostAdminExtractionSchemasBulkCreateErrors[keyof PostAdminExtractionSchemasBulkCreateErrors];
17450
- type PostAdminExtractionSchemasBulkCreateResponses = {
17451
- /**
17452
- * Success
17453
- */
17454
- 201: {
17455
- data?: ExtractionSchema;
17456
- included?: Array<ExtractionSchemaField>;
17457
- meta?: {
17458
- [key: string]: unknown;
17459
- };
17460
- };
17461
- };
17462
- type PostAdminExtractionSchemasBulkCreateResponse = PostAdminExtractionSchemasBulkCreateResponses[keyof PostAdminExtractionSchemasBulkCreateResponses];
17463
17088
  type GetAdminLlmAnalyticsByIdData = {
17464
17089
  body?: never;
17465
17090
  headers: {
@@ -19799,7 +19424,7 @@ type PostAdminUsersAuthMagicLinkLoginResponses = {
19799
19424
  };
19800
19425
  };
19801
19426
  type PostAdminUsersAuthMagicLinkLoginResponse = PostAdminUsersAuthMagicLinkLoginResponses[keyof PostAdminUsersAuthMagicLinkLoginResponses];
19802
- type GetAdminExtractionSchemasByIdData = {
19427
+ type GetAdminTenantsByTenantIdWorkspaceStatsData = {
19803
19428
  body?: never;
19804
19429
  headers: {
19805
19430
  /**
@@ -19808,9 +19433,19 @@ type GetAdminExtractionSchemasByIdData = {
19808
19433
  "x-application-key": string;
19809
19434
  };
19810
19435
  path: {
19811
- id: string;
19436
+ tenant_id: string;
19812
19437
  };
19813
19438
  query?: {
19439
+ /**
19440
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19441
+ */
19442
+ filter?: {
19443
+ [key: string]: unknown;
19444
+ };
19445
+ /**
19446
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19447
+ */
19448
+ sort?: string;
19814
19449
  /**
19815
19450
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19816
19451
  */
@@ -19822,9 +19457,9 @@ type GetAdminExtractionSchemasByIdData = {
19822
19457
  [key: string]: unknown;
19823
19458
  };
19824
19459
  };
19825
- url: "/admin/extraction/schemas/{id}";
19460
+ url: "/admin/tenants/{tenant_id}/workspace_stats";
19826
19461
  };
19827
- type GetAdminExtractionSchemasByIdErrors = {
19462
+ type GetAdminTenantsByTenantIdWorkspaceStatsErrors = {
19828
19463
  /**
19829
19464
  * Bad Request - Invalid input data or malformed request
19830
19465
  */
@@ -19854,105 +19489,35 @@ type GetAdminExtractionSchemasByIdErrors = {
19854
19489
  */
19855
19490
  default: Errors;
19856
19491
  };
19857
- type GetAdminExtractionSchemasByIdError = GetAdminExtractionSchemasByIdErrors[keyof GetAdminExtractionSchemasByIdErrors];
19858
- type GetAdminExtractionSchemasByIdResponses = {
19492
+ type GetAdminTenantsByTenantIdWorkspaceStatsError = GetAdminTenantsByTenantIdWorkspaceStatsErrors[keyof GetAdminTenantsByTenantIdWorkspaceStatsErrors];
19493
+ type GetAdminTenantsByTenantIdWorkspaceStatsResponses = {
19859
19494
  /**
19860
19495
  * Success
19861
19496
  */
19862
19497
  200: {
19863
- data?: ExtractionSchema;
19864
- included?: Array<ExtractionSchemaField>;
19865
- meta?: {
19866
- [key: string]: unknown;
19867
- };
19868
- };
19869
- };
19870
- type GetAdminExtractionSchemasByIdResponse = GetAdminExtractionSchemasByIdResponses[keyof GetAdminExtractionSchemasByIdResponses];
19871
- type PatchAdminExtractionSchemasByIdData = {
19872
- /**
19873
- * Request body for the /extraction/schemas/:id operation on extraction_schema resource
19874
- */
19875
- body?: {
19876
- data: {
19877
- attributes?: {
19878
- is_active?: boolean | unknown;
19879
- };
19880
- id: string;
19881
- relationships?: {
19882
- [key: string]: never;
19883
- };
19884
- type?: "extraction_schema";
19885
- };
19886
- };
19887
- headers: {
19888
- /**
19889
- * Application ID for authentication and routing
19890
- */
19891
- "x-application-key": string;
19892
- };
19893
- path: {
19894
- id: string;
19895
- };
19896
- query?: {
19897
- /**
19898
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19899
- */
19900
- include?: string;
19901
19498
  /**
19902
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19499
+ * An array of resource objects representing a workspace_document_stats
19903
19500
  */
19904
- fields?: {
19501
+ data?: Array<WorkspaceDocumentStats>;
19502
+ included?: Array<unknown>;
19503
+ meta?: {
19905
19504
  [key: string]: unknown;
19906
19505
  };
19907
19506
  };
19908
- url: "/admin/extraction/schemas/{id}";
19909
- };
19910
- type PatchAdminExtractionSchemasByIdErrors = {
19911
- /**
19912
- * Bad Request - Invalid input data or malformed request
19913
- */
19914
- 400: ErrorResponse;
19915
- /**
19916
- * Unauthorized - Missing or invalid authentication token
19917
- */
19918
- 401: ErrorResponse;
19919
- /**
19920
- * Forbidden - Authenticated but not authorized for this resource
19921
- */
19922
- 403: ErrorResponse;
19923
- /**
19924
- * Not Found - Resource does not exist
19925
- */
19926
- 404: ErrorResponse;
19927
- /**
19928
- * Too Many Requests - Rate limit exceeded
19929
- */
19930
- 429: ErrorResponse;
19931
- /**
19932
- * Internal Server Error - Unexpected server error
19933
- */
19934
- 500: ErrorResponse;
19935
- /**
19936
- * General Error
19937
- */
19938
- default: Errors;
19939
19507
  };
19940
- type PatchAdminExtractionSchemasByIdError = PatchAdminExtractionSchemasByIdErrors[keyof PatchAdminExtractionSchemasByIdErrors];
19941
- type PatchAdminExtractionSchemasByIdResponses = {
19508
+ type GetAdminTenantsByTenantIdWorkspaceStatsResponse = GetAdminTenantsByTenantIdWorkspaceStatsResponses[keyof GetAdminTenantsByTenantIdWorkspaceStatsResponses];
19509
+ type PostAdminAgentsByIdDiscoverSchemaData = {
19942
19510
  /**
19943
- * Success
19511
+ * Request body for the /agents/:id/discover_schema operation on agent resource
19944
19512
  */
19945
- 200: {
19946
- data?: ExtractionSchema;
19947
- included?: Array<ExtractionSchemaField>;
19948
- meta?: {
19949
- [key: string]: unknown;
19513
+ body: {
19514
+ data: {
19515
+ /**
19516
+ * ID of document to analyze
19517
+ */
19518
+ document_id: string;
19950
19519
  };
19951
19520
  };
19952
- };
19953
- type PatchAdminExtractionSchemasByIdResponse = PatchAdminExtractionSchemasByIdResponses[keyof PatchAdminExtractionSchemasByIdResponses];
19954
- type GetAdminTenantsByTenantIdWorkspaceStatsData = {
19955
- body?: never;
19956
19521
  headers: {
19957
19522
  /**
19958
19523
  * Application ID for authentication and routing
@@ -19960,33 +19525,12 @@ type GetAdminTenantsByTenantIdWorkspaceStatsData = {
19960
19525
  "x-application-key": string;
19961
19526
  };
19962
19527
  path: {
19963
- tenant_id: string;
19964
- };
19965
- query?: {
19966
- /**
19967
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19968
- */
19969
- filter?: {
19970
- [key: string]: unknown;
19971
- };
19972
- /**
19973
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19974
- */
19975
- sort?: string;
19976
- /**
19977
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19978
- */
19979
- include?: string;
19980
- /**
19981
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19982
- */
19983
- fields?: {
19984
- [key: string]: unknown;
19985
- };
19528
+ id: string;
19986
19529
  };
19987
- url: "/admin/tenants/{tenant_id}/workspace_stats";
19530
+ query?: never;
19531
+ url: "/admin/agents/{id}/discover_schema";
19988
19532
  };
19989
- type GetAdminTenantsByTenantIdWorkspaceStatsErrors = {
19533
+ type PostAdminAgentsByIdDiscoverSchemaErrors = {
19990
19534
  /**
19991
19535
  * Bad Request - Invalid input data or malformed request
19992
19536
  */
@@ -20016,23 +19560,16 @@ type GetAdminTenantsByTenantIdWorkspaceStatsErrors = {
20016
19560
  */
20017
19561
  default: Errors;
20018
19562
  };
20019
- type GetAdminTenantsByTenantIdWorkspaceStatsError = GetAdminTenantsByTenantIdWorkspaceStatsErrors[keyof GetAdminTenantsByTenantIdWorkspaceStatsErrors];
20020
- type GetAdminTenantsByTenantIdWorkspaceStatsResponses = {
19563
+ type PostAdminAgentsByIdDiscoverSchemaError = PostAdminAgentsByIdDiscoverSchemaErrors[keyof PostAdminAgentsByIdDiscoverSchemaErrors];
19564
+ type PostAdminAgentsByIdDiscoverSchemaResponses = {
20021
19565
  /**
20022
19566
  * Success
20023
19567
  */
20024
- 200: {
20025
- /**
20026
- * An array of resource objects representing a workspace_document_stats
20027
- */
20028
- data?: Array<WorkspaceDocumentStats>;
20029
- included?: Array<unknown>;
20030
- meta?: {
20031
- [key: string]: unknown;
20032
- };
19568
+ 201: {
19569
+ [key: string]: unknown;
20033
19570
  };
20034
19571
  };
20035
- type GetAdminTenantsByTenantIdWorkspaceStatsResponse = GetAdminTenantsByTenantIdWorkspaceStatsResponses[keyof GetAdminTenantsByTenantIdWorkspaceStatsResponses];
19572
+ type PostAdminAgentsByIdDiscoverSchemaResponse = PostAdminAgentsByIdDiscoverSchemaResponses[keyof PostAdminAgentsByIdDiscoverSchemaResponses];
20036
19573
  type PostAdminAgentsByIdTestData = {
20037
19574
  /**
20038
19575
  * Request body for the /agents/:id/test operation on agent resource
@@ -20108,7 +19645,7 @@ type PostAdminAgentsByIdTestResponses = {
20108
19645
  */
20109
19646
  201: {
20110
19647
  data?: Agent;
20111
- included?: Array<unknown>;
19648
+ included?: Array<AgentVersion>;
20112
19649
  meta?: {
20113
19650
  [key: string]: unknown;
20114
19651
  };
@@ -21597,75 +21134,6 @@ type GetAdminMessagesSearchResponses = {
21597
21134
  };
21598
21135
  };
21599
21136
  type GetAdminMessagesSearchResponse = GetAdminMessagesSearchResponses[keyof GetAdminMessagesSearchResponses];
21600
- type GetAdminExtractionSchemasWorkspaceByWorkspaceIdData = {
21601
- body?: never;
21602
- headers: {
21603
- /**
21604
- * Application ID for authentication and routing
21605
- */
21606
- "x-application-key": string;
21607
- };
21608
- path: {
21609
- workspace_id: string;
21610
- };
21611
- query?: {
21612
- /**
21613
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
21614
- */
21615
- include?: string;
21616
- /**
21617
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
21618
- */
21619
- fields?: {
21620
- [key: string]: unknown;
21621
- };
21622
- };
21623
- url: "/admin/extraction/schemas/workspace/{workspace_id}";
21624
- };
21625
- type GetAdminExtractionSchemasWorkspaceByWorkspaceIdErrors = {
21626
- /**
21627
- * Bad Request - Invalid input data or malformed request
21628
- */
21629
- 400: ErrorResponse;
21630
- /**
21631
- * Unauthorized - Missing or invalid authentication token
21632
- */
21633
- 401: ErrorResponse;
21634
- /**
21635
- * Forbidden - Authenticated but not authorized for this resource
21636
- */
21637
- 403: ErrorResponse;
21638
- /**
21639
- * Not Found - Resource does not exist
21640
- */
21641
- 404: ErrorResponse;
21642
- /**
21643
- * Too Many Requests - Rate limit exceeded
21644
- */
21645
- 429: ErrorResponse;
21646
- /**
21647
- * Internal Server Error - Unexpected server error
21648
- */
21649
- 500: ErrorResponse;
21650
- /**
21651
- * General Error
21652
- */
21653
- default: Errors;
21654
- };
21655
- type GetAdminExtractionSchemasWorkspaceByWorkspaceIdError = GetAdminExtractionSchemasWorkspaceByWorkspaceIdErrors[keyof GetAdminExtractionSchemasWorkspaceByWorkspaceIdErrors];
21656
- type GetAdminExtractionSchemasWorkspaceByWorkspaceIdResponses = {
21657
- /**
21658
- * Success
21659
- */
21660
- 200: {
21661
- data?: ExtractionSchema;
21662
- included?: Array<ExtractionSchemaField>;
21663
- meta?: {
21664
- [key: string]: unknown;
21665
- };
21666
- };
21667
- };
21668
- type GetAdminExtractionSchemasWorkspaceByWorkspaceIdResponse = GetAdminExtractionSchemasWorkspaceByWorkspaceIdResponses[keyof GetAdminExtractionSchemasWorkspaceByWorkspaceIdResponses];
21669
21137
  type GetAdminAgentsByIdTrainingStatsData = {
21670
21138
  body?: never;
21671
21139
  headers: {
@@ -21983,7 +21451,7 @@ type PostAdminAgentsByIdTeachResponses = {
21983
21451
  */
21984
21452
  201: {
21985
21453
  data?: Agent;
21986
- included?: Array<unknown>;
21454
+ included?: Array<AgentVersion>;
21987
21455
  meta?: {
21988
21456
  [key: string]: unknown;
21989
21457
  };
@@ -22356,6 +21824,7 @@ type PostAdminAgentVersionsData = {
22356
21824
  attributes?: {
22357
21825
  agent_id: string;
22358
21826
  changes_summary?: string | unknown;
21827
+ fields?: Array<AgentVersionFieldsInputCreateType> | unknown;
22359
21828
  parent_version_id?: string | unknown;
22360
21829
  prompt_template: string;
22361
21830
  schema_definition?: {
@@ -22511,7 +21980,7 @@ type PostAdminAgentsCloneForWorkspaceResponses = {
22511
21980
  */
22512
21981
  201: {
22513
21982
  data?: Agent;
22514
- included?: Array<unknown>;
21983
+ included?: Array<AgentVersion>;
22515
21984
  meta?: {
22516
21985
  [key: string]: unknown;
22517
21986
  };
@@ -23789,17 +23258,160 @@ type PatchAdminThreadsByIdData = {
23789
23258
  /**
23790
23259
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23791
23260
  */
23792
- include?: string;
23261
+ include?: string;
23262
+ /**
23263
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
23264
+ */
23265
+ fields?: {
23266
+ [key: string]: unknown;
23267
+ };
23268
+ };
23269
+ url: "/admin/threads/{id}";
23270
+ };
23271
+ type PatchAdminThreadsByIdErrors = {
23272
+ /**
23273
+ * Bad Request - Invalid input data or malformed request
23274
+ */
23275
+ 400: ErrorResponse;
23276
+ /**
23277
+ * Unauthorized - Missing or invalid authentication token
23278
+ */
23279
+ 401: ErrorResponse;
23280
+ /**
23281
+ * Forbidden - Authenticated but not authorized for this resource
23282
+ */
23283
+ 403: ErrorResponse;
23284
+ /**
23285
+ * Not Found - Resource does not exist
23286
+ */
23287
+ 404: ErrorResponse;
23288
+ /**
23289
+ * Too Many Requests - Rate limit exceeded
23290
+ */
23291
+ 429: ErrorResponse;
23292
+ /**
23293
+ * Internal Server Error - Unexpected server error
23294
+ */
23295
+ 500: ErrorResponse;
23296
+ /**
23297
+ * General Error
23298
+ */
23299
+ default: Errors;
23300
+ };
23301
+ type PatchAdminThreadsByIdError = PatchAdminThreadsByIdErrors[keyof PatchAdminThreadsByIdErrors];
23302
+ type PatchAdminThreadsByIdResponses = {
23303
+ /**
23304
+ * Success
23305
+ */
23306
+ 200: {
23307
+ data?: Thread;
23308
+ included?: Array<unknown>;
23309
+ meta?: {
23310
+ [key: string]: unknown;
23311
+ };
23312
+ };
23313
+ };
23314
+ type PatchAdminThreadsByIdResponse = PatchAdminThreadsByIdResponses[keyof PatchAdminThreadsByIdResponses];
23315
+ type PatchAdminWalletAddonsData = {
23316
+ /**
23317
+ * Request body for the /wallet/addons operation on wallet resource
23318
+ */
23319
+ body: {
23320
+ data: {
23321
+ attributes?: {
23322
+ addon_slug: string;
23323
+ quantity?: number | unknown;
23324
+ };
23325
+ id: string;
23326
+ relationships?: {
23327
+ [key: string]: never;
23328
+ };
23329
+ type?: "wallet";
23330
+ };
23331
+ };
23332
+ headers: {
23333
+ /**
23334
+ * Application ID for authentication and routing
23335
+ */
23336
+ "x-application-key": string;
23337
+ };
23338
+ path?: never;
23339
+ query?: {
23340
+ /**
23341
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23342
+ */
23343
+ include?: string;
23344
+ /**
23345
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
23346
+ */
23347
+ fields?: {
23348
+ [key: string]: unknown;
23349
+ };
23350
+ };
23351
+ url: "/admin/wallet/addons";
23352
+ };
23353
+ type PatchAdminWalletAddonsErrors = {
23354
+ /**
23355
+ * Bad Request - Invalid input data or malformed request
23356
+ */
23357
+ 400: ErrorResponse;
23358
+ /**
23359
+ * Unauthorized - Missing or invalid authentication token
23360
+ */
23361
+ 401: ErrorResponse;
23362
+ /**
23363
+ * Forbidden - Authenticated but not authorized for this resource
23364
+ */
23365
+ 403: ErrorResponse;
23366
+ /**
23367
+ * Not Found - Resource does not exist
23368
+ */
23369
+ 404: ErrorResponse;
23370
+ /**
23371
+ * Too Many Requests - Rate limit exceeded
23372
+ */
23373
+ 429: ErrorResponse;
23374
+ /**
23375
+ * Internal Server Error - Unexpected server error
23376
+ */
23377
+ 500: ErrorResponse;
23378
+ /**
23379
+ * General Error
23380
+ */
23381
+ default: Errors;
23382
+ };
23383
+ type PatchAdminWalletAddonsError = PatchAdminWalletAddonsErrors[keyof PatchAdminWalletAddonsErrors];
23384
+ type PatchAdminWalletAddonsResponses = {
23385
+ /**
23386
+ * Success
23387
+ */
23388
+ 200: {
23389
+ data?: Wallet;
23390
+ included?: Array<unknown>;
23391
+ meta?: {
23392
+ [key: string]: unknown;
23393
+ };
23394
+ };
23395
+ };
23396
+ type PatchAdminWalletAddonsResponse = PatchAdminWalletAddonsResponses[keyof PatchAdminWalletAddonsResponses];
23397
+ type GetAdminAgentsByIdSchemaVersionsData = {
23398
+ body?: never;
23399
+ headers: {
23400
+ /**
23401
+ * Application ID for authentication and routing
23402
+ */
23403
+ "x-application-key": string;
23404
+ };
23405
+ path: {
23793
23406
  /**
23794
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
23407
+ * Agent ID (automatically mapped from route)
23795
23408
  */
23796
- fields?: {
23797
- [key: string]: unknown;
23798
- };
23409
+ id: string;
23799
23410
  };
23800
- url: "/admin/threads/{id}";
23411
+ query?: never;
23412
+ url: "/admin/agents/{id}/schema_versions";
23801
23413
  };
23802
- type PatchAdminThreadsByIdErrors = {
23414
+ type GetAdminAgentsByIdSchemaVersionsErrors = {
23803
23415
  /**
23804
23416
  * Bad Request - Invalid input data or malformed request
23805
23417
  */
@@ -23829,35 +23441,31 @@ type PatchAdminThreadsByIdErrors = {
23829
23441
  */
23830
23442
  default: Errors;
23831
23443
  };
23832
- type PatchAdminThreadsByIdError = PatchAdminThreadsByIdErrors[keyof PatchAdminThreadsByIdErrors];
23833
- type PatchAdminThreadsByIdResponses = {
23444
+ type GetAdminAgentsByIdSchemaVersionsError = GetAdminAgentsByIdSchemaVersionsErrors[keyof GetAdminAgentsByIdSchemaVersionsErrors];
23445
+ type GetAdminAgentsByIdSchemaVersionsResponses = {
23834
23446
  /**
23835
23447
  * Success
23836
23448
  */
23837
23449
  200: {
23838
- data?: Thread;
23839
- included?: Array<unknown>;
23840
- meta?: {
23841
- [key: string]: unknown;
23842
- };
23450
+ [key: string]: unknown;
23843
23451
  };
23844
23452
  };
23845
- type PatchAdminThreadsByIdResponse = PatchAdminThreadsByIdResponses[keyof PatchAdminThreadsByIdResponses];
23846
- type PatchAdminWalletAddonsData = {
23453
+ type GetAdminAgentsByIdSchemaVersionsResponse = GetAdminAgentsByIdSchemaVersionsResponses[keyof GetAdminAgentsByIdSchemaVersionsResponses];
23454
+ type PostAdminAgentsByIdSchemaVersionsData = {
23847
23455
  /**
23848
- * Request body for the /wallet/addons operation on wallet resource
23456
+ * Request body for the /agents/:id/schema_versions operation on agent resource
23849
23457
  */
23850
23458
  body: {
23851
23459
  data: {
23852
- attributes?: {
23853
- addon_slug: string;
23854
- quantity?: number | unknown;
23855
- };
23856
- id: string;
23857
- relationships?: {
23858
- [key: string]: never;
23460
+ changes_summary?: string | unknown;
23461
+ fields?: Array<{
23462
+ [key: string]: unknown;
23463
+ }> | unknown;
23464
+ prompt_template: string;
23465
+ schema_definition: {
23466
+ [key: string]: unknown;
23859
23467
  };
23860
- type?: "wallet";
23468
+ version_number: string;
23861
23469
  };
23862
23470
  };
23863
23471
  headers: {
@@ -23866,22 +23474,16 @@ type PatchAdminWalletAddonsData = {
23866
23474
  */
23867
23475
  "x-application-key": string;
23868
23476
  };
23869
- path?: never;
23870
- query?: {
23871
- /**
23872
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23873
- */
23874
- include?: string;
23477
+ path: {
23875
23478
  /**
23876
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
23479
+ * Agent ID (automatically mapped from route)
23877
23480
  */
23878
- fields?: {
23879
- [key: string]: unknown;
23880
- };
23481
+ id: string;
23881
23482
  };
23882
- url: "/admin/wallet/addons";
23483
+ query?: never;
23484
+ url: "/admin/agents/{id}/schema_versions";
23883
23485
  };
23884
- type PatchAdminWalletAddonsErrors = {
23486
+ type PostAdminAgentsByIdSchemaVersionsErrors = {
23885
23487
  /**
23886
23488
  * Bad Request - Invalid input data or malformed request
23887
23489
  */
@@ -23911,20 +23513,16 @@ type PatchAdminWalletAddonsErrors = {
23911
23513
  */
23912
23514
  default: Errors;
23913
23515
  };
23914
- type PatchAdminWalletAddonsError = PatchAdminWalletAddonsErrors[keyof PatchAdminWalletAddonsErrors];
23915
- type PatchAdminWalletAddonsResponses = {
23516
+ type PostAdminAgentsByIdSchemaVersionsError = PostAdminAgentsByIdSchemaVersionsErrors[keyof PostAdminAgentsByIdSchemaVersionsErrors];
23517
+ type PostAdminAgentsByIdSchemaVersionsResponses = {
23916
23518
  /**
23917
23519
  * Success
23918
23520
  */
23919
- 200: {
23920
- data?: Wallet;
23921
- included?: Array<unknown>;
23922
- meta?: {
23923
- [key: string]: unknown;
23924
- };
23521
+ 201: {
23522
+ [key: string]: unknown;
23925
23523
  };
23926
23524
  };
23927
- type PatchAdminWalletAddonsResponse = PatchAdminWalletAddonsResponses[keyof PatchAdminWalletAddonsResponses];
23525
+ type PostAdminAgentsByIdSchemaVersionsResponse = PostAdminAgentsByIdSchemaVersionsResponses[keyof PostAdminAgentsByIdSchemaVersionsResponses];
23928
23526
  type DeleteAdminMessagesByIdData = {
23929
23527
  body?: never;
23930
23528
  headers: {
@@ -25597,7 +25195,7 @@ type PostAdminAgentsByIdCloneResponses = {
25597
25195
  */
25598
25196
  201: {
25599
25197
  data?: Agent;
25600
- included?: Array<unknown>;
25198
+ included?: Array<AgentVersion>;
25601
25199
  meta?: {
25602
25200
  [key: string]: unknown;
25603
25201
  };
@@ -26844,7 +26442,7 @@ type PostAdminAgentsByIdValidateResponses = {
26844
26442
  */
26845
26443
  201: {
26846
26444
  data?: Agent;
26847
- included?: Array<unknown>;
26445
+ included?: Array<AgentVersion>;
26848
26446
  meta?: {
26849
26447
  [key: string]: unknown;
26850
26448
  };
@@ -27073,226 +26671,6 @@ type PatchAdminApplicationsByIdResponses = {
27073
26671
  };
27074
26672
  };
27075
26673
  type PatchAdminApplicationsByIdResponse = PatchAdminApplicationsByIdResponses[keyof PatchAdminApplicationsByIdResponses];
27076
- type DeleteAdminExtractionSchemaFieldsByIdData = {
27077
- body?: never;
27078
- headers: {
27079
- /**
27080
- * Application ID for authentication and routing
27081
- */
27082
- "x-application-key": string;
27083
- };
27084
- path: {
27085
- id: string;
27086
- };
27087
- query?: {
27088
- /**
27089
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
27090
- */
27091
- include?: string;
27092
- /**
27093
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
27094
- */
27095
- fields?: {
27096
- [key: string]: unknown;
27097
- };
27098
- };
27099
- url: "/admin/extraction/schema-fields/{id}";
27100
- };
27101
- type DeleteAdminExtractionSchemaFieldsByIdErrors = {
27102
- /**
27103
- * Bad Request - Invalid input data or malformed request
27104
- */
27105
- 400: ErrorResponse;
27106
- /**
27107
- * Unauthorized - Missing or invalid authentication token
27108
- */
27109
- 401: ErrorResponse;
27110
- /**
27111
- * Forbidden - Authenticated but not authorized for this resource
27112
- */
27113
- 403: ErrorResponse;
27114
- /**
27115
- * Not Found - Resource does not exist
27116
- */
27117
- 404: ErrorResponse;
27118
- /**
27119
- * Too Many Requests - Rate limit exceeded
27120
- */
27121
- 429: ErrorResponse;
27122
- /**
27123
- * Internal Server Error - Unexpected server error
27124
- */
27125
- 500: ErrorResponse;
27126
- /**
27127
- * General Error
27128
- */
27129
- default: Errors;
27130
- };
27131
- type DeleteAdminExtractionSchemaFieldsByIdError = DeleteAdminExtractionSchemaFieldsByIdErrors[keyof DeleteAdminExtractionSchemaFieldsByIdErrors];
27132
- type DeleteAdminExtractionSchemaFieldsByIdResponses = {
27133
- /**
27134
- * Deleted successfully
27135
- */
27136
- 200: unknown;
27137
- };
27138
- type GetAdminExtractionSchemaFieldsByIdData = {
27139
- body?: never;
27140
- headers: {
27141
- /**
27142
- * Application ID for authentication and routing
27143
- */
27144
- "x-application-key": string;
27145
- };
27146
- path: {
27147
- id: string;
27148
- };
27149
- query?: {
27150
- /**
27151
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
27152
- */
27153
- include?: string;
27154
- /**
27155
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
27156
- */
27157
- fields?: {
27158
- [key: string]: unknown;
27159
- };
27160
- };
27161
- url: "/admin/extraction/schema-fields/{id}";
27162
- };
27163
- type GetAdminExtractionSchemaFieldsByIdErrors = {
27164
- /**
27165
- * Bad Request - Invalid input data or malformed request
27166
- */
27167
- 400: ErrorResponse;
27168
- /**
27169
- * Unauthorized - Missing or invalid authentication token
27170
- */
27171
- 401: ErrorResponse;
27172
- /**
27173
- * Forbidden - Authenticated but not authorized for this resource
27174
- */
27175
- 403: ErrorResponse;
27176
- /**
27177
- * Not Found - Resource does not exist
27178
- */
27179
- 404: ErrorResponse;
27180
- /**
27181
- * Too Many Requests - Rate limit exceeded
27182
- */
27183
- 429: ErrorResponse;
27184
- /**
27185
- * Internal Server Error - Unexpected server error
27186
- */
27187
- 500: ErrorResponse;
27188
- /**
27189
- * General Error
27190
- */
27191
- default: Errors;
27192
- };
27193
- type GetAdminExtractionSchemaFieldsByIdError = GetAdminExtractionSchemaFieldsByIdErrors[keyof GetAdminExtractionSchemaFieldsByIdErrors];
27194
- type GetAdminExtractionSchemaFieldsByIdResponses = {
27195
- /**
27196
- * Success
27197
- */
27198
- 200: {
27199
- data?: ExtractionSchemaField;
27200
- included?: Array<unknown>;
27201
- meta?: {
27202
- [key: string]: unknown;
27203
- };
27204
- };
27205
- };
27206
- type GetAdminExtractionSchemaFieldsByIdResponse = GetAdminExtractionSchemaFieldsByIdResponses[keyof GetAdminExtractionSchemaFieldsByIdResponses];
27207
- type PatchAdminExtractionSchemaFieldsByIdData = {
27208
- /**
27209
- * Request body for the /extraction/schema-fields/:id operation on extraction_schema_field resource
27210
- */
27211
- body?: {
27212
- data: {
27213
- attributes?: {
27214
- extraction_hint?: string | unknown;
27215
- group?: string | unknown;
27216
- label?: string | unknown;
27217
- name?: string | unknown;
27218
- order?: number | unknown;
27219
- required?: boolean | unknown;
27220
- type?: "text" | "date" | "currency" | "number" | "boolean" | "array" | "email" | "phone" | "url" | "datetime" | "timestamp" | "alphanumeric_code" | "address" | unknown;
27221
- };
27222
- id: string;
27223
- relationships?: {
27224
- [key: string]: never;
27225
- };
27226
- type?: "extraction_schema_field";
27227
- };
27228
- };
27229
- headers: {
27230
- /**
27231
- * Application ID for authentication and routing
27232
- */
27233
- "x-application-key": string;
27234
- };
27235
- path: {
27236
- id: string;
27237
- };
27238
- query?: {
27239
- /**
27240
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
27241
- */
27242
- include?: string;
27243
- /**
27244
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
27245
- */
27246
- fields?: {
27247
- [key: string]: unknown;
27248
- };
27249
- };
27250
- url: "/admin/extraction/schema-fields/{id}";
27251
- };
27252
- type PatchAdminExtractionSchemaFieldsByIdErrors = {
27253
- /**
27254
- * Bad Request - Invalid input data or malformed request
27255
- */
27256
- 400: ErrorResponse;
27257
- /**
27258
- * Unauthorized - Missing or invalid authentication token
27259
- */
27260
- 401: ErrorResponse;
27261
- /**
27262
- * Forbidden - Authenticated but not authorized for this resource
27263
- */
27264
- 403: ErrorResponse;
27265
- /**
27266
- * Not Found - Resource does not exist
27267
- */
27268
- 404: ErrorResponse;
27269
- /**
27270
- * Too Many Requests - Rate limit exceeded
27271
- */
27272
- 429: ErrorResponse;
27273
- /**
27274
- * Internal Server Error - Unexpected server error
27275
- */
27276
- 500: ErrorResponse;
27277
- /**
27278
- * General Error
27279
- */
27280
- default: Errors;
27281
- };
27282
- type PatchAdminExtractionSchemaFieldsByIdError = PatchAdminExtractionSchemaFieldsByIdErrors[keyof PatchAdminExtractionSchemaFieldsByIdErrors];
27283
- type PatchAdminExtractionSchemaFieldsByIdResponses = {
27284
- /**
27285
- * Success
27286
- */
27287
- 200: {
27288
- data?: ExtractionSchemaField;
27289
- included?: Array<unknown>;
27290
- meta?: {
27291
- [key: string]: unknown;
27292
- };
27293
- };
27294
- };
27295
- type PatchAdminExtractionSchemaFieldsByIdResponse = PatchAdminExtractionSchemaFieldsByIdResponses[keyof PatchAdminExtractionSchemaFieldsByIdResponses];
27296
26674
  type GetAdminExtractionBatchesByIdUploadUrlsData = {
27297
26675
  body?: never;
27298
26676
  headers: {
@@ -27963,4 +27341,4 @@ type ApiKeyAllocateRequest = z.infer<typeof ApiKeyAllocateSchema>;
27963
27341
  type DocumentBulkDeleteRequest = z.infer<typeof DocumentBulkDeleteSchema>;
27964
27342
  type DocumentBulkReprocessRequest = z.infer<typeof DocumentBulkReprocessSchema>;
27965
27343
 
27966
- export { type Account, type AccountCreditRequest, AccountCreditSchema, type AccountDebitRequest, AccountDebitSchema, type Agent, type AgentAdminCreateRequest, AgentAdminCreateSchema, type AgentVersion, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type Application, type AuditLog, AuthenticationError, AuthorizationError, type Bucket, type BulkDismissalResult, type ClientOptions, type Config, type Conversation, type CreditPackage, type Customer, type DeleteAdminAiConversationsByIdData, type DeleteAdminAiConversationsByIdError, type DeleteAdminAiConversationsByIdErrors, type DeleteAdminAiConversationsByIdResponses, type DeleteAdminAiGraphEdgesByIdData, type DeleteAdminAiGraphEdgesByIdError, type DeleteAdminAiGraphEdgesByIdErrors, type DeleteAdminAiGraphEdgesByIdResponses, type DeleteAdminAiGraphNodesByIdData, type DeleteAdminAiGraphNodesByIdError, type DeleteAdminAiGraphNodesByIdErrors, type DeleteAdminAiGraphNodesByIdResponses, type DeleteAdminApiKeysByIdData, type DeleteAdminApiKeysByIdError, type DeleteAdminApiKeysByIdErrors, type DeleteAdminApiKeysByIdResponses, type DeleteAdminApplicationsByIdData, type DeleteAdminApplicationsByIdError, type DeleteAdminApplicationsByIdErrors, type DeleteAdminApplicationsByIdResponses, type DeleteAdminBucketsByIdData, type DeleteAdminBucketsByIdError, type DeleteAdminBucketsByIdErrors, type DeleteAdminBucketsByIdResponses, type DeleteAdminCreditPackagesByIdData, type DeleteAdminCreditPackagesByIdError, type DeleteAdminCreditPackagesByIdErrors, type DeleteAdminCreditPackagesByIdResponses, type DeleteAdminCustomersByIdData, type DeleteAdminCustomersByIdError, type DeleteAdminCustomersByIdErrors, type DeleteAdminCustomersByIdResponses, type DeleteAdminExtractionDocumentsByIdData, type DeleteAdminExtractionDocumentsByIdError, type DeleteAdminExtractionDocumentsByIdErrors, type DeleteAdminExtractionDocumentsByIdResponses, type DeleteAdminExtractionSchemaFieldsByIdData, type DeleteAdminExtractionSchemaFieldsByIdError, type DeleteAdminExtractionSchemaFieldsByIdErrors, type DeleteAdminExtractionSchemaFieldsByIdResponses, type DeleteAdminFieldTemplatesByIdData, type DeleteAdminFieldTemplatesByIdError, type DeleteAdminFieldTemplatesByIdErrors, type DeleteAdminFieldTemplatesByIdResponses, type DeleteAdminMessagesByIdData, type DeleteAdminMessagesByIdError, type DeleteAdminMessagesByIdErrors, type DeleteAdminMessagesByIdResponses, type DeleteAdminNotificationMethodsByIdData, type DeleteAdminNotificationMethodsByIdError, type DeleteAdminNotificationMethodsByIdErrors, type DeleteAdminNotificationMethodsByIdResponses, type DeleteAdminNotificationPreferencesByIdData, type DeleteAdminNotificationPreferencesByIdError, type DeleteAdminNotificationPreferencesByIdErrors, type DeleteAdminNotificationPreferencesByIdResponses, type DeleteAdminObjectsByIdData, type DeleteAdminObjectsByIdError, type DeleteAdminObjectsByIdErrors, type DeleteAdminObjectsByIdResponses, type DeleteAdminPaymentMethodsByIdData, type DeleteAdminPaymentMethodsByIdError, type DeleteAdminPaymentMethodsByIdErrors, type DeleteAdminPaymentMethodsByIdResponses, type DeleteAdminPlansByIdData, type DeleteAdminPlansByIdError, type DeleteAdminPlansByIdErrors, type DeleteAdminPlansByIdResponses, type DeleteAdminSearchSavedByIdData, type DeleteAdminSearchSavedByIdError, type DeleteAdminSearchSavedByIdErrors, type DeleteAdminSearchSavedByIdResponses, type DeleteAdminSubscriptionsByIdData, type DeleteAdminSubscriptionsByIdError, type DeleteAdminSubscriptionsByIdErrors, type DeleteAdminSubscriptionsByIdResponses, type DeleteAdminTenantMembershipsByTenantIdByUserIdData, type DeleteAdminTenantMembershipsByTenantIdByUserIdError, type DeleteAdminTenantMembershipsByTenantIdByUserIdErrors, type DeleteAdminTenantMembershipsByTenantIdByUserIdResponses, type DeleteAdminTenantsByIdData, type DeleteAdminTenantsByIdError, type DeleteAdminTenantsByIdErrors, type DeleteAdminTenantsByIdResponses, type DeleteAdminThreadsByIdData, type DeleteAdminThreadsByIdError, type DeleteAdminThreadsByIdErrors, type DeleteAdminThreadsByIdResponses, type DeleteAdminTrainingExamplesByIdData, type DeleteAdminTrainingExamplesByIdError, type DeleteAdminTrainingExamplesByIdErrors, type DeleteAdminTrainingExamplesByIdResponses, type DeleteAdminTrainingSessionsByIdData, type DeleteAdminTrainingSessionsByIdError, type DeleteAdminTrainingSessionsByIdErrors, type DeleteAdminTrainingSessionsByIdResponses, type DeleteAdminUserProfilesByIdData, type DeleteAdminUserProfilesByIdError, type DeleteAdminUserProfilesByIdErrors, type DeleteAdminUserProfilesByIdResponses, type DeleteAdminWebhookConfigsByIdData, type DeleteAdminWebhookConfigsByIdError, type DeleteAdminWebhookConfigsByIdErrors, type DeleteAdminWebhookConfigsByIdResponses, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteAdminWorkspacesByIdData, type DeleteAdminWorkspacesByIdError, type DeleteAdminWorkspacesByIdErrors, type DeleteAdminWorkspacesByIdResponses, type DocumentBulkDeleteRequest, DocumentBulkDeleteSchema, type DocumentBulkReprocessRequest, DocumentBulkReprocessSchema, type DocumentChunk, type DocumentStats, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type ExtractionSchema, type ExtractionSchemaField, type FieldTemplate, type GetAdminAccountsByIdData, type GetAdminAccountsByIdError, type GetAdminAccountsByIdErrors, type GetAdminAccountsByIdResponse, type GetAdminAccountsByIdResponses, type GetAdminAccountsData, type GetAdminAccountsError, type GetAdminAccountsErrors, type GetAdminAccountsResponse, type GetAdminAccountsResponses, type GetAdminAgentVersionsByIdData, type GetAdminAgentVersionsByIdError, type GetAdminAgentVersionsByIdErrors, type GetAdminAgentVersionsByIdResponse, type GetAdminAgentVersionsByIdResponses, type GetAdminAgentVersionsData, type GetAdminAgentVersionsError, type GetAdminAgentVersionsErrors, type GetAdminAgentVersionsResponse, type GetAdminAgentVersionsResponses, type GetAdminAgentsByIdData, type GetAdminAgentsByIdError, type GetAdminAgentsByIdErrors, type GetAdminAgentsByIdResponse, type GetAdminAgentsByIdResponses, type GetAdminAgentsByIdTrainingStatsData, type GetAdminAgentsByIdTrainingStatsError, type GetAdminAgentsByIdTrainingStatsErrors, type GetAdminAgentsByIdTrainingStatsResponse, type GetAdminAgentsByIdTrainingStatsResponses, type GetAdminAgentsData, type GetAdminAgentsError, type GetAdminAgentsErrors, type GetAdminAgentsResponse, type GetAdminAgentsResponses, type GetAdminAiChunksDocumentByDocumentIdData, type GetAdminAiChunksDocumentByDocumentIdError, type GetAdminAiChunksDocumentByDocumentIdErrors, type GetAdminAiChunksDocumentByDocumentIdResponse, type GetAdminAiChunksDocumentByDocumentIdResponses, type GetAdminAiConversationsByIdData, type GetAdminAiConversationsByIdError, type GetAdminAiConversationsByIdErrors, type GetAdminAiConversationsByIdResponse, type GetAdminAiConversationsByIdResponses, type GetAdminAiConversationsData, type GetAdminAiConversationsError, type GetAdminAiConversationsErrors, type GetAdminAiConversationsResponse, type GetAdminAiConversationsResponses, type GetAdminAiGraphEdgesData, type GetAdminAiGraphEdgesError, type GetAdminAiGraphEdgesErrors, type GetAdminAiGraphEdgesResponse, type GetAdminAiGraphEdgesResponses, type GetAdminAiGraphNodesData, type GetAdminAiGraphNodesError, type GetAdminAiGraphNodesErrors, type GetAdminAiGraphNodesResponse, type GetAdminAiGraphNodesResponses, type GetAdminAiMessagesData, type GetAdminAiMessagesError, type GetAdminAiMessagesErrors, type GetAdminAiMessagesResponse, type GetAdminAiMessagesResponses, type GetAdminApiKeysByIdData, type GetAdminApiKeysByIdError, type GetAdminApiKeysByIdErrors, type GetAdminApiKeysByIdResponse, type GetAdminApiKeysByIdResponses, type GetAdminApiKeysData, type GetAdminApiKeysError, type GetAdminApiKeysErrors, type GetAdminApiKeysResponse, type GetAdminApiKeysResponses, type GetAdminApplicationsByIdData, type GetAdminApplicationsByIdError, type GetAdminApplicationsByIdErrors, type GetAdminApplicationsByIdResponse, type GetAdminApplicationsByIdResponses, type GetAdminApplicationsBySlugBySlugData, type GetAdminApplicationsBySlugBySlugError, type GetAdminApplicationsBySlugBySlugErrors, type GetAdminApplicationsBySlugBySlugResponse, type GetAdminApplicationsBySlugBySlugResponses, type GetAdminApplicationsData, type GetAdminApplicationsError, type GetAdminApplicationsErrors, type GetAdminApplicationsResponse, type GetAdminApplicationsResponses, type GetAdminAuditLogsData, type GetAdminAuditLogsError, type GetAdminAuditLogsErrors, type GetAdminAuditLogsResponse, type GetAdminAuditLogsResponses, type GetAdminBucketsByIdData, type GetAdminBucketsByIdError, type GetAdminBucketsByIdErrors, type GetAdminBucketsByIdObjectsData, type GetAdminBucketsByIdObjectsError, type GetAdminBucketsByIdObjectsErrors, type GetAdminBucketsByIdObjectsResponse, type GetAdminBucketsByIdObjectsResponses, type GetAdminBucketsByIdResponse, type GetAdminBucketsByIdResponses, type GetAdminBucketsByIdStatsData, type GetAdminBucketsByIdStatsError, type GetAdminBucketsByIdStatsErrors, type GetAdminBucketsByIdStatsResponse, type GetAdminBucketsByIdStatsResponses, type GetAdminBucketsData, type GetAdminBucketsError, type GetAdminBucketsErrors, type GetAdminBucketsResponse, type GetAdminBucketsResponses, type GetAdminConfigsData, type GetAdminConfigsError, type GetAdminConfigsErrors, type GetAdminConfigsResponse, type GetAdminConfigsResponses, type GetAdminCreditPackagesByIdData, type GetAdminCreditPackagesByIdError, type GetAdminCreditPackagesByIdErrors, type GetAdminCreditPackagesByIdResponse, type GetAdminCreditPackagesByIdResponses, type GetAdminCreditPackagesData, type GetAdminCreditPackagesError, type GetAdminCreditPackagesErrors, type GetAdminCreditPackagesResponse, type GetAdminCreditPackagesResponses, type GetAdminCreditPackagesSlugBySlugData, type GetAdminCreditPackagesSlugBySlugError, type GetAdminCreditPackagesSlugBySlugErrors, type GetAdminCreditPackagesSlugBySlugResponse, type GetAdminCreditPackagesSlugBySlugResponses, type GetAdminCustomersByIdData, type GetAdminCustomersByIdError, type GetAdminCustomersByIdErrors, type GetAdminCustomersByIdResponse, type GetAdminCustomersByIdResponses, type GetAdminDocumentsStatsData, type GetAdminDocumentsStatsError, type GetAdminDocumentsStatsErrors, type GetAdminDocumentsStatsResponse, type GetAdminDocumentsStatsResponses, type GetAdminExtractionBatchesByIdData, type GetAdminExtractionBatchesByIdError, type GetAdminExtractionBatchesByIdErrors, type GetAdminExtractionBatchesByIdResponse, type GetAdminExtractionBatchesByIdResponses, type GetAdminExtractionBatchesByIdUploadUrlsData, type GetAdminExtractionBatchesByIdUploadUrlsError, type GetAdminExtractionBatchesByIdUploadUrlsErrors, type GetAdminExtractionBatchesByIdUploadUrlsResponse, type GetAdminExtractionBatchesByIdUploadUrlsResponses, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdData, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdError, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetAdminExtractionDocumentsByIdData, type GetAdminExtractionDocumentsByIdError, type GetAdminExtractionDocumentsByIdErrors, type GetAdminExtractionDocumentsByIdResponse, type GetAdminExtractionDocumentsByIdResponses, type GetAdminExtractionDocumentsByIdStatusData, type GetAdminExtractionDocumentsByIdStatusError, type GetAdminExtractionDocumentsByIdStatusErrors, type GetAdminExtractionDocumentsByIdStatusResponse, type GetAdminExtractionDocumentsByIdStatusResponses, type GetAdminExtractionDocumentsByIdViewData, type GetAdminExtractionDocumentsByIdViewError, type GetAdminExtractionDocumentsByIdViewErrors, type GetAdminExtractionDocumentsByIdViewResponse, type GetAdminExtractionDocumentsByIdViewResponses, type GetAdminExtractionDocumentsData, type GetAdminExtractionDocumentsError, type GetAdminExtractionDocumentsErrors, type GetAdminExtractionDocumentsResponse, type GetAdminExtractionDocumentsResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetAdminExtractionResultsByIdData, type GetAdminExtractionResultsByIdError, type GetAdminExtractionResultsByIdErrors, type GetAdminExtractionResultsByIdResponse, type GetAdminExtractionResultsByIdResponses, type GetAdminExtractionResultsDocumentByDocumentIdData, type GetAdminExtractionResultsDocumentByDocumentIdError, type GetAdminExtractionResultsDocumentByDocumentIdErrors, type GetAdminExtractionResultsDocumentByDocumentIdResponse, type GetAdminExtractionResultsDocumentByDocumentIdResponses, type GetAdminExtractionSchemaFieldsByIdData, type GetAdminExtractionSchemaFieldsByIdError, type GetAdminExtractionSchemaFieldsByIdErrors, type GetAdminExtractionSchemaFieldsByIdResponse, type GetAdminExtractionSchemaFieldsByIdResponses, type GetAdminExtractionSchemaFieldsData, type GetAdminExtractionSchemaFieldsError, type GetAdminExtractionSchemaFieldsErrors, type GetAdminExtractionSchemaFieldsResponse, type GetAdminExtractionSchemaFieldsResponses, type GetAdminExtractionSchemasByIdData, type GetAdminExtractionSchemasByIdError, type GetAdminExtractionSchemasByIdErrors, type GetAdminExtractionSchemasByIdResponse, type GetAdminExtractionSchemasByIdResponses, type GetAdminExtractionSchemasData, type GetAdminExtractionSchemasError, type GetAdminExtractionSchemasErrors, type GetAdminExtractionSchemasResponse, type GetAdminExtractionSchemasResponses, type GetAdminExtractionSchemasWorkspaceByWorkspaceIdData, type GetAdminExtractionSchemasWorkspaceByWorkspaceIdError, type GetAdminExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetAdminExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetAdminExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetAdminFieldTemplatesByIdData, type GetAdminFieldTemplatesByIdError, type GetAdminFieldTemplatesByIdErrors, type GetAdminFieldTemplatesByIdResponse, type GetAdminFieldTemplatesByIdResponses, type GetAdminFieldTemplatesData, type GetAdminFieldTemplatesError, type GetAdminFieldTemplatesErrors, type GetAdminFieldTemplatesResponse, type GetAdminFieldTemplatesResponses, type GetAdminInvitationsConsumeByTokenData, type GetAdminInvitationsConsumeByTokenError, type GetAdminInvitationsConsumeByTokenErrors, type GetAdminInvitationsConsumeByTokenResponse, type GetAdminInvitationsConsumeByTokenResponses, type GetAdminInvitationsData, type GetAdminInvitationsError, type GetAdminInvitationsErrors, type GetAdminInvitationsResponse, type GetAdminInvitationsResponses, type GetAdminIsvRevenueByIdData, type GetAdminIsvRevenueByIdError, type GetAdminIsvRevenueByIdErrors, type GetAdminIsvRevenueByIdResponse, type GetAdminIsvRevenueByIdResponses, type GetAdminIsvRevenueData, type GetAdminIsvRevenueError, type GetAdminIsvRevenueErrors, type GetAdminIsvRevenueResponse, type GetAdminIsvRevenueResponses, type GetAdminIsvSettlementsByIdData, type GetAdminIsvSettlementsByIdError, type GetAdminIsvSettlementsByIdErrors, type GetAdminIsvSettlementsByIdResponse, type GetAdminIsvSettlementsByIdResponses, type GetAdminIsvSettlementsData, type GetAdminIsvSettlementsError, type GetAdminIsvSettlementsErrors, type GetAdminIsvSettlementsResponse, type GetAdminIsvSettlementsResponses, type GetAdminLedgerByIdData, type GetAdminLedgerByIdError, type GetAdminLedgerByIdErrors, type GetAdminLedgerByIdResponse, type GetAdminLedgerByIdResponses, type GetAdminLedgerData, type GetAdminLedgerError, type GetAdminLedgerErrors, type GetAdminLedgerResponse, type GetAdminLedgerResponses, type GetAdminLlmAnalyticsByIdData, type GetAdminLlmAnalyticsByIdError, type GetAdminLlmAnalyticsByIdErrors, type GetAdminLlmAnalyticsByIdResponse, type GetAdminLlmAnalyticsByIdResponses, type GetAdminLlmAnalyticsCostsData, type GetAdminLlmAnalyticsCostsError, type GetAdminLlmAnalyticsCostsErrors, type GetAdminLlmAnalyticsCostsResponse, type GetAdminLlmAnalyticsCostsResponses, type GetAdminLlmAnalyticsData, type GetAdminLlmAnalyticsError, type GetAdminLlmAnalyticsErrors, type GetAdminLlmAnalyticsPlatformData, type GetAdminLlmAnalyticsPlatformError, type GetAdminLlmAnalyticsPlatformErrors, type GetAdminLlmAnalyticsPlatformResponse, type GetAdminLlmAnalyticsPlatformResponses, type GetAdminLlmAnalyticsResponse, type GetAdminLlmAnalyticsResponses, type GetAdminLlmAnalyticsSummaryData, type GetAdminLlmAnalyticsSummaryError, type GetAdminLlmAnalyticsSummaryErrors, type GetAdminLlmAnalyticsSummaryResponse, type GetAdminLlmAnalyticsSummaryResponses, type GetAdminLlmAnalyticsUsageData, type GetAdminLlmAnalyticsUsageError, type GetAdminLlmAnalyticsUsageErrors, type GetAdminLlmAnalyticsUsageResponse, type GetAdminLlmAnalyticsUsageResponses, type GetAdminLlmAnalyticsWorkspaceData, type GetAdminLlmAnalyticsWorkspaceError, type GetAdminLlmAnalyticsWorkspaceErrors, type GetAdminLlmAnalyticsWorkspaceResponse, type GetAdminLlmAnalyticsWorkspaceResponses, type GetAdminMessagesByIdData, type GetAdminMessagesByIdError, type GetAdminMessagesByIdErrors, type GetAdminMessagesByIdResponse, type GetAdminMessagesByIdResponses, type GetAdminMessagesData, type GetAdminMessagesError, type GetAdminMessagesErrors, type GetAdminMessagesResponse, type GetAdminMessagesResponses, type GetAdminMessagesSearchData, type GetAdminMessagesSearchError, type GetAdminMessagesSearchErrors, type GetAdminMessagesSearchResponse, type GetAdminMessagesSearchResponses, type GetAdminNotificationLogsByIdData, type GetAdminNotificationLogsByIdError, type GetAdminNotificationLogsByIdErrors, type GetAdminNotificationLogsByIdResponse, type GetAdminNotificationLogsByIdResponses, type GetAdminNotificationLogsData, type GetAdminNotificationLogsError, type GetAdminNotificationLogsErrors, type GetAdminNotificationLogsResponse, type GetAdminNotificationLogsResponses, type GetAdminNotificationMethodsByIdData, type GetAdminNotificationMethodsByIdError, type GetAdminNotificationMethodsByIdErrors, type GetAdminNotificationMethodsByIdResponse, type GetAdminNotificationMethodsByIdResponses, type GetAdminNotificationMethodsData, type GetAdminNotificationMethodsError, type GetAdminNotificationMethodsErrors, type GetAdminNotificationMethodsResponse, type GetAdminNotificationMethodsResponses, type GetAdminNotificationPreferencesByIdData, type GetAdminNotificationPreferencesByIdError, type GetAdminNotificationPreferencesByIdErrors, type GetAdminNotificationPreferencesByIdResponse, type GetAdminNotificationPreferencesByIdResponses, type GetAdminNotificationPreferencesData, type GetAdminNotificationPreferencesError, type GetAdminNotificationPreferencesErrors, type GetAdminNotificationPreferencesResponse, type GetAdminNotificationPreferencesResponses, type GetAdminObjectsByIdData, type GetAdminObjectsByIdError, type GetAdminObjectsByIdErrors, type GetAdminObjectsByIdResponse, type GetAdminObjectsByIdResponses, type GetAdminObjectsData, type GetAdminObjectsError, type GetAdminObjectsErrors, type GetAdminObjectsResponse, type GetAdminObjectsResponses, type GetAdminPaymentMethodsByIdData, type GetAdminPaymentMethodsByIdError, type GetAdminPaymentMethodsByIdErrors, type GetAdminPaymentMethodsByIdResponse, type GetAdminPaymentMethodsByIdResponses, type GetAdminPaymentMethodsData, type GetAdminPaymentMethodsError, type GetAdminPaymentMethodsErrors, type GetAdminPaymentMethodsResponse, type GetAdminPaymentMethodsResponses, type GetAdminPlansByIdData, type GetAdminPlansByIdError, type GetAdminPlansByIdErrors, type GetAdminPlansByIdResponse, type GetAdminPlansByIdResponses, type GetAdminPlansData, type GetAdminPlansError, type GetAdminPlansErrors, type GetAdminPlansResponse, type GetAdminPlansResponses, type GetAdminPlansSlugBySlugData, type GetAdminPlansSlugBySlugError, type GetAdminPlansSlugBySlugErrors, type GetAdminPlansSlugBySlugResponse, type GetAdminPlansSlugBySlugResponses, type GetAdminPricingRulesByIdData, type GetAdminPricingRulesByIdError, type GetAdminPricingRulesByIdErrors, type GetAdminPricingRulesByIdResponse, type GetAdminPricingRulesByIdResponses, type GetAdminPricingRulesData, type GetAdminPricingRulesError, type GetAdminPricingRulesErrors, type GetAdminPricingRulesResolveData, type GetAdminPricingRulesResolveError, type GetAdminPricingRulesResolveErrors, type GetAdminPricingRulesResolveResponse, type GetAdminPricingRulesResolveResponses, type GetAdminPricingRulesResponse, type GetAdminPricingRulesResponses, type GetAdminPricingStrategiesByIdData, type GetAdminPricingStrategiesByIdError, type GetAdminPricingStrategiesByIdErrors, type GetAdminPricingStrategiesByIdResponse, type GetAdminPricingStrategiesByIdResponses, type GetAdminPricingStrategiesData, type GetAdminPricingStrategiesError, type GetAdminPricingStrategiesErrors, type GetAdminPricingStrategiesResponse, type GetAdminPricingStrategiesResponses, type GetAdminSearchData, type GetAdminSearchError, type GetAdminSearchErrors, type GetAdminSearchHealthData, type GetAdminSearchHealthError, type GetAdminSearchHealthErrors, type GetAdminSearchHealthResponse, type GetAdminSearchHealthResponses, type GetAdminSearchIndexesData, type GetAdminSearchIndexesError, type GetAdminSearchIndexesErrors, type GetAdminSearchIndexesResponse, type GetAdminSearchIndexesResponses, type GetAdminSearchResponse, type GetAdminSearchResponses, type GetAdminSearchSavedData, type GetAdminSearchSavedError, type GetAdminSearchSavedErrors, type GetAdminSearchSavedResponse, type GetAdminSearchSavedResponses, type GetAdminSearchSemanticData, type GetAdminSearchSemanticError, type GetAdminSearchSemanticErrors, type GetAdminSearchSemanticResponse, type GetAdminSearchSemanticResponses, type GetAdminSearchStatsData, type GetAdminSearchStatsError, type GetAdminSearchStatsErrors, type GetAdminSearchStatsResponse, type GetAdminSearchStatsResponses, type GetAdminSearchStatusData, type GetAdminSearchStatusError, type GetAdminSearchStatusErrors, type GetAdminSearchStatusResponse, type GetAdminSearchStatusResponses, type GetAdminStorageStatsData, type GetAdminStorageStatsError, type GetAdminStorageStatsErrors, type GetAdminStorageStatsResponse, type GetAdminStorageStatsResponses, type GetAdminSubscriptionsByIdData, type GetAdminSubscriptionsByIdError, type GetAdminSubscriptionsByIdErrors, type GetAdminSubscriptionsByIdResponse, type GetAdminSubscriptionsByIdResponses, type GetAdminSubscriptionsData, type GetAdminSubscriptionsError, type GetAdminSubscriptionsErrors, type GetAdminSubscriptionsResponse, type GetAdminSubscriptionsResponses, type GetAdminSysAiConfigByIdData, type GetAdminSysAiConfigByIdError, type GetAdminSysAiConfigByIdErrors, type GetAdminSysAiConfigByIdResponse, type GetAdminSysAiConfigByIdResponses, type GetAdminSysAiConfigData, type GetAdminSysAiConfigError, type GetAdminSysAiConfigErrors, type GetAdminSysAiConfigResponse, type GetAdminSysAiConfigResponses, type GetAdminSysSemanticCacheByIdData, type GetAdminSysSemanticCacheByIdError, type GetAdminSysSemanticCacheByIdErrors, type GetAdminSysSemanticCacheByIdResponse, type GetAdminSysSemanticCacheByIdResponses, type GetAdminTenantMembershipsData, type GetAdminTenantMembershipsError, type GetAdminTenantMembershipsErrors, type GetAdminTenantMembershipsResponse, type GetAdminTenantMembershipsResponses, type GetAdminTenantsByIdData, type GetAdminTenantsByIdError, type GetAdminTenantsByIdErrors, type GetAdminTenantsByIdResponse, type GetAdminTenantsByIdResponses, type GetAdminTenantsByTenantIdDocumentStatsData, type GetAdminTenantsByTenantIdDocumentStatsError, type GetAdminTenantsByTenantIdDocumentStatsErrors, type GetAdminTenantsByTenantIdDocumentStatsResponse, type GetAdminTenantsByTenantIdDocumentStatsResponses, type GetAdminTenantsByTenantIdStatsData, type GetAdminTenantsByTenantIdStatsError, type GetAdminTenantsByTenantIdStatsErrors, type GetAdminTenantsByTenantIdStatsResponse, type GetAdminTenantsByTenantIdStatsResponses, type GetAdminTenantsByTenantIdWorkspaceStatsData, type GetAdminTenantsByTenantIdWorkspaceStatsError, type GetAdminTenantsByTenantIdWorkspaceStatsErrors, type GetAdminTenantsByTenantIdWorkspaceStatsResponse, type GetAdminTenantsByTenantIdWorkspaceStatsResponses, type GetAdminTenantsData, type GetAdminTenantsError, type GetAdminTenantsErrors, type GetAdminTenantsResponse, type GetAdminTenantsResponses, type GetAdminThreadsByIdData, type GetAdminThreadsByIdError, type GetAdminThreadsByIdErrors, type GetAdminThreadsByIdResponse, type GetAdminThreadsByIdResponses, type GetAdminThreadsData, type GetAdminThreadsError, type GetAdminThreadsErrors, type GetAdminThreadsResponse, type GetAdminThreadsResponses, type GetAdminThreadsSearchData, type GetAdminThreadsSearchError, type GetAdminThreadsSearchErrors, type GetAdminThreadsSearchResponse, type GetAdminThreadsSearchResponses, type GetAdminTrainingExamplesByIdData, type GetAdminTrainingExamplesByIdError, type GetAdminTrainingExamplesByIdErrors, type GetAdminTrainingExamplesByIdResponse, type GetAdminTrainingExamplesByIdResponses, type GetAdminTrainingExamplesData, type GetAdminTrainingExamplesError, type GetAdminTrainingExamplesErrors, type GetAdminTrainingExamplesResponse, type GetAdminTrainingExamplesResponses, type GetAdminTrainingSessionsAgentsByAgentIdSessionsData, type GetAdminTrainingSessionsAgentsByAgentIdSessionsError, type GetAdminTrainingSessionsAgentsByAgentIdSessionsErrors, type GetAdminTrainingSessionsAgentsByAgentIdSessionsResponse, type GetAdminTrainingSessionsAgentsByAgentIdSessionsResponses, type GetAdminTrainingSessionsByIdData, type GetAdminTrainingSessionsByIdError, type GetAdminTrainingSessionsByIdErrors, type GetAdminTrainingSessionsByIdResponse, type GetAdminTrainingSessionsByIdResponses, type GetAdminTransactionsByIdData, type GetAdminTransactionsByIdError, type GetAdminTransactionsByIdErrors, type GetAdminTransactionsByIdResponse, type GetAdminTransactionsByIdResponses, type GetAdminTransactionsData, type GetAdminTransactionsError, type GetAdminTransactionsErrors, type GetAdminTransactionsResponse, type GetAdminTransactionsResponses, type GetAdminUserProfilesByIdData, type GetAdminUserProfilesByIdError, type GetAdminUserProfilesByIdErrors, type GetAdminUserProfilesByIdResponse, type GetAdminUserProfilesByIdResponses, type GetAdminUserProfilesData, type GetAdminUserProfilesError, type GetAdminUserProfilesErrors, type GetAdminUserProfilesMeData, type GetAdminUserProfilesMeError, type GetAdminUserProfilesMeErrors, type GetAdminUserProfilesMeResponse, type GetAdminUserProfilesMeResponses, type GetAdminUserProfilesResponse, type GetAdminUserProfilesResponses, type GetAdminUsersByIdData, type GetAdminUsersByIdError, type GetAdminUsersByIdErrors, type GetAdminUsersByIdResponse, type GetAdminUsersByIdResponses, type GetAdminUsersData, type GetAdminUsersError, type GetAdminUsersErrors, type GetAdminUsersMeData, type GetAdminUsersMeError, type GetAdminUsersMeErrors, type GetAdminUsersMeResponse, type GetAdminUsersMeResponses, type GetAdminUsersResponse, type GetAdminUsersResponses, type GetAdminWalletData, type GetAdminWalletError, type GetAdminWalletErrors, type GetAdminWalletResponse, type GetAdminWalletResponses, type GetAdminWebhookConfigsByIdData, type GetAdminWebhookConfigsByIdError, type GetAdminWebhookConfigsByIdErrors, type GetAdminWebhookConfigsByIdResponse, type GetAdminWebhookConfigsByIdResponses, type GetAdminWebhookConfigsData, type GetAdminWebhookConfigsError, type GetAdminWebhookConfigsErrors, type GetAdminWebhookConfigsResponse, type GetAdminWebhookConfigsResponses, type GetAdminWebhookDeliveriesByIdData, type GetAdminWebhookDeliveriesByIdError, type GetAdminWebhookDeliveriesByIdErrors, type GetAdminWebhookDeliveriesByIdResponse, type GetAdminWebhookDeliveriesByIdResponses, type GetAdminWebhookDeliveriesData, type GetAdminWebhookDeliveriesError, type GetAdminWebhookDeliveriesErrors, type GetAdminWebhookDeliveriesResponse, type GetAdminWebhookDeliveriesResponses, type GetAdminWorkspaceMembershipsData, type GetAdminWorkspaceMembershipsError, type GetAdminWorkspaceMembershipsErrors, type GetAdminWorkspaceMembershipsResponse, type GetAdminWorkspaceMembershipsResponses, type GetAdminWorkspacesByIdData, type GetAdminWorkspacesByIdError, type GetAdminWorkspacesByIdErrors, type GetAdminWorkspacesByIdResponse, type GetAdminWorkspacesByIdResponses, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetAdminWorkspacesByWorkspaceIdExtractionExportsData, type GetAdminWorkspacesByWorkspaceIdExtractionExportsError, type GetAdminWorkspacesByWorkspaceIdExtractionExportsErrors, type GetAdminWorkspacesByWorkspaceIdExtractionExportsResponse, type GetAdminWorkspacesByWorkspaceIdExtractionExportsResponses, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetAdminWorkspacesData, type GetAdminWorkspacesError, type GetAdminWorkspacesErrors, type GetAdminWorkspacesMineData, type GetAdminWorkspacesMineError, type GetAdminWorkspacesMineErrors, type GetAdminWorkspacesMineResponse, type GetAdminWorkspacesMineResponses, type GetAdminWorkspacesResponse, type GetAdminWorkspacesResponses, GptAdmin, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type Message, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type OperationSuccess, type PatchAdminAccountsByIdCreditData, type PatchAdminAccountsByIdCreditError, type PatchAdminAccountsByIdCreditErrors, type PatchAdminAccountsByIdCreditResponse, type PatchAdminAccountsByIdCreditResponses, type PatchAdminAccountsByIdDebitData, type PatchAdminAccountsByIdDebitError, type PatchAdminAccountsByIdDebitErrors, type PatchAdminAccountsByIdDebitResponse, type PatchAdminAccountsByIdDebitResponses, type PatchAdminApiKeysByIdAllocateData, type PatchAdminApiKeysByIdAllocateError, type PatchAdminApiKeysByIdAllocateErrors, type PatchAdminApiKeysByIdAllocateResponse, type PatchAdminApiKeysByIdAllocateResponses, type PatchAdminApiKeysByIdData, type PatchAdminApiKeysByIdError, type PatchAdminApiKeysByIdErrors, type PatchAdminApiKeysByIdResponse, type PatchAdminApiKeysByIdResponses, type PatchAdminApiKeysByIdRevokeData, type PatchAdminApiKeysByIdRevokeError, type PatchAdminApiKeysByIdRevokeErrors, type PatchAdminApiKeysByIdRevokeResponse, type PatchAdminApiKeysByIdRevokeResponses, type PatchAdminApiKeysByIdRotateData, type PatchAdminApiKeysByIdRotateError, type PatchAdminApiKeysByIdRotateErrors, type PatchAdminApiKeysByIdRotateResponse, type PatchAdminApiKeysByIdRotateResponses, type PatchAdminApiKeysByIdSetBudgetData, type PatchAdminApiKeysByIdSetBudgetError, type PatchAdminApiKeysByIdSetBudgetErrors, type PatchAdminApiKeysByIdSetBudgetResponse, type PatchAdminApiKeysByIdSetBudgetResponses, type PatchAdminApplicationsByIdData, type PatchAdminApplicationsByIdError, type PatchAdminApplicationsByIdErrors, type PatchAdminApplicationsByIdGrantCreditsData, type PatchAdminApplicationsByIdGrantCreditsError, type PatchAdminApplicationsByIdGrantCreditsErrors, type PatchAdminApplicationsByIdGrantCreditsResponse, type PatchAdminApplicationsByIdGrantCreditsResponses, type PatchAdminApplicationsByIdResponse, type PatchAdminApplicationsByIdResponses, type PatchAdminBucketsByIdData, type PatchAdminBucketsByIdError, type PatchAdminBucketsByIdErrors, type PatchAdminBucketsByIdResponse, type PatchAdminBucketsByIdResponses, type PatchAdminConfigsByKeyData, type PatchAdminConfigsByKeyError, type PatchAdminConfigsByKeyErrors, type PatchAdminConfigsByKeyResponse, type PatchAdminConfigsByKeyResponses, type PatchAdminCreditPackagesByIdData, type PatchAdminCreditPackagesByIdError, type PatchAdminCreditPackagesByIdErrors, type PatchAdminCreditPackagesByIdResponse, type PatchAdminCreditPackagesByIdResponses, type PatchAdminCustomersByIdData, type PatchAdminCustomersByIdError, type PatchAdminCustomersByIdErrors, type PatchAdminCustomersByIdResponse, type PatchAdminCustomersByIdResponses, type PatchAdminExtractionDocumentsByIdCancelData, type PatchAdminExtractionDocumentsByIdCancelError, type PatchAdminExtractionDocumentsByIdCancelErrors, type PatchAdminExtractionDocumentsByIdCancelResponse, type PatchAdminExtractionDocumentsByIdCancelResponses, type PatchAdminExtractionDocumentsByIdDismissData, type PatchAdminExtractionDocumentsByIdDismissError, type PatchAdminExtractionDocumentsByIdDismissErrors, type PatchAdminExtractionDocumentsByIdDismissResponse, type PatchAdminExtractionDocumentsByIdDismissResponses, type PatchAdminExtractionDocumentsByIdDismissTrainingData, type PatchAdminExtractionDocumentsByIdDismissTrainingError, type PatchAdminExtractionDocumentsByIdDismissTrainingErrors, type PatchAdminExtractionDocumentsByIdDismissTrainingResponse, type PatchAdminExtractionDocumentsByIdDismissTrainingResponses, type PatchAdminExtractionDocumentsByIdExcludeData, type PatchAdminExtractionDocumentsByIdExcludeError, type PatchAdminExtractionDocumentsByIdExcludeErrors, type PatchAdminExtractionDocumentsByIdExcludeResponse, type PatchAdminExtractionDocumentsByIdExcludeResponses, type PatchAdminExtractionDocumentsByIdFinishUploadData, type PatchAdminExtractionDocumentsByIdFinishUploadError, type PatchAdminExtractionDocumentsByIdFinishUploadErrors, type PatchAdminExtractionDocumentsByIdFinishUploadResponse, type PatchAdminExtractionDocumentsByIdFinishUploadResponses, type PatchAdminExtractionDocumentsByIdIncludeData, type PatchAdminExtractionDocumentsByIdIncludeError, type PatchAdminExtractionDocumentsByIdIncludeErrors, type PatchAdminExtractionDocumentsByIdIncludeResponse, type PatchAdminExtractionDocumentsByIdIncludeResponses, type PatchAdminExtractionDocumentsByIdMarkTrainedData, type PatchAdminExtractionDocumentsByIdMarkTrainedError, type PatchAdminExtractionDocumentsByIdMarkTrainedErrors, type PatchAdminExtractionDocumentsByIdMarkTrainedResponse, type PatchAdminExtractionDocumentsByIdMarkTrainedResponses, type PatchAdminExtractionDocumentsByIdRestoreData, type PatchAdminExtractionDocumentsByIdRestoreError, type PatchAdminExtractionDocumentsByIdRestoreErrors, type PatchAdminExtractionDocumentsByIdRestoreResponse, type PatchAdminExtractionDocumentsByIdRestoreResponses, type PatchAdminExtractionDocumentsByIdStatusData, type PatchAdminExtractionDocumentsByIdStatusError, type PatchAdminExtractionDocumentsByIdStatusErrors, type PatchAdminExtractionDocumentsByIdStatusResponse, type PatchAdminExtractionDocumentsByIdStatusResponses, type PatchAdminExtractionResultsByIdCorrectionsData, type PatchAdminExtractionResultsByIdCorrectionsError, type PatchAdminExtractionResultsByIdCorrectionsErrors, type PatchAdminExtractionResultsByIdCorrectionsResponse, type PatchAdminExtractionResultsByIdCorrectionsResponses, type PatchAdminExtractionResultsByIdRegenerateData, type PatchAdminExtractionResultsByIdRegenerateError, type PatchAdminExtractionResultsByIdRegenerateErrors, type PatchAdminExtractionResultsByIdRegenerateResponse, type PatchAdminExtractionResultsByIdRegenerateResponses, type PatchAdminExtractionSchemaFieldsByIdData, type PatchAdminExtractionSchemaFieldsByIdError, type PatchAdminExtractionSchemaFieldsByIdErrors, type PatchAdminExtractionSchemaFieldsByIdResponse, type PatchAdminExtractionSchemaFieldsByIdResponses, type PatchAdminExtractionSchemasByIdActivateData, type PatchAdminExtractionSchemasByIdActivateError, type PatchAdminExtractionSchemasByIdActivateErrors, type PatchAdminExtractionSchemasByIdActivateResponse, type PatchAdminExtractionSchemasByIdActivateResponses, type PatchAdminExtractionSchemasByIdData, type PatchAdminExtractionSchemasByIdError, type PatchAdminExtractionSchemasByIdErrors, type PatchAdminExtractionSchemasByIdFieldsData, type PatchAdminExtractionSchemasByIdFieldsError, type PatchAdminExtractionSchemasByIdFieldsErrors, type PatchAdminExtractionSchemasByIdFieldsResponse, type PatchAdminExtractionSchemasByIdFieldsResponses, type PatchAdminExtractionSchemasByIdResponse, type PatchAdminExtractionSchemasByIdResponses, type PatchAdminInvitationsByIdAcceptData, type PatchAdminInvitationsByIdAcceptError, type PatchAdminInvitationsByIdAcceptErrors, type PatchAdminInvitationsByIdAcceptResponse, type PatchAdminInvitationsByIdAcceptResponses, type PatchAdminInvitationsByIdResendData, type PatchAdminInvitationsByIdResendError, type PatchAdminInvitationsByIdResendErrors, type PatchAdminInvitationsByIdResendResponse, type PatchAdminInvitationsByIdResendResponses, type PatchAdminInvitationsByIdRevokeData, type PatchAdminInvitationsByIdRevokeError, type PatchAdminInvitationsByIdRevokeErrors, type PatchAdminInvitationsByIdRevokeResponse, type PatchAdminInvitationsByIdRevokeResponses, type PatchAdminIsvSettlementsByIdData, type PatchAdminIsvSettlementsByIdError, type PatchAdminIsvSettlementsByIdErrors, type PatchAdminIsvSettlementsByIdResponse, type PatchAdminIsvSettlementsByIdResponses, type PatchAdminMessagesByIdData, type PatchAdminMessagesByIdError, type PatchAdminMessagesByIdErrors, type PatchAdminMessagesByIdResponse, type PatchAdminMessagesByIdResponses, type PatchAdminNotificationMethodsByIdData, type PatchAdminNotificationMethodsByIdError, type PatchAdminNotificationMethodsByIdErrors, type PatchAdminNotificationMethodsByIdResponse, type PatchAdminNotificationMethodsByIdResponses, type PatchAdminNotificationMethodsByIdSetPrimaryData, type PatchAdminNotificationMethodsByIdSetPrimaryError, type PatchAdminNotificationMethodsByIdSetPrimaryErrors, type PatchAdminNotificationMethodsByIdSetPrimaryResponse, type PatchAdminNotificationMethodsByIdSetPrimaryResponses, type PatchAdminNotificationPreferencesByIdData, type PatchAdminNotificationPreferencesByIdError, type PatchAdminNotificationPreferencesByIdErrors, type PatchAdminNotificationPreferencesByIdResponse, type PatchAdminNotificationPreferencesByIdResponses, type PatchAdminPlansByIdData, type PatchAdminPlansByIdError, type PatchAdminPlansByIdErrors, type PatchAdminPlansByIdResponse, type PatchAdminPlansByIdResponses, type PatchAdminPricingRulesByIdData, type PatchAdminPricingRulesByIdError, type PatchAdminPricingRulesByIdErrors, type PatchAdminPricingRulesByIdResponse, type PatchAdminPricingRulesByIdResponses, type PatchAdminPricingStrategiesByIdData, type PatchAdminPricingStrategiesByIdError, type PatchAdminPricingStrategiesByIdErrors, type PatchAdminPricingStrategiesByIdResponse, type PatchAdminPricingStrategiesByIdResponses, type PatchAdminSubscriptionsByIdData, type PatchAdminSubscriptionsByIdError, type PatchAdminSubscriptionsByIdErrors, type PatchAdminSubscriptionsByIdResponse, type PatchAdminSubscriptionsByIdResponses, type PatchAdminSysAiConfigByIdData, type PatchAdminSysAiConfigByIdError, type PatchAdminSysAiConfigByIdErrors, type PatchAdminSysAiConfigByIdResponse, type PatchAdminSysAiConfigByIdResponses, type PatchAdminTenantMembershipsByTenantIdByUserIdData, type PatchAdminTenantMembershipsByTenantIdByUserIdError, type PatchAdminTenantMembershipsByTenantIdByUserIdErrors, type PatchAdminTenantMembershipsByTenantIdByUserIdResponse, type PatchAdminTenantMembershipsByTenantIdByUserIdResponses, type PatchAdminTenantsByIdData, type PatchAdminTenantsByIdError, type PatchAdminTenantsByIdErrors, type PatchAdminTenantsByIdResponse, type PatchAdminTenantsByIdResponses, type PatchAdminThreadsByIdData, type PatchAdminThreadsByIdError, type PatchAdminThreadsByIdErrors, type PatchAdminThreadsByIdResponse, type PatchAdminThreadsByIdResponses, type PatchAdminTrainingExamplesByIdData, type PatchAdminTrainingExamplesByIdError, type PatchAdminTrainingExamplesByIdErrors, type PatchAdminTrainingExamplesByIdResponse, type PatchAdminTrainingExamplesByIdResponses, type PatchAdminUserProfilesByIdData, type PatchAdminUserProfilesByIdError, type PatchAdminUserProfilesByIdErrors, type PatchAdminUserProfilesByIdResponse, type PatchAdminUserProfilesByIdResponses, type PatchAdminUsersAuthResetPasswordData, type PatchAdminUsersAuthResetPasswordError, type PatchAdminUsersAuthResetPasswordErrors, type PatchAdminUsersAuthResetPasswordResponse, type PatchAdminUsersAuthResetPasswordResponses, type PatchAdminUsersByIdAdminData, type PatchAdminUsersByIdAdminEmailData, type PatchAdminUsersByIdAdminEmailError, type PatchAdminUsersByIdAdminEmailErrors, type PatchAdminUsersByIdAdminEmailResponse, type PatchAdminUsersByIdAdminEmailResponses, type PatchAdminUsersByIdAdminError, type PatchAdminUsersByIdAdminErrors, type PatchAdminUsersByIdAdminResponse, type PatchAdminUsersByIdAdminResponses, type PatchAdminUsersByIdConfirmEmailData, type PatchAdminUsersByIdConfirmEmailError, type PatchAdminUsersByIdConfirmEmailErrors, type PatchAdminUsersByIdConfirmEmailResponse, type PatchAdminUsersByIdConfirmEmailResponses, type PatchAdminUsersByIdResetPasswordData, type PatchAdminUsersByIdResetPasswordError, type PatchAdminUsersByIdResetPasswordErrors, type PatchAdminUsersByIdResetPasswordResponse, type PatchAdminUsersByIdResetPasswordResponses, type PatchAdminWalletAddonsByAddonSlugCancelData, type PatchAdminWalletAddonsByAddonSlugCancelError, type PatchAdminWalletAddonsByAddonSlugCancelErrors, type PatchAdminWalletAddonsByAddonSlugCancelResponse, type PatchAdminWalletAddonsByAddonSlugCancelResponses, type PatchAdminWalletAddonsData, type PatchAdminWalletAddonsError, type PatchAdminWalletAddonsErrors, type PatchAdminWalletAddonsResponse, type PatchAdminWalletAddonsResponses, type PatchAdminWalletCreditsData, type PatchAdminWalletCreditsError, type PatchAdminWalletCreditsErrors, type PatchAdminWalletCreditsResponse, type PatchAdminWalletCreditsResponses, type PatchAdminWalletPlanData, type PatchAdminWalletPlanError, type PatchAdminWalletPlanErrors, type PatchAdminWalletPlanResponse, type PatchAdminWalletPlanResponses, type PatchAdminWalletStorageData, type PatchAdminWalletStorageError, type PatchAdminWalletStorageErrors, type PatchAdminWalletStorageResponse, type PatchAdminWalletStorageResponses, type PatchAdminWebhookConfigsByIdData, type PatchAdminWebhookConfigsByIdError, type PatchAdminWebhookConfigsByIdErrors, type PatchAdminWebhookConfigsByIdResponse, type PatchAdminWebhookConfigsByIdResponses, type PatchAdminWebhookConfigsByIdRotateSecretData, type PatchAdminWebhookConfigsByIdRotateSecretError, type PatchAdminWebhookConfigsByIdRotateSecretErrors, type PatchAdminWebhookConfigsByIdRotateSecretResponse, type PatchAdminWebhookConfigsByIdRotateSecretResponses, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchAdminWorkspacesByIdAllocateData, type PatchAdminWorkspacesByIdAllocateError, type PatchAdminWorkspacesByIdAllocateErrors, type PatchAdminWorkspacesByIdAllocateResponse, type PatchAdminWorkspacesByIdAllocateResponses, type PatchAdminWorkspacesByIdData, type PatchAdminWorkspacesByIdError, type PatchAdminWorkspacesByIdErrors, type PatchAdminWorkspacesByIdResponse, type PatchAdminWorkspacesByIdResponses, type Payment, type PaymentMethod, type Plan, type PostAdminAgentVersionsData, type PostAdminAgentVersionsError, type PostAdminAgentVersionsErrors, type PostAdminAgentVersionsResponse, type PostAdminAgentVersionsResponses, type PostAdminAgentsByIdCloneData, type PostAdminAgentsByIdCloneError, type PostAdminAgentsByIdCloneErrors, type PostAdminAgentsByIdCloneResponse, type PostAdminAgentsByIdCloneResponses, type PostAdminAgentsByIdPublishVersionData, type PostAdminAgentsByIdPublishVersionError, type PostAdminAgentsByIdPublishVersionErrors, type PostAdminAgentsByIdPublishVersionResponse, type PostAdminAgentsByIdPublishVersionResponses, type PostAdminAgentsByIdTeachData, type PostAdminAgentsByIdTeachError, type PostAdminAgentsByIdTeachErrors, type PostAdminAgentsByIdTeachResponse, type PostAdminAgentsByIdTeachResponses, type PostAdminAgentsByIdTestData, type PostAdminAgentsByIdTestError, type PostAdminAgentsByIdTestErrors, type PostAdminAgentsByIdTestResponse, type PostAdminAgentsByIdTestResponses, type PostAdminAgentsByIdValidateData, type PostAdminAgentsByIdValidateError, type PostAdminAgentsByIdValidateErrors, type PostAdminAgentsByIdValidateResponse, type PostAdminAgentsByIdValidateResponses, type PostAdminAgentsCloneForWorkspaceData, type PostAdminAgentsCloneForWorkspaceError, type PostAdminAgentsCloneForWorkspaceErrors, type PostAdminAgentsCloneForWorkspaceResponse, type PostAdminAgentsCloneForWorkspaceResponses, type PostAdminAgentsPredictData, type PostAdminAgentsPredictError, type PostAdminAgentsPredictErrors, type PostAdminAgentsPredictResponse, type PostAdminAgentsPredictResponses, type PostAdminAiChunksSearchData, type PostAdminAiChunksSearchError, type PostAdminAiChunksSearchErrors, type PostAdminAiChunksSearchResponse, type PostAdminAiChunksSearchResponses, type PostAdminAiConversationsData, type PostAdminAiConversationsError, type PostAdminAiConversationsErrors, type PostAdminAiConversationsResponse, type PostAdminAiConversationsResponses, type PostAdminAiEmbedData, type PostAdminAiEmbedError, type PostAdminAiEmbedErrors, type PostAdminAiEmbedResponse, type PostAdminAiEmbedResponses, type PostAdminAiGraphEdgesData, type PostAdminAiGraphEdgesError, type PostAdminAiGraphEdgesErrors, type PostAdminAiGraphEdgesResponse, type PostAdminAiGraphEdgesResponses, type PostAdminAiGraphNodesData, type PostAdminAiGraphNodesError, type PostAdminAiGraphNodesErrors, type PostAdminAiGraphNodesResponse, type PostAdminAiGraphNodesResponses, type PostAdminAiMessagesData, type PostAdminAiMessagesError, type PostAdminAiMessagesErrors, type PostAdminAiMessagesResponse, type PostAdminAiMessagesResponses, type PostAdminAiSearchAdvancedData, type PostAdminAiSearchAdvancedError, type PostAdminAiSearchAdvancedErrors, type PostAdminAiSearchAdvancedResponse, type PostAdminAiSearchAdvancedResponses, type PostAdminAiSearchData, type PostAdminAiSearchError, type PostAdminAiSearchErrors, type PostAdminAiSearchResponse, type PostAdminAiSearchResponses, type PostAdminApiKeysData, type PostAdminApiKeysError, type PostAdminApiKeysErrors, type PostAdminApiKeysResponse, type PostAdminApiKeysResponses, type PostAdminApplicationsData, type PostAdminApplicationsError, type PostAdminApplicationsErrors, type PostAdminApplicationsResponse, type PostAdminApplicationsResponses, type PostAdminBucketsData, type PostAdminBucketsError, type PostAdminBucketsErrors, type PostAdminBucketsResponse, type PostAdminBucketsResponses, type PostAdminConfigsData, type PostAdminConfigsError, type PostAdminConfigsErrors, type PostAdminConfigsResponse, type PostAdminConfigsResponses, type PostAdminCreditPackagesData, type PostAdminCreditPackagesError, type PostAdminCreditPackagesErrors, type PostAdminCreditPackagesResponse, type PostAdminCreditPackagesResponses, type PostAdminCustomersData, type PostAdminCustomersError, type PostAdminCustomersErrors, type PostAdminCustomersResponse, type PostAdminCustomersResponses, type PostAdminDocumentsBulkDeleteData, type PostAdminDocumentsBulkDeleteError, type PostAdminDocumentsBulkDeleteErrors, type PostAdminDocumentsBulkDeleteResponse, type PostAdminDocumentsBulkDeleteResponses, type PostAdminDocumentsPresignedUploadData, type PostAdminDocumentsPresignedUploadError, type PostAdminDocumentsPresignedUploadErrors, type PostAdminDocumentsPresignedUploadResponse, type PostAdminDocumentsPresignedUploadResponses, type PostAdminExtractionBatchesData, type PostAdminExtractionBatchesError, type PostAdminExtractionBatchesErrors, type PostAdminExtractionBatchesResponse, type PostAdminExtractionBatchesResponses, type PostAdminExtractionDocumentsBeginUploadData, type PostAdminExtractionDocumentsBeginUploadError, type PostAdminExtractionDocumentsBeginUploadErrors, type PostAdminExtractionDocumentsBeginUploadResponse, type PostAdminExtractionDocumentsBeginUploadResponses, type PostAdminExtractionDocumentsUploadData, type PostAdminExtractionDocumentsUploadError, type PostAdminExtractionDocumentsUploadErrors, type PostAdminExtractionDocumentsUploadResponse, type PostAdminExtractionDocumentsUploadResponses, type PostAdminExtractionResultsData, type PostAdminExtractionResultsError, type PostAdminExtractionResultsErrors, type PostAdminExtractionResultsResponse, type PostAdminExtractionResultsResponses, type PostAdminExtractionSchemaFieldsData, type PostAdminExtractionSchemaFieldsError, type PostAdminExtractionSchemaFieldsErrors, type PostAdminExtractionSchemaFieldsResponse, type PostAdminExtractionSchemaFieldsResponses, type PostAdminExtractionSchemasBulkCreateData, type PostAdminExtractionSchemasBulkCreateError, type PostAdminExtractionSchemasBulkCreateErrors, type PostAdminExtractionSchemasBulkCreateResponse, type PostAdminExtractionSchemasBulkCreateResponses, type PostAdminExtractionSchemasData, type PostAdminExtractionSchemasError, type PostAdminExtractionSchemasErrors, type PostAdminExtractionSchemasResponse, type PostAdminExtractionSchemasResponses, type PostAdminFieldTemplatesData, type PostAdminFieldTemplatesError, type PostAdminFieldTemplatesErrors, type PostAdminFieldTemplatesResponse, type PostAdminFieldTemplatesResponses, type PostAdminInvitationsAcceptByTokenData, type PostAdminInvitationsAcceptByTokenError, type PostAdminInvitationsAcceptByTokenErrors, type PostAdminInvitationsAcceptByTokenResponse, type PostAdminInvitationsAcceptByTokenResponses, type PostAdminInvitationsInviteData, type PostAdminInvitationsInviteError, type PostAdminInvitationsInviteErrors, type PostAdminInvitationsInviteResponse, type PostAdminInvitationsInviteResponses, type PostAdminIsvRevenueData, type PostAdminIsvRevenueError, type PostAdminIsvRevenueErrors, type PostAdminIsvRevenueResponse, type PostAdminIsvRevenueResponses, type PostAdminIsvSettlementsData, type PostAdminIsvSettlementsError, type PostAdminIsvSettlementsErrors, type PostAdminIsvSettlementsResponse, type PostAdminIsvSettlementsResponses, type PostAdminLlmAnalyticsData, type PostAdminLlmAnalyticsError, type PostAdminLlmAnalyticsErrors, type PostAdminLlmAnalyticsResponse, type PostAdminLlmAnalyticsResponses, type PostAdminMessagesData, type PostAdminMessagesError, type PostAdminMessagesErrors, type PostAdminMessagesResponse, type PostAdminMessagesResponses, type PostAdminNotificationMethodsData, type PostAdminNotificationMethodsError, type PostAdminNotificationMethodsErrors, type PostAdminNotificationMethodsResponse, type PostAdminNotificationMethodsResponses, type PostAdminNotificationPreferencesData, type PostAdminNotificationPreferencesError, type PostAdminNotificationPreferencesErrors, type PostAdminNotificationPreferencesResponse, type PostAdminNotificationPreferencesResponses, type PostAdminObjectsBulkDestroyData, type PostAdminObjectsBulkDestroyError, type PostAdminObjectsBulkDestroyErrors, type PostAdminObjectsBulkDestroyResponse, type PostAdminObjectsBulkDestroyResponses, type PostAdminObjectsRegisterData, type PostAdminObjectsRegisterError, type PostAdminObjectsRegisterErrors, type PostAdminObjectsRegisterResponse, type PostAdminObjectsRegisterResponses, type PostAdminPaymentMethodsData, type PostAdminPaymentMethodsError, type PostAdminPaymentMethodsErrors, type PostAdminPaymentMethodsResponse, type PostAdminPaymentMethodsResponses, type PostAdminPaymentsData, type PostAdminPaymentsError, type PostAdminPaymentsErrors, type PostAdminPaymentsResponse, type PostAdminPaymentsResponses, type PostAdminPlansData, type PostAdminPlansError, type PostAdminPlansErrors, type PostAdminPlansResponse, type PostAdminPlansResponses, type PostAdminPricingRulesData, type PostAdminPricingRulesError, type PostAdminPricingRulesErrors, type PostAdminPricingRulesResponse, type PostAdminPricingRulesResponses, type PostAdminPricingStrategiesData, type PostAdminPricingStrategiesError, type PostAdminPricingStrategiesErrors, type PostAdminPricingStrategiesResponse, type PostAdminPricingStrategiesResponses, type PostAdminSearchReindexData, type PostAdminSearchReindexError, type PostAdminSearchReindexErrors, type PostAdminSearchReindexResponse, type PostAdminSearchReindexResponses, type PostAdminSearchSavedData, type PostAdminSearchSavedError, type PostAdminSearchSavedErrors, type PostAdminSearchSavedResponse, type PostAdminSearchSavedResponses, type PostAdminStorageSignDownloadData, type PostAdminStorageSignDownloadError, type PostAdminStorageSignDownloadErrors, type PostAdminStorageSignDownloadResponse, type PostAdminStorageSignDownloadResponses, type PostAdminStorageSignUploadData, type PostAdminStorageSignUploadError, type PostAdminStorageSignUploadErrors, type PostAdminStorageSignUploadResponse, type PostAdminStorageSignUploadResponses, type PostAdminSubscriptionsData, type PostAdminSubscriptionsError, type PostAdminSubscriptionsErrors, type PostAdminSubscriptionsResponse, type PostAdminSubscriptionsResponses, type PostAdminSysAiConfigData, type PostAdminSysAiConfigError, type PostAdminSysAiConfigErrors, type PostAdminSysAiConfigResponse, type PostAdminSysAiConfigResponses, type PostAdminSysSemanticCacheClearData, type PostAdminSysSemanticCacheClearError, type PostAdminSysSemanticCacheClearErrors, type PostAdminSysSemanticCacheClearResponse, type PostAdminSysSemanticCacheClearResponses, type PostAdminTenantMembershipsData, type PostAdminTenantMembershipsError, type PostAdminTenantMembershipsErrors, type PostAdminTenantMembershipsResponse, type PostAdminTenantMembershipsResponses, type PostAdminTenantsByIdBuyStorageData, type PostAdminTenantsByIdBuyStorageError, type PostAdminTenantsByIdBuyStorageErrors, type PostAdminTenantsByIdBuyStorageResponse, type PostAdminTenantsByIdBuyStorageResponses, type PostAdminTenantsByIdCreditData, type PostAdminTenantsByIdCreditError, type PostAdminTenantsByIdCreditErrors, type PostAdminTenantsByIdCreditResponse, type PostAdminTenantsByIdCreditResponses, type PostAdminTenantsByIdRemoveStorageData, type PostAdminTenantsByIdRemoveStorageError, type PostAdminTenantsByIdRemoveStorageErrors, type PostAdminTenantsByIdRemoveStorageResponse, type PostAdminTenantsByIdRemoveStorageResponses, type PostAdminTenantsData, type PostAdminTenantsError, type PostAdminTenantsErrors, type PostAdminTenantsIsvData, type PostAdminTenantsIsvError, type PostAdminTenantsIsvErrors, type PostAdminTenantsIsvResponse, type PostAdminTenantsIsvResponses, type PostAdminTenantsResponse, type PostAdminTenantsResponses, type PostAdminThreadsActiveData, type PostAdminThreadsActiveError, type PostAdminThreadsActiveErrors, type PostAdminThreadsActiveResponse, type PostAdminThreadsActiveResponses, type PostAdminThreadsByIdMessagesData, type PostAdminThreadsByIdMessagesError, type PostAdminThreadsByIdMessagesErrors, type PostAdminThreadsByIdMessagesResponse, type PostAdminThreadsByIdMessagesResponses, type PostAdminThreadsByIdSummarizeData, type PostAdminThreadsByIdSummarizeError, type PostAdminThreadsByIdSummarizeErrors, type PostAdminThreadsByIdSummarizeResponse, type PostAdminThreadsByIdSummarizeResponses, type PostAdminThreadsData, type PostAdminThreadsError, type PostAdminThreadsErrors, type PostAdminThreadsResponse, type PostAdminThreadsResponses, type PostAdminTokensData, type PostAdminTokensError, type PostAdminTokensErrors, type PostAdminTokensResponse, type PostAdminTokensResponses, type PostAdminTrainingExamplesBulkData, type PostAdminTrainingExamplesBulkDeleteData, type PostAdminTrainingExamplesBulkDeleteError, type PostAdminTrainingExamplesBulkDeleteErrors, type PostAdminTrainingExamplesBulkDeleteResponse, type PostAdminTrainingExamplesBulkDeleteResponses, type PostAdminTrainingExamplesBulkError, type PostAdminTrainingExamplesBulkErrors, type PostAdminTrainingExamplesBulkResponse, type PostAdminTrainingExamplesBulkResponses, type PostAdminTrainingExamplesData, type PostAdminTrainingExamplesError, type PostAdminTrainingExamplesErrors, type PostAdminTrainingExamplesResponse, type PostAdminTrainingExamplesResponses, type PostAdminTrainingExamplesSearchData, type PostAdminTrainingExamplesSearchError, type PostAdminTrainingExamplesSearchErrors, type PostAdminTrainingExamplesSearchResponse, type PostAdminTrainingExamplesSearchResponses, type PostAdminUserProfilesData, type PostAdminUserProfilesError, type PostAdminUserProfilesErrors, type PostAdminUserProfilesResponse, type PostAdminUserProfilesResponses, type PostAdminUsersAuthConfirmData, type PostAdminUsersAuthConfirmError, type PostAdminUsersAuthConfirmErrors, type PostAdminUsersAuthConfirmResponse, type PostAdminUsersAuthConfirmResponses, type PostAdminUsersAuthLoginData, type PostAdminUsersAuthLoginError, type PostAdminUsersAuthLoginErrors, type PostAdminUsersAuthLoginResponse, type PostAdminUsersAuthLoginResponses, type PostAdminUsersAuthMagicLinkLoginData, type PostAdminUsersAuthMagicLinkLoginError, type PostAdminUsersAuthMagicLinkLoginErrors, type PostAdminUsersAuthMagicLinkLoginResponse, type PostAdminUsersAuthMagicLinkLoginResponses, type PostAdminUsersAuthMagicLinkRequestData, type PostAdminUsersAuthMagicLinkRequestError, type PostAdminUsersAuthMagicLinkRequestErrors, type PostAdminUsersAuthMagicLinkRequestResponse, type PostAdminUsersAuthMagicLinkRequestResponses, type PostAdminUsersAuthRegisterData, type PostAdminUsersAuthRegisterError, type PostAdminUsersAuthRegisterErrors, type PostAdminUsersAuthRegisterResponse, type PostAdminUsersAuthRegisterResponses, type PostAdminUsersAuthRegisterWithOidcData, type PostAdminUsersAuthRegisterWithOidcError, type PostAdminUsersAuthRegisterWithOidcErrors, type PostAdminUsersAuthRegisterWithOidcResponse, type PostAdminUsersAuthRegisterWithOidcResponses, type PostAdminUsersRegisterIsvData, type PostAdminUsersRegisterIsvError, type PostAdminUsersRegisterIsvErrors, type PostAdminUsersRegisterIsvResponse, type PostAdminUsersRegisterIsvResponses, type PostAdminWebhookConfigsByIdTestData, type PostAdminWebhookConfigsByIdTestError, type PostAdminWebhookConfigsByIdTestErrors, type PostAdminWebhookConfigsByIdTestResponse, type PostAdminWebhookConfigsByIdTestResponses, type PostAdminWebhookConfigsData, type PostAdminWebhookConfigsError, type PostAdminWebhookConfigsErrors, type PostAdminWebhookConfigsResponse, type PostAdminWebhookConfigsResponses, type PostAdminWebhookDeliveriesByIdRetryData, type PostAdminWebhookDeliveriesByIdRetryError, type PostAdminWebhookDeliveriesByIdRetryErrors, type PostAdminWebhookDeliveriesByIdRetryResponse, type PostAdminWebhookDeliveriesByIdRetryResponses, type PostAdminWorkspaceMembershipsData, type PostAdminWorkspaceMembershipsError, type PostAdminWorkspaceMembershipsErrors, type PostAdminWorkspaceMembershipsResponse, type PostAdminWorkspaceMembershipsResponses, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostAdminWorkspacesByWorkspaceIdExtractionExportsData, type PostAdminWorkspacesByWorkspaceIdExtractionExportsError, type PostAdminWorkspacesByWorkspaceIdExtractionExportsErrors, type PostAdminWorkspacesByWorkspaceIdExtractionExportsResponse, type PostAdminWorkspacesByWorkspaceIdExtractionExportsResponses, type PostAdminWorkspacesData, type PostAdminWorkspacesError, type PostAdminWorkspacesErrors, type PostAdminWorkspacesResponse, type PostAdminWorkspacesResponses, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type SavedSearch, type Search, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsRequest, StorageStatsRequestSchema, type Subscription, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantStats, type Thread, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type User, type UserProfile, ValidationError, type Wallet, type WebhookBulkDisableRequest, WebhookBulkDisableSchema, type WebhookBulkEnableRequest, WebhookBulkEnableSchema, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookDelivery, type WebhookDeliveryBulkRetryRequest, WebhookDeliveryBulkRetrySchema, type Workspace, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, GptAdmin as default, handleApiError };
27344
+ export { type Account, type AccountCreditRequest, AccountCreditSchema, type AccountDebitRequest, AccountDebitSchema, type Agent, type AgentAdminCreateRequest, AgentAdminCreateSchema, type AgentVersion, type AgentVersionFieldsInputCreateType, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type Application, type AuditLog, AuthenticationError, AuthorizationError, type Bucket, type BulkDismissalResult, type ClientOptions, type Config, type Conversation, type CreditPackage, type Customer, type DeleteAdminAiConversationsByIdData, type DeleteAdminAiConversationsByIdError, type DeleteAdminAiConversationsByIdErrors, type DeleteAdminAiConversationsByIdResponses, type DeleteAdminAiGraphEdgesByIdData, type DeleteAdminAiGraphEdgesByIdError, type DeleteAdminAiGraphEdgesByIdErrors, type DeleteAdminAiGraphEdgesByIdResponses, type DeleteAdminAiGraphNodesByIdData, type DeleteAdminAiGraphNodesByIdError, type DeleteAdminAiGraphNodesByIdErrors, type DeleteAdminAiGraphNodesByIdResponses, type DeleteAdminApiKeysByIdData, type DeleteAdminApiKeysByIdError, type DeleteAdminApiKeysByIdErrors, type DeleteAdminApiKeysByIdResponses, type DeleteAdminApplicationsByIdData, type DeleteAdminApplicationsByIdError, type DeleteAdminApplicationsByIdErrors, type DeleteAdminApplicationsByIdResponses, type DeleteAdminBucketsByIdData, type DeleteAdminBucketsByIdError, type DeleteAdminBucketsByIdErrors, type DeleteAdminBucketsByIdResponses, type DeleteAdminCreditPackagesByIdData, type DeleteAdminCreditPackagesByIdError, type DeleteAdminCreditPackagesByIdErrors, type DeleteAdminCreditPackagesByIdResponses, type DeleteAdminCustomersByIdData, type DeleteAdminCustomersByIdError, type DeleteAdminCustomersByIdErrors, type DeleteAdminCustomersByIdResponses, type DeleteAdminExtractionDocumentsByIdData, type DeleteAdminExtractionDocumentsByIdError, type DeleteAdminExtractionDocumentsByIdErrors, type DeleteAdminExtractionDocumentsByIdResponses, type DeleteAdminFieldTemplatesByIdData, type DeleteAdminFieldTemplatesByIdError, type DeleteAdminFieldTemplatesByIdErrors, type DeleteAdminFieldTemplatesByIdResponses, type DeleteAdminMessagesByIdData, type DeleteAdminMessagesByIdError, type DeleteAdminMessagesByIdErrors, type DeleteAdminMessagesByIdResponses, type DeleteAdminNotificationMethodsByIdData, type DeleteAdminNotificationMethodsByIdError, type DeleteAdminNotificationMethodsByIdErrors, type DeleteAdminNotificationMethodsByIdResponses, type DeleteAdminNotificationPreferencesByIdData, type DeleteAdminNotificationPreferencesByIdError, type DeleteAdminNotificationPreferencesByIdErrors, type DeleteAdminNotificationPreferencesByIdResponses, type DeleteAdminObjectsByIdData, type DeleteAdminObjectsByIdError, type DeleteAdminObjectsByIdErrors, type DeleteAdminObjectsByIdResponses, type DeleteAdminPaymentMethodsByIdData, type DeleteAdminPaymentMethodsByIdError, type DeleteAdminPaymentMethodsByIdErrors, type DeleteAdminPaymentMethodsByIdResponses, type DeleteAdminPlansByIdData, type DeleteAdminPlansByIdError, type DeleteAdminPlansByIdErrors, type DeleteAdminPlansByIdResponses, type DeleteAdminSearchSavedByIdData, type DeleteAdminSearchSavedByIdError, type DeleteAdminSearchSavedByIdErrors, type DeleteAdminSearchSavedByIdResponses, type DeleteAdminSubscriptionsByIdData, type DeleteAdminSubscriptionsByIdError, type DeleteAdminSubscriptionsByIdErrors, type DeleteAdminSubscriptionsByIdResponses, type DeleteAdminTenantMembershipsByTenantIdByUserIdData, type DeleteAdminTenantMembershipsByTenantIdByUserIdError, type DeleteAdminTenantMembershipsByTenantIdByUserIdErrors, type DeleteAdminTenantMembershipsByTenantIdByUserIdResponses, type DeleteAdminTenantsByIdData, type DeleteAdminTenantsByIdError, type DeleteAdminTenantsByIdErrors, type DeleteAdminTenantsByIdResponses, type DeleteAdminThreadsByIdData, type DeleteAdminThreadsByIdError, type DeleteAdminThreadsByIdErrors, type DeleteAdminThreadsByIdResponses, type DeleteAdminTrainingExamplesByIdData, type DeleteAdminTrainingExamplesByIdError, type DeleteAdminTrainingExamplesByIdErrors, type DeleteAdminTrainingExamplesByIdResponses, type DeleteAdminTrainingSessionsByIdData, type DeleteAdminTrainingSessionsByIdError, type DeleteAdminTrainingSessionsByIdErrors, type DeleteAdminTrainingSessionsByIdResponses, type DeleteAdminUserProfilesByIdData, type DeleteAdminUserProfilesByIdError, type DeleteAdminUserProfilesByIdErrors, type DeleteAdminUserProfilesByIdResponses, type DeleteAdminWebhookConfigsByIdData, type DeleteAdminWebhookConfigsByIdError, type DeleteAdminWebhookConfigsByIdErrors, type DeleteAdminWebhookConfigsByIdResponses, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteAdminWorkspacesByIdData, type DeleteAdminWorkspacesByIdError, type DeleteAdminWorkspacesByIdErrors, type DeleteAdminWorkspacesByIdResponses, type DocumentBulkDeleteRequest, DocumentBulkDeleteSchema, type DocumentBulkReprocessRequest, DocumentBulkReprocessSchema, type DocumentChunk, type DocumentStats, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldTemplate, type GetAdminAccountsByIdData, type GetAdminAccountsByIdError, type GetAdminAccountsByIdErrors, type GetAdminAccountsByIdResponse, type GetAdminAccountsByIdResponses, type GetAdminAccountsData, type GetAdminAccountsError, type GetAdminAccountsErrors, type GetAdminAccountsResponse, type GetAdminAccountsResponses, type GetAdminAgentVersionsByIdData, type GetAdminAgentVersionsByIdError, type GetAdminAgentVersionsByIdErrors, type GetAdminAgentVersionsByIdResponse, type GetAdminAgentVersionsByIdResponses, type GetAdminAgentVersionsData, type GetAdminAgentVersionsError, type GetAdminAgentVersionsErrors, type GetAdminAgentVersionsResponse, type GetAdminAgentVersionsResponses, type GetAdminAgentsByIdData, type GetAdminAgentsByIdError, type GetAdminAgentsByIdErrors, type GetAdminAgentsByIdResponse, type GetAdminAgentsByIdResponses, type GetAdminAgentsByIdSchemaVersionsData, type GetAdminAgentsByIdSchemaVersionsError, type GetAdminAgentsByIdSchemaVersionsErrors, type GetAdminAgentsByIdSchemaVersionsResponse, type GetAdminAgentsByIdSchemaVersionsResponses, type GetAdminAgentsByIdTrainingStatsData, type GetAdminAgentsByIdTrainingStatsError, type GetAdminAgentsByIdTrainingStatsErrors, type GetAdminAgentsByIdTrainingStatsResponse, type GetAdminAgentsByIdTrainingStatsResponses, type GetAdminAgentsData, type GetAdminAgentsError, type GetAdminAgentsErrors, type GetAdminAgentsResponse, type GetAdminAgentsResponses, type GetAdminAiChunksDocumentByDocumentIdData, type GetAdminAiChunksDocumentByDocumentIdError, type GetAdminAiChunksDocumentByDocumentIdErrors, type GetAdminAiChunksDocumentByDocumentIdResponse, type GetAdminAiChunksDocumentByDocumentIdResponses, type GetAdminAiConversationsByIdData, type GetAdminAiConversationsByIdError, type GetAdminAiConversationsByIdErrors, type GetAdminAiConversationsByIdResponse, type GetAdminAiConversationsByIdResponses, type GetAdminAiConversationsData, type GetAdminAiConversationsError, type GetAdminAiConversationsErrors, type GetAdminAiConversationsResponse, type GetAdminAiConversationsResponses, type GetAdminAiGraphEdgesData, type GetAdminAiGraphEdgesError, type GetAdminAiGraphEdgesErrors, type GetAdminAiGraphEdgesResponse, type GetAdminAiGraphEdgesResponses, type GetAdminAiGraphNodesData, type GetAdminAiGraphNodesError, type GetAdminAiGraphNodesErrors, type GetAdminAiGraphNodesResponse, type GetAdminAiGraphNodesResponses, type GetAdminAiMessagesData, type GetAdminAiMessagesError, type GetAdminAiMessagesErrors, type GetAdminAiMessagesResponse, type GetAdminAiMessagesResponses, type GetAdminApiKeysByIdData, type GetAdminApiKeysByIdError, type GetAdminApiKeysByIdErrors, type GetAdminApiKeysByIdResponse, type GetAdminApiKeysByIdResponses, type GetAdminApiKeysData, type GetAdminApiKeysError, type GetAdminApiKeysErrors, type GetAdminApiKeysResponse, type GetAdminApiKeysResponses, type GetAdminApplicationsByIdData, type GetAdminApplicationsByIdError, type GetAdminApplicationsByIdErrors, type GetAdminApplicationsByIdResponse, type GetAdminApplicationsByIdResponses, type GetAdminApplicationsBySlugBySlugData, type GetAdminApplicationsBySlugBySlugError, type GetAdminApplicationsBySlugBySlugErrors, type GetAdminApplicationsBySlugBySlugResponse, type GetAdminApplicationsBySlugBySlugResponses, type GetAdminApplicationsData, type GetAdminApplicationsError, type GetAdminApplicationsErrors, type GetAdminApplicationsResponse, type GetAdminApplicationsResponses, type GetAdminAuditLogsData, type GetAdminAuditLogsError, type GetAdminAuditLogsErrors, type GetAdminAuditLogsResponse, type GetAdminAuditLogsResponses, type GetAdminBucketsByIdData, type GetAdminBucketsByIdError, type GetAdminBucketsByIdErrors, type GetAdminBucketsByIdObjectsData, type GetAdminBucketsByIdObjectsError, type GetAdminBucketsByIdObjectsErrors, type GetAdminBucketsByIdObjectsResponse, type GetAdminBucketsByIdObjectsResponses, type GetAdminBucketsByIdResponse, type GetAdminBucketsByIdResponses, type GetAdminBucketsByIdStatsData, type GetAdminBucketsByIdStatsError, type GetAdminBucketsByIdStatsErrors, type GetAdminBucketsByIdStatsResponse, type GetAdminBucketsByIdStatsResponses, type GetAdminBucketsData, type GetAdminBucketsError, type GetAdminBucketsErrors, type GetAdminBucketsResponse, type GetAdminBucketsResponses, type GetAdminConfigsData, type GetAdminConfigsError, type GetAdminConfigsErrors, type GetAdminConfigsResponse, type GetAdminConfigsResponses, type GetAdminCreditPackagesByIdData, type GetAdminCreditPackagesByIdError, type GetAdminCreditPackagesByIdErrors, type GetAdminCreditPackagesByIdResponse, type GetAdminCreditPackagesByIdResponses, type GetAdminCreditPackagesData, type GetAdminCreditPackagesError, type GetAdminCreditPackagesErrors, type GetAdminCreditPackagesResponse, type GetAdminCreditPackagesResponses, type GetAdminCreditPackagesSlugBySlugData, type GetAdminCreditPackagesSlugBySlugError, type GetAdminCreditPackagesSlugBySlugErrors, type GetAdminCreditPackagesSlugBySlugResponse, type GetAdminCreditPackagesSlugBySlugResponses, type GetAdminCustomersByIdData, type GetAdminCustomersByIdError, type GetAdminCustomersByIdErrors, type GetAdminCustomersByIdResponse, type GetAdminCustomersByIdResponses, type GetAdminDocumentsStatsData, type GetAdminDocumentsStatsError, type GetAdminDocumentsStatsErrors, type GetAdminDocumentsStatsResponse, type GetAdminDocumentsStatsResponses, type GetAdminExtractionBatchesByIdData, type GetAdminExtractionBatchesByIdError, type GetAdminExtractionBatchesByIdErrors, type GetAdminExtractionBatchesByIdResponse, type GetAdminExtractionBatchesByIdResponses, type GetAdminExtractionBatchesByIdUploadUrlsData, type GetAdminExtractionBatchesByIdUploadUrlsError, type GetAdminExtractionBatchesByIdUploadUrlsErrors, type GetAdminExtractionBatchesByIdUploadUrlsResponse, type GetAdminExtractionBatchesByIdUploadUrlsResponses, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdData, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdError, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetAdminExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetAdminExtractionDocumentsByIdData, type GetAdminExtractionDocumentsByIdError, type GetAdminExtractionDocumentsByIdErrors, type GetAdminExtractionDocumentsByIdResponse, type GetAdminExtractionDocumentsByIdResponses, type GetAdminExtractionDocumentsByIdStatusData, type GetAdminExtractionDocumentsByIdStatusError, type GetAdminExtractionDocumentsByIdStatusErrors, type GetAdminExtractionDocumentsByIdStatusResponse, type GetAdminExtractionDocumentsByIdStatusResponses, type GetAdminExtractionDocumentsByIdViewData, type GetAdminExtractionDocumentsByIdViewError, type GetAdminExtractionDocumentsByIdViewErrors, type GetAdminExtractionDocumentsByIdViewResponse, type GetAdminExtractionDocumentsByIdViewResponses, type GetAdminExtractionDocumentsData, type GetAdminExtractionDocumentsError, type GetAdminExtractionDocumentsErrors, type GetAdminExtractionDocumentsResponse, type GetAdminExtractionDocumentsResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetAdminExtractionResultsByIdData, type GetAdminExtractionResultsByIdError, type GetAdminExtractionResultsByIdErrors, type GetAdminExtractionResultsByIdResponse, type GetAdminExtractionResultsByIdResponses, type GetAdminExtractionResultsDocumentByDocumentIdData, type GetAdminExtractionResultsDocumentByDocumentIdError, type GetAdminExtractionResultsDocumentByDocumentIdErrors, type GetAdminExtractionResultsDocumentByDocumentIdResponse, type GetAdminExtractionResultsDocumentByDocumentIdResponses, type GetAdminFieldTemplatesByIdData, type GetAdminFieldTemplatesByIdError, type GetAdminFieldTemplatesByIdErrors, type GetAdminFieldTemplatesByIdResponse, type GetAdminFieldTemplatesByIdResponses, type GetAdminFieldTemplatesData, type GetAdminFieldTemplatesError, type GetAdminFieldTemplatesErrors, type GetAdminFieldTemplatesResponse, type GetAdminFieldTemplatesResponses, type GetAdminInvitationsConsumeByTokenData, type GetAdminInvitationsConsumeByTokenError, type GetAdminInvitationsConsumeByTokenErrors, type GetAdminInvitationsConsumeByTokenResponse, type GetAdminInvitationsConsumeByTokenResponses, type GetAdminInvitationsData, type GetAdminInvitationsError, type GetAdminInvitationsErrors, type GetAdminInvitationsResponse, type GetAdminInvitationsResponses, type GetAdminIsvRevenueByIdData, type GetAdminIsvRevenueByIdError, type GetAdminIsvRevenueByIdErrors, type GetAdminIsvRevenueByIdResponse, type GetAdminIsvRevenueByIdResponses, type GetAdminIsvRevenueData, type GetAdminIsvRevenueError, type GetAdminIsvRevenueErrors, type GetAdminIsvRevenueResponse, type GetAdminIsvRevenueResponses, type GetAdminIsvSettlementsByIdData, type GetAdminIsvSettlementsByIdError, type GetAdminIsvSettlementsByIdErrors, type GetAdminIsvSettlementsByIdResponse, type GetAdminIsvSettlementsByIdResponses, type GetAdminIsvSettlementsData, type GetAdminIsvSettlementsError, type GetAdminIsvSettlementsErrors, type GetAdminIsvSettlementsResponse, type GetAdminIsvSettlementsResponses, type GetAdminLedgerByIdData, type GetAdminLedgerByIdError, type GetAdminLedgerByIdErrors, type GetAdminLedgerByIdResponse, type GetAdminLedgerByIdResponses, type GetAdminLedgerData, type GetAdminLedgerError, type GetAdminLedgerErrors, type GetAdminLedgerResponse, type GetAdminLedgerResponses, type GetAdminLlmAnalyticsByIdData, type GetAdminLlmAnalyticsByIdError, type GetAdminLlmAnalyticsByIdErrors, type GetAdminLlmAnalyticsByIdResponse, type GetAdminLlmAnalyticsByIdResponses, type GetAdminLlmAnalyticsCostsData, type GetAdminLlmAnalyticsCostsError, type GetAdminLlmAnalyticsCostsErrors, type GetAdminLlmAnalyticsCostsResponse, type GetAdminLlmAnalyticsCostsResponses, type GetAdminLlmAnalyticsData, type GetAdminLlmAnalyticsError, type GetAdminLlmAnalyticsErrors, type GetAdminLlmAnalyticsPlatformData, type GetAdminLlmAnalyticsPlatformError, type GetAdminLlmAnalyticsPlatformErrors, type GetAdminLlmAnalyticsPlatformResponse, type GetAdminLlmAnalyticsPlatformResponses, type GetAdminLlmAnalyticsResponse, type GetAdminLlmAnalyticsResponses, type GetAdminLlmAnalyticsSummaryData, type GetAdminLlmAnalyticsSummaryError, type GetAdminLlmAnalyticsSummaryErrors, type GetAdminLlmAnalyticsSummaryResponse, type GetAdminLlmAnalyticsSummaryResponses, type GetAdminLlmAnalyticsUsageData, type GetAdminLlmAnalyticsUsageError, type GetAdminLlmAnalyticsUsageErrors, type GetAdminLlmAnalyticsUsageResponse, type GetAdminLlmAnalyticsUsageResponses, type GetAdminLlmAnalyticsWorkspaceData, type GetAdminLlmAnalyticsWorkspaceError, type GetAdminLlmAnalyticsWorkspaceErrors, type GetAdminLlmAnalyticsWorkspaceResponse, type GetAdminLlmAnalyticsWorkspaceResponses, type GetAdminMessagesByIdData, type GetAdminMessagesByIdError, type GetAdminMessagesByIdErrors, type GetAdminMessagesByIdResponse, type GetAdminMessagesByIdResponses, type GetAdminMessagesData, type GetAdminMessagesError, type GetAdminMessagesErrors, type GetAdminMessagesResponse, type GetAdminMessagesResponses, type GetAdminMessagesSearchData, type GetAdminMessagesSearchError, type GetAdminMessagesSearchErrors, type GetAdminMessagesSearchResponse, type GetAdminMessagesSearchResponses, type GetAdminNotificationLogsByIdData, type GetAdminNotificationLogsByIdError, type GetAdminNotificationLogsByIdErrors, type GetAdminNotificationLogsByIdResponse, type GetAdminNotificationLogsByIdResponses, type GetAdminNotificationLogsData, type GetAdminNotificationLogsError, type GetAdminNotificationLogsErrors, type GetAdminNotificationLogsResponse, type GetAdminNotificationLogsResponses, type GetAdminNotificationMethodsByIdData, type GetAdminNotificationMethodsByIdError, type GetAdminNotificationMethodsByIdErrors, type GetAdminNotificationMethodsByIdResponse, type GetAdminNotificationMethodsByIdResponses, type GetAdminNotificationMethodsData, type GetAdminNotificationMethodsError, type GetAdminNotificationMethodsErrors, type GetAdminNotificationMethodsResponse, type GetAdminNotificationMethodsResponses, type GetAdminNotificationPreferencesByIdData, type GetAdminNotificationPreferencesByIdError, type GetAdminNotificationPreferencesByIdErrors, type GetAdminNotificationPreferencesByIdResponse, type GetAdminNotificationPreferencesByIdResponses, type GetAdminNotificationPreferencesData, type GetAdminNotificationPreferencesError, type GetAdminNotificationPreferencesErrors, type GetAdminNotificationPreferencesResponse, type GetAdminNotificationPreferencesResponses, type GetAdminObjectsByIdData, type GetAdminObjectsByIdError, type GetAdminObjectsByIdErrors, type GetAdminObjectsByIdResponse, type GetAdminObjectsByIdResponses, type GetAdminObjectsData, type GetAdminObjectsError, type GetAdminObjectsErrors, type GetAdminObjectsResponse, type GetAdminObjectsResponses, type GetAdminPaymentMethodsByIdData, type GetAdminPaymentMethodsByIdError, type GetAdminPaymentMethodsByIdErrors, type GetAdminPaymentMethodsByIdResponse, type GetAdminPaymentMethodsByIdResponses, type GetAdminPaymentMethodsData, type GetAdminPaymentMethodsError, type GetAdminPaymentMethodsErrors, type GetAdminPaymentMethodsResponse, type GetAdminPaymentMethodsResponses, type GetAdminPlansByIdData, type GetAdminPlansByIdError, type GetAdminPlansByIdErrors, type GetAdminPlansByIdResponse, type GetAdminPlansByIdResponses, type GetAdminPlansData, type GetAdminPlansError, type GetAdminPlansErrors, type GetAdminPlansResponse, type GetAdminPlansResponses, type GetAdminPlansSlugBySlugData, type GetAdminPlansSlugBySlugError, type GetAdminPlansSlugBySlugErrors, type GetAdminPlansSlugBySlugResponse, type GetAdminPlansSlugBySlugResponses, type GetAdminPricingRulesByIdData, type GetAdminPricingRulesByIdError, type GetAdminPricingRulesByIdErrors, type GetAdminPricingRulesByIdResponse, type GetAdminPricingRulesByIdResponses, type GetAdminPricingRulesData, type GetAdminPricingRulesError, type GetAdminPricingRulesErrors, type GetAdminPricingRulesResolveData, type GetAdminPricingRulesResolveError, type GetAdminPricingRulesResolveErrors, type GetAdminPricingRulesResolveResponse, type GetAdminPricingRulesResolveResponses, type GetAdminPricingRulesResponse, type GetAdminPricingRulesResponses, type GetAdminPricingStrategiesByIdData, type GetAdminPricingStrategiesByIdError, type GetAdminPricingStrategiesByIdErrors, type GetAdminPricingStrategiesByIdResponse, type GetAdminPricingStrategiesByIdResponses, type GetAdminPricingStrategiesData, type GetAdminPricingStrategiesError, type GetAdminPricingStrategiesErrors, type GetAdminPricingStrategiesResponse, type GetAdminPricingStrategiesResponses, type GetAdminSchemaDiscoveriesByIdData, type GetAdminSchemaDiscoveriesByIdError, type GetAdminSchemaDiscoveriesByIdErrors, type GetAdminSchemaDiscoveriesByIdResponse, type GetAdminSchemaDiscoveriesByIdResponses, type GetAdminSearchData, type GetAdminSearchError, type GetAdminSearchErrors, type GetAdminSearchHealthData, type GetAdminSearchHealthError, type GetAdminSearchHealthErrors, type GetAdminSearchHealthResponse, type GetAdminSearchHealthResponses, type GetAdminSearchIndexesData, type GetAdminSearchIndexesError, type GetAdminSearchIndexesErrors, type GetAdminSearchIndexesResponse, type GetAdminSearchIndexesResponses, type GetAdminSearchResponse, type GetAdminSearchResponses, type GetAdminSearchSavedData, type GetAdminSearchSavedError, type GetAdminSearchSavedErrors, type GetAdminSearchSavedResponse, type GetAdminSearchSavedResponses, type GetAdminSearchSemanticData, type GetAdminSearchSemanticError, type GetAdminSearchSemanticErrors, type GetAdminSearchSemanticResponse, type GetAdminSearchSemanticResponses, type GetAdminSearchStatsData, type GetAdminSearchStatsError, type GetAdminSearchStatsErrors, type GetAdminSearchStatsResponse, type GetAdminSearchStatsResponses, type GetAdminSearchStatusData, type GetAdminSearchStatusError, type GetAdminSearchStatusErrors, type GetAdminSearchStatusResponse, type GetAdminSearchStatusResponses, type GetAdminStorageStatsData, type GetAdminStorageStatsError, type GetAdminStorageStatsErrors, type GetAdminStorageStatsResponse, type GetAdminStorageStatsResponses, type GetAdminSubscriptionsByIdData, type GetAdminSubscriptionsByIdError, type GetAdminSubscriptionsByIdErrors, type GetAdminSubscriptionsByIdResponse, type GetAdminSubscriptionsByIdResponses, type GetAdminSubscriptionsData, type GetAdminSubscriptionsError, type GetAdminSubscriptionsErrors, type GetAdminSubscriptionsResponse, type GetAdminSubscriptionsResponses, type GetAdminSysAiConfigByIdData, type GetAdminSysAiConfigByIdError, type GetAdminSysAiConfigByIdErrors, type GetAdminSysAiConfigByIdResponse, type GetAdminSysAiConfigByIdResponses, type GetAdminSysAiConfigData, type GetAdminSysAiConfigError, type GetAdminSysAiConfigErrors, type GetAdminSysAiConfigResponse, type GetAdminSysAiConfigResponses, type GetAdminSysSemanticCacheByIdData, type GetAdminSysSemanticCacheByIdError, type GetAdminSysSemanticCacheByIdErrors, type GetAdminSysSemanticCacheByIdResponse, type GetAdminSysSemanticCacheByIdResponses, type GetAdminTenantMembershipsData, type GetAdminTenantMembershipsError, type GetAdminTenantMembershipsErrors, type GetAdminTenantMembershipsResponse, type GetAdminTenantMembershipsResponses, type GetAdminTenantsByIdData, type GetAdminTenantsByIdError, type GetAdminTenantsByIdErrors, type GetAdminTenantsByIdResponse, type GetAdminTenantsByIdResponses, type GetAdminTenantsByTenantIdDocumentStatsData, type GetAdminTenantsByTenantIdDocumentStatsError, type GetAdminTenantsByTenantIdDocumentStatsErrors, type GetAdminTenantsByTenantIdDocumentStatsResponse, type GetAdminTenantsByTenantIdDocumentStatsResponses, type GetAdminTenantsByTenantIdStatsData, type GetAdminTenantsByTenantIdStatsError, type GetAdminTenantsByTenantIdStatsErrors, type GetAdminTenantsByTenantIdStatsResponse, type GetAdminTenantsByTenantIdStatsResponses, type GetAdminTenantsByTenantIdWorkspaceStatsData, type GetAdminTenantsByTenantIdWorkspaceStatsError, type GetAdminTenantsByTenantIdWorkspaceStatsErrors, type GetAdminTenantsByTenantIdWorkspaceStatsResponse, type GetAdminTenantsByTenantIdWorkspaceStatsResponses, type GetAdminTenantsData, type GetAdminTenantsError, type GetAdminTenantsErrors, type GetAdminTenantsResponse, type GetAdminTenantsResponses, type GetAdminThreadsByIdData, type GetAdminThreadsByIdError, type GetAdminThreadsByIdErrors, type GetAdminThreadsByIdResponse, type GetAdminThreadsByIdResponses, type GetAdminThreadsData, type GetAdminThreadsError, type GetAdminThreadsErrors, type GetAdminThreadsResponse, type GetAdminThreadsResponses, type GetAdminThreadsSearchData, type GetAdminThreadsSearchError, type GetAdminThreadsSearchErrors, type GetAdminThreadsSearchResponse, type GetAdminThreadsSearchResponses, type GetAdminTrainingExamplesByIdData, type GetAdminTrainingExamplesByIdError, type GetAdminTrainingExamplesByIdErrors, type GetAdminTrainingExamplesByIdResponse, type GetAdminTrainingExamplesByIdResponses, type GetAdminTrainingExamplesData, type GetAdminTrainingExamplesError, type GetAdminTrainingExamplesErrors, type GetAdminTrainingExamplesResponse, type GetAdminTrainingExamplesResponses, type GetAdminTrainingSessionsAgentsByAgentIdSessionsData, type GetAdminTrainingSessionsAgentsByAgentIdSessionsError, type GetAdminTrainingSessionsAgentsByAgentIdSessionsErrors, type GetAdminTrainingSessionsAgentsByAgentIdSessionsResponse, type GetAdminTrainingSessionsAgentsByAgentIdSessionsResponses, type GetAdminTrainingSessionsByIdData, type GetAdminTrainingSessionsByIdError, type GetAdminTrainingSessionsByIdErrors, type GetAdminTrainingSessionsByIdResponse, type GetAdminTrainingSessionsByIdResponses, type GetAdminTransactionsByIdData, type GetAdminTransactionsByIdError, type GetAdminTransactionsByIdErrors, type GetAdminTransactionsByIdResponse, type GetAdminTransactionsByIdResponses, type GetAdminTransactionsData, type GetAdminTransactionsError, type GetAdminTransactionsErrors, type GetAdminTransactionsResponse, type GetAdminTransactionsResponses, type GetAdminUserProfilesByIdData, type GetAdminUserProfilesByIdError, type GetAdminUserProfilesByIdErrors, type GetAdminUserProfilesByIdResponse, type GetAdminUserProfilesByIdResponses, type GetAdminUserProfilesData, type GetAdminUserProfilesError, type GetAdminUserProfilesErrors, type GetAdminUserProfilesMeData, type GetAdminUserProfilesMeError, type GetAdminUserProfilesMeErrors, type GetAdminUserProfilesMeResponse, type GetAdminUserProfilesMeResponses, type GetAdminUserProfilesResponse, type GetAdminUserProfilesResponses, type GetAdminUsersByIdData, type GetAdminUsersByIdError, type GetAdminUsersByIdErrors, type GetAdminUsersByIdResponse, type GetAdminUsersByIdResponses, type GetAdminUsersData, type GetAdminUsersError, type GetAdminUsersErrors, type GetAdminUsersMeData, type GetAdminUsersMeError, type GetAdminUsersMeErrors, type GetAdminUsersMeResponse, type GetAdminUsersMeResponses, type GetAdminUsersResponse, type GetAdminUsersResponses, type GetAdminWalletData, type GetAdminWalletError, type GetAdminWalletErrors, type GetAdminWalletResponse, type GetAdminWalletResponses, type GetAdminWebhookConfigsByIdData, type GetAdminWebhookConfigsByIdError, type GetAdminWebhookConfigsByIdErrors, type GetAdminWebhookConfigsByIdResponse, type GetAdminWebhookConfigsByIdResponses, type GetAdminWebhookConfigsData, type GetAdminWebhookConfigsError, type GetAdminWebhookConfigsErrors, type GetAdminWebhookConfigsResponse, type GetAdminWebhookConfigsResponses, type GetAdminWebhookDeliveriesByIdData, type GetAdminWebhookDeliveriesByIdError, type GetAdminWebhookDeliveriesByIdErrors, type GetAdminWebhookDeliveriesByIdResponse, type GetAdminWebhookDeliveriesByIdResponses, type GetAdminWebhookDeliveriesData, type GetAdminWebhookDeliveriesError, type GetAdminWebhookDeliveriesErrors, type GetAdminWebhookDeliveriesResponse, type GetAdminWebhookDeliveriesResponses, type GetAdminWorkspaceMembershipsData, type GetAdminWorkspaceMembershipsError, type GetAdminWorkspaceMembershipsErrors, type GetAdminWorkspaceMembershipsResponse, type GetAdminWorkspaceMembershipsResponses, type GetAdminWorkspacesByIdData, type GetAdminWorkspacesByIdError, type GetAdminWorkspacesByIdErrors, type GetAdminWorkspacesByIdResponse, type GetAdminWorkspacesByIdResponses, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetAdminWorkspacesByWorkspaceIdExtractionExportsData, type GetAdminWorkspacesByWorkspaceIdExtractionExportsError, type GetAdminWorkspacesByWorkspaceIdExtractionExportsErrors, type GetAdminWorkspacesByWorkspaceIdExtractionExportsResponse, type GetAdminWorkspacesByWorkspaceIdExtractionExportsResponses, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetAdminWorkspacesData, type GetAdminWorkspacesError, type GetAdminWorkspacesErrors, type GetAdminWorkspacesMineData, type GetAdminWorkspacesMineError, type GetAdminWorkspacesMineErrors, type GetAdminWorkspacesMineResponse, type GetAdminWorkspacesMineResponses, type GetAdminWorkspacesResponse, type GetAdminWorkspacesResponses, GptAdmin, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type Message, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type OperationSuccess, type PatchAdminAccountsByIdCreditData, type PatchAdminAccountsByIdCreditError, type PatchAdminAccountsByIdCreditErrors, type PatchAdminAccountsByIdCreditResponse, type PatchAdminAccountsByIdCreditResponses, type PatchAdminAccountsByIdDebitData, type PatchAdminAccountsByIdDebitError, type PatchAdminAccountsByIdDebitErrors, type PatchAdminAccountsByIdDebitResponse, type PatchAdminAccountsByIdDebitResponses, type PatchAdminApiKeysByIdAllocateData, type PatchAdminApiKeysByIdAllocateError, type PatchAdminApiKeysByIdAllocateErrors, type PatchAdminApiKeysByIdAllocateResponse, type PatchAdminApiKeysByIdAllocateResponses, type PatchAdminApiKeysByIdData, type PatchAdminApiKeysByIdError, type PatchAdminApiKeysByIdErrors, type PatchAdminApiKeysByIdResponse, type PatchAdminApiKeysByIdResponses, type PatchAdminApiKeysByIdRevokeData, type PatchAdminApiKeysByIdRevokeError, type PatchAdminApiKeysByIdRevokeErrors, type PatchAdminApiKeysByIdRevokeResponse, type PatchAdminApiKeysByIdRevokeResponses, type PatchAdminApiKeysByIdRotateData, type PatchAdminApiKeysByIdRotateError, type PatchAdminApiKeysByIdRotateErrors, type PatchAdminApiKeysByIdRotateResponse, type PatchAdminApiKeysByIdRotateResponses, type PatchAdminApiKeysByIdSetBudgetData, type PatchAdminApiKeysByIdSetBudgetError, type PatchAdminApiKeysByIdSetBudgetErrors, type PatchAdminApiKeysByIdSetBudgetResponse, type PatchAdminApiKeysByIdSetBudgetResponses, type PatchAdminApplicationsByIdData, type PatchAdminApplicationsByIdError, type PatchAdminApplicationsByIdErrors, type PatchAdminApplicationsByIdGrantCreditsData, type PatchAdminApplicationsByIdGrantCreditsError, type PatchAdminApplicationsByIdGrantCreditsErrors, type PatchAdminApplicationsByIdGrantCreditsResponse, type PatchAdminApplicationsByIdGrantCreditsResponses, type PatchAdminApplicationsByIdResponse, type PatchAdminApplicationsByIdResponses, type PatchAdminBucketsByIdData, type PatchAdminBucketsByIdError, type PatchAdminBucketsByIdErrors, type PatchAdminBucketsByIdResponse, type PatchAdminBucketsByIdResponses, type PatchAdminConfigsByKeyData, type PatchAdminConfigsByKeyError, type PatchAdminConfigsByKeyErrors, type PatchAdminConfigsByKeyResponse, type PatchAdminConfigsByKeyResponses, type PatchAdminCreditPackagesByIdData, type PatchAdminCreditPackagesByIdError, type PatchAdminCreditPackagesByIdErrors, type PatchAdminCreditPackagesByIdResponse, type PatchAdminCreditPackagesByIdResponses, type PatchAdminCustomersByIdData, type PatchAdminCustomersByIdError, type PatchAdminCustomersByIdErrors, type PatchAdminCustomersByIdResponse, type PatchAdminCustomersByIdResponses, type PatchAdminExtractionDocumentsByIdCancelData, type PatchAdminExtractionDocumentsByIdCancelError, type PatchAdminExtractionDocumentsByIdCancelErrors, type PatchAdminExtractionDocumentsByIdCancelResponse, type PatchAdminExtractionDocumentsByIdCancelResponses, type PatchAdminExtractionDocumentsByIdDismissData, type PatchAdminExtractionDocumentsByIdDismissError, type PatchAdminExtractionDocumentsByIdDismissErrors, type PatchAdminExtractionDocumentsByIdDismissResponse, type PatchAdminExtractionDocumentsByIdDismissResponses, type PatchAdminExtractionDocumentsByIdDismissTrainingData, type PatchAdminExtractionDocumentsByIdDismissTrainingError, type PatchAdminExtractionDocumentsByIdDismissTrainingErrors, type PatchAdminExtractionDocumentsByIdDismissTrainingResponse, type PatchAdminExtractionDocumentsByIdDismissTrainingResponses, type PatchAdminExtractionDocumentsByIdExcludeData, type PatchAdminExtractionDocumentsByIdExcludeError, type PatchAdminExtractionDocumentsByIdExcludeErrors, type PatchAdminExtractionDocumentsByIdExcludeResponse, type PatchAdminExtractionDocumentsByIdExcludeResponses, type PatchAdminExtractionDocumentsByIdFinishUploadData, type PatchAdminExtractionDocumentsByIdFinishUploadError, type PatchAdminExtractionDocumentsByIdFinishUploadErrors, type PatchAdminExtractionDocumentsByIdFinishUploadResponse, type PatchAdminExtractionDocumentsByIdFinishUploadResponses, type PatchAdminExtractionDocumentsByIdIncludeData, type PatchAdminExtractionDocumentsByIdIncludeError, type PatchAdminExtractionDocumentsByIdIncludeErrors, type PatchAdminExtractionDocumentsByIdIncludeResponse, type PatchAdminExtractionDocumentsByIdIncludeResponses, type PatchAdminExtractionDocumentsByIdMarkTrainedData, type PatchAdminExtractionDocumentsByIdMarkTrainedError, type PatchAdminExtractionDocumentsByIdMarkTrainedErrors, type PatchAdminExtractionDocumentsByIdMarkTrainedResponse, type PatchAdminExtractionDocumentsByIdMarkTrainedResponses, type PatchAdminExtractionDocumentsByIdRestoreData, type PatchAdminExtractionDocumentsByIdRestoreError, type PatchAdminExtractionDocumentsByIdRestoreErrors, type PatchAdminExtractionDocumentsByIdRestoreResponse, type PatchAdminExtractionDocumentsByIdRestoreResponses, type PatchAdminExtractionDocumentsByIdStatusData, type PatchAdminExtractionDocumentsByIdStatusError, type PatchAdminExtractionDocumentsByIdStatusErrors, type PatchAdminExtractionDocumentsByIdStatusResponse, type PatchAdminExtractionDocumentsByIdStatusResponses, type PatchAdminExtractionResultsByIdCorrectionsData, type PatchAdminExtractionResultsByIdCorrectionsError, type PatchAdminExtractionResultsByIdCorrectionsErrors, type PatchAdminExtractionResultsByIdCorrectionsResponse, type PatchAdminExtractionResultsByIdCorrectionsResponses, type PatchAdminExtractionResultsByIdRegenerateData, type PatchAdminExtractionResultsByIdRegenerateError, type PatchAdminExtractionResultsByIdRegenerateErrors, type PatchAdminExtractionResultsByIdRegenerateResponse, type PatchAdminExtractionResultsByIdRegenerateResponses, type PatchAdminInvitationsByIdAcceptData, type PatchAdminInvitationsByIdAcceptError, type PatchAdminInvitationsByIdAcceptErrors, type PatchAdminInvitationsByIdAcceptResponse, type PatchAdminInvitationsByIdAcceptResponses, type PatchAdminInvitationsByIdResendData, type PatchAdminInvitationsByIdResendError, type PatchAdminInvitationsByIdResendErrors, type PatchAdminInvitationsByIdResendResponse, type PatchAdminInvitationsByIdResendResponses, type PatchAdminInvitationsByIdRevokeData, type PatchAdminInvitationsByIdRevokeError, type PatchAdminInvitationsByIdRevokeErrors, type PatchAdminInvitationsByIdRevokeResponse, type PatchAdminInvitationsByIdRevokeResponses, type PatchAdminIsvSettlementsByIdData, type PatchAdminIsvSettlementsByIdError, type PatchAdminIsvSettlementsByIdErrors, type PatchAdminIsvSettlementsByIdResponse, type PatchAdminIsvSettlementsByIdResponses, type PatchAdminMessagesByIdData, type PatchAdminMessagesByIdError, type PatchAdminMessagesByIdErrors, type PatchAdminMessagesByIdResponse, type PatchAdminMessagesByIdResponses, type PatchAdminNotificationMethodsByIdData, type PatchAdminNotificationMethodsByIdError, type PatchAdminNotificationMethodsByIdErrors, type PatchAdminNotificationMethodsByIdResponse, type PatchAdminNotificationMethodsByIdResponses, type PatchAdminNotificationMethodsByIdSetPrimaryData, type PatchAdminNotificationMethodsByIdSetPrimaryError, type PatchAdminNotificationMethodsByIdSetPrimaryErrors, type PatchAdminNotificationMethodsByIdSetPrimaryResponse, type PatchAdminNotificationMethodsByIdSetPrimaryResponses, type PatchAdminNotificationPreferencesByIdData, type PatchAdminNotificationPreferencesByIdError, type PatchAdminNotificationPreferencesByIdErrors, type PatchAdminNotificationPreferencesByIdResponse, type PatchAdminNotificationPreferencesByIdResponses, type PatchAdminPlansByIdData, type PatchAdminPlansByIdError, type PatchAdminPlansByIdErrors, type PatchAdminPlansByIdResponse, type PatchAdminPlansByIdResponses, type PatchAdminPricingRulesByIdData, type PatchAdminPricingRulesByIdError, type PatchAdminPricingRulesByIdErrors, type PatchAdminPricingRulesByIdResponse, type PatchAdminPricingRulesByIdResponses, type PatchAdminPricingStrategiesByIdData, type PatchAdminPricingStrategiesByIdError, type PatchAdminPricingStrategiesByIdErrors, type PatchAdminPricingStrategiesByIdResponse, type PatchAdminPricingStrategiesByIdResponses, type PatchAdminSubscriptionsByIdData, type PatchAdminSubscriptionsByIdError, type PatchAdminSubscriptionsByIdErrors, type PatchAdminSubscriptionsByIdResponse, type PatchAdminSubscriptionsByIdResponses, type PatchAdminSysAiConfigByIdData, type PatchAdminSysAiConfigByIdError, type PatchAdminSysAiConfigByIdErrors, type PatchAdminSysAiConfigByIdResponse, type PatchAdminSysAiConfigByIdResponses, type PatchAdminTenantMembershipsByTenantIdByUserIdData, type PatchAdminTenantMembershipsByTenantIdByUserIdError, type PatchAdminTenantMembershipsByTenantIdByUserIdErrors, type PatchAdminTenantMembershipsByTenantIdByUserIdResponse, type PatchAdminTenantMembershipsByTenantIdByUserIdResponses, type PatchAdminTenantsByIdData, type PatchAdminTenantsByIdError, type PatchAdminTenantsByIdErrors, type PatchAdminTenantsByIdResponse, type PatchAdminTenantsByIdResponses, type PatchAdminThreadsByIdData, type PatchAdminThreadsByIdError, type PatchAdminThreadsByIdErrors, type PatchAdminThreadsByIdResponse, type PatchAdminThreadsByIdResponses, type PatchAdminTrainingExamplesByIdData, type PatchAdminTrainingExamplesByIdError, type PatchAdminTrainingExamplesByIdErrors, type PatchAdminTrainingExamplesByIdResponse, type PatchAdminTrainingExamplesByIdResponses, type PatchAdminUserProfilesByIdData, type PatchAdminUserProfilesByIdError, type PatchAdminUserProfilesByIdErrors, type PatchAdminUserProfilesByIdResponse, type PatchAdminUserProfilesByIdResponses, type PatchAdminUsersAuthResetPasswordData, type PatchAdminUsersAuthResetPasswordError, type PatchAdminUsersAuthResetPasswordErrors, type PatchAdminUsersAuthResetPasswordResponse, type PatchAdminUsersAuthResetPasswordResponses, type PatchAdminUsersByIdAdminData, type PatchAdminUsersByIdAdminEmailData, type PatchAdminUsersByIdAdminEmailError, type PatchAdminUsersByIdAdminEmailErrors, type PatchAdminUsersByIdAdminEmailResponse, type PatchAdminUsersByIdAdminEmailResponses, type PatchAdminUsersByIdAdminError, type PatchAdminUsersByIdAdminErrors, type PatchAdminUsersByIdAdminResponse, type PatchAdminUsersByIdAdminResponses, type PatchAdminUsersByIdConfirmEmailData, type PatchAdminUsersByIdConfirmEmailError, type PatchAdminUsersByIdConfirmEmailErrors, type PatchAdminUsersByIdConfirmEmailResponse, type PatchAdminUsersByIdConfirmEmailResponses, type PatchAdminUsersByIdResetPasswordData, type PatchAdminUsersByIdResetPasswordError, type PatchAdminUsersByIdResetPasswordErrors, type PatchAdminUsersByIdResetPasswordResponse, type PatchAdminUsersByIdResetPasswordResponses, type PatchAdminWalletAddonsByAddonSlugCancelData, type PatchAdminWalletAddonsByAddonSlugCancelError, type PatchAdminWalletAddonsByAddonSlugCancelErrors, type PatchAdminWalletAddonsByAddonSlugCancelResponse, type PatchAdminWalletAddonsByAddonSlugCancelResponses, type PatchAdminWalletAddonsData, type PatchAdminWalletAddonsError, type PatchAdminWalletAddonsErrors, type PatchAdminWalletAddonsResponse, type PatchAdminWalletAddonsResponses, type PatchAdminWalletCreditsData, type PatchAdminWalletCreditsError, type PatchAdminWalletCreditsErrors, type PatchAdminWalletCreditsResponse, type PatchAdminWalletCreditsResponses, type PatchAdminWalletPlanData, type PatchAdminWalletPlanError, type PatchAdminWalletPlanErrors, type PatchAdminWalletPlanResponse, type PatchAdminWalletPlanResponses, type PatchAdminWalletStorageData, type PatchAdminWalletStorageError, type PatchAdminWalletStorageErrors, type PatchAdminWalletStorageResponse, type PatchAdminWalletStorageResponses, type PatchAdminWebhookConfigsByIdData, type PatchAdminWebhookConfigsByIdError, type PatchAdminWebhookConfigsByIdErrors, type PatchAdminWebhookConfigsByIdResponse, type PatchAdminWebhookConfigsByIdResponses, type PatchAdminWebhookConfigsByIdRotateSecretData, type PatchAdminWebhookConfigsByIdRotateSecretError, type PatchAdminWebhookConfigsByIdRotateSecretErrors, type PatchAdminWebhookConfigsByIdRotateSecretResponse, type PatchAdminWebhookConfigsByIdRotateSecretResponses, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchAdminWorkspacesByIdAllocateData, type PatchAdminWorkspacesByIdAllocateError, type PatchAdminWorkspacesByIdAllocateErrors, type PatchAdminWorkspacesByIdAllocateResponse, type PatchAdminWorkspacesByIdAllocateResponses, type PatchAdminWorkspacesByIdData, type PatchAdminWorkspacesByIdError, type PatchAdminWorkspacesByIdErrors, type PatchAdminWorkspacesByIdResponse, type PatchAdminWorkspacesByIdResponses, type Payment, type PaymentMethod, type Plan, type PostAdminAgentVersionsData, type PostAdminAgentVersionsError, type PostAdminAgentVersionsErrors, type PostAdminAgentVersionsResponse, type PostAdminAgentVersionsResponses, type PostAdminAgentsByIdCloneData, type PostAdminAgentsByIdCloneError, type PostAdminAgentsByIdCloneErrors, type PostAdminAgentsByIdCloneResponse, type PostAdminAgentsByIdCloneResponses, type PostAdminAgentsByIdDiscoverSchemaData, type PostAdminAgentsByIdDiscoverSchemaError, type PostAdminAgentsByIdDiscoverSchemaErrors, type PostAdminAgentsByIdDiscoverSchemaResponse, type PostAdminAgentsByIdDiscoverSchemaResponses, type PostAdminAgentsByIdPublishVersionData, type PostAdminAgentsByIdPublishVersionError, type PostAdminAgentsByIdPublishVersionErrors, type PostAdminAgentsByIdPublishVersionResponse, type PostAdminAgentsByIdPublishVersionResponses, type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAdminAgentsByIdSchemaVersionsData, type PostAdminAgentsByIdSchemaVersionsError, type PostAdminAgentsByIdSchemaVersionsErrors, type PostAdminAgentsByIdSchemaVersionsResponse, type PostAdminAgentsByIdSchemaVersionsResponses, type PostAdminAgentsByIdTeachData, type PostAdminAgentsByIdTeachError, type PostAdminAgentsByIdTeachErrors, type PostAdminAgentsByIdTeachResponse, type PostAdminAgentsByIdTeachResponses, type PostAdminAgentsByIdTestData, type PostAdminAgentsByIdTestError, type PostAdminAgentsByIdTestErrors, type PostAdminAgentsByIdTestResponse, type PostAdminAgentsByIdTestResponses, type PostAdminAgentsByIdValidateData, type PostAdminAgentsByIdValidateError, type PostAdminAgentsByIdValidateErrors, type PostAdminAgentsByIdValidateResponse, type PostAdminAgentsByIdValidateResponses, type PostAdminAgentsCloneForWorkspaceData, type PostAdminAgentsCloneForWorkspaceError, type PostAdminAgentsCloneForWorkspaceErrors, type PostAdminAgentsCloneForWorkspaceResponse, type PostAdminAgentsCloneForWorkspaceResponses, type PostAdminAgentsPredictData, type PostAdminAgentsPredictError, type PostAdminAgentsPredictErrors, type PostAdminAgentsPredictResponse, type PostAdminAgentsPredictResponses, type PostAdminAiChunksSearchData, type PostAdminAiChunksSearchError, type PostAdminAiChunksSearchErrors, type PostAdminAiChunksSearchResponse, type PostAdminAiChunksSearchResponses, type PostAdminAiConversationsData, type PostAdminAiConversationsError, type PostAdminAiConversationsErrors, type PostAdminAiConversationsResponse, type PostAdminAiConversationsResponses, type PostAdminAiEmbedData, type PostAdminAiEmbedError, type PostAdminAiEmbedErrors, type PostAdminAiEmbedResponse, type PostAdminAiEmbedResponses, type PostAdminAiGraphEdgesData, type PostAdminAiGraphEdgesError, type PostAdminAiGraphEdgesErrors, type PostAdminAiGraphEdgesResponse, type PostAdminAiGraphEdgesResponses, type PostAdminAiGraphNodesData, type PostAdminAiGraphNodesError, type PostAdminAiGraphNodesErrors, type PostAdminAiGraphNodesResponse, type PostAdminAiGraphNodesResponses, type PostAdminAiMessagesData, type PostAdminAiMessagesError, type PostAdminAiMessagesErrors, type PostAdminAiMessagesResponse, type PostAdminAiMessagesResponses, type PostAdminAiSearchAdvancedData, type PostAdminAiSearchAdvancedError, type PostAdminAiSearchAdvancedErrors, type PostAdminAiSearchAdvancedResponse, type PostAdminAiSearchAdvancedResponses, type PostAdminAiSearchData, type PostAdminAiSearchError, type PostAdminAiSearchErrors, type PostAdminAiSearchResponse, type PostAdminAiSearchResponses, type PostAdminApiKeysData, type PostAdminApiKeysError, type PostAdminApiKeysErrors, type PostAdminApiKeysResponse, type PostAdminApiKeysResponses, type PostAdminApplicationsData, type PostAdminApplicationsError, type PostAdminApplicationsErrors, type PostAdminApplicationsResponse, type PostAdminApplicationsResponses, type PostAdminBucketsData, type PostAdminBucketsError, type PostAdminBucketsErrors, type PostAdminBucketsResponse, type PostAdminBucketsResponses, type PostAdminConfigsData, type PostAdminConfigsError, type PostAdminConfigsErrors, type PostAdminConfigsResponse, type PostAdminConfigsResponses, type PostAdminCreditPackagesData, type PostAdminCreditPackagesError, type PostAdminCreditPackagesErrors, type PostAdminCreditPackagesResponse, type PostAdminCreditPackagesResponses, type PostAdminCustomersData, type PostAdminCustomersError, type PostAdminCustomersErrors, type PostAdminCustomersResponse, type PostAdminCustomersResponses, type PostAdminDocumentsBulkDeleteData, type PostAdminDocumentsBulkDeleteError, type PostAdminDocumentsBulkDeleteErrors, type PostAdminDocumentsBulkDeleteResponse, type PostAdminDocumentsBulkDeleteResponses, type PostAdminDocumentsPresignedUploadData, type PostAdminDocumentsPresignedUploadError, type PostAdminDocumentsPresignedUploadErrors, type PostAdminDocumentsPresignedUploadResponse, type PostAdminDocumentsPresignedUploadResponses, type PostAdminExtractionBatchesData, type PostAdminExtractionBatchesError, type PostAdminExtractionBatchesErrors, type PostAdminExtractionBatchesResponse, type PostAdminExtractionBatchesResponses, type PostAdminExtractionDocumentsBeginUploadData, type PostAdminExtractionDocumentsBeginUploadError, type PostAdminExtractionDocumentsBeginUploadErrors, type PostAdminExtractionDocumentsBeginUploadResponse, type PostAdminExtractionDocumentsBeginUploadResponses, type PostAdminExtractionDocumentsByIdReprocessData, type PostAdminExtractionDocumentsByIdReprocessError, type PostAdminExtractionDocumentsByIdReprocessErrors, type PostAdminExtractionDocumentsByIdReprocessResponse, type PostAdminExtractionDocumentsByIdReprocessResponses, type PostAdminExtractionDocumentsUploadData, type PostAdminExtractionDocumentsUploadError, type PostAdminExtractionDocumentsUploadErrors, type PostAdminExtractionDocumentsUploadResponse, type PostAdminExtractionDocumentsUploadResponses, type PostAdminExtractionResultsData, type PostAdminExtractionResultsError, type PostAdminExtractionResultsErrors, type PostAdminExtractionResultsResponse, type PostAdminExtractionResultsResponses, type PostAdminFieldTemplatesData, type PostAdminFieldTemplatesError, type PostAdminFieldTemplatesErrors, type PostAdminFieldTemplatesResponse, type PostAdminFieldTemplatesResponses, type PostAdminInvitationsAcceptByTokenData, type PostAdminInvitationsAcceptByTokenError, type PostAdminInvitationsAcceptByTokenErrors, type PostAdminInvitationsAcceptByTokenResponse, type PostAdminInvitationsAcceptByTokenResponses, type PostAdminInvitationsInviteData, type PostAdminInvitationsInviteError, type PostAdminInvitationsInviteErrors, type PostAdminInvitationsInviteResponse, type PostAdminInvitationsInviteResponses, type PostAdminIsvRevenueData, type PostAdminIsvRevenueError, type PostAdminIsvRevenueErrors, type PostAdminIsvRevenueResponse, type PostAdminIsvRevenueResponses, type PostAdminIsvSettlementsData, type PostAdminIsvSettlementsError, type PostAdminIsvSettlementsErrors, type PostAdminIsvSettlementsResponse, type PostAdminIsvSettlementsResponses, type PostAdminLlmAnalyticsData, type PostAdminLlmAnalyticsError, type PostAdminLlmAnalyticsErrors, type PostAdminLlmAnalyticsResponse, type PostAdminLlmAnalyticsResponses, type PostAdminMessagesData, type PostAdminMessagesError, type PostAdminMessagesErrors, type PostAdminMessagesResponse, type PostAdminMessagesResponses, type PostAdminNotificationMethodsData, type PostAdminNotificationMethodsError, type PostAdminNotificationMethodsErrors, type PostAdminNotificationMethodsResponse, type PostAdminNotificationMethodsResponses, type PostAdminNotificationPreferencesData, type PostAdminNotificationPreferencesError, type PostAdminNotificationPreferencesErrors, type PostAdminNotificationPreferencesResponse, type PostAdminNotificationPreferencesResponses, type PostAdminObjectsBulkDestroyData, type PostAdminObjectsBulkDestroyError, type PostAdminObjectsBulkDestroyErrors, type PostAdminObjectsBulkDestroyResponse, type PostAdminObjectsBulkDestroyResponses, type PostAdminObjectsRegisterData, type PostAdminObjectsRegisterError, type PostAdminObjectsRegisterErrors, type PostAdminObjectsRegisterResponse, type PostAdminObjectsRegisterResponses, type PostAdminPaymentMethodsData, type PostAdminPaymentMethodsError, type PostAdminPaymentMethodsErrors, type PostAdminPaymentMethodsResponse, type PostAdminPaymentMethodsResponses, type PostAdminPaymentsData, type PostAdminPaymentsError, type PostAdminPaymentsErrors, type PostAdminPaymentsResponse, type PostAdminPaymentsResponses, type PostAdminPlansData, type PostAdminPlansError, type PostAdminPlansErrors, type PostAdminPlansResponse, type PostAdminPlansResponses, type PostAdminPricingRulesData, type PostAdminPricingRulesError, type PostAdminPricingRulesErrors, type PostAdminPricingRulesResponse, type PostAdminPricingRulesResponses, type PostAdminPricingStrategiesData, type PostAdminPricingStrategiesError, type PostAdminPricingStrategiesErrors, type PostAdminPricingStrategiesResponse, type PostAdminPricingStrategiesResponses, type PostAdminSearchReindexData, type PostAdminSearchReindexError, type PostAdminSearchReindexErrors, type PostAdminSearchReindexResponse, type PostAdminSearchReindexResponses, type PostAdminSearchSavedData, type PostAdminSearchSavedError, type PostAdminSearchSavedErrors, type PostAdminSearchSavedResponse, type PostAdminSearchSavedResponses, type PostAdminStorageSignDownloadData, type PostAdminStorageSignDownloadError, type PostAdminStorageSignDownloadErrors, type PostAdminStorageSignDownloadResponse, type PostAdminStorageSignDownloadResponses, type PostAdminStorageSignUploadData, type PostAdminStorageSignUploadError, type PostAdminStorageSignUploadErrors, type PostAdminStorageSignUploadResponse, type PostAdminStorageSignUploadResponses, type PostAdminSubscriptionsData, type PostAdminSubscriptionsError, type PostAdminSubscriptionsErrors, type PostAdminSubscriptionsResponse, type PostAdminSubscriptionsResponses, type PostAdminSysAiConfigData, type PostAdminSysAiConfigError, type PostAdminSysAiConfigErrors, type PostAdminSysAiConfigResponse, type PostAdminSysAiConfigResponses, type PostAdminSysSemanticCacheClearData, type PostAdminSysSemanticCacheClearError, type PostAdminSysSemanticCacheClearErrors, type PostAdminSysSemanticCacheClearResponse, type PostAdminSysSemanticCacheClearResponses, type PostAdminTenantMembershipsData, type PostAdminTenantMembershipsError, type PostAdminTenantMembershipsErrors, type PostAdminTenantMembershipsResponse, type PostAdminTenantMembershipsResponses, type PostAdminTenantsByIdBuyStorageData, type PostAdminTenantsByIdBuyStorageError, type PostAdminTenantsByIdBuyStorageErrors, type PostAdminTenantsByIdBuyStorageResponse, type PostAdminTenantsByIdBuyStorageResponses, type PostAdminTenantsByIdCreditData, type PostAdminTenantsByIdCreditError, type PostAdminTenantsByIdCreditErrors, type PostAdminTenantsByIdCreditResponse, type PostAdminTenantsByIdCreditResponses, type PostAdminTenantsByIdRemoveStorageData, type PostAdminTenantsByIdRemoveStorageError, type PostAdminTenantsByIdRemoveStorageErrors, type PostAdminTenantsByIdRemoveStorageResponse, type PostAdminTenantsByIdRemoveStorageResponses, type PostAdminTenantsData, type PostAdminTenantsError, type PostAdminTenantsErrors, type PostAdminTenantsIsvData, type PostAdminTenantsIsvError, type PostAdminTenantsIsvErrors, type PostAdminTenantsIsvResponse, type PostAdminTenantsIsvResponses, type PostAdminTenantsResponse, type PostAdminTenantsResponses, type PostAdminThreadsActiveData, type PostAdminThreadsActiveError, type PostAdminThreadsActiveErrors, type PostAdminThreadsActiveResponse, type PostAdminThreadsActiveResponses, type PostAdminThreadsByIdMessagesData, type PostAdminThreadsByIdMessagesError, type PostAdminThreadsByIdMessagesErrors, type PostAdminThreadsByIdMessagesResponse, type PostAdminThreadsByIdMessagesResponses, type PostAdminThreadsByIdSummarizeData, type PostAdminThreadsByIdSummarizeError, type PostAdminThreadsByIdSummarizeErrors, type PostAdminThreadsByIdSummarizeResponse, type PostAdminThreadsByIdSummarizeResponses, type PostAdminThreadsData, type PostAdminThreadsError, type PostAdminThreadsErrors, type PostAdminThreadsResponse, type PostAdminThreadsResponses, type PostAdminTokensData, type PostAdminTokensError, type PostAdminTokensErrors, type PostAdminTokensResponse, type PostAdminTokensResponses, type PostAdminTrainingExamplesBulkData, type PostAdminTrainingExamplesBulkDeleteData, type PostAdminTrainingExamplesBulkDeleteError, type PostAdminTrainingExamplesBulkDeleteErrors, type PostAdminTrainingExamplesBulkDeleteResponse, type PostAdminTrainingExamplesBulkDeleteResponses, type PostAdminTrainingExamplesBulkError, type PostAdminTrainingExamplesBulkErrors, type PostAdminTrainingExamplesBulkResponse, type PostAdminTrainingExamplesBulkResponses, type PostAdminTrainingExamplesData, type PostAdminTrainingExamplesError, type PostAdminTrainingExamplesErrors, type PostAdminTrainingExamplesResponse, type PostAdminTrainingExamplesResponses, type PostAdminTrainingExamplesSearchData, type PostAdminTrainingExamplesSearchError, type PostAdminTrainingExamplesSearchErrors, type PostAdminTrainingExamplesSearchResponse, type PostAdminTrainingExamplesSearchResponses, type PostAdminUserProfilesData, type PostAdminUserProfilesError, type PostAdminUserProfilesErrors, type PostAdminUserProfilesResponse, type PostAdminUserProfilesResponses, type PostAdminUsersAuthConfirmData, type PostAdminUsersAuthConfirmError, type PostAdminUsersAuthConfirmErrors, type PostAdminUsersAuthConfirmResponse, type PostAdminUsersAuthConfirmResponses, type PostAdminUsersAuthLoginData, type PostAdminUsersAuthLoginError, type PostAdminUsersAuthLoginErrors, type PostAdminUsersAuthLoginResponse, type PostAdminUsersAuthLoginResponses, type PostAdminUsersAuthMagicLinkLoginData, type PostAdminUsersAuthMagicLinkLoginError, type PostAdminUsersAuthMagicLinkLoginErrors, type PostAdminUsersAuthMagicLinkLoginResponse, type PostAdminUsersAuthMagicLinkLoginResponses, type PostAdminUsersAuthMagicLinkRequestData, type PostAdminUsersAuthMagicLinkRequestError, type PostAdminUsersAuthMagicLinkRequestErrors, type PostAdminUsersAuthMagicLinkRequestResponse, type PostAdminUsersAuthMagicLinkRequestResponses, type PostAdminUsersAuthRegisterData, type PostAdminUsersAuthRegisterError, type PostAdminUsersAuthRegisterErrors, type PostAdminUsersAuthRegisterResponse, type PostAdminUsersAuthRegisterResponses, type PostAdminUsersAuthRegisterWithOidcData, type PostAdminUsersAuthRegisterWithOidcError, type PostAdminUsersAuthRegisterWithOidcErrors, type PostAdminUsersAuthRegisterWithOidcResponse, type PostAdminUsersAuthRegisterWithOidcResponses, type PostAdminUsersRegisterIsvData, type PostAdminUsersRegisterIsvError, type PostAdminUsersRegisterIsvErrors, type PostAdminUsersRegisterIsvResponse, type PostAdminUsersRegisterIsvResponses, type PostAdminWebhookConfigsByIdTestData, type PostAdminWebhookConfigsByIdTestError, type PostAdminWebhookConfigsByIdTestErrors, type PostAdminWebhookConfigsByIdTestResponse, type PostAdminWebhookConfigsByIdTestResponses, type PostAdminWebhookConfigsData, type PostAdminWebhookConfigsError, type PostAdminWebhookConfigsErrors, type PostAdminWebhookConfigsResponse, type PostAdminWebhookConfigsResponses, type PostAdminWebhookDeliveriesByIdRetryData, type PostAdminWebhookDeliveriesByIdRetryError, type PostAdminWebhookDeliveriesByIdRetryErrors, type PostAdminWebhookDeliveriesByIdRetryResponse, type PostAdminWebhookDeliveriesByIdRetryResponses, type PostAdminWorkspaceMembershipsData, type PostAdminWorkspaceMembershipsError, type PostAdminWorkspaceMembershipsErrors, type PostAdminWorkspaceMembershipsResponse, type PostAdminWorkspaceMembershipsResponses, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostAdminWorkspacesByWorkspaceIdExtractionExportsData, type PostAdminWorkspacesByWorkspaceIdExtractionExportsError, type PostAdminWorkspacesByWorkspaceIdExtractionExportsErrors, type PostAdminWorkspacesByWorkspaceIdExtractionExportsResponse, type PostAdminWorkspacesByWorkspaceIdExtractionExportsResponses, type PostAdminWorkspacesData, type PostAdminWorkspacesError, type PostAdminWorkspacesErrors, type PostAdminWorkspacesResponse, type PostAdminWorkspacesResponses, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type SavedSearch, type SchemaDiscovery, type Search, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsRequest, StorageStatsRequestSchema, type Subscription, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantStats, type Thread, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type User, type UserProfile, ValidationError, type Wallet, type WebhookBulkDisableRequest, WebhookBulkDisableSchema, type WebhookBulkEnableRequest, WebhookBulkEnableSchema, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookDelivery, type WebhookDeliveryBulkRetryRequest, WebhookDeliveryBulkRetrySchema, type Workspace, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, GptAdmin as default, handleApiError };