@webitel/api-services 0.0.35 → 0.0.37

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 (75) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/index.ts +1 -1
  3. package/src/api/clients/roles/roles.ts +37 -52
  4. package/src/api/transformers/camelToSnake/camelToSnake.transformer.ts +4 -2
  5. package/src/api/transformers/snakeToCamel/snakeToCamel.transformer.ts +4 -2
  6. package/src/gen/_docs/html/assets/navigation.js +1 -1
  7. package/src/gen/_docs/html/assets/search.js +1 -1
  8. package/src/gen/_docs/html/functions/file-service_file-service.api.gen.getFileService.html +1 -1
  9. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getFileServiceRenegotiateP2PVideoMockHandler.html +1 -0
  10. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getFileServiceRenegotiateP2PVideoResponseMock.html +1 -0
  11. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getFileServiceStopP2PVideoMockHandler.html +1 -0
  12. package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getFileServiceStopP2PVideoResponseMock.html +1 -0
  13. package/src/gen/_docs/html/index.html +1 -1
  14. package/src/gen/_docs/html/interfaces/_models_engineAgentStatsStatistic.EngineAgentStatsStatistic.html +3 -2
  15. package/src/gen/_docs/html/interfaces/_models_engineAgentStatusStatisticItem.EngineAgentStatusStatisticItem.html +3 -2
  16. package/src/gen/_docs/html/interfaces/_models_engineOpenedWebSocket.EngineOpenedWebSocket.html +3 -2
  17. package/src/gen/_docs/html/interfaces/_models_storageRenegotiateP2PVideoRequest.StorageRenegotiateP2PVideoRequest.html +7 -0
  18. package/src/gen/_docs/html/interfaces/_models_storageRenegotiateP2PVideoResponse.StorageRenegotiateP2PVideoResponse.html +6 -0
  19. package/src/gen/_docs/html/interfaces/_models_storageStopP2PVideoRequest.StorageStopP2PVideoRequest.html +6 -0
  20. package/src/gen/_docs/html/interfaces/_models_storageStopP2PVideoResponse.StorageStopP2PVideoResponse.html +5 -0
  21. package/src/gen/_docs/html/interfaces/_models_storageUploadP2PVideoResponse.StorageUploadP2PVideoResponse.html +3 -2
  22. package/src/gen/_docs/html/modules/_models.html +1 -1
  23. package/src/gen/_docs/html/modules/_models_storageRenegotiateP2PVideoRequest.html +1 -0
  24. package/src/gen/_docs/html/modules/_models_storageRenegotiateP2PVideoResponse.html +1 -0
  25. package/src/gen/_docs/html/modules/_models_storageStopP2PVideoRequest.html +1 -0
  26. package/src/gen/_docs/html/modules/_models_storageStopP2PVideoResponse.html +1 -0
  27. package/src/gen/_docs/html/modules/file-service_file-service.api.gen.html +1 -1
  28. package/src/gen/_docs/html/modules/file-service_file-service.msw.api.gen.html +1 -1
  29. package/src/gen/_docs/html/modules/file-service_file-service.zod.gen.html +1 -1
  30. package/src/gen/_docs/html/modules/index.html +1 -1
  31. package/src/gen/_docs/html/types/file-service_file-service.api.gen.FileServiceRenegotiateP2PVideoResult.html +1 -0
  32. package/src/gen/_docs/html/types/file-service_file-service.api.gen.FileServiceStopP2PVideoResult.html +1 -0
  33. package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.searchAgentStatusStatisticItemResponse.html +1 -1
  34. package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.searchAgentStatusStatisticResponse.html +1 -1
  35. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceRenegotiateP2PVideoBody.html +1 -0
  36. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceRenegotiateP2PVideoParams.html +1 -0
  37. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceRenegotiateP2PVideoResponse.html +1 -0
  38. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceStopP2PVideoBody.html +1 -0
  39. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceStopP2PVideoParams.html +1 -0
  40. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceStopP2PVideoResponse.html +1 -0
  41. package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.fileServiceUploadP2PVideoResponse.html +1 -1
  42. package/src/gen/_docs/html/variables/user-helper-service_user-helper-service.zod.gen.openedWebSocketsResponse.html +1 -1
  43. package/src/gen/_models/engineAgentStatsStatistic.ts +1 -0
  44. package/src/gen/_models/engineAgentStatusStatisticItem.ts +1 -0
  45. package/src/gen/_models/engineOpenedWebSocket.ts +2 -1
  46. package/src/gen/_models/index.ts +4 -0
  47. package/src/gen/_models/storageRenegotiateP2PVideoRequest.ts +11 -0
  48. package/src/gen/_models/storageRenegotiateP2PVideoResponse.ts +10 -0
  49. package/src/gen/_models/storageStopP2PVideoRequest.ts +10 -0
  50. package/src/gen/_models/storageStopP2PVideoResponse.ts +10 -0
  51. package/src/gen/_models/storageUploadP2PVideoResponse.ts +1 -0
  52. package/src/gen/agent-service/agent-service.msw.api.gen.ts +5 -0
  53. package/src/gen/agent-service/agent-service.zod.gen.ts +2 -0
  54. package/src/gen/file-service/file-service.api.gen.ts +36 -1
  55. package/src/gen/file-service/file-service.msw.api.gen.ts +70 -1
  56. package/src/gen/file-service/file-service.zod.gen.ts +24 -0
  57. package/src/gen/user-helper-service/user-helper-service.msw.api.gen.ts +5 -1
  58. package/src/gen/user-helper-service/user-helper-service.zod.gen.ts +2 -1
  59. package/types/api/clients/index.d.ts +1 -0
  60. package/types/api/clients/roles/roles.d.ts +0 -4
  61. package/types/api/transformers/camelToSnake/camelToSnake.transformer.d.ts +1 -1
  62. package/types/api/transformers/snakeToCamel/snakeToCamel.transformer.d.ts +1 -1
  63. package/types/gen/_models/engineAgentStatsStatistic.d.ts +1 -0
  64. package/types/gen/_models/engineAgentStatusStatisticItem.d.ts +1 -0
  65. package/types/gen/_models/engineOpenedWebSocket.d.ts +2 -1
  66. package/types/gen/_models/storageRenegotiateP2PVideoRequest.d.ts +10 -0
  67. package/types/gen/_models/storageRenegotiateP2PVideoResponse.d.ts +9 -0
  68. package/types/gen/_models/storageStopP2PVideoRequest.d.ts +9 -0
  69. package/types/gen/_models/storageStopP2PVideoResponse.d.ts +9 -0
  70. package/types/gen/_models/storageUploadP2PVideoResponse.d.ts +1 -0
  71. package/types/gen/agent-service/agent-service.zod.gen.d.ts +2 -0
  72. package/types/gen/file-service/file-service.api.gen.d.ts +5 -1
  73. package/types/gen/file-service/file-service.msw.api.gen.d.ts +5 -1
  74. package/types/gen/file-service/file-service.zod.gen.d.ts +18 -0
  75. package/types/gen/user-helper-service/user-helper-service.zod.gen.d.ts +2 -1
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>openedWebSocketsResponse | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/user-helper-service_user-helper-service.zod.gen.html">user-helper-service/user-helper-service.zod.gen</a></li><li><a href="" aria-current="page">openedWebSocketsResponse</a></li></ul><h1>Variable openedWebSocketsResponse<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">openedWebSocketsResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">items</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><br/>            <span class="tsd-signature-type">ZodArray</span><span class="tsd-signature-symbol">&lt;</span><br/>                <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol">&lt;</span><br/>                    <span class="tsd-signature-symbol">{</span><br/>                        <span class="tsd-kind-property">client</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">createdAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">duration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">ip</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">pong</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">updatedAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">userAgent</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>                    <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/>                <span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>            <span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodBoolean</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>openedWebSocketsResponse | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/user-helper-service_user-helper-service.zod.gen.html">user-helper-service/user-helper-service.zod.gen</a></li><li><a href="" aria-current="page">openedWebSocketsResponse</a></li></ul><h1>Variable openedWebSocketsResponse<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">openedWebSocketsResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">items</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><br/>            <span class="tsd-signature-type">ZodArray</span><span class="tsd-signature-symbol">&lt;</span><br/>                <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol">&lt;</span><br/>                    <span class="tsd-signature-symbol">{</span><br/>                        <span class="tsd-kind-property">applicationName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">createdAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">duration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">ip</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">pong</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">updatedAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">userAgent</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                        <span class="tsd-kind-property">ver</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>                    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>                    <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/>                <span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>            <span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ZodBoolean</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -12,6 +12,7 @@ export interface EngineAgentStatsStatistic {
12
12
  auditor?: EngineLookup[];
13
13
  callTime?: string;
14
14
  chatCount?: number;
15
+ descTrack?: boolean;
15
16
  extension?: string;
16
17
  handles?: number;
17
18
  maxBridgedAt?: string;
@@ -10,6 +10,7 @@ export interface EngineAgentStatusStatisticItem {
10
10
  agentId?: number;
11
11
  auditor?: EngineLookup[];
12
12
  chatCount?: number;
13
+ descTrack?: boolean;
13
14
  extension?: string;
14
15
  name?: string;
15
16
  offline?: string;
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  export interface EngineOpenedWebSocket {
9
- client?: string;
9
+ applicationName?: string;
10
10
  createdAt?: string;
11
11
  duration?: string;
12
12
  id?: string;
@@ -14,4 +14,5 @@ export interface EngineOpenedWebSocket {
14
14
  pong?: string;
15
15
  updatedAt?: string;
16
16
  userAgent?: string;
17
+ ver?: string;
17
18
  }
@@ -980,6 +980,8 @@ export * from './storagePatchImportTemplateRequestParameters';
980
980
  export * from './storageProviderType';
981
981
  export * from './storagePutFileTranscriptRequest';
982
982
  export * from './storagePutFileTranscriptResponse';
983
+ export * from './storageRenegotiateP2PVideoRequest';
984
+ export * from './storageRenegotiateP2PVideoResponse';
983
985
  export * from './storageSafeUploadFileRequestMetadata';
984
986
  export * from './storageSafeUploadFileResponse';
985
987
  export * from './storageSafeUploadFileResponseMetadata';
@@ -989,6 +991,8 @@ export * from './storageServiceType';
989
991
  export * from './storageStartFileTranscriptRequest';
990
992
  export * from './storageStartFileTranscriptResponse';
991
993
  export * from './storageStartFileTranscriptResponseTranscriptJob';
994
+ export * from './storageStopP2PVideoRequest';
995
+ export * from './storageStopP2PVideoResponse';
992
996
  export * from './storageStreamFile';
993
997
  export * from './storageStreamFileMetadata';
994
998
  export * from './storageThumbnail';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export interface StorageRenegotiateP2PVideoRequest {
9
+ id?: string;
10
+ sdpOffer?: string;
11
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export interface StorageRenegotiateP2PVideoResponse {
9
+ sdpAnswer?: string;
10
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export interface StorageStopP2PVideoRequest {
9
+ id?: string;
10
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export interface StorageStopP2PVideoResponse {
9
+ [key: string]: unknown;
10
+ }
@@ -6,5 +6,6 @@
6
6
  */
7
7
 
8
8
  export interface StorageUploadP2PVideoResponse {
9
+ id?: string;
9
10
  sdpAnswer?: string;
10
11
  }
@@ -612,6 +612,10 @@ export const getSearchAgentStatusStatisticResponseMock = (
612
612
  }),
613
613
  undefined,
614
614
  ]),
615
+ descTrack: faker.helpers.arrayElement([
616
+ faker.datatype.boolean(),
617
+ undefined,
618
+ ]),
615
619
  extension: faker.helpers.arrayElement([
616
620
  faker.string.alpha({ length: { min: 10, max: 20 } }),
617
621
  undefined,
@@ -800,6 +804,7 @@ export const getSearchAgentStatusStatisticItemResponseMock = (
800
804
  faker.number.int({ min: undefined, max: undefined, multipleOf: undefined }),
801
805
  undefined,
802
806
  ]),
807
+ descTrack: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]),
803
808
  extension: faker.helpers.arrayElement([
804
809
  faker.string.alpha({ length: { min: 10, max: 20 } }),
805
810
  undefined,
@@ -317,6 +317,7 @@ export const searchAgentStatusStatisticResponse = zod.object({
317
317
  .optional(),
318
318
  callTime: zod.string().optional(),
319
319
  chatCount: zod.number().optional(),
320
+ descTrack: zod.boolean().optional(),
320
321
  extension: zod.string().optional(),
321
322
  handles: zod.number().optional(),
322
323
  maxBridgedAt: zod.string().optional(),
@@ -394,6 +395,7 @@ export const searchAgentStatusStatisticItemResponse = zod.object({
394
395
  )
395
396
  .optional(),
396
397
  chatCount: zod.number().optional(),
398
+ descTrack: zod.boolean().optional(),
397
399
  extension: zod.string().optional(),
398
400
  name: zod.string().optional(),
399
401
  offline: zod.string().optional(),
@@ -13,6 +13,10 @@ import type {
13
13
  StorageDeleteFilesRequest,
14
14
  StorageDeleteFilesResponse,
15
15
  StorageListFile,
16
+ StorageRenegotiateP2PVideoRequest,
17
+ StorageRenegotiateP2PVideoResponse,
18
+ StorageStopP2PVideoRequest,
19
+ StorageStopP2PVideoResponse,
16
20
  StorageUploadP2PVideoRequest,
17
21
  StorageUploadP2PVideoResponse,
18
22
  } from '.././_models';
@@ -52,17 +56,44 @@ export const // --- title start
52
56
  options?: AxiosRequestConfig,
53
57
  ): Promise<TData> => {
54
58
  return axios.post(
55
- '/storage/p2p/upload/video',
59
+ '/storage/p2p/video',
56
60
  storageUploadP2PVideoRequest,
57
61
  options,
58
62
  );
59
63
  };
64
+ const fileServiceStopP2PVideo = <
65
+ TData = AxiosResponse<StorageStopP2PVideoResponse>,
66
+ >(
67
+ id: string,
68
+ storageStopP2PVideoRequest: StorageStopP2PVideoRequest,
69
+ options?: AxiosRequestConfig,
70
+ ): Promise<TData> => {
71
+ return axios.delete(`/storage/p2p/video/${id}`, {
72
+ data: storageStopP2PVideoRequest,
73
+ ...options,
74
+ });
75
+ };
76
+ const fileServiceRenegotiateP2PVideo = <
77
+ TData = AxiosResponse<StorageRenegotiateP2PVideoResponse>,
78
+ >(
79
+ id: string,
80
+ storageRenegotiateP2PVideoRequest: StorageRenegotiateP2PVideoRequest,
81
+ options?: AxiosRequestConfig,
82
+ ): Promise<TData> => {
83
+ return axios.put(
84
+ `/storage/p2p/video/${id}`,
85
+ storageRenegotiateP2PVideoRequest,
86
+ options,
87
+ );
88
+ };
60
89
 
61
90
  // --- footer start
62
91
  return {
63
92
  fileServiceDeleteFiles,
64
93
  fileServiceSearchFiles,
65
94
  fileServiceUploadP2PVideo,
95
+ fileServiceStopP2PVideo,
96
+ fileServiceRenegotiateP2PVideo,
66
97
  };
67
98
  };
68
99
  export type FileServiceDeleteFilesResult =
@@ -70,5 +101,9 @@ export type FileServiceDeleteFilesResult =
70
101
  export type FileServiceSearchFilesResult = AxiosResponse<StorageListFile>;
71
102
  export type FileServiceUploadP2PVideoResult =
72
103
  AxiosResponse<StorageUploadP2PVideoResponse>;
104
+ export type FileServiceStopP2PVideoResult =
105
+ AxiosResponse<StorageStopP2PVideoResponse>;
106
+ export type FileServiceRenegotiateP2PVideoResult =
107
+ AxiosResponse<StorageRenegotiateP2PVideoResponse>;
73
108
 
74
109
  // --- footer end
@@ -10,6 +10,8 @@ import { delay, HttpResponse, http } from 'msw';
10
10
  import type {
11
11
  StorageDeleteFilesResponse,
12
12
  StorageListFile,
13
+ StorageRenegotiateP2PVideoResponse,
14
+ StorageStopP2PVideoResponse,
13
15
  StorageUploadP2PVideoResponse,
14
16
  } from '.././_models';
15
17
  import { StorageUploadFileChannel } from '.././_models';
@@ -109,6 +111,23 @@ export const getFileServiceSearchFilesResponseMock = (
109
111
  export const getFileServiceUploadP2PVideoResponseMock = (
110
112
  overrideResponse: Partial<StorageUploadP2PVideoResponse> = {},
111
113
  ): StorageUploadP2PVideoResponse => ({
114
+ id: faker.helpers.arrayElement([
115
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
116
+ undefined,
117
+ ]),
118
+ sdpAnswer: faker.helpers.arrayElement([
119
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
120
+ undefined,
121
+ ]),
122
+ ...overrideResponse,
123
+ });
124
+
125
+ export const getFileServiceStopP2PVideoResponseMock =
126
+ (): StorageStopP2PVideoResponse => ({});
127
+
128
+ export const getFileServiceRenegotiateP2PVideoResponseMock = (
129
+ overrideResponse: Partial<StorageRenegotiateP2PVideoResponse> = {},
130
+ ): StorageRenegotiateP2PVideoResponse => ({
112
131
  sdpAnswer: faker.helpers.arrayElement([
113
132
  faker.string.alpha({ length: { min: 10, max: 20 } }),
114
133
  undefined,
@@ -171,7 +190,7 @@ export const getFileServiceUploadP2PVideoMockHandler = (
171
190
  | Promise<StorageUploadP2PVideoResponse>
172
191
  | StorageUploadP2PVideoResponse),
173
192
  ) => {
174
- return http.post('*/storage/p2p/upload/video', async (info) => {
193
+ return http.post('*/storage/p2p/video', async (info) => {
175
194
  await delay(1000);
176
195
 
177
196
  return new HttpResponse(
@@ -186,8 +205,58 @@ export const getFileServiceUploadP2PVideoMockHandler = (
186
205
  );
187
206
  });
188
207
  };
208
+
209
+ export const getFileServiceStopP2PVideoMockHandler = (
210
+ overrideResponse?:
211
+ | StorageStopP2PVideoResponse
212
+ | ((
213
+ info: Parameters<Parameters<typeof http.delete>[1]>[0],
214
+ ) => Promise<StorageStopP2PVideoResponse> | StorageStopP2PVideoResponse),
215
+ ) => {
216
+ return http.delete('*/storage/p2p/video/:id', async (info) => {
217
+ await delay(1000);
218
+
219
+ return new HttpResponse(
220
+ JSON.stringify(
221
+ overrideResponse !== undefined
222
+ ? typeof overrideResponse === 'function'
223
+ ? await overrideResponse(info)
224
+ : overrideResponse
225
+ : getFileServiceStopP2PVideoResponseMock(),
226
+ ),
227
+ { status: 200, headers: { 'Content-Type': 'application/json' } },
228
+ );
229
+ });
230
+ };
231
+
232
+ export const getFileServiceRenegotiateP2PVideoMockHandler = (
233
+ overrideResponse?:
234
+ | StorageRenegotiateP2PVideoResponse
235
+ | ((
236
+ info: Parameters<Parameters<typeof http.put>[1]>[0],
237
+ ) =>
238
+ | Promise<StorageRenegotiateP2PVideoResponse>
239
+ | StorageRenegotiateP2PVideoResponse),
240
+ ) => {
241
+ return http.put('*/storage/p2p/video/:id', async (info) => {
242
+ await delay(1000);
243
+
244
+ return new HttpResponse(
245
+ JSON.stringify(
246
+ overrideResponse !== undefined
247
+ ? typeof overrideResponse === 'function'
248
+ ? await overrideResponse(info)
249
+ : overrideResponse
250
+ : getFileServiceRenegotiateP2PVideoResponseMock(),
251
+ ),
252
+ { status: 200, headers: { 'Content-Type': 'application/json' } },
253
+ );
254
+ });
255
+ };
189
256
  export const getFileServiceMock = () => [
190
257
  getFileServiceDeleteFilesMockHandler(),
191
258
  getFileServiceSearchFilesMockHandler(),
192
259
  getFileServiceUploadP2PVideoMockHandler(),
260
+ getFileServiceStopP2PVideoMockHandler(),
261
+ getFileServiceRenegotiateP2PVideoMockHandler(),
193
262
  ];
@@ -110,5 +110,29 @@ export const fileServiceUploadP2PVideoBody = zod.object({
110
110
  });
111
111
 
112
112
  export const fileServiceUploadP2PVideoResponse = zod.object({
113
+ id: zod.string().optional(),
114
+ sdpAnswer: zod.string().optional(),
115
+ });
116
+
117
+ export const fileServiceStopP2PVideoParams = zod.object({
118
+ id: zod.string(),
119
+ });
120
+
121
+ export const fileServiceStopP2PVideoBody = zod.object({
122
+ id: zod.string().optional(),
123
+ });
124
+
125
+ export const fileServiceStopP2PVideoResponse = zod.object({});
126
+
127
+ export const fileServiceRenegotiateP2PVideoParams = zod.object({
128
+ id: zod.string(),
129
+ });
130
+
131
+ export const fileServiceRenegotiateP2PVideoBody = zod.object({
132
+ id: zod.string().optional(),
133
+ sdpOffer: zod.string().optional(),
134
+ });
135
+
136
+ export const fileServiceRenegotiateP2PVideoResponse = zod.object({
113
137
  sdpAnswer: zod.string().optional(),
114
138
  });
@@ -196,7 +196,7 @@ export const getOpenedWebSocketsResponseMock = (
196
196
  { length: faker.number.int({ min: 1, max: 10 }) },
197
197
  (_, i) => i + 1,
198
198
  ).map(() => ({
199
- client: faker.helpers.arrayElement([
199
+ applicationName: faker.helpers.arrayElement([
200
200
  faker.string.alpha({ length: { min: 10, max: 20 } }),
201
201
  undefined,
202
202
  ]),
@@ -228,6 +228,10 @@ export const getOpenedWebSocketsResponseMock = (
228
228
  faker.string.alpha({ length: { min: 10, max: 20 } }),
229
229
  undefined,
230
230
  ]),
231
+ ver: faker.helpers.arrayElement([
232
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
233
+ undefined,
234
+ ]),
231
235
  })),
232
236
  undefined,
233
237
  ]),
@@ -82,7 +82,7 @@ export const openedWebSocketsResponse = zod.object({
82
82
  items: zod
83
83
  .array(
84
84
  zod.object({
85
- client: zod.string().optional(),
85
+ applicationName: zod.string().optional(),
86
86
  createdAt: zod.string().optional(),
87
87
  duration: zod.string().optional(),
88
88
  id: zod.string().optional(),
@@ -90,6 +90,7 @@ export const openedWebSocketsResponse = zod.object({
90
90
  pong: zod.string().optional(),
91
91
  updatedAt: zod.string().optional(),
92
92
  userAgent: zod.string().optional(),
93
+ ver: zod.string().optional(),
93
94
  }),
94
95
  )
95
96
  .optional(),
@@ -22,6 +22,7 @@ export * from './media/media';
22
22
  export * from './object/object';
23
23
  export * from './queues/queues';
24
24
  export * from './quickReplies/quickReplies';
25
+ export * from './roles/roles';
25
26
  export * from './skills/skills';
26
27
  export * from './slas/slas';
27
28
  export * from './teams/teams';
@@ -20,10 +20,6 @@ export declare const RolesAPI: {
20
20
  items: any;
21
21
  next: any;
22
22
  }>;
23
- getExtendedRoles: (params: any) => Promise<{
24
- items: any;
25
- next: any;
26
- }>;
27
23
  getPermissionsOptions: (params: any) => Promise<{
28
24
  items: any;
29
25
  next: any;
@@ -1,2 +1,2 @@
1
- declare const camelToSnakeTransformer: (skipKeys: any) => (obj: any) => any;
1
+ declare const camelToSnakeTransformer: (skipKeys?: any[]) => (obj: any) => any;
2
2
  export default camelToSnakeTransformer;
@@ -1,2 +1,2 @@
1
- declare const snakeToCamelTransformer: (skipKeys: any) => (obj: any) => any;
1
+ declare const snakeToCamelTransformer: (skipKeys?: any[]) => (obj: any) => any;
2
2
  export default snakeToCamelTransformer;
@@ -11,6 +11,7 @@ export interface EngineAgentStatsStatistic {
11
11
  auditor?: EngineLookup[];
12
12
  callTime?: string;
13
13
  chatCount?: number;
14
+ descTrack?: boolean;
14
15
  extension?: string;
15
16
  handles?: number;
16
17
  maxBridgedAt?: string;
@@ -9,6 +9,7 @@ export interface EngineAgentStatusStatisticItem {
9
9
  agentId?: number;
10
10
  auditor?: EngineLookup[];
11
11
  chatCount?: number;
12
+ descTrack?: boolean;
12
13
  extension?: string;
13
14
  name?: string;
14
15
  offline?: string;
@@ -5,7 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export interface EngineOpenedWebSocket {
8
- client?: string;
8
+ applicationName?: string;
9
9
  createdAt?: string;
10
10
  duration?: string;
11
11
  id?: string;
@@ -13,4 +13,5 @@ export interface EngineOpenedWebSocket {
13
13
  pong?: string;
14
14
  updatedAt?: string;
15
15
  userAgent?: string;
16
+ ver?: string;
16
17
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface StorageRenegotiateP2PVideoRequest {
8
+ id?: string;
9
+ sdpOffer?: string;
10
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface StorageRenegotiateP2PVideoResponse {
8
+ sdpAnswer?: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface StorageStopP2PVideoRequest {
8
+ id?: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface StorageStopP2PVideoResponse {
8
+ [key: string]: unknown;
9
+ }
@@ -5,5 +5,6 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export interface StorageUploadP2PVideoResponse {
8
+ id?: string;
8
9
  sdpAnswer?: string;
9
10
  }
@@ -231,6 +231,7 @@ export declare const searchAgentStatusStatisticResponse: zod.ZodObject<{
231
231
  }, zod.core.$strip>>>;
232
232
  callTime: zod.ZodOptional<zod.ZodString>;
233
233
  chatCount: zod.ZodOptional<zod.ZodNumber>;
234
+ descTrack: zod.ZodOptional<zod.ZodBoolean>;
234
235
  extension: zod.ZodOptional<zod.ZodString>;
235
236
  handles: zod.ZodOptional<zod.ZodNumber>;
236
237
  maxBridgedAt: zod.ZodOptional<zod.ZodString>;
@@ -283,6 +284,7 @@ export declare const searchAgentStatusStatisticItemResponse: zod.ZodObject<{
283
284
  name: zod.ZodOptional<zod.ZodString>;
284
285
  }, zod.core.$strip>>>;
285
286
  chatCount: zod.ZodOptional<zod.ZodNumber>;
287
+ descTrack: zod.ZodOptional<zod.ZodBoolean>;
286
288
  extension: zod.ZodOptional<zod.ZodString>;
287
289
  name: zod.ZodOptional<zod.ZodString>;
288
290
  offline: zod.ZodOptional<zod.ZodString>;
@@ -1,11 +1,15 @@
1
1
  import type { AxiosRequestConfig, AxiosResponse } from 'axios';
2
- import type { FileServiceSearchFilesParams, StorageDeleteFilesRequest, StorageDeleteFilesResponse, StorageListFile, StorageUploadP2PVideoRequest, StorageUploadP2PVideoResponse } from '.././_models';
2
+ import type { FileServiceSearchFilesParams, StorageDeleteFilesRequest, StorageDeleteFilesResponse, StorageListFile, StorageRenegotiateP2PVideoRequest, StorageRenegotiateP2PVideoResponse, StorageStopP2PVideoRequest, StorageStopP2PVideoResponse, StorageUploadP2PVideoRequest, StorageUploadP2PVideoResponse } from '.././_models';
3
3
  export declare const // --- title start
4
4
  getFileService: () => {
5
5
  fileServiceDeleteFiles: <TData = AxiosResponse<StorageDeleteFilesResponse, any>>(storageDeleteFilesRequest: StorageDeleteFilesRequest, options?: AxiosRequestConfig) => Promise<TData>;
6
6
  fileServiceSearchFiles: <TData = AxiosResponse<StorageListFile, any>>(params?: FileServiceSearchFilesParams, options?: AxiosRequestConfig) => Promise<TData>;
7
7
  fileServiceUploadP2PVideo: <TData = AxiosResponse<StorageUploadP2PVideoResponse, any>>(storageUploadP2PVideoRequest: StorageUploadP2PVideoRequest, options?: AxiosRequestConfig) => Promise<TData>;
8
+ fileServiceStopP2PVideo: <TData = AxiosResponse<StorageStopP2PVideoResponse, any>>(id: string, storageStopP2PVideoRequest: StorageStopP2PVideoRequest, options?: AxiosRequestConfig) => Promise<TData>;
9
+ fileServiceRenegotiateP2PVideo: <TData = AxiosResponse<StorageRenegotiateP2PVideoResponse, any>>(id: string, storageRenegotiateP2PVideoRequest: StorageRenegotiateP2PVideoRequest, options?: AxiosRequestConfig) => Promise<TData>;
8
10
  };
9
11
  export type FileServiceDeleteFilesResult = AxiosResponse<StorageDeleteFilesResponse>;
10
12
  export type FileServiceSearchFilesResult = AxiosResponse<StorageListFile>;
11
13
  export type FileServiceUploadP2PVideoResult = AxiosResponse<StorageUploadP2PVideoResponse>;
14
+ export type FileServiceStopP2PVideoResult = AxiosResponse<StorageStopP2PVideoResponse>;
15
+ export type FileServiceRenegotiateP2PVideoResult = AxiosResponse<StorageRenegotiateP2PVideoResponse>;
@@ -1,9 +1,13 @@
1
1
  import { http } from 'msw';
2
- import type { StorageDeleteFilesResponse, StorageListFile, StorageUploadP2PVideoResponse } from '.././_models';
2
+ import type { StorageDeleteFilesResponse, StorageListFile, StorageRenegotiateP2PVideoResponse, StorageStopP2PVideoResponse, StorageUploadP2PVideoResponse } from '.././_models';
3
3
  export declare const getFileServiceDeleteFilesResponseMock: () => StorageDeleteFilesResponse;
4
4
  export declare const getFileServiceSearchFilesResponseMock: (overrideResponse?: Partial<StorageListFile>) => StorageListFile;
5
5
  export declare const getFileServiceUploadP2PVideoResponseMock: (overrideResponse?: Partial<StorageUploadP2PVideoResponse>) => StorageUploadP2PVideoResponse;
6
+ export declare const getFileServiceStopP2PVideoResponseMock: () => StorageStopP2PVideoResponse;
7
+ export declare const getFileServiceRenegotiateP2PVideoResponseMock: (overrideResponse?: Partial<StorageRenegotiateP2PVideoResponse>) => StorageRenegotiateP2PVideoResponse;
6
8
  export declare const getFileServiceDeleteFilesMockHandler: (overrideResponse?: StorageDeleteFilesResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<StorageDeleteFilesResponse> | StorageDeleteFilesResponse)) => import("msw").HttpHandler;
7
9
  export declare const getFileServiceSearchFilesMockHandler: (overrideResponse?: StorageListFile | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<StorageListFile> | StorageListFile)) => import("msw").HttpHandler;
8
10
  export declare const getFileServiceUploadP2PVideoMockHandler: (overrideResponse?: StorageUploadP2PVideoResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<StorageUploadP2PVideoResponse> | StorageUploadP2PVideoResponse)) => import("msw").HttpHandler;
11
+ export declare const getFileServiceStopP2PVideoMockHandler: (overrideResponse?: StorageStopP2PVideoResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<StorageStopP2PVideoResponse> | StorageStopP2PVideoResponse)) => import("msw").HttpHandler;
12
+ export declare const getFileServiceRenegotiateP2PVideoMockHandler: (overrideResponse?: StorageRenegotiateP2PVideoResponse | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<StorageRenegotiateP2PVideoResponse> | StorageRenegotiateP2PVideoResponse)) => import("msw").HttpHandler;
9
13
  export declare const getFileServiceMock: () => import("msw").HttpHandler[];