@gizone/rrs-client 4.2.9-alpha.566 → 4.2.9-alpha.570
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 +23 -0
- package/api.ts +2 -0
- package/apis/energy-cost-controller-api.ts +387 -34
- package/apis/mdmapi.ts +217 -0
- package/apis/reimbursement-bill-api.ts +605 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/apis/energy-cost-controller-api.d.ts +208 -25
- package/dist/apis/energy-cost-controller-api.js +315 -21
- package/dist/apis/mdmapi.d.ts +117 -0
- package/dist/apis/mdmapi.js +200 -0
- package/dist/apis/reimbursement-bill-api.d.ts +323 -0
- package/dist/apis/reimbursement-bill-api.js +489 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/apis/energy-cost-controller-api.d.ts +208 -25
- package/dist/esm/apis/energy-cost-controller-api.js +314 -20
- package/dist/esm/apis/mdmapi.d.ts +117 -0
- package/dist/esm/apis/mdmapi.js +193 -0
- package/dist/esm/apis/reimbursement-bill-api.d.ts +323 -0
- package/dist/esm/apis/reimbursement-bill-api.js +482 -0
- package/dist/esm/models/energy-cost-import-redis-vo.d.ts +55 -0
- package/dist/esm/models/energy-cost-import-redis-vo.js +14 -0
- package/dist/esm/models/energy-cost-month-setting-excel-dto.d.ts +78 -0
- package/dist/esm/models/energy-cost-month-setting-excel-dto.js +14 -0
- package/dist/esm/models/energy-cost-record-info-not-emun-vo.d.ts +12 -0
- package/dist/esm/models/expense-subject-enum.d.ts +22 -0
- package/dist/esm/models/expense-subject-enum.js +23 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/esm/models/invoice-type-enum.d.ts +22 -0
- package/dist/esm/models/invoice-type-enum.js +23 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +8 -8
- package/dist/esm/models/json-result-energy-cost-import-redis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-import-redis-vo.js +14 -0
- package/dist/esm/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.js +14 -0
- package/dist/esm/models/json-result-list-mdm-increment-vendors-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-mdm-increment-vendors-vo.js +14 -0
- package/dist/esm/models/json-result-page-dto-reimbursement-bill-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-reimbursement-bill-list-vo.js +14 -0
- package/dist/esm/models/json-result-reimbursement-bill-details-vo.d.ts +62 -0
- package/dist/esm/models/json-result-reimbursement-bill-details-vo.js +14 -0
- package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.d.ts +72 -0
- package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.js +14 -0
- package/dist/esm/models/mdm-increment-vendors-vo.d.ts +90 -0
- package/dist/esm/models/mdm-increment-vendors-vo.js +14 -0
- package/dist/esm/models/page-dto-reimbursement-bill-list-vo.d.ts +31 -0
- package/dist/esm/models/page-dto-reimbursement-bill-list-vo.js +14 -0
- package/dist/esm/models/payment-method-enum.d.ts +23 -0
- package/dist/esm/models/payment-method-enum.js +24 -0
- package/dist/esm/models/reimbursement-bill-details-vo.d.ts +242 -0
- package/dist/esm/models/reimbursement-bill-details-vo.js +22 -0
- package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +188 -0
- package/dist/esm/models/reimbursement-bill-draft-dto.js +22 -0
- package/dist/esm/models/reimbursement-bill-handle-info-add-dto.d.ts +36 -0
- package/dist/esm/models/reimbursement-bill-handle-info-add-dto.js +14 -0
- package/dist/esm/models/reimbursement-bill-handle-info-vo.d.ts +48 -0
- package/dist/esm/models/reimbursement-bill-handle-info-vo.js +14 -0
- package/dist/esm/models/reimbursement-bill-list-vo.d.ts +142 -0
- package/dist/esm/models/reimbursement-bill-list-vo.js +14 -0
- package/dist/esm/models/reimbursement-bill-search-dto.d.ts +68 -0
- package/dist/esm/models/reimbursement-bill-search-dto.js +14 -0
- package/dist/esm/models/reimbursement-bill-submit-dto.d.ts +188 -0
- package/dist/esm/models/reimbursement-bill-submit-dto.js +22 -0
- package/dist/esm/models/reimbursement-status-enum.d.ts +23 -0
- package/dist/esm/models/reimbursement-status-enum.js +24 -0
- package/dist/models/energy-cost-import-redis-vo.d.ts +55 -0
- package/dist/models/energy-cost-import-redis-vo.js +15 -0
- package/dist/models/energy-cost-month-setting-excel-dto.d.ts +78 -0
- package/dist/models/energy-cost-month-setting-excel-dto.js +15 -0
- package/dist/models/energy-cost-record-info-not-emun-vo.d.ts +12 -0
- package/dist/models/expense-subject-enum.d.ts +22 -0
- package/dist/models/expense-subject-enum.js +26 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/dist/models/invoice-type-enum.d.ts +22 -0
- package/dist/models/invoice-type-enum.js +26 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +8 -8
- package/dist/models/json-result-energy-cost-import-redis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-import-redis-vo.js +15 -0
- package/dist/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.d.ts +62 -0
- package/dist/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.js +15 -0
- package/dist/models/json-result-list-mdm-increment-vendors-vo.d.ts +62 -0
- package/dist/models/json-result-list-mdm-increment-vendors-vo.js +15 -0
- package/dist/models/json-result-page-dto-reimbursement-bill-list-vo.d.ts +62 -0
- package/dist/models/json-result-page-dto-reimbursement-bill-list-vo.js +15 -0
- package/dist/models/json-result-reimbursement-bill-details-vo.d.ts +62 -0
- package/dist/models/json-result-reimbursement-bill-details-vo.js +15 -0
- package/dist/models/mdm-increment-vendor-bank-accounts-vo.d.ts +72 -0
- package/dist/models/mdm-increment-vendor-bank-accounts-vo.js +15 -0
- package/dist/models/mdm-increment-vendors-vo.d.ts +90 -0
- package/dist/models/mdm-increment-vendors-vo.js +15 -0
- package/dist/models/page-dto-reimbursement-bill-list-vo.d.ts +31 -0
- package/dist/models/page-dto-reimbursement-bill-list-vo.js +15 -0
- package/dist/models/payment-method-enum.d.ts +23 -0
- package/dist/models/payment-method-enum.js +27 -0
- package/dist/models/reimbursement-bill-details-vo.d.ts +242 -0
- package/dist/models/reimbursement-bill-details-vo.js +25 -0
- package/dist/models/reimbursement-bill-draft-dto.d.ts +188 -0
- package/dist/models/reimbursement-bill-draft-dto.js +25 -0
- package/dist/models/reimbursement-bill-handle-info-add-dto.d.ts +36 -0
- package/dist/models/reimbursement-bill-handle-info-add-dto.js +15 -0
- package/dist/models/reimbursement-bill-handle-info-vo.d.ts +48 -0
- package/dist/models/reimbursement-bill-handle-info-vo.js +15 -0
- package/dist/models/reimbursement-bill-list-vo.d.ts +142 -0
- package/dist/models/reimbursement-bill-list-vo.js +15 -0
- package/dist/models/reimbursement-bill-search-dto.d.ts +68 -0
- package/dist/models/reimbursement-bill-search-dto.js +15 -0
- package/dist/models/reimbursement-bill-submit-dto.d.ts +188 -0
- package/dist/models/reimbursement-bill-submit-dto.js +25 -0
- package/dist/models/reimbursement-status-enum.d.ts +23 -0
- package/dist/models/reimbursement-status-enum.js +27 -0
- package/models/energy-cost-import-redis-vo.ts +63 -0
- package/models/energy-cost-month-setting-excel-dto.ts +84 -0
- package/models/energy-cost-record-info-not-emun-vo.ts +12 -0
- package/models/expense-subject-enum.ts +32 -0
- package/models/index.ts +21 -0
- package/models/invoice-type-enum.ts +32 -0
- package/models/ipage-energy-cost-record-info-vo.ts +8 -8
- package/models/json-result-energy-cost-import-redis-vo.ts +72 -0
- package/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.ts +72 -0
- package/models/json-result-list-mdm-increment-vendors-vo.ts +72 -0
- package/models/json-result-page-dto-reimbursement-bill-list-vo.ts +72 -0
- package/models/json-result-reimbursement-bill-details-vo.ts +72 -0
- package/models/mdm-increment-vendor-bank-accounts-vo.ts +78 -0
- package/models/mdm-increment-vendors-vo.ts +96 -0
- package/models/page-dto-reimbursement-bill-list-vo.ts +39 -0
- package/models/payment-method-enum.ts +33 -0
- package/models/reimbursement-bill-details-vo.ts +259 -0
- package/models/reimbursement-bill-draft-dto.ts +205 -0
- package/models/reimbursement-bill-handle-info-add-dto.ts +42 -0
- package/models/reimbursement-bill-handle-info-vo.ts +54 -0
- package/models/reimbursement-bill-list-vo.ts +158 -0
- package/models/reimbursement-bill-search-dto.ts +80 -0
- package/models/reimbursement-bill-submit-dto.ts +205 -0
- package/models/reimbursement-status-enum.ts +33 -0
- package/ossutil.log +1098 -1092
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -23,12 +23,14 @@ apis/inspection-standard-api.ts
|
|
|
23
23
|
apis/internal-api.ts
|
|
24
24
|
apis/jwt-api.ts
|
|
25
25
|
apis/maintenance-standard-api.ts
|
|
26
|
+
apis/mdmapi.ts
|
|
26
27
|
apis/message-api.ts
|
|
27
28
|
apis/notification-api.ts
|
|
28
29
|
apis/offline-alert-work-order-controller-api.ts
|
|
29
30
|
apis/open-api-api.ts
|
|
30
31
|
apis/park-api.ts
|
|
31
32
|
apis/privacy-api.ts
|
|
33
|
+
apis/reimbursement-bill-api.ts
|
|
32
34
|
apis/role-api.ts
|
|
33
35
|
apis/setting-api.ts
|
|
34
36
|
apis/smsapi.ts
|
|
@@ -159,6 +161,8 @@ models/energy-cost-add-setting-dtopark-setting.ts
|
|
|
159
161
|
models/energy-cost-analysis-list-vo.ts
|
|
160
162
|
models/energy-cost-analysis-query-dto.ts
|
|
161
163
|
models/energy-cost-edit-record-dto.ts
|
|
164
|
+
models/energy-cost-import-redis-vo.ts
|
|
165
|
+
models/energy-cost-month-setting-excel-dto.ts
|
|
162
166
|
models/energy-cost-month-setting-list-summary-standards-vo.ts
|
|
163
167
|
models/energy-cost-month-setting-list-vo.ts
|
|
164
168
|
models/energy-cost-per-area-analysis-vo.ts
|
|
@@ -208,6 +212,7 @@ models/excel-import-result-dtomaintenance-standard-import-dto.ts
|
|
|
208
212
|
models/excel-import-result-dtosurveillance-batch-import-template-dto.ts
|
|
209
213
|
models/excel-import-result-dtosurveillance-settings-export-dto.ts
|
|
210
214
|
models/excel-import-upload-to-redis-vo-space-add-excel-dto.ts
|
|
215
|
+
models/expense-subject-enum.ts
|
|
211
216
|
models/exploration-work-order-add-vo.ts
|
|
212
217
|
models/exploration-work-order-details-dto.ts
|
|
213
218
|
models/exploration-work-order-info.ts
|
|
@@ -237,6 +242,7 @@ models/installation-body-enum.ts
|
|
|
237
242
|
models/insurance-notice-vo.ts
|
|
238
243
|
models/insurance-work-order-issue-vo.ts
|
|
239
244
|
models/insurance-work-order-vo.ts
|
|
245
|
+
models/invoice-type-enum.ts
|
|
240
246
|
models/iot-device-status-enum.ts
|
|
241
247
|
models/iot-device-unit-delete-dto.ts
|
|
242
248
|
models/ipage-energy-cost-record-info-vo.ts
|
|
@@ -254,6 +260,7 @@ models/json-result-boolean.ts
|
|
|
254
260
|
models/json-result-calendar-entity.ts
|
|
255
261
|
models/json-result-dashboard-park-statistics-vo.ts
|
|
256
262
|
models/json-result-disaster-warning-standard-entity.ts
|
|
263
|
+
models/json-result-energy-cost-import-redis-vo.ts
|
|
257
264
|
models/json-result-energy-cost-per-area-analysis-vo.ts
|
|
258
265
|
models/json-result-energy-cost-per-unit-analysis-vo.ts
|
|
259
266
|
models/json-result-energy-cost-record-bill-info-vo.ts
|
|
@@ -309,6 +316,8 @@ models/json-result-list-equipment-tree-dto.ts
|
|
|
309
316
|
models/json-result-list-inspection-point.ts
|
|
310
317
|
models/json-result-list-inspection-standard-entity.ts
|
|
311
318
|
models/json-result-list-maintenance-standard-entity.ts
|
|
319
|
+
models/json-result-list-mdm-increment-vendor-bank-accounts-vo.ts
|
|
320
|
+
models/json-result-list-mdm-increment-vendors-vo.ts
|
|
312
321
|
models/json-result-list-park-list-dto.ts
|
|
313
322
|
models/json-result-list-plan-calendar-list-vo.ts
|
|
314
323
|
models/json-result-list-plan-calendar-vo.ts
|
|
@@ -350,6 +359,7 @@ models/json-result-page-dto-inspection-standard-dto.ts
|
|
|
350
359
|
models/json-result-page-dto-maintenance-standard-dto.ts
|
|
351
360
|
models/json-result-page-dto-open-api-equipment-list-dto.ts
|
|
352
361
|
models/json-result-page-dto-plan-search-dto.ts
|
|
362
|
+
models/json-result-page-dto-reimbursement-bill-list-vo.ts
|
|
353
363
|
models/json-result-page-dto-supplier-contract-details-dto.ts
|
|
354
364
|
models/json-result-page-dto-surveillance-details-dto.ts
|
|
355
365
|
models/json-result-page-dto-sys-user-msg-dto.ts
|
|
@@ -359,6 +369,7 @@ models/json-result-park-info-dto.ts
|
|
|
359
369
|
models/json-result-park-settings-details-dto.ts
|
|
360
370
|
models/json-result-period-detail-resp.ts
|
|
361
371
|
models/json-result-plan-detail-dto.ts
|
|
372
|
+
models/json-result-reimbursement-bill-details-vo.ts
|
|
362
373
|
models/json-result-space-add-redis-list-dto.ts
|
|
363
374
|
models/json-result-space-image-detail-dto.ts
|
|
364
375
|
models/json-result-srm-center-entity.ts
|
|
@@ -390,6 +401,8 @@ models/maintenance-standard-add-or-update-vo.ts
|
|
|
390
401
|
models/maintenance-standard-dto.ts
|
|
391
402
|
models/maintenance-standard-entity.ts
|
|
392
403
|
models/maintenance-standard-import-dto.ts
|
|
404
|
+
models/mdm-increment-vendor-bank-accounts-vo.ts
|
|
405
|
+
models/mdm-increment-vendors-vo.ts
|
|
393
406
|
models/media-dto.ts
|
|
394
407
|
models/message-push-log-search-list-bo.ts
|
|
395
408
|
models/monitoring-coverage-alert-info.ts
|
|
@@ -424,6 +437,7 @@ models/page-dto-inspection-standard-dto.ts
|
|
|
424
437
|
models/page-dto-maintenance-standard-dto.ts
|
|
425
438
|
models/page-dto-open-api-equipment-list-dto.ts
|
|
426
439
|
models/page-dto-plan-search-dto.ts
|
|
440
|
+
models/page-dto-reimbursement-bill-list-vo.ts
|
|
427
441
|
models/page-dto-supplier-contract-details-dto.ts
|
|
428
442
|
models/page-dto-surveillance-details-dto.ts
|
|
429
443
|
models/page-dto-sys-user-msg-dto.ts
|
|
@@ -438,6 +452,7 @@ models/park-push-settings-add-bo.ts
|
|
|
438
452
|
models/park-settings-details-dto.ts
|
|
439
453
|
models/park-settings-vo.ts
|
|
440
454
|
models/park.ts
|
|
455
|
+
models/payment-method-enum.ts
|
|
441
456
|
models/period-detail-resp.ts
|
|
442
457
|
models/plan-add-vo.ts
|
|
443
458
|
models/plan-calendar-list-vo.ts
|
|
@@ -458,6 +473,14 @@ models/privacy-update-state-dto.ts
|
|
|
458
473
|
models/process-network-monitor-repair-vo.ts
|
|
459
474
|
models/process-work-order-vo.ts
|
|
460
475
|
models/register-body.ts
|
|
476
|
+
models/reimbursement-bill-details-vo.ts
|
|
477
|
+
models/reimbursement-bill-draft-dto.ts
|
|
478
|
+
models/reimbursement-bill-handle-info-add-dto.ts
|
|
479
|
+
models/reimbursement-bill-handle-info-vo.ts
|
|
480
|
+
models/reimbursement-bill-list-vo.ts
|
|
481
|
+
models/reimbursement-bill-search-dto.ts
|
|
482
|
+
models/reimbursement-bill-submit-dto.ts
|
|
483
|
+
models/reimbursement-status-enum.ts
|
|
461
484
|
models/response-data.ts
|
|
462
485
|
models/result-code.ts
|
|
463
486
|
models/safety-smart-fire-record-gizone-dto.ts
|
package/api.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from './apis/hwork-api';
|
|
|
33
33
|
export * from './apis/inspection-standard-api';
|
|
34
34
|
export * from './apis/internal-api';
|
|
35
35
|
export * from './apis/jwt-api';
|
|
36
|
+
export * from './apis/mdmapi';
|
|
36
37
|
export * from './apis/maintenance-standard-api';
|
|
37
38
|
export * from './apis/message-api';
|
|
38
39
|
export * from './apis/notification-api';
|
|
@@ -40,6 +41,7 @@ export * from './apis/offline-alert-work-order-controller-api';
|
|
|
40
41
|
export * from './apis/open-api-api';
|
|
41
42
|
export * from './apis/park-api';
|
|
42
43
|
export * from './apis/privacy-api';
|
|
44
|
+
export * from './apis/reimbursement-bill-api';
|
|
43
45
|
export * from './apis/role-api';
|
|
44
46
|
export * from './apis/smsapi';
|
|
45
47
|
export * from './apis/setting-api';
|
|
@@ -34,6 +34,8 @@ import type { EnergyCostUpdateSettingDTO } from '../models';
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
import type { JsonResult } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
|
+
import type { JsonResultEnergyCostImportRedisVo } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
37
39
|
import type { JsonResultListEnergyCostMonthSettingListSummaryStandardsVO } from '../models';
|
|
38
40
|
// @ts-ignore
|
|
39
41
|
import type { JsonResultListEnergyCostMonthSettingListVO } from '../models';
|
|
@@ -45,6 +47,133 @@ import type { UserBatchImportUploadRequest } from '../models';
|
|
|
45
47
|
*/
|
|
46
48
|
export const EnergyCostControllerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
47
49
|
return {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary 能源费用管理设置-导入数据
|
|
53
|
+
* @param {EnergyCostImportConfirmEnergyTypeEnum} energyType
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
energyCostImportConfirm: async (energyType: EnergyCostImportConfirmEnergyTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
59
|
+
assertParamExists('energyCostImportConfirm', 'energyType', energyType)
|
|
60
|
+
const localVarPath = `/gizone/energy/cost/month/import/confirm`;
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
if (configuration) {
|
|
65
|
+
baseOptions = configuration.baseOptions;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
|
|
72
|
+
// authentication tokenScheme required
|
|
73
|
+
// http bearer authentication required
|
|
74
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
|
+
|
|
76
|
+
if (energyType !== undefined) {
|
|
77
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
url: toPathString(localVarUrlObj),
|
|
88
|
+
options: localVarRequestOptions,
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary 能源费用管理设置-结果确认
|
|
94
|
+
* @param {EnergyCostImportPreviewEnergyTypeEnum} energyType
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
energyCostImportPreview: async (energyType: EnergyCostImportPreviewEnergyTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
100
|
+
assertParamExists('energyCostImportPreview', 'energyType', energyType)
|
|
101
|
+
const localVarPath = `/gizone/energy/cost/month/import/preview`;
|
|
102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
+
let baseOptions;
|
|
105
|
+
if (configuration) {
|
|
106
|
+
baseOptions = configuration.baseOptions;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
110
|
+
const localVarHeaderParameter = {} as any;
|
|
111
|
+
const localVarQueryParameter = {} as any;
|
|
112
|
+
|
|
113
|
+
// authentication tokenScheme required
|
|
114
|
+
// http bearer authentication required
|
|
115
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
|
+
|
|
117
|
+
if (energyType !== undefined) {
|
|
118
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
126
|
+
|
|
127
|
+
return {
|
|
128
|
+
url: toPathString(localVarUrlObj),
|
|
129
|
+
options: localVarRequestOptions,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary 能源费用管理设置-上传文件
|
|
135
|
+
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
136
|
+
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
energyCostImportUpload: async (energyType: EnergyCostImportUploadEnergyTypeEnum, userBatchImportUploadRequest?: UserBatchImportUploadRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
141
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
142
|
+
assertParamExists('energyCostImportUpload', 'energyType', energyType)
|
|
143
|
+
const localVarPath = `/gizone/energy/cost/month/import/upload`;
|
|
144
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146
|
+
let baseOptions;
|
|
147
|
+
if (configuration) {
|
|
148
|
+
baseOptions = configuration.baseOptions;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
152
|
+
const localVarHeaderParameter = {} as any;
|
|
153
|
+
const localVarQueryParameter = {} as any;
|
|
154
|
+
|
|
155
|
+
// authentication tokenScheme required
|
|
156
|
+
// http bearer authentication required
|
|
157
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
158
|
+
|
|
159
|
+
if (energyType !== undefined) {
|
|
160
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
166
|
+
|
|
167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
170
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userBatchImportUploadRequest, localVarRequestOptions, configuration)
|
|
171
|
+
|
|
172
|
+
return {
|
|
173
|
+
url: toPathString(localVarUrlObj),
|
|
174
|
+
options: localVarRequestOptions,
|
|
175
|
+
};
|
|
176
|
+
},
|
|
48
177
|
/**
|
|
49
178
|
*
|
|
50
179
|
* @summary 能源费用管理设置-新增
|
|
@@ -349,13 +478,12 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
349
478
|
},
|
|
350
479
|
/**
|
|
351
480
|
*
|
|
352
|
-
* @summary
|
|
353
|
-
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
481
|
+
* @summary 导出电费标准导入模板
|
|
354
482
|
* @param {*} [options] Override http request option.
|
|
355
483
|
* @throws {RequiredError}
|
|
356
484
|
*/
|
|
357
|
-
|
|
358
|
-
const localVarPath = `/gizone/energy/cost/month/
|
|
485
|
+
exportElectricityTemplate: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
486
|
+
const localVarPath = `/gizone/energy/cost/month/export/electricity-template`;
|
|
359
487
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
360
488
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
361
489
|
let baseOptions;
|
|
@@ -363,7 +491,7 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
363
491
|
baseOptions = configuration.baseOptions;
|
|
364
492
|
}
|
|
365
493
|
|
|
366
|
-
const localVarRequestOptions = { method: '
|
|
494
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
367
495
|
const localVarHeaderParameter = {} as any;
|
|
368
496
|
const localVarQueryParameter = {} as any;
|
|
369
497
|
|
|
@@ -373,12 +501,43 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
373
501
|
|
|
374
502
|
|
|
375
503
|
|
|
376
|
-
|
|
504
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
505
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
506
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
377
507
|
|
|
508
|
+
return {
|
|
509
|
+
url: toPathString(localVarUrlObj),
|
|
510
|
+
options: localVarRequestOptions,
|
|
511
|
+
};
|
|
512
|
+
},
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @summary 导出水费标准导入模板
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
exportWaterTemplate: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
520
|
+
const localVarPath = `/gizone/energy/cost/month/export/water-template`;
|
|
521
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
522
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
523
|
+
let baseOptions;
|
|
524
|
+
if (configuration) {
|
|
525
|
+
baseOptions = configuration.baseOptions;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
529
|
+
const localVarHeaderParameter = {} as any;
|
|
530
|
+
const localVarQueryParameter = {} as any;
|
|
531
|
+
|
|
532
|
+
// authentication tokenScheme required
|
|
533
|
+
// http bearer authentication required
|
|
534
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
378
538
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
379
539
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
380
540
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
381
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userBatchImportUploadRequest, localVarRequestOptions, configuration)
|
|
382
541
|
|
|
383
542
|
return {
|
|
384
543
|
url: toPathString(localVarUrlObj),
|
|
@@ -395,6 +554,46 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration?
|
|
|
395
554
|
export const EnergyCostControllerApiFp = function(configuration?: Configuration) {
|
|
396
555
|
const localVarAxiosParamCreator = EnergyCostControllerApiAxiosParamCreator(configuration)
|
|
397
556
|
return {
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @summary 能源费用管理设置-导入数据
|
|
560
|
+
* @param {EnergyCostImportConfirmEnergyTypeEnum} energyType
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
async energyCostImportConfirm(energyType: EnergyCostImportConfirmEnergyTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostImportRedisVo>> {
|
|
565
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostImportConfirm(energyType, options);
|
|
566
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
567
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostImportConfirm']?.[localVarOperationServerIndex]?.url;
|
|
568
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
569
|
+
},
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @summary 能源费用管理设置-结果确认
|
|
573
|
+
* @param {EnergyCostImportPreviewEnergyTypeEnum} energyType
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
async energyCostImportPreview(energyType: EnergyCostImportPreviewEnergyTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEnergyCostImportRedisVo>> {
|
|
578
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostImportPreview(energyType, options);
|
|
579
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
580
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostImportPreview']?.[localVarOperationServerIndex]?.url;
|
|
581
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
582
|
+
},
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @summary 能源费用管理设置-上传文件
|
|
586
|
+
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
587
|
+
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
*/
|
|
591
|
+
async energyCostImportUpload(energyType: EnergyCostImportUploadEnergyTypeEnum, userBatchImportUploadRequest?: UserBatchImportUploadRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
592
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.energyCostImportUpload(energyType, userBatchImportUploadRequest, options);
|
|
593
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
594
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.energyCostImportUpload']?.[localVarOperationServerIndex]?.url;
|
|
595
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
596
|
+
},
|
|
398
597
|
/**
|
|
399
598
|
*
|
|
400
599
|
* @summary 能源费用管理设置-新增
|
|
@@ -492,15 +691,26 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
492
691
|
},
|
|
493
692
|
/**
|
|
494
693
|
*
|
|
495
|
-
* @summary
|
|
496
|
-
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
694
|
+
* @summary 导出电费标准导入模板
|
|
497
695
|
* @param {*} [options] Override http request option.
|
|
498
696
|
* @throws {RequiredError}
|
|
499
697
|
*/
|
|
500
|
-
async
|
|
501
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
698
|
+
async exportElectricityTemplate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
699
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportElectricityTemplate(options);
|
|
502
700
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
503
|
-
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.
|
|
701
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.exportElectricityTemplate']?.[localVarOperationServerIndex]?.url;
|
|
702
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
703
|
+
},
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @summary 导出水费标准导入模板
|
|
707
|
+
* @param {*} [options] Override http request option.
|
|
708
|
+
* @throws {RequiredError}
|
|
709
|
+
*/
|
|
710
|
+
async exportWaterTemplate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
711
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportWaterTemplate(options);
|
|
712
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
713
|
+
const localVarOperationServerBasePath = operationServerMap['EnergyCostControllerApi.exportWaterTemplate']?.[localVarOperationServerIndex]?.url;
|
|
504
714
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
505
715
|
},
|
|
506
716
|
}
|
|
@@ -513,6 +723,36 @@ export const EnergyCostControllerApiFp = function(configuration?: Configuration)
|
|
|
513
723
|
export const EnergyCostControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
514
724
|
const localVarFp = EnergyCostControllerApiFp(configuration)
|
|
515
725
|
return {
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @summary 能源费用管理设置-导入数据
|
|
729
|
+
* @param {EnergyCostControllerApiEnergyCostImportConfirmRequest} requestParameters Request parameters.
|
|
730
|
+
* @param {*} [options] Override http request option.
|
|
731
|
+
* @throws {RequiredError}
|
|
732
|
+
*/
|
|
733
|
+
energyCostImportConfirm(requestParameters: EnergyCostControllerApiEnergyCostImportConfirmRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostImportRedisVo> {
|
|
734
|
+
return localVarFp.energyCostImportConfirm(requestParameters.energyType, options).then((request) => request(axios, basePath));
|
|
735
|
+
},
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @summary 能源费用管理设置-结果确认
|
|
739
|
+
* @param {EnergyCostControllerApiEnergyCostImportPreviewRequest} requestParameters Request parameters.
|
|
740
|
+
* @param {*} [options] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
*/
|
|
743
|
+
energyCostImportPreview(requestParameters: EnergyCostControllerApiEnergyCostImportPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEnergyCostImportRedisVo> {
|
|
744
|
+
return localVarFp.energyCostImportPreview(requestParameters.energyType, options).then((request) => request(axios, basePath));
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @summary 能源费用管理设置-上传文件
|
|
749
|
+
* @param {EnergyCostControllerApiEnergyCostImportUploadRequest} requestParameters Request parameters.
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
energyCostImportUpload(requestParameters: EnergyCostControllerApiEnergyCostImportUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
754
|
+
return localVarFp.energyCostImportUpload(requestParameters.energyType, requestParameters.userBatchImportUploadRequest, options).then((request) => request(axios, basePath));
|
|
755
|
+
},
|
|
516
756
|
/**
|
|
517
757
|
*
|
|
518
758
|
* @summary 能源费用管理设置-新增
|
|
@@ -585,17 +825,74 @@ export const EnergyCostControllerApiFactory = function (configuration?: Configur
|
|
|
585
825
|
},
|
|
586
826
|
/**
|
|
587
827
|
*
|
|
588
|
-
* @summary
|
|
589
|
-
* @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
|
|
828
|
+
* @summary 导出电费标准导入模板
|
|
590
829
|
* @param {*} [options] Override http request option.
|
|
591
830
|
* @throws {RequiredError}
|
|
592
831
|
*/
|
|
593
|
-
|
|
594
|
-
return localVarFp.
|
|
832
|
+
exportElectricityTemplate(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
833
|
+
return localVarFp.exportElectricityTemplate(options).then((request) => request(axios, basePath));
|
|
834
|
+
},
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @summary 导出水费标准导入模板
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
exportWaterTemplate(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
842
|
+
return localVarFp.exportWaterTemplate(options).then((request) => request(axios, basePath));
|
|
595
843
|
},
|
|
596
844
|
};
|
|
597
845
|
};
|
|
598
846
|
|
|
847
|
+
/**
|
|
848
|
+
* Request parameters for energyCostImportConfirm operation in EnergyCostControllerApi.
|
|
849
|
+
* @export
|
|
850
|
+
* @interface EnergyCostControllerApiEnergyCostImportConfirmRequest
|
|
851
|
+
*/
|
|
852
|
+
export interface EnergyCostControllerApiEnergyCostImportConfirmRequest {
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @type {'ELECTRIC' | 'WATER'}
|
|
856
|
+
* @memberof EnergyCostControllerApiEnergyCostImportConfirm
|
|
857
|
+
*/
|
|
858
|
+
readonly energyType: EnergyCostImportConfirmEnergyTypeEnum
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Request parameters for energyCostImportPreview operation in EnergyCostControllerApi.
|
|
863
|
+
* @export
|
|
864
|
+
* @interface EnergyCostControllerApiEnergyCostImportPreviewRequest
|
|
865
|
+
*/
|
|
866
|
+
export interface EnergyCostControllerApiEnergyCostImportPreviewRequest {
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @type {'ELECTRIC' | 'WATER'}
|
|
870
|
+
* @memberof EnergyCostControllerApiEnergyCostImportPreview
|
|
871
|
+
*/
|
|
872
|
+
readonly energyType: EnergyCostImportPreviewEnergyTypeEnum
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Request parameters for energyCostImportUpload operation in EnergyCostControllerApi.
|
|
877
|
+
* @export
|
|
878
|
+
* @interface EnergyCostControllerApiEnergyCostImportUploadRequest
|
|
879
|
+
*/
|
|
880
|
+
export interface EnergyCostControllerApiEnergyCostImportUploadRequest {
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type {'ELECTRIC' | 'WATER'}
|
|
884
|
+
* @memberof EnergyCostControllerApiEnergyCostImportUpload
|
|
885
|
+
*/
|
|
886
|
+
readonly energyType: EnergyCostImportUploadEnergyTypeEnum
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @type {UserBatchImportUploadRequest}
|
|
891
|
+
* @memberof EnergyCostControllerApiEnergyCostImportUpload
|
|
892
|
+
*/
|
|
893
|
+
readonly userBatchImportUploadRequest?: UserBatchImportUploadRequest
|
|
894
|
+
}
|
|
895
|
+
|
|
599
896
|
/**
|
|
600
897
|
* Request parameters for energyCostMonthSettingAdd operation in EnergyCostControllerApi.
|
|
601
898
|
* @export
|
|
@@ -722,20 +1019,6 @@ export interface EnergyCostControllerApiEnergyCostMonthSettingUpdateRequest {
|
|
|
722
1019
|
readonly energyCostUpdateSettingDTO: EnergyCostUpdateSettingDTO
|
|
723
1020
|
}
|
|
724
1021
|
|
|
725
|
-
/**
|
|
726
|
-
* Request parameters for importData1 operation in EnergyCostControllerApi.
|
|
727
|
-
* @export
|
|
728
|
-
* @interface EnergyCostControllerApiImportData1Request
|
|
729
|
-
*/
|
|
730
|
-
export interface EnergyCostControllerApiImportData1Request {
|
|
731
|
-
/**
|
|
732
|
-
*
|
|
733
|
-
* @type {UserBatchImportUploadRequest}
|
|
734
|
-
* @memberof EnergyCostControllerApiImportData1
|
|
735
|
-
*/
|
|
736
|
-
readonly userBatchImportUploadRequest?: UserBatchImportUploadRequest
|
|
737
|
-
}
|
|
738
|
-
|
|
739
1022
|
/**
|
|
740
1023
|
* EnergyCostControllerApi - object-oriented interface
|
|
741
1024
|
* @export
|
|
@@ -743,6 +1026,42 @@ export interface EnergyCostControllerApiImportData1Request {
|
|
|
743
1026
|
* @extends {BaseAPI}
|
|
744
1027
|
*/
|
|
745
1028
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
1029
|
+
/**
|
|
1030
|
+
*
|
|
1031
|
+
* @summary 能源费用管理设置-导入数据
|
|
1032
|
+
* @param {EnergyCostControllerApiEnergyCostImportConfirmRequest} requestParameters Request parameters.
|
|
1033
|
+
* @param {*} [options] Override http request option.
|
|
1034
|
+
* @throws {RequiredError}
|
|
1035
|
+
* @memberof EnergyCostControllerApi
|
|
1036
|
+
*/
|
|
1037
|
+
public energyCostImportConfirm(requestParameters: EnergyCostControllerApiEnergyCostImportConfirmRequest, options?: RawAxiosRequestConfig) {
|
|
1038
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportConfirm(requestParameters.energyType, options).then((request) => request(this.axios, this.basePath));
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
*
|
|
1043
|
+
* @summary 能源费用管理设置-结果确认
|
|
1044
|
+
* @param {EnergyCostControllerApiEnergyCostImportPreviewRequest} requestParameters Request parameters.
|
|
1045
|
+
* @param {*} [options] Override http request option.
|
|
1046
|
+
* @throws {RequiredError}
|
|
1047
|
+
* @memberof EnergyCostControllerApi
|
|
1048
|
+
*/
|
|
1049
|
+
public energyCostImportPreview(requestParameters: EnergyCostControllerApiEnergyCostImportPreviewRequest, options?: RawAxiosRequestConfig) {
|
|
1050
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportPreview(requestParameters.energyType, options).then((request) => request(this.axios, this.basePath));
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
*
|
|
1055
|
+
* @summary 能源费用管理设置-上传文件
|
|
1056
|
+
* @param {EnergyCostControllerApiEnergyCostImportUploadRequest} requestParameters Request parameters.
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @throws {RequiredError}
|
|
1059
|
+
* @memberof EnergyCostControllerApi
|
|
1060
|
+
*/
|
|
1061
|
+
public energyCostImportUpload(requestParameters: EnergyCostControllerApiEnergyCostImportUploadRequest, options?: RawAxiosRequestConfig) {
|
|
1062
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportUpload(requestParameters.energyType, requestParameters.userBatchImportUploadRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1063
|
+
}
|
|
1064
|
+
|
|
746
1065
|
/**
|
|
747
1066
|
*
|
|
748
1067
|
* @summary 能源费用管理设置-新增
|
|
@@ -829,17 +1148,51 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
829
1148
|
|
|
830
1149
|
/**
|
|
831
1150
|
*
|
|
832
|
-
* @summary
|
|
833
|
-
* @param {
|
|
1151
|
+
* @summary 导出电费标准导入模板
|
|
1152
|
+
* @param {*} [options] Override http request option.
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
* @memberof EnergyCostControllerApi
|
|
1155
|
+
*/
|
|
1156
|
+
public exportElectricityTemplate(options?: RawAxiosRequestConfig) {
|
|
1157
|
+
return EnergyCostControllerApiFp(this.configuration).exportElectricityTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @summary 导出水费标准导入模板
|
|
834
1163
|
* @param {*} [options] Override http request option.
|
|
835
1164
|
* @throws {RequiredError}
|
|
836
1165
|
* @memberof EnergyCostControllerApi
|
|
837
1166
|
*/
|
|
838
|
-
public
|
|
839
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
1167
|
+
public exportWaterTemplate(options?: RawAxiosRequestConfig) {
|
|
1168
|
+
return EnergyCostControllerApiFp(this.configuration).exportWaterTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
840
1169
|
}
|
|
841
1170
|
}
|
|
842
1171
|
|
|
1172
|
+
/**
|
|
1173
|
+
* @export
|
|
1174
|
+
*/
|
|
1175
|
+
export const EnergyCostImportConfirmEnergyTypeEnum = {
|
|
1176
|
+
Electric: 'ELECTRIC',
|
|
1177
|
+
Water: 'WATER'
|
|
1178
|
+
} as const;
|
|
1179
|
+
export type EnergyCostImportConfirmEnergyTypeEnum = typeof EnergyCostImportConfirmEnergyTypeEnum[keyof typeof EnergyCostImportConfirmEnergyTypeEnum];
|
|
1180
|
+
/**
|
|
1181
|
+
* @export
|
|
1182
|
+
*/
|
|
1183
|
+
export const EnergyCostImportPreviewEnergyTypeEnum = {
|
|
1184
|
+
Electric: 'ELECTRIC',
|
|
1185
|
+
Water: 'WATER'
|
|
1186
|
+
} as const;
|
|
1187
|
+
export type EnergyCostImportPreviewEnergyTypeEnum = typeof EnergyCostImportPreviewEnergyTypeEnum[keyof typeof EnergyCostImportPreviewEnergyTypeEnum];
|
|
1188
|
+
/**
|
|
1189
|
+
* @export
|
|
1190
|
+
*/
|
|
1191
|
+
export const EnergyCostImportUploadEnergyTypeEnum = {
|
|
1192
|
+
Electric: 'ELECTRIC',
|
|
1193
|
+
Water: 'WATER'
|
|
1194
|
+
} as const;
|
|
1195
|
+
export type EnergyCostImportUploadEnergyTypeEnum = typeof EnergyCostImportUploadEnergyTypeEnum[keyof typeof EnergyCostImportUploadEnergyTypeEnum];
|
|
843
1196
|
/**
|
|
844
1197
|
* @export
|
|
845
1198
|
*/
|