Sindbad~EG File Manager
/**
* @swagger
* components:
* schemas:
* ContractorUnderwriting:
* type: object
* properties:
* number_of_full_time_staff:
* type: number
* number_of_part_time_staff:
* type: number
* percent_of_work_subcontracted:
* type: number
* work_contracted:
* type: string
* dollars_paid_to_subcontractors:
* type: string
* employee_oversight_radius:
* type: string
* roofing_percent:
* type: number
* renovation_percent:
* type: number
* maximum_excavation_depth:
* type: string
* grading_percent:
* type: number
* tree_trimming_percent:
* type: number
* snowplowing_percent:
* type: number
* painting_inside_percent:
* type: number
* painting_outside_percent:
* type: number
* scaffolding_height:
* type: string
* exterior_spray_percent:
* type: number
* commercial_roofing_percent:
* type: number
* residential_roofing_percent:
* type: number
* total_percent_work_residential:
* type: number
* total_percent_work_commercial:
* type: number
* new_construction_percent:
* type: number
* remodel_percent:
* type: number
* subcontractor_minimum_gl_limit_per_occurrence:
* type: string
* subcontractor_minimum_gl_limit_aggregate:
* type: string
* policy_id:
* type: string
* format: objectId
* example:
* number_of_full_time_staff: 10
* number_of_part_time_staff: 5
* percent_of_work_subcontracted: 20
* work_contracted: "Building construction"
* dollars_paid_to_subcontractors: "50000"
* employee_oversight_radius: "50 miles"
* roofing_percent: 15
* renovation_percent: 25
* maximum_excavation_depth: "10 feet"
* grading_percent: 30
* tree_trimming_percent: 5
* snowplowing_percent: 10
* painting_inside_percent: 20
* painting_outside_percent: 15
* scaffolding_height: "30 feet"
* exterior_spray_percent: 10
* commercial_roofing_percent: 40
* residential_roofing_percent: 60
* total_percent_work_residential: 55
* total_percent_work_commercial: 45
* new_construction_percent: 70
* remodel_percent: 30
* subcontractor_minimum_gl_limit_per_occurrence: "1000000"
* subcontractor_minimum_gl_limit_aggregate: "2000000"
* 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: ContractorUnderwriting
* description: Operations related to contractor underwriting information
*/
/**
* @swagger
* /contractor-underwriting/list:
* get:
* summary: Returns the list of binder information
* tags: [ContractorUnderwriting]
* 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/ContractorUnderwriting'
*/
/**
* @swagger
* /contractor-underwriting/add:
* post:
* summary: Create a new binder information entry
* tags: [ContractorUnderwriting]
* security:
* - bearerAuth: []
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/ContractorUnderwriting'
* responses:
* 201:
* description: The binder information entry was successfully created
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/ContractorUnderwriting'
*/
/**
* @swagger
* /contractor-underwriting/edit/{id}:
* put:
* summary: Update the contractor underwriting entry by ID
* tags: [ContractorUnderwriting]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the contractor underwriting entry
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/ContractorUnderwriting'
* responses:
* 200:
* description: The contractor underwriting entry was successfully updated
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/UpdateResponse'
*/
/**
* @swagger
* /contractor-underwriting/delete/{id}:
* delete:
* summary: Delete the contractor underwriting entry by ID
* tags: [ContractorUnderwriting]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the contractor underwriting entry
* responses:
* 200:
* description: The contractor 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