@gpt-core/client 0.9.36 → 0.9.37

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.js CHANGED
@@ -68,6 +68,7 @@ __export(index_exports, {
68
68
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
69
69
  deleteExtractionResultsById: () => deleteExtractionResultsById,
70
70
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
71
+ deleteLegalDocumentsById: () => deleteLegalDocumentsById,
71
72
  deleteMessagesById: () => deleteMessagesById,
72
73
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
73
74
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
@@ -124,6 +125,9 @@ __export(index_exports, {
124
125
  getBucketsByIdObjects: () => getBucketsByIdObjects,
125
126
  getBucketsByIdStats: () => getBucketsByIdStats,
126
127
  getConfigs: () => getConfigs,
128
+ getConsentRecords: () => getConsentRecords,
129
+ getConsentRecordsActive: () => getConsentRecordsActive,
130
+ getConsentRecordsById: () => getConsentRecordsById,
127
131
  getCreditPackages: () => getCreditPackages,
128
132
  getCreditPackagesById: () => getCreditPackagesById,
129
133
  getCreditPackagesSlugBySlug: () => getCreditPackagesSlugBySlug,
@@ -153,6 +157,13 @@ __export(index_exports, {
153
157
  getInvitations: () => getInvitations,
154
158
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
155
159
  getInvitationsMe: () => getInvitationsMe,
160
+ getLegalAcceptances: () => getLegalAcceptances,
161
+ getLegalAcceptancesById: () => getLegalAcceptancesById,
162
+ getLegalAcceptancesLatest: () => getLegalAcceptancesLatest,
163
+ getLegalDocuments: () => getLegalDocuments,
164
+ getLegalDocumentsById: () => getLegalDocumentsById,
165
+ getLegalDocumentsByLocale: () => getLegalDocumentsByLocale,
166
+ getLegalDocumentsForApplication: () => getLegalDocumentsForApplication,
156
167
  getLlmAnalytics: () => getLlmAnalytics,
157
168
  getLlmAnalyticsById: () => getLlmAnalyticsById,
158
169
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -241,7 +252,6 @@ __export(index_exports, {
241
252
  getWebhookDeliveriesById: () => getWebhookDeliveriesById,
242
253
  getWebhookDeliveriesStats: () => getWebhookDeliveriesStats,
243
254
  getWorkspaceMemberships: () => getWorkspaceMemberships,
244
- getWorkspaceMembershipsInherited: () => getWorkspaceMembershipsInherited,
245
255
  getWorkspaces: () => getWorkspaces,
246
256
  getWorkspacesAnalyticsBatch: () => getWorkspacesAnalyticsBatch,
247
257
  getWorkspacesById: () => getWorkspacesById,
@@ -271,6 +281,7 @@ __export(index_exports, {
271
281
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
272
282
  patchBucketsById: () => patchBucketsById,
273
283
  patchConfigsByKey: () => patchConfigsByKey,
284
+ patchConsentRecordsByIdWithdraw: () => patchConsentRecordsByIdWithdraw,
274
285
  patchExtractionConfigEnumsById: () => patchExtractionConfigEnumsById,
275
286
  patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
276
287
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
@@ -291,6 +302,9 @@ __export(index_exports, {
291
302
  patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
292
303
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
293
304
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
305
+ patchLegalDocumentsById: () => patchLegalDocumentsById,
306
+ patchLegalDocumentsByIdPublish: () => patchLegalDocumentsByIdPublish,
307
+ patchLegalDocumentsByIdUnpublish: () => patchLegalDocumentsByIdUnpublish,
294
308
  patchMessagesById: () => patchMessagesById,
295
309
  patchNotificationMethodsById: () => patchNotificationMethodsById,
296
310
  patchNotificationMethodsByIdSendVerification: () => patchNotificationMethodsByIdSendVerification,
@@ -307,6 +321,7 @@ __export(index_exports, {
307
321
  patchThreadsByIdUnarchive: () => patchThreadsByIdUnarchive,
308
322
  patchTrainingExamplesById: () => patchTrainingExamplesById,
309
323
  patchUserProfilesById: () => patchUserProfilesById,
324
+ patchUserProfilesByIdAcceptPrivacyPolicy: () => patchUserProfilesByIdAcceptPrivacyPolicy,
310
325
  patchUserProfilesByIdAcceptTos: () => patchUserProfilesByIdAcceptTos,
311
326
  patchUserProfilesByIdDismissAnnouncement: () => patchUserProfilesByIdDismissAnnouncement,
312
327
  patchUserProfilesByIdDismissWelcome: () => patchUserProfilesByIdDismissWelcome,
@@ -368,6 +383,7 @@ __export(index_exports, {
368
383
  postApplicationsByApplicationIdEmailTemplatesBySlugTest: () => postApplicationsByApplicationIdEmailTemplatesBySlugTest,
369
384
  postBuckets: () => postBuckets,
370
385
  postConfigs: () => postConfigs,
386
+ postConsentRecords: () => postConsentRecords,
371
387
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
372
388
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
373
389
  postExtractionBatches: () => postExtractionBatches,
@@ -380,6 +396,7 @@ __export(index_exports, {
380
396
  postFieldTemplates: () => postFieldTemplates,
381
397
  postInvitations: () => postInvitations,
382
398
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
399
+ postLegalDocuments: () => postLegalDocuments,
383
400
  postLlmAnalytics: () => postLlmAnalytics,
384
401
  postMessages: () => postMessages,
385
402
  postNotificationMethods: () => postNotificationMethods,
@@ -465,6 +482,7 @@ __export(sdk_gen_exports, {
465
482
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
466
483
  deleteExtractionResultsById: () => deleteExtractionResultsById,
467
484
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
485
+ deleteLegalDocumentsById: () => deleteLegalDocumentsById,
468
486
  deleteMessagesById: () => deleteMessagesById,
469
487
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
470
488
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
@@ -521,6 +539,9 @@ __export(sdk_gen_exports, {
521
539
  getBucketsByIdObjects: () => getBucketsByIdObjects,
522
540
  getBucketsByIdStats: () => getBucketsByIdStats,
523
541
  getConfigs: () => getConfigs,
542
+ getConsentRecords: () => getConsentRecords,
543
+ getConsentRecordsActive: () => getConsentRecordsActive,
544
+ getConsentRecordsById: () => getConsentRecordsById,
524
545
  getCreditPackages: () => getCreditPackages,
525
546
  getCreditPackagesById: () => getCreditPackagesById,
526
547
  getCreditPackagesSlugBySlug: () => getCreditPackagesSlugBySlug,
@@ -550,6 +571,13 @@ __export(sdk_gen_exports, {
550
571
  getInvitations: () => getInvitations,
551
572
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
552
573
  getInvitationsMe: () => getInvitationsMe,
574
+ getLegalAcceptances: () => getLegalAcceptances,
575
+ getLegalAcceptancesById: () => getLegalAcceptancesById,
576
+ getLegalAcceptancesLatest: () => getLegalAcceptancesLatest,
577
+ getLegalDocuments: () => getLegalDocuments,
578
+ getLegalDocumentsById: () => getLegalDocumentsById,
579
+ getLegalDocumentsByLocale: () => getLegalDocumentsByLocale,
580
+ getLegalDocumentsForApplication: () => getLegalDocumentsForApplication,
553
581
  getLlmAnalytics: () => getLlmAnalytics,
554
582
  getLlmAnalyticsById: () => getLlmAnalyticsById,
555
583
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -638,7 +666,6 @@ __export(sdk_gen_exports, {
638
666
  getWebhookDeliveriesById: () => getWebhookDeliveriesById,
639
667
  getWebhookDeliveriesStats: () => getWebhookDeliveriesStats,
640
668
  getWorkspaceMemberships: () => getWorkspaceMemberships,
641
- getWorkspaceMembershipsInherited: () => getWorkspaceMembershipsInherited,
642
669
  getWorkspaces: () => getWorkspaces,
643
670
  getWorkspacesAnalyticsBatch: () => getWorkspacesAnalyticsBatch,
644
671
  getWorkspacesById: () => getWorkspacesById,
@@ -664,6 +691,7 @@ __export(sdk_gen_exports, {
664
691
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
665
692
  patchBucketsById: () => patchBucketsById,
666
693
  patchConfigsByKey: () => patchConfigsByKey,
694
+ patchConsentRecordsByIdWithdraw: () => patchConsentRecordsByIdWithdraw,
667
695
  patchExtractionConfigEnumsById: () => patchExtractionConfigEnumsById,
668
696
  patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
669
697
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
@@ -684,6 +712,9 @@ __export(sdk_gen_exports, {
684
712
  patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
685
713
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
686
714
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
715
+ patchLegalDocumentsById: () => patchLegalDocumentsById,
716
+ patchLegalDocumentsByIdPublish: () => patchLegalDocumentsByIdPublish,
717
+ patchLegalDocumentsByIdUnpublish: () => patchLegalDocumentsByIdUnpublish,
687
718
  patchMessagesById: () => patchMessagesById,
688
719
  patchNotificationMethodsById: () => patchNotificationMethodsById,
689
720
  patchNotificationMethodsByIdSendVerification: () => patchNotificationMethodsByIdSendVerification,
@@ -700,6 +731,7 @@ __export(sdk_gen_exports, {
700
731
  patchThreadsByIdUnarchive: () => patchThreadsByIdUnarchive,
701
732
  patchTrainingExamplesById: () => patchTrainingExamplesById,
702
733
  patchUserProfilesById: () => patchUserProfilesById,
734
+ patchUserProfilesByIdAcceptPrivacyPolicy: () => patchUserProfilesByIdAcceptPrivacyPolicy,
703
735
  patchUserProfilesByIdAcceptTos: () => patchUserProfilesByIdAcceptTos,
704
736
  patchUserProfilesByIdDismissAnnouncement: () => patchUserProfilesByIdDismissAnnouncement,
705
737
  patchUserProfilesByIdDismissWelcome: () => patchUserProfilesByIdDismissWelcome,
@@ -761,6 +793,7 @@ __export(sdk_gen_exports, {
761
793
  postApplicationsByApplicationIdEmailTemplatesBySlugTest: () => postApplicationsByApplicationIdEmailTemplatesBySlugTest,
762
794
  postBuckets: () => postBuckets,
763
795
  postConfigs: () => postConfigs,
796
+ postConsentRecords: () => postConsentRecords,
764
797
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
765
798
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
766
799
  postExtractionBatches: () => postExtractionBatches,
@@ -773,6 +806,7 @@ __export(sdk_gen_exports, {
773
806
  postFieldTemplates: () => postFieldTemplates,
774
807
  postInvitations: () => postInvitations,
775
808
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
809
+ postLegalDocuments: () => postLegalDocuments,
776
810
  postLlmAnalytics: () => postLlmAnalytics,
777
811
  postMessages: () => postMessages,
778
812
  postNotificationMethods: () => postNotificationMethods,
@@ -2257,6 +2291,16 @@ var patchSearchSavedById = (options) => (options.client ?? client).patch({
2257
2291
  ...options.headers
2258
2292
  }
2259
2293
  });
2294
+ var patchLegalDocumentsByIdUnpublish = (options) => (options.client ?? client).patch({
2295
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2296
+ security: [{ scheme: "bearer", type: "http" }],
2297
+ url: "/legal-documents/{id}/unpublish",
2298
+ ...options,
2299
+ headers: {
2300
+ "Content-Type": "application/vnd.api+json",
2301
+ ...options.headers
2302
+ }
2303
+ });
2260
2304
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
2261
2305
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2262
2306
  security: [{ scheme: "bearer", type: "http" }],
@@ -2548,6 +2592,12 @@ var deleteAiMessagesById = (options) => (options.client ?? client).delete({
2548
2592
  url: "/ai/messages/{id}",
2549
2593
  ...options
2550
2594
  });
2595
+ var getLegalAcceptancesById = (options) => (options.client ?? client).get({
2596
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2597
+ security: [{ scheme: "bearer", type: "http" }],
2598
+ url: "/legal-acceptances/{id}",
2599
+ ...options
2600
+ });
2551
2601
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
2552
2602
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2553
2603
  security: [{ scheme: "bearer", type: "http" }],
@@ -2810,6 +2860,12 @@ var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? c
2810
2860
  ...options.headers
2811
2861
  }
2812
2862
  });
2863
+ var getConsentRecordsById = (options) => (options.client ?? client).get({
2864
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2865
+ security: [{ scheme: "bearer", type: "http" }],
2866
+ url: "/consent-records/{id}",
2867
+ ...options
2868
+ });
2813
2869
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
2814
2870
  querySerializer: {
2815
2871
  parameters: {
@@ -2821,6 +2877,16 @@ var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ??
2821
2877
  url: "/training-sessions/agents/{agent_id}/sessions",
2822
2878
  ...options
2823
2879
  });
2880
+ var patchLegalDocumentsByIdPublish = (options) => (options.client ?? client).patch({
2881
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2882
+ security: [{ scheme: "bearer", type: "http" }],
2883
+ url: "/legal-documents/{id}/publish",
2884
+ ...options,
2885
+ headers: {
2886
+ "Content-Type": "application/vnd.api+json",
2887
+ ...options.headers
2888
+ }
2889
+ });
2824
2890
  var getApiKeysStats = (options) => (options.client ?? client).get({
2825
2891
  querySerializer: {
2826
2892
  parameters: {
@@ -2966,6 +3032,18 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
2966
3032
  ...options.headers
2967
3033
  }
2968
3034
  });
3035
+ var getLegalAcceptances = (options) => (options.client ?? client).get({
3036
+ querySerializer: {
3037
+ parameters: {
3038
+ filter: { object: { style: "form" } },
3039
+ page: { object: { style: "form" } },
3040
+ fields: { object: { style: "form" } }
3041
+ }
3042
+ },
3043
+ security: [{ scheme: "bearer", type: "http" }],
3044
+ url: "/legal-acceptances",
3045
+ ...options
3046
+ });
2969
3047
  var patchWatcherClaimsByIdRetry = (options) => (options.client ?? client).patch({
2970
3048
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2971
3049
  security: [{ scheme: "bearer", type: "http" }],
@@ -3215,17 +3293,6 @@ var postAgentVersionsByIdRemoveSystemField = (options) => (options.client ?? cli
3215
3293
  ...options.headers
3216
3294
  }
3217
3295
  });
3218
- var getWorkspaceMembershipsInherited = (options) => (options.client ?? client).get({
3219
- querySerializer: {
3220
- parameters: {
3221
- filter: { object: { style: "form" } },
3222
- fields: { object: { style: "form" } }
3223
- }
3224
- },
3225
- security: [{ scheme: "bearer", type: "http" }],
3226
- url: "/workspace-memberships/inherited",
3227
- ...options
3228
- });
3229
3296
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
3230
3297
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3231
3298
  security: [{ scheme: "bearer", type: "http" }],
@@ -3744,6 +3811,17 @@ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
3744
3811
  url: "/ai/graph/nodes/{id}",
3745
3812
  ...options
3746
3813
  });
3814
+ var getLegalAcceptancesLatest = (options) => (options.client ?? client).get({
3815
+ querySerializer: {
3816
+ parameters: {
3817
+ filter: { object: { style: "form" } },
3818
+ fields: { object: { style: "form" } }
3819
+ }
3820
+ },
3821
+ security: [{ scheme: "bearer", type: "http" }],
3822
+ url: "/legal-acceptances/latest",
3823
+ ...options
3824
+ });
3747
3825
  var getWorkspacesShared = (options) => (options.client ?? client).get({
3748
3826
  querySerializer: {
3749
3827
  parameters: {
@@ -3855,6 +3933,17 @@ var getThreadsSearch = (options) => (options.client ?? client).get({
3855
3933
  url: "/threads/search",
3856
3934
  ...options
3857
3935
  });
3936
+ var getConsentRecordsActive = (options) => (options.client ?? client).get({
3937
+ querySerializer: {
3938
+ parameters: {
3939
+ filter: { object: { style: "form" } },
3940
+ fields: { object: { style: "form" } }
3941
+ }
3942
+ },
3943
+ security: [{ scheme: "bearer", type: "http" }],
3944
+ url: "/consent-records/active",
3945
+ ...options
3946
+ });
3858
3947
  var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3859
3948
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3860
3949
  security: [{ scheme: "bearer", type: "http" }],
@@ -3945,6 +4034,17 @@ var patchNotificationMethodsByIdSendVerification = (options) => (options.client
3945
4034
  ...options.headers
3946
4035
  }
3947
4036
  });
4037
+ var getLegalDocumentsByLocale = (options) => (options.client ?? client).get({
4038
+ querySerializer: {
4039
+ parameters: {
4040
+ filter: { object: { style: "form" } },
4041
+ fields: { object: { style: "form" } }
4042
+ }
4043
+ },
4044
+ security: [{ scheme: "bearer", type: "http" }],
4045
+ url: "/legal-documents/by-locale",
4046
+ ...options
4047
+ });
3948
4048
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
3949
4049
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3950
4050
  security: [{ scheme: "bearer", type: "http" }],
@@ -4029,6 +4129,16 @@ var postAiEmbed = (options) => (options.client ?? client).post({
4029
4129
  ...options.headers
4030
4130
  }
4031
4131
  });
4132
+ var patchConsentRecordsByIdWithdraw = (options) => (options.client ?? client).patch({
4133
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4134
+ security: [{ scheme: "bearer", type: "http" }],
4135
+ url: "/consent-records/{id}/withdraw",
4136
+ ...options,
4137
+ headers: {
4138
+ "Content-Type": "application/vnd.api+json",
4139
+ ...options.headers
4140
+ }
4141
+ });
4032
4142
  var postAgentVersionComparisons = (options) => (options.client ?? client).post({
4033
4143
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4034
4144
  security: [{ scheme: "bearer", type: "http" }],
@@ -4072,6 +4182,16 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
4072
4182
  ...options.headers
4073
4183
  }
4074
4184
  });
4185
+ var patchUserProfilesByIdAcceptPrivacyPolicy = (options) => (options.client ?? client).patch({
4186
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4187
+ security: [{ scheme: "bearer", type: "http" }],
4188
+ url: "/user-profiles/{id}/accept-privacy-policy",
4189
+ ...options,
4190
+ headers: {
4191
+ "Content-Type": "application/vnd.api+json",
4192
+ ...options.headers
4193
+ }
4194
+ });
4075
4195
  var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
4076
4196
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4077
4197
  security: [{ scheme: "bearer", type: "http" }],
@@ -4472,6 +4592,28 @@ var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ??
4472
4592
  ...options.headers
4473
4593
  }
4474
4594
  });
4595
+ var getConsentRecords = (options) => (options.client ?? client).get({
4596
+ querySerializer: {
4597
+ parameters: {
4598
+ filter: { object: { style: "form" } },
4599
+ page: { object: { style: "form" } },
4600
+ fields: { object: { style: "form" } }
4601
+ }
4602
+ },
4603
+ security: [{ scheme: "bearer", type: "http" }],
4604
+ url: "/consent-records",
4605
+ ...options
4606
+ });
4607
+ var postConsentRecords = (options) => (options.client ?? client).post({
4608
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4609
+ security: [{ scheme: "bearer", type: "http" }],
4610
+ url: "/consent-records",
4611
+ ...options,
4612
+ headers: {
4613
+ "Content-Type": "application/vnd.api+json",
4614
+ ...options.headers
4615
+ }
4616
+ });
4475
4617
  var getAuditLogsActivity = (options) => (options.client ?? client).get({
4476
4618
  querySerializer: {
4477
4619
  parameters: {
@@ -4587,6 +4729,28 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
4587
4729
  ...options.headers
4588
4730
  }
4589
4731
  });
4732
+ var deleteLegalDocumentsById = (options) => (options.client ?? client).delete({
4733
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4734
+ security: [{ scheme: "bearer", type: "http" }],
4735
+ url: "/legal-documents/{id}",
4736
+ ...options
4737
+ });
4738
+ var getLegalDocumentsById = (options) => (options.client ?? client).get({
4739
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4740
+ security: [{ scheme: "bearer", type: "http" }],
4741
+ url: "/legal-documents/{id}",
4742
+ ...options
4743
+ });
4744
+ var patchLegalDocumentsById = (options) => (options.client ?? client).patch({
4745
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4746
+ security: [{ scheme: "bearer", type: "http" }],
4747
+ url: "/legal-documents/{id}",
4748
+ ...options,
4749
+ headers: {
4750
+ "Content-Type": "application/vnd.api+json",
4751
+ ...options.headers
4752
+ }
4753
+ });
4590
4754
  var getExtractionResults = (options) => (options.client ?? client).get({
4591
4755
  querySerializer: {
4592
4756
  parameters: {
@@ -4608,6 +4772,28 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
4608
4772
  ...options.headers
4609
4773
  }
4610
4774
  });
4775
+ var getLegalDocuments = (options) => (options.client ?? client).get({
4776
+ querySerializer: {
4777
+ parameters: {
4778
+ filter: { object: { style: "form" } },
4779
+ page: { object: { style: "form" } },
4780
+ fields: { object: { style: "form" } }
4781
+ }
4782
+ },
4783
+ security: [{ scheme: "bearer", type: "http" }],
4784
+ url: "/legal-documents",
4785
+ ...options
4786
+ });
4787
+ var postLegalDocuments = (options) => (options.client ?? client).post({
4788
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4789
+ security: [{ scheme: "bearer", type: "http" }],
4790
+ url: "/legal-documents",
4791
+ ...options,
4792
+ headers: {
4793
+ "Content-Type": "application/vnd.api+json",
4794
+ ...options.headers
4795
+ }
4796
+ });
4611
4797
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
4612
4798
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4613
4799
  security: [{ scheme: "bearer", type: "http" }],
@@ -4646,6 +4832,17 @@ var getAgentVersionsByIdRevisions = (options) => (options.client ?? client).get(
4646
4832
  url: "/agent-versions/{id}/revisions",
4647
4833
  ...options
4648
4834
  });
4835
+ var getLegalDocumentsForApplication = (options) => (options.client ?? client).get({
4836
+ querySerializer: {
4837
+ parameters: {
4838
+ filter: { object: { style: "form" } },
4839
+ fields: { object: { style: "form" } }
4840
+ }
4841
+ },
4842
+ security: [{ scheme: "bearer", type: "http" }],
4843
+ url: "/legal-documents/for-application",
4844
+ ...options
4845
+ });
4649
4846
  var postSearchBatch = (options) => (options.client ?? client).post({
4650
4847
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4651
4848
  security: [{ scheme: "bearer", type: "http" }],
@@ -5650,6 +5847,7 @@ var index_default = gptCore;
5650
5847
  deleteExtractionDocumentsById,
5651
5848
  deleteExtractionResultsById,
5652
5849
  deleteFieldTemplatesById,
5850
+ deleteLegalDocumentsById,
5653
5851
  deleteMessagesById,
5654
5852
  deleteNotificationMethodsById,
5655
5853
  deleteNotificationPreferencesById,
@@ -5706,6 +5904,9 @@ var index_default = gptCore;
5706
5904
  getBucketsByIdObjects,
5707
5905
  getBucketsByIdStats,
5708
5906
  getConfigs,
5907
+ getConsentRecords,
5908
+ getConsentRecordsActive,
5909
+ getConsentRecordsById,
5709
5910
  getCreditPackages,
5710
5911
  getCreditPackagesById,
5711
5912
  getCreditPackagesSlugBySlug,
@@ -5735,6 +5936,13 @@ var index_default = gptCore;
5735
5936
  getInvitations,
5736
5937
  getInvitationsConsumeByToken,
5737
5938
  getInvitationsMe,
5939
+ getLegalAcceptances,
5940
+ getLegalAcceptancesById,
5941
+ getLegalAcceptancesLatest,
5942
+ getLegalDocuments,
5943
+ getLegalDocumentsById,
5944
+ getLegalDocumentsByLocale,
5945
+ getLegalDocumentsForApplication,
5738
5946
  getLlmAnalytics,
5739
5947
  getLlmAnalyticsById,
5740
5948
  getLlmAnalyticsCosts,
@@ -5823,7 +6031,6 @@ var index_default = gptCore;
5823
6031
  getWebhookDeliveriesById,
5824
6032
  getWebhookDeliveriesStats,
5825
6033
  getWorkspaceMemberships,
5826
- getWorkspaceMembershipsInherited,
5827
6034
  getWorkspaces,
5828
6035
  getWorkspacesAnalyticsBatch,
5829
6036
  getWorkspacesById,
@@ -5853,6 +6060,7 @@ var index_default = gptCore;
5853
6060
  patchApplicationsByIdGrantCredits,
5854
6061
  patchBucketsById,
5855
6062
  patchConfigsByKey,
6063
+ patchConsentRecordsByIdWithdraw,
5856
6064
  patchExtractionConfigEnumsById,
5857
6065
  patchExtractionDocumentsByIdCancel,
5858
6066
  patchExtractionDocumentsByIdDismiss,
@@ -5873,6 +6081,9 @@ var index_default = gptCore;
5873
6081
  patchInvitationsByIdDecline,
5874
6082
  patchInvitationsByIdResend,
5875
6083
  patchInvitationsByIdRevoke,
6084
+ patchLegalDocumentsById,
6085
+ patchLegalDocumentsByIdPublish,
6086
+ patchLegalDocumentsByIdUnpublish,
5876
6087
  patchMessagesById,
5877
6088
  patchNotificationMethodsById,
5878
6089
  patchNotificationMethodsByIdSendVerification,
@@ -5889,6 +6100,7 @@ var index_default = gptCore;
5889
6100
  patchThreadsByIdUnarchive,
5890
6101
  patchTrainingExamplesById,
5891
6102
  patchUserProfilesById,
6103
+ patchUserProfilesByIdAcceptPrivacyPolicy,
5892
6104
  patchUserProfilesByIdAcceptTos,
5893
6105
  patchUserProfilesByIdDismissAnnouncement,
5894
6106
  patchUserProfilesByIdDismissWelcome,
@@ -5950,6 +6162,7 @@ var index_default = gptCore;
5950
6162
  postApplicationsByApplicationIdEmailTemplatesBySlugTest,
5951
6163
  postBuckets,
5952
6164
  postConfigs,
6165
+ postConsentRecords,
5953
6166
  postDocumentsBulkDelete,
5954
6167
  postDocumentsPresignedUpload,
5955
6168
  postExtractionBatches,
@@ -5962,6 +6175,7 @@ var index_default = gptCore;
5962
6175
  postFieldTemplates,
5963
6176
  postInvitations,
5964
6177
  postInvitationsAcceptByToken,
6178
+ postLegalDocuments,
5965
6179
  postLlmAnalytics,
5966
6180
  postMessages,
5967
6181
  postNotificationMethods,