feat: add redirect uris for booking success, cancel and reschedule for a platform user (#14518)
* update typings * update prisma to include redirect uris for booking success, cancel and reschedule * update migrations * add input for uris and send them back in custom hook * display new uris * add type for enabling emails * update prisma schema and add migrations * chores * fixup * chore: fix style, remove console log, rewrite migration --------- Co-authored-by: Morgan Vernay <[email protected]> Co-authored-by: Morgan <[email protected]>
This commit is contained in:
7 files changed
+129
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { IsArray, IsOptional, IsString } from "class-validator";
|
||||
import { IsArray, IsBoolean, IsOptional, IsString } from "class-validator";
|
||||
|
||||
export class UpdateOAuthClientInput {
|
||||
@IsOptional()
|
||||
@@ -13,4 +13,20 @@ export class UpdateOAuthClientInput {
|
||||
@IsOptional()
|
||||
@IsString({ each: true })
|
||||
redirectUris?: string[] = [];
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
bookingRedirectUri?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
bookingCancelRedirectUri?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
bookingRescheduleRedirectUri?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
areEmailsEnabled?: boolean;
|
||||
}
|
||||
Reference in new issue
Block a user