@gizone/rrs-client 4.2.9-alpha.565 → 4.2.9-alpha.569
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/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/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/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/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/expense-subject-enum.ts +32 -0
- package/models/index.ts +21 -0
- package/models/invoice-type-enum.ts +32 -0
- 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 +1095 -1092
- package/package.json +1 -1
|
@@ -32,6 +32,111 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const EnergyCostControllerApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 能源费用管理设置-导入数据
|
|
38
|
+
* @param {EnergyCostImportConfirmEnergyTypeEnum} energyType
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
energyCostImportConfirm: (energyType_1, ...args_1) => __awaiter(this, [energyType_1, ...args_1], void 0, function* (energyType, options = {}) {
|
|
43
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
44
|
+
assertParamExists('energyCostImportConfirm', 'energyType', energyType);
|
|
45
|
+
const localVarPath = `/gizone/energy/cost/month/import/confirm`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
if (energyType !== undefined) {
|
|
59
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
60
|
+
}
|
|
61
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
64
|
+
return {
|
|
65
|
+
url: toPathString(localVarUrlObj),
|
|
66
|
+
options: localVarRequestOptions,
|
|
67
|
+
};
|
|
68
|
+
}),
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary 能源费用管理设置-结果确认
|
|
72
|
+
* @param {EnergyCostImportPreviewEnergyTypeEnum} energyType
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
energyCostImportPreview: (energyType_1, ...args_1) => __awaiter(this, [energyType_1, ...args_1], void 0, function* (energyType, options = {}) {
|
|
77
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
78
|
+
assertParamExists('energyCostImportPreview', 'energyType', energyType);
|
|
79
|
+
const localVarPath = `/gizone/energy/cost/month/import/preview`;
|
|
80
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
81
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82
|
+
let baseOptions;
|
|
83
|
+
if (configuration) {
|
|
84
|
+
baseOptions = configuration.baseOptions;
|
|
85
|
+
}
|
|
86
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
87
|
+
const localVarHeaderParameter = {};
|
|
88
|
+
const localVarQueryParameter = {};
|
|
89
|
+
// authentication tokenScheme required
|
|
90
|
+
// http bearer authentication required
|
|
91
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
92
|
+
if (energyType !== undefined) {
|
|
93
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
94
|
+
}
|
|
95
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
return {
|
|
99
|
+
url: toPathString(localVarUrlObj),
|
|
100
|
+
options: localVarRequestOptions,
|
|
101
|
+
};
|
|
102
|
+
}),
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @summary 能源费用管理设置-上传文件
|
|
106
|
+
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
107
|
+
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
energyCostImportUpload: (energyType_1, userBatchImportUploadRequest_1, ...args_1) => __awaiter(this, [energyType_1, userBatchImportUploadRequest_1, ...args_1], void 0, function* (energyType, userBatchImportUploadRequest, options = {}) {
|
|
112
|
+
// verify required parameter 'energyType' is not null or undefined
|
|
113
|
+
assertParamExists('energyCostImportUpload', 'energyType', energyType);
|
|
114
|
+
const localVarPath = `/gizone/energy/cost/month/import/upload`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication tokenScheme required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
127
|
+
if (energyType !== undefined) {
|
|
128
|
+
localVarQueryParameter['energyType'] = energyType;
|
|
129
|
+
}
|
|
130
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
132
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userBatchImportUploadRequest, localVarRequestOptions, configuration);
|
|
135
|
+
return {
|
|
136
|
+
url: toPathString(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
};
|
|
139
|
+
}),
|
|
35
140
|
/**
|
|
36
141
|
*
|
|
37
142
|
* @summary 能源费用管理设置-新增
|
|
@@ -283,30 +388,55 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
283
388
|
}),
|
|
284
389
|
/**
|
|
285
390
|
*
|
|
286
|
-
* @summary
|
|
287
|
-
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
391
|
+
* @summary 导出电费标准导入模板
|
|
288
392
|
* @param {*} [options] Override http request option.
|
|
289
393
|
* @throws {RequiredError}
|
|
290
394
|
*/
|
|
291
|
-
|
|
292
|
-
const localVarPath = `/gizone/energy/cost/month/
|
|
395
|
+
exportElectricityTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
396
|
+
const localVarPath = `/gizone/energy/cost/month/export/electricity-template`;
|
|
293
397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
294
398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
399
|
let baseOptions;
|
|
296
400
|
if (configuration) {
|
|
297
401
|
baseOptions = configuration.baseOptions;
|
|
298
402
|
}
|
|
299
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
403
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
404
|
+
const localVarHeaderParameter = {};
|
|
405
|
+
const localVarQueryParameter = {};
|
|
406
|
+
// authentication tokenScheme required
|
|
407
|
+
// http bearer authentication required
|
|
408
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
409
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
410
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
411
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
412
|
+
return {
|
|
413
|
+
url: toPathString(localVarUrlObj),
|
|
414
|
+
options: localVarRequestOptions,
|
|
415
|
+
};
|
|
416
|
+
}),
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @summary 导出水费标准导入模板
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
exportWaterTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
424
|
+
const localVarPath = `/gizone/energy/cost/month/export/water-template`;
|
|
425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
427
|
+
let baseOptions;
|
|
428
|
+
if (configuration) {
|
|
429
|
+
baseOptions = configuration.baseOptions;
|
|
430
|
+
}
|
|
431
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
300
432
|
const localVarHeaderParameter = {};
|
|
301
433
|
const localVarQueryParameter = {};
|
|
302
434
|
// authentication tokenScheme required
|
|
303
435
|
// http bearer authentication required
|
|
304
436
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
305
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
306
437
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
307
438
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
439
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
309
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userBatchImportUploadRequest, localVarRequestOptions, configuration);
|
|
310
440
|
return {
|
|
311
441
|
url: toPathString(localVarUrlObj),
|
|
312
442
|
options: localVarRequestOptions,
|
|
@@ -321,6 +451,55 @@ export const EnergyCostControllerApiAxiosParamCreator = function (configuration)
|
|
|
321
451
|
export const EnergyCostControllerApiFp = function (configuration) {
|
|
322
452
|
const localVarAxiosParamCreator = EnergyCostControllerApiAxiosParamCreator(configuration);
|
|
323
453
|
return {
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @summary 能源费用管理设置-导入数据
|
|
457
|
+
* @param {EnergyCostImportConfirmEnergyTypeEnum} energyType
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
energyCostImportConfirm(energyType, options) {
|
|
462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
463
|
+
var _a, _b, _c;
|
|
464
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostImportConfirm(energyType, options);
|
|
465
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
466
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
468
|
+
});
|
|
469
|
+
},
|
|
470
|
+
/**
|
|
471
|
+
*
|
|
472
|
+
* @summary 能源费用管理设置-结果确认
|
|
473
|
+
* @param {EnergyCostImportPreviewEnergyTypeEnum} energyType
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
energyCostImportPreview(energyType, options) {
|
|
478
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
479
|
+
var _a, _b, _c;
|
|
480
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostImportPreview(energyType, options);
|
|
481
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
482
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
483
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
484
|
+
});
|
|
485
|
+
},
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @summary 能源费用管理设置-上传文件
|
|
489
|
+
* @param {EnergyCostImportUploadEnergyTypeEnum} energyType
|
|
490
|
+
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
energyCostImportUpload(energyType, userBatchImportUploadRequest, options) {
|
|
495
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
496
|
+
var _a, _b, _c;
|
|
497
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.energyCostImportUpload(energyType, userBatchImportUploadRequest, options);
|
|
498
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
499
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.energyCostImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
500
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
501
|
+
});
|
|
502
|
+
},
|
|
324
503
|
/**
|
|
325
504
|
*
|
|
326
505
|
* @summary 能源费用管理设置-新增
|
|
@@ -439,17 +618,31 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
439
618
|
},
|
|
440
619
|
/**
|
|
441
620
|
*
|
|
442
|
-
* @summary
|
|
443
|
-
* @param {UserBatchImportUploadRequest} [userBatchImportUploadRequest]
|
|
621
|
+
* @summary 导出电费标准导入模板
|
|
444
622
|
* @param {*} [options] Override http request option.
|
|
445
623
|
* @throws {RequiredError}
|
|
446
624
|
*/
|
|
447
|
-
|
|
625
|
+
exportElectricityTemplate(options) {
|
|
448
626
|
return __awaiter(this, void 0, void 0, function* () {
|
|
449
627
|
var _a, _b, _c;
|
|
450
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
628
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportElectricityTemplate(options);
|
|
451
629
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
452
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.
|
|
630
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostControllerApi.exportElectricityTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
631
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
632
|
+
});
|
|
633
|
+
},
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @summary 导出水费标准导入模板
|
|
637
|
+
* @param {*} [options] Override http request option.
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
*/
|
|
640
|
+
exportWaterTemplate(options) {
|
|
641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
642
|
+
var _a, _b, _c;
|
|
643
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportWaterTemplate(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['EnergyCostControllerApi.exportWaterTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
453
646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
454
647
|
});
|
|
455
648
|
},
|
|
@@ -462,6 +655,36 @@ export const EnergyCostControllerApiFp = function (configuration) {
|
|
|
462
655
|
export const EnergyCostControllerApiFactory = function (configuration, basePath, axios) {
|
|
463
656
|
const localVarFp = EnergyCostControllerApiFp(configuration);
|
|
464
657
|
return {
|
|
658
|
+
/**
|
|
659
|
+
*
|
|
660
|
+
* @summary 能源费用管理设置-导入数据
|
|
661
|
+
* @param {EnergyCostControllerApiEnergyCostImportConfirmRequest} requestParameters Request parameters.
|
|
662
|
+
* @param {*} [options] Override http request option.
|
|
663
|
+
* @throws {RequiredError}
|
|
664
|
+
*/
|
|
665
|
+
energyCostImportConfirm(requestParameters, options) {
|
|
666
|
+
return localVarFp.energyCostImportConfirm(requestParameters.energyType, options).then((request) => request(axios, basePath));
|
|
667
|
+
},
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @summary 能源费用管理设置-结果确认
|
|
671
|
+
* @param {EnergyCostControllerApiEnergyCostImportPreviewRequest} requestParameters Request parameters.
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
energyCostImportPreview(requestParameters, options) {
|
|
676
|
+
return localVarFp.energyCostImportPreview(requestParameters.energyType, options).then((request) => request(axios, basePath));
|
|
677
|
+
},
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @summary 能源费用管理设置-上传文件
|
|
681
|
+
* @param {EnergyCostControllerApiEnergyCostImportUploadRequest} requestParameters Request parameters.
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
*/
|
|
685
|
+
energyCostImportUpload(requestParameters, options) {
|
|
686
|
+
return localVarFp.energyCostImportUpload(requestParameters.energyType, requestParameters.userBatchImportUploadRequest, options).then((request) => request(axios, basePath));
|
|
687
|
+
},
|
|
465
688
|
/**
|
|
466
689
|
*
|
|
467
690
|
* @summary 能源费用管理设置-新增
|
|
@@ -534,13 +757,21 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
534
757
|
},
|
|
535
758
|
/**
|
|
536
759
|
*
|
|
537
|
-
* @summary
|
|
538
|
-
* @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
|
|
760
|
+
* @summary 导出电费标准导入模板
|
|
539
761
|
* @param {*} [options] Override http request option.
|
|
540
762
|
* @throws {RequiredError}
|
|
541
763
|
*/
|
|
542
|
-
|
|
543
|
-
return localVarFp.
|
|
764
|
+
exportElectricityTemplate(options) {
|
|
765
|
+
return localVarFp.exportElectricityTemplate(options).then((request) => request(axios, basePath));
|
|
766
|
+
},
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @summary 导出水费标准导入模板
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
exportWaterTemplate(options) {
|
|
774
|
+
return localVarFp.exportWaterTemplate(options).then((request) => request(axios, basePath));
|
|
544
775
|
},
|
|
545
776
|
};
|
|
546
777
|
};
|
|
@@ -551,6 +782,39 @@ export const EnergyCostControllerApiFactory = function (configuration, basePath,
|
|
|
551
782
|
* @extends {BaseAPI}
|
|
552
783
|
*/
|
|
553
784
|
export class EnergyCostControllerApi extends BaseAPI {
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @summary 能源费用管理设置-导入数据
|
|
788
|
+
* @param {EnergyCostControllerApiEnergyCostImportConfirmRequest} requestParameters Request parameters.
|
|
789
|
+
* @param {*} [options] Override http request option.
|
|
790
|
+
* @throws {RequiredError}
|
|
791
|
+
* @memberof EnergyCostControllerApi
|
|
792
|
+
*/
|
|
793
|
+
energyCostImportConfirm(requestParameters, options) {
|
|
794
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportConfirm(requestParameters.energyType, options).then((request) => request(this.axios, this.basePath));
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
*
|
|
798
|
+
* @summary 能源费用管理设置-结果确认
|
|
799
|
+
* @param {EnergyCostControllerApiEnergyCostImportPreviewRequest} requestParameters Request parameters.
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
* @memberof EnergyCostControllerApi
|
|
803
|
+
*/
|
|
804
|
+
energyCostImportPreview(requestParameters, options) {
|
|
805
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportPreview(requestParameters.energyType, options).then((request) => request(this.axios, this.basePath));
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @summary 能源费用管理设置-上传文件
|
|
810
|
+
* @param {EnergyCostControllerApiEnergyCostImportUploadRequest} requestParameters Request parameters.
|
|
811
|
+
* @param {*} [options] Override http request option.
|
|
812
|
+
* @throws {RequiredError}
|
|
813
|
+
* @memberof EnergyCostControllerApi
|
|
814
|
+
*/
|
|
815
|
+
energyCostImportUpload(requestParameters, options) {
|
|
816
|
+
return EnergyCostControllerApiFp(this.configuration).energyCostImportUpload(requestParameters.energyType, requestParameters.userBatchImportUploadRequest, options).then((request) => request(this.axios, this.basePath));
|
|
817
|
+
}
|
|
554
818
|
/**
|
|
555
819
|
*
|
|
556
820
|
* @summary 能源费用管理设置-新增
|
|
@@ -630,16 +894,46 @@ export class EnergyCostControllerApi extends BaseAPI {
|
|
|
630
894
|
}
|
|
631
895
|
/**
|
|
632
896
|
*
|
|
633
|
-
* @summary
|
|
634
|
-
* @param {EnergyCostControllerApiImportData1Request} requestParameters Request parameters.
|
|
897
|
+
* @summary 导出电费标准导入模板
|
|
635
898
|
* @param {*} [options] Override http request option.
|
|
636
899
|
* @throws {RequiredError}
|
|
637
900
|
* @memberof EnergyCostControllerApi
|
|
638
901
|
*/
|
|
639
|
-
|
|
640
|
-
return EnergyCostControllerApiFp(this.configuration).
|
|
902
|
+
exportElectricityTemplate(options) {
|
|
903
|
+
return EnergyCostControllerApiFp(this.configuration).exportElectricityTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @summary 导出水费标准导入模板
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
* @memberof EnergyCostControllerApi
|
|
911
|
+
*/
|
|
912
|
+
exportWaterTemplate(options) {
|
|
913
|
+
return EnergyCostControllerApiFp(this.configuration).exportWaterTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
641
914
|
}
|
|
642
915
|
}
|
|
916
|
+
/**
|
|
917
|
+
* @export
|
|
918
|
+
*/
|
|
919
|
+
export const EnergyCostImportConfirmEnergyTypeEnum = {
|
|
920
|
+
Electric: 'ELECTRIC',
|
|
921
|
+
Water: 'WATER'
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* @export
|
|
925
|
+
*/
|
|
926
|
+
export const EnergyCostImportPreviewEnergyTypeEnum = {
|
|
927
|
+
Electric: 'ELECTRIC',
|
|
928
|
+
Water: 'WATER'
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* @export
|
|
932
|
+
*/
|
|
933
|
+
export const EnergyCostImportUploadEnergyTypeEnum = {
|
|
934
|
+
Electric: 'ELECTRIC',
|
|
935
|
+
Water: 'WATER'
|
|
936
|
+
};
|
|
643
937
|
/**
|
|
644
938
|
* @export
|
|
645
939
|
*/
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResultListMdmIncrementVendorBankAccountsVo } from '../models';
|
|
16
|
+
import type { JsonResultListMdmIncrementVendorsVo } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* MDMApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const MDMApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary 获取供应商信息
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
mdmVendors: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary 通过供应商id获取供应商银行信息
|
|
32
|
+
* @param {string} vendorId
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
mdmVendors1: (vendorId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* MDMApi - functional programming interface
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const MDMApiFp: (configuration?: Configuration) => {
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary 获取供应商信息
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
mdmVendors(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorsVo>>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary 通过供应商id获取供应商银行信息
|
|
53
|
+
* @param {string} vendorId
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
mdmVendors1(vendorId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>>;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* MDMApi - factory interface
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const MDMApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @summary 获取供应商信息
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
mdmVendors(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorsVo>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary 通过供应商id获取供应商银行信息
|
|
74
|
+
* @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Request parameters for mdmVendors1 operation in MDMApi.
|
|
82
|
+
* @export
|
|
83
|
+
* @interface MDMApiMdmVendors1Request
|
|
84
|
+
*/
|
|
85
|
+
export interface MDMApiMdmVendors1Request {
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof MDMApiMdmVendors1
|
|
90
|
+
*/
|
|
91
|
+
readonly vendorId: string;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* MDMApi - object-oriented interface
|
|
95
|
+
* @export
|
|
96
|
+
* @class MDMApi
|
|
97
|
+
* @extends {BaseAPI}
|
|
98
|
+
*/
|
|
99
|
+
export declare class MDMApi extends BaseAPI {
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary 获取供应商信息
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
* @memberof MDMApi
|
|
106
|
+
*/
|
|
107
|
+
mdmVendors(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListMdmIncrementVendorsVo, any, {}>>;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary 通过供应商id获取供应商银行信息
|
|
111
|
+
* @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
* @memberof MDMApi
|
|
115
|
+
*/
|
|
116
|
+
mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListMdmIncrementVendorBankAccountsVo, any, {}>>;
|
|
117
|
+
}
|