Sindbad~EG File Manager
/**
* @swagger
* components:
* schemas:
* GeneralLiabilityUnderWriting:
* type: object
* properties:
* medical_facilities:
* type: boolean
* radioactive_exposure_code:
* type: boolean
* hazardous_material_involved:
* type: boolean
* operation_change:
* type: boolean
* loaned_machinery:
* type: boolean
* water_exposure:
* type: boolean
* parking_facilities_ownership:
* type: boolean
* parking_change_reason:
* type: boolean
* recreation_facilities_provided:
* type: boolean
* swimming_pool_premises:
* type: boolean
* sporting_social_events_sponsored:
* type: boolean
* structural_alteration_contemplated:
* type: boolean
* demolition_exposure_contemplated:
* type: boolean
* question:
* type: array
* items:
* type: object
* properties:
* title:
* type: string
* response_number:
* type: string
* high_impact:
* type: boolean
* response:
* type: string
* policy_id:
* type: string
* format: objectId
* example:
* medical_facilities: true
* radioactive_exposure_code: false
* hazardous_material_involved: true
* operation_change: false
* loaned_machinery: true
* water_exposure: false
* parking_facilities_ownership: true
* parking_change_reason: false
* recreation_facilities_provided: true
* swimming_pool_premises: false
* sporting_social_events_sponsored: true
* structural_alteration_contemplated: false
* demolition_exposure_contemplated: true
* question:
* - title: "Are safety protocols in place?"
* response_number: "001"
* high_impact: true
* response: "Yes"
* - title: "Is there regular equipment maintenance?"
* response_number: "002"
* high_impact: false
* response: "Yes"
* policy_id: "605c72ef8f1b2e478c5e841e"
*
* 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: GeneralLiabilityUnderWriting
* description: Operations related to general liability underwriting information
*/
/**
* @swagger
* /general-liability-underwriting/list:
* get:
* summary: Returns the list of binder information
* tags: [GeneralLiabilityUnderWriting]
* 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/GeneralLiabilityUnderWriting'
*/
/**
* @swagger
* /general-liability-underwriting/add:
* post:
* summary: Create a new binder information entry
* tags: [GeneralLiabilityUnderWriting]
* security:
* - bearerAuth: []
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/GeneralLiabilityUnderWriting'
* responses:
* 201:
* description: The binder information entry was successfully created
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/GeneralLiabilityUnderWriting'
*/
/**
* @swagger
* /general-liability-underwriting/edit/{id}:
* put:
* summary: Update the general liability underwriting entry by ID
* tags: [GeneralLiabilityUnderWriting]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the general liability underwriting entry
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/GeneralLiabilityUnderWriting'
* responses:
* 200:
* description: The general liability underwriting entry was successfully updated
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/UpdateResponse'
*/
/**
* @swagger
* /general-liability-underwriting/delete/{id}:
* delete:
* summary: Delete the general liability underwriting entry by ID
* tags: [GeneralLiabilityUnderWriting]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the general liability underwriting entry
* responses:
* 200:
* description: The general liability underwriting 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