@30nama/sdk 2.0.0-rc.4 → 2.0.0-rc.5

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 (215) hide show
  1. package/README.md +312 -312
  2. package/lib/generated/operator/models/googleAuthFrontendLoginRequest.d.ts +5 -0
  3. package/lib/generated/operator/models/googleAuthLoginRedirectUri.d.ts +1 -1
  4. package/lib/generated/operator/models/googleAuthLoginRedirectUri.js +1 -1
  5. package/lib/generated/operator/models/googleAuthLoginRedirectUri.js.map +1 -1
  6. package/lib/generated/stream/api.d.ts +86 -0
  7. package/lib/generated/stream/api.js +491 -0
  8. package/lib/generated/stream/api.js.map +1 -0
  9. package/lib/generated/stream/models/add99ToServerIdUpdateServerIdGetParams.d.ts +9 -0
  10. package/lib/generated/stream/models/add99ToServerIdUpdateServerIdGetParams.js +6 -0
  11. package/lib/generated/stream/models/add99ToServerIdUpdateServerIdGetParams.js.map +1 -0
  12. package/lib/generated/stream/models/checkingRequestFileServerCheckRequestFromFileServerGetParams.d.ts +8 -0
  13. package/lib/generated/stream/models/checkingRequestFileServerCheckRequestFromFileServerGetParams.js +6 -0
  14. package/lib/generated/stream/models/checkingRequestFileServerCheckRequestFromFileServerGetParams.js.map +1 -0
  15. package/lib/generated/stream/models/createMovieStreamRequestSerializer.d.ts +16 -0
  16. package/lib/generated/stream/models/createMovieStreamRequestSerializer.js +6 -0
  17. package/lib/generated/stream/models/createMovieStreamRequestSerializer.js.map +1 -0
  18. package/lib/generated/stream/models/createMovieTrailerRequestSerializer.d.ts +14 -0
  19. package/lib/generated/stream/models/createMovieTrailerRequestSerializer.js +6 -0
  20. package/lib/generated/stream/models/createMovieTrailerRequestSerializer.js.map +1 -0
  21. package/lib/generated/stream/models/createSeriesStreamRequestSerializer.d.ts +23 -0
  22. package/lib/generated/stream/models/createSeriesStreamRequestSerializer.js +6 -0
  23. package/lib/generated/stream/models/createSeriesStreamRequestSerializer.js.map +1 -0
  24. package/lib/generated/stream/models/createSeriesTrailerRequestSerializer.d.ts +18 -0
  25. package/lib/generated/stream/models/createSeriesTrailerRequestSerializer.js +6 -0
  26. package/lib/generated/stream/models/createSeriesTrailerRequestSerializer.js.map +1 -0
  27. package/lib/generated/stream/models/deleteEpisodeStreamDeleteEpisodeStreamDeleteParams.d.ts +8 -0
  28. package/lib/generated/stream/models/deleteEpisodeStreamDeleteEpisodeStreamDeleteParams.js +6 -0
  29. package/lib/generated/stream/models/deleteEpisodeStreamDeleteEpisodeStreamDeleteParams.js.map +1 -0
  30. package/lib/generated/stream/models/deleteEpisodeStreamDeleteSeriesContentDetailDeleteParams.d.ts +8 -0
  31. package/lib/generated/stream/models/deleteEpisodeStreamDeleteSeriesContentDetailDeleteParams.js +6 -0
  32. package/lib/generated/stream/models/deleteEpisodeStreamDeleteSeriesContentDetailDeleteParams.js.map +1 -0
  33. package/lib/generated/stream/models/deleteMovieStreamDeleteMovieContentDetailDeleteParams.d.ts +6 -0
  34. package/lib/generated/stream/models/deleteMovieStreamDeleteMovieContentDetailDeleteParams.js +6 -0
  35. package/lib/generated/stream/models/deleteMovieStreamDeleteMovieContentDetailDeleteParams.js.map +1 -0
  36. package/lib/generated/stream/models/deleteMovieStreamDeleteMovieStreamDeleteParams.d.ts +6 -0
  37. package/lib/generated/stream/models/deleteMovieStreamDeleteMovieStreamDeleteParams.js +6 -0
  38. package/lib/generated/stream/models/deleteMovieStreamDeleteMovieStreamDeleteParams.js.map +1 -0
  39. package/lib/generated/stream/models/editMovieStreamRequestSerializer.d.ts +20 -0
  40. package/lib/generated/stream/models/editMovieStreamRequestSerializer.js +3 -0
  41. package/lib/generated/stream/models/editMovieStreamRequestSerializer.js.map +1 -0
  42. package/lib/generated/stream/models/editSeriesStreamRequestSerializer.d.ts +27 -0
  43. package/lib/generated/stream/models/editSeriesStreamRequestSerializer.js +3 -0
  44. package/lib/generated/stream/models/editSeriesStreamRequestSerializer.js.map +1 -0
  45. package/lib/generated/stream/models/enableDisableEpisodeStreamSoftDeleteEpisodeStreamPutParams.d.ts +9 -0
  46. package/lib/generated/stream/models/enableDisableEpisodeStreamSoftDeleteEpisodeStreamPutParams.js +6 -0
  47. package/lib/generated/stream/models/enableDisableEpisodeStreamSoftDeleteEpisodeStreamPutParams.js.map +1 -0
  48. package/lib/generated/stream/models/enableDisableMovieStreamSoftDeleteMovieStreamPutParams.d.ts +7 -0
  49. package/lib/generated/stream/models/enableDisableMovieStreamSoftDeleteMovieStreamPutParams.js +6 -0
  50. package/lib/generated/stream/models/enableDisableMovieStreamSoftDeleteMovieStreamPutParams.js.map +1 -0
  51. package/lib/generated/stream/models/enableDisableTrailerStreamSoftDeleteTrailerStreamPutParams.d.ts +7 -0
  52. package/lib/generated/stream/models/enableDisableTrailerStreamSoftDeleteTrailerStreamPutParams.js +6 -0
  53. package/lib/generated/stream/models/enableDisableTrailerStreamSoftDeleteTrailerStreamPutParams.js.map +1 -0
  54. package/lib/generated/stream/models/episodeStreamSerializer.d.ts +11 -0
  55. package/lib/generated/stream/models/episodeStreamSerializer.js +6 -0
  56. package/lib/generated/stream/models/episodeStreamSerializer.js.map +1 -0
  57. package/lib/generated/stream/models/generateStreamLinkGenerateStreamLinkGetParams.d.ts +8 -0
  58. package/lib/generated/stream/models/generateStreamLinkGenerateStreamLinkGetParams.js +6 -0
  59. package/lib/generated/stream/models/generateStreamLinkGenerateStreamLinkGetParams.js.map +1 -0
  60. package/lib/generated/stream/models/generateStreamLinkPlayContentStreamGetParams.d.ts +11 -0
  61. package/lib/generated/stream/models/generateStreamLinkPlayContentStreamGetParams.js +6 -0
  62. package/lib/generated/stream/models/generateStreamLinkPlayContentStreamGetParams.js.map +1 -0
  63. package/lib/generated/stream/models/generateTrailerLinkGenerateTrailerLinkGetParams.d.ts +8 -0
  64. package/lib/generated/stream/models/generateTrailerLinkGenerateTrailerLinkGetParams.js +6 -0
  65. package/lib/generated/stream/models/generateTrailerLinkGenerateTrailerLinkGetParams.js.map +1 -0
  66. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGet200.d.ts +6 -0
  67. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGet200.js +6 -0
  68. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGet200.js.map +1 -0
  69. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGetParams.d.ts +21 -0
  70. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGetParams.js +3 -0
  71. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGetParams.js.map +1 -0
  72. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGetType.d.ts +9 -0
  73. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGetType.js +13 -0
  74. package/lib/generated/stream/models/getCheckStreamViewCheckStreamGetType.js.map +1 -0
  75. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGet200.d.ts +6 -0
  76. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGet200.js +6 -0
  77. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGet200.js.map +1 -0
  78. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGetParams.d.ts +29 -0
  79. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGetParams.js +3 -0
  80. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGetParams.js.map +1 -0
  81. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGetSortBy.d.ts +8 -0
  82. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGetSortBy.js +12 -0
  83. package/lib/generated/stream/models/getDetailUserListWatchingShowDetailListWatchingByUserGetSortBy.js.map +1 -0
  84. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGet200.d.ts +6 -0
  85. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGet200.js +6 -0
  86. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGet200.js.map +1 -0
  87. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetContentType.d.ts +9 -0
  88. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetContentType.js +13 -0
  89. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetContentType.js.map +1 -0
  90. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetParams.d.ts +30 -0
  91. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetParams.js +3 -0
  92. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetParams.js.map +1 -0
  93. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetSortBy.d.ts +8 -0
  94. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetSortBy.js +12 -0
  95. package/lib/generated/stream/models/getIpsWatchingLogShowIpsMostWatchingLogGetSortBy.js.map +1 -0
  96. package/lib/generated/stream/models/getNonIranStreamFileGetNonIranV4ManualFilesGetParams.d.ts +21 -0
  97. package/lib/generated/stream/models/getNonIranStreamFileGetNonIranV4ManualFilesGetParams.js +3 -0
  98. package/lib/generated/stream/models/getNonIranStreamFileGetNonIranV4ManualFilesGetParams.js.map +1 -0
  99. package/lib/generated/stream/models/getNonIranStreamFileGetNonIranV4ManualFilesGetType.d.ts +9 -0
  100. package/lib/generated/stream/models/getNonIranStreamFileGetNonIranV4ManualFilesGetType.js +13 -0
  101. package/lib/generated/stream/models/getNonIranStreamFileGetNonIranV4ManualFilesGetType.js.map +1 -0
  102. package/lib/generated/stream/models/getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet200.d.ts +6 -0
  103. package/lib/generated/stream/models/getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet200.js +6 -0
  104. package/lib/generated/stream/models/getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet200.js.map +1 -0
  105. package/lib/generated/stream/models/getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGetParams.d.ts +12 -0
  106. package/lib/generated/stream/models/getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGetParams.js +6 -0
  107. package/lib/generated/stream/models/getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGetParams.js.map +1 -0
  108. package/lib/generated/stream/models/getStreamEpisodesGetContentDetailVideoContentIdGetParams.d.ts +9 -0
  109. package/lib/generated/stream/models/getStreamEpisodesGetContentDetailVideoContentIdGetParams.js +6 -0
  110. package/lib/generated/stream/models/getStreamEpisodesGetContentDetailVideoContentIdGetParams.js.map +1 -0
  111. package/lib/generated/stream/models/getStreamEpisodesShowTrailerListGetContentType.d.ts +9 -0
  112. package/lib/generated/stream/models/getStreamEpisodesShowTrailerListGetContentType.js +13 -0
  113. package/lib/generated/stream/models/getStreamEpisodesShowTrailerListGetContentType.js.map +1 -0
  114. package/lib/generated/stream/models/getStreamEpisodesShowTrailerListGetParams.d.ts +14 -0
  115. package/lib/generated/stream/models/getStreamEpisodesShowTrailerListGetParams.js +3 -0
  116. package/lib/generated/stream/models/getStreamEpisodesShowTrailerListGetParams.js.map +1 -0
  117. package/lib/generated/stream/models/getUserListWatchingShowListWatchingByUserGet200.d.ts +6 -0
  118. package/lib/generated/stream/models/getUserListWatchingShowListWatchingByUserGet200.js +6 -0
  119. package/lib/generated/stream/models/getUserListWatchingShowListWatchingByUserGet200.js.map +1 -0
  120. package/lib/generated/stream/models/getUserListWatchingShowListWatchingByUserGetParams.d.ts +10 -0
  121. package/lib/generated/stream/models/getUserListWatchingShowListWatchingByUserGetParams.js +6 -0
  122. package/lib/generated/stream/models/getUserListWatchingShowListWatchingByUserGetParams.js.map +1 -0
  123. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGet200.d.ts +6 -0
  124. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGet200.js +6 -0
  125. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGet200.js.map +1 -0
  126. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetParams.d.ts +20 -0
  127. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetParams.js +3 -0
  128. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetParams.js.map +1 -0
  129. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetSortBy.d.ts +8 -0
  130. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetSortBy.js +12 -0
  131. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetSortBy.js.map +1 -0
  132. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetType.d.ts +12 -0
  133. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetType.js +16 -0
  134. package/lib/generated/stream/models/getUserWatchingLogShowUserMostWatchingLogGetType.js.map +1 -0
  135. package/lib/generated/stream/models/getViewStreamViewStreamContentGet200.d.ts +6 -0
  136. package/lib/generated/stream/models/getViewStreamViewStreamContentGet200.js +6 -0
  137. package/lib/generated/stream/models/getViewStreamViewStreamContentGet200.js.map +1 -0
  138. package/lib/generated/stream/models/getViewStreamViewStreamContentGetParams.d.ts +16 -0
  139. package/lib/generated/stream/models/getViewStreamViewStreamContentGetParams.js +3 -0
  140. package/lib/generated/stream/models/getViewStreamViewStreamContentGetParams.js.map +1 -0
  141. package/lib/generated/stream/models/getViewStreamViewStreamContentGetType.d.ts +9 -0
  142. package/lib/generated/stream/models/getViewStreamViewStreamContentGetType.js +13 -0
  143. package/lib/generated/stream/models/getViewStreamViewStreamContentGetType.js.map +1 -0
  144. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGet200.d.ts +6 -0
  145. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGet200.js +6 -0
  146. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGet200.js.map +1 -0
  147. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGetParams.d.ts +23 -0
  148. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGetParams.js +3 -0
  149. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGetParams.js.map +1 -0
  150. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGetSortBy.d.ts +8 -0
  151. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGetSortBy.js +12 -0
  152. package/lib/generated/stream/models/getWatchingLimitHistoryLogUserWatchingLimitHistoryGetSortBy.js.map +1 -0
  153. package/lib/generated/stream/models/hTTPValidationError.d.ts +7 -0
  154. package/lib/generated/{operator/models/googleAuthCallbackResponse.js → stream/models/hTTPValidationError.js} +1 -1
  155. package/lib/generated/stream/models/hTTPValidationError.js.map +1 -0
  156. package/lib/generated/stream/models/index.d.ts +64 -0
  157. package/lib/generated/stream/models/index.js +81 -0
  158. package/lib/generated/stream/models/index.js.map +1 -0
  159. package/lib/generated/stream/models/saveStreamLogsSaveStreamLogPostParams.d.ts +21 -0
  160. package/lib/generated/stream/models/saveStreamLogsSaveStreamLogPostParams.js +6 -0
  161. package/lib/generated/stream/models/saveStreamLogsSaveStreamLogPostParams.js.map +1 -0
  162. package/lib/generated/stream/models/seasonStreamSerializer.d.ts +9 -0
  163. package/lib/generated/stream/models/seasonStreamSerializer.js +3 -0
  164. package/lib/generated/stream/models/seasonStreamSerializer.js.map +1 -0
  165. package/lib/generated/stream/models/seasonsEpisodesResponseSerializer.d.ts +10 -0
  166. package/lib/generated/stream/models/seasonsEpisodesResponseSerializer.js +3 -0
  167. package/lib/generated/stream/models/seasonsEpisodesResponseSerializer.js.map +1 -0
  168. package/lib/generated/stream/models/setSystemSettingStreamSystemSettingPutParams.d.ts +6 -0
  169. package/lib/generated/stream/models/setSystemSettingStreamSystemSettingPutParams.js +6 -0
  170. package/lib/generated/stream/models/setSystemSettingStreamSystemSettingPutParams.js.map +1 -0
  171. package/lib/generated/stream/models/showArchiveListWatchingOnlineShowArchiveListGetParams.d.ts +13 -0
  172. package/lib/generated/stream/models/showArchiveListWatchingOnlineShowArchiveListGetParams.js +3 -0
  173. package/lib/generated/stream/models/showArchiveListWatchingOnlineShowArchiveListGetParams.js.map +1 -0
  174. package/lib/generated/stream/models/showArchiveListWatchingOnlineShowArchiveListGetType.d.ts +9 -0
  175. package/lib/generated/stream/models/showArchiveListWatchingOnlineShowArchiveListGetType.js +13 -0
  176. package/lib/generated/stream/models/showArchiveListWatchingOnlineShowArchiveListGetType.js.map +1 -0
  177. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGet200.d.ts +6 -0
  178. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGet200.js +6 -0
  179. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGet200.js.map +1 -0
  180. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGetParams.d.ts +21 -0
  181. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGetParams.js +3 -0
  182. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGetParams.js.map +1 -0
  183. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGetSortBy.d.ts +8 -0
  184. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGetSortBy.js +12 -0
  185. package/lib/generated/stream/models/showDetailStreamLogShowDetailStreamListGetSortBy.js.map +1 -0
  186. package/lib/generated/stream/models/streamProblemChoiceEnum.d.ts +16 -0
  187. package/lib/generated/stream/models/streamProblemChoiceEnum.js +17 -0
  188. package/lib/generated/stream/models/streamProblemChoiceEnum.js.map +1 -0
  189. package/lib/generated/stream/models/validationError.d.ts +9 -0
  190. package/lib/generated/stream/models/validationError.js +3 -0
  191. package/lib/generated/stream/models/validationError.js.map +1 -0
  192. package/lib/generated/stream/models/validationErrorLocItem.d.ts +4 -0
  193. package/lib/generated/stream/models/validationErrorLocItem.js +6 -0
  194. package/lib/generated/stream/models/validationErrorLocItem.js.map +1 -0
  195. package/lib/services/stream/index.js +0 -2
  196. package/lib/services/stream/index.js.map +1 -1
  197. package/lib/services/video-content/index.d.ts +3 -3
  198. package/lib/services/video-content/index.js +0 -7
  199. package/lib/services/video-content/index.js.map +1 -1
  200. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  201. package/package.json +52 -51
  202. package/lib/generated/operator/models/authGoogleCallbackRetrieve400.d.ts +0 -11
  203. package/lib/generated/operator/models/authGoogleCallbackRetrieve400.js +0 -7
  204. package/lib/generated/operator/models/authGoogleCallbackRetrieve400.js.map +0 -1
  205. package/lib/generated/operator/models/authGoogleCallbackRetrieveParams.d.ts +0 -10
  206. package/lib/generated/operator/models/authGoogleCallbackRetrieveParams.js +0 -7
  207. package/lib/generated/operator/models/authGoogleCallbackRetrieveParams.js.map +0 -1
  208. package/lib/generated/operator/models/googleAuthCallbackProperties.d.ts +0 -17
  209. package/lib/generated/operator/models/googleAuthCallbackProperties.js +0 -7
  210. package/lib/generated/operator/models/googleAuthCallbackProperties.js.map +0 -1
  211. package/lib/generated/operator/models/googleAuthCallbackResponse.d.ts +0 -12
  212. package/lib/generated/operator/models/googleAuthCallbackResponse.js.map +0 -1
  213. package/lib/generated/operator/models/systemSettingsDetailRetrieveSetting.d.ts +0 -26
  214. package/lib/generated/operator/models/systemSettingsDetailRetrieveSetting.js +0 -30
  215. package/lib/generated/operator/models/systemSettingsDetailRetrieveSetting.js.map +0 -1
@@ -0,0 +1,86 @@
1
+ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
2
+ import type { Add99ToServerIdUpdateServerIdGetParams, CheckingRequestFileServerCheckRequestFromFileServerGetParams, CreateMovieStreamRequestSerializer, CreateMovieTrailerRequestSerializer, CreateSeriesStreamRequestSerializer, CreateSeriesTrailerRequestSerializer, DeleteEpisodeStreamDeleteEpisodeStreamDeleteParams, DeleteEpisodeStreamDeleteSeriesContentDetailDeleteParams, DeleteMovieStreamDeleteMovieContentDetailDeleteParams, DeleteMovieStreamDeleteMovieStreamDeleteParams, EditMovieStreamRequestSerializer, EditSeriesStreamRequestSerializer, EnableDisableEpisodeStreamSoftDeleteEpisodeStreamPutParams, EnableDisableMovieStreamSoftDeleteMovieStreamPutParams, EnableDisableTrailerStreamSoftDeleteTrailerStreamPutParams, GenerateStreamLinkGenerateStreamLinkGetParams, GenerateStreamLinkPlayContentStreamGetParams, GenerateTrailerLinkGenerateTrailerLinkGetParams, GetCheckStreamViewCheckStreamGet200, GetCheckStreamViewCheckStreamGetParams, GetDetailUserListWatchingShowDetailListWatchingByUserGet200, GetDetailUserListWatchingShowDetailListWatchingByUserGetParams, GetIpsWatchingLogShowIpsMostWatchingLogGet200, GetIpsWatchingLogShowIpsMostWatchingLogGetParams, GetNonIranStreamFileGetNonIranV4ManualFilesGetParams, GetOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet200, GetOnlineWatchingHistoryLogShowOnlineWatchedHistoryGetParams, GetStreamEpisodesGetContentDetailVideoContentIdGetParams, GetStreamEpisodesShowTrailerListGetParams, GetUserListWatchingShowListWatchingByUserGet200, GetUserListWatchingShowListWatchingByUserGetParams, GetUserWatchingLogShowUserMostWatchingLogGet200, GetUserWatchingLogShowUserMostWatchingLogGetParams, GetViewStreamViewStreamContentGet200, GetViewStreamViewStreamContentGetParams, GetWatchingLimitHistoryLogUserWatchingLimitHistoryGet200, GetWatchingLimitHistoryLogUserWatchingLimitHistoryGetParams, SaveStreamLogsSaveStreamLogPostParams, SeasonsEpisodesResponseSerializer, SetSystemSettingStreamSystemSettingPutParams, ShowArchiveListWatchingOnlineShowArchiveListGetParams, ShowDetailStreamLogShowDetailStreamListGet200, ShowDetailStreamLogShowDetailStreamListGetParams } from './models';
3
+ export declare const getStreamMicroserviceAPI: () => {
4
+ getNonIranStreamFileGetNonIranV4ManualFilesGet: <TData = AxiosResponse<unknown, any>>(params: GetNonIranStreamFileGetNonIranV4ManualFilesGetParams, options?: AxiosRequestConfig) => Promise<TData>;
5
+ add99ToServerIdUpdateServerIdGet: <TData = AxiosResponse<unknown, any>>(params?: Add99ToServerIdUpdateServerIdGetParams, options?: AxiosRequestConfig) => Promise<TData>;
6
+ checkingRequestFileServerCheckRequestFromFileServerGet: <TData = AxiosResponse<unknown, any>>(params: CheckingRequestFileServerCheckRequestFromFileServerGetParams, options?: AxiosRequestConfig) => Promise<TData>;
7
+ getSystemSettingStreamSystemSettingGet: <TData = AxiosResponse<unknown, any>>(options?: AxiosRequestConfig) => Promise<TData>;
8
+ setSystemSettingStreamSystemSettingPut: <TData = AxiosResponse<unknown, any>>(params?: SetSystemSettingStreamSystemSettingPutParams, options?: AxiosRequestConfig) => Promise<TData>;
9
+ createMovieStreamCreateMovieStreamPost: <TData = AxiosResponse<unknown, any>>(createMovieStreamRequestSerializer: CreateMovieStreamRequestSerializer, options?: AxiosRequestConfig) => Promise<TData>;
10
+ createSeriesStreamCreateSeriesStreamPost: <TData = AxiosResponse<unknown, any>>(createSeriesStreamRequestSerializer: CreateSeriesStreamRequestSerializer[], options?: AxiosRequestConfig) => Promise<TData>;
11
+ editMovieStreamEditMovieStreamPut: <TData = AxiosResponse<unknown, any>>(editMovieStreamRequestSerializer: EditMovieStreamRequestSerializer, options?: AxiosRequestConfig) => Promise<TData>;
12
+ editSeriesStreamEditSeriesStreamPut: <TData = AxiosResponse<unknown, any>>(editSeriesStreamRequestSerializer: EditSeriesStreamRequestSerializer, options?: AxiosRequestConfig) => Promise<TData>;
13
+ enableDisableMovieStreamSoftDeleteMovieStreamPut: <TData = AxiosResponse<unknown, any>>(params: EnableDisableMovieStreamSoftDeleteMovieStreamPutParams, options?: AxiosRequestConfig) => Promise<TData>;
14
+ enableDisableEpisodeStreamSoftDeleteEpisodeStreamPut: <TData = AxiosResponse<unknown, any>>(params: EnableDisableEpisodeStreamSoftDeleteEpisodeStreamPutParams, options?: AxiosRequestConfig) => Promise<TData>;
15
+ deleteMovieStreamDeleteMovieStreamDelete: <TData = AxiosResponse<unknown, any>>(params: DeleteMovieStreamDeleteMovieStreamDeleteParams, options?: AxiosRequestConfig) => Promise<TData>;
16
+ deleteEpisodeStreamDeleteEpisodeStreamDelete: <TData = AxiosResponse<unknown, any>>(params: DeleteEpisodeStreamDeleteEpisodeStreamDeleteParams, options?: AxiosRequestConfig) => Promise<TData>;
17
+ generateStreamLinkPlayContentStreamGet: <TData = AxiosResponse<unknown, any>>(params: GenerateStreamLinkPlayContentStreamGetParams, options?: AxiosRequestConfig) => Promise<TData>;
18
+ getSeasonsEpisodesGetEpisodeStreamVideoContentIdGet: <TData = AxiosResponse<SeasonsEpisodesResponseSerializer, any>>(videoContentId: number, options?: AxiosRequestConfig) => Promise<TData>;
19
+ getStreamMovieGetStreamMovieVideoContentIdGet: <TData = AxiosResponse<unknown, any>>(videoContentId: number, options?: AxiosRequestConfig) => Promise<TData>;
20
+ getStreamEpisodesGetStreamEpisodeVideoContentIdSeasonNumberGet: <TData = AxiosResponse<unknown, any>>(videoContentId: number, seasonNumber: number, options?: AxiosRequestConfig) => Promise<TData>;
21
+ getCheckStreamViewCheckStreamGet: <TData = AxiosResponse<GetCheckStreamViewCheckStreamGet200, any>>(params: GetCheckStreamViewCheckStreamGetParams, options?: AxiosRequestConfig) => Promise<TData>;
22
+ getStaffIdGetStaffidCheckStreamGet: <TData = AxiosResponse<unknown, any>>(options?: AxiosRequestConfig) => Promise<TData>;
23
+ getViewStreamViewStreamContentGet: <TData = AxiosResponse<GetViewStreamViewStreamContentGet200, any>>(params: GetViewStreamViewStreamContentGetParams, options?: AxiosRequestConfig) => Promise<TData>;
24
+ getUserWatchingLogShowUserMostWatchingLogGet: <TData = AxiosResponse<GetUserWatchingLogShowUserMostWatchingLogGet200, any>>(params: GetUserWatchingLogShowUserMostWatchingLogGetParams, options?: AxiosRequestConfig) => Promise<TData>;
25
+ getIpsWatchingLogShowIpsMostWatchingLogGet: <TData = AxiosResponse<GetIpsWatchingLogShowIpsMostWatchingLogGet200, any>>(params: GetIpsWatchingLogShowIpsMostWatchingLogGetParams, options?: AxiosRequestConfig) => Promise<TData>;
26
+ getUserListWatchingShowListWatchingByUserGet: <TData = AxiosResponse<GetUserListWatchingShowListWatchingByUserGet200, any>>(params: GetUserListWatchingShowListWatchingByUserGetParams, options?: AxiosRequestConfig) => Promise<TData>;
27
+ getDetailUserListWatchingShowDetailListWatchingByUserGet: <TData = AxiosResponse<GetDetailUserListWatchingShowDetailListWatchingByUserGet200, any>>(params: GetDetailUserListWatchingShowDetailListWatchingByUserGetParams, options?: AxiosRequestConfig) => Promise<TData>;
28
+ getWatchingLimitHistoryLogUserWatchingLimitHistoryGet: <TData = AxiosResponse<GetWatchingLimitHistoryLogUserWatchingLimitHistoryGet200, any>>(params: GetWatchingLimitHistoryLogUserWatchingLimitHistoryGetParams, options?: AxiosRequestConfig) => Promise<TData>;
29
+ showDetailStreamLogShowDetailStreamListGet: <TData = AxiosResponse<ShowDetailStreamLogShowDetailStreamListGet200, any>>(params?: ShowDetailStreamLogShowDetailStreamListGetParams, options?: AxiosRequestConfig) => Promise<TData>;
30
+ getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet: <TData = AxiosResponse<GetOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet200, any>>(params: GetOnlineWatchingHistoryLogShowOnlineWatchedHistoryGetParams, options?: AxiosRequestConfig) => Promise<TData>;
31
+ getStreamEpisodesGetContentDetailVideoContentIdGet: <TData = AxiosResponse<unknown, any>>(videoContentId: number, params?: GetStreamEpisodesGetContentDetailVideoContentIdGetParams, options?: AxiosRequestConfig) => Promise<TData>;
32
+ deleteEpisodeStreamDeleteSeriesContentDetailDelete: <TData = AxiosResponse<unknown, any>>(params: DeleteEpisodeStreamDeleteSeriesContentDetailDeleteParams, options?: AxiosRequestConfig) => Promise<TData>;
33
+ deleteMovieStreamDeleteMovieContentDetailDelete: <TData = AxiosResponse<unknown, any>>(params: DeleteMovieStreamDeleteMovieContentDetailDeleteParams, options?: AxiosRequestConfig) => Promise<TData>;
34
+ getSeasonsStreamGetStreamSeasonsNumberVideoContentIdGet: <TData = AxiosResponse<unknown, any>>(videoContentId: number, options?: AxiosRequestConfig) => Promise<TData>;
35
+ getStreamEpisodesShowTrailerListGet: <TData = AxiosResponse<unknown, any>>(params: GetStreamEpisodesShowTrailerListGetParams, options?: AxiosRequestConfig) => Promise<TData>;
36
+ enableDisableTrailerStreamSoftDeleteTrailerStreamPut: <TData = AxiosResponse<unknown, any>>(params: EnableDisableTrailerStreamSoftDeleteTrailerStreamPutParams, options?: AxiosRequestConfig) => Promise<TData>;
37
+ createMovieStreamCreateMovieTrailerPost: <TData = AxiosResponse<unknown, any>>(createMovieTrailerRequestSerializer: CreateMovieTrailerRequestSerializer, options?: AxiosRequestConfig) => Promise<TData>;
38
+ createSeriesStreamCreateSeriesTrailerPost: <TData = AxiosResponse<unknown, any>>(createSeriesTrailerRequestSerializer: CreateSeriesTrailerRequestSerializer[], options?: AxiosRequestConfig) => Promise<TData>;
39
+ getSeasonsEpisodesStreamSeasonsEpisodesVideoContentIdGet: <TData = AxiosResponse<SeasonsEpisodesResponseSerializer, any>>(videoContentId: number, options?: AxiosRequestConfig) => Promise<TData>;
40
+ showArchiveListWatchingOnlineShowArchiveListGet: <TData = AxiosResponse<unknown, any>>(params: ShowArchiveListWatchingOnlineShowArchiveListGetParams, options?: AxiosRequestConfig) => Promise<TData>;
41
+ deleteContentWatchingOnlineDeleteContentIdPut: <TData = AxiosResponse<unknown, any>>(id: string, options?: AxiosRequestConfig) => Promise<TData>;
42
+ generateStreamLinkGenerateStreamLinkGet: <TData = AxiosResponse<unknown, any>>(params: GenerateStreamLinkGenerateStreamLinkGetParams, options?: AxiosRequestConfig) => Promise<TData>;
43
+ saveStreamLogsSaveStreamLogPost: <TData = AxiosResponse<unknown, any>>(params: SaveStreamLogsSaveStreamLogPostParams, options?: AxiosRequestConfig) => Promise<TData>;
44
+ generateTrailerLinkGenerateTrailerLinkGet: <TData = AxiosResponse<unknown, any>>(params: GenerateTrailerLinkGenerateTrailerLinkGetParams, options?: AxiosRequestConfig) => Promise<TData>;
45
+ };
46
+ export type GetNonIranStreamFileGetNonIranV4ManualFilesGetResult = AxiosResponse<unknown>;
47
+ export type Add99ToServerIdUpdateServerIdGetResult = AxiosResponse<unknown>;
48
+ export type CheckingRequestFileServerCheckRequestFromFileServerGetResult = AxiosResponse<unknown>;
49
+ export type GetSystemSettingStreamSystemSettingGetResult = AxiosResponse<unknown>;
50
+ export type SetSystemSettingStreamSystemSettingPutResult = AxiosResponse<unknown>;
51
+ export type CreateMovieStreamCreateMovieStreamPostResult = AxiosResponse<unknown>;
52
+ export type CreateSeriesStreamCreateSeriesStreamPostResult = AxiosResponse<unknown>;
53
+ export type EditMovieStreamEditMovieStreamPutResult = AxiosResponse<unknown>;
54
+ export type EditSeriesStreamEditSeriesStreamPutResult = AxiosResponse<unknown>;
55
+ export type EnableDisableMovieStreamSoftDeleteMovieStreamPutResult = AxiosResponse<unknown>;
56
+ export type EnableDisableEpisodeStreamSoftDeleteEpisodeStreamPutResult = AxiosResponse<unknown>;
57
+ export type DeleteMovieStreamDeleteMovieStreamDeleteResult = AxiosResponse<unknown>;
58
+ export type DeleteEpisodeStreamDeleteEpisodeStreamDeleteResult = AxiosResponse<unknown>;
59
+ export type GenerateStreamLinkPlayContentStreamGetResult = AxiosResponse<unknown>;
60
+ export type GetSeasonsEpisodesGetEpisodeStreamVideoContentIdGetResult = AxiosResponse<SeasonsEpisodesResponseSerializer>;
61
+ export type GetStreamMovieGetStreamMovieVideoContentIdGetResult = AxiosResponse<unknown>;
62
+ export type GetStreamEpisodesGetStreamEpisodeVideoContentIdSeasonNumberGetResult = AxiosResponse<unknown>;
63
+ export type GetCheckStreamViewCheckStreamGetResult = AxiosResponse<GetCheckStreamViewCheckStreamGet200>;
64
+ export type GetStaffIdGetStaffidCheckStreamGetResult = AxiosResponse<unknown>;
65
+ export type GetViewStreamViewStreamContentGetResult = AxiosResponse<GetViewStreamViewStreamContentGet200>;
66
+ export type GetUserWatchingLogShowUserMostWatchingLogGetResult = AxiosResponse<GetUserWatchingLogShowUserMostWatchingLogGet200>;
67
+ export type GetIpsWatchingLogShowIpsMostWatchingLogGetResult = AxiosResponse<GetIpsWatchingLogShowIpsMostWatchingLogGet200>;
68
+ export type GetUserListWatchingShowListWatchingByUserGetResult = AxiosResponse<GetUserListWatchingShowListWatchingByUserGet200>;
69
+ export type GetDetailUserListWatchingShowDetailListWatchingByUserGetResult = AxiosResponse<GetDetailUserListWatchingShowDetailListWatchingByUserGet200>;
70
+ export type GetWatchingLimitHistoryLogUserWatchingLimitHistoryGetResult = AxiosResponse<GetWatchingLimitHistoryLogUserWatchingLimitHistoryGet200>;
71
+ export type ShowDetailStreamLogShowDetailStreamListGetResult = AxiosResponse<ShowDetailStreamLogShowDetailStreamListGet200>;
72
+ export type GetOnlineWatchingHistoryLogShowOnlineWatchedHistoryGetResult = AxiosResponse<GetOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet200>;
73
+ export type GetStreamEpisodesGetContentDetailVideoContentIdGetResult = AxiosResponse<unknown>;
74
+ export type DeleteEpisodeStreamDeleteSeriesContentDetailDeleteResult = AxiosResponse<unknown>;
75
+ export type DeleteMovieStreamDeleteMovieContentDetailDeleteResult = AxiosResponse<unknown>;
76
+ export type GetSeasonsStreamGetStreamSeasonsNumberVideoContentIdGetResult = AxiosResponse<unknown>;
77
+ export type GetStreamEpisodesShowTrailerListGetResult = AxiosResponse<unknown>;
78
+ export type EnableDisableTrailerStreamSoftDeleteTrailerStreamPutResult = AxiosResponse<unknown>;
79
+ export type CreateMovieStreamCreateMovieTrailerPostResult = AxiosResponse<unknown>;
80
+ export type CreateSeriesStreamCreateSeriesTrailerPostResult = AxiosResponse<unknown>;
81
+ export type GetSeasonsEpisodesStreamSeasonsEpisodesVideoContentIdGetResult = AxiosResponse<SeasonsEpisodesResponseSerializer>;
82
+ export type ShowArchiveListWatchingOnlineShowArchiveListGetResult = AxiosResponse<unknown>;
83
+ export type DeleteContentWatchingOnlineDeleteContentIdPutResult = AxiosResponse<unknown>;
84
+ export type GenerateStreamLinkGenerateStreamLinkGetResult = AxiosResponse<unknown>;
85
+ export type SaveStreamLogsSaveStreamLogPostResult = AxiosResponse<unknown>;
86
+ export type GenerateTrailerLinkGenerateTrailerLinkGetResult = AxiosResponse<unknown>;
@@ -0,0 +1,491 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.getStreamMicroserviceAPI = void 0;
7
+ /**
8
+ * 30nama-SDK
9
+ */
10
+ const axios_1 = __importDefault(require("axios"));
11
+ const getStreamMicroserviceAPI = () => {
12
+ /**
13
+ * **Last Version Update: 1.4.3**<br>Codes: U1.5n1 <br><br>**Change Log:**<br>[new API]<br><br>**Description Of Endpoint:**<br>[<br>**Note:**<br>1- If the server_number parameter is empty, it returns all records where version is '4' and custom_m3u8 is 'True', and server_id is not equal to '[ ,99]' in the response. <br>2- If the server_number parameter is present in the input, it returns all records where version is '4', custom_m3u8 is 'True', and server_id is not equal to '[ ,99]', and server_id = '[server_number]' in the response. <br>3- If the server_number = 99 , it returns all records where version is 4, custom_m3u8 is True, and server_id is [ ,99] in the response. <br><br>You can filter based on content type (Movie / Series / All) and date range.
14
+ <br>
15
+ .نام فیچر: عملیات مرتبط با فایل سرور در استریم <br><br>
16
+ ]<br>
17
+ * @summary Get Non Iran Stream File
18
+ */
19
+ const getNonIranStreamFileGetNonIranV4ManualFilesGet = (params, options) => {
20
+ return axios_1.default.get(`/get-non-iran-v4-manual-files`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
21
+ };
22
+ /**
23
+ * **Last Version Update: 1.4.3**<br>Codes: U1.5n1 <br><br>**Change Log:**<br>[new API]<br><br>**Description Of Endpoint:**<br>[<br>A path (movie or series) is provided as input to the API, and based on that path, the content's server_id field is updated to include code 99 <br>Movie path Example: /movies/u/untold_caitlyn_jenner_2021 <br>Series path Example: /series/k/koala_man/koala_man_s01e07 <br>
24
+ <br>
25
+ .نام فیچر: عملیات مرتبط با فایل سرور در استریم <br><br>
26
+ ]<br>
27
+ * @summary Add 99 To Server Id
28
+ */
29
+ const add99ToServerIdUpdateServerIdGet = (params, options) => {
30
+ return axios_1.default.get(`/update-server-id`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
31
+ };
32
+ /**
33
+ * **Last Version Update: 1.4.3**<br>Codes: U1.5n1 <br><br>**Change Log:**<br>[new API]<br><br>**Description Of Endpoint:**<br>[<br> This endpoint, by receiving stream_content_id, user_id, and ip, checks that: <br> 1. The content exists in the database. <br> 2. The user is authorized to watch online. <br> 3. The user has not reached the online viewing limit. <br> 4. The IP is not blocked. <br> 5. And finally, it displays the country code associated with the IP in the response. <br>
34
+ <br>
35
+ .نام فیچر: عملیات مرتبط با فایل سرور در استریم <br><br>
36
+ ]<br>
37
+ * @summary Checking Request File Server
38
+ */
39
+ const checkingRequestFileServerCheckRequestFromFileServerGet = (params, options) => {
40
+ return axios_1.default.get(`/Check-request-from-file-server`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
41
+ };
42
+ /**
43
+ * **Last Version Update: 1.16.1**<br>Codes: 2.12.4 <br><br>**Change Log:**<br>[V1.16.1 , Add new endpoint for get system setting]<br><br>**Description Of Endpoint:**<br>[<br>for active and deactive multi device<br><br>
44
+ <br>
45
+ .نام فیچر: تنظیمات سیستمی مرتبط با تماشای آنلاین <br><br>
46
+ ]<br>
47
+ * @summary Get System Setting
48
+ */
49
+ const getSystemSettingStreamSystemSettingGet = (options) => {
50
+ return axios_1.default.get(`/stream-system-setting`, options);
51
+ };
52
+ /**
53
+ * **Last Version Update: 1.16.1**<br>Codes: 2.12.4 <br><br>**Change Log:**<br>[V1.16.1 , Add new endpoint for set system setting]<br><br>**Description Of Endpoint:**<br>[<br>for active and deactive multi device<br><br>
54
+ <br>
55
+ .نام فیچر: تنظیمات سیستمی مرتبط با تماشای آنلاین <br><br>
56
+ ]<br>
57
+ * @summary Set System Setting
58
+ */
59
+ const setSystemSettingStreamSystemSettingPut = (params, options) => {
60
+ return axios_1.default.put(`/stream-system-setting`, undefined, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
61
+ };
62
+ /**
63
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n1 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>create movie stream <br><br>• Persian_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• English_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• intro_start, intro_end, end => Time is based on seconds <br><br>• Letter: Enter only one character.<br><br>
64
+ <br>
65
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
66
+ ]<br>
67
+ * @summary Create Movie Stream
68
+ */
69
+ const createMovieStreamCreateMovieStreamPost = (createMovieStreamRequestSerializer, options) => {
70
+ return axios_1.default.post(`/create-movie-stream`, createMovieStreamRequestSerializer, options);
71
+ };
72
+ /**
73
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n2 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>create series(episodes) stream <br><br>In this endpoint, you can send a list of episodes for streaming. [{},{},{}] <br><br>• Persian_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• English_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• Intro_start, intro_end, end, previously_start, previously_end => Time is based on seconds• Display:[ True => Hide , False => Show ]<br><br>• Letter: Enter only one character.<br><br>
74
+ <br>
75
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
76
+ ]<br>
77
+ * @summary Create Series Stream
78
+ */
79
+ const createSeriesStreamCreateSeriesStreamPost = (createSeriesStreamRequestSerializer, options) => {
80
+ return axios_1.default.post(`/create-series-stream`, createSeriesStreamRequestSerializer, options);
81
+ };
82
+ /**
83
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n3 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br> edit movie stream <br><br>• Persian_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• English_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• Intro_start, intro_end, end,=> Time is based on seconds • Updateupgrade: [ True: 1 => Yes , False: 0 => No ]<br><br>• Probleam: [ ok, no_problem, no_file, audio_error, video_error, Commentary, Dubbed ]<br><br>
84
+ <br>
85
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
86
+ ]<br>
87
+ * @summary Edit Movie Stream
88
+ */
89
+ const editMovieStreamEditMovieStreamPut = (editMovieStreamRequestSerializer, options) => {
90
+ return axios_1.default.put(`/edit-movie-stream`, editMovieStreamRequestSerializer, options);
91
+ };
92
+ /**
93
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n4 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br> edit series stream <br><br>• Persian_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• English_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• Intro_start, intro_end, end, previously_start, previously_end => Time is based on seconds • Display:[ True => Hide , False => Show ]<br><br>• pdateupgrade: [ True => Yes , False => No ]<br><br>• Probleam: [ ok, no_problem, no_file, audio_error, video_error, Commentary, Dubbed ]<br><br>
94
+ <br>
95
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
96
+ ]<br>
97
+ * @summary Edit Series Stream
98
+ */
99
+ const editSeriesStreamEditSeriesStreamPut = (editSeriesStreamRequestSerializer, options) => {
100
+ return axios_1.default.put(`/edit-series-stream`, editSeriesStreamRequestSerializer, options);
101
+ };
102
+ /**
103
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n5 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>NOTE: Enable and disable content using the is_delete field.<br><br>NOTE: This API is for enabling the is_delete option in the database for move . If is_delete is active (i.e., is_delete=True), that video will not be displayed in the streaming list.<br><br>NOTE: (The data is not deleted from the database) <br><br>is_delete:[ True => The video will be deleted. , False => The video will not be delete<br><br>
104
+ <br>
105
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
106
+ ]<br>
107
+ * @summary Enable Disable Movie Stream
108
+ */
109
+ const enableDisableMovieStreamSoftDeleteMovieStreamPut = (params, options) => {
110
+ return axios_1.default.put(`/soft-delete-movie-stream`, undefined, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
111
+ };
112
+ /**
113
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n6 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>NOTE: Enable and disable content using the is_delete field.<br><br>NOTE: This API is for enabling the is_delete option in the database for series , episode. If is_delete is active (i.e., is_delete=True), that video will not be displayed in the streaming list.<br><br>NOTE: (The data is not deleted from the database) <br><br>is_delete:[ True => The video will be deleted. , False => The video will not be delete<br><br>
114
+ <br>
115
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
116
+ ]<br>
117
+ * @summary Enable Disable Episode Stream
118
+ */
119
+ const enableDisableEpisodeStreamSoftDeleteEpisodeStreamPut = (params, options) => {
120
+ return axios_1.default.put(`/soft_delete-episode-stream`, undefined, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
121
+ };
122
+ /**
123
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n5 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>NOTE: This API will delete the record from the database.<br><br>
124
+ <br>
125
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
126
+ ]<br>
127
+ * @summary Delete Movie Stream
128
+ */
129
+ const deleteMovieStreamDeleteMovieStreamDelete = (params, options) => {
130
+ return axios_1.default.delete(`/delete-movie-stream`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
131
+ };
132
+ /**
133
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n6 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>NOTE: This API will delete the record from the database.<br><br>If you enter only the video_content_id, all subcategories of that series, including all seasons and episodes, will be deleted.<br><br>If you enter the video_content_id and season_number, all information related to that season, including all its episodes, will be deleted.<br><br> If you enter the video_content_id, season_number, and episode_number, only that specific episode of that season will be deleted.<br><br>
134
+ <br>
135
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
136
+ ]<br>
137
+ * @summary Delete Episode Stream
138
+ */
139
+ const deleteEpisodeStreamDeleteEpisodeStreamDelete = (params, options) => {
140
+ return axios_1.default.delete(`/delete-episode-stream`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
141
+ };
142
+ /**
143
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n7, U2.5.21n8 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>This API is used to generate an online streaming link for a movie or an episode of a series.<br><br>For a movie, only the video_content_id needs to be entered, and for a series, the video_content_id, series_number, and episode_number should be entered.<br><br> It also checks the limit for a user's online viewing in the past 24 hours.<br><br> Along with the link, if the user has previously watched the movie and hasn't finished watching it yet,<br><br> it displays the 'Elapsed_time' field (the time elapsed from the content) and the 'duration' field (the total duration of the movie).<br><br>'intro_start' and 'intro_end' represent the start and end times of the first intro of the content.<br><br>
144
+ <br>
145
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
146
+ [<br>
147
+ * @summary Generate Stream Link
148
+ */
149
+ const generateStreamLinkPlayContentStreamGet = (params, options) => {
150
+ return axios_1.default.get(`/play_content_stream`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
151
+ };
152
+ /**
153
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n2, next_episode_id field <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It show a list of seasons along with their episodes to the admin for choice next_episode field.<br><br> show all seasons and episodes for a stream_content_id.<br><br>
154
+ <br>
155
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
156
+ ]<br>
157
+ * @summary Get Seasons Episodes
158
+ */
159
+ const getSeasonsEpisodesGetEpisodeStreamVideoContentIdGet = (videoContentId, options) => {
160
+ return axios_1.default.get(`/get_episode_stream/${videoContentId}`, options);
161
+ };
162
+ /**
163
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n4 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It show a all data for that movie for edit<br><br>
164
+ <br>
165
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
166
+ ]<br>
167
+ * @summary Get Stream Movie
168
+ */
169
+ const getStreamMovieGetStreamMovieVideoContentIdGet = (videoContentId, options) => {
170
+ return axios_1.default.get(`/get_stream-movie/${videoContentId}`, options);
171
+ };
172
+ /**
173
+ * **Last Version Update: 1.13.0**<br>Codes: U2.5.21n4 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It show a all data for that movie for edit<br><br>
174
+ <br>
175
+ .نام فیچر: عملیات مرتبط با استریم محتوای ویدیویی <br><br>
176
+ [<br>
177
+ * @summary Get Stream Episodes
178
+ */
179
+ const getStreamEpisodesGetStreamEpisodeVideoContentIdSeasonNumberGet = (videoContentId, seasonNumber, options) => {
180
+ return axios_1.default.get(`/get_stream-episode/${videoContentId}/${seasonNumber}`, options);
181
+ };
182
+ /**
183
+ * **Last Version Update: 1.0.0**<br>Codes: U2.9.7N1, U2.9.7N2, U2.9.7N3 <br><br>**Change Log:**<br>[...]<br><br>**Description Of Endpoint:**<br>[<br>This feature is for monitoring the performance of the stream check team.<br><br>NOTE: Filter by staff code, filter by content type, filter by applying date and time, and apply pagination.<br><br>NOTE: format start_datetime : 'YYYY-MM-DD' OR 'YYYY-MM-DDTHH:MM:SS' for example: '2020-01-16' OR '2020-01-16T09:41:29'.<br><br>NOTE: format end_datetime : 'YYYY-MM-DD' OR 'YYYY-MM-DDTHH:MM:SS' for example: '2022-01-16' OR '2020-01-16T09:41:29'<br><br>Sort by: DESCENDING <br><br>
184
+ <br>
185
+ .نام فیچر: مشاهده عملکرد تیم چک استریم <br><br>
186
+ ]<br>
187
+ * @summary Get Check Stream
188
+ */
189
+ const getCheckStreamViewCheckStreamGet = (params, options) => {
190
+ return axios_1.default.get(`/View-check-stream`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
191
+ };
192
+ /**
193
+ * **Last Version Update: 1.0.0**<br>Codes: 2.9.7, Frontend request <br><br>**Change Log:**<br>[...]<br><br>**Description Of Endpoint:**<br>[<br>This API is implemented at the request of the frontend to return staff IDs from the stream_content table.<br><br>
194
+ <pre>
195
+ "data": {
196
+ "num_staff_id": تعدا کل شناسه کاربری,
197
+ "staff_id_list": [
198
+ ]
199
+ }
200
+ </pre>
201
+ <br>
202
+ ]<br>
203
+ * @summary Get Staff Id
204
+ */
205
+ const getStaffIdGetStaffidCheckStreamGet = (options) => {
206
+ return axios_1.default.get(`/get-staffid-check-stream`, options);
207
+ };
208
+ /**
209
+ * **Last Version Update: 1.0.0**<br>Codes: 2.6.12N1, 2.6.12N2, 2.6.12N3 <br><br>**Change Log:**<br>[...]<br><br>**Description Of Endpoint:**<br>[<br>filter by content name, filter by content type, filter by custom date and time, and apply pagination and sort by.<br><br>format start_datetime : 'YYYY-MM-DD' OR 'YYYY-MM-DDTHH:MM:SS' for example: '2020-01-16' OR '2020-01-16T09:41:29'.<br><br>format end_datetime : 'YYYY-MM-DD' OR 'YYYY-MM-DDTHH:MM:SS' for example: '2022-01-16' OR '2020-01-16T09:41:29'.<br><br>Sort by: DESCENDING <br><br>
210
+ <br>
211
+ .نام فیچر: مشاهده آمار روزانه استریم با قابلیت فیلتر <br><br>
212
+ ]<br>
213
+ * @summary Get View Stream
214
+ */
215
+ const getViewStreamViewStreamContentGet = (params, options) => {
216
+ return axios_1.default.get(`/view-stream-content`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
217
+ };
218
+ /**
219
+ * **Last Version Update: 1.15.0**<br>Codes: 2.6.8N1, 2.6.8N2, 2.6.8N3 <br><br>**Change Log:**<br>[V1.15.0, add 'Elasticsearch' to api ]<br><br>[V1.12.0 , add serch content name to api]<br><br>**Description Of Endpoint:**<br>[<br>Retrieve users with the most online watching, filter by user ID, separate by day, and apply pagination and sort by.<br><br>Note: with_elastic is set to `True` by default.<br>If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>
220
+ <br>
221
+ .نام فیچر: مشاهده سابقه تماشای آنلاین توسط کاربر <br><br
222
+ ]<br>
223
+ * @summary Get User Watching Log
224
+ */
225
+ const getUserWatchingLogShowUserMostWatchingLogGet = (params, options) => {
226
+ return axios_1.default.get(`/show-user-most-watching-log`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
227
+ };
228
+ /**
229
+ * **Last Version Update: 1.16.0**<br>Codes: A2.6.10N1, A2.6.10N2<br><br>**Change Log:**<br>[V1.15.0, add 'Elasticsearch' to api ]<br><br>[V1.11.0 , Receive the input value user_codes as a list, rename the input field.]<br><br>[V1.16.0 , The input field **user_id** in the request and response of the endpoint has been changed to **video_content_id**..]<br><br>**Description Of Endpoint:**<br>[<br>Retrieve IPs with the most online watching by default in the past week, apply a custom date range, sort by, filter by content type, and pagination.<br><br>format start_datetime : 'YYYY-MM-DD' OR 'YYYY-MM-DDTHH:MM:SS' for example: '2020-01-16' OR '2020-01-16T09:41:29'<br><br>format end_datetime : 'YYYY-MM-DD' OR 'YYYY-MM-DDTHH:MM:SS' for example: '2022-01-16' OR '2020-01-16T09:41:29'<br><br>
230
+ "Note: with_elastic is set to `True` by default.<br>"
231
+ "If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>"
232
+ "If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>"
233
+ "If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>"
234
+ "If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>"
235
+ <br>
236
+ .نام فیچر: مشاهده سابقه IP های با بیشترین تماشای آنلاین <br><br>
237
+ ]<br>
238
+ * @summary Get Ips Watching Log
239
+ */
240
+ const getIpsWatchingLogShowIpsMostWatchingLogGet = (params, options) => {
241
+ return axios_1.default.get(`/show-ips-most-watching-log`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
242
+ };
243
+ /**
244
+ * **Last Version Update: 1.15.0**<br>Codes: A2.1.9.5N1, A2.1.9.5N2, A2.1.9.5N3 <br><br>**Change Log:**<br>[V1.15.0, add 'Elasticsearch' to api ]<br><br>**Description Of Endpoint:**<br>[<br>show list watching online by user.<br><br>Retrieve necessary user information with pagination and sort by.<br><br>Search based on the entered content name.<br><br>Get users whose online watching is within the entered numerical range.<br><br>NOTE: For testing this api, you should enter user_id or content_name or numeric_range.<br><br>Note: with_elastic is set to `True` by default.<br>If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>
245
+ <br>
246
+ .نام فیچر: مشاهده فهرست تماشای آنلاین توسط کاربر <br><br
247
+ ]<br>
248
+ * @summary Get User List Watching
249
+ */
250
+ const getUserListWatchingShowListWatchingByUserGet = (params, options) => {
251
+ return axios_1.default.get(`/show-list-watching-by-user`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
252
+ };
253
+ /**
254
+ * **Last Version Update: 1.15.0**<br>Codes: A2.1.9.5N1, A2.1.9.5N2, A2.1.9.5N3 <br><br>**Change Log:**<br>[V1.15.0, add 'Elasticsearch' to api ]<br><br>**Description Of Endpoint:**<br>[<br>show list watching online by user.<br><br>Retrieve necessary user information with pagination and sort by.<br><br>Search based on the entered content name.<br><br>Get users whose online watching is within the entered numerical range.<br><br>NOTE: For testing this api, you should enter user_id or content_name or numeric_range.<br><br>Note: with_elastic is set to `True` by default.<br>If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>
255
+ <br>
256
+ .نام فیچر: مشاهده فهرست تماشای آنلاین توسط کاربر <br><br
257
+ ]<br>
258
+ * @summary Get Detail User List Watching
259
+ */
260
+ const getDetailUserListWatchingShowDetailListWatchingByUserGet = (params, options) => {
261
+ return axios_1.default.get(`/show-detail-list-watching-by-user`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
262
+ };
263
+ /**
264
+ * **Last Version Update: 1.15.0**<br>Codes: A2.1.9.2.2N1, A2.1.9.2.2N2 <br><br>**Change Log:**<br>[V1.15.0, add Elasticsearch to api ]<br><br>**Description Of Endpoint:**<br>[<br>View the history of users who have reached the online viewing limit.<br>user logging feature with an online watching limit.<br>This API is for a user logging feature with an online watching limit.<br>The watching_limit_history is a number that shows the limit.<br>date format: %Y-%m-%d. => Exp: 2024-01-01 . <br><br>Note: with_elastic is set to `True` by default.<br>If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>
265
+ <pre>
266
+ "data": {
267
+ "sum_records": تعداد کل رکوردها,
268
+ "download_limit": تعیین سقف محدودیت تماشای آنلاین,
269
+ "user_has_download_limit_count": تعداد کاربرانی که به سقف محدودیت تماشای آنلاین رسیده اند,
270
+ "data_records": [
271
+ {
272
+ "user_id": _id کاربر,
273
+ "download_history_count": تعداد سابقه تماشای آنلاین,
274
+ "user_has_download_limit": آیا کاربر به سقف محدودیت رسیده است یا خیر,
275
+ "download_percentage": میزان تماشای آنلاین بر اساس درصد
276
+ },
277
+ </pre>
278
+ .نام فیچر: مشاهده سابقه کاربرانی که به سقف محدودیت تماشای انلاین رسیده اند. <br><br>]<br>
279
+ * @summary Get Watching Limit History Log
280
+ */
281
+ const getWatchingLimitHistoryLogUserWatchingLimitHistoryGet = (params, options) => {
282
+ return axios_1.default.get(`/user-watching-limit-history`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
283
+ };
284
+ /**
285
+ * **Last Version Update: 1.0.0**<br>Codes: A2.6.6N4, A2.6.6N5, A2.6.6N6 <br><br>**Change Log:**<br>[...]<br><br>**Description Of Endpoint:**<br>[<br>Show detail stream list.<br><br>date format: %Y-%m-%d. => Exp: 2024-01-01 . <br>.نام فیچر: مشاهده سابقه تماشای آنلاین <br><br>]<br>
286
+ * @summary Show Detail Stream Log
287
+ */
288
+ const showDetailStreamLogShowDetailStreamListGet = (params, options) => {
289
+ return axios_1.default.get(`/show-detail-stream-list`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
290
+ };
291
+ /**
292
+ * **Last Version Update: 1.15.0**<br>Codes: A2.6.6N4, A2.6.6N5, A2.6.6N6 <br><br>**Change Log:**<br>[V1.15.0, add 'Elasticsearch' and 'pagenations' to api ]<br><br>**Description Of Endpoint:**<br>[<br>Show online watched history, 'last-week' and 'last-month' .<br><br>Note: with_elastic is set to `True` by default.<br>If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>.نام فیچر: مشاهده سابقه تماشای آنلاین <br><br>]<br>
293
+ * @summary Get Online Watching History Log
294
+ */
295
+ const getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet = (params, options) => {
296
+ return axios_1.default.get(`/show-online-watched-history`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
297
+ };
298
+ /**
299
+ * **Last Version Update: 1.13.0**<br>Codes: A2.5.8N3 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It show a all data for that movie and series.<br><br>If you enter only the video_content_id:<br><br>Movie: it returns the information related to the video.<br><br>Series: it returns the information related to the all seasons and episodes.<br><br>If you also enter the season_number and episode_number, it returns information about the specific episode and season.<br><br>
300
+ <br>
301
+ .نام فیچر: قایلبیت ادغام کردن دو پست ویدیویی <br><br>
302
+ [<br>
303
+ * @summary Get Stream Episodes
304
+ */
305
+ const getStreamEpisodesGetContentDetailVideoContentIdGet = (videoContentId, params, options) => {
306
+ return axios_1.default.get(`/get-content-detail/${videoContentId}`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
307
+ };
308
+ /**
309
+ * **Last Version Update: 1.13.0**<br>Codes: A2.5.8N3 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>Delete series(episode) stream in database.<br><br>If you enter only the video_content_id, all subcategories of that series, including all seasons and episodes, will be deleted.<br><br>If you enter the video_content_id and season_number, all information related to that season, including all its episodes, will be deleted.<br><br> If you enter the video_content_id, season_number, and episode_number, only that specific episode of that season will be deleted.<br><br>
310
+ <br>
311
+ .نام فیچر: قایلبیت ادغام کردن دو پست ویدیویی <br><br>
312
+ ]<br>
313
+ * @summary Delete Episode Stream
314
+ */
315
+ const deleteEpisodeStreamDeleteSeriesContentDetailDelete = (params, options) => {
316
+ return axios_1.default.delete(`/delete-series-content-detail`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
317
+ };
318
+ /**
319
+ * **Last Version Update: 1.13.0**<br>Codes: A2.5.8N3 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It deletes the movie from the database.<br><br>
320
+ <br>
321
+ .نام فیچر: قایلبیت ادغام کردن دو پست ویدیویی <br><br>
322
+ ]<br>
323
+ * @summary Delete Movie Stream
324
+ */
325
+ const deleteMovieStreamDeleteMovieContentDetailDelete = (params, options) => {
326
+ return axios_1.default.delete(`/delete-movie-content_detail`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
327
+ };
328
+ /**
329
+ * **Last Version Update: 1.13.0**<br>Codes: frontend <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It show a list of seasons , ['1','2','3']<br><br>
330
+ <br>
331
+ .نام فیچر: به درخواست فرانت اند انجام شد <br><br>
332
+ ]<br>
333
+ * @summary Get Seasons Stream
334
+ */
335
+ const getSeasonsStreamGetStreamSeasonsNumberVideoContentIdGet = (videoContentId, options) => {
336
+ return axios_1.default.get(`/get_stream_seasons_number/${videoContentId}`, options);
337
+ };
338
+ /**
339
+ * **Last Version Update: 1.16.0**<br>Codes: A2.6.13N1, A2.6.13N4 <br><br>**Change Log:**<br>[V1.16.0, create api]<br><br>**Description Of Endpoint:**<br>[<br>It show a all trailer list.<br><br>
340
+ <br>
341
+ .نام فیچر: آپلود و حذف تریلر برای هر محتوا <br><br>
342
+ [<br>
343
+ * @summary Get Stream Episodes
344
+ */
345
+ const getStreamEpisodesShowTrailerListGet = (params, options) => {
346
+ return axios_1.default.get(`/show-trailer-list`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
347
+ };
348
+ /**
349
+ * **Last Version Update: 1.16.0**<br>Codes: A2.6.13N3 <br><br>**Change Log:**<br>[V1.16.0, create api]<br><br>**Description Of Endpoint:**<br>[<br>NOTE: Enable and disable content trailer using the is_delete field.<br><br>NOTE: This API is for enabling the is_delete option in the database for 'Trailer' . If is_delete is active (i.e., is_delete=True), that video will not be displayed in the streaming list trailer.<br><br>NOTE: (The data is not deleted from the database) <br><br>is_delete:[ True => The video will be deleted. , False => The video will not be delete<br><br>
350
+ <br>
351
+ .نام فیچر: آپلود و حذف تریلر برای هر محتوا <br><br>
352
+ ]<br>
353
+ * @summary Enable Disable Trailer Stream
354
+ */
355
+ const enableDisableTrailerStreamSoftDeleteTrailerStreamPut = (params, options) => {
356
+ return axios_1.default.put(`/soft-delete-trailer-stream`, undefined, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
357
+ };
358
+ /**
359
+ * **Last Version Update: 1.16.0**<br>Codes: U2.6.13n3, U2.6.13E2<br><br>**Change Log:**<br>[V1.16.0, create api]<br><br>**Description Of Endpoint:**<br>[<br>create movie stream <br><br>• Persian_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• English_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• NOTE: Time is based on seconds <br><br>
360
+ <br>
361
+ .نام فیچر: آپلود و حذف تریلر برای هر محتوا <br><br>
362
+ ]<br>
363
+ * @summary Create Movie Stream
364
+ */
365
+ const createMovieStreamCreateMovieTrailerPost = (createMovieTrailerRequestSerializer, options) => {
366
+ return axios_1.default.post(`/create-movie-trailer`, createMovieTrailerRequestSerializer, options);
367
+ };
368
+ /**
369
+ * **Last Version Update: 1.16.0**<br>Codes: U2.6.13n3, U2.6.13E2 <br><br>**Change Log:**<br>[V1.16.0, Create api]<br><br>**Description Of Endpoint:**<br>[<br>create series(episodes) stream <br><br>In this endpoint, you can send a list of episodes for streaming. [{},{},{}] <br><br>• Persian_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• English_subtitle: [ True: 1 => دارد , False: 0 => ندارد ]<br><br>• NOTE: Time is based on seconds <br><br>
370
+ <br>
371
+ .نام فیچر: آپلود و حذف تریلر برای هر محتوا <br><br>
372
+ ]<br>
373
+ * @summary Create Series Stream
374
+ */
375
+ const createSeriesStreamCreateSeriesTrailerPost = (createSeriesTrailerRequestSerializer, options) => {
376
+ return axios_1.default.post(`/create-series-trailer`, createSeriesTrailerRequestSerializer, options);
377
+ };
378
+ /**
379
+ * **Last Version Update: 1.13.0**<br>Codes: U1.3.16N7 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>It displays a list of seasons along with their episodes to the user<br><br>For streaming those episodes online, it utilizes another API<br><br>
380
+ <br>
381
+ .نام فیچر: پخش محتوا ویدیویی <br><br>
382
+ ]<br>
383
+ * @summary Get Seasons Episodes
384
+ */
385
+ const getSeasonsEpisodesStreamSeasonsEpisodesVideoContentIdGet = (videoContentId, options) => {
386
+ return axios_1.default.get(`/stream-seasons-episodes/${videoContentId}`, options);
387
+ };
388
+ /**
389
+ * **Last Version Update: 1.15.0**<br>Codes: U1.3.17N1, U1.3.17N5, U1.3.17N6 <br><br>**Change Log:**<br>[V1.15.0, Remove **page_size** from the endpoint input and add 'Elasticsearch' to api]<br><br>[V1.10.0 add video_content_id to response and update exp value]<br><br>**Description Of Endpoint:**<br>[<br>It displays the 6 most recent video contents that the user hasn't finished watching<br><br>Selecting the (Archive) button: It displays a list of all movies and series that the user hasn't watched until the end<br><br>The user can select the type of content and the content will be filtered accordingly (all, movie, series)<br><br>The front-end developer will handle the search functionality based on the type (All, Movie, series)<br><br>sort by: DESCENDING <br><br>Note: with_elastic is set to `True` by default.<br>If `with_elastic = True`, it uses `Elasticsearch`. If an error occurs, it automatically switches to `MongoDB`.<br>If `with_elastic = False`, it uses `MongoDB`. If an error occurs, it automatically switches to `Elasticsearch`.<br>If the `status_code` in the response is `200`, it means the response was received from `MongoDB`.<br>If the `status_code` in the response is `600`, it means the response was received from `Elasticsearch`.<br><br>
390
+ <br>
391
+ .نام فیچر: نمایش لاگ تماشای آنلاین مشترک <br><br>
392
+ ]<br>
393
+ * @summary Show Archive List Watching Online
394
+ */
395
+ const showArchiveListWatchingOnlineShowArchiveListGet = (params, options) => {
396
+ return axios_1.default.get(`/show-archive-list`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
397
+ };
398
+ /**
399
+ * **Last Version Update: 1.0.0**<br>Codes: U1.3.17N4 <br><br>**Change Log:**<br>[...]<br><br>**Description Of Endpoint:**<br>[<br>The user can delete a content from their online watchlist. (Disable streaming in the database) <br><br>
400
+ <br>
401
+ .نام فیچر: نمایش لاگ تماشای آنلاین مشترک <br><br>
402
+ ]<br>
403
+ * @summary Delete Content Watching Online
404
+ */
405
+ const deleteContentWatchingOnlineDeleteContentIdPut = (id, options) => {
406
+ return axios_1.default.put(`/delete-content/${id}`, undefined, options);
407
+ };
408
+ /**
409
+ * **Last Version Update: 1.13.0**<br>Codes: U1.3.17N2, U1.3.18n1 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>This API is used to generate an online streaming link and subtitle_link for a movie or an episode of a series.<br><br>For a movie, only the video_content_id needs to be entered, and for a series, the video_content_id, series_number, and episode_number should be entered.<br><br> It also checks banned_ip and the limit for a user's online viewing in the past 24 hours.<br><br> Along with the link, if the user has previously watched the movie and hasn't finished watching it yet,<br><br> it displays the 'Elapsed_time' field (the time elapsed from the content) and the 'duration' field (the total duration of the movie).<br><br>'intro_start' and 'intro_end' represent the start and end times of the first intro of the content.<br><br><br>operation Enabling or disabling multi-device streaming<br>Additionally, the operation of enabling or disabling simultaneous online streaming has been applied to this endpoint. If simultaneous online streaming is disabled for a user, a user who is currently watching online will not be able to generate another stream link.<br><br>
410
+ <br>
411
+ "Codes: U1.3.17N2, U1.3.18n1
412
+
413
+ "
414
+ .نام فیچر: نمایش لاگ تماشای آنلاین مشترک <br><br>
415
+ .نام فیچر: نمایش لینک ادامه تماشا <br><br>
416
+ ]<br>
417
+ * @summary Generate Stream Link
418
+ */
419
+ const generateStreamLinkGenerateStreamLinkGet = (params, options) => {
420
+ return axios_1.default.get(`/generate-stream-link`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
421
+ };
422
+ /**
423
+ * **Last Version Update: 1.13.0**<br>Codes: U1.3.18n1, U1.3.16n1 <br><br>**Change Log:**<br>[V1.13.0 , video_content_id get integer]<br><br>**Description Of Endpoint:**<br>[<br>This API is for saving content information from the frontend <br><br>time => The value of the time field must be divisible by 30. (30, 60, 90, 120 ,...) <br><br>duration => Total content time in seconds. <br><br>
424
+ <br>
425
+ .نام فیچر: نمایش لینک ادامه تماشا <br><br>
426
+ .نام فیچر: پخش محتوا ویدیویی <br><br>
427
+ ]<br>
428
+ * @summary Save Stream Logs
429
+ */
430
+ const saveStreamLogsSaveStreamLogPost = (params, options) => {
431
+ return axios_1.default.post(`/save-stream-log`, undefined, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
432
+ };
433
+ /**
434
+ * **Last Version Update: 1.16.0**<br>Codes: U1.3.14n1 <br><br>**Change Log:**<br>[V1.16.0, Create api]<br><br>**Description Of Endpoint:**<br>[<br>This API is used to generate an online trailer link and subtitle_link for a movie or an episode of a series.<br><br>For a movie, only the video_content_id needs to be entered, and for a series, the video_content_id, series_number, and episode_number should be entered.<br><br> It also checks banned_ip .<br><br>
435
+ <br>
436
+ "Codes: U1.3.14n1
437
+
438
+ "
439
+ .نام فیچر: نمایش تریلر <br><br>
440
+ ]<br>
441
+ * @summary Generate Trailer Link
442
+ */
443
+ const generateTrailerLinkGenerateTrailerLinkGet = (params, options) => {
444
+ return axios_1.default.get(`/generate-trailer-link`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
445
+ };
446
+ return {
447
+ getNonIranStreamFileGetNonIranV4ManualFilesGet,
448
+ add99ToServerIdUpdateServerIdGet,
449
+ checkingRequestFileServerCheckRequestFromFileServerGet,
450
+ getSystemSettingStreamSystemSettingGet,
451
+ setSystemSettingStreamSystemSettingPut,
452
+ createMovieStreamCreateMovieStreamPost,
453
+ createSeriesStreamCreateSeriesStreamPost,
454
+ editMovieStreamEditMovieStreamPut,
455
+ editSeriesStreamEditSeriesStreamPut,
456
+ enableDisableMovieStreamSoftDeleteMovieStreamPut,
457
+ enableDisableEpisodeStreamSoftDeleteEpisodeStreamPut,
458
+ deleteMovieStreamDeleteMovieStreamDelete,
459
+ deleteEpisodeStreamDeleteEpisodeStreamDelete,
460
+ generateStreamLinkPlayContentStreamGet,
461
+ getSeasonsEpisodesGetEpisodeStreamVideoContentIdGet,
462
+ getStreamMovieGetStreamMovieVideoContentIdGet,
463
+ getStreamEpisodesGetStreamEpisodeVideoContentIdSeasonNumberGet,
464
+ getCheckStreamViewCheckStreamGet,
465
+ getStaffIdGetStaffidCheckStreamGet,
466
+ getViewStreamViewStreamContentGet,
467
+ getUserWatchingLogShowUserMostWatchingLogGet,
468
+ getIpsWatchingLogShowIpsMostWatchingLogGet,
469
+ getUserListWatchingShowListWatchingByUserGet,
470
+ getDetailUserListWatchingShowDetailListWatchingByUserGet,
471
+ getWatchingLimitHistoryLogUserWatchingLimitHistoryGet,
472
+ showDetailStreamLogShowDetailStreamListGet,
473
+ getOnlineWatchingHistoryLogShowOnlineWatchedHistoryGet,
474
+ getStreamEpisodesGetContentDetailVideoContentIdGet,
475
+ deleteEpisodeStreamDeleteSeriesContentDetailDelete,
476
+ deleteMovieStreamDeleteMovieContentDetailDelete,
477
+ getSeasonsStreamGetStreamSeasonsNumberVideoContentIdGet,
478
+ getStreamEpisodesShowTrailerListGet,
479
+ enableDisableTrailerStreamSoftDeleteTrailerStreamPut,
480
+ createMovieStreamCreateMovieTrailerPost,
481
+ createSeriesStreamCreateSeriesTrailerPost,
482
+ getSeasonsEpisodesStreamSeasonsEpisodesVideoContentIdGet,
483
+ showArchiveListWatchingOnlineShowArchiveListGet,
484
+ deleteContentWatchingOnlineDeleteContentIdPut,
485
+ generateStreamLinkGenerateStreamLinkGet,
486
+ saveStreamLogsSaveStreamLogPost,
487
+ generateTrailerLinkGenerateTrailerLinkGet
488
+ };
489
+ };
490
+ exports.getStreamMicroserviceAPI = getStreamMicroserviceAPI;
491
+ //# sourceMappingURL=api.js.map