-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·24 lines (24 loc) · 188 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="OrangeHRM"/>
<title>OrangeHRM</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swagger-ui.css" />
</head>
<body>
<div id="app"></div>
<script src="https://unpkg.com/[email protected]/swagger-ui-bundle.js" crossorigin></script>
<script src="https://unpkg.com/[email protected]/swagger-ui-standalone-preset.js" crossorigin></script>
<script>
const spec = {"openapi":"3.1.0","info":{"title":"OrangeHRM Open Source : REST API v2 docs","version":"2.5.0"},"servers":[{"url":"{orangehrm-url}","variables":{"orangehrm-url":{"default":"https://opensource-demo.orangehrmlive.com/index.php"}}}],"paths":{"/api/v2/admin/educations/{id}":{"get":{"tags":["Admin/Education"],"operationId":"85d2fb1521689313e1903de8a061a5c5","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EducationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Education"],"operationId":"6769e5a43e5da9f99ec2b0af3c0cfcfe","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EducationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/educations":{"get":{"tags":["Admin/Education"],"operationId":"bbc76573c4c93471da0f0f965c06c221","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["e.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-SkillModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Education"],"operationId":"c766cd3bf4c9fbc024211a9163b21fc2","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SkillModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Education"],"operationId":"6aa0615d708abfa41c03d8baff1e1444","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/email-configuration":{"get":{"tags":["Admin/Email Configuration"],"operationId":"510d84c0525e60b623cd290f6def32c1","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmailConfigurationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Email Configuration"],"operationId":"78e7a202917547d3a627fadc8190561c","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"mailType":{"type":"string"},"sentAs":{"type":"string"},"smtpHost":{"type":"string"},"smtpPort":{"type":"integer"},"smtpUsername":{"type":"string"},"smtpPassword":{"type":"string"},"smtpAuthType":{"type":"string"},"smtpSecurityType":{"type":"string"},"testEmailAddress":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LanguageModel"},"meta":{"properties":{"testEmailStatus":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/email-subscriptions/{emailSubscriptionId}/subscribers":{"get":{"tags":["Admin/Email Configuration"],"operationId":"73565b0f61c6f9538a2a4d5871f26d7e","parameters":[{"in":"path","required":true,"name":"emailSubscriptionId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["emailSubscriber.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-EmailSubscriberModel"}},"meta":{"properties":{"total":{"type":"integer"},"name":{"description":"Name of the subscription","type":"string"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Email Configuration"],"operationId":"52b59990a3a4fa8f5a72bca80073330a","parameters":[{"in":"path","required":true,"name":"emailSubscriptionId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name","email"],"properties":{"name":{"type":"string"},"email":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmailSubscriberModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Email Configuration"],"operationId":"df98edd6a567b57edc67ba695b6ce151","parameters":[{"in":"path","required":true,"name":"emailSubscriptionId","schema":{"type":"integer"}}],"requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/email-subscriptions/{emailSubscriptionId}/subscribers/{id}":{"get":{"tags":["Admin/Email Configuration"],"operationId":"bc01f9130f327a4c22f0551aa0df5ec2","parameters":[{"in":"path","required":true,"name":"emailSubscriptionId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmailSubscriberModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Email Configuration"],"operationId":"dc15fa496254ffeef0b33f41203212fc","parameters":[{"in":"path","required":true,"name":"emailSubscriptionId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name","email"],"properties":{"name":{"type":"string"},"email":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmailSubscriberModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/email-subscriptions":{"get":{"tags":["Admin/Email Configuration"],"operationId":"fadff6b98a2052ab9e62389162630c86","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["emailSubscription.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-EmailSubscriptionModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/email-subscriptions/{id}":{"put":{"tags":["Admin/Email Configuration"],"operationId":"70c25099ae3c169d508e6c38bbb66f9d","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["enabled"],"properties":{"enabled":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmailSubscriptionModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/employment-statuses/{id}":{"get":{"tags":["Admin/Employment Status"],"operationId":"429181da6be791afc1d382af56ae2a95","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmploymentStatusModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Employment Status"],"operationId":"9da2a594f23eca19951698c93a7026fb","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmploymentStatusModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/employment-statuses":{"get":{"tags":["Admin/Employment Status"],"operationId":"a3e2a01cc4b944e0474fc2abc25e0bb2","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["es.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-EmploymentStatusModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Employment Status"],"operationId":"83b4b42188a5e15c866f9b2af5158b65","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-EmploymentStatusModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Employment Status"],"operationId":"d16a616af8009c9aedb6179f24f3ee5c","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/i18n/groups":{"get":{"tags":["Admin/I18N"],"operationId":"198ea5e0e7b39ee04163d6a87ffe16ee","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["g.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-I18NGroupModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/i18n/languages":{"get":{"tags":["Admin/I18N"],"operationId":"12c63d85495f1193419f52a307b1c512","parameters":[{"name":"activeOnly","in":"query","required":true,"schema":{"type":"boolean"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["l.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-I18NLanguageModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/i18n/languages/{id}":{"put":{"tags":["Admin/I18N"],"operationId":"08050308207a8bfa27f4f9b2a02de18d","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Empty body as the language is enabled without any parameters","type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-I18NLanguageModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/i18n/languages/{languageId}/translations":{"get":{"tags":["Admin/I18N"],"operationId":"4e82d18cc6f8e7a63280eaf673eec03a","parameters":[{"in":"path","required":true,"name":"languageId","schema":{"description":"a valid group id of I18N-Language","type":"integer"}},{"name":"sourceText","in":"query","required":false,"schema":{"type":"string"}},{"name":"translatedText","in":"query","required":false,"schema":{"type":"string"}},{"name":"groupId","in":"query","required":false,"schema":{"description":"a valid group id of I18N-Group","type":"integer"}},{"name":"onlyTranslated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["langString.value"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"langStringId":{"type":"integer"},"source":{"type":"boolean"},"note":{"type":"boolean"},"target":{"type":"boolean"},"module":{"type":"boolean"}},"type":"object"},"example":"langStringId: 59, note: null, source: \"Add Currency\", target: \"Valuta toevoegen\" "},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/i18n/languages/{languageId}/translations/bulk":{"put":{"tags":["Admin/I18N"],"operationId":"54776f7e3f429fb67e4508a6d3dbf45a","parameters":[{"in":"path","required":true,"name":"languageId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"langStringId":{"type":"integer"},"translatedValue":{"type":"string"}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LanguageModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/job-categories/{id}":{"get":{"tags":["Admin/Job Category"],"operationId":"92267b8fe6e6bc81d24464248c7766fc","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-JobCategoryModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Job Category"],"operationId":"528e73f88e7f52d445a6adaeaaaea786","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-JobCategoryModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/job-categories":{"get":{"tags":["Admin/Job Category"],"operationId":"e011a05a39e71bc00a1d66280e9a8dd4","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["jc.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-JobCategoryModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Job Category"],"operationId":"d95ec4f8edafb4e0420e77a5e4a2a8ec","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-JobCategoryModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Job Category"],"operationId":"d90359cf5c343f7b410adeeefcbd66a4","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/job-titles/{id}":{"get":{"tags":["Admin/Job Title"],"operationId":"82901db4e3011d9b1dd042af9c32a69a","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-JobTitleModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Job Title"],"operationId":"8c13143230f39306e333baf642ba15aa","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string","default":null},"note":{"type":"string","default":null},"currentJobSpecification":{"type":"string","default":null,"enum":["keepCurrent","deleteCurrent","replaceCurrent"]},"specification":{"$ref":"#/components/schemas/Base64AttachmentOrNull"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-JobTitleModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/job-titles":{"get":{"tags":["Admin/Job Title"],"operationId":"b31392a2eff8fe9c7462b04b29ec477f","parameters":[{"name":"activeOnly","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["jt.jobTitleName","jt.jobDescription"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-JobTitleModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Job Title"],"operationId":"9e1bc11321d2055f9d285e5e31c09803","requestBody":{"content":{"application/json":{"schema":{"required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string","default":null},"note":{"type":"string","default":null},"specification":{"$ref":"#/components/schemas/Base64AttachmentOrNull"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-JobTitleModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Job Title"],"operationId":"e092d0eca8ce27e8e98fbae8821c9fff","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/languages/{id}":{"get":{"tags":["Admin/Languages"],"operationId":"efbc3a36f29394ce293400d227f3883c","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LanguageModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Languages"],"operationId":"7d5eb8220959e25bd895346ed31068bf","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LanguageModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/languages":{"get":{"tags":["Admin/Languages"],"operationId":"82915d82dc6a5aca2421cd7ad22bc60c","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["l.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-LanguageModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Languages"],"operationId":"3e4731a11a28ec8532e199ad673f8e4e","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LanguageModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Languages"],"operationId":"20aed869185a5db7ee735aa9e544d10e","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/licenses/{id}":{"get":{"tags":["Admin/License"],"operationId":"3cc48a00e57d30d63d309c902079b64b","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LicenseModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/License"],"operationId":"287bddda16b605109dca1e2659325d28","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LicenseModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/licenses":{"get":{"tags":["Admin/License"],"operationId":"03a53a07a34349951de251029e6242b8","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["l.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-LicenseModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/License"],"operationId":"ad27ef2269c3ac527b9f2f2494ecd546","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LicenseModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/License"],"operationId":"8c350ac92f3881e427db011bf0dfffd4","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/localization}":{"get":{"tags":["Admin/Localization"],"operationId":"ea6f5e958e45a9c47a0736b51decc17c","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"dateFormat":{"type":"string","example":"Y-m-d"},"language":{"type":"string","example":"en_US"}},"type":"object"}}}}}},"put":{"tags":["Admin/Localization"],"operationId":"bc22ac38f8c49150e2451247110c6907","requestBody":{"content":{"application/json":{"schema":{"required":["dateFormat","language"],"properties":{"dateFormat":{"type":"string","example":"en_US,nl"},"language":{"type":"string","example":"m-d-Y,m-Y-d"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-MembershipModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/locations/{id}":{"get":{"tags":["Admin/Locations"],"operationId":"05b1f68377fa7c71dcd6a9e28c297e80","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LocationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Locations"],"operationId":"2f81ff665f2d45318e1e3ed3b54d52d3","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name","countryCode"],"properties":{"name":{"type":"string"},"countryCode":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"phone":{"type":"string"},"fax":{"type":"string"},"note":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LocationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/locations":{"get":{"tags":["Admin/Locations"],"operationId":"8343268f4bc99ff087c8e06a60f21802","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string"}},{"name":"city","in":"query","required":false,"schema":{"type":"string"}},{"name":"countryCode","in":"query","required":false,"schema":{"type":"string"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["location.name","location.city","location.phone","country.countryCode","country.countryName","noOfEmployees"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-LocationModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Locations"],"operationId":"384fc8a42ecd062f71d593dd195d41e0","requestBody":{"content":{"application/json":{"schema":{"required":["name","countryCode"],"properties":{"name":{"type":"string"},"countryCode":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"phone":{"type":"string"},"fax":{"type":"string"},"note":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-LocationModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Locations"],"operationId":"95f675fa221c6baa4bcf6f47817c9c5a","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/memberships/{id}":{"get":{"tags":["Admin/Memberships"],"operationId":"8fec1da1220b1a293fa1310beea0d71f","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-MembershipModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Memberships"],"operationId":"6860412ce055b9a8a92b0ccd281272e6","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-MembershipModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/memberships":{"get":{"tags":["Admin/Memberships"],"operationId":"a7967eeab860bbc0e18516d26bef99b8","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["m.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-MembershipModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Memberships"],"operationId":"c2d8f805a26e637ccda6af6897dff214","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-MembershipModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Memberships"],"operationId":"b5c130f5d3cf67bb980f5e63d7d60b0b","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/modules":{"get":{"tags":["Admin/Modules"],"operationId":"38d0d082395a6e77e8ffef58845b7110","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"description":"Module name and the boolean value to denote if it is enabled","type":"array","items":{"properties":{"admin":{"type":"boolean"},"pim":{"type":"boolean"},"leave":{"type":"boolean"},"time":{"type":"boolean"},"recruitment":{"type":"boolean"},"performance":{"type":"boolean"},"maintenance":{"type":"boolean"},"mobile":{"type":"boolean"},"directory":{"type":"boolean"},"claim":{"type":"boolean"}},"type":"object"},"example":"admin: true, pim: true, leave: false, time: true,..."}},"type":"object"}}}}}},"put":{"tags":["Admin/Modules"],"operationId":"23ce02051b453df978b66cd6389dd361","requestBody":{"content":{"application/json":{"schema":{"description":"Module name and the boolean value to denote if it is enabled","properties":{"admin":{"type":"boolean"},"pim":{"type":"boolean"},"leave":{"type":"boolean"},"time":{"type":"boolean"},"recruitment":{"type":"boolean"},"performance":{"type":"boolean"},"maintenance":{"type":"boolean"},"mobile":{"type":"boolean"},"directory":{"type":"boolean"},"claim":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"description":"Module name and the boolean value to denote if it is enabled","type":"array","items":{"properties":{"module":{"type":"boolean"}},"type":"object"},"example":"admin: true, pim: true, leave: true, time: true,..."}},"type":"object"}}}}}}},"/api/v2/admin/nationalities/{id}":{"get":{"tags":["Admin/Nationality"],"operationId":"ab18b3af5d863a2258efc91eeaaa9aba","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-NationalityModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Nationality"],"operationId":"616f50e3df42de2b20f2427a85d2de2a","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-NationalityModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/nationalities":{"get":{"tags":["Admin/Nationality"],"operationId":"2cac0a9d8cb989886ceaec815295aabb","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["n.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-NationalityModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Nationality"],"operationId":"5201e7b8b111fcd438add84606af38e7","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-NationalityModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Nationality"],"operationId":"4b43ff21d6c082714adaab2e3037bfb8","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/organization":{"get":{"tags":["Admin/Organization"],"operationId":"bf1a12357bc78b091cc5d38c166811ff","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-OrganizationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Organization"],"operationId":"bcd6907fb598a41cc0dec22b8b4a65cf","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"},"registrationNumber":{"type":"string"},"phone":{"type":"string"},"fax":{"type":"string"},"email":{"type":"string"},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"zipCode":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"note":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-OrganizationModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/pay-grades":{"get":{"tags":["Admin/Pay Grade"],"operationId":"9f59035e6709252faf9d4712d9cb4247","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["pg.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-PayGradeModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Pay Grade"],"operationId":"810953d540747a0027f6ff91bd47b194","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-PayGradeModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Pay Grade"],"operationId":"a4b3ad25e08dd8b085c22baaa0de5a28","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/pay-grades/{id}":{"get":{"tags":["Admin/Pay Grade"],"operationId":"170dbfdd60d49a054557ec042be38c4e","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-PayGradeModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Pay Grade"],"operationId":"9e8817ae3271b79174e16c1a8f2cd156","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-PayGradeModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/pay-grades/{payGradeId}/currencies/allowed":{"get":{"tags":["Admin/Pay Grade"],"operationId":"c93ff912dc0e9263048cc11e643a5f5d","parameters":[{"in":"path","required":true,"name":"payGradeId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["ct.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-CurrencyTypeModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/pay-grades/{payGradeId}/currencies/{id}":{"get":{"tags":["Admin/Pay Grade"],"operationId":"377952c5c93772527d760e3c47085e5d","parameters":[{"in":"path","required":true,"name":"payGradeId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-PayGradeCurrencyModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Pay Grade"],"operationId":"013acf48c1b924527141c384b761167e","parameters":[{"in":"path","required":true,"name":"payGradeId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["currencyId","maxSalary","minSalary"],"properties":{"currencyId":{"type":"string"},"maxSalary":{"type":"integer"},"minSalary":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-PayGradeCurrencyModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/pay-grades/{payGradeId}/currencies":{"get":{"tags":["Admin/Pay Grade"],"operationId":"c54f78c918d1cd1fb87c045a3673926b","parameters":[{"in":"path","required":true,"name":"payGradeId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["ct.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-PayGradeCurrencyModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Pay Grade"],"operationId":"c0a7f7732bd38fb7d722ba64dc1399d8","parameters":[{"in":"path","required":true,"name":"payGradeId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["currencyId","maxSalary","minSalary"],"properties":{"currencyId":{"type":"string"},"maxSalary":{"type":"integer"},"minSalary":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-PayGradeCurrencyModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Pay Grade"],"operationId":"848b7d545f55f29a1ba74a8ac4fc62ca","parameters":[{"in":"path","required":true,"name":"payGradeId","schema":{"type":"integer"}}],"requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/skills/{id}":{"get":{"tags":["Admin/Skills"],"operationId":"83d6677eee6bfc686f9acb4872f5889c","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SkillModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Skills"],"operationId":"564ed77b38de06b4d78c9c51f6516ba5","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SkillModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/skills":{"get":{"tags":["Admin/Skills"],"operationId":"125defa22276818a6b3ea797e99cb7c5","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["s.name","s.description"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-SkillModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Skills"],"operationId":"2918a048a7d51be1c718fe5dcb53a5a6","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SkillModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Skills"],"operationId":"d27e8b09e607aa8751393f73669d137e","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/subunits/{id}":{"get":{"tags":["Admin/Subunits"],"operationId":"067b39fbf4833d3cb747d53bb16e438e","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SubunitModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Subunits"],"operationId":"112597bf60c032f1b0107e1b057d3926","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"description":"String should be unique","type":"string"},"description":{"type":"string"},"unitId":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SubunitModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/subunits":{"get":{"tags":["Admin/Subunits"],"operationId":"0e5bb485356998f6b247a258b6b4651e","parameters":[{"name":"depth","in":"query","required":false,"schema":{"type":"string"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"list"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"description":"if request paraneter 'mode' is tree SubunitTreeModel is used","type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Admin-SubunitModel"},{"$ref":"#/components/schemas/Admin-SubunitTreeModel"}]}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Subunits"],"operationId":"a57fb2a76f4b226b1d87e1c5db65a6dc","requestBody":{"content":{"application/json":{"schema":{"required":["name","parentId"],"properties":{"name":{"description":"Should be unique","type":"string"},"description":{"type":"string"},"parentId":{"description":"Should be the id of the parent node","type":"integer","example":"1"},"unitId":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SubunitModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Subunits"],"operationId":"6c85492f4ed7e1339b150cd7e2234e5e","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-SubunitModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/users/{id}":{"get":{"tags":["Admin/Users"],"operationId":"2432cc3f752543898c0c12d9ee64b1cc","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-UserModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Users"],"operationId":"4f36fa0fdd47fd67ca3eb1d428898faa","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["username","password","status","userRoleId","empNumber"],"properties":{"username":{"type":"string"},"password":{"type":"string"},"status":{"type":"boolean"},"userRoleId":{"type":"integer"},"empNumber":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-UserModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/admin/users":{"get":{"tags":["Admin/Users"],"operationId":"fd0464032fd7005532330d3c03a5bb6a","parameters":[{"name":"username","in":"query","required":false,"schema":{"type":"string"}},{"name":"userRoleId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["u.userName","u.status","r.name","e.firstName","e.lastName","r.displayName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-UserModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Users"],"operationId":"a1957bb7a442629afbcad22cbda16afe","requestBody":{"content":{"application/json":{"schema":{"required":["username","password","status","userRoleId","empNumber"],"properties":{"username":{"type":"string"},"password":{"type":"string"},"status":{"type":"boolean"},"userRoleId":{"type":"integer"},"empNumber":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-UserModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Users"],"operationId":"4d3220dc7c7e0f827f005851ea92a424","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/validation/user-name":{"get":{"tags":["Admin/Users"],"operationId":"fc7310f41edc135e34680b25d1bcfda4","parameters":[{"name":"userName","in":"query","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"valid":{"type":"boolean"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/work-shifts":{"get":{"tags":["Admin/Work Shift"],"operationId":"3e7f3fff5888739f7336207f74eecff8","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["workShift.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Admin-WorkShiftModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Admin/Work Shift"],"operationId":"360d73130fdb3339fb45859619b4b093","requestBody":{"content":{"application/json":{"schema":{"required":["name","hoursPerDay","startTime","endTime"],"properties":{"name":{"type":"string"},"hoursPerDay":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"empNumbers":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-WorkShiftDetailedModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Admin/Work Shift"],"operationId":"ea4d9c8999e4f3838dcb3ab95085fad5","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/work-shifts/{id}":{"get":{"tags":["Admin/Work Shift"],"operationId":"ad2ede99f57470efc95ecf870dfbb090","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-WorkShiftDetailedModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Admin/Work Shift"],"operationId":"ea5a21109a895f90885efd2b9396a341","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name","hoursPerDay","startTime","endTime"],"properties":{"name":{"type":"string"},"hoursPerDay":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"empNumbers":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Admin-WorkShiftDetailedModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/work-shifts/employees":{"get":{"tags":["Admin/Work Shift"],"operationId":"9c6068119ef4da94926eb8a2eaa5e26b","parameters":[{"name":"nameOrId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.lastName","employee.firstName","employee.middleName","employee.empNumber","employee.employeeId","jobTitle.jobTitleName","empStatus.name","subunit.name","supervisor.firstName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Pim-EmployeeModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/configs":{"get":{"tags":["Attendance/Configuration"],"operationId":"a60d4b051a82baabe98269b54d907b34","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-AttendanceConfigurationModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Attendance/Configuration"],"operationId":"22e908f4369381292bebf10ac8ba4d7f","requestBody":{"content":{"application/json":{"schema":{"properties":{"canUserChangeCurrentTime":{"type":"boolean","example":"true"},"canUserModifyAttendance":{"type":"boolean","example":"false"},"canSupervisorModifyAttendance":{"type":"boolean","example":"false"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-AttendanceConfigurationModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/records/punch-in-overlaps":{"get":{"tags":["Attendance/Attendance Overlap Edit"],"operationId":"772483ebe1cbdf13317001d7cbf19609","parameters":[{"name":"recordId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"punchInTimezoneOffset","in":"query","required":true,"schema":{"type":"number"}},{"name":"punchInDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"punchInTime","in":"query","required":true,"schema":{"type":"string"}},{"name":"punchOutTimezoneOffset","in":"query","required":true,"schema":{"type":"number"}},{"name":"punchOutDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"punchOutTime","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"valid":{"type":"boolean"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/records/punch-out-overlaps":{"get":{"tags":["Attendance/Attendance Overlap Edit"],"operationId":"5e556fcb9cb5b774e404512856ecae36","parameters":[{"name":"recordId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"punchInTimezoneOffset","in":"query","required":true,"schema":{"type":"number"}},{"name":"punchInDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"punchInTime","in":"query","required":true,"schema":{"type":"string"}},{"name":"punchOutTimezoneOffset","in":"query","required":true,"schema":{"type":"number"}},{"name":"punchOutDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"punchOutTime","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"valid":{"type":"boolean"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/punch-in/overlaps":{"get":{"tags":["Attendance/Attendance Overlap"],"operationId":"16935bfc6a4990b7fa707c69853b246b","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"timezoneOffset","in":"query","required":true,"schema":{"type":"number"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"time","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"valid":{"type":"boolean"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/punch-out/overlaps":{"get":{"tags":["Attendance/Attendance Overlap"],"operationId":"5047b120ae7481ea66e209c268780d93","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"timezoneOffset","in":"query","required":true,"schema":{"type":"number"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"time","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"valid":{"type":"boolean"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/records/{id}":{"get":{"tags":["Attendance/Attendance Record"],"operationId":"cafd234b93cb0a1e498f8d1732b60945","parameters":[{"name":"id","in":"path","description":"Attendance Record Id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-DetailedAttendanceRecordModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Attendance/Attendance Record"],"operationId":"fa2e34488493d3e97d445d402f292bb0","parameters":[{"name":"id","in":"path","description":"Attendance Record Id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["date","name","time","timezoneOffset","timezoneName"],"properties":{"punchInDate":{"type":"string","format":"date"},"punchInTime":{"type":"string"},"punchInOffset":{"type":"number"},"punchInTimezoneName":{"type":"string"},"punchOutDate":{"type":"string","format":"date"},"punchOutTime":{"type":"string"},"punchOutOffset":{"type":"number"},"punchOutTimezoneName":{"type":"string"},"punchOutNote":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-AttendanceRecordModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"},"400":{"description":"Bad Request - punch in/out overlap","content":{"application/json":{"schema":{"properties":{"error":{}},"type":"object"}}}}}}},"/api/v2/attendance/current-datetime":{"get":{"tags":["Attendance/Current Date Time"],"operationId":"767cbc452d207f53513f0f4a87614491","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-DateTimeModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/employees/{empNumber}/records":{"get":{"tags":["Attendance/Employee Attendance"],"operationId":"0363fc1c323544247cbc699705a3b7b6","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}},{"name":"date","in":"query","required":false,"schema":{"type":"string"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["attendanceRecord.punchInUserTime"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Attendance-AttendanceRecordListModel"}},"meta":{"properties":{"total":{"type":"integer"},"sum":{"properties":{"hours":{"type":"integer"},"minutes":{"type":"integer"},"label":{"type":"string"}},"type":"object"}},"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Attendance/Employee Attendance"],"operationId":"8c918b15e19bf5ca04d52d10beb9e726","parameters":[{"in":"path","required":true,"name":"empNumber","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["date","name","time","timezoneOffset","timezoneName"],"properties":{"date":{"type":"string","format":"date"},"time":{"type":"string"},"timezoneOffset":{"type":"string"},"timezoneName":{"type":"string"},"note":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-AttendanceRecordModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Attendance/Employee Attendance"],"operationId":"35be750d33bbea0e3bdcb509944c739e","parameters":[{"in":"path","required":true,"name":"empNumber","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["date","name","time","timezoneOffset","timezoneName"],"properties":{"date":{"type":"string","format":"date"},"time":{"type":"string"},"timezoneOffset":{"type":"string"},"timezoneName":{"type":"string"},"note":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-AttendanceRecordModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Attendance/Employee Attendance"],"operationId":"97979931f9aaf8e91fffefbc0a2cd961","parameters":[{"in":"path","required":true,"name":"empNumber","schema":{"type":"integer"}}],"requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/attendance/employees/summary":{"get":{"tags":["Attendance/ Employee Attendance Summery"],"operationId":"4507cd49f52bca0e78512aff3e782c77","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.lastName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Attendance-EmployeeAttendanceSummeryListModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/attendance/records/latest":{"get":{"tags":["Attendance/Attendance Record Latest"],"operationId":"126f04c98020cc49c19c82fc9b2bcbb0","parameters":[{"name":"empNumber","in":"query","description":"Employee Number","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Attendance-EmployeeLatestAttendanceRecordModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/attendance/timezones":{"get":{"tags":["Attendance/Timezones"],"operationId":"53e4bcf94660e96bf0630c570d0c9dd7","parameters":[{"name":"timezoneName","in":"query","description":"Get single timezone details by sending timezoneName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"name":{"type":"string"},"label":{"type":"string"},"offset":{"type":"string"}},"type":"object"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/shares/{shareId}/comments/{commentId}":{"get":{"tags":["Buzz/Comments"],"operationId":"f2dffdcb7c087b0c53e6a63235585fee","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"commentId","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Buzz-BuzzCommentModel"},{"$ref":"#/components/schemas/Buzz-BuzzDetailedCommentModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Buzz/Comments"],"operationId":"6a4d7ed688c3f750b9e9ec2627f0bb8b","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"commentId","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed"]}}],"requestBody":{"content":{"application/json":{"schema":{"required":["text"],"properties":{"text":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Buzz-BuzzCommentModel"},{"$ref":"#/components/schemas/Buzz-BuzzDetailedCommentModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Buzz/Comments"],"operationId":"5809765272f7ec06827f0e932793a08a","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"commentId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"commentId":{"type":"integer"},"shareId":{"type":"integer"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/shares/{shareId}/comments":{"get":{"tags":["Buzz/Comments"],"operationId":"d7c4134c2f8bcaafef681140ed75988b","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed"]}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["comment.createdAtUtc"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Buzz-BuzzCommentModel"},{"$ref":"#/components/schemas/Buzz-BuzzDetailedCommentModel"}]}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Buzz/Comments"],"operationId":"a1044c6dede12d228dba2d2315915245","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed"]}}],"requestBody":{"content":{"application/json":{"schema":{"required":["text"],"properties":{"text":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Buzz-BuzzCommentModel"},{"$ref":"#/components/schemas/Buzz-BuzzDetailedCommentModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/feed":{"get":{"tags":["Buzz/Feed"],"operationId":"c06a0bfc6e9d1c3c2ea059272c464cab","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["share.createdAtUtc","share.numOfLikes","share.numOfComments"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Buzz-FeedPostModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/comments/{commentId}/likes":{"get":{"tags":["Buzz/Like on Comments"],"operationId":"09061f68780f08e5aff952a8a8333cd6","parameters":[{"in":"path","required":true,"name":"commentId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["commentLike.id","commentLike.likedAtUtc"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Buzz-BuzzLikeOnCommentModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Buzz/Like on Comments"],"operationId":"2bffd0e473ac0a5fc0494391dcef9fdb","parameters":[{"in":"path","required":true,"name":"commentId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Buzz-BuzzLikeOnCommentModel"},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"400":{"description":"Bad Request - Liking a comment that is already liked","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"status":{"type":"string","default":"400"},"message":{"type":"string","default":"Already liked"}},"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Buzz/Like on Comments"],"operationId":"48e54f6735c2870a4bdb0713e357ef87","parameters":[{"in":"path","required":true,"name":"commentId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"commentId":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"400":{"description":"Bad Request - Unlike a comment that is not liked","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"status":{"type":"string","default":"400"},"messsage":{"type":"string","default":"Not previously liked"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/shares/{shareId}/likes":{"get":{"tags":["Buzz/Like on Shares"],"operationId":"eadc93c4e262627efcfe2c0d4053f3e2","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["shareLike.id","shareLike.likedAtUtc"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Buzz-BuzzLikeOnShareModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Buzz/Like on Shares"],"operationId":"6910ac7fb5988651d12aa565f1469f70","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Buzz-BuzzLikeOnShareModel"},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"400":{"description":"Bad Request - Liking a post that is already liked","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"status":{"type":"string","default":"400"},"message":{"type":"string","default":"Already liked"}},"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Buzz/Like on Shares"],"operationId":"66e5aad8547d6b9e792b59c33c5bc624","parameters":[{"in":"path","required":true,"name":"shareId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"shareId":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"400":{"description":"Bad Request - Unlike a post that is not liked","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"status":{"type":"string","default":"400"},"message":{"type":"string","default":"Not previously liked"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/posts":{"post":{"tags":["Buzz/Shares"],"operationId":"82f7206bf94534c2016fe988536e2a25","requestBody":{"content":{"application/json":{"schema":{"required":["title","type"],"type":"object","oneOf":[{"$ref":"#/components/schemas/Buzz-Post-Text"},{"$ref":"#/components/schemas/Buzz-Post-Photo"},{"$ref":"#/components/schemas/Buzz-Post-Video"}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Buzz-PostModel"},{"$ref":"#/components/schemas/Buzz-FeedPostModel"}]}},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/posts/{id}":{"get":{"tags":["Buzz/Shares"],"operationId":"4a7db44d679437c86a3196664da2a974","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Buzz-PostModel"},{"$ref":"#/components/schemas/Buzz-FeedPostModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Buzz/Shares"],"operationId":"d16d3e08ac5294f8ede6fdf24619529f","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed"]}}],"requestBody":{"content":{"application/json":{"schema":{"required":["title","type"],"type":"object","oneOf":[{"$ref":"#/components/schemas/Buzz-Post-Text-Edit"},{"$ref":"#/components/schemas/Buzz-Post-Photo-Edit"},{"$ref":"#/components/schemas/Buzz-Post-Video-Edit"}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Buzz-PostModel"},{"$ref":"#/components/schemas/Buzz-FeedPostModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/posts/{id}/shares":{"get":{"tags":["Buzz/Post Shares"],"operationId":"373c24ed1651d64501031e8bd952fbf2","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":[]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Buzz-ShareModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/shares":{"post":{"tags":["Buzz/Shares"],"operationId":"49c284bb13a8de84b2978b4a36c270fc","requestBody":{"content":{"application/json":{"schema":{"required":["shareId"],"properties":{"text":{"type":"string"},"shareId":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Buzz-ShareModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/shares/{id}":{"put":{"tags":["Buzz/Shares"],"operationId":"849245a17bcb423a9d3399ee68fc59ac","requestBody":{"content":{"application/json":{"schema":{"properties":{"text":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Buzz-ShareModel"},{"$ref":"#/components/schemas/Buzz-FeedPostModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Buzz/Shares"],"operationId":"52b088963706cdb5c045c5e5b4335dc9","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"shareId":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/validation/links":{"get":{"tags":["Buzz/Validation"],"operationId":"453ccc6adc2db17e6787e53c0e57eb5c","parameters":[{"in":"query","required":true,"name":"link","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"url":{"type":"string"},"embeddedURL":{"type":"string"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/buzz/anniversaries":{"get":{"tags":["Buzz/Employee Anniversary"],"operationId":"075238132d471eeb2d5399804025f541","parameters":[{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Buzz-EmployeeAnniversaryModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/claim/requests/{requestId}/attachments":{"get":{"tags":["Claim/Attachments"],"operationId":"11647181edaaf86e0ed18d55058782f9","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":[]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Claim-AttachmentModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Claim/Attachments"],"operationId":"7064e2c6311f0625ea0a6f38b194376c","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["attachment"],"properties":{"description":{"type":"string"},"attachment":{"$ref":"#/components/schemas/Base64Attachment"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-AttachmentModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Claim/Attachments"],"operationId":"b091708a74f1afcfb5951a1692ccdde9","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"ids":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"type":"integer"}},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/claim/requests/{requestId}/attachments/{id}":{"get":{"tags":["Claim/Attachments"],"operationId":"c7500cfc34af7fc9a4e7ab86bd7395a5","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-AttachmentModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Claim/Attachments"],"operationId":"401dd85c9b8e7aeace52f765a81ca185","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"attachment":{"$ref":"#/components/schemas/Base64Attachment"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-AttachmentModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/claim/events":{"get":{"tags":["Claim/Events"],"operationId":"2e9ae52311ed89c4c21d50638ea5e599","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["claimEvent.name","claimEvent.status"]}},{"name":"status","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}},{"name":"eventId","in":"query","required":false,"schema":{"type":"integer"}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Claim-ClaimEventModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Claim/Events"],"operationId":"56cfefe15124edb26bafb4ec454c9a51","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ClaimEventModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Claim/Events"],"operationId":"1944e5913a6ca6671123791444459701","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/claim/events/{id}":{"get":{"tags":["Claim/Events"],"operationId":"3ed657bf5795d476f4561b580c51e393","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ClaimEventModel"},"meta":{"properties":{"canEdit":{"type":"boolean"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Claim/Events"],"operationId":"5e72b9b9ed56c90d5adbafed225ce2a4","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ClaimEventModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/claim/requests/{requestId}/expenses":{"get":{"tags":["Claim/Expenses"],"operationId":"062a82e3332d6b67166955ca1824aa95","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":[]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Claim-ExpenseModel"}},"meta":{"properties":{"total":{"type":"integer"},"totalAmount":{"type":"number"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Claim/Expenses"],"operationId":"d8c0bcca33c54ba8b349af5eb30af20b","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name","expenseTypeId","amount","requestId","date"],"properties":{"expenseTypeId":{"type":"integer"},"amount":{"type":"number","format":"float"},"requestId":{"type":"integer"},"note":{"type":"string"},"date":{"type":"string","format":"date-time"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ExpenseModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Claim/Expenses"],"operationId":"fc3a1726f6c3b4c95f89e988159bf805","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}}],"requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/claim/requests/{requestId}/expenses/{id}":{"get":{"tags":["Claim/Expenses"],"operationId":"da2800abe1c5a446cbe6048fab37c674","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ExpenseModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Claim/Expenses"],"operationId":"d5ee595bc0d6444396ff5991bc176e6c","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"expenseTypeId":{"type":"integer"},"date":{"type":"string"},"amount":{"type":"number","format":"float"},"note":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ExpenseModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/claim/expenses/types":{"get":{"tags":["Claim/ExpenseTypes"],"operationId":"dffcaedc7f44ee86f0b1fc26c0c2a431","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["expenseType.name","expenseType.status"]}},{"name":"expenseTypeId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"boolean"}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Claim-ExpenseTypeModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Claim/ExpenseTypes"],"operationId":"7c887f0cd85979301d12baf46477ec9a","requestBody":{"content":{"application/json":{"schema":{"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ExpenseTypeModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Claim/ExpenseTypes"],"operationId":"1bd0cf6628af30474a62760fb5823a1d","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/claim/expenses/types/{id}":{"get":{"tags":["Claim/ExpenseTypes"],"operationId":"cd37212d29521bf01ed1ce34a1645d3b","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ExpenseTypeModel"},"meta":{"properties":{"canEdit":{"type":"boolean"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Claim/ExpenseTypes"],"operationId":"391476483c84419988a5b62c849d7689","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-ExpenseTypeModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/claim/requests/{requestId}/action":{"put":{"tags":["Claim/Requests"],"operationId":"67d2d3e9491002718b96c1c10af5aa8f","parameters":[{"in":"path","required":true,"name":"requestId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"action":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-RequestModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/claim/employees/{empNumber}/requests":{"post":{"tags":["Claim/Requests"],"operationId":"263b9d1fd932e25be87f765ae6b69e9b","parameters":[{"in":"path","required":true,"name":"empNumber","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["claimEventId","currency"],"properties":{"claimEventId":{"type":"integer"},"currencyId":{"type":"string"},"remarks":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-RequestModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/claim/employees/requests":{"get":{"tags":["Claim/Requests"],"operationId":"cf0c9da96eccc11c6f0359adafbc0153","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["claimRequest.referenceId","claimRequest.status","claimEvent.name","claimRequest.submittedDate","employee.firstName"]}},{"name":"referenceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["INITIATED","SUBMITTED","APPROVED","REJECTED","CANCELLED","PAID"]}},{"name":"eventId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeEmployees","in":"query","required":false,"schema":{"type":"string","enum":["onlyCurrent","onlyPast","currentAndPast"]}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","summary"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Claim-EmployeeClaimRequestModel"},{"$ref":"#/components/schemas/Claim-ClaimRequestSummaryModel"}]}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/claim/employees/{empNumber}/requests/{id}":{"get":{"tags":["Claim/Requests"],"operationId":"4c9a7e01ff748f92bd703b997a4aa20b","parameters":[{"in":"path","required":true,"name":"empNumber","schema":{"type":"integer"}},{"name":"id","in":"path","description":"Claim Request Id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-RequestModel"},"meta":{"properties":{"allowedActions":{"type":"array","items":{"type":"object"}},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/claim/requests":{"get":{"tags":["Claim/Requests"],"operationId":"8bedb8356ac4bcfbeacdb974ef224e79","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["claimRequest.referenceId","claimRequest.status","claimEvent.name","claimRequest.submittedDate"]}},{"name":"referenceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["INITIATED","SUBMITTED","APPROVED","REJECTED","CANCELLED","PAID"]}},{"name":"eventId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","summary"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Claim-MyClaimRequestModel"},{"$ref":"#/components/schemas/Claim-ClaimRequestSummaryModel"}]}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Claim/Requests"],"operationId":"8edbeebeadfb46f5b4bebbdcec70d637","requestBody":{"content":{"application/json":{"schema":{"required":["claimEventId","currency"],"properties":{"claimEventId":{"type":"integer"},"currencyId":{"type":"string"},"remarks":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-RequestModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/claim/requests/{id}":{"get":{"tags":["Claim/Requests"],"operationId":"97cd30eb598b03796ee9d82f1d0e1ce3","parameters":[{"name":"id","in":"path","description":"Claim Request Id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Claim-RequestModel"},"meta":{"properties":{"allowedActions":{"type":"array","items":{"type":"object"}},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/admin/oauth-clients":{"get":{"tags":["OAuth/OAuth Clients"],"operationId":"204ee67d055ba19e6762d66d343d4075","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["oauthClient.id"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OAuth-OAuthClientModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["OAuth/OAuth Clients"],"operationId":"ffc3d1626a666a3d8adaf3a6f60fbd9d","requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"redirectUri":{"type":"string"},"enabled":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/OAuth-OAuthClientModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["OAuth/OAuth Clients"],"operationId":"8f8df5c0435dcfc0b7258b17acd31943","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/admin/oauth-client/{id}":{"get":{"tags":["OAuth/OAuth Clients"],"operationId":"db7b9853616ff9865b2a6bb1426ef6e3","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/OAuth-OAuthClientModel"},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"put":{"tags":["OAuth/OAuth Clients"],"operationId":"b2c0e0b18e086f94dd5ea4aa2c200ab3","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"redirectUri":{"type":"string"},"enabled":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/OAuth-OAuthClientModel"},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/dashboard/employees/action-summary":{"get":{"tags":["Dashboard"],"operationId":"9a610da72f5b0e64ac958041871e4e51","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer","example":"1"},"group":{"type":"string","example":"Leave Requests To Approve"},"pendingActionCount":{"type":"integer","example":"1"}},"type":"object"}}}}}}},"/api/v2/dashboard/employees/locations":{"get":{"tags":["Dashboard"],"operationId":"a8ff5ff5f6567a970cf75dd0586b8f26","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Dashboard-LocationModel"}},"meta":{"properties":{"otherEmployeeCount":{"type":"integer"},"unassignedEmployeeCount":{"type":"integer"},"totalLocationCount":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/dashboard/employees/subunit":{"get":{"tags":["Dashboard"],"operationId":"760c96535620fd1a5e4d20b50ab7a21e","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Dashboard-SubunitModel"}},"meta":{"properties":{"otherEmployeeCount":{"type":"integer"},"unassignedEmployeeCount":{"type":"integer"},"totalSubunitCount":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/dashboard/employees/leaves":{"get":{"tags":["Dashboard"],"operationId":"f0a7d6872b10a773626d7a75751014e1","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["leaveList.date","employee.firstName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Dashboard-EmployeeOnLeaveListModel"}},"meta":{"properties":{"total":{"type":"integer"},"leavePeriodDefined":{"type":"boolean"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/dashboard/config/employee-on-leave-today":{"get":{"tags":["Dashboard"],"operationId":"1af47a94701212d2a90eb270ccf7a549","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"showOnlyAccessibleEmployeesOnLeaveToday":{"type":"boolean","example":"false"}},"type":"object"}}}}}},"put":{"tags":["Dashboard"],"operationId":"fc4272ae079bc12d27559b3a06b35eda","requestBody":{"content":{"application/json":{"schema":{"required":["showOnlyAccessibleEmployeesOnLeaveToday"],"properties":{"showOnlyAccessibleEmployeesOnLeaveToday":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"showOnlyAccessibleEmployeesOnLeaveToday":{"type":"boolean","example":"true"}},"type":"object"}}}}}}},"/api/v2/dashboard/employees/time-at-work":{"get":{"tags":["Dashboard"],"operationId":"73d75411b47c18ae873ceae185a1f045","parameters":[{"name":"currentDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"currentTime","in":"query","required":false,"schema":{"type":"string"}},{"name":"timezoneOffset","in":"query","required":false,"schema":{"type":"number"}},{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"workDay":{"properties":{"id":{"type":"string","example":"1"},"day":{"type":"string","example":"Mon"},"date":{"type":"number","example":"2023-05-10"}},"type":"object"},"totalTime":{"properties":{"hours":{"type":"integer"},"minutes":{"type":"integer"}},"type":"object"}},"type":"object"}},"meta":{"properties":{"lastAction":{"properties":{"state":{"type":"string"},"utcDate":{"type":"string"},"utcTime":{"type":"boolean"},"userDate":{"type":"string"},"userTime":{"type":"string"},"timezoneOffset":{"type":"boolean"}},"type":"object"},"currentDay":{"properties":{"currentDay":{"properties":{"date":{"type":"string"},"label":{"type":"string"}},"type":"object"},"totalTime":{"properties":{"hours":{"type":"integer"},"minutes":{"type":"integer"}},"type":"object"}},"type":"object"},"currentWeek":{"properties":{"startDate":{"properties":{"date":{"type":"string"},"label":{"type":"string"}},"type":"object"},"endDate":{"properties":{"date":{"type":"string"},"label":{"type":"string"}},"type":"object"},"totalTime":{"properties":{"hours":{"type":"integer"},"minutes":{"type":"integer"}},"type":"object"}},"type":"object"},"currentUser":{"properties":{"empNumber":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/dashboard/shortcuts":{"get":{"tags":["Dashboard"],"operationId":"d6cdb58712aa30c427b92bea35d038fa","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"leave.assign_leave":{"type":"boolean","example":"true"},"leave.leave_list":{"type":"boolean","example":"true"},"leave.apply_leave":{"type":"boolean","example":"true"},"leave.my_leave":{"type":"boolean","example":"true"},"time.employee_timesheet":{"type":"boolean","example":"true"},"time.my_timesheet":{"type":"boolean","example":"true"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/leave/leave-types/eligible":{"get":{"tags":["Leave/Eligible Leave"],"operationId":"736d5cc655131f0af7252063794f2468","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"includeAllocated","in":"query","required":false,"schema":{"type":"boolean","default":"false"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveTypeModel"},"meta":{"properties":{"empNumber":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/leave/employees/leaves":{"get":{"tags":["Leave/Employee Leave"],"operationId":"8958a2b4283fccdfb0f77b6a6bf8c67e","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeEmployees","in":"query","required":false,"schema":{"type":"string","enum":["onlyCurrent","onlyPast","currentAndPast"]}},{"name":"statuses","in":"query","description":"-1 => rejected, 0 => cancelled, 1 => pending, 2 => approved, 3 => taken","required":false,"schema":{"type":"integer","enum":[-1,0,1,2,3]}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["leave.date"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Leave-EmployeeLeaveModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/leave/employees/leave-balances":{"get":{"tags":["Leave/Leave Balance"],"operationId":"0a18a21f1ad3613c1faf362e0fc3ef1c","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"string"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["leaveType.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Leave-EmployeeLeaveBalanceModel"}},"meta":{"properties":{"total":{"type":"integer"},"empNumber":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/leave/employees/{empNumber}/leave-entitlements":{"get":{"tags":["Leave/Entitlements"],"operationId":"eef5dec09cd53f34d6ee73d7e90d9d74","parameters":[{"in":"path","required":true,"name":"empNumber","schema":{"type":"integer"}},{"name":"leaveTypeId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"toDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"entitlement","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-EmployeeLeaveEntitlementModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/employees/leave-entitlements":{"get":{"tags":["Leave/Entitlements"],"operationId":"fa36006fb334e788a61ee6ec7de05895","parameters":[{"name":"leaveTypeId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"toDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"entitlement","in":"query","required":true,"schema":{"type":"integer"}},{"name":"locationId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"subunitId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.lastName","employee.firstName","employee.middleName","employee.empNumber","employee.employeeId","jobTitle.jobTitleName","empStatus.name","subunit.name","supervisor.firstName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-BulkLeaveEntitlementMatchingEmployeeModel"},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/holidays/{id}":{"get":{"tags":["Leave/Configure"],"operationId":"7f998de827612ca2768f0e283526211b","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-HolidayModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Leave/Configure"],"operationId":"ba46d386f9436345bc052c208ecd4b31","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"date":{"type":"number"},"length":{"description":"0 - working day, 4 - half day","type":"integer","enum":[0,4]},"name":{"type":"string"},"recurring":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-HolidayModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/holidays":{"get":{"tags":["Leave/Configure"],"operationId":"09fa2c3cd5b6f4a1385e367c6d2a43d5","parameters":[{"name":"toDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"fromDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["holiday.date"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-HolidayModel"},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"post":{"tags":["Leave/Configure"],"operationId":"f80ad7066d189cb061ef568135b85ecb","requestBody":{"content":{"application/json":{"schema":{"properties":{"date":{"type":"number"},"length":{"description":"0 - working day, 4 - half day","type":"integer","enum":[0,4]},"name":{"type":"string"},"recurring":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-HolidayModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Leave/Configure"],"operationId":"a0c43f8be965e36e51e1869e1f9837e6","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/leave/leave-balance/leave-type/{leaveTypeId}":{"get":{"tags":["Leave/Leave Balance"],"operationId":"da8b7c411df3c7818362233fc5421744","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}},{"name":"empNumber","in":"query","description":"Not needed if getting the leave balance of logged in user","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"balance":{"properties":{"asAtDate":{"type":"number","example":"2022-10-01"},"balance":{"type":"integer"},"endDate":{"type":"number","example":"2022-12-31"},"entitled":{"type":"integer"},"pending":{"type":"integer"},"scheduled":{"type":"integer"},"taken":{"type":"integer"},"used":{"type":"integer"}},"type":"object"}},"type":"object"}},"meta":{"properties":{"employee":{"$ref":"#/components/schemas/Pim-EmployeeModel"},"leaveType":{"$ref":"#/components/schemas/Leave-LeaveTypeModel"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/leave-entitlements/{id}":{"get":{"tags":["Leave/Entitlements"],"operationId":"397e09f96fb29ef01b5c0bad6461a8eb","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","summary"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Leave-LeaveEntitlementModel"},{"$ref":"#/components/schemas/Leave-LeaveEntitlementSummaryModel"}]},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Leave/Entitlements"],"operationId":"1b70f41994af4f4165ec5d4cd1b2d57e","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"entitlement":{"type":"integer"},"fromDate":{"type":"number"},"toDate":{"type":"number"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveEntitlementModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/leave-entitlements":{"get":{"tags":["Leave/Entitlements"],"operationId":"a2aecda8e05109d6fdd00781927b30f2","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"leaveTypeId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"string"}},{"name":"leaveTypeDeleted","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["entitlement.fromDate","leaveType.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","summary"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Leave-LeaveEntitlementModel"},{"$ref":"#/components/schemas/Leave-LeaveEntitlementSummaryModel"}]}},"meta":{"properties":{"total":{"type":"number"},"sum":{"type":"number"},"fromDate":{"type":"string"},"toDate":{"type":"string"},"empNumber":{"type":"integer"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"post":{"tags":["Leave/Entitlements"],"operationId":"a68ab28e984ab792df1bcbb04e5e8d06","requestBody":{"content":{"application/json":{"schema":{"required":["entitlement","subunitId","toDate","integer"],"properties":{"empNumber":{"description":"If not buk assign this is require","type":"integer"},"entitlement":{"type":"integer"},"fromDate":{"type":"number"},"toDate":{"type":"number"},"leaveTypeId":{"type":"integer"},"bulkAssign":{"type":"boolean"},"locationId":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveEntitlementModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Leave/Entitlements"],"operationId":"cf47bdfc1a0b3ea8888d57972d535717","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/leave/leave-period":{"get":{"tags":["Leave/Configure"],"operationId":"a075eb9196d5ae3e669c5af34b0f2db6","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeavePeriodHistoryModel"},"meta":{"properties":{"currentLeavePeriod":{"$ref":"#/components/schemas/Leave-LeavePeriodModel"},"leavePeriodDefined":{"type":"boolean"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Leave/Configure"],"operationId":"31f1b5c62765fcb8b108b3416b8ed8d5","requestBody":{"content":{"application/json":{"schema":{"properties":{"startDay":{"type":"integer"},"startMonth":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeavePeriodHistoryModel"},"meta":{"properties":{"currentLeavePeriod":{"$ref":"#/components/schemas/Leave-LeavePeriodModel"},"leavePeriodDefined":{"type":"boolean"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/leave-periods":{"get":{"tags":["Leave/Configure"],"operationId":"1bb9a9c5254add91bc6ec147c3b8c9ee","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeavePeriodModel"},"meta":{"properties":{"currentLeavePeriod":{"$ref":"#/components/schemas/Leave-LeavePeriodModel"},"leavePeriodDefined":{"type":"boolean"}},"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/leave-types/{id}":{"get":{"tags":["Leave/Configure"],"operationId":"5411b0f871f28f736ce608fc67ffc0d7","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveTypeModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Leave/Configure"],"operationId":"0d4526d2f5e0b5b0ccefa72817060ca6","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"situational":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveTypeModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/leave/leave-types":{"get":{"tags":["Leave/Configure"],"operationId":"be9c28a1bf195782b32d6b8393f1b80d","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["leaveType.name"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveTypeModel"},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Leave/Configure"],"operationId":"98a6a6e60b48b74c9bede587408aa56f","requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"situational":{"type":"boolean","default":"false"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveTypeModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Leave/Configure"],"operationId":"607319bd2f4f7159e572a50f0a2501d7","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/leave/leave-requests/{leaveRequestId}":{"get":{"tags":["Leave/My Leave"],"operationId":"e112df8562a75a168ec80f0c1da9c69a","parameters":[{"in":"path","required":true,"name":"leaveRequestId","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","enum":["default","detailed"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Leave-LeaveRequestDetailedModel"},{"$ref":"#/components/schemas/Leave-LeaveRequestModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Leave/My Leave"],"operationId":"f6392367b8cb1944817b89d50be11927","parameters":[{"in":"path","required":true,"name":"leaveRequestId","schema":{"type":"integer"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","enum":["default","detailed"]}}],"requestBody":{"content":{"application/json":{"schema":{"required":["action"],"properties":{"action":{"type":"string","enum":["APPROVE","REJECT","CANCEL"]}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Leave-LeaveRequestDetailedModel"},{"$ref":"#/components/schemas/Leave-LeaveRequestModel"}]},"meta":{"type":"object"}},"type":"object"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"error":{"oneOf":[{"properties":{"status":{"type":"string","default":"400"},"message":{"type":"string","default":"Performed action not allowed"}},"type":"object"},{"properties":{"status":{"type":"string","default":"400"},"message":{"type":"string","default":"Leave request has multiple statuses"}},"type":"object"}]}},"type":"object"}}}}}}},"/api/v2/leave/leave-requests":{"get":{"tags":["Leave/My Leave"],"operationId":"1ddc49d86dc0d86badbc3a2481989493","parameters":[{"name":"leaveTypeId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"toDate","in":"query","required":true,"schema":{"type":"number"}},{"name":"includeEmployees","in":"query","required":false,"schema":{"type":"string","enum":["onlyCurrent","onlyPast","currentAndPast"]}},{"name":"statuses","in":"query","description":"-1 => rejected, 0 => cancelled, 1 => pending, 2 => approved, 3 => taken","required":false,"schema":{"type":"integer","enum":[-1,0,1,2,3]}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["leave.date"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Leave-LeaveRequestDetailedModel"},"meta":{"properties":{"empNumber":{"type":"integer"},"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Leave/My Leave"],"operationId":"913e9e8fda84d745ee0373a2f744f990","parameters":[{"name":"model","in":"query","required":false,"schema":{"type":"string","enum":["default","detailed"]}}],"requestBody":{"content":{"application/json":{"schema":{"required":["duration","fromDate","toDate","leaveTypeId"],"properties":{"comment":{"type":"string"},"duration":{"required":["type"],"properties":{"type":{"type":"string","enum":["full_day","half_day_afternoon","half_day_morning","specify_time"]},"fromTime":{"description":"used when duration type = specify_time ","type":"number","example":"12:00"},"toTime":{"description":"used when duration type = specify_time ","type":"number","example":"17:00"}},"type":"object"},"endDuration":{"description":"Used when there are partial days at both the beginning and end","required":["type"],"properties":{"type":{"type":"string","enum":["full_day","half_day_afternoon","half_day_morning","specify_time"]},"fromTime":{"description":"used when endDuration type = specify_time ","type":"number","example":"12:00"},"toTime":{"description":"used when endDuration type = specify_time ","type":"number","example":"17:00"}},"type":"object"},"partialOption":{"type":"string","example":"start"},"fromDate":{"type":"string"},"toDate":{"type":"string"},"leaveTypeId":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Leave-LeaveRequestDetailedModel"},{"$ref":"#/components/schemas/Leave-LeaveRequestModel"}]},"meta":{"type":"object"}},"type":"object"}}}}}}},"/api/v2/leave/workweek":{"get":{"tags":["Leave/Configure"],"operationId":"451e483d8519d2a0c2b78d175900bde6","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"description":"0 - working day, 4 - half day, 8 - non working day","properties":{"monday":{"type":"integer"},"tuesday":{"type":"integer"},"wednesday":{"type":"integer"},"thursday":{"type":"integer"},"friday":{"type":"integer"},"saturday":{"type":"integer"},"sunday":{"type":"integer"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Leave/Configure"],"operationId":"6f21fa7c3600d42aa4d68b04492eeb7d","requestBody":{"content":{"application/json":{"schema":{"description":"0 - working day, 4 - half day, 8 - non working day","required":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"properties":{"monday":{"type":"integer"},"tuesday":{"type":"integer"},"wednesday":{"type":"integer"},"thursday":{"type":"integer"},"friday":{"type":"integer"},"saturday":{"type":"integer"},"sunday":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"description":"0 - working day, 4 - half day, 8 - non working day","properties":{"monday":{"type":"integer"},"tuesday":{"type":"integer"},"wednesday":{"type":"integer"},"thursday":{"type":"integer"},"friday":{"type":"integer"},"saturday":{"type":"integer"},"sunday":{"type":"integer"}},"type":"object"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/mobile/menus":{"get":{"tags":["Mobile/Menu Items"],"operationId":"11f1413dc70c1c339c517c2819961306","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"name":{"type":"string"},"children":{"type":"array","items":{"properties":{"name":{"type":"string"}},"type":"object"},"example":"name: Apply Leave"}},"type":"object"}},"meta":{"properties":{"isLeavePeriodDefined":{"type":"boolean"},"isTimesheetPeriodDefined":{"type":"boolean"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/reviews/{reviewId}/evaluation/employee":{"get":{"tags":["Performance/Review Evaluation"],"operationId":"d4cd55f1a2024a80748e11be21145b8f","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":[]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-ReviewerRatingModel"}},"meta":{"properties":{"total":{"type":"integer"},"generalComment":{"type":"string"},"kpis":{"type":"array","items":{"$ref":"#/components/schemas/Performance-KpiSummaryModel"}},"reviewer":{"$ref":"#/components/schemas/Performance-KpiSummaryModel"},"allowedActions":{"type":"array","items":{"$ref":"#/components/schemas/Core-WorkflowStateModel"}}},"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Performance/Review Evaluation"],"operationId":"c195ed78087b2b9867ffae8cccbc58ad","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["reviewers","complete"],"properties":{"reviewers":{"type":"array","items":{"required":["id","rating","comment"],"properties":{"id":{"type":"integer"},"rating":{"type":"number"},"comment":{"type":"string"}},"type":"object"}},"generalComment":{"type":"string"},"complete":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-ReviewerRatingModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/employees/trackers":{"get":{"tags":["Performance/Employee Trackers"],"operationId":"5a19e6ef5d3279fb0d25324d2c501334","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["tracker.trackerName","employee.lastName","tracker.addedDate","tracker.modifiedDate"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-EmployeeTrackerModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/employees/trackers/{id}}":{"get":{"tags":["Performance/Employee Trackers"],"operationId":"e5e5000a9c1ce4e7674ef9e864704ea2","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceTrackerModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/kpis/{id}":{"get":{"tags":["Performance/Configure Kpis"],"operationId":"8bd5a7737e792a5214a0daffa241b6b8","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-KpiModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Performance/Configure Kpis"],"operationId":"440d54fe4bfa93bf93faf8e2d1fb0872","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["title","jobTitleId","minRating","maxRating"],"properties":{"title":{"type":"string"},"jobTitleId":{"description":"Should be an existing Job title Id","type":"integer"},"minRating":{"type":"integer"},"maxRating":{"type":"integer"},"isDefault":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-KpiModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/kpis":{"get":{"tags":["Performance/Configure Kpis"],"operationId":"0e53bad8d2f2df38542db07e2b39e109","parameters":[{"name":"jobTitleId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["kpi.title","jobTitle.jobTitleName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-KpiModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Performance/Configure Kpis"],"operationId":"c6fe6bccc4de0740fa416967bd72e4a8","requestBody":{"content":{"application/json":{"schema":{"required":["title","jobTitleId","minRating","maxRating"],"properties":{"title":{"type":"string"},"jobTitleId":{"description":"Should be an existing Job title Id","type":"integer"},"minRating":{"type":"integer"},"maxRating":{"type":"integer"},"isDefault":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-KpiModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Performance/Configure Kpis"],"operationId":"2140cfcf1512da6e475b04dc4721cd9b","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/performance/reviews":{"get":{"tags":["Performance/Reviews"],"operationId":"505b9177a16d04fa34651221d97a0e28","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["performanceReview.statusId","performanceReview.reviewPeriodStart","performanceReview.dueDate","reviewer.status"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-DetailedPerformanceReviewModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/trackers}":{"get":{"tags":["Performance/My Tracker"],"operationId":"ecb0491c0cf5aa14a5445a7a31cf6658","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["performanceTracker.trackerName","performanceTracker.addedDate","employee.empNumber","employee.lastName","performanceTracker.modifiedDate"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-PerformanceTrackerModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/manage/reviews":{"get":{"tags":["Performance/Reviews"],"operationId":"e341f8787109483ed1321ed1736b155a","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"jobTitleId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"statusId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"reviewerEmpNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"number"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"number"}},{"name":"includeEmployees","in":"query","required":false,"schema":{"type":"string","enum":["onlyCurrent","onlyPast","currentAndPast"]}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.lastName","performanceReview.reviewPeriodStart","performanceReview.dueDate","performanceReview.statusId","jobTitle.jobTitleName","reviewerEmployee.lastName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-PerformanceReviewModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Performance/Reviews"],"operationId":"48f79dcf48a767331025e7339a76ad78","requestBody":{"content":{"application/json":{"schema":{"required":["empNumber","reviewerEmpNumber","startDate","endDate","dueDate"],"properties":{"empNumber":{"type":"integer"},"reviewerEmpNumber":{"type":"integer"},"startDate":{"type":"number"},"endDate":{"type":"number"},"dueDate":{"type":"number"},"activate":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceReviewModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Performance/Reviews"],"operationId":"692caa635f457e7e5fe22083eae7c2d4","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/performance/manage/reviews/{id}":{"get":{"tags":["Performance/Reviews"],"operationId":"744513c9820bb48697618180dc557933","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceReviewModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Performance/Reviews"],"operationId":"64d7f95a6fc752df24cbf317d5a95947","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["empNumber","reviewerEmpNumber","startDate","endDate","dueDate"],"properties":{"empNumber":{"type":"integer"},"reviewerEmpNumber":{"type":"integer"},"startDate":{"type":"number"},"endDate":{"type":"number"},"dueDate":{"type":"number"},"activate":{"type":"boolean"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceReviewModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/reviews/{reviewId}/actions/allowed":{"get":{"tags":["Performance/Reviews"],"operationId":"fee981d12bcf6dfc26717b173b65eaf7","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"properties":{"id":{"type":"integer"},"label":{"type":"boolean"}},"type":"object"},"example":"id: 1, label: Save "},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/reviews/{reviewId}/evaluation/final":{"get":{"tags":["Performance/Review Evaluation"],"operationId":"a446499e283d802a1c8207af4ab0033c","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-CompletedPerformanceReviewModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Performance/Review Evaluation"],"operationId":"0f55e3861d5e15f24fb672d280db426a","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["finalRating","completedDate","finalComment","complete"],"properties":{"finalRating":{"type":"string"},"completedDate":{"type":"number"},"finalComment":{"type":"string"},"complete":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-ReviewerRatingModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/config/trackers":{"get":{"tags":["Performance/Configure Trackers"],"operationId":"702a6be2768f3425aac22570d73c6834","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["performanceTracker.trackerName","performanceTracker.addedDate","employee.empNumber","employee.lastName","performanceTracker.modifiedDate"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-PerformanceTrackerModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Performance/Configure Trackers"],"operationId":"bac71897da407d2aff12aa4d58d61da2","requestBody":{"content":{"application/json":{"schema":{"required":["trackerName","empNumber","reviewers"],"properties":{"trackerName":{"type":"string"},"empNumber":{"description":"Should be an existing EMployee Id","type":"integer"},"reviewers":{"type":"array","items":{"description":"Should be an existing EMployee Id","type":"integer"}}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-DetailedPerformanceTrackerModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Performance/Configure Trackers"],"operationId":"cf61851bca358acb06cc2e5465844796","requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/performance/config/trackers/{id}":{"get":{"tags":["Performance/Configure Trackers"],"operationId":"2f377409fae23b43428f0e8ab583a0d6","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-DetailedPerformanceTrackerModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Performance/Configure Trackers"],"operationId":"b817df295a998bc1ecc19bdb6cee939a","parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["trackerName","empNumber","reviewers"],"properties":{"trackerName":{"type":"string"},"empNumber":{"description":"Should be an existing EMployee Id","type":"integer"},"reviewers":{"type":"array","items":{"description":"Should be an existing EMployee Id","type":"integer"}}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-DetailedPerformanceTrackerModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/trackers/{trackerId}/logs":{"get":{"tags":["Performance/Tracker logs"],"operationId":"1f2f1c5e79970a55afe03d1b95e38946","parameters":[{"in":"path","required":true,"name":"trackerId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["ptrLog.addedDate"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-PerformanceTrackerLogModel"}},"meta":{"properties":{"total":{"type":"integer"},"positive":{"type":"integer"},"negative":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}},"post":{"tags":["Performance/Tracker logs"],"operationId":"bfc4574247f4ab97a91f0554294b2701","parameters":[{"in":"path","required":true,"name":"trackerId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["achievement","comment","log"],"properties":{"achievement":{"description":"Should be either 1 for postive and 2 for egative","type":"integer","default":1},"comment":{"type":"string"},"log":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceTrackerLogModel"},"meta":{"type":"object"}},"type":"object"}}}}}},"delete":{"tags":["Performance/Tracker logs"],"operationId":"631810af1d41280916761c8cb5b5f8c3","parameters":[{"in":"path","required":true,"name":"trackerId","schema":{"type":"integer"}}],"requestBody":{"$ref":"#/components/requestBodies/DeleteRequestBody"},"responses":{"200":{"$ref":"#/components/responses/DeleteResponse"}}}},"/api/v2/performance/trackers/{trackerId}/logs/{id}}":{"get":{"tags":["Performance/Tracker logs"],"operationId":"48d210b16330a15e57a188b337d54302","parameters":[{"in":"path","required":true,"name":"trackerId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceTrackerLogModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}},"put":{"tags":["Performance/Tracker logs"],"operationId":"e93fbe726333c66d8d369b185154870d","parameters":[{"in":"path","required":true,"name":"trackerId","schema":{"type":"integer"}},{"in":"path","required":true,"name":"id","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["achievement","comment","log"],"properties":{"achievement":{"description":"Should be either 1 for postive and 2 for egative","type":"integer","default":1},"comment":{"type":"string"},"log":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-PerformanceTrackerLogModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/performance/trackers/reviewers":{"get":{"tags":["Performance/Configure Trackers"],"operationId":"be7e5a99645c388664c67a740c822dd2","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"description":"The Id of the employee selected - this employee will be excluded from available reviewers","type":"string"}},{"name":"nameOrId","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeEmployees","in":"query","required":false,"schema":{"type":"string","enum":["onlyCurrent","currentAndPast","onlyPast"]}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.lastName","employee.firstName","employee.middleName","employee.empNumber","employee.employeeId","jobTitle.jobTitleName","empStatus.name","subunit.name","supervisor.firstName"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Pim-EmployeeModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/supervisors":{"get":{"tags":["Performance/Reviews"],"operationId":"b35eb1691c5f5f6dceca0706831f04d9","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"description":"The Id of the employee selected - The supervisors for this employee will be returned","type":"integer"}},{"name":"nameOrId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.empNumber"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-SupervisorModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/reviews/{reviewId}/kpis":{"get":{"tags":["Performance/Review Evaluation"],"operationId":"7cd65bd6a57a26220879cf0f40c12ae7","parameters":[{"in":"path","required":true,"name":"trackerId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["kpi.title"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-KpiSummaryModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/employees/reviews":{"get":{"tags":["Performance/Reviews"],"operationId":"d533d9020844373025a58a88f1be57e5","parameters":[{"name":"empNumber","in":"query","required":false,"schema":{"type":"integer"}},{"name":"jobTitleId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"statusId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"subunitId","in":"query","required":false,"schema":{"type":"integer"}},{"name":"fromDate","in":"query","required":false,"schema":{"type":"number"}},{"name":"toDate","in":"query","required":false,"schema":{"type":"number"}},{"name":"includeEmployees","in":"query","required":false,"schema":{"type":"string","enum":["onlyCurrent","onlyPast","currentAndPast"]}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":["employee.lastName","performanceReview.reviewPeriodStart","performanceReview.dueDate","performanceReview.statusId"]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-PerformanceReviewModel"}},"meta":{"properties":{"total":{"type":"integer"}},"type":"object"}},"type":"object"}}}}}}},"/api/v2/performance/reviews/{reviewId}/evaluation/supervisor":{"get":{"tags":["Performance/Review Evaluation"],"operationId":"c260a8b900c0608ec94bf1818b7bcd46","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","enum":[]}},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Performance-ReviewerRatingModel"}},"meta":{"properties":{"total":{"type":"integer"},"generalComment":{"type":"string"},"kpis":{"type":"array","items":{"$ref":"#/components/schemas/Performance-KpiSummaryModel"}},"reviewer":{"$ref":"#/components/schemas/Performance-KpiSummaryModel"},"allowedActions":{"type":"array","items":{"$ref":"#/components/schemas/Core-WorkflowStateModel"}}},"type":"object"}},"type":"object"}}}}}},"put":{"tags":["Performance/Review Evaluation"],"operationId":"d8d746c8b3d5a11adbd0234273ca7fac","parameters":[{"in":"path","required":true,"name":"reviewId","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["reviewers"],"properties":{"reviewers":{"type":"array","items":{"required":["id","rating","comment"],"properties":{"id":{"type":"integer"},"rating":{"type":"number"},"comment":{"type":"string"}},"type":"object"}},"generalComment":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Performance-ReviewerRatingModel"},"meta":{"type":"object"}},"type":"object"}}}},"404":{"$ref":"#/components/responses/RecordNotFound"}}}},"/api/v2/pim/myself":{"get":{"tags":["Pim/My Self"],"operationId":"341aa3e1449f2579c8d9ed0890a0a60f","parameters":[{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"default","enum":["default","detailed","summary"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Pim-EmployeeModel"},{"$ref":"#/components/schemas/Pim-MyInfoDetailedModel"},{"$ref":"#/components/schemas/Pim-EmployeeDetailedModel"}]}},"type":"object"}}}}}}}},"components":{"schemas":{"Admin-CurrencyTypeModel":{"properties":{"id":{"type":"string"},"code":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-EducationModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-EmailConfigurationModel":{"properties":{"mailType":{"type":"string"},"sentAs":{"type":"string"},"smtpHost":{"type":"string"},"smtpPort":{"type":"integer"},"smtpUsername":{"type":"string"},"smtpAuthType":{"type":"string"},"smtpSecurityType":{"type":"string"}},"type":"object"},"Admin-EmailSubscriberModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"email":{"type":"string"}},"type":"object"},"Admin-EmailSubscriptionModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"subscribers":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"email":{"type":"string"}},"type":"object"},"isEnabled":{"type":"boolean"}},"type":"object"},"Admin-EmploymentStatusModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-I18NGroupModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string","example":"admin,pim"},"title":{"type":"string","example":"Admin,PIM"}},"type":"object"},"Admin-I18NLanguageModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string","example":"nl,fr"},"code":{"type":"string","example":"Dutch - Nederlands, French - Français"}},"type":"object"},"Admin-JobCategoryModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-JobSpecificationModel":{"properties":{"id":{"type":"integer"},"filename":{"type":"string"},"fileType":{"type":"string"},"fileSize":{"type":"integer"}},"type":"object"},"Admin-JobTitleModel":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"description":{"type":"string"},"note":{"type":"string"},"jobSpecification":{"properties":{"id":{"type":"integer"},"filename":{"type":"string"},"fileType":{"type":"string"},"fileSize":{"type":"integer"}},"type":"object"}},"type":"object"},"Admin-LanguageModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-LicenseModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-LocationModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"country":{"properties":{"countryCode":{"type":"string"},"name":{"type":"string"},"countryName":{"type":"string"}},"type":"object"},"province":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"phone":{"type":"string"},"fax":{"type":"string"},"note":{"type":"string"},"noOfEmployees":{"type":"integer"}},"type":"object"},"Admin-MembershipModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-NationalityModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"Admin-OrganizationModel":{"properties":{"name":{"type":"string"},"registrationNumber":{"type":"string"},"phone":{"type":"string"},"fax":{"type":"string"},"email":{"type":"string"},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"zipCode":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"note":{"type":"string"}},"type":"object"},"Admin-PayGradeCurrencyModel":{"properties":{"minSalary":{"type":"number"},"maxSalary":{"type":"number"},"currencyType":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"type":"object"}},"type":"object"},"Admin-PayGradeModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"currencies":{"type":"array","items":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"type":"object"}}},"type":"object"},"Admin-SkillModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"}},"type":"object"},"Admin-SubunitModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"unitId":{"type":"string"},"description":{"type":"string"},"level":{"type":"integer"},"left":{"type":"integer"},"right":{"type":"integer"}},"type":"object"},"Admin-SubunitTreeModel":{"properties":{"id":{"type":"integer"},"unitId":{"type":"string"},"name":{"type":"string"},"level":{"type":"integer"},"children":{"type":"array","items":{"properties":{"id":{"type":"integer"},"unitId":{"type":"string"},"name":{"type":"string"},"level":{"type":"integer"}},"type":"object"}}},"type":"object"},"Admin-UserModel":{"properties":{"id":{"type":"integer"},"userName":{"type":"string"},"deleted":{"type":"boolean"},"status":{"type":"boolean"},"employee":{"properties":{"empNumber":{"type":"integer"},"employeeId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"userRole":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"displayName":{"type":"string"}},"type":"object"}},"type":"object"},"Admin-WorkShiftDetailedModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"hoursPerDay":{"type":"number"},"startTime":{"type":"string"},"endTime":{"type":"string"},"employees":{"type":"array","items":{"$ref":"#/components/schemas/Pim-EmployeeModel"}}},"type":"object"},"Admin-WorkShiftModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"hoursPerDay":{"type":"number"},"startTime":{"type":"string"},"endTime":{"type":"string"}},"type":"object"},"Attendance-AttendanceConfigurationModel":{"properties":{"canUserChangeCurrentTime":{"type":"boolean"},"canUserModifyAttendance":{"type":"boolean"},"canSupervisorModifyAttendance":{"type":"boolean"}},"type":"object"},"Attendance-AttendanceRecordListModel":{"properties":{"id":{"type":"integer"},"punchIn":{"properties":{"userDate":{"type":"string","format":"date"},"userTime":{"type":"string"},"offset":{"type":"string"},"note":{"type":"string"}},"type":"object"},"punchOut":{"properties":{"userDate":{"type":"string","format":"date"},"userTime":{"type":"string"},"offset":{"type":"string"},"note":{"type":"string"}},"type":"object"},"duration":{"type":"integer"}},"type":"object"},"Attendance-AttendanceRecordModel":{"properties":{"id":{"type":"integer"},"punchIn":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string"},"userDate":{"type":"string","format":"date"},"userTime":{"type":"string"},"timezoneOffset":{"type":"string"},"note":{"type":"string"}},"type":"object"},"punchOut":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string"},"userDate":{"type":"string","format":"date"},"userTime":{"type":"string"},"timezoneOffset":{"type":"string"},"note":{"type":"string"}},"type":"object"},"state":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"employeeId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"duration":{"type":"integer"}},"type":"object"},"Attendance-DateTimeModel":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string"}},"type":"object"},"Attendance-DetailedAttendanceRecordModel":{"properties":{"id":{"type":"integer"},"punchIn":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string"},"userDate":{"type":"string","format":"date"},"userTime":{"type":"string"},"timezoneOffset":{"type":"string"},"timezone":{"properties":{"name":{"type":"string"},"label":{"type":"string"}},"type":"object"},"note":{"type":"string"}},"type":"object"},"punchOut":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string"},"userDate":{"type":"string","format":"date"},"userTime":{"type":"string"},"timezoneOffset":{"type":"string"},"timezone":{"properties":{"name":{"type":"string"},"label":{"type":"string"}},"type":"object"},"note":{"type":"string"}},"type":"object"},"state":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"employeeId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Attendance-EmployeeAttendanceSummeryListModel":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"},"sum":{"properties":{"hours":{"type":"integer"},"minutes":{"type":"integer"},"label":{"type":"string"}},"type":"object"}},"type":"object"},"Attendance-EmployeeLatestAttendanceRecordModel":{"properties":{"id":{"type":"integer"},"punchIn":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string","format":"time"},"userDate":{"type":"string","format":"date"},"userTime":{"type":"string","format":"time"},"offset":{"type":"string"},"note":{"type":"string"}},"type":"object"},"punchOut":{"properties":{"utcDate":{"type":"string","format":"date"},"utcTime":{"type":"string","format":"time"},"userDate":{"type":"string","format":"date"},"userTime":{"type":"string","format":"time"},"offset":{"type":"string"},"note":{"type":"string"}},"type":"object"},"state":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Buzz-Post-Text":{"properties":{"text":{"type":"string"},"type":{"type":"string"}},"type":"object"},"Buzz-Post-Photo":{"properties":{"text":{"type":"string"},"type":{"type":"string"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/Base64Attachment"}}},"type":"object"},"Buzz-Post-Video":{"properties":{"text":{"type":"string"},"type":{"type":"string"},"link":{"type":"string"}},"type":"object"},"Buzz-Post-Text-Edit":{"properties":{"text":{"type":"string"},"type":{"type":"string"}},"type":"object"},"Buzz-Post-Photo-Edit":{"properties":{"text":{"type":"string"},"type":{"type":"string"},"deletedPhotos":{"type":"array","items":{"properties":{"id":{"type":"integer"}},"type":"object"},"example":"59,60"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/Base64Attachment"}}},"type":"object"},"Buzz-Post-Video-Edit":{"properties":{"text":{"type":"string"},"type":{"type":"string"},"link":{"type":"string"}},"type":"object"},"Buzz-BuzzCommentModel":{"properties":{"comment":{"properties":{"id":{"type":"integer"},"createdDate":{"type":"string"},"createdTime":{"type":"string"}},"type":"object"},"share":{"properties":{"id":{"type":"integer"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Buzz-BuzzDetailedCommentModel":{"properties":{"comment":{"properties":{"id":{"type":"integer"},"text":{"type":"string"},"numOfLikes":{"type":"integer"},"liked":{"type":"boolean"},"createdDate":{"type":"string"},"createdTime":{"type":"string"}},"type":"object"},"share":{"properties":{"id":{"type":"integer"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"permission":{"properties":{"canUpdate":{"type":"boolean"},"canDelete":{"type":"boolean"}},"type":"object"}},"type":"object"},"Buzz-FeedPostModel":{"type":"object","oneOf":[{"$ref":"#/components/schemas/Buzz-FeedPostModel-Text"},{"$ref":"#/components/schemas/Buzz-FeedPostModel-Photo"},{"$ref":"#/components/schemas/Buzz-FeedPostModel-Video"},{"$ref":"#/components/schemas/Buzz-FeedPostModel-Share"}]},"Buzz-FeedPostModel-Text":{"properties":{"id":{"type":"integer"},"post":{"properties":{"id":{"type":"integer"}},"type":"object"},"type":{"type":"string","default":"text"},"liked":{"type":"boolean"},"text":{"type":"string"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"stats":{"properties":{"numOfLikes":{"type":"integer"},"numOfComments":{"type":"integer"},"numOfShares":{"type":"integer"}},"type":"object"},"createdDate":{"type":"string","format":"date"},"createdTime":{"type":"string"},"originalPost":{"type":"null","default":"null"},"permission":{"properties":{"canUpdate":{"type":"boolean"},"canDelete":{"type":"boolean"}},"type":"object"}},"type":"object"},"Buzz-FeedPostModel-Photo":{"properties":{"id":{"type":"integer"},"post":{"properties":{"id":{"type":"integer"}},"type":"object"},"type":{"type":"string","default":"photo"},"liked":{"type":"boolean"},"text":{"type":"string"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"stats":{"properties":{"numOfLikes":{"type":"integer"},"numOfComments":{"type":"integer"},"numOfShares":{"type":"integer"}},"type":"object"},"createdDate":{"type":"string","format":"date"},"createdTime":{"type":"string"},"originalPost":{"type":"null","default":"null"},"permission":{"properties":{"canUpdate":{"type":"boolean"},"canDelete":{"type":"boolean"}},"type":"object"},"photoIds":{"type":"array","items":{"type":"integer"}}},"type":"object"},"Buzz-FeedPostModel-Video":{"properties":{"id":{"type":"integer"},"post":{"properties":{"id":{"type":"integer"}},"type":"object"},"type":{"type":"string","default":"video"},"liked":{"type":"boolean"},"text":{"type":"string"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"stats":{"properties":{"numOfLikes":{"type":"integer"},"numOfComments":{"type":"integer"},"numOfShares":{"type":"integer"}},"type":"object"},"createdDate":{"type":"string","format":"date"},"createdTime":{"type":"string"},"originalPost":{"type":"null","default":"null"},"permission":{"properties":{"canUpdate":{"type":"boolean"},"canDelete":{"type":"boolean"}},"type":"object"},"video":{"properties":{"link":{"type":"string"}},"type":"object"}},"type":"object"},"Buzz-FeedPostModel-Share":{"properties":{"id":{"type":"integer"},"post":{"properties":{"id":{"type":"integer"}},"type":"object"},"type":{"type":"string","default":"text"},"liked":{"type":"boolean"},"text":{"type":"string"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"stats":{"properties":{"numOfLikes":{"type":"integer"},"numOfComments":{"type":"integer"},"numOfShares":{"type":"integer"}},"type":"object"},"createdDate":{"type":"string","format":"date"},"createdTime":{"type":"string"},"originalPost":{"properties":{"text":{"type":"string"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"createdDate":{"type":"string","format":"date"},"createdTime":{"type":"string"}},"type":"object"},"permission":{"properties":{"canUpdate":{"type":"boolean"},"canDelete":{"type":"boolean"}},"type":"object"}},"type":"object"},"Buzz-BuzzLikeOnCommentModel":{"properties":{"id":{"type":"integer"},"likedAtDate":{"type":"string"},"likedAtTime":{"type":"string"},"comment":{"properties":{"id":{"type":"integer"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Buzz-BuzzLikeOnShareModel":{"properties":{"id":{"type":"integer"},"likedAtDate":{"type":"string"},"likedAtTime":{"type":"string"},"share":{"properties":{"id":{"type":"integer"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Buzz-PostModel":{"properties":{"id":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Buzz-ShareModel":{"properties":{"share":{"properties":{"id":{"type":"integer"}},"type":"object"},"post":{"properties":{"id":{"type":"integer"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Buzz-EmployeeAnniversaryModel":{"properties":{"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"jobTitle":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"isDeleted":{"type":"boolean"}},"type":"object"},"joinedDate":{"type":"string","format":"date"}},"type":"object"},"Claim-AttachmentModel":{"properties":{"id":{"type":"integer"},"attachment":{"properties":{"fileName":{"type":"string"},"fileType":{"type":"string"},"fileSize":{"type":"integer"},"fileDescription":{"type":"string"}},"type":"object"},"attachedBy":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"date":{"type":"string","format":"date"}},"type":"object"},"Claim-ClaimEventModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"boolean"}},"type":"object"},"Claim-ExpenseModel":{"properties":{"id":{"type":"integer"},"claimRequest":{"properties":{"id":{"type":"integer"},"referenceId":{"type":"integer"}},"type":"object"},"expenseType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"boolean"},"isDeleted":{"type":"boolean"}},"type":"object"},"amount":{"type":"number","format":"float"},"note":{"type":"string"}},"type":"object"},"Claim-ExpenseTypeModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"boolean"}},"type":"object"},"Claim-RequestModel":{"properties":{"id":{"type":"integer"},"referenceId":{"type":"string"},"claimEvent":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"boolean"},"isDeleted":{"type":"boolean"}},"type":"object"},"currency":{"properties":{"currencyId":{"type":"string"},"name":{"type":"string"}},"type":"object"},"description":{"type":"string"},"status":{"type":"string"}},"type":"object"},"Claim-ClaimRequestSummaryModel":{"properties":{"id":{"type":"integer"},"referenceId":{"type":"integer"}},"type":"object"},"Claim-EmployeeClaimRequestModel":{"properties":{"id":{"type":"integer"},"referenceId":{"type":"integer"},"claimEvent":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"currencyType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"description":{"type":"string"},"status":{"type":"string","enum":["INITIATED","SUBMITTED","APPROVED","REJECTED","CANCELLED","PAID"]},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"amount":{"type":"number","format":"float"},"submittedDate":{"type":"string","format":"date"}},"type":"object"},"Claim-MyClaimRequestModel":{"properties":{"id":{"type":"integer"},"referenceId":{"type":"integer"},"claimEvent":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"currencyType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"description":{"type":"string"},"status":{"type":"string","enum":["INITIATED","SUBMITTED","APPROVED","REJECTED","CANCELLED","PAID"]},"amount":{"type":"number","format":"float"},"submittedDate":{"type":"string","format":"date"}},"type":"object"},"OAuth-OAuthClientModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"clientId":{"type":"string"},"redirectUri":{"type":"string"},"enabled":{"type":"boolean"},"confidential":{"type":"boolean"}},"type":"object"},"Core-WorkflowStateModel":{"properties":{"action":{"type":"string"},"name":{"type":"string"}},"type":"object"},"Base64Attachment":{"properties":{"name":{"type":"string"},"type":{"type":"string"},"base64":{"type":"string","format":"base64"},"size":{"type":"integer"}},"type":"object"},"Base64AttachmentOrNull":{"type":"object","oneOf":[{"$ref":"#/components/schemas/Base64Attachment"},{"$ref":"#/components/schemas/Null"}]},"Null":{"type":"null"},"Dashboard-LocationModel":{"properties":{"location":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"count":{"type":"integer"}},"type":"object"},"Dashboard-SubunitModel":{"properties":{"subunit":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"count":{"type":"integer"}},"type":"object"},"Dashboard-EmployeeOnLeaveListModel":{"properties":{"id":{"type":"integer"},"date":{"type":"string"},"lengthHours":{"type":"number"},"employee":{"properties":{"empNumber":{"type":"integer"},"employeeId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"duration":{"type":"string"},"endTime":{"type":"string"},"startTime":{"type":"string"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"}},"type":"object"},"Leave-EmployeeLeaveBalanceModel":{"properties":{"id":{"type":"integer"},"usageBreakdown":{"properties":{"entitlement":{"type":"number"},"used":{"type":"number"},"scheduled":{"type":"number"},"pending":{"type":"number"},"taken":{"type":"number"},"balance":{"type":"number"}},"type":["object","null"]},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"fromDate":{"type":"string","format":"date"},"toDate":{"type":"string","format":"date"}},"type":"object"},"Leave-BulkLeaveEntitlementMatchingEmployeeModel":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"},"entitlement":{"properties":{"current":{"type":"integer"},"updateAs":{"type":"integer"}},"type":"object"}},"type":"object"},"Leave-EmployeeLeaveEntitlementModel":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"},"entitlement":{"properties":{"current":{"type":"integer"},"updateAs":{"type":"integer"}},"type":"object"}},"type":"object"},"Leave-EmployeeLeaveModel":{"properties":{"id":{"type":"integer"},"date":{"type":"string"},"lengthHours":{"type":"string"},"lengthDays":{"type":"string"},"status":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"leaveRequest":{"properties":{"id":{"type":"integer"}},"type":"object"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"startTime":{"type":"string"},"endTime":{"type":"string"},"durationType":{"properties":{"id":{"type":"integer"},"type":{"type":"string"}},"type":"object"}},"type":"object"},"Leave-HolidayModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"date":{"type":"string"},"recurring":{"type":"boolean"},"length":{"type":"string","enum":[0,4]},"lengthName":{"type":"string","enum":["Full Day","Half Day"]}},"type":"object"},"Leave-LeaveBalanceModel":{"properties":{"entitled":{"type":"integer"},"used":{"type":"integer"},"scheduled":{"type":"integer"},"pending":{"type":"integer"},"taken":{"type":"integer"},"balance":{"type":"integer"},"asAtDate":{"type":"number"},"endDate":{"type":"number"}},"type":"object"},"Leave-LeaveEntitlementModel":{"properties":{"id":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"entitlement":{"type":"integer"},"daysUsed":{"type":"integer"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"fromDate":{"type":"number"},"toDate":{"type":"number"},"creditedDate":{"type":"number"},"entitlementType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"deleted":{"type":"boolean"},"deletable":{"type":"boolean"}},"type":"object"},"Leave-LeaveEntitlementSummaryModel":{"properties":{"id":{"type":"integer"},"usageBreakdown":{"properties":{"entitlement":{"type":"number"},"used":{"type":"number"},"scheduled":{"type":"number"},"pending":{"type":"number"},"taken":{"type":"number"},"balance":{"type":"number"}},"type":"object"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"fromDate":{"type":"string"},"toDate":{"type":"string"}},"type":"object"},"Leave-LeaveModel":{"properties":{"id":{"type":"integer"},"date":{"type":"string"},"lengthHours":{"type":"number"},"lengthDays":{"type":"number"},"status":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"leaveRequest":{"properties":{"id":{"type":"integer"}},"type":"object"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"startTime":{"type":"string"},"endTime":{"type":"string"},"durationType":{"properties":{"id":{"type":"integer"},"type":{"type":"string"}},"type":"object"},"lastComment":{"properties":{"id":{"type":"integer"},"comment":{"type":"string"},"date":{"type":"number"},"time":{"type":"number"}},"type":"object"}},"type":"object"},"Leave-LeavePeriodHistoryModel":{"properties":{"startMonth":{"type":"integer"},"startDay":{"type":"integer"},"createdAt":{"type":"number"}},"type":"object"},"Leave-LeavePeriodModel":{"properties":{"startDate":{"type":"number"},"endDate":{"type":"number"}},"type":"object"},"Leave-LeaveRequestDetailedModel":{"properties":{"id":{"type":"integer"},"dates":{"properties":{"durationType":{"properties":{"id":{"type":"integer"},"type":{"type":"string"}},"type":"object"},"endTime":{"type":"number"},"fromDate":{"type":"number"},"startTime":{"type":"number"},"toDate":{"type":"number"}},"type":"object"},"noOfDays":{"type":"integer"},"leaveBalances":{"type":"array","items":{"properties":{"period":{"$ref":"#/components/schemas/Leave-LeavePeriodModel"},"balance":{"$ref":"#/components/schemas/Leave-LeaveBalanceModel"}},"type":"object"}},"multiPeriod":{"type":"boolean"},"leaveBreakdown":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"lengthDays":{"type":"integer"}},"type":"object"},"allowedActions":{"type":"array","items":{"properties":{"action":{"type":"string"},"name":{"type":"string"}},"type":"object"}},"hasMultipleStatus":{"type":"boolean"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"lastComment":{"properties":{"id":{"type":"integer"},"comment":{"type":"string"},"date":{"type":"number"},"time":{"type":"number"}},"type":"object"}},"type":"object"},"Leave-LeaveRequestModel":{"properties":{"id":{"type":"integer"},"leaveType":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"dateApplied":{"type":"number"}},"type":"object"},"Leave-LeaveTypeModel":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"},"situational":{"type":"boolean"}},"type":"object"},"Performance-CompletedPerformanceReviewModel":{"properties":{"id":{"type":"integer"},"jobTitle":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"subunit":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"reviewPeriodStart":{"type":"number"},"reviewPeriodEnd":{"type":"number"},"dueDate":{"type":"number"},"overallStatus":{"properties":{"statusId":{"type":"integer"},"statusName":{"type":"string"}},"type":"object"},"finalRating":{"type":"number"},"finalComment":{"type":"string"},"completedDate":{"type":"number"}},"type":"object"},"Performance-DetailedPerformanceReviewModel":{"properties":{"id":{"type":"integer"},"jobTitle":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"subunit":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"reviewPeriodStart":{"type":"number"},"reviewPeriodEnd":{"type":"number"},"dueDate":{"type":"number"},"overallStatus":{"properties":{"statusId":{"type":"integer"},"statusName":{"type":"string"}},"type":"object"}},"type":"object"},"Performance-DetailedPerformanceTrackerModel":{"properties":{"id":{"type":"integer"},"trackerName":{"type":"string"},"addedDate":{"type":"number"},"modifiedDate":{"type":"number"},"status":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"reviewers":{"type":"array","items":{"$ref":"#/components/schemas/Performance-PerformanceTrackReviewerModel"}},"ownerEditable":{"type":"boolean"}},"type":"object"},"Performance-EmployeeTrackerModel":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"addedDate":{"type":"number"},"modifiedDate":{"type":"number"}},"type":"object"},"Performance-KpiModel":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"jobTitle":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"minRating":{"type":"integer"},"maxRating":{"type":"integer"},"isDefault":{"type":"boolean"},"deletable":{"type":"boolean"}},"type":"object"},"Performance-KpiSummaryModel":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"minRating":{"type":"integer"},"maxRating":{"type":"integer"}},"type":"object"},"Performance-PerformanceReviewModel":{"properties":{"id":{"type":"integer"},"jobTitle":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"},"subunit":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"reviewPeriodStart":{"type":"number"},"reviewPeriodEnd":{"type":"number"},"dueDate":{"type":"number"},"overallStatus":{"properties":{"statusId":{"type":"integer"},"statusName":{"type":"string"}},"type":"object"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"reviewer":{"properties":{"id":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"},"Performance-PerformanceTrackReviewerModel":{"properties":{"empNumber":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"Performance-PerformanceTrackerLogModel":{"properties":{"id":{"type":"integer"},"log":{"type":"string"},"comment":{"type":"string"},"achievement":{"type":"string"},"addedDate":{"type":"number"},"modifiedDate":{"type":"number"},"reviewer":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Performance-PerformanceTrackerModel":{"properties":{"id":{"type":"integer"},"trackerName":{"type":"string"},"addedDate":{"type":"number"},"modifiedDate":{"type":"number"},"status":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"}},"type":"object"},"Performance-ReviewerModel":{"properties":{"id":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"},"jobTitle":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"}},"type":"object"},"status":{"type":"integer"}},"type":"object"},"Performance-ReviewerRatingModel":{"properties":{"id":{"type":"integer"},"rating":{"type":"number"},"comment":{"type":"string"},"kpi":{"properties":{"id":{"type":"integer"}},"type":"object"}},"type":"object"},"Performance-SupervisorModel":{"properties":{"empNumber":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"Performance-SupervisorReviewerModel":{"properties":{"id":{"type":"integer"},"employee":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"},"jobTitle":{"properties":{"id":{"type":"integer"},"name":{"type":"string"},"deleted":{"type":"boolean"}},"type":"object"}},"type":"object"},"status":{"type":"integer"}},"type":"object"},"Pim-EmployeeDetailedModel":{"properties":{"empNumber":{"type":"string"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":["integer","null"]},"jobTitle":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"isDeleted":{"type":"boolean"}},"type":"object"},"subunit":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"empStatus":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"},"supervisors":{"type":"array","items":{"properties":{"empNumber":{"type":"string"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"}},"type":"object"}}},"type":"object"},"Pim-EmployeeModel":{"properties":{"empNumber":{"type":"integer"},"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":"integer"}},"type":"object"},"Pim-MyInfoDetailedModel":{"properties":{"lastName":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"employeeId":{"type":"string"},"terminationId":{"type":["integer","null"]},"jobTitle":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"isDeleted":{"type":"boolean"}},"type":"object"},"subunit":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}},"type":"object"}},"responses":{"DeleteResponse":{"description":"Success","content":{"application/json":{"schema":{"properties":{"data":{"type":"array","items":{"type":"integer"}},"meta":{"type":"object"}},"type":"object"}}}},"RecordNotFound":{"description":"Record Not Found","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"status":{"type":"string","default":"404"},"message":{"type":"string"}},"type":"object"}},"type":"object"},"example":{"error":{"status":"404","message":"Record Not Found"}}}}}},"parameters":{"sortOrder":{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","enum":["ASC","DESC"]}},"limit":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50}},"offset":{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0}}},"requestBodies":{"DeleteRequestBody":{"content":{"application/json":{"schema":{"required":["ids"],"properties":{"ids":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}}},"securitySchemes":{"Cookie-HTTPS":{"type":"apiKey","name":"orangehrm","in":"cookie"},"Cookie-HTTP":{"type":"apiKey","name":"_orangehrm","in":"cookie"}}}};
window.onload = () => {
window.ui = SwaggerUIBundle({
spec: spec,
dom_id: '#app',
});
};
</script>
</body>
</html>