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