@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 提交报账单
@@ -99,6 +99,66 @@ const ReimbursementBillApiAxiosParamCreator = function (configuration) {
99
99
  options: localVarRequestOptions,
100
100
  };
101
101
  }),
102
+ /**
103
+ *
104
+ * @summary 报账单导出
105
+ * @param {number} [parkId] 园区ID
106
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
107
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
108
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
109
+ * @param {string} [searchValue] 关键词
110
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
111
+ * @param {number} [isDraft] 是否导出草稿 0:否 1:是 默认0
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ 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 = {}) {
116
+ const localVarPath = `/gizone/reimbursement-bill/export`;
117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
118
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ let baseOptions;
120
+ if (configuration) {
121
+ baseOptions = configuration.baseOptions;
122
+ }
123
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
124
+ const localVarHeaderParameter = {};
125
+ const localVarQueryParameter = {};
126
+ // authentication tokenScheme required
127
+ // http bearer authentication required
128
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
129
+ if (parkId !== undefined) {
130
+ localVarQueryParameter['parkId'] = parkId;
131
+ }
132
+ if (billCreateTimeStart !== undefined) {
133
+ localVarQueryParameter['billCreateTimeStart'] = (billCreateTimeStart instanceof Date) ?
134
+ billCreateTimeStart.toISOString() :
135
+ billCreateTimeStart;
136
+ }
137
+ if (billCreateTimeEnd !== undefined) {
138
+ localVarQueryParameter['billCreateTimeEnd'] = (billCreateTimeEnd instanceof Date) ?
139
+ billCreateTimeEnd.toISOString() :
140
+ billCreateTimeEnd;
141
+ }
142
+ if (expenseSubjects) {
143
+ localVarQueryParameter['expenseSubjects'] = expenseSubjects;
144
+ }
145
+ if (searchValue !== undefined) {
146
+ localVarQueryParameter['searchValue'] = searchValue;
147
+ }
148
+ if (reimbursementStatuses) {
149
+ localVarQueryParameter['reimbursementStatuses'] = reimbursementStatuses;
150
+ }
151
+ if (isDraft !== undefined) {
152
+ localVarQueryParameter['isDraft'] = isDraft;
153
+ }
154
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
155
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
156
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
157
+ return {
158
+ url: (0, common_1.toPathString)(localVarUrlObj),
159
+ options: localVarRequestOptions,
160
+ };
161
+ }),
102
162
  /**
103
163
  *
104
164
  * @summary 查询报账单流转列表
@@ -167,13 +227,19 @@ const ReimbursementBillApiAxiosParamCreator = function (configuration) {
167
227
  /**
168
228
  * 查询报账单列表
169
229
  * @summary 查询报账单列表
170
- * @param {ReimbursementBillSearchDto} dto
230
+ * @param {number} [parkId] 园区ID
231
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
232
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
233
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
234
+ * @param {number} [page] 当前页
235
+ * @param {number} [pageSize] 每页条数
236
+ * @param {string} [searchValue] 关键词
237
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
238
+ * @param {string} [scenarioAllocated] 是否已进行场景分摊
171
239
  * @param {*} [options] Override http request option.
172
240
  * @throws {RequiredError}
173
241
  */
174
- reimbursementBillSelectList: (dto_1, ...args_1) => __awaiter(this, [dto_1, ...args_1], void 0, function* (dto, options = {}) {
175
- // verify required parameter 'dto' is not null or undefined
176
- (0, common_1.assertParamExists)('reimbursementBillSelectList', 'dto', dto);
242
+ 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 = {}) {
177
243
  const localVarPath = `/gizone/reimbursement-bill`;
178
244
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
245
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -187,10 +253,36 @@ const ReimbursementBillApiAxiosParamCreator = function (configuration) {
187
253
  // authentication tokenScheme required
188
254
  // http bearer authentication required
189
255
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
190
- if (dto !== undefined) {
191
- for (const [key, value] of Object.entries(dto)) {
192
- localVarQueryParameter[key] = value;
193
- }
256
+ if (parkId !== undefined) {
257
+ localVarQueryParameter['parkId'] = parkId;
258
+ }
259
+ if (billCreateTimeStart !== undefined) {
260
+ localVarQueryParameter['billCreateTimeStart'] = (billCreateTimeStart instanceof Date) ?
261
+ billCreateTimeStart.toISOString() :
262
+ billCreateTimeStart;
263
+ }
264
+ if (billCreateTimeEnd !== undefined) {
265
+ localVarQueryParameter['billCreateTimeEnd'] = (billCreateTimeEnd instanceof Date) ?
266
+ billCreateTimeEnd.toISOString() :
267
+ billCreateTimeEnd;
268
+ }
269
+ if (expenseSubjects) {
270
+ localVarQueryParameter['expenseSubjects'] = expenseSubjects;
271
+ }
272
+ if (page !== undefined) {
273
+ localVarQueryParameter['page'] = page;
274
+ }
275
+ if (pageSize !== undefined) {
276
+ localVarQueryParameter['pageSize'] = pageSize;
277
+ }
278
+ if (searchValue !== undefined) {
279
+ localVarQueryParameter['searchValue'] = searchValue;
280
+ }
281
+ if (reimbursementStatuses) {
282
+ localVarQueryParameter['reimbursementStatuses'] = reimbursementStatuses;
283
+ }
284
+ if (scenarioAllocated !== undefined) {
285
+ localVarQueryParameter['scenarioAllocated'] = scenarioAllocated;
194
286
  }
195
287
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
196
288
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -506,6 +598,28 @@ const ReimbursementBillApiFp = function (configuration) {
506
598
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
507
599
  });
508
600
  },
601
+ /**
602
+ *
603
+ * @summary 报账单导出
604
+ * @param {number} [parkId] 园区ID
605
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
606
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
607
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
608
+ * @param {string} [searchValue] 关键词
609
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
610
+ * @param {number} [isDraft] 是否导出草稿 0:否 1:是 默认0
611
+ * @param {*} [options] Override http request option.
612
+ * @throws {RequiredError}
613
+ */
614
+ reimbursementBillExport(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, searchValue, reimbursementStatuses, isDraft, options) {
615
+ return __awaiter(this, void 0, void 0, function* () {
616
+ var _a, _b, _c;
617
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillExport(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, searchValue, reimbursementStatuses, isDraft, options);
618
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
619
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReimbursementBillApi.reimbursementBillExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
620
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
621
+ });
622
+ },
509
623
  /**
510
624
  *
511
625
  * @summary 查询报账单流转列表
@@ -541,14 +655,22 @@ const ReimbursementBillApiFp = function (configuration) {
541
655
  /**
542
656
  * 查询报账单列表
543
657
  * @summary 查询报账单列表
544
- * @param {ReimbursementBillSearchDto} dto
658
+ * @param {number} [parkId] 园区ID
659
+ * @param {string} [billCreateTimeStart] 报账单生成时间(开始)
660
+ * @param {string} [billCreateTimeEnd] 报账单生成时间(结束)
661
+ * @param {Array<ExpenseSubjectEnum>} [expenseSubjects] 费用科目
662
+ * @param {number} [page] 当前页
663
+ * @param {number} [pageSize] 每页条数
664
+ * @param {string} [searchValue] 关键词
665
+ * @param {Array<ReimbursementStatusEnum>} [reimbursementStatuses] 账单状态
666
+ * @param {string} [scenarioAllocated] 是否已进行场景分摊
545
667
  * @param {*} [options] Override http request option.
546
668
  * @throws {RequiredError}
547
669
  */
548
- reimbursementBillSelectList(dto, options) {
670
+ reimbursementBillSelectList(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, page, pageSize, searchValue, reimbursementStatuses, scenarioAllocated, options) {
549
671
  return __awaiter(this, void 0, void 0, function* () {
550
672
  var _a, _b, _c;
551
- const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSelectList(dto, options);
673
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimbursementBillSelectList(parkId, billCreateTimeStart, billCreateTimeEnd, expenseSubjects, page, pageSize, searchValue, reimbursementStatuses, scenarioAllocated, options);
552
674
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
553
675
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReimbursementBillApi.reimbursementBillSelectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
554
676
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -712,6 +834,16 @@ const ReimbursementBillApiFactory = function (configuration, basePath, axios) {
712
834
  reimbursementBillDetails(requestParameters, options) {
713
835
  return localVarFp.reimbursementBillDetails(requestParameters.id, options).then((request) => request(axios, basePath));
714
836
  },
837
+ /**
838
+ *
839
+ * @summary 报账单导出
840
+ * @param {ReimbursementBillApiReimbursementBillExportRequest} requestParameters Request parameters.
841
+ * @param {*} [options] Override http request option.
842
+ * @throws {RequiredError}
843
+ */
844
+ reimbursementBillExport(requestParameters = {}, options) {
845
+ return localVarFp.reimbursementBillExport(requestParameters.parkId, requestParameters.billCreateTimeStart, requestParameters.billCreateTimeEnd, requestParameters.expenseSubjects, requestParameters.searchValue, requestParameters.reimbursementStatuses, requestParameters.isDraft, options).then((request) => request(axios, basePath));
846
+ },
715
847
  /**
716
848
  *
717
849
  * @summary 查询报账单流转列表
@@ -739,8 +871,8 @@ const ReimbursementBillApiFactory = function (configuration, basePath, axios) {
739
871
  * @param {*} [options] Override http request option.
740
872
  * @throws {RequiredError}
741
873
  */
742
- reimbursementBillSelectList(requestParameters, options) {
743
- return localVarFp.reimbursementBillSelectList(requestParameters.dto, options).then((request) => request(axios, basePath));
874
+ reimbursementBillSelectList(requestParameters = {}, options) {
875
+ 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));
744
876
  },
745
877
  /**
746
878
  * 提交报账单
@@ -852,6 +984,17 @@ class ReimbursementBillApi extends base_1.BaseAPI {
852
984
  reimbursementBillDetails(requestParameters, options) {
853
985
  return (0, exports.ReimbursementBillApiFp)(this.configuration).reimbursementBillDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
854
986
  }
987
+ /**
988
+ *
989
+ * @summary 报账单导出
990
+ * @param {ReimbursementBillApiReimbursementBillExportRequest} requestParameters Request parameters.
991
+ * @param {*} [options] Override http request option.
992
+ * @throws {RequiredError}
993
+ * @memberof ReimbursementBillApi
994
+ */
995
+ reimbursementBillExport(requestParameters = {}, options) {
996
+ return (0, exports.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));
997
+ }
855
998
  /**
856
999
  *
857
1000
  * @summary 查询报账单流转列表
@@ -882,8 +1025,8 @@ class ReimbursementBillApi extends base_1.BaseAPI {
882
1025
  * @throws {RequiredError}
883
1026
  * @memberof ReimbursementBillApi
884
1027
  */
885
- reimbursementBillSelectList(requestParameters, options) {
886
- return (0, exports.ReimbursementBillApiFp)(this.configuration).reimbursementBillSelectList(requestParameters.dto, options).then((request) => request(this.axios, this.basePath));
1028
+ reimbursementBillSelectList(requestParameters = {}, options) {
1029
+ return (0, exports.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));
887
1030
  }
888
1031
  /**
889
1032
  * 提交报账单