/* Options: Date: 2025-12-06 07:01:36 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateMyStaffRolesRequest.* //ExcludeTypes: //DefaultImports: */ export module BusinessApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IPost { } export enum StaffRole { Owner = 'Owner', Admin = 'Admin', Regular = 'Regular', } export enum BusinessRole { Owner = 'Owner', Manager = 'Manager', Sales = 'Sales', Marketing = 'Marketing', Other = 'Other', } export class UpdateMyStaffRoleDto { public businessId?: number; public placeId?: number; public role?: StaffRole; public businessRole?: BusinessRole; public delete?: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class StaffDto { public id?: number; public firstName?: string; public lastName?: string; public email?: string; public role?: StaffRole; public placeId?: number; public businessId?: number; public userId?: number; public placeName?: string; public businessName?: string; public mobileNumber: string; public businessRole?: BusinessRole; public lastActiveOn?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class UpdateMyStaffRolesResponse { public staff: StaffDto[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/staff/update_my_roles", "POST") export class UpdateMyStaffRolesRequest implements IReturn, IPost { public staff: UpdateMyStaffRoleDto[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateMyStaffRolesRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new UpdateMyStaffRolesResponse(); } } }