@gizone/rrs-client 4.2.9-alpha.658 → 4.2.9-alpha.660

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 (43) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/apis/reimbursement-bill-api.ts +296 -20
  3. package/dist/apis/reimbursement-bill-api.d.ts +169 -10
  4. package/dist/apis/reimbursement-bill-api.js +158 -15
  5. package/dist/esm/apis/reimbursement-bill-api.d.ts +169 -10
  6. package/dist/esm/apis/reimbursement-bill-api.js +158 -15
  7. package/dist/esm/models/index.d.ts +0 -1
  8. package/dist/esm/models/index.js +0 -1
  9. package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
  10. package/dist/esm/models/payment-method-enum.d.ts +1 -2
  11. package/dist/esm/models/payment-method-enum.js +2 -3
  12. package/dist/esm/models/reimbursement-bill-details-vo.d.ts +12 -0
  13. package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +12 -0
  14. package/dist/esm/models/reimbursement-bill-list-vo.d.ts +12 -0
  15. package/dist/esm/models/reimbursement-bill-submit-dto.d.ts +12 -0
  16. package/dist/esm/models/reimbursement-status-enum.d.ts +5 -3
  17. package/dist/esm/models/reimbursement-status-enum.js +6 -4
  18. package/dist/models/index.d.ts +0 -1
  19. package/dist/models/index.js +0 -1
  20. package/dist/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
  21. package/dist/models/payment-method-enum.d.ts +1 -2
  22. package/dist/models/payment-method-enum.js +2 -3
  23. package/dist/models/reimbursement-bill-details-vo.d.ts +12 -0
  24. package/dist/models/reimbursement-bill-draft-dto.d.ts +12 -0
  25. package/dist/models/reimbursement-bill-list-vo.d.ts +12 -0
  26. package/dist/models/reimbursement-bill-submit-dto.d.ts +12 -0
  27. package/dist/models/reimbursement-status-enum.d.ts +5 -3
  28. package/dist/models/reimbursement-status-enum.js +6 -4
  29. package/models/index.ts +0 -1
  30. package/models/ipage-energy-cost-record-info-vo.ts +6 -6
  31. package/models/payment-method-enum.ts +2 -3
  32. package/models/reimbursement-bill-details-vo.ts +12 -0
  33. package/models/reimbursement-bill-draft-dto.ts +12 -0
  34. package/models/reimbursement-bill-list-vo.ts +12 -0
  35. package/models/reimbursement-bill-submit-dto.ts +12 -0
  36. package/models/reimbursement-status-enum.ts +6 -4
  37. package/ossutil.log +1191 -1185
  38. package/package.json +1 -1
  39. package/dist/esm/models/reimbursement-bill-search-dto.d.ts +0 -68
  40. package/dist/esm/models/reimbursement-bill-search-dto.js +0 -14
  41. package/dist/models/reimbursement-bill-search-dto.d.ts +0 -68
  42. package/dist/models/reimbursement-bill-search-dto.js +0 -15
  43. package/models/reimbursement-bill-search-dto.ts +0 -78
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { BudgetBalanceQueryDto } from '../models';
16
+ import type { ExpenseSubjectEnum } from '../models';
16
17
  import type { JsonResultBoolean } from '../models';
17
18
  import type { JsonResultCzyBudgetBalanceVo } from '../models';
18
19
  import type { JsonResultCzySystemOrganizationMemberDetailVo } from '../models';
@@ -25,8 +26,8 @@ import type { JsonResultListReimbursementBillProcessRecordListVo } from '../mode
25
26
  import type { JsonResultPageDtoReimbursementBillListVo } from '../models';
26
27
  import type { JsonResultReimbursementBillDetailsVo } from '../models';
27
28
  import type { ReimbursementBillDraftDto } from '../models';
28
- import type { ReimbursementBillSearchDto } from '../models';
29
29
  import type { ReimbursementBillSubmitDto } from '../models';
30
+ import type { ReimbursementStatusEnum } from '../models';
30
31
  /**
31
32
  * ReimbursementBillApi - axios parameter creator
32
33
  * @export
@@ -48,6 +49,20 @@ export declare const ReimbursementBillApiAxiosParamCreator: (configuration?: Con
48
49
  * @throws {RequiredError}
49
50
  */
50
51
  reimbursementBillDetails: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ *
54
+ * @summary 报账单导出
55
+ * @param {number} [parkId] 园区ID
56
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
57
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
58
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
59
+ * @param {string} [searchValue] 关键词
60
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
61
+ * @param {number} [isDraft] 是否导出草稿 0:否 1:是 默认0
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ reimbursementBillExport: (parkId?: number, billCreateTimeStart?: string, billCreateTimeEnd?: string, expenseSubjects?: Array<ExpenseSubjectEnum>, searchValue?: string, reimbursementStatuses?: Array<ReimbursementStatusEnum>, isDraft?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
66
  /**
52
67
  *
53
68
  * @summary 查询报账单流转列表
@@ -67,11 +82,19 @@ export declare const ReimbursementBillApiAxiosParamCreator: (configuration?: Con
67
82
  /**
68
83
  * 查询报账单列表
69
84
  * @summary 查询报账单列表
70
- * @param {ReimbursementBillSearchDto} dto
85
+ * @param {number} [parkId] 园区ID
86
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
87
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
88
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
89
+ * @param {number} [page] 当前页
90
+ * @param {number} [pageSize] 每页条数
91
+ * @param {string} [searchValue] 关键词
92
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
93
+ * @param {string} [scenarioAllocated] 是否已进行场景分摊
71
94
  * @param {*} [options] Override http request option.
72
95
  * @throws {RequiredError}
73
96
  */
74
- reimbursementBillSelectList: (dto: ReimbursementBillSearchDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
97
+ reimbursementBillSelectList: (parkId?: number, billCreateTimeStart?: string, billCreateTimeEnd?: string, expenseSubjects?: Array<ExpenseSubjectEnum>, page?: number, pageSize?: number, searchValue?: string, reimbursementStatuses?: Array<ReimbursementStatusEnum>, scenarioAllocated?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
75
98
  /**
76
99
  * 提交报账单
77
100
  * @summary 提交报账单
@@ -158,6 +181,20 @@ export declare const ReimbursementBillApiFp: (configuration?: Configuration) =>
158
181
  * @throws {RequiredError}
159
182
  */
160
183
  reimbursementBillDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultReimbursementBillDetailsVo>>;
184
+ /**
185
+ *
186
+ * @summary 报账单导出
187
+ * @param {number} [parkId] 园区ID
188
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
189
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
190
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
191
+ * @param {string} [searchValue] 关键词
192
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
193
+ * @param {number} [isDraft] 是否导出草稿 0:否 1:是 默认0
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ reimbursementBillExport(parkId?: number, billCreateTimeStart?: string, billCreateTimeEnd?: string, expenseSubjects?: Array<ExpenseSubjectEnum>, searchValue?: string, reimbursementStatuses?: Array<ReimbursementStatusEnum>, isDraft?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
161
198
  /**
162
199
  *
163
200
  * @summary 查询报账单流转列表
@@ -177,11 +214,19 @@ export declare const ReimbursementBillApiFp: (configuration?: Configuration) =>
177
214
  /**
178
215
  * 查询报账单列表
179
216
  * @summary 查询报账单列表
180
- * @param {ReimbursementBillSearchDto} dto
217
+ * @param {number} [parkId] 园区ID
218
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
219
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
220
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
221
+ * @param {number} [page] 当前页
222
+ * @param {number} [pageSize] 每页条数
223
+ * @param {string} [searchValue] 关键词
224
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
225
+ * @param {string} [scenarioAllocated] 是否已进行场景分摊
181
226
  * @param {*} [options] Override http request option.
182
227
  * @throws {RequiredError}
183
228
  */
184
- reimbursementBillSelectList(dto: ReimbursementBillSearchDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoReimbursementBillListVo>>;
229
+ reimbursementBillSelectList(parkId?: number, billCreateTimeStart?: string, billCreateTimeEnd?: string, expenseSubjects?: Array<ExpenseSubjectEnum>, page?: number, pageSize?: number, searchValue?: string, reimbursementStatuses?: Array<ReimbursementStatusEnum>, scenarioAllocated?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoReimbursementBillListVo>>;
185
230
  /**
186
231
  * 提交报账单
187
232
  * @summary 提交报账单
@@ -268,6 +313,14 @@ export declare const ReimbursementBillApiFactory: (configuration?: Configuration
268
313
  * @throws {RequiredError}
269
314
  */
270
315
  reimbursementBillDetails(requestParameters: ReimbursementBillApiReimbursementBillDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultReimbursementBillDetailsVo>;
316
+ /**
317
+ *
318
+ * @summary 报账单导出
319
+ * @param {ReimbursementBillApiReimbursementBillExportRequest} requestParameters Request parameters.
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ reimbursementBillExport(requestParameters?: ReimbursementBillApiReimbursementBillExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
271
324
  /**
272
325
  *
273
326
  * @summary 查询报账单流转列表
@@ -291,7 +344,7 @@ export declare const ReimbursementBillApiFactory: (configuration?: Configuration
291
344
  * @param {*} [options] Override http request option.
292
345
  * @throws {RequiredError}
293
346
  */
294
- reimbursementBillSelectList(requestParameters: ReimbursementBillApiReimbursementBillSelectListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoReimbursementBillListVo>;
347
+ reimbursementBillSelectList(requestParameters?: ReimbursementBillApiReimbursementBillSelectListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoReimbursementBillListVo>;
295
348
  /**
296
349
  * 提交报账单
297
350
  * @summary 提交报账单
@@ -381,6 +434,55 @@ export interface ReimbursementBillApiReimbursementBillDetailsRequest {
381
434
  */
382
435
  readonly id: number;
383
436
  }
437
+ /**
438
+ * Request parameters for reimbursementBillExport operation in ReimbursementBillApi.
439
+ * @export
440
+ * @interface ReimbursementBillApiReimbursementBillExportRequest
441
+ */
442
+ export interface ReimbursementBillApiReimbursementBillExportRequest {
443
+ /**
444
+ * 园区ID
445
+ * @type {number}
446
+ * @memberof ReimbursementBillApiReimbursementBillExport
447
+ */
448
+ readonly parkId?: number;
449
+ /**
450
+ * 报账单生成时间(开始)
451
+ * @type {string}
452
+ * @memberof ReimbursementBillApiReimbursementBillExport
453
+ */
454
+ readonly billCreateTimeStart?: string;
455
+ /**
456
+ * 报账单生成时间(结束)
457
+ * @type {string}
458
+ * @memberof ReimbursementBillApiReimbursementBillExport
459
+ */
460
+ readonly billCreateTimeEnd?: string;
461
+ /**
462
+ * 费用科目
463
+ * @type {Array<ExpenseSubjectEnum>}
464
+ * @memberof ReimbursementBillApiReimbursementBillExport
465
+ */
466
+ readonly expenseSubjects?: Array<ExpenseSubjectEnum>;
467
+ /**
468
+ * 关键词
469
+ * @type {string}
470
+ * @memberof ReimbursementBillApiReimbursementBillExport
471
+ */
472
+ readonly searchValue?: string;
473
+ /**
474
+ * 账单状态
475
+ * @type {Array<ReimbursementStatusEnum>}
476
+ * @memberof ReimbursementBillApiReimbursementBillExport
477
+ */
478
+ readonly reimbursementStatuses?: Array<ReimbursementStatusEnum>;
479
+ /**
480
+ * 是否导出草稿 0:否 1:是 默认0
481
+ * @type {number}
482
+ * @memberof ReimbursementBillApiReimbursementBillExport
483
+ */
484
+ readonly isDraft?: number;
485
+ }
384
486
  /**
385
487
  * Request parameters for reimbursementBillProcessRecordList operation in ReimbursementBillApi.
386
488
  * @export
@@ -414,11 +516,59 @@ export interface ReimbursementBillApiReimbursementBillSaveDraftRequest {
414
516
  */
415
517
  export interface ReimbursementBillApiReimbursementBillSelectListRequest {
416
518
  /**
417
- *
418
- * @type {ReimbursementBillSearchDto}
519
+ * 园区ID
520
+ * @type {number}
521
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
522
+ */
523
+ readonly parkId?: number;
524
+ /**
525
+ * 报账单生成时间(开始)
526
+ * @type {string}
527
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
528
+ */
529
+ readonly billCreateTimeStart?: string;
530
+ /**
531
+ * 报账单生成时间(结束)
532
+ * @type {string}
533
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
534
+ */
535
+ readonly billCreateTimeEnd?: string;
536
+ /**
537
+ * 费用科目
538
+ * @type {Array<ExpenseSubjectEnum>}
539
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
540
+ */
541
+ readonly expenseSubjects?: Array<ExpenseSubjectEnum>;
542
+ /**
543
+ * 当前页
544
+ * @type {number}
545
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
546
+ */
547
+ readonly page?: number;
548
+ /**
549
+ * 每页条数
550
+ * @type {number}
551
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
552
+ */
553
+ readonly pageSize?: number;
554
+ /**
555
+ * 关键词
556
+ * @type {string}
419
557
  * @memberof ReimbursementBillApiReimbursementBillSelectList
420
558
  */
421
- readonly dto: ReimbursementBillSearchDto;
559
+ readonly searchValue?: string;
560
+ /**
561
+ * 账单状态
562
+ * @type {Array<ReimbursementStatusEnum>}
563
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
564
+ */
565
+ readonly reimbursementStatuses?: Array<ReimbursementStatusEnum>;
566
+ /**
567
+ * 是否已进行场景分摊
568
+ * @type {string}
569
+ * @memberof ReimbursementBillApiReimbursementBillSelectList
570
+ */
571
+ readonly scenarioAllocated?: string;
422
572
  }
423
573
  /**
424
574
  * Request parameters for reimbursementBillSubmit operation in ReimbursementBillApi.
@@ -535,6 +685,15 @@ export declare class ReimbursementBillApi extends BaseAPI {
535
685
  * @memberof ReimbursementBillApi
536
686
  */
537
687
  reimbursementBillDetails(requestParameters: ReimbursementBillApiReimbursementBillDetailsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultReimbursementBillDetailsVo, any, {}>>;
688
+ /**
689
+ *
690
+ * @summary 报账单导出
691
+ * @param {ReimbursementBillApiReimbursementBillExportRequest} requestParameters Request parameters.
692
+ * @param {*} [options] Override http request option.
693
+ * @throws {RequiredError}
694
+ * @memberof ReimbursementBillApi
695
+ */
696
+ reimbursementBillExport(requestParameters?: ReimbursementBillApiReimbursementBillExportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
538
697
  /**
539
698
  *
540
699
  * @summary 查询报账单流转列表
@@ -561,7 +720,7 @@ export declare class ReimbursementBillApi extends BaseAPI {
561
720
  * @throws {RequiredError}
562
721
  * @memberof ReimbursementBillApi
563
722
  */
564
- reimbursementBillSelectList(requestParameters: ReimbursementBillApiReimbursementBillSelectListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoReimbursementBillListVo, any, {}>>;
723
+ reimbursementBillSelectList(requestParameters?: ReimbursementBillApiReimbursementBillSelectListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoReimbursementBillListVo, any, {}>>;
565
724
  /**
566
725
  * 提交报账单
567
726
  * @summary 提交报账单
@@ -96,6 +96,66 @@ export const ReimbursementBillApiAxiosParamCreator = function (configuration) {
96
96
  options: localVarRequestOptions,
97
97
  };
98
98
  }),
99
+ /**
100
+ *
101
+ * @summary 报账单导出
102
+ * @param {number} [parkId] 园区ID
103
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
104
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
105
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
106
+ * @param {string} [searchValue] 关键词
107
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
108
+ * @param {number} [isDraft] 是否导出草稿 0:否 1:是 默认0
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ reimbursementBillExport: (parkId_1, billCreateTimeStart_1, billCreateTimeEnd_1, expenseSubjects_1, searchValue_1, reimbursementStatuses_1, isDraft_1, ...args_1) => __awaiter(this, [parkId_1, billCreateTimeStart_1, billCreateTimeEnd_1, expenseSubjects_1, searchValue_1, reimbursementStatuses_1, isDraft_1, ...args_1], void 0, function* (parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, searchValue, reimbursementStatuses, isDraft, options = {}) {
113
+ const localVarPath = `/gizone/reimbursement-bill/export`;
114
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
115
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
116
+ let baseOptions;
117
+ if (configuration) {
118
+ baseOptions = configuration.baseOptions;
119
+ }
120
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
121
+ const localVarHeaderParameter = {};
122
+ const localVarQueryParameter = {};
123
+ // authentication tokenScheme required
124
+ // http bearer authentication required
125
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
126
+ if (parkId !== undefined) {
127
+ localVarQueryParameter['parkId'] = parkId;
128
+ }
129
+ if (billCreateTimeStart !== undefined) {
130
+ localVarQueryParameter['billCreateTimeStart'] = (billCreateTimeStart instanceof Date) ?
131
+ billCreateTimeStart.toISOString() :
132
+ billCreateTimeStart;
133
+ }
134
+ if (billCreateTimeEnd !== undefined) {
135
+ localVarQueryParameter['billCreateTimeEnd'] = (billCreateTimeEnd instanceof Date) ?
136
+ billCreateTimeEnd.toISOString() :
137
+ billCreateTimeEnd;
138
+ }
139
+ if (expenseSubjects) {
140
+ localVarQueryParameter['expenseSubjects'] = expenseSubjects;
141
+ }
142
+ if (searchValue !== undefined) {
143
+ localVarQueryParameter['searchValue'] = searchValue;
144
+ }
145
+ if (reimbursementStatuses) {
146
+ localVarQueryParameter['reimbursementStatuses'] = reimbursementStatuses;
147
+ }
148
+ if (isDraft !== undefined) {
149
+ localVarQueryParameter['isDraft'] = isDraft;
150
+ }
151
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
152
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
154
+ return {
155
+ url: toPathString(localVarUrlObj),
156
+ options: localVarRequestOptions,
157
+ };
158
+ }),
99
159
  /**
100
160
  *
101
161
  * @summary 查询报账单流转列表
@@ -164,13 +224,19 @@ export const ReimbursementBillApiAxiosParamCreator = function (configuration) {
164
224
  /**
165
225
  * 查询报账单列表
166
226
  * @summary 查询报账单列表
167
- * @param {ReimbursementBillSearchDto} dto
227
+ * @param {number} [parkId] 园区ID
228
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
229
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
230
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
231
+ * @param {number} [page] 当前页
232
+ * @param {number} [pageSize] 每页条数
233
+ * @param {string} [searchValue] 关键词
234
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
235
+ * @param {string} [scenarioAllocated] 是否已进行场景分摊
168
236
  * @param {*} [options] Override http request option.
169
237
  * @throws {RequiredError}
170
238
  */
171
- reimbursementBillSelectList: (dto_1, ...args_1) => __awaiter(this, [dto_1, ...args_1], void 0, function* (dto, options = {}) {
172
- // verify required parameter 'dto' is not null or undefined
173
- assertParamExists('reimbursementBillSelectList', 'dto', dto);
239
+ reimbursementBillSelectList: (parkId_1, billCreateTimeStart_1, billCreateTimeEnd_1, expenseSubjects_1, page_1, pageSize_1, searchValue_1, reimbursementStatuses_1, scenarioAllocated_1, ...args_1) => __awaiter(this, [parkId_1, billCreateTimeStart_1, billCreateTimeEnd_1, expenseSubjects_1, page_1, pageSize_1, searchValue_1, reimbursementStatuses_1, scenarioAllocated_1, ...args_1], void 0, function* (parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, page, pageSize, searchValue, reimbursementStatuses, scenarioAllocated, options = {}) {
174
240
  const localVarPath = `/gizone/reimbursement-bill`;
175
241
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
176
242
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -184,10 +250,36 @@ export const ReimbursementBillApiAxiosParamCreator = function (configuration) {
184
250
  // authentication tokenScheme required
185
251
  // http bearer authentication required
186
252
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
187
- if (dto !== undefined) {
188
- for (const [key, value] of Object.entries(dto)) {
189
- localVarQueryParameter[key] = value;
190
- }
253
+ if (parkId !== undefined) {
254
+ localVarQueryParameter['parkId'] = parkId;
255
+ }
256
+ if (billCreateTimeStart !== undefined) {
257
+ localVarQueryParameter['billCreateTimeStart'] = (billCreateTimeStart instanceof Date) ?
258
+ billCreateTimeStart.toISOString() :
259
+ billCreateTimeStart;
260
+ }
261
+ if (billCreateTimeEnd !== undefined) {
262
+ localVarQueryParameter['billCreateTimeEnd'] = (billCreateTimeEnd instanceof Date) ?
263
+ billCreateTimeEnd.toISOString() :
264
+ billCreateTimeEnd;
265
+ }
266
+ if (expenseSubjects) {
267
+ localVarQueryParameter['expenseSubjects'] = expenseSubjects;
268
+ }
269
+ if (page !== undefined) {
270
+ localVarQueryParameter['page'] = page;
271
+ }
272
+ if (pageSize !== undefined) {
273
+ localVarQueryParameter['pageSize'] = pageSize;
274
+ }
275
+ if (searchValue !== undefined) {
276
+ localVarQueryParameter['searchValue'] = searchValue;
277
+ }
278
+ if (reimbursementStatuses) {
279
+ localVarQueryParameter['reimbursementStatuses'] = reimbursementStatuses;
280
+ }
281
+ if (scenarioAllocated !== undefined) {
282
+ localVarQueryParameter['scenarioAllocated'] = scenarioAllocated;
191
283
  }
192
284
  setSearchParams(localVarUrlObj, localVarQueryParameter);
193
285
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -502,6 +594,28 @@ export const ReimbursementBillApiFp = function (configuration) {
502
594
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
503
595
  });
504
596
  },
597
+ /**
598
+ *
599
+ * @summary 报账单导出
600
+ * @param {number} [parkId] 园区ID
601
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
602
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
603
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
604
+ * @param {string} [searchValue] 关键词
605
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
606
+ * @param {number} [isDraft] 是否导出草稿 0:否 1:是 默认0
607
+ * @param {*} [options] Override http request option.
608
+ * @throws {RequiredError}
609
+ */
610
+ reimbursementBillExport(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, searchValue, reimbursementStatuses, isDraft, options) {
611
+ return __awaiter(this, void 0, void 0, function* () {
612
+ var _a, _b, _c;
613
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillExport(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, searchValue, reimbursementStatuses, isDraft, options);
614
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
615
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
616
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
617
+ });
618
+ },
505
619
  /**
506
620
  *
507
621
  * @summary 查询报账单流转列表
@@ -537,14 +651,22 @@ export const ReimbursementBillApiFp = function (configuration) {
537
651
  /**
538
652
  * 查询报账单列表
539
653
  * @summary 查询报账单列表
540
- * @param {ReimbursementBillSearchDto} dto
654
+ * @param {number} [parkId] 园区ID
655
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
656
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
657
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
658
+ * @param {number} [page] 当前页
659
+ * @param {number} [pageSize] 每页条数
660
+ * @param {string} [searchValue] 关键词
661
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
662
+ * @param {string} [scenarioAllocated] 是否已进行场景分摊
541
663
  * @param {*} [options] Override http request option.
542
664
  * @throws {RequiredError}
543
665
  */
544
- reimbursementBillSelectList(dto, options) {
666
+ reimbursementBillSelectList(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, page, pageSize, searchValue, reimbursementStatuses, scenarioAllocated, options) {
545
667
  return __awaiter(this, void 0, void 0, function* () {
546
668
  var _a, _b, _c;
547
- const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSelectList(dto, options);
669
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSelectList(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, page, pageSize, searchValue, reimbursementStatuses, scenarioAllocated, options);
548
670
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
549
671
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReimbursementBillApi.reimbursementBillSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
550
672
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -707,6 +829,16 @@ export const ReimbursementBillApiFactory = function (configuration, basePath, ax
707
829
  reimbursementBillDetails(requestParameters, options) {
708
830
  return localVarFp.reimbursementBillDetails(requestParameters.id, options).then((request) => request(axios, basePath));
709
831
  },
832
+ /**
833
+ *
834
+ * @summary 报账单导出
835
+ * @param {ReimbursementBillApiReimbursementBillExportRequest} requestParameters Request parameters.
836
+ * @param {*} [options] Override http request option.
837
+ * @throws {RequiredError}
838
+ */
839
+ reimbursementBillExport(requestParameters = {}, options) {
840
+ return localVarFp.reimbursementBillExport(requestParameters.parkId, requestParameters.billCreateTimeStart, requestParameters.billCreateTimeEnd, requestParameters.expenseSubjects, requestParameters.searchValue, requestParameters.reimbursementStatuses, requestParameters.isDraft, options).then((request) => request(axios, basePath));
841
+ },
710
842
  /**
711
843
  *
712
844
  * @summary 查询报账单流转列表
@@ -734,8 +866,8 @@ export const ReimbursementBillApiFactory = function (configuration, basePath, ax
734
866
  * @param {*} [options] Override http request option.
735
867
  * @throws {RequiredError}
736
868
  */
737
- reimbursementBillSelectList(requestParameters, options) {
738
- return localVarFp.reimbursementBillSelectList(requestParameters.dto, options).then((request) => request(axios, basePath));
869
+ reimbursementBillSelectList(requestParameters = {}, options) {
870
+ return localVarFp.reimbursementBillSelectList(requestParameters.parkId, requestParameters.billCreateTimeStart, requestParameters.billCreateTimeEnd, requestParameters.expenseSubjects, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.reimbursementStatuses, requestParameters.scenarioAllocated, options).then((request) => request(axios, basePath));
739
871
  },
740
872
  /**
741
873
  * 提交报账单
@@ -846,6 +978,17 @@ export class ReimbursementBillApi extends BaseAPI {
846
978
  reimbursementBillDetails(requestParameters, options) {
847
979
  return ReimbursementBillApiFp(this.configuration).reimbursementBillDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
848
980
  }
981
+ /**
982
+ *
983
+ * @summary 报账单导出
984
+ * @param {ReimbursementBillApiReimbursementBillExportRequest} requestParameters Request parameters.
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ * @memberof ReimbursementBillApi
988
+ */
989
+ reimbursementBillExport(requestParameters = {}, options) {
990
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillExport(requestParameters.parkId, requestParameters.billCreateTimeStart, requestParameters.billCreateTimeEnd, requestParameters.expenseSubjects, requestParameters.searchValue, requestParameters.reimbursementStatuses, requestParameters.isDraft, options).then((request) => request(this.axios, this.basePath));
991
+ }
849
992
  /**
850
993
  *
851
994
  * @summary 查询报账单流转列表
@@ -876,8 +1019,8 @@ export class ReimbursementBillApi extends BaseAPI {
876
1019
  * @throws {RequiredError}
877
1020
  * @memberof ReimbursementBillApi
878
1021
  */
879
- reimbursementBillSelectList(requestParameters, options) {
880
- return ReimbursementBillApiFp(this.configuration).reimbursementBillSelectList(requestParameters.dto, options).then((request) => request(this.axios, this.basePath));
1022
+ reimbursementBillSelectList(requestParameters = {}, options) {
1023
+ return ReimbursementBillApiFp(this.configuration).reimbursementBillSelectList(requestParameters.parkId, requestParameters.billCreateTimeStart, requestParameters.billCreateTimeEnd, requestParameters.expenseSubjects, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.reimbursementStatuses, requestParameters.scenarioAllocated, options).then((request) => request(this.axios, this.basePath));
881
1024
  }
882
1025
  /**
883
1026
  * 提交报账单
@@ -485,7 +485,6 @@ export * from './reimbursement-bill-list-vo';
485
485
  export * from './reimbursement-bill-payer-vo';
486
486
  export * from './reimbursement-bill-process-record-list-vo';
487
487
  export * from './reimbursement-bill-process-type-enum';
488
- export * from './reimbursement-bill-search-dto';
489
488
  export * from './reimbursement-bill-submit-dto';
490
489
  export * from './reimbursement-create-result-dto';
491
490
  export * from './reimbursement-platform-status-dto';
@@ -485,7 +485,6 @@ export * from './reimbursement-bill-list-vo';
485
485
  export * from './reimbursement-bill-payer-vo';
486
486
  export * from './reimbursement-bill-process-record-list-vo';
487
487
  export * from './reimbursement-bill-process-type-enum';
488
- export * from './reimbursement-bill-search-dto';
489
488
  export * from './reimbursement-bill-submit-dto';
490
489
  export * from './reimbursement-create-result-dto';
491
490
  export * from './reimbursement-platform-status-dto';
@@ -22,12 +22,6 @@ export interface IPageEnergyCostRecordInfoVO {
22
22
  * @memberof IPageEnergyCostRecordInfoVO
23
23
  */
24
24
  'total'?: number;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof IPageEnergyCostRecordInfoVO
29
- */
30
- 'pages'?: number;
31
25
  /**
32
26
  *
33
27
  * @type {number}
@@ -46,6 +40,12 @@ export interface IPageEnergyCostRecordInfoVO {
46
40
  * @memberof IPageEnergyCostRecordInfoVO
47
41
  */
48
42
  'searchCount'?: boolean;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof IPageEnergyCostRecordInfoVO
47
+ */
48
+ 'pages'?: number;
49
49
  /**
50
50
  *
51
51
  * @type {boolean}
@@ -16,8 +16,7 @@
16
16
  */
17
17
  export declare const PaymentMethodEnum: {
18
18
  readonly OnlinePayment: "ONLINE_PAYMENT";
19
- readonly BankWithholding: "BANK_WITHHOLDING";
19
+ readonly DirectDeduction: "DIRECT_DEDUCTION";
20
20
  readonly RecordOnly: "RECORD_ONLY";
21
- readonly OfflineBank: "OFFLINE_BANK";
22
21
  };
23
22
  export type PaymentMethodEnum = typeof PaymentMethodEnum[keyof typeof PaymentMethodEnum];
@@ -18,7 +18,6 @@
18
18
  */
19
19
  export const PaymentMethodEnum = {
20
20
  OnlinePayment: 'ONLINE_PAYMENT',
21
- BankWithholding: 'BANK_WITHHOLDING',
22
- RecordOnly: 'RECORD_ONLY',
23
- OfflineBank: 'OFFLINE_BANK'
21
+ DirectDeduction: 'DIRECT_DEDUCTION',
22
+ RecordOnly: 'RECORD_ONLY'
24
23
  };
@@ -92,6 +92,12 @@ export interface ReimbursementBillDetailsVo {
92
92
  * @memberof ReimbursementBillDetailsVo
93
93
  */
94
94
  'paymentMethod'?: PaymentMethodEnum;
95
+ /**
96
+ * 付款类型
97
+ * @type {number}
98
+ * @memberof ReimbursementBillDetailsVo
99
+ */
100
+ 'payType'?: number;
95
101
  /**
96
102
  * 付款日期
97
103
  * @type {string}
@@ -134,6 +140,12 @@ export interface ReimbursementBillDetailsVo {
134
140
  * @memberof ReimbursementBillDetailsVo
135
141
  */
136
142
  'invoiceType'?: InvoiceTypeEnum;
143
+ /**
144
+ * 是否有纸质发票
145
+ * @type {boolean}
146
+ * @memberof ReimbursementBillDetailsVo
147
+ */
148
+ 'hasPaperInvoice'?: boolean;
137
149
  /**
138
150
  * 是否有合同
139
151
  * @type {boolean}
@@ -85,6 +85,12 @@ export interface ReimbursementBillDraftDto {
85
85
  * @memberof ReimbursementBillDraftDto
86
86
  */
87
87
  'paymentMethod'?: PaymentMethodEnum;
88
+ /**
89
+ * 付款类型
90
+ * @type {number}
91
+ * @memberof ReimbursementBillDraftDto
92
+ */
93
+ 'payType'?: number;
88
94
  /**
89
95
  * 付款日期
90
96
  * @type {string}
@@ -133,6 +139,12 @@ export interface ReimbursementBillDraftDto {
133
139
  * @memberof ReimbursementBillDraftDto
134
140
  */
135
141
  'invoiceType'?: InvoiceTypeEnum;
142
+ /**
143
+ * 是否有纸质发票
144
+ * @type {boolean}
145
+ * @memberof ReimbursementBillDraftDto
146
+ */
147
+ 'hasPaperInvoice'?: boolean;
136
148
  /**
137
149
  * 是否有合同
138
150
  * @type {boolean}
@@ -103,6 +103,12 @@ export interface ReimbursementBillListVo {
103
103
  * @memberof ReimbursementBillListVo
104
104
  */
105
105
  'paymentMethod'?: PaymentMethodEnum;
106
+ /**
107
+ * 付款类型
108
+ * @type {number}
109
+ * @memberof ReimbursementBillListVo
110
+ */
111
+ 'payType'?: number;
106
112
  /**
107
113
  * 付款方(编码)
108
114
  * @type {string}
@@ -115,6 +121,12 @@ export interface ReimbursementBillListVo {
115
121
  * @memberof ReimbursementBillListVo
116
122
  */
117
123
  'invoiceType'?: InvoiceTypeEnum;
124
+ /**
125
+ * 是否有纸质发票
126
+ * @type {boolean}
127
+ * @memberof ReimbursementBillListVo
128
+ */
129
+ 'hasPaperInvoice'?: boolean;
118
130
  /**
119
131
  * 付款日期
120
132
  * @type {string}