prividium 1.0.2 → 1.1.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.
@@ -25,6 +25,7 @@ export declare const adminUserSchema: z.ZodObject<{
25
25
  full_sequencer_rpc_access: "full_sequencer_rpc_access";
26
26
  full_read_access: "full_read_access";
27
27
  admin_read: "admin_read";
28
+ admin_write: "admin_write";
28
29
  org_users_manage: "org_users_manage";
29
30
  org_wallets_manage: "org_wallets_manage";
30
31
  org_rpc_access: "org_rpc_access";
@@ -4,6 +4,7 @@ const systemPermissionSchema = z.enum([
4
4
  'full_sequencer_rpc_access',
5
5
  'full_read_access',
6
6
  'admin_read',
7
+ 'admin_write',
7
8
  'org_users_manage',
8
9
  'org_wallets_manage',
9
10
  'org_rpc_access',
@@ -1,5 +1,5 @@
1
1
  export type AdminUserSource = 'oidc' | 'adminPanel' | 'tenant' | 'crypto_native' | 'm2m_app';
2
- export type AdminSystemPermission = 'contract_deployment' | 'full_sequencer_rpc_access' | 'full_read_access' | 'admin_read' | 'org_users_manage' | 'org_wallets_manage' | 'org_rpc_access' | 'rpc_read_eth_getBlockByNumber' | 'rpc_read_eth_getLogs' | 'rpc_read_eth_getTransactionByHash' | 'rpc_read_eth_getTransactionReceipt' | 'check_user_read_access' | 'contract_metadata_read';
2
+ export type AdminSystemPermission = 'contract_deployment' | 'full_sequencer_rpc_access' | 'full_read_access' | 'admin_read' | 'admin_write' | 'org_users_manage' | 'org_wallets_manage' | 'org_rpc_access' | 'rpc_read_eth_getBlockByNumber' | 'rpc_read_eth_getLogs' | 'rpc_read_eth_getTransactionByHash' | 'rpc_read_eth_getTransactionReceipt' | 'check_user_read_access' | 'contract_metadata_read';
3
3
  export interface AdminUserRole {
4
4
  roleName: string;
5
5
  systemPermissions?: Array<AdminSystemPermission>;