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