/** * #template_msg.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ export type PushNotificationTemplate = { /** The unique identifier for the template */ templateId: string; /** The title of the push notification template (mustache template supported) */ titleTemplate: string; /** The body text of the push notification template (mustache template supported) */ bodyTemplate: string; }; /** Request to register a template for an app */ export type RegisterTemplatesRequest = { /** The templates to register */ templates: PushNotificationTemplate[]; }; export type PushNotificationTemplateErrors = { /** The template ID that failed to register */ templateId: string; /** The error message describing why the template failed to register */ errorMessage: string; }; /** Response from registering a template */ export type RegisterTemplatesResponse = { /** Whether all templates were successfully registered */ success: boolean; /** Array of errors for templates that failed to register */ errors: PushNotificationTemplateErrors[]; }; export type GetTemplatesResponse = { /** The registered templates for the app */ templates: PushNotificationTemplate[]; }; //# sourceMappingURL=template_msg.d.ts.map