@erpsquad/common 1.8.80 → 1.8.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (658) hide show
  1. package/CHANGELOG.md +253 -253
  2. package/README.md +979 -979
  3. package/dist/_virtual/index/index.esm10.js +3 -3
  4. package/dist/_virtual/index/index.esm11.js +3 -3
  5. package/dist/_virtual/index/index.esm2.js +2 -4
  6. package/dist/_virtual/index/index.esm2.js.map +1 -1
  7. package/dist/_virtual/index/index.esm3.js +4 -2
  8. package/dist/_virtual/index/index.esm3.js.map +1 -1
  9. package/dist/_virtual/index/index.esm4.js +1 -1
  10. package/dist/_virtual/index/index.esm5.js +3 -3
  11. package/dist/_virtual/index/index.esm6.js +3 -3
  12. package/dist/_virtual/index/index.esm7.js +3 -3
  13. package/dist/_virtual/index/index.esm8.js +3 -3
  14. package/dist/_virtual/index/index.esm9.js +3 -3
  15. package/dist/_virtual/index/index10.js +1 -1
  16. package/dist/_virtual/index/index11.js +1 -1
  17. package/dist/_virtual/index/index2.js +1 -1
  18. package/dist/_virtual/index/index3.js +1 -1
  19. package/dist/_virtual/index/index4.js +1 -1
  20. package/dist/_virtual/index/index5.js +1 -1
  21. package/dist/_virtual/index/index6.js +1 -1
  22. package/dist/_virtual/index/index7.js +1 -1
  23. package/dist/_virtual/index/index8.js +1 -1
  24. package/dist/_virtual/index/index9.js +1 -1
  25. package/dist/api-client/api.accounting/api/index.esm.js.map +1 -1
  26. package/dist/api-client/api.accounting/api/index.js.map +1 -1
  27. package/dist/api-client/api.accounting/api-types.d.ts +15883 -15883
  28. package/dist/api-client/api.drive/api/index.esm.js.map +1 -1
  29. package/dist/api-client/api.drive/api/index.js.map +1 -1
  30. package/dist/api-client/api.drive/api-types.d.ts +696 -696
  31. package/dist/api-client/api.hrms/api/index.esm.js.map +1 -1
  32. package/dist/api-client/api.hrms/api/index.js.map +1 -1
  33. package/dist/api-client/api.inventory/api/index.esm.js.map +1 -1
  34. package/dist/api-client/api.inventory/api/index.js.map +1 -1
  35. package/dist/api-client/api.inventory/api-types.d.ts +6110 -6110
  36. package/dist/api-client/api.manufacturing/api/index.esm.js.map +1 -1
  37. package/dist/api-client/api.manufacturing/api/index.js.map +1 -1
  38. package/dist/api-client/api.manufacturing/api-types.d.ts +10066 -10066
  39. package/dist/api-client/api.purchase/api/index.esm.js.map +1 -1
  40. package/dist/api-client/api.purchase/api/index.js.map +1 -1
  41. package/dist/api-client/api.purchase/api-types.d.ts +6715 -6715
  42. package/dist/api-client/api.rbac/api/index.esm.js.map +1 -1
  43. package/dist/api-client/api.rbac/api/index.esm2.js.map +1 -1
  44. package/dist/api-client/api.rbac/api/index.js.map +1 -1
  45. package/dist/api-client/api.rbac/api/index2.js.map +1 -1
  46. package/dist/api-client/api.rbac/api-types.d.ts +1753 -1753
  47. package/dist/api-client/api.rental/api/index.esm.js.map +1 -1
  48. package/dist/api-client/api.rental/api/index.js.map +1 -1
  49. package/dist/api-client/api.rental/api-types.d.ts +15666 -15666
  50. package/dist/api-client/api.sales/api/index.esm.js.map +1 -1
  51. package/dist/api-client/api.sales/api/index.js.map +1 -1
  52. package/dist/api-client/api.sales/api-types.d.ts +8258 -8258
  53. package/dist/api-client/api.system-feature/api/index.esm.js.map +1 -1
  54. package/dist/api-client/api.system-feature/api/index.js.map +1 -1
  55. package/dist/api-client/api.system-feature/api-types.d.ts +2875 -2875
  56. package/dist/api-client/api.user/api/index.esm.js.map +1 -1
  57. package/dist/api-client/api.user/api/index.js.map +1 -1
  58. package/dist/api-client/api.user/api-types.d.ts +95 -95
  59. package/dist/api-client/api.workflow-automation/api/index.esm.js.map +1 -1
  60. package/dist/api-client/api.workflow-automation/api/index.js.map +1 -1
  61. package/dist/api-client/index.d.ts +39 -39
  62. package/dist/components/accordion/accordion/index.esm.js.map +1 -1
  63. package/dist/components/accordion/accordion/index.js.map +1 -1
  64. package/dist/components/accordion/accordion.d.ts +1 -1
  65. package/dist/components/action-bar/action-bar/index.esm.js +1 -1
  66. package/dist/components/action-bar/action-bar/index.esm.js.map +1 -1
  67. package/dist/components/action-bar/action-bar/index.js +5 -5
  68. package/dist/components/action-bar/action-bar/index.js.map +1 -1
  69. package/dist/components/action-bar/action-bar.d.ts +1 -1
  70. package/dist/components/activity-tag/activity-tag/index.esm.js.map +1 -1
  71. package/dist/components/activity-tag/activity-tag/index.js.map +1 -1
  72. package/dist/components/alert/alert/index.esm.js.map +1 -1
  73. package/dist/components/alert/alert/index.js.map +1 -1
  74. package/dist/components/button/button/index.esm.js.map +1 -1
  75. package/dist/components/button/button/index.js.map +1 -1
  76. package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js.map +1 -1
  77. package/dist/components/change-user-password-modal/change-user-password-modal/index.js.map +1 -1
  78. package/dist/components/checkbox/checkbox/index.esm.js.map +1 -1
  79. package/dist/components/checkbox/checkbox/index.js.map +1 -1
  80. package/dist/components/checkbox/checkbox.d.ts +1 -1
  81. package/dist/components/chip/chip/index.esm.js.map +1 -1
  82. package/dist/components/chip/chip/index.js.map +1 -1
  83. package/dist/components/chip-generator/chip-generator/index.esm.js.map +1 -1
  84. package/dist/components/chip-generator/chip-generator/index.js.map +1 -1
  85. package/dist/components/date-picker/date-picker/index.esm.js.map +1 -1
  86. package/dist/components/date-picker/date-picker/index.js.map +1 -1
  87. package/dist/components/date-picker/date-picker.d.ts +1 -1
  88. package/dist/components/date-time-picker/date-time-picker/index.esm.js.map +1 -1
  89. package/dist/components/date-time-picker/date-time-picker/index.js.map +1 -1
  90. package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
  91. package/dist/components/editor/custom-editor/index.js.map +1 -1
  92. package/dist/components/filter/components/delete-group/index.esm.js +1 -0
  93. package/dist/components/filter/components/delete-group/index.esm.js.map +1 -1
  94. package/dist/components/filter/components/delete-group/index.js +1 -1
  95. package/dist/components/filter/components/delete-group/index.js.map +1 -1
  96. package/dist/components/filter/filter/index.esm.js +1 -1
  97. package/dist/components/filter/filter/index.esm.js.map +1 -1
  98. package/dist/components/filter/filter/index.js +7 -7
  99. package/dist/components/filter/filter/index.js.map +1 -1
  100. package/dist/components/footer/footer.d.ts +1 -1
  101. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js.map +1 -1
  102. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js.map +1 -1
  103. package/dist/components/form-control/form-builder/form-builder-element/media.d.ts +1 -1
  104. package/dist/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -1
  105. package/dist/components/form-control/form-builder/form-builder-element/select.d.ts +1 -1
  106. package/dist/components/form-control/form-builder/form-builder-element/text.d.ts +1 -1
  107. package/dist/components/form-control/form-builder/form-builder-element/time.d.ts +1 -1
  108. package/dist/components/form-control/form-parser/form-switcher.d.ts +1 -1
  109. package/dist/components/header/header/index.esm.js.map +1 -1
  110. package/dist/components/header/header/index.js.map +1 -1
  111. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  112. package/dist/components/header/redux/actionCreator/index.esm.js.map +1 -1
  113. package/dist/components/header/redux/actionCreator/index.js +1 -1
  114. package/dist/components/header/redux/actionCreator/index.js.map +1 -1
  115. package/dist/components/icons/action/index.esm.js.map +1 -1
  116. package/dist/components/icons/action/index.js.map +1 -1
  117. package/dist/components/icons/action-arrow.d.ts +3 -3
  118. package/dist/components/icons/add-circle.d.ts +3 -3
  119. package/dist/components/icons/arrow-bidirectional.d.ts +3 -3
  120. package/dist/components/icons/arrow-circle-down.d.ts +3 -3
  121. package/dist/components/icons/arrow-down-three.d.ts +3 -3
  122. package/dist/components/icons/arrow-down-two.d.ts +3 -3
  123. package/dist/components/icons/arrow-down.d.ts +3 -3
  124. package/dist/components/icons/arrow-up-down.d.ts +3 -3
  125. package/dist/components/icons/arrow-up-two.d.ts +3 -3
  126. package/dist/components/icons/assignments.d.ts +3 -3
  127. package/dist/components/icons/blank-circle.d.ts +3 -3
  128. package/dist/components/icons/block-filled.d.ts +3 -3
  129. package/dist/components/icons/calendar-add.d.ts +3 -3
  130. package/dist/components/icons/calendar.d.ts +3 -3
  131. package/dist/components/icons/checkbox-square.d.ts +3 -3
  132. package/dist/components/icons/circular-arrow-setting.d.ts +3 -3
  133. package/dist/components/icons/clock.d.ts +3 -3
  134. package/dist/components/icons/close.d.ts +3 -3
  135. package/dist/components/icons/coin-outline.d.ts +3 -3
  136. package/dist/components/icons/copy.d.ts +3 -3
  137. package/dist/components/icons/coupon.d.ts +3 -3
  138. package/dist/components/icons/criteria/index.esm.js.map +1 -1
  139. package/dist/components/icons/criteria/index.js.map +1 -1
  140. package/dist/components/icons/cross/index.esm.js.map +1 -1
  141. package/dist/components/icons/cross/index.js.map +1 -1
  142. package/dist/components/icons/cross-hire.d.ts +3 -3
  143. package/dist/components/icons/custom-styled-icon.d.ts +3 -3
  144. package/dist/components/icons/dashboard.d.ts +3 -3
  145. package/dist/components/icons/document-download.d.ts +3 -3
  146. package/dist/components/icons/document.d.ts +3 -3
  147. package/dist/components/icons/dollar-circle-filled.d.ts +3 -3
  148. package/dist/components/icons/dollar-circle.d.ts +3 -3
  149. package/dist/components/icons/edit.d.ts +3 -3
  150. package/dist/components/icons/email.d.ts +3 -3
  151. package/dist/components/icons/export.d.ts +3 -3
  152. package/dist/components/icons/eye-off.d.ts +3 -3
  153. package/dist/components/icons/eye-plus-circle.d.ts +3 -3
  154. package/dist/components/icons/eye.d.ts +3 -3
  155. package/dist/components/icons/filled-circle.d.ts +3 -3
  156. package/dist/components/icons/filter-remove.d.ts +3 -3
  157. package/dist/components/icons/filter.d.ts +3 -3
  158. package/dist/components/icons/folder-save.d.ts +3 -3
  159. package/dist/components/icons/grid.d.ts +3 -3
  160. package/dist/components/icons/hashtag.d.ts +3 -3
  161. package/dist/components/icons/image.d.ts +3 -3
  162. package/dist/components/icons/import.d.ts +3 -3
  163. package/dist/components/icons/info-circle.d.ts +3 -3
  164. package/dist/components/icons/info.d.ts +3 -3
  165. package/dist/components/icons/link-horizontal.d.ts +3 -3
  166. package/dist/components/icons/link.d.ts +3 -3
  167. package/dist/components/icons/location.d.ts +3 -3
  168. package/dist/components/icons/lowest-lead-time.d.ts +3 -3
  169. package/dist/components/icons/lowest-min-qty.d.ts +3 -3
  170. package/dist/components/icons/lowest-price.d.ts +3 -3
  171. package/dist/components/icons/more.d.ts +3 -3
  172. package/dist/components/icons/notification.d.ts +3 -3
  173. package/dist/components/icons/paper-clip.d.ts +3 -3
  174. package/dist/components/icons/paragraph.d.ts +3 -3
  175. package/dist/components/icons/payment-request.d.ts +3 -3
  176. package/dist/components/icons/phone.d.ts +3 -3
  177. package/dist/components/icons/printer.d.ts +3 -3
  178. package/dist/components/icons/process-calendar.d.ts +3 -3
  179. package/dist/components/icons/promotion.d.ts +3 -3
  180. package/dist/components/icons/radio-button.d.ts +3 -3
  181. package/dist/components/icons/receipt-filled.d.ts +3 -3
  182. package/dist/components/icons/receipt-outline.d.ts +3 -3
  183. package/dist/components/icons/receipt.d.ts +3 -3
  184. package/dist/components/icons/refresh-icon.d.ts +3 -3
  185. package/dist/components/icons/replace.d.ts +3 -3
  186. package/dist/components/icons/save.d.ts +3 -3
  187. package/dist/components/icons/search-status.d.ts +3 -3
  188. package/dist/components/icons/search.d.ts +3 -3
  189. package/dist/components/icons/settings-fallback.d.ts +3 -3
  190. package/dist/components/icons/share/index.esm.js.map +1 -1
  191. package/dist/components/icons/share/index.js.map +1 -1
  192. package/dist/components/icons/sort-arrow-icon.d.ts +3 -3
  193. package/dist/components/icons/stacked-layer.d.ts +3 -3
  194. package/dist/components/icons/start-filled.d.ts +3 -3
  195. package/dist/components/icons/three-dot-icon.d.ts +3 -3
  196. package/dist/components/icons/tick-circle-filled.d.ts +3 -3
  197. package/dist/components/icons/tick-circle.d.ts +3 -3
  198. package/dist/components/icons/tick-octagon.d.ts +3 -3
  199. package/dist/components/icons/tick.d.ts +3 -3
  200. package/dist/components/icons/toggle-switch.d.ts +3 -3
  201. package/dist/components/icons/trash.d.ts +3 -3
  202. package/dist/components/icons/wave.d.ts +3 -3
  203. package/dist/components/icons/with-out-tick-octagon.d.ts +3 -3
  204. package/dist/components/icons/work-centre.d.ts +3 -3
  205. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  206. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js.map +1 -1
  207. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
  208. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js.map +1 -1
  209. package/dist/components/label-value/label-value/index.esm.js.map +1 -1
  210. package/dist/components/label-value/label-value/index.js.map +1 -1
  211. package/dist/components/listing/listing/index.esm.js.map +1 -1
  212. package/dist/components/listing/listing/index.js.map +1 -1
  213. package/dist/components/loaders/erp-loader/index.esm.js.map +1 -1
  214. package/dist/components/loaders/erp-loader/index.js.map +1 -1
  215. package/dist/components/loaders/form-loader/index.esm.js.map +1 -1
  216. package/dist/components/loaders/form-loader/index.js.map +1 -1
  217. package/dist/components/loaders/modal-loader/index.esm.js.map +1 -1
  218. package/dist/components/loaders/modal-loader/index.js.map +1 -1
  219. package/dist/components/loaders/page-loader/index.esm.js.map +1 -1
  220. package/dist/components/loaders/page-loader/index.js.map +1 -1
  221. package/dist/components/location-select.d.ts +1 -1
  222. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js.map +1 -1
  223. package/dist/components/material-editable-table/components/inline-edit-fields/index.js.map +1 -1
  224. package/dist/components/material-editable-table/material-editable-table/index.esm.js.map +1 -1
  225. package/dist/components/material-editable-table/material-editable-table/index.js.map +1 -1
  226. package/dist/components/material-editable-table/material-editable-table.d.ts +1 -1
  227. package/dist/components/material-table/material-table.d.ts +1 -1
  228. package/dist/components/menu/menu/index.esm.js.map +1 -1
  229. package/dist/components/menu/menu/index.js.map +1 -1
  230. package/dist/components/modal/modal/index.esm.js.map +1 -1
  231. package/dist/components/modal/modal/index.js.map +1 -1
  232. package/dist/components/page-navigator/page-navigator/index.esm.js.map +1 -1
  233. package/dist/components/page-navigator/page-navigator/index.js.map +1 -1
  234. package/dist/components/phone-input/phone-input.d.ts +1 -1
  235. package/dist/components/providers/ERPUIProvider/index.esm.js.map +1 -1
  236. package/dist/components/providers/ERPUIProvider/index.js.map +1 -1
  237. package/dist/components/radio/radio.d.ts +1 -1
  238. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  239. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js.map +1 -1
  240. package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
  241. package/dist/components/reports-title-bar/redux/actionCreator/index.js.map +1 -1
  242. package/dist/components/reset-password-modal/reset-password-modal/index.esm.js.map +1 -1
  243. package/dist/components/reset-password-modal/reset-password-modal/index.js.map +1 -1
  244. package/dist/components/search-bar/search-bar/index.esm.js.map +1 -1
  245. package/dist/components/search-bar/search-bar/index.js.map +1 -1
  246. package/dist/components/searchable-select/index.esm.js.map +1 -1
  247. package/dist/components/searchable-select/index.js.map +1 -1
  248. package/dist/components/select/controller/chip-or-placeholder/index.esm.js.map +1 -1
  249. package/dist/components/select/controller/chip-or-placeholder/index.js.map +1 -1
  250. package/dist/components/select/select/index.esm.js.map +1 -1
  251. package/dist/components/select/select/index.js.map +1 -1
  252. package/dist/components/select/select-search/index.esm.js.map +1 -1
  253. package/dist/components/select/select-search/index.js.map +1 -1
  254. package/dist/components/select/select.d.ts +1 -1
  255. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  256. package/dist/components/share-modal/redux/actionCreator/index.esm.js.map +1 -1
  257. package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
  258. package/dist/components/share-modal/redux/actionCreator/index.js.map +1 -1
  259. package/dist/components/sub-header-doc/sub-header-doc/index.esm.js.map +1 -1
  260. package/dist/components/sub-header-doc/sub-header-doc/index.js.map +1 -1
  261. package/dist/components/switches/android-12-switch/index.esm.js.map +1 -1
  262. package/dist/components/switches/android-12-switch/index.js.map +1 -1
  263. package/dist/components/switches/android-12-switch.d.ts +1 -3
  264. package/dist/components/text-area/text-area/index.esm.js.map +1 -1
  265. package/dist/components/text-area/text-area/index.js.map +1 -1
  266. package/dist/components/text-field/text-field/index.esm.js.map +1 -1
  267. package/dist/components/text-field/text-field/index.js.map +1 -1
  268. package/dist/components/text-field/text-field.d.ts +1 -1
  269. package/dist/components/time-picker/time-picker/index.esm.js.map +1 -1
  270. package/dist/components/time-picker/time-picker/index.js.map +1 -1
  271. package/dist/components/time-picker/time-picker.d.ts +1 -1
  272. package/dist/components/toast/toast/index.esm.js.map +1 -1
  273. package/dist/components/toast/toast/index.js.map +1 -1
  274. package/dist/components/toggle/toggle/index.esm.js.map +1 -1
  275. package/dist/components/toggle/toggle/index.js.map +1 -1
  276. package/dist/components/typography/typography/index.esm.js.map +1 -1
  277. package/dist/components/typography/typography/index.js.map +1 -1
  278. package/dist/components/upload/upload/index.esm.js +2 -2
  279. package/dist/components/upload/upload/index.esm.js.map +1 -1
  280. package/dist/components/upload/upload/index.js +11 -11
  281. package/dist/components/upload/upload/index.js.map +1 -1
  282. package/dist/components/upload-media/upload-media.d.ts +1 -1
  283. package/dist/constants/defaultColumns/index.esm.js.map +1 -1
  284. package/dist/constants/defaultColumns/index.js.map +1 -1
  285. package/dist/constants/modules/index.esm.js.map +1 -1
  286. package/dist/constants/modules/index.js.map +1 -1
  287. package/dist/constants/pathnames/pathname/index.esm.js.map +1 -1
  288. package/dist/constants/pathnames/pathname/index.js.map +1 -1
  289. package/dist/constants/pathnames/pathname.accounting/index.esm.js.map +1 -1
  290. package/dist/constants/pathnames/pathname.accounting/index.js.map +1 -1
  291. package/dist/constants/pathnames/pathname.crm/index.esm.js.map +1 -1
  292. package/dist/constants/pathnames/pathname.crm/index.js.map +1 -1
  293. package/dist/constants/pathnames/pathname.document/index.esm.js.map +1 -1
  294. package/dist/constants/pathnames/pathname.document/index.js.map +1 -1
  295. package/dist/constants/pathnames/pathname.hrms/index.esm.js.map +1 -1
  296. package/dist/constants/pathnames/pathname.hrms/index.js.map +1 -1
  297. package/dist/constants/pathnames/pathname.inventory/index.esm.js.map +1 -1
  298. package/dist/constants/pathnames/pathname.inventory/index.js.map +1 -1
  299. package/dist/constants/pathnames/pathname.manufacturing/index.esm.js.map +1 -1
  300. package/dist/constants/pathnames/pathname.manufacturing/index.js.map +1 -1
  301. package/dist/constants/pathnames/pathname.office/index.esm.js.map +1 -1
  302. package/dist/constants/pathnames/pathname.office/index.js.map +1 -1
  303. package/dist/constants/pathnames/pathname.procurement/index.esm.js.map +1 -1
  304. package/dist/constants/pathnames/pathname.procurement/index.js.map +1 -1
  305. package/dist/constants/pathnames/pathname.project/index.esm.js.map +1 -1
  306. package/dist/constants/pathnames/pathname.project/index.js.map +1 -1
  307. package/dist/constants/pathnames/pathname.quotes/index.esm.js.map +1 -1
  308. package/dist/constants/pathnames/pathname.quotes/index.js.map +1 -1
  309. package/dist/constants/pathnames/pathname.rental/index.esm.js.map +1 -1
  310. package/dist/constants/pathnames/pathname.rental/index.js.map +1 -1
  311. package/dist/constants/pathnames/pathname.user/index.esm.js.map +1 -1
  312. package/dist/constants/pathnames/pathname.user/index.js.map +1 -1
  313. package/dist/constants/route-page-map/index.esm.js.map +1 -1
  314. package/dist/constants/route-page-map/index.js.map +1 -1
  315. package/dist/constants/status/index.esm.js.map +1 -1
  316. package/dist/constants/status/index.js.map +1 -1
  317. package/dist/contexts/AuthContext/index.esm.js +1 -1
  318. package/dist/contexts/AuthContext/index.esm.js.map +1 -1
  319. package/dist/contexts/AuthContext/index.js +1 -1
  320. package/dist/contexts/AuthContext/index.js.map +1 -1
  321. package/dist/contexts/languageContext/index.esm.js +1 -1
  322. package/dist/contexts/languageContext/index.esm.js.map +1 -1
  323. package/dist/contexts/languageContext/index.js +1 -1
  324. package/dist/contexts/languageContext/index.js.map +1 -1
  325. package/dist/contexts/page-context/index.esm.js.map +1 -1
  326. package/dist/contexts/page-context/index.js.map +1 -1
  327. package/dist/hooks/use-translations/index.esm.js.map +1 -1
  328. package/dist/hooks/use-translations/index.js.map +1 -1
  329. package/dist/hooks/useApi/index.esm.js.map +1 -1
  330. package/dist/hooks/useApi/index.js.map +1 -1
  331. package/dist/hooks/useDataFetcher/index.esm.js.map +1 -1
  332. package/dist/hooks/useDataFetcher/index.js.map +1 -1
  333. package/dist/layout/fullScreen/fullScreen/index.esm.js.map +1 -1
  334. package/dist/layout/fullScreen/fullScreen/index.js.map +1 -1
  335. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js.map +1 -1
  336. package/dist/layout/sidebarScreen/sidebarScreen/index.js.map +1 -1
  337. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
  338. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
  339. package/dist/node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI/index.esm.js +1 -1
  340. package/dist/node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI/index.js +2 -2
  341. package/dist/node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI/index.js.map +1 -1
  342. package/dist/node_modules/{@toast-ui → @glideapps/glide-data-grid-cells/node_modules/@toast-ui}/react-editor/dist/esm/index/index.esm.js +2 -2
  343. package/dist/node_modules/@glideapps/glide-data-grid-cells/node_modules/@toast-ui/react-editor/dist/esm/index/index.esm.js.map +1 -0
  344. package/dist/node_modules/@glideapps/glide-data-grid-cells/node_modules/@toast-ui/react-editor/dist/esm/index/index.js +2 -0
  345. package/dist/node_modules/@glideapps/glide-data-grid-cells/node_modules/@toast-ui/react-editor/dist/esm/index/index.js.map +1 -0
  346. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
  347. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
  348. package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +2 -2
  349. package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
  350. package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
  351. package/dist/node_modules/@mui/system/createStyled/index.esm.js +6 -6
  352. package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
  353. package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
  354. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
  355. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
  356. package/dist/node_modules/material-react-table/dist/index.esm/index.esm.js +1 -1
  357. package/dist/node_modules/material-react-table/dist/index.esm/index.js +1 -1
  358. package/dist/node_modules/material-react-table/dist/index.esm/index.js.map +1 -1
  359. package/dist/node_modules/{@tanstack → material-react-table/node_modules/@tanstack}/react-virtual/dist/esm/index/index.esm.js +2 -2
  360. package/dist/node_modules/material-react-table/node_modules/@tanstack/react-virtual/dist/esm/index/index.esm.js.map +1 -0
  361. package/dist/node_modules/material-react-table/node_modules/@tanstack/react-virtual/dist/esm/index/index.js +2 -0
  362. package/dist/node_modules/material-react-table/node_modules/@tanstack/react-virtual/dist/esm/index/index.js.map +1 -0
  363. package/dist/redux/actionCreator/index.esm.js.map +1 -1
  364. package/dist/redux/actionCreator/index.js.map +1 -1
  365. package/dist/redux/module-reducer/index.esm.js.map +1 -1
  366. package/dist/redux/module-reducer/index.js.map +1 -1
  367. package/dist/redux/store/index.esm.js.map +1 -1
  368. package/dist/redux/store/index.js.map +1 -1
  369. package/dist/server/index.esm.js.map +1 -1
  370. package/dist/server/index.js.map +1 -1
  371. package/dist/src/components/accordion/accordion.d.ts +1 -1
  372. package/dist/src/components/action-bar/action-bar.d.ts +1 -1
  373. package/dist/src/components/checkbox/checkbox.d.ts +1 -1
  374. package/dist/src/components/date-picker/date-picker.d.ts +1 -1
  375. package/dist/src/components/footer/footer.d.ts +1 -1
  376. package/dist/src/components/form-control/form-builder/form-builder-element/media.d.ts +1 -1
  377. package/dist/src/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -1
  378. package/dist/src/components/form-control/form-builder/form-builder-element/select.d.ts +1 -1
  379. package/dist/src/components/form-control/form-builder/form-builder-element/text.d.ts +1 -1
  380. package/dist/src/components/form-control/form-builder/form-builder-element/time.d.ts +1 -1
  381. package/dist/src/components/form-control/form-parser/form-switcher.d.ts +1 -1
  382. package/dist/src/components/icons/action-arrow.d.ts +3 -3
  383. package/dist/src/components/icons/add-circle.d.ts +3 -3
  384. package/dist/src/components/icons/arrow-bidirectional.d.ts +3 -3
  385. package/dist/src/components/icons/arrow-circle-down.d.ts +3 -3
  386. package/dist/src/components/icons/arrow-down-three.d.ts +3 -3
  387. package/dist/src/components/icons/arrow-down-two.d.ts +3 -3
  388. package/dist/src/components/icons/arrow-down.d.ts +3 -3
  389. package/dist/src/components/icons/arrow-up-down.d.ts +3 -3
  390. package/dist/src/components/icons/arrow-up-two.d.ts +3 -3
  391. package/dist/src/components/icons/assignments.d.ts +3 -3
  392. package/dist/src/components/icons/blank-circle.d.ts +3 -3
  393. package/dist/src/components/icons/block-filled.d.ts +3 -3
  394. package/dist/src/components/icons/calendar-add.d.ts +3 -3
  395. package/dist/src/components/icons/calendar.d.ts +3 -3
  396. package/dist/src/components/icons/checkbox-square.d.ts +3 -3
  397. package/dist/src/components/icons/circular-arrow-setting.d.ts +3 -3
  398. package/dist/src/components/icons/clock.d.ts +3 -3
  399. package/dist/src/components/icons/close.d.ts +3 -3
  400. package/dist/src/components/icons/coin-outline.d.ts +3 -3
  401. package/dist/src/components/icons/copy.d.ts +3 -3
  402. package/dist/src/components/icons/coupon.d.ts +3 -3
  403. package/dist/src/components/icons/cross-hire.d.ts +3 -3
  404. package/dist/src/components/icons/custom-styled-icon.d.ts +3 -3
  405. package/dist/src/components/icons/dashboard.d.ts +3 -3
  406. package/dist/src/components/icons/document-download.d.ts +3 -3
  407. package/dist/src/components/icons/document.d.ts +3 -3
  408. package/dist/src/components/icons/dollar-circle-filled.d.ts +3 -3
  409. package/dist/src/components/icons/dollar-circle.d.ts +3 -3
  410. package/dist/src/components/icons/edit.d.ts +3 -3
  411. package/dist/src/components/icons/email.d.ts +3 -3
  412. package/dist/src/components/icons/export.d.ts +3 -3
  413. package/dist/src/components/icons/eye-off.d.ts +3 -3
  414. package/dist/src/components/icons/eye-plus-circle.d.ts +3 -3
  415. package/dist/src/components/icons/eye.d.ts +3 -3
  416. package/dist/src/components/icons/filled-circle.d.ts +3 -3
  417. package/dist/src/components/icons/filter-remove.d.ts +3 -3
  418. package/dist/src/components/icons/filter.d.ts +3 -3
  419. package/dist/src/components/icons/folder-save.d.ts +3 -3
  420. package/dist/src/components/icons/grid.d.ts +3 -3
  421. package/dist/src/components/icons/hashtag.d.ts +3 -3
  422. package/dist/src/components/icons/image.d.ts +3 -3
  423. package/dist/src/components/icons/import.d.ts +3 -3
  424. package/dist/src/components/icons/info-circle.d.ts +3 -3
  425. package/dist/src/components/icons/info.d.ts +3 -3
  426. package/dist/src/components/icons/link-horizontal.d.ts +3 -3
  427. package/dist/src/components/icons/link.d.ts +3 -3
  428. package/dist/src/components/icons/location.d.ts +3 -3
  429. package/dist/src/components/icons/lowest-lead-time.d.ts +3 -3
  430. package/dist/src/components/icons/lowest-min-qty.d.ts +3 -3
  431. package/dist/src/components/icons/lowest-price.d.ts +3 -3
  432. package/dist/src/components/icons/more.d.ts +3 -3
  433. package/dist/src/components/icons/notification.d.ts +3 -3
  434. package/dist/src/components/icons/paper-clip.d.ts +3 -3
  435. package/dist/src/components/icons/paragraph.d.ts +3 -3
  436. package/dist/src/components/icons/payment-request.d.ts +3 -3
  437. package/dist/src/components/icons/phone.d.ts +3 -3
  438. package/dist/src/components/icons/printer.d.ts +3 -3
  439. package/dist/src/components/icons/process-calendar.d.ts +3 -3
  440. package/dist/src/components/icons/promotion.d.ts +3 -3
  441. package/dist/src/components/icons/radio-button.d.ts +3 -3
  442. package/dist/src/components/icons/receipt-filled.d.ts +3 -3
  443. package/dist/src/components/icons/receipt-outline.d.ts +3 -3
  444. package/dist/src/components/icons/receipt.d.ts +3 -3
  445. package/dist/src/components/icons/refresh-icon.d.ts +3 -3
  446. package/dist/src/components/icons/replace.d.ts +3 -3
  447. package/dist/src/components/icons/save.d.ts +3 -3
  448. package/dist/src/components/icons/search-status.d.ts +3 -3
  449. package/dist/src/components/icons/search.d.ts +3 -3
  450. package/dist/src/components/icons/settings-fallback.d.ts +3 -3
  451. package/dist/src/components/icons/sort-arrow-icon.d.ts +3 -3
  452. package/dist/src/components/icons/stacked-layer.d.ts +3 -3
  453. package/dist/src/components/icons/start-filled.d.ts +3 -3
  454. package/dist/src/components/icons/three-dot-icon.d.ts +3 -3
  455. package/dist/src/components/icons/tick-circle-filled.d.ts +3 -3
  456. package/dist/src/components/icons/tick-circle.d.ts +3 -3
  457. package/dist/src/components/icons/tick-octagon.d.ts +3 -3
  458. package/dist/src/components/icons/tick.d.ts +3 -3
  459. package/dist/src/components/icons/toggle-switch.d.ts +3 -3
  460. package/dist/src/components/icons/trash.d.ts +3 -3
  461. package/dist/src/components/icons/wave.d.ts +3 -3
  462. package/dist/src/components/icons/with-out-tick-octagon.d.ts +3 -3
  463. package/dist/src/components/icons/work-centre.d.ts +3 -3
  464. package/dist/src/components/location-select.d.ts +1 -1
  465. package/dist/src/components/material-editable-table/material-editable-table.d.ts +1 -1
  466. package/dist/src/components/material-table/material-table.d.ts +1 -1
  467. package/dist/src/components/phone-input/phone-input.d.ts +1 -1
  468. package/dist/src/components/radio/radio.d.ts +1 -1
  469. package/dist/src/components/select/select.d.ts +1 -1
  470. package/dist/src/components/switches/android-12-switch.d.ts +1 -3
  471. package/dist/src/components/text-field/text-field.d.ts +1 -1
  472. package/dist/src/components/time-picker/time-picker.d.ts +1 -1
  473. package/dist/src/components/upload-media/upload-media.d.ts +1 -1
  474. package/dist/src/utils/common-utility.d.ts +1 -1
  475. package/dist/style.css +62 -62
  476. package/dist/styles/index.d.ts +1 -1
  477. package/dist/theme/theme-impl/index.esm.js.map +1 -1
  478. package/dist/theme/theme-impl/index.js.map +1 -1
  479. package/dist/utils/api/index.esm.js +6 -6
  480. package/dist/utils/api/index.esm.js.map +1 -1
  481. package/dist/utils/api/index.js +1 -1
  482. package/dist/utils/api/index.js.map +1 -1
  483. package/dist/utils/common/index.esm.js +6 -6
  484. package/dist/utils/common/index.esm.js.map +1 -1
  485. package/dist/utils/common/index.js +1 -1
  486. package/dist/utils/common/index.js.map +1 -1
  487. package/dist/utils/common-utility.d.ts +1 -1
  488. package/dist/utils/date-range/index.esm.js.map +1 -1
  489. package/dist/utils/date-range/index.js.map +1 -1
  490. package/dist/utils/i18n/index.esm.js.map +1 -1
  491. package/dist/utils/i18n/index.js.map +1 -1
  492. package/dist/utils/menu-filter/index.esm.js.map +1 -1
  493. package/dist/utils/menu-filter/index.js.map +1 -1
  494. package/dist/views/404/index.esm.js.map +1 -1
  495. package/dist/views/404/index.js.map +1 -1
  496. package/dist/views/afterAuth/dashboard/dashboard/index.esm.js.map +1 -1
  497. package/dist/views/afterAuth/dashboard/dashboard/index.js.map +1 -1
  498. package/dist/views/afterAuth/dashboard/redux/actionCreator/index.esm.js.map +1 -1
  499. package/dist/views/afterAuth/dashboard/redux/actionCreator/index.js.map +1 -1
  500. package/dist/views/afterAuth/dashboard/redux/reducer/index.esm.js.map +1 -1
  501. package/dist/views/afterAuth/dashboard/redux/reducer/index.js.map +1 -1
  502. package/dist/views/afterAuth/dashboard/redux/state/index.esm.js.map +1 -1
  503. package/dist/views/afterAuth/dashboard/redux/state/index.js.map +1 -1
  504. package/dist/views/afterAuth/page-view/page-view/index.esm.js.map +1 -1
  505. package/dist/views/afterAuth/page-view/page-view/index.js.map +1 -1
  506. package/dist/views/afterAuth/page-view/redux/actionCreator/index.esm.js.map +1 -1
  507. package/dist/views/afterAuth/page-view/redux/actionCreator/index.js.map +1 -1
  508. package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js.map +1 -1
  509. package/dist/views/afterAuth/page-view/redux/reducer/index.js.map +1 -1
  510. package/dist/views/afterAuth/page-view/redux/state/index.esm.js.map +1 -1
  511. package/dist/views/afterAuth/page-view/redux/state/index.js.map +1 -1
  512. package/dist/views/afterAuth/page-view/utils/default-data/index.esm.js.map +1 -1
  513. package/dist/views/afterAuth/page-view/utils/default-data/index.js.map +1 -1
  514. package/dist/views/afterAuth/page-view/utils/local-data/index.esm.js.map +1 -1
  515. package/dist/views/afterAuth/page-view/utils/local-data/index.js.map +1 -1
  516. package/dist/views/beforeAuth/change-password/change-password/index.esm.js.map +1 -1
  517. package/dist/views/beforeAuth/change-password/change-password/index.js.map +1 -1
  518. package/dist/views/beforeAuth/components/activity-tag-data/activity-tag-data/index.esm.js.map +1 -1
  519. package/dist/views/beforeAuth/components/activity-tag-data/activity-tag-data/index.js.map +1 -1
  520. package/dist/views/beforeAuth/components/calendar-data/calendar-data/index.esm.js.map +1 -1
  521. package/dist/views/beforeAuth/components/calendar-data/calendar-data/index.js.map +1 -1
  522. package/dist/views/beforeAuth/components/gantt-data/gantt-data/index.esm.js.map +1 -1
  523. package/dist/views/beforeAuth/components/gantt-data/gantt-data/index.js.map +1 -1
  524. package/dist/views/beforeAuth/components/grid-data/grid-data/index.esm.js.map +1 -1
  525. package/dist/views/beforeAuth/components/grid-data/grid-data/index.js.map +1 -1
  526. package/dist/views/beforeAuth/components/kanbann-content/kanbann-raw/index.esm.js.map +1 -1
  527. package/dist/views/beforeAuth/components/kanbann-content/kanbann-raw/index.js.map +1 -1
  528. package/dist/views/beforeAuth/components/list-content/column-raw/index.esm.js.map +1 -1
  529. package/dist/views/beforeAuth/components/list-content/column-raw/index.js.map +1 -1
  530. package/dist/views/beforeAuth/components/list-content/list-data/index.esm.js.map +1 -1
  531. package/dist/views/beforeAuth/components/list-content/list-data/index.js.map +1 -1
  532. package/dist/views/beforeAuth/components/multiline-data/multiline-data/index.esm.js.map +1 -1
  533. package/dist/views/beforeAuth/components/multiline-data/multiline-data/index.js.map +1 -1
  534. package/dist/views/beforeAuth/components/share-modal-data/share-modal-data/index.esm.js.map +1 -1
  535. package/dist/views/beforeAuth/components/share-modal-data/share-modal-data/index.js.map +1 -1
  536. package/dist/views/beforeAuth/components/shared-pages-data/shared-pages-data/index.esm.js.map +1 -1
  537. package/dist/views/beforeAuth/components/shared-pages-data/shared-pages-data/index.js.map +1 -1
  538. package/dist/views/beforeAuth/components/tabs-data/tabs-data/index.esm.js.map +1 -1
  539. package/dist/views/beforeAuth/components/tabs-data/tabs-data/index.js.map +1 -1
  540. package/dist/views/beforeAuth/components/user-dashboard-data/user-dashboard-data/index.esm.js.map +1 -1
  541. package/dist/views/beforeAuth/components/user-dashboard-data/user-dashboard-data/index.js.map +1 -1
  542. package/dist/views/beforeAuth/components/user-dropdown-data/user-dropdown-data/index.esm.js.map +1 -1
  543. package/dist/views/beforeAuth/components/user-dropdown-data/user-dropdown-data/index.js.map +1 -1
  544. package/dist/views/beforeAuth/forgot-password/forgot-password/index.esm.js.map +1 -1
  545. package/dist/views/beforeAuth/forgot-password/forgot-password/index.js.map +1 -1
  546. package/dist/views/beforeAuth/landing/landing/index.esm.js.map +1 -1
  547. package/dist/views/beforeAuth/landing/landing/index.js.map +1 -1
  548. package/dist/views/beforeAuth/reset-password/reset-password/index.esm.js.map +1 -1
  549. package/dist/views/beforeAuth/reset-password/reset-password/index.js.map +1 -1
  550. package/dist/views/form-builder/custom-form/index.esm.js.map +1 -1
  551. package/dist/views/form-builder/custom-form/index.js.map +1 -1
  552. package/dist/views/form-builder/element-edit-forms/checkbox/index.esm.js.map +1 -1
  553. package/dist/views/form-builder/element-edit-forms/checkbox/index.js.map +1 -1
  554. package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js.map +1 -1
  555. package/dist/views/form-builder/element-edit-forms/column-width/index.js.map +1 -1
  556. package/dist/views/form-builder/element-edit-forms/field-select/index.esm.js.map +1 -1
  557. package/dist/views/form-builder/element-edit-forms/field-select/index.js.map +1 -1
  558. package/dist/views/form-builder/element-edit-forms/section/index.esm.js.map +1 -1
  559. package/dist/views/form-builder/element-edit-forms/section/index.js.map +1 -1
  560. package/dist/views/form-builder/element-edit-forms/select/index.esm.js.map +1 -1
  561. package/dist/views/form-builder/element-edit-forms/select/index.js.map +1 -1
  562. package/dist/views/form-builder/element-edit-forms/table-form/index.esm.js.map +1 -1
  563. package/dist/views/form-builder/element-edit-forms/table-form/index.js.map +1 -1
  564. package/dist/views/form-builder/element-edit-forms/text/index.esm.js.map +1 -1
  565. package/dist/views/form-builder/element-edit-forms/text/index.js.map +1 -1
  566. package/dist/views/form-builder/field_properties/index.esm.js.map +1 -1
  567. package/dist/views/form-builder/field_properties/index.js.map +1 -1
  568. package/dist/views/form-builder/form-fields/index.esm.js.map +1 -1
  569. package/dist/views/form-builder/form-fields/index.js.map +1 -1
  570. package/dist/views/form-builder/redux/actionCreator/index.esm.js +1 -1
  571. package/dist/views/form-builder/redux/actionCreator/index.esm.js.map +1 -1
  572. package/dist/views/form-builder/redux/actionCreator/index.js +1 -1
  573. package/dist/views/form-builder/redux/actionCreator/index.js.map +1 -1
  574. package/dist/views/form-builder/redux/reducer/index.esm.js.map +1 -1
  575. package/dist/views/form-builder/redux/reducer/index.js.map +1 -1
  576. package/dist/views/form-builder/redux/state/index.esm.js.map +1 -1
  577. package/dist/views/form-builder/redux/state/index.js.map +1 -1
  578. package/dist/views/form-builder/utils/common/index.esm.js.map +1 -1
  579. package/dist/views/form-builder/utils/common/index.js.map +1 -1
  580. package/dist/views/index.d.ts +8 -8
  581. package/dist/views/privateRoute/index.esm.js.map +1 -1
  582. package/dist/views/privateRoute/index.js.map +1 -1
  583. package/dist/views/template-editor/add-template/add-template/index.esm.js.map +1 -1
  584. package/dist/views/template-editor/add-template/add-template/index.js.map +1 -1
  585. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.esm.js.map +1 -1
  586. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.js.map +1 -1
  587. package/dist/views/template-editor/components/EditorCanvas/index.esm.js.map +1 -1
  588. package/dist/views/template-editor/components/EditorCanvas/index.js.map +1 -1
  589. package/dist/views/template-editor/components/EditorHeader/index.esm.js.map +1 -1
  590. package/dist/views/template-editor/components/EditorHeader/index.js.map +1 -1
  591. package/dist/views/template-editor/components/EditorSection/index.esm.js.map +1 -1
  592. package/dist/views/template-editor/components/EditorSection/index.js.map +1 -1
  593. package/dist/views/template-editor/components/EditorSidebar/index.esm.js +1 -1
  594. package/dist/views/template-editor/components/EditorSidebar/index.esm.js.map +1 -1
  595. package/dist/views/template-editor/components/EditorSidebar/index.js +1 -1
  596. package/dist/views/template-editor/components/EditorSidebar/index.js.map +1 -1
  597. package/dist/views/template-editor/components/SectionFlowEditor/index.esm.js.map +1 -1
  598. package/dist/views/template-editor/components/SectionFlowEditor/index.js.map +1 -1
  599. package/dist/views/template-editor/components/SectionFormatPanel/index.esm.js.map +1 -1
  600. package/dist/views/template-editor/components/SectionFormatPanel/index.js.map +1 -1
  601. package/dist/views/template-editor/components/controllers/AlignmentControl/index.esm.js.map +1 -1
  602. package/dist/views/template-editor/components/controllers/AlignmentControl/index.js.map +1 -1
  603. package/dist/views/template-editor/components/controllers/ButtonControls/index.esm.js.map +1 -1
  604. package/dist/views/template-editor/components/controllers/ButtonControls/index.js.map +1 -1
  605. package/dist/views/template-editor/components/controllers/CodeControls/index.esm.js.map +1 -1
  606. package/dist/views/template-editor/components/controllers/CodeControls/index.js.map +1 -1
  607. package/dist/views/template-editor/components/controllers/DividerControls/index.esm.js.map +1 -1
  608. package/dist/views/template-editor/components/controllers/DividerControls/index.js.map +1 -1
  609. package/dist/views/template-editor/components/controllers/ImageControls/index.esm.js.map +1 -1
  610. package/dist/views/template-editor/components/controllers/ImageControls/index.js.map +1 -1
  611. package/dist/views/template-editor/components/controllers/SignatureControls/index.esm.js.map +1 -1
  612. package/dist/views/template-editor/components/controllers/SignatureControls/index.js.map +1 -1
  613. package/dist/views/template-editor/components/controllers/TableControls/index.esm.js.map +1 -1
  614. package/dist/views/template-editor/components/controllers/TableControls/index.js.map +1 -1
  615. package/dist/views/template-editor/components/controllers/TextControls/index.esm.js.map +1 -1
  616. package/dist/views/template-editor/components/controllers/TextControls/index.js.map +1 -1
  617. package/dist/views/template-editor/components/controllers/border-control/index.esm.js.map +1 -1
  618. package/dist/views/template-editor/components/controllers/border-control/index.js.map +1 -1
  619. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.esm.js.map +1 -1
  620. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.js.map +1 -1
  621. package/dist/views/template-editor/routes/index.esm.js.map +1 -1
  622. package/dist/views/template-editor/routes/index.js.map +1 -1
  623. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.esm.js.map +1 -1
  624. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.js.map +1 -1
  625. package/dist/views/template-editor/template-modal/template-modal/index.esm.js.map +1 -1
  626. package/dist/views/template-editor/template-modal/template-modal/index.js.map +1 -1
  627. package/dist/views/template-editor/template-name-modal/template-name-modal/index.esm.js.map +1 -1
  628. package/dist/views/template-editor/template-name-modal/template-name-modal/index.js.map +1 -1
  629. package/dist/views/template-editor/templates/index.esm.js +1 -1
  630. package/dist/views/template-editor/templates/index.esm.js.map +1 -1
  631. package/dist/views/template-editor/templates/index.js +1 -1
  632. package/dist/views/template-editor/templates/index.js.map +1 -1
  633. package/dist/views/template-editor/utils/common/index.esm.js.map +1 -1
  634. package/dist/views/template-editor/utils/common/index.js.map +1 -1
  635. package/dist/views/template-editor/utils/constant/index.esm.js.map +1 -1
  636. package/dist/views/template-editor/utils/constant/index.js.map +1 -1
  637. package/dist/views/template-editor/utils/default-data/index.esm.js.map +1 -1
  638. package/dist/views/template-editor/utils/default-data/index.js.map +1 -1
  639. package/dist/views/template-editor/utils/style-extractor/index.esm.js.map +1 -1
  640. package/dist/views/template-editor/utils/style-extractor/index.js.map +1 -1
  641. package/dist/vite-env.d.ts +23 -23
  642. package/package.json +299 -299
  643. package/src/styles/README.md +287 -287
  644. package/src/styles/all.scss +7 -7
  645. package/src/styles/animations.scss +5 -5
  646. package/src/styles/css/reset.css +1 -1
  647. package/src/styles/index.d.ts +1 -1
  648. package/src/styles/index.ts +1 -1
  649. package/src/styles/mixins.scss +5 -5
  650. package/src/styles/sass/main.scss +11 -11
  651. package/src/styles/utils.scss +5 -5
  652. package/src/styles/variables.scss +4 -4
  653. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index/index.esm.js.map +0 -1
  654. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index/index.js +0 -2
  655. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index/index.js.map +0 -1
  656. package/dist/node_modules/@toast-ui/react-editor/dist/esm/index/index.esm.js.map +0 -1
  657. package/dist/node_modules/@toast-ui/react-editor/dist/esm/index/index.js +0 -2
  658. package/dist/node_modules/@toast-ui/react-editor/dist/esm/index/index.js.map +0 -1
@@ -1,1753 +1,1753 @@
1
- export interface FullResponse<T, U extends number> {
2
- 'statusCode': U;
3
- 'headers': object;
4
- 'body': T;
5
- }
6
-
7
- export type PostV1PermissionRequest = {
8
- 'x-token'?: string;
9
- 'x-timezone'?: string;
10
- 'role_id': string;
11
- 'resource_id': string;
12
- 'policy': object;
13
- 'weight': number;
14
- }
15
-
16
- export type PostV1PermissionResponseOK = {
17
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
18
- 'success': boolean;
19
- 'status_code': number;
20
- 'message': string;
21
- 'data': unknown;
22
- 'pagination': unknown;
23
- }
24
- export type PostV1PermissionResponseBadRequest = {
25
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
26
- 'success': boolean;
27
- 'status_code': number;
28
- 'message': string;
29
- }
30
- export type PostV1PermissionResponseNotFound = {
31
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
32
- 'success': boolean;
33
- 'status_code': number;
34
- 'message': string;
35
- }
36
- export type PostV1PermissionResponseInternalServerError = {
37
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
38
- 'success': boolean;
39
- 'status_code': number;
40
- 'message': string;
41
- }
42
- export type PostV1PermissionResponses =
43
- PostV1PermissionResponseOK
44
- | PostV1PermissionResponseBadRequest
45
- | PostV1PermissionResponseNotFound
46
- | PostV1PermissionResponseInternalServerError
47
-
48
- export type GetV1PermissionRequest = {
49
- 'x-token'?: string;
50
- 'x-timezone'?: string;
51
- }
52
-
53
- export type GetV1PermissionResponseOK = {
54
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
55
- 'success': boolean;
56
- 'status_code': number;
57
- 'message': string;
58
- 'data': unknown;
59
- 'pagination': unknown;
60
- }
61
- export type GetV1PermissionResponseBadRequest = {
62
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
63
- 'success': boolean;
64
- 'status_code': number;
65
- 'message': string;
66
- }
67
- export type GetV1PermissionResponseNotFound = {
68
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
69
- 'success': boolean;
70
- 'status_code': number;
71
- 'message': string;
72
- }
73
- export type GetV1PermissionResponseInternalServerError = {
74
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
75
- 'success': boolean;
76
- 'status_code': number;
77
- 'message': string;
78
- }
79
- export type GetV1PermissionResponses =
80
- GetV1PermissionResponseOK
81
- | GetV1PermissionResponseBadRequest
82
- | GetV1PermissionResponseNotFound
83
- | GetV1PermissionResponseInternalServerError
84
-
85
- export type GetV1PermissionIdRequest = {
86
- 'id': string;
87
- 'x-token'?: string;
88
- 'x-timezone'?: string;
89
- }
90
-
91
- export type GetV1PermissionIdResponseOK = {
92
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
93
- 'success': boolean;
94
- 'status_code': number;
95
- 'message': string;
96
- 'data': unknown;
97
- 'pagination': unknown;
98
- }
99
- export type GetV1PermissionIdResponseBadRequest = {
100
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
101
- 'success': boolean;
102
- 'status_code': number;
103
- 'message': string;
104
- }
105
- export type GetV1PermissionIdResponseNotFound = {
106
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
107
- 'success': boolean;
108
- 'status_code': number;
109
- 'message': string;
110
- }
111
- export type GetV1PermissionIdResponseInternalServerError = {
112
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
113
- 'success': boolean;
114
- 'status_code': number;
115
- 'message': string;
116
- }
117
- export type GetV1PermissionIdResponses =
118
- GetV1PermissionIdResponseOK
119
- | GetV1PermissionIdResponseBadRequest
120
- | GetV1PermissionIdResponseNotFound
121
- | GetV1PermissionIdResponseInternalServerError
122
-
123
- export type PutV1PermissionIdRequest = {
124
- 'id': string;
125
- 'x-token'?: string;
126
- 'x-timezone'?: string;
127
- 'role_id': string;
128
- 'resource_id': string;
129
- 'policy': object;
130
- 'weight': number;
131
- }
132
-
133
- export type PutV1PermissionIdResponseOK = {
134
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
135
- 'success': boolean;
136
- 'status_code': number;
137
- 'message': string;
138
- 'data': unknown;
139
- 'pagination': unknown;
140
- }
141
- export type PutV1PermissionIdResponseBadRequest = {
142
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
143
- 'success': boolean;
144
- 'status_code': number;
145
- 'message': string;
146
- }
147
- export type PutV1PermissionIdResponseNotFound = {
148
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
149
- 'success': boolean;
150
- 'status_code': number;
151
- 'message': string;
152
- }
153
- export type PutV1PermissionIdResponseInternalServerError = {
154
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
155
- 'success': boolean;
156
- 'status_code': number;
157
- 'message': string;
158
- }
159
- export type PutV1PermissionIdResponses =
160
- PutV1PermissionIdResponseOK
161
- | PutV1PermissionIdResponseBadRequest
162
- | PutV1PermissionIdResponseNotFound
163
- | PutV1PermissionIdResponseInternalServerError
164
-
165
- export type DeleteV1PermissionIdRequest = {
166
- 'id': string;
167
- 'x-token'?: string;
168
- 'x-timezone'?: string;
169
- }
170
-
171
- export type DeleteV1PermissionIdResponseOK = {
172
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
173
- 'success': boolean;
174
- 'status_code': number;
175
- 'message': string;
176
- 'data': unknown;
177
- 'pagination': unknown;
178
- }
179
- export type DeleteV1PermissionIdResponseBadRequest = {
180
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
181
- 'success': boolean;
182
- 'status_code': number;
183
- 'message': string;
184
- }
185
- export type DeleteV1PermissionIdResponseNotFound = {
186
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
187
- 'success': boolean;
188
- 'status_code': number;
189
- 'message': string;
190
- }
191
- export type DeleteV1PermissionIdResponseInternalServerError = {
192
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
193
- 'success': boolean;
194
- 'status_code': number;
195
- 'message': string;
196
- }
197
- export type DeleteV1PermissionIdResponses =
198
- DeleteV1PermissionIdResponseOK
199
- | DeleteV1PermissionIdResponseBadRequest
200
- | DeleteV1PermissionIdResponseNotFound
201
- | DeleteV1PermissionIdResponseInternalServerError
202
-
203
- export type GetV1PermissionRoleIdRequest = {
204
- 'id': string;
205
- 'x-token'?: string;
206
- 'x-timezone'?: string;
207
- }
208
-
209
- export type GetV1PermissionRoleIdResponseOK = {
210
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
211
- 'success': boolean;
212
- 'status_code': number;
213
- 'message': string;
214
- 'data': unknown;
215
- 'pagination': unknown;
216
- }
217
- export type GetV1PermissionRoleIdResponseBadRequest = {
218
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
219
- 'success': boolean;
220
- 'status_code': number;
221
- 'message': string;
222
- }
223
- export type GetV1PermissionRoleIdResponseNotFound = {
224
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
225
- 'success': boolean;
226
- 'status_code': number;
227
- 'message': string;
228
- }
229
- export type GetV1PermissionRoleIdResponseInternalServerError = {
230
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
231
- 'success': boolean;
232
- 'status_code': number;
233
- 'message': string;
234
- }
235
- export type GetV1PermissionRoleIdResponses =
236
- GetV1PermissionRoleIdResponseOK
237
- | GetV1PermissionRoleIdResponseBadRequest
238
- | GetV1PermissionRoleIdResponseNotFound
239
- | GetV1PermissionRoleIdResponseInternalServerError
240
-
241
- export type PostV1ResourceRequest = {
242
- 'x-token'?: string;
243
- 'x-timezone'?: string;
244
- 'name': string;
245
- 'code': string;
246
- 'method': string;
247
- 'operation': string;
248
- 'sort': number;
249
- 'module': string;
250
- }
251
-
252
- export type PostV1ResourceResponseOK = {
253
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
254
- 'success': boolean;
255
- 'status_code': number;
256
- 'message': string;
257
- 'data': unknown;
258
- 'pagination': unknown;
259
- }
260
- export type PostV1ResourceResponseBadRequest = {
261
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
262
- 'success': boolean;
263
- 'status_code': number;
264
- 'message': string;
265
- }
266
- export type PostV1ResourceResponseNotFound = {
267
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
268
- 'success': boolean;
269
- 'status_code': number;
270
- 'message': string;
271
- }
272
- export type PostV1ResourceResponseInternalServerError = {
273
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
274
- 'success': boolean;
275
- 'status_code': number;
276
- 'message': string;
277
- }
278
- export type PostV1ResourceResponses =
279
- PostV1ResourceResponseOK
280
- | PostV1ResourceResponseBadRequest
281
- | PostV1ResourceResponseNotFound
282
- | PostV1ResourceResponseInternalServerError
283
-
284
- export type GetV1ResourceRequest = {
285
- 'x-token'?: string;
286
- 'x-timezone'?: string;
287
- }
288
-
289
- export type GetV1ResourceResponseOK = {
290
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
291
- 'success': boolean;
292
- 'status_code': number;
293
- 'message': string;
294
- 'data': unknown;
295
- 'pagination': unknown;
296
- }
297
- export type GetV1ResourceResponseBadRequest = {
298
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
299
- 'success': boolean;
300
- 'status_code': number;
301
- 'message': string;
302
- }
303
- export type GetV1ResourceResponseNotFound = {
304
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
305
- 'success': boolean;
306
- 'status_code': number;
307
- 'message': string;
308
- }
309
- export type GetV1ResourceResponseInternalServerError = {
310
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
311
- 'success': boolean;
312
- 'status_code': number;
313
- 'message': string;
314
- }
315
- export type GetV1ResourceResponses =
316
- GetV1ResourceResponseOK
317
- | GetV1ResourceResponseBadRequest
318
- | GetV1ResourceResponseNotFound
319
- | GetV1ResourceResponseInternalServerError
320
-
321
- export type GetV1ResourceIdRequest = {
322
- 'id': string;
323
- 'x-token'?: string;
324
- 'x-timezone'?: string;
325
- }
326
-
327
- export type GetV1ResourceIdResponseOK = {
328
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
329
- 'success': boolean;
330
- 'status_code': number;
331
- 'message': string;
332
- 'data': unknown;
333
- 'pagination': unknown;
334
- }
335
- export type GetV1ResourceIdResponseBadRequest = {
336
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
337
- 'success': boolean;
338
- 'status_code': number;
339
- 'message': string;
340
- }
341
- export type GetV1ResourceIdResponseNotFound = {
342
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
343
- 'success': boolean;
344
- 'status_code': number;
345
- 'message': string;
346
- }
347
- export type GetV1ResourceIdResponseInternalServerError = {
348
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
349
- 'success': boolean;
350
- 'status_code': number;
351
- 'message': string;
352
- }
353
- export type GetV1ResourceIdResponses =
354
- GetV1ResourceIdResponseOK
355
- | GetV1ResourceIdResponseBadRequest
356
- | GetV1ResourceIdResponseNotFound
357
- | GetV1ResourceIdResponseInternalServerError
358
-
359
- export type PutV1ResourceIdRequest = {
360
- 'id': string;
361
- 'x-token'?: string;
362
- 'x-timezone'?: string;
363
- 'name': string;
364
- 'code': string;
365
- 'method': string;
366
- 'operation': string;
367
- 'sort': number;
368
- }
369
-
370
- export type PutV1ResourceIdResponseOK = {
371
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
372
- 'success': boolean;
373
- 'status_code': number;
374
- 'message': string;
375
- 'data': unknown;
376
- 'pagination': unknown;
377
- }
378
- export type PutV1ResourceIdResponseBadRequest = {
379
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
380
- 'success': boolean;
381
- 'status_code': number;
382
- 'message': string;
383
- }
384
- export type PutV1ResourceIdResponseNotFound = {
385
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
386
- 'success': boolean;
387
- 'status_code': number;
388
- 'message': string;
389
- }
390
- export type PutV1ResourceIdResponseInternalServerError = {
391
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
392
- 'success': boolean;
393
- 'status_code': number;
394
- 'message': string;
395
- }
396
- export type PutV1ResourceIdResponses =
397
- PutV1ResourceIdResponseOK
398
- | PutV1ResourceIdResponseBadRequest
399
- | PutV1ResourceIdResponseNotFound
400
- | PutV1ResourceIdResponseInternalServerError
401
-
402
- export type DeleteV1ResourceIdRequest = {
403
- 'id': string;
404
- 'x-token'?: string;
405
- 'x-timezone'?: string;
406
- }
407
-
408
- export type DeleteV1ResourceIdResponseOK = {
409
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
410
- 'success': boolean;
411
- 'status_code': number;
412
- 'message': string;
413
- 'data': unknown;
414
- 'pagination': unknown;
415
- }
416
- export type DeleteV1ResourceIdResponseBadRequest = {
417
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
418
- 'success': boolean;
419
- 'status_code': number;
420
- 'message': string;
421
- }
422
- export type DeleteV1ResourceIdResponseNotFound = {
423
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
424
- 'success': boolean;
425
- 'status_code': number;
426
- 'message': string;
427
- }
428
- export type DeleteV1ResourceIdResponseInternalServerError = {
429
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
430
- 'success': boolean;
431
- 'status_code': number;
432
- 'message': string;
433
- }
434
- export type DeleteV1ResourceIdResponses =
435
- DeleteV1ResourceIdResponseOK
436
- | DeleteV1ResourceIdResponseBadRequest
437
- | DeleteV1ResourceIdResponseNotFound
438
- | DeleteV1ResourceIdResponseInternalServerError
439
-
440
- export type GetV1ResourceModulesRequest = {
441
- 'x-token'?: string;
442
- 'x-timezone'?: string;
443
- }
444
-
445
- export type GetV1ResourceModulesResponseOK = {
446
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
447
- 'success': boolean;
448
- 'status_code': number;
449
- 'message': string;
450
- 'data': unknown;
451
- 'pagination': unknown;
452
- }
453
- export type GetV1ResourceModulesResponseBadRequest = {
454
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
455
- 'success': boolean;
456
- 'status_code': number;
457
- 'message': string;
458
- }
459
- export type GetV1ResourceModulesResponseNotFound = {
460
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
461
- 'success': boolean;
462
- 'status_code': number;
463
- 'message': string;
464
- }
465
- export type GetV1ResourceModulesResponseInternalServerError = {
466
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
467
- 'success': boolean;
468
- 'status_code': number;
469
- 'message': string;
470
- }
471
- export type GetV1ResourceModulesResponses =
472
- GetV1ResourceModulesResponseOK
473
- | GetV1ResourceModulesResponseBadRequest
474
- | GetV1ResourceModulesResponseNotFound
475
- | GetV1ResourceModulesResponseInternalServerError
476
-
477
- export type PostV1ResourceSubModulesRequest = {
478
- 'x-token'?: string;
479
- 'x-timezone'?: string;
480
- 'name': string;
481
- }
482
-
483
- export type PostV1ResourceSubModulesResponseOK = {
484
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
485
- 'success': boolean;
486
- 'status_code': number;
487
- 'message': string;
488
- 'data': unknown;
489
- 'pagination': unknown;
490
- }
491
- export type PostV1ResourceSubModulesResponseBadRequest = {
492
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
493
- 'success': boolean;
494
- 'status_code': number;
495
- 'message': string;
496
- }
497
- export type PostV1ResourceSubModulesResponseNotFound = {
498
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
499
- 'success': boolean;
500
- 'status_code': number;
501
- 'message': string;
502
- }
503
- export type PostV1ResourceSubModulesResponseInternalServerError = {
504
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
505
- 'success': boolean;
506
- 'status_code': number;
507
- 'message': string;
508
- }
509
- export type PostV1ResourceSubModulesResponses =
510
- PostV1ResourceSubModulesResponseOK
511
- | PostV1ResourceSubModulesResponseBadRequest
512
- | PostV1ResourceSubModulesResponseNotFound
513
- | PostV1ResourceSubModulesResponseInternalServerError
514
-
515
- export type PostV1RoleRequest = {
516
- 'x-token'?: string;
517
- 'x-timezone'?: string;
518
- 'name': string;
519
- 'code': string;
520
- 'type': 'Admin' | 'Executive' | 'Manager' | 'Support' | 'Operations';
521
- 'description': string;
522
- 'module_info'?: Array<{ 'module_name'?: string; 'sub_modules'?: Array<{ 'sub_module_name'?: string }> }>;
523
- 'permissions'?: Array<{ 'resource_id'?: string }>;
524
- 'sort'?: number;
525
- }
526
-
527
- export type PostV1RoleResponseOK = {
528
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
529
- 'success': boolean;
530
- 'status_code': number;
531
- 'message': string;
532
- 'data': unknown;
533
- 'pagination': unknown;
534
- }
535
- export type PostV1RoleResponseBadRequest = {
536
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
537
- 'success': boolean;
538
- 'status_code': number;
539
- 'message': string;
540
- }
541
- export type PostV1RoleResponseNotFound = {
542
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
543
- 'success': boolean;
544
- 'status_code': number;
545
- 'message': string;
546
- }
547
- export type PostV1RoleResponseInternalServerError = {
548
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
549
- 'success': boolean;
550
- 'status_code': number;
551
- 'message': string;
552
- }
553
- export type PostV1RoleResponses =
554
- PostV1RoleResponseOK
555
- | PostV1RoleResponseBadRequest
556
- | PostV1RoleResponseNotFound
557
- | PostV1RoleResponseInternalServerError
558
-
559
- export type GetV1RoleRequest = {
560
- 'skip'?: number;
561
- 'limit'?: number;
562
- 'order'?: string;
563
- 'filters'?: string;
564
- 'search'?: string;
565
- 'select'?: string;
566
- 'x-token'?: string;
567
- 'x-timezone'?: string;
568
- }
569
-
570
- export type GetV1RoleResponseOK = {
571
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
572
- 'success': boolean;
573
- 'status_code': number;
574
- 'message': string;
575
- 'data': unknown;
576
- 'pagination': unknown;
577
- }
578
- export type GetV1RoleResponseBadRequest = {
579
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
580
- 'success': boolean;
581
- 'status_code': number;
582
- 'message': string;
583
- }
584
- export type GetV1RoleResponseNotFound = {
585
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
586
- 'success': boolean;
587
- 'status_code': number;
588
- 'message': string;
589
- }
590
- export type GetV1RoleResponseInternalServerError = {
591
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
592
- 'success': boolean;
593
- 'status_code': number;
594
- 'message': string;
595
- }
596
- export type GetV1RoleResponses =
597
- GetV1RoleResponseOK
598
- | GetV1RoleResponseBadRequest
599
- | GetV1RoleResponseNotFound
600
- | GetV1RoleResponseInternalServerError
601
-
602
- export type GetV1RoleIdRequest = {
603
- 'id': string;
604
- 'x-token'?: string;
605
- 'x-timezone'?: string;
606
- }
607
-
608
- export type GetV1RoleIdResponseOK = {
609
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
610
- 'success': boolean;
611
- 'status_code': number;
612
- 'message': string;
613
- 'data': unknown;
614
- 'pagination': unknown;
615
- }
616
- export type GetV1RoleIdResponseBadRequest = {
617
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
618
- 'success': boolean;
619
- 'status_code': number;
620
- 'message': string;
621
- }
622
- export type GetV1RoleIdResponseNotFound = {
623
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
624
- 'success': boolean;
625
- 'status_code': number;
626
- 'message': string;
627
- }
628
- export type GetV1RoleIdResponseInternalServerError = {
629
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
630
- 'success': boolean;
631
- 'status_code': number;
632
- 'message': string;
633
- }
634
- export type GetV1RoleIdResponses =
635
- GetV1RoleIdResponseOK
636
- | GetV1RoleIdResponseBadRequest
637
- | GetV1RoleIdResponseNotFound
638
- | GetV1RoleIdResponseInternalServerError
639
-
640
- export type PutV1RoleIdRequest = {
641
- 'id': string;
642
- 'x-token'?: string;
643
- 'x-timezone'?: string;
644
- 'name': string;
645
- 'code': string;
646
- 'type': 'Admin' | 'Executive' | 'Manager' | 'Support' | 'Operations';
647
- 'description': string;
648
- 'module_info': Array<{ 'module_name'?: string; 'sub_modules'?: Array<{ 'sub_module_name'?: string }> }>;
649
- 'sort': number;
650
- }
651
-
652
- export type PutV1RoleIdResponseOK = {
653
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
654
- 'success': boolean;
655
- 'status_code': number;
656
- 'message': string;
657
- 'data': unknown;
658
- 'pagination': unknown;
659
- }
660
- export type PutV1RoleIdResponseBadRequest = {
661
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
662
- 'success': boolean;
663
- 'status_code': number;
664
- 'message': string;
665
- }
666
- export type PutV1RoleIdResponseNotFound = {
667
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
668
- 'success': boolean;
669
- 'status_code': number;
670
- 'message': string;
671
- }
672
- export type PutV1RoleIdResponseInternalServerError = {
673
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
674
- 'success': boolean;
675
- 'status_code': number;
676
- 'message': string;
677
- }
678
- export type PutV1RoleIdResponses =
679
- PutV1RoleIdResponseOK
680
- | PutV1RoleIdResponseBadRequest
681
- | PutV1RoleIdResponseNotFound
682
- | PutV1RoleIdResponseInternalServerError
683
-
684
- export type DeleteV1RoleIdRequest = {
685
- 'id': string;
686
- 'x-token'?: string;
687
- 'x-timezone'?: string;
688
- }
689
-
690
- export type DeleteV1RoleIdResponseOK = {
691
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
692
- 'success': boolean;
693
- 'status_code': number;
694
- 'message': string;
695
- 'data': unknown;
696
- 'pagination': unknown;
697
- }
698
- export type DeleteV1RoleIdResponseBadRequest = {
699
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
700
- 'success': boolean;
701
- 'status_code': number;
702
- 'message': string;
703
- }
704
- export type DeleteV1RoleIdResponseNotFound = {
705
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
706
- 'success': boolean;
707
- 'status_code': number;
708
- 'message': string;
709
- }
710
- export type DeleteV1RoleIdResponseInternalServerError = {
711
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
712
- 'success': boolean;
713
- 'status_code': number;
714
- 'message': string;
715
- }
716
- export type DeleteV1RoleIdResponses =
717
- DeleteV1RoleIdResponseOK
718
- | DeleteV1RoleIdResponseBadRequest
719
- | DeleteV1RoleIdResponseNotFound
720
- | DeleteV1RoleIdResponseInternalServerError
721
-
722
- export type GetV1RoleUserIdRequest = {
723
- 'id': string;
724
- 'x-token'?: string;
725
- 'x-timezone'?: string;
726
- }
727
-
728
- export type GetV1RoleUserIdResponseOK = {
729
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
730
- 'success': boolean;
731
- 'status_code': number;
732
- 'message': string;
733
- 'data': unknown;
734
- 'pagination': unknown;
735
- }
736
- export type GetV1RoleUserIdResponseBadRequest = {
737
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
738
- 'success': boolean;
739
- 'status_code': number;
740
- 'message': string;
741
- }
742
- export type GetV1RoleUserIdResponseNotFound = {
743
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
744
- 'success': boolean;
745
- 'status_code': number;
746
- 'message': string;
747
- }
748
- export type GetV1RoleUserIdResponseInternalServerError = {
749
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
750
- 'success': boolean;
751
- 'status_code': number;
752
- 'message': string;
753
- }
754
- export type GetV1RoleUserIdResponses =
755
- GetV1RoleUserIdResponseOK
756
- | GetV1RoleUserIdResponseBadRequest
757
- | GetV1RoleUserIdResponseNotFound
758
- | GetV1RoleUserIdResponseInternalServerError
759
-
760
- export type PostV1RoleUserIdRequest = {
761
- 'id': string;
762
- 'x-token'?: string;
763
- 'x-timezone'?: string;
764
- }
765
-
766
- export type PostV1RoleUserIdResponseOK = {
767
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
768
- 'success': boolean;
769
- 'status_code': number;
770
- 'message': string;
771
- 'data': unknown;
772
- 'pagination': unknown;
773
- }
774
- export type PostV1RoleUserIdResponseBadRequest = {
775
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
776
- 'success': boolean;
777
- 'status_code': number;
778
- 'message': string;
779
- }
780
- export type PostV1RoleUserIdResponseNotFound = {
781
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
782
- 'success': boolean;
783
- 'status_code': number;
784
- 'message': string;
785
- }
786
- export type PostV1RoleUserIdResponseInternalServerError = {
787
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
788
- 'success': boolean;
789
- 'status_code': number;
790
- 'message': string;
791
- }
792
- export type PostV1RoleUserIdResponses =
793
- PostV1RoleUserIdResponseOK
794
- | PostV1RoleUserIdResponseBadRequest
795
- | PostV1RoleUserIdResponseNotFound
796
- | PostV1RoleUserIdResponseInternalServerError
797
-
798
- export type PostV1UserRequest = {
799
- 'x-token'?: string;
800
- 'x-timezone'?: string;
801
- 'basic_details': { 'first_name': string; 'last_name': string; 'middle_name'?: string; 'country_code': string; 'phone': string; 'email': string; 'password': string; 'role_id': string; 'branch_id': number; 'location_id': number; 'department_id': number; 'profile_image': string; 'company_id'?: number };
802
- 'time_based_access_details'?: { 'start_date'?: string | Date; 'end_date'?: string | Date; 'start_time': string; 'end_time': string; 'never_end'?: boolean; 'access_details': { 'type'?: 'not_repeated' | 'repeat_daily' | 'repeat_weekdays' | 'repeat_selected_weekdays' | 'repeat_monthly_selected_days' | 'repeat_yearly_selected_days'; 'repeat_daily'?: { 'interval_days': number }; 'repeat_selected_weekdays'?: { 'weekdays': Array<0 | 1 | 2 | 3 | 4 | 5 | 6> }; 'repeat_monthly_selected_days'?: object; 'repeat_yearly_selected_days'?: object } };
803
- 'entity_access_details'?: { 'access_details'?: { 'company'?: Array<string>; 'branch'?: Array<string>; 'location'?: Array<string>; 'department'?: Array<string> }; 'selected_company'?: string };
804
- }
805
-
806
- export type PostV1UserResponseOK = {
807
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
808
- 'success': boolean;
809
- 'status_code': number;
810
- 'message': string;
811
- 'data': unknown;
812
- 'pagination': unknown;
813
- }
814
- export type PostV1UserResponseBadRequest = {
815
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
816
- 'success': boolean;
817
- 'status_code': number;
818
- 'message': string;
819
- }
820
- export type PostV1UserResponseNotFound = {
821
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
822
- 'success': boolean;
823
- 'status_code': number;
824
- 'message': string;
825
- }
826
- export type PostV1UserResponseInternalServerError = {
827
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
828
- 'success': boolean;
829
- 'status_code': number;
830
- 'message': string;
831
- }
832
- export type PostV1UserResponses =
833
- PostV1UserResponseOK
834
- | PostV1UserResponseBadRequest
835
- | PostV1UserResponseNotFound
836
- | PostV1UserResponseInternalServerError
837
-
838
- export type GetV1UserRequest = {
839
- 'skip'?: number;
840
- 'limit'?: number;
841
- 'order'?: string;
842
- 'filters'?: string;
843
- 'search'?: string;
844
- 'select'?: string;
845
- 'x-token'?: string;
846
- 'x-timezone'?: string;
847
- }
848
-
849
- export type GetV1UserResponseOK = {
850
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
851
- 'success': boolean;
852
- 'status_code': number;
853
- 'message': string;
854
- 'data': unknown;
855
- 'pagination': unknown;
856
- }
857
- export type GetV1UserResponseBadRequest = {
858
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
859
- 'success': boolean;
860
- 'status_code': number;
861
- 'message': string;
862
- }
863
- export type GetV1UserResponseNotFound = {
864
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
865
- 'success': boolean;
866
- 'status_code': number;
867
- 'message': string;
868
- }
869
- export type GetV1UserResponseInternalServerError = {
870
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
871
- 'success': boolean;
872
- 'status_code': number;
873
- 'message': string;
874
- }
875
- export type GetV1UserResponses =
876
- GetV1UserResponseOK
877
- | GetV1UserResponseBadRequest
878
- | GetV1UserResponseNotFound
879
- | GetV1UserResponseInternalServerError
880
-
881
- export type GetV1UserBranchRequest = {
882
- 'skip'?: number;
883
- 'limit'?: number;
884
- 'order'?: string;
885
- 'filters'?: string;
886
- 'search'?: string;
887
- 'select'?: string;
888
- 'x-token'?: string;
889
- 'x-timezone'?: string;
890
- }
891
-
892
- export type GetV1UserBranchResponseOK = {
893
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
894
- 'success': boolean;
895
- 'status_code': number;
896
- 'message': string;
897
- 'data': unknown;
898
- 'pagination': unknown;
899
- }
900
- export type GetV1UserBranchResponseBadRequest = {
901
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
902
- 'success': boolean;
903
- 'status_code': number;
904
- 'message': string;
905
- }
906
- export type GetV1UserBranchResponseNotFound = {
907
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
908
- 'success': boolean;
909
- 'status_code': number;
910
- 'message': string;
911
- }
912
- export type GetV1UserBranchResponseInternalServerError = {
913
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
914
- 'success': boolean;
915
- 'status_code': number;
916
- 'message': string;
917
- }
918
- export type GetV1UserBranchResponses =
919
- GetV1UserBranchResponseOK
920
- | GetV1UserBranchResponseBadRequest
921
- | GetV1UserBranchResponseNotFound
922
- | GetV1UserBranchResponseInternalServerError
923
-
924
- export type GetV1UserLocationRequest = {
925
- 'skip'?: number;
926
- 'limit'?: number;
927
- 'order'?: string;
928
- 'filters'?: string;
929
- 'search'?: string;
930
- 'select'?: string;
931
- 'x-token'?: string;
932
- 'x-timezone'?: string;
933
- }
934
-
935
- export type GetV1UserLocationResponseOK = {
936
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
937
- 'success': boolean;
938
- 'status_code': number;
939
- 'message': string;
940
- 'data': unknown;
941
- 'pagination': unknown;
942
- }
943
- export type GetV1UserLocationResponseBadRequest = {
944
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
945
- 'success': boolean;
946
- 'status_code': number;
947
- 'message': string;
948
- }
949
- export type GetV1UserLocationResponseNotFound = {
950
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
951
- 'success': boolean;
952
- 'status_code': number;
953
- 'message': string;
954
- }
955
- export type GetV1UserLocationResponseInternalServerError = {
956
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
957
- 'success': boolean;
958
- 'status_code': number;
959
- 'message': string;
960
- }
961
- export type GetV1UserLocationResponses =
962
- GetV1UserLocationResponseOK
963
- | GetV1UserLocationResponseBadRequest
964
- | GetV1UserLocationResponseNotFound
965
- | GetV1UserLocationResponseInternalServerError
966
-
967
- export type GetV1UserDepartmentRequest = {
968
- 'skip'?: number;
969
- 'limit'?: number;
970
- 'order'?: string;
971
- 'filters'?: string;
972
- 'search'?: string;
973
- 'select'?: string;
974
- 'x-token'?: string;
975
- 'x-timezone'?: string;
976
- }
977
-
978
- export type GetV1UserDepartmentResponseOK = {
979
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
980
- 'success': boolean;
981
- 'status_code': number;
982
- 'message': string;
983
- 'data': unknown;
984
- 'pagination': unknown;
985
- }
986
- export type GetV1UserDepartmentResponseBadRequest = {
987
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
988
- 'success': boolean;
989
- 'status_code': number;
990
- 'message': string;
991
- }
992
- export type GetV1UserDepartmentResponseNotFound = {
993
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
994
- 'success': boolean;
995
- 'status_code': number;
996
- 'message': string;
997
- }
998
- export type GetV1UserDepartmentResponseInternalServerError = {
999
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1000
- 'success': boolean;
1001
- 'status_code': number;
1002
- 'message': string;
1003
- }
1004
- export type GetV1UserDepartmentResponses =
1005
- GetV1UserDepartmentResponseOK
1006
- | GetV1UserDepartmentResponseBadRequest
1007
- | GetV1UserDepartmentResponseNotFound
1008
- | GetV1UserDepartmentResponseInternalServerError
1009
-
1010
- export type GetV1UserIdRequest = {
1011
- 'x-token'?: string;
1012
- 'x-timezone'?: string;
1013
- 'id': string;
1014
- }
1015
-
1016
- export type GetV1UserIdResponseOK = {
1017
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1018
- 'success': boolean;
1019
- 'status_code': number;
1020
- 'message': string;
1021
- 'data': unknown;
1022
- 'pagination': unknown;
1023
- }
1024
- export type GetV1UserIdResponseBadRequest = {
1025
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1026
- 'success': boolean;
1027
- 'status_code': number;
1028
- 'message': string;
1029
- }
1030
- export type GetV1UserIdResponseNotFound = {
1031
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1032
- 'success': boolean;
1033
- 'status_code': number;
1034
- 'message': string;
1035
- }
1036
- export type GetV1UserIdResponseInternalServerError = {
1037
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1038
- 'success': boolean;
1039
- 'status_code': number;
1040
- 'message': string;
1041
- }
1042
- export type GetV1UserIdResponses =
1043
- GetV1UserIdResponseOK
1044
- | GetV1UserIdResponseBadRequest
1045
- | GetV1UserIdResponseNotFound
1046
- | GetV1UserIdResponseInternalServerError
1047
-
1048
- export type PutV1UserIdRequest = {
1049
- 'skip'?: number;
1050
- 'limit'?: number;
1051
- 'order'?: string;
1052
- 'filters'?: string;
1053
- 'search'?: string;
1054
- 'select'?: string;
1055
- 'x-token'?: string;
1056
- 'x-timezone'?: string;
1057
- 'id': string;
1058
- 'basic_details': { 'first_name'?: string; 'last_name'?: string; 'middle_name'?: string; 'country_code'?: string; 'phone'?: string; 'email'?: string; 'password'?: string; 'role_id'?: string; 'branch_id'?: number; 'location_id'?: number; 'department_id'?: number; 'profile_image'?: string; 'company_id'?: number };
1059
- 'time_based_access_details': { 'start_date'?: string | Date; 'end_date'?: string | Date; 'start_time': string; 'end_time': string; 'never_end'?: boolean; 'access_details': { 'type'?: 'not_repeated' | 'repeat_daily' | 'repeat_weekdays' | 'repeat_selected_weekdays' | 'repeat_monthly_selected_days' | 'repeat_yearly_selected_days'; 'repeat_daily'?: { 'interval_days': number }; 'repeat_selected_weekdays'?: { 'weekdays': Array<0 | 1 | 2 | 3 | 4 | 5 | 6> }; 'repeat_monthly_selected_days'?: object; 'repeat_yearly_selected_days'?: object } };
1060
- 'entity_access_details': { 'access_details'?: { 'company'?: Array<string>; 'branch'?: Array<string>; 'location'?: Array<string>; 'department'?: Array<string> }; 'selected_company'?: string };
1061
- }
1062
-
1063
- export type PutV1UserIdResponseOK = {
1064
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1065
- 'success': boolean;
1066
- 'status_code': number;
1067
- 'message': string;
1068
- 'data': unknown;
1069
- 'pagination': unknown;
1070
- }
1071
- export type PutV1UserIdResponseBadRequest = {
1072
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1073
- 'success': boolean;
1074
- 'status_code': number;
1075
- 'message': string;
1076
- }
1077
- export type PutV1UserIdResponseNotFound = {
1078
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1079
- 'success': boolean;
1080
- 'status_code': number;
1081
- 'message': string;
1082
- }
1083
- export type PutV1UserIdResponseInternalServerError = {
1084
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1085
- 'success': boolean;
1086
- 'status_code': number;
1087
- 'message': string;
1088
- }
1089
- export type PutV1UserIdResponses =
1090
- PutV1UserIdResponseOK
1091
- | PutV1UserIdResponseBadRequest
1092
- | PutV1UserIdResponseNotFound
1093
- | PutV1UserIdResponseInternalServerError
1094
-
1095
- export type DeleteV1UserIdRequest = {
1096
- 'x-token'?: string;
1097
- 'x-timezone'?: string;
1098
- 'id': string;
1099
- }
1100
-
1101
- export type DeleteV1UserIdResponseOK = {
1102
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1103
- 'success': boolean;
1104
- 'status_code': number;
1105
- 'message': string;
1106
- 'data': unknown;
1107
- 'pagination': unknown;
1108
- }
1109
- export type DeleteV1UserIdResponseBadRequest = {
1110
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1111
- 'success': boolean;
1112
- 'status_code': number;
1113
- 'message': string;
1114
- }
1115
- export type DeleteV1UserIdResponseNotFound = {
1116
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1117
- 'success': boolean;
1118
- 'status_code': number;
1119
- 'message': string;
1120
- }
1121
- export type DeleteV1UserIdResponseInternalServerError = {
1122
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1123
- 'success': boolean;
1124
- 'status_code': number;
1125
- 'message': string;
1126
- }
1127
- export type DeleteV1UserIdResponses =
1128
- DeleteV1UserIdResponseOK
1129
- | DeleteV1UserIdResponseBadRequest
1130
- | DeleteV1UserIdResponseNotFound
1131
- | DeleteV1UserIdResponseInternalServerError
1132
-
1133
- export type PatchV1UserUpdateStatusIdRequest = {
1134
- 'x-token'?: string;
1135
- 'x-timezone'?: string;
1136
- 'id': string;
1137
- }
1138
-
1139
- export type PatchV1UserUpdateStatusIdResponseOK = {
1140
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1141
- 'success': boolean;
1142
- 'status_code': number;
1143
- 'message': string;
1144
- 'data': unknown;
1145
- 'pagination': unknown;
1146
- }
1147
- export type PatchV1UserUpdateStatusIdResponseBadRequest = {
1148
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1149
- 'success': boolean;
1150
- 'status_code': number;
1151
- 'message': string;
1152
- }
1153
- export type PatchV1UserUpdateStatusIdResponseNotFound = {
1154
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1155
- 'success': boolean;
1156
- 'status_code': number;
1157
- 'message': string;
1158
- }
1159
- export type PatchV1UserUpdateStatusIdResponseInternalServerError = {
1160
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1161
- 'success': boolean;
1162
- 'status_code': number;
1163
- 'message': string;
1164
- }
1165
- export type PatchV1UserUpdateStatusIdResponses =
1166
- PatchV1UserUpdateStatusIdResponseOK
1167
- | PatchV1UserUpdateStatusIdResponseBadRequest
1168
- | PatchV1UserUpdateStatusIdResponseNotFound
1169
- | PatchV1UserUpdateStatusIdResponseInternalServerError
1170
-
1171
- export type PostV1AuthLoginRequest = {
1172
- 'x-timezone'?: string;
1173
- }
1174
-
1175
- export type PostV1AuthForgotPasswordRequest = {
1176
- 'x-timezone'?: string;
1177
- }
1178
-
1179
-
1180
- export type PostV1AuthResetPasswordRequest = {
1181
- 'x-timezone'?: string;
1182
- }
1183
-
1184
- export type PostV1AuthLoginResponseOK = {
1185
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1186
- 'success': boolean;
1187
- 'status_code': number;
1188
- 'message': string;
1189
- 'data': unknown;
1190
- 'pagination': unknown;
1191
- }
1192
- export type PostV1AuthLoginResponseBadRequest = {
1193
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1194
- 'success': boolean;
1195
- 'status_code': number;
1196
- 'message': string;
1197
- }
1198
- export type PostV1AuthLoginResponseNotFound = {
1199
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1200
- 'success': boolean;
1201
- 'status_code': number;
1202
- 'message': string;
1203
- }
1204
- export type PostV1AuthLoginResponseInternalServerError = {
1205
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1206
- 'success': boolean;
1207
- 'status_code': number;
1208
- 'message': string;
1209
- }
1210
- export type PostV1AuthLoginResponses =
1211
- PostV1AuthLoginResponseOK
1212
- | PostV1AuthLoginResponseBadRequest
1213
- | PostV1AuthLoginResponseNotFound
1214
- | PostV1AuthLoginResponseInternalServerError
1215
-
1216
- export type PostV1CompanyRequest = {
1217
- 'x-token'?: string;
1218
- 'x-timezone'?: string;
1219
- }
1220
-
1221
- export type PostV1CompanyResponseOK = {
1222
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1223
- 'success': boolean;
1224
- 'status_code': number;
1225
- 'message': string;
1226
- 'data': unknown;
1227
- 'pagination': unknown;
1228
- }
1229
- export type PostV1CompanyResponseBadRequest = {
1230
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1231
- 'success': boolean;
1232
- 'status_code': number;
1233
- 'message': string;
1234
- }
1235
- export type PostV1CompanyResponseNotFound = {
1236
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1237
- 'success': boolean;
1238
- 'status_code': number;
1239
- 'message': string;
1240
- }
1241
- export type PostV1CompanyResponseInternalServerError = {
1242
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1243
- 'success': boolean;
1244
- 'status_code': number;
1245
- 'message': string;
1246
- }
1247
- export type PostV1CompanyResponses =
1248
- PostV1CompanyResponseOK
1249
- | PostV1CompanyResponseBadRequest
1250
- | PostV1CompanyResponseNotFound
1251
- | PostV1CompanyResponseInternalServerError
1252
-
1253
- export type GetV1CompanyRequest = {
1254
- 'skip'?: number;
1255
- 'limit'?: number;
1256
- 'order'?: string;
1257
- 'filters'?: string;
1258
- 'search'?: string;
1259
- 'select'?: string;
1260
- 'x-token'?: string;
1261
- 'x-timezone'?: string;
1262
- }
1263
-
1264
- export type GetV1CompanyResponseOK = {
1265
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1266
- 'success': boolean;
1267
- 'status_code': number;
1268
- 'message': string;
1269
- 'data': unknown;
1270
- 'pagination': unknown;
1271
- }
1272
- export type GetV1CompanyResponseBadRequest = {
1273
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1274
- 'success': boolean;
1275
- 'status_code': number;
1276
- 'message': string;
1277
- }
1278
- export type GetV1CompanyResponseNotFound = {
1279
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1280
- 'success': boolean;
1281
- 'status_code': number;
1282
- 'message': string;
1283
- }
1284
- export type GetV1CompanyResponseInternalServerError = {
1285
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1286
- 'success': boolean;
1287
- 'status_code': number;
1288
- 'message': string;
1289
- }
1290
- export type GetV1CompanyResponses =
1291
- GetV1CompanyResponseOK
1292
- | GetV1CompanyResponseBadRequest
1293
- | GetV1CompanyResponseNotFound
1294
- | GetV1CompanyResponseInternalServerError
1295
-
1296
- export type GetV1CompanyIdRequest = {
1297
- 'x-token'?: string;
1298
- 'x-timezone'?: string;
1299
- 'id': string;
1300
- }
1301
-
1302
- export type GetV1CompanyIdResponseOK = {
1303
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1304
- 'success': boolean;
1305
- 'status_code': number;
1306
- 'message': string;
1307
- 'data': unknown;
1308
- 'pagination': unknown;
1309
- }
1310
- export type GetV1CompanyIdResponseBadRequest = {
1311
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1312
- 'success': boolean;
1313
- 'status_code': number;
1314
- 'message': string;
1315
- }
1316
- export type GetV1CompanyIdResponseNotFound = {
1317
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1318
- 'success': boolean;
1319
- 'status_code': number;
1320
- 'message': string;
1321
- }
1322
- export type GetV1CompanyIdResponseInternalServerError = {
1323
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1324
- 'success': boolean;
1325
- 'status_code': number;
1326
- 'message': string;
1327
- }
1328
- export type GetV1CompanyIdResponses =
1329
- GetV1CompanyIdResponseOK
1330
- | GetV1CompanyIdResponseBadRequest
1331
- | GetV1CompanyIdResponseNotFound
1332
- | GetV1CompanyIdResponseInternalServerError
1333
-
1334
- export type PutV1CompanyIdRequest = {
1335
- 'skip'?: number;
1336
- 'limit'?: number;
1337
- 'order'?: string;
1338
- 'filters'?: string;
1339
- 'search'?: string;
1340
- 'select'?: string;
1341
- 'x-token'?: string;
1342
- 'x-timezone'?: string;
1343
- 'id': string;
1344
- }
1345
-
1346
- export type PutV1CompanyIdResponseOK = {
1347
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1348
- 'success': boolean;
1349
- 'status_code': number;
1350
- 'message': string;
1351
- 'data': unknown;
1352
- 'pagination': unknown;
1353
- }
1354
- export type PutV1CompanyIdResponseBadRequest = {
1355
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1356
- 'success': boolean;
1357
- 'status_code': number;
1358
- 'message': string;
1359
- }
1360
- export type PutV1CompanyIdResponseNotFound = {
1361
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1362
- 'success': boolean;
1363
- 'status_code': number;
1364
- 'message': string;
1365
- }
1366
- export type PutV1CompanyIdResponseInternalServerError = {
1367
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1368
- 'success': boolean;
1369
- 'status_code': number;
1370
- 'message': string;
1371
- }
1372
- export type PutV1CompanyIdResponses =
1373
- PutV1CompanyIdResponseOK
1374
- | PutV1CompanyIdResponseBadRequest
1375
- | PutV1CompanyIdResponseNotFound
1376
- | PutV1CompanyIdResponseInternalServerError
1377
-
1378
- export type DeleteV1CompanyIdRequest = {
1379
- 'x-token'?: string;
1380
- 'x-timezone'?: string;
1381
- 'id': string;
1382
- }
1383
-
1384
- export type DeleteV1CompanyIdResponseOK = {
1385
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1386
- 'success': boolean;
1387
- 'status_code': number;
1388
- 'message': string;
1389
- 'data': unknown;
1390
- 'pagination': unknown;
1391
- }
1392
- export type DeleteV1CompanyIdResponseBadRequest = {
1393
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1394
- 'success': boolean;
1395
- 'status_code': number;
1396
- 'message': string;
1397
- }
1398
- export type DeleteV1CompanyIdResponseNotFound = {
1399
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1400
- 'success': boolean;
1401
- 'status_code': number;
1402
- 'message': string;
1403
- }
1404
- export type DeleteV1CompanyIdResponseInternalServerError = {
1405
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1406
- 'success': boolean;
1407
- 'status_code': number;
1408
- 'message': string;
1409
- }
1410
- export type DeleteV1CompanyIdResponses =
1411
- DeleteV1CompanyIdResponseOK
1412
- | DeleteV1CompanyIdResponseBadRequest
1413
- | DeleteV1CompanyIdResponseNotFound
1414
- | DeleteV1CompanyIdResponseInternalServerError
1415
-
1416
- export type PostV1ConfigRequest = {
1417
- 'x-token'?: string;
1418
- 'x-timezone'?: string;
1419
- body: Array<{ 'key': string; 'value': number; 'company_ids': Array<number> }>
1420
- }
1421
-
1422
- export type PostV1ConfigResponseOK = {
1423
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1424
- 'success': boolean;
1425
- 'status_code': number;
1426
- 'message': string;
1427
- 'data': unknown;
1428
- 'pagination': unknown;
1429
- }
1430
- export type PostV1ConfigResponseBadRequest = {
1431
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1432
- 'success': boolean;
1433
- 'status_code': number;
1434
- 'message': string;
1435
- }
1436
- export type PostV1ConfigResponseNotFound = {
1437
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1438
- 'success': boolean;
1439
- 'status_code': number;
1440
- 'message': string;
1441
- }
1442
- export type PostV1ConfigResponseInternalServerError = {
1443
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1444
- 'success': boolean;
1445
- 'status_code': number;
1446
- 'message': string;
1447
- }
1448
- export type PostV1ConfigResponses =
1449
- PostV1ConfigResponseOK
1450
- | PostV1ConfigResponseBadRequest
1451
- | PostV1ConfigResponseNotFound
1452
- | PostV1ConfigResponseInternalServerError
1453
-
1454
- export type GetV1ConfigRequest = {
1455
- 'skip'?: number;
1456
- 'limit'?: number;
1457
- 'order'?: string;
1458
- 'filters'?: string;
1459
- 'search'?: string;
1460
- 'select'?: string;
1461
- 'x-token'?: string;
1462
- 'x-timezone'?: string;
1463
- }
1464
-
1465
- export type GetV1ConfigResponseOK = {
1466
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1467
- 'success': boolean;
1468
- 'status_code': number;
1469
- 'message': string;
1470
- 'data': unknown;
1471
- 'pagination': unknown;
1472
- }
1473
- export type GetV1ConfigResponseBadRequest = {
1474
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1475
- 'success': boolean;
1476
- 'status_code': number;
1477
- 'message': string;
1478
- }
1479
- export type GetV1ConfigResponseNotFound = {
1480
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1481
- 'success': boolean;
1482
- 'status_code': number;
1483
- 'message': string;
1484
- }
1485
- export type GetV1ConfigResponseInternalServerError = {
1486
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1487
- 'success': boolean;
1488
- 'status_code': number;
1489
- 'message': string;
1490
- }
1491
- export type GetV1ConfigResponses =
1492
- GetV1ConfigResponseOK
1493
- | GetV1ConfigResponseBadRequest
1494
- | GetV1ConfigResponseNotFound
1495
- | GetV1ConfigResponseInternalServerError
1496
-
1497
- export type GetV1ConfigIdRequest = {
1498
- 'skip'?: number;
1499
- 'limit'?: number;
1500
- 'order'?: string;
1501
- 'filters'?: string;
1502
- 'search'?: string;
1503
- 'select'?: string;
1504
- 'x-token'?: string;
1505
- 'x-timezone'?: string;
1506
- 'id': string;
1507
- }
1508
-
1509
- export type GetV1ConfigIdResponseOK = {
1510
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1511
- 'success': boolean;
1512
- 'status_code': number;
1513
- 'message': string;
1514
- 'data': unknown;
1515
- 'pagination': unknown;
1516
- }
1517
- export type GetV1ConfigIdResponseBadRequest = {
1518
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1519
- 'success': boolean;
1520
- 'status_code': number;
1521
- 'message': string;
1522
- }
1523
- export type GetV1ConfigIdResponseNotFound = {
1524
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1525
- 'success': boolean;
1526
- 'status_code': number;
1527
- 'message': string;
1528
- }
1529
- export type GetV1ConfigIdResponseInternalServerError = {
1530
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1531
- 'success': boolean;
1532
- 'status_code': number;
1533
- 'message': string;
1534
- }
1535
- export type GetV1ConfigIdResponses =
1536
- GetV1ConfigIdResponseOK
1537
- | GetV1ConfigIdResponseBadRequest
1538
- | GetV1ConfigIdResponseNotFound
1539
- | GetV1ConfigIdResponseInternalServerError
1540
-
1541
- export type PutV1ConfigIdRequest = {
1542
- 'x-token'?: string;
1543
- 'x-timezone'?: string;
1544
- 'id': string;
1545
- }
1546
-
1547
- export type PutV1ConfigIdResponseOK = {
1548
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1549
- 'success': boolean;
1550
- 'status_code': number;
1551
- 'message': string;
1552
- 'data': unknown;
1553
- 'pagination': unknown;
1554
- }
1555
- export type PutV1ConfigIdResponseBadRequest = {
1556
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1557
- 'success': boolean;
1558
- 'status_code': number;
1559
- 'message': string;
1560
- }
1561
- export type PutV1ConfigIdResponseNotFound = {
1562
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1563
- 'success': boolean;
1564
- 'status_code': number;
1565
- 'message': string;
1566
- }
1567
- export type PutV1ConfigIdResponseInternalServerError = {
1568
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1569
- 'success': boolean;
1570
- 'status_code': number;
1571
- 'message': string;
1572
- }
1573
- export type PutV1ConfigIdResponses =
1574
- PutV1ConfigIdResponseOK
1575
- | PutV1ConfigIdResponseBadRequest
1576
- | PutV1ConfigIdResponseNotFound
1577
- | PutV1ConfigIdResponseInternalServerError
1578
-
1579
- export type DeleteV1ConfigIdRequest = {
1580
- 'x-token'?: string;
1581
- 'x-timezone'?: string;
1582
- 'id': string;
1583
- }
1584
-
1585
- export type DeleteV1ConfigIdResponseOK = {
1586
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1587
- 'success': boolean;
1588
- 'status_code': number;
1589
- 'message': string;
1590
- 'data': unknown;
1591
- 'pagination': unknown;
1592
- }
1593
- export type DeleteV1ConfigIdResponseBadRequest = {
1594
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1595
- 'success': boolean;
1596
- 'status_code': number;
1597
- 'message': string;
1598
- }
1599
- export type DeleteV1ConfigIdResponseNotFound = {
1600
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1601
- 'success': boolean;
1602
- 'status_code': number;
1603
- 'message': string;
1604
- }
1605
- export type DeleteV1ConfigIdResponseInternalServerError = {
1606
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1607
- 'success': boolean;
1608
- 'status_code': number;
1609
- 'message': string;
1610
- }
1611
- export type DeleteV1ConfigIdResponses =
1612
- DeleteV1ConfigIdResponseOK
1613
- | DeleteV1ConfigIdResponseBadRequest
1614
- | DeleteV1ConfigIdResponseNotFound
1615
- | DeleteV1ConfigIdResponseInternalServerError
1616
-
1617
- export type GetV1LocationsCountriesRequest = {
1618
- 'skip'?: number;
1619
- 'limit'?: number;
1620
- 'order'?: string;
1621
- 'filters'?: string;
1622
- 'search'?: string;
1623
- 'select'?: string;
1624
- }
1625
-
1626
- export type GetV1LocationsCountriesResponseOK = {
1627
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1628
- 'success': boolean;
1629
- 'status_code': number;
1630
- 'message': string;
1631
- 'data': unknown;
1632
- 'pagination': unknown;
1633
- }
1634
- export type GetV1LocationsCountriesResponseBadRequest = {
1635
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1636
- 'success': boolean;
1637
- 'status_code': number;
1638
- 'message': string;
1639
- }
1640
- export type GetV1LocationsCountriesResponseNotFound = {
1641
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1642
- 'success': boolean;
1643
- 'status_code': number;
1644
- 'message': string;
1645
- }
1646
- export type GetV1LocationsCountriesResponseInternalServerError = {
1647
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1648
- 'success': boolean;
1649
- 'status_code': number;
1650
- 'message': string;
1651
- }
1652
- export type GetV1LocationsCountriesResponses =
1653
- GetV1LocationsCountriesResponseOK
1654
- | GetV1LocationsCountriesResponseBadRequest
1655
- | GetV1LocationsCountriesResponseNotFound
1656
- | GetV1LocationsCountriesResponseInternalServerError
1657
-
1658
- export type GetV1LocationsStatesRequest = {
1659
- 'skip'?: number;
1660
- 'limit'?: number;
1661
- 'order'?: string;
1662
- 'filters'?: string;
1663
- 'search'?: string;
1664
- 'select'?: string;
1665
- }
1666
-
1667
- export type GetV1LocationsStatesResponseOK = {
1668
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1669
- 'success': boolean;
1670
- 'status_code': number;
1671
- 'message': string;
1672
- 'data': unknown;
1673
- 'pagination': unknown;
1674
- }
1675
- export type GetV1LocationsStatesResponseBadRequest = {
1676
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1677
- 'success': boolean;
1678
- 'status_code': number;
1679
- 'message': string;
1680
- }
1681
- export type GetV1LocationsStatesResponseNotFound = {
1682
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1683
- 'success': boolean;
1684
- 'status_code': number;
1685
- 'message': string;
1686
- }
1687
- export type GetV1LocationsStatesResponseInternalServerError = {
1688
- 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1689
- 'success': boolean;
1690
- 'status_code': number;
1691
- 'message': string;
1692
- }
1693
- export type GetV1LocationsStatesResponses =
1694
- GetV1LocationsStatesResponseOK
1695
- | GetV1LocationsStatesResponseBadRequest
1696
- | GetV1LocationsStatesResponseNotFound
1697
- | GetV1LocationsStatesResponseInternalServerError
1698
-
1699
-
1700
-
1701
- export interface Api {
1702
- setBaseUrl(newUrl: string) : void;
1703
- setDefaultHeaders(headers: Object) : void;
1704
- postV1Permission(req?: PostV1PermissionRequest): Promise<PostV1PermissionResponses>;
1705
- getV1Permission(req?: GetV1PermissionRequest): Promise<GetV1PermissionResponses>;
1706
- getV1PermissionId(req?: GetV1PermissionIdRequest): Promise<GetV1PermissionIdResponses>;
1707
- putV1PermissionId(req?: PutV1PermissionIdRequest): Promise<PutV1PermissionIdResponses>;
1708
- deleteV1PermissionId(req?: DeleteV1PermissionIdRequest): Promise<DeleteV1PermissionIdResponses>;
1709
- getV1PermissionRoleId(req?: GetV1PermissionRoleIdRequest): Promise<GetV1PermissionRoleIdResponses>;
1710
- postV1Resource(req?: PostV1ResourceRequest): Promise<PostV1ResourceResponses>;
1711
- getV1Resource(req?: GetV1ResourceRequest): Promise<GetV1ResourceResponses>;
1712
- getV1ResourceId(req?: GetV1ResourceIdRequest): Promise<GetV1ResourceIdResponses>;
1713
- putV1ResourceId(req?: PutV1ResourceIdRequest): Promise<PutV1ResourceIdResponses>;
1714
- deleteV1ResourceId(req?: DeleteV1ResourceIdRequest): Promise<DeleteV1ResourceIdResponses>;
1715
- getV1ResourceModules(req?: GetV1ResourceModulesRequest): Promise<GetV1ResourceModulesResponses>;
1716
- postV1ResourceSubModules(req?: PostV1ResourceSubModulesRequest): Promise<PostV1ResourceSubModulesResponses>;
1717
- postV1Role(req?: PostV1RoleRequest): Promise<PostV1RoleResponses>;
1718
- getV1Role(req?: GetV1RoleRequest): Promise<GetV1RoleResponses>;
1719
- getV1RoleId(req?: GetV1RoleIdRequest): Promise<GetV1RoleIdResponses>;
1720
- putV1RoleId(req?: PutV1RoleIdRequest): Promise<PutV1RoleIdResponses>;
1721
- deleteV1RoleId(req?: DeleteV1RoleIdRequest): Promise<DeleteV1RoleIdResponses>;
1722
- getV1RoleUserId(req?: GetV1RoleUserIdRequest): Promise<GetV1RoleUserIdResponses>;
1723
- postV1RoleUserId(req?: PostV1RoleUserIdRequest): Promise<PostV1RoleUserIdResponses>;
1724
- postV1User(req?: PostV1UserRequest): Promise<PostV1UserResponses>;
1725
- getV1User(req?: GetV1UserRequest): Promise<GetV1UserResponses>;
1726
- getV1UserBranch(req?: GetV1UserBranchRequest): Promise<GetV1UserBranchResponses>;
1727
- getV1UserLocation(req?: GetV1UserLocationRequest): Promise<GetV1UserLocationResponses>;
1728
- getV1UserDepartment(req?: GetV1UserDepartmentRequest): Promise<GetV1UserDepartmentResponses>;
1729
- getV1UserId(req?: GetV1UserIdRequest): Promise<GetV1UserIdResponses>;
1730
- putV1UserId(req?: PutV1UserIdRequest): Promise<PutV1UserIdResponses>;
1731
- deleteV1UserId(req?: DeleteV1UserIdRequest): Promise<DeleteV1UserIdResponses>;
1732
- patchV1UserUpdateStatusId(req?: PatchV1UserUpdateStatusIdRequest): Promise<PatchV1UserUpdateStatusIdResponses>;
1733
- postV1AuthLogin(req?: PostV1AuthLoginRequest): Promise<PostV1AuthLoginResponses>;
1734
- postV1Company(req?: PostV1CompanyRequest): Promise<PostV1CompanyResponses>;
1735
- getV1Company(req?: GetV1CompanyRequest): Promise<GetV1CompanyResponses>;
1736
- getV1CompanyId(req?: GetV1CompanyIdRequest): Promise<GetV1CompanyIdResponses>;
1737
- putV1CompanyId(req?: PutV1CompanyIdRequest): Promise<PutV1CompanyIdResponses>;
1738
- deleteV1CompanyId(req?: DeleteV1CompanyIdRequest): Promise<DeleteV1CompanyIdResponses>;
1739
- postV1Config(req?: PostV1ConfigRequest[]): Promise<PostV1ConfigResponses>;
1740
- getV1Config(req?: GetV1ConfigRequest): Promise<GetV1ConfigResponses>;
1741
- getV1ConfigId(req?: GetV1ConfigIdRequest): Promise<GetV1ConfigIdResponses>;
1742
- putV1ConfigId(req?: PutV1ConfigIdRequest): Promise<PutV1ConfigIdResponses>;
1743
- deleteV1ConfigId(req?: DeleteV1ConfigIdRequest): Promise<DeleteV1ConfigIdResponses>;
1744
- getV1LocationsCountries(req?: GetV1LocationsCountriesRequest): Promise<GetV1LocationsCountriesResponses>;
1745
- getV1LocationsStates(req?: GetV1LocationsStatesRequest): Promise<GetV1LocationsStatesResponses>;
1746
- postV1AuthForgotPassword(req?: PostV1AuthForgotPasswordRequest): Promise<PostV1AuthLoginResponses>;
1747
- postV1AuthResetPassword(req?: PostV1AuthResetPasswordRequest): Promise<PostV1AuthLoginResponses>;
1748
- }
1749
- type PlatformaticFrontendClient = Omit<Api, 'setBaseUrl'>
1750
- type BuildOptions = {
1751
- headers?: Object
1752
- }
1753
- export default function build(url: string, options?: BuildOptions): PlatformaticFrontendClient
1
+ export interface FullResponse<T, U extends number> {
2
+ 'statusCode': U;
3
+ 'headers': object;
4
+ 'body': T;
5
+ }
6
+
7
+ export type PostV1PermissionRequest = {
8
+ 'x-token'?: string;
9
+ 'x-timezone'?: string;
10
+ 'role_id': string;
11
+ 'resource_id': string;
12
+ 'policy': object;
13
+ 'weight': number;
14
+ }
15
+
16
+ export type PostV1PermissionResponseOK = {
17
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
18
+ 'success': boolean;
19
+ 'status_code': number;
20
+ 'message': string;
21
+ 'data': unknown;
22
+ 'pagination': unknown;
23
+ }
24
+ export type PostV1PermissionResponseBadRequest = {
25
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
26
+ 'success': boolean;
27
+ 'status_code': number;
28
+ 'message': string;
29
+ }
30
+ export type PostV1PermissionResponseNotFound = {
31
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
32
+ 'success': boolean;
33
+ 'status_code': number;
34
+ 'message': string;
35
+ }
36
+ export type PostV1PermissionResponseInternalServerError = {
37
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
38
+ 'success': boolean;
39
+ 'status_code': number;
40
+ 'message': string;
41
+ }
42
+ export type PostV1PermissionResponses =
43
+ PostV1PermissionResponseOK
44
+ | PostV1PermissionResponseBadRequest
45
+ | PostV1PermissionResponseNotFound
46
+ | PostV1PermissionResponseInternalServerError
47
+
48
+ export type GetV1PermissionRequest = {
49
+ 'x-token'?: string;
50
+ 'x-timezone'?: string;
51
+ }
52
+
53
+ export type GetV1PermissionResponseOK = {
54
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
55
+ 'success': boolean;
56
+ 'status_code': number;
57
+ 'message': string;
58
+ 'data': unknown;
59
+ 'pagination': unknown;
60
+ }
61
+ export type GetV1PermissionResponseBadRequest = {
62
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
63
+ 'success': boolean;
64
+ 'status_code': number;
65
+ 'message': string;
66
+ }
67
+ export type GetV1PermissionResponseNotFound = {
68
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
69
+ 'success': boolean;
70
+ 'status_code': number;
71
+ 'message': string;
72
+ }
73
+ export type GetV1PermissionResponseInternalServerError = {
74
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
75
+ 'success': boolean;
76
+ 'status_code': number;
77
+ 'message': string;
78
+ }
79
+ export type GetV1PermissionResponses =
80
+ GetV1PermissionResponseOK
81
+ | GetV1PermissionResponseBadRequest
82
+ | GetV1PermissionResponseNotFound
83
+ | GetV1PermissionResponseInternalServerError
84
+
85
+ export type GetV1PermissionIdRequest = {
86
+ 'id': string;
87
+ 'x-token'?: string;
88
+ 'x-timezone'?: string;
89
+ }
90
+
91
+ export type GetV1PermissionIdResponseOK = {
92
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
93
+ 'success': boolean;
94
+ 'status_code': number;
95
+ 'message': string;
96
+ 'data': unknown;
97
+ 'pagination': unknown;
98
+ }
99
+ export type GetV1PermissionIdResponseBadRequest = {
100
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
101
+ 'success': boolean;
102
+ 'status_code': number;
103
+ 'message': string;
104
+ }
105
+ export type GetV1PermissionIdResponseNotFound = {
106
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
107
+ 'success': boolean;
108
+ 'status_code': number;
109
+ 'message': string;
110
+ }
111
+ export type GetV1PermissionIdResponseInternalServerError = {
112
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
113
+ 'success': boolean;
114
+ 'status_code': number;
115
+ 'message': string;
116
+ }
117
+ export type GetV1PermissionIdResponses =
118
+ GetV1PermissionIdResponseOK
119
+ | GetV1PermissionIdResponseBadRequest
120
+ | GetV1PermissionIdResponseNotFound
121
+ | GetV1PermissionIdResponseInternalServerError
122
+
123
+ export type PutV1PermissionIdRequest = {
124
+ 'id': string;
125
+ 'x-token'?: string;
126
+ 'x-timezone'?: string;
127
+ 'role_id': string;
128
+ 'resource_id': string;
129
+ 'policy': object;
130
+ 'weight': number;
131
+ }
132
+
133
+ export type PutV1PermissionIdResponseOK = {
134
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
135
+ 'success': boolean;
136
+ 'status_code': number;
137
+ 'message': string;
138
+ 'data': unknown;
139
+ 'pagination': unknown;
140
+ }
141
+ export type PutV1PermissionIdResponseBadRequest = {
142
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
143
+ 'success': boolean;
144
+ 'status_code': number;
145
+ 'message': string;
146
+ }
147
+ export type PutV1PermissionIdResponseNotFound = {
148
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
149
+ 'success': boolean;
150
+ 'status_code': number;
151
+ 'message': string;
152
+ }
153
+ export type PutV1PermissionIdResponseInternalServerError = {
154
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
155
+ 'success': boolean;
156
+ 'status_code': number;
157
+ 'message': string;
158
+ }
159
+ export type PutV1PermissionIdResponses =
160
+ PutV1PermissionIdResponseOK
161
+ | PutV1PermissionIdResponseBadRequest
162
+ | PutV1PermissionIdResponseNotFound
163
+ | PutV1PermissionIdResponseInternalServerError
164
+
165
+ export type DeleteV1PermissionIdRequest = {
166
+ 'id': string;
167
+ 'x-token'?: string;
168
+ 'x-timezone'?: string;
169
+ }
170
+
171
+ export type DeleteV1PermissionIdResponseOK = {
172
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
173
+ 'success': boolean;
174
+ 'status_code': number;
175
+ 'message': string;
176
+ 'data': unknown;
177
+ 'pagination': unknown;
178
+ }
179
+ export type DeleteV1PermissionIdResponseBadRequest = {
180
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
181
+ 'success': boolean;
182
+ 'status_code': number;
183
+ 'message': string;
184
+ }
185
+ export type DeleteV1PermissionIdResponseNotFound = {
186
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
187
+ 'success': boolean;
188
+ 'status_code': number;
189
+ 'message': string;
190
+ }
191
+ export type DeleteV1PermissionIdResponseInternalServerError = {
192
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
193
+ 'success': boolean;
194
+ 'status_code': number;
195
+ 'message': string;
196
+ }
197
+ export type DeleteV1PermissionIdResponses =
198
+ DeleteV1PermissionIdResponseOK
199
+ | DeleteV1PermissionIdResponseBadRequest
200
+ | DeleteV1PermissionIdResponseNotFound
201
+ | DeleteV1PermissionIdResponseInternalServerError
202
+
203
+ export type GetV1PermissionRoleIdRequest = {
204
+ 'id': string;
205
+ 'x-token'?: string;
206
+ 'x-timezone'?: string;
207
+ }
208
+
209
+ export type GetV1PermissionRoleIdResponseOK = {
210
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
211
+ 'success': boolean;
212
+ 'status_code': number;
213
+ 'message': string;
214
+ 'data': unknown;
215
+ 'pagination': unknown;
216
+ }
217
+ export type GetV1PermissionRoleIdResponseBadRequest = {
218
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
219
+ 'success': boolean;
220
+ 'status_code': number;
221
+ 'message': string;
222
+ }
223
+ export type GetV1PermissionRoleIdResponseNotFound = {
224
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
225
+ 'success': boolean;
226
+ 'status_code': number;
227
+ 'message': string;
228
+ }
229
+ export type GetV1PermissionRoleIdResponseInternalServerError = {
230
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
231
+ 'success': boolean;
232
+ 'status_code': number;
233
+ 'message': string;
234
+ }
235
+ export type GetV1PermissionRoleIdResponses =
236
+ GetV1PermissionRoleIdResponseOK
237
+ | GetV1PermissionRoleIdResponseBadRequest
238
+ | GetV1PermissionRoleIdResponseNotFound
239
+ | GetV1PermissionRoleIdResponseInternalServerError
240
+
241
+ export type PostV1ResourceRequest = {
242
+ 'x-token'?: string;
243
+ 'x-timezone'?: string;
244
+ 'name': string;
245
+ 'code': string;
246
+ 'method': string;
247
+ 'operation': string;
248
+ 'sort': number;
249
+ 'module': string;
250
+ }
251
+
252
+ export type PostV1ResourceResponseOK = {
253
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
254
+ 'success': boolean;
255
+ 'status_code': number;
256
+ 'message': string;
257
+ 'data': unknown;
258
+ 'pagination': unknown;
259
+ }
260
+ export type PostV1ResourceResponseBadRequest = {
261
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
262
+ 'success': boolean;
263
+ 'status_code': number;
264
+ 'message': string;
265
+ }
266
+ export type PostV1ResourceResponseNotFound = {
267
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
268
+ 'success': boolean;
269
+ 'status_code': number;
270
+ 'message': string;
271
+ }
272
+ export type PostV1ResourceResponseInternalServerError = {
273
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
274
+ 'success': boolean;
275
+ 'status_code': number;
276
+ 'message': string;
277
+ }
278
+ export type PostV1ResourceResponses =
279
+ PostV1ResourceResponseOK
280
+ | PostV1ResourceResponseBadRequest
281
+ | PostV1ResourceResponseNotFound
282
+ | PostV1ResourceResponseInternalServerError
283
+
284
+ export type GetV1ResourceRequest = {
285
+ 'x-token'?: string;
286
+ 'x-timezone'?: string;
287
+ }
288
+
289
+ export type GetV1ResourceResponseOK = {
290
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
291
+ 'success': boolean;
292
+ 'status_code': number;
293
+ 'message': string;
294
+ 'data': unknown;
295
+ 'pagination': unknown;
296
+ }
297
+ export type GetV1ResourceResponseBadRequest = {
298
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
299
+ 'success': boolean;
300
+ 'status_code': number;
301
+ 'message': string;
302
+ }
303
+ export type GetV1ResourceResponseNotFound = {
304
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
305
+ 'success': boolean;
306
+ 'status_code': number;
307
+ 'message': string;
308
+ }
309
+ export type GetV1ResourceResponseInternalServerError = {
310
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
311
+ 'success': boolean;
312
+ 'status_code': number;
313
+ 'message': string;
314
+ }
315
+ export type GetV1ResourceResponses =
316
+ GetV1ResourceResponseOK
317
+ | GetV1ResourceResponseBadRequest
318
+ | GetV1ResourceResponseNotFound
319
+ | GetV1ResourceResponseInternalServerError
320
+
321
+ export type GetV1ResourceIdRequest = {
322
+ 'id': string;
323
+ 'x-token'?: string;
324
+ 'x-timezone'?: string;
325
+ }
326
+
327
+ export type GetV1ResourceIdResponseOK = {
328
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
329
+ 'success': boolean;
330
+ 'status_code': number;
331
+ 'message': string;
332
+ 'data': unknown;
333
+ 'pagination': unknown;
334
+ }
335
+ export type GetV1ResourceIdResponseBadRequest = {
336
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
337
+ 'success': boolean;
338
+ 'status_code': number;
339
+ 'message': string;
340
+ }
341
+ export type GetV1ResourceIdResponseNotFound = {
342
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
343
+ 'success': boolean;
344
+ 'status_code': number;
345
+ 'message': string;
346
+ }
347
+ export type GetV1ResourceIdResponseInternalServerError = {
348
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
349
+ 'success': boolean;
350
+ 'status_code': number;
351
+ 'message': string;
352
+ }
353
+ export type GetV1ResourceIdResponses =
354
+ GetV1ResourceIdResponseOK
355
+ | GetV1ResourceIdResponseBadRequest
356
+ | GetV1ResourceIdResponseNotFound
357
+ | GetV1ResourceIdResponseInternalServerError
358
+
359
+ export type PutV1ResourceIdRequest = {
360
+ 'id': string;
361
+ 'x-token'?: string;
362
+ 'x-timezone'?: string;
363
+ 'name': string;
364
+ 'code': string;
365
+ 'method': string;
366
+ 'operation': string;
367
+ 'sort': number;
368
+ }
369
+
370
+ export type PutV1ResourceIdResponseOK = {
371
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
372
+ 'success': boolean;
373
+ 'status_code': number;
374
+ 'message': string;
375
+ 'data': unknown;
376
+ 'pagination': unknown;
377
+ }
378
+ export type PutV1ResourceIdResponseBadRequest = {
379
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
380
+ 'success': boolean;
381
+ 'status_code': number;
382
+ 'message': string;
383
+ }
384
+ export type PutV1ResourceIdResponseNotFound = {
385
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
386
+ 'success': boolean;
387
+ 'status_code': number;
388
+ 'message': string;
389
+ }
390
+ export type PutV1ResourceIdResponseInternalServerError = {
391
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
392
+ 'success': boolean;
393
+ 'status_code': number;
394
+ 'message': string;
395
+ }
396
+ export type PutV1ResourceIdResponses =
397
+ PutV1ResourceIdResponseOK
398
+ | PutV1ResourceIdResponseBadRequest
399
+ | PutV1ResourceIdResponseNotFound
400
+ | PutV1ResourceIdResponseInternalServerError
401
+
402
+ export type DeleteV1ResourceIdRequest = {
403
+ 'id': string;
404
+ 'x-token'?: string;
405
+ 'x-timezone'?: string;
406
+ }
407
+
408
+ export type DeleteV1ResourceIdResponseOK = {
409
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
410
+ 'success': boolean;
411
+ 'status_code': number;
412
+ 'message': string;
413
+ 'data': unknown;
414
+ 'pagination': unknown;
415
+ }
416
+ export type DeleteV1ResourceIdResponseBadRequest = {
417
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
418
+ 'success': boolean;
419
+ 'status_code': number;
420
+ 'message': string;
421
+ }
422
+ export type DeleteV1ResourceIdResponseNotFound = {
423
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
424
+ 'success': boolean;
425
+ 'status_code': number;
426
+ 'message': string;
427
+ }
428
+ export type DeleteV1ResourceIdResponseInternalServerError = {
429
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
430
+ 'success': boolean;
431
+ 'status_code': number;
432
+ 'message': string;
433
+ }
434
+ export type DeleteV1ResourceIdResponses =
435
+ DeleteV1ResourceIdResponseOK
436
+ | DeleteV1ResourceIdResponseBadRequest
437
+ | DeleteV1ResourceIdResponseNotFound
438
+ | DeleteV1ResourceIdResponseInternalServerError
439
+
440
+ export type GetV1ResourceModulesRequest = {
441
+ 'x-token'?: string;
442
+ 'x-timezone'?: string;
443
+ }
444
+
445
+ export type GetV1ResourceModulesResponseOK = {
446
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
447
+ 'success': boolean;
448
+ 'status_code': number;
449
+ 'message': string;
450
+ 'data': unknown;
451
+ 'pagination': unknown;
452
+ }
453
+ export type GetV1ResourceModulesResponseBadRequest = {
454
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
455
+ 'success': boolean;
456
+ 'status_code': number;
457
+ 'message': string;
458
+ }
459
+ export type GetV1ResourceModulesResponseNotFound = {
460
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
461
+ 'success': boolean;
462
+ 'status_code': number;
463
+ 'message': string;
464
+ }
465
+ export type GetV1ResourceModulesResponseInternalServerError = {
466
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
467
+ 'success': boolean;
468
+ 'status_code': number;
469
+ 'message': string;
470
+ }
471
+ export type GetV1ResourceModulesResponses =
472
+ GetV1ResourceModulesResponseOK
473
+ | GetV1ResourceModulesResponseBadRequest
474
+ | GetV1ResourceModulesResponseNotFound
475
+ | GetV1ResourceModulesResponseInternalServerError
476
+
477
+ export type PostV1ResourceSubModulesRequest = {
478
+ 'x-token'?: string;
479
+ 'x-timezone'?: string;
480
+ 'name': string;
481
+ }
482
+
483
+ export type PostV1ResourceSubModulesResponseOK = {
484
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
485
+ 'success': boolean;
486
+ 'status_code': number;
487
+ 'message': string;
488
+ 'data': unknown;
489
+ 'pagination': unknown;
490
+ }
491
+ export type PostV1ResourceSubModulesResponseBadRequest = {
492
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
493
+ 'success': boolean;
494
+ 'status_code': number;
495
+ 'message': string;
496
+ }
497
+ export type PostV1ResourceSubModulesResponseNotFound = {
498
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
499
+ 'success': boolean;
500
+ 'status_code': number;
501
+ 'message': string;
502
+ }
503
+ export type PostV1ResourceSubModulesResponseInternalServerError = {
504
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
505
+ 'success': boolean;
506
+ 'status_code': number;
507
+ 'message': string;
508
+ }
509
+ export type PostV1ResourceSubModulesResponses =
510
+ PostV1ResourceSubModulesResponseOK
511
+ | PostV1ResourceSubModulesResponseBadRequest
512
+ | PostV1ResourceSubModulesResponseNotFound
513
+ | PostV1ResourceSubModulesResponseInternalServerError
514
+
515
+ export type PostV1RoleRequest = {
516
+ 'x-token'?: string;
517
+ 'x-timezone'?: string;
518
+ 'name': string;
519
+ 'code': string;
520
+ 'type': 'Admin' | 'Executive' | 'Manager' | 'Support' | 'Operations';
521
+ 'description': string;
522
+ 'module_info'?: Array<{ 'module_name'?: string; 'sub_modules'?: Array<{ 'sub_module_name'?: string }> }>;
523
+ 'permissions'?: Array<{ 'resource_id'?: string }>;
524
+ 'sort'?: number;
525
+ }
526
+
527
+ export type PostV1RoleResponseOK = {
528
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
529
+ 'success': boolean;
530
+ 'status_code': number;
531
+ 'message': string;
532
+ 'data': unknown;
533
+ 'pagination': unknown;
534
+ }
535
+ export type PostV1RoleResponseBadRequest = {
536
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
537
+ 'success': boolean;
538
+ 'status_code': number;
539
+ 'message': string;
540
+ }
541
+ export type PostV1RoleResponseNotFound = {
542
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
543
+ 'success': boolean;
544
+ 'status_code': number;
545
+ 'message': string;
546
+ }
547
+ export type PostV1RoleResponseInternalServerError = {
548
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
549
+ 'success': boolean;
550
+ 'status_code': number;
551
+ 'message': string;
552
+ }
553
+ export type PostV1RoleResponses =
554
+ PostV1RoleResponseOK
555
+ | PostV1RoleResponseBadRequest
556
+ | PostV1RoleResponseNotFound
557
+ | PostV1RoleResponseInternalServerError
558
+
559
+ export type GetV1RoleRequest = {
560
+ 'skip'?: number;
561
+ 'limit'?: number;
562
+ 'order'?: string;
563
+ 'filters'?: string;
564
+ 'search'?: string;
565
+ 'select'?: string;
566
+ 'x-token'?: string;
567
+ 'x-timezone'?: string;
568
+ }
569
+
570
+ export type GetV1RoleResponseOK = {
571
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
572
+ 'success': boolean;
573
+ 'status_code': number;
574
+ 'message': string;
575
+ 'data': unknown;
576
+ 'pagination': unknown;
577
+ }
578
+ export type GetV1RoleResponseBadRequest = {
579
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
580
+ 'success': boolean;
581
+ 'status_code': number;
582
+ 'message': string;
583
+ }
584
+ export type GetV1RoleResponseNotFound = {
585
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
586
+ 'success': boolean;
587
+ 'status_code': number;
588
+ 'message': string;
589
+ }
590
+ export type GetV1RoleResponseInternalServerError = {
591
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
592
+ 'success': boolean;
593
+ 'status_code': number;
594
+ 'message': string;
595
+ }
596
+ export type GetV1RoleResponses =
597
+ GetV1RoleResponseOK
598
+ | GetV1RoleResponseBadRequest
599
+ | GetV1RoleResponseNotFound
600
+ | GetV1RoleResponseInternalServerError
601
+
602
+ export type GetV1RoleIdRequest = {
603
+ 'id': string;
604
+ 'x-token'?: string;
605
+ 'x-timezone'?: string;
606
+ }
607
+
608
+ export type GetV1RoleIdResponseOK = {
609
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
610
+ 'success': boolean;
611
+ 'status_code': number;
612
+ 'message': string;
613
+ 'data': unknown;
614
+ 'pagination': unknown;
615
+ }
616
+ export type GetV1RoleIdResponseBadRequest = {
617
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
618
+ 'success': boolean;
619
+ 'status_code': number;
620
+ 'message': string;
621
+ }
622
+ export type GetV1RoleIdResponseNotFound = {
623
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
624
+ 'success': boolean;
625
+ 'status_code': number;
626
+ 'message': string;
627
+ }
628
+ export type GetV1RoleIdResponseInternalServerError = {
629
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
630
+ 'success': boolean;
631
+ 'status_code': number;
632
+ 'message': string;
633
+ }
634
+ export type GetV1RoleIdResponses =
635
+ GetV1RoleIdResponseOK
636
+ | GetV1RoleIdResponseBadRequest
637
+ | GetV1RoleIdResponseNotFound
638
+ | GetV1RoleIdResponseInternalServerError
639
+
640
+ export type PutV1RoleIdRequest = {
641
+ 'id': string;
642
+ 'x-token'?: string;
643
+ 'x-timezone'?: string;
644
+ 'name': string;
645
+ 'code': string;
646
+ 'type': 'Admin' | 'Executive' | 'Manager' | 'Support' | 'Operations';
647
+ 'description': string;
648
+ 'module_info': Array<{ 'module_name'?: string; 'sub_modules'?: Array<{ 'sub_module_name'?: string }> }>;
649
+ 'sort': number;
650
+ }
651
+
652
+ export type PutV1RoleIdResponseOK = {
653
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
654
+ 'success': boolean;
655
+ 'status_code': number;
656
+ 'message': string;
657
+ 'data': unknown;
658
+ 'pagination': unknown;
659
+ }
660
+ export type PutV1RoleIdResponseBadRequest = {
661
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
662
+ 'success': boolean;
663
+ 'status_code': number;
664
+ 'message': string;
665
+ }
666
+ export type PutV1RoleIdResponseNotFound = {
667
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
668
+ 'success': boolean;
669
+ 'status_code': number;
670
+ 'message': string;
671
+ }
672
+ export type PutV1RoleIdResponseInternalServerError = {
673
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
674
+ 'success': boolean;
675
+ 'status_code': number;
676
+ 'message': string;
677
+ }
678
+ export type PutV1RoleIdResponses =
679
+ PutV1RoleIdResponseOK
680
+ | PutV1RoleIdResponseBadRequest
681
+ | PutV1RoleIdResponseNotFound
682
+ | PutV1RoleIdResponseInternalServerError
683
+
684
+ export type DeleteV1RoleIdRequest = {
685
+ 'id': string;
686
+ 'x-token'?: string;
687
+ 'x-timezone'?: string;
688
+ }
689
+
690
+ export type DeleteV1RoleIdResponseOK = {
691
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
692
+ 'success': boolean;
693
+ 'status_code': number;
694
+ 'message': string;
695
+ 'data': unknown;
696
+ 'pagination': unknown;
697
+ }
698
+ export type DeleteV1RoleIdResponseBadRequest = {
699
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
700
+ 'success': boolean;
701
+ 'status_code': number;
702
+ 'message': string;
703
+ }
704
+ export type DeleteV1RoleIdResponseNotFound = {
705
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
706
+ 'success': boolean;
707
+ 'status_code': number;
708
+ 'message': string;
709
+ }
710
+ export type DeleteV1RoleIdResponseInternalServerError = {
711
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
712
+ 'success': boolean;
713
+ 'status_code': number;
714
+ 'message': string;
715
+ }
716
+ export type DeleteV1RoleIdResponses =
717
+ DeleteV1RoleIdResponseOK
718
+ | DeleteV1RoleIdResponseBadRequest
719
+ | DeleteV1RoleIdResponseNotFound
720
+ | DeleteV1RoleIdResponseInternalServerError
721
+
722
+ export type GetV1RoleUserIdRequest = {
723
+ 'id': string;
724
+ 'x-token'?: string;
725
+ 'x-timezone'?: string;
726
+ }
727
+
728
+ export type GetV1RoleUserIdResponseOK = {
729
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
730
+ 'success': boolean;
731
+ 'status_code': number;
732
+ 'message': string;
733
+ 'data': unknown;
734
+ 'pagination': unknown;
735
+ }
736
+ export type GetV1RoleUserIdResponseBadRequest = {
737
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
738
+ 'success': boolean;
739
+ 'status_code': number;
740
+ 'message': string;
741
+ }
742
+ export type GetV1RoleUserIdResponseNotFound = {
743
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
744
+ 'success': boolean;
745
+ 'status_code': number;
746
+ 'message': string;
747
+ }
748
+ export type GetV1RoleUserIdResponseInternalServerError = {
749
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
750
+ 'success': boolean;
751
+ 'status_code': number;
752
+ 'message': string;
753
+ }
754
+ export type GetV1RoleUserIdResponses =
755
+ GetV1RoleUserIdResponseOK
756
+ | GetV1RoleUserIdResponseBadRequest
757
+ | GetV1RoleUserIdResponseNotFound
758
+ | GetV1RoleUserIdResponseInternalServerError
759
+
760
+ export type PostV1RoleUserIdRequest = {
761
+ 'id': string;
762
+ 'x-token'?: string;
763
+ 'x-timezone'?: string;
764
+ }
765
+
766
+ export type PostV1RoleUserIdResponseOK = {
767
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
768
+ 'success': boolean;
769
+ 'status_code': number;
770
+ 'message': string;
771
+ 'data': unknown;
772
+ 'pagination': unknown;
773
+ }
774
+ export type PostV1RoleUserIdResponseBadRequest = {
775
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
776
+ 'success': boolean;
777
+ 'status_code': number;
778
+ 'message': string;
779
+ }
780
+ export type PostV1RoleUserIdResponseNotFound = {
781
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
782
+ 'success': boolean;
783
+ 'status_code': number;
784
+ 'message': string;
785
+ }
786
+ export type PostV1RoleUserIdResponseInternalServerError = {
787
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
788
+ 'success': boolean;
789
+ 'status_code': number;
790
+ 'message': string;
791
+ }
792
+ export type PostV1RoleUserIdResponses =
793
+ PostV1RoleUserIdResponseOK
794
+ | PostV1RoleUserIdResponseBadRequest
795
+ | PostV1RoleUserIdResponseNotFound
796
+ | PostV1RoleUserIdResponseInternalServerError
797
+
798
+ export type PostV1UserRequest = {
799
+ 'x-token'?: string;
800
+ 'x-timezone'?: string;
801
+ 'basic_details': { 'first_name': string; 'last_name': string; 'middle_name'?: string; 'country_code': string; 'phone': string; 'email': string; 'password': string; 'role_id': string; 'branch_id': number; 'location_id': number; 'department_id': number; 'profile_image': string; 'company_id'?: number };
802
+ 'time_based_access_details'?: { 'start_date'?: string | Date; 'end_date'?: string | Date; 'start_time': string; 'end_time': string; 'never_end'?: boolean; 'access_details': { 'type'?: 'not_repeated' | 'repeat_daily' | 'repeat_weekdays' | 'repeat_selected_weekdays' | 'repeat_monthly_selected_days' | 'repeat_yearly_selected_days'; 'repeat_daily'?: { 'interval_days': number }; 'repeat_selected_weekdays'?: { 'weekdays': Array<0 | 1 | 2 | 3 | 4 | 5 | 6> }; 'repeat_monthly_selected_days'?: object; 'repeat_yearly_selected_days'?: object } };
803
+ 'entity_access_details'?: { 'access_details'?: { 'company'?: Array<string>; 'branch'?: Array<string>; 'location'?: Array<string>; 'department'?: Array<string> }; 'selected_company'?: string };
804
+ }
805
+
806
+ export type PostV1UserResponseOK = {
807
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
808
+ 'success': boolean;
809
+ 'status_code': number;
810
+ 'message': string;
811
+ 'data': unknown;
812
+ 'pagination': unknown;
813
+ }
814
+ export type PostV1UserResponseBadRequest = {
815
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
816
+ 'success': boolean;
817
+ 'status_code': number;
818
+ 'message': string;
819
+ }
820
+ export type PostV1UserResponseNotFound = {
821
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
822
+ 'success': boolean;
823
+ 'status_code': number;
824
+ 'message': string;
825
+ }
826
+ export type PostV1UserResponseInternalServerError = {
827
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
828
+ 'success': boolean;
829
+ 'status_code': number;
830
+ 'message': string;
831
+ }
832
+ export type PostV1UserResponses =
833
+ PostV1UserResponseOK
834
+ | PostV1UserResponseBadRequest
835
+ | PostV1UserResponseNotFound
836
+ | PostV1UserResponseInternalServerError
837
+
838
+ export type GetV1UserRequest = {
839
+ 'skip'?: number;
840
+ 'limit'?: number;
841
+ 'order'?: string;
842
+ 'filters'?: string;
843
+ 'search'?: string;
844
+ 'select'?: string;
845
+ 'x-token'?: string;
846
+ 'x-timezone'?: string;
847
+ }
848
+
849
+ export type GetV1UserResponseOK = {
850
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
851
+ 'success': boolean;
852
+ 'status_code': number;
853
+ 'message': string;
854
+ 'data': unknown;
855
+ 'pagination': unknown;
856
+ }
857
+ export type GetV1UserResponseBadRequest = {
858
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
859
+ 'success': boolean;
860
+ 'status_code': number;
861
+ 'message': string;
862
+ }
863
+ export type GetV1UserResponseNotFound = {
864
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
865
+ 'success': boolean;
866
+ 'status_code': number;
867
+ 'message': string;
868
+ }
869
+ export type GetV1UserResponseInternalServerError = {
870
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
871
+ 'success': boolean;
872
+ 'status_code': number;
873
+ 'message': string;
874
+ }
875
+ export type GetV1UserResponses =
876
+ GetV1UserResponseOK
877
+ | GetV1UserResponseBadRequest
878
+ | GetV1UserResponseNotFound
879
+ | GetV1UserResponseInternalServerError
880
+
881
+ export type GetV1UserBranchRequest = {
882
+ 'skip'?: number;
883
+ 'limit'?: number;
884
+ 'order'?: string;
885
+ 'filters'?: string;
886
+ 'search'?: string;
887
+ 'select'?: string;
888
+ 'x-token'?: string;
889
+ 'x-timezone'?: string;
890
+ }
891
+
892
+ export type GetV1UserBranchResponseOK = {
893
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
894
+ 'success': boolean;
895
+ 'status_code': number;
896
+ 'message': string;
897
+ 'data': unknown;
898
+ 'pagination': unknown;
899
+ }
900
+ export type GetV1UserBranchResponseBadRequest = {
901
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
902
+ 'success': boolean;
903
+ 'status_code': number;
904
+ 'message': string;
905
+ }
906
+ export type GetV1UserBranchResponseNotFound = {
907
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
908
+ 'success': boolean;
909
+ 'status_code': number;
910
+ 'message': string;
911
+ }
912
+ export type GetV1UserBranchResponseInternalServerError = {
913
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
914
+ 'success': boolean;
915
+ 'status_code': number;
916
+ 'message': string;
917
+ }
918
+ export type GetV1UserBranchResponses =
919
+ GetV1UserBranchResponseOK
920
+ | GetV1UserBranchResponseBadRequest
921
+ | GetV1UserBranchResponseNotFound
922
+ | GetV1UserBranchResponseInternalServerError
923
+
924
+ export type GetV1UserLocationRequest = {
925
+ 'skip'?: number;
926
+ 'limit'?: number;
927
+ 'order'?: string;
928
+ 'filters'?: string;
929
+ 'search'?: string;
930
+ 'select'?: string;
931
+ 'x-token'?: string;
932
+ 'x-timezone'?: string;
933
+ }
934
+
935
+ export type GetV1UserLocationResponseOK = {
936
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
937
+ 'success': boolean;
938
+ 'status_code': number;
939
+ 'message': string;
940
+ 'data': unknown;
941
+ 'pagination': unknown;
942
+ }
943
+ export type GetV1UserLocationResponseBadRequest = {
944
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
945
+ 'success': boolean;
946
+ 'status_code': number;
947
+ 'message': string;
948
+ }
949
+ export type GetV1UserLocationResponseNotFound = {
950
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
951
+ 'success': boolean;
952
+ 'status_code': number;
953
+ 'message': string;
954
+ }
955
+ export type GetV1UserLocationResponseInternalServerError = {
956
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
957
+ 'success': boolean;
958
+ 'status_code': number;
959
+ 'message': string;
960
+ }
961
+ export type GetV1UserLocationResponses =
962
+ GetV1UserLocationResponseOK
963
+ | GetV1UserLocationResponseBadRequest
964
+ | GetV1UserLocationResponseNotFound
965
+ | GetV1UserLocationResponseInternalServerError
966
+
967
+ export type GetV1UserDepartmentRequest = {
968
+ 'skip'?: number;
969
+ 'limit'?: number;
970
+ 'order'?: string;
971
+ 'filters'?: string;
972
+ 'search'?: string;
973
+ 'select'?: string;
974
+ 'x-token'?: string;
975
+ 'x-timezone'?: string;
976
+ }
977
+
978
+ export type GetV1UserDepartmentResponseOK = {
979
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
980
+ 'success': boolean;
981
+ 'status_code': number;
982
+ 'message': string;
983
+ 'data': unknown;
984
+ 'pagination': unknown;
985
+ }
986
+ export type GetV1UserDepartmentResponseBadRequest = {
987
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
988
+ 'success': boolean;
989
+ 'status_code': number;
990
+ 'message': string;
991
+ }
992
+ export type GetV1UserDepartmentResponseNotFound = {
993
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
994
+ 'success': boolean;
995
+ 'status_code': number;
996
+ 'message': string;
997
+ }
998
+ export type GetV1UserDepartmentResponseInternalServerError = {
999
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1000
+ 'success': boolean;
1001
+ 'status_code': number;
1002
+ 'message': string;
1003
+ }
1004
+ export type GetV1UserDepartmentResponses =
1005
+ GetV1UserDepartmentResponseOK
1006
+ | GetV1UserDepartmentResponseBadRequest
1007
+ | GetV1UserDepartmentResponseNotFound
1008
+ | GetV1UserDepartmentResponseInternalServerError
1009
+
1010
+ export type GetV1UserIdRequest = {
1011
+ 'x-token'?: string;
1012
+ 'x-timezone'?: string;
1013
+ 'id': string;
1014
+ }
1015
+
1016
+ export type GetV1UserIdResponseOK = {
1017
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1018
+ 'success': boolean;
1019
+ 'status_code': number;
1020
+ 'message': string;
1021
+ 'data': unknown;
1022
+ 'pagination': unknown;
1023
+ }
1024
+ export type GetV1UserIdResponseBadRequest = {
1025
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1026
+ 'success': boolean;
1027
+ 'status_code': number;
1028
+ 'message': string;
1029
+ }
1030
+ export type GetV1UserIdResponseNotFound = {
1031
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1032
+ 'success': boolean;
1033
+ 'status_code': number;
1034
+ 'message': string;
1035
+ }
1036
+ export type GetV1UserIdResponseInternalServerError = {
1037
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1038
+ 'success': boolean;
1039
+ 'status_code': number;
1040
+ 'message': string;
1041
+ }
1042
+ export type GetV1UserIdResponses =
1043
+ GetV1UserIdResponseOK
1044
+ | GetV1UserIdResponseBadRequest
1045
+ | GetV1UserIdResponseNotFound
1046
+ | GetV1UserIdResponseInternalServerError
1047
+
1048
+ export type PutV1UserIdRequest = {
1049
+ 'skip'?: number;
1050
+ 'limit'?: number;
1051
+ 'order'?: string;
1052
+ 'filters'?: string;
1053
+ 'search'?: string;
1054
+ 'select'?: string;
1055
+ 'x-token'?: string;
1056
+ 'x-timezone'?: string;
1057
+ 'id': string;
1058
+ 'basic_details': { 'first_name'?: string; 'last_name'?: string; 'middle_name'?: string; 'country_code'?: string; 'phone'?: string; 'email'?: string; 'password'?: string; 'role_id'?: string; 'branch_id'?: number; 'location_id'?: number; 'department_id'?: number; 'profile_image'?: string; 'company_id'?: number };
1059
+ 'time_based_access_details': { 'start_date'?: string | Date; 'end_date'?: string | Date; 'start_time': string; 'end_time': string; 'never_end'?: boolean; 'access_details': { 'type'?: 'not_repeated' | 'repeat_daily' | 'repeat_weekdays' | 'repeat_selected_weekdays' | 'repeat_monthly_selected_days' | 'repeat_yearly_selected_days'; 'repeat_daily'?: { 'interval_days': number }; 'repeat_selected_weekdays'?: { 'weekdays': Array<0 | 1 | 2 | 3 | 4 | 5 | 6> }; 'repeat_monthly_selected_days'?: object; 'repeat_yearly_selected_days'?: object } };
1060
+ 'entity_access_details': { 'access_details'?: { 'company'?: Array<string>; 'branch'?: Array<string>; 'location'?: Array<string>; 'department'?: Array<string> }; 'selected_company'?: string };
1061
+ }
1062
+
1063
+ export type PutV1UserIdResponseOK = {
1064
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1065
+ 'success': boolean;
1066
+ 'status_code': number;
1067
+ 'message': string;
1068
+ 'data': unknown;
1069
+ 'pagination': unknown;
1070
+ }
1071
+ export type PutV1UserIdResponseBadRequest = {
1072
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1073
+ 'success': boolean;
1074
+ 'status_code': number;
1075
+ 'message': string;
1076
+ }
1077
+ export type PutV1UserIdResponseNotFound = {
1078
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1079
+ 'success': boolean;
1080
+ 'status_code': number;
1081
+ 'message': string;
1082
+ }
1083
+ export type PutV1UserIdResponseInternalServerError = {
1084
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1085
+ 'success': boolean;
1086
+ 'status_code': number;
1087
+ 'message': string;
1088
+ }
1089
+ export type PutV1UserIdResponses =
1090
+ PutV1UserIdResponseOK
1091
+ | PutV1UserIdResponseBadRequest
1092
+ | PutV1UserIdResponseNotFound
1093
+ | PutV1UserIdResponseInternalServerError
1094
+
1095
+ export type DeleteV1UserIdRequest = {
1096
+ 'x-token'?: string;
1097
+ 'x-timezone'?: string;
1098
+ 'id': string;
1099
+ }
1100
+
1101
+ export type DeleteV1UserIdResponseOK = {
1102
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1103
+ 'success': boolean;
1104
+ 'status_code': number;
1105
+ 'message': string;
1106
+ 'data': unknown;
1107
+ 'pagination': unknown;
1108
+ }
1109
+ export type DeleteV1UserIdResponseBadRequest = {
1110
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1111
+ 'success': boolean;
1112
+ 'status_code': number;
1113
+ 'message': string;
1114
+ }
1115
+ export type DeleteV1UserIdResponseNotFound = {
1116
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1117
+ 'success': boolean;
1118
+ 'status_code': number;
1119
+ 'message': string;
1120
+ }
1121
+ export type DeleteV1UserIdResponseInternalServerError = {
1122
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1123
+ 'success': boolean;
1124
+ 'status_code': number;
1125
+ 'message': string;
1126
+ }
1127
+ export type DeleteV1UserIdResponses =
1128
+ DeleteV1UserIdResponseOK
1129
+ | DeleteV1UserIdResponseBadRequest
1130
+ | DeleteV1UserIdResponseNotFound
1131
+ | DeleteV1UserIdResponseInternalServerError
1132
+
1133
+ export type PatchV1UserUpdateStatusIdRequest = {
1134
+ 'x-token'?: string;
1135
+ 'x-timezone'?: string;
1136
+ 'id': string;
1137
+ }
1138
+
1139
+ export type PatchV1UserUpdateStatusIdResponseOK = {
1140
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1141
+ 'success': boolean;
1142
+ 'status_code': number;
1143
+ 'message': string;
1144
+ 'data': unknown;
1145
+ 'pagination': unknown;
1146
+ }
1147
+ export type PatchV1UserUpdateStatusIdResponseBadRequest = {
1148
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1149
+ 'success': boolean;
1150
+ 'status_code': number;
1151
+ 'message': string;
1152
+ }
1153
+ export type PatchV1UserUpdateStatusIdResponseNotFound = {
1154
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1155
+ 'success': boolean;
1156
+ 'status_code': number;
1157
+ 'message': string;
1158
+ }
1159
+ export type PatchV1UserUpdateStatusIdResponseInternalServerError = {
1160
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1161
+ 'success': boolean;
1162
+ 'status_code': number;
1163
+ 'message': string;
1164
+ }
1165
+ export type PatchV1UserUpdateStatusIdResponses =
1166
+ PatchV1UserUpdateStatusIdResponseOK
1167
+ | PatchV1UserUpdateStatusIdResponseBadRequest
1168
+ | PatchV1UserUpdateStatusIdResponseNotFound
1169
+ | PatchV1UserUpdateStatusIdResponseInternalServerError
1170
+
1171
+ export type PostV1AuthLoginRequest = {
1172
+ 'x-timezone'?: string;
1173
+ }
1174
+
1175
+ export type PostV1AuthForgotPasswordRequest = {
1176
+ 'x-timezone'?: string;
1177
+ }
1178
+
1179
+
1180
+ export type PostV1AuthResetPasswordRequest = {
1181
+ 'x-timezone'?: string;
1182
+ }
1183
+
1184
+ export type PostV1AuthLoginResponseOK = {
1185
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1186
+ 'success': boolean;
1187
+ 'status_code': number;
1188
+ 'message': string;
1189
+ 'data': unknown;
1190
+ 'pagination': unknown;
1191
+ }
1192
+ export type PostV1AuthLoginResponseBadRequest = {
1193
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1194
+ 'success': boolean;
1195
+ 'status_code': number;
1196
+ 'message': string;
1197
+ }
1198
+ export type PostV1AuthLoginResponseNotFound = {
1199
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1200
+ 'success': boolean;
1201
+ 'status_code': number;
1202
+ 'message': string;
1203
+ }
1204
+ export type PostV1AuthLoginResponseInternalServerError = {
1205
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1206
+ 'success': boolean;
1207
+ 'status_code': number;
1208
+ 'message': string;
1209
+ }
1210
+ export type PostV1AuthLoginResponses =
1211
+ PostV1AuthLoginResponseOK
1212
+ | PostV1AuthLoginResponseBadRequest
1213
+ | PostV1AuthLoginResponseNotFound
1214
+ | PostV1AuthLoginResponseInternalServerError
1215
+
1216
+ export type PostV1CompanyRequest = {
1217
+ 'x-token'?: string;
1218
+ 'x-timezone'?: string;
1219
+ }
1220
+
1221
+ export type PostV1CompanyResponseOK = {
1222
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1223
+ 'success': boolean;
1224
+ 'status_code': number;
1225
+ 'message': string;
1226
+ 'data': unknown;
1227
+ 'pagination': unknown;
1228
+ }
1229
+ export type PostV1CompanyResponseBadRequest = {
1230
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1231
+ 'success': boolean;
1232
+ 'status_code': number;
1233
+ 'message': string;
1234
+ }
1235
+ export type PostV1CompanyResponseNotFound = {
1236
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1237
+ 'success': boolean;
1238
+ 'status_code': number;
1239
+ 'message': string;
1240
+ }
1241
+ export type PostV1CompanyResponseInternalServerError = {
1242
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1243
+ 'success': boolean;
1244
+ 'status_code': number;
1245
+ 'message': string;
1246
+ }
1247
+ export type PostV1CompanyResponses =
1248
+ PostV1CompanyResponseOK
1249
+ | PostV1CompanyResponseBadRequest
1250
+ | PostV1CompanyResponseNotFound
1251
+ | PostV1CompanyResponseInternalServerError
1252
+
1253
+ export type GetV1CompanyRequest = {
1254
+ 'skip'?: number;
1255
+ 'limit'?: number;
1256
+ 'order'?: string;
1257
+ 'filters'?: string;
1258
+ 'search'?: string;
1259
+ 'select'?: string;
1260
+ 'x-token'?: string;
1261
+ 'x-timezone'?: string;
1262
+ }
1263
+
1264
+ export type GetV1CompanyResponseOK = {
1265
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1266
+ 'success': boolean;
1267
+ 'status_code': number;
1268
+ 'message': string;
1269
+ 'data': unknown;
1270
+ 'pagination': unknown;
1271
+ }
1272
+ export type GetV1CompanyResponseBadRequest = {
1273
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1274
+ 'success': boolean;
1275
+ 'status_code': number;
1276
+ 'message': string;
1277
+ }
1278
+ export type GetV1CompanyResponseNotFound = {
1279
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1280
+ 'success': boolean;
1281
+ 'status_code': number;
1282
+ 'message': string;
1283
+ }
1284
+ export type GetV1CompanyResponseInternalServerError = {
1285
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1286
+ 'success': boolean;
1287
+ 'status_code': number;
1288
+ 'message': string;
1289
+ }
1290
+ export type GetV1CompanyResponses =
1291
+ GetV1CompanyResponseOK
1292
+ | GetV1CompanyResponseBadRequest
1293
+ | GetV1CompanyResponseNotFound
1294
+ | GetV1CompanyResponseInternalServerError
1295
+
1296
+ export type GetV1CompanyIdRequest = {
1297
+ 'x-token'?: string;
1298
+ 'x-timezone'?: string;
1299
+ 'id': string;
1300
+ }
1301
+
1302
+ export type GetV1CompanyIdResponseOK = {
1303
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1304
+ 'success': boolean;
1305
+ 'status_code': number;
1306
+ 'message': string;
1307
+ 'data': unknown;
1308
+ 'pagination': unknown;
1309
+ }
1310
+ export type GetV1CompanyIdResponseBadRequest = {
1311
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1312
+ 'success': boolean;
1313
+ 'status_code': number;
1314
+ 'message': string;
1315
+ }
1316
+ export type GetV1CompanyIdResponseNotFound = {
1317
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1318
+ 'success': boolean;
1319
+ 'status_code': number;
1320
+ 'message': string;
1321
+ }
1322
+ export type GetV1CompanyIdResponseInternalServerError = {
1323
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1324
+ 'success': boolean;
1325
+ 'status_code': number;
1326
+ 'message': string;
1327
+ }
1328
+ export type GetV1CompanyIdResponses =
1329
+ GetV1CompanyIdResponseOK
1330
+ | GetV1CompanyIdResponseBadRequest
1331
+ | GetV1CompanyIdResponseNotFound
1332
+ | GetV1CompanyIdResponseInternalServerError
1333
+
1334
+ export type PutV1CompanyIdRequest = {
1335
+ 'skip'?: number;
1336
+ 'limit'?: number;
1337
+ 'order'?: string;
1338
+ 'filters'?: string;
1339
+ 'search'?: string;
1340
+ 'select'?: string;
1341
+ 'x-token'?: string;
1342
+ 'x-timezone'?: string;
1343
+ 'id': string;
1344
+ }
1345
+
1346
+ export type PutV1CompanyIdResponseOK = {
1347
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1348
+ 'success': boolean;
1349
+ 'status_code': number;
1350
+ 'message': string;
1351
+ 'data': unknown;
1352
+ 'pagination': unknown;
1353
+ }
1354
+ export type PutV1CompanyIdResponseBadRequest = {
1355
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1356
+ 'success': boolean;
1357
+ 'status_code': number;
1358
+ 'message': string;
1359
+ }
1360
+ export type PutV1CompanyIdResponseNotFound = {
1361
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1362
+ 'success': boolean;
1363
+ 'status_code': number;
1364
+ 'message': string;
1365
+ }
1366
+ export type PutV1CompanyIdResponseInternalServerError = {
1367
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1368
+ 'success': boolean;
1369
+ 'status_code': number;
1370
+ 'message': string;
1371
+ }
1372
+ export type PutV1CompanyIdResponses =
1373
+ PutV1CompanyIdResponseOK
1374
+ | PutV1CompanyIdResponseBadRequest
1375
+ | PutV1CompanyIdResponseNotFound
1376
+ | PutV1CompanyIdResponseInternalServerError
1377
+
1378
+ export type DeleteV1CompanyIdRequest = {
1379
+ 'x-token'?: string;
1380
+ 'x-timezone'?: string;
1381
+ 'id': string;
1382
+ }
1383
+
1384
+ export type DeleteV1CompanyIdResponseOK = {
1385
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1386
+ 'success': boolean;
1387
+ 'status_code': number;
1388
+ 'message': string;
1389
+ 'data': unknown;
1390
+ 'pagination': unknown;
1391
+ }
1392
+ export type DeleteV1CompanyIdResponseBadRequest = {
1393
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1394
+ 'success': boolean;
1395
+ 'status_code': number;
1396
+ 'message': string;
1397
+ }
1398
+ export type DeleteV1CompanyIdResponseNotFound = {
1399
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1400
+ 'success': boolean;
1401
+ 'status_code': number;
1402
+ 'message': string;
1403
+ }
1404
+ export type DeleteV1CompanyIdResponseInternalServerError = {
1405
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1406
+ 'success': boolean;
1407
+ 'status_code': number;
1408
+ 'message': string;
1409
+ }
1410
+ export type DeleteV1CompanyIdResponses =
1411
+ DeleteV1CompanyIdResponseOK
1412
+ | DeleteV1CompanyIdResponseBadRequest
1413
+ | DeleteV1CompanyIdResponseNotFound
1414
+ | DeleteV1CompanyIdResponseInternalServerError
1415
+
1416
+ export type PostV1ConfigRequest = {
1417
+ 'x-token'?: string;
1418
+ 'x-timezone'?: string;
1419
+ body: Array<{ 'key': string; 'value': number; 'company_ids': Array<number> }>
1420
+ }
1421
+
1422
+ export type PostV1ConfigResponseOK = {
1423
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1424
+ 'success': boolean;
1425
+ 'status_code': number;
1426
+ 'message': string;
1427
+ 'data': unknown;
1428
+ 'pagination': unknown;
1429
+ }
1430
+ export type PostV1ConfigResponseBadRequest = {
1431
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1432
+ 'success': boolean;
1433
+ 'status_code': number;
1434
+ 'message': string;
1435
+ }
1436
+ export type PostV1ConfigResponseNotFound = {
1437
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1438
+ 'success': boolean;
1439
+ 'status_code': number;
1440
+ 'message': string;
1441
+ }
1442
+ export type PostV1ConfigResponseInternalServerError = {
1443
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1444
+ 'success': boolean;
1445
+ 'status_code': number;
1446
+ 'message': string;
1447
+ }
1448
+ export type PostV1ConfigResponses =
1449
+ PostV1ConfigResponseOK
1450
+ | PostV1ConfigResponseBadRequest
1451
+ | PostV1ConfigResponseNotFound
1452
+ | PostV1ConfigResponseInternalServerError
1453
+
1454
+ export type GetV1ConfigRequest = {
1455
+ 'skip'?: number;
1456
+ 'limit'?: number;
1457
+ 'order'?: string;
1458
+ 'filters'?: string;
1459
+ 'search'?: string;
1460
+ 'select'?: string;
1461
+ 'x-token'?: string;
1462
+ 'x-timezone'?: string;
1463
+ }
1464
+
1465
+ export type GetV1ConfigResponseOK = {
1466
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1467
+ 'success': boolean;
1468
+ 'status_code': number;
1469
+ 'message': string;
1470
+ 'data': unknown;
1471
+ 'pagination': unknown;
1472
+ }
1473
+ export type GetV1ConfigResponseBadRequest = {
1474
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1475
+ 'success': boolean;
1476
+ 'status_code': number;
1477
+ 'message': string;
1478
+ }
1479
+ export type GetV1ConfigResponseNotFound = {
1480
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1481
+ 'success': boolean;
1482
+ 'status_code': number;
1483
+ 'message': string;
1484
+ }
1485
+ export type GetV1ConfigResponseInternalServerError = {
1486
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1487
+ 'success': boolean;
1488
+ 'status_code': number;
1489
+ 'message': string;
1490
+ }
1491
+ export type GetV1ConfigResponses =
1492
+ GetV1ConfigResponseOK
1493
+ | GetV1ConfigResponseBadRequest
1494
+ | GetV1ConfigResponseNotFound
1495
+ | GetV1ConfigResponseInternalServerError
1496
+
1497
+ export type GetV1ConfigIdRequest = {
1498
+ 'skip'?: number;
1499
+ 'limit'?: number;
1500
+ 'order'?: string;
1501
+ 'filters'?: string;
1502
+ 'search'?: string;
1503
+ 'select'?: string;
1504
+ 'x-token'?: string;
1505
+ 'x-timezone'?: string;
1506
+ 'id': string;
1507
+ }
1508
+
1509
+ export type GetV1ConfigIdResponseOK = {
1510
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1511
+ 'success': boolean;
1512
+ 'status_code': number;
1513
+ 'message': string;
1514
+ 'data': unknown;
1515
+ 'pagination': unknown;
1516
+ }
1517
+ export type GetV1ConfigIdResponseBadRequest = {
1518
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1519
+ 'success': boolean;
1520
+ 'status_code': number;
1521
+ 'message': string;
1522
+ }
1523
+ export type GetV1ConfigIdResponseNotFound = {
1524
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1525
+ 'success': boolean;
1526
+ 'status_code': number;
1527
+ 'message': string;
1528
+ }
1529
+ export type GetV1ConfigIdResponseInternalServerError = {
1530
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1531
+ 'success': boolean;
1532
+ 'status_code': number;
1533
+ 'message': string;
1534
+ }
1535
+ export type GetV1ConfigIdResponses =
1536
+ GetV1ConfigIdResponseOK
1537
+ | GetV1ConfigIdResponseBadRequest
1538
+ | GetV1ConfigIdResponseNotFound
1539
+ | GetV1ConfigIdResponseInternalServerError
1540
+
1541
+ export type PutV1ConfigIdRequest = {
1542
+ 'x-token'?: string;
1543
+ 'x-timezone'?: string;
1544
+ 'id': string;
1545
+ }
1546
+
1547
+ export type PutV1ConfigIdResponseOK = {
1548
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1549
+ 'success': boolean;
1550
+ 'status_code': number;
1551
+ 'message': string;
1552
+ 'data': unknown;
1553
+ 'pagination': unknown;
1554
+ }
1555
+ export type PutV1ConfigIdResponseBadRequest = {
1556
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1557
+ 'success': boolean;
1558
+ 'status_code': number;
1559
+ 'message': string;
1560
+ }
1561
+ export type PutV1ConfigIdResponseNotFound = {
1562
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1563
+ 'success': boolean;
1564
+ 'status_code': number;
1565
+ 'message': string;
1566
+ }
1567
+ export type PutV1ConfigIdResponseInternalServerError = {
1568
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1569
+ 'success': boolean;
1570
+ 'status_code': number;
1571
+ 'message': string;
1572
+ }
1573
+ export type PutV1ConfigIdResponses =
1574
+ PutV1ConfigIdResponseOK
1575
+ | PutV1ConfigIdResponseBadRequest
1576
+ | PutV1ConfigIdResponseNotFound
1577
+ | PutV1ConfigIdResponseInternalServerError
1578
+
1579
+ export type DeleteV1ConfigIdRequest = {
1580
+ 'x-token'?: string;
1581
+ 'x-timezone'?: string;
1582
+ 'id': string;
1583
+ }
1584
+
1585
+ export type DeleteV1ConfigIdResponseOK = {
1586
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1587
+ 'success': boolean;
1588
+ 'status_code': number;
1589
+ 'message': string;
1590
+ 'data': unknown;
1591
+ 'pagination': unknown;
1592
+ }
1593
+ export type DeleteV1ConfigIdResponseBadRequest = {
1594
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1595
+ 'success': boolean;
1596
+ 'status_code': number;
1597
+ 'message': string;
1598
+ }
1599
+ export type DeleteV1ConfigIdResponseNotFound = {
1600
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1601
+ 'success': boolean;
1602
+ 'status_code': number;
1603
+ 'message': string;
1604
+ }
1605
+ export type DeleteV1ConfigIdResponseInternalServerError = {
1606
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1607
+ 'success': boolean;
1608
+ 'status_code': number;
1609
+ 'message': string;
1610
+ }
1611
+ export type DeleteV1ConfigIdResponses =
1612
+ DeleteV1ConfigIdResponseOK
1613
+ | DeleteV1ConfigIdResponseBadRequest
1614
+ | DeleteV1ConfigIdResponseNotFound
1615
+ | DeleteV1ConfigIdResponseInternalServerError
1616
+
1617
+ export type GetV1LocationsCountriesRequest = {
1618
+ 'skip'?: number;
1619
+ 'limit'?: number;
1620
+ 'order'?: string;
1621
+ 'filters'?: string;
1622
+ 'search'?: string;
1623
+ 'select'?: string;
1624
+ }
1625
+
1626
+ export type GetV1LocationsCountriesResponseOK = {
1627
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1628
+ 'success': boolean;
1629
+ 'status_code': number;
1630
+ 'message': string;
1631
+ 'data': unknown;
1632
+ 'pagination': unknown;
1633
+ }
1634
+ export type GetV1LocationsCountriesResponseBadRequest = {
1635
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1636
+ 'success': boolean;
1637
+ 'status_code': number;
1638
+ 'message': string;
1639
+ }
1640
+ export type GetV1LocationsCountriesResponseNotFound = {
1641
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1642
+ 'success': boolean;
1643
+ 'status_code': number;
1644
+ 'message': string;
1645
+ }
1646
+ export type GetV1LocationsCountriesResponseInternalServerError = {
1647
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1648
+ 'success': boolean;
1649
+ 'status_code': number;
1650
+ 'message': string;
1651
+ }
1652
+ export type GetV1LocationsCountriesResponses =
1653
+ GetV1LocationsCountriesResponseOK
1654
+ | GetV1LocationsCountriesResponseBadRequest
1655
+ | GetV1LocationsCountriesResponseNotFound
1656
+ | GetV1LocationsCountriesResponseInternalServerError
1657
+
1658
+ export type GetV1LocationsStatesRequest = {
1659
+ 'skip'?: number;
1660
+ 'limit'?: number;
1661
+ 'order'?: string;
1662
+ 'filters'?: string;
1663
+ 'search'?: string;
1664
+ 'select'?: string;
1665
+ }
1666
+
1667
+ export type GetV1LocationsStatesResponseOK = {
1668
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1669
+ 'success': boolean;
1670
+ 'status_code': number;
1671
+ 'message': string;
1672
+ 'data': unknown;
1673
+ 'pagination': unknown;
1674
+ }
1675
+ export type GetV1LocationsStatesResponseBadRequest = {
1676
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1677
+ 'success': boolean;
1678
+ 'status_code': number;
1679
+ 'message': string;
1680
+ }
1681
+ export type GetV1LocationsStatesResponseNotFound = {
1682
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1683
+ 'success': boolean;
1684
+ 'status_code': number;
1685
+ 'message': string;
1686
+ }
1687
+ export type GetV1LocationsStatesResponseInternalServerError = {
1688
+ 'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
1689
+ 'success': boolean;
1690
+ 'status_code': number;
1691
+ 'message': string;
1692
+ }
1693
+ export type GetV1LocationsStatesResponses =
1694
+ GetV1LocationsStatesResponseOK
1695
+ | GetV1LocationsStatesResponseBadRequest
1696
+ | GetV1LocationsStatesResponseNotFound
1697
+ | GetV1LocationsStatesResponseInternalServerError
1698
+
1699
+
1700
+
1701
+ export interface Api {
1702
+ setBaseUrl(newUrl: string) : void;
1703
+ setDefaultHeaders(headers: Object) : void;
1704
+ postV1Permission(req?: PostV1PermissionRequest): Promise<PostV1PermissionResponses>;
1705
+ getV1Permission(req?: GetV1PermissionRequest): Promise<GetV1PermissionResponses>;
1706
+ getV1PermissionId(req?: GetV1PermissionIdRequest): Promise<GetV1PermissionIdResponses>;
1707
+ putV1PermissionId(req?: PutV1PermissionIdRequest): Promise<PutV1PermissionIdResponses>;
1708
+ deleteV1PermissionId(req?: DeleteV1PermissionIdRequest): Promise<DeleteV1PermissionIdResponses>;
1709
+ getV1PermissionRoleId(req?: GetV1PermissionRoleIdRequest): Promise<GetV1PermissionRoleIdResponses>;
1710
+ postV1Resource(req?: PostV1ResourceRequest): Promise<PostV1ResourceResponses>;
1711
+ getV1Resource(req?: GetV1ResourceRequest): Promise<GetV1ResourceResponses>;
1712
+ getV1ResourceId(req?: GetV1ResourceIdRequest): Promise<GetV1ResourceIdResponses>;
1713
+ putV1ResourceId(req?: PutV1ResourceIdRequest): Promise<PutV1ResourceIdResponses>;
1714
+ deleteV1ResourceId(req?: DeleteV1ResourceIdRequest): Promise<DeleteV1ResourceIdResponses>;
1715
+ getV1ResourceModules(req?: GetV1ResourceModulesRequest): Promise<GetV1ResourceModulesResponses>;
1716
+ postV1ResourceSubModules(req?: PostV1ResourceSubModulesRequest): Promise<PostV1ResourceSubModulesResponses>;
1717
+ postV1Role(req?: PostV1RoleRequest): Promise<PostV1RoleResponses>;
1718
+ getV1Role(req?: GetV1RoleRequest): Promise<GetV1RoleResponses>;
1719
+ getV1RoleId(req?: GetV1RoleIdRequest): Promise<GetV1RoleIdResponses>;
1720
+ putV1RoleId(req?: PutV1RoleIdRequest): Promise<PutV1RoleIdResponses>;
1721
+ deleteV1RoleId(req?: DeleteV1RoleIdRequest): Promise<DeleteV1RoleIdResponses>;
1722
+ getV1RoleUserId(req?: GetV1RoleUserIdRequest): Promise<GetV1RoleUserIdResponses>;
1723
+ postV1RoleUserId(req?: PostV1RoleUserIdRequest): Promise<PostV1RoleUserIdResponses>;
1724
+ postV1User(req?: PostV1UserRequest): Promise<PostV1UserResponses>;
1725
+ getV1User(req?: GetV1UserRequest): Promise<GetV1UserResponses>;
1726
+ getV1UserBranch(req?: GetV1UserBranchRequest): Promise<GetV1UserBranchResponses>;
1727
+ getV1UserLocation(req?: GetV1UserLocationRequest): Promise<GetV1UserLocationResponses>;
1728
+ getV1UserDepartment(req?: GetV1UserDepartmentRequest): Promise<GetV1UserDepartmentResponses>;
1729
+ getV1UserId(req?: GetV1UserIdRequest): Promise<GetV1UserIdResponses>;
1730
+ putV1UserId(req?: PutV1UserIdRequest): Promise<PutV1UserIdResponses>;
1731
+ deleteV1UserId(req?: DeleteV1UserIdRequest): Promise<DeleteV1UserIdResponses>;
1732
+ patchV1UserUpdateStatusId(req?: PatchV1UserUpdateStatusIdRequest): Promise<PatchV1UserUpdateStatusIdResponses>;
1733
+ postV1AuthLogin(req?: PostV1AuthLoginRequest): Promise<PostV1AuthLoginResponses>;
1734
+ postV1Company(req?: PostV1CompanyRequest): Promise<PostV1CompanyResponses>;
1735
+ getV1Company(req?: GetV1CompanyRequest): Promise<GetV1CompanyResponses>;
1736
+ getV1CompanyId(req?: GetV1CompanyIdRequest): Promise<GetV1CompanyIdResponses>;
1737
+ putV1CompanyId(req?: PutV1CompanyIdRequest): Promise<PutV1CompanyIdResponses>;
1738
+ deleteV1CompanyId(req?: DeleteV1CompanyIdRequest): Promise<DeleteV1CompanyIdResponses>;
1739
+ postV1Config(req?: PostV1ConfigRequest[]): Promise<PostV1ConfigResponses>;
1740
+ getV1Config(req?: GetV1ConfigRequest): Promise<GetV1ConfigResponses>;
1741
+ getV1ConfigId(req?: GetV1ConfigIdRequest): Promise<GetV1ConfigIdResponses>;
1742
+ putV1ConfigId(req?: PutV1ConfigIdRequest): Promise<PutV1ConfigIdResponses>;
1743
+ deleteV1ConfigId(req?: DeleteV1ConfigIdRequest): Promise<DeleteV1ConfigIdResponses>;
1744
+ getV1LocationsCountries(req?: GetV1LocationsCountriesRequest): Promise<GetV1LocationsCountriesResponses>;
1745
+ getV1LocationsStates(req?: GetV1LocationsStatesRequest): Promise<GetV1LocationsStatesResponses>;
1746
+ postV1AuthForgotPassword(req?: PostV1AuthForgotPasswordRequest): Promise<PostV1AuthLoginResponses>;
1747
+ postV1AuthResetPassword(req?: PostV1AuthResetPasswordRequest): Promise<PostV1AuthLoginResponses>;
1748
+ }
1749
+ type PlatformaticFrontendClient = Omit<Api, 'setBaseUrl'>
1750
+ type BuildOptions = {
1751
+ headers?: Object
1752
+ }
1753
+ export default function build(url: string, options?: BuildOptions): PlatformaticFrontendClient