ConsentRequestInputSchema
const ConsentRequestInputSchema: ZodObject<{
client_id: ZodEnum<{
"modem-cli": "modem-cli";
}>;
code_challenge: ZodString;
code_challenge_method: ZodLiteral<"S256">;
device: ZodOptional<ZodString>;
expires_in: ZodDefault<ZodEnum<{
"1y": "1y";
"30d": "30d";
"7d": "7d";
"90d": "90d";
never: "never";
}>>;
intent: ZodDefault<ZodEnum<{
create: "create";
login: "login";
}>>;
modes: ZodDefault<ZodCodec<ZodString, ZodPipe<ZodArray<ZodString>, ZodArray<ZodEnum<{
live: "live";
sandbox: "sandbox";
}>>>>>;
name: ZodOptional<ZodString>;
permissions: ZodDefault<ZodCodec<ZodString, ZodPipe<ZodArray<ZodString>, ZodArray<ZodEnum<{
"accounts:read": "accounts:read";
"accounts:write": "accounts:write";
"api-keys:read": "api-keys:read";
"api-keys:write": "api-keys:write";
"backups:read": "backups:read";
"backups:write": "backups:write";
"customers:read": "customers:read";
"customers:write": "customers:write";
full: "full";
"logs:read": "logs:read";
"products:read": "products:read";
"products:write": "products:write";
"projects:read": "projects:read";
"projects:write": "projects:write";
read: "read";
"secrets-integrations:read": "secrets-integrations:read";
"secrets-integrations:write": "secrets-integrations:write";
"starred-items:read": "starred-items:read";
"starred-items:write": "starred-items:write";
"subscription-sign-ins:read": "subscription-sign-ins:read";
"subscription-sign-ins:write": "subscription-sign-ins:write";
}>>>>>;
projects: ZodDefault<ZodCodec<ZodString, ZodPipe<ZodUnion<readonly [ZodLiteral<"all">, ZodArray<ZodString>]>, ZodUnion<readonly [ZodLiteral<"all">, ZodArray<ZodUUID>]>>>>;
redirect_uri: ZodString;
replaces: ZodOptional<ZodUUID>;
state: ZodString;
}, $strict>;The consent page’s query. Lists are separated by commas or spaces.
Last updated on