Variable: GetManagementPermissionsSchema
ts
const GetManagementPermissionsSchema: ZodObject<{
apiToken.delete: ZodOptional<ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>;
apiToken.read: ZodOptional<ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>;
email.set: ZodOptional<ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>;
lifecycle.delete: ZodOptional<ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>;
lifecycle.enablement: ZodOptional<ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>;
profile: ZodOptional<ZodRecord<ZodString, ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<..., ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>>;
profile.read: ZodOptional<ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>;
profile.write: ZodOptional<ZodRecord<ZodString, ZodUnion<readonly [ZodObject<{
allowed: ZodLiteral<true>;
}, ApiObjectConfig<undefined>>, ZodObject<{
allowed: ZodLiteral<false>;
reason: ZodObject<{
key: ZodCustom<..., ...>;
}, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>]>>>;
}, ApiObjectConfig<undefined>>;Defined in: src/userManagement/models/getManagementPermissions.ts:6