Sindbad~EG File Manager
/**
* @swagger
* components:
* schemas:
* BinderInfo:
* type: object
* properties:
* binder_no:
* type: string
* description: The unique identifier for the binder
* new_binder:
* type: boolean
* description: Indicates if the binder is new
* default: false
* non_standard_condition:
* type: boolean
* description: Specifies if the binder has non-standard conditions
* default: false
* binder_purpose:
* type: string
* description: The purpose of the binder
* binder_document:
* type: string
* description: The document associated with the binder
* binder_effective_date:
* type: string
* format: date
* description: The date when the binder becomes effective
* binder_effective_time:
* type: string
* description: The time when the binder becomes effective
* no_of_days:
* type: string
* description: Number of days the binder is effective
* binder_expiration_date:
* type: string
* format: date
* description: The expiration date of the binder
* binder_expiration_time:
* type: string
* description: The expiration time of the binder
* policy_id:
* type: string
* description: The ID of the associated policy
* example:
* binder_no: "binder1234"
* new_binder: true
* non_standard_condition: false
* binder_purpose: "Insurance Policy"
* binder_document: "Binder Document"
* binder_effective_date: "2024-01-01"
* binder_effective_time: "09:00 AM"
* no_of_days: "30"
* binder_expiration_date: "2024-01-31"
* binder_expiration_time: "05:00 PM"
* policy_id: "6789d98f6bc36cd891ccab49"
* UpdateResponse:
* type: object
* properties:
* message:
* type: string
* example: "Data updated successfully"
* DeleteResponse:
* type: object
* properties:
* message:
* type: string
* example: "Entry and related data deleted successfully"
* securitySchemes:
* bearerAuth:
* type: http
* scheme: bearer
* bearerFormat: JWT
*/
/**
* @swagger
* tags:
* - name: BinderInfo
* description: Operations related to binder information
*/
/**
* @swagger
* /binder-info/list:
* get:
* summary: Returns the list of binder information
* tags: [BinderInfo]
* security:
* - bearerAuth: []
* parameters:
* - in: query
* name: policy_id
* schema:
* type: string
* required: true
* description: ID of the policy
* responses:
* 200:
* description: The list of binder information
* content:
* application/json:
* schema:
* type: array
* items:
* $ref: '#/components/schemas/BinderInfo'
*/
/**
* @swagger
* /binder-info/add:
* post:
* summary: Create a new binder information entry
* tags: [BinderInfo]
* security:
* - bearerAuth: []
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/BinderInfo'
* responses:
* 201:
* description: The binder information entry was successfully created
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/BinderInfo'
*/
/**
* @swagger
* /binder-info/edit/{id}:
* put:
* summary: Update the binder information entry by ID
* tags: [BinderInfo]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the binder information entry
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/BinderInfo'
* responses:
* 200:
* description: The binder information entry was successfully updated
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/UpdateResponse'
*/
/**
* @swagger
* /binder-info/delete/{id}:
* delete:
* summary: Delete the binder information entry by ID
* tags: [BinderInfo]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the binder information entry
* responses:
* 200:
* description: The binder information entry 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