/* Options: Date: 2026-04-04 06:45:52 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRolesForAutomationNotifications.* //ExcludeTypes: //DefaultImports: */ export class GroupedListItemModel { public ListItemId: string; public Name: string; public GroupId: string; public GroupName: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.") export class GetRolesForAutomationNotificationsResponse { /** @description List of all roles (grouped by suite) that can be assigned to a notification. */ // @ApiMember(Description="List of all roles (grouped by suite) that can be assigned to a notification.") public AllRoles: GroupedListItemModel[]; /** @description List of roles that are already assigned to an email notification for the object, these should be excluded from being selected again. */ // @ApiMember(Description="List of roles that are already assigned to an email notification for the object, these should be excluded from being selected again.") public RolesUsedEmail: string[]; /** @description List of roles that are already assigned to an sms notification for the object, these should be excluded from being selected again. */ // @ApiMember(Description="List of roles that are already assigned to an sms notification for the object, these should be excluded from being selected again.") public RolesUsedSMS: string[]; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Get eligible roles for automation notifications */ // @Route("/automation/notification/{ObjectId}/roles", "GET") // @Api(Description="Get eligible roles for automation notifications") // @ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.") export class GetRolesForAutomationNotifications extends GetRolesForAutomationNotificationsResponse implements IReturn { /** @description Object the notification will be for. Used to exclude any currently assigned roles. */ // @ApiMember(Description="Object the notification will be for. Used to exclude any currently assigned roles.", ParameterType="path") public ObjectId: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'GetRolesForAutomationNotifications'; } public getMethod() { return 'GET'; } public createResponse() { return new GetRolesForAutomationNotificationsResponse(); } }