Sindbad~EG File Manager
/**
* @swagger
* components:
* schemas:
* NamedInsured:
* type: object
* properties:
* name:
* type: string
* description: The name of the named-insured individual or entity
* company_id:
* type: string
* description: The ID of the company associated with the named-insured
* agency_id:
* type: string
* description: The ID of the agency associated with the named-insured
* legal_entity_code:
* type: string
* description: The legal entity code of the named-insured
* no_of_member_and_manager:
* type: string
* description: Number of members and managers in the named-insured entity
* tax_code:
* type: string
* description: The tax code associated with the named-insured
* education_level:
* type: string
* description: The education level of the named-insured individual
* citizenship:
* type: string
* description: The citizenship of the named-insured individual
* policy_id:
* type: string
* description: The ID of the policy associated with the named-insured
* example:
* name: "John Doe"
* company_id: "COMP123456"
* agency_id: "AGENCY98765"
* legal_entity_code: "LEC001"
* no_of_member_and_manager: "3"
* tax_code: "TAX001234"
* education_level: "Bachelor's Degree"
* citizenship: "US"
* policy_id: "666a1adb4a817baa96f0387a"
* securitySchemes:
* bearerAuth:
* type: http
* scheme: bearer
* bearerFormat: JWT
*/
/**
* @swagger
* tags:
* - name: NamedInsured
* description: Named Insured related operations
*/
/**
* @swagger
* /named-insured/list:
* get:
* summary: Returns the list of named-insured names
* tags: [NamedInsured]
* security:
* - bearerAuth: []
* parameters:
* - in: query
* name: policy_id
* schema:
* type: string
* required: false
* description: ID of the policy associated with the named-insured names
* responses:
* 200:
* description: The list of named-insured names
* content:
* application/json:
* schema:
* type: array
* items:
* $ref: '#/components/schemas/NamedInsured'
*/
/**
* @swagger
* /named-insured/add:
* post:
* summary: Create a new named-insured name
* tags: [NamedInsured]
* security:
* - bearerAuth: []
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/NamedInsured'
* responses:
* 201:
* description: The named-insured name was successfully created
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/NamedInsured'
*/
/**
* @swagger
* /named-insured/edit/{id}:
* put:
* summary: Update the named-insured name by ID
* tags: [NamedInsured]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The named-insured name ID
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/NamedInsured'
* responses:
* 200:
* description: The named-insured name was successfully updated
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/NamedInsured'
*/
/**
* @swagger
* /named-insured/delete/{id}:
* delete:
* summary: Delete the named-insured name by ID
* tags: [NamedInsured]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The named-insured name ID
* responses:
* 200:
* description: The named-insured name was successfully deleted
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/NamedInsured'
*/
"use strict";
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists