szpt-driver-api 1.0.46 → 1.0.48

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.
@@ -157,6 +157,8 @@ export declare class UserStatus {
157
157
  role: number;
158
158
  }
159
159
  export declare class GenerateRtcTokenParams {
160
+ /** appId */
161
+ appId: string;
160
162
  /** channel */
161
163
  channel: string;
162
164
  /**
@@ -169,6 +171,8 @@ export declare class GenerateRtcTokenParams {
169
171
  * @format int32
170
172
  */
171
173
  expire?: number;
174
+ /** role */
175
+ role?: "ROLE_PUBLISHER" | "ROLE_SUBSCRIBER";
172
176
  }
173
177
  export declare class AppChannelByAppIdParams {
174
178
  orderBy?: string[];
@@ -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 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 * @format int32\n */\n idle?: number;\n\n /**\n * 录制模式: 1 单流模式、2 合流模式\n * @pattern [12]\n */\n mode?: string;\n\n /** 远程录制地址 */\n remoteHost?: string;\n\n /**\n * 远程录制模式。默认为false\n * @example false\n */\n remoteMode?: boolean;\n\n /** 合录模式下的绘制模式。0:(默认)画面裁剪,1: 画面压缩 */\n renderMode?: string;\n\n /** 录制分辨率 */\n resolution?: string;\n}\n\nexport class Recording {\n /**\n * 是否归档\n * @example false\n */\n migrated: boolean;\n\n /** 对象ID */\n objectId: string;\n\n /** 路径 */\n path: string;\n\n /**\n * 大小\n * @format int64\n */\n size: number;\n\n /**\n * 时间\n * @format date-time\n */\n time: string;\n\n /** 用户 */\n user: string;\n}\n\nexport class RecordingSets {\n /** 应用ID */\n appId: string;\n\n /** 频道 */\n channel: string;\n\n /** 频道配置 */\n channelProfile: string;\n\n /**\n * 是否录制完成\n * @example false\n */\n done: boolean;\n\n /** 录制实例 */\n instance: string;\n\n /** 模式 */\n mode: string;\n\n /** 录制记录 */\n records: Recording[];\n\n /** 渲染模式 */\n renderMode: string;\n\n /**\n * 开始时间\n * @format date-time\n */\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 Token {\n token: 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 GenerateRtcTokenParams {\n /** channel */\n channel: string;\n\n /**\n * uid\n * @format int32\n */\n uid: number;\n\n /**\n * expire\n * @format int32\n */\n expire?: 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 /** 应用ID */\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 function = {\n /**\n * No description\n *\n * @tags function\n * @name GenerateRtcToken\n * @summary 生成用户token\n * @request POST:/agora-recorder/function/generate-rtc-token\n * @response `200` `Token` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n generateRtcToken: (query: GenerateRtcTokenParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<Token, void>({\n url: `/agora-recorder/function/generate-rtc-token`,\n method: \"POST\",\n params: query,\n ...axiosConfig,\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 DeleteDeleteByChannel\n * @summary 录制文件从对象存储中删除\n * @request DELETE:/agora-recorder/record/delete/{channel}\n * @response `200` `void` OK\n * @response `204` `void` No Content\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n */\n deleteDeleteByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/delete/${channel}`,\n method: \"DELETE\",\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 FindByChannelAndId\n * @summary 查询录制记录\n * @request GET:/agora-recorder/record/find/{channel}/{id}\n * @response `200` `RecordingSets` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n findByChannelAndId: (channel: string, id: number, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordingSets, void>({\n url: `/agora-recorder/record/find/${channel}/${id}`,\n method: \"GET\",\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` `number` 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<number, 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 DeleteRecordDeleteByChannel\n * @summary 录制文件从对象存储中删除\n * @request DELETE:/agora-recorder/inner/record/{channel}/delete\n * @response `200` `void` OK\n * @response `204` `void` No Content\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n */\n deleteRecordDeleteByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/inner/record/${channel}/delete`,\n method: \"DELETE\",\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","Token","UploadResult","UserStatus","GenerateRtcTokenParams","AppChannelByAppIdParams","RecordParams","ClearByChannelParams","DownloadParams","HandleMigrateParams","MigrateParams","RecordClearByChannelParams","agoraRecorderApi","constructor","http","function","generateRtcToken","query","axiosConfig","this","url","method","params","platform","app","appChannelByAppId","appId","appChannelKickAllByAppIdAndChannel","channel","appChannelUserByAppIdAndChannel","appChannelUserByAppIdAndChannelAndUid","uid","appChannelUserKickByAppIdAndChannelAndUid","record","clearByChannel","deleteDeleteByChannel","download","findByChannelAndId","id","handleMigrate","data","migrate","recordingByAppIdAndChannel","start","stopByAppIdAndChannel","inner","recordByChannel","recordClearByChannel","deleteRecordDeleteByChannel","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 * @format int32\n */\n idle?: number;\n\n /**\n * 录制模式: 1 单流模式、2 合流模式\n * @pattern [12]\n */\n mode?: string;\n\n /** 远程录制地址 */\n remoteHost?: string;\n\n /**\n * 远程录制模式。默认为false\n * @example false\n */\n remoteMode?: boolean;\n\n /** 合录模式下的绘制模式。0:(默认)画面裁剪,1: 画面压缩 */\n renderMode?: string;\n\n /** 录制分辨率 */\n resolution?: string;\n}\n\nexport class Recording {\n /**\n * 是否归档\n * @example false\n */\n migrated: boolean;\n\n /** 对象ID */\n objectId: string;\n\n /** 路径 */\n path: string;\n\n /**\n * 大小\n * @format int64\n */\n size: number;\n\n /**\n * 时间\n * @format date-time\n */\n time: string;\n\n /** 用户 */\n user: string;\n}\n\nexport class RecordingSets {\n /** 应用ID */\n appId: string;\n\n /** 频道 */\n channel: string;\n\n /** 频道配置 */\n channelProfile: string;\n\n /**\n * 是否录制完成\n * @example false\n */\n done: boolean;\n\n /** 录制实例 */\n instance: string;\n\n /** 模式 */\n mode: string;\n\n /** 录制记录 */\n records: Recording[];\n\n /** 渲染模式 */\n renderMode: string;\n\n /**\n * 开始时间\n * @format date-time\n */\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 Token {\n token: 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 GenerateRtcTokenParams {\n /** appId */\n appId: string;\n\n /** channel */\n channel: string;\n\n /**\n * uid\n * @format int32\n */\n uid: number;\n\n /**\n * expire\n * @format int32\n */\n expire?: number;\n\n /** role */\n role?: \"ROLE_PUBLISHER\" | \"ROLE_SUBSCRIBER\";\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 /** 应用ID */\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 function = {\n /**\n * No description\n *\n * @tags function\n * @name GenerateRtcToken\n * @summary 生成用户token\n * @request POST:/agora-recorder/function/generate-rtc-token\n * @response `200` `Token` OK\n * @response `201` `void` Created\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n generateRtcToken: (query: GenerateRtcTokenParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<Token, void>({\n url: `/agora-recorder/function/generate-rtc-token`,\n method: \"POST\",\n params: query,\n ...axiosConfig,\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 DeleteDeleteByChannel\n * @summary 录制文件从对象存储中删除\n * @request DELETE:/agora-recorder/record/delete/{channel}\n * @response `200` `void` OK\n * @response `204` `void` No Content\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n */\n deleteDeleteByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/record/delete/${channel}`,\n method: \"DELETE\",\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 FindByChannelAndId\n * @summary 查询录制记录\n * @request GET:/agora-recorder/record/find/{channel}/{id}\n * @response `200` `RecordingSets` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n findByChannelAndId: (channel: string, id: number, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<RecordingSets, void>({\n url: `/agora-recorder/record/find/${channel}/${id}`,\n method: \"GET\",\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` `number` 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<number, 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 DeleteRecordDeleteByChannel\n * @summary 录制文件从对象存储中删除\n * @request DELETE:/agora-recorder/inner/record/{channel}/delete\n * @response `200` `void` OK\n * @response `204` `void` No Content\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n */\n deleteRecordDeleteByChannel: (channel: string, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<void, void>({\n url: `/agora-recorder/inner/record/${channel}/delete`,\n method: \"DELETE\",\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","Token","UploadResult","UserStatus","GenerateRtcTokenParams","AppChannelByAppIdParams","RecordParams","ClearByChannelParams","DownloadParams","HandleMigrateParams","MigrateParams","RecordClearByChannelParams","agoraRecorderApi","constructor","http","function","generateRtcToken","query","axiosConfig","this","url","method","params","platform","app","appChannelByAppId","appId","appChannelKickAllByAppIdAndChannel","channel","appChannelUserByAppIdAndChannel","appChannelUserByAppIdAndChannelAndUid","uid","appChannelUserKickByAppIdAndChannelAndUid","record","clearByChannel","deleteDeleteByChannel","download","findByChannelAndId","id","handleMigrate","data","migrate","recordingByAppIdAndChannel","start","stopByAppIdAndChannel","inner","recordByChannel","recordClearByChannel","deleteRecordDeleteByChannel","recordMigrateByChannel"],"sourceRoot":""}
package/auth.d.ts CHANGED
@@ -40,6 +40,12 @@ export declare class AppRestResponse {
40
40
  /** 状态描述 */
41
41
  message: string;
42
42
  }
43
+ export declare class Area {
44
+ /** 代码 */
45
+ code: string;
46
+ /** 名称 */
47
+ name: string;
48
+ }
43
49
  export declare class AskForExtendUserExpireDurationRequest {
44
50
  /** 用户名 */
45
51
  loginName?: string;
@@ -60,6 +66,14 @@ export declare class CheckResponse {
60
66
  /** @format int64 */
61
67
  time: number;
62
68
  }
69
+ export declare class City {
70
+ /** 区县列表 */
71
+ area: Area[];
72
+ /** 代码 */
73
+ code: string;
74
+ /** 名称 */
75
+ name: string;
76
+ }
63
77
  export declare class ConfigReq {
64
78
  external?: boolean;
65
79
  inherit?: boolean;
@@ -1112,6 +1126,14 @@ export declare class PoliceUserUpdateBean {
1112
1126
  */
1113
1127
  sortIndex?: number;
1114
1128
  }
1129
+ export declare class Province {
1130
+ /** 城市列表 */
1131
+ city: City[];
1132
+ /** 代码 */
1133
+ code: string;
1134
+ /** 省或直辖市名称 */
1135
+ name: string;
1136
+ }
1115
1137
  export declare class ProxyRequest {
1116
1138
  data?: any;
1117
1139
  department?: string;
@@ -2076,6 +2098,12 @@ export declare class FindMergedParams {
2076
2098
  /** name */
2077
2099
  name: string;
2078
2100
  }
2101
+ export declare class CommonXzqhParams {
2102
+ /** cityCode */
2103
+ cityCode?: string;
2104
+ /** provinceCode */
2105
+ provinceCode?: string;
2106
+ }
2079
2107
  export declare class FindByNameParams {
2080
2108
  /** department */
2081
2109
  department?: string;
@@ -2765,7 +2793,7 @@ export declare class ConfigCurrentUserDepartmentParams {
2765
2793
  }
2766
2794
  export declare class GetConfigDepartmentParams {
2767
2795
  /** department */
2768
- department: string;
2796
+ department?: string;
2769
2797
  /** keys */
2770
2798
  keys: string[];
2771
2799
  }
@@ -2775,7 +2803,7 @@ export declare class PostConfigDepartmentParams {
2775
2803
  }
2776
2804
  export declare class GetConfigDepartmentConfigParams {
2777
2805
  /** department */
2778
- department: string;
2806
+ department?: string;
2779
2807
  /** keys */
2780
2808
  keys: string[];
2781
2809
  }
@@ -2832,7 +2860,7 @@ export declare class ToOssParams {
2832
2860
  export declare class UploadPayload {
2833
2861
  file?: File;
2834
2862
  }
2835
- export declare class ByIdParams4 {
2863
+ export declare class ByIdParams6 {
2836
2864
  /** format */
2837
2865
  format?: string;
2838
2866
  /** id */
@@ -3021,7 +3049,7 @@ export declare class GenerateUrlLinkParams {
3021
3049
  /** query */
3022
3050
  query?: string;
3023
3051
  }
3024
- export declare class ExistParams6 {
3052
+ export declare class ExistParams4 {
3025
3053
  /** 根据可管理部门id查询。支持多选 */
3026
3054
  adminDepartmentId?: number[];
3027
3055
  /** 根据部门代码查询。支持多选 */
@@ -3387,6 +3415,19 @@ declare class Api {
3387
3415
  * @response `404` `void` Not Found
3388
3416
  */
3389
3417
  postDictionary: (bean: DictionaryCreateBean, axiosConfig?: AxiosRequestConfig) => Promise<Dictionary>;
3418
+ /**
3419
+ * @description 所需权限:dictionary:find
3420
+ *
3421
+ * @tags dictionary
3422
+ * @name CommonXzqh
3423
+ * @summary 行政区划字典
3424
+ * @request GET:/auth/dictionary/common/xzqh
3425
+ * @response `200` `(Province)[]` OK
3426
+ * @response `401` `void` Unauthorized
3427
+ * @response `403` `void` Forbidden
3428
+ * @response `404` `void` Not Found
3429
+ */
3430
+ commonXzqh: (query: CommonXzqhParams, axiosConfig?: AxiosRequestConfig) => Promise<Province[]>;
3390
3431
  /**
3391
3432
  * @description 所需权限:dictionary:find
3392
3433
  *
@@ -5580,7 +5621,7 @@ declare class Api {
5580
5621
  * @response `403` `void` Forbidden
5581
5622
  * @response `404` `void` Not Found
5582
5623
  */
5583
- byId: ({ id, ...query }: ByIdParams4, axiosConfig?: AxiosRequestConfig) => Promise<Resource>;
5624
+ byId: ({ id, ...query }: ByIdParams6, axiosConfig?: AxiosRequestConfig) => Promise<Resource>;
5584
5625
  /**
5585
5626
  * No description
5586
5627
  *
@@ -6097,7 +6138,7 @@ declare class Api {
6097
6138
  * @response `403` `void` Forbidden
6098
6139
  * @response `404` `void` Not Found
6099
6140
  */
6100
- exist: (query: ExistParams6, axiosConfig?: AxiosRequestConfig) => Promise<boolean>;
6141
+ exist: (query: ExistParams4, axiosConfig?: AxiosRequestConfig) => Promise<boolean>;
6101
6142
  /**
6102
6143
  * @description 所需权限:user:admin
6103
6144
  *
package/auth.js CHANGED
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var t={491:(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:()=>ta,AddDictItem:()=>h,AddDictItemRequest:()=>n,Alarm:()=>o,AppRestResponse:()=>u,AskForExtendUserExpireDurationRequest:()=>l,BaseHint:()=>c,BindPhoneRequest:()=>m,ByIdParams:()=>Ve,ByIdParams4:()=>Qs,ChangePasswordForm:()=>d,CheckParams:()=>ve,CheckResponse:()=>p,ConfigCurrentUserDepartmentParams:()=>Rs,ConfigHistoryParams:()=>ws,ConfigReq:()=>g,ConfigRes:()=>y,ConfigWithTimestamp:()=>O,ContentType:()=>t,DeleteDepartmentByIdParams:()=>ds,DeleteItemsByIdParams:()=>He,Department:()=>b,DepartmentAllChildrenBmdmByBmdmParams:()=>ns,DepartmentArea:()=>P,DepartmentAreasByBmdmParams:()=>os,DepartmentChildrenByBmdmParams:()=>us,DepartmentChildrenByIdParams:()=>ps,DepartmentConfig:()=>T,DepartmentCreateBean:()=>q,DepartmentExistParams:()=>cs,DepartmentQueryBean:()=>j,DepartmentSimple:()=>B,DepartmentTree:()=>E,DepartmentTreeByBmdmParams:()=>ls,DepartmentTreeParams:()=>ms,DepartmentUpdateBean:()=>f,DeptDictItem:()=>S,DeptDictionaryWithItems:()=>U,DesensitizePageResultPolice:()=>be,DesensitizePageResultUser:()=>qe,DesensitizePageResultUserSimpleEx:()=>Pe,DesensitizePageResultUserSimpleWithLocation:()=>Te,DeviceInfo:()=>G,DeviceParams:()=>Le,DictItem:()=>I,Dictionary:()=>D,DictionaryCreateBean:()=>$,DictionaryUpdateBean:()=>C,DictionaryWithItems:()=>R,DynamicCodeLoginForm:()=>v,EntityDigest:()=>L,ExistParams:()=>js,ExistParams10:()=>Ss,ExistParams6:()=>ha,ExtendExpireRequest:()=>x,ExternalUserDTO:()=>k,FileObjectMeta:()=>w,FindByNameParams:()=>ze,FindMergedParams:()=>we,FindParams:()=>ke,GenDeviceIdResult:()=>z,GenerateUrlLinkByIdParams:()=>ea,GenerateUrlLinkParams:()=>ia,GetConfigCurrentUserParams:()=>$s,GetConfigDepartmentConfigParams:()=>xs,GetConfigDepartmentParams:()=>vs,GetConfigParams:()=>Ds,GetConfigUserParams:()=>zs,GetDepartmentParams:()=>hs,GetDictionaryParams:()=>xe,GetListParams:()=>na,GetMyTraceParams:()=>Ke,GetPermissionParams:()=>qs,GetPoliceParams:()=>gs,GetRoleParams:()=>fs,GetStayPointByUsernameParams:()=>Xe,GetThirdPlatformParams:()=>Zs,GetTraceByUsernameParams:()=>Ye,GetUserParams:()=>aa,HandlerStoreStats:()=>A,IPBlock:()=>M,IdCardLoginForm:()=>F,ImportResultPoliceImportResultDetail:()=>je,IpBlockParams:()=>We,ItemsByDictionaryIdParams:()=>Fe,ItemsParams:()=>Ae,JwtLoginForm:()=>H,Latlng:()=>W,Ledger:()=>Q,LedgerSimple:()=>J,LedgerWriteRequest:()=>_,LegacyMultiUserTrackTimeRangeQuery:()=>N,LieyingFlushUserDailyPointsParams:()=>Ze,LieyingGetStayPointByUsernameParams:()=>ts,LieyingGetTraceByUsernameParams:()=>es,LieyingTraceOfMineParams:()=>ss,ListCreateByMeParams:()=>Gs,ListParams:()=>Us,ListSimpleParams:()=>Is,LocationAlarmObject:()=>Be,LocationUploadRequest:()=>V,LockParams:()=>is,LoginLedgerParams:()=>Qe,LoginLedgerSelfParams:()=>Je,LoginRegisterRequest:()=>K,LoginResponse:()=>X,LogoutResult:()=>Y,MessageBody:()=>Z,MessageBodyWithReceiverObject:()=>Ee,MessageSendRequest:()=>tt,MessageSessionOnlineUsersCountParams:()=>la,MessageSessionOnlineUsersParams:()=>ua,MultiUserQuery:()=>et,MultiUserQueryForTimeRange:()=>st,MultiUserTrackQuery:()=>at,MultiUserTrackTimeRangeQuery:()=>rt,OnlineTimeRangeByUsernameParams:()=>as,OperateLedgerParams:()=>_e,PageResultDictionary:()=>fe,PageResultExternalUserDTO:()=>Se,PageResultIPBlock:()=>Ue,PageResultLedgerSimple:()=>Ge,PageResultString:()=>De,PageResultThirdPlatformEntity:()=>Ie,PasswordForm:()=>it,Permission:()=>ht,PermissionOptions:()=>nt,Point:()=>ot,Police:()=>ut,PoliceCreateBean:()=>lt,PoliceExistParams:()=>ys,PoliceFindByJybhParams:()=>Os,PoliceImportParams:()=>bs,PoliceImportResultDetail:()=>ct,PoliceQueryBean:()=>mt,PoliceUpdateBean:()=>dt,PoliceUserCreateBean:()=>pt,PoliceUserUpdateBean:()=>gt,PostConfigCurrentUserParams:()=>Cs,PostConfigDepartmentConfigParams:()=>ks,PostConfigDepartmentParams:()=>Ls,PostConfigUserParams:()=>As,ProxyPushHandlerDepartmentConfigParams:()=>_s,ProxyRequest:()=>yt,ProxyResponse:()=>Ot,PushDepartmentByDepartmentParams:()=>Ns,PushDictionaryParams:()=>Vs,PushResourceByResourceIdParams:()=>Ks,PushRoleParams:()=>Xs,PutPoliceSyncBatchParams:()=>Ps,PutPoliceSyncByIdParams:()=>Ts,PutUsernameByIdParams:()=>oa,ReadUserConfigRequest:()=>bt,ReasonForm:()=>Pt,RedundantInfo:()=>Tt,RefreshParams:()=>sa,RemoveDictItemRequest:()=>qt,RequestShortAuthenticationParams:()=>Es,Resource:()=>jt,Role:()=>Bt,RoleCreateBean:()=>Et,RoleParams:()=>Ys,RoleSimple:()=>ft,RoleTransDTO:()=>St,RoleUpdateBean:()=>Ut,SafetyLedgerParams:()=>Ne,SendMessageRequest:()=>Gt,SendResponse:()=>It,SmsVerifyCheckRequest:()=>Dt,SmsVerifyRequest:()=>$t,SseEmitter:()=>Ct,StayAtDeptTooLongAlarm:()=>Rt,StayPoint:()=>vt,StopTooLongAlarm:()=>Lt,SyncDepartmentHint:()=>xt,SyncUserHint:()=>kt,ThirdPlatformBinding:()=>wt,ThirdPlatformEntity:()=>zt,ThirdPlatformEnum:()=>At,ThirdPlatformHomeByIdParams:()=>Bs,ThirdPlatformLoginRequest:()=>Mt,ThirdPlatformLoginResponse:()=>Ft,ThirdPlatformNotificationParams:()=>$e,ThumbnailByIdParams:()=>Js,TimeRange:()=>Ht,TimeRange0:()=>Wt,ToOssParams:()=>Hs,Token:()=>Qt,TraceOfMineParams:()=>rs,UploadPayload:()=>Ws,User:()=>Jt,UserBatchUpdateBean:()=>_t,UserConfigs:()=>Nt,UserCreateBean:()=>Vt,UserExternalParams:()=>ra,UserInfoParams:()=>Ce,UserLocation:()=>Kt,UserLocationParams:()=>Re,UserLocationQueryBean:()=>Xt,UserLocationRequest:()=>Yt,UserLocationTrace:()=>Zt,UserOnlineTimeRanges:()=>te,UserOrganizationUpdateBean:()=>ee,UserPhoneLoginForm:()=>se,UserProfile:()=>ae,UserProfileUpdateBean:()=>re,UserPublicInfo:()=>ie,UserQueryBean:()=>he,UserRestriction:()=>ne,UserSimpleEx:()=>oe,UserSimpleWithAuth:()=>ue,UserSimpleWithLocation:()=>le,UserStatus:()=>ce,UserStayPoints:()=>me,UserTrackQuery:()=>de,UserUpdateBean:()=>pe,UsernamePasswordLoginForm:()=>ge,VerifyCodeRequest:()=>ye,WebSocketBrokerStats:()=>Oe,WithItemsParams:()=>Me,WsByTopicParams:()=>Fs,WsParams:()=>Ms,authApi:()=>ca});var t,e=s(491),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 c{}class m{}class d{}class p{}class g{}class y{}class O{}class b{}class P{}class T{}class q{}class j{}class B{}class E{}class f{}class S{}class U{}class G{}class I{}class D{}class ${}class C{}class R{}class v{}class L{}class x{}class k{}class w{}class z{}class A{}class M{}class F{}class H{}class W{}class Q{}class J{}class _{}class N{}class V{}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 ct{}class mt{}class dt{}class pt{}class gt{}class yt{}class Ot{}class bt{}class Pt{}class Tt{}class qt{}class jt{}class Bt{}class Et{}class ft{}class St{}class Ut{}class Gt{}class It{}class Dt{}class $t{}class Ct{}class Rt{}class vt{}class Lt{}class xt{}class kt{}class wt{}class zt{}class At{}class Mt{}class Ft{}class Ht{}class Wt{}class Qt{}class Jt{}class _t{}class Nt{}class Vt{}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 ce{}class me{}class de{}class pe{}class ge{}class ye{}class Oe{}class be{}class Pe{}class Te{}class qe{}class je{}class Be{}class Ee{}class fe{}class Se{}class Ue{}class Ge{}class Ie{}class De{}class $e{}class Ce{}class Re{}class ve{}class Le{}class xe{}class ke{}class we{}class ze{}class Ae{}class Me{}class Fe{}class He{}class We{}class Qe{}class Je{}class _e{}class Ne{}class Ve{}class Ke{}class Xe{}class Ye{}class Ze{}class ts{}class es{}class ss{}class as{}class rs{}class is{}class hs{}class ns{}class os{}class us{}class ls{}class cs{}class ms{}class ds{}class ps{}class gs{}class ys{}class Os{}class bs{}class Ps{}class Ts{}class qs{}class js{}class Bs{}class Es{}class fs{}class Ss{}class Us{}class Gs{}class Is{}class Ds{}class $s{}class Cs{}class Rs{}class vs{}class Ls{}class xs{}class ks{}class ws{}class zs{}class As{}class Ms{}class Fs{}class Hs{}class Ws{}class Qs{}class Js{}class _s{}class Ns{}class Vs{}class Ks{}class Xs{}class Ys{}class Zs{}class ta{}class ea{}class sa{}class aa{}class ra{}class ia{}class ha{}class na{}class oa{}class ua{}class la{}!function(t){t.Json="application/json",t.FormData="multipart/form-data",t.UrlEncoded="application/x-www-form-urlencoded"}(t||(t={}));const ca=new class{constructor(t){this.alarm={emit:(t,e={})=>this.http.request(Object.assign({url:"/auth/alarm/emit",method:"POST",data:t},e))},this.authCodeCapability={thirdPlatformNotification:(t,e={})=>this.http.request(Object.assign({url:"/auth/auth-code-capability/third-platform-notification",method:"POST",params:t},e)),userInfo:(t,e={})=>this.http.request(Object.assign({url:"/auth/auth-code-capability/user-info",method:"GET",params:t},e)),userLocation:(t,e={})=>this.http.request(Object.assign({url:"/auth/auth-code-capability/user-location",method:"GET",params:t},e))},this.captcha={captcha:(t={})=>this.http.request(Object.assign({url:"/auth/captcha",method:"GET"},t))},this.check={check:(t,e={})=>this.http.request(Object.assign({url:"/auth/check",method:"GET",params:t},e))},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.device={device:(t,e={})=>this.http.request(Object.assign({url:"/auth/device",method:"GET",params:t},e)),putCurrent:(t,e={})=>this.http.request(Object.assign({url:"/auth/device/current",method:"PUT",data:t},e))},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.dictionaryForDept={addItems:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/add-items",method:"POST",data:t},e)),create:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/create",method:"POST",data:t},e)),find:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/find",method:"GET",params:t},e)),findMerged:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/find-merged",method:"GET",params:t},e)),removeItems:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/remove-items",method:"POST",data:t},e))},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={alarmStayAtDeptTooLong:(t={})=>this.http.request(Object.assign({url:"/auth/location/alarm/stay-at-dept-too-long",method:"GET"},t)),alarmStayTooLong:(t={})=>this.http.request(Object.assign({url:"/auth/location/alarm/stay-too-long",method:"GET"},t)),getLocationByAuthCodeByAuthCode:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/get-location-by-auth-code/${t}`,method:"GET"},e)),getLocationByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/get-location/${t}`,method:"GET"},e)),getMyLocation:(t={})=>this.http.request(Object.assign({url:"/auth/location/get-my-location",method:"GET"},t)),getMyTrace:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/get-my-trace",method:"GET",params:t},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)),lieyingFlushUserDailyPoints:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/flush-user-daily-points",method:"POST",params: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))},lieyingHandlerStoreStats:(t={})=>this.http.request(Object.assign({url:"/auth/location/lieying/handler-store-stats",method:"GET"},t)),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)),onlineTimeRangeMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/online-time-range/multi-user",method:"POST",data:t},e)),onlineTimeRangeByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/online-time-range/${s}`,method:"GET",params:a},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)),userAlarmsByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/user-alarms/${t}`,method:"GET"},e))},this.lock={lock:(t,e={})=>this.http.request(Object.assign({url:"/auth/lock",method:"GET",params:t},e))},this.login={login:(t,e={})=>this.http.request(Object.assign({url:"/auth/login",method:"POST",data:t},e))},this.loginByDynamicCode={loginByDynamicCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-dynamic-code",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.loginByJwt={loginByJwt:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-jwt",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.loginDanger={loginDanger:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-danger",method:"POST",data:t},e)),byLoginName:(t,e={})=>this.http.request(Object.assign({url:`/auth/login-danger/${t}`,method:"POST"},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)),permissions:(t={})=>this.http.request(Object.assign({url:"/auth/me/permissions",method:"GET"},t))},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)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/all-children-bmdm`,method:"GET",params:a},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)),departmentAreasByBmdm:(t,e)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/areas`,method:"GET",params:a},e))},departmentBrothersByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/brothers`,method:"GET"},e)),departmentChildrenByBmdm:(t,e)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/children`,method:"GET",params:a},e))},departmentLocationByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/location`,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)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/tree`,method:"GET",params:a},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)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/${s}`,method:"DELETE",params:a},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)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/${s}/children`,method:"GET",params:a},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)),putPoliceSyncBatch:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/sync-batch",method:"PUT",params: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)),putPoliceSyncById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/police/${s}/sync`,method:"PUT",params:a},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.public={commonGenDeviceId:(t={})=>this.http.request(Object.assign({url:"/auth/public/common/gen-device-id",method:"GET"},t)),processAskForExtendUserExpireDuration:(t,e={})=>this.http.request(Object.assign({url:"/auth/public/process/ask-for-extend-user-expire-duration",method:"POST",data:t},e)),thirdPlatformAccessTokenById:(t,e={})=>this.http.request(Object.assign({url:`/auth/public/third-platform/${t}/access-token`,method:"GET"},e)),thirdPlatformHomeById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/public/third-platform/${s}/home`,method:"GET",params:a},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)),listCreateByMe:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/list-create-by-me",method:"GET",params:t},e)),listSimple:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/list-simple",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)),configPublic:(t={})=>this.http.request(Object.assign({url:"/auth/settings/config/public",method:"GET"},t)),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)),resetRateCheckByTarget:(t,e={})=>this.http.request(Object.assign({url:`/auth/sms-verify/reset-rate-check/${t}`,method:"POST"},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.sse={test:(t={})=>this.http.request(Object.assign({url:"/auth/sse/test",method:"GET"},t)),topicListeners:(t={})=>this.http.request(Object.assign({url:"/auth/sse/topic-listeners",method:"GET"},t)),ws:(t,e={})=>this.http.request(Object.assign({url:"/auth/sse/ws",method:"GET",params:t},e)),wsByTopic:(t,e)=>{var{topic:s}=t,a=r(t,["topic"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/sse/ws/${s}`,method:"GET",params:a},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.sync={commonDepartmentConfigKeys:(t={})=>this.http.request(Object.assign({url:"/auth/sync/common-department-config-keys",method:"GET"},t)),departmentByBmdm:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/department/${t}`,method:"POST",data:e},s)),proxy:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy",method:"POST",data:t},e)),proxyByIsp:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-by-isp",method:"POST",data:t},e)),proxyPushHandlerDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/department",method:"POST",data:t},e)),proxyPushHandlerDepartmentConfig:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/department-config",method:"POST",params:t,data:e},s)),proxyPushHandlerDictionary:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/dictionary",method:"POST",data:t},e)),proxyPushHandlerRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/role",method:"POST",data:t},e)),proxyPushHandlerUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/user",method:"POST",data:t},e)),pushDepartmentConfigByDepartment:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/push/department-config/${t}`,method:"POST",data:e},s)),pushDepartmentByDepartment:(t,e)=>{var{department:s}=t,a=r(t,["department"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/sync/push/department/${s}`,method:"POST",params:a},e))},pushDictionary:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/sync/push/dictionary",method:"POST",params:t,data:e},s)),pushResourceByResourceId:(t,e)=>{var{resourceId:s}=t,a=r(t,["resourceId"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/sync/push/resource/${s}`,method:"POST",params:a},e))},pushRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/push/role",method:"POST",params:t},e)),pushUserByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/sync/push/user/${t}`,method:"POST"},e)),resourceByResourceId:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/resource/${t}`,method:"POST",data:e},s)),role:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/sync/role",method:"POST",params:t,data:e},s)),userByUsername:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/user/${t}`,method:"POST",data:e},s)),userSignatureByUsername:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/user/${t}/signature`,method:"POST",data:e},s))},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)),categories:(t={})=>this.http.request(Object.assign({url:"/auth/third-platform/categories",method:"GET"},t)),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))},generateUrlLinkById:(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}/generate-url-link`,method:"GET",params:a},e))},sendMessageById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/third-platform/${t}/send-message`,method:"POST",data:e},s))},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)),extendUserExpire:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/extend-user-expire",method:"POST",data:t},e)),extendUserPasswordExpire:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/extend-user-password-expire",method:"POST",data: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)),putUpdateInBatch:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/update-in-batch",method:"PUT",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)),putUsernameById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/user/${s}/username`,method:"PUT",params:a},e))}},this.userExternal={userExternal:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external",method:"GET",params:t},e)),bindPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/bind-phone",method:"POST",data:t},e)),bindPhoneByVerifyCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/bind-phone-by-verify-code",method:"POST",data:t},e)),deleteDeleteByUsernameByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user-external/delete-by-username/${t}`,method:"DELETE"},e)),generateUrlLink:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/generate-url-link",method:"POST",params: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={491:(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:()=>ra,AddDictItem:()=>h,AddDictItemRequest:()=>n,Alarm:()=>o,AppRestResponse:()=>u,Area:()=>l,AskForExtendUserExpireDurationRequest:()=>c,BaseHint:()=>m,BindPhoneRequest:()=>d,ByIdParams:()=>Ze,ByIdParams6:()=>Vs,ChangePasswordForm:()=>p,CheckParams:()=>ke,CheckResponse:()=>g,City:()=>y,CommonXzqhParams:()=>Fe,ConfigCurrentUserDepartmentParams:()=>ks,ConfigHistoryParams:()=>Fs,ConfigReq:()=>O,ConfigRes:()=>b,ConfigWithTimestamp:()=>P,ContentType:()=>t,DeleteDepartmentByIdParams:()=>Os,DeleteItemsByIdParams:()=>_e,Department:()=>T,DepartmentAllChildrenBmdmByBmdmParams:()=>cs,DepartmentArea:()=>q,DepartmentAreasByBmdmParams:()=>ms,DepartmentChildrenByBmdmParams:()=>ds,DepartmentChildrenByIdParams:()=>bs,DepartmentConfig:()=>j,DepartmentCreateBean:()=>B,DepartmentExistParams:()=>gs,DepartmentQueryBean:()=>E,DepartmentSimple:()=>f,DepartmentTree:()=>S,DepartmentTreeByBmdmParams:()=>ps,DepartmentTreeParams:()=>ys,DepartmentUpdateBean:()=>U,DeptDictItem:()=>G,DeptDictionaryWithItems:()=>I,DesensitizePageResultPolice:()=>qe,DesensitizePageResultUser:()=>Ee,DesensitizePageResultUserSimpleEx:()=>je,DesensitizePageResultUserSimpleWithLocation:()=>Be,DeviceInfo:()=>D,DeviceParams:()=>we,DictItem:()=>$,Dictionary:()=>C,DictionaryCreateBean:()=>R,DictionaryUpdateBean:()=>v,DictionaryWithItems:()=>L,DynamicCodeLoginForm:()=>x,EntityDigest:()=>k,ExistParams:()=>Ss,ExistParams10:()=>Ds,ExistParams4:()=>la,ExtendExpireRequest:()=>w,ExternalUserDTO:()=>z,FileObjectMeta:()=>A,FindByNameParams:()=>He,FindMergedParams:()=>Me,FindParams:()=>Ae,GenDeviceIdResult:()=>M,GenerateUrlLinkByIdParams:()=>ia,GenerateUrlLinkParams:()=>ua,GetConfigCurrentUserParams:()=>Ls,GetConfigDepartmentConfigParams:()=>As,GetConfigDepartmentParams:()=>ws,GetConfigParams:()=>vs,GetConfigUserParams:()=>Hs,GetDepartmentParams:()=>ls,GetDictionaryParams:()=>ze,GetListParams:()=>ca,GetMyTraceParams:()=>ts,GetPermissionParams:()=>fs,GetPoliceParams:()=>Ps,GetRoleParams:()=>Is,GetStayPointByUsernameParams:()=>es,GetThirdPlatformParams:()=>aa,GetTraceByUsernameParams:()=>ss,GetUserParams:()=>na,HandlerStoreStats:()=>F,IPBlock:()=>H,IdCardLoginForm:()=>W,ImportResultPoliceImportResultDetail:()=>fe,IpBlockParams:()=>Ne,ItemsByDictionaryIdParams:()=>Je,ItemsParams:()=>We,JwtLoginForm:()=>Q,Latlng:()=>J,Ledger:()=>_,LedgerSimple:()=>N,LedgerWriteRequest:()=>V,LegacyMultiUserTrackTimeRangeQuery:()=>K,LieyingFlushUserDailyPointsParams:()=>as,LieyingGetStayPointByUsernameParams:()=>rs,LieyingGetTraceByUsernameParams:()=>is,LieyingTraceOfMineParams:()=>hs,ListCreateByMeParams:()=>Cs,ListParams:()=>$s,ListSimpleParams:()=>Rs,LocationAlarmObject:()=>Se,LocationUploadRequest:()=>X,LockParams:()=>us,LoginLedgerParams:()=>Ve,LoginLedgerSelfParams:()=>Ke,LoginRegisterRequest:()=>Y,LoginResponse:()=>Z,LogoutResult:()=>tt,MessageBody:()=>et,MessageBodyWithReceiverObject:()=>Ue,MessageSendRequest:()=>st,MessageSessionOnlineUsersCountParams:()=>pa,MessageSessionOnlineUsersParams:()=>da,MultiUserQuery:()=>at,MultiUserQueryForTimeRange:()=>rt,MultiUserTrackQuery:()=>it,MultiUserTrackTimeRangeQuery:()=>ht,OnlineTimeRangeByUsernameParams:()=>ns,OperateLedgerParams:()=>Xe,PageResultDictionary:()=>Ge,PageResultExternalUserDTO:()=>Ie,PageResultIPBlock:()=>De,PageResultLedgerSimple:()=>$e,PageResultString:()=>Re,PageResultThirdPlatformEntity:()=>Ce,PasswordForm:()=>nt,Permission:()=>ot,PermissionOptions:()=>ut,Point:()=>lt,Police:()=>ct,PoliceCreateBean:()=>mt,PoliceExistParams:()=>Ts,PoliceFindByJybhParams:()=>qs,PoliceImportParams:()=>js,PoliceImportResultDetail:()=>dt,PoliceQueryBean:()=>pt,PoliceUpdateBean:()=>gt,PoliceUserCreateBean:()=>yt,PoliceUserUpdateBean:()=>Ot,PostConfigCurrentUserParams:()=>xs,PostConfigDepartmentConfigParams:()=>Ms,PostConfigDepartmentParams:()=>zs,PostConfigUserParams:()=>Ws,Province:()=>bt,ProxyPushHandlerDepartmentConfigParams:()=>Xs,ProxyRequest:()=>Pt,ProxyResponse:()=>Tt,PushDepartmentByDepartmentParams:()=>Ys,PushDictionaryParams:()=>Zs,PushResourceByResourceIdParams:()=>ta,PushRoleParams:()=>ea,PutPoliceSyncBatchParams:()=>Bs,PutPoliceSyncByIdParams:()=>Es,PutUsernameByIdParams:()=>ma,ReadUserConfigRequest:()=>qt,ReasonForm:()=>jt,RedundantInfo:()=>Bt,RefreshParams:()=>ha,RemoveDictItemRequest:()=>Et,RequestShortAuthenticationParams:()=>Gs,Resource:()=>ft,Role:()=>St,RoleCreateBean:()=>Ut,RoleParams:()=>sa,RoleSimple:()=>Gt,RoleTransDTO:()=>It,RoleUpdateBean:()=>Dt,SafetyLedgerParams:()=>Ye,SendMessageRequest:()=>$t,SendResponse:()=>Ct,SmsVerifyCheckRequest:()=>Rt,SmsVerifyRequest:()=>vt,SseEmitter:()=>Lt,StayAtDeptTooLongAlarm:()=>xt,StayPoint:()=>kt,StopTooLongAlarm:()=>wt,SyncDepartmentHint:()=>zt,SyncUserHint:()=>At,ThirdPlatformBinding:()=>Mt,ThirdPlatformEntity:()=>Ft,ThirdPlatformEnum:()=>Ht,ThirdPlatformHomeByIdParams:()=>Us,ThirdPlatformLoginRequest:()=>Wt,ThirdPlatformLoginResponse:()=>Qt,ThirdPlatformNotificationParams:()=>ve,ThumbnailByIdParams:()=>Ks,TimeRange:()=>Jt,TimeRange0:()=>_t,ToOssParams:()=>_s,Token:()=>Nt,TraceOfMineParams:()=>os,UploadPayload:()=>Ns,User:()=>Vt,UserBatchUpdateBean:()=>Kt,UserConfigs:()=>Xt,UserCreateBean:()=>Yt,UserExternalParams:()=>oa,UserInfoParams:()=>Le,UserLocation:()=>Zt,UserLocationParams:()=>xe,UserLocationQueryBean:()=>te,UserLocationRequest:()=>ee,UserLocationTrace:()=>se,UserOnlineTimeRanges:()=>ae,UserOrganizationUpdateBean:()=>re,UserPhoneLoginForm:()=>ie,UserProfile:()=>he,UserProfileUpdateBean:()=>ne,UserPublicInfo:()=>oe,UserQueryBean:()=>ue,UserRestriction:()=>le,UserSimpleEx:()=>ce,UserSimpleWithAuth:()=>me,UserSimpleWithLocation:()=>de,UserStatus:()=>pe,UserStayPoints:()=>ge,UserTrackQuery:()=>ye,UserUpdateBean:()=>Oe,UsernamePasswordLoginForm:()=>be,VerifyCodeRequest:()=>Pe,WebSocketBrokerStats:()=>Te,WithItemsParams:()=>Qe,WsByTopicParams:()=>Js,WsParams:()=>Qs,authApi:()=>ga});var t,e=s(491),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 c{}class m{}class d{}class p{}class g{}class y{}class O{}class b{}class P{}class T{}class q{}class j{}class B{}class E{}class f{}class S{}class U{}class G{}class I{}class D{}class ${}class C{}class R{}class v{}class L{}class x{}class k{}class w{}class z{}class A{}class M{}class F{}class H{}class W{}class Q{}class J{}class _{}class N{}class V{}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 ct{}class mt{}class dt{}class pt{}class gt{}class yt{}class Ot{}class bt{}class Pt{}class Tt{}class qt{}class jt{}class Bt{}class Et{}class ft{}class St{}class Ut{}class Gt{}class It{}class Dt{}class $t{}class Ct{}class Rt{}class vt{}class Lt{}class xt{}class kt{}class wt{}class zt{}class At{}class Mt{}class Ft{}class Ht{}class Wt{}class Qt{}class Jt{}class _t{}class Nt{}class Vt{}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 ce{}class me{}class de{}class pe{}class ge{}class ye{}class Oe{}class be{}class Pe{}class Te{}class qe{}class je{}class Be{}class Ee{}class fe{}class Se{}class Ue{}class Ge{}class Ie{}class De{}class $e{}class Ce{}class Re{}class ve{}class Le{}class xe{}class ke{}class we{}class ze{}class Ae{}class Me{}class Fe{}class He{}class We{}class Qe{}class Je{}class _e{}class Ne{}class Ve{}class Ke{}class Xe{}class Ye{}class Ze{}class ts{}class es{}class ss{}class as{}class rs{}class is{}class hs{}class ns{}class os{}class us{}class ls{}class cs{}class ms{}class ds{}class ps{}class gs{}class ys{}class Os{}class bs{}class Ps{}class Ts{}class qs{}class js{}class Bs{}class Es{}class fs{}class Ss{}class Us{}class Gs{}class Is{}class Ds{}class $s{}class Cs{}class Rs{}class vs{}class Ls{}class xs{}class ks{}class ws{}class zs{}class As{}class Ms{}class Fs{}class Hs{}class Ws{}class Qs{}class Js{}class _s{}class Ns{}class Vs{}class Ks{}class Xs{}class Ys{}class Zs{}class ta{}class ea{}class sa{}class aa{}class ra{}class ia{}class ha{}class na{}class oa{}class ua{}class la{}class ca{}class ma{}class da{}class pa{}!function(t){t.Json="application/json",t.FormData="multipart/form-data",t.UrlEncoded="application/x-www-form-urlencoded"}(t||(t={}));const ga=new class{constructor(t){this.alarm={emit:(t,e={})=>this.http.request(Object.assign({url:"/auth/alarm/emit",method:"POST",data:t},e))},this.authCodeCapability={thirdPlatformNotification:(t,e={})=>this.http.request(Object.assign({url:"/auth/auth-code-capability/third-platform-notification",method:"POST",params:t},e)),userInfo:(t,e={})=>this.http.request(Object.assign({url:"/auth/auth-code-capability/user-info",method:"GET",params:t},e)),userLocation:(t,e={})=>this.http.request(Object.assign({url:"/auth/auth-code-capability/user-location",method:"GET",params:t},e))},this.captcha={captcha:(t={})=>this.http.request(Object.assign({url:"/auth/captcha",method:"GET"},t))},this.check={check:(t,e={})=>this.http.request(Object.assign({url:"/auth/check",method:"GET",params:t},e))},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.device={device:(t,e={})=>this.http.request(Object.assign({url:"/auth/device",method:"GET",params:t},e)),putCurrent:(t,e={})=>this.http.request(Object.assign({url:"/auth/device/current",method:"PUT",data:t},e))},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)),commonXzqh:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary/common/xzqh",method:"GET",params: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.dictionaryForDept={addItems:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/add-items",method:"POST",data:t},e)),create:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/create",method:"POST",data:t},e)),find:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/find",method:"GET",params:t},e)),findMerged:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/find-merged",method:"GET",params:t},e)),removeItems:(t,e={})=>this.http.request(Object.assign({url:"/auth/dictionary-for-dept/remove-items",method:"POST",data:t},e))},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={alarmStayAtDeptTooLong:(t={})=>this.http.request(Object.assign({url:"/auth/location/alarm/stay-at-dept-too-long",method:"GET"},t)),alarmStayTooLong:(t={})=>this.http.request(Object.assign({url:"/auth/location/alarm/stay-too-long",method:"GET"},t)),getLocationByAuthCodeByAuthCode:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/get-location-by-auth-code/${t}`,method:"GET"},e)),getLocationByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/get-location/${t}`,method:"GET"},e)),getMyLocation:(t={})=>this.http.request(Object.assign({url:"/auth/location/get-my-location",method:"GET"},t)),getMyTrace:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/get-my-trace",method:"GET",params:t},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)),lieyingFlushUserDailyPoints:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/lieying/flush-user-daily-points",method:"POST",params: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))},lieyingHandlerStoreStats:(t={})=>this.http.request(Object.assign({url:"/auth/location/lieying/handler-store-stats",method:"GET"},t)),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)),onlineTimeRangeMultiUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/location/online-time-range/multi-user",method:"POST",data:t},e)),onlineTimeRangeByUsername:(t,e)=>{var{username:s}=t,a=r(t,["username"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/location/online-time-range/${s}`,method:"GET",params:a},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)),userAlarmsByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/location/user-alarms/${t}`,method:"GET"},e))},this.lock={lock:(t,e={})=>this.http.request(Object.assign({url:"/auth/lock",method:"GET",params:t},e))},this.login={login:(t,e={})=>this.http.request(Object.assign({url:"/auth/login",method:"POST",data:t},e))},this.loginByDynamicCode={loginByDynamicCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-dynamic-code",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.loginByJwt={loginByJwt:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-by-jwt",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.loginDanger={loginDanger:(t,e={})=>this.http.request(Object.assign({url:"/auth/login-danger",method:"POST",data:t},e)),byLoginName:(t,e={})=>this.http.request(Object.assign({url:`/auth/login-danger/${t}`,method:"POST"},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)),permissions:(t={})=>this.http.request(Object.assign({url:"/auth/me/permissions",method:"GET"},t))},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)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/all-children-bmdm`,method:"GET",params:a},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)),departmentAreasByBmdm:(t,e)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/areas`,method:"GET",params:a},e))},departmentBrothersByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/brothers`,method:"GET"},e)),departmentChildrenByBmdm:(t,e)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/children`,method:"GET",params:a},e))},departmentLocationByBmdm:(t,e={})=>this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${t}/location`,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)=>{var{bmdm:s}=t,a=r(t,["bmdm"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/by-bmdm/${s}/tree`,method:"GET",params:a},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)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/${s}`,method:"DELETE",params:a},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)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/department/${s}/children`,method:"GET",params:a},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)),putPoliceSyncBatch:(t,e={})=>this.http.request(Object.assign({url:"/auth/organization/police/sync-batch",method:"PUT",params: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)),putPoliceSyncById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/organization/police/${s}/sync`,method:"PUT",params:a},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.public={commonGenDeviceId:(t={})=>this.http.request(Object.assign({url:"/auth/public/common/gen-device-id",method:"GET"},t)),processAskForExtendUserExpireDuration:(t,e={})=>this.http.request(Object.assign({url:"/auth/public/process/ask-for-extend-user-expire-duration",method:"POST",data:t},e)),thirdPlatformAccessTokenById:(t,e={})=>this.http.request(Object.assign({url:`/auth/public/third-platform/${t}/access-token`,method:"GET"},e)),thirdPlatformHomeById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/public/third-platform/${s}/home`,method:"GET",params:a},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)),listCreateByMe:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/list-create-by-me",method:"GET",params:t},e)),listSimple:(t,e={})=>this.http.request(Object.assign({url:"/auth/role/list-simple",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)),configPublic:(t={})=>this.http.request(Object.assign({url:"/auth/settings/config/public",method:"GET"},t)),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)),resetRateCheckByTarget:(t,e={})=>this.http.request(Object.assign({url:`/auth/sms-verify/reset-rate-check/${t}`,method:"POST"},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.sse={test:(t={})=>this.http.request(Object.assign({url:"/auth/sse/test",method:"GET"},t)),topicListeners:(t={})=>this.http.request(Object.assign({url:"/auth/sse/topic-listeners",method:"GET"},t)),ws:(t,e={})=>this.http.request(Object.assign({url:"/auth/sse/ws",method:"GET",params:t},e)),wsByTopic:(t,e)=>{var{topic:s}=t,a=r(t,["topic"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/sse/ws/${s}`,method:"GET",params:a},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.sync={commonDepartmentConfigKeys:(t={})=>this.http.request(Object.assign({url:"/auth/sync/common-department-config-keys",method:"GET"},t)),departmentByBmdm:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/department/${t}`,method:"POST",data:e},s)),proxy:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy",method:"POST",data:t},e)),proxyByIsp:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-by-isp",method:"POST",data:t},e)),proxyPushHandlerDepartment:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/department",method:"POST",data:t},e)),proxyPushHandlerDepartmentConfig:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/department-config",method:"POST",params:t,data:e},s)),proxyPushHandlerDictionary:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/dictionary",method:"POST",data:t},e)),proxyPushHandlerRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/role",method:"POST",data:t},e)),proxyPushHandlerUser:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/proxy-push-handler/user",method:"POST",data:t},e)),pushDepartmentConfigByDepartment:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/push/department-config/${t}`,method:"POST",data:e},s)),pushDepartmentByDepartment:(t,e)=>{var{department:s}=t,a=r(t,["department"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/sync/push/department/${s}`,method:"POST",params:a},e))},pushDictionary:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/sync/push/dictionary",method:"POST",params:t,data:e},s)),pushResourceByResourceId:(t,e)=>{var{resourceId:s}=t,a=r(t,["resourceId"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/sync/push/resource/${s}`,method:"POST",params:a},e))},pushRole:(t,e={})=>this.http.request(Object.assign({url:"/auth/sync/push/role",method:"POST",params:t},e)),pushUserByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/sync/push/user/${t}`,method:"POST"},e)),resourceByResourceId:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/resource/${t}`,method:"POST",data:e},s)),role:(t,e,s={})=>this.http.request(Object.assign({url:"/auth/sync/role",method:"POST",params:t,data:e},s)),userByUsername:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/user/${t}`,method:"POST",data:e},s)),userSignatureByUsername:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/sync/user/${t}/signature`,method:"POST",data:e},s))},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)),categories:(t={})=>this.http.request(Object.assign({url:"/auth/third-platform/categories",method:"GET"},t)),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))},generateUrlLinkById:(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}/generate-url-link`,method:"GET",params:a},e))},sendMessageById:(t,e,s={})=>this.http.request(Object.assign({url:`/auth/third-platform/${t}/send-message`,method:"POST",data:e},s))},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)),extendUserExpire:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/extend-user-expire",method:"POST",data:t},e)),extendUserPasswordExpire:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/extend-user-password-expire",method:"POST",data: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)),putUpdateInBatch:(t,e={})=>this.http.request(Object.assign({url:"/auth/user/update-in-batch",method:"PUT",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)),putUsernameById:(t,e)=>{var{id:s}=t,a=r(t,["id"]);return void 0===e&&(e={}),this.http.request(Object.assign({url:`/auth/user/${s}/username`,method:"PUT",params:a},e))}},this.userExternal={userExternal:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external",method:"GET",params:t},e)),bindPhone:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/bind-phone",method:"POST",data:t},e)),bindPhoneByVerifyCode:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/bind-phone-by-verify-code",method:"POST",data:t},e)),deleteDeleteByUsernameByUsername:(t,e={})=>this.http.request(Object.assign({url:`/auth/user-external/delete-by-username/${t}`,method:"DELETE"},e)),generateUrlLink:(t,e={})=>this.http.request(Object.assign({url:"/auth/user-external/generate-url-link",method:"POST",params: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