szpt-driver-api 1.0.11 → 1.0.13
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.
- package/agoraRecorder.d.ts +9 -3
- package/agoraRecorder.js +1 -1
- package/agoraRecorder.js.map +1 -1
- package/auth.d.ts +6 -6
- package/auth.js +1 -1
- package/auth.js.map +1 -1
- package/authBpmnQuery.d.ts +4 -4
- package/authBpmnQuery.js +1 -1
- package/authBpmnQuery.js.map +1 -1
- package/common.d.ts +2 -2
- package/common.js +1 -1
- package/common.js.map +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/query.d.ts +2 -2
- package/query.js +1 -1
- package/query.js.map +1 -1
package/agoraRecorder.d.ts
CHANGED
|
@@ -3,16 +3,22 @@ export declare class Channel {
|
|
|
3
3
|
/** @format int32 */
|
|
4
4
|
userCount: number;
|
|
5
5
|
}
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ChannelUserListBagEx {
|
|
7
7
|
audience: string[];
|
|
8
8
|
/** @format int32 */
|
|
9
9
|
audienceTotal: number;
|
|
10
|
+
/** audience对应的用户名列表 */
|
|
11
|
+
audienceUsernames: string[];
|
|
12
|
+
/** broadcasters对应的用户名列表 */
|
|
13
|
+
broadcasterUsernames: string[];
|
|
10
14
|
broadcasters: string[];
|
|
11
15
|
channelExist: boolean;
|
|
12
16
|
/** @format int32 */
|
|
13
17
|
mode: number;
|
|
14
18
|
/** @format int64 */
|
|
15
19
|
total: number;
|
|
20
|
+
/** users对应的用户名列表 */
|
|
21
|
+
userUsernames: string[];
|
|
16
22
|
users: string[];
|
|
17
23
|
}
|
|
18
24
|
export declare type InputStream = any;
|
|
@@ -272,12 +278,12 @@ declare class Api {
|
|
|
272
278
|
* @name AppChannelUserByAppIdAndChannel
|
|
273
279
|
* @summary 获取频道内用户列表
|
|
274
280
|
* @request GET:/agora-recorder/platform/app/{appId}/channel/{channel}/user
|
|
275
|
-
* @response `200` `
|
|
281
|
+
* @response `200` `ChannelUserListBagEx` OK
|
|
276
282
|
* @response `401` `void` Unauthorized
|
|
277
283
|
* @response `403` `void` Forbidden
|
|
278
284
|
* @response `404` `void` Not Found
|
|
279
285
|
*/
|
|
280
|
-
appChannelUserByAppIdAndChannel: (appId: string, channel: string, axiosConfig?: AxiosRequestConfig) => Promise<
|
|
286
|
+
appChannelUserByAppIdAndChannel: (appId: string, channel: string, axiosConfig?: AxiosRequestConfig) => Promise<ChannelUserListBagEx>;
|
|
281
287
|
/**
|
|
282
288
|
* No description
|
|
283
289
|
*
|
package/agoraRecorder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{"use strict";var e={289:(e,r,a)=>{a.d(r,{M:()=>t});const t={request(e){throw new Error("please setup http client first")}}}},r={};function a(t){var s=r[t];if(void 0!==s)return s.exports;var o=r[t]={exports:{}};return e[t](o,o.exports,a),o.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{a.r(t),a.d(t,{AppChannelByAppIdParams:()=>y,Channel:()=>o,
|
|
1
|
+
(()=>{"use strict";var e={289:(e,r,a)=>{a.d(r,{M:()=>t});const t={request(e){throw new Error("please setup http client first")}}}},r={};function a(t){var s=r[t];if(void 0!==s)return s.exports;var o=r[t]={exports:{}};return e[t](o,o.exports,a),o.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{a.r(t),a.d(t,{AppChannelByAppIdParams:()=>y,Channel:()=>o,ChannelUserListBagEx:()=>n,ClearByChannelParams:()=>f,ContentType:()=>e,DownloadParams:()=>j,HandleMigrateParams:()=>C,KickUserResponse:()=>c,MigrateParams:()=>P,PageResultChannel:()=>l,Project:()=>p,RecordClearByChannelParams:()=>v,RecordMigrateResult:()=>d,RecordParams:()=>b,RecordRequest:()=>i,Recording:()=>h,RecordingSets:()=>u,Resource:()=>g,UploadResult:()=>m,UserStatus:()=>O,agoraRecorderApi:()=>T});var e,r=a(289),s=function(e,r){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(t=Object.getOwnPropertySymbols(e);s<t.length;s++)r.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(e,t[s])&&(a[t[s]]=e[t[s]])}return a};class o{}class n{}class c{}class l{}class p{}class d{}class i{}class h{}class u{}class g{}class m{}class O{}class y{}class b{}class f{}class j{}class C{}class P{}class v{}!function(e){e.Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded"}(e||(e={}));const T=new class{constructor(e){this.platform={app:(e={})=>this.http.request(Object.assign({url:"/agora-recorder/platform/app",method:"GET"},e)),appChannelByAppId:(e,r)=>{var{appId:a}=e,t=s(e,["appId"]);return void 0===r&&(r={}),this.http.request(Object.assign({url:`/agora-recorder/platform/app/${a}/channel`,method:"GET",params:t},r))},appChannelKickAllByAppIdAndChannel:(e,r,a={})=>this.http.request(Object.assign({url:`/agora-recorder/platform/app/${e}/channel/${r}/kick-all`,method:"POST"},a)),appChannelUserByAppIdAndChannel:(e,r,a={})=>this.http.request(Object.assign({url:`/agora-recorder/platform/app/${e}/channel/${r}/user`,method:"GET"},a)),appChannelUserByAppIdAndChannelAndUid:(e,r,a,t={})=>this.http.request(Object.assign({url:`/agora-recorder/platform/app/${e}/channel/${r}/user/${a}`,method:"GET"},t)),appChannelUserKickByAppIdAndChannelAndUid:(e,r,a,t={})=>this.http.request(Object.assign({url:`/agora-recorder/platform/app/${e}/channel/${r}/user/${a}/kick`,method:"POST"},t))},this.record={record:(e,r={})=>this.http.request(Object.assign({url:"/agora-recorder/record",method:"GET",params:e},r)),clearByChannel:(e,r)=>{var{channel:a}=e,t=s(e,["channel"]);return void 0===r&&(r={}),this.http.request(Object.assign({url:`/agora-recorder/record/clear/${a}`,method:"GET",params:t},r))},download:(e,r={})=>this.http.request(Object.assign({url:"/agora-recorder/record/download",method:"GET",params:e},r)),handleMigrate:(e,r,a={})=>this.http.request(Object.assign({url:"/agora-recorder/record/handle-migrate",method:"POST",params:e,data:r},a)),migrate:(e,r={})=>this.http.request(Object.assign({url:"/agora-recorder/record/migrate",method:"GET",params:e},r)),recordingByAppIdAndChannel:(e,r,a={})=>this.http.request(Object.assign({url:`/agora-recorder/record/recording/${e}/${r}`,method:"GET"},a)),start:(e,r={})=>this.http.request(Object.assign({url:"/agora-recorder/record/start",method:"POST",data:e},r)),stopByAppIdAndChannel:(e,r,a={})=>this.http.request(Object.assign({url:`/agora-recorder/record/stop/${e}/${r}`,method:"POST"},a))},this.inner={recordByChannel:(e,r={})=>this.http.request(Object.assign({url:`/agora-recorder/inner/record/${e}`,method:"GET"},r)),recordClearByChannel:(e,r)=>{var{channel:a}=e,t=s(e,["channel"]);return void 0===r&&(r={}),this.http.request(Object.assign({url:`/agora-recorder/inner/record/${a}/clear`,method:"GET",params:t},r))},recordMigrateByChannel:(e,r={})=>this.http.request(Object.assign({url:`/agora-recorder/inner/record/${e}/migrate`,method:"GET"},r))},this.http=e}}(r.M)})();var s=exports;for(var o in t)s[o]=t[o];t.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})();
|
|
2
2
|
//# sourceMappingURL=agoraRecorder.js.map
|
package/agoraRecorder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agoraRecorder.js","mappings":"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","sources":["webpack://nestjs-vue3-ssr/./dist/modules/api/_request.ts","webpack://nestjs-vue3-ssr/webpack/bootstrap","webpack://nestjs-vue3-ssr/webpack/runtime/define property getters","webpack://nestjs-vue3-ssr/webpack/runtime/hasOwnProperty shorthand","webpack://nestjs-vue3-ssr/webpack/runtime/make namespace object","webpack://nestjs-vue3-ssr/./dist/modules/api/agoraRecorder.ts"],"sourcesContent":["\nimport { AxiosRequestConfig, AxiosResponse } from 'axios'\n\nlet isSetup = false\n\ninterface HttpClient {\n\trequest: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>\n}\n\n//@ts-ignore\nexport const httpClient: HttpClient = {\n\trequest(config: AxiosRequestConfig):any {\n\t\tif (!isSetup) {\n\t\t\tthrow new Error('please setup http client first')\n\t\t}\n\t},\n}\n\nexport const setupApi = (request: HttpClient['request']) => {\n\thttpClient.request = request\n\tisSetup = true\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export class Channel {\n channelName: string;\n\n /** @format int32 */\n userCount: number;\n}\n\nexport class ChannelUserListBag {\n audience: string[];\n\n /** @format int32 */\n audienceTotal: number;\n broadcasters: string[];\n channelExist: boolean;\n\n /** @format int32 */\n mode: number;\n\n /** @format int64 */\n total: number;\n users: string[];\n}\n\nexport type InputStream = any;\n\nexport class KickUserResponse {\n /** @format int64 */\n id: number;\n status: string;\n}\n\nexport class PageResultChannel {\n list: Channel[];\n\n /** @format int64 */\n total: number;\n}\n\nexport class Project {\n /** @format int64 */\n created: number;\n\n /** @format date-time */\n createdTime: string;\n id: string;\n name: string;\n signKey: string;\n\n /** @format int32 */\n status: number;\n vendorKey: string;\n}\n\nexport class RecordMigrateResult {\n channel: string;\n details: UploadResult[];\n}\n\nexport class RecordRequest {\n /** 应用ID */\n appId?: string;\n\n /** 频道ID */\n channel?: string;\n\n /** 频道场景。0:(默认)通信场景,1: 直播场景 */\n channelProfile?: string;\n\n /**\n * 是否开启代理模式\n * @example false\n */\n enableProxy?: boolean;\n\n /**\n * 自动停止录制时间\n * @format int32\n */\n idle?: number;\n\n /**\n * 录制模式: 1 单流模式、2 合流模式\n * @pattern [12]\n */\n mode?: string;\n\n /** 代理服务器地址 */\n proxyServer?: string;\n\n /**\n * 远程录制模式。默认为false\n * @example false\n */\n remoteMode?: boolean;\n\n /** 远程录制地址 */\n remoteUrl?: string;\n\n /** 合录模式下的绘制模式。0:(默认)画面裁剪,1: 画面压缩 */\n renderMode?: string;\n\n /** 录制分辨率 */\n resolution?: string;\n}\n\nexport class Recording {\n migrated: boolean;\n objectId: string;\n path: string;\n\n /** @format int64 */\n size: number;\n\n /** @format date-time */\n time: string;\n user: string;\n}\n\nexport class RecordingSets {\n appId: string;\n channel: string;\n channelProfile: string;\n done: boolean;\n mode: string;\n records: Recording[];\n renderMode: string;\n\n /** @format date-time */\n startTime: string;\n}\n\nexport class Resource {\n description: string;\n\n /** @format binary */\n file: File;\n filename: string;\n inputStream: InputStream;\n open: boolean;\n readable: boolean;\n\n /** @format uri */\n uri: string;\n\n /** @format url */\n url: string;\n}\n\nexport class UploadResult {\n error: string;\n objectId: string;\n success: boolean;\n}\n\nexport class UserStatus {\n inChannel: boolean;\n\n /** @format int64 */\n join: number;\n\n /** @format date-time */\n joinTime: string;\n\n /** @format int32 */\n role: number;\n}\n\nexport class AppChannelByAppIdParams {\n orderBy?: string[];\n\n /** @format int32 */\n pageIndex?: number;\n\n /** @format int32 */\n pageSize?: number;\n\n /** appId */\n appId: string;\n}\n\nexport class RecordParams {\n appId?: string;\n\n /** 频道id */\n channel: string;\n}\n\nexport class ClearByChannelParams {\n /** ignoreMigration */\n ignoreMigration?: boolean;\n\n /** channel */\n channel: string;\n}\n\nexport class DownloadParams {\n /** path */\n path: string;\n}\n\n/**\n * @format binary\n */\nexport type HandleMigratePayload = File;\n\nexport class HandleMigrateParams {\n /** path */\n path: string;\n\n /** dir */\n dir: string;\n\n /** appId */\n appId: string;\n\n /** channel */\n channel: string;\n\n /** fileName */\n fileName: string;\n\n /** mode */\n mode: string;\n\n /** instance */\n instance: string;\n\n /** channelProfile */\n channelProfile?: string;\n\n /** renderMode */\n renderMode?: string;\n}\n\nexport class MigrateParams {\n /** channel */\n channel: string;\n}\n\nexport class RecordClearByChannelParams {\n /** ignoreMigration */\n ignoreMigration?: boolean;\n\n /** channel */\n channel: string;\n}\n\nimport { AxiosRequestConfig, ResponseType } from \"axios\";\n\nexport type QueryParamsType = Record<string | number, any>;\n\nexport interface FullRequestParams extends Omit<AxiosRequestConfig, \"data\" | \"params\" | \"url\" | \"responseType\"> {\n /** set parameter to `true` for call `securityWorker` for this request */\n secure?: boolean;\n /** request path */\n url: string;\n /** content type of request body */\n type?: ContentType;\n /** query params */\n params?: QueryParamsType;\n /** format of response (i.e. response.json() -> format: \"json\") */\n ResponseType?: ResponseType;\n /** request body */\n body?: unknown;\n}\n\nexport type RequestParams = Omit<FullRequestParams, \"body\" | \"method\" | \"query\" | \"path\">;\n\nexport interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, \"data\" | \"cancelToken\"> {\n securityWorker?: (\n securityData: SecurityDataType | null,\n ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;\n secure?: boolean;\n ResponseType?: ResponseType;\n}\n\nexport enum ContentType {\n Json = \"application/json\",\n FormData = \"multipart/form-data\",\n UrlEncoded = \"application/x-www-form-urlencoded\",\n}\n\ninterface HttpClient {\n request: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>;\n}\n\n/**\n * @title 声网视频会议录制服务\n * @version 1.0\n * @baseUrl http://192.168.200.12:5000\n *\n * 声网视频会议录制服务\n */\nclass Api {\n private http: HttpClient;\n\n constructor(http: HttpClient) {\n this.http = http;\n }\n\n platform = {\n /**\n * No description\n *\n * @tags platform\n * @name App\n * @summary 获取项目列表\n * @request GET:/agora-recorder/platform/app\n * @response `200` `(Project)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n app: (axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<Project[], void>({\n url: `/agora-recorder/platform/app`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelByAppId\n * @summary 获取频道分页列表\n * @request GET:/agora-recorder/platform/app/{appId}/channel\n * @response `200` `PageResultChannel` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelByAppId: ({ appId, ...query }: AppChannelByAppIdParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<PageResultChannel, void>({\n url: `/agora-recorder/platform/app/${appId}/channel`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelKickAllByAppIdAndChannel\n * @summary 踢除频道内所有用户\n * @request POST:/agora-recorder/platform/app/{appId}/channel/{channel}/kick-all\n * @response `200` `KickUserResponse` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelKickAllByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<KickUserResponse, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/kick-all`,\n method: \"POST\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelUserByAppIdAndChannel\n * @summary 获取频道内用户列表\n * @request GET:/agora-recorder/platform/app/{appId}/channel/{channel}/user\n * @response `200` `ChannelUserListBag` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelUserByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<ChannelUserListBag, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/user`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelUserByAppIdAndChannelAndUid\n * @summary 获取用户状态信息\n * @request GET:/agora-recorder/platform/app/{appId}/channel/{channel}/user/{uid}\n * @response `200` `UserStatus` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelUserByAppIdAndChannelAndUid: (\n appId: string,\n channel: string,\n uid: string,\n axiosConfig: AxiosRequestConfig = {},\n ) =>\n this.http.request<UserStatus, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/user/${uid}`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelUserKickByAppIdAndChannelAndUid\n * @summary 踢除用户\n * @request POST:/agora-recorder/platform/app/{appId}/channel/{channel}/user/{uid}/kick\n * @response `200` `KickUserResponse` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelUserKickByAppIdAndChannelAndUid: (\n appId: string,\n channel: string,\n uid: string,\n axiosConfig: AxiosRequestConfig = {},\n ) =>\n this.http.request<KickUserResponse, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/user/${uid}/kick`,\n method: \"POST\",\n ...axiosConfig,\n }),\n };\n record = {\n /**\n * No description\n *\n * @tags record\n * @name Record\n * @summary 查询录制记录\n * @request GET:/agora-recorder/record\n * @response `200` `(RecordingSets)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n record: (query: RecordParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordingSets[], void>({\n url: `/agora-recorder/record`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name ClearByChannel\n * @summary 录制文件删除\n * @request GET:/agora-recorder/record/clear/{channel}\n * @response `200` `void` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n clearByChannel: ({ channel, ...query }: ClearByChannelParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/clear/${channel}`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name Download\n * @summary 下载/播放资源\n * @request GET:/agora-recorder/record/download\n * @response `200` `Resource` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n download: (query: DownloadParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<Resource, void>({\n url: `/agora-recorder/record/download`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name HandleMigrate\n * @summary 受理迁移文件\n * @request POST:/agora-recorder/record/handle-migrate\n * @response `200` `string` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n handleMigrate: (query: HandleMigrateParams, data: HandleMigratePayload, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<string, void>({\n url: `/agora-recorder/record/handle-migrate`,\n method: \"POST\",\n params: query,\n data: data,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name Migrate\n * @summary 文件迁移到对象存储服务\n * @request GET:/agora-recorder/record/migrate\n * @response `200` `(RecordMigrateResult)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n migrate: (query: MigrateParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordMigrateResult[], void>({\n url: `/agora-recorder/record/migrate`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name RecordingByAppIdAndChannel\n * @summary 查询是否正在录制\n * @request GET:/agora-recorder/record/recording/{appId}/{channel}\n * @response `200` `boolean` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordingByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<boolean, void>({\n url: `/agora-recorder/record/recording/${appId}/${channel}`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name Start\n * @summary 开始录制\n * @request POST:/agora-recorder/record/start\n * @response `200` `void` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n start: (data: RecordRequest, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/start`,\n method: \"POST\",\n data: data,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name StopByAppIdAndChannel\n * @summary 停止录制\n * @request POST:/agora-recorder/record/stop/{appId}/{channel}\n * @response `200` `void` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n stopByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/stop/${appId}/${channel}`,\n method: \"POST\",\n ...axiosConfig,\n }),\n };\n inner = {\n /**\n * No description\n *\n * @tags inner\n * @name RecordByChannel\n * @summary 查询录制记录\n * @request GET:/agora-recorder/inner/record/{channel}\n * @response `200` `(RecordingSets)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordingSets[], void>({\n url: `/agora-recorder/inner/record/${channel}`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags inner\n * @name RecordClearByChannel\n * @summary 录制文件删除\n * @request GET:/agora-recorder/inner/record/{channel}/clear\n * @response `200` `void` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordClearByChannel: ({ channel, ...query }: RecordClearByChannelParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/inner/record/${channel}/clear`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags inner\n * @name RecordMigrateByChannel\n * @summary 文件迁移到对象存储服务\n * @request GET:/agora-recorder/inner/record/{channel}/migrate\n * @response `200` `(RecordMigrateResult)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordMigrateByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordMigrateResult[], void>({\n url: `/agora-recorder/inner/record/${channel}/migrate`,\n method: \"GET\",\n ...axiosConfig,\n }),\n };\n}\n\nimport { httpClient } from \"./_request\";\n\nexport const agoraRecorderApi = new Api(httpClient);\n"],"names":["httpClient","request","config","Error","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","ContentType","Channel","ChannelUserListBag","KickUserResponse","PageResultChannel","Project","RecordMigrateResult","RecordRequest","Recording","RecordingSets","Resource","UploadResult","UserStatus","AppChannelByAppIdParams","RecordParams","ClearByChannelParams","DownloadParams","HandleMigrateParams","MigrateParams","RecordClearByChannelParams","agoraRecorderApi","constructor","http","platform","app","axiosConfig","this","url","method","appChannelByAppId","appId","query","params","appChannelKickAllByAppIdAndChannel","channel","appChannelUserByAppIdAndChannel","appChannelUserByAppIdAndChannelAndUid","uid","appChannelUserKickByAppIdAndChannelAndUid","record","clearByChannel","download","handleMigrate","data","migrate","recordingByAppIdAndChannel","start","stopByAppIdAndChannel","inner","recordByChannel","recordClearByChannel","recordMigrateByChannel"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"agoraRecorder.js","mappings":"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","sources":["webpack://nestjs-vue3-ssr/./dist/modules/api/_request.ts","webpack://nestjs-vue3-ssr/webpack/bootstrap","webpack://nestjs-vue3-ssr/webpack/runtime/define property getters","webpack://nestjs-vue3-ssr/webpack/runtime/hasOwnProperty shorthand","webpack://nestjs-vue3-ssr/webpack/runtime/make namespace object","webpack://nestjs-vue3-ssr/./dist/modules/api/agoraRecorder.ts"],"sourcesContent":["\nimport { AxiosRequestConfig, AxiosResponse } from 'axios'\n\nlet isSetup = false\n\ninterface HttpClient {\n\trequest: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>\n}\n\n//@ts-ignore\nexport const httpClient: HttpClient = {\n\trequest(config: AxiosRequestConfig):any {\n\t\tif (!isSetup) {\n\t\t\tthrow new Error('please setup http client first')\n\t\t}\n\t},\n}\n\nexport const setupApi = (request: HttpClient['request']) => {\n\thttpClient.request = request\n\tisSetup = true\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export class Channel {\n channelName: string;\n\n /** @format int32 */\n userCount: number;\n}\n\nexport class ChannelUserListBagEx {\n audience: string[];\n\n /** @format int32 */\n audienceTotal: number;\n\n /** audience对应的用户名列表 */\n audienceUsernames: string[];\n\n /** broadcasters对应的用户名列表 */\n broadcasterUsernames: string[];\n broadcasters: string[];\n channelExist: boolean;\n\n /** @format int32 */\n mode: number;\n\n /** @format int64 */\n total: number;\n\n /** users对应的用户名列表 */\n userUsernames: string[];\n users: string[];\n}\n\nexport type InputStream = any;\n\nexport class KickUserResponse {\n /** @format int64 */\n id: number;\n status: string;\n}\n\nexport class PageResultChannel {\n list: Channel[];\n\n /** @format int64 */\n total: number;\n}\n\nexport class Project {\n /** @format int64 */\n created: number;\n\n /** @format date-time */\n createdTime: string;\n id: string;\n name: string;\n signKey: string;\n\n /** @format int32 */\n status: number;\n vendorKey: string;\n}\n\nexport class RecordMigrateResult {\n channel: string;\n details: UploadResult[];\n}\n\nexport class RecordRequest {\n /** 应用ID */\n appId?: string;\n\n /** 频道ID */\n channel?: string;\n\n /** 频道场景。0:(默认)通信场景,1: 直播场景 */\n channelProfile?: string;\n\n /**\n * 是否开启代理模式\n * @example false\n */\n enableProxy?: boolean;\n\n /**\n * 自动停止录制时间\n * @format int32\n */\n idle?: number;\n\n /**\n * 录制模式: 1 单流模式、2 合流模式\n * @pattern [12]\n */\n mode?: string;\n\n /** 代理服务器地址 */\n proxyServer?: string;\n\n /**\n * 远程录制模式。默认为false\n * @example false\n */\n remoteMode?: boolean;\n\n /** 远程录制地址 */\n remoteUrl?: string;\n\n /** 合录模式下的绘制模式。0:(默认)画面裁剪,1: 画面压缩 */\n renderMode?: string;\n\n /** 录制分辨率 */\n resolution?: string;\n}\n\nexport class Recording {\n migrated: boolean;\n objectId: string;\n path: string;\n\n /** @format int64 */\n size: number;\n\n /** @format date-time */\n time: string;\n user: string;\n}\n\nexport class RecordingSets {\n appId: string;\n channel: string;\n channelProfile: string;\n done: boolean;\n mode: string;\n records: Recording[];\n renderMode: string;\n\n /** @format date-time */\n startTime: string;\n}\n\nexport class Resource {\n description: string;\n\n /** @format binary */\n file: File;\n filename: string;\n inputStream: InputStream;\n open: boolean;\n readable: boolean;\n\n /** @format uri */\n uri: string;\n\n /** @format url */\n url: string;\n}\n\nexport class UploadResult {\n error: string;\n objectId: string;\n success: boolean;\n}\n\nexport class UserStatus {\n inChannel: boolean;\n\n /** @format int64 */\n join: number;\n\n /** @format date-time */\n joinTime: string;\n\n /** @format int32 */\n role: number;\n}\n\nexport class AppChannelByAppIdParams {\n orderBy?: string[];\n\n /** @format int32 */\n pageIndex?: number;\n\n /** @format int32 */\n pageSize?: number;\n\n /** appId */\n appId: string;\n}\n\nexport class RecordParams {\n appId?: string;\n\n /** 频道id */\n channel: string;\n}\n\nexport class ClearByChannelParams {\n /** ignoreMigration */\n ignoreMigration?: boolean;\n\n /** channel */\n channel: string;\n}\n\nexport class DownloadParams {\n /** path */\n path: string;\n}\n\n/**\n * @format binary\n */\nexport type HandleMigratePayload = File;\n\nexport class HandleMigrateParams {\n /** path */\n path: string;\n\n /** dir */\n dir: string;\n\n /** appId */\n appId: string;\n\n /** channel */\n channel: string;\n\n /** fileName */\n fileName: string;\n\n /** mode */\n mode: string;\n\n /** instance */\n instance: string;\n\n /** channelProfile */\n channelProfile?: string;\n\n /** renderMode */\n renderMode?: string;\n}\n\nexport class MigrateParams {\n /** channel */\n channel: string;\n}\n\nexport class RecordClearByChannelParams {\n /** ignoreMigration */\n ignoreMigration?: boolean;\n\n /** channel */\n channel: string;\n}\n\nimport { AxiosRequestConfig, ResponseType } from \"axios\";\n\nexport type QueryParamsType = Record<string | number, any>;\n\nexport interface FullRequestParams extends Omit<AxiosRequestConfig, \"data\" | \"params\" | \"url\" | \"responseType\"> {\n /** set parameter to `true` for call `securityWorker` for this request */\n secure?: boolean;\n /** request path */\n url: string;\n /** content type of request body */\n type?: ContentType;\n /** query params */\n params?: QueryParamsType;\n /** format of response (i.e. response.json() -> format: \"json\") */\n ResponseType?: ResponseType;\n /** request body */\n body?: unknown;\n}\n\nexport type RequestParams = Omit<FullRequestParams, \"body\" | \"method\" | \"query\" | \"path\">;\n\nexport interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, \"data\" | \"cancelToken\"> {\n securityWorker?: (\n securityData: SecurityDataType | null,\n ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;\n secure?: boolean;\n ResponseType?: ResponseType;\n}\n\nexport enum ContentType {\n Json = \"application/json\",\n FormData = \"multipart/form-data\",\n UrlEncoded = \"application/x-www-form-urlencoded\",\n}\n\ninterface HttpClient {\n request: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>;\n}\n\n/**\n * @title 声网视频会议录制服务\n * @version 1.0\n * @baseUrl http://192.168.200.12:5000\n *\n * 声网视频会议录制服务\n */\nclass Api {\n private http: HttpClient;\n\n constructor(http: HttpClient) {\n this.http = http;\n }\n\n platform = {\n /**\n * No description\n *\n * @tags platform\n * @name App\n * @summary 获取项目列表\n * @request GET:/agora-recorder/platform/app\n * @response `200` `(Project)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n app: (axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<Project[], void>({\n url: `/agora-recorder/platform/app`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelByAppId\n * @summary 获取频道分页列表\n * @request GET:/agora-recorder/platform/app/{appId}/channel\n * @response `200` `PageResultChannel` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelByAppId: ({ appId, ...query }: AppChannelByAppIdParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<PageResultChannel, void>({\n url: `/agora-recorder/platform/app/${appId}/channel`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelKickAllByAppIdAndChannel\n * @summary 踢除频道内所有用户\n * @request POST:/agora-recorder/platform/app/{appId}/channel/{channel}/kick-all\n * @response `200` `KickUserResponse` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelKickAllByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<KickUserResponse, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/kick-all`,\n method: \"POST\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelUserByAppIdAndChannel\n * @summary 获取频道内用户列表\n * @request GET:/agora-recorder/platform/app/{appId}/channel/{channel}/user\n * @response `200` `ChannelUserListBagEx` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelUserByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<ChannelUserListBagEx, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/user`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelUserByAppIdAndChannelAndUid\n * @summary 获取用户状态信息\n * @request GET:/agora-recorder/platform/app/{appId}/channel/{channel}/user/{uid}\n * @response `200` `UserStatus` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelUserByAppIdAndChannelAndUid: (\n appId: string,\n channel: string,\n uid: string,\n axiosConfig: AxiosRequestConfig = {},\n ) =>\n this.http.request<UserStatus, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/user/${uid}`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags platform\n * @name AppChannelUserKickByAppIdAndChannelAndUid\n * @summary 踢除用户\n * @request POST:/agora-recorder/platform/app/{appId}/channel/{channel}/user/{uid}/kick\n * @response `200` `KickUserResponse` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n appChannelUserKickByAppIdAndChannelAndUid: (\n appId: string,\n channel: string,\n uid: string,\n axiosConfig: AxiosRequestConfig = {},\n ) =>\n this.http.request<KickUserResponse, void>({\n url: `/agora-recorder/platform/app/${appId}/channel/${channel}/user/${uid}/kick`,\n method: \"POST\",\n ...axiosConfig,\n }),\n };\n record = {\n /**\n * No description\n *\n * @tags record\n * @name Record\n * @summary 查询录制记录\n * @request GET:/agora-recorder/record\n * @response `200` `(RecordingSets)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n record: (query: RecordParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordingSets[], void>({\n url: `/agora-recorder/record`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name ClearByChannel\n * @summary 录制文件删除\n * @request GET:/agora-recorder/record/clear/{channel}\n * @response `200` `void` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n clearByChannel: ({ channel, ...query }: ClearByChannelParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/clear/${channel}`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name Download\n * @summary 下载/播放资源\n * @request GET:/agora-recorder/record/download\n * @response `200` `Resource` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n download: (query: DownloadParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<Resource, void>({\n url: `/agora-recorder/record/download`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name HandleMigrate\n * @summary 受理迁移文件\n * @request POST:/agora-recorder/record/handle-migrate\n * @response `200` `string` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n handleMigrate: (query: HandleMigrateParams, data: HandleMigratePayload, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<string, void>({\n url: `/agora-recorder/record/handle-migrate`,\n method: \"POST\",\n params: query,\n data: data,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name Migrate\n * @summary 文件迁移到对象存储服务\n * @request GET:/agora-recorder/record/migrate\n * @response `200` `(RecordMigrateResult)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n migrate: (query: MigrateParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordMigrateResult[], void>({\n url: `/agora-recorder/record/migrate`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name RecordingByAppIdAndChannel\n * @summary 查询是否正在录制\n * @request GET:/agora-recorder/record/recording/{appId}/{channel}\n * @response `200` `boolean` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordingByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<boolean, void>({\n url: `/agora-recorder/record/recording/${appId}/${channel}`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name Start\n * @summary 开始录制\n * @request POST:/agora-recorder/record/start\n * @response `200` `void` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n start: (data: RecordRequest, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/start`,\n method: \"POST\",\n data: data,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags record\n * @name StopByAppIdAndChannel\n * @summary 停止录制\n * @request POST:/agora-recorder/record/stop/{appId}/{channel}\n * @response `200` `void` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n stopByAppIdAndChannel: (appId: string, channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/stop/${appId}/${channel}`,\n method: \"POST\",\n ...axiosConfig,\n }),\n };\n inner = {\n /**\n * No description\n *\n * @tags inner\n * @name RecordByChannel\n * @summary 查询录制记录\n * @request GET:/agora-recorder/inner/record/{channel}\n * @response `200` `(RecordingSets)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordingSets[], void>({\n url: `/agora-recorder/inner/record/${channel}`,\n method: \"GET\",\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags inner\n * @name RecordClearByChannel\n * @summary 录制文件删除\n * @request GET:/agora-recorder/inner/record/{channel}/clear\n * @response `200` `void` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordClearByChannel: ({ channel, ...query }: RecordClearByChannelParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/inner/record/${channel}/clear`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags inner\n * @name RecordMigrateByChannel\n * @summary 文件迁移到对象存储服务\n * @request GET:/agora-recorder/inner/record/{channel}/migrate\n * @response `200` `(RecordMigrateResult)[]` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n recordMigrateByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordMigrateResult[], void>({\n url: `/agora-recorder/inner/record/${channel}/migrate`,\n method: \"GET\",\n ...axiosConfig,\n }),\n };\n}\n\nimport { httpClient } from \"./_request\";\n\nexport const agoraRecorderApi = new Api(httpClient);\n"],"names":["httpClient","request","config","Error","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","ContentType","Channel","ChannelUserListBagEx","KickUserResponse","PageResultChannel","Project","RecordMigrateResult","RecordRequest","Recording","RecordingSets","Resource","UploadResult","UserStatus","AppChannelByAppIdParams","RecordParams","ClearByChannelParams","DownloadParams","HandleMigrateParams","MigrateParams","RecordClearByChannelParams","agoraRecorderApi","constructor","http","platform","app","axiosConfig","this","url","method","appChannelByAppId","appId","query","params","appChannelKickAllByAppIdAndChannel","channel","appChannelUserByAppIdAndChannel","appChannelUserByAppIdAndChannelAndUid","uid","appChannelUserKickByAppIdAndChannelAndUid","record","clearByChannel","download","handleMigrate","data","migrate","recordingByAppIdAndChannel","start","stopByAppIdAndChannel","inner","recordByChannel","recordClearByChannel","recordMigrateByChannel"],"sourceRoot":""}
|
package/auth.d.ts
CHANGED
|
@@ -1632,7 +1632,7 @@ export declare class GetRoleParams {
|
|
|
1632
1632
|
scope?: string;
|
|
1633
1633
|
type?: "Auditing" | "Common" | "Security" | "System" | "Work";
|
|
1634
1634
|
}
|
|
1635
|
-
export declare class
|
|
1635
|
+
export declare class ExistParams1 {
|
|
1636
1636
|
descriptionLike?: string;
|
|
1637
1637
|
idIn?: number[];
|
|
1638
1638
|
name?: string;
|
|
@@ -1737,7 +1737,7 @@ export declare class ToOssParams {
|
|
|
1737
1737
|
/** overwrite */
|
|
1738
1738
|
overwrite?: boolean;
|
|
1739
1739
|
}
|
|
1740
|
-
export declare class
|
|
1740
|
+
export declare class ByIdParams6 {
|
|
1741
1741
|
/** format */
|
|
1742
1742
|
format?: string;
|
|
1743
1743
|
/** id */
|
|
@@ -1843,7 +1843,7 @@ export declare class GetUserParams {
|
|
|
1843
1843
|
/** 用户名模糊查询 */
|
|
1844
1844
|
usernameLike?: string;
|
|
1845
1845
|
}
|
|
1846
|
-
export declare class
|
|
1846
|
+
export declare class ExistParams4 {
|
|
1847
1847
|
/** 根据可管理部门id查询。支持多选 */
|
|
1848
1848
|
adminDepartmentId?: number[];
|
|
1849
1849
|
/** 根据部门代码查询。支持多选 */
|
|
@@ -3387,7 +3387,7 @@ declare class Api {
|
|
|
3387
3387
|
* @response `403` `void` Forbidden
|
|
3388
3388
|
* @response `404` `void` Not Found
|
|
3389
3389
|
*/
|
|
3390
|
-
exist: (query:
|
|
3390
|
+
exist: (query: ExistParams1, axiosConfig?: AxiosRequestConfig) => Promise<boolean>;
|
|
3391
3391
|
/**
|
|
3392
3392
|
* @description 所需权限:role:list
|
|
3393
3393
|
*
|
|
@@ -3780,7 +3780,7 @@ declare class Api {
|
|
|
3780
3780
|
* @response `403` `void` Forbidden
|
|
3781
3781
|
* @response `404` `void` Not Found
|
|
3782
3782
|
*/
|
|
3783
|
-
byId: ({ id, ...query }:
|
|
3783
|
+
byId: ({ id, ...query }: ByIdParams6, axiosConfig?: AxiosRequestConfig) => Promise<Resource>;
|
|
3784
3784
|
/**
|
|
3785
3785
|
* No description
|
|
3786
3786
|
*
|
|
@@ -3990,7 +3990,7 @@ declare class Api {
|
|
|
3990
3990
|
* @response `403` `void` Forbidden
|
|
3991
3991
|
* @response `404` `void` Not Found
|
|
3992
3992
|
*/
|
|
3993
|
-
exist: (query:
|
|
3993
|
+
exist: (query: ExistParams4, axiosConfig?: AxiosRequestConfig) => Promise<boolean>;
|
|
3994
3994
|
/**
|
|
3995
3995
|
* @description 所需权限:user:find
|
|
3996
3996
|
*
|
package/auth.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{"use strict";var t={289:(t,e,s)=>{s.d(e,{M:()=>a});const a={request(t){throw new Error("please setup http client first")}}}},e={};function s(a){var r=e[a];if(void 0!==r)return r.exports;var i=e[a]={exports:{}};return t[a](i,i.exports,s),i.exports}s.d=(t,e)=>{for(var a in e)s.o(e,a)&&!s.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};(()=>{s.r(a),s.d(a,{AccessToken:()=>i,AccessTokenByIdParams:()=>xe,BindPhoneRequest:()=>h,BindUserRequest:()=>n,ByIdParams:()=>re,ByIdParams4:()=>we,ChangePasswordForm:()=>o,Config:()=>u,ConfigCurrentUserDepartmentParams:()=>Se,ConfigHistoryParams:()=>De,ConfigWithTimestamp:()=>l,ContentType:()=>t,DeleteItemsByIdParams:()=>Yt,Department:()=>m,DepartmentConfig:()=>c,DepartmentCreateBean:()=>d,DepartmentExistParams:()=>ce,DepartmentQueryBean:()=>p,DepartmentSimple:()=>g,DepartmentTree:()=>O,DepartmentTreeParams:()=>de,DepartmentUpdateBean:()=>b,DesensitizePageResultPolice:()=>wt,DesensitizePageResultUser:()=>xt,DesensitizePageResultUserSimpleEx:()=>zt,DesensitizePageResultUserSimpleWithLocation:()=>kt,DictItem:()=>y,Dictionary:()=>P,DictionaryCreateBean:()=>T,DictionaryUpdateBean:()=>q,DictionaryWithItems:()=>j,EntityDigest:()=>B,ExistParams:()=>Pe,ExistParams3:()=>Fe,ExistParams9:()=>je,FileObjectMeta:()=>f,FindByNameParams:()=>Ht,GetConfigCurrentUserParams:()=>Ee,GetConfigDepartmentConfigParams:()=>$e,GetConfigDepartmentParams:()=>Ge,GetConfigParams:()=>fe,GetConfigUserParams:()=>Le,GetDepartmentParams:()=>me,GetDictionaryParams:()=>Vt,GetListParams:()=>We,GetPermissionParams:()=>ye,GetPoliceParams:()=>pe,GetRoleParams:()=>qe,GetStayPointByUsernameParams:()=>ie,GetThirdPlatformParams:()=>ke,GetTraceByUsernameParams:()=>he,GetUserParams:()=>Ae,IPBlock:()=>E,IdCardLoginForm:()=>U,ImportResultPoliceImportResultDetail:()=>Mt,IpBlockParams:()=>Zt,ItemsByDictionaryIdParams:()=>Xt,ItemsParams:()=>Nt,Ledger:()=>S,LedgerSimple:()=>G,LedgerWriteRequest:()=>I,LegacyMultiUserTrackTimeRangeQuery:()=>$,LieyingGetStayPointByUsernameParams:()=>ne,LieyingGetTraceByUsernameParams:()=>oe,LieyingTraceOfMineParams:()=>ue,ListParams:()=>Be,LocationUploadRequest:()=>C,LoginLedgerParams:()=>te,LoginLedgerSelfParams:()=>ee,LoginResponse:()=>D,LogoutResult:()=>L,MessageBody:()=>R,MessageBodyWithReceiverObject:()=>At,MessageSendRequest:()=>v,MessageSessionOnlineUsersCountParams:()=>_e,MessageSessionOnlineUsersParams:()=>Qe,MultiUserQuery:()=>w,MultiUserTrackQuery:()=>z,MultiUserTrackTimeRangeQuery:()=>k,OperateLedgerParams:()=>se,PageResultDictionary:()=>Ft,PageResultIPBlock:()=>Wt,PageResultLedgerSimple:()=>Qt,PageResultString:()=>Jt,PageResultThirdPlatformEntity:()=>_t,PasswordForm:()=>x,Permission:()=>M,PermissionOptions:()=>A,PhoneLoginForm:()=>F,PhoneLoginResponse:()=>W,Point:()=>Q,Police:()=>_,PoliceCreateBean:()=>J,PoliceExistParams:()=>ge,PoliceFindByJybhParams:()=>Oe,PoliceImportParams:()=>be,PoliceImportResultDetail:()=>V,PoliceQueryBean:()=>H,PoliceUpdateBean:()=>N,PoliceUserCreateBean:()=>K,PoliceUserUpdateBean:()=>X,PostConfigCurrentUserParams:()=>Ue,PostConfigDepartmentConfigParams:()=>Ce,PostConfigDepartmentParams:()=>Ie,PostConfigUserParams:()=>Re,ReadUserConfigRequest:()=>Y,ReasonForm:()=>Z,RefreshParams:()=>Me,RequestShortAuthenticationParams:()=>Te,Resource:()=>tt,Role:()=>et,RoleCreateBean:()=>st,RoleUpdateBean:()=>at,SafetyLedgerParams:()=>ae,SendResponse:()=>rt,SmsVerifyCheckRequest:()=>it,SmsVerifyRequest:()=>ht,StayPoint:()=>nt,SwitchUserRequest:()=>ot,ThirdPlatformBinding:()=>ut,ThirdPlatformEntity:()=>lt,ThirdPlatformLoginRequest:()=>mt,ThirdPlatformLoginResponse:()=>ct,ThumbnailByIdParams:()=>ze,TimeRange:()=>dt,ToOssParams:()=>ve,Token:()=>pt,TraceOfMineParams:()=>le,User:()=>gt,UserConfigs:()=>Ot,UserCreateBean:()=>bt,UserLocation:()=>yt,UserLocationQueryBean:()=>Pt,UserLocationRequest:()=>Tt,UserLocationTrace:()=>qt,UserOrganizationUpdateBean:()=>jt,UserProfile:()=>Bt,UserProfileUpdateBean:()=>ft,UserQueryBean:()=>Et,UserRestriction:()=>Ut,UserSimpleEx:()=>St,UserSimpleWithAuth:()=>Gt,UserSimpleWithLocation:()=>It,UserStatus:()=>$t,UserStayPoints:()=>Ct,UserTrackQuery:()=>Dt,UserUpdateBean:()=>Lt,UsernamePasswordLoginForm:()=>Rt,WebSocketBrokerStats:()=>vt,WithItemsParams:()=>Kt,authApi:()=>Je});var t,e=s(289),r=function(t,e){var s={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(s[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(s[a[r]]=t[a[r]])}return s};class i{}class h{}class n{}class o{}class u{}class l{}class m{}class c{}class d{}class p{}class g{}class O{}class b{}class y{}class P{}class T{}class q{}class j{}class B{}class f{}class E{}class U{}class S{}class G{}class I{}class ${}class C{}class D{}class L{}class R{}class v{}class w{}class z{}class k{}class x{}class M{}class A{}class F{}class W{}class Q{}class _{}class J{}class V{}class H{}class N{}class K{}class X{}class Y{}class Z{}class tt{}class et{}class st{}class at{}class rt{}class it{}class ht{}class nt{}class ot{}class ut{}class lt{}class mt{}class ct{}class dt{}class pt{}class gt{}class Ot{}class bt{}class yt{}class Pt{}class Tt{}class qt{}class jt{}class Bt{}class ft{}class Et{}class Ut{}class St{}class Gt{}class It{}class $t{}class Ct{}class Dt{}class Lt{}class Rt{}class vt{}class wt{}class zt{}class kt{}class xt{}class Mt{}class At{}class Ft{}class Wt{}class Qt{}class _t{}class Jt{}class Vt{}class Ht{}class Nt{}class Kt{}class Xt{}class Yt{}class Zt{}class te{}class ee{}class se{}class ae{}class re{}class ie{}class he{}class ne{}class oe{}class ue{}class le{}class me{}class ce{}class de{}class pe{}class ge{}class Oe{}class be{}class ye{}class Pe{}class Te{}class qe{}class je{}class Be{}class fe{}class Ee{}class Ue{}class Se{}class Ge{}class Ie{}class $e{}class Ce{}class De{}class Le{}class Re{}class ve{}class we{}class ze{}class ke{}class xe{}class Me{}class Ae{}class Fe{}class We{}class Qe{}class _e{}!function(t){t.Json="application/json",t.FormData="multipart/form-data",t.UrlEncoded="application/x-www-form-urlencoded"}(t||(t={}));const Je=new class{constructor(t){this.captcha={captcha:(t={})=>this.http.request(Object.assign({url:"/auth/captcha",method:"GET"},t))},this.checkPassword={putCheckPassword:(t,e={})=>this.http.request(Object.assign({url:"/auth/check-password",method:"PUT",data:t},e))},this.countOnlineUser={countOnlineUser:(t={})=>this.http.request(Object.assign({url:"/auth/count-online-user",method:"GET"},t))},this.dictionary={getDictionary:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary",method:"GET",params:t},e)),postDictionary:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary",method:"POST",data:t},e)),findByName:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/find-by-name",method:"GET",params:t},e)),items:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/items",method:"GET",params:t},e)),withItems:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/with-items",method:"GET",params:t},e)),itemsByDictionaryId:(t,e)=>{var{dictionaryId:s}=t,a=r(t,["dictionaryId"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/dictionary/${s}/items`,method:"GET",params:a},e))},getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}`,method:"GET"},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}`,method:"PUT",data:e},s)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}`,method:"DELETE"},e)),putItemsById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}/items`,method:"PUT",data:e},s)),deleteItemsById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/dictionary/${s}/items`,method:"DELETE",params:a},e))},deleteItemsByIdAndItemId:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}/items/${e}`,method:"DELETE"},s))},this.ipBlock={ipBlock:(t,e={})=>this.http.request(Object.assign({url:"/auth/ip-block",method:"GET",params:t},e)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}`,method:"DELETE"},e)),putDisableById:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}/disable`,method:"PUT"},e)),putEnableById:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}/enable`,method:"PUT"},e)),getByIp:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}`,method:"GET"},e)),putByIp:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}`,method:"PUT"},e))},this.ledger={loginLedger:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/login-ledger",method:"GET",params:t},e)),loginLedgerSelf:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/login-ledger-self",method:"GET",params:t},e)),operateLedger:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/operate-ledger",method:"GET",params:t},e)),safetyLedger:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/safety-ledger",method:"GET",params:t},e)),write:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/write",method:"POST",data:t},e)),byId:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/ledger/${s}`,method:"GET",params:a},e))}},this.location={getLocationByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/get-location/${t}`,method:"GET"},e)),getStayPointMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/get-stay-point/multi-user",method:"POST",data:t},e)),getStayPointByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/get-stay-point/${s}`,method:"GET",params:a},e))},getTraceByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/get-trace/${s}`,method:"GET",params:a},e))},lieyingLegacyGetTraceByTimeRangeMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying-legacy/get-trace-by-time-range/multi-user",method:"POST",data:t},e)),lieyingGetStayPointMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/get-stay-point/multi-user",method:"POST",data:t},e)),lieyingGetStayPointByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/lieying/get-stay-point/${s}`,method:"GET",params:a},e))},lieyingGetTraceByTimeRangeMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/get-trace-by-time-range/multi-user",method:"POST",data:t},e)),lieyingGetTraceMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/get-trace/multi-user",method:"POST",data:t},e)),lieyingGetTraceByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/lieying/get-trace/${s}`,method:"GET",params:a},e))},lieyingTraceOfMine:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/trace-of-mine",method:"GET",params:t},e)),list:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/list",method:"POST",data:t},e)),listByUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/list/by-username",method:"POST",data:t},e)),point:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/point",method:"POST",data:t},e)),publicPoint:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/public/point",method:"POST",data:t},e)),traceOfMine:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/trace-of-mine",method:"GET",params:t},e))},this.login={login:(t,e={})=>this.http.request(Object.assign({url:"/auth/login",method:"POST",data:t},e))},this.loginByIdCard={loginByIdCard:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-id-card",method:"POST",data:t},e))},this.loginByPhone={loginByPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-phone",method:"POST",data:t},e))},this.loginByThirdPlatformCode={loginByThirdPlatformCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-third-platform-code",method:"POST",data:t},e))},this.logout={logout:(t={})=>this.http.request(Object.assign({url:"/auth/logout",method:"POST"},t))},this.me={getMe:(t={})=>this.http.request(Object.assign({url:"/auth/me",method:"GET"},t)),putMe:(t,e={})=>this.http.request(Object.assign({url:"/auth/me",method:"PUT",data:t},e)),putChangePassword:(t,e={})=>this.http.request(Object.assign({url:"/auth/me/change-password",method:"PUT",data:t},e))},this.organization={getDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department",method:"GET",params:t},e)),postDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department",method:"POST",data:t},e)),departmentByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}`,method:"GET"},e)),departmentAllChildrenBmdmByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/all-children-bmdm`,method:"GET"},e)),departmentAllParentByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/all-parent`,method:"GET"},e)),departmentAllParentBmdmByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/all-parent-bmdm`,method:"GET"},e)),departmentBrothersByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/brothers`,method:"GET"},e)),departmentChildrenByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/children`,method:"GET"},e)),departmentParentByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/parent`,method:"GET"},e)),departmentTreeByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/tree`,method:"GET"},e)),departmentExist:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/exist",method:"GET",params:t},e)),departmentImport:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/import",method:"POST",data:t},e)),departmentList:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/list",method:"POST",data:t},e)),departmentResetDigest:(t={})=>this.http.request(Object.assign({url:"/auth/organization/department/reset-digest",method:"GET"},t)),departmentTree:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/tree",method:"GET",params:t},e)),getDepartmentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}`,method:"GET"},e)),putDepartmentById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}`,method:"PUT",data:e},s)),deleteDepartmentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}`,method:"DELETE"},e)),departmentAllParentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/all-parent`,method:"GET"},e)),departmentBrothersById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/brothers`,method:"GET"},e)),departmentChildrenById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/children`,method:"GET"},e)),departmentParentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/parent`,method:"GET"},e)),getPolice:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police",method:"GET",params:t},e)),postPolice:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police",method:"POST",data:t},e)),policeExist:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/exist",method:"GET",params:t},e)),policeFindByJybh:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/find-by-jybh",method:"GET",params:t},e)),policeImport:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/organization/police/import",method:"POST",params:t,data:e},s)),policeList:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/list",method:"POST",data:t},e)),putPoliceSyncCurrentUserPolice:(t={})=>this.http.request(Object.assign({url:"/auth/organization/police/sync-current-user-police",method:"PUT"},t)),getPoliceById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/police/${t}`,method:"GET"},e)),putPoliceById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/organization/police/${t}`,method:"PUT",data:e},s)),deletePoliceById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/police/${t}`,method:"DELETE"},e))},this.permission={getPermission:(t,e={})=>this.http.request(Object.assign({url:"/auth/permission",method:"GET",params:t},e)),postPermission:(t,e={})=>this.http.request(Object.assign({url:"/auth/permission",method:"POST",data:t},e)),exist:(t,e={})=>this.http.request(Object.assign({url:"/auth/permission/exist",method:"GET",params:t},e)),getByCode:(t,e={})=>this.http.request(Object.assign({url:`/auth/permission/${t}`,method:"GET"},e)),putByCode:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/permission/${t}`,method:"PUT",data:e},s)),deleteByCode:(t,e={})=>this.http.request(Object.assign({url:`/auth/permission/${t}`,method:"DELETE"},e)),putOptionsByCode:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/permission/${t}/options`,method:"PUT",data:e},s))},this.policeLogin={policeLogin:(t,e={})=>this.http.request(Object.assign({url:"/auth/police-login",method:"POST",data:t},e))},this.policeUser={policeUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/police-user",method:"POST",data:t},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/police-user/${t}`,method:"PUT",data:e},s)),putDeleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/police-user/${t}/delete`,method:"PUT"},e)),putRestoreById:(t,e={})=>this.http.request(Object.assign({url:`/auth/police-user/${t}/restore`,method:"PUT"},e))},this.requestShortAuthentication={requestShortAuthentication:(t,e={})=>this.http.request(Object.assign({url:"/auth/request-short-authentication",method:"GET",params:t},e))},this.role={getRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/role",method:"GET",params:t},e)),postRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/role",method:"POST",data:t},e)),exist:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/exist",method:"GET",params:t},e)),list:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/list",method:"GET",params:t},e)),getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/role/${t}`,method:"GET"},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/role/${t}`,method:"PUT",data:e},s)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/role/${t}`,method:"DELETE"},e))},this.settings={getConfig:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config",method:"GET",params:t},e)),postConfig:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config",method:"POST",data:t},e)),getConfigAuth:(t={})=>this.http.request(Object.assign({url:"/auth/settings/config/auth",method:"GET"},t)),postConfigAuth:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/auth",method:"POST",data:t},e)),getConfigCurrentUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/current-user",method:"GET",params:t},e)),postConfigCurrentUser:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/current-user",method:"POST",params:t,data:e},s)),configCurrentUserDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/current-user-department",method:"GET",params:t},e)),getConfigDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/department",method:"GET",params:t},e)),postConfigDepartment:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/department",method:"POST",params:t,data:e},s)),getConfigDepartmentConfig:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/department-config",method:"GET",params:t},e)),postConfigDepartmentConfig:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/department-config",method:"POST",params:t,data:e},s)),configDepartmentConfigByKeysByDepartment:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/settings/config/department/${t}/config-by-keys`,method:"POST",data:e},s)),configHistory:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/history",method:"GET",params:t},e)),getConfigUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/user",method:"GET",params:t},e)),postConfigUser:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/user",method:"POST",params:t,data:e},s)),configUsers:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/users",method:"POST",data:t},e))},this.smsVerify={check:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms-verify/check",method:"POST",data:t},e)),send:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms-verify/send",method:"POST",data:t},e)),sendForLogin:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms-verify/send-for-login",method:"POST",data:t},e))},this.sms={send:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms/send",method:"POST",data:t},e))},this.staticResource={excelByFile:(t,e={})=>this.http.request(Object.assign({url:`/auth/static-resource/excel/${t}`,method:"GET"},e))},this.storageTransfer={toOss:(t,e={})=>this.http.request(Object.assign({url:"/auth/storage-transfer/to-oss",method:"POST",params:t},e))},this.storage={upload:(t,e={})=>this.http.request(Object.assign({url:"/auth/storage/upload",method:"POST",data:t},e)),byId:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/storage/${s}`,method:"GET",params:a},e))},metaById:(t,e={})=>this.http.request(Object.assign({url:`/auth/storage/${t}/meta`,method:"GET"},e)),thumbnailById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/storage/${s}/thumbnail`,method:"GET",params:a},e))}},this.thirdPlatform={getThirdPlatform:(t,e={})=>this.http.request(Object.assign({url:"/auth/third-platform",method:"GET",params:t},e)),postThirdPlatform:(t,e={})=>this.http.request(Object.assign({url:"/auth/third-platform",method:"POST",data:t},e)),getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/third-platform/${t}`,method:"GET"},e)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/third-platform/${t}`,method:"DELETE"},e)),accessTokenById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/third-platform/${s}/access-token`,method:"GET",params:a},e))}},this.thirdPlatformBinding={userBindingByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/third-platform-binding/user-binding/${t}`,method:"GET"},e)),userBindingUnbindByUsernameAndAppId:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/third-platform-binding/user-binding/${e}/unbind/${t}`,method:"POST"},s))},this.time={time:(t={})=>this.http.request(Object.assign({url:"/auth/time",method:"GET"},t))},this.token={refresh:(t,e={})=>this.http.request(Object.assign({url:"/auth/token/refresh",method:"GET",params:t},e))},this.user={getUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/user",method:"GET",params:t},e)),postUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/user",method:"POST",data:t},e)),clearCacheByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/clear-cache/${t}`,method:"GET"},e)),exist:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/exist",method:"GET",params:t},e)),findByUsernameByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/find-by-username/${t}`,method:"GET"},e)),findByUsernameSimpleByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/find-by-username/${t}/simple`,method:"GET"},e)),getList:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list",method:"GET",params:t},e)),postList:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list",method:"POST",data:t},e)),listSimpleInfo:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list-simple-info",method:"POST",data:t},e)),listSimple:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple",method:"POST",data:t},e)),listSimpleByRealname:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-by-realname",method:"POST",data:t},e)),listSimpleByUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-by-username",method:"POST",data:t},e)),listSimpleWithLocation:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-with-location",method:"POST",data:t},e)),listSimpleWithLocationByUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-with-location-by-username",method:"POST",data:t},e)),listUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/username",method:"POST",data:t},e)),getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}`,method:"GET"},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}`,method:"PUT",data:e},s)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}`,method:"DELETE"},e)),getAdminDepartmentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/admin-department`,method:"GET"},e)),putAdminDepartmentById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/admin-department`,method:"PUT",data:e},s)),putChangePasswordById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/change-password`,method:"PUT",data:e},s)),putDeleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/delete`,method:"PUT"},e)),putLockById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/lock`,method:"PUT",data:e},s)),putOrganizationById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/organization`,method:"PUT",data:e},s)),putPermissionsById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/permissions`,method:"PUT",data:e},s)),putResetPasswordById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/reset-password`,method:"PUT"},e)),putRestoreById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/restore`,method:"PUT"},e)),putRestrictionById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/restriction`,method:"PUT",data:e},s)),putUnlockById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/unlock`,method:"PUT"},e))},this.userExternal={bindPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/bind-phone",method:"POST",data:t},e))},this.v2={bindUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/bind-user",method:"POST",data:t},e)),login:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/login",method:"POST",data:t},e)),loginByPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/login-by-phone",method:"POST",data:t},e)),loginByThirdPlatformCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/login-by-third-platform-code",method:"POST",data:t},e)),logout:(t={})=>this.http.request(Object.assign({url:"/auth/v2/logout",method:"POST"},t)),me:(t={})=>this.http.request(Object.assign({url:"/auth/v2/me",method:"GET"},t)),policeLogin:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/police-login",method:"POST",data:t},e)),switchUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/switch-user",method:"POST",data:t},e))},this.ws={messageSessionOnlineUsers:(t,e={})=>this.http.request(Object.assign({url:"/auth/ws/message-session/online-users",method:"GET",params:t},e)),messageSessionOnlineUsersCount:(t,e={})=>this.http.request(Object.assign({url:"/auth/ws/message-session/online-users/count",method:"GET",params:t},e)),messageSessionTopicByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/ws/message-session/${t}/topic`,method:"GET"},e)),messageBroadcastByTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/broadcast/${t}`,method:"POST",data:e},s)),messageSendBatchByTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/send-batch/${t}`,method:"POST",data:e},s)),messageSendByUsernameAndTopic:(t,e,s,a={})=>this.http.request(Object.assign({url:`/auth/ws/message/send/${e}/${t}`,method:"POST",data:s},a)),messageSendCountByUsernameAndTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/send/${e}/${t}/count`,method:"GET"},s)),messageSendCountAndClearByUsernameAndTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/send/${e}/${t}/count-and-clear`,method:"GET"},s)),stats:(t={})=>this.http.request(Object.assign({url:"/auth/ws/stats",method:"GET"},t))},this.http=t}}(e.M)})();var r=exports;for(var i in a)r[i]=a[i];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var t={289:(t,e,s)=>{s.d(e,{M:()=>a});const a={request(t){throw new Error("please setup http client first")}}}},e={};function s(a){var r=e[a];if(void 0!==r)return r.exports;var i=e[a]={exports:{}};return t[a](i,i.exports,s),i.exports}s.d=(t,e)=>{for(var a in e)s.o(e,a)&&!s.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};(()=>{s.r(a),s.d(a,{AccessToken:()=>i,AccessTokenByIdParams:()=>xe,BindPhoneRequest:()=>h,BindUserRequest:()=>n,ByIdParams:()=>re,ByIdParams6:()=>we,ChangePasswordForm:()=>o,Config:()=>u,ConfigCurrentUserDepartmentParams:()=>Se,ConfigHistoryParams:()=>De,ConfigWithTimestamp:()=>l,ContentType:()=>t,DeleteItemsByIdParams:()=>Yt,Department:()=>m,DepartmentConfig:()=>c,DepartmentCreateBean:()=>d,DepartmentExistParams:()=>ce,DepartmentQueryBean:()=>p,DepartmentSimple:()=>g,DepartmentTree:()=>O,DepartmentTreeParams:()=>de,DepartmentUpdateBean:()=>b,DesensitizePageResultPolice:()=>wt,DesensitizePageResultUser:()=>xt,DesensitizePageResultUserSimpleEx:()=>zt,DesensitizePageResultUserSimpleWithLocation:()=>kt,DictItem:()=>y,Dictionary:()=>P,DictionaryCreateBean:()=>T,DictionaryUpdateBean:()=>q,DictionaryWithItems:()=>j,EntityDigest:()=>B,ExistParams:()=>Pe,ExistParams1:()=>je,ExistParams4:()=>Fe,FileObjectMeta:()=>f,FindByNameParams:()=>Ht,GetConfigCurrentUserParams:()=>Ee,GetConfigDepartmentConfigParams:()=>$e,GetConfigDepartmentParams:()=>Ge,GetConfigParams:()=>fe,GetConfigUserParams:()=>Le,GetDepartmentParams:()=>me,GetDictionaryParams:()=>Vt,GetListParams:()=>We,GetPermissionParams:()=>ye,GetPoliceParams:()=>pe,GetRoleParams:()=>qe,GetStayPointByUsernameParams:()=>ie,GetThirdPlatformParams:()=>ke,GetTraceByUsernameParams:()=>he,GetUserParams:()=>Ae,IPBlock:()=>E,IdCardLoginForm:()=>U,ImportResultPoliceImportResultDetail:()=>Mt,IpBlockParams:()=>Zt,ItemsByDictionaryIdParams:()=>Xt,ItemsParams:()=>Nt,Ledger:()=>S,LedgerSimple:()=>G,LedgerWriteRequest:()=>I,LegacyMultiUserTrackTimeRangeQuery:()=>$,LieyingGetStayPointByUsernameParams:()=>ne,LieyingGetTraceByUsernameParams:()=>oe,LieyingTraceOfMineParams:()=>ue,ListParams:()=>Be,LocationUploadRequest:()=>C,LoginLedgerParams:()=>te,LoginLedgerSelfParams:()=>ee,LoginResponse:()=>D,LogoutResult:()=>L,MessageBody:()=>R,MessageBodyWithReceiverObject:()=>At,MessageSendRequest:()=>v,MessageSessionOnlineUsersCountParams:()=>_e,MessageSessionOnlineUsersParams:()=>Qe,MultiUserQuery:()=>w,MultiUserTrackQuery:()=>z,MultiUserTrackTimeRangeQuery:()=>k,OperateLedgerParams:()=>se,PageResultDictionary:()=>Ft,PageResultIPBlock:()=>Wt,PageResultLedgerSimple:()=>Qt,PageResultString:()=>Jt,PageResultThirdPlatformEntity:()=>_t,PasswordForm:()=>x,Permission:()=>M,PermissionOptions:()=>A,PhoneLoginForm:()=>F,PhoneLoginResponse:()=>W,Point:()=>Q,Police:()=>_,PoliceCreateBean:()=>J,PoliceExistParams:()=>ge,PoliceFindByJybhParams:()=>Oe,PoliceImportParams:()=>be,PoliceImportResultDetail:()=>V,PoliceQueryBean:()=>H,PoliceUpdateBean:()=>N,PoliceUserCreateBean:()=>K,PoliceUserUpdateBean:()=>X,PostConfigCurrentUserParams:()=>Ue,PostConfigDepartmentConfigParams:()=>Ce,PostConfigDepartmentParams:()=>Ie,PostConfigUserParams:()=>Re,ReadUserConfigRequest:()=>Y,ReasonForm:()=>Z,RefreshParams:()=>Me,RequestShortAuthenticationParams:()=>Te,Resource:()=>tt,Role:()=>et,RoleCreateBean:()=>st,RoleUpdateBean:()=>at,SafetyLedgerParams:()=>ae,SendResponse:()=>rt,SmsVerifyCheckRequest:()=>it,SmsVerifyRequest:()=>ht,StayPoint:()=>nt,SwitchUserRequest:()=>ot,ThirdPlatformBinding:()=>ut,ThirdPlatformEntity:()=>lt,ThirdPlatformLoginRequest:()=>mt,ThirdPlatformLoginResponse:()=>ct,ThumbnailByIdParams:()=>ze,TimeRange:()=>dt,ToOssParams:()=>ve,Token:()=>pt,TraceOfMineParams:()=>le,User:()=>gt,UserConfigs:()=>Ot,UserCreateBean:()=>bt,UserLocation:()=>yt,UserLocationQueryBean:()=>Pt,UserLocationRequest:()=>Tt,UserLocationTrace:()=>qt,UserOrganizationUpdateBean:()=>jt,UserProfile:()=>Bt,UserProfileUpdateBean:()=>ft,UserQueryBean:()=>Et,UserRestriction:()=>Ut,UserSimpleEx:()=>St,UserSimpleWithAuth:()=>Gt,UserSimpleWithLocation:()=>It,UserStatus:()=>$t,UserStayPoints:()=>Ct,UserTrackQuery:()=>Dt,UserUpdateBean:()=>Lt,UsernamePasswordLoginForm:()=>Rt,WebSocketBrokerStats:()=>vt,WithItemsParams:()=>Kt,authApi:()=>Je});var t,e=s(289),r=function(t,e){var s={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(s[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(s[a[r]]=t[a[r]])}return s};class i{}class h{}class n{}class o{}class u{}class l{}class m{}class c{}class d{}class p{}class g{}class O{}class b{}class y{}class P{}class T{}class q{}class j{}class B{}class f{}class E{}class U{}class S{}class G{}class I{}class ${}class C{}class D{}class L{}class R{}class v{}class w{}class z{}class k{}class x{}class M{}class A{}class F{}class W{}class Q{}class _{}class J{}class V{}class H{}class N{}class K{}class X{}class Y{}class Z{}class tt{}class et{}class st{}class at{}class rt{}class it{}class ht{}class nt{}class ot{}class ut{}class lt{}class mt{}class ct{}class dt{}class pt{}class gt{}class Ot{}class bt{}class yt{}class Pt{}class Tt{}class qt{}class jt{}class Bt{}class ft{}class Et{}class Ut{}class St{}class Gt{}class It{}class $t{}class Ct{}class Dt{}class Lt{}class Rt{}class vt{}class wt{}class zt{}class kt{}class xt{}class Mt{}class At{}class Ft{}class Wt{}class Qt{}class _t{}class Jt{}class Vt{}class Ht{}class Nt{}class Kt{}class Xt{}class Yt{}class Zt{}class te{}class ee{}class se{}class ae{}class re{}class ie{}class he{}class ne{}class oe{}class ue{}class le{}class me{}class ce{}class de{}class pe{}class ge{}class Oe{}class be{}class ye{}class Pe{}class Te{}class qe{}class je{}class Be{}class fe{}class Ee{}class Ue{}class Se{}class Ge{}class Ie{}class $e{}class Ce{}class De{}class Le{}class Re{}class ve{}class we{}class ze{}class ke{}class xe{}class Me{}class Ae{}class Fe{}class We{}class Qe{}class _e{}!function(t){t.Json="application/json",t.FormData="multipart/form-data",t.UrlEncoded="application/x-www-form-urlencoded"}(t||(t={}));const Je=new class{constructor(t){this.captcha={captcha:(t={})=>this.http.request(Object.assign({url:"/auth/captcha",method:"GET"},t))},this.checkPassword={putCheckPassword:(t,e={})=>this.http.request(Object.assign({url:"/auth/check-password",method:"PUT",data:t},e))},this.countOnlineUser={countOnlineUser:(t={})=>this.http.request(Object.assign({url:"/auth/count-online-user",method:"GET"},t))},this.dictionary={getDictionary:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary",method:"GET",params:t},e)),postDictionary:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary",method:"POST",data:t},e)),findByName:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/find-by-name",method:"GET",params:t},e)),items:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/items",method:"GET",params:t},e)),withItems:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/with-items",method:"GET",params:t},e)),itemsByDictionaryId:(t,e)=>{var{dictionaryId:s}=t,a=r(t,["dictionaryId"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/dictionary/${s}/items`,method:"GET",params:a},e))},getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}`,method:"GET"},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}`,method:"PUT",data:e},s)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}`,method:"DELETE"},e)),putItemsById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}/items`,method:"PUT",data:e},s)),deleteItemsById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/dictionary/${s}/items`,method:"DELETE",params:a},e))},deleteItemsByIdAndItemId:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/dictionary/${t}/items/${e}`,method:"DELETE"},s))},this.ipBlock={ipBlock:(t,e={})=>this.http.request(Object.assign({url:"/auth/ip-block",method:"GET",params:t},e)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}`,method:"DELETE"},e)),putDisableById:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}/disable`,method:"PUT"},e)),putEnableById:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}/enable`,method:"PUT"},e)),getByIp:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}`,method:"GET"},e)),putByIp:(t,e={})=>this.http.request(Object.assign({url:`/auth/ip-block/${t}`,method:"PUT"},e))},this.ledger={loginLedger:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/login-ledger",method:"GET",params:t},e)),loginLedgerSelf:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/login-ledger-self",method:"GET",params:t},e)),operateLedger:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/operate-ledger",method:"GET",params:t},e)),safetyLedger:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/safety-ledger",method:"GET",params:t},e)),write:(t,e={})=>this.http.request(Object.assign({url:"/auth/ledger/write",method:"POST",data:t},e)),byId:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/ledger/${s}`,method:"GET",params:a},e))}},this.location={getLocationByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/get-location/${t}`,method:"GET"},e)),getStayPointMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/get-stay-point/multi-user",method:"POST",data:t},e)),getStayPointByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/get-stay-point/${s}`,method:"GET",params:a},e))},getTraceByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/get-trace/${s}`,method:"GET",params:a},e))},lieyingLegacyGetTraceByTimeRangeMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying-legacy/get-trace-by-time-range/multi-user",method:"POST",data:t},e)),lieyingGetStayPointMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/get-stay-point/multi-user",method:"POST",data:t},e)),lieyingGetStayPointByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/lieying/get-stay-point/${s}`,method:"GET",params:a},e))},lieyingGetTraceByTimeRangeMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/get-trace-by-time-range/multi-user",method:"POST",data:t},e)),lieyingGetTraceMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/get-trace/multi-user",method:"POST",data:t},e)),lieyingGetTraceByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/lieying/get-trace/${s}`,method:"GET",params:a},e))},lieyingTraceOfMine:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/trace-of-mine",method:"GET",params:t},e)),list:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/list",method:"POST",data:t},e)),listByUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/list/by-username",method:"POST",data:t},e)),point:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/point",method:"POST",data:t},e)),publicPoint:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/public/point",method:"POST",data:t},e)),traceOfMine:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/trace-of-mine",method:"GET",params:t},e))},this.login={login:(t,e={})=>this.http.request(Object.assign({url:"/auth/login",method:"POST",data:t},e))},this.loginByIdCard={loginByIdCard:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-id-card",method:"POST",data:t},e))},this.loginByPhone={loginByPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-phone",method:"POST",data:t},e))},this.loginByThirdPlatformCode={loginByThirdPlatformCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-third-platform-code",method:"POST",data:t},e))},this.logout={logout:(t={})=>this.http.request(Object.assign({url:"/auth/logout",method:"POST"},t))},this.me={getMe:(t={})=>this.http.request(Object.assign({url:"/auth/me",method:"GET"},t)),putMe:(t,e={})=>this.http.request(Object.assign({url:"/auth/me",method:"PUT",data:t},e)),putChangePassword:(t,e={})=>this.http.request(Object.assign({url:"/auth/me/change-password",method:"PUT",data:t},e))},this.organization={getDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department",method:"GET",params:t},e)),postDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department",method:"POST",data:t},e)),departmentByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}`,method:"GET"},e)),departmentAllChildrenBmdmByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/all-children-bmdm`,method:"GET"},e)),departmentAllParentByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/all-parent`,method:"GET"},e)),departmentAllParentBmdmByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/all-parent-bmdm`,method:"GET"},e)),departmentBrothersByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/brothers`,method:"GET"},e)),departmentChildrenByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/children`,method:"GET"},e)),departmentParentByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/parent`,method:"GET"},e)),departmentTreeByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/tree`,method:"GET"},e)),departmentExist:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/exist",method:"GET",params:t},e)),departmentImport:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/import",method:"POST",data:t},e)),departmentList:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/list",method:"POST",data:t},e)),departmentResetDigest:(t={})=>this.http.request(Object.assign({url:"/auth/organization/department/reset-digest",method:"GET"},t)),departmentTree:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/department/tree",method:"GET",params:t},e)),getDepartmentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}`,method:"GET"},e)),putDepartmentById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}`,method:"PUT",data:e},s)),deleteDepartmentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}`,method:"DELETE"},e)),departmentAllParentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/all-parent`,method:"GET"},e)),departmentBrothersById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/brothers`,method:"GET"},e)),departmentChildrenById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/children`,method:"GET"},e)),departmentParentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/${t}/parent`,method:"GET"},e)),getPolice:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police",method:"GET",params:t},e)),postPolice:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police",method:"POST",data:t},e)),policeExist:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/exist",method:"GET",params:t},e)),policeFindByJybh:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/find-by-jybh",method:"GET",params:t},e)),policeImport:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/organization/police/import",method:"POST",params:t,data:e},s)),policeList:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/list",method:"POST",data:t},e)),putPoliceSyncCurrentUserPolice:(t={})=>this.http.request(Object.assign({url:"/auth/organization/police/sync-current-user-police",method:"PUT"},t)),getPoliceById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/police/${t}`,method:"GET"},e)),putPoliceById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/organization/police/${t}`,method:"PUT",data:e},s)),deletePoliceById:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/police/${t}`,method:"DELETE"},e))},this.permission={getPermission:(t,e={})=>this.http.request(Object.assign({url:"/auth/permission",method:"GET",params:t},e)),postPermission:(t,e={})=>this.http.request(Object.assign({url:"/auth/permission",method:"POST",data:t},e)),exist:(t,e={})=>this.http.request(Object.assign({url:"/auth/permission/exist",method:"GET",params:t},e)),getByCode:(t,e={})=>this.http.request(Object.assign({url:`/auth/permission/${t}`,method:"GET"},e)),putByCode:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/permission/${t}`,method:"PUT",data:e},s)),deleteByCode:(t,e={})=>this.http.request(Object.assign({url:`/auth/permission/${t}`,method:"DELETE"},e)),putOptionsByCode:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/permission/${t}/options`,method:"PUT",data:e},s))},this.policeLogin={policeLogin:(t,e={})=>this.http.request(Object.assign({url:"/auth/police-login",method:"POST",data:t},e))},this.policeUser={policeUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/police-user",method:"POST",data:t},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/police-user/${t}`,method:"PUT",data:e},s)),putDeleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/police-user/${t}/delete`,method:"PUT"},e)),putRestoreById:(t,e={})=>this.http.request(Object.assign({url:`/auth/police-user/${t}/restore`,method:"PUT"},e))},this.requestShortAuthentication={requestShortAuthentication:(t,e={})=>this.http.request(Object.assign({url:"/auth/request-short-authentication",method:"GET",params:t},e))},this.role={getRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/role",method:"GET",params:t},e)),postRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/role",method:"POST",data:t},e)),exist:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/exist",method:"GET",params:t},e)),list:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/list",method:"GET",params:t},e)),getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/role/${t}`,method:"GET"},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/role/${t}`,method:"PUT",data:e},s)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/role/${t}`,method:"DELETE"},e))},this.settings={getConfig:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config",method:"GET",params:t},e)),postConfig:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config",method:"POST",data:t},e)),getConfigAuth:(t={})=>this.http.request(Object.assign({url:"/auth/settings/config/auth",method:"GET"},t)),postConfigAuth:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/auth",method:"POST",data:t},e)),getConfigCurrentUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/current-user",method:"GET",params:t},e)),postConfigCurrentUser:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/current-user",method:"POST",params:t,data:e},s)),configCurrentUserDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/current-user-department",method:"GET",params:t},e)),getConfigDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/department",method:"GET",params:t},e)),postConfigDepartment:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/department",method:"POST",params:t,data:e},s)),getConfigDepartmentConfig:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/department-config",method:"GET",params:t},e)),postConfigDepartmentConfig:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/department-config",method:"POST",params:t,data:e},s)),configDepartmentConfigByKeysByDepartment:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/settings/config/department/${t}/config-by-keys`,method:"POST",data:e},s)),configHistory:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/history",method:"GET",params:t},e)),getConfigUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/user",method:"GET",params:t},e)),postConfigUser:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/settings/config/user",method:"POST",params:t,data:e},s)),configUsers:(t,e={})=>this.http.request(Object.assign({url:"/auth/settings/config/users",method:"POST",data:t},e))},this.smsVerify={check:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms-verify/check",method:"POST",data:t},e)),send:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms-verify/send",method:"POST",data:t},e)),sendForLogin:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms-verify/send-for-login",method:"POST",data:t},e))},this.sms={send:(t,e={})=>this.http.request(Object.assign({url:"/auth/sms/send",method:"POST",data:t},e))},this.staticResource={excelByFile:(t,e={})=>this.http.request(Object.assign({url:`/auth/static-resource/excel/${t}`,method:"GET"},e))},this.storageTransfer={toOss:(t,e={})=>this.http.request(Object.assign({url:"/auth/storage-transfer/to-oss",method:"POST",params:t},e))},this.storage={upload:(t,e={})=>this.http.request(Object.assign({url:"/auth/storage/upload",method:"POST",data:t},e)),byId:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/storage/${s}`,method:"GET",params:a},e))},metaById:(t,e={})=>this.http.request(Object.assign({url:`/auth/storage/${t}/meta`,method:"GET"},e)),thumbnailById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/storage/${s}/thumbnail`,method:"GET",params:a},e))}},this.thirdPlatform={getThirdPlatform:(t,e={})=>this.http.request(Object.assign({url:"/auth/third-platform",method:"GET",params:t},e)),postThirdPlatform:(t,e={})=>this.http.request(Object.assign({url:"/auth/third-platform",method:"POST",data:t},e)),getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/third-platform/${t}`,method:"GET"},e)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/third-platform/${t}`,method:"DELETE"},e)),accessTokenById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/third-platform/${s}/access-token`,method:"GET",params:a},e))}},this.thirdPlatformBinding={userBindingByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/third-platform-binding/user-binding/${t}`,method:"GET"},e)),userBindingUnbindByUsernameAndAppId:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/third-platform-binding/user-binding/${e}/unbind/${t}`,method:"POST"},s))},this.time={time:(t={})=>this.http.request(Object.assign({url:"/auth/time",method:"GET"},t))},this.token={refresh:(t,e={})=>this.http.request(Object.assign({url:"/auth/token/refresh",method:"GET",params:t},e))},this.user={getUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/user",method:"GET",params:t},e)),postUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/user",method:"POST",data:t},e)),clearCacheByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/clear-cache/${t}`,method:"GET"},e)),exist:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/exist",method:"GET",params:t},e)),findByUsernameByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/find-by-username/${t}`,method:"GET"},e)),findByUsernameSimpleByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/find-by-username/${t}/simple`,method:"GET"},e)),getList:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list",method:"GET",params:t},e)),postList:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list",method:"POST",data:t},e)),listSimpleInfo:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list-simple-info",method:"POST",data:t},e)),listSimple:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple",method:"POST",data:t},e)),listSimpleByRealname:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-by-realname",method:"POST",data:t},e)),listSimpleByUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-by-username",method:"POST",data:t},e)),listSimpleWithLocation:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-with-location",method:"POST",data:t},e)),listSimpleWithLocationByUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/simple-with-location-by-username",method:"POST",data:t},e)),listUsername:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/list/username",method:"POST",data:t},e)),getById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}`,method:"GET"},e)),putById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}`,method:"PUT",data:e},s)),deleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}`,method:"DELETE"},e)),getAdminDepartmentById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/admin-department`,method:"GET"},e)),putAdminDepartmentById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/admin-department`,method:"PUT",data:e},s)),putChangePasswordById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/change-password`,method:"PUT",data:e},s)),putDeleteById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/delete`,method:"PUT"},e)),putLockById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/lock`,method:"PUT",data:e},s)),putOrganizationById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/organization`,method:"PUT",data:e},s)),putPermissionsById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/permissions`,method:"PUT",data:e},s)),putResetPasswordById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/reset-password`,method:"PUT"},e)),putRestoreById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/restore`,method:"PUT"},e)),putRestrictionById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/user/${t}/restriction`,method:"PUT",data:e},s)),putUnlockById:(t,e={})=>this.http.request(Object.assign({url:`/auth/user/${t}/unlock`,method:"PUT"},e))},this.userExternal={bindPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/bind-phone",method:"POST",data:t},e))},this.v2={bindUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/bind-user",method:"POST",data:t},e)),login:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/login",method:"POST",data:t},e)),loginByPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/login-by-phone",method:"POST",data:t},e)),loginByThirdPlatformCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/login-by-third-platform-code",method:"POST",data:t},e)),logout:(t={})=>this.http.request(Object.assign({url:"/auth/v2/logout",method:"POST"},t)),me:(t={})=>this.http.request(Object.assign({url:"/auth/v2/me",method:"GET"},t)),policeLogin:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/police-login",method:"POST",data:t},e)),switchUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/v2/switch-user",method:"POST",data:t},e))},this.ws={messageSessionOnlineUsers:(t,e={})=>this.http.request(Object.assign({url:"/auth/ws/message-session/online-users",method:"GET",params:t},e)),messageSessionOnlineUsersCount:(t,e={})=>this.http.request(Object.assign({url:"/auth/ws/message-session/online-users/count",method:"GET",params:t},e)),messageSessionTopicByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/ws/message-session/${t}/topic`,method:"GET"},e)),messageBroadcastByTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/broadcast/${t}`,method:"POST",data:e},s)),messageSendBatchByTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/send-batch/${t}`,method:"POST",data:e},s)),messageSendByUsernameAndTopic:(t,e,s,a={})=>this.http.request(Object.assign({url:`/auth/ws/message/send/${e}/${t}`,method:"POST",data:s},a)),messageSendCountByUsernameAndTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/send/${e}/${t}/count`,method:"GET"},s)),messageSendCountAndClearByUsernameAndTopic:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/ws/message/send/${e}/${t}/count-and-clear`,method:"GET"},s)),stats:(t={})=>this.http.request(Object.assign({url:"/auth/ws/stats",method:"GET"},t))},this.http=t}}(e.M)})();var r=exports;for(var i in a)r[i]=a[i];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
2
2
|
//# sourceMappingURL=auth.js.map
|