@webitel/api-services 0.0.52 → 0.0.54

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 (233) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/fileServices/fileServices.ts +222 -0
  3. package/src/api/clients/index.ts +1 -0
  4. package/src/api/clients/media/media.ts +10 -0
  5. package/src/gen/_docs/html/assets/navigation.js +1 -1
  6. package/src/gen/_docs/html/assets/search.js +1 -1
  7. package/src/gen/_docs/html/functions/dictionaries_dictionaries.api.gen.getDictionaries.html +1 -1
  8. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeMixin3MockHandler.html +1 -0
  9. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeMixin3ResponseMock.html +1 -0
  10. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getDeleteTypeMockHandler.html +1 -0
  11. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getDeleteTypeResponseMock.html +1 -0
  12. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeMixin3MockHandler.html +1 -0
  13. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeMixin3ResponseMock.html +1 -0
  14. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeMockHandler.html +1 -0
  15. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeResponseMock.html +1 -0
  16. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeMixin3MockHandler.html +1 -0
  17. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeMixin3ResponseMock.html +1 -0
  18. package/src/gen/_docs/html/functions/extensions_extensions.api.gen.getExtensions.html +1 -1
  19. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeMockHandler.html +1 -0
  20. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeResponseMock.html +1 -0
  21. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getDeleteTypeMixin3MockHandler.html +1 -0
  22. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getDeleteTypeMixin3ResponseMock.html +1 -0
  23. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeMockHandler.html +1 -0
  24. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeResponseMock.html +1 -0
  25. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeMixin3MockHandler.html +1 -0
  26. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeMixin3ResponseMock.html +1 -0
  27. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeMockHandler.html +1 -0
  28. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeResponseMock.html +1 -0
  29. package/src/gen/_docs/html/functions/file-service_file-service.api.gen.getFileService.html +1 -1
  30. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getDeleteQuarantineFilesMockHandler.html +1 -0
  31. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getDeleteQuarantineFilesResponseMock.html +1 -0
  32. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getRestoreFilesMockHandler.html +1 -0
  33. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getRestoreFilesResponseMock.html +1 -0
  34. package/src/gen/_docs/html/index.html +1 -1
  35. package/src/gen/_docs/html/interfaces/_models_storageDeleteQuarantineFilesRequest.StorageDeleteQuarantineFilesRequest.html +6 -0
  36. package/src/gen/_docs/html/interfaces/_models_storageFileMalwareScan.StorageFileMalwareScan.html +8 -0
  37. package/src/gen/_docs/html/interfaces/_models_storageRestoreFilesRequest.StorageRestoreFilesRequest.html +6 -0
  38. package/src/gen/_docs/html/interfaces/_models_storageRestoreFilesResponse.StorageRestoreFilesResponse.html +5 -0
  39. package/src/gen/_docs/html/interfaces/_models_storageSafeUploadFileResponseMetadata.StorageSafeUploadFileResponseMetadata.html +3 -2
  40. package/src/gen/_docs/html/interfaces/_models_storageUploadFileResponse.StorageUploadFileResponse.html +3 -2
  41. package/src/gen/_docs/html/interfaces/_models_storageUploadFileUrlResponse.StorageUploadFileUrlResponse.html +3 -2
  42. package/src/gen/_docs/html/modules/_models.html +1 -1
  43. package/src/gen/_docs/html/modules/_models_storageDeleteQuarantineFilesRequest.html +1 -0
  44. package/src/gen/_docs/html/modules/_models_storageFileMalwareScan.html +1 -0
  45. package/src/gen/_docs/html/modules/_models_storageRestoreFilesRequest.html +1 -0
  46. package/src/gen/_docs/html/modules/_models_storageRestoreFilesResponse.html +1 -0
  47. package/src/gen/_docs/html/modules/_models_updateTypeMixin3Params.html +1 -0
  48. package/src/gen/_docs/html/modules/dictionaries_dictionaries.api.gen.html +1 -1
  49. package/src/gen/_docs/html/modules/dictionaries_dictionaries.msw.api.gen.html +1 -1
  50. package/src/gen/_docs/html/modules/dictionaries_dictionaries.zod.gen.html +10 -10
  51. package/src/gen/_docs/html/modules/extensions_extensions.api.gen.html +1 -1
  52. package/src/gen/_docs/html/modules/extensions_extensions.msw.api.gen.html +1 -1
  53. package/src/gen/_docs/html/modules/extensions_extensions.zod.gen.html +7 -7
  54. package/src/gen/_docs/html/modules/file-service_file-service.api.gen.html +1 -1
  55. package/src/gen/_docs/html/modules/file-service_file-service.msw.api.gen.html +1 -1
  56. package/src/gen/_docs/html/modules/file-service_file-service.zod.gen.html +1 -1
  57. package/src/gen/_docs/html/modules/index.html +1 -1
  58. package/src/gen/_docs/html/types/_models_deleteTypeMixin3Params.DeleteTypeMixin3Params.html +2 -7
  59. package/src/gen/_docs/html/types/_models_deleteTypeParams.DeleteTypeParams.html +7 -2
  60. package/src/gen/_docs/html/types/_models_searchTypeMixin3Params.SearchTypeMixin3Params.html +4 -20
  61. package/src/gen/_docs/html/types/_models_searchTypeParams.SearchTypeParams.html +20 -4
  62. package/src/gen/_docs/html/types/{_models_updateTypeParams.UpdateTypeParams.html → _models_updateTypeMixin3Params.UpdateTypeMixin3Params.html} +2 -2
  63. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.CreateTypeMixin3Result.html +1 -0
  64. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.DeleteTypeResult.html +1 -0
  65. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.LocateTypeMixin3Result.html +1 -0
  66. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.SearchTypeResult.html +1 -0
  67. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.UpdateTypeMixin3Result.html +1 -0
  68. package/src/gen/_docs/html/types/extensions_extensions.api.gen.CreateTypeResult.html +1 -0
  69. package/src/gen/_docs/html/types/extensions_extensions.api.gen.DeleteTypeMixin3Result.html +1 -0
  70. package/src/gen/_docs/html/types/extensions_extensions.api.gen.LocateTypeResult.html +1 -0
  71. package/src/gen/_docs/html/types/extensions_extensions.api.gen.SearchTypeMixin3Result.html +1 -0
  72. package/src/gen/_docs/html/types/extensions_extensions.api.gen.UpdateTypeResult.html +1 -0
  73. package/src/gen/_docs/html/types/file-service_file-service.api.gen.DeleteQuarantineFilesResult.html +1 -0
  74. package/src/gen/_docs/html/{variables/extensions_extensions.zod.gen.searchTypeQueryFieldsItemDefault.html → types/file-service_file-service.api.gen.RestoreFilesResult.html} +1 -1
  75. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeMixin3Body.html +1 -0
  76. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeMixin3BodyFieldsItemKindDefault.html +1 -0
  77. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.createTypeMixin3Params.html → dictionaries_dictionaries.zod.gen.createTypeMixin3Params.html} +1 -1
  78. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeMixin3Response.html +1 -0
  79. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.deleteTypeResponseDataItemFieldsItemKindDefault.html → dictionaries_dictionaries.zod.gen.createTypeMixin3ResponseFieldsItemKindDefault.html} +1 -1
  80. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.deleteTypeQueryParams.html +2 -0
  81. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.deleteTypeResponse.html +1 -0
  82. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.deleteTypeResponseDataItemFieldsItemKindDefault.html +1 -0
  83. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeMixin3Params.html +2 -0
  84. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeMixin3Response.html +1 -0
  85. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.searchTypeResponseDataItemFieldsItemKindDefault.html → dictionaries_dictionaries.zod.gen.locateTypeMixin3ResponseFieldsItemKindDefault.html} +1 -1
  86. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQueryFieldsItemDefault.html +1 -0
  87. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQueryParams.html +1 -0
  88. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQuerySortItemDefault.html +1 -0
  89. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQuerySortItemRegExp.html +1 -0
  90. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeResponse.html +1 -0
  91. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeResponseDataItemFieldsItemKindDefault.html +1 -0
  92. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3Body.html +1 -0
  93. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3BodyFieldsItemKindDefault.html +1 -0
  94. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.updateTypeMixin3Params.html → dictionaries_dictionaries.zod.gen.updateTypeMixin3Params.html} +1 -1
  95. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3QueryParams.html +1 -0
  96. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3Response.html +1 -0
  97. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3ResponseFieldsItemKindDefault.html +1 -0
  98. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeBody.html +1 -0
  99. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeBodyFieldsItemKindDefault.html +1 -0
  100. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.deleteTypeParams.html → extensions_extensions.zod.gen.createTypeParams.html} +1 -1
  101. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeResponse.html +1 -0
  102. package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.searchTypeMixin3ResponseDataItemFieldsItemKindDefault.html → extensions_extensions.zod.gen.createTypeResponseFieldsItemKindDefault.html} +1 -1
  103. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.locateTypeMixin3Params.html → extensions_extensions.zod.gen.deleteTypeMixin3Params.html} +1 -1
  104. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.deleteTypeMixin3QueryParams.html +1 -0
  105. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.deleteTypeMixin3Response.html +1 -0
  106. package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.updateTypeBodyFieldsItemKindDefault.html → extensions_extensions.zod.gen.deleteTypeMixin3ResponseDataItemFieldsItemKindDefault.html} +1 -1
  107. package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.locateTypeParams.html → extensions_extensions.zod.gen.locateTypeParams.html} +1 -1
  108. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeResponse.html +1 -0
  109. package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.deleteTypeMixin3ResponseDataItemFieldsItemKindDefault.html → extensions_extensions.zod.gen.locateTypeResponseFieldsItemKindDefault.html} +1 -1
  110. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3QueryFieldsItemDefault.html +1 -0
  111. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3QueryParams.html +1 -0
  112. package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.searchTypeQuerySortItemDefault.html → extensions_extensions.zod.gen.searchTypeMixin3QuerySortItemDefault.html} +1 -1
  113. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3QuerySortItemRegExp.html +1 -0
  114. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3Response.html +1 -0
  115. package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.createTypeBodyFieldsItemKindDefault.html → extensions_extensions.zod.gen.searchTypeMixin3ResponseDataItemFieldsItemKindDefault.html} +1 -1
  116. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeBody.html +1 -0
  117. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeBodyFieldsItemKindDefault.html +1 -0
  118. package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.updateTypeParams.html → extensions_extensions.zod.gen.updateTypeParams.html} +1 -1
  119. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeResponse.html +1 -0
  120. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeResponseFieldsItemKindDefault.html +1 -0
  121. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.deleteQuarantineFilesBody.html +1 -0
  122. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.deleteQuarantineFilesResponse.html +1 -0
  123. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.restoreFilesBody.html +1 -0
  124. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.restoreFilesResponse.html +1 -0
  125. package/src/gen/_models/deleteTypeMixin3Params.ts +0 -10
  126. package/src/gen/_models/deleteTypeParams.ts +10 -0
  127. package/src/gen/_models/index.ts +5 -1
  128. package/src/gen/_models/searchTypeMixin3Params.ts +11 -43
  129. package/src/gen/_models/searchTypeParams.ts +43 -11
  130. package/src/gen/_models/storageDeleteQuarantineFilesRequest.ts +10 -0
  131. package/src/gen/_models/storageFileMalwareScan.ts +12 -0
  132. package/src/gen/_models/storageRestoreFilesRequest.ts +10 -0
  133. package/src/gen/_models/storageRestoreFilesResponse.ts +10 -0
  134. package/src/gen/_models/storageSafeUploadFileResponseMetadata.ts +2 -0
  135. package/src/gen/_models/storageUploadFileResponse.ts +2 -0
  136. package/src/gen/_models/storageUploadFileUrlResponse.ts +2 -0
  137. package/src/gen/_models/{updateTypeParams.ts → updateTypeMixin3Params.ts} +1 -1
  138. package/src/gen/dictionaries/dictionaries.api.gen.ts +21 -21
  139. package/src/gen/dictionaries/dictionaries.msw.api.gen.ts +20 -20
  140. package/src/gen/dictionaries/dictionaries.zod.gen.ts +31 -35
  141. package/src/gen/extensions/extensions.api.gen.ts +19 -19
  142. package/src/gen/extensions/extensions.msw.api.gen.ts +20 -20
  143. package/src/gen/extensions/extensions.zod.gen.ts +35 -31
  144. package/src/gen/file-service/file-service.api.gen.ts +29 -0
  145. package/src/gen/file-service/file-service.msw.api.gen.ts +59 -1
  146. package/src/gen/file-service/file-service.zod.gen.ts +12 -0
  147. package/types/api/clients/fileServices/fileServices.d.ts +23 -0
  148. package/types/api/clients/index.d.ts +1 -0
  149. package/types/api/clients/media/media.d.ts +2 -0
  150. package/types/gen/_models/deleteTypeMixin3Params.d.ts +0 -10
  151. package/types/gen/_models/deleteTypeParams.d.ts +10 -0
  152. package/types/gen/_models/searchTypeMixin3Params.d.ts +11 -43
  153. package/types/gen/_models/searchTypeParams.d.ts +43 -11
  154. package/types/gen/_models/storageDeleteQuarantineFilesRequest.d.ts +9 -0
  155. package/types/gen/_models/storageFileMalwareScan.d.ts +11 -0
  156. package/types/gen/_models/storageRestoreFilesRequest.d.ts +9 -0
  157. package/types/gen/_models/storageRestoreFilesResponse.d.ts +9 -0
  158. package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +2 -0
  159. package/types/gen/_models/storageUploadFileResponse.d.ts +2 -0
  160. package/types/gen/_models/storageUploadFileUrlResponse.d.ts +2 -0
  161. package/types/gen/_models/{updateTypeParams.d.ts → updateTypeMixin3Params.d.ts} +1 -1
  162. package/types/gen/dictionaries/dictionaries.api.gen.d.ts +11 -11
  163. package/types/gen/dictionaries/dictionaries.msw.api.gen.d.ts +10 -10
  164. package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +23 -23
  165. package/types/gen/extensions/extensions.api.gen.d.ts +11 -11
  166. package/types/gen/extensions/extensions.msw.api.gen.d.ts +10 -10
  167. package/types/gen/extensions/extensions.zod.gen.d.ts +23 -23
  168. package/types/gen/file-service/file-service.api.gen.d.ts +5 -1
  169. package/types/gen/file-service/file-service.msw.api.gen.d.ts +5 -1
  170. package/types/gen/file-service/file-service.zod.gen.d.ts +8 -0
  171. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeMockHandler.html +0 -1
  172. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeResponseMock.html +0 -1
  173. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getDeleteTypeMixin3MockHandler.html +0 -1
  174. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getDeleteTypeMixin3ResponseMock.html +0 -1
  175. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeMockHandler.html +0 -1
  176. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeResponseMock.html +0 -1
  177. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeMixin3MockHandler.html +0 -1
  178. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeMixin3ResponseMock.html +0 -1
  179. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeMockHandler.html +0 -1
  180. package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeResponseMock.html +0 -1
  181. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeMixin3MockHandler.html +0 -1
  182. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeMixin3ResponseMock.html +0 -1
  183. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getDeleteTypeMockHandler.html +0 -1
  184. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getDeleteTypeResponseMock.html +0 -1
  185. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeMixin3MockHandler.html +0 -1
  186. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeMixin3ResponseMock.html +0 -1
  187. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeMockHandler.html +0 -1
  188. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeResponseMock.html +0 -1
  189. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeMixin3MockHandler.html +0 -1
  190. package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeMixin3ResponseMock.html +0 -1
  191. package/src/gen/_docs/html/modules/_models_updateTypeParams.html +0 -1
  192. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.CreateTypeResult.html +0 -1
  193. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.DeleteTypeMixin3Result.html +0 -1
  194. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.LocateTypeResult.html +0 -1
  195. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.SearchTypeMixin3Result.html +0 -1
  196. package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.UpdateTypeResult.html +0 -1
  197. package/src/gen/_docs/html/types/extensions_extensions.api.gen.CreateTypeMixin3Result.html +0 -1
  198. package/src/gen/_docs/html/types/extensions_extensions.api.gen.DeleteTypeResult.html +0 -1
  199. package/src/gen/_docs/html/types/extensions_extensions.api.gen.LocateTypeMixin3Result.html +0 -1
  200. package/src/gen/_docs/html/types/extensions_extensions.api.gen.SearchTypeResult.html +0 -1
  201. package/src/gen/_docs/html/types/extensions_extensions.api.gen.UpdateTypeMixin3Result.html +0 -1
  202. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeBody.html +0 -1
  203. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeParams.html +0 -2
  204. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeResponse.html +0 -1
  205. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeResponseFieldsItemKindDefault.html +0 -1
  206. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.deleteTypeMixin3QueryParams.html +0 -2
  207. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.deleteTypeMixin3Response.html +0 -1
  208. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeResponse.html +0 -1
  209. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeResponseFieldsItemKindDefault.html +0 -1
  210. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QueryFieldsItemDefault.html +0 -1
  211. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QueryParams.html +0 -1
  212. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QuerySortItemDefault.html +0 -1
  213. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QuerySortItemRegExp.html +0 -1
  214. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3Response.html +0 -1
  215. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeBody.html +0 -1
  216. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeQueryParams.html +0 -1
  217. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeResponse.html +0 -1
  218. package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeResponseFieldsItemKindDefault.html +0 -1
  219. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3Body.html +0 -1
  220. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3BodyFieldsItemKindDefault.html +0 -1
  221. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3Response.html +0 -1
  222. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3ResponseFieldsItemKindDefault.html +0 -1
  223. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.deleteTypeQueryParams.html +0 -1
  224. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.deleteTypeResponse.html +0 -1
  225. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeMixin3Response.html +0 -1
  226. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeMixin3ResponseFieldsItemKindDefault.html +0 -1
  227. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeQueryParams.html +0 -1
  228. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeQuerySortItemRegExp.html +0 -1
  229. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeResponse.html +0 -1
  230. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3Body.html +0 -1
  231. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3BodyFieldsItemKindDefault.html +0 -1
  232. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3Response.html +0 -1
  233. package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3ResponseFieldsItemKindDefault.html +0 -1
@@ -590,7 +590,7 @@ export const getDeleteType2ResponseMock = (
590
590
  ...overrideResponse,
591
591
  });
592
592
 
593
- export const getSearchTypeResponseMock = (
593
+ export const getSearchTypeMixin3ResponseMock = (
594
594
  overrideResponse: Partial<DataStructList> = {},
595
595
  ): DataStructList => ({
596
596
  data: faker.helpers.arrayElement([
@@ -1170,7 +1170,7 @@ export const getSearchTypeResponseMock = (
1170
1170
  ...overrideResponse,
1171
1171
  });
1172
1172
 
1173
- export const getDeleteTypeResponseMock = (
1173
+ export const getDeleteTypeMixin3ResponseMock = (
1174
1174
  overrideResponse: Partial<DataStructList> = {},
1175
1175
  ): DataStructList => ({
1176
1176
  data: faker.helpers.arrayElement([
@@ -1750,7 +1750,7 @@ export const getDeleteTypeResponseMock = (
1750
1750
  ...overrideResponse,
1751
1751
  });
1752
1752
 
1753
- export const getLocateTypeMixin3ResponseMock = (
1753
+ export const getLocateTypeResponseMock = (
1754
1754
  overrideResponse: Partial<ProtodataStruct> = {},
1755
1755
  ): ProtodataStruct => ({
1756
1756
  about: faker.helpers.arrayElement([
@@ -2308,7 +2308,7 @@ export const getLocateTypeMixin3ResponseMock = (
2308
2308
  ...overrideResponse,
2309
2309
  });
2310
2310
 
2311
- export const getCreateTypeMixin3ResponseMock = (
2311
+ export const getCreateTypeResponseMock = (
2312
2312
  overrideResponse: Partial<ProtodataStruct> = {},
2313
2313
  ): ProtodataStruct => ({
2314
2314
  about: faker.helpers.arrayElement([
@@ -2866,7 +2866,7 @@ export const getCreateTypeMixin3ResponseMock = (
2866
2866
  ...overrideResponse,
2867
2867
  });
2868
2868
 
2869
- export const getUpdateTypeMixin3ResponseMock = (
2869
+ export const getUpdateTypeResponseMock = (
2870
2870
  overrideResponse: Partial<ProtodataStruct> = {},
2871
2871
  ): ProtodataStruct => ({
2872
2872
  about: faker.helpers.arrayElement([
@@ -3447,7 +3447,7 @@ export const getDeleteType2MockHandler = (
3447
3447
  });
3448
3448
  };
3449
3449
 
3450
- export const getSearchTypeMockHandler = (
3450
+ export const getSearchTypeMixin3MockHandler = (
3451
3451
  overrideResponse?:
3452
3452
  | DataStructList
3453
3453
  | ((
@@ -3463,14 +3463,14 @@ export const getSearchTypeMockHandler = (
3463
3463
  ? typeof overrideResponse === 'function'
3464
3464
  ? await overrideResponse(info)
3465
3465
  : overrideResponse
3466
- : getSearchTypeResponseMock(),
3466
+ : getSearchTypeMixin3ResponseMock(),
3467
3467
  ),
3468
3468
  { status: 200, headers: { 'Content-Type': 'application/json' } },
3469
3469
  );
3470
3470
  });
3471
3471
  };
3472
3472
 
3473
- export const getDeleteTypeMockHandler = (
3473
+ export const getDeleteTypeMixin3MockHandler = (
3474
3474
  overrideResponse?:
3475
3475
  | DataStructList
3476
3476
  | ((
@@ -3486,14 +3486,14 @@ export const getDeleteTypeMockHandler = (
3486
3486
  ? typeof overrideResponse === 'function'
3487
3487
  ? await overrideResponse(info)
3488
3488
  : overrideResponse
3489
- : getDeleteTypeResponseMock(),
3489
+ : getDeleteTypeMixin3ResponseMock(),
3490
3490
  ),
3491
3491
  { status: 200, headers: { 'Content-Type': 'application/json' } },
3492
3492
  );
3493
3493
  });
3494
3494
  };
3495
3495
 
3496
- export const getLocateTypeMixin3MockHandler = (
3496
+ export const getLocateTypeMockHandler = (
3497
3497
  overrideResponse?:
3498
3498
  | ProtodataStruct
3499
3499
  | ((
@@ -3509,14 +3509,14 @@ export const getLocateTypeMixin3MockHandler = (
3509
3509
  ? typeof overrideResponse === 'function'
3510
3510
  ? await overrideResponse(info)
3511
3511
  : overrideResponse
3512
- : getLocateTypeMixin3ResponseMock(),
3512
+ : getLocateTypeResponseMock(),
3513
3513
  ),
3514
3514
  { status: 200, headers: { 'Content-Type': 'application/json' } },
3515
3515
  );
3516
3516
  });
3517
3517
  };
3518
3518
 
3519
- export const getCreateTypeMixin3MockHandler = (
3519
+ export const getCreateTypeMockHandler = (
3520
3520
  overrideResponse?:
3521
3521
  | ProtodataStruct
3522
3522
  | ((
@@ -3532,14 +3532,14 @@ export const getCreateTypeMixin3MockHandler = (
3532
3532
  ? typeof overrideResponse === 'function'
3533
3533
  ? await overrideResponse(info)
3534
3534
  : overrideResponse
3535
- : getCreateTypeMixin3ResponseMock(),
3535
+ : getCreateTypeResponseMock(),
3536
3536
  ),
3537
3537
  { status: 200, headers: { 'Content-Type': 'application/json' } },
3538
3538
  );
3539
3539
  });
3540
3540
  };
3541
3541
 
3542
- export const getUpdateTypeMixin3MockHandler = (
3542
+ export const getUpdateTypeMockHandler = (
3543
3543
  overrideResponse?:
3544
3544
  | ProtodataStruct
3545
3545
  | ((
@@ -3555,7 +3555,7 @@ export const getUpdateTypeMixin3MockHandler = (
3555
3555
  ? typeof overrideResponse === 'function'
3556
3556
  ? await overrideResponse(info)
3557
3557
  : overrideResponse
3558
- : getUpdateTypeMixin3ResponseMock(),
3558
+ : getUpdateTypeResponseMock(),
3559
3559
  ),
3560
3560
  { status: 200, headers: { 'Content-Type': 'application/json' } },
3561
3561
  );
@@ -3563,9 +3563,9 @@ export const getUpdateTypeMixin3MockHandler = (
3563
3563
  };
3564
3564
  export const getExtensionsMock = () => [
3565
3565
  getDeleteType2MockHandler(),
3566
- getSearchTypeMockHandler(),
3567
- getDeleteTypeMockHandler(),
3568
- getLocateTypeMixin3MockHandler(),
3569
- getCreateTypeMixin3MockHandler(),
3570
- getUpdateTypeMixin3MockHandler(),
3566
+ getSearchTypeMixin3MockHandler(),
3567
+ getDeleteTypeMixin3MockHandler(),
3568
+ getLocateTypeMockHandler(),
3569
+ getCreateTypeMockHandler(),
3570
+ getUpdateTypeMockHandler(),
3571
3571
  ];
@@ -392,11 +392,11 @@ export const deleteType2Response = zod
392
392
  * (ExtensionList) {
393
393
  * @summary Search for type extensions.
394
394
  */
395
- export const searchTypeQuerySortItemDefault = '*';
396
- export const searchTypeQuerySortItemRegExp = /^[+|-|!]?\w+$/;
397
- export const searchTypeQueryFieldsItemDefault = '*';
395
+ export const searchTypeMixin3QuerySortItemDefault = '*';
396
+ export const searchTypeMixin3QuerySortItemRegExp = /^[+|-|!]?\w+$/;
397
+ export const searchTypeMixin3QueryFieldsItemDefault = '*';
398
398
 
399
- export const searchTypeQueryParams = zod.object({
399
+ export const searchTypeMixin3QueryParams = zod.object({
400
400
  size: zod
401
401
  .number()
402
402
  .optional()
@@ -406,7 +406,7 @@ export const searchTypeQueryParams = zod.object({
406
406
  .optional()
407
407
  .describe('Page number of result set of records.\nDefault: 1.'),
408
408
  sort: zod
409
- .array(zod.string().regex(searchTypeQuerySortItemRegExp))
409
+ .array(zod.string().regex(searchTypeMixin3QuerySortItemRegExp))
410
410
  .optional()
411
411
  .describe(
412
412
  'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = \"-\" / \"!\"\nASC = [ \"+\" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.',
@@ -426,9 +426,9 @@ export const searchTypeQueryParams = zod.object({
426
426
  id: zod.array(zod.string()).optional().describe('extension.type.id'),
427
427
  });
428
428
 
429
- export const searchTypeResponseDataItemFieldsItemKindDefault = 'none';
429
+ export const searchTypeMixin3ResponseDataItemFieldsItemKindDefault = 'none';
430
430
 
431
- export const searchTypeResponse = zod
431
+ export const searchTypeMixin3Response = zod
432
432
  .object({
433
433
  data: zod
434
434
  .array(
@@ -609,7 +609,9 @@ export const searchTypeResponse = zod
609
609
  'datetime',
610
610
  'duration',
611
611
  ])
612
- .default(searchTypeResponseDataItemFieldsItemKindDefault)
612
+ .default(
613
+ searchTypeMixin3ResponseDataItemFieldsItemKindDefault,
614
+ )
613
615
  .describe(
614
616
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
615
617
  ),
@@ -803,17 +805,17 @@ export const searchTypeResponse = zod
803
805
  * returns (ExtensionList) {
804
806
  * @summary Delete extension for types.
805
807
  */
806
- export const deleteTypeParams = zod.object({
808
+ export const deleteTypeMixin3Params = zod.object({
807
809
  repo: zod.array(zod.string()).min(1).describe('`type.repo`'),
808
810
  });
809
811
 
810
- export const deleteTypeQueryParams = zod.object({
812
+ export const deleteTypeMixin3QueryParams = zod.object({
811
813
  fields: zod.array(zod.string()).optional(),
812
814
  });
813
815
 
814
- export const deleteTypeResponseDataItemFieldsItemKindDefault = 'none';
816
+ export const deleteTypeMixin3ResponseDataItemFieldsItemKindDefault = 'none';
815
817
 
816
- export const deleteTypeResponse = zod
818
+ export const deleteTypeMixin3Response = zod
817
819
  .object({
818
820
  data: zod
819
821
  .array(
@@ -994,7 +996,9 @@ export const deleteTypeResponse = zod
994
996
  'datetime',
995
997
  'duration',
996
998
  ])
997
- .default(deleteTypeResponseDataItemFieldsItemKindDefault)
999
+ .default(
1000
+ deleteTypeMixin3ResponseDataItemFieldsItemKindDefault,
1001
+ )
998
1002
  .describe(
999
1003
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
1000
1004
  ),
@@ -1188,13 +1192,13 @@ export const deleteTypeResponse = zod
1188
1192
  * returns (Extension) {
1189
1193
  * @summary Type extension details.
1190
1194
  */
1191
- export const locateTypeMixin3Params = zod.object({
1195
+ export const locateTypeParams = zod.object({
1192
1196
  repo: zod.string().describe('`type.repo`\n\nid'),
1193
1197
  });
1194
1198
 
1195
- export const locateTypeMixin3ResponseFieldsItemKindDefault = 'none';
1199
+ export const locateTypeResponseFieldsItemKindDefault = 'none';
1196
1200
 
1197
- export const locateTypeMixin3Response = zod
1201
+ export const locateTypeResponse = zod
1198
1202
  .object({
1199
1203
  about: zod.string().optional().describe('Optional. Short description.'),
1200
1204
  administered: zod.boolean().optional(),
@@ -1338,7 +1342,7 @@ export const locateTypeMixin3Response = zod
1338
1342
  'datetime',
1339
1343
  'duration',
1340
1344
  ])
1341
- .default(locateTypeMixin3ResponseFieldsItemKindDefault)
1345
+ .default(locateTypeResponseFieldsItemKindDefault)
1342
1346
  .describe(
1343
1347
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
1344
1348
  ),
@@ -1500,7 +1504,7 @@ export const locateTypeMixin3Response = zod
1500
1504
  * returns (Extension) {
1501
1505
  * @summary Create type extension.
1502
1506
  */
1503
- export const createTypeMixin3Params = zod.object({
1507
+ export const createTypeParams = zod.object({
1504
1508
  repo: zod
1505
1509
  .string()
1506
1510
  .describe(
@@ -1508,9 +1512,9 @@ export const createTypeMixin3Params = zod.object({
1508
1512
  ),
1509
1513
  });
1510
1514
 
1511
- export const createTypeMixin3BodyFieldsItemKindDefault = 'none';
1515
+ export const createTypeBodyFieldsItemKindDefault = 'none';
1512
1516
 
1513
- export const createTypeMixin3Body = zod.object({
1517
+ export const createTypeBody = zod.object({
1514
1518
  fields: zod
1515
1519
  .array(
1516
1520
  zod
@@ -1633,7 +1637,7 @@ export const createTypeMixin3Body = zod.object({
1633
1637
  'datetime',
1634
1638
  'duration',
1635
1639
  ])
1636
- .default(createTypeMixin3BodyFieldsItemKindDefault)
1640
+ .default(createTypeBodyFieldsItemKindDefault)
1637
1641
  .describe(
1638
1642
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
1639
1643
  ),
@@ -1749,9 +1753,9 @@ export const createTypeMixin3Body = zod.object({
1749
1753
  .optional(),
1750
1754
  });
1751
1755
 
1752
- export const createTypeMixin3ResponseFieldsItemKindDefault = 'none';
1756
+ export const createTypeResponseFieldsItemKindDefault = 'none';
1753
1757
 
1754
- export const createTypeMixin3Response = zod
1758
+ export const createTypeResponse = zod
1755
1759
  .object({
1756
1760
  about: zod.string().optional().describe('Optional. Short description.'),
1757
1761
  administered: zod.boolean().optional(),
@@ -1895,7 +1899,7 @@ export const createTypeMixin3Response = zod
1895
1899
  'datetime',
1896
1900
  'duration',
1897
1901
  ])
1898
- .default(createTypeMixin3ResponseFieldsItemKindDefault)
1902
+ .default(createTypeResponseFieldsItemKindDefault)
1899
1903
  .describe(
1900
1904
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
1901
1905
  ),
@@ -2057,13 +2061,13 @@ export const createTypeMixin3Response = zod
2057
2061
  * returns (Extension) {
2058
2062
  * @summary Update type extension.
2059
2063
  */
2060
- export const updateTypeMixin3Params = zod.object({
2064
+ export const updateTypeParams = zod.object({
2061
2065
  repo: zod.string().describe('`type.repo`'),
2062
2066
  });
2063
2067
 
2064
- export const updateTypeMixin3BodyFieldsItemKindDefault = 'none';
2068
+ export const updateTypeBodyFieldsItemKindDefault = 'none';
2065
2069
 
2066
- export const updateTypeMixin3Body = zod.object({
2070
+ export const updateTypeBody = zod.object({
2067
2071
  fields: zod
2068
2072
  .array(
2069
2073
  zod
@@ -2186,7 +2190,7 @@ export const updateTypeMixin3Body = zod.object({
2186
2190
  'datetime',
2187
2191
  'duration',
2188
2192
  ])
2189
- .default(updateTypeMixin3BodyFieldsItemKindDefault)
2193
+ .default(updateTypeBodyFieldsItemKindDefault)
2190
2194
  .describe(
2191
2195
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
2192
2196
  ),
@@ -2302,9 +2306,9 @@ export const updateTypeMixin3Body = zod.object({
2302
2306
  .optional(),
2303
2307
  });
2304
2308
 
2305
- export const updateTypeMixin3ResponseFieldsItemKindDefault = 'none';
2309
+ export const updateTypeResponseFieldsItemKindDefault = 'none';
2306
2310
 
2307
- export const updateTypeMixin3Response = zod
2311
+ export const updateTypeResponse = zod
2308
2312
  .object({
2309
2313
  about: zod.string().optional().describe('Optional. Short description.'),
2310
2314
  administered: zod.boolean().optional(),
@@ -2448,7 +2452,7 @@ export const updateTypeMixin3Response = zod
2448
2452
  'datetime',
2449
2453
  'duration',
2450
2454
  ])
2451
- .default(updateTypeMixin3ResponseFieldsItemKindDefault)
2455
+ .default(updateTypeResponseFieldsItemKindDefault)
2452
2456
  .describe(
2453
2457
  'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
2454
2458
  ),
@@ -14,9 +14,12 @@ import type {
14
14
  SearchScreenRecordingsParams,
15
15
  StorageDeleteFilesRequest,
16
16
  StorageDeleteFilesResponse,
17
+ StorageDeleteQuarantineFilesRequest,
17
18
  StorageFileServiceDeleteScreenRecordingsBody,
18
19
  StorageFileServiceDeleteScreenRecordingsByAgentBody,
19
20
  StorageListFile,
21
+ StorageRestoreFilesRequest,
22
+ StorageRestoreFilesResponse,
20
23
  } from '.././_models';
21
24
 
22
25
  // --- header start
@@ -70,6 +73,27 @@ export const // --- title start
70
73
  params: { ...params, ...options?.params },
71
74
  });
72
75
  };
76
+ const deleteQuarantineFiles = <
77
+ TData = AxiosResponse<StorageDeleteFilesResponse>,
78
+ >(
79
+ storageDeleteQuarantineFilesRequest: StorageDeleteQuarantineFilesRequest,
80
+ options?: AxiosRequestConfig,
81
+ ): Promise<TData> => {
82
+ return axios.delete('/storage/file/quarantine', {
83
+ data: storageDeleteQuarantineFilesRequest,
84
+ ...options,
85
+ });
86
+ };
87
+ const restoreFiles = <TData = AxiosResponse<StorageRestoreFilesResponse>>(
88
+ storageRestoreFilesRequest: StorageRestoreFilesRequest,
89
+ options?: AxiosRequestConfig,
90
+ ): Promise<TData> => {
91
+ return axios.patch(
92
+ '/storage/file/restore',
93
+ storageRestoreFilesRequest,
94
+ options,
95
+ );
96
+ };
73
97
  const searchScreenRecordings = <TData = AxiosResponse<StorageListFile>>(
74
98
  userId: string,
75
99
  params?: SearchScreenRecordingsParams,
@@ -100,6 +124,8 @@ export const // --- title start
100
124
  deleteScreenRecordingsByAgent,
101
125
  deleteFiles,
102
126
  searchFiles,
127
+ deleteQuarantineFiles,
128
+ restoreFiles,
103
129
  searchScreenRecordings,
104
130
  deleteScreenRecordings,
105
131
  };
@@ -110,6 +136,9 @@ export type DeleteScreenRecordingsByAgentResult =
110
136
  AxiosResponse<StorageDeleteFilesResponse>;
111
137
  export type DeleteFilesResult = AxiosResponse<StorageDeleteFilesResponse>;
112
138
  export type SearchFilesResult = AxiosResponse<StorageListFile>;
139
+ export type DeleteQuarantineFilesResult =
140
+ AxiosResponse<StorageDeleteFilesResponse>;
141
+ export type RestoreFilesResult = AxiosResponse<StorageRestoreFilesResponse>;
113
142
  export type SearchScreenRecordingsResult = AxiosResponse<StorageListFile>;
114
143
  export type DeleteScreenRecordingsResult =
115
144
  AxiosResponse<StorageDeleteFilesResponse>;
@@ -7,7 +7,11 @@
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
9
  import { delay, HttpResponse, http } from 'msw';
10
- import type { StorageDeleteFilesResponse, StorageListFile } from '.././_models';
10
+ import type {
11
+ StorageDeleteFilesResponse,
12
+ StorageListFile,
13
+ StorageRestoreFilesResponse,
14
+ } from '.././_models';
11
15
  import { StorageUploadFileChannel } from '.././_models';
12
16
 
13
17
  export const getSearchScreenRecordingsByAgentResponseMock = (
@@ -194,6 +198,12 @@ export const getSearchFilesResponseMock = (
194
198
  ...overrideResponse,
195
199
  });
196
200
 
201
+ export const getDeleteQuarantineFilesResponseMock =
202
+ (): StorageDeleteFilesResponse => ({});
203
+
204
+ export const getRestoreFilesResponseMock =
205
+ (): StorageRestoreFilesResponse => ({});
206
+
197
207
  export const getSearchScreenRecordingsResponseMock = (
198
208
  overrideResponse: Partial<StorageListFile> = {},
199
209
  ): StorageListFile => ({
@@ -378,6 +388,52 @@ export const getSearchFilesMockHandler = (
378
388
  });
379
389
  };
380
390
 
391
+ export const getDeleteQuarantineFilesMockHandler = (
392
+ overrideResponse?:
393
+ | StorageDeleteFilesResponse
394
+ | ((
395
+ info: Parameters<Parameters<typeof http.delete>[1]>[0],
396
+ ) => Promise<StorageDeleteFilesResponse> | StorageDeleteFilesResponse),
397
+ ) => {
398
+ return http.delete('*/storage/file/quarantine', async (info) => {
399
+ await delay(1000);
400
+
401
+ return new HttpResponse(
402
+ JSON.stringify(
403
+ overrideResponse !== undefined
404
+ ? typeof overrideResponse === 'function'
405
+ ? await overrideResponse(info)
406
+ : overrideResponse
407
+ : getDeleteQuarantineFilesResponseMock(),
408
+ ),
409
+ { status: 200, headers: { 'Content-Type': 'application/json' } },
410
+ );
411
+ });
412
+ };
413
+
414
+ export const getRestoreFilesMockHandler = (
415
+ overrideResponse?:
416
+ | StorageRestoreFilesResponse
417
+ | ((
418
+ info: Parameters<Parameters<typeof http.patch>[1]>[0],
419
+ ) => Promise<StorageRestoreFilesResponse> | StorageRestoreFilesResponse),
420
+ ) => {
421
+ return http.patch('*/storage/file/restore', async (info) => {
422
+ await delay(1000);
423
+
424
+ return new HttpResponse(
425
+ JSON.stringify(
426
+ overrideResponse !== undefined
427
+ ? typeof overrideResponse === 'function'
428
+ ? await overrideResponse(info)
429
+ : overrideResponse
430
+ : getRestoreFilesResponseMock(),
431
+ ),
432
+ { status: 200, headers: { 'Content-Type': 'application/json' } },
433
+ );
434
+ });
435
+ };
436
+
381
437
  export const getSearchScreenRecordingsMockHandler = (
382
438
  overrideResponse?:
383
439
  | StorageListFile
@@ -428,6 +484,8 @@ export const getFileServiceMock = () => [
428
484
  getDeleteScreenRecordingsByAgentMockHandler(),
429
485
  getDeleteFilesMockHandler(),
430
486
  getSearchFilesMockHandler(),
487
+ getDeleteQuarantineFilesMockHandler(),
488
+ getRestoreFilesMockHandler(),
431
489
  getSearchScreenRecordingsMockHandler(),
432
490
  getDeleteScreenRecordingsMockHandler(),
433
491
  ];
@@ -188,6 +188,18 @@ export const searchFilesResponse = zod.object({
188
188
  next: zod.boolean().optional(),
189
189
  });
190
190
 
191
+ export const deleteQuarantineFilesBody = zod.object({
192
+ id: zod.array(zod.string()).optional(),
193
+ });
194
+
195
+ export const deleteQuarantineFilesResponse = zod.object({});
196
+
197
+ export const restoreFilesBody = zod.object({
198
+ id: zod.array(zod.string()).optional(),
199
+ });
200
+
201
+ export const restoreFilesResponse = zod.object({});
202
+
191
203
  export const searchScreenRecordingsParams = zod.object({
192
204
  user_id: zod.string(),
193
205
  });
@@ -0,0 +1,23 @@
1
+ export declare const FileServicesAPI: {
2
+ getList: (params: any) => Promise<{
3
+ items: any;
4
+ next: any;
5
+ }>;
6
+ delete: (id: any) => Promise<any>;
7
+ getScreenRecordingsByUser: (params: any) => Promise<{
8
+ items: any;
9
+ next: any;
10
+ }>;
11
+ deleteScreenRecordingsByUser: ({ userId, id }: {
12
+ userId: any;
13
+ id: any;
14
+ }) => Promise<any>;
15
+ getScreenRecordingsByAgent: (params: any) => Promise<{
16
+ items: any;
17
+ next: any;
18
+ }>;
19
+ deleteScreenRecordingsByAgent: ({ agentId, id }: {
20
+ agentId: any;
21
+ id: any;
22
+ }) => Promise<any>;
23
+ };
@@ -30,3 +30,4 @@ export * from './wtTypes/adjunctTypes/adjunctTypes';
30
30
  export * from './wtTypes/sysTypes/sysTypes';
31
31
  export * from './wtTypes/typeExtensions/typeExtensions';
32
32
  export * from './сontacts';
33
+ export * from './fileServices/fileServices';
@@ -1,4 +1,6 @@
1
1
  export declare const downloadMedia: (id: any) => Promise<import("axios").AxiosResponse<any, any>>;
2
+ export declare const downloadFile: (id: any) => void;
3
+ export declare const getScreenRecordingMediaUrl: (id: any, isThumb?: boolean) => string;
2
4
  export declare const MediaAPI: {
3
5
  getList: (params: any) => Promise<{
4
6
  items: any;
@@ -5,15 +5,5 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export type DeleteTypeMixin3Params = {
8
- /**
9
- * Fields to retrive into result dataset.
10
- */
11
8
  fields?: string[];
12
- /**
13
- * `types.repo`
14
-
15
- // `record.pk`
16
- repeated string id = 3;
17
- */
18
- repo: string[];
19
9
  };
@@ -5,5 +5,15 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export type DeleteTypeParams = {
8
+ /**
9
+ * Fields to retrive into result dataset.
10
+ */
8
11
  fields?: string[];
12
+ /**
13
+ * `types.repo`
14
+
15
+ // `record.pk`
16
+ repeated string id = 3;
17
+ */
18
+ repo: string[];
9
19
  };
@@ -6,49 +6,6 @@
6
6
  */
7
7
  export type SearchTypeMixin3Params = {
8
8
  /**
9
- * Search term:
10
- `?` - matches any character
11
- `*` - matches 0 or more characters
12
- e.g.: name,emails{type},labels etc...
13
- */
14
- q?: string;
15
- /**
16
- * `types.id`
17
- */
18
- id?: string;
19
- /**
20
- * `types.name`
21
- */
22
- name?: string;
23
- /**
24
- * `types.repo`
25
- */
26
- repo?: string;
27
- /**
28
- * `types.path`
29
- */
30
- path?: string;
31
- /**
32
- * [NOT] [ system / custom ] types only
33
- */
34
- readonly?: boolean;
35
- /**
36
- * [NOT] Extend[able] types only.
37
- */
38
- extendable?: boolean;
39
- /**
40
- * [NOT] include extensions/* types.
41
- */
42
- extensions?: boolean;
43
- /**
44
- * [NOT] Extend[ed] types only.
45
- */
46
- extended?: boolean;
47
- /**
48
- * [NOT] Administer access control only
49
- */
50
- administered?: boolean;
51
- /**
52
9
  * Number of result records (per page).
53
10
  Default: 16.
54
11
  */
@@ -96,4 +53,15 @@ USCORE = %x5F ; underscore ; "_"
96
53
  ```
97
54
  */
98
55
  fields?: string[];
56
+ /**
57
+ * Search term:
58
+ `?` - matches any character
59
+ `*` - matches 0 or more characters
60
+ e.g.: name,emails{type},labels etc...
61
+ */
62
+ q?: string;
63
+ /**
64
+ * extension.type.id
65
+ */
66
+ id?: string[];
99
67
  };