@gpt-platform/client 0.6.2 → 0.7.0

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/llms.txt CHANGED
@@ -27,6 +27,14 @@ client.setConfig({
27
27
  - `getAccess-logs()` - /access-logs operation on access_log resource
28
28
  - `getAccess-logsById()` - /access-logs/:id operation on access_log resource
29
29
 
30
+ ## Access-grant
31
+
32
+ - `getAccess-grants()` - /access-grants operation on access-grant resource
33
+ - `getAccess-grantsById()` - /access-grants/:id operation on access-grant resource
34
+ - `postAccess-grants()` - /access-grants operation on access-grant resource
35
+ - `patchAccess-grantsById()` - /access-grants/:id operation on access-grant resource
36
+ - `deleteAccess-grantsById()` - /access-grants/:id operation on access-grant resource
37
+
30
38
  ## Agent stats
31
39
 
32
40
  - `getAgentsByIdStats()` - /agents/:id/stats operation on agent_stats resource
@@ -108,6 +116,7 @@ correction reasons, or image reference
108
116
  ## Ai-message
109
117
 
110
118
  - `getAiMessages()` - /ai/messages operation on ai-message resource
119
+ - `getAiMessagesById()` - /ai/messages/:id operation on ai-message resource
111
120
  - `postAiMessages()` - Append a new message turn (system, user, or assistant) to a Conversation
112
121
  - `deleteAiMessagesById()` - /ai/messages/:id operation on ai-message resource
113
122
 
@@ -281,6 +290,114 @@ flags, workspace mode, and execution limits
281
290
  - `patchCatalogViewsById()` - Update view metadata, filtering rules, or pricing association
282
291
  - `deleteCatalogViewsById()` - Permanently delete a catalog view and its rules and overrides
283
292
 
293
+ ## Clinical-client-goal
294
+
295
+ - `getClinicalClient-goals()` - /clinical/client-goals operation on clinical-client-goal resource
296
+ - `getClinicalClient-goalsById()` - /clinical/client-goals/:id operation on clinical-client-goal resource
297
+ - `getClinicalPatientsByIdGoals()` - /clinical/patients/:id/goals operation on clinical-client-goal resource
298
+ - `postClinicalClient-goals()` - /clinical/client-goals operation on clinical-client-goal resource
299
+ - `patchClinicalClient-goalsById()` - /clinical/client-goals/:id operation on clinical-client-goal resource
300
+ - `deleteClinicalClient-goalsById()` - /clinical/client-goals/:id operation on clinical-client-goal resource
301
+
302
+ ## Clinical-client-resource-assignment
303
+
304
+ - `getClinicalClient-resource-assignments()` - /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource
305
+ - `getClinicalClient-resource-assignmentsById()` - /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource
306
+ - `getClinicalPatientsByIdResourceAssignments()` - /clinical/patients/:id/resource_assignments operation on clinical-client-resource-assignment resource
307
+ - `postClinicalClient-resource-assignments()` - /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource
308
+ - `patchClinicalClient-resource-assignmentsById()` - /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource
309
+ - `deleteClinicalClient-resource-assignmentsById()` - /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource
310
+
311
+ ## Clinical-client-supplement
312
+
313
+ - `getClinicalClient-supplements()` - /clinical/client-supplements operation on clinical-client-supplement resource
314
+ - `getClinicalClient-supplementsById()` - /clinical/client-supplements/:id operation on clinical-client-supplement resource
315
+ - `getClinicalPatientsByIdSupplements()` - /clinical/patients/:id/supplements operation on clinical-client-supplement resource
316
+ - `postClinicalClient-supplements()` - /clinical/client-supplements operation on clinical-client-supplement resource
317
+ - `patchClinicalClient-supplementsById()` - /clinical/client-supplements/:id operation on clinical-client-supplement resource
318
+ - `deleteClinicalClient-supplementsById()` - /clinical/client-supplements/:id operation on clinical-client-supplement resource
319
+
320
+ ## Clinical-delivery
321
+
322
+ - `getClinicalDeliveries()` - /clinical/deliveries operation on clinical-delivery resource
323
+ - `getClinicalDeliveriesById()` - /clinical/deliveries/:id operation on clinical-delivery resource
324
+ - `postClinicalDeliveries()` - /clinical/deliveries operation on clinical-delivery resource
325
+ - `patchClinicalDeliveriesById()` - /clinical/deliveries/:id operation on clinical-delivery resource
326
+
327
+ ## Clinical-health-metric
328
+
329
+ - `getClinicalHealth-metrics()` - /clinical/health-metrics operation on clinical-health-metric resource
330
+ - `getClinicalHealth-metricsById()` - /clinical/health-metrics/:id operation on clinical-health-metric resource
331
+ - `getClinicalPatientsByIdHealthMetrics()` - /clinical/patients/:id/health_metrics operation on clinical-health-metric resource
332
+ - `postClinicalHealth-metrics()` - /clinical/health-metrics operation on clinical-health-metric resource
333
+ - `patchClinicalHealth-metricsById()` - /clinical/health-metrics/:id operation on clinical-health-metric resource
334
+ - `deleteClinicalHealth-metricsById()` - /clinical/health-metrics/:id operation on clinical-health-metric resource
335
+
336
+ ## Clinical-meal-plan
337
+
338
+ - `getClinicalMeal-plans()` - /clinical/meal-plans operation on clinical-meal-plan resource
339
+ - `getClinicalMeal-plansById()` - /clinical/meal-plans/:id operation on clinical-meal-plan resource
340
+ - `getClinicalSessionsByIdMealPlans()` - /clinical/sessions/:id/meal_plans operation on clinical-meal-plan resource
341
+ - `postClinicalMeal-plans()` - /clinical/meal-plans operation on clinical-meal-plan resource
342
+ - `patchClinicalMeal-plansById()` - /clinical/meal-plans/:id operation on clinical-meal-plan resource
343
+ - `deleteClinicalMeal-plansById()` - /clinical/meal-plans/:id operation on clinical-meal-plan resource
344
+
345
+ ## Clinical-note
346
+
347
+ - `getClinicalNotes()` - /clinical/notes operation on clinical-note resource
348
+ - `getClinicalNotesById()` - /clinical/notes/:id operation on clinical-note resource
349
+ - `getClinicalSessionsByIdSessionNotes()` - /clinical/sessions/:id/session_notes operation on clinical-note resource
350
+ - `postClinicalNotes()` - /clinical/notes operation on clinical-note resource
351
+ - `patchClinicalNotesById()` - /clinical/notes/:id operation on clinical-note resource
352
+ - `patchClinicalNotesByIdApprove()` - RD approves the clinical note
353
+ - `patchClinicalNotesByIdReject()` - RD rejects the clinical note.
354
+ - `deleteClinicalNotesById()` - /clinical/notes/:id operation on clinical-note resource
355
+
356
+ ## Clinical-note-version
357
+
358
+ - `getClinicalNotesByNoteIdVersions()` - /clinical/notes/:note_id/versions operation on clinical-note-version resource
359
+ - `getClinicalNotesByNoteIdVersionsById()` - /clinical/notes/:note_id/versions/:id operation on clinical-note-version resource
360
+
361
+ ## Clinical-patient
362
+
363
+ - `getClinicalPatients()` - /clinical/patients operation on clinical-patient resource
364
+ - `getClinicalPatientsById()` - /clinical/patients/:id operation on clinical-patient resource
365
+ - `postClinicalPatients()` - /clinical/patients operation on clinical-patient resource
366
+ - `patchClinicalPatientsById()` - /clinical/patients/:id operation on clinical-patient resource
367
+ - `deleteClinicalPatientsById()` - /clinical/patients/:id operation on clinical-patient resource
368
+
369
+ ## Clinical-practice-resource
370
+
371
+ - `getClinicalPractice-resources()` - /clinical/practice-resources operation on clinical-practice-resource resource
372
+ - `getClinicalPractice-resourcesById()` - /clinical/practice-resources/:id operation on clinical-practice-resource resource
373
+ - `postClinicalPractice-resources()` - /clinical/practice-resources operation on clinical-practice-resource resource
374
+ - `patchClinicalPractice-resourcesById()` - /clinical/practice-resources/:id operation on clinical-practice-resource resource
375
+ - `deleteClinicalPractice-resourcesById()` - /clinical/practice-resources/:id operation on clinical-practice-resource resource
376
+
377
+ ## Clinical-practice-tool
378
+
379
+ - `getClinicalPractice-tools()` - /clinical/practice-tools operation on clinical-practice-tool resource
380
+ - `getClinicalPractice-toolsById()` - /clinical/practice-tools/:id operation on clinical-practice-tool resource
381
+ - `postClinicalPractice-tools()` - /clinical/practice-tools operation on clinical-practice-tool resource
382
+ - `patchClinicalPractice-toolsById()` - /clinical/practice-tools/:id operation on clinical-practice-tool resource
383
+ - `deleteClinicalPractice-toolsById()` - /clinical/practice-tools/:id operation on clinical-practice-tool resource
384
+
385
+ ## Clinical-session
386
+
387
+ - `getClinicalSessions()` - /clinical/sessions operation on clinical-session resource
388
+ - `getClinicalSessionsById()` - /clinical/sessions/:id operation on clinical-session resource
389
+ - `postClinicalSessions()` - /clinical/sessions operation on clinical-session resource
390
+ - `patchClinicalSessionsById()` - /clinical/sessions/:id operation on clinical-session resource
391
+ - `deleteClinicalSessionsById()` - /clinical/sessions/:id operation on clinical-session resource
392
+
393
+ ## Clinical-supplement-rec-cache
394
+
395
+ - `getClinicalSupplement-rec-cache()` - /clinical/supplement-rec-cache operation on clinical-supplement-rec-cache resource
396
+ - `getClinicalSupplement-rec-cacheById()` - /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource
397
+ - `postClinicalSupplement-rec-cache()` - /clinical/supplement-rec-cache operation on clinical-supplement-rec-cache resource
398
+ - `patchClinicalSupplement-rec-cacheById()` - /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource
399
+ - `deleteClinicalSupplement-rec-cacheById()` - /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource
400
+
284
401
  ## Config
285
402
 
286
403
  - `getConfigs()` - /configs operation on config resource
@@ -810,9 +927,8 @@ fields
810
927
 
811
928
  ## Permission
812
929
 
813
- - `getPermissions()` - List all platform permissions for a given context (:tenant or :workspace); returns permission metadata from the PermissionRegistry for use in permission-picker UIs.
930
+ - `getPermissions()` - List all registered permissions from the PermissionRegistry, optionally filtered by app, context, or category
814
931
  - `getPermissionsById()` - Fetch all permissions and apply any query filters supplied by the caller; use :by_id for single-record lookup by permission ID string.
815
- - `getPermissionsPresets()` - List role presets (admin, member, viewer, etc.) for a given context (:tenant or :workspace); each preset includes its name, description, and the full permission list it grants.
816
932
 
817
933
  ## Permission meta
818
934
 
@@ -820,6 +936,7 @@ fields
820
936
 
821
937
  ## Permission preset
822
938
 
939
+ - `getPermissionsPresets()` - List all permission presets (pre-defined role bundles) from the PermissionRegistry, optionally filtered by context and app
823
940
  - `getPermissionsPresetsById()` - Fetch a single permission preset by its composite ID (e.g., 'workspace:org:admin'); returns the preset with its full permission list or a not-found error.
824
941
 
825
942
  ## Platform tone
@@ -860,8 +977,9 @@ fields
860
977
  ## Role
861
978
 
862
979
  - `getRoles()` - /roles operation on role resource
980
+ - `getRolesById()` - /roles/:id operation on role resource
863
981
  - `postRoles()` - Create a new role (permission bundle); creates a system default if application_id is nil, or an ISV application role if application_id is supplied
864
- - `patchRolesById()` - Update a role's name, description, or permission list; does NOT retroactively update existing TenantMemberships — use bulk_refresh_memberships for that
982
+ - `patchRolesById()` - Update a role's name, description, or permission list; does NOT retroactively update existing AccessGrants
865
983
  - `deleteRolesById()` - Delete a role; emits a RoleDeleted audit event
866
984
 
867
985
  ## Scan result
@@ -1062,14 +1180,6 @@ fields
1062
1180
 
1063
1181
  - `getTenantsByTenantIdStats()` - /tenants/:tenant_id/stats operation on tenant_stats resource
1064
1182
 
1065
- ## Tenant-membership
1066
-
1067
- - `getTenant-memberships()` - /tenant-memberships operation on tenant-membership resource
1068
- - `getTenant-membershipsByTenantIdByUserId()` - /tenant-memberships/:tenant_id/:user_id operation on tenant-membership resource
1069
- - `postTenant-memberships()` - /tenant-memberships operation on tenant-membership resource
1070
- - `patchTenant-membershipsByTenantIdByUserId()` - /tenant-memberships/:tenant_id/:user_id operation on tenant-membership resource
1071
- - `deleteTenant-membershipsByTenantIdByUserId()` - /tenant-memberships/:tenant_id/:user_id operation on tenant-membership resource
1072
-
1073
1183
  ## Tenants
1074
1184
 
1075
1185
  - `getTenants()` - /tenants operation on tenant resource
@@ -1145,6 +1255,7 @@ plan tier, vanity slug, and storage spending cap
1145
1255
  - `postUsersAuthMagic-linkLogin()` - /users/auth/magic-link/login operation on user resource
1146
1256
  - `postUsersAuthMagic-linkRequest()` - /users/auth/magic-link/request operation on user resource
1147
1257
  - `postUsersAuthRegister()` - Register a new user account with email and password
1258
+ - `postUsersAuthRegister-via-invitation()` - Register a new user via invitation — skips personal tenant creation
1148
1259
  - `postUsersAuthRegister-with-oidc()` - Register or sign in a user via an OAuth/OIDC provider (Google, GitHub, Salesforce,
1149
1260
  Microsoft)
1150
1261
  - `postUsersAuthResend-confirmation()` - Resend confirmation email to an unconfirmed user
@@ -1230,17 +1341,6 @@ raw preferences map
1230
1341
 
1231
1342
  - `getTenantsByTenantIdWorkspaceStats()` - /tenants/:tenant_id/workspace_stats operation on workspace_document_stats resource
1232
1343
 
1233
- ## Workspace-membership
1234
-
1235
- - `getWorkspace-memberships()` - /workspace-memberships operation on workspace-membership resource
1236
- - `getWorkspace-membershipsByWorkspaceIdByUserId()` - /workspace-memberships/:workspace_id/:user_id operation on workspace-membership resource
1237
- - `getWorkspace-membershipsInherited()` - List workspace members including inherited org owners/admins
1238
- - `getWorkspacesByIdMembers()` - /workspaces/:id/members operation on workspace-membership resource
1239
- - `postWorkspace-memberships()` - /workspace-memberships operation on workspace-membership resource
1240
- - `patchWorkspace-membershipsByWorkspaceIdByUserId()` - /workspace-memberships/:workspace_id/:user_id operation on workspace-membership resource
1241
- - `patchWorkspace-membershipsByWorkspaceIdByUserIdProfile()` - Update the member's profile_attributes field
1242
- - `deleteWorkspace-membershipsByWorkspaceIdByUserId()` - /workspace-memberships/:workspace_id/:user_id operation on workspace-membership resource
1243
-
1244
1344
  ## Workspaces
1245
1345
 
1246
1346
  - `getWorkspaces()` - List workspaces visible to the actor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-platform/client",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "TypeScript SDK for GPT Platform Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",