@gizone/rrs-client 4.2.9-alpha.538 → 4.2.9-alpha.539
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 +5 -1
- package/api.ts +1 -1
- package/apis/{energy-cost-controller-api.ts → default-api.ts} +426 -118
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/apis/default-api.d.ts +707 -0
- package/dist/apis/{energy-cost-controller-api.js → default-api.js} +289 -61
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/apis/default-api.d.ts +707 -0
- package/dist/esm/apis/{energy-cost-controller-api.js → default-api.js} +284 -56
- package/dist/esm/models/energy-cost-month-setting-list-summary-standards-vo.d.ts +96 -0
- package/dist/esm/models/energy-cost-month-setting-list-summary-standards-vo.js +23 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.d.ts +30 -25
- package/dist/esm/models/energy-cost-month-setting-list-vo.js +4 -1
- package/dist/esm/models/energy-cost-setting-summy-add-dto.d.ts +41 -0
- package/dist/esm/models/energy-cost-setting-summy-add-dto.js +17 -0
- package/dist/esm/models/energy-cost-setting-summy-update-dto.d.ts +47 -0
- package/dist/esm/models/energy-cost-setting-summy-update-dto.js +17 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
- package/dist/esm/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/energy-cost-month-setting-list-summary-standards-vo.d.ts +96 -0
- package/dist/models/energy-cost-month-setting-list-summary-standards-vo.js +26 -0
- package/dist/models/energy-cost-month-setting-list-vo.d.ts +30 -25
- package/dist/models/energy-cost-month-setting-list-vo.js +5 -0
- package/dist/models/energy-cost-setting-summy-add-dto.d.ts +41 -0
- package/dist/models/energy-cost-setting-summy-add-dto.js +20 -0
- package/dist/models/energy-cost-setting-summy-update-dto.d.ts +47 -0
- package/dist/models/energy-cost-setting-summy-update-dto.js +20 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +5 -5
- package/dist/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/energy-cost-month-setting-list-summary-standards-vo.ts +106 -0
- package/models/energy-cost-month-setting-list-vo.ts +33 -25
- package/models/energy-cost-setting-summy-add-dto.ts +50 -0
- package/models/energy-cost-setting-summy-update-dto.ts +56 -0
- package/models/index.ts +4 -0
- package/models/ipage-energy-cost-record-info-vo.ts +5 -5
- package/models/json-result-list-energy-cost-month-setting-list-summary-standards-vo.ts +72 -0
- package/models/sys-user.ts +4 -4
- package/ossutil.log +1056 -1050
- package/package.json +1 -1
- package/dist/apis/energy-cost-controller-api.d.ts +0 -542
- package/dist/esm/apis/energy-cost-controller-api.d.ts +0 -542
|
@@ -27,10 +27,10 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* DefaultApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export const
|
|
33
|
+
export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -294,6 +294,114 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
294
294
|
options: localVarRequestOptions,
|
|
295
295
|
};
|
|
296
296
|
}),
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
300
|
+
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
energyCostMonthSettingSummaryAdd: (energyCostSettingSummyAddDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyAddDTO_1, ...args_1], void 0, function* (energyCostSettingSummyAddDTO, options = {}) {
|
|
305
|
+
// verify required parameter 'energyCostSettingSummyAddDTO' is not null or undefined
|
|
306
|
+
assertParamExists('energyCostMonthSettingSummaryAdd', 'energyCostSettingSummyAddDTO', energyCostSettingSummyAddDTO);
|
|
307
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
315
|
+
const localVarHeaderParameter = {};
|
|
316
|
+
const localVarQueryParameter = {};
|
|
317
|
+
// authentication tokenScheme required
|
|
318
|
+
// http bearer authentication required
|
|
319
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
320
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
321
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
322
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
323
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
324
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyAddDTO, localVarRequestOptions, configuration);
|
|
325
|
+
return {
|
|
326
|
+
url: toPathString(localVarUrlObj),
|
|
327
|
+
options: localVarRequestOptions,
|
|
328
|
+
};
|
|
329
|
+
}),
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
333
|
+
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
334
|
+
* @param {string} [startTime]
|
|
335
|
+
* @param {string} [endTime]
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
energyCostMonthSettingSummaryList: (energyType_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [energyType_1, startTime_1, endTime_1, ...args_1], void 0, function* (energyType, startTime, endTime, options = {}) {
|
|
340
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
341
|
+
assertParamExists('energyCostMonthSettingSummaryList', 'energyType', energyType);
|
|
342
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
343
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
345
|
+
let baseOptions;
|
|
346
|
+
if (configuration) {
|
|
347
|
+
baseOptions = configuration.baseOptions;
|
|
348
|
+
}
|
|
349
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
350
|
+
const localVarHeaderParameter = {};
|
|
351
|
+
const localVarQueryParameter = {};
|
|
352
|
+
// authentication tokenScheme required
|
|
353
|
+
// http bearer authentication required
|
|
354
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
355
|
+
if (startTime !== undefined) {
|
|
356
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
357
|
+
}
|
|
358
|
+
if (endTime !== undefined) {
|
|
359
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
360
|
+
}
|
|
361
|
+
if (energyType !== undefined) {
|
|
362
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
363
|
+
}
|
|
364
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
365
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
366
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
367
|
+
return {
|
|
368
|
+
url: toPathString(localVarUrlObj),
|
|
369
|
+
options: localVarRequestOptions,
|
|
370
|
+
};
|
|
371
|
+
}),
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
375
|
+
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
energyCostMonthSettingSummaryUpdate: (energyCostSettingSummyUpdateDTO_1, ...args_1) => __awaiter(this, [energyCostSettingSummyUpdateDTO_1, ...args_1], void 0, function* (energyCostSettingSummyUpdateDTO, options = {}) {
|
|
380
|
+
// verify required parameter 'energyCostSettingSummyUpdateDTO' is not null or undefined
|
|
381
|
+
assertParamExists('energyCostMonthSettingSummaryUpdate', 'energyCostSettingSummyUpdateDTO', energyCostSettingSummyUpdateDTO);
|
|
382
|
+
const localVarPath = `/gizone/energy/cost/month/setting/summaryStandards`;
|
|
383
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
384
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
385
|
+
let baseOptions;
|
|
386
|
+
if (configuration) {
|
|
387
|
+
baseOptions = configuration.baseOptions;
|
|
388
|
+
}
|
|
389
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
390
|
+
const localVarHeaderParameter = {};
|
|
391
|
+
const localVarQueryParameter = {};
|
|
392
|
+
// authentication tokenScheme required
|
|
393
|
+
// http bearer authentication required
|
|
394
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
395
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
399
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostSettingSummyUpdateDTO, localVarRequestOptions, configuration);
|
|
400
|
+
return {
|
|
401
|
+
url: toPathString(localVarUrlObj),
|
|
402
|
+
options: localVarRequestOptions,
|
|
403
|
+
};
|
|
404
|
+
}),
|
|
297
405
|
/**
|
|
298
406
|
*
|
|
299
407
|
* @summary 新增能源费用管理设置-单条修改
|
|
@@ -362,11 +470,11 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
362
470
|
};
|
|
363
471
|
};
|
|
364
472
|
/**
|
|
365
|
-
*
|
|
473
|
+
* DefaultApi - functional programming interface
|
|
366
474
|
* @export
|
|
367
475
|
*/
|
|
368
|
-
export const
|
|
369
|
-
const localVarAxiosParamCreator =
|
|
476
|
+
export const DefaultApiFp = function (configuration) {
|
|
477
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
370
478
|
return {
|
|
371
479
|
/**
|
|
372
480
|
*
|
|
@@ -380,7 +488,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
380
488
|
var _a, _b, _c;
|
|
381
489
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordDetail(id, options);
|
|
382
490
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
383
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
491
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
384
492
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
385
493
|
});
|
|
386
494
|
},
|
|
@@ -396,7 +504,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
396
504
|
var _a, _b, _c;
|
|
397
505
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordInputDraft(energyCostAddRecordDTO, options);
|
|
398
506
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
399
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
507
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordInputDraft']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
400
508
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
401
509
|
});
|
|
402
510
|
},
|
|
@@ -418,7 +526,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
418
526
|
var _a, _b, _c;
|
|
419
527
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordList(page, size, billCode, startTime, endTime, energyType, status, options);
|
|
420
528
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
421
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
529
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
422
530
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
423
531
|
});
|
|
424
532
|
},
|
|
@@ -434,7 +542,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
434
542
|
var _a, _b, _c;
|
|
435
543
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordNext(energyCostAddRecordDTO, options);
|
|
436
544
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
437
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
545
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordNext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
438
546
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
439
547
|
});
|
|
440
548
|
},
|
|
@@ -450,7 +558,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
450
558
|
var _a, _b, _c;
|
|
451
559
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostAddRecordSubmit(energyCostAddRecordDTO, options);
|
|
452
560
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
453
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
561
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostAddRecordSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
454
562
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
455
563
|
});
|
|
456
564
|
},
|
|
@@ -466,7 +574,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
466
574
|
var _a, _b, _c;
|
|
467
575
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingAdd(energyCostAddSettingDTO, options);
|
|
468
576
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
469
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
577
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
470
578
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
471
579
|
});
|
|
472
580
|
},
|
|
@@ -484,7 +592,57 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
484
592
|
var _a, _b, _c;
|
|
485
593
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingList(energyType, startTime, endTime, options);
|
|
486
594
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
487
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
595
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
596
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
597
|
+
});
|
|
598
|
+
},
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
602
|
+
* @param {EnergyCostSettingSummyAddDTO} energyCostSettingSummyAddDTO
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options) {
|
|
607
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
608
|
+
var _a, _b, _c;
|
|
609
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryAdd(energyCostSettingSummyAddDTO, options);
|
|
610
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
611
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingSummaryAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
612
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
613
|
+
});
|
|
614
|
+
},
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
618
|
+
* @param {EnergyCostMonthSettingSummaryListEnergyTypeEnum} energyType
|
|
619
|
+
* @param {string} [startTime]
|
|
620
|
+
* @param {string} [endTime]
|
|
621
|
+
* @param {*} [options] Override http request option.
|
|
622
|
+
* @throws {RequiredError}
|
|
623
|
+
*/
|
|
624
|
+
energyCostMonthSettingSummaryList(energyType, startTime, endTime, options) {
|
|
625
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
626
|
+
var _a, _b, _c;
|
|
627
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryList(energyType, startTime, endTime, options);
|
|
628
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
629
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingSummaryList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
630
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
631
|
+
});
|
|
632
|
+
},
|
|
633
|
+
/**
|
|
634
|
+
*
|
|
635
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
636
|
+
* @param {EnergyCostSettingSummyUpdateDTO} energyCostSettingSummyUpdateDTO
|
|
637
|
+
* @param {*} [options] Override http request option.
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
*/
|
|
640
|
+
energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options) {
|
|
641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
642
|
+
var _a, _b, _c;
|
|
643
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingSummaryUpdate(energyCostSettingSummyUpdateDTO, options);
|
|
644
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
645
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingSummaryUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
488
646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
489
647
|
});
|
|
490
648
|
},
|
|
@@ -500,7 +658,7 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
500
658
|
var _a, _b, _c;
|
|
501
659
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostMonthSettingUpdate(energyCostUpdateSettingDTO, options);
|
|
502
660
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
503
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
661
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.energyCostMonthSettingUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
504
662
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
505
663
|
});
|
|
506
664
|
},
|
|
@@ -516,23 +674,23 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
516
674
|
var _a, _b, _c;
|
|
517
675
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(type, options);
|
|
518
676
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
519
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
677
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
520
678
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
679
|
});
|
|
522
680
|
},
|
|
523
681
|
};
|
|
524
682
|
};
|
|
525
683
|
/**
|
|
526
|
-
*
|
|
684
|
+
* DefaultApi - factory interface
|
|
527
685
|
* @export
|
|
528
686
|
*/
|
|
529
|
-
export const
|
|
530
|
-
const localVarFp =
|
|
687
|
+
export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
688
|
+
const localVarFp = DefaultApiFp(configuration);
|
|
531
689
|
return {
|
|
532
690
|
/**
|
|
533
691
|
*
|
|
534
692
|
* @summary 新增能源消耗-返回详情
|
|
535
|
-
* @param {
|
|
693
|
+
* @param {DefaultApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
536
694
|
* @param {*} [options] Override http request option.
|
|
537
695
|
* @throws {RequiredError}
|
|
538
696
|
*/
|
|
@@ -542,7 +700,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
542
700
|
/**
|
|
543
701
|
*
|
|
544
702
|
* @summary 新增能源消耗-录入保存为草稿
|
|
545
|
-
* @param {
|
|
703
|
+
* @param {DefaultApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
546
704
|
* @param {*} [options] Override http request option.
|
|
547
705
|
* @throws {RequiredError}
|
|
548
706
|
*/
|
|
@@ -552,7 +710,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
552
710
|
/**
|
|
553
711
|
*
|
|
554
712
|
* @summary 新增能源消耗-列表
|
|
555
|
-
* @param {
|
|
713
|
+
* @param {DefaultApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
556
714
|
* @param {*} [options] Override http request option.
|
|
557
715
|
* @throws {RequiredError}
|
|
558
716
|
*/
|
|
@@ -562,7 +720,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
562
720
|
/**
|
|
563
721
|
*
|
|
564
722
|
* @summary 新增能源消耗-next
|
|
565
|
-
* @param {
|
|
723
|
+
* @param {DefaultApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
566
724
|
* @param {*} [options] Override http request option.
|
|
567
725
|
* @throws {RequiredError}
|
|
568
726
|
*/
|
|
@@ -572,7 +730,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
572
730
|
/**
|
|
573
731
|
*
|
|
574
732
|
* @summary 新增能源消耗-提交
|
|
575
|
-
* @param {
|
|
733
|
+
* @param {DefaultApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
576
734
|
* @param {*} [options] Override http request option.
|
|
577
735
|
* @throws {RequiredError}
|
|
578
736
|
*/
|
|
@@ -582,7 +740,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
582
740
|
/**
|
|
583
741
|
*
|
|
584
742
|
* @summary 新增能源费用管理设置-单条新增
|
|
585
|
-
* @param {
|
|
743
|
+
* @param {DefaultApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
586
744
|
* @param {*} [options] Override http request option.
|
|
587
745
|
* @throws {RequiredError}
|
|
588
746
|
*/
|
|
@@ -592,17 +750,47 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
592
750
|
/**
|
|
593
751
|
*
|
|
594
752
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
595
|
-
* @param {
|
|
753
|
+
* @param {DefaultApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
596
754
|
* @param {*} [options] Override http request option.
|
|
597
755
|
* @throws {RequiredError}
|
|
598
756
|
*/
|
|
599
757
|
energyCostMonthSettingList(requestParameters, options) {
|
|
600
758
|
return localVarFp.energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
601
759
|
},
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
763
|
+
* @param {DefaultApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
energyCostMonthSettingSummaryAdd(requestParameters, options) {
|
|
768
|
+
return localVarFp.energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(axios, basePath));
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
773
|
+
* @param {DefaultApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
energyCostMonthSettingSummaryList(requestParameters, options) {
|
|
778
|
+
return localVarFp.energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
779
|
+
},
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
783
|
+
* @param {DefaultApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
energyCostMonthSettingSummaryUpdate(requestParameters, options) {
|
|
788
|
+
return localVarFp.energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
602
790
|
/**
|
|
603
791
|
*
|
|
604
792
|
* @summary 新增能源费用管理设置-单条修改
|
|
605
|
-
* @param {
|
|
793
|
+
* @param {DefaultApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
606
794
|
* @param {*} [options] Override http request option.
|
|
607
795
|
* @throws {RequiredError}
|
|
608
796
|
*/
|
|
@@ -612,7 +800,7 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
612
800
|
/**
|
|
613
801
|
*
|
|
614
802
|
* @summary 获取下拉框内容
|
|
615
|
-
* @param {
|
|
803
|
+
* @param {DefaultApiGetOptionsRequest} requestParameters Request parameters.
|
|
616
804
|
* @param {*} [options] Override http request option.
|
|
617
805
|
* @throws {RequiredError}
|
|
618
806
|
*/
|
|
@@ -622,110 +810,143 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
622
810
|
};
|
|
623
811
|
};
|
|
624
812
|
/**
|
|
625
|
-
*
|
|
813
|
+
* DefaultApi - object-oriented interface
|
|
626
814
|
* @export
|
|
627
|
-
* @class
|
|
815
|
+
* @class DefaultApi
|
|
628
816
|
* @extends {BaseAPI}
|
|
629
817
|
*/
|
|
630
|
-
export class
|
|
818
|
+
export class DefaultApi extends BaseAPI {
|
|
631
819
|
/**
|
|
632
820
|
*
|
|
633
821
|
* @summary 新增能源消耗-返回详情
|
|
634
|
-
* @param {
|
|
822
|
+
* @param {DefaultApiEnergyCostAddRecordDetailRequest} requestParameters Request parameters.
|
|
635
823
|
* @param {*} [options] Override http request option.
|
|
636
824
|
* @throws {RequiredError}
|
|
637
|
-
* @memberof
|
|
825
|
+
* @memberof DefaultApi
|
|
638
826
|
*/
|
|
639
827
|
energyCostAddRecordDetail(requestParameters, options) {
|
|
640
|
-
return
|
|
828
|
+
return DefaultApiFp(this.configuration).energyCostAddRecordDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
641
829
|
}
|
|
642
830
|
/**
|
|
643
831
|
*
|
|
644
832
|
* @summary 新增能源消耗-录入保存为草稿
|
|
645
|
-
* @param {
|
|
833
|
+
* @param {DefaultApiEnergyCostAddRecordInputDraftRequest} requestParameters Request parameters.
|
|
646
834
|
* @param {*} [options] Override http request option.
|
|
647
835
|
* @throws {RequiredError}
|
|
648
|
-
* @memberof
|
|
836
|
+
* @memberof DefaultApi
|
|
649
837
|
*/
|
|
650
838
|
energyCostAddRecordInputDraft(requestParameters, options) {
|
|
651
|
-
return
|
|
839
|
+
return DefaultApiFp(this.configuration).energyCostAddRecordInputDraft(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
652
840
|
}
|
|
653
841
|
/**
|
|
654
842
|
*
|
|
655
843
|
* @summary 新增能源消耗-列表
|
|
656
|
-
* @param {
|
|
844
|
+
* @param {DefaultApiEnergyCostAddRecordListRequest} requestParameters Request parameters.
|
|
657
845
|
* @param {*} [options] Override http request option.
|
|
658
846
|
* @throws {RequiredError}
|
|
659
|
-
* @memberof
|
|
847
|
+
* @memberof DefaultApi
|
|
660
848
|
*/
|
|
661
849
|
energyCostAddRecordList(requestParameters = {}, options) {
|
|
662
|
-
return
|
|
850
|
+
return DefaultApiFp(this.configuration).energyCostAddRecordList(requestParameters.page, requestParameters.size, requestParameters.billCode, requestParameters.startTime, requestParameters.endTime, requestParameters.energyType, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
663
851
|
}
|
|
664
852
|
/**
|
|
665
853
|
*
|
|
666
854
|
* @summary 新增能源消耗-next
|
|
667
|
-
* @param {
|
|
855
|
+
* @param {DefaultApiEnergyCostAddRecordNextRequest} requestParameters Request parameters.
|
|
668
856
|
* @param {*} [options] Override http request option.
|
|
669
857
|
* @throws {RequiredError}
|
|
670
|
-
* @memberof
|
|
858
|
+
* @memberof DefaultApi
|
|
671
859
|
*/
|
|
672
860
|
energyCostAddRecordNext(requestParameters, options) {
|
|
673
|
-
return
|
|
861
|
+
return DefaultApiFp(this.configuration).energyCostAddRecordNext(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
674
862
|
}
|
|
675
863
|
/**
|
|
676
864
|
*
|
|
677
865
|
* @summary 新增能源消耗-提交
|
|
678
|
-
* @param {
|
|
866
|
+
* @param {DefaultApiEnergyCostAddRecordSubmitRequest} requestParameters Request parameters.
|
|
679
867
|
* @param {*} [options] Override http request option.
|
|
680
868
|
* @throws {RequiredError}
|
|
681
|
-
* @memberof
|
|
869
|
+
* @memberof DefaultApi
|
|
682
870
|
*/
|
|
683
871
|
energyCostAddRecordSubmit(requestParameters, options) {
|
|
684
|
-
return
|
|
872
|
+
return DefaultApiFp(this.configuration).energyCostAddRecordSubmit(requestParameters.energyCostAddRecordDTO, options).then((request) => request(this.axios, this.basePath));
|
|
685
873
|
}
|
|
686
874
|
/**
|
|
687
875
|
*
|
|
688
876
|
* @summary 新增能源费用管理设置-单条新增
|
|
689
|
-
* @param {
|
|
877
|
+
* @param {DefaultApiEnergyCostMonthSettingAddRequest} requestParameters Request parameters.
|
|
690
878
|
* @param {*} [options] Override http request option.
|
|
691
879
|
* @throws {RequiredError}
|
|
692
|
-
* @memberof
|
|
880
|
+
* @memberof DefaultApi
|
|
693
881
|
*/
|
|
694
882
|
energyCostMonthSettingAdd(requestParameters, options) {
|
|
695
|
-
return
|
|
883
|
+
return DefaultApiFp(this.configuration).energyCostMonthSettingAdd(requestParameters.energyCostAddSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
696
884
|
}
|
|
697
885
|
/**
|
|
698
886
|
*
|
|
699
887
|
* @summary 新增能源费用管理设置-列表-默认当前筛选前后一年
|
|
700
|
-
* @param {
|
|
888
|
+
* @param {DefaultApiEnergyCostMonthSettingListRequest} requestParameters Request parameters.
|
|
701
889
|
* @param {*} [options] Override http request option.
|
|
702
890
|
* @throws {RequiredError}
|
|
703
|
-
* @memberof
|
|
891
|
+
* @memberof DefaultApi
|
|
704
892
|
*/
|
|
705
893
|
energyCostMonthSettingList(requestParameters, options) {
|
|
706
|
-
return
|
|
894
|
+
return DefaultApiFp(this.configuration).energyCostMonthSettingList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @summary 新增能源费用管理设置-园区汇总标准新增
|
|
899
|
+
* @param {DefaultApiEnergyCostMonthSettingSummaryAddRequest} requestParameters Request parameters.
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
* @memberof DefaultApi
|
|
903
|
+
*/
|
|
904
|
+
energyCostMonthSettingSummaryAdd(requestParameters, options) {
|
|
905
|
+
return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryAdd(requestParameters.energyCostSettingSummyAddDTO, options).then((request) => request(this.axios, this.basePath));
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @summary 新增能源费用管理设置-列表-查询园区汇总标准
|
|
910
|
+
* @param {DefaultApiEnergyCostMonthSettingSummaryListRequest} requestParameters Request parameters.
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
* @memberof DefaultApi
|
|
914
|
+
*/
|
|
915
|
+
energyCostMonthSettingSummaryList(requestParameters, options) {
|
|
916
|
+
return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryList(requestParameters.energyType, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @summary 新增能源费用管理设置-园区汇总标准修改
|
|
921
|
+
* @param {DefaultApiEnergyCostMonthSettingSummaryUpdateRequest} requestParameters Request parameters.
|
|
922
|
+
* @param {*} [options] Override http request option.
|
|
923
|
+
* @throws {RequiredError}
|
|
924
|
+
* @memberof DefaultApi
|
|
925
|
+
*/
|
|
926
|
+
energyCostMonthSettingSummaryUpdate(requestParameters, options) {
|
|
927
|
+
return DefaultApiFp(this.configuration).energyCostMonthSettingSummaryUpdate(requestParameters.energyCostSettingSummyUpdateDTO, options).then((request) => request(this.axios, this.basePath));
|
|
707
928
|
}
|
|
708
929
|
/**
|
|
709
930
|
*
|
|
710
931
|
* @summary 新增能源费用管理设置-单条修改
|
|
711
|
-
* @param {
|
|
932
|
+
* @param {DefaultApiEnergyCostMonthSettingUpdateRequest} requestParameters Request parameters.
|
|
712
933
|
* @param {*} [options] Override http request option.
|
|
713
934
|
* @throws {RequiredError}
|
|
714
|
-
* @memberof
|
|
935
|
+
* @memberof DefaultApi
|
|
715
936
|
*/
|
|
716
937
|
energyCostMonthSettingUpdate(requestParameters, options) {
|
|
717
|
-
return
|
|
938
|
+
return DefaultApiFp(this.configuration).energyCostMonthSettingUpdate(requestParameters.energyCostUpdateSettingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
718
939
|
}
|
|
719
940
|
/**
|
|
720
941
|
*
|
|
721
942
|
* @summary 获取下拉框内容
|
|
722
|
-
* @param {
|
|
943
|
+
* @param {DefaultApiGetOptionsRequest} requestParameters Request parameters.
|
|
723
944
|
* @param {*} [options] Override http request option.
|
|
724
945
|
* @throws {RequiredError}
|
|
725
|
-
* @memberof
|
|
946
|
+
* @memberof DefaultApi
|
|
726
947
|
*/
|
|
727
948
|
getOptions(requestParameters = {}, options) {
|
|
728
|
-
return
|
|
949
|
+
return DefaultApiFp(this.configuration).getOptions(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
729
950
|
}
|
|
730
951
|
}
|
|
731
952
|
/**
|
|
@@ -742,3 +963,10 @@ export const EnergyCostMonthSettingListEnergyTypeEnum = {
|
|
|
742
963
|
Electric: 'ELECTRIC',
|
|
743
964
|
Water: 'WATER'
|
|
744
965
|
};
|
|
966
|
+
/**
|
|
967
|
+
* @export
|
|
968
|
+
*/
|
|
969
|
+
export const EnergyCostMonthSettingSummaryListEnergyTypeEnum = {
|
|
970
|
+
Electric: 'ELECTRIC',
|
|
971
|
+
Water: 'WATER'
|
|
972
|
+
};
|