@gpt-platform/client 0.6.2 → 0.6.3

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
@@ -810,9 +818,8 @@ fields
810
818
 
811
819
  ## Permission
812
820
 
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.
821
+ - `getPermissions()` - List all registered permissions from the PermissionRegistry, optionally filtered by app, context, or category
814
822
  - `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
823
 
817
824
  ## Permission meta
818
825
 
@@ -820,6 +827,7 @@ fields
820
827
 
821
828
  ## Permission preset
822
829
 
830
+ - `getPermissionsPresets()` - List all permission presets (pre-defined role bundles) from the PermissionRegistry, optionally filtered by context and app
823
831
  - `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
832
 
825
833
  ## Platform tone
@@ -861,7 +869,7 @@ fields
861
869
 
862
870
  - `getRoles()` - /roles operation on role resource
863
871
  - `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
872
+ - `patchRolesById()` - Update a role's name, description, or permission list; does NOT retroactively update existing AccessGrants
865
873
  - `deleteRolesById()` - Delete a role; emits a RoleDeleted audit event
866
874
 
867
875
  ## Scan result
@@ -1062,14 +1070,6 @@ fields
1062
1070
 
1063
1071
  - `getTenantsByTenantIdStats()` - /tenants/:tenant_id/stats operation on tenant_stats resource
1064
1072
 
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
1073
  ## Tenants
1074
1074
 
1075
1075
  - `getTenants()` - /tenants operation on tenant resource
@@ -1145,6 +1145,7 @@ plan tier, vanity slug, and storage spending cap
1145
1145
  - `postUsersAuthMagic-linkLogin()` - /users/auth/magic-link/login operation on user resource
1146
1146
  - `postUsersAuthMagic-linkRequest()` - /users/auth/magic-link/request operation on user resource
1147
1147
  - `postUsersAuthRegister()` - Register a new user account with email and password
1148
+ - `postUsersAuthRegister-via-invitation()` - Register a new user via invitation — skips personal tenant creation
1148
1149
  - `postUsersAuthRegister-with-oidc()` - Register or sign in a user via an OAuth/OIDC provider (Google, GitHub, Salesforce,
1149
1150
  Microsoft)
1150
1151
  - `postUsersAuthResend-confirmation()` - Resend confirmation email to an unconfirmed user
@@ -1230,17 +1231,6 @@ raw preferences map
1230
1231
 
1231
1232
  - `getTenantsByTenantIdWorkspaceStats()` - /tenants/:tenant_id/workspace_stats operation on workspace_document_stats resource
1232
1233
 
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
1234
  ## Workspaces
1245
1235
 
1246
1236
  - `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.6.3",
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",