@gizone/rrs-client 4.1.3-alpha.231 → 4.2.0-alpha.233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api.ts +1 -0
- package/apis/hwork-api.ts +167 -0
- package/apis/message-api.ts +31 -5
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/hwork-api.d.ts +96 -0
- package/dist/apis/hwork-api.js +145 -0
- package/dist/apis/message-api.d.ts +18 -2
- package/dist/apis/message-api.js +15 -5
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/hwork-api.d.ts +96 -0
- package/dist/esm/apis/hwork-api.js +138 -0
- package/dist/esm/apis/message-api.d.ts +18 -2
- package/dist/esm/apis/message-api.js +15 -5
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/get-user-wx200-response.d.ts +4 -4
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/login-type-enum.d.ts +2 -0
- package/dist/esm/models/login-type-enum.js +3 -1
- package/dist/esm/models/sys-user.d.ts +6 -0
- package/dist/models/get-user-wx200-response.d.ts +4 -4
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/login-type-enum.d.ts +2 -0
- package/dist/models/login-type-enum.js +3 -1
- package/dist/models/sys-user.d.ts +6 -0
- package/models/get-user-wx200-response.ts +4 -4
- package/models/ipage-access-vo.ts +6 -6
- package/models/login-type-enum.ts +3 -1
- package/models/sys-user.ts +6 -0
- package/package.json +1 -1
package/dist/configuration.js
CHANGED
|
@@ -23,7 +23,7 @@ class Configuration {
|
|
|
23
23
|
this.accessToken = param.accessToken;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.
|
|
26
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.0/typescript-axios" }) }, param.baseOptions);
|
|
27
27
|
this.formDataCtor = param.formDataCtor;
|
|
28
28
|
}
|
|
29
29
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './apis/excel-language-controller-api';
|
|
|
31
31
|
export * from './apis/feedback-api';
|
|
32
32
|
export * from './apis/file-api';
|
|
33
33
|
export * from './apis/fire-safety-api';
|
|
34
|
+
export * from './apis/hwork-api';
|
|
34
35
|
export * from './apis/inspection-standard-api';
|
|
35
36
|
export * from './apis/internal-api';
|
|
36
37
|
export * from './apis/inventory-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -33,6 +33,7 @@ export * from './apis/excel-language-controller-api';
|
|
|
33
33
|
export * from './apis/feedback-api';
|
|
34
34
|
export * from './apis/file-api';
|
|
35
35
|
export * from './apis/fire-safety-api';
|
|
36
|
+
export * from './apis/hwork-api';
|
|
36
37
|
export * from './apis/inspection-standard-api';
|
|
37
38
|
export * from './apis/internal-api';
|
|
38
39
|
export * from './apis/inventory-api';
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResult } from '../models';
|
|
16
|
+
import type { LoginTypeEnum } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* HWorkApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const HWorkApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary 获取用户的某一个园区
|
|
25
|
+
* @param {LoginTypeEnum} loginType
|
|
26
|
+
* @param {number} [groupId]
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
getOnePark: (loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* HWorkApi - functional programming interface
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary 获取用户的某一个园区
|
|
40
|
+
* @param {LoginTypeEnum} loginType
|
|
41
|
+
* @param {number} [groupId]
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* HWorkApi - factory interface
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const HWorkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary 获取用户的某一个园区
|
|
55
|
+
* @param {HWorkApiGetOneParkRequest} requestParameters Request parameters.
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Request parameters for getOnePark operation in HWorkApi.
|
|
63
|
+
* @export
|
|
64
|
+
* @interface HWorkApiGetOneParkRequest
|
|
65
|
+
*/
|
|
66
|
+
export interface HWorkApiGetOneParkRequest {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {LoginTypeEnum}
|
|
70
|
+
* @memberof HWorkApiGetOnePark
|
|
71
|
+
*/
|
|
72
|
+
readonly loginType: LoginTypeEnum;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof HWorkApiGetOnePark
|
|
77
|
+
*/
|
|
78
|
+
readonly groupId?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* HWorkApi - object-oriented interface
|
|
82
|
+
* @export
|
|
83
|
+
* @class HWorkApi
|
|
84
|
+
* @extends {BaseAPI}
|
|
85
|
+
*/
|
|
86
|
+
export declare class HWorkApi extends BaseAPI {
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary 获取用户的某一个园区
|
|
90
|
+
* @param {HWorkApiGetOneParkRequest} requestParameters Request parameters.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
* @memberof HWorkApi
|
|
94
|
+
*/
|
|
95
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* HWorkApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const HWorkApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 获取用户的某一个园区
|
|
38
|
+
* @param {LoginTypeEnum} loginType
|
|
39
|
+
* @param {number} [groupId]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
getOnePark: (loginType_1, groupId_1, ...args_1) => __awaiter(this, [loginType_1, groupId_1, ...args_1], void 0, function* (loginType, groupId, options = {}) {
|
|
44
|
+
// verify required parameter 'loginType' is not null or undefined
|
|
45
|
+
assertParamExists('getOnePark', 'loginType', loginType);
|
|
46
|
+
const localVarPath = `/haier/hwork/getOnePark`;
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
54
|
+
const localVarHeaderParameter = {};
|
|
55
|
+
const localVarQueryParameter = {};
|
|
56
|
+
// authentication tokenScheme required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
59
|
+
if (groupId !== undefined) {
|
|
60
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
61
|
+
}
|
|
62
|
+
if (loginType !== undefined) {
|
|
63
|
+
localVarQueryParameter['loginType'] = loginType;
|
|
64
|
+
}
|
|
65
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68
|
+
return {
|
|
69
|
+
url: toPathString(localVarUrlObj),
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
}),
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* HWorkApi - functional programming interface
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export const HWorkApiFp = function (configuration) {
|
|
80
|
+
const localVarAxiosParamCreator = HWorkApiAxiosParamCreator(configuration);
|
|
81
|
+
return {
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @summary 获取用户的某一个园区
|
|
85
|
+
* @param {LoginTypeEnum} loginType
|
|
86
|
+
* @param {number} [groupId]
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
getOnePark(loginType, groupId, options) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
var _a, _b, _c;
|
|
93
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOnePark(loginType, groupId, options);
|
|
94
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
95
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HWorkApi.getOnePark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
96
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
97
|
+
});
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* HWorkApi - factory interface
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const HWorkApiFactory = function (configuration, basePath, axios) {
|
|
106
|
+
const localVarFp = HWorkApiFp(configuration);
|
|
107
|
+
return {
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary 获取用户的某一个园区
|
|
111
|
+
* @param {HWorkApiGetOneParkRequest} requestParameters Request parameters.
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
getOnePark(requestParameters, options) {
|
|
116
|
+
return localVarFp.getOnePark(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(axios, basePath));
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* HWorkApi - object-oriented interface
|
|
122
|
+
* @export
|
|
123
|
+
* @class HWorkApi
|
|
124
|
+
* @extends {BaseAPI}
|
|
125
|
+
*/
|
|
126
|
+
export class HWorkApi extends BaseAPI {
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary 获取用户的某一个园区
|
|
130
|
+
* @param {HWorkApiGetOneParkRequest} requestParameters Request parameters.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
* @memberof HWorkApi
|
|
134
|
+
*/
|
|
135
|
+
getOnePark(requestParameters, options) {
|
|
136
|
+
return HWorkApiFp(this.configuration).getOnePark(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(this.axios, this.basePath));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -73,10 +73,12 @@ export declare const MessageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
73
73
|
* @param {number} parkId 园区id
|
|
74
74
|
* @param {string} [date] 时间 年月日
|
|
75
75
|
* @param {SystemUserMsgTypeEnum} [type] 消息类型
|
|
76
|
+
* @param {string} [startTime] 开始时间 格式:yyyy-MM-dd HH:mm:ss
|
|
77
|
+
* @param {string} [endTime] 结束时间 格式:yyyy-MM-dd HH:mm:ss
|
|
76
78
|
* @param {*} [options] Override http request option.
|
|
77
79
|
* @throws {RequiredError}
|
|
78
80
|
*/
|
|
79
|
-
systemSelectList: (page: number, pageSize: number, userId: number, parkId: number, date?: string, type?: SystemUserMsgTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
systemSelectList: (page: number, pageSize: number, userId: number, parkId: number, date?: string, type?: SystemUserMsgTypeEnum, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
82
|
/**
|
|
81
83
|
*
|
|
82
84
|
* @summary 查询用户系统消息详情
|
|
@@ -140,10 +142,12 @@ export declare const MessageApiFp: (configuration?: Configuration) => {
|
|
|
140
142
|
* @param {number} parkId 园区id
|
|
141
143
|
* @param {string} [date] 时间 年月日
|
|
142
144
|
* @param {SystemUserMsgTypeEnum} [type] 消息类型
|
|
145
|
+
* @param {string} [startTime] 开始时间 格式:yyyy-MM-dd HH:mm:ss
|
|
146
|
+
* @param {string} [endTime] 结束时间 格式:yyyy-MM-dd HH:mm:ss
|
|
143
147
|
* @param {*} [options] Override http request option.
|
|
144
148
|
* @throws {RequiredError}
|
|
145
149
|
*/
|
|
146
|
-
systemSelectList(page: number, pageSize: number, userId: number, parkId: number, date?: string, type?: SystemUserMsgTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSysUserMsgDTO>>;
|
|
150
|
+
systemSelectList(page: number, pageSize: number, userId: number, parkId: number, date?: string, type?: SystemUserMsgTypeEnum, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSysUserMsgDTO>>;
|
|
147
151
|
/**
|
|
148
152
|
*
|
|
149
153
|
* @summary 查询用户系统消息详情
|
|
@@ -322,6 +326,18 @@ export interface MessageApiSystemSelectListRequest {
|
|
|
322
326
|
* @memberof MessageApiSystemSelectList
|
|
323
327
|
*/
|
|
324
328
|
readonly type?: SystemUserMsgTypeEnum;
|
|
329
|
+
/**
|
|
330
|
+
* 开始时间 格式:yyyy-MM-dd HH:mm:ss
|
|
331
|
+
* @type {string}
|
|
332
|
+
* @memberof MessageApiSystemSelectList
|
|
333
|
+
*/
|
|
334
|
+
readonly startTime?: string;
|
|
335
|
+
/**
|
|
336
|
+
* 结束时间 格式:yyyy-MM-dd HH:mm:ss
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof MessageApiSystemSelectList
|
|
339
|
+
*/
|
|
340
|
+
readonly endTime?: string;
|
|
325
341
|
}
|
|
326
342
|
/**
|
|
327
343
|
* Request parameters for systemUserMsgDetails operation in MessageApi.
|
|
@@ -212,10 +212,12 @@ export const MessageApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
* @param {number} parkId 园区id
|
|
213
213
|
* @param {string} [date] 时间 年月日
|
|
214
214
|
* @param {SystemUserMsgTypeEnum} [type] 消息类型
|
|
215
|
+
* @param {string} [startTime] 开始时间 格式:yyyy-MM-dd HH:mm:ss
|
|
216
|
+
* @param {string} [endTime] 结束时间 格式:yyyy-MM-dd HH:mm:ss
|
|
215
217
|
* @param {*} [options] Override http request option.
|
|
216
218
|
* @throws {RequiredError}
|
|
217
219
|
*/
|
|
218
|
-
systemSelectList: (page_1, pageSize_1, userId_1, parkId_1, date_1, type_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, userId_1, parkId_1, date_1, type_1, ...args_1], void 0, function* (page, pageSize, userId, parkId, date, type, options = {}) {
|
|
220
|
+
systemSelectList: (page_1, pageSize_1, userId_1, parkId_1, date_1, type_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, userId_1, parkId_1, date_1, type_1, startTime_1, endTime_1, ...args_1], void 0, function* (page, pageSize, userId, parkId, date, type, startTime, endTime, options = {}) {
|
|
219
221
|
// verify required parameter 'page' is not null or undefined
|
|
220
222
|
assertParamExists('systemSelectList', 'page', page);
|
|
221
223
|
// verify required parameter 'pageSize' is not null or undefined
|
|
@@ -255,6 +257,12 @@ export const MessageApiAxiosParamCreator = function (configuration) {
|
|
|
255
257
|
if (parkId !== undefined) {
|
|
256
258
|
localVarQueryParameter['parkId'] = parkId;
|
|
257
259
|
}
|
|
260
|
+
if (startTime !== undefined) {
|
|
261
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
262
|
+
}
|
|
263
|
+
if (endTime !== undefined) {
|
|
264
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
265
|
+
}
|
|
258
266
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
259
267
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
268
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -393,13 +401,15 @@ export const MessageApiFp = function (configuration) {
|
|
|
393
401
|
* @param {number} parkId 园区id
|
|
394
402
|
* @param {string} [date] 时间 年月日
|
|
395
403
|
* @param {SystemUserMsgTypeEnum} [type] 消息类型
|
|
404
|
+
* @param {string} [startTime] 开始时间 格式:yyyy-MM-dd HH:mm:ss
|
|
405
|
+
* @param {string} [endTime] 结束时间 格式:yyyy-MM-dd HH:mm:ss
|
|
396
406
|
* @param {*} [options] Override http request option.
|
|
397
407
|
* @throws {RequiredError}
|
|
398
408
|
*/
|
|
399
|
-
systemSelectList(page, pageSize, userId, parkId, date, type, options) {
|
|
409
|
+
systemSelectList(page, pageSize, userId, parkId, date, type, startTime, endTime, options) {
|
|
400
410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
401
411
|
var _a, _b, _c;
|
|
402
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.systemSelectList(page, pageSize, userId, parkId, date, type, options);
|
|
412
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.systemSelectList(page, pageSize, userId, parkId, date, type, startTime, endTime, options);
|
|
403
413
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
404
414
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MessageApi.systemSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
405
415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -488,7 +498,7 @@ export const MessageApiFactory = function (configuration, basePath, axios) {
|
|
|
488
498
|
* @throws {RequiredError}
|
|
489
499
|
*/
|
|
490
500
|
systemSelectList(requestParameters, options) {
|
|
491
|
-
return localVarFp.systemSelectList(requestParameters.page, requestParameters.pageSize, requestParameters.userId, requestParameters.parkId, requestParameters.date, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
501
|
+
return localVarFp.systemSelectList(requestParameters.page, requestParameters.pageSize, requestParameters.userId, requestParameters.parkId, requestParameters.date, requestParameters.type, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
492
502
|
},
|
|
493
503
|
/**
|
|
494
504
|
*
|
|
@@ -573,7 +583,7 @@ export class MessageApi extends BaseAPI {
|
|
|
573
583
|
* @memberof MessageApi
|
|
574
584
|
*/
|
|
575
585
|
systemSelectList(requestParameters, options) {
|
|
576
|
-
return MessageApiFp(this.configuration).systemSelectList(requestParameters.page, requestParameters.pageSize, requestParameters.userId, requestParameters.parkId, requestParameters.date, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
586
|
+
return MessageApiFp(this.configuration).systemSelectList(requestParameters.page, requestParameters.pageSize, requestParameters.userId, requestParameters.parkId, requestParameters.date, requestParameters.type, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
577
587
|
}
|
|
578
588
|
/**
|
|
579
589
|
*
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.0/typescript-axios" }) }, param.baseOptions);
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -55,16 +55,16 @@ export interface GetUserWx200Response {
|
|
|
55
55
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {GetUserWx200ResponseLocale}
|
|
59
59
|
* @memberof GetUserWx200Response
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
|
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageAccessVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {number}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
-
* @deprecated
|
|
48
47
|
*/
|
|
49
|
-
'
|
|
48
|
+
'pages'?: number;
|
|
50
49
|
/**
|
|
51
50
|
*
|
|
52
51
|
* @type {boolean}
|
|
53
52
|
* @memberof IPageAccessVO
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'hitCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -19,5 +19,7 @@ export declare const LoginTypeEnum: {
|
|
|
19
19
|
readonly Applet: "APPLET";
|
|
20
20
|
readonly App: "APP";
|
|
21
21
|
readonly H5: "H5";
|
|
22
|
+
readonly HWorkPc: "H_WORK_PC";
|
|
23
|
+
readonly HWorkApp: "H_WORK_APP";
|
|
22
24
|
};
|
|
23
25
|
export type LoginTypeEnum = typeof LoginTypeEnum[keyof typeof LoginTypeEnum];
|
|
@@ -55,16 +55,16 @@ export interface GetUserWx200Response {
|
|
|
55
55
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {GetUserWx200ResponseLocale}
|
|
59
59
|
* @memberof GetUserWx200Response
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
|
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageAccessVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {number}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
-
* @deprecated
|
|
48
47
|
*/
|
|
49
|
-
'
|
|
48
|
+
'pages'?: number;
|
|
50
49
|
/**
|
|
51
50
|
*
|
|
52
51
|
* @type {boolean}
|
|
53
52
|
* @memberof IPageAccessVO
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'hitCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -19,5 +19,7 @@ export declare const LoginTypeEnum: {
|
|
|
19
19
|
readonly Applet: "APPLET";
|
|
20
20
|
readonly App: "APP";
|
|
21
21
|
readonly H5: "H5";
|
|
22
|
+
readonly HWorkPc: "H_WORK_PC";
|
|
23
|
+
readonly HWorkApp: "H_WORK_APP";
|
|
22
24
|
};
|
|
23
25
|
export type LoginTypeEnum = typeof LoginTypeEnum[keyof typeof LoginTypeEnum];
|
|
@@ -64,16 +64,16 @@ export interface GetUserWx200Response {
|
|
|
64
64
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {GetUserWx200ResponseLocale}
|
|
68
68
|
* @memberof GetUserWx200Response
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
|
-
* @type {
|
|
73
|
+
* @type {number}
|
|
74
74
|
* @memberof GetUserWx200Response
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'bufferSize'?: number;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
|
@@ -43,23 +43,23 @@ export interface IPageAccessVO {
|
|
|
43
43
|
'records'?: Array<AccessVO>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {
|
|
46
|
+
* @type {boolean}
|
|
47
47
|
* @memberof IPageAccessVO
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'searchCount'?: boolean;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {number}
|
|
53
53
|
* @memberof IPageAccessVO
|
|
54
|
-
* @deprecated
|
|
55
54
|
*/
|
|
56
|
-
'
|
|
55
|
+
'pages'?: number;
|
|
57
56
|
/**
|
|
58
57
|
*
|
|
59
58
|
* @type {boolean}
|
|
60
59
|
* @memberof IPageAccessVO
|
|
60
|
+
* @deprecated
|
|
61
61
|
*/
|
|
62
|
-
'
|
|
62
|
+
'hitCount'?: boolean;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {number}
|
package/models/sys-user.ts
CHANGED