@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.mjs CHANGED
@@ -22,6 +22,7 @@ __export(sdk_gen_exports, {
22
22
  deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
23
23
  deleteExtractionResultsById: () => deleteExtractionResultsById,
24
24
  deleteFieldTemplatesById: () => deleteFieldTemplatesById,
25
+ deleteLegalDocumentsById: () => deleteLegalDocumentsById,
25
26
  deleteMessagesById: () => deleteMessagesById,
26
27
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
27
28
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
@@ -78,6 +79,9 @@ __export(sdk_gen_exports, {
78
79
  getBucketsByIdObjects: () => getBucketsByIdObjects,
79
80
  getBucketsByIdStats: () => getBucketsByIdStats,
80
81
  getConfigs: () => getConfigs,
82
+ getConsentRecords: () => getConsentRecords,
83
+ getConsentRecordsActive: () => getConsentRecordsActive,
84
+ getConsentRecordsById: () => getConsentRecordsById,
81
85
  getCreditPackages: () => getCreditPackages,
82
86
  getCreditPackagesById: () => getCreditPackagesById,
83
87
  getCreditPackagesSlugBySlug: () => getCreditPackagesSlugBySlug,
@@ -107,6 +111,13 @@ __export(sdk_gen_exports, {
107
111
  getInvitations: () => getInvitations,
108
112
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
109
113
  getInvitationsMe: () => getInvitationsMe,
114
+ getLegalAcceptances: () => getLegalAcceptances,
115
+ getLegalAcceptancesById: () => getLegalAcceptancesById,
116
+ getLegalAcceptancesLatest: () => getLegalAcceptancesLatest,
117
+ getLegalDocuments: () => getLegalDocuments,
118
+ getLegalDocumentsById: () => getLegalDocumentsById,
119
+ getLegalDocumentsByLocale: () => getLegalDocumentsByLocale,
120
+ getLegalDocumentsForApplication: () => getLegalDocumentsForApplication,
110
121
  getLlmAnalytics: () => getLlmAnalytics,
111
122
  getLlmAnalyticsById: () => getLlmAnalyticsById,
112
123
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -195,7 +206,6 @@ __export(sdk_gen_exports, {
195
206
  getWebhookDeliveriesById: () => getWebhookDeliveriesById,
196
207
  getWebhookDeliveriesStats: () => getWebhookDeliveriesStats,
197
208
  getWorkspaceMemberships: () => getWorkspaceMemberships,
198
- getWorkspaceMembershipsInherited: () => getWorkspaceMembershipsInherited,
199
209
  getWorkspaces: () => getWorkspaces,
200
210
  getWorkspacesAnalyticsBatch: () => getWorkspacesAnalyticsBatch,
201
211
  getWorkspacesById: () => getWorkspacesById,
@@ -221,6 +231,7 @@ __export(sdk_gen_exports, {
221
231
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
222
232
  patchBucketsById: () => patchBucketsById,
223
233
  patchConfigsByKey: () => patchConfigsByKey,
234
+ patchConsentRecordsByIdWithdraw: () => patchConsentRecordsByIdWithdraw,
224
235
  patchExtractionConfigEnumsById: () => patchExtractionConfigEnumsById,
225
236
  patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
226
237
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
@@ -241,6 +252,9 @@ __export(sdk_gen_exports, {
241
252
  patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
242
253
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
243
254
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
255
+ patchLegalDocumentsById: () => patchLegalDocumentsById,
256
+ patchLegalDocumentsByIdPublish: () => patchLegalDocumentsByIdPublish,
257
+ patchLegalDocumentsByIdUnpublish: () => patchLegalDocumentsByIdUnpublish,
244
258
  patchMessagesById: () => patchMessagesById,
245
259
  patchNotificationMethodsById: () => patchNotificationMethodsById,
246
260
  patchNotificationMethodsByIdSendVerification: () => patchNotificationMethodsByIdSendVerification,
@@ -257,6 +271,7 @@ __export(sdk_gen_exports, {
257
271
  patchThreadsByIdUnarchive: () => patchThreadsByIdUnarchive,
258
272
  patchTrainingExamplesById: () => patchTrainingExamplesById,
259
273
  patchUserProfilesById: () => patchUserProfilesById,
274
+ patchUserProfilesByIdAcceptPrivacyPolicy: () => patchUserProfilesByIdAcceptPrivacyPolicy,
260
275
  patchUserProfilesByIdAcceptTos: () => patchUserProfilesByIdAcceptTos,
261
276
  patchUserProfilesByIdDismissAnnouncement: () => patchUserProfilesByIdDismissAnnouncement,
262
277
  patchUserProfilesByIdDismissWelcome: () => patchUserProfilesByIdDismissWelcome,
@@ -318,6 +333,7 @@ __export(sdk_gen_exports, {
318
333
  postApplicationsByApplicationIdEmailTemplatesBySlugTest: () => postApplicationsByApplicationIdEmailTemplatesBySlugTest,
319
334
  postBuckets: () => postBuckets,
320
335
  postConfigs: () => postConfigs,
336
+ postConsentRecords: () => postConsentRecords,
321
337
  postDocumentsBulkDelete: () => postDocumentsBulkDelete,
322
338
  postDocumentsPresignedUpload: () => postDocumentsPresignedUpload,
323
339
  postExtractionBatches: () => postExtractionBatches,
@@ -330,6 +346,7 @@ __export(sdk_gen_exports, {
330
346
  postFieldTemplates: () => postFieldTemplates,
331
347
  postInvitations: () => postInvitations,
332
348
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
349
+ postLegalDocuments: () => postLegalDocuments,
333
350
  postLlmAnalytics: () => postLlmAnalytics,
334
351
  postMessages: () => postMessages,
335
352
  postNotificationMethods: () => postNotificationMethods,
@@ -1814,6 +1831,16 @@ var patchSearchSavedById = (options) => (options.client ?? client).patch({
1814
1831
  ...options.headers
1815
1832
  }
1816
1833
  });
1834
+ var patchLegalDocumentsByIdUnpublish = (options) => (options.client ?? client).patch({
1835
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1836
+ security: [{ scheme: "bearer", type: "http" }],
1837
+ url: "/legal-documents/{id}/unpublish",
1838
+ ...options,
1839
+ headers: {
1840
+ "Content-Type": "application/vnd.api+json",
1841
+ ...options.headers
1842
+ }
1843
+ });
1817
1844
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
1818
1845
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1819
1846
  security: [{ scheme: "bearer", type: "http" }],
@@ -2105,6 +2132,12 @@ var deleteAiMessagesById = (options) => (options.client ?? client).delete({
2105
2132
  url: "/ai/messages/{id}",
2106
2133
  ...options
2107
2134
  });
2135
+ var getLegalAcceptancesById = (options) => (options.client ?? client).get({
2136
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2137
+ security: [{ scheme: "bearer", type: "http" }],
2138
+ url: "/legal-acceptances/{id}",
2139
+ ...options
2140
+ });
2108
2141
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
2109
2142
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2110
2143
  security: [{ scheme: "bearer", type: "http" }],
@@ -2367,6 +2400,12 @@ var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? c
2367
2400
  ...options.headers
2368
2401
  }
2369
2402
  });
2403
+ var getConsentRecordsById = (options) => (options.client ?? client).get({
2404
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2405
+ security: [{ scheme: "bearer", type: "http" }],
2406
+ url: "/consent-records/{id}",
2407
+ ...options
2408
+ });
2370
2409
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
2371
2410
  querySerializer: {
2372
2411
  parameters: {
@@ -2378,6 +2417,16 @@ var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ??
2378
2417
  url: "/training-sessions/agents/{agent_id}/sessions",
2379
2418
  ...options
2380
2419
  });
2420
+ var patchLegalDocumentsByIdPublish = (options) => (options.client ?? client).patch({
2421
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2422
+ security: [{ scheme: "bearer", type: "http" }],
2423
+ url: "/legal-documents/{id}/publish",
2424
+ ...options,
2425
+ headers: {
2426
+ "Content-Type": "application/vnd.api+json",
2427
+ ...options.headers
2428
+ }
2429
+ });
2381
2430
  var getApiKeysStats = (options) => (options.client ?? client).get({
2382
2431
  querySerializer: {
2383
2432
  parameters: {
@@ -2523,6 +2572,18 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
2523
2572
  ...options.headers
2524
2573
  }
2525
2574
  });
2575
+ var getLegalAcceptances = (options) => (options.client ?? client).get({
2576
+ querySerializer: {
2577
+ parameters: {
2578
+ filter: { object: { style: "form" } },
2579
+ page: { object: { style: "form" } },
2580
+ fields: { object: { style: "form" } }
2581
+ }
2582
+ },
2583
+ security: [{ scheme: "bearer", type: "http" }],
2584
+ url: "/legal-acceptances",
2585
+ ...options
2586
+ });
2526
2587
  var patchWatcherClaimsByIdRetry = (options) => (options.client ?? client).patch({
2527
2588
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2528
2589
  security: [{ scheme: "bearer", type: "http" }],
@@ -2772,17 +2833,6 @@ var postAgentVersionsByIdRemoveSystemField = (options) => (options.client ?? cli
2772
2833
  ...options.headers
2773
2834
  }
2774
2835
  });
2775
- var getWorkspaceMembershipsInherited = (options) => (options.client ?? client).get({
2776
- querySerializer: {
2777
- parameters: {
2778
- filter: { object: { style: "form" } },
2779
- fields: { object: { style: "form" } }
2780
- }
2781
- },
2782
- security: [{ scheme: "bearer", type: "http" }],
2783
- url: "/workspace-memberships/inherited",
2784
- ...options
2785
- });
2786
2836
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
2787
2837
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2788
2838
  security: [{ scheme: "bearer", type: "http" }],
@@ -3301,6 +3351,17 @@ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
3301
3351
  url: "/ai/graph/nodes/{id}",
3302
3352
  ...options
3303
3353
  });
3354
+ var getLegalAcceptancesLatest = (options) => (options.client ?? client).get({
3355
+ querySerializer: {
3356
+ parameters: {
3357
+ filter: { object: { style: "form" } },
3358
+ fields: { object: { style: "form" } }
3359
+ }
3360
+ },
3361
+ security: [{ scheme: "bearer", type: "http" }],
3362
+ url: "/legal-acceptances/latest",
3363
+ ...options
3364
+ });
3304
3365
  var getWorkspacesShared = (options) => (options.client ?? client).get({
3305
3366
  querySerializer: {
3306
3367
  parameters: {
@@ -3412,6 +3473,17 @@ var getThreadsSearch = (options) => (options.client ?? client).get({
3412
3473
  url: "/threads/search",
3413
3474
  ...options
3414
3475
  });
3476
+ var getConsentRecordsActive = (options) => (options.client ?? client).get({
3477
+ querySerializer: {
3478
+ parameters: {
3479
+ filter: { object: { style: "form" } },
3480
+ fields: { object: { style: "form" } }
3481
+ }
3482
+ },
3483
+ security: [{ scheme: "bearer", type: "http" }],
3484
+ url: "/consent-records/active",
3485
+ ...options
3486
+ });
3415
3487
  var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3416
3488
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3417
3489
  security: [{ scheme: "bearer", type: "http" }],
@@ -3502,6 +3574,17 @@ var patchNotificationMethodsByIdSendVerification = (options) => (options.client
3502
3574
  ...options.headers
3503
3575
  }
3504
3576
  });
3577
+ var getLegalDocumentsByLocale = (options) => (options.client ?? client).get({
3578
+ querySerializer: {
3579
+ parameters: {
3580
+ filter: { object: { style: "form" } },
3581
+ fields: { object: { style: "form" } }
3582
+ }
3583
+ },
3584
+ security: [{ scheme: "bearer", type: "http" }],
3585
+ url: "/legal-documents/by-locale",
3586
+ ...options
3587
+ });
3505
3588
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
3506
3589
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3507
3590
  security: [{ scheme: "bearer", type: "http" }],
@@ -3586,6 +3669,16 @@ var postAiEmbed = (options) => (options.client ?? client).post({
3586
3669
  ...options.headers
3587
3670
  }
3588
3671
  });
3672
+ var patchConsentRecordsByIdWithdraw = (options) => (options.client ?? client).patch({
3673
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3674
+ security: [{ scheme: "bearer", type: "http" }],
3675
+ url: "/consent-records/{id}/withdraw",
3676
+ ...options,
3677
+ headers: {
3678
+ "Content-Type": "application/vnd.api+json",
3679
+ ...options.headers
3680
+ }
3681
+ });
3589
3682
  var postAgentVersionComparisons = (options) => (options.client ?? client).post({
3590
3683
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3591
3684
  security: [{ scheme: "bearer", type: "http" }],
@@ -3629,6 +3722,16 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
3629
3722
  ...options.headers
3630
3723
  }
3631
3724
  });
3725
+ var patchUserProfilesByIdAcceptPrivacyPolicy = (options) => (options.client ?? client).patch({
3726
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3727
+ security: [{ scheme: "bearer", type: "http" }],
3728
+ url: "/user-profiles/{id}/accept-privacy-policy",
3729
+ ...options,
3730
+ headers: {
3731
+ "Content-Type": "application/vnd.api+json",
3732
+ ...options.headers
3733
+ }
3734
+ });
3632
3735
  var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
3633
3736
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3634
3737
  security: [{ scheme: "bearer", type: "http" }],
@@ -4029,6 +4132,28 @@ var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ??
4029
4132
  ...options.headers
4030
4133
  }
4031
4134
  });
4135
+ var getConsentRecords = (options) => (options.client ?? client).get({
4136
+ querySerializer: {
4137
+ parameters: {
4138
+ filter: { object: { style: "form" } },
4139
+ page: { object: { style: "form" } },
4140
+ fields: { object: { style: "form" } }
4141
+ }
4142
+ },
4143
+ security: [{ scheme: "bearer", type: "http" }],
4144
+ url: "/consent-records",
4145
+ ...options
4146
+ });
4147
+ var postConsentRecords = (options) => (options.client ?? client).post({
4148
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4149
+ security: [{ scheme: "bearer", type: "http" }],
4150
+ url: "/consent-records",
4151
+ ...options,
4152
+ headers: {
4153
+ "Content-Type": "application/vnd.api+json",
4154
+ ...options.headers
4155
+ }
4156
+ });
4032
4157
  var getAuditLogsActivity = (options) => (options.client ?? client).get({
4033
4158
  querySerializer: {
4034
4159
  parameters: {
@@ -4144,6 +4269,28 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
4144
4269
  ...options.headers
4145
4270
  }
4146
4271
  });
4272
+ var deleteLegalDocumentsById = (options) => (options.client ?? client).delete({
4273
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4274
+ security: [{ scheme: "bearer", type: "http" }],
4275
+ url: "/legal-documents/{id}",
4276
+ ...options
4277
+ });
4278
+ var getLegalDocumentsById = (options) => (options.client ?? client).get({
4279
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4280
+ security: [{ scheme: "bearer", type: "http" }],
4281
+ url: "/legal-documents/{id}",
4282
+ ...options
4283
+ });
4284
+ var patchLegalDocumentsById = (options) => (options.client ?? client).patch({
4285
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4286
+ security: [{ scheme: "bearer", type: "http" }],
4287
+ url: "/legal-documents/{id}",
4288
+ ...options,
4289
+ headers: {
4290
+ "Content-Type": "application/vnd.api+json",
4291
+ ...options.headers
4292
+ }
4293
+ });
4147
4294
  var getExtractionResults = (options) => (options.client ?? client).get({
4148
4295
  querySerializer: {
4149
4296
  parameters: {
@@ -4165,6 +4312,28 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
4165
4312
  ...options.headers
4166
4313
  }
4167
4314
  });
4315
+ var getLegalDocuments = (options) => (options.client ?? client).get({
4316
+ querySerializer: {
4317
+ parameters: {
4318
+ filter: { object: { style: "form" } },
4319
+ page: { object: { style: "form" } },
4320
+ fields: { object: { style: "form" } }
4321
+ }
4322
+ },
4323
+ security: [{ scheme: "bearer", type: "http" }],
4324
+ url: "/legal-documents",
4325
+ ...options
4326
+ });
4327
+ var postLegalDocuments = (options) => (options.client ?? client).post({
4328
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4329
+ security: [{ scheme: "bearer", type: "http" }],
4330
+ url: "/legal-documents",
4331
+ ...options,
4332
+ headers: {
4333
+ "Content-Type": "application/vnd.api+json",
4334
+ ...options.headers
4335
+ }
4336
+ });
4168
4337
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
4169
4338
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4170
4339
  security: [{ scheme: "bearer", type: "http" }],
@@ -4203,6 +4372,17 @@ var getAgentVersionsByIdRevisions = (options) => (options.client ?? client).get(
4203
4372
  url: "/agent-versions/{id}/revisions",
4204
4373
  ...options
4205
4374
  });
4375
+ var getLegalDocumentsForApplication = (options) => (options.client ?? client).get({
4376
+ querySerializer: {
4377
+ parameters: {
4378
+ filter: { object: { style: "form" } },
4379
+ fields: { object: { style: "form" } }
4380
+ }
4381
+ },
4382
+ security: [{ scheme: "bearer", type: "http" }],
4383
+ url: "/legal-documents/for-application",
4384
+ ...options
4385
+ });
4206
4386
  var postSearchBatch = (options) => (options.client ?? client).post({
4207
4387
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4208
4388
  security: [{ scheme: "bearer", type: "http" }],
@@ -5207,6 +5387,7 @@ export {
5207
5387
  deleteExtractionDocumentsById,
5208
5388
  deleteExtractionResultsById,
5209
5389
  deleteFieldTemplatesById,
5390
+ deleteLegalDocumentsById,
5210
5391
  deleteMessagesById,
5211
5392
  deleteNotificationMethodsById,
5212
5393
  deleteNotificationPreferencesById,
@@ -5263,6 +5444,9 @@ export {
5263
5444
  getBucketsByIdObjects,
5264
5445
  getBucketsByIdStats,
5265
5446
  getConfigs,
5447
+ getConsentRecords,
5448
+ getConsentRecordsActive,
5449
+ getConsentRecordsById,
5266
5450
  getCreditPackages,
5267
5451
  getCreditPackagesById,
5268
5452
  getCreditPackagesSlugBySlug,
@@ -5292,6 +5476,13 @@ export {
5292
5476
  getInvitations,
5293
5477
  getInvitationsConsumeByToken,
5294
5478
  getInvitationsMe,
5479
+ getLegalAcceptances,
5480
+ getLegalAcceptancesById,
5481
+ getLegalAcceptancesLatest,
5482
+ getLegalDocuments,
5483
+ getLegalDocumentsById,
5484
+ getLegalDocumentsByLocale,
5485
+ getLegalDocumentsForApplication,
5295
5486
  getLlmAnalytics,
5296
5487
  getLlmAnalyticsById,
5297
5488
  getLlmAnalyticsCosts,
@@ -5380,7 +5571,6 @@ export {
5380
5571
  getWebhookDeliveriesById,
5381
5572
  getWebhookDeliveriesStats,
5382
5573
  getWorkspaceMemberships,
5383
- getWorkspaceMembershipsInherited,
5384
5574
  getWorkspaces,
5385
5575
  getWorkspacesAnalyticsBatch,
5386
5576
  getWorkspacesById,
@@ -5410,6 +5600,7 @@ export {
5410
5600
  patchApplicationsByIdGrantCredits,
5411
5601
  patchBucketsById,
5412
5602
  patchConfigsByKey,
5603
+ patchConsentRecordsByIdWithdraw,
5413
5604
  patchExtractionConfigEnumsById,
5414
5605
  patchExtractionDocumentsByIdCancel,
5415
5606
  patchExtractionDocumentsByIdDismiss,
@@ -5430,6 +5621,9 @@ export {
5430
5621
  patchInvitationsByIdDecline,
5431
5622
  patchInvitationsByIdResend,
5432
5623
  patchInvitationsByIdRevoke,
5624
+ patchLegalDocumentsById,
5625
+ patchLegalDocumentsByIdPublish,
5626
+ patchLegalDocumentsByIdUnpublish,
5433
5627
  patchMessagesById,
5434
5628
  patchNotificationMethodsById,
5435
5629
  patchNotificationMethodsByIdSendVerification,
@@ -5446,6 +5640,7 @@ export {
5446
5640
  patchThreadsByIdUnarchive,
5447
5641
  patchTrainingExamplesById,
5448
5642
  patchUserProfilesById,
5643
+ patchUserProfilesByIdAcceptPrivacyPolicy,
5449
5644
  patchUserProfilesByIdAcceptTos,
5450
5645
  patchUserProfilesByIdDismissAnnouncement,
5451
5646
  patchUserProfilesByIdDismissWelcome,
@@ -5507,6 +5702,7 @@ export {
5507
5702
  postApplicationsByApplicationIdEmailTemplatesBySlugTest,
5508
5703
  postBuckets,
5509
5704
  postConfigs,
5705
+ postConsentRecords,
5510
5706
  postDocumentsBulkDelete,
5511
5707
  postDocumentsPresignedUpload,
5512
5708
  postExtractionBatches,
@@ -5519,6 +5715,7 @@ export {
5519
5715
  postFieldTemplates,
5520
5716
  postInvitations,
5521
5717
  postInvitationsAcceptByToken,
5718
+ postLegalDocuments,
5522
5719
  postLlmAnalytics,
5523
5720
  postMessages,
5524
5721
  postNotificationMethods,
package/llms.txt CHANGED
@@ -179,6 +179,14 @@ client.setConfig({
179
179
  - `postExtractionConfig-enums()` - Create config enums
180
180
  - `patchExtractionConfig-enumsById()` - Update config enums
181
181
 
182
+ ## Consent record
183
+
184
+ - `getConsent-records()` - List consent records
185
+ - `getConsent-recordsActive()` - List active
186
+ - `getConsent-recordsById()` - Get consent records
187
+ - `postConsent-records()` - Create consent records
188
+ - `patchConsent-recordsByIdWithdraw()` - Update withdraw
189
+
182
190
  ## Conversations
183
191
 
184
192
  - `getAiConversations()` - List conversations
@@ -306,6 +314,24 @@ client.setConfig({
306
314
  - `deleteAiGraphEdgesById()` - Delete edges
307
315
  - `deleteAiGraphNodesById()` - Delete nodes
308
316
 
317
+ ## Legal acceptance
318
+
319
+ - `getLegal-acceptances()` - List legal acceptances
320
+ - `getLegal-acceptancesById()` - Get legal acceptances
321
+ - `getLegal-acceptancesLatest()` - List latest
322
+
323
+ ## Legal document
324
+
325
+ - `getLegal-documents()` - List legal documents
326
+ - `getLegal-documentsBy-locale()` - List by locale
327
+ - `getLegal-documentsById()` - Get legal documents
328
+ - `getLegal-documentsFor-application()` - List for application
329
+ - `postLegal-documents()` - Create legal documents
330
+ - `patchLegal-documentsById()` - Update legal documents
331
+ - `patchLegal-documentsByIdPublish()` - Update publish
332
+ - `patchLegal-documentsByIdUnpublish()` - Update unpublish
333
+ - `deleteLegal-documentsById()` - Delete legal documents
334
+
309
335
  ## Messages
310
336
 
311
337
  - `getAiMessages()` - List messages
@@ -520,6 +546,7 @@ client.setConfig({
520
546
  - `postUsersAuthResend-confirmation()` - Create resend confirmation
521
547
  - `postUsersRegister-isv()` - Create register isv
522
548
  - `patchUser-profilesById()` - Update user profiles
549
+ - `patchUser-profilesByIdAccept-privacy-policy()` - Update accept privacy policy
523
550
  - `patchUser-profilesByIdAccept-tos()` - Update accept tos
524
551
  - `patchUser-profilesByIdDismiss-announcement()` - Update dismiss announcement
525
552
  - `patchUser-profilesByIdDismiss-welcome()` - Update dismiss welcome
@@ -576,7 +603,6 @@ client.setConfig({
576
603
  ## Workspace-membership
577
604
 
578
605
  - `getWorkspace-memberships()` - List workspace memberships
579
- - `getWorkspace-membershipsInherited()` - List inherited
580
606
  - `getWorkspacesByIdMembers()` - Get members
581
607
  - `postWorkspace-memberships()` - Create workspace memberships
582
608
  - `patchWorkspace-membershipsByWorkspaceIdByUserId()` - Update workspace memberships
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.9.36",
3
+ "version": "0.9.37",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",