Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/docs.9/user/
Upload File :
Current File : /home/infinitibizsol/.trash/docs.9/user/emailSignature.js

/**
 * @swagger
 * components:
 *   schemas:
 *     EmailSignature:
 *       type: object
 *       required:
 *         - email_signature
 *       properties:
 *         email_signature:
 *           type: string
 *           description: The email service provider
 *       example:
 *         email_signature: "tester"
 *     EmailSigUpdateResponse:
 *       type: object
 *       properties:
 *         message:
 *           type: string
 *           example: "Data updated successfully"
 *     EmailSigDeleteResponse:
 *       type: object
 *       properties:
 *         message:
 *           type: string
 *           example: "entry_name and related data deleted successfully"
 *   securitySchemes:
 *     bearerAuth:
 *       type: http
 *       scheme: bearer
 *       bearerFormat: JWT
 */

/**
 * @swagger
 * tags:
 *   - name: EmailSignature
 *     description: Email signature related operations
 */

/**
 * @swagger
 * /email-signature/list:
 *   get:
 *     summary: Returns the list of email setups
 *     tags: [EmailSignature]
 *     security:
 *       - bearerAuth: []
 *     responses:
 *       200:
 *         description: The list of email setups
 *         content:
 *           application/json:
 *             schema:
 *               type: array
 *               items:
 *                 $ref: '#/components/schemas/EmailSignature'
 */

/**
 * @swagger
 * /email-signature/edit:
 *   put:
 *     summary: Update the email signature by user_id which will be taken from JWT token
 *     tags: [EmailSignature]
 *     security:
 *       - bearerAuth: []
 *     requestBody:
 *       required: true
 *       content:
 *         application/json:
 *           schema:
 *             $ref: '#/components/schemas/EmailSignature'
 *     responses:
 *       200:
 *         description: The email signature was successfully updated
 *         content:
 *           application/json:
 *             schema:
 *               $ref: '#/components/schemas/EmailSigUpdateResponse'
 */

/**
 * @swagger
 * /email-signature/delete:
 *   delete:
 *     summary: Delete the email signature by user_id which will be taken from JWT token
 *     tags: [EmailSignature]
 *     security:
 *       - bearerAuth: []
 *     responses:
 *       200:
 *         description: The email signature was successfully deleted
 *         content:
 *           application/json:
 *             schema:
 *               $ref: '#/components/schemas/DeleteResponse'
 */
"use strict";

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists