@cubist-labs/cubesigner-sdk 0.4.231 → 0.4.236

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.
@@ -245,6 +245,7 @@ export type PasswordResetRequest = schemas["PasswordResetRequest"];
245
245
  export type PasswordResetConfirmRequest = schemas["PasswordResetConfirmRequest"];
246
246
  export type EmailOtpResponse = schemas["EmailOtpResponse"];
247
247
  export type EmailTemplatePurpose = schemas["Purpose"];
248
+ export type GetEmailConfigResponse = schemas["GetEmailConfigResponse"];
248
249
 
249
250
  export type Empty = schemas["EmptyImpl"];
250
251
 
package/src/scopes.ts CHANGED
@@ -55,7 +55,10 @@ export const AllScopes: Record<ExplicitScope, string> =
55
55
  "sign:mmi" : "Allows access to the sign 'mmi' endpoint",
56
56
  "manage:*" : "Allows access to all management endpoints (e.g., create role, create key, add key to role, etc.)",
57
57
  "manage:readonly" : "Allows access to all management readonly endpoints",
58
- "manage:email" : "Allows access only to the email management endpoints",
58
+ "manage:email:*" : "Allows access only to the email management endpoints",
59
+ "manage:email:get" : "Allows access only to the email configuration 'get' endpoint",
60
+ "manage:email:update" : "Allows access only to the email configuration 'update' endpoint",
61
+ "manage:email:delete" : "Allows access only to the email configuration 'delete' endpoint",
59
62
  "manage:mfa:*" : "Allows access only to MFA endpoints (e.g., get/approve existing MFA request)",
60
63
  "manage:mfa:readonly" : "Allows access only to MFA readonly endpoints (e.g., get/list existing MFA request(s))",
61
64
  "manage:mfa:list" : "Allows access only to the MFA list endpoint (list existing MFA requests)",
@@ -83,10 +86,11 @@ export const AllScopes: Record<ExplicitScope, string> =
83
86
  "manage:key:create" : "Allows access only to key creation endpoints (e.g., 'create' and 'derive')",
84
87
  "manage:key:import" : "Allows access only to the key 'import' endpoint",
85
88
  "manage:key:update:*" : "Allows access only to the key 'update' endpoint, within which allowing all possible updates",
86
- "manage:key:update:owner" : "Allows access only to the key 'update' endpoint, but restricting updates to the key owner property",
87
- "manage:key:update:policy" : "Allows access only to the key 'update' endpoint, but restricting updates to the key policy property",
88
- "manage:key:update:enabled" : "Allows access only to the key 'update' endpoint, but restricting updates to the key enabled property",
89
- "manage:key:update:metadata" : "Allows access only to the key 'update' endpoint and restricts updates to the key metadata property",
89
+ "manage:key:update:owner" : "Allows access only to the key 'update' endpoint, but restricting updates to the key 'owner' property",
90
+ "manage:key:update:region" : "Allows access only to the key 'update' endpoint, but restricting updates to the key 'region' property",
91
+ "manage:key:update:policy" : "Allows access only to the key 'update' endpoint, but restricting updates to the key 'policy' property",
92
+ "manage:key:update:enabled" : "Allows access only to the key 'update' endpoint, but restricting updates to the key 'enabled' property",
93
+ "manage:key:update:metadata" : "Allows access only to the key 'update' endpoint and restricts updates to the key 'metadata' property",
90
94
  "manage:key:update:editPolicy" : "Allows access only to the key 'update' endpoint and restricts updates to the 'edit_policy' property",
91
95
  "manage:key:delete" : "Allows access only to the key 'delete' endpoint",
92
96
  "manage:policy:*" : "Allows access to all policy endpoints",
@@ -139,6 +143,7 @@ export const AllScopes: Record<ExplicitScope, string> =
139
143
  "manage:role:get:users" : "Allows access to the role 'list users' endpoint",
140
144
  "manage:role:list" : "Allows access only to the role 'list' endpoint",
141
145
  "manage:role:update:*" : "Allows access only to the role 'update' endpoint",
146
+ "manage:role:update:actions" : "Allows access only to the role 'update' endpoint, but restricting updates to the role 'actions' property",
142
147
  "manage:role:update:enabled" : "Allows access only to the role 'update' endpoint, but restricting updates to the role 'enabled' property",
143
148
  "manage:role:update:policy" : "Allows access only to the role 'update' endpoint, but restricting updates to the role 'policy' property",
144
149
  "manage:role:update:editPolicy" : "Allows access only to the role 'update' endpoint, but restricting updates to the role 'edit_policy' property",
@@ -161,6 +166,8 @@ export const AllScopes: Record<ExplicitScope, string> =
161
166
  "manage:org:audit:query" : "Allows access to retrieving org audit log",
162
167
  "manage:org:readonly" : "Allows access to all org readonly endpoints",
163
168
  "manage:org:addUser" : "Allows access only to the org endpoint for adding an OIDC user to the org",
169
+ "manage:org:invitation:list" : "Allows access only to the org endpoint for listing pending invitations",
170
+ "manage:org:invitation:cancel" : "Allows access only to the org endpoint for canceling pending invitations",
164
171
  "manage:org:inviteUser" : "Allows access only to the org endpoint for inviting a new member or org owner to the org",
165
172
  "manage:org:inviteAlien" : "Allows access only to the org endpoint for inviting a new alien user to the org",
166
173
  "manage:org:updateMembership" : "Allows access only to the org endpoint for updating existing user's org membership",
@@ -169,6 +176,27 @@ export const AllScopes: Record<ExplicitScope, string> =
169
176
  "manage:org:deleteUser" : "Allows access only to the org endpoint for deleting an OIDC user",
170
177
  "manage:org:get" : "Allows access to retrieving organization information",
171
178
  "manage:org:user:resetMfa" : "Allows an owner to initiate an MFA reset for a user",
179
+ "manage:org:update:*" : "Allows access to all org 'update' actions",
180
+ "manage:org:update:enabled" : "Allows updating the org 'enabled' property",
181
+ "manage:org:update:policy" : "Allows updating org-wide policies",
182
+ "manage:org:update:signPolicy" : "Allows updating org-wide sign policies",
183
+ "manage:org:update:export" : "Allows updating user-export settings (delay, window, disabled)",
184
+ "manage:org:update:totpFailureLimit" : "Allows updating the TOTP failure limit",
185
+ "manage:org:update:notificationEndpoints" : "Allows updating notification endpoints",
186
+ "manage:org:update:defaultInviteKind" : "Allows updating the default invite kind",
187
+ "manage:org:update:idpConfiguration" : "Allows updating IDP configuration",
188
+ "manage:org:update:passkeyConfiguration" : "Allows updating passkey configuration",
189
+ "manage:org:update:emailPreferences" : "Allows updating email preferences",
190
+ "manage:org:update:historicalData" : "Allows updating historical data configuration",
191
+ "manage:org:update:requireScopeCeiling" : "Allows updating the require_scope_ceiling setting",
192
+ "manage:org:update:alienLoginRequirement" : "Allows updating the alien login requirement",
193
+ "manage:org:update:memberLoginRequirement" : "Allows updating the member login requirement",
194
+ "manage:org:update:keyExportRequirement" : "Allows updating the key export requirement",
195
+ "manage:org:update:allowedMfaTypes" : "Allows updating allowed MFA types",
196
+ "manage:org:update:policyEngineConf" : "Allows updating the policy engine configuration",
197
+ "manage:org:update:customChains" : "Allows updating custom chains",
198
+ "manage:org:update:extProps" : "Allows updating extended org properties",
199
+ "manage:org:update:editPolicy" : "Allows updating the org's edit policy",
172
200
  "manage:session:*" : "Allows access to all session endpoints",
173
201
  "manage:session:readonly" : "Allows access to all session readonly endpoints",
174
202
  "manage:session:get" : "Allows access only to the session 'get' endpoint",
@@ -200,6 +228,11 @@ export const AllScopes: Record<ExplicitScope, string> =
200
228
  "mmi:*" : "Allows calls to the MMI endpoint",
201
229
  "orgAccess:*" : "Allows access to certain orgs other than the current session's",
202
230
  "orgAccess:child:*" : "Allows a session to be used for access to orgs transitively parented by the session's org.",
231
+ "rpc:*" : "Allows access to the RPC API endpoint",
232
+ "rpc:createTransaction:*" : "Allows access to the RPC API endpoint, but only for the 'cs_createTransaction' function.",
233
+ "rpc:createTransaction:evm" : "Allows access to the RPC API endpoint, but only for the 'cs_createTransaction' function with an EVM transaction request.",
234
+ "rpc:getTransaction" : "Allows access to the RPC API endpoint, but only for the 'cs_getTransaction' function.",
235
+ "rpc:listTransactions" : "Allows access to the RPC API endpoint, but only for the 'cs_listTransactions' function.",
203
236
  };
204
237
 
205
238
  // Const for scope category labels