@gizone/rrs-client 4.2.0-alpha.287 → 4.2.0-alpha.289
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/apis/open-api-api.ts +6 -18
- package/dist/apis/open-api-api.d.ts +2 -10
- package/dist/apis/open-api-api.js +6 -11
- package/dist/esm/apis/open-api-api.d.ts +2 -10
- package/dist/esm/apis/open-api-api.js +6 -11
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/sys-user.d.ts +4 -4
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
package/apis/open-api-api.ts
CHANGED
|
@@ -38,18 +38,14 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary 批量新增设施设备
|
|
41
|
-
* @param {number} parkId
|
|
42
41
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
43
42
|
* @param {*} [options] Override http request option.
|
|
44
43
|
* @throws {RequiredError}
|
|
45
44
|
*/
|
|
46
|
-
openApiEquipmentBatchAdd: async (
|
|
47
|
-
// verify required parameter 'parkId' is not null or undefined
|
|
48
|
-
assertParamExists('openApiEquipmentBatchAdd', 'parkId', parkId)
|
|
45
|
+
openApiEquipmentBatchAdd: async (syncEquipmentVo: SyncEquipmentVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
46
|
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
50
47
|
assertParamExists('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo)
|
|
51
|
-
const localVarPath = `/openapi/v1/main/parks/
|
|
52
|
-
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
48
|
+
const localVarPath = `/openapi/v1/main/parks/equipment/batch`;
|
|
53
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
50
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
51
|
let baseOptions;
|
|
@@ -173,13 +169,12 @@ export const OpenApiApiFp = function(configuration?: Configuration) {
|
|
|
173
169
|
/**
|
|
174
170
|
*
|
|
175
171
|
* @summary 批量新增设施设备
|
|
176
|
-
* @param {number} parkId
|
|
177
172
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
178
173
|
* @param {*} [options] Override http request option.
|
|
179
174
|
* @throws {RequiredError}
|
|
180
175
|
*/
|
|
181
|
-
async openApiEquipmentBatchAdd(
|
|
182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiEquipmentBatchAdd(
|
|
176
|
+
async openApiEquipmentBatchAdd(syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
|
|
183
178
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
184
179
|
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']?.[localVarOperationServerIndex]?.url;
|
|
185
180
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -228,7 +223,7 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
|
|
|
228
223
|
* @throws {RequiredError}
|
|
229
224
|
*/
|
|
230
225
|
openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
231
|
-
return localVarFp.openApiEquipmentBatchAdd(requestParameters.
|
|
226
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
232
227
|
},
|
|
233
228
|
/**
|
|
234
229
|
*
|
|
@@ -259,13 +254,6 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
|
|
|
259
254
|
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
260
255
|
*/
|
|
261
256
|
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @type {number}
|
|
265
|
-
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
266
|
-
*/
|
|
267
|
-
readonly parkId: number
|
|
268
|
-
|
|
269
257
|
/**
|
|
270
258
|
*
|
|
271
259
|
* @type {SyncEquipmentVo}
|
|
@@ -318,7 +306,7 @@ export class OpenApiApi extends BaseAPI {
|
|
|
318
306
|
* @memberof OpenApiApi
|
|
319
307
|
*/
|
|
320
308
|
public openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig) {
|
|
321
|
-
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.
|
|
309
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
322
310
|
}
|
|
323
311
|
|
|
324
312
|
/**
|
|
@@ -24,12 +24,11 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @summary 批量新增设施设备
|
|
27
|
-
* @param {number} parkId
|
|
28
27
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
openApiEquipmentBatchAdd: (
|
|
31
|
+
openApiEquipmentBatchAdd: (syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
32
|
/**
|
|
34
33
|
*
|
|
35
34
|
* @summary 批量更新设施设备状态
|
|
@@ -55,12 +54,11 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
|
55
54
|
/**
|
|
56
55
|
*
|
|
57
56
|
* @summary 批量新增设施设备
|
|
58
|
-
* @param {number} parkId
|
|
59
57
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
60
58
|
* @param {*} [options] Override http request option.
|
|
61
59
|
* @throws {RequiredError}
|
|
62
60
|
*/
|
|
63
|
-
openApiEquipmentBatchAdd(
|
|
61
|
+
openApiEquipmentBatchAdd(syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
64
62
|
/**
|
|
65
63
|
*
|
|
66
64
|
* @summary 批量更新设施设备状态
|
|
@@ -114,12 +112,6 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
|
|
|
114
112
|
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
115
113
|
*/
|
|
116
114
|
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {number}
|
|
120
|
-
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
121
|
-
*/
|
|
122
|
-
readonly parkId: number;
|
|
123
115
|
/**
|
|
124
116
|
*
|
|
125
117
|
* @type {SyncEquipmentVo}
|
|
@@ -38,18 +38,14 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary 批量新增设施设备
|
|
41
|
-
* @param {number} parkId
|
|
42
41
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
43
42
|
* @param {*} [options] Override http request option.
|
|
44
43
|
* @throws {RequiredError}
|
|
45
44
|
*/
|
|
46
|
-
openApiEquipmentBatchAdd: (
|
|
47
|
-
// verify required parameter 'parkId' is not null or undefined
|
|
48
|
-
(0, common_1.assertParamExists)('openApiEquipmentBatchAdd', 'parkId', parkId);
|
|
45
|
+
openApiEquipmentBatchAdd: (syncEquipmentVo_1, ...args_1) => __awaiter(this, [syncEquipmentVo_1, ...args_1], void 0, function* (syncEquipmentVo, options = {}) {
|
|
49
46
|
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
50
47
|
(0, common_1.assertParamExists)('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo);
|
|
51
|
-
const localVarPath = `/openapi/v1/main/parks/
|
|
52
|
-
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
48
|
+
const localVarPath = `/openapi/v1/main/parks/equipment/batch`;
|
|
53
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
50
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55
51
|
let baseOptions;
|
|
@@ -152,15 +148,14 @@ const OpenApiApiFp = function (configuration) {
|
|
|
152
148
|
/**
|
|
153
149
|
*
|
|
154
150
|
* @summary 批量新增设施设备
|
|
155
|
-
* @param {number} parkId
|
|
156
151
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
157
152
|
* @param {*} [options] Override http request option.
|
|
158
153
|
* @throws {RequiredError}
|
|
159
154
|
*/
|
|
160
|
-
openApiEquipmentBatchAdd(
|
|
155
|
+
openApiEquipmentBatchAdd(syncEquipmentVo, options) {
|
|
161
156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
157
|
var _a, _b, _c;
|
|
163
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(
|
|
158
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
|
|
164
159
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
165
160
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
166
161
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -216,7 +211,7 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
216
211
|
* @throws {RequiredError}
|
|
217
212
|
*/
|
|
218
213
|
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
219
|
-
return localVarFp.openApiEquipmentBatchAdd(requestParameters.
|
|
214
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
220
215
|
},
|
|
221
216
|
/**
|
|
222
217
|
*
|
|
@@ -257,7 +252,7 @@ class OpenApiApi extends base_1.BaseAPI {
|
|
|
257
252
|
* @memberof OpenApiApi
|
|
258
253
|
*/
|
|
259
254
|
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
260
|
-
return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchAdd(requestParameters.
|
|
255
|
+
return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
261
256
|
}
|
|
262
257
|
/**
|
|
263
258
|
*
|
|
@@ -24,12 +24,11 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @summary 批量新增设施设备
|
|
27
|
-
* @param {number} parkId
|
|
28
27
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
openApiEquipmentBatchAdd: (
|
|
31
|
+
openApiEquipmentBatchAdd: (syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
32
|
/**
|
|
34
33
|
*
|
|
35
34
|
* @summary 批量更新设施设备状态
|
|
@@ -55,12 +54,11 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
|
55
54
|
/**
|
|
56
55
|
*
|
|
57
56
|
* @summary 批量新增设施设备
|
|
58
|
-
* @param {number} parkId
|
|
59
57
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
60
58
|
* @param {*} [options] Override http request option.
|
|
61
59
|
* @throws {RequiredError}
|
|
62
60
|
*/
|
|
63
|
-
openApiEquipmentBatchAdd(
|
|
61
|
+
openApiEquipmentBatchAdd(syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
64
62
|
/**
|
|
65
63
|
*
|
|
66
64
|
* @summary 批量更新设施设备状态
|
|
@@ -114,12 +112,6 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
|
|
|
114
112
|
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
115
113
|
*/
|
|
116
114
|
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {number}
|
|
120
|
-
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
121
|
-
*/
|
|
122
|
-
readonly parkId: number;
|
|
123
115
|
/**
|
|
124
116
|
*
|
|
125
117
|
* @type {SyncEquipmentVo}
|
|
@@ -35,18 +35,14 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary 批量新增设施设备
|
|
38
|
-
* @param {number} parkId
|
|
39
38
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
40
39
|
* @param {*} [options] Override http request option.
|
|
41
40
|
* @throws {RequiredError}
|
|
42
41
|
*/
|
|
43
|
-
openApiEquipmentBatchAdd: (
|
|
44
|
-
// verify required parameter 'parkId' is not null or undefined
|
|
45
|
-
assertParamExists('openApiEquipmentBatchAdd', 'parkId', parkId);
|
|
42
|
+
openApiEquipmentBatchAdd: (syncEquipmentVo_1, ...args_1) => __awaiter(this, [syncEquipmentVo_1, ...args_1], void 0, function* (syncEquipmentVo, options = {}) {
|
|
46
43
|
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
47
44
|
assertParamExists('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo);
|
|
48
|
-
const localVarPath = `/openapi/v1/main/parks/
|
|
49
|
-
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
45
|
+
const localVarPath = `/openapi/v1/main/parks/equipment/batch`;
|
|
50
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
48
|
let baseOptions;
|
|
@@ -148,15 +144,14 @@ export const OpenApiApiFp = function (configuration) {
|
|
|
148
144
|
/**
|
|
149
145
|
*
|
|
150
146
|
* @summary 批量新增设施设备
|
|
151
|
-
* @param {number} parkId
|
|
152
147
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
153
148
|
* @param {*} [options] Override http request option.
|
|
154
149
|
* @throws {RequiredError}
|
|
155
150
|
*/
|
|
156
|
-
openApiEquipmentBatchAdd(
|
|
151
|
+
openApiEquipmentBatchAdd(syncEquipmentVo, options) {
|
|
157
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
158
153
|
var _a, _b, _c;
|
|
159
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(
|
|
154
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
|
|
160
155
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
161
156
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
162
157
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -211,7 +206,7 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
211
206
|
* @throws {RequiredError}
|
|
212
207
|
*/
|
|
213
208
|
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
214
|
-
return localVarFp.openApiEquipmentBatchAdd(requestParameters.
|
|
209
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
215
210
|
},
|
|
216
211
|
/**
|
|
217
212
|
*
|
|
@@ -251,7 +246,7 @@ export class OpenApiApi extends BaseAPI {
|
|
|
251
246
|
* @memberof OpenApiApi
|
|
252
247
|
*/
|
|
253
248
|
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
254
|
-
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.
|
|
249
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
255
250
|
}
|
|
256
251
|
/**
|
|
257
252
|
*
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
package/models/sys-user.ts
CHANGED
|
@@ -379,15 +379,15 @@ export interface SysUser {
|
|
|
379
379
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
380
380
|
/**
|
|
381
381
|
*
|
|
382
|
-
* @type {
|
|
382
|
+
* @type {number}
|
|
383
383
|
* @memberof SysUser
|
|
384
384
|
*/
|
|
385
|
-
'
|
|
385
|
+
'cuserId'?: number;
|
|
386
386
|
/**
|
|
387
387
|
*
|
|
388
|
-
* @type {
|
|
388
|
+
* @type {string}
|
|
389
389
|
* @memberof SysUser
|
|
390
390
|
*/
|
|
391
|
-
'
|
|
391
|
+
'cid'?: string;
|
|
392
392
|
}
|
|
393
393
|
|