@gpt-core/client 0.9.36 → 0.9.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1668,6 +1668,10 @@ type Application = {
1668
1668
  * Field included by default.
1669
1669
  */
1670
1670
  slug: string;
1671
+ /**
1672
+ * Memorable slug for vanity URLs. Field included by default.
1673
+ */
1674
+ vanity_slug?: string | null | unknown;
1671
1675
  };
1672
1676
  id: string;
1673
1677
  /**
@@ -2694,6 +2698,10 @@ type Tenant = {
2694
2698
  * Field included by default.
2695
2699
  */
2696
2700
  initial_credits?: number | null | unknown;
2701
+ /**
2702
+ * True for auto-created personal tenants, false for organizations. Field included by default.
2703
+ */
2704
+ is_personal: boolean;
2697
2705
  /**
2698
2706
  * Field included by default.
2699
2707
  */
@@ -2706,6 +2714,10 @@ type Tenant = {
2706
2714
  * Field included by default.
2707
2715
  */
2708
2716
  name: string;
2717
+ /**
2718
+ * Subscription tier that gates feature access. Field included by default.
2719
+ */
2720
+ plan_tier: "free" | "pro" | "business" | "enterprise";
2709
2721
  /**
2710
2722
  * Field included by default.
2711
2723
  */
@@ -2720,6 +2732,10 @@ type Tenant = {
2720
2732
  training_pricing?: {
2721
2733
  [key: string]: unknown;
2722
2734
  } | null | unknown;
2735
+ /**
2736
+ * Memorable slug for vanity URLs. Field included by default.
2737
+ */
2738
+ vanity_slug?: string | null | unknown;
2723
2739
  };
2724
2740
  id: string;
2725
2741
  /**
@@ -3098,6 +3114,10 @@ type ApplicationType = {
3098
3114
  * Field included by default.
3099
3115
  */
3100
3116
  slug: string;
3117
+ /**
3118
+ * Memorable slug for vanity URLs. Field included by default.
3119
+ */
3120
+ vanity_slug?: string | null | unknown;
3101
3121
  };
3102
3122
  /**
3103
3123
  * A "Resource object" representing a training_example
@@ -3291,6 +3311,10 @@ type User = {
3291
3311
  attributes?: {
3292
3312
  current_scopes?: Array<string> | null | unknown;
3293
3313
  current_workspace_id?: string | null | unknown;
3314
+ /**
3315
+ * Default tenant for billing fallback (set for domain-joined and invitation-registered users). Field included by default.
3316
+ */
3317
+ default_tenant_id?: string | null | unknown;
3294
3318
  /**
3295
3319
  * Field included by default.
3296
3320
  */
@@ -4134,6 +4158,10 @@ type TenantMembership = {
4134
4158
  * True if this member is the tenant owner
4135
4159
  */
4136
4160
  is_owner?: boolean | null | unknown;
4161
+ /**
4162
+ * How the member joined this tenant. Field included by default.
4163
+ */
4164
+ join_source: "manual" | "invitation" | "domain_whitelist" | "sso_oidc" | "sso_saml" | "scim";
4137
4165
  /**
4138
4166
  * Org-level permissions in format {app}:{resource}:{action}:{scope}. Field included by default.
4139
4167
  */
@@ -4156,30 +4184,7 @@ type TenantMembership = {
4156
4184
  * A relationships object for a tenant-membership
4157
4185
  */
4158
4186
  relationships?: {
4159
- tenant?: {
4160
- /**
4161
- * An identifier for tenant
4162
- */
4163
- data?: {
4164
- id: string;
4165
- meta?: {
4166
- [key: string]: unknown;
4167
- };
4168
- type: string;
4169
- } | null;
4170
- };
4171
- user?: {
4172
- /**
4173
- * An identifier for user
4174
- */
4175
- data?: {
4176
- id: string;
4177
- meta?: {
4178
- [key: string]: unknown;
4179
- };
4180
- type: string;
4181
- } | null;
4182
- };
4187
+ [key: string]: never;
4183
4188
  };
4184
4189
  type: string;
4185
4190
  };
@@ -4309,6 +4314,59 @@ type AuditLog = {
4309
4314
  };
4310
4315
  type: string;
4311
4316
  };
4317
+ /**
4318
+ * A "Resource object" representing a consent_record
4319
+ */
4320
+ type ConsentRecord = {
4321
+ /**
4322
+ * An attributes object for a consent_record
4323
+ */
4324
+ attributes?: {
4325
+ /**
4326
+ * Human-readable description of what was consented to. Field included by default.
4327
+ */
4328
+ description?: string | null | unknown;
4329
+ /**
4330
+ * Field included by default.
4331
+ */
4332
+ granted_at: unknown;
4333
+ /**
4334
+ * Field included by default.
4335
+ */
4336
+ purpose: "ai_document_processing" | "data_analytics" | "marketing_communications" | "third_party_sharing";
4337
+ /**
4338
+ * Field included by default.
4339
+ */
4340
+ status: "granted" | "withdrawn";
4341
+ /**
4342
+ * Field included by default.
4343
+ */
4344
+ user_id: string;
4345
+ /**
4346
+ * Field included by default.
4347
+ */
4348
+ withdrawn_at?: unknown;
4349
+ };
4350
+ id: string;
4351
+ /**
4352
+ * A relationships object for a consent_record
4353
+ */
4354
+ relationships?: {
4355
+ user?: {
4356
+ /**
4357
+ * An identifier for user
4358
+ */
4359
+ data?: {
4360
+ id: string;
4361
+ meta?: {
4362
+ [key: string]: unknown;
4363
+ };
4364
+ type: string;
4365
+ } | null;
4366
+ };
4367
+ };
4368
+ type: string;
4369
+ };
4312
4370
  /**
4313
4371
  * A "Resource object" representing a balance
4314
4372
  */
@@ -4482,6 +4540,87 @@ type PresignedUrl = {
4482
4540
  };
4483
4541
  type: string;
4484
4542
  };
4543
+ /**
4544
+ * A "Resource object" representing a legal_document
4545
+ */
4546
+ type LegalDocument = {
4547
+ /**
4548
+ * An attributes object for a legal_document
4549
+ */
4550
+ attributes?: {
4551
+ /**
4552
+ * Document becomes active at this time. nil = immediately active when is_active is true. Field included by default.
4553
+ */
4554
+ active_from?: unknown;
4555
+ /**
4556
+ * Document expires at this time. nil = no expiration. Field included by default.
4557
+ */
4558
+ active_until?: unknown;
4559
+ /**
4560
+ * Field included by default.
4561
+ */
4562
+ application_id?: string | null | unknown;
4563
+ /**
4564
+ * Markdown content. Field included by default.
4565
+ */
4566
+ content: string;
4567
+ /**
4568
+ * Field included by default.
4569
+ */
4570
+ document_type: "terms_of_service" | "privacy_policy";
4571
+ /**
4572
+ * Field included by default.
4573
+ */
4574
+ is_active: boolean;
4575
+ /**
4576
+ * ISO 639-1 language code. Field included by default.
4577
+ */
4578
+ locale: string;
4579
+ /**
4580
+ * Field included by default.
4581
+ */
4582
+ published_at?: unknown;
4583
+ /**
4584
+ * Field included by default.
4585
+ */
4586
+ published_by_user_id?: string | null | unknown;
4587
+ /**
4588
+ * ISO 3166-1 region code (e.g., EU, BR, US) or nil for default. Field included by default.
4589
+ */
4590
+ region?: string | null | unknown;
4591
+ /**
4592
+ * Field included by default.
4593
+ */
4594
+ requires_acceptance: boolean;
4595
+ /**
4596
+ * Field included by default.
4597
+ */
4598
+ title: string;
4599
+ /**
4600
+ * Field included by default.
4601
+ */
4602
+ version: string;
4603
+ };
4604
+ id: string;
4605
+ /**
4606
+ * A relationships object for a legal_document
4607
+ */
4608
+ relationships?: {
4609
+ application?: {
4610
+ /**
4611
+ * An identifier for application
4612
+ */
4613
+ data?: {
4614
+ id: string;
4615
+ meta?: {
4616
+ [key: string]: unknown;
4617
+ };
4618
+ type: string;
4619
+ } | null;
4620
+ };
4621
+ };
4622
+ type: string;
4623
+ };
4485
4624
  /**
4486
4625
  * A "Resource object" representing a permission_preset
4487
4626
  */
@@ -4602,6 +4741,55 @@ type WorkspaceMembership = {
4602
4741
  };
4603
4742
  type: string;
4604
4743
  };
4744
+ /**
4745
+ * A "Resource object" representing a legal_acceptance
4746
+ */
4747
+ type LegalAcceptance = {
4748
+ /**
4749
+ * An attributes object for a legal_acceptance
4750
+ */
4751
+ attributes?: {
4752
+ /**
4753
+ * Field included by default.
4754
+ */
4755
+ accepted_at: unknown;
4756
+ /**
4757
+ * Field included by default.
4758
+ */
4759
+ context: "registration" | "version_update" | "periodic_reaccept";
4760
+ /**
4761
+ * Field included by default.
4762
+ */
4763
+ document_type: "terms_of_service" | "privacy_policy";
4764
+ /**
4765
+ * Field included by default.
4766
+ */
4767
+ user_id: string;
4768
+ /**
4769
+ * Field included by default.
4770
+ */
4771
+ version: string;
4772
+ };
4773
+ id: string;
4774
+ /**
4775
+ * A relationships object for a legal_acceptance
4776
+ */
4777
+ relationships?: {
4778
+ user?: {
4779
+ /**
4780
+ * An identifier for user
4781
+ */
4782
+ data?: {
4783
+ id: string;
4784
+ meta?: {
4785
+ [key: string]: unknown;
4786
+ };
4787
+ type: string;
4788
+ } | null;
4789
+ };
4790
+ };
4791
+ type: string;
4792
+ };
4605
4793
  /**
4606
4794
  * A "Resource object" representing a config
4607
4795
  */
@@ -5498,6 +5686,10 @@ type Workspace = {
5498
5686
  * The user's effective role in this workspace: admin, editor, or viewer
5499
5687
  */
5500
5688
  user_role?: string | null | unknown;
5689
+ /**
5690
+ * Memorable slug for vanity URLs. Field included by default.
5691
+ */
5692
+ vanity_slug?: string | null | unknown;
5501
5693
  };
5502
5694
  id: string;
5503
5695
  /**
@@ -5625,18 +5817,7 @@ type Invitation = {
5625
5817
  * A relationships object for a invitation
5626
5818
  */
5627
5819
  relationships?: {
5628
- inviter?: {
5629
- /**
5630
- * An identifier for inviter
5631
- */
5632
- data?: {
5633
- id: string;
5634
- meta?: {
5635
- [key: string]: unknown;
5636
- };
5637
- type: string;
5638
- } | null;
5639
- };
5820
+ [key: string]: never;
5640
5821
  };
5641
5822
  type: string;
5642
5823
  };
@@ -5671,7 +5852,7 @@ type SystemMessage = {
5671
5852
  /**
5672
5853
  * Field included by default.
5673
5854
  */
5674
- type: "tos" | "welcome" | "announcement";
5855
+ type: "tos" | "privacy_policy" | "welcome" | "announcement";
5675
5856
  /**
5676
5857
  * Field included by default.
5677
5858
  */
@@ -7452,7 +7633,7 @@ type PostInvitationsAcceptByTokenResponses = {
7452
7633
  */
7453
7634
  201: {
7454
7635
  data?: Invitation;
7455
- included?: Array<User>;
7636
+ included?: Array<unknown>;
7456
7637
  meta?: {
7457
7638
  [key: string]: unknown;
7458
7639
  };
@@ -7571,6 +7752,10 @@ type PostWorkspacesData = {
7571
7752
  settings?: WorkspaceSettingsInputCreateType | unknown;
7572
7753
  slug: string;
7573
7754
  tenant_id: string;
7755
+ /**
7756
+ * Memorable slug for vanity URLs
7757
+ */
7758
+ vanity_slug?: string | unknown;
7574
7759
  };
7575
7760
  relationships?: {
7576
7761
  [key: string]: never;
@@ -9747,7 +9932,7 @@ type GetInvitationsConsumeByTokenResponses = {
9747
9932
  */
9748
9933
  200: {
9749
9934
  data?: Invitation;
9750
- included?: Array<User>;
9935
+ included?: Array<unknown>;
9751
9936
  meta?: {
9752
9937
  [key: string]: unknown;
9753
9938
  };
@@ -10297,7 +10482,7 @@ type PatchInvitationsByIdRevokeResponses = {
10297
10482
  */
10298
10483
  200: {
10299
10484
  data?: Invitation;
10300
- included?: Array<User>;
10485
+ included?: Array<unknown>;
10301
10486
  meta?: {
10302
10487
  [key: string]: unknown;
10303
10488
  };
@@ -11554,6 +11739,89 @@ type PatchSearchSavedByIdResponses = {
11554
11739
  };
11555
11740
  };
11556
11741
  type PatchSearchSavedByIdResponse = PatchSearchSavedByIdResponses[keyof PatchSearchSavedByIdResponses];
11742
+ type PatchLegalDocumentsByIdUnpublishData = {
11743
+ /**
11744
+ * Request body for the /legal-documents/:id/unpublish operation on legal_document resource
11745
+ */
11746
+ body?: {
11747
+ data: {
11748
+ attributes?: {
11749
+ [key: string]: never;
11750
+ };
11751
+ id: string;
11752
+ relationships?: {
11753
+ [key: string]: never;
11754
+ };
11755
+ type?: "legal_document";
11756
+ };
11757
+ };
11758
+ headers: {
11759
+ /**
11760
+ * Application ID for authentication and routing
11761
+ */
11762
+ "x-application-key": string;
11763
+ };
11764
+ path: {
11765
+ id: string;
11766
+ };
11767
+ query?: {
11768
+ /**
11769
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
11770
+ */
11771
+ include?: string;
11772
+ /**
11773
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
11774
+ */
11775
+ fields?: {
11776
+ [key: string]: unknown;
11777
+ };
11778
+ };
11779
+ url: "/legal-documents/{id}/unpublish";
11780
+ };
11781
+ type PatchLegalDocumentsByIdUnpublishErrors = {
11782
+ /**
11783
+ * Bad Request - Invalid input data or malformed request
11784
+ */
11785
+ 400: ErrorResponse;
11786
+ /**
11787
+ * Unauthorized - Missing or invalid authentication token
11788
+ */
11789
+ 401: ErrorResponse;
11790
+ /**
11791
+ * Forbidden - Authenticated but not authorized for this resource
11792
+ */
11793
+ 403: ErrorResponse;
11794
+ /**
11795
+ * Not Found - Resource does not exist
11796
+ */
11797
+ 404: ErrorResponse;
11798
+ /**
11799
+ * Too Many Requests - Rate limit exceeded
11800
+ */
11801
+ 429: ErrorResponse;
11802
+ /**
11803
+ * Internal Server Error - Unexpected server error
11804
+ */
11805
+ 500: ErrorResponse;
11806
+ /**
11807
+ * General Error
11808
+ */
11809
+ default: Errors;
11810
+ };
11811
+ type PatchLegalDocumentsByIdUnpublishError = PatchLegalDocumentsByIdUnpublishErrors[keyof PatchLegalDocumentsByIdUnpublishErrors];
11812
+ type PatchLegalDocumentsByIdUnpublishResponses = {
11813
+ /**
11814
+ * Success
11815
+ */
11816
+ 200: {
11817
+ data?: LegalDocument;
11818
+ included?: Array<unknown>;
11819
+ meta?: {
11820
+ [key: string]: unknown;
11821
+ };
11822
+ };
11823
+ };
11824
+ type PatchLegalDocumentsByIdUnpublishResponse = PatchLegalDocumentsByIdUnpublishResponses[keyof PatchLegalDocumentsByIdUnpublishResponses];
11557
11825
  type PatchUsersByIdAdminEmailData = {
11558
11826
  /**
11559
11827
  * Request body for the /users/:id/admin/email operation on user resource
@@ -12927,7 +13195,7 @@ type PatchInvitationsByIdResendResponses = {
12927
13195
  */
12928
13196
  200: {
12929
13197
  data?: Invitation;
12930
- included?: Array<User>;
13198
+ included?: Array<unknown>;
12931
13199
  meta?: {
12932
13200
  [key: string]: unknown;
12933
13201
  };
@@ -13832,7 +14100,7 @@ type PatchInvitationsByIdAcceptByUserResponses = {
13832
14100
  */
13833
14101
  200: {
13834
14102
  data?: Invitation;
13835
- included?: Array<User>;
14103
+ included?: Array<unknown>;
13836
14104
  meta?: {
13837
14105
  [key: string]: unknown;
13838
14106
  };
@@ -14184,7 +14452,7 @@ type DeleteAiMessagesByIdResponses = {
14184
14452
  */
14185
14453
  200: unknown;
14186
14454
  };
14187
- type GetExtractionBatchesByIdUploadUrlsData = {
14455
+ type GetLegalAcceptancesByIdData = {
14188
14456
  body?: never;
14189
14457
  headers: {
14190
14458
  /**
@@ -14206,18 +14474,10 @@ type GetExtractionBatchesByIdUploadUrlsData = {
14206
14474
  fields?: {
14207
14475
  [key: string]: unknown;
14208
14476
  };
14209
- /**
14210
- * Number of files to upload
14211
- */
14212
- file_count?: number;
14213
- /**
14214
- * Optional list of filenames
14215
- */
14216
- filenames?: Array<string>;
14217
14477
  };
14218
- url: "/extraction/batches/{id}/upload-urls";
14478
+ url: "/legal-acceptances/{id}";
14219
14479
  };
14220
- type GetExtractionBatchesByIdUploadUrlsErrors = {
14480
+ type GetLegalAcceptancesByIdErrors = {
14221
14481
  /**
14222
14482
  * Bad Request - Invalid input data or malformed request
14223
14483
  */
@@ -14247,161 +14507,21 @@ type GetExtractionBatchesByIdUploadUrlsErrors = {
14247
14507
  */
14248
14508
  default: Errors;
14249
14509
  };
14250
- type GetExtractionBatchesByIdUploadUrlsError = GetExtractionBatchesByIdUploadUrlsErrors[keyof GetExtractionBatchesByIdUploadUrlsErrors];
14251
- type GetExtractionBatchesByIdUploadUrlsResponses = {
14510
+ type GetLegalAcceptancesByIdError = GetLegalAcceptancesByIdErrors[keyof GetLegalAcceptancesByIdErrors];
14511
+ type GetLegalAcceptancesByIdResponses = {
14252
14512
  /**
14253
14513
  * Success
14254
14514
  */
14255
14515
  200: {
14256
- data?: ExtractionBatch;
14257
- included?: Array<unknown>;
14258
- meta?: {
14259
- [key: string]: unknown;
14260
- };
14261
- };
14262
- };
14263
- type GetExtractionBatchesByIdUploadUrlsResponse = GetExtractionBatchesByIdUploadUrlsResponses[keyof GetExtractionBatchesByIdUploadUrlsResponses];
14264
- type PostAiChunksSearchData = {
14265
- /**
14266
- * Request body for the /ai/chunks/search operation on document_chunk resource
14267
- */
14268
- body: {
14269
- data: {
14270
- attributes?: {
14271
- limit?: number | unknown;
14272
- query_embedding: unknown;
14273
- tenant_id: string;
14274
- };
14275
- relationships?: {
14276
- [key: string]: never;
14277
- };
14278
- type?: "document_chunk";
14279
- };
14280
- };
14281
- headers: {
14282
- /**
14283
- * Application ID for authentication and routing
14284
- */
14285
- "x-application-key": string;
14286
- };
14287
- path?: never;
14288
- query?: {
14289
- /**
14290
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14291
- */
14292
- include?: string;
14293
- /**
14294
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14295
- */
14296
- fields?: {
14297
- [key: string]: unknown;
14298
- };
14299
- };
14300
- url: "/ai/chunks/search";
14301
- };
14302
- type PostAiChunksSearchErrors = {
14303
- /**
14304
- * Bad Request - Invalid input data or malformed request
14305
- */
14306
- 400: ErrorResponse;
14307
- /**
14308
- * Unauthorized - Missing or invalid authentication token
14309
- */
14310
- 401: ErrorResponse;
14311
- /**
14312
- * Forbidden - Authenticated but not authorized for this resource
14313
- */
14314
- 403: ErrorResponse;
14315
- /**
14316
- * Not Found - Resource does not exist
14317
- */
14318
- 404: ErrorResponse;
14319
- /**
14320
- * Too Many Requests - Rate limit exceeded
14321
- */
14322
- 429: ErrorResponse;
14323
- /**
14324
- * Internal Server Error - Unexpected server error
14325
- */
14326
- 500: ErrorResponse;
14327
- /**
14328
- * General Error
14329
- */
14330
- default: Errors;
14331
- };
14332
- type PostAiChunksSearchError = PostAiChunksSearchErrors[keyof PostAiChunksSearchErrors];
14333
- type PostAiChunksSearchResponses = {
14334
- /**
14335
- * Success
14336
- */
14337
- 201: {
14338
- data?: DocumentChunk;
14516
+ data?: LegalAcceptance;
14339
14517
  included?: Array<unknown>;
14340
14518
  meta?: {
14341
14519
  [key: string]: unknown;
14342
14520
  };
14343
14521
  };
14344
14522
  };
14345
- type PostAiChunksSearchResponse = PostAiChunksSearchResponses[keyof PostAiChunksSearchResponses];
14346
- type PostAgentVersionsByIdAddSystemFieldData = {
14347
- /**
14348
- * Request body for the /agent-versions/:id/add-system-field operation on agent_version resource
14349
- */
14350
- body: {
14351
- data: {
14352
- system_field_name: string;
14353
- };
14354
- };
14355
- headers: {
14356
- /**
14357
- * Application ID for authentication and routing
14358
- */
14359
- "x-application-key": string;
14360
- };
14361
- path: {
14362
- id: string;
14363
- };
14364
- query?: never;
14365
- url: "/agent-versions/{id}/add-system-field";
14366
- };
14367
- type PostAgentVersionsByIdAddSystemFieldErrors = {
14368
- /**
14369
- * Bad Request - Invalid input data or malformed request
14370
- */
14371
- 400: ErrorResponse;
14372
- /**
14373
- * Unauthorized - Missing or invalid authentication token
14374
- */
14375
- 401: ErrorResponse;
14376
- /**
14377
- * Forbidden - Authenticated but not authorized for this resource
14378
- */
14379
- 403: ErrorResponse;
14380
- /**
14381
- * Not Found - Resource does not exist
14382
- */
14383
- 404: ErrorResponse;
14384
- /**
14385
- * Too Many Requests - Rate limit exceeded
14386
- */
14387
- 429: ErrorResponse;
14388
- /**
14389
- * Internal Server Error - Unexpected server error
14390
- */
14391
- 500: ErrorResponse;
14392
- /**
14393
- * General Error
14394
- */
14395
- default: Errors;
14396
- };
14397
- type PostAgentVersionsByIdAddSystemFieldError = PostAgentVersionsByIdAddSystemFieldErrors[keyof PostAgentVersionsByIdAddSystemFieldErrors];
14398
- type PostAgentVersionsByIdAddSystemFieldResponses = {
14399
- /**
14400
- * Success
14401
- */
14402
- 201: unknown;
14403
- };
14404
- type GetThreadsByIdMessagesData = {
14523
+ type GetLegalAcceptancesByIdResponse = GetLegalAcceptancesByIdResponses[keyof GetLegalAcceptancesByIdResponses];
14524
+ type GetExtractionBatchesByIdUploadUrlsData = {
14405
14525
  body?: never;
14406
14526
  headers: {
14407
14527
  /**
@@ -14423,92 +14543,18 @@ type GetThreadsByIdMessagesData = {
14423
14543
  fields?: {
14424
14544
  [key: string]: unknown;
14425
14545
  };
14426
- };
14427
- url: "/threads/{id}/messages";
14428
- };
14429
- type GetThreadsByIdMessagesErrors = {
14430
- /**
14431
- * Bad Request - Invalid input data or malformed request
14432
- */
14433
- 400: ErrorResponse;
14434
- /**
14435
- * Unauthorized - Missing or invalid authentication token
14436
- */
14437
- 401: ErrorResponse;
14438
- /**
14439
- * Forbidden - Authenticated but not authorized for this resource
14440
- */
14441
- 403: ErrorResponse;
14442
- /**
14443
- * Not Found - Resource does not exist
14444
- */
14445
- 404: ErrorResponse;
14446
- /**
14447
- * Too Many Requests - Rate limit exceeded
14448
- */
14449
- 429: ErrorResponse;
14450
- /**
14451
- * Internal Server Error - Unexpected server error
14452
- */
14453
- 500: ErrorResponse;
14454
- /**
14455
- * General Error
14456
- */
14457
- default: Errors;
14458
- };
14459
- type GetThreadsByIdMessagesError = GetThreadsByIdMessagesErrors[keyof GetThreadsByIdMessagesErrors];
14460
- type GetThreadsByIdMessagesResponses = {
14461
- /**
14462
- * Success
14463
- */
14464
- 200: {
14465
- data?: Message;
14466
- included?: Array<unknown>;
14467
- meta?: {
14468
- [key: string]: unknown;
14469
- };
14470
- };
14471
- };
14472
- type GetThreadsByIdMessagesResponse = GetThreadsByIdMessagesResponses[keyof GetThreadsByIdMessagesResponses];
14473
- type PostThreadsByIdMessagesData = {
14474
- /**
14475
- * Request body for the /threads/:id/messages operation on thread resource
14476
- */
14477
- body: {
14478
- data: {
14479
- attributes?: {
14480
- content: string;
14481
- };
14482
- relationships?: {
14483
- [key: string]: never;
14484
- };
14485
- type?: "thread";
14486
- };
14487
- };
14488
- headers: {
14489
- /**
14490
- * Application ID for authentication and routing
14491
- */
14492
- "x-application-key": string;
14493
- };
14494
- path: {
14495
- id: string;
14496
- };
14497
- query?: {
14498
14546
  /**
14499
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14547
+ * Number of files to upload
14500
14548
  */
14501
- include?: string;
14549
+ file_count?: number;
14502
14550
  /**
14503
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14551
+ * Optional list of filenames
14504
14552
  */
14505
- fields?: {
14506
- [key: string]: unknown;
14507
- };
14553
+ filenames?: Array<string>;
14508
14554
  };
14509
- url: "/threads/{id}/messages";
14555
+ url: "/extraction/batches/{id}/upload-urls";
14510
14556
  };
14511
- type PostThreadsByIdMessagesErrors = {
14557
+ type GetExtractionBatchesByIdUploadUrlsErrors = {
14512
14558
  /**
14513
14559
  * Bad Request - Invalid input data or malformed request
14514
14560
  */
@@ -14538,35 +14584,35 @@ type PostThreadsByIdMessagesErrors = {
14538
14584
  */
14539
14585
  default: Errors;
14540
14586
  };
14541
- type PostThreadsByIdMessagesError = PostThreadsByIdMessagesErrors[keyof PostThreadsByIdMessagesErrors];
14542
- type PostThreadsByIdMessagesResponses = {
14587
+ type GetExtractionBatchesByIdUploadUrlsError = GetExtractionBatchesByIdUploadUrlsErrors[keyof GetExtractionBatchesByIdUploadUrlsErrors];
14588
+ type GetExtractionBatchesByIdUploadUrlsResponses = {
14543
14589
  /**
14544
14590
  * Success
14545
14591
  */
14546
- 201: {
14547
- data?: Thread;
14592
+ 200: {
14593
+ data?: ExtractionBatch;
14548
14594
  included?: Array<unknown>;
14549
14595
  meta?: {
14550
14596
  [key: string]: unknown;
14551
14597
  };
14552
14598
  };
14553
14599
  };
14554
- type PostThreadsByIdMessagesResponse = PostThreadsByIdMessagesResponses[keyof PostThreadsByIdMessagesResponses];
14555
- type PatchInvitationsByIdAcceptData = {
14600
+ type GetExtractionBatchesByIdUploadUrlsResponse = GetExtractionBatchesByIdUploadUrlsResponses[keyof GetExtractionBatchesByIdUploadUrlsResponses];
14601
+ type PostAiChunksSearchData = {
14556
14602
  /**
14557
- * Request body for the /invitations/:id/accept operation on invitation resource
14603
+ * Request body for the /ai/chunks/search operation on document_chunk resource
14558
14604
  */
14559
14605
  body: {
14560
14606
  data: {
14561
14607
  attributes?: {
14562
- application_id?: string | unknown;
14563
- token: string;
14608
+ limit?: number | unknown;
14609
+ query_embedding: unknown;
14610
+ tenant_id: string;
14564
14611
  };
14565
- id: string;
14566
14612
  relationships?: {
14567
14613
  [key: string]: never;
14568
14614
  };
14569
- type?: "invitation";
14615
+ type?: "document_chunk";
14570
14616
  };
14571
14617
  };
14572
14618
  headers: {
@@ -14575,9 +14621,7 @@ type PatchInvitationsByIdAcceptData = {
14575
14621
  */
14576
14622
  "x-application-key": string;
14577
14623
  };
14578
- path: {
14579
- id: string;
14580
- };
14624
+ path?: never;
14581
14625
  query?: {
14582
14626
  /**
14583
14627
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -14590,9 +14634,302 @@ type PatchInvitationsByIdAcceptData = {
14590
14634
  [key: string]: unknown;
14591
14635
  };
14592
14636
  };
14593
- url: "/invitations/{id}/accept";
14637
+ url: "/ai/chunks/search";
14594
14638
  };
14595
- type PatchInvitationsByIdAcceptErrors = {
14639
+ type PostAiChunksSearchErrors = {
14640
+ /**
14641
+ * Bad Request - Invalid input data or malformed request
14642
+ */
14643
+ 400: ErrorResponse;
14644
+ /**
14645
+ * Unauthorized - Missing or invalid authentication token
14646
+ */
14647
+ 401: ErrorResponse;
14648
+ /**
14649
+ * Forbidden - Authenticated but not authorized for this resource
14650
+ */
14651
+ 403: ErrorResponse;
14652
+ /**
14653
+ * Not Found - Resource does not exist
14654
+ */
14655
+ 404: ErrorResponse;
14656
+ /**
14657
+ * Too Many Requests - Rate limit exceeded
14658
+ */
14659
+ 429: ErrorResponse;
14660
+ /**
14661
+ * Internal Server Error - Unexpected server error
14662
+ */
14663
+ 500: ErrorResponse;
14664
+ /**
14665
+ * General Error
14666
+ */
14667
+ default: Errors;
14668
+ };
14669
+ type PostAiChunksSearchError = PostAiChunksSearchErrors[keyof PostAiChunksSearchErrors];
14670
+ type PostAiChunksSearchResponses = {
14671
+ /**
14672
+ * Success
14673
+ */
14674
+ 201: {
14675
+ data?: DocumentChunk;
14676
+ included?: Array<unknown>;
14677
+ meta?: {
14678
+ [key: string]: unknown;
14679
+ };
14680
+ };
14681
+ };
14682
+ type PostAiChunksSearchResponse = PostAiChunksSearchResponses[keyof PostAiChunksSearchResponses];
14683
+ type PostAgentVersionsByIdAddSystemFieldData = {
14684
+ /**
14685
+ * Request body for the /agent-versions/:id/add-system-field operation on agent_version resource
14686
+ */
14687
+ body: {
14688
+ data: {
14689
+ system_field_name: string;
14690
+ };
14691
+ };
14692
+ headers: {
14693
+ /**
14694
+ * Application ID for authentication and routing
14695
+ */
14696
+ "x-application-key": string;
14697
+ };
14698
+ path: {
14699
+ id: string;
14700
+ };
14701
+ query?: never;
14702
+ url: "/agent-versions/{id}/add-system-field";
14703
+ };
14704
+ type PostAgentVersionsByIdAddSystemFieldErrors = {
14705
+ /**
14706
+ * Bad Request - Invalid input data or malformed request
14707
+ */
14708
+ 400: ErrorResponse;
14709
+ /**
14710
+ * Unauthorized - Missing or invalid authentication token
14711
+ */
14712
+ 401: ErrorResponse;
14713
+ /**
14714
+ * Forbidden - Authenticated but not authorized for this resource
14715
+ */
14716
+ 403: ErrorResponse;
14717
+ /**
14718
+ * Not Found - Resource does not exist
14719
+ */
14720
+ 404: ErrorResponse;
14721
+ /**
14722
+ * Too Many Requests - Rate limit exceeded
14723
+ */
14724
+ 429: ErrorResponse;
14725
+ /**
14726
+ * Internal Server Error - Unexpected server error
14727
+ */
14728
+ 500: ErrorResponse;
14729
+ /**
14730
+ * General Error
14731
+ */
14732
+ default: Errors;
14733
+ };
14734
+ type PostAgentVersionsByIdAddSystemFieldError = PostAgentVersionsByIdAddSystemFieldErrors[keyof PostAgentVersionsByIdAddSystemFieldErrors];
14735
+ type PostAgentVersionsByIdAddSystemFieldResponses = {
14736
+ /**
14737
+ * Success
14738
+ */
14739
+ 201: unknown;
14740
+ };
14741
+ type GetThreadsByIdMessagesData = {
14742
+ body?: never;
14743
+ headers: {
14744
+ /**
14745
+ * Application ID for authentication and routing
14746
+ */
14747
+ "x-application-key": string;
14748
+ };
14749
+ path: {
14750
+ id: string;
14751
+ };
14752
+ query?: {
14753
+ /**
14754
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14755
+ */
14756
+ include?: string;
14757
+ /**
14758
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14759
+ */
14760
+ fields?: {
14761
+ [key: string]: unknown;
14762
+ };
14763
+ };
14764
+ url: "/threads/{id}/messages";
14765
+ };
14766
+ type GetThreadsByIdMessagesErrors = {
14767
+ /**
14768
+ * Bad Request - Invalid input data or malformed request
14769
+ */
14770
+ 400: ErrorResponse;
14771
+ /**
14772
+ * Unauthorized - Missing or invalid authentication token
14773
+ */
14774
+ 401: ErrorResponse;
14775
+ /**
14776
+ * Forbidden - Authenticated but not authorized for this resource
14777
+ */
14778
+ 403: ErrorResponse;
14779
+ /**
14780
+ * Not Found - Resource does not exist
14781
+ */
14782
+ 404: ErrorResponse;
14783
+ /**
14784
+ * Too Many Requests - Rate limit exceeded
14785
+ */
14786
+ 429: ErrorResponse;
14787
+ /**
14788
+ * Internal Server Error - Unexpected server error
14789
+ */
14790
+ 500: ErrorResponse;
14791
+ /**
14792
+ * General Error
14793
+ */
14794
+ default: Errors;
14795
+ };
14796
+ type GetThreadsByIdMessagesError = GetThreadsByIdMessagesErrors[keyof GetThreadsByIdMessagesErrors];
14797
+ type GetThreadsByIdMessagesResponses = {
14798
+ /**
14799
+ * Success
14800
+ */
14801
+ 200: {
14802
+ data?: Message;
14803
+ included?: Array<unknown>;
14804
+ meta?: {
14805
+ [key: string]: unknown;
14806
+ };
14807
+ };
14808
+ };
14809
+ type GetThreadsByIdMessagesResponse = GetThreadsByIdMessagesResponses[keyof GetThreadsByIdMessagesResponses];
14810
+ type PostThreadsByIdMessagesData = {
14811
+ /**
14812
+ * Request body for the /threads/:id/messages operation on thread resource
14813
+ */
14814
+ body: {
14815
+ data: {
14816
+ attributes?: {
14817
+ content: string;
14818
+ };
14819
+ relationships?: {
14820
+ [key: string]: never;
14821
+ };
14822
+ type?: "thread";
14823
+ };
14824
+ };
14825
+ headers: {
14826
+ /**
14827
+ * Application ID for authentication and routing
14828
+ */
14829
+ "x-application-key": string;
14830
+ };
14831
+ path: {
14832
+ id: string;
14833
+ };
14834
+ query?: {
14835
+ /**
14836
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14837
+ */
14838
+ include?: string;
14839
+ /**
14840
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14841
+ */
14842
+ fields?: {
14843
+ [key: string]: unknown;
14844
+ };
14845
+ };
14846
+ url: "/threads/{id}/messages";
14847
+ };
14848
+ type PostThreadsByIdMessagesErrors = {
14849
+ /**
14850
+ * Bad Request - Invalid input data or malformed request
14851
+ */
14852
+ 400: ErrorResponse;
14853
+ /**
14854
+ * Unauthorized - Missing or invalid authentication token
14855
+ */
14856
+ 401: ErrorResponse;
14857
+ /**
14858
+ * Forbidden - Authenticated but not authorized for this resource
14859
+ */
14860
+ 403: ErrorResponse;
14861
+ /**
14862
+ * Not Found - Resource does not exist
14863
+ */
14864
+ 404: ErrorResponse;
14865
+ /**
14866
+ * Too Many Requests - Rate limit exceeded
14867
+ */
14868
+ 429: ErrorResponse;
14869
+ /**
14870
+ * Internal Server Error - Unexpected server error
14871
+ */
14872
+ 500: ErrorResponse;
14873
+ /**
14874
+ * General Error
14875
+ */
14876
+ default: Errors;
14877
+ };
14878
+ type PostThreadsByIdMessagesError = PostThreadsByIdMessagesErrors[keyof PostThreadsByIdMessagesErrors];
14879
+ type PostThreadsByIdMessagesResponses = {
14880
+ /**
14881
+ * Success
14882
+ */
14883
+ 201: {
14884
+ data?: Thread;
14885
+ included?: Array<unknown>;
14886
+ meta?: {
14887
+ [key: string]: unknown;
14888
+ };
14889
+ };
14890
+ };
14891
+ type PostThreadsByIdMessagesResponse = PostThreadsByIdMessagesResponses[keyof PostThreadsByIdMessagesResponses];
14892
+ type PatchInvitationsByIdAcceptData = {
14893
+ /**
14894
+ * Request body for the /invitations/:id/accept operation on invitation resource
14895
+ */
14896
+ body: {
14897
+ data: {
14898
+ attributes?: {
14899
+ application_id?: string | unknown;
14900
+ token: string;
14901
+ };
14902
+ id: string;
14903
+ relationships?: {
14904
+ [key: string]: never;
14905
+ };
14906
+ type?: "invitation";
14907
+ };
14908
+ };
14909
+ headers: {
14910
+ /**
14911
+ * Application ID for authentication and routing
14912
+ */
14913
+ "x-application-key": string;
14914
+ };
14915
+ path: {
14916
+ id: string;
14917
+ };
14918
+ query?: {
14919
+ /**
14920
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14921
+ */
14922
+ include?: string;
14923
+ /**
14924
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
14925
+ */
14926
+ fields?: {
14927
+ [key: string]: unknown;
14928
+ };
14929
+ };
14930
+ url: "/invitations/{id}/accept";
14931
+ };
14932
+ type PatchInvitationsByIdAcceptErrors = {
14596
14933
  /**
14597
14934
  * Bad Request - Invalid input data or malformed request
14598
14935
  */
@@ -14629,7 +14966,7 @@ type PatchInvitationsByIdAcceptResponses = {
14629
14966
  */
14630
14967
  200: {
14631
14968
  data?: Invitation;
14632
- included?: Array<User>;
14969
+ included?: Array<unknown>;
14633
14970
  meta?: {
14634
14971
  [key: string]: unknown;
14635
14972
  };
@@ -15881,7 +16218,7 @@ type GetTenantMembershipsResponses = {
15881
16218
  * An array of resource objects representing a tenant-membership
15882
16219
  */
15883
16220
  data?: Array<TenantMembership>;
15884
- included?: Array<User | Tenant | UserProfile>;
16221
+ included?: Array<unknown>;
15885
16222
  meta?: {
15886
16223
  [key: string]: unknown;
15887
16224
  };
@@ -15895,6 +16232,10 @@ type PostTenantMembershipsData = {
15895
16232
  body: {
15896
16233
  data: {
15897
16234
  attributes?: {
16235
+ /**
16236
+ * How the member joined this tenant
16237
+ */
16238
+ join_source?: "manual" | "invitation" | "domain_whitelist" | "sso_oidc" | "sso_saml" | "scim" | unknown;
15898
16239
  /**
15899
16240
  * Org-level permissions in format {app}:{resource}:{action}:{scope}
15900
16241
  */
@@ -15970,7 +16311,7 @@ type PostTenantMembershipsResponses = {
15970
16311
  */
15971
16312
  201: {
15972
16313
  data?: TenantMembership;
15973
- included?: Array<User | Tenant | UserProfile>;
16314
+ included?: Array<unknown>;
15974
16315
  meta?: {
15975
16316
  [key: string]: unknown;
15976
16317
  };
@@ -16610,7 +16951,7 @@ type PatchExtractionDocumentsByIdFinishUploadResponses = {
16610
16951
  };
16611
16952
  };
16612
16953
  type PatchExtractionDocumentsByIdFinishUploadResponse = PatchExtractionDocumentsByIdFinishUploadResponses[keyof PatchExtractionDocumentsByIdFinishUploadResponses];
16613
- type GetTrainingSessionsAgentsByAgentIdSessionsData = {
16954
+ type GetConsentRecordsByIdData = {
16614
16955
  body?: never;
16615
16956
  headers: {
16616
16957
  /**
@@ -16619,19 +16960,9 @@ type GetTrainingSessionsAgentsByAgentIdSessionsData = {
16619
16960
  "x-application-key": string;
16620
16961
  };
16621
16962
  path: {
16622
- agent_id: string;
16963
+ id: string;
16623
16964
  };
16624
16965
  query?: {
16625
- /**
16626
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
16627
- */
16628
- filter?: {
16629
- [key: string]: unknown;
16630
- };
16631
- /**
16632
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
16633
- */
16634
- sort?: string;
16635
16966
  /**
16636
16967
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16637
16968
  */
@@ -16643,9 +16974,9 @@ type GetTrainingSessionsAgentsByAgentIdSessionsData = {
16643
16974
  [key: string]: unknown;
16644
16975
  };
16645
16976
  };
16646
- url: "/training-sessions/agents/{agent_id}/sessions";
16977
+ url: "/consent-records/{id}";
16647
16978
  };
16648
- type GetTrainingSessionsAgentsByAgentIdSessionsErrors = {
16979
+ type GetConsentRecordsByIdErrors = {
16649
16980
  /**
16650
16981
  * Bad Request - Invalid input data or malformed request
16651
16982
  */
@@ -16675,24 +17006,21 @@ type GetTrainingSessionsAgentsByAgentIdSessionsErrors = {
16675
17006
  */
16676
17007
  default: Errors;
16677
17008
  };
16678
- type GetTrainingSessionsAgentsByAgentIdSessionsError = GetTrainingSessionsAgentsByAgentIdSessionsErrors[keyof GetTrainingSessionsAgentsByAgentIdSessionsErrors];
16679
- type GetTrainingSessionsAgentsByAgentIdSessionsResponses = {
17009
+ type GetConsentRecordsByIdError = GetConsentRecordsByIdErrors[keyof GetConsentRecordsByIdErrors];
17010
+ type GetConsentRecordsByIdResponses = {
16680
17011
  /**
16681
17012
  * Success
16682
17013
  */
16683
17014
  200: {
16684
- /**
16685
- * An array of resource objects representing a training_session
16686
- */
16687
- data?: Array<TrainingSession>;
17015
+ data?: ConsentRecord;
16688
17016
  included?: Array<unknown>;
16689
17017
  meta?: {
16690
17018
  [key: string]: unknown;
16691
17019
  };
16692
17020
  };
16693
17021
  };
16694
- type GetTrainingSessionsAgentsByAgentIdSessionsResponse = GetTrainingSessionsAgentsByAgentIdSessionsResponses[keyof GetTrainingSessionsAgentsByAgentIdSessionsResponses];
16695
- type GetApiKeysStatsData = {
17022
+ type GetConsentRecordsByIdResponse = GetConsentRecordsByIdResponses[keyof GetConsentRecordsByIdResponses];
17023
+ type GetTrainingSessionsAgentsByAgentIdSessionsData = {
16696
17024
  body?: never;
16697
17025
  headers: {
16698
17026
  /**
@@ -16700,8 +17028,10 @@ type GetApiKeysStatsData = {
16700
17028
  */
16701
17029
  "x-application-key": string;
16702
17030
  };
16703
- path?: never;
16704
- query: {
17031
+ path: {
17032
+ agent_id: string;
17033
+ };
17034
+ query?: {
16705
17035
  /**
16706
17036
  * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
16707
17037
  */
@@ -16722,12 +17052,10 @@ type GetApiKeysStatsData = {
16722
17052
  fields?: {
16723
17053
  [key: string]: unknown;
16724
17054
  };
16725
- tenant_id: string;
16726
- key_type?: "user" | "application" | "system" | "server";
16727
17055
  };
16728
- url: "/api-keys/stats";
17056
+ url: "/training-sessions/agents/{agent_id}/sessions";
16729
17057
  };
16730
- type GetApiKeysStatsErrors = {
17058
+ type GetTrainingSessionsAgentsByAgentIdSessionsErrors = {
16731
17059
  /**
16732
17060
  * Bad Request - Invalid input data or malformed request
16733
17061
  */
@@ -16757,43 +17085,49 @@ type GetApiKeysStatsErrors = {
16757
17085
  */
16758
17086
  default: Errors;
16759
17087
  };
16760
- type GetApiKeysStatsError = GetApiKeysStatsErrors[keyof GetApiKeysStatsErrors];
16761
- type GetApiKeysStatsResponses = {
17088
+ type GetTrainingSessionsAgentsByAgentIdSessionsError = GetTrainingSessionsAgentsByAgentIdSessionsErrors[keyof GetTrainingSessionsAgentsByAgentIdSessionsErrors];
17089
+ type GetTrainingSessionsAgentsByAgentIdSessionsResponses = {
16762
17090
  /**
16763
17091
  * Success
16764
17092
  */
16765
17093
  200: {
16766
17094
  /**
16767
- * An array of resource objects representing a api_key
17095
+ * An array of resource objects representing a training_session
16768
17096
  */
16769
- data?: Array<ApiKey>;
17097
+ data?: Array<TrainingSession>;
16770
17098
  included?: Array<unknown>;
16771
17099
  meta?: {
16772
17100
  [key: string]: unknown;
16773
17101
  };
16774
17102
  };
16775
17103
  };
16776
- type GetApiKeysStatsResponse = GetApiKeysStatsResponses[keyof GetApiKeysStatsResponses];
16777
- type GetSearchData = {
16778
- body?: never;
17104
+ type GetTrainingSessionsAgentsByAgentIdSessionsResponse = GetTrainingSessionsAgentsByAgentIdSessionsResponses[keyof GetTrainingSessionsAgentsByAgentIdSessionsResponses];
17105
+ type PatchLegalDocumentsByIdPublishData = {
17106
+ /**
17107
+ * Request body for the /legal-documents/:id/publish operation on legal_document resource
17108
+ */
17109
+ body?: {
17110
+ data: {
17111
+ attributes?: {
17112
+ [key: string]: never;
17113
+ };
17114
+ id: string;
17115
+ relationships?: {
17116
+ [key: string]: never;
17117
+ };
17118
+ type?: "legal_document";
17119
+ };
17120
+ };
16779
17121
  headers: {
16780
17122
  /**
16781
17123
  * Application ID for authentication and routing
16782
17124
  */
16783
17125
  "x-application-key": string;
16784
17126
  };
16785
- path?: never;
16786
- query: {
16787
- /**
16788
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
16789
- */
16790
- filter?: {
16791
- [key: string]: unknown;
16792
- };
16793
- /**
16794
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
16795
- */
16796
- sort?: string;
17127
+ path: {
17128
+ id: string;
17129
+ };
17130
+ query?: {
16797
17131
  /**
16798
17132
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16799
17133
  */
@@ -16804,12 +17138,10 @@ type GetSearchData = {
16804
17138
  fields?: {
16805
17139
  [key: string]: unknown;
16806
17140
  };
16807
- query: string;
16808
- scope?: "global" | "tenant";
16809
17141
  };
16810
- url: "/search";
17142
+ url: "/legal-documents/{id}/publish";
16811
17143
  };
16812
- type GetSearchErrors = {
17144
+ type PatchLegalDocumentsByIdPublishErrors = {
16813
17145
  /**
16814
17146
  * Bad Request - Invalid input data or malformed request
16815
17147
  */
@@ -16839,35 +17171,22 @@ type GetSearchErrors = {
16839
17171
  */
16840
17172
  default: Errors;
16841
17173
  };
16842
- type GetSearchError = GetSearchErrors[keyof GetSearchErrors];
16843
- type GetSearchResponses = {
17174
+ type PatchLegalDocumentsByIdPublishError = PatchLegalDocumentsByIdPublishErrors[keyof PatchLegalDocumentsByIdPublishErrors];
17175
+ type PatchLegalDocumentsByIdPublishResponses = {
16844
17176
  /**
16845
17177
  * Success
16846
17178
  */
16847
17179
  200: {
16848
- /**
16849
- * An array of resource objects representing a search
16850
- */
16851
- data?: Array<Search>;
17180
+ data?: LegalDocument;
16852
17181
  included?: Array<unknown>;
16853
17182
  meta?: {
16854
17183
  [key: string]: unknown;
16855
17184
  };
16856
17185
  };
16857
17186
  };
16858
- type GetSearchResponse = GetSearchResponses[keyof GetSearchResponses];
16859
- type PostAgentsDiscoverSchemaData = {
16860
- /**
16861
- * Request body for the /agents/discover-schema operation on agent resource
16862
- */
16863
- body: {
16864
- data: {
16865
- advanced_mode?: boolean | unknown;
16866
- document_id: string;
16867
- suggested_name?: string | unknown;
16868
- workspace_id: string;
16869
- };
16870
- };
17187
+ type PatchLegalDocumentsByIdPublishResponse = PatchLegalDocumentsByIdPublishResponses[keyof PatchLegalDocumentsByIdPublishResponses];
17188
+ type GetApiKeysStatsData = {
17189
+ body?: never;
16871
17190
  headers: {
16872
17191
  /**
16873
17192
  * Application ID for authentication and routing
@@ -16875,10 +17194,33 @@ type PostAgentsDiscoverSchemaData = {
16875
17194
  "x-application-key": string;
16876
17195
  };
16877
17196
  path?: never;
16878
- query?: never;
16879
- url: "/agents/discover-schema";
17197
+ query: {
17198
+ /**
17199
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
17200
+ */
17201
+ filter?: {
17202
+ [key: string]: unknown;
17203
+ };
17204
+ /**
17205
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
17206
+ */
17207
+ sort?: string;
17208
+ /**
17209
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17210
+ */
17211
+ include?: string;
17212
+ /**
17213
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
17214
+ */
17215
+ fields?: {
17216
+ [key: string]: unknown;
17217
+ };
17218
+ tenant_id: string;
17219
+ key_type?: "user" | "application" | "system" | "server";
17220
+ };
17221
+ url: "/api-keys/stats";
16880
17222
  };
16881
- type PostAgentsDiscoverSchemaErrors = {
17223
+ type GetApiKeysStatsErrors = {
16882
17224
  /**
16883
17225
  * Bad Request - Invalid input data or malformed request
16884
17226
  */
@@ -16908,17 +17250,24 @@ type PostAgentsDiscoverSchemaErrors = {
16908
17250
  */
16909
17251
  default: Errors;
16910
17252
  };
16911
- type PostAgentsDiscoverSchemaError = PostAgentsDiscoverSchemaErrors[keyof PostAgentsDiscoverSchemaErrors];
16912
- type PostAgentsDiscoverSchemaResponses = {
17253
+ type GetApiKeysStatsError = GetApiKeysStatsErrors[keyof GetApiKeysStatsErrors];
17254
+ type GetApiKeysStatsResponses = {
16913
17255
  /**
16914
17256
  * Success
16915
17257
  */
16916
- 201: {
16917
- [key: string]: unknown;
17258
+ 200: {
17259
+ /**
17260
+ * An array of resource objects representing a api_key
17261
+ */
17262
+ data?: Array<ApiKey>;
17263
+ included?: Array<unknown>;
17264
+ meta?: {
17265
+ [key: string]: unknown;
17266
+ };
16918
17267
  };
16919
17268
  };
16920
- type PostAgentsDiscoverSchemaResponse = PostAgentsDiscoverSchemaResponses[keyof PostAgentsDiscoverSchemaResponses];
16921
- type GetInvitationsData = {
17269
+ type GetApiKeysStatsResponse = GetApiKeysStatsResponses[keyof GetApiKeysStatsResponses];
17270
+ type GetSearchData = {
16922
17271
  body?: never;
16923
17272
  headers: {
16924
17273
  /**
@@ -16927,7 +17276,7 @@ type GetInvitationsData = {
16927
17276
  "x-application-key": string;
16928
17277
  };
16929
17278
  path?: never;
16930
- query?: {
17279
+ query: {
16931
17280
  /**
16932
17281
  * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
16933
17282
  */
@@ -16948,10 +17297,12 @@ type GetInvitationsData = {
16948
17297
  fields?: {
16949
17298
  [key: string]: unknown;
16950
17299
  };
17300
+ query: string;
17301
+ scope?: "global" | "tenant";
16951
17302
  };
16952
- url: "/invitations";
17303
+ url: "/search";
16953
17304
  };
16954
- type GetInvitationsErrors = {
17305
+ type GetSearchErrors = {
16955
17306
  /**
16956
17307
  * Bad Request - Invalid input data or malformed request
16957
17308
  */
@@ -16981,43 +17332,33 @@ type GetInvitationsErrors = {
16981
17332
  */
16982
17333
  default: Errors;
16983
17334
  };
16984
- type GetInvitationsError = GetInvitationsErrors[keyof GetInvitationsErrors];
16985
- type GetInvitationsResponses = {
17335
+ type GetSearchError = GetSearchErrors[keyof GetSearchErrors];
17336
+ type GetSearchResponses = {
16986
17337
  /**
16987
17338
  * Success
16988
17339
  */
16989
17340
  200: {
16990
17341
  /**
16991
- * An array of resource objects representing a invitation
17342
+ * An array of resource objects representing a search
16992
17343
  */
16993
- data?: Array<Invitation>;
16994
- included?: Array<User>;
17344
+ data?: Array<Search>;
17345
+ included?: Array<unknown>;
16995
17346
  meta?: {
16996
17347
  [key: string]: unknown;
16997
17348
  };
16998
17349
  };
16999
17350
  };
17000
- type GetInvitationsResponse = GetInvitationsResponses[keyof GetInvitationsResponses];
17001
- type PostInvitationsData = {
17351
+ type GetSearchResponse = GetSearchResponses[keyof GetSearchResponses];
17352
+ type PostAgentsDiscoverSchemaData = {
17002
17353
  /**
17003
- * Request body for the /invitations operation on invitation resource
17354
+ * Request body for the /agents/discover-schema operation on agent resource
17004
17355
  */
17005
17356
  body: {
17006
17357
  data: {
17007
- attributes?: {
17008
- application_id?: string | unknown;
17009
- custom_message?: string | unknown;
17010
- email: string;
17011
- inviter_id?: string | unknown;
17012
- permissions?: Array<string> | unknown;
17013
- role: "admin" | "member" | "editor" | "viewer";
17014
- scope_id: string;
17015
- scope_type: "tenant" | "workspace";
17016
- };
17017
- relationships?: {
17018
- [key: string]: never;
17019
- };
17020
- type?: "invitation";
17358
+ advanced_mode?: boolean | unknown;
17359
+ document_id: string;
17360
+ suggested_name?: string | unknown;
17361
+ workspace_id: string;
17021
17362
  };
17022
17363
  };
17023
17364
  headers: {
@@ -17027,21 +17368,10 @@ type PostInvitationsData = {
17027
17368
  "x-application-key": string;
17028
17369
  };
17029
17370
  path?: never;
17030
- query?: {
17031
- /**
17032
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17033
- */
17034
- include?: string;
17035
- /**
17036
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
17037
- */
17038
- fields?: {
17039
- [key: string]: unknown;
17040
- };
17041
- };
17042
- url: "/invitations";
17371
+ query?: never;
17372
+ url: "/agents/discover-schema";
17043
17373
  };
17044
- type PostInvitationsErrors = {
17374
+ type PostAgentsDiscoverSchemaErrors = {
17045
17375
  /**
17046
17376
  * Bad Request - Invalid input data or malformed request
17047
17377
  */
@@ -17071,46 +17401,36 @@ type PostInvitationsErrors = {
17071
17401
  */
17072
17402
  default: Errors;
17073
17403
  };
17074
- type PostInvitationsError = PostInvitationsErrors[keyof PostInvitationsErrors];
17075
- type PostInvitationsResponses = {
17404
+ type PostAgentsDiscoverSchemaError = PostAgentsDiscoverSchemaErrors[keyof PostAgentsDiscoverSchemaErrors];
17405
+ type PostAgentsDiscoverSchemaResponses = {
17076
17406
  /**
17077
17407
  * Success
17078
17408
  */
17079
17409
  201: {
17080
- data?: Invitation;
17081
- included?: Array<User>;
17082
- meta?: {
17083
- [key: string]: unknown;
17084
- };
17410
+ [key: string]: unknown;
17085
17411
  };
17086
17412
  };
17087
- type PostInvitationsResponse = PostInvitationsResponses[keyof PostInvitationsResponses];
17088
- type PatchThreadsByIdArchiveData = {
17089
- /**
17090
- * Request body for the /threads/:id/archive operation on thread resource
17091
- */
17092
- body?: {
17093
- data: {
17094
- attributes?: {
17095
- [key: string]: never;
17096
- };
17097
- id: string;
17098
- relationships?: {
17099
- [key: string]: never;
17100
- };
17101
- type?: "thread";
17102
- };
17103
- };
17413
+ type PostAgentsDiscoverSchemaResponse = PostAgentsDiscoverSchemaResponses[keyof PostAgentsDiscoverSchemaResponses];
17414
+ type GetInvitationsData = {
17415
+ body?: never;
17104
17416
  headers: {
17105
17417
  /**
17106
17418
  * Application ID for authentication and routing
17107
17419
  */
17108
17420
  "x-application-key": string;
17109
17421
  };
17110
- path: {
17111
- id: string;
17112
- };
17422
+ path?: never;
17113
17423
  query?: {
17424
+ /**
17425
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
17426
+ */
17427
+ filter?: {
17428
+ [key: string]: unknown;
17429
+ };
17430
+ /**
17431
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
17432
+ */
17433
+ sort?: string;
17114
17434
  /**
17115
17435
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17116
17436
  */
@@ -17122,9 +17442,182 @@ type PatchThreadsByIdArchiveData = {
17122
17442
  [key: string]: unknown;
17123
17443
  };
17124
17444
  };
17125
- url: "/threads/{id}/archive";
17445
+ url: "/invitations";
17126
17446
  };
17127
- type PatchThreadsByIdArchiveErrors = {
17447
+ type GetInvitationsErrors = {
17448
+ /**
17449
+ * Bad Request - Invalid input data or malformed request
17450
+ */
17451
+ 400: ErrorResponse;
17452
+ /**
17453
+ * Unauthorized - Missing or invalid authentication token
17454
+ */
17455
+ 401: ErrorResponse;
17456
+ /**
17457
+ * Forbidden - Authenticated but not authorized for this resource
17458
+ */
17459
+ 403: ErrorResponse;
17460
+ /**
17461
+ * Not Found - Resource does not exist
17462
+ */
17463
+ 404: ErrorResponse;
17464
+ /**
17465
+ * Too Many Requests - Rate limit exceeded
17466
+ */
17467
+ 429: ErrorResponse;
17468
+ /**
17469
+ * Internal Server Error - Unexpected server error
17470
+ */
17471
+ 500: ErrorResponse;
17472
+ /**
17473
+ * General Error
17474
+ */
17475
+ default: Errors;
17476
+ };
17477
+ type GetInvitationsError = GetInvitationsErrors[keyof GetInvitationsErrors];
17478
+ type GetInvitationsResponses = {
17479
+ /**
17480
+ * Success
17481
+ */
17482
+ 200: {
17483
+ /**
17484
+ * An array of resource objects representing a invitation
17485
+ */
17486
+ data?: Array<Invitation>;
17487
+ included?: Array<unknown>;
17488
+ meta?: {
17489
+ [key: string]: unknown;
17490
+ };
17491
+ };
17492
+ };
17493
+ type GetInvitationsResponse = GetInvitationsResponses[keyof GetInvitationsResponses];
17494
+ type PostInvitationsData = {
17495
+ /**
17496
+ * Request body for the /invitations operation on invitation resource
17497
+ */
17498
+ body: {
17499
+ data: {
17500
+ attributes?: {
17501
+ application_id?: string | unknown;
17502
+ custom_message?: string | unknown;
17503
+ email: string;
17504
+ inviter_id?: string | unknown;
17505
+ permissions?: Array<string> | unknown;
17506
+ role: "admin" | "member" | "editor" | "viewer";
17507
+ scope_id: string;
17508
+ scope_type: "tenant" | "workspace";
17509
+ };
17510
+ relationships?: {
17511
+ [key: string]: never;
17512
+ };
17513
+ type?: "invitation";
17514
+ };
17515
+ };
17516
+ headers: {
17517
+ /**
17518
+ * Application ID for authentication and routing
17519
+ */
17520
+ "x-application-key": string;
17521
+ };
17522
+ path?: never;
17523
+ query?: {
17524
+ /**
17525
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17526
+ */
17527
+ include?: string;
17528
+ /**
17529
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
17530
+ */
17531
+ fields?: {
17532
+ [key: string]: unknown;
17533
+ };
17534
+ };
17535
+ url: "/invitations";
17536
+ };
17537
+ type PostInvitationsErrors = {
17538
+ /**
17539
+ * Bad Request - Invalid input data or malformed request
17540
+ */
17541
+ 400: ErrorResponse;
17542
+ /**
17543
+ * Unauthorized - Missing or invalid authentication token
17544
+ */
17545
+ 401: ErrorResponse;
17546
+ /**
17547
+ * Forbidden - Authenticated but not authorized for this resource
17548
+ */
17549
+ 403: ErrorResponse;
17550
+ /**
17551
+ * Not Found - Resource does not exist
17552
+ */
17553
+ 404: ErrorResponse;
17554
+ /**
17555
+ * Too Many Requests - Rate limit exceeded
17556
+ */
17557
+ 429: ErrorResponse;
17558
+ /**
17559
+ * Internal Server Error - Unexpected server error
17560
+ */
17561
+ 500: ErrorResponse;
17562
+ /**
17563
+ * General Error
17564
+ */
17565
+ default: Errors;
17566
+ };
17567
+ type PostInvitationsError = PostInvitationsErrors[keyof PostInvitationsErrors];
17568
+ type PostInvitationsResponses = {
17569
+ /**
17570
+ * Success
17571
+ */
17572
+ 201: {
17573
+ data?: Invitation;
17574
+ included?: Array<unknown>;
17575
+ meta?: {
17576
+ [key: string]: unknown;
17577
+ };
17578
+ };
17579
+ };
17580
+ type PostInvitationsResponse = PostInvitationsResponses[keyof PostInvitationsResponses];
17581
+ type PatchThreadsByIdArchiveData = {
17582
+ /**
17583
+ * Request body for the /threads/:id/archive operation on thread resource
17584
+ */
17585
+ body?: {
17586
+ data: {
17587
+ attributes?: {
17588
+ [key: string]: never;
17589
+ };
17590
+ id: string;
17591
+ relationships?: {
17592
+ [key: string]: never;
17593
+ };
17594
+ type?: "thread";
17595
+ };
17596
+ };
17597
+ headers: {
17598
+ /**
17599
+ * Application ID for authentication and routing
17600
+ */
17601
+ "x-application-key": string;
17602
+ };
17603
+ path: {
17604
+ id: string;
17605
+ };
17606
+ query?: {
17607
+ /**
17608
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17609
+ */
17610
+ include?: string;
17611
+ /**
17612
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
17613
+ */
17614
+ fields?: {
17615
+ [key: string]: unknown;
17616
+ };
17617
+ };
17618
+ url: "/threads/{id}/archive";
17619
+ };
17620
+ type PatchThreadsByIdArchiveErrors = {
17128
17621
  /**
17129
17622
  * Bad Request - Invalid input data or malformed request
17130
17623
  */
@@ -17619,6 +18112,10 @@ type PostApplicationsData = {
17619
18112
  */
17620
18113
  sender_name?: string | unknown;
17621
18114
  slug: string;
18115
+ /**
18116
+ * Memorable slug for vanity URLs
18117
+ */
18118
+ vanity_slug?: string | unknown;
17622
18119
  };
17623
18120
  relationships?: {
17624
18121
  [key: string]: never;
@@ -17861,32 +18358,32 @@ type PostNotificationPreferencesResponses = {
17861
18358
  };
17862
18359
  };
17863
18360
  type PostNotificationPreferencesResponse = PostNotificationPreferencesResponses[keyof PostNotificationPreferencesResponses];
17864
- type PatchWatcherClaimsByIdRetryData = {
17865
- /**
17866
- * Request body for the /watcher/claims/:id/retry operation on watcher_claim resource
17867
- */
17868
- body?: {
17869
- data: {
17870
- attributes?: {
17871
- reset_retry_count?: boolean | unknown;
17872
- };
17873
- id: string;
17874
- relationships?: {
17875
- [key: string]: never;
17876
- };
17877
- type?: "watcher_claim";
17878
- };
17879
- };
18361
+ type GetLegalAcceptancesData = {
18362
+ body?: never;
17880
18363
  headers: {
17881
18364
  /**
17882
18365
  * Application ID for authentication and routing
17883
18366
  */
17884
18367
  "x-application-key": string;
17885
18368
  };
17886
- path: {
17887
- id: string;
17888
- };
18369
+ path?: never;
17889
18370
  query?: {
18371
+ /**
18372
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
18373
+ */
18374
+ filter?: {
18375
+ [key: string]: unknown;
18376
+ };
18377
+ /**
18378
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
18379
+ */
18380
+ sort?: string;
18381
+ /**
18382
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
18383
+ */
18384
+ page?: {
18385
+ [key: string]: unknown;
18386
+ };
17890
18387
  /**
17891
18388
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17892
18389
  */
@@ -17898,9 +18395,9 @@ type PatchWatcherClaimsByIdRetryData = {
17898
18395
  [key: string]: unknown;
17899
18396
  };
17900
18397
  };
17901
- url: "/watcher/claims/{id}/retry";
18398
+ url: "/legal-acceptances";
17902
18399
  };
17903
- type PatchWatcherClaimsByIdRetryErrors = {
18400
+ type GetLegalAcceptancesErrors = {
17904
18401
  /**
17905
18402
  * Bad Request - Invalid input data or malformed request
17906
18403
  */
@@ -17930,30 +18427,37 @@ type PatchWatcherClaimsByIdRetryErrors = {
17930
18427
  */
17931
18428
  default: Errors;
17932
18429
  };
17933
- type PatchWatcherClaimsByIdRetryError = PatchWatcherClaimsByIdRetryErrors[keyof PatchWatcherClaimsByIdRetryErrors];
17934
- type PatchWatcherClaimsByIdRetryResponses = {
18430
+ type GetLegalAcceptancesError = GetLegalAcceptancesErrors[keyof GetLegalAcceptancesErrors];
18431
+ type GetLegalAcceptancesResponses = {
17935
18432
  /**
17936
18433
  * Success
17937
18434
  */
17938
18435
  200: {
17939
- data?: WatcherClaim;
18436
+ /**
18437
+ * An array of resource objects representing a legal_acceptance
18438
+ */
18439
+ data?: Array<LegalAcceptance>;
17940
18440
  included?: Array<unknown>;
17941
18441
  meta?: {
17942
18442
  [key: string]: unknown;
17943
18443
  };
17944
18444
  };
17945
18445
  };
17946
- type PatchWatcherClaimsByIdRetryResponse = PatchWatcherClaimsByIdRetryResponses[keyof PatchWatcherClaimsByIdRetryResponses];
17947
- type PostAgentsPredictData = {
18446
+ type GetLegalAcceptancesResponse = GetLegalAcceptancesResponses[keyof GetLegalAcceptancesResponses];
18447
+ type PatchWatcherClaimsByIdRetryData = {
17948
18448
  /**
17949
- * Request body for the /agents/predict operation on agent resource
18449
+ * Request body for the /watcher/claims/:id/retry operation on watcher_claim resource
17950
18450
  */
17951
18451
  body?: {
17952
18452
  data: {
17953
- description?: string | unknown;
17954
- document_id?: string | unknown;
17955
- file_content?: string | unknown;
17956
- name?: string | unknown;
18453
+ attributes?: {
18454
+ reset_retry_count?: boolean | unknown;
18455
+ };
18456
+ id: string;
18457
+ relationships?: {
18458
+ [key: string]: never;
18459
+ };
18460
+ type?: "watcher_claim";
17957
18461
  };
17958
18462
  };
17959
18463
  headers: {
@@ -17962,11 +18466,90 @@ type PostAgentsPredictData = {
17962
18466
  */
17963
18467
  "x-application-key": string;
17964
18468
  };
17965
- path?: never;
17966
- query?: never;
17967
- url: "/agents/predict";
18469
+ path: {
18470
+ id: string;
18471
+ };
18472
+ query?: {
18473
+ /**
18474
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18475
+ */
18476
+ include?: string;
18477
+ /**
18478
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
18479
+ */
18480
+ fields?: {
18481
+ [key: string]: unknown;
18482
+ };
18483
+ };
18484
+ url: "/watcher/claims/{id}/retry";
17968
18485
  };
17969
- type PostAgentsPredictErrors = {
18486
+ type PatchWatcherClaimsByIdRetryErrors = {
18487
+ /**
18488
+ * Bad Request - Invalid input data or malformed request
18489
+ */
18490
+ 400: ErrorResponse;
18491
+ /**
18492
+ * Unauthorized - Missing or invalid authentication token
18493
+ */
18494
+ 401: ErrorResponse;
18495
+ /**
18496
+ * Forbidden - Authenticated but not authorized for this resource
18497
+ */
18498
+ 403: ErrorResponse;
18499
+ /**
18500
+ * Not Found - Resource does not exist
18501
+ */
18502
+ 404: ErrorResponse;
18503
+ /**
18504
+ * Too Many Requests - Rate limit exceeded
18505
+ */
18506
+ 429: ErrorResponse;
18507
+ /**
18508
+ * Internal Server Error - Unexpected server error
18509
+ */
18510
+ 500: ErrorResponse;
18511
+ /**
18512
+ * General Error
18513
+ */
18514
+ default: Errors;
18515
+ };
18516
+ type PatchWatcherClaimsByIdRetryError = PatchWatcherClaimsByIdRetryErrors[keyof PatchWatcherClaimsByIdRetryErrors];
18517
+ type PatchWatcherClaimsByIdRetryResponses = {
18518
+ /**
18519
+ * Success
18520
+ */
18521
+ 200: {
18522
+ data?: WatcherClaim;
18523
+ included?: Array<unknown>;
18524
+ meta?: {
18525
+ [key: string]: unknown;
18526
+ };
18527
+ };
18528
+ };
18529
+ type PatchWatcherClaimsByIdRetryResponse = PatchWatcherClaimsByIdRetryResponses[keyof PatchWatcherClaimsByIdRetryResponses];
18530
+ type PostAgentsPredictData = {
18531
+ /**
18532
+ * Request body for the /agents/predict operation on agent resource
18533
+ */
18534
+ body?: {
18535
+ data: {
18536
+ description?: string | unknown;
18537
+ document_id?: string | unknown;
18538
+ file_content?: string | unknown;
18539
+ name?: string | unknown;
18540
+ };
18541
+ };
18542
+ headers: {
18543
+ /**
18544
+ * Application ID for authentication and routing
18545
+ */
18546
+ "x-application-key": string;
18547
+ };
18548
+ path?: never;
18549
+ query?: never;
18550
+ url: "/agents/predict";
18551
+ };
18552
+ type PostAgentsPredictErrors = {
17970
18553
  /**
17971
18554
  * Bad Request - Invalid input data or malformed request
17972
18555
  */
@@ -19597,7 +20180,7 @@ type PatchInvitationsByIdDeclineResponses = {
19597
20180
  */
19598
20181
  200: {
19599
20182
  data?: Invitation;
19600
- included?: Array<User>;
20183
+ included?: Array<unknown>;
19601
20184
  meta?: {
19602
20185
  [key: string]: unknown;
19603
20186
  };
@@ -20048,87 +20631,6 @@ type PostAgentVersionsByIdRemoveSystemFieldResponses = {
20048
20631
  */
20049
20632
  201: unknown;
20050
20633
  };
20051
- type GetWorkspaceMembershipsInheritedData = {
20052
- body?: never;
20053
- headers: {
20054
- /**
20055
- * Application ID for authentication and routing
20056
- */
20057
- "x-application-key": string;
20058
- };
20059
- path?: never;
20060
- query: {
20061
- /**
20062
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
20063
- */
20064
- filter?: {
20065
- [key: string]: unknown;
20066
- };
20067
- /**
20068
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
20069
- */
20070
- sort?: string;
20071
- /**
20072
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
20073
- */
20074
- include?: string;
20075
- /**
20076
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
20077
- */
20078
- fields?: {
20079
- [key: string]: unknown;
20080
- };
20081
- workspace_id: string;
20082
- };
20083
- url: "/workspace-memberships/inherited";
20084
- };
20085
- type GetWorkspaceMembershipsInheritedErrors = {
20086
- /**
20087
- * Bad Request - Invalid input data or malformed request
20088
- */
20089
- 400: ErrorResponse;
20090
- /**
20091
- * Unauthorized - Missing or invalid authentication token
20092
- */
20093
- 401: ErrorResponse;
20094
- /**
20095
- * Forbidden - Authenticated but not authorized for this resource
20096
- */
20097
- 403: ErrorResponse;
20098
- /**
20099
- * Not Found - Resource does not exist
20100
- */
20101
- 404: ErrorResponse;
20102
- /**
20103
- * Too Many Requests - Rate limit exceeded
20104
- */
20105
- 429: ErrorResponse;
20106
- /**
20107
- * Internal Server Error - Unexpected server error
20108
- */
20109
- 500: ErrorResponse;
20110
- /**
20111
- * General Error
20112
- */
20113
- default: Errors;
20114
- };
20115
- type GetWorkspaceMembershipsInheritedError = GetWorkspaceMembershipsInheritedErrors[keyof GetWorkspaceMembershipsInheritedErrors];
20116
- type GetWorkspaceMembershipsInheritedResponses = {
20117
- /**
20118
- * Success
20119
- */
20120
- 200: {
20121
- /**
20122
- * An array of resource objects representing a workspace-membership
20123
- */
20124
- data?: Array<WorkspaceMembership>;
20125
- included?: Array<User | Workspace | UserProfile>;
20126
- meta?: {
20127
- [key: string]: unknown;
20128
- };
20129
- };
20130
- };
20131
- type GetWorkspaceMembershipsInheritedResponse = GetWorkspaceMembershipsInheritedResponses[keyof GetWorkspaceMembershipsInheritedResponses];
20132
20634
  type DeleteWorkspacesByIdData = {
20133
20635
  body?: never;
20134
20636
  headers: {
@@ -20281,6 +20783,10 @@ type PatchWorkspacesByIdData = {
20281
20783
  name?: string | unknown;
20282
20784
  settings?: WorkspaceSettingsInputUpdateType | unknown;
20283
20785
  slug?: string | unknown;
20786
+ /**
20787
+ * Memorable slug for vanity URLs
20788
+ */
20789
+ vanity_slug?: string | unknown;
20284
20790
  };
20285
20791
  id: string;
20286
20792
  relationships?: {
@@ -20510,16 +21016,28 @@ type PostTenantsData = {
20510
21016
  attributes?: {
20511
21017
  application_id?: string | unknown;
20512
21018
  badge_url?: string | unknown;
21019
+ /**
21020
+ * True for auto-created personal tenants, false for organizations
21021
+ */
21022
+ is_personal?: boolean | unknown;
20513
21023
  kind?: "platform" | "isv" | "tenant" | unknown;
20514
21024
  logo_url?: string | unknown;
20515
21025
  name: string;
20516
21026
  owner_id: string;
20517
21027
  parent_id?: string | unknown;
21028
+ /**
21029
+ * Subscription tier that gates feature access
21030
+ */
21031
+ plan_tier?: "free" | "pro" | "business" | "enterprise" | unknown;
20518
21032
  slug: string;
20519
21033
  /**
20520
21034
  * Cost in credits for training on a single document
20521
21035
  */
20522
21036
  training_price_credits?: number | unknown;
21037
+ /**
21038
+ * Memorable slug for vanity URLs
21039
+ */
21040
+ vanity_slug?: string | unknown;
20523
21041
  };
20524
21042
  relationships?: {
20525
21043
  [key: string]: never;
@@ -24674,6 +25192,88 @@ type DeleteAiGraphNodesByIdResponses = {
24674
25192
  */
24675
25193
  200: unknown;
24676
25194
  };
25195
+ type GetLegalAcceptancesLatestData = {
25196
+ body?: never;
25197
+ headers: {
25198
+ /**
25199
+ * Application ID for authentication and routing
25200
+ */
25201
+ "x-application-key": string;
25202
+ };
25203
+ path?: never;
25204
+ query: {
25205
+ /**
25206
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
25207
+ */
25208
+ filter?: {
25209
+ [key: string]: unknown;
25210
+ };
25211
+ /**
25212
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
25213
+ */
25214
+ sort?: string;
25215
+ /**
25216
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
25217
+ */
25218
+ include?: string;
25219
+ /**
25220
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
25221
+ */
25222
+ fields?: {
25223
+ [key: string]: unknown;
25224
+ };
25225
+ user_id: string;
25226
+ document_type: string;
25227
+ };
25228
+ url: "/legal-acceptances/latest";
25229
+ };
25230
+ type GetLegalAcceptancesLatestErrors = {
25231
+ /**
25232
+ * Bad Request - Invalid input data or malformed request
25233
+ */
25234
+ 400: ErrorResponse;
25235
+ /**
25236
+ * Unauthorized - Missing or invalid authentication token
25237
+ */
25238
+ 401: ErrorResponse;
25239
+ /**
25240
+ * Forbidden - Authenticated but not authorized for this resource
25241
+ */
25242
+ 403: ErrorResponse;
25243
+ /**
25244
+ * Not Found - Resource does not exist
25245
+ */
25246
+ 404: ErrorResponse;
25247
+ /**
25248
+ * Too Many Requests - Rate limit exceeded
25249
+ */
25250
+ 429: ErrorResponse;
25251
+ /**
25252
+ * Internal Server Error - Unexpected server error
25253
+ */
25254
+ 500: ErrorResponse;
25255
+ /**
25256
+ * General Error
25257
+ */
25258
+ default: Errors;
25259
+ };
25260
+ type GetLegalAcceptancesLatestError = GetLegalAcceptancesLatestErrors[keyof GetLegalAcceptancesLatestErrors];
25261
+ type GetLegalAcceptancesLatestResponses = {
25262
+ /**
25263
+ * Success
25264
+ */
25265
+ 200: {
25266
+ /**
25267
+ * An array of resource objects representing a legal_acceptance
25268
+ */
25269
+ data?: Array<LegalAcceptance>;
25270
+ included?: Array<unknown>;
25271
+ meta?: {
25272
+ [key: string]: unknown;
25273
+ };
25274
+ };
25275
+ };
25276
+ type GetLegalAcceptancesLatestResponse = GetLegalAcceptancesLatestResponses[keyof GetLegalAcceptancesLatestResponses];
24677
25277
  type GetWorkspacesSharedData = {
24678
25278
  body?: never;
24679
25279
  headers: {
@@ -25091,6 +25691,10 @@ type PatchApplicationsByIdData = {
25091
25691
  */
25092
25692
  sender_name?: string | unknown;
25093
25693
  slug?: string | unknown;
25694
+ /**
25695
+ * Memorable slug for vanity URLs
25696
+ */
25697
+ vanity_slug?: string | unknown;
25094
25698
  };
25095
25699
  id: string;
25096
25700
  relationships?: {
@@ -25651,31 +26255,26 @@ type GetThreadsSearchResponses = {
25651
26255
  };
25652
26256
  };
25653
26257
  type GetThreadsSearchResponse = GetThreadsSearchResponses[keyof GetThreadsSearchResponses];
25654
- type PostSearchSavedByIdRunData = {
25655
- /**
25656
- * Request body for the /search/saved/:id/run operation on saved_search resource
25657
- */
25658
- body?: {
25659
- data: {
25660
- attributes?: {
25661
- [key: string]: never;
25662
- };
25663
- relationships?: {
25664
- [key: string]: never;
25665
- };
25666
- type?: "saved_search";
25667
- };
25668
- };
26258
+ type GetConsentRecordsActiveData = {
26259
+ body?: never;
25669
26260
  headers: {
25670
26261
  /**
25671
26262
  * Application ID for authentication and routing
25672
26263
  */
25673
26264
  "x-application-key": string;
25674
26265
  };
25675
- path: {
25676
- id: string;
25677
- };
25678
- query?: {
26266
+ path?: never;
26267
+ query: {
26268
+ /**
26269
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
26270
+ */
26271
+ filter?: {
26272
+ [key: string]: unknown;
26273
+ };
26274
+ /**
26275
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
26276
+ */
26277
+ sort?: string;
25679
26278
  /**
25680
26279
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
25681
26280
  */
@@ -25686,10 +26285,96 @@ type PostSearchSavedByIdRunData = {
25686
26285
  fields?: {
25687
26286
  [key: string]: unknown;
25688
26287
  };
26288
+ user_id: string;
25689
26289
  };
25690
- url: "/search/saved/{id}/run";
26290
+ url: "/consent-records/active";
25691
26291
  };
25692
- type PostSearchSavedByIdRunErrors = {
26292
+ type GetConsentRecordsActiveErrors = {
26293
+ /**
26294
+ * Bad Request - Invalid input data or malformed request
26295
+ */
26296
+ 400: ErrorResponse;
26297
+ /**
26298
+ * Unauthorized - Missing or invalid authentication token
26299
+ */
26300
+ 401: ErrorResponse;
26301
+ /**
26302
+ * Forbidden - Authenticated but not authorized for this resource
26303
+ */
26304
+ 403: ErrorResponse;
26305
+ /**
26306
+ * Not Found - Resource does not exist
26307
+ */
26308
+ 404: ErrorResponse;
26309
+ /**
26310
+ * Too Many Requests - Rate limit exceeded
26311
+ */
26312
+ 429: ErrorResponse;
26313
+ /**
26314
+ * Internal Server Error - Unexpected server error
26315
+ */
26316
+ 500: ErrorResponse;
26317
+ /**
26318
+ * General Error
26319
+ */
26320
+ default: Errors;
26321
+ };
26322
+ type GetConsentRecordsActiveError = GetConsentRecordsActiveErrors[keyof GetConsentRecordsActiveErrors];
26323
+ type GetConsentRecordsActiveResponses = {
26324
+ /**
26325
+ * Success
26326
+ */
26327
+ 200: {
26328
+ /**
26329
+ * An array of resource objects representing a consent_record
26330
+ */
26331
+ data?: Array<ConsentRecord>;
26332
+ included?: Array<unknown>;
26333
+ meta?: {
26334
+ [key: string]: unknown;
26335
+ };
26336
+ };
26337
+ };
26338
+ type GetConsentRecordsActiveResponse = GetConsentRecordsActiveResponses[keyof GetConsentRecordsActiveResponses];
26339
+ type PostSearchSavedByIdRunData = {
26340
+ /**
26341
+ * Request body for the /search/saved/:id/run operation on saved_search resource
26342
+ */
26343
+ body?: {
26344
+ data: {
26345
+ attributes?: {
26346
+ [key: string]: never;
26347
+ };
26348
+ relationships?: {
26349
+ [key: string]: never;
26350
+ };
26351
+ type?: "saved_search";
26352
+ };
26353
+ };
26354
+ headers: {
26355
+ /**
26356
+ * Application ID for authentication and routing
26357
+ */
26358
+ "x-application-key": string;
26359
+ };
26360
+ path: {
26361
+ id: string;
26362
+ };
26363
+ query?: {
26364
+ /**
26365
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26366
+ */
26367
+ include?: string;
26368
+ /**
26369
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26370
+ */
26371
+ fields?: {
26372
+ [key: string]: unknown;
26373
+ };
26374
+ };
26375
+ url: "/search/saved/{id}/run";
26376
+ };
26377
+ type PostSearchSavedByIdRunErrors = {
25693
26378
  /**
25694
26379
  * Bad Request - Invalid input data or malformed request
25695
26380
  */
@@ -26380,6 +27065,88 @@ type PatchNotificationMethodsByIdSendVerificationResponses = {
26380
27065
  };
26381
27066
  };
26382
27067
  type PatchNotificationMethodsByIdSendVerificationResponse = PatchNotificationMethodsByIdSendVerificationResponses[keyof PatchNotificationMethodsByIdSendVerificationResponses];
27068
+ type GetLegalDocumentsByLocaleData = {
27069
+ body?: never;
27070
+ headers: {
27071
+ /**
27072
+ * Application ID for authentication and routing
27073
+ */
27074
+ "x-application-key": string;
27075
+ };
27076
+ path?: never;
27077
+ query: {
27078
+ /**
27079
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
27080
+ */
27081
+ filter?: {
27082
+ [key: string]: unknown;
27083
+ };
27084
+ /**
27085
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
27086
+ */
27087
+ sort?: string;
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
+ locale: string;
27099
+ region?: string;
27100
+ };
27101
+ url: "/legal-documents/by-locale";
27102
+ };
27103
+ type GetLegalDocumentsByLocaleErrors = {
27104
+ /**
27105
+ * Bad Request - Invalid input data or malformed request
27106
+ */
27107
+ 400: ErrorResponse;
27108
+ /**
27109
+ * Unauthorized - Missing or invalid authentication token
27110
+ */
27111
+ 401: ErrorResponse;
27112
+ /**
27113
+ * Forbidden - Authenticated but not authorized for this resource
27114
+ */
27115
+ 403: ErrorResponse;
27116
+ /**
27117
+ * Not Found - Resource does not exist
27118
+ */
27119
+ 404: ErrorResponse;
27120
+ /**
27121
+ * Too Many Requests - Rate limit exceeded
27122
+ */
27123
+ 429: ErrorResponse;
27124
+ /**
27125
+ * Internal Server Error - Unexpected server error
27126
+ */
27127
+ 500: ErrorResponse;
27128
+ /**
27129
+ * General Error
27130
+ */
27131
+ default: Errors;
27132
+ };
27133
+ type GetLegalDocumentsByLocaleError = GetLegalDocumentsByLocaleErrors[keyof GetLegalDocumentsByLocaleErrors];
27134
+ type GetLegalDocumentsByLocaleResponses = {
27135
+ /**
27136
+ * Success
27137
+ */
27138
+ 200: {
27139
+ /**
27140
+ * An array of resource objects representing a legal_document
27141
+ */
27142
+ data?: Array<LegalDocument>;
27143
+ included?: Array<unknown>;
27144
+ meta?: {
27145
+ [key: string]: unknown;
27146
+ };
27147
+ };
27148
+ };
27149
+ type GetLegalDocumentsByLocaleResponse = GetLegalDocumentsByLocaleResponses[keyof GetLegalDocumentsByLocaleResponses];
26383
27150
  type PatchApplicationsByIdGrantCreditsData = {
26384
27151
  /**
26385
27152
  * Request body for the /applications/:id/grant-credits operation on application resource
@@ -27105,6 +27872,89 @@ type PostAiEmbedResponses = {
27105
27872
  };
27106
27873
  };
27107
27874
  type PostAiEmbedResponse = PostAiEmbedResponses[keyof PostAiEmbedResponses];
27875
+ type PatchConsentRecordsByIdWithdrawData = {
27876
+ /**
27877
+ * Request body for the /consent-records/:id/withdraw operation on consent_record resource
27878
+ */
27879
+ body?: {
27880
+ data: {
27881
+ attributes?: {
27882
+ [key: string]: never;
27883
+ };
27884
+ id: string;
27885
+ relationships?: {
27886
+ [key: string]: never;
27887
+ };
27888
+ type?: "consent_record";
27889
+ };
27890
+ };
27891
+ headers: {
27892
+ /**
27893
+ * Application ID for authentication and routing
27894
+ */
27895
+ "x-application-key": string;
27896
+ };
27897
+ path: {
27898
+ id: string;
27899
+ };
27900
+ query?: {
27901
+ /**
27902
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
27903
+ */
27904
+ include?: string;
27905
+ /**
27906
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
27907
+ */
27908
+ fields?: {
27909
+ [key: string]: unknown;
27910
+ };
27911
+ };
27912
+ url: "/consent-records/{id}/withdraw";
27913
+ };
27914
+ type PatchConsentRecordsByIdWithdrawErrors = {
27915
+ /**
27916
+ * Bad Request - Invalid input data or malformed request
27917
+ */
27918
+ 400: ErrorResponse;
27919
+ /**
27920
+ * Unauthorized - Missing or invalid authentication token
27921
+ */
27922
+ 401: ErrorResponse;
27923
+ /**
27924
+ * Forbidden - Authenticated but not authorized for this resource
27925
+ */
27926
+ 403: ErrorResponse;
27927
+ /**
27928
+ * Not Found - Resource does not exist
27929
+ */
27930
+ 404: ErrorResponse;
27931
+ /**
27932
+ * Too Many Requests - Rate limit exceeded
27933
+ */
27934
+ 429: ErrorResponse;
27935
+ /**
27936
+ * Internal Server Error - Unexpected server error
27937
+ */
27938
+ 500: ErrorResponse;
27939
+ /**
27940
+ * General Error
27941
+ */
27942
+ default: Errors;
27943
+ };
27944
+ type PatchConsentRecordsByIdWithdrawError = PatchConsentRecordsByIdWithdrawErrors[keyof PatchConsentRecordsByIdWithdrawErrors];
27945
+ type PatchConsentRecordsByIdWithdrawResponses = {
27946
+ /**
27947
+ * Success
27948
+ */
27949
+ 200: {
27950
+ data?: ConsentRecord;
27951
+ included?: Array<unknown>;
27952
+ meta?: {
27953
+ [key: string]: unknown;
27954
+ };
27955
+ };
27956
+ };
27957
+ type PatchConsentRecordsByIdWithdrawResponse = PatchConsentRecordsByIdWithdrawResponses[keyof PatchConsentRecordsByIdWithdrawResponses];
27108
27958
  type PostAgentVersionComparisonsData = {
27109
27959
  /**
27110
27960
  * Request body for the /agent-version-comparisons operation on agent_version_comparison resource
@@ -28711,6 +29561,7 @@ type PostUsersAuthRegisterData = {
28711
29561
  password: string;
28712
29562
  password_confirmation: string;
28713
29563
  tenant_name: string;
29564
+ tos_version?: string | unknown;
28714
29565
  };
28715
29566
  relationships?: {
28716
29567
  [key: string]: never;
@@ -30300,11 +31151,19 @@ type PatchTenantsByIdData = {
30300
31151
  logo_url?: string | unknown;
30301
31152
  name?: string | unknown;
30302
31153
  parent_id?: string | unknown;
31154
+ /**
31155
+ * Subscription tier that gates feature access
31156
+ */
31157
+ plan_tier?: "free" | "pro" | "business" | "enterprise" | unknown;
30303
31158
  slug?: string | unknown;
30304
31159
  /**
30305
31160
  * Cost in credits for training on a single document
30306
31161
  */
30307
31162
  training_price_credits?: number | unknown;
31163
+ /**
31164
+ * Memorable slug for vanity URLs
31165
+ */
31166
+ vanity_slug?: string | unknown;
30308
31167
  };
30309
31168
  id: string;
30310
31169
  relationships?: {
@@ -30772,7 +31631,7 @@ type PatchTenantMembershipsByTenantIdByUserIdResponses = {
30772
31631
  */
30773
31632
  200: {
30774
31633
  data?: TenantMembership;
30775
- included?: Array<User | Tenant | UserProfile>;
31634
+ included?: Array<unknown>;
30776
31635
  meta?: {
30777
31636
  [key: string]: unknown;
30778
31637
  };
@@ -30944,7 +31803,7 @@ type PatchExtractionResultsByIdSaveCorrectionsResponses = {
30944
31803
  };
30945
31804
  };
30946
31805
  type PatchExtractionResultsByIdSaveCorrectionsResponse = PatchExtractionResultsByIdSaveCorrectionsResponses[keyof PatchExtractionResultsByIdSaveCorrectionsResponses];
30947
- type GetAuditLogsActivityData = {
31806
+ type GetConsentRecordsData = {
30948
31807
  body?: never;
30949
31808
  headers: {
30950
31809
  /**
@@ -30953,7 +31812,7 @@ type GetAuditLogsActivityData = {
30953
31812
  "x-application-key": string;
30954
31813
  };
30955
31814
  path?: never;
30956
- query: {
31815
+ query?: {
30957
31816
  /**
30958
31817
  * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
30959
31818
  */
@@ -30964,6 +31823,12 @@ type GetAuditLogsActivityData = {
30964
31823
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
30965
31824
  */
30966
31825
  sort?: string;
31826
+ /**
31827
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
31828
+ */
31829
+ page?: {
31830
+ [key: string]: unknown;
31831
+ };
30967
31832
  /**
30968
31833
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
30969
31834
  */
@@ -30974,15 +31839,10 @@ type GetAuditLogsActivityData = {
30974
31839
  fields?: {
30975
31840
  [key: string]: unknown;
30976
31841
  };
30977
- tenant_id: string;
30978
- workspace_id?: string;
30979
- activity_type?: string;
30980
- limit?: number;
30981
- offset?: number;
30982
31842
  };
30983
- url: "/audit-logs/activity";
31843
+ url: "/consent-records";
30984
31844
  };
30985
- type GetAuditLogsActivityErrors = {
31845
+ type GetConsentRecordsErrors = {
30986
31846
  /**
30987
31847
  * Bad Request - Invalid input data or malformed request
30988
31848
  */
@@ -31012,36 +31872,43 @@ type GetAuditLogsActivityErrors = {
31012
31872
  */
31013
31873
  default: Errors;
31014
31874
  };
31015
- type GetAuditLogsActivityError = GetAuditLogsActivityErrors[keyof GetAuditLogsActivityErrors];
31016
- type GetAuditLogsActivityResponses = {
31875
+ type GetConsentRecordsError = GetConsentRecordsErrors[keyof GetConsentRecordsErrors];
31876
+ type GetConsentRecordsResponses = {
31017
31877
  /**
31018
31878
  * Success
31019
31879
  */
31020
31880
  200: {
31021
31881
  /**
31022
- * An array of resource objects representing a audit-log
31882
+ * An array of resource objects representing a consent_record
31023
31883
  */
31024
- data?: Array<AuditLog>;
31884
+ data?: Array<ConsentRecord>;
31025
31885
  included?: Array<unknown>;
31026
31886
  meta?: {
31027
31887
  [key: string]: unknown;
31028
31888
  };
31029
31889
  };
31030
31890
  };
31031
- type GetAuditLogsActivityResponse = GetAuditLogsActivityResponses[keyof GetAuditLogsActivityResponses];
31032
- type PostUsersAuthResendConfirmationData = {
31891
+ type GetConsentRecordsResponse = GetConsentRecordsResponses[keyof GetConsentRecordsResponses];
31892
+ type PostConsentRecordsData = {
31033
31893
  /**
31034
- * Request body for the /users/auth/resend-confirmation operation on user resource
31894
+ * Request body for the /consent-records operation on consent_record resource
31035
31895
  */
31036
31896
  body: {
31037
31897
  data: {
31038
31898
  attributes?: {
31039
- email: string;
31899
+ /**
31900
+ * Human-readable description of what was consented to
31901
+ */
31902
+ description?: string | unknown;
31903
+ ip_address?: string | unknown;
31904
+ purpose: "ai_document_processing" | "data_analytics" | "marketing_communications" | "third_party_sharing";
31905
+ user_agent?: string | unknown;
31906
+ user_id: string;
31040
31907
  };
31041
31908
  relationships?: {
31042
31909
  [key: string]: never;
31043
31910
  };
31044
- type?: "user";
31911
+ type?: "consent_record";
31045
31912
  };
31046
31913
  };
31047
31914
  headers: {
@@ -31063,9 +31930,9 @@ type PostUsersAuthResendConfirmationData = {
31063
31930
  [key: string]: unknown;
31064
31931
  };
31065
31932
  };
31066
- url: "/users/auth/resend-confirmation";
31933
+ url: "/consent-records";
31067
31934
  };
31068
- type PostUsersAuthResendConfirmationErrors = {
31935
+ type PostConsentRecordsErrors = {
31069
31936
  /**
31070
31937
  * Bad Request - Invalid input data or malformed request
31071
31938
  */
@@ -31095,21 +31962,21 @@ type PostUsersAuthResendConfirmationErrors = {
31095
31962
  */
31096
31963
  default: Errors;
31097
31964
  };
31098
- type PostUsersAuthResendConfirmationError = PostUsersAuthResendConfirmationErrors[keyof PostUsersAuthResendConfirmationErrors];
31099
- type PostUsersAuthResendConfirmationResponses = {
31965
+ type PostConsentRecordsError = PostConsentRecordsErrors[keyof PostConsentRecordsErrors];
31966
+ type PostConsentRecordsResponses = {
31100
31967
  /**
31101
31968
  * Success
31102
31969
  */
31103
31970
  201: {
31104
- data?: User;
31971
+ data?: ConsentRecord;
31105
31972
  included?: Array<unknown>;
31106
31973
  meta?: {
31107
31974
  [key: string]: unknown;
31108
31975
  };
31109
31976
  };
31110
31977
  };
31111
- type PostUsersAuthResendConfirmationResponse = PostUsersAuthResendConfirmationResponses[keyof PostUsersAuthResendConfirmationResponses];
31112
- type GetWorkspacesAnalyticsBatchData = {
31978
+ type PostConsentRecordsResponse = PostConsentRecordsResponses[keyof PostConsentRecordsResponses];
31979
+ type GetAuditLogsActivityData = {
31113
31980
  body?: never;
31114
31981
  headers: {
31115
31982
  /**
@@ -31139,11 +32006,15 @@ type GetWorkspacesAnalyticsBatchData = {
31139
32006
  fields?: {
31140
32007
  [key: string]: unknown;
31141
32008
  };
31142
- workspace_ids: string;
32009
+ tenant_id: string;
32010
+ workspace_id?: string;
32011
+ activity_type?: string;
32012
+ limit?: number;
32013
+ offset?: number;
31143
32014
  };
31144
- url: "/workspaces/analytics-batch";
32015
+ url: "/audit-logs/activity";
31145
32016
  };
31146
- type GetWorkspacesAnalyticsBatchErrors = {
32017
+ type GetAuditLogsActivityErrors = {
31147
32018
  /**
31148
32019
  * Bad Request - Invalid input data or malformed request
31149
32020
  */
@@ -31173,25 +32044,38 @@ type GetWorkspacesAnalyticsBatchErrors = {
31173
32044
  */
31174
32045
  default: Errors;
31175
32046
  };
31176
- type GetWorkspacesAnalyticsBatchError = GetWorkspacesAnalyticsBatchErrors[keyof GetWorkspacesAnalyticsBatchErrors];
31177
- type GetWorkspacesAnalyticsBatchResponses = {
32047
+ type GetAuditLogsActivityError = GetAuditLogsActivityErrors[keyof GetAuditLogsActivityErrors];
32048
+ type GetAuditLogsActivityResponses = {
31178
32049
  /**
31179
32050
  * Success
31180
32051
  */
31181
32052
  200: {
31182
32053
  /**
31183
- * An array of resource objects representing a training_analytics
32054
+ * An array of resource objects representing a audit-log
31184
32055
  */
31185
- data?: Array<TrainingAnalytics>;
32056
+ data?: Array<AuditLog>;
31186
32057
  included?: Array<unknown>;
31187
32058
  meta?: {
31188
32059
  [key: string]: unknown;
31189
32060
  };
31190
32061
  };
31191
32062
  };
31192
- type GetWorkspacesAnalyticsBatchResponse = GetWorkspacesAnalyticsBatchResponses[keyof GetWorkspacesAnalyticsBatchResponses];
31193
- type GetAiMessagesData = {
31194
- body?: never;
32063
+ type GetAuditLogsActivityResponse = GetAuditLogsActivityResponses[keyof GetAuditLogsActivityResponses];
32064
+ type PostUsersAuthResendConfirmationData = {
32065
+ /**
32066
+ * Request body for the /users/auth/resend-confirmation operation on user resource
32067
+ */
32068
+ body: {
32069
+ data: {
32070
+ attributes?: {
32071
+ email: string;
32072
+ };
32073
+ relationships?: {
32074
+ [key: string]: never;
32075
+ };
32076
+ type?: "user";
32077
+ };
32078
+ };
31195
32079
  headers: {
31196
32080
  /**
31197
32081
  * Application ID for authentication and routing
@@ -31200,22 +32084,6 @@ type GetAiMessagesData = {
31200
32084
  };
31201
32085
  path?: never;
31202
32086
  query?: {
31203
- /**
31204
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
31205
- */
31206
- filter?: {
31207
- [key: string]: unknown;
31208
- };
31209
- /**
31210
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
31211
- */
31212
- sort?: string;
31213
- /**
31214
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
31215
- */
31216
- page?: {
31217
- [key: string]: unknown;
31218
- };
31219
32087
  /**
31220
32088
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
31221
32089
  */
@@ -31227,9 +32095,9 @@ type GetAiMessagesData = {
31227
32095
  [key: string]: unknown;
31228
32096
  };
31229
32097
  };
31230
- url: "/ai/messages";
32098
+ url: "/users/auth/resend-confirmation";
31231
32099
  };
31232
- type GetAiMessagesErrors = {
32100
+ type PostUsersAuthResendConfirmationErrors = {
31233
32101
  /**
31234
32102
  * Bad Request - Invalid input data or malformed request
31235
32103
  */
@@ -31259,40 +32127,22 @@ type GetAiMessagesErrors = {
31259
32127
  */
31260
32128
  default: Errors;
31261
32129
  };
31262
- type GetAiMessagesError = GetAiMessagesErrors[keyof GetAiMessagesErrors];
31263
- type GetAiMessagesResponses = {
32130
+ type PostUsersAuthResendConfirmationError = PostUsersAuthResendConfirmationErrors[keyof PostUsersAuthResendConfirmationErrors];
32131
+ type PostUsersAuthResendConfirmationResponses = {
31264
32132
  /**
31265
32133
  * Success
31266
32134
  */
31267
- 200: {
31268
- /**
31269
- * An array of resource objects representing a message
31270
- */
31271
- data?: Array<Message>;
32135
+ 201: {
32136
+ data?: User;
31272
32137
  included?: Array<unknown>;
31273
32138
  meta?: {
31274
32139
  [key: string]: unknown;
31275
32140
  };
31276
32141
  };
31277
32142
  };
31278
- type GetAiMessagesResponse = GetAiMessagesResponses[keyof GetAiMessagesResponses];
31279
- type PostAiMessagesData = {
31280
- /**
31281
- * Request body for the /ai/messages operation on message resource
31282
- */
31283
- body: {
31284
- data: {
31285
- attributes?: {
31286
- content: string;
31287
- conversation_id: string;
31288
- role: "system" | "user" | "assistant";
31289
- };
31290
- relationships?: {
31291
- [key: string]: never;
31292
- };
31293
- type?: "message";
31294
- };
31295
- };
32143
+ type PostUsersAuthResendConfirmationResponse = PostUsersAuthResendConfirmationResponses[keyof PostUsersAuthResendConfirmationResponses];
32144
+ type GetWorkspacesAnalyticsBatchData = {
32145
+ body?: never;
31296
32146
  headers: {
31297
32147
  /**
31298
32148
  * Application ID for authentication and routing
@@ -31300,7 +32150,17 @@ type PostAiMessagesData = {
31300
32150
  "x-application-key": string;
31301
32151
  };
31302
32152
  path?: never;
31303
- query?: {
32153
+ query: {
32154
+ /**
32155
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
32156
+ */
32157
+ filter?: {
32158
+ [key: string]: unknown;
32159
+ };
32160
+ /**
32161
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
32162
+ */
32163
+ sort?: string;
31304
32164
  /**
31305
32165
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
31306
32166
  */
@@ -31311,10 +32171,11 @@ type PostAiMessagesData = {
31311
32171
  fields?: {
31312
32172
  [key: string]: unknown;
31313
32173
  };
32174
+ workspace_ids: string;
31314
32175
  };
31315
- url: "/ai/messages";
32176
+ url: "/workspaces/analytics-batch";
31316
32177
  };
31317
- type PostAiMessagesErrors = {
32178
+ type GetWorkspacesAnalyticsBatchErrors = {
31318
32179
  /**
31319
32180
  * Bad Request - Invalid input data or malformed request
31320
32181
  */
@@ -31344,21 +32205,24 @@ type PostAiMessagesErrors = {
31344
32205
  */
31345
32206
  default: Errors;
31346
32207
  };
31347
- type PostAiMessagesError = PostAiMessagesErrors[keyof PostAiMessagesErrors];
31348
- type PostAiMessagesResponses = {
32208
+ type GetWorkspacesAnalyticsBatchError = GetWorkspacesAnalyticsBatchErrors[keyof GetWorkspacesAnalyticsBatchErrors];
32209
+ type GetWorkspacesAnalyticsBatchResponses = {
31349
32210
  /**
31350
32211
  * Success
31351
32212
  */
31352
- 201: {
31353
- data?: Message;
32213
+ 200: {
32214
+ /**
32215
+ * An array of resource objects representing a training_analytics
32216
+ */
32217
+ data?: Array<TrainingAnalytics>;
31354
32218
  included?: Array<unknown>;
31355
32219
  meta?: {
31356
32220
  [key: string]: unknown;
31357
32221
  };
31358
32222
  };
31359
32223
  };
31360
- type PostAiMessagesResponse = PostAiMessagesResponses[keyof PostAiMessagesResponses];
31361
- type GetWatcherEventsData = {
32224
+ type GetWorkspacesAnalyticsBatchResponse = GetWorkspacesAnalyticsBatchResponses[keyof GetWorkspacesAnalyticsBatchResponses];
32225
+ type GetAiMessagesData = {
31362
32226
  body?: never;
31363
32227
  headers: {
31364
32228
  /**
@@ -31367,7 +32231,7 @@ type GetWatcherEventsData = {
31367
32231
  "x-application-key": string;
31368
32232
  };
31369
32233
  path?: never;
31370
- query: {
32234
+ query?: {
31371
32235
  /**
31372
32236
  * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
31373
32237
  */
@@ -31394,14 +32258,10 @@ type GetWatcherEventsData = {
31394
32258
  fields?: {
31395
32259
  [key: string]: unknown;
31396
32260
  };
31397
- workspace_id: string;
31398
- event_type?: Array<string>;
31399
- machine_id?: string;
31400
- since?: unknown;
31401
32261
  };
31402
- url: "/watcher/events";
32262
+ url: "/ai/messages";
31403
32263
  };
31404
- type GetWatcherEventsErrors = {
32264
+ type GetAiMessagesErrors = {
31405
32265
  /**
31406
32266
  * Bad Request - Invalid input data or malformed request
31407
32267
  */
@@ -31431,35 +32291,38 @@ type GetWatcherEventsErrors = {
31431
32291
  */
31432
32292
  default: Errors;
31433
32293
  };
31434
- type GetWatcherEventsError = GetWatcherEventsErrors[keyof GetWatcherEventsErrors];
31435
- type GetWatcherEventsResponses = {
32294
+ type GetAiMessagesError = GetAiMessagesErrors[keyof GetAiMessagesErrors];
32295
+ type GetAiMessagesResponses = {
31436
32296
  /**
31437
32297
  * Success
31438
32298
  */
31439
32299
  200: {
31440
32300
  /**
31441
- * An array of resource objects representing a watcher_event
32301
+ * An array of resource objects representing a message
31442
32302
  */
31443
- data?: Array<WatcherEvent>;
32303
+ data?: Array<Message>;
31444
32304
  included?: Array<unknown>;
31445
32305
  meta?: {
31446
32306
  [key: string]: unknown;
31447
32307
  };
31448
32308
  };
31449
32309
  };
31450
- type GetWatcherEventsResponse = GetWatcherEventsResponses[keyof GetWatcherEventsResponses];
31451
- type PostWatcherEventsData = {
32310
+ type GetAiMessagesResponse = GetAiMessagesResponses[keyof GetAiMessagesResponses];
32311
+ type PostAiMessagesData = {
31452
32312
  /**
31453
- * Request body for the /watcher/events operation on watcher_event resource
32313
+ * Request body for the /ai/messages operation on message resource
31454
32314
  */
31455
32315
  body: {
31456
32316
  data: {
31457
- events: Array<{
31458
- [key: string]: unknown;
31459
- }>;
31460
- machine_id: string;
31461
- machine_name: string;
31462
- workspace_id: string;
32317
+ attributes?: {
32318
+ content: string;
32319
+ conversation_id: string;
32320
+ role: "system" | "user" | "assistant";
32321
+ };
32322
+ relationships?: {
32323
+ [key: string]: never;
32324
+ };
32325
+ type?: "message";
31463
32326
  };
31464
32327
  };
31465
32328
  headers: {
@@ -31469,10 +32332,21 @@ type PostWatcherEventsData = {
31469
32332
  "x-application-key": string;
31470
32333
  };
31471
32334
  path?: never;
31472
- query?: never;
31473
- url: "/watcher/events";
32335
+ query?: {
32336
+ /**
32337
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32338
+ */
32339
+ include?: string;
32340
+ /**
32341
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32342
+ */
32343
+ fields?: {
32344
+ [key: string]: unknown;
32345
+ };
32346
+ };
32347
+ url: "/ai/messages";
31474
32348
  };
31475
- type PostWatcherEventsErrors = {
32349
+ type PostAiMessagesErrors = {
31476
32350
  /**
31477
32351
  * Bad Request - Invalid input data or malformed request
31478
32352
  */
@@ -31502,17 +32376,21 @@ type PostWatcherEventsErrors = {
31502
32376
  */
31503
32377
  default: Errors;
31504
32378
  };
31505
- type PostWatcherEventsError = PostWatcherEventsErrors[keyof PostWatcherEventsErrors];
31506
- type PostWatcherEventsResponses = {
32379
+ type PostAiMessagesError = PostAiMessagesErrors[keyof PostAiMessagesErrors];
32380
+ type PostAiMessagesResponses = {
31507
32381
  /**
31508
32382
  * Success
31509
32383
  */
31510
32384
  201: {
31511
- [key: string]: unknown;
32385
+ data?: Message;
32386
+ included?: Array<unknown>;
32387
+ meta?: {
32388
+ [key: string]: unknown;
32389
+ };
31512
32390
  };
31513
32391
  };
31514
- type PostWatcherEventsResponse = PostWatcherEventsResponses[keyof PostWatcherEventsResponses];
31515
- type GetWalletPlanPreviewData = {
32392
+ type PostAiMessagesResponse = PostAiMessagesResponses[keyof PostAiMessagesResponses];
32393
+ type GetWatcherEventsData = {
31516
32394
  body?: never;
31517
32395
  headers: {
31518
32396
  /**
@@ -31522,6 +32400,22 @@ type GetWalletPlanPreviewData = {
31522
32400
  };
31523
32401
  path?: never;
31524
32402
  query: {
32403
+ /**
32404
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
32405
+ */
32406
+ filter?: {
32407
+ [key: string]: unknown;
32408
+ };
32409
+ /**
32410
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
32411
+ */
32412
+ sort?: string;
32413
+ /**
32414
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
32415
+ */
32416
+ page?: {
32417
+ [key: string]: unknown;
32418
+ };
31525
32419
  /**
31526
32420
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
31527
32421
  */
@@ -31532,11 +32426,14 @@ type GetWalletPlanPreviewData = {
31532
32426
  fields?: {
31533
32427
  [key: string]: unknown;
31534
32428
  };
31535
- plan_slug: string;
32429
+ workspace_id: string;
32430
+ event_type?: Array<string>;
32431
+ machine_id?: string;
32432
+ since?: unknown;
31536
32433
  };
31537
- url: "/wallet/plan/preview";
32434
+ url: "/watcher/events";
31538
32435
  };
31539
- type GetWalletPlanPreviewErrors = {
32436
+ type GetWatcherEventsErrors = {
31540
32437
  /**
31541
32438
  * Bad Request - Invalid input data or malformed request
31542
32439
  */
@@ -31566,22 +32463,37 @@ type GetWalletPlanPreviewErrors = {
31566
32463
  */
31567
32464
  default: Errors;
31568
32465
  };
31569
- type GetWalletPlanPreviewError = GetWalletPlanPreviewErrors[keyof GetWalletPlanPreviewErrors];
31570
- type GetWalletPlanPreviewResponses = {
32466
+ type GetWatcherEventsError = GetWatcherEventsErrors[keyof GetWatcherEventsErrors];
32467
+ type GetWatcherEventsResponses = {
31571
32468
  /**
31572
32469
  * Success
31573
32470
  */
31574
32471
  200: {
31575
- data?: Wallet;
31576
- included?: Array<Plan>;
32472
+ /**
32473
+ * An array of resource objects representing a watcher_event
32474
+ */
32475
+ data?: Array<WatcherEvent>;
32476
+ included?: Array<unknown>;
31577
32477
  meta?: {
31578
32478
  [key: string]: unknown;
31579
32479
  };
31580
32480
  };
31581
32481
  };
31582
- type GetWalletPlanPreviewResponse = GetWalletPlanPreviewResponses[keyof GetWalletPlanPreviewResponses];
31583
- type GetNotificationLogsStatsData = {
31584
- body?: never;
32482
+ type GetWatcherEventsResponse = GetWatcherEventsResponses[keyof GetWatcherEventsResponses];
32483
+ type PostWatcherEventsData = {
32484
+ /**
32485
+ * Request body for the /watcher/events operation on watcher_event resource
32486
+ */
32487
+ body: {
32488
+ data: {
32489
+ events: Array<{
32490
+ [key: string]: unknown;
32491
+ }>;
32492
+ machine_id: string;
32493
+ machine_name: string;
32494
+ workspace_id: string;
32495
+ };
32496
+ };
31585
32497
  headers: {
31586
32498
  /**
31587
32499
  * Application ID for authentication and routing
@@ -31590,9 +32502,129 @@ type GetNotificationLogsStatsData = {
31590
32502
  };
31591
32503
  path?: never;
31592
32504
  query?: never;
31593
- url: "/notification-logs/stats";
32505
+ url: "/watcher/events";
31594
32506
  };
31595
- type GetNotificationLogsStatsErrors = {
32507
+ type PostWatcherEventsErrors = {
32508
+ /**
32509
+ * Bad Request - Invalid input data or malformed request
32510
+ */
32511
+ 400: ErrorResponse;
32512
+ /**
32513
+ * Unauthorized - Missing or invalid authentication token
32514
+ */
32515
+ 401: ErrorResponse;
32516
+ /**
32517
+ * Forbidden - Authenticated but not authorized for this resource
32518
+ */
32519
+ 403: ErrorResponse;
32520
+ /**
32521
+ * Not Found - Resource does not exist
32522
+ */
32523
+ 404: ErrorResponse;
32524
+ /**
32525
+ * Too Many Requests - Rate limit exceeded
32526
+ */
32527
+ 429: ErrorResponse;
32528
+ /**
32529
+ * Internal Server Error - Unexpected server error
32530
+ */
32531
+ 500: ErrorResponse;
32532
+ /**
32533
+ * General Error
32534
+ */
32535
+ default: Errors;
32536
+ };
32537
+ type PostWatcherEventsError = PostWatcherEventsErrors[keyof PostWatcherEventsErrors];
32538
+ type PostWatcherEventsResponses = {
32539
+ /**
32540
+ * Success
32541
+ */
32542
+ 201: {
32543
+ [key: string]: unknown;
32544
+ };
32545
+ };
32546
+ type PostWatcherEventsResponse = PostWatcherEventsResponses[keyof PostWatcherEventsResponses];
32547
+ type GetWalletPlanPreviewData = {
32548
+ body?: never;
32549
+ headers: {
32550
+ /**
32551
+ * Application ID for authentication and routing
32552
+ */
32553
+ "x-application-key": string;
32554
+ };
32555
+ path?: never;
32556
+ query: {
32557
+ /**
32558
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32559
+ */
32560
+ include?: string;
32561
+ /**
32562
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32563
+ */
32564
+ fields?: {
32565
+ [key: string]: unknown;
32566
+ };
32567
+ plan_slug: string;
32568
+ };
32569
+ url: "/wallet/plan/preview";
32570
+ };
32571
+ type GetWalletPlanPreviewErrors = {
32572
+ /**
32573
+ * Bad Request - Invalid input data or malformed request
32574
+ */
32575
+ 400: ErrorResponse;
32576
+ /**
32577
+ * Unauthorized - Missing or invalid authentication token
32578
+ */
32579
+ 401: ErrorResponse;
32580
+ /**
32581
+ * Forbidden - Authenticated but not authorized for this resource
32582
+ */
32583
+ 403: ErrorResponse;
32584
+ /**
32585
+ * Not Found - Resource does not exist
32586
+ */
32587
+ 404: ErrorResponse;
32588
+ /**
32589
+ * Too Many Requests - Rate limit exceeded
32590
+ */
32591
+ 429: ErrorResponse;
32592
+ /**
32593
+ * Internal Server Error - Unexpected server error
32594
+ */
32595
+ 500: ErrorResponse;
32596
+ /**
32597
+ * General Error
32598
+ */
32599
+ default: Errors;
32600
+ };
32601
+ type GetWalletPlanPreviewError = GetWalletPlanPreviewErrors[keyof GetWalletPlanPreviewErrors];
32602
+ type GetWalletPlanPreviewResponses = {
32603
+ /**
32604
+ * Success
32605
+ */
32606
+ 200: {
32607
+ data?: Wallet;
32608
+ included?: Array<Plan>;
32609
+ meta?: {
32610
+ [key: string]: unknown;
32611
+ };
32612
+ };
32613
+ };
32614
+ type GetWalletPlanPreviewResponse = GetWalletPlanPreviewResponses[keyof GetWalletPlanPreviewResponses];
32615
+ type GetNotificationLogsStatsData = {
32616
+ body?: never;
32617
+ headers: {
32618
+ /**
32619
+ * Application ID for authentication and routing
32620
+ */
32621
+ "x-application-key": string;
32622
+ };
32623
+ path?: never;
32624
+ query?: never;
32625
+ url: "/notification-logs/stats";
32626
+ };
32627
+ type GetNotificationLogsStatsErrors = {
31596
32628
  /**
31597
32629
  * Bad Request - Invalid input data or malformed request
31598
32630
  */
@@ -31859,6 +32891,243 @@ type PatchConfigsByKeyResponses = {
31859
32891
  };
31860
32892
  };
31861
32893
  type PatchConfigsByKeyResponse = PatchConfigsByKeyResponses[keyof PatchConfigsByKeyResponses];
32894
+ type DeleteLegalDocumentsByIdData = {
32895
+ body?: never;
32896
+ headers: {
32897
+ /**
32898
+ * Application ID for authentication and routing
32899
+ */
32900
+ "x-application-key": string;
32901
+ };
32902
+ path: {
32903
+ id: string;
32904
+ };
32905
+ query?: {
32906
+ /**
32907
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32908
+ */
32909
+ include?: string;
32910
+ /**
32911
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32912
+ */
32913
+ fields?: {
32914
+ [key: string]: unknown;
32915
+ };
32916
+ };
32917
+ url: "/legal-documents/{id}";
32918
+ };
32919
+ type DeleteLegalDocumentsByIdErrors = {
32920
+ /**
32921
+ * Bad Request - Invalid input data or malformed request
32922
+ */
32923
+ 400: ErrorResponse;
32924
+ /**
32925
+ * Unauthorized - Missing or invalid authentication token
32926
+ */
32927
+ 401: ErrorResponse;
32928
+ /**
32929
+ * Forbidden - Authenticated but not authorized for this resource
32930
+ */
32931
+ 403: ErrorResponse;
32932
+ /**
32933
+ * Not Found - Resource does not exist
32934
+ */
32935
+ 404: ErrorResponse;
32936
+ /**
32937
+ * Too Many Requests - Rate limit exceeded
32938
+ */
32939
+ 429: ErrorResponse;
32940
+ /**
32941
+ * Internal Server Error - Unexpected server error
32942
+ */
32943
+ 500: ErrorResponse;
32944
+ /**
32945
+ * General Error
32946
+ */
32947
+ default: Errors;
32948
+ };
32949
+ type DeleteLegalDocumentsByIdError = DeleteLegalDocumentsByIdErrors[keyof DeleteLegalDocumentsByIdErrors];
32950
+ type DeleteLegalDocumentsByIdResponses = {
32951
+ /**
32952
+ * Deleted successfully
32953
+ */
32954
+ 200: unknown;
32955
+ };
32956
+ type GetLegalDocumentsByIdData = {
32957
+ body?: never;
32958
+ headers: {
32959
+ /**
32960
+ * Application ID for authentication and routing
32961
+ */
32962
+ "x-application-key": string;
32963
+ };
32964
+ path: {
32965
+ id: string;
32966
+ };
32967
+ query?: {
32968
+ /**
32969
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32970
+ */
32971
+ include?: string;
32972
+ /**
32973
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32974
+ */
32975
+ fields?: {
32976
+ [key: string]: unknown;
32977
+ };
32978
+ };
32979
+ url: "/legal-documents/{id}";
32980
+ };
32981
+ type GetLegalDocumentsByIdErrors = {
32982
+ /**
32983
+ * Bad Request - Invalid input data or malformed request
32984
+ */
32985
+ 400: ErrorResponse;
32986
+ /**
32987
+ * Unauthorized - Missing or invalid authentication token
32988
+ */
32989
+ 401: ErrorResponse;
32990
+ /**
32991
+ * Forbidden - Authenticated but not authorized for this resource
32992
+ */
32993
+ 403: ErrorResponse;
32994
+ /**
32995
+ * Not Found - Resource does not exist
32996
+ */
32997
+ 404: ErrorResponse;
32998
+ /**
32999
+ * Too Many Requests - Rate limit exceeded
33000
+ */
33001
+ 429: ErrorResponse;
33002
+ /**
33003
+ * Internal Server Error - Unexpected server error
33004
+ */
33005
+ 500: ErrorResponse;
33006
+ /**
33007
+ * General Error
33008
+ */
33009
+ default: Errors;
33010
+ };
33011
+ type GetLegalDocumentsByIdError = GetLegalDocumentsByIdErrors[keyof GetLegalDocumentsByIdErrors];
33012
+ type GetLegalDocumentsByIdResponses = {
33013
+ /**
33014
+ * Success
33015
+ */
33016
+ 200: {
33017
+ data?: LegalDocument;
33018
+ included?: Array<unknown>;
33019
+ meta?: {
33020
+ [key: string]: unknown;
33021
+ };
33022
+ };
33023
+ };
33024
+ type GetLegalDocumentsByIdResponse = GetLegalDocumentsByIdResponses[keyof GetLegalDocumentsByIdResponses];
33025
+ type PatchLegalDocumentsByIdData = {
33026
+ /**
33027
+ * Request body for the /legal-documents/:id operation on legal_document resource
33028
+ */
33029
+ body?: {
33030
+ data: {
33031
+ attributes?: {
33032
+ /**
33033
+ * Document becomes active at this time. nil = immediately active when is_active is true.
33034
+ */
33035
+ active_from?: unknown;
33036
+ /**
33037
+ * Document expires at this time. nil = no expiration.
33038
+ */
33039
+ active_until?: unknown;
33040
+ /**
33041
+ * Markdown content
33042
+ */
33043
+ content?: string | unknown;
33044
+ is_active?: boolean | unknown;
33045
+ /**
33046
+ * ISO 639-1 language code
33047
+ */
33048
+ locale?: string | unknown;
33049
+ /**
33050
+ * ISO 3166-1 region code (e.g., EU, BR, US) or nil for default
33051
+ */
33052
+ region?: string | unknown;
33053
+ requires_acceptance?: boolean | unknown;
33054
+ title?: string | unknown;
33055
+ version?: string | unknown;
33056
+ };
33057
+ id: string;
33058
+ relationships?: {
33059
+ [key: string]: never;
33060
+ };
33061
+ type?: "legal_document";
33062
+ };
33063
+ };
33064
+ headers: {
33065
+ /**
33066
+ * Application ID for authentication and routing
33067
+ */
33068
+ "x-application-key": string;
33069
+ };
33070
+ path: {
33071
+ id: string;
33072
+ };
33073
+ query?: {
33074
+ /**
33075
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
33076
+ */
33077
+ include?: string;
33078
+ /**
33079
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
33080
+ */
33081
+ fields?: {
33082
+ [key: string]: unknown;
33083
+ };
33084
+ };
33085
+ url: "/legal-documents/{id}";
33086
+ };
33087
+ type PatchLegalDocumentsByIdErrors = {
33088
+ /**
33089
+ * Bad Request - Invalid input data or malformed request
33090
+ */
33091
+ 400: ErrorResponse;
33092
+ /**
33093
+ * Unauthorized - Missing or invalid authentication token
33094
+ */
33095
+ 401: ErrorResponse;
33096
+ /**
33097
+ * Forbidden - Authenticated but not authorized for this resource
33098
+ */
33099
+ 403: ErrorResponse;
33100
+ /**
33101
+ * Not Found - Resource does not exist
33102
+ */
33103
+ 404: ErrorResponse;
33104
+ /**
33105
+ * Too Many Requests - Rate limit exceeded
33106
+ */
33107
+ 429: ErrorResponse;
33108
+ /**
33109
+ * Internal Server Error - Unexpected server error
33110
+ */
33111
+ 500: ErrorResponse;
33112
+ /**
33113
+ * General Error
33114
+ */
33115
+ default: Errors;
33116
+ };
33117
+ type PatchLegalDocumentsByIdError = PatchLegalDocumentsByIdErrors[keyof PatchLegalDocumentsByIdErrors];
33118
+ type PatchLegalDocumentsByIdResponses = {
33119
+ /**
33120
+ * Success
33121
+ */
33122
+ 200: {
33123
+ data?: LegalDocument;
33124
+ included?: Array<unknown>;
33125
+ meta?: {
33126
+ [key: string]: unknown;
33127
+ };
33128
+ };
33129
+ };
33130
+ type PatchLegalDocumentsByIdResponse = PatchLegalDocumentsByIdResponses[keyof PatchLegalDocumentsByIdResponses];
31862
33131
  type GetExtractionResultsData = {
31863
33132
  body?: never;
31864
33133
  headers: {
@@ -32024,6 +33293,197 @@ type PostAgentsByIdCloneResponses = {
32024
33293
  };
32025
33294
  };
32026
33295
  type PostAgentsByIdCloneResponse = PostAgentsByIdCloneResponses[keyof PostAgentsByIdCloneResponses];
33296
+ type GetLegalDocumentsData = {
33297
+ body?: never;
33298
+ headers: {
33299
+ /**
33300
+ * Application ID for authentication and routing
33301
+ */
33302
+ "x-application-key": string;
33303
+ };
33304
+ path?: never;
33305
+ query?: {
33306
+ /**
33307
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
33308
+ */
33309
+ filter?: {
33310
+ [key: string]: unknown;
33311
+ };
33312
+ /**
33313
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
33314
+ */
33315
+ sort?: string;
33316
+ /**
33317
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
33318
+ */
33319
+ page?: {
33320
+ [key: string]: unknown;
33321
+ };
33322
+ /**
33323
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
33324
+ */
33325
+ include?: string;
33326
+ /**
33327
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
33328
+ */
33329
+ fields?: {
33330
+ [key: string]: unknown;
33331
+ };
33332
+ };
33333
+ url: "/legal-documents";
33334
+ };
33335
+ type GetLegalDocumentsErrors = {
33336
+ /**
33337
+ * Bad Request - Invalid input data or malformed request
33338
+ */
33339
+ 400: ErrorResponse;
33340
+ /**
33341
+ * Unauthorized - Missing or invalid authentication token
33342
+ */
33343
+ 401: ErrorResponse;
33344
+ /**
33345
+ * Forbidden - Authenticated but not authorized for this resource
33346
+ */
33347
+ 403: ErrorResponse;
33348
+ /**
33349
+ * Not Found - Resource does not exist
33350
+ */
33351
+ 404: ErrorResponse;
33352
+ /**
33353
+ * Too Many Requests - Rate limit exceeded
33354
+ */
33355
+ 429: ErrorResponse;
33356
+ /**
33357
+ * Internal Server Error - Unexpected server error
33358
+ */
33359
+ 500: ErrorResponse;
33360
+ /**
33361
+ * General Error
33362
+ */
33363
+ default: Errors;
33364
+ };
33365
+ type GetLegalDocumentsError = GetLegalDocumentsErrors[keyof GetLegalDocumentsErrors];
33366
+ type GetLegalDocumentsResponses = {
33367
+ /**
33368
+ * Success
33369
+ */
33370
+ 200: {
33371
+ /**
33372
+ * An array of resource objects representing a legal_document
33373
+ */
33374
+ data?: Array<LegalDocument>;
33375
+ included?: Array<unknown>;
33376
+ meta?: {
33377
+ [key: string]: unknown;
33378
+ };
33379
+ };
33380
+ };
33381
+ type GetLegalDocumentsResponse = GetLegalDocumentsResponses[keyof GetLegalDocumentsResponses];
33382
+ type PostLegalDocumentsData = {
33383
+ /**
33384
+ * Request body for the /legal-documents operation on legal_document resource
33385
+ */
33386
+ body: {
33387
+ data: {
33388
+ attributes?: {
33389
+ /**
33390
+ * Document becomes active at this time. nil = immediately active when is_active is true.
33391
+ */
33392
+ active_from?: unknown;
33393
+ /**
33394
+ * Document expires at this time. nil = no expiration.
33395
+ */
33396
+ active_until?: unknown;
33397
+ application_id?: string | unknown;
33398
+ /**
33399
+ * Markdown content
33400
+ */
33401
+ content: string;
33402
+ document_type: "terms_of_service" | "privacy_policy";
33403
+ is_active?: boolean | unknown;
33404
+ /**
33405
+ * ISO 639-1 language code
33406
+ */
33407
+ locale?: string | unknown;
33408
+ /**
33409
+ * ISO 3166-1 region code (e.g., EU, BR, US) or nil for default
33410
+ */
33411
+ region?: string | unknown;
33412
+ requires_acceptance?: boolean | unknown;
33413
+ title: string;
33414
+ version: string;
33415
+ };
33416
+ relationships?: {
33417
+ [key: string]: never;
33418
+ };
33419
+ type?: "legal_document";
33420
+ };
33421
+ };
33422
+ headers: {
33423
+ /**
33424
+ * Application ID for authentication and routing
33425
+ */
33426
+ "x-application-key": string;
33427
+ };
33428
+ path?: never;
33429
+ query?: {
33430
+ /**
33431
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
33432
+ */
33433
+ include?: string;
33434
+ /**
33435
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
33436
+ */
33437
+ fields?: {
33438
+ [key: string]: unknown;
33439
+ };
33440
+ };
33441
+ url: "/legal-documents";
33442
+ };
33443
+ type PostLegalDocumentsErrors = {
33444
+ /**
33445
+ * Bad Request - Invalid input data or malformed request
33446
+ */
33447
+ 400: ErrorResponse;
33448
+ /**
33449
+ * Unauthorized - Missing or invalid authentication token
33450
+ */
33451
+ 401: ErrorResponse;
33452
+ /**
33453
+ * Forbidden - Authenticated but not authorized for this resource
33454
+ */
33455
+ 403: ErrorResponse;
33456
+ /**
33457
+ * Not Found - Resource does not exist
33458
+ */
33459
+ 404: ErrorResponse;
33460
+ /**
33461
+ * Too Many Requests - Rate limit exceeded
33462
+ */
33463
+ 429: ErrorResponse;
33464
+ /**
33465
+ * Internal Server Error - Unexpected server error
33466
+ */
33467
+ 500: ErrorResponse;
33468
+ /**
33469
+ * General Error
33470
+ */
33471
+ default: Errors;
33472
+ };
33473
+ type PostLegalDocumentsError = PostLegalDocumentsErrors[keyof PostLegalDocumentsErrors];
33474
+ type PostLegalDocumentsResponses = {
33475
+ /**
33476
+ * Success
33477
+ */
33478
+ 201: {
33479
+ data?: LegalDocument;
33480
+ included?: Array<unknown>;
33481
+ meta?: {
33482
+ [key: string]: unknown;
33483
+ };
33484
+ };
33485
+ };
33486
+ type PostLegalDocumentsResponse = PostLegalDocumentsResponses[keyof PostLegalDocumentsResponses];
32027
33487
  type DeleteAiConversationsByIdData = {
32028
33488
  body?: never;
32029
33489
  headers: {
@@ -32141,42 +33601,195 @@ type GetAiConversationsByIdErrors = {
32141
33601
  */
32142
33602
  default: Errors;
32143
33603
  };
32144
- type GetAiConversationsByIdError = GetAiConversationsByIdErrors[keyof GetAiConversationsByIdErrors];
32145
- type GetAiConversationsByIdResponses = {
33604
+ type GetAiConversationsByIdError = GetAiConversationsByIdErrors[keyof GetAiConversationsByIdErrors];
33605
+ type GetAiConversationsByIdResponses = {
33606
+ /**
33607
+ * Success
33608
+ */
33609
+ 200: {
33610
+ data?: Conversation;
33611
+ included?: Array<unknown>;
33612
+ meta?: {
33613
+ [key: string]: unknown;
33614
+ };
33615
+ };
33616
+ };
33617
+ type GetAiConversationsByIdResponse = GetAiConversationsByIdResponses[keyof GetAiConversationsByIdResponses];
33618
+ type PatchAiConversationsByIdData = {
33619
+ /**
33620
+ * Request body for the /ai/conversations/:id operation on conversation resource
33621
+ */
33622
+ body?: {
33623
+ data: {
33624
+ attributes?: {
33625
+ /**
33626
+ * Structured data providing context for this conversation (e.g., failed prediction results)
33627
+ */
33628
+ context_data?: {
33629
+ [key: string]: unknown;
33630
+ } | unknown;
33631
+ title?: string | unknown;
33632
+ };
33633
+ id: string;
33634
+ relationships?: {
33635
+ [key: string]: never;
33636
+ };
33637
+ type?: "conversation";
33638
+ };
33639
+ };
33640
+ headers: {
33641
+ /**
33642
+ * Application ID for authentication and routing
33643
+ */
33644
+ "x-application-key": string;
33645
+ };
33646
+ path: {
33647
+ id: string;
33648
+ };
33649
+ query?: {
33650
+ /**
33651
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
33652
+ */
33653
+ include?: string;
33654
+ /**
33655
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
33656
+ */
33657
+ fields?: {
33658
+ [key: string]: unknown;
33659
+ };
33660
+ };
33661
+ url: "/ai/conversations/{id}";
33662
+ };
33663
+ type PatchAiConversationsByIdErrors = {
33664
+ /**
33665
+ * Bad Request - Invalid input data or malformed request
33666
+ */
33667
+ 400: ErrorResponse;
33668
+ /**
33669
+ * Unauthorized - Missing or invalid authentication token
33670
+ */
33671
+ 401: ErrorResponse;
33672
+ /**
33673
+ * Forbidden - Authenticated but not authorized for this resource
33674
+ */
33675
+ 403: ErrorResponse;
33676
+ /**
33677
+ * Not Found - Resource does not exist
33678
+ */
33679
+ 404: ErrorResponse;
33680
+ /**
33681
+ * Too Many Requests - Rate limit exceeded
33682
+ */
33683
+ 429: ErrorResponse;
33684
+ /**
33685
+ * Internal Server Error - Unexpected server error
33686
+ */
33687
+ 500: ErrorResponse;
33688
+ /**
33689
+ * General Error
33690
+ */
33691
+ default: Errors;
33692
+ };
33693
+ type PatchAiConversationsByIdError = PatchAiConversationsByIdErrors[keyof PatchAiConversationsByIdErrors];
33694
+ type PatchAiConversationsByIdResponses = {
33695
+ /**
33696
+ * Success
33697
+ */
33698
+ 200: {
33699
+ data?: Conversation;
33700
+ included?: Array<unknown>;
33701
+ meta?: {
33702
+ [key: string]: unknown;
33703
+ };
33704
+ };
33705
+ };
33706
+ type PatchAiConversationsByIdResponse = PatchAiConversationsByIdResponses[keyof PatchAiConversationsByIdResponses];
33707
+ type GetInvitationsMeData = {
33708
+ body?: never;
33709
+ headers: {
33710
+ /**
33711
+ * Application ID for authentication and routing
33712
+ */
33713
+ "x-application-key": string;
33714
+ };
33715
+ path?: never;
33716
+ query?: {
33717
+ /**
33718
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
33719
+ */
33720
+ filter?: {
33721
+ [key: string]: unknown;
33722
+ };
33723
+ /**
33724
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
33725
+ */
33726
+ sort?: string;
33727
+ /**
33728
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
33729
+ */
33730
+ include?: string;
33731
+ /**
33732
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
33733
+ */
33734
+ fields?: {
33735
+ [key: string]: unknown;
33736
+ };
33737
+ /**
33738
+ * User ID to look up invitations for. Actor's ID takes precedence when available.
33739
+ */
33740
+ user_id?: string;
33741
+ };
33742
+ url: "/invitations/me";
33743
+ };
33744
+ type GetInvitationsMeErrors = {
33745
+ /**
33746
+ * Bad Request - Invalid input data or malformed request
33747
+ */
33748
+ 400: ErrorResponse;
33749
+ /**
33750
+ * Unauthorized - Missing or invalid authentication token
33751
+ */
33752
+ 401: ErrorResponse;
33753
+ /**
33754
+ * Forbidden - Authenticated but not authorized for this resource
33755
+ */
33756
+ 403: ErrorResponse;
33757
+ /**
33758
+ * Not Found - Resource does not exist
33759
+ */
33760
+ 404: ErrorResponse;
33761
+ /**
33762
+ * Too Many Requests - Rate limit exceeded
33763
+ */
33764
+ 429: ErrorResponse;
33765
+ /**
33766
+ * Internal Server Error - Unexpected server error
33767
+ */
33768
+ 500: ErrorResponse;
33769
+ /**
33770
+ * General Error
33771
+ */
33772
+ default: Errors;
33773
+ };
33774
+ type GetInvitationsMeError = GetInvitationsMeErrors[keyof GetInvitationsMeErrors];
33775
+ type GetInvitationsMeResponses = {
32146
33776
  /**
32147
33777
  * Success
32148
33778
  */
32149
33779
  200: {
32150
- data?: Conversation;
33780
+ /**
33781
+ * An array of resource objects representing a invitation
33782
+ */
33783
+ data?: Array<Invitation>;
32151
33784
  included?: Array<unknown>;
32152
33785
  meta?: {
32153
33786
  [key: string]: unknown;
32154
33787
  };
32155
33788
  };
32156
33789
  };
32157
- type GetAiConversationsByIdResponse = GetAiConversationsByIdResponses[keyof GetAiConversationsByIdResponses];
32158
- type PatchAiConversationsByIdData = {
32159
- /**
32160
- * Request body for the /ai/conversations/:id operation on conversation resource
32161
- */
32162
- body?: {
32163
- data: {
32164
- attributes?: {
32165
- /**
32166
- * Structured data providing context for this conversation (e.g., failed prediction results)
32167
- */
32168
- context_data?: {
32169
- [key: string]: unknown;
32170
- } | unknown;
32171
- title?: string | unknown;
32172
- };
32173
- id: string;
32174
- relationships?: {
32175
- [key: string]: never;
32176
- };
32177
- type?: "conversation";
32178
- };
32179
- };
33790
+ type GetInvitationsMeResponse = GetInvitationsMeResponses[keyof GetInvitationsMeResponses];
33791
+ type GetAgentVersionsByIdRevisionsData = {
33792
+ body?: never;
32180
33793
  headers: {
32181
33794
  /**
32182
33795
  * Application ID for authentication and routing
@@ -32186,21 +33799,10 @@ type PatchAiConversationsByIdData = {
32186
33799
  path: {
32187
33800
  id: string;
32188
33801
  };
32189
- query?: {
32190
- /**
32191
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32192
- */
32193
- include?: string;
32194
- /**
32195
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32196
- */
32197
- fields?: {
32198
- [key: string]: unknown;
32199
- };
32200
- };
32201
- url: "/ai/conversations/{id}";
33802
+ query?: never;
33803
+ url: "/agent-versions/{id}/revisions";
32202
33804
  };
32203
- type PatchAiConversationsByIdErrors = {
33805
+ type GetAgentVersionsByIdRevisionsErrors = {
32204
33806
  /**
32205
33807
  * Bad Request - Invalid input data or malformed request
32206
33808
  */
@@ -32230,21 +33832,14 @@ type PatchAiConversationsByIdErrors = {
32230
33832
  */
32231
33833
  default: Errors;
32232
33834
  };
32233
- type PatchAiConversationsByIdError = PatchAiConversationsByIdErrors[keyof PatchAiConversationsByIdErrors];
32234
- type PatchAiConversationsByIdResponses = {
33835
+ type GetAgentVersionsByIdRevisionsError = GetAgentVersionsByIdRevisionsErrors[keyof GetAgentVersionsByIdRevisionsErrors];
33836
+ type GetAgentVersionsByIdRevisionsResponses = {
32235
33837
  /**
32236
33838
  * Success
32237
33839
  */
32238
- 200: {
32239
- data?: Conversation;
32240
- included?: Array<unknown>;
32241
- meta?: {
32242
- [key: string]: unknown;
32243
- };
32244
- };
33840
+ 200: unknown;
32245
33841
  };
32246
- type PatchAiConversationsByIdResponse = PatchAiConversationsByIdResponses[keyof PatchAiConversationsByIdResponses];
32247
- type GetInvitationsMeData = {
33842
+ type GetLegalDocumentsForApplicationData = {
32248
33843
  body?: never;
32249
33844
  headers: {
32250
33845
  /**
@@ -32253,7 +33848,7 @@ type GetInvitationsMeData = {
32253
33848
  "x-application-key": string;
32254
33849
  };
32255
33850
  path?: never;
32256
- query?: {
33851
+ query: {
32257
33852
  /**
32258
33853
  * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
32259
33854
  */
@@ -32274,14 +33869,11 @@ type GetInvitationsMeData = {
32274
33869
  fields?: {
32275
33870
  [key: string]: unknown;
32276
33871
  };
32277
- /**
32278
- * User ID to look up invitations for. Actor's ID takes precedence when available.
32279
- */
32280
- user_id?: string;
33872
+ application_id: string;
32281
33873
  };
32282
- url: "/invitations/me";
33874
+ url: "/legal-documents/for-application";
32283
33875
  };
32284
- type GetInvitationsMeErrors = {
33876
+ type GetLegalDocumentsForApplicationErrors = {
32285
33877
  /**
32286
33878
  * Bad Request - Invalid input data or malformed request
32287
33879
  */
@@ -32311,74 +33903,23 @@ type GetInvitationsMeErrors = {
32311
33903
  */
32312
33904
  default: Errors;
32313
33905
  };
32314
- type GetInvitationsMeError = GetInvitationsMeErrors[keyof GetInvitationsMeErrors];
32315
- type GetInvitationsMeResponses = {
33906
+ type GetLegalDocumentsForApplicationError = GetLegalDocumentsForApplicationErrors[keyof GetLegalDocumentsForApplicationErrors];
33907
+ type GetLegalDocumentsForApplicationResponses = {
32316
33908
  /**
32317
33909
  * Success
32318
33910
  */
32319
33911
  200: {
32320
33912
  /**
32321
- * An array of resource objects representing a invitation
33913
+ * An array of resource objects representing a legal_document
32322
33914
  */
32323
- data?: Array<Invitation>;
32324
- included?: Array<User>;
33915
+ data?: Array<LegalDocument>;
33916
+ included?: Array<unknown>;
32325
33917
  meta?: {
32326
33918
  [key: string]: unknown;
32327
33919
  };
32328
33920
  };
32329
33921
  };
32330
- type GetInvitationsMeResponse = GetInvitationsMeResponses[keyof GetInvitationsMeResponses];
32331
- type GetAgentVersionsByIdRevisionsData = {
32332
- body?: never;
32333
- headers: {
32334
- /**
32335
- * Application ID for authentication and routing
32336
- */
32337
- "x-application-key": string;
32338
- };
32339
- path: {
32340
- id: string;
32341
- };
32342
- query?: never;
32343
- url: "/agent-versions/{id}/revisions";
32344
- };
32345
- type GetAgentVersionsByIdRevisionsErrors = {
32346
- /**
32347
- * Bad Request - Invalid input data or malformed request
32348
- */
32349
- 400: ErrorResponse;
32350
- /**
32351
- * Unauthorized - Missing or invalid authentication token
32352
- */
32353
- 401: ErrorResponse;
32354
- /**
32355
- * Forbidden - Authenticated but not authorized for this resource
32356
- */
32357
- 403: ErrorResponse;
32358
- /**
32359
- * Not Found - Resource does not exist
32360
- */
32361
- 404: ErrorResponse;
32362
- /**
32363
- * Too Many Requests - Rate limit exceeded
32364
- */
32365
- 429: ErrorResponse;
32366
- /**
32367
- * Internal Server Error - Unexpected server error
32368
- */
32369
- 500: ErrorResponse;
32370
- /**
32371
- * General Error
32372
- */
32373
- default: Errors;
32374
- };
32375
- type GetAgentVersionsByIdRevisionsError = GetAgentVersionsByIdRevisionsErrors[keyof GetAgentVersionsByIdRevisionsErrors];
32376
- type GetAgentVersionsByIdRevisionsResponses = {
32377
- /**
32378
- * Success
32379
- */
32380
- 200: unknown;
32381
- };
33922
+ type GetLegalDocumentsForApplicationResponse = GetLegalDocumentsForApplicationResponses[keyof GetLegalDocumentsForApplicationResponses];
32382
33923
  type PostSearchBatchData = {
32383
33924
  /**
32384
33925
  * Request body for the /search/batch operation on search resource
@@ -36760,6 +38301,16 @@ declare const deleteSearchSavedById: <ThrowOnError extends boolean = false>(opti
36760
38301
  *
36761
38302
  */
36762
38303
  declare const patchSearchSavedById: <ThrowOnError extends boolean = false>(options: Options<PatchSearchSavedByIdData, ThrowOnError>) => RequestResult<PatchSearchSavedByIdResponses, PatchSearchSavedByIdErrors, ThrowOnError, "fields">;
38304
+ /**
38305
+ * Update unpublish
38306
+ *
38307
+ * Updates specific fields of an existing resource.
38308
+ *
38309
+ * **Authentication:** Required - Bearer token or API key
38310
+ * **Rate Limit:** 100 requests per minute
38311
+ *
38312
+ */
38313
+ declare const patchLegalDocumentsByIdUnpublish: <ThrowOnError extends boolean = false>(options: Options<PatchLegalDocumentsByIdUnpublishData, ThrowOnError>) => RequestResult<PatchLegalDocumentsByIdUnpublishResponses, PatchLegalDocumentsByIdUnpublishErrors, ThrowOnError, "fields">;
36763
38314
  /**
36764
38315
  * Update email
36765
38316
  *
@@ -37060,6 +38611,16 @@ declare const patchAgentsByIdSchemaVersionsByVersionId: <ThrowOnError extends bo
37060
38611
  *
37061
38612
  */
37062
38613
  declare const deleteAiMessagesById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiMessagesByIdData, ThrowOnError>) => RequestResult<DeleteAiMessagesByIdResponses, DeleteAiMessagesByIdErrors, ThrowOnError, "fields">;
38614
+ /**
38615
+ * Get legal acceptances
38616
+ *
38617
+ * Retrieves a single resource by ID.
38618
+ *
38619
+ * **Authentication:** Required - Bearer token or API key
38620
+ * **Rate Limit:** 100 requests per minute
38621
+ *
38622
+ */
38623
+ declare const getLegalAcceptancesById: <ThrowOnError extends boolean = false>(options: Options<GetLegalAcceptancesByIdData, ThrowOnError>) => RequestResult<GetLegalAcceptancesByIdResponses, GetLegalAcceptancesByIdErrors, ThrowOnError, "fields">;
37063
38624
  /**
37064
38625
  * Get upload urls
37065
38626
  *
@@ -37346,6 +38907,16 @@ declare const getUsersByEmail: <ThrowOnError extends boolean = false>(options: O
37346
38907
  *
37347
38908
  */
37348
38909
  declare const patchExtractionDocumentsByIdFinishUpload: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdFinishUploadData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdFinishUploadResponses, PatchExtractionDocumentsByIdFinishUploadErrors, ThrowOnError, "fields">;
38910
+ /**
38911
+ * Get consent records
38912
+ *
38913
+ * Retrieves a single resource by ID.
38914
+ *
38915
+ * **Authentication:** Required - Bearer token or API key
38916
+ * **Rate Limit:** 100 requests per minute
38917
+ *
38918
+ */
38919
+ declare const getConsentRecordsById: <ThrowOnError extends boolean = false>(options: Options<GetConsentRecordsByIdData, ThrowOnError>) => RequestResult<GetConsentRecordsByIdResponses, GetConsentRecordsByIdErrors, ThrowOnError, "fields">;
37349
38920
  /**
37350
38921
  * Get sessions
37351
38922
  *
@@ -37356,6 +38927,16 @@ declare const patchExtractionDocumentsByIdFinishUpload: <ThrowOnError extends bo
37356
38927
  *
37357
38928
  */
37358
38929
  declare const getTrainingSessionsAgentsByAgentIdSessions: <ThrowOnError extends boolean = false>(options: Options<GetTrainingSessionsAgentsByAgentIdSessionsData, ThrowOnError>) => RequestResult<GetTrainingSessionsAgentsByAgentIdSessionsResponses, GetTrainingSessionsAgentsByAgentIdSessionsErrors, ThrowOnError, "fields">;
38930
+ /**
38931
+ * Update publish
38932
+ *
38933
+ * Updates specific fields of an existing resource.
38934
+ *
38935
+ * **Authentication:** Required - Bearer token or API key
38936
+ * **Rate Limit:** 100 requests per minute
38937
+ *
38938
+ */
38939
+ declare const patchLegalDocumentsByIdPublish: <ThrowOnError extends boolean = false>(options: Options<PatchLegalDocumentsByIdPublishData, ThrowOnError>) => RequestResult<PatchLegalDocumentsByIdPublishResponses, PatchLegalDocumentsByIdPublishErrors, ThrowOnError, "fields">;
37359
38940
  /**
37360
38941
  * List stats
37361
38942
  *
@@ -37488,6 +39069,16 @@ declare const getNotificationPreferences: <ThrowOnError extends boolean = false>
37488
39069
  *
37489
39070
  */
37490
39071
  declare const postNotificationPreferences: <ThrowOnError extends boolean = false>(options: Options<PostNotificationPreferencesData, ThrowOnError>) => RequestResult<PostNotificationPreferencesResponses, PostNotificationPreferencesErrors, ThrowOnError, "fields">;
39072
+ /**
39073
+ * List legal acceptances
39074
+ *
39075
+ * Lists resources with optional filtering, sorting, and pagination.
39076
+ *
39077
+ * **Authentication:** Required - Bearer token or API key
39078
+ * **Rate Limit:** 100 requests per minute
39079
+ *
39080
+ */
39081
+ declare const getLegalAcceptances: <ThrowOnError extends boolean = false>(options: Options<GetLegalAcceptancesData, ThrowOnError>) => RequestResult<GetLegalAcceptancesResponses, GetLegalAcceptancesErrors, ThrowOnError, "fields">;
37491
39082
  /**
37492
39083
  * Update retry
37493
39084
  *
@@ -37734,12 +39325,6 @@ declare const getExtractionResultsDocumentByDocumentId: <ThrowOnError extends bo
37734
39325
  * Remove a system field from this version's schema
37735
39326
  */
37736
39327
  declare const postAgentVersionsByIdRemoveSystemField: <ThrowOnError extends boolean = false>(options: Options<PostAgentVersionsByIdRemoveSystemFieldData, ThrowOnError>) => RequestResult<PostAgentVersionsByIdRemoveSystemFieldResponses, PostAgentVersionsByIdRemoveSystemFieldErrors, ThrowOnError, "fields">;
37737
- /**
37738
- * List inherited
37739
- *
37740
- * List workspace members including inherited org owners/admins
37741
- */
37742
- declare const getWorkspaceMembershipsInherited: <ThrowOnError extends boolean = false>(options: Options<GetWorkspaceMembershipsInheritedData, ThrowOnError>) => RequestResult<GetWorkspaceMembershipsInheritedResponses, GetWorkspaceMembershipsInheritedErrors, ThrowOnError, "fields">;
37743
39328
  /**
37744
39329
  * Delete workspaces
37745
39330
  *
@@ -38268,6 +39853,16 @@ declare const postAiSearch: <ThrowOnError extends boolean = false>(options: Opti
38268
39853
  *
38269
39854
  */
38270
39855
  declare const deleteAiGraphNodesById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiGraphNodesByIdData, ThrowOnError>) => RequestResult<DeleteAiGraphNodesByIdResponses, DeleteAiGraphNodesByIdErrors, ThrowOnError, "fields">;
39856
+ /**
39857
+ * List latest
39858
+ *
39859
+ * Lists resources with optional filtering, sorting, and pagination.
39860
+ *
39861
+ * **Authentication:** Required - Bearer token or API key
39862
+ * **Rate Limit:** 100 requests per minute
39863
+ *
39864
+ */
39865
+ declare const getLegalAcceptancesLatest: <ThrowOnError extends boolean = false>(options: Options<GetLegalAcceptancesLatestData, ThrowOnError>) => RequestResult<GetLegalAcceptancesLatestResponses, GetLegalAcceptancesLatestErrors, ThrowOnError, "fields">;
38271
39866
  /**
38272
39867
  * List shared
38273
39868
  *
@@ -38364,6 +39959,16 @@ declare const patchUsersByIdConfirmEmail: <ThrowOnError extends boolean = false>
38364
39959
  *
38365
39960
  */
38366
39961
  declare const getThreadsSearch: <ThrowOnError extends boolean = false>(options: Options<GetThreadsSearchData, ThrowOnError>) => RequestResult<GetThreadsSearchResponses, GetThreadsSearchErrors, ThrowOnError, "fields">;
39962
+ /**
39963
+ * List active
39964
+ *
39965
+ * Lists resources with optional filtering, sorting, and pagination.
39966
+ *
39967
+ * **Authentication:** Required - Bearer token or API key
39968
+ * **Rate Limit:** 100 requests per minute
39969
+ *
39970
+ */
39971
+ declare const getConsentRecordsActive: <ThrowOnError extends boolean = false>(options: Options<GetConsentRecordsActiveData, ThrowOnError>) => RequestResult<GetConsentRecordsActiveResponses, GetConsentRecordsActiveErrors, ThrowOnError, "fields">;
38367
39972
  /**
38368
39973
  * Create run
38369
39974
  *
@@ -38456,6 +40061,16 @@ declare const postWebhookDeliveriesBulkRetry: <ThrowOnError extends boolean = fa
38456
40061
  *
38457
40062
  */
38458
40063
  declare const patchNotificationMethodsByIdSendVerification: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdSendVerificationData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdSendVerificationResponses, PatchNotificationMethodsByIdSendVerificationErrors, ThrowOnError, "fields">;
40064
+ /**
40065
+ * List by locale
40066
+ *
40067
+ * Lists resources with optional filtering, sorting, and pagination.
40068
+ *
40069
+ * **Authentication:** Required - Bearer token or API key
40070
+ * **Rate Limit:** 100 requests per minute
40071
+ *
40072
+ */
40073
+ declare const getLegalDocumentsByLocale: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsByLocaleData, ThrowOnError>) => RequestResult<GetLegalDocumentsByLocaleResponses, GetLegalDocumentsByLocaleErrors, ThrowOnError, "fields">;
38459
40074
  /**
38460
40075
  * Update grant credits
38461
40076
  *
@@ -38534,6 +40149,16 @@ declare const postUsersAuthLogin: <ThrowOnError extends boolean = false>(options
38534
40149
  *
38535
40150
  */
38536
40151
  declare const postAiEmbed: <ThrowOnError extends boolean = false>(options: Options<PostAiEmbedData, ThrowOnError>) => RequestResult<PostAiEmbedResponses, PostAiEmbedErrors, ThrowOnError, "fields">;
40152
+ /**
40153
+ * Update withdraw
40154
+ *
40155
+ * Updates specific fields of an existing resource.
40156
+ *
40157
+ * **Authentication:** Required - Bearer token or API key
40158
+ * **Rate Limit:** 100 requests per minute
40159
+ *
40160
+ */
40161
+ declare const patchConsentRecordsByIdWithdraw: <ThrowOnError extends boolean = false>(options: Options<PatchConsentRecordsByIdWithdrawData, ThrowOnError>) => RequestResult<PatchConsentRecordsByIdWithdrawResponses, PatchConsentRecordsByIdWithdrawErrors, ThrowOnError, "fields">;
38537
40162
  /**
38538
40163
  * Create agent version comparisons
38539
40164
  *
@@ -38962,6 +40587,26 @@ declare const getApiKeysActive: <ThrowOnError extends boolean = false>(options:
38962
40587
  *
38963
40588
  */
38964
40589
  declare const patchExtractionResultsByIdSaveCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdSaveCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdSaveCorrectionsResponses, PatchExtractionResultsByIdSaveCorrectionsErrors, ThrowOnError, "fields">;
40590
+ /**
40591
+ * List consent records
40592
+ *
40593
+ * Lists resources with optional filtering, sorting, and pagination.
40594
+ *
40595
+ * **Authentication:** Required - Bearer token or API key
40596
+ * **Rate Limit:** 100 requests per minute
40597
+ *
40598
+ */
40599
+ declare const getConsentRecords: <ThrowOnError extends boolean = false>(options: Options<GetConsentRecordsData, ThrowOnError>) => RequestResult<GetConsentRecordsResponses, GetConsentRecordsErrors, ThrowOnError, "fields">;
40600
+ /**
40601
+ * Create consent records
40602
+ *
40603
+ * Creates a new resource. Returns the created resource with generated ID.
40604
+ *
40605
+ * **Authentication:** Required - Bearer token or API key
40606
+ * **Rate Limit:** 100 requests per minute
40607
+ *
40608
+ */
40609
+ declare const postConsentRecords: <ThrowOnError extends boolean = false>(options: Options<PostConsentRecordsData, ThrowOnError>) => RequestResult<PostConsentRecordsResponses, PostConsentRecordsErrors, ThrowOnError, "fields">;
38965
40610
  /**
38966
40611
  * List activity
38967
40612
  *
@@ -39058,6 +40703,36 @@ declare const postThreadsByIdSummarize: <ThrowOnError extends boolean = false>(o
39058
40703
  *
39059
40704
  */
39060
40705
  declare const patchConfigsByKey: <ThrowOnError extends boolean = false>(options: Options<PatchConfigsByKeyData, ThrowOnError>) => RequestResult<PatchConfigsByKeyResponses, PatchConfigsByKeyErrors, ThrowOnError, "fields">;
40706
+ /**
40707
+ * Delete legal documents
40708
+ *
40709
+ * Deletes a resource permanently. This action cannot be undone.
40710
+ *
40711
+ * **Authentication:** Required - Bearer token or API key
40712
+ * **Rate Limit:** 100 requests per minute
40713
+ *
40714
+ */
40715
+ declare const deleteLegalDocumentsById: <ThrowOnError extends boolean = false>(options: Options<DeleteLegalDocumentsByIdData, ThrowOnError>) => RequestResult<DeleteLegalDocumentsByIdResponses, DeleteLegalDocumentsByIdErrors, ThrowOnError, "fields">;
40716
+ /**
40717
+ * Get legal documents
40718
+ *
40719
+ * Retrieves a single resource by ID.
40720
+ *
40721
+ * **Authentication:** Required - Bearer token or API key
40722
+ * **Rate Limit:** 100 requests per minute
40723
+ *
40724
+ */
40725
+ declare const getLegalDocumentsById: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsByIdData, ThrowOnError>) => RequestResult<GetLegalDocumentsByIdResponses, GetLegalDocumentsByIdErrors, ThrowOnError, "fields">;
40726
+ /**
40727
+ * Update legal documents
40728
+ *
40729
+ * Updates specific fields of an existing resource.
40730
+ *
40731
+ * **Authentication:** Required - Bearer token or API key
40732
+ * **Rate Limit:** 100 requests per minute
40733
+ *
40734
+ */
40735
+ declare const patchLegalDocumentsById: <ThrowOnError extends boolean = false>(options: Options<PatchLegalDocumentsByIdData, ThrowOnError>) => RequestResult<PatchLegalDocumentsByIdResponses, PatchLegalDocumentsByIdErrors, ThrowOnError, "fields">;
39061
40736
  /**
39062
40737
  * List results
39063
40738
  *
@@ -39074,6 +40749,26 @@ declare const getExtractionResults: <ThrowOnError extends boolean = false>(optio
39074
40749
  * Clone the agent to a new one with a new name
39075
40750
  */
39076
40751
  declare const postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
40752
+ /**
40753
+ * List legal documents
40754
+ *
40755
+ * Lists resources with optional filtering, sorting, and pagination.
40756
+ *
40757
+ * **Authentication:** Required - Bearer token or API key
40758
+ * **Rate Limit:** 100 requests per minute
40759
+ *
40760
+ */
40761
+ declare const getLegalDocuments: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsData, ThrowOnError>) => RequestResult<GetLegalDocumentsResponses, GetLegalDocumentsErrors, ThrowOnError, "fields">;
40762
+ /**
40763
+ * Create legal documents
40764
+ *
40765
+ * Creates a new resource. Returns the created resource with generated ID.
40766
+ *
40767
+ * **Authentication:** Required - Bearer token or API key
40768
+ * **Rate Limit:** 100 requests per minute
40769
+ *
40770
+ */
40771
+ declare const postLegalDocuments: <ThrowOnError extends boolean = false>(options: Options<PostLegalDocumentsData, ThrowOnError>) => RequestResult<PostLegalDocumentsResponses, PostLegalDocumentsErrors, ThrowOnError, "fields">;
39077
40772
  /**
39078
40773
  * Delete conversations
39079
40774
  *
@@ -39124,6 +40819,12 @@ declare const getInvitationsMe: <ThrowOnError extends boolean = false>(options:
39124
40819
  *
39125
40820
  */
39126
40821
  declare const getAgentVersionsByIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionsByIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionsByIdRevisionsResponses, GetAgentVersionsByIdRevisionsErrors, ThrowOnError, "fields">;
40822
+ /**
40823
+ * List for application
40824
+ *
40825
+ * Returns active documents for a specific application (platform + app-scoped)
40826
+ */
40827
+ declare const getLegalDocumentsForApplication: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsForApplicationData, ThrowOnError>) => RequestResult<GetLegalDocumentsForApplicationResponses, GetLegalDocumentsForApplicationErrors, ThrowOnError, "fields">;
39127
40828
  /**
39128
40829
  * Create batch
39129
40830
  *
@@ -39937,6 +41638,7 @@ declare const gptCore: {
39937
41638
  postAgentsByIdPublishVersion: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdPublishVersionData, ThrowOnError>) => RequestResult<PostAgentsByIdPublishVersionResponses, PostAgentsByIdPublishVersionErrors, ThrowOnError, "fields">;
39938
41639
  deleteSearchSavedById: <ThrowOnError extends boolean = false>(options: Options<DeleteSearchSavedByIdData, ThrowOnError>) => RequestResult<DeleteSearchSavedByIdResponses, DeleteSearchSavedByIdErrors, ThrowOnError, "fields">;
39939
41640
  patchSearchSavedById: <ThrowOnError extends boolean = false>(options: Options<PatchSearchSavedByIdData, ThrowOnError>) => RequestResult<PatchSearchSavedByIdResponses, PatchSearchSavedByIdErrors, ThrowOnError, "fields">;
41641
+ patchLegalDocumentsByIdUnpublish: <ThrowOnError extends boolean = false>(options: Options<PatchLegalDocumentsByIdUnpublishData, ThrowOnError>) => RequestResult<PatchLegalDocumentsByIdUnpublishResponses, PatchLegalDocumentsByIdUnpublishErrors, ThrowOnError, "fields">;
39940
41642
  patchUsersByIdAdminEmail: <ThrowOnError extends boolean = false>(options: Options<PatchUsersByIdAdminEmailData, ThrowOnError>) => RequestResult<PatchUsersByIdAdminEmailResponses, PatchUsersByIdAdminEmailErrors, ThrowOnError, "fields">;
39941
41643
  postUsersAuthMagicLinkLogin: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthMagicLinkLoginData, ThrowOnError>) => RequestResult<PostUsersAuthMagicLinkLoginResponses, PostUsersAuthMagicLinkLoginErrors, ThrowOnError, "fields">;
39942
41644
  getExtractionDocumentsWorkspaceByWorkspaceIdTrained: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, ThrowOnError>) => RequestResult<GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, ThrowOnError, "fields">;
@@ -39971,6 +41673,7 @@ declare const gptCore: {
39971
41673
  getSearchSuggest: <ThrowOnError extends boolean = false>(options: Options<GetSearchSuggestData, ThrowOnError>) => RequestResult<GetSearchSuggestResponses, GetSearchSuggestErrors, ThrowOnError, "fields">;
39972
41674
  patchAgentsByIdSchemaVersionsByVersionId: <ThrowOnError extends boolean = false>(options: Options<PatchAgentsByIdSchemaVersionsByVersionIdData, ThrowOnError>) => RequestResult<PatchAgentsByIdSchemaVersionsByVersionIdResponses, PatchAgentsByIdSchemaVersionsByVersionIdErrors, ThrowOnError, "fields">;
39973
41675
  deleteAiMessagesById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiMessagesByIdData, ThrowOnError>) => RequestResult<DeleteAiMessagesByIdResponses, DeleteAiMessagesByIdErrors, ThrowOnError, "fields">;
41676
+ getLegalAcceptancesById: <ThrowOnError extends boolean = false>(options: Options<GetLegalAcceptancesByIdData, ThrowOnError>) => RequestResult<GetLegalAcceptancesByIdResponses, GetLegalAcceptancesByIdErrors, ThrowOnError, "fields">;
39974
41677
  getExtractionBatchesByIdUploadUrls: <ThrowOnError extends boolean = false>(options: Options<GetExtractionBatchesByIdUploadUrlsData, ThrowOnError>) => RequestResult<GetExtractionBatchesByIdUploadUrlsResponses, GetExtractionBatchesByIdUploadUrlsErrors, ThrowOnError, "fields">;
39975
41678
  postAiChunksSearch: <ThrowOnError extends boolean = false>(options: Options<PostAiChunksSearchData, ThrowOnError>) => RequestResult<PostAiChunksSearchResponses, PostAiChunksSearchErrors, ThrowOnError, "fields">;
39976
41679
  postAgentVersionsByIdAddSystemField: <ThrowOnError extends boolean = false>(options: Options<PostAgentVersionsByIdAddSystemFieldData, ThrowOnError>) => RequestResult<PostAgentVersionsByIdAddSystemFieldResponses, PostAgentVersionsByIdAddSystemFieldErrors, ThrowOnError, "fields">;
@@ -40004,7 +41707,9 @@ declare const gptCore: {
40004
41707
  getNotificationLogsById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsByIdData, ThrowOnError>) => RequestResult<GetNotificationLogsByIdResponses, GetNotificationLogsByIdErrors, ThrowOnError, "fields">;
40005
41708
  getUsersByEmail: <ThrowOnError extends boolean = false>(options: Options<GetUsersByEmailData, ThrowOnError>) => RequestResult<GetUsersByEmailResponses, GetUsersByEmailErrors, ThrowOnError, "fields">;
40006
41709
  patchExtractionDocumentsByIdFinishUpload: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdFinishUploadData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdFinishUploadResponses, PatchExtractionDocumentsByIdFinishUploadErrors, ThrowOnError, "fields">;
41710
+ getConsentRecordsById: <ThrowOnError extends boolean = false>(options: Options<GetConsentRecordsByIdData, ThrowOnError>) => RequestResult<GetConsentRecordsByIdResponses, GetConsentRecordsByIdErrors, ThrowOnError, "fields">;
40007
41711
  getTrainingSessionsAgentsByAgentIdSessions: <ThrowOnError extends boolean = false>(options: Options<GetTrainingSessionsAgentsByAgentIdSessionsData, ThrowOnError>) => RequestResult<GetTrainingSessionsAgentsByAgentIdSessionsResponses, GetTrainingSessionsAgentsByAgentIdSessionsErrors, ThrowOnError, "fields">;
41712
+ patchLegalDocumentsByIdPublish: <ThrowOnError extends boolean = false>(options: Options<PatchLegalDocumentsByIdPublishData, ThrowOnError>) => RequestResult<PatchLegalDocumentsByIdPublishResponses, PatchLegalDocumentsByIdPublishErrors, ThrowOnError, "fields">;
40008
41713
  getApiKeysStats: <ThrowOnError extends boolean = false>(options: Options<GetApiKeysStatsData, ThrowOnError>) => RequestResult<GetApiKeysStatsResponses, GetApiKeysStatsErrors, ThrowOnError, "fields">;
40009
41714
  getSearch: <ThrowOnError extends boolean = false>(options: Options<GetSearchData, ThrowOnError>) => RequestResult<GetSearchResponses, GetSearchErrors, ThrowOnError, "fields">;
40010
41715
  postAgentsDiscoverSchema: <ThrowOnError extends boolean = false>(options: Options<PostAgentsDiscoverSchemaData, ThrowOnError>) => RequestResult<PostAgentsDiscoverSchemaResponses, PostAgentsDiscoverSchemaErrors, ThrowOnError, "fields">;
@@ -40019,6 +41724,7 @@ declare const gptCore: {
40019
41724
  postApplications: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsData, ThrowOnError>) => RequestResult<PostApplicationsResponses, PostApplicationsErrors, ThrowOnError, "fields">;
40020
41725
  getNotificationPreferences: <ThrowOnError extends boolean = false>(options: Options<GetNotificationPreferencesData, ThrowOnError>) => RequestResult<GetNotificationPreferencesResponses, GetNotificationPreferencesErrors, ThrowOnError, "fields">;
40021
41726
  postNotificationPreferences: <ThrowOnError extends boolean = false>(options: Options<PostNotificationPreferencesData, ThrowOnError>) => RequestResult<PostNotificationPreferencesResponses, PostNotificationPreferencesErrors, ThrowOnError, "fields">;
41727
+ getLegalAcceptances: <ThrowOnError extends boolean = false>(options: Options<GetLegalAcceptancesData, ThrowOnError>) => RequestResult<GetLegalAcceptancesResponses, GetLegalAcceptancesErrors, ThrowOnError, "fields">;
40022
41728
  patchWatcherClaimsByIdRetry: <ThrowOnError extends boolean = false>(options: Options<PatchWatcherClaimsByIdRetryData, ThrowOnError>) => RequestResult<PatchWatcherClaimsByIdRetryResponses, PatchWatcherClaimsByIdRetryErrors, ThrowOnError, "fields">;
40023
41729
  postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
40024
41730
  patchExtractionDocumentsByIdReprocess: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdReprocessData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdReprocessResponses, PatchExtractionDocumentsByIdReprocessErrors, ThrowOnError, "fields">;
@@ -40048,7 +41754,6 @@ declare const gptCore: {
40048
41754
  postUsersRegisterIsv: <ThrowOnError extends boolean = false>(options: Options<PostUsersRegisterIsvData, ThrowOnError>) => RequestResult<PostUsersRegisterIsvResponses, PostUsersRegisterIsvErrors, ThrowOnError, "fields">;
40049
41755
  getExtractionResultsDocumentByDocumentId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsDocumentByDocumentIdData, ThrowOnError>) => RequestResult<GetExtractionResultsDocumentByDocumentIdResponses, GetExtractionResultsDocumentByDocumentIdErrors, ThrowOnError, "fields">;
40050
41756
  postAgentVersionsByIdRemoveSystemField: <ThrowOnError extends boolean = false>(options: Options<PostAgentVersionsByIdRemoveSystemFieldData, ThrowOnError>) => RequestResult<PostAgentVersionsByIdRemoveSystemFieldResponses, PostAgentVersionsByIdRemoveSystemFieldErrors, ThrowOnError, "fields">;
40051
- getWorkspaceMembershipsInherited: <ThrowOnError extends boolean = false>(options: Options<GetWorkspaceMembershipsInheritedData, ThrowOnError>) => RequestResult<GetWorkspaceMembershipsInheritedResponses, GetWorkspaceMembershipsInheritedErrors, ThrowOnError, "fields">;
40052
41757
  deleteWorkspacesById: <ThrowOnError extends boolean = false>(options: Options<DeleteWorkspacesByIdData, ThrowOnError>) => RequestResult<DeleteWorkspacesByIdResponses, DeleteWorkspacesByIdErrors, ThrowOnError, "fields">;
40053
41758
  getWorkspacesById: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByIdData, ThrowOnError>) => RequestResult<GetWorkspacesByIdResponses, GetWorkspacesByIdErrors, ThrowOnError, "fields">;
40054
41759
  patchWorkspacesById: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdResponses, PatchWorkspacesByIdErrors, ThrowOnError, "fields">;
@@ -40107,6 +41812,7 @@ declare const gptCore: {
40107
41812
  postAiConversations: <ThrowOnError extends boolean = false>(options: Options<PostAiConversationsData, ThrowOnError>) => RequestResult<PostAiConversationsResponses, PostAiConversationsErrors, ThrowOnError, "fields">;
40108
41813
  postAiSearch: <ThrowOnError extends boolean = false>(options: Options<PostAiSearchData, ThrowOnError>) => RequestResult<PostAiSearchResponses, PostAiSearchErrors, ThrowOnError, "fields">;
40109
41814
  deleteAiGraphNodesById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiGraphNodesByIdData, ThrowOnError>) => RequestResult<DeleteAiGraphNodesByIdResponses, DeleteAiGraphNodesByIdErrors, ThrowOnError, "fields">;
41815
+ getLegalAcceptancesLatest: <ThrowOnError extends boolean = false>(options: Options<GetLegalAcceptancesLatestData, ThrowOnError>) => RequestResult<GetLegalAcceptancesLatestResponses, GetLegalAcceptancesLatestErrors, ThrowOnError, "fields">;
40110
41816
  getWorkspacesShared: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesSharedData, ThrowOnError>) => RequestResult<GetWorkspacesSharedResponses, GetWorkspacesSharedErrors, ThrowOnError, "fields">;
40111
41817
  patchUserProfilesByIdDismissWelcome: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdDismissWelcomeData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdDismissWelcomeResponses, PatchUserProfilesByIdDismissWelcomeErrors, ThrowOnError, "fields">;
40112
41818
  patchWalletAddonsByAddonSlugCancel: <ThrowOnError extends boolean = false>(options: Options<PatchWalletAddonsByAddonSlugCancelData, ThrowOnError>) => RequestResult<PatchWalletAddonsByAddonSlugCancelResponses, PatchWalletAddonsByAddonSlugCancelErrors, ThrowOnError, "fields">;
@@ -40119,6 +41825,7 @@ declare const gptCore: {
40119
41825
  getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => RequestResult<GetTransactionsResponses, GetTransactionsErrors, ThrowOnError, "fields">;
40120
41826
  patchUsersByIdConfirmEmail: <ThrowOnError extends boolean = false>(options: Options<PatchUsersByIdConfirmEmailData, ThrowOnError>) => RequestResult<PatchUsersByIdConfirmEmailResponses, PatchUsersByIdConfirmEmailErrors, ThrowOnError, "fields">;
40121
41827
  getThreadsSearch: <ThrowOnError extends boolean = false>(options: Options<GetThreadsSearchData, ThrowOnError>) => RequestResult<GetThreadsSearchResponses, GetThreadsSearchErrors, ThrowOnError, "fields">;
41828
+ getConsentRecordsActive: <ThrowOnError extends boolean = false>(options: Options<GetConsentRecordsActiveData, ThrowOnError>) => RequestResult<GetConsentRecordsActiveResponses, GetConsentRecordsActiveErrors, ThrowOnError, "fields">;
40122
41829
  postSearchSavedByIdRun: <ThrowOnError extends boolean = false>(options: Options<PostSearchSavedByIdRunData, ThrowOnError>) => RequestResult<PostSearchSavedByIdRunResponses, PostSearchSavedByIdRunErrors, ThrowOnError, "fields">;
40123
41830
  patchWalletPlan: <ThrowOnError extends boolean = false>(options: Options<PatchWalletPlanData, ThrowOnError>) => RequestResult<PatchWalletPlanResponses, PatchWalletPlanErrors, ThrowOnError, "fields">;
40124
41831
  postWebhookConfigsBulkEnable: <ThrowOnError extends boolean = false>(options: Options<PostWebhookConfigsBulkEnableData, ThrowOnError>) => RequestResult<PostWebhookConfigsBulkEnableResponses, PostWebhookConfigsBulkEnableErrors, ThrowOnError, "fields">;
@@ -40129,6 +41836,7 @@ declare const gptCore: {
40129
41836
  getPermissions: <ThrowOnError extends boolean = false>(options: Options<GetPermissionsData, ThrowOnError>) => RequestResult<GetPermissionsResponses, GetPermissionsErrors, ThrowOnError, "fields">;
40130
41837
  postWebhookDeliveriesBulkRetry: <ThrowOnError extends boolean = false>(options: Options<PostWebhookDeliveriesBulkRetryData, ThrowOnError>) => RequestResult<PostWebhookDeliveriesBulkRetryResponses, PostWebhookDeliveriesBulkRetryErrors, ThrowOnError, "fields">;
40131
41838
  patchNotificationMethodsByIdSendVerification: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdSendVerificationData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdSendVerificationResponses, PatchNotificationMethodsByIdSendVerificationErrors, ThrowOnError, "fields">;
41839
+ getLegalDocumentsByLocale: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsByLocaleData, ThrowOnError>) => RequestResult<GetLegalDocumentsByLocaleResponses, GetLegalDocumentsByLocaleErrors, ThrowOnError, "fields">;
40132
41840
  patchApplicationsByIdGrantCredits: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByIdGrantCreditsData, ThrowOnError>) => RequestResult<PatchApplicationsByIdGrantCreditsResponses, PatchApplicationsByIdGrantCreditsErrors, ThrowOnError, "fields">;
40133
41841
  getSearchStatus: <ThrowOnError extends boolean = false>(options: Options<GetSearchStatusData, ThrowOnError>) => RequestResult<GetSearchStatusResponses, GetSearchStatusErrors, ThrowOnError, "fields">;
40134
41842
  patchUserProfilesByIdDismissAnnouncement: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdDismissAnnouncementData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdDismissAnnouncementResponses, PatchUserProfilesByIdDismissAnnouncementErrors, ThrowOnError, "fields">;
@@ -40138,6 +41846,7 @@ declare const gptCore: {
40138
41846
  patchWatcherClaimsById: <ThrowOnError extends boolean = false>(options: Options<PatchWatcherClaimsByIdData, ThrowOnError>) => RequestResult<PatchWatcherClaimsByIdResponses, PatchWatcherClaimsByIdErrors, ThrowOnError, "fields">;
40139
41847
  postUsersAuthLogin: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthLoginData, ThrowOnError>) => RequestResult<PostUsersAuthLoginResponses, PostUsersAuthLoginErrors, ThrowOnError, "fields">;
40140
41848
  postAiEmbed: <ThrowOnError extends boolean = false>(options: Options<PostAiEmbedData, ThrowOnError>) => RequestResult<PostAiEmbedResponses, PostAiEmbedErrors, ThrowOnError, "fields">;
41849
+ patchConsentRecordsByIdWithdraw: <ThrowOnError extends boolean = false>(options: Options<PatchConsentRecordsByIdWithdrawData, ThrowOnError>) => RequestResult<PatchConsentRecordsByIdWithdrawResponses, PatchConsentRecordsByIdWithdrawErrors, ThrowOnError, "fields">;
40141
41850
  postAgentVersionComparisons: <ThrowOnError extends boolean = false>(options: Options<PostAgentVersionComparisonsData, ThrowOnError>) => RequestResult<PostAgentVersionComparisonsResponses, PostAgentVersionComparisonsErrors, ThrowOnError, "fields">;
40142
41851
  getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, ThrowOnError>) => RequestResult<GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, ThrowOnError, "fields">;
40143
41852
  getWorkspacesMine: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesMineData, ThrowOnError>) => RequestResult<GetWorkspacesMineResponses, GetWorkspacesMineErrors, ThrowOnError, "fields">;
@@ -40186,6 +41895,8 @@ declare const gptCore: {
40186
41895
  patchTenantMembershipsByTenantIdByUserId: <ThrowOnError extends boolean = false>(options: Options<PatchTenantMembershipsByTenantIdByUserIdData, ThrowOnError>) => RequestResult<PatchTenantMembershipsByTenantIdByUserIdResponses, PatchTenantMembershipsByTenantIdByUserIdErrors, ThrowOnError, "fields">;
40187
41896
  getApiKeysActive: <ThrowOnError extends boolean = false>(options: Options<GetApiKeysActiveData, ThrowOnError>) => RequestResult<GetApiKeysActiveResponses, GetApiKeysActiveErrors, ThrowOnError, "fields">;
40188
41897
  patchExtractionResultsByIdSaveCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdSaveCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdSaveCorrectionsResponses, PatchExtractionResultsByIdSaveCorrectionsErrors, ThrowOnError, "fields">;
41898
+ getConsentRecords: <ThrowOnError extends boolean = false>(options: Options<GetConsentRecordsData, ThrowOnError>) => RequestResult<GetConsentRecordsResponses, GetConsentRecordsErrors, ThrowOnError, "fields">;
41899
+ postConsentRecords: <ThrowOnError extends boolean = false>(options: Options<PostConsentRecordsData, ThrowOnError>) => RequestResult<PostConsentRecordsResponses, PostConsentRecordsErrors, ThrowOnError, "fields">;
40189
41900
  getAuditLogsActivity: <ThrowOnError extends boolean = false>(options: Options<GetAuditLogsActivityData, ThrowOnError>) => RequestResult<GetAuditLogsActivityResponses, GetAuditLogsActivityErrors, ThrowOnError, "fields">;
40190
41901
  postUsersAuthResendConfirmation: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthResendConfirmationData, ThrowOnError>) => RequestResult<PostUsersAuthResendConfirmationResponses, PostUsersAuthResendConfirmationErrors, ThrowOnError, "fields">;
40191
41902
  getWorkspacesAnalyticsBatch: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesAnalyticsBatchData, ThrowOnError>) => RequestResult<GetWorkspacesAnalyticsBatchResponses, GetWorkspacesAnalyticsBatchErrors, ThrowOnError, "fields">;
@@ -40198,13 +41909,19 @@ declare const gptCore: {
40198
41909
  postAgentVersionsByIdSetSystemFields: <ThrowOnError extends boolean = false>(options: Options<PostAgentVersionsByIdSetSystemFieldsData, ThrowOnError>) => RequestResult<PostAgentVersionsByIdSetSystemFieldsResponses, PostAgentVersionsByIdSetSystemFieldsErrors, ThrowOnError, "fields">;
40199
41910
  postThreadsByIdSummarize: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdSummarizeData, ThrowOnError>) => RequestResult<PostThreadsByIdSummarizeResponses, PostThreadsByIdSummarizeErrors, ThrowOnError, "fields">;
40200
41911
  patchConfigsByKey: <ThrowOnError extends boolean = false>(options: Options<PatchConfigsByKeyData, ThrowOnError>) => RequestResult<PatchConfigsByKeyResponses, PatchConfigsByKeyErrors, ThrowOnError, "fields">;
41912
+ deleteLegalDocumentsById: <ThrowOnError extends boolean = false>(options: Options<DeleteLegalDocumentsByIdData, ThrowOnError>) => RequestResult<DeleteLegalDocumentsByIdResponses, DeleteLegalDocumentsByIdErrors, ThrowOnError, "fields">;
41913
+ getLegalDocumentsById: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsByIdData, ThrowOnError>) => RequestResult<GetLegalDocumentsByIdResponses, GetLegalDocumentsByIdErrors, ThrowOnError, "fields">;
41914
+ patchLegalDocumentsById: <ThrowOnError extends boolean = false>(options: Options<PatchLegalDocumentsByIdData, ThrowOnError>) => RequestResult<PatchLegalDocumentsByIdResponses, PatchLegalDocumentsByIdErrors, ThrowOnError, "fields">;
40201
41915
  getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
40202
41916
  postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
41917
+ getLegalDocuments: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsData, ThrowOnError>) => RequestResult<GetLegalDocumentsResponses, GetLegalDocumentsErrors, ThrowOnError, "fields">;
41918
+ postLegalDocuments: <ThrowOnError extends boolean = false>(options: Options<PostLegalDocumentsData, ThrowOnError>) => RequestResult<PostLegalDocumentsResponses, PostLegalDocumentsErrors, ThrowOnError, "fields">;
40203
41919
  deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
40204
41920
  getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
40205
41921
  patchAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<PatchAiConversationsByIdData, ThrowOnError>) => RequestResult<PatchAiConversationsByIdResponses, PatchAiConversationsByIdErrors, ThrowOnError, "fields">;
40206
41922
  getInvitationsMe: <ThrowOnError extends boolean = false>(options: Options<GetInvitationsMeData, ThrowOnError>) => RequestResult<GetInvitationsMeResponses, GetInvitationsMeErrors, ThrowOnError, "fields">;
40207
41923
  getAgentVersionsByIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionsByIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionsByIdRevisionsResponses, GetAgentVersionsByIdRevisionsErrors, ThrowOnError, "fields">;
41924
+ getLegalDocumentsForApplication: <ThrowOnError extends boolean = false>(options: Options<GetLegalDocumentsForApplicationData, ThrowOnError>) => RequestResult<GetLegalDocumentsForApplicationResponses, GetLegalDocumentsForApplicationErrors, ThrowOnError, "fields">;
40208
41925
  postSearchBatch: <ThrowOnError extends boolean = false>(options: Options<PostSearchBatchData, ThrowOnError>) => RequestResult<PostSearchBatchResponses, PostSearchBatchErrors, ThrowOnError, "fields">;
40209
41926
  getThreadsWorkspaceStats: <ThrowOnError extends boolean = false>(options: Options<GetThreadsWorkspaceStatsData, ThrowOnError>) => RequestResult<GetThreadsWorkspaceStatsResponses, GetThreadsWorkspaceStatsErrors, ThrowOnError, "fields">;
40210
41927
  getApiKeys: <ThrowOnError extends boolean = false>(options: Options<GetApiKeysData, ThrowOnError>) => RequestResult<GetApiKeysResponses, GetApiKeysErrors, ThrowOnError, "fields">;
@@ -40250,4 +41967,4 @@ declare const gptCore: {
40250
41967
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
40251
41968
  };
40252
41969
 
40253
- export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentStats, type AgentTestResult, type AgentTrainingStats, type AgentUsage, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AgentVersionRevision, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationOauthInputCreateType, type ApplicationOauthInputUpdateType, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigEnum, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAgentsByIdTrainingExamplesByExampleIdData, type DeleteAgentsByIdTrainingExamplesByExampleIdError, type DeleteAgentsByIdTrainingExamplesByExampleIdErrors, type DeleteAgentsByIdTrainingExamplesByExampleIdResponse, type DeleteAgentsByIdTrainingExamplesByExampleIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionResultsByIdData, type DeleteExtractionResultsByIdError, type DeleteExtractionResultsByIdErrors, type DeleteExtractionResultsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeletePaymentMethodsByIdData, type DeletePaymentMethodsByIdError, type DeletePaymentMethodsByIdErrors, type DeletePaymentMethodsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionRevisionsByIdData, type GetAgentVersionRevisionsByIdError, type GetAgentVersionRevisionsByIdErrors, type GetAgentVersionRevisionsByIdResponse, type GetAgentVersionRevisionsByIdResponses, type GetAgentVersionRevisionsData, type GetAgentVersionRevisionsError, type GetAgentVersionRevisionsErrors, type GetAgentVersionRevisionsResponse, type GetAgentVersionRevisionsResponses, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsByIdRevisionsData, type GetAgentVersionsByIdRevisionsError, type GetAgentVersionsByIdRevisionsErrors, type GetAgentVersionsByIdRevisionsResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingExamplesData, type GetAgentsByIdTrainingExamplesError, type GetAgentsByIdTrainingExamplesErrors, type GetAgentsByIdTrainingExamplesResponse, type GetAgentsByIdTrainingExamplesResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionConfigEnumsByIdData, type GetExtractionConfigEnumsByIdError, type GetExtractionConfigEnumsByIdErrors, type GetExtractionConfigEnumsByIdResponse, type GetExtractionConfigEnumsByIdResponses, type GetExtractionConfigEnumsData, type GetExtractionConfigEnumsError, type GetExtractionConfigEnumsErrors, type GetExtractionConfigEnumsResponse, type GetExtractionConfigEnumsResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsData, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsError, type GetExtractionResultsErrors, type GetExtractionResultsResponse, type GetExtractionResultsResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPaymentMethodsByIdData, type GetPaymentMethodsByIdError, type GetPaymentMethodsByIdErrors, type GetPaymentMethodsByIdResponse, type GetPaymentMethodsByIdResponses, type GetPaymentMethodsData, type GetPaymentMethodsError, type GetPaymentMethodsErrors, type GetPaymentMethodsResponse, type GetPaymentMethodsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletPlanPreviewData, type GetWalletPlanPreviewError, type GetWalletPlanPreviewErrors, type GetWalletPlanPreviewResponse, type GetWalletPlanPreviewResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsHistoryData, type GetWatcherClaimsHistoryError, type GetWatcherClaimsHistoryErrors, type GetWatcherClaimsHistoryResponse, type GetWatcherClaimsHistoryResponses, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsInheritedData, type GetWorkspaceMembershipsInheritedError, type GetWorkspaceMembershipsInheritedErrors, type GetWorkspaceMembershipsInheritedResponse, type GetWorkspaceMembershipsInheritedResponses, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type Invoice, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionConfigEnumsByIdData, type PatchExtractionConfigEnumsByIdError, type PatchExtractionConfigEnumsByIdErrors, type PatchExtractionConfigEnumsByIdResponse, type PatchExtractionConfigEnumsByIdResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdData, type PatchExtractionResultsByIdError, type PatchExtractionResultsByIdErrors, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionResultsByIdResponse, type PatchExtractionResultsByIdResponses, type PatchExtractionResultsByIdSaveCorrectionsData, type PatchExtractionResultsByIdSaveCorrectionsError, type PatchExtractionResultsByIdSaveCorrectionsErrors, type PatchExtractionResultsByIdSaveCorrectionsResponse, type PatchExtractionResultsByIdSaveCorrectionsResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchPaymentMethodsByIdData, type PatchPaymentMethodsByIdDefaultData, type PatchPaymentMethodsByIdDefaultError, type PatchPaymentMethodsByIdDefaultErrors, type PatchPaymentMethodsByIdDefaultResponse, type PatchPaymentMethodsByIdDefaultResponses, type PatchPaymentMethodsByIdError, type PatchPaymentMethodsByIdErrors, type PatchPaymentMethodsByIdResponse, type PatchPaymentMethodsByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdPopulateHashesData, type PatchWorkspacesByIdPopulateHashesError, type PatchWorkspacesByIdPopulateHashesErrors, type PatchWorkspacesByIdPopulateHashesResponse, type PatchWorkspacesByIdPopulateHashesResponses, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PlatformPricingConfig, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdAnalyzeTrainingData, type PostAgentsByIdAnalyzeTrainingError, type PostAgentsByIdAnalyzeTrainingErrors, type PostAgentsByIdAnalyzeTrainingResponse, type PostAgentsByIdAnalyzeTrainingResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdRestoreVersionData, type PostAgentsByIdRestoreVersionError, type PostAgentsByIdRestoreVersionErrors, type PostAgentsByIdRestoreVersionResponse, type PostAgentsByIdRestoreVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsDiscoverSchemaData, type PostAgentsDiscoverSchemaError, type PostAgentsDiscoverSchemaErrors, type PostAgentsDiscoverSchemaResponse, type PostAgentsDiscoverSchemaResponses, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionConfigEnumsData, type PostExtractionConfigEnumsError, type PostExtractionConfigEnumsErrors, type PostExtractionConfigEnumsResponse, type PostExtractionConfigEnumsResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsFindOrBeginUploadData, type PostExtractionDocumentsFindOrBeginUploadError, type PostExtractionDocumentsFindOrBeginUploadErrors, type PostExtractionDocumentsFindOrBeginUploadResponse, type PostExtractionDocumentsFindOrBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentMethodsData, type PostPaymentMethodsError, type PostPaymentMethodsErrors, type PostPaymentMethodsResponse, type PostPaymentMethodsResponses, type PostPaymentMethodsTokenizeData, type PostPaymentMethodsTokenizeError, type PostPaymentMethodsTokenizeErrors, type PostPaymentMethodsTokenizeResponse, type PostPaymentMethodsTokenizeResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type Settlement, type ShadowComparison, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadStats, type ThreadWorkspaceStats, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type WholesaleAgreement, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAgentsByIdTrainingExamplesByExampleId, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteExtractionResultsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deletePaymentMethodsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersionRevisions, getAgentVersionRevisionsById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgentVersionsByIdRevisions, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingExamples, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionConfigEnums, getExtractionConfigEnumsById, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResults, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPaymentMethods, getPaymentMethodsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWalletPlanPreview, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsHistory, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaceMembershipsInherited, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionConfigEnumsById, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsById, patchExtractionResultsByIdRegenerate, patchExtractionResultsByIdSaveCorrections, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchPaymentMethodsById, patchPaymentMethodsByIdDefault, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdPopulateHashes, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdAnalyzeTraining, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdRestoreVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsDiscoverSchema, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionConfigEnums, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsFindOrBeginUpload, postExtractionDocumentsUpload, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPaymentMethods, postPaymentMethodsTokenize, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };
41970
+ export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentStats, type AgentTestResult, type AgentTrainingStats, type AgentUsage, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AgentVersionRevision, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationOauthInputCreateType, type ApplicationOauthInputUpdateType, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigEnum, type ConsentRecord, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAgentsByIdTrainingExamplesByExampleIdData, type DeleteAgentsByIdTrainingExamplesByExampleIdError, type DeleteAgentsByIdTrainingExamplesByExampleIdErrors, type DeleteAgentsByIdTrainingExamplesByExampleIdResponse, type DeleteAgentsByIdTrainingExamplesByExampleIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionResultsByIdData, type DeleteExtractionResultsByIdError, type DeleteExtractionResultsByIdErrors, type DeleteExtractionResultsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteLegalDocumentsByIdData, type DeleteLegalDocumentsByIdError, type DeleteLegalDocumentsByIdErrors, type DeleteLegalDocumentsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeletePaymentMethodsByIdData, type DeletePaymentMethodsByIdError, type DeletePaymentMethodsByIdErrors, type DeletePaymentMethodsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionRevisionsByIdData, type GetAgentVersionRevisionsByIdError, type GetAgentVersionRevisionsByIdErrors, type GetAgentVersionRevisionsByIdResponse, type GetAgentVersionRevisionsByIdResponses, type GetAgentVersionRevisionsData, type GetAgentVersionRevisionsError, type GetAgentVersionRevisionsErrors, type GetAgentVersionRevisionsResponse, type GetAgentVersionRevisionsResponses, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsByIdRevisionsData, type GetAgentVersionsByIdRevisionsError, type GetAgentVersionsByIdRevisionsErrors, type GetAgentVersionsByIdRevisionsResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingExamplesData, type GetAgentsByIdTrainingExamplesError, type GetAgentsByIdTrainingExamplesErrors, type GetAgentsByIdTrainingExamplesResponse, type GetAgentsByIdTrainingExamplesResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetConsentRecordsActiveData, type GetConsentRecordsActiveError, type GetConsentRecordsActiveErrors, type GetConsentRecordsActiveResponse, type GetConsentRecordsActiveResponses, type GetConsentRecordsByIdData, type GetConsentRecordsByIdError, type GetConsentRecordsByIdErrors, type GetConsentRecordsByIdResponse, type GetConsentRecordsByIdResponses, type GetConsentRecordsData, type GetConsentRecordsError, type GetConsentRecordsErrors, type GetConsentRecordsResponse, type GetConsentRecordsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionConfigEnumsByIdData, type GetExtractionConfigEnumsByIdError, type GetExtractionConfigEnumsByIdErrors, type GetExtractionConfigEnumsByIdResponse, type GetExtractionConfigEnumsByIdResponses, type GetExtractionConfigEnumsData, type GetExtractionConfigEnumsError, type GetExtractionConfigEnumsErrors, type GetExtractionConfigEnumsResponse, type GetExtractionConfigEnumsResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsData, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsError, type GetExtractionResultsErrors, type GetExtractionResultsResponse, type GetExtractionResultsResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLegalAcceptancesByIdData, type GetLegalAcceptancesByIdError, type GetLegalAcceptancesByIdErrors, type GetLegalAcceptancesByIdResponse, type GetLegalAcceptancesByIdResponses, type GetLegalAcceptancesData, type GetLegalAcceptancesError, type GetLegalAcceptancesErrors, type GetLegalAcceptancesLatestData, type GetLegalAcceptancesLatestError, type GetLegalAcceptancesLatestErrors, type GetLegalAcceptancesLatestResponse, type GetLegalAcceptancesLatestResponses, type GetLegalAcceptancesResponse, type GetLegalAcceptancesResponses, type GetLegalDocumentsByIdData, type GetLegalDocumentsByIdError, type GetLegalDocumentsByIdErrors, type GetLegalDocumentsByIdResponse, type GetLegalDocumentsByIdResponses, type GetLegalDocumentsByLocaleData, type GetLegalDocumentsByLocaleError, type GetLegalDocumentsByLocaleErrors, type GetLegalDocumentsByLocaleResponse, type GetLegalDocumentsByLocaleResponses, type GetLegalDocumentsData, type GetLegalDocumentsError, type GetLegalDocumentsErrors, type GetLegalDocumentsForApplicationData, type GetLegalDocumentsForApplicationError, type GetLegalDocumentsForApplicationErrors, type GetLegalDocumentsForApplicationResponse, type GetLegalDocumentsForApplicationResponses, type GetLegalDocumentsResponse, type GetLegalDocumentsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPaymentMethodsByIdData, type GetPaymentMethodsByIdError, type GetPaymentMethodsByIdErrors, type GetPaymentMethodsByIdResponse, type GetPaymentMethodsByIdResponses, type GetPaymentMethodsData, type GetPaymentMethodsError, type GetPaymentMethodsErrors, type GetPaymentMethodsResponse, type GetPaymentMethodsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletPlanPreviewData, type GetWalletPlanPreviewError, type GetWalletPlanPreviewErrors, type GetWalletPlanPreviewResponse, type GetWalletPlanPreviewResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsHistoryData, type GetWatcherClaimsHistoryError, type GetWatcherClaimsHistoryErrors, type GetWatcherClaimsHistoryResponse, type GetWatcherClaimsHistoryResponses, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type Invoice, type IsvRevenue, type IsvSettlement, type Ledger, type LegalAcceptance, type LegalDocument, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchConsentRecordsByIdWithdrawData, type PatchConsentRecordsByIdWithdrawError, type PatchConsentRecordsByIdWithdrawErrors, type PatchConsentRecordsByIdWithdrawResponse, type PatchConsentRecordsByIdWithdrawResponses, type PatchExtractionConfigEnumsByIdData, type PatchExtractionConfigEnumsByIdError, type PatchExtractionConfigEnumsByIdErrors, type PatchExtractionConfigEnumsByIdResponse, type PatchExtractionConfigEnumsByIdResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdData, type PatchExtractionResultsByIdError, type PatchExtractionResultsByIdErrors, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionResultsByIdResponse, type PatchExtractionResultsByIdResponses, type PatchExtractionResultsByIdSaveCorrectionsData, type PatchExtractionResultsByIdSaveCorrectionsError, type PatchExtractionResultsByIdSaveCorrectionsErrors, type PatchExtractionResultsByIdSaveCorrectionsResponse, type PatchExtractionResultsByIdSaveCorrectionsResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchLegalDocumentsByIdData, type PatchLegalDocumentsByIdError, type PatchLegalDocumentsByIdErrors, type PatchLegalDocumentsByIdPublishData, type PatchLegalDocumentsByIdPublishError, type PatchLegalDocumentsByIdPublishErrors, type PatchLegalDocumentsByIdPublishResponse, type PatchLegalDocumentsByIdPublishResponses, type PatchLegalDocumentsByIdResponse, type PatchLegalDocumentsByIdResponses, type PatchLegalDocumentsByIdUnpublishData, type PatchLegalDocumentsByIdUnpublishError, type PatchLegalDocumentsByIdUnpublishErrors, type PatchLegalDocumentsByIdUnpublishResponse, type PatchLegalDocumentsByIdUnpublishResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchPaymentMethodsByIdData, type PatchPaymentMethodsByIdDefaultData, type PatchPaymentMethodsByIdDefaultError, type PatchPaymentMethodsByIdDefaultErrors, type PatchPaymentMethodsByIdDefaultResponse, type PatchPaymentMethodsByIdDefaultResponses, type PatchPaymentMethodsByIdError, type PatchPaymentMethodsByIdErrors, type PatchPaymentMethodsByIdResponse, type PatchPaymentMethodsByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdPopulateHashesData, type PatchWorkspacesByIdPopulateHashesError, type PatchWorkspacesByIdPopulateHashesErrors, type PatchWorkspacesByIdPopulateHashesResponse, type PatchWorkspacesByIdPopulateHashesResponses, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PlatformPricingConfig, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdAnalyzeTrainingData, type PostAgentsByIdAnalyzeTrainingError, type PostAgentsByIdAnalyzeTrainingErrors, type PostAgentsByIdAnalyzeTrainingResponse, type PostAgentsByIdAnalyzeTrainingResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdRestoreVersionData, type PostAgentsByIdRestoreVersionError, type PostAgentsByIdRestoreVersionErrors, type PostAgentsByIdRestoreVersionResponse, type PostAgentsByIdRestoreVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsDiscoverSchemaData, type PostAgentsDiscoverSchemaError, type PostAgentsDiscoverSchemaErrors, type PostAgentsDiscoverSchemaResponse, type PostAgentsDiscoverSchemaResponses, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostConsentRecordsData, type PostConsentRecordsError, type PostConsentRecordsErrors, type PostConsentRecordsResponse, type PostConsentRecordsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionConfigEnumsData, type PostExtractionConfigEnumsError, type PostExtractionConfigEnumsErrors, type PostExtractionConfigEnumsResponse, type PostExtractionConfigEnumsResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsFindOrBeginUploadData, type PostExtractionDocumentsFindOrBeginUploadError, type PostExtractionDocumentsFindOrBeginUploadErrors, type PostExtractionDocumentsFindOrBeginUploadResponse, type PostExtractionDocumentsFindOrBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLegalDocumentsData, type PostLegalDocumentsError, type PostLegalDocumentsErrors, type PostLegalDocumentsResponse, type PostLegalDocumentsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentMethodsData, type PostPaymentMethodsError, type PostPaymentMethodsErrors, type PostPaymentMethodsResponse, type PostPaymentMethodsResponses, type PostPaymentMethodsTokenizeData, type PostPaymentMethodsTokenizeError, type PostPaymentMethodsTokenizeErrors, type PostPaymentMethodsTokenizeResponse, type PostPaymentMethodsTokenizeResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type Settlement, type ShadowComparison, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadStats, type ThreadWorkspaceStats, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type WholesaleAgreement, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAgentsByIdTrainingExamplesByExampleId, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteExtractionResultsById, deleteFieldTemplatesById, deleteLegalDocumentsById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deletePaymentMethodsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersionRevisions, getAgentVersionRevisionsById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgentVersionsByIdRevisions, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingExamples, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getConsentRecords, getConsentRecordsActive, getConsentRecordsById, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionConfigEnums, getExtractionConfigEnumsById, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResults, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLegalAcceptances, getLegalAcceptancesById, getLegalAcceptancesLatest, getLegalDocuments, getLegalDocumentsById, getLegalDocumentsByLocale, getLegalDocumentsForApplication, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPaymentMethods, getPaymentMethodsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWalletPlanPreview, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsHistory, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchConsentRecordsByIdWithdraw, patchExtractionConfigEnumsById, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsById, patchExtractionResultsByIdRegenerate, patchExtractionResultsByIdSaveCorrections, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchLegalDocumentsById, patchLegalDocumentsByIdPublish, patchLegalDocumentsByIdUnpublish, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchPaymentMethodsById, patchPaymentMethodsByIdDefault, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdPopulateHashes, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdAnalyzeTraining, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdRestoreVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsDiscoverSchema, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postConsentRecords, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionConfigEnums, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsFindOrBeginUpload, postExtractionDocumentsUpload, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLegalDocuments, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPaymentMethods, postPaymentMethodsTokenize, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };