@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.
Files changed (133) hide show
  1. package/.openapi-generator/FILES +23 -0
  2. package/api.ts +2 -0
  3. package/apis/energy-cost-controller-api.ts +387 -34
  4. package/apis/mdmapi.ts +217 -0
  5. package/apis/reimbursement-bill-api.ts +605 -0
  6. package/dist/api.d.ts +2 -0
  7. package/dist/api.js +2 -0
  8. package/dist/apis/energy-cost-controller-api.d.ts +208 -25
  9. package/dist/apis/energy-cost-controller-api.js +315 -21
  10. package/dist/apis/mdmapi.d.ts +117 -0
  11. package/dist/apis/mdmapi.js +200 -0
  12. package/dist/apis/reimbursement-bill-api.d.ts +323 -0
  13. package/dist/apis/reimbursement-bill-api.js +489 -0
  14. package/dist/esm/api.d.ts +2 -0
  15. package/dist/esm/api.js +2 -0
  16. package/dist/esm/apis/energy-cost-controller-api.d.ts +208 -25
  17. package/dist/esm/apis/energy-cost-controller-api.js +314 -20
  18. package/dist/esm/apis/mdmapi.d.ts +117 -0
  19. package/dist/esm/apis/mdmapi.js +193 -0
  20. package/dist/esm/apis/reimbursement-bill-api.d.ts +323 -0
  21. package/dist/esm/apis/reimbursement-bill-api.js +482 -0
  22. package/dist/esm/models/energy-cost-import-redis-vo.d.ts +55 -0
  23. package/dist/esm/models/energy-cost-import-redis-vo.js +14 -0
  24. package/dist/esm/models/energy-cost-month-setting-excel-dto.d.ts +78 -0
  25. package/dist/esm/models/energy-cost-month-setting-excel-dto.js +14 -0
  26. package/dist/esm/models/expense-subject-enum.d.ts +22 -0
  27. package/dist/esm/models/expense-subject-enum.js +23 -0
  28. package/dist/esm/models/index.d.ts +21 -0
  29. package/dist/esm/models/index.js +21 -0
  30. package/dist/esm/models/invoice-type-enum.d.ts +22 -0
  31. package/dist/esm/models/invoice-type-enum.js +23 -0
  32. package/dist/esm/models/json-result-energy-cost-import-redis-vo.d.ts +62 -0
  33. package/dist/esm/models/json-result-energy-cost-import-redis-vo.js +14 -0
  34. package/dist/esm/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.d.ts +62 -0
  35. package/dist/esm/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.js +14 -0
  36. package/dist/esm/models/json-result-list-mdm-increment-vendors-vo.d.ts +62 -0
  37. package/dist/esm/models/json-result-list-mdm-increment-vendors-vo.js +14 -0
  38. package/dist/esm/models/json-result-page-dto-reimbursement-bill-list-vo.d.ts +62 -0
  39. package/dist/esm/models/json-result-page-dto-reimbursement-bill-list-vo.js +14 -0
  40. package/dist/esm/models/json-result-reimbursement-bill-details-vo.d.ts +62 -0
  41. package/dist/esm/models/json-result-reimbursement-bill-details-vo.js +14 -0
  42. package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.d.ts +72 -0
  43. package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.js +14 -0
  44. package/dist/esm/models/mdm-increment-vendors-vo.d.ts +90 -0
  45. package/dist/esm/models/mdm-increment-vendors-vo.js +14 -0
  46. package/dist/esm/models/page-dto-reimbursement-bill-list-vo.d.ts +31 -0
  47. package/dist/esm/models/page-dto-reimbursement-bill-list-vo.js +14 -0
  48. package/dist/esm/models/payment-method-enum.d.ts +23 -0
  49. package/dist/esm/models/payment-method-enum.js +24 -0
  50. package/dist/esm/models/reimbursement-bill-details-vo.d.ts +242 -0
  51. package/dist/esm/models/reimbursement-bill-details-vo.js +22 -0
  52. package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +188 -0
  53. package/dist/esm/models/reimbursement-bill-draft-dto.js +22 -0
  54. package/dist/esm/models/reimbursement-bill-handle-info-add-dto.d.ts +36 -0
  55. package/dist/esm/models/reimbursement-bill-handle-info-add-dto.js +14 -0
  56. package/dist/esm/models/reimbursement-bill-handle-info-vo.d.ts +48 -0
  57. package/dist/esm/models/reimbursement-bill-handle-info-vo.js +14 -0
  58. package/dist/esm/models/reimbursement-bill-list-vo.d.ts +142 -0
  59. package/dist/esm/models/reimbursement-bill-list-vo.js +14 -0
  60. package/dist/esm/models/reimbursement-bill-search-dto.d.ts +68 -0
  61. package/dist/esm/models/reimbursement-bill-search-dto.js +14 -0
  62. package/dist/esm/models/reimbursement-bill-submit-dto.d.ts +188 -0
  63. package/dist/esm/models/reimbursement-bill-submit-dto.js +22 -0
  64. package/dist/esm/models/reimbursement-status-enum.d.ts +23 -0
  65. package/dist/esm/models/reimbursement-status-enum.js +24 -0
  66. package/dist/models/energy-cost-import-redis-vo.d.ts +55 -0
  67. package/dist/models/energy-cost-import-redis-vo.js +15 -0
  68. package/dist/models/energy-cost-month-setting-excel-dto.d.ts +78 -0
  69. package/dist/models/energy-cost-month-setting-excel-dto.js +15 -0
  70. package/dist/models/expense-subject-enum.d.ts +22 -0
  71. package/dist/models/expense-subject-enum.js +26 -0
  72. package/dist/models/index.d.ts +21 -0
  73. package/dist/models/index.js +21 -0
  74. package/dist/models/invoice-type-enum.d.ts +22 -0
  75. package/dist/models/invoice-type-enum.js +26 -0
  76. package/dist/models/json-result-energy-cost-import-redis-vo.d.ts +62 -0
  77. package/dist/models/json-result-energy-cost-import-redis-vo.js +15 -0
  78. package/dist/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.d.ts +62 -0
  79. package/dist/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.js +15 -0
  80. package/dist/models/json-result-list-mdm-increment-vendors-vo.d.ts +62 -0
  81. package/dist/models/json-result-list-mdm-increment-vendors-vo.js +15 -0
  82. package/dist/models/json-result-page-dto-reimbursement-bill-list-vo.d.ts +62 -0
  83. package/dist/models/json-result-page-dto-reimbursement-bill-list-vo.js +15 -0
  84. package/dist/models/json-result-reimbursement-bill-details-vo.d.ts +62 -0
  85. package/dist/models/json-result-reimbursement-bill-details-vo.js +15 -0
  86. package/dist/models/mdm-increment-vendor-bank-accounts-vo.d.ts +72 -0
  87. package/dist/models/mdm-increment-vendor-bank-accounts-vo.js +15 -0
  88. package/dist/models/mdm-increment-vendors-vo.d.ts +90 -0
  89. package/dist/models/mdm-increment-vendors-vo.js +15 -0
  90. package/dist/models/page-dto-reimbursement-bill-list-vo.d.ts +31 -0
  91. package/dist/models/page-dto-reimbursement-bill-list-vo.js +15 -0
  92. package/dist/models/payment-method-enum.d.ts +23 -0
  93. package/dist/models/payment-method-enum.js +27 -0
  94. package/dist/models/reimbursement-bill-details-vo.d.ts +242 -0
  95. package/dist/models/reimbursement-bill-details-vo.js +25 -0
  96. package/dist/models/reimbursement-bill-draft-dto.d.ts +188 -0
  97. package/dist/models/reimbursement-bill-draft-dto.js +25 -0
  98. package/dist/models/reimbursement-bill-handle-info-add-dto.d.ts +36 -0
  99. package/dist/models/reimbursement-bill-handle-info-add-dto.js +15 -0
  100. package/dist/models/reimbursement-bill-handle-info-vo.d.ts +48 -0
  101. package/dist/models/reimbursement-bill-handle-info-vo.js +15 -0
  102. package/dist/models/reimbursement-bill-list-vo.d.ts +142 -0
  103. package/dist/models/reimbursement-bill-list-vo.js +15 -0
  104. package/dist/models/reimbursement-bill-search-dto.d.ts +68 -0
  105. package/dist/models/reimbursement-bill-search-dto.js +15 -0
  106. package/dist/models/reimbursement-bill-submit-dto.d.ts +188 -0
  107. package/dist/models/reimbursement-bill-submit-dto.js +25 -0
  108. package/dist/models/reimbursement-status-enum.d.ts +23 -0
  109. package/dist/models/reimbursement-status-enum.js +27 -0
  110. package/models/energy-cost-import-redis-vo.ts +63 -0
  111. package/models/energy-cost-month-setting-excel-dto.ts +84 -0
  112. package/models/expense-subject-enum.ts +32 -0
  113. package/models/index.ts +21 -0
  114. package/models/invoice-type-enum.ts +32 -0
  115. package/models/json-result-energy-cost-import-redis-vo.ts +72 -0
  116. package/models/json-result-list-mdm-increment-vendor-bank-accounts-vo.ts +72 -0
  117. package/models/json-result-list-mdm-increment-vendors-vo.ts +72 -0
  118. package/models/json-result-page-dto-reimbursement-bill-list-vo.ts +72 -0
  119. package/models/json-result-reimbursement-bill-details-vo.ts +72 -0
  120. package/models/mdm-increment-vendor-bank-accounts-vo.ts +78 -0
  121. package/models/mdm-increment-vendors-vo.ts +96 -0
  122. package/models/page-dto-reimbursement-bill-list-vo.ts +39 -0
  123. package/models/payment-method-enum.ts +33 -0
  124. package/models/reimbursement-bill-details-vo.ts +259 -0
  125. package/models/reimbursement-bill-draft-dto.ts +205 -0
  126. package/models/reimbursement-bill-handle-info-add-dto.ts +42 -0
  127. package/models/reimbursement-bill-handle-info-vo.ts +54 -0
  128. package/models/reimbursement-bill-list-vo.ts +158 -0
  129. package/models/reimbursement-bill-search-dto.ts +80 -0
  130. package/models/reimbursement-bill-submit-dto.ts +205 -0
  131. package/models/reimbursement-status-enum.ts +33 -0
  132. package/ossutil.log +1095 -1092
  133. package/package.json +1 -1
@@ -0,0 +1,482 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * ReimbursementBillApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const ReimbursementBillApiAxiosParamCreator = function (configuration) {
34
+ return {
35
+ /**
36
+ * 删除报账单信息
37
+ * @summary 删除报账单
38
+ * @param {number} id
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ reimbursementBillDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
43
+ // verify required parameter 'id' is not null or undefined
44
+ assertParamExists('reimbursementBillDelete', 'id', id);
45
+ const localVarPath = `/gizone/reimbursement-bill/{id}`
46
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
47
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
+ let baseOptions;
50
+ if (configuration) {
51
+ baseOptions = configuration.baseOptions;
52
+ }
53
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
54
+ const localVarHeaderParameter = {};
55
+ const localVarQueryParameter = {};
56
+ // authentication tokenScheme required
57
+ // http bearer authentication required
58
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ return {
63
+ url: toPathString(localVarUrlObj),
64
+ options: localVarRequestOptions,
65
+ };
66
+ }),
67
+ /**
68
+ * 获取指定ID的报账单详情
69
+ * @summary 获取报账单详情
70
+ * @param {number} id
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ reimbursementBillDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
75
+ // verify required parameter 'id' is not null or undefined
76
+ assertParamExists('reimbursementBillDetails', 'id', id);
77
+ const localVarPath = `/gizone/reimbursement-bill/{id}`
78
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
79
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
+ let baseOptions;
82
+ if (configuration) {
83
+ baseOptions = configuration.baseOptions;
84
+ }
85
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
86
+ const localVarHeaderParameter = {};
87
+ const localVarQueryParameter = {};
88
+ // authentication tokenScheme required
89
+ // http bearer authentication required
90
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
91
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94
+ return {
95
+ url: toPathString(localVarUrlObj),
96
+ options: localVarRequestOptions,
97
+ };
98
+ }),
99
+ /**
100
+ * 保存或更新报账单草稿,允许部分字段为空
101
+ * @summary 编辑报账单草稿
102
+ * @param {ReimbursementBillDraftDto} reimbursementBillDraftDto
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ reimbursementBillSaveDraft: (reimbursementBillDraftDto_1, ...args_1) => __awaiter(this, [reimbursementBillDraftDto_1, ...args_1], void 0, function* (reimbursementBillDraftDto, options = {}) {
107
+ // verify required parameter 'reimbursementBillDraftDto' is not null or undefined
108
+ assertParamExists('reimbursementBillSaveDraft', 'reimbursementBillDraftDto', reimbursementBillDraftDto);
109
+ const localVarPath = `/gizone/reimbursement-bill/draft`;
110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
111
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
112
+ let baseOptions;
113
+ if (configuration) {
114
+ baseOptions = configuration.baseOptions;
115
+ }
116
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
117
+ const localVarHeaderParameter = {};
118
+ const localVarQueryParameter = {};
119
+ // authentication tokenScheme required
120
+ // http bearer authentication required
121
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
122
+ localVarHeaderParameter['Content-Type'] = 'application/json';
123
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
124
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
125
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
126
+ localVarRequestOptions.data = serializeDataIfNeeded(reimbursementBillDraftDto, localVarRequestOptions, configuration);
127
+ return {
128
+ url: toPathString(localVarUrlObj),
129
+ options: localVarRequestOptions,
130
+ };
131
+ }),
132
+ /**
133
+ * 查询报账单列表
134
+ * @summary 查询报账单列表
135
+ * @param {ReimbursementBillSearchDto} dto
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ reimbursementBillSelectList: (dto_1, ...args_1) => __awaiter(this, [dto_1, ...args_1], void 0, function* (dto, options = {}) {
140
+ // verify required parameter 'dto' is not null or undefined
141
+ assertParamExists('reimbursementBillSelectList', 'dto', dto);
142
+ const localVarPath = `/gizone/reimbursement-bill`;
143
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
144
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
145
+ let baseOptions;
146
+ if (configuration) {
147
+ baseOptions = configuration.baseOptions;
148
+ }
149
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
150
+ const localVarHeaderParameter = {};
151
+ const localVarQueryParameter = {};
152
+ // authentication tokenScheme required
153
+ // http bearer authentication required
154
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
155
+ if (dto !== undefined) {
156
+ for (const [key, value] of Object.entries(dto)) {
157
+ localVarQueryParameter[key] = value;
158
+ }
159
+ }
160
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
161
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
162
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
163
+ return {
164
+ url: toPathString(localVarUrlObj),
165
+ options: localVarRequestOptions,
166
+ };
167
+ }),
168
+ /**
169
+ * 提交报账单
170
+ * @summary 提交报账单
171
+ * @param {ReimbursementBillSubmitDto} reimbursementBillSubmitDto
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ reimbursementBillSubmit: (reimbursementBillSubmitDto_1, ...args_1) => __awaiter(this, [reimbursementBillSubmitDto_1, ...args_1], void 0, function* (reimbursementBillSubmitDto, options = {}) {
176
+ // verify required parameter 'reimbursementBillSubmitDto' is not null or undefined
177
+ assertParamExists('reimbursementBillSubmit', 'reimbursementBillSubmitDto', reimbursementBillSubmitDto);
178
+ const localVarPath = `/gizone/reimbursement-bill/submit`;
179
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
180
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
181
+ let baseOptions;
182
+ if (configuration) {
183
+ baseOptions = configuration.baseOptions;
184
+ }
185
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
186
+ const localVarHeaderParameter = {};
187
+ const localVarQueryParameter = {};
188
+ // authentication tokenScheme required
189
+ // http bearer authentication required
190
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
191
+ localVarHeaderParameter['Content-Type'] = 'application/json';
192
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
193
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
194
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
195
+ localVarRequestOptions.data = serializeDataIfNeeded(reimbursementBillSubmitDto, localVarRequestOptions, configuration);
196
+ return {
197
+ url: toPathString(localVarUrlObj),
198
+ options: localVarRequestOptions,
199
+ };
200
+ }),
201
+ /**
202
+ * 撤回报账单,账单不是已完成状态都可以撤回,撤回后变草稿状态
203
+ * @summary 撤回报账单
204
+ * @param {number} id
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ reimbursementBillWithdraw: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
209
+ // verify required parameter 'id' is not null or undefined
210
+ assertParamExists('reimbursementBillWithdraw', 'id', id);
211
+ const localVarPath = `/gizone/reimbursement-bill/{id}/withdraw`
212
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
213
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
214
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
215
+ let baseOptions;
216
+ if (configuration) {
217
+ baseOptions = configuration.baseOptions;
218
+ }
219
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
220
+ const localVarHeaderParameter = {};
221
+ const localVarQueryParameter = {};
222
+ // authentication tokenScheme required
223
+ // http bearer authentication required
224
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
225
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
227
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
228
+ return {
229
+ url: toPathString(localVarUrlObj),
230
+ options: localVarRequestOptions,
231
+ };
232
+ }),
233
+ };
234
+ };
235
+ /**
236
+ * ReimbursementBillApi - functional programming interface
237
+ * @export
238
+ */
239
+ export const ReimbursementBillApiFp = function (configuration) {
240
+ const localVarAxiosParamCreator = ReimbursementBillApiAxiosParamCreator(configuration);
241
+ return {
242
+ /**
243
+ * 删除报账单信息
244
+ * @summary 删除报账单
245
+ * @param {number} id
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ reimbursementBillDelete(id, options) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ var _a, _b, _c;
252
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillDelete(id, options);
253
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
254
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
255
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
256
+ });
257
+ },
258
+ /**
259
+ * 获取指定ID的报账单详情
260
+ * @summary 获取报账单详情
261
+ * @param {number} id
262
+ * @param {*} [options] Override http request option.
263
+ * @throws {RequiredError}
264
+ */
265
+ reimbursementBillDetails(id, options) {
266
+ return __awaiter(this, void 0, void 0, function* () {
267
+ var _a, _b, _c;
268
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillDetails(id, options);
269
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
270
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
271
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
272
+ });
273
+ },
274
+ /**
275
+ * 保存或更新报账单草稿,允许部分字段为空
276
+ * @summary 编辑报账单草稿
277
+ * @param {ReimbursementBillDraftDto} reimbursementBillDraftDto
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ reimbursementBillSaveDraft(reimbursementBillDraftDto, options) {
282
+ return __awaiter(this, void 0, void 0, function* () {
283
+ var _a, _b, _c;
284
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSaveDraft(reimbursementBillDraftDto, options);
285
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
286
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillSaveDraft']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
287
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
288
+ });
289
+ },
290
+ /**
291
+ * 查询报账单列表
292
+ * @summary 查询报账单列表
293
+ * @param {ReimbursementBillSearchDto} dto
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ reimbursementBillSelectList(dto, options) {
298
+ return __awaiter(this, void 0, void 0, function* () {
299
+ var _a, _b, _c;
300
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSelectList(dto, options);
301
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
302
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
303
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
304
+ });
305
+ },
306
+ /**
307
+ * 提交报账单
308
+ * @summary 提交报账单
309
+ * @param {ReimbursementBillSubmitDto} reimbursementBillSubmitDto
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ */
313
+ reimbursementBillSubmit(reimbursementBillSubmitDto, options) {
314
+ return __awaiter(this, void 0, void 0, function* () {
315
+ var _a, _b, _c;
316
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSubmit(reimbursementBillSubmitDto, options);
317
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
318
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
319
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
320
+ });
321
+ },
322
+ /**
323
+ * 撤回报账单,账单不是已完成状态都可以撤回,撤回后变草稿状态
324
+ * @summary 撤回报账单
325
+ * @param {number} id
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ reimbursementBillWithdraw(id, options) {
330
+ return __awaiter(this, void 0, void 0, function* () {
331
+ var _a, _b, _c;
332
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillWithdraw(id, options);
333
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
334
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillWithdraw']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
335
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
336
+ });
337
+ },
338
+ };
339
+ };
340
+ /**
341
+ * ReimbursementBillApi - factory interface
342
+ * @export
343
+ */
344
+ export const ReimbursementBillApiFactory = function (configuration, basePath, axios) {
345
+ const localVarFp = ReimbursementBillApiFp(configuration);
346
+ return {
347
+ /**
348
+ * 删除报账单信息
349
+ * @summary 删除报账单
350
+ * @param {ReimbursementBillApiReimbursementBillDeleteRequest} requestParameters Request parameters.
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ */
354
+ reimbursementBillDelete(requestParameters, options) {
355
+ return localVarFp.reimbursementBillDelete(requestParameters.id, options).then((request) => request(axios, basePath));
356
+ },
357
+ /**
358
+ * 获取指定ID的报账单详情
359
+ * @summary 获取报账单详情
360
+ * @param {ReimbursementBillApiReimbursementBillDetailsRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ reimbursementBillDetails(requestParameters, options) {
365
+ return localVarFp.reimbursementBillDetails(requestParameters.id, options).then((request) => request(axios, basePath));
366
+ },
367
+ /**
368
+ * 保存或更新报账单草稿,允许部分字段为空
369
+ * @summary 编辑报账单草稿
370
+ * @param {ReimbursementBillApiReimbursementBillSaveDraftRequest} requestParameters Request parameters.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ reimbursementBillSaveDraft(requestParameters, options) {
375
+ return localVarFp.reimbursementBillSaveDraft(requestParameters.reimbursementBillDraftDto, options).then((request) => request(axios, basePath));
376
+ },
377
+ /**
378
+ * 查询报账单列表
379
+ * @summary 查询报账单列表
380
+ * @param {ReimbursementBillApiReimbursementBillSelectListRequest} requestParameters Request parameters.
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ reimbursementBillSelectList(requestParameters, options) {
385
+ return localVarFp.reimbursementBillSelectList(requestParameters.dto, options).then((request) => request(axios, basePath));
386
+ },
387
+ /**
388
+ * 提交报账单
389
+ * @summary 提交报账单
390
+ * @param {ReimbursementBillApiReimbursementBillSubmitRequest} requestParameters Request parameters.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ reimbursementBillSubmit(requestParameters, options) {
395
+ return localVarFp.reimbursementBillSubmit(requestParameters.reimbursementBillSubmitDto, options).then((request) => request(axios, basePath));
396
+ },
397
+ /**
398
+ * 撤回报账单,账单不是已完成状态都可以撤回,撤回后变草稿状态
399
+ * @summary 撤回报账单
400
+ * @param {ReimbursementBillApiReimbursementBillWithdrawRequest} requestParameters Request parameters.
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ reimbursementBillWithdraw(requestParameters, options) {
405
+ return localVarFp.reimbursementBillWithdraw(requestParameters.id, options).then((request) => request(axios, basePath));
406
+ },
407
+ };
408
+ };
409
+ /**
410
+ * ReimbursementBillApi - object-oriented interface
411
+ * @export
412
+ * @class ReimbursementBillApi
413
+ * @extends {BaseAPI}
414
+ */
415
+ export class ReimbursementBillApi extends BaseAPI {
416
+ /**
417
+ * 删除报账单信息
418
+ * @summary 删除报账单
419
+ * @param {ReimbursementBillApiReimbursementBillDeleteRequest} requestParameters Request parameters.
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ * @memberof ReimbursementBillApi
423
+ */
424
+ reimbursementBillDelete(requestParameters, options) {
425
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
426
+ }
427
+ /**
428
+ * 获取指定ID的报账单详情
429
+ * @summary 获取报账单详情
430
+ * @param {ReimbursementBillApiReimbursementBillDetailsRequest} requestParameters Request parameters.
431
+ * @param {*} [options] Override http request option.
432
+ * @throws {RequiredError}
433
+ * @memberof ReimbursementBillApi
434
+ */
435
+ reimbursementBillDetails(requestParameters, options) {
436
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
437
+ }
438
+ /**
439
+ * 保存或更新报账单草稿,允许部分字段为空
440
+ * @summary 编辑报账单草稿
441
+ * @param {ReimbursementBillApiReimbursementBillSaveDraftRequest} requestParameters Request parameters.
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ * @memberof ReimbursementBillApi
445
+ */
446
+ reimbursementBillSaveDraft(requestParameters, options) {
447
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillSaveDraft(requestParameters.reimbursementBillDraftDto, options).then((request) => request(this.axios, this.basePath));
448
+ }
449
+ /**
450
+ * 查询报账单列表
451
+ * @summary 查询报账单列表
452
+ * @param {ReimbursementBillApiReimbursementBillSelectListRequest} requestParameters Request parameters.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ * @memberof ReimbursementBillApi
456
+ */
457
+ reimbursementBillSelectList(requestParameters, options) {
458
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillSelectList(requestParameters.dto, options).then((request) => request(this.axios, this.basePath));
459
+ }
460
+ /**
461
+ * 提交报账单
462
+ * @summary 提交报账单
463
+ * @param {ReimbursementBillApiReimbursementBillSubmitRequest} requestParameters Request parameters.
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ * @memberof ReimbursementBillApi
467
+ */
468
+ reimbursementBillSubmit(requestParameters, options) {
469
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillSubmit(requestParameters.reimbursementBillSubmitDto, options).then((request) => request(this.axios, this.basePath));
470
+ }
471
+ /**
472
+ * 撤回报账单,账单不是已完成状态都可以撤回,撤回后变草稿状态
473
+ * @summary 撤回报账单
474
+ * @param {ReimbursementBillApiReimbursementBillWithdrawRequest} requestParameters Request parameters.
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ * @memberof ReimbursementBillApi
478
+ */
479
+ reimbursementBillWithdraw(requestParameters, options) {
480
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillWithdraw(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
481
+ }
482
+ }
@@ -0,0 +1,55 @@
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 { EnergyCostMonthSettingExcelDTO } from './energy-cost-month-setting-excel-dto';
13
+ /**
14
+ * 返回数据,可以是任意类型的值
15
+ * @export
16
+ * @interface EnergyCostImportRedisVo
17
+ */
18
+ export interface EnergyCostImportRedisVo {
19
+ /**
20
+ *
21
+ * @type {Array<EnergyCostMonthSettingExcelDTO>}
22
+ * @memberof EnergyCostImportRedisVo
23
+ */
24
+ 'successList'?: Array<EnergyCostMonthSettingExcelDTO>;
25
+ /**
26
+ *
27
+ * @type {Array<EnergyCostMonthSettingExcelDTO>}
28
+ * @memberof EnergyCostImportRedisVo
29
+ */
30
+ 'errorList'?: Array<EnergyCostMonthSettingExcelDTO>;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof EnergyCostImportRedisVo
35
+ */
36
+ 'total'?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof EnergyCostImportRedisVo
41
+ */
42
+ 'successNum'?: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof EnergyCostImportRedisVo
47
+ */
48
+ 'errorNum'?: number;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof EnergyCostImportRedisVo
53
+ */
54
+ 'parkId'?: number;
55
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,78 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface EnergyCostMonthSettingExcelDTO
16
+ */
17
+ export interface EnergyCostMonthSettingExcelDTO {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EnergyCostMonthSettingExcelDTO
22
+ */
23
+ 'parkCode'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof EnergyCostMonthSettingExcelDTO
28
+ */
29
+ 'parkName'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof EnergyCostMonthSettingExcelDTO
34
+ */
35
+ 'energyType'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof EnergyCostMonthSettingExcelDTO
40
+ */
41
+ 'usageScenariosType'?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof EnergyCostMonthSettingExcelDTO
46
+ */
47
+ 'standardValue'?: number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof EnergyCostMonthSettingExcelDTO
52
+ */
53
+ 'yearMonths'?: string;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof EnergyCostMonthSettingExcelDTO
58
+ */
59
+ 'success'?: boolean;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof EnergyCostMonthSettingExcelDTO
64
+ */
65
+ 'tips'?: string;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof EnergyCostMonthSettingExcelDTO
70
+ */
71
+ 'counts'?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof EnergyCostMonthSettingExcelDTO
76
+ */
77
+ 'parkId'?: number;
78
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,22 @@
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
+ /**
13
+ * 费用科目
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ExpenseSubjectEnum: {
18
+ readonly RepairSafety: "REPAIR_SAFETY";
19
+ readonly PropertyManagement: "PROPERTY_MANAGEMENT";
20
+ readonly EnergyPower: "ENERGY_POWER";
21
+ };
22
+ export type ExpenseSubjectEnum = typeof ExpenseSubjectEnum[keyof typeof ExpenseSubjectEnum];