Commit 9e85dc135610174f10f0e7b0628ec98f033ef4ff
1 parent
4fe51791
feat: 重新开票功能开发。
Showing
9 changed files
with
2167 additions
and
880 deletions
package-lock.json
... | ... | @@ -11,6 +11,8 @@ |
11 | 11 | "@ant-design/icons": "^5.3.0", |
12 | 12 | "@ant-design/pro-components": "^2.6.32", |
13 | 13 | "@inspir/assembly-css": "1.0.0-alpha", |
14 | + "@react-buddy/ide-toolbox": "^2.4.0", | |
15 | + "@react-buddy/palette-antd": "^5.3.0", | |
14 | 16 | "@umijs/max": "^4.0.87", |
15 | 17 | "antd": "^5.10.2", |
16 | 18 | "axios": "^1.6.1", |
... | ... | @@ -3978,6 +3980,27 @@ |
3978 | 3980 | "react-dom": ">=16.9.0" |
3979 | 3981 | } |
3980 | 3982 | }, |
3983 | + "node_modules/@react-buddy/ide-toolbox": { | |
3984 | + "version": "2.4.0", | |
3985 | + "resolved": "https://registry.npmjs.org/@react-buddy/ide-toolbox/-/ide-toolbox-2.4.0.tgz", | |
3986 | + "integrity": "sha512-TWHX6gwa0Gop7215uHhjFMbYLLdjM/b9rr0wYE3E0m7GNJ56gbPpbZiq86w9uI8zksl827acqGeT437MkuO64w==", | |
3987 | + "peerDependencies": { | |
3988 | + "react": "^17.0.0 || ^18.0.0" | |
3989 | + } | |
3990 | + }, | |
3991 | + "node_modules/@react-buddy/palette-antd": { | |
3992 | + "version": "5.3.1", | |
3993 | + "resolved": "https://registry.npmjs.org/@react-buddy/palette-antd/-/palette-antd-5.3.1.tgz", | |
3994 | + "integrity": "sha512-G75Pik29FnmyvANiGLSpMFpru4Uzv5woq/IFrkmfYmJb+5vW3lhc+Y/PftLqatSH9fjXs/UOszuSbPzlykT9cw==", | |
3995 | + "dependencies": { | |
3996 | + "@react-buddy/ide-toolbox": "^2.4.0" | |
3997 | + }, | |
3998 | + "peerDependencies": { | |
3999 | + "@ant-design/icons": "^5.1.4", | |
4000 | + "antd": "^5.3.0", | |
4001 | + "react": "^17.0.0 || ^18.0.0" | |
4002 | + } | |
4003 | + }, | |
3981 | 4004 | "node_modules/@sinclair/typebox": { |
3982 | 4005 | "version": "0.27.8", |
3983 | 4006 | "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", |
... | ... | @@ -28440,6 +28463,20 @@ |
28440 | 28463 | "rc-util": "^5.38.0" |
28441 | 28464 | } |
28442 | 28465 | }, |
28466 | + "@react-buddy/ide-toolbox": { | |
28467 | + "version": "2.4.0", | |
28468 | + "resolved": "https://registry.npmjs.org/@react-buddy/ide-toolbox/-/ide-toolbox-2.4.0.tgz", | |
28469 | + "integrity": "sha512-TWHX6gwa0Gop7215uHhjFMbYLLdjM/b9rr0wYE3E0m7GNJ56gbPpbZiq86w9uI8zksl827acqGeT437MkuO64w==", | |
28470 | + "requires": {} | |
28471 | + }, | |
28472 | + "@react-buddy/palette-antd": { | |
28473 | + "version": "5.3.1", | |
28474 | + "resolved": "https://registry.npmjs.org/@react-buddy/palette-antd/-/palette-antd-5.3.1.tgz", | |
28475 | + "integrity": "sha512-G75Pik29FnmyvANiGLSpMFpru4Uzv5woq/IFrkmfYmJb+5vW3lhc+Y/PftLqatSH9fjXs/UOszuSbPzlykT9cw==", | |
28476 | + "requires": { | |
28477 | + "@react-buddy/ide-toolbox": "^2.4.0" | |
28478 | + } | |
28479 | + }, | |
28443 | 28480 | "@sinclair/typebox": { |
28444 | 28481 | "version": "0.27.8", |
28445 | 28482 | "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", | ... | ... |
package.json
src/pages/Invoice/constant.tsx
... | ... | @@ -165,6 +165,7 @@ export const BANK_STATEMENT_COLUMNS = [ |
165 | 165 | title: '状态', |
166 | 166 | width: 80, |
167 | 167 | dataIndex: 'status', |
168 | + hideInTable: true, | |
168 | 169 | valueEnum: convertToObjectWithTextAndStatus(BANKSTATEMENT_STATUS), |
169 | 170 | }, |
170 | 171 | { |
... | ... | @@ -208,6 +209,7 @@ export const BANK_STATEMENT_COLUMNS = [ |
208 | 209 | title: '收款方', |
209 | 210 | width: 80, |
210 | 211 | dataIndex: 'payee', |
212 | + hideInTable: true, | |
211 | 213 | valueEnum: convertToObjectWithTextAndStatus(PAYEE_OPTIONS), |
212 | 214 | }, |
213 | 215 | { | ... | ... |
src/pages/Order/components/CheckModal.tsx
src/pages/Order/components/ReissueModal.tsx
0 → 100644
1 | +import { RESPONSE_CODE } from '@/constants/enum'; | |
2 | +import { | |
3 | + postServiceInvoiceFindInvoice, | |
4 | + postServiceInvoiceReissue, | |
5 | + postServiceOrderFindServiceOrder, | |
6 | +} from '@/services'; | |
7 | +import { | |
8 | + ModalForm, | |
9 | + ProFormSelect, | |
10 | + ProFormText, | |
11 | + ProFormTextArea, | |
12 | +} from '@ant-design/pro-components'; | |
13 | +import { Form } from 'antd'; | |
14 | +import { useEffect, useState } from 'react'; | |
15 | + | |
16 | +export default ({ setVisible, mainOrder, onClose }) => { | |
17 | + const [invoiceSelectList, setInvoiceSelectList] = useState([]); | |
18 | + const [mainOrders, setMainOrders] = useState(''); | |
19 | + const [submitting, setSubmitting] = useState(false); | |
20 | + | |
21 | + const [form] = Form.useForm<{ invoiceId: string; notes: string }>(); | |
22 | + | |
23 | + let getInvoiceSelectList = async () => { | |
24 | + console.log(mainOrder); | |
25 | + const res = await postServiceInvoiceFindInvoice({ | |
26 | + data: { | |
27 | + mainOrderId: mainOrder.id, | |
28 | + }, | |
29 | + }); | |
30 | + setInvoiceSelectList([]); | |
31 | + if (res && res.result === RESPONSE_CODE.SUCCESS) { | |
32 | + let temInvoiceSelectList = []; | |
33 | + res.data.forEach((item) => { | |
34 | + temInvoiceSelectList.push({ | |
35 | + label: item.id, | |
36 | + value: item.id, | |
37 | + }); | |
38 | + }); | |
39 | + setInvoiceSelectList(temInvoiceSelectList); | |
40 | + } | |
41 | + }; | |
42 | + useEffect(() => { | |
43 | + getInvoiceSelectList(); | |
44 | + }, []); | |
45 | + return ( | |
46 | + <ModalForm<{ | |
47 | + invoiceId: string; | |
48 | + notes: string; | |
49 | + }> | |
50 | + title="重新开票" | |
51 | + form={form} | |
52 | + width={500} | |
53 | + open | |
54 | + autoFocusFirstInput | |
55 | + initialValues={{}} | |
56 | + modalProps={{ | |
57 | + okText: '确认', | |
58 | + cancelText: '取消', | |
59 | + destroyOnClose: true, | |
60 | + onCancel: () => { | |
61 | + setVisible(false); | |
62 | + }, | |
63 | + }} | |
64 | + submitting={submitting} | |
65 | + onFinish={async (values) => { | |
66 | + setSubmitting(true); | |
67 | + postServiceInvoiceReissue({ | |
68 | + data: { | |
69 | + invoiceId: values.invoiceId, | |
70 | + notes: values.notes, | |
71 | + }, | |
72 | + }); | |
73 | + setVisible(false); | |
74 | + onClose(); | |
75 | + }} | |
76 | + submitTimeout={2000} | |
77 | + > | |
78 | + <ProFormSelect | |
79 | + width="lg" | |
80 | + name="invoiceId" | |
81 | + label="选择要重新开的发票" | |
82 | + options={invoiceSelectList} | |
83 | + onChange={async (value) => { | |
84 | + console.log(value); | |
85 | + let result = await postServiceOrderFindServiceOrder({ | |
86 | + data: { | |
87 | + invoiceId: value, | |
88 | + }, | |
89 | + }); | |
90 | + if (result && result.result === RESPONSE_CODE.SUCCESS) { | |
91 | + //对data里面每个元素的id用,进行拼接 | |
92 | + let map = result.data.map((item) => item.id); | |
93 | + let str = map.join(','); | |
94 | + setMainOrders(str); | |
95 | + } | |
96 | + }} | |
97 | + /> | |
98 | + <ProFormText | |
99 | + width="md" | |
100 | + name="关联订单" | |
101 | + label="发票关联订单号" | |
102 | + readonly={true} | |
103 | + value={mainOrders} | |
104 | + /> | |
105 | + <ProFormTextArea | |
106 | + width="lg" | |
107 | + name="notes" | |
108 | + placeholder="请填写订单重新开票的原因" | |
109 | + /> | |
110 | + </ModalForm> | |
111 | + ); | |
112 | +}; | ... | ... |
src/pages/Order/constant.ts
... | ... | @@ -104,6 +104,7 @@ export const CHECK_TYPE = { |
104 | 104 | MODIFY_LEADER_AUDIT: 'MODIFY_LEADER_AUDIT', |
105 | 105 | URGENT_INVOICE_AUDITING: 'URGENT_INVOICE_AUDITING', |
106 | 106 | PAYMENT_RECEIPTS_AUDIT: 'PAYMENT_RECEIPTS_AUDIT', |
107 | + CONFIRM_REISSUE: 'CONFIRM_REISSUE', | |
107 | 108 | }; |
108 | 109 | |
109 | 110 | /** |
... | ... | @@ -112,7 +113,11 @@ export const CHECK_TYPE = { |
112 | 113 | */ |
113 | 114 | export const getNeedInvoicing = (subOrder: any) => { |
114 | 115 | if (subOrder.invoicingTime !== null && subOrder.invoicingTime !== undefined) { |
115 | - return '已开票'; | |
116 | + if (subOrder.afterInvoicingStatus === 'REISSUE') { | |
117 | + return '重新开票'; | |
118 | + } else { | |
119 | + return '已开票'; | |
120 | + } | |
116 | 121 | } |
117 | 122 | if (subOrder.invoicingStatus === 'UN_INVOICE') { |
118 | 123 | return '不需开票'; | ... | ... |
src/pages/Order/index.tsx
1 | 1 | import ButtonConfirm from '@/components/ButtomConfirm'; |
2 | 2 | import { RESPONSE_CODE } from '@/constants/enum'; |
3 | +import ReissueModal from '@/pages/Order/components/ReissueModal'; | |
3 | 4 | import { |
4 | 5 | postKingdeeRepSalBillOutbound, |
5 | 6 | postKingdeeRepSalOrderSave, |
... | ... | @@ -139,6 +140,7 @@ const OrderPage = () => { |
139 | 140 | const [isSendProduct, setIsSendProduct] = useState<boolean>(false); |
140 | 141 | const [isMainOrder, setIsMainOrder] = useState<boolean>(false); |
141 | 142 | const [importModalVisible, setImportModalVisible] = useState<boolean>(false); |
143 | + const [reissueVisible, setReissueVisible] = useState<boolean>(false); | |
142 | 144 | const [applyForInvoicingVisible, setApplyForInvoicingVisible] = |
143 | 145 | useState<boolean>(false); |
144 | 146 | const [procureCheckModalVisible, setProcureCheckModalVisible] = |
... | ... | @@ -199,6 +201,7 @@ const OrderPage = () => { |
199 | 201 | }; |
200 | 202 | |
201 | 203 | const refreshTable = () => { |
204 | + console.log('刷新表格'); | |
202 | 205 | mainTableRef.current?.reload(); |
203 | 206 | //刷新表格数据的时候,取消选中行 |
204 | 207 | setSelectedRows([]); |
... | ... | @@ -1337,6 +1340,40 @@ const OrderPage = () => { |
1337 | 1340 | ) : ( |
1338 | 1341 | '' |
1339 | 1342 | )} |
1343 | + {optRecord.subPath?.includes('reissue') ? ( | |
1344 | + /*optRecord.afterInvoicingStatus==='PARTIAL_INVOICING'|| | |
1345 | + optRecord.afterInvoicingStatus==='COMPLETE_INVOICING'*/ | |
1346 | + <Button | |
1347 | + className="p-0" | |
1348 | + type="link" | |
1349 | + onClick={() => { | |
1350 | + setCurrentMainId(record.id); | |
1351 | + setReissueVisible(true); | |
1352 | + console.log(reissueVisible); | |
1353 | + }} | |
1354 | + > | |
1355 | + 重新开票 | |
1356 | + </Button> | |
1357 | + ) : ( | |
1358 | + '' | |
1359 | + )} | |
1360 | + | |
1361 | + {optRecord.subPath?.includes('confirmReissue') ? ( | |
1362 | + <Button | |
1363 | + className="p-0" | |
1364 | + type="link" | |
1365 | + onClick={() => { | |
1366 | + setCurrentMainId(record.id); | |
1367 | + setCurretnOptSubId(optRecord.id); | |
1368 | + setCheckVisible(true); | |
1369 | + setOrderCheckType(CHECK_TYPE.CONFIRM_REISSUE); | |
1370 | + }} | |
1371 | + > | |
1372 | + 重新开票审核 | |
1373 | + </Button> | |
1374 | + ) : ( | |
1375 | + '' | |
1376 | + )} | |
1340 | 1377 | |
1341 | 1378 | {optRecord.subPath?.includes('leaderAudit') ? ( |
1342 | 1379 | <Button |
... | ... | @@ -2543,6 +2580,40 @@ const OrderPage = () => { |
2543 | 2580 | '' |
2544 | 2581 | )} |
2545 | 2582 | |
2583 | + {record.mainPath?.includes('reissue') ? ( | |
2584 | + /*optRecord.afterInvoicingStatus==='PARTIAL_INVOICING'|| | |
2585 | + optRecord.afterInvoicingStatus==='COMPLETE_INVOICING'*/ | |
2586 | + <Button | |
2587 | + className="p-0" | |
2588 | + type="link" | |
2589 | + onClick={() => { | |
2590 | + setCurrentMainId(record.id); | |
2591 | + setReissueVisible(true); | |
2592 | + console.log(reissueVisible); | |
2593 | + }} | |
2594 | + > | |
2595 | + 重新开票 | |
2596 | + </Button> | |
2597 | + ) : ( | |
2598 | + '' | |
2599 | + )} | |
2600 | + | |
2601 | + {record.mainPath?.includes('confirmReissue') ? ( | |
2602 | + <Button | |
2603 | + className="p-0" | |
2604 | + type="link" | |
2605 | + onClick={() => { | |
2606 | + setCurrentMainId(record.id); | |
2607 | + setCurretnOptSubId(null); | |
2608 | + setCheckVisible(true); | |
2609 | + setOrderCheckType(CHECK_TYPE.CONFIRM_REISSUE); | |
2610 | + }} | |
2611 | + > | |
2612 | + 重新开票审核 | |
2613 | + </Button> | |
2614 | + ) : ( | |
2615 | + '' | |
2616 | + )} | |
2546 | 2617 | {record.mainPath?.includes('postAudit') ? ( |
2547 | 2618 | <Button |
2548 | 2619 | className="p-0" |
... | ... | @@ -4435,7 +4506,24 @@ const OrderPage = () => { |
4435 | 4506 | }} |
4436 | 4507 | /> |
4437 | 4508 | )} |
4438 | - | |
4509 | + {reissueVisible && ( | |
4510 | + <ReissueModal | |
4511 | + setVisible={(val: boolean) => { | |
4512 | + setReissueVisible(val); | |
4513 | + console.log(reissueVisible); | |
4514 | + if (!val) { | |
4515 | + clearOptObject(); | |
4516 | + } | |
4517 | + }} | |
4518 | + mainOrder={buildMainOrder()} | |
4519 | + subOrders={buildSubOrders()} | |
4520 | + onClose={() => { | |
4521 | + setReissueVisible(false); | |
4522 | + clearOptObject(); | |
4523 | + refreshTable(); | |
4524 | + }} | |
4525 | + /> | |
4526 | + )} | |
4439 | 4527 | {productionTimeModalVisible && ( |
4440 | 4528 | <ProductionTimeModal |
4441 | 4529 | setVisible={(val: boolean) => { | ... | ... |
src/services/definition.ts
... | ... | @@ -3,74 +3,74 @@ |
3 | 3 | /** Do not modify manually. |
4 | 4 | content is generated automatically by `ts-gear`. */ |
5 | 5 | export type ModelAndViewStatus = |
6 | - | "100 CONTINUE" | |
7 | - | "101 SWITCHING_PROTOCOLS" | |
8 | - | "102 PROCESSING" | |
9 | - | "103 CHECKPOINT" | |
10 | - | "200 OK" | |
11 | - | "201 CREATED" | |
12 | - | "202 ACCEPTED" | |
13 | - | "203 NON_AUTHORITATIVE_INFORMATION" | |
14 | - | "204 NO_CONTENT" | |
15 | - | "205 RESET_CONTENT" | |
16 | - | "206 PARTIAL_CONTENT" | |
17 | - | "207 MULTI_STATUS" | |
18 | - | "208 ALREADY_REPORTED" | |
19 | - | "226 IM_USED" | |
20 | - | "300 MULTIPLE_CHOICES" | |
21 | - | "301 MOVED_PERMANENTLY" | |
22 | - | "302 FOUND" | |
23 | - | "302 MOVED_TEMPORARILY" | |
24 | - | "303 SEE_OTHER" | |
25 | - | "304 NOT_MODIFIED" | |
26 | - | "305 USE_PROXY" | |
27 | - | "307 TEMPORARY_REDIRECT" | |
28 | - | "308 PERMANENT_REDIRECT" | |
29 | - | "400 BAD_REQUEST" | |
30 | - | "401 UNAUTHORIZED" | |
31 | - | "402 PAYMENT_REQUIRED" | |
32 | - | "403 FORBIDDEN" | |
33 | - | "404 NOT_FOUND" | |
34 | - | "405 METHOD_NOT_ALLOWED" | |
35 | - | "406 NOT_ACCEPTABLE" | |
36 | - | "407 PROXY_AUTHENTICATION_REQUIRED" | |
37 | - | "408 REQUEST_TIMEOUT" | |
38 | - | "409 CONFLICT" | |
39 | - | "410 GONE" | |
40 | - | "411 LENGTH_REQUIRED" | |
41 | - | "412 PRECONDITION_FAILED" | |
42 | - | "413 PAYLOAD_TOO_LARGE" | |
43 | - | "413 REQUEST_ENTITY_TOO_LARGE" | |
44 | - | "414 URI_TOO_LONG" | |
45 | - | "414 REQUEST_URI_TOO_LONG" | |
46 | - | "415 UNSUPPORTED_MEDIA_TYPE" | |
47 | - | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | |
48 | - | "417 EXPECTATION_FAILED" | |
49 | - | "418 I_AM_A_TEAPOT" | |
50 | - | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | |
51 | - | "420 METHOD_FAILURE" | |
52 | - | "421 DESTINATION_LOCKED" | |
53 | - | "422 UNPROCESSABLE_ENTITY" | |
54 | - | "423 LOCKED" | |
55 | - | "424 FAILED_DEPENDENCY" | |
56 | - | "425 TOO_EARLY" | |
57 | - | "426 UPGRADE_REQUIRED" | |
58 | - | "428 PRECONDITION_REQUIRED" | |
59 | - | "429 TOO_MANY_REQUESTS" | |
60 | - | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | |
61 | - | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | |
62 | - | "500 INTERNAL_SERVER_ERROR" | |
63 | - | "501 NOT_IMPLEMENTED" | |
64 | - | "502 BAD_GATEWAY" | |
65 | - | "503 SERVICE_UNAVAILABLE" | |
66 | - | "504 GATEWAY_TIMEOUT" | |
67 | - | "505 HTTP_VERSION_NOT_SUPPORTED" | |
68 | - | "506 VARIANT_ALSO_NEGOTIATES" | |
69 | - | "507 INSUFFICIENT_STORAGE" | |
70 | - | "508 LOOP_DETECTED" | |
71 | - | "509 BANDWIDTH_LIMIT_EXCEEDED" | |
72 | - | "510 NOT_EXTENDED" | |
73 | - | "511 NETWORK_AUTHENTICATION_REQUIRED"; | |
6 | + | '100 CONTINUE' | |
7 | + | '101 SWITCHING_PROTOCOLS' | |
8 | + | '102 PROCESSING' | |
9 | + | '103 CHECKPOINT' | |
10 | + | '200 OK' | |
11 | + | '201 CREATED' | |
12 | + | '202 ACCEPTED' | |
13 | + | '203 NON_AUTHORITATIVE_INFORMATION' | |
14 | + | '204 NO_CONTENT' | |
15 | + | '205 RESET_CONTENT' | |
16 | + | '206 PARTIAL_CONTENT' | |
17 | + | '207 MULTI_STATUS' | |
18 | + | '208 ALREADY_REPORTED' | |
19 | + | '226 IM_USED' | |
20 | + | '300 MULTIPLE_CHOICES' | |
21 | + | '301 MOVED_PERMANENTLY' | |
22 | + | '302 FOUND' | |
23 | + | '302 MOVED_TEMPORARILY' | |
24 | + | '303 SEE_OTHER' | |
25 | + | '304 NOT_MODIFIED' | |
26 | + | '305 USE_PROXY' | |
27 | + | '307 TEMPORARY_REDIRECT' | |
28 | + | '308 PERMANENT_REDIRECT' | |
29 | + | '400 BAD_REQUEST' | |
30 | + | '401 UNAUTHORIZED' | |
31 | + | '402 PAYMENT_REQUIRED' | |
32 | + | '403 FORBIDDEN' | |
33 | + | '404 NOT_FOUND' | |
34 | + | '405 METHOD_NOT_ALLOWED' | |
35 | + | '406 NOT_ACCEPTABLE' | |
36 | + | '407 PROXY_AUTHENTICATION_REQUIRED' | |
37 | + | '408 REQUEST_TIMEOUT' | |
38 | + | '409 CONFLICT' | |
39 | + | '410 GONE' | |
40 | + | '411 LENGTH_REQUIRED' | |
41 | + | '412 PRECONDITION_FAILED' | |
42 | + | '413 PAYLOAD_TOO_LARGE' | |
43 | + | '413 REQUEST_ENTITY_TOO_LARGE' | |
44 | + | '414 URI_TOO_LONG' | |
45 | + | '414 REQUEST_URI_TOO_LONG' | |
46 | + | '415 UNSUPPORTED_MEDIA_TYPE' | |
47 | + | '416 REQUESTED_RANGE_NOT_SATISFIABLE' | |
48 | + | '417 EXPECTATION_FAILED' | |
49 | + | '418 I_AM_A_TEAPOT' | |
50 | + | '419 INSUFFICIENT_SPACE_ON_RESOURCE' | |
51 | + | '420 METHOD_FAILURE' | |
52 | + | '421 DESTINATION_LOCKED' | |
53 | + | '422 UNPROCESSABLE_ENTITY' | |
54 | + | '423 LOCKED' | |
55 | + | '424 FAILED_DEPENDENCY' | |
56 | + | '425 TOO_EARLY' | |
57 | + | '426 UPGRADE_REQUIRED' | |
58 | + | '428 PRECONDITION_REQUIRED' | |
59 | + | '429 TOO_MANY_REQUESTS' | |
60 | + | '431 REQUEST_HEADER_FIELDS_TOO_LARGE' | |
61 | + | '451 UNAVAILABLE_FOR_LEGAL_REASONS' | |
62 | + | '500 INTERNAL_SERVER_ERROR' | |
63 | + | '501 NOT_IMPLEMENTED' | |
64 | + | '502 BAD_GATEWAY' | |
65 | + | '503 SERVICE_UNAVAILABLE' | |
66 | + | '504 GATEWAY_TIMEOUT' | |
67 | + | '505 HTTP_VERSION_NOT_SUPPORTED' | |
68 | + | '506 VARIANT_ALSO_NEGOTIATES' | |
69 | + | '507 INSUFFICIENT_STORAGE' | |
70 | + | '508 LOOP_DETECTED' | |
71 | + | '509 BANDWIDTH_LIMIT_EXCEEDED' | |
72 | + | '510 NOT_EXTENDED' | |
73 | + | '511 NETWORK_AUTHENTICATION_REQUIRED'; | |
74 | 74 | export interface AdminAuthRoleVO { |
75 | 75 | menuIds?: Array<number>; |
76 | 76 | /** @format int64 */ |
... | ... | @@ -347,6 +347,125 @@ export interface ApiApplyAfterSalesRequest { |
347 | 347 | uid?: number; |
348 | 348 | } |
349 | 349 | |
350 | +export interface ApiCreateOrderRequest { | |
351 | + /** | |
352 | + * @description | |
353 | + * 收货人联系方式 | |
354 | + */ | |
355 | + customerContactNumber?: string; | |
356 | + /** | |
357 | + * @description | |
358 | + * 收货人 | |
359 | + */ | |
360 | + customerName?: string; | |
361 | + /** | |
362 | + * @description | |
363 | + * 收货地址 | |
364 | + */ | |
365 | + customerShippingAddress?: string; | |
366 | + /** | |
367 | + * @description | |
368 | + * 商品列表 | |
369 | + */ | |
370 | + list?: Array<ApiCreateProductRequest>; | |
371 | + /** | |
372 | + * @description | |
373 | + * 备注 | |
374 | + */ | |
375 | + notes?: string; | |
376 | + /** | |
377 | + * @description | |
378 | + * 支付渠道 | |
379 | + */ | |
380 | + paymentChannel?: string; | |
381 | + /** | |
382 | + * @description | |
383 | + * 支付方式 | |
384 | + */ | |
385 | + paymentMethod?: string; | |
386 | + /** | |
387 | + * @description | |
388 | + * 运费 | |
389 | + */ | |
390 | + shippingFee?: number; | |
391 | + /** | |
392 | + * @description | |
393 | + * 支付总额 | |
394 | + * @example | |
395 | + * 2343 | |
396 | + */ | |
397 | + totalPayment?: number; | |
398 | + /** | |
399 | + * @description | |
400 | + * 用户id | |
401 | + * @format int32 | |
402 | + */ | |
403 | + uid?: number; | |
404 | +} | |
405 | + | |
406 | +export interface ApiCreateProductRequest { | |
407 | + /** | |
408 | + * @description | |
409 | + * 规格id | |
410 | + * @format int32 | |
411 | + */ | |
412 | + attrId?: number; | |
413 | + /** | |
414 | + * @description | |
415 | + * 商品封面图 | |
416 | + */ | |
417 | + image?: string; | |
418 | + /** | |
419 | + * @description | |
420 | + * 备注 | |
421 | + */ | |
422 | + notes?: string; | |
423 | + /** | |
424 | + * @description | |
425 | + * 商品参数 | |
426 | + */ | |
427 | + parameters?: string; | |
428 | + /** | |
429 | + * @description | |
430 | + * 商品编码 | |
431 | + */ | |
432 | + productCode?: string; | |
433 | + /** | |
434 | + * @description | |
435 | + * 商品id | |
436 | + * @format int32 | |
437 | + */ | |
438 | + productId?: number; | |
439 | + /** | |
440 | + * @description | |
441 | + * 商品名称 | |
442 | + */ | |
443 | + productName?: string; | |
444 | + /** | |
445 | + * @description | |
446 | + * 商品单价 | |
447 | + * @example | |
448 | + * 2343 | |
449 | + */ | |
450 | + productPrice?: number; | |
451 | + /** | |
452 | + * @description | |
453 | + * 商品数量 | |
454 | + * @format int32 | |
455 | + */ | |
456 | + quantity?: number; | |
457 | + /** | |
458 | + * @description | |
459 | + * 子订单总价格 | |
460 | + */ | |
461 | + subOrderPayment?: number; | |
462 | + /** | |
463 | + * @description | |
464 | + * 商品单位 | |
465 | + */ | |
466 | + unit?: string; | |
467 | +} | |
468 | + | |
350 | 469 | export interface ApiQueryOrderDetailRequest { |
351 | 470 | /** |
352 | 471 | * @description |
... | ... | @@ -1285,180 +1404,48 @@ export interface QueryAnnexDto { |
1285 | 1404 | export interface QueryBankStatementDto { |
1286 | 1405 | /** |
1287 | 1406 | * @description |
1288 | - * 帐号名称 | |
1289 | - */ | |
1290 | - accountName?: string; | |
1291 | - /** | |
1292 | - * @description | |
1293 | - * 账号 | |
1294 | - */ | |
1295 | - accountNumber?: string; | |
1296 | - /** | |
1297 | - * @description | |
1298 | - * 实付金额 | |
1299 | - */ | |
1300 | - actualPaymentAmount?: number; | |
1301 | - /** | |
1302 | - * @description | |
1303 | - * 余额 | |
1304 | - */ | |
1305 | - balance?: number; | |
1306 | - /** | |
1307 | - * @description | |
1308 | - * 银行订单号 | |
1407 | + * amount | |
1408 | + * @format double | |
1309 | 1409 | */ |
1310 | - bankOrderNumber?: string; | |
1410 | + amount?: number; | |
1311 | 1411 | /** |
1312 | 1412 | * @description |
1313 | - * 交易日-开始 | |
1413 | + * collection_date | |
1314 | 1414 | * @format date |
1315 | 1415 | */ |
1316 | - beginTransactionDate?: string; | |
1416 | + collectionDateBegin?: string; | |
1317 | 1417 | /** |
1318 | 1418 | * @description |
1319 | - * 起息日-开始 | |
1419 | + * collection_date | |
1320 | 1420 | * @format date |
1321 | 1421 | */ |
1322 | - beginValueDate?: string; | |
1323 | - /** | |
1324 | - * @description | |
1325 | - * 借方金额 | |
1326 | - */ | |
1327 | - borrowedAmount?: number; | |
1328 | - /** | |
1329 | - * @description | |
1330 | - * 收银员 | |
1331 | - */ | |
1332 | - cashier?: string; | |
1333 | - /** | |
1334 | - * @description | |
1335 | - * 收款渠道 | |
1336 | - */ | |
1337 | - collectionChannel?: string; | |
1338 | - /** | |
1339 | - * @description | |
1340 | - * 币种 | |
1341 | - */ | |
1342 | - currency?: string; | |
1422 | + collectionDateEnd?: string; | |
1343 | 1423 | /** @format int32 */ |
1344 | 1424 | current?: number; |
1345 | - /** | |
1346 | - * @description | |
1347 | - * 交易日-结束 | |
1348 | - * @format date | |
1349 | - */ | |
1350 | - endTransactionDate?: string; | |
1351 | - /** | |
1352 | - * @description | |
1353 | - * 起息日-结束 | |
1354 | - * @format date | |
1355 | - */ | |
1356 | - endValueDate?: string; | |
1357 | - /** | |
1358 | - * @description | |
1359 | - * 扩展摘要 | |
1360 | - */ | |
1361 | - extendedSummary?: string; | |
1362 | - /** | |
1363 | - * @description | |
1364 | - * id | |
1365 | - * @format int64 | |
1366 | - */ | |
1425 | + /** @format int64 */ | |
1367 | 1426 | id?: number; |
1368 | - /** | |
1369 | - * @description | |
1370 | - * 贷方金额 | |
1371 | - */ | |
1372 | - loanAmount?: number; | |
1373 | - /** | |
1374 | - * @description | |
1375 | - * 商户订单号 | |
1376 | - */ | |
1377 | - merchantOrderNumber?: string; | |
1378 | 1427 | /** @format int32 */ |
1379 | 1428 | pageSize?: number; |
1380 | 1429 | /** |
1381 | 1430 | * @description |
1382 | - * 收(付)方账号 | |
1383 | - */ | |
1384 | - payeePayerAccountNumber?: string; | |
1385 | - /** | |
1386 | - * @description | |
1387 | - * 收(付)方开户行地址 | |
1388 | - */ | |
1389 | - payeePayerBankAddress?: string; | |
1390 | - /** | |
1391 | - * @description | |
1392 | - * 收(付)方开户行行号 | |
1393 | - */ | |
1394 | - payeePayerBankBranchCode?: string; | |
1395 | - /** | |
1396 | - * @description | |
1397 | - * 收(付)方开户行名 | |
1398 | - */ | |
1399 | - payeePayerBankName?: string; | |
1400 | - /** | |
1401 | - * @description | |
1402 | - * 收(付)方名称 | |
1403 | - */ | |
1404 | - payeePayerName?: string; | |
1405 | - /** | |
1406 | - * @description | |
1407 | - * 收(付)方单位 | |
1431 | + * payee | |
1408 | 1432 | */ |
1409 | - payeePayerUnit?: string; | |
1433 | + payee?: string; | |
1410 | 1434 | /** |
1411 | 1435 | * @description |
1412 | - * 支付类型 | |
1436 | + * payer | |
1413 | 1437 | */ |
1414 | - paymentType?: string; | |
1438 | + payer?: string; | |
1415 | 1439 | /** |
1416 | 1440 | * @description |
1417 | - * 附言 | |
1441 | + * remark | |
1418 | 1442 | */ |
1443 | + remark?: string; | |
1419 | 1444 | remarkNote?: string; |
1420 | - /** | |
1421 | - * @description | |
1422 | - * 流水号 | |
1423 | - */ | |
1424 | 1445 | serialNumber?: string; |
1425 | - /** | |
1426 | - * @description | |
1427 | - * 状态 | |
1428 | - */ | |
1429 | 1446 | status?: string; |
1430 | - /** | |
1431 | - * @description | |
1432 | - * 摘要 | |
1433 | - */ | |
1434 | - summary?: string; | |
1435 | - /** | |
1436 | - * @description | |
1437 | - * 第三方订单号 | |
1438 | - */ | |
1439 | - thirdPartyOrderNumber?: string; | |
1440 | 1447 | /** @format int32 */ |
1441 | 1448 | total?: number; |
1442 | - /** | |
1443 | - * @description | |
1444 | - * 交易金额 | |
1445 | - */ | |
1446 | - transactionAmount?: number; | |
1447 | - /** | |
1448 | - * @description | |
1449 | - * 交易分析码 | |
1450 | - */ | |
1451 | - transactionAnalysisCode?: string; | |
1452 | - /** | |
1453 | - * @description | |
1454 | - * 交易行所 | |
1455 | - */ | |
1456 | - transactionBankBranch?: string; | |
1457 | - /** | |
1458 | - * @description | |
1459 | - * 交易类型 | |
1460 | - */ | |
1461 | - transactionType?: string; | |
1462 | 1449 | } |
1463 | 1450 | |
1464 | 1451 | export interface QueryCustomerInformationDto { |
... | ... | @@ -1539,6 +1526,14 @@ export interface QueryReportFormsDto { |
1539 | 1526 | statisticsMethod?: string; |
1540 | 1527 | } |
1541 | 1528 | |
1529 | +export interface ReissueInvoiceDto { | |
1530 | + /** @format int64 */ | |
1531 | + invoiceId?: number; | |
1532 | + invoiceNumber?: string; | |
1533 | + mainOrderIds?: Array<number>; | |
1534 | + notes?: string; | |
1535 | +} | |
1536 | + | |
1542 | 1537 | export interface ResetPwdVO { |
1543 | 1538 | /** @format int64 */ |
1544 | 1539 | userId?: number; |
... | ... | @@ -1713,10 +1708,282 @@ export interface UpdatePwdVO { |
1713 | 1708 | userId?: number; |
1714 | 1709 | } |
1715 | 1710 | |
1711 | +export interface UserDetailRequest { | |
1712 | + /** @format int32 */ | |
1713 | + current?: number; | |
1714 | + /** @format int32 */ | |
1715 | + pageSize?: number; | |
1716 | + /** | |
1717 | + * @description | |
1718 | + * 手机号 | |
1719 | + */ | |
1720 | + phone?: string; | |
1721 | + /** @format int32 */ | |
1722 | + total?: number; | |
1723 | + /** | |
1724 | + * @description | |
1725 | + * uid | |
1726 | + */ | |
1727 | + uid?: string; | |
1728 | +} | |
1729 | + | |
1730 | +export interface UserListRequest { | |
1731 | + /** @format int32 */ | |
1732 | + current?: number; | |
1733 | + /** | |
1734 | + * @description | |
1735 | + * 单位 | |
1736 | + */ | |
1737 | + institution?: string; | |
1738 | + /** | |
1739 | + * @description | |
1740 | + * 课题组老师 | |
1741 | + */ | |
1742 | + institutionContactName?: string; | |
1743 | + /** | |
1744 | + * @description | |
1745 | + * 关键字 | |
1746 | + */ | |
1747 | + keywords?: string; | |
1748 | + /** @format int32 */ | |
1749 | + pageSize?: number; | |
1750 | + /** | |
1751 | + * @description | |
1752 | + * 手机号 | |
1753 | + */ | |
1754 | + phone?: string; | |
1755 | + /** @format int32 */ | |
1756 | + total?: number; | |
1757 | + /** | |
1758 | + * @description | |
1759 | + * 用户名 | |
1760 | + */ | |
1761 | + username?: string; | |
1762 | +} | |
1763 | + | |
1716 | 1764 | export interface View { |
1717 | 1765 | contentType?: string; |
1718 | 1766 | } |
1719 | 1767 | |
1768 | +export interface SalesRechargePrepaymentAuditRequest { | |
1769 | + /** | |
1770 | + * @description | |
1771 | + * 审核意见 | |
1772 | + */ | |
1773 | + auditNotes?: string; | |
1774 | + /** | |
1775 | + * @description | |
1776 | + * id集合 | |
1777 | + */ | |
1778 | + ids?: Array<number>; | |
1779 | + /** | |
1780 | + * @description | |
1781 | + * 是否通过 | |
1782 | + */ | |
1783 | + pass?: boolean; | |
1784 | +} | |
1785 | + | |
1786 | +export interface SalesRechargePrepaymentCreateRequest { | |
1787 | + /** | |
1788 | + * @description | |
1789 | + * 联系人 | |
1790 | + */ | |
1791 | + contactPerson?: string; | |
1792 | + /** | |
1793 | + * @description | |
1794 | + * 客户名称 | |
1795 | + */ | |
1796 | + customerName?: string; | |
1797 | + /** | |
1798 | + * @description | |
1799 | + * 备注 | |
1800 | + */ | |
1801 | + notes?: string; | |
1802 | + /** | |
1803 | + * @description | |
1804 | + * 手机号 | |
1805 | + */ | |
1806 | + phone?: string; | |
1807 | + /** | |
1808 | + * @description | |
1809 | + * 充值金额 | |
1810 | + */ | |
1811 | + rechargeAmount?: number; | |
1812 | + /** | |
1813 | + * @description | |
1814 | + * 来源 | |
1815 | + */ | |
1816 | + rechargeSource?: string; | |
1817 | + /** | |
1818 | + * @description | |
1819 | + * 销售代表 | |
1820 | + */ | |
1821 | + salesCode?: string; | |
1822 | +} | |
1823 | + | |
1824 | +export interface SalesRechargePrepaymentDeleteRequest { | |
1825 | + /** | |
1826 | + * @description | |
1827 | + * id集合 | |
1828 | + */ | |
1829 | + ids?: Array<number>; | |
1830 | +} | |
1831 | + | |
1832 | +export interface SalesRechargePrepaymentRequest { | |
1833 | + /** | |
1834 | + * @description | |
1835 | + * 审核时间 | |
1836 | + * @format date-time | |
1837 | + */ | |
1838 | + auditDate?: string; | |
1839 | + /** | |
1840 | + * @description | |
1841 | + * 审核备注 | |
1842 | + */ | |
1843 | + auditNotes?: string; | |
1844 | + /** | |
1845 | + * @description | |
1846 | + * 审核人员 | |
1847 | + */ | |
1848 | + auditors?: string; | |
1849 | + /** | |
1850 | + * @description | |
1851 | + * 联系人 | |
1852 | + */ | |
1853 | + contactPerson?: string; | |
1854 | + /** | |
1855 | + * @description | |
1856 | + * 创建人员 | |
1857 | + */ | |
1858 | + createBy?: string; | |
1859 | + /** | |
1860 | + * @description | |
1861 | + * 创建时间开始时间 | |
1862 | + * @format date-time | |
1863 | + */ | |
1864 | + createTimeBeginTime?: string; | |
1865 | + /** | |
1866 | + * @description | |
1867 | + * 创建时间结束时间 | |
1868 | + * @format date-time | |
1869 | + */ | |
1870 | + createTimeEndTime?: string; | |
1871 | + /** @format int32 */ | |
1872 | + current?: number; | |
1873 | + /** | |
1874 | + * @description | |
1875 | + * 客户名称 | |
1876 | + */ | |
1877 | + customerName?: string; | |
1878 | + /** | |
1879 | + * @description | |
1880 | + * 是否启用 | |
1881 | + * @format int32 | |
1882 | + */ | |
1883 | + enableFlag?: number; | |
1884 | + /** | |
1885 | + * @description | |
1886 | + * id | |
1887 | + * @format int32 | |
1888 | + */ | |
1889 | + id?: number; | |
1890 | + /** | |
1891 | + * @description | |
1892 | + * 修改人员 | |
1893 | + */ | |
1894 | + modifyBy?: string; | |
1895 | + /** | |
1896 | + * @description | |
1897 | + * 修改时间 | |
1898 | + * @format date-time | |
1899 | + */ | |
1900 | + modifyTime?: string; | |
1901 | + /** | |
1902 | + * @description | |
1903 | + * 备注 | |
1904 | + */ | |
1905 | + notes?: string; | |
1906 | + /** @format int32 */ | |
1907 | + pageSize?: number; | |
1908 | + /** | |
1909 | + * @description | |
1910 | + * 手机号 | |
1911 | + */ | |
1912 | + phone?: string; | |
1913 | + /** | |
1914 | + * @description | |
1915 | + * 充值金额 | |
1916 | + */ | |
1917 | + rechargeAmount?: number; | |
1918 | + /** | |
1919 | + * @description | |
1920 | + * 来源 | |
1921 | + */ | |
1922 | + rechargeSource?: string; | |
1923 | + /** | |
1924 | + * @description | |
1925 | + * 销售代表 | |
1926 | + */ | |
1927 | + salesCode?: string; | |
1928 | + /** | |
1929 | + * @description | |
1930 | + * 状态 | |
1931 | + */ | |
1932 | + status?: string; | |
1933 | + /** @format int32 */ | |
1934 | + total?: number; | |
1935 | + /** | |
1936 | + * @description | |
1937 | + * 版本号 | |
1938 | + * @format int32 | |
1939 | + */ | |
1940 | + version?: number; | |
1941 | +} | |
1942 | + | |
1943 | +export interface SalesRechargePrepaymentUpdateRequest { | |
1944 | + /** | |
1945 | + * @description | |
1946 | + * 联系人 | |
1947 | + */ | |
1948 | + contactPerson?: string; | |
1949 | + /** | |
1950 | + * @description | |
1951 | + * 客户名称 | |
1952 | + */ | |
1953 | + customerName?: string; | |
1954 | + /** | |
1955 | + * @description | |
1956 | + * 编号 | |
1957 | + * @format int32 | |
1958 | + */ | |
1959 | + id?: number; | |
1960 | + /** | |
1961 | + * @description | |
1962 | + * 备注 | |
1963 | + */ | |
1964 | + notes?: string; | |
1965 | + /** | |
1966 | + * @description | |
1967 | + * 手机号 | |
1968 | + */ | |
1969 | + phone?: string; | |
1970 | + /** | |
1971 | + * @description | |
1972 | + * 充值金额 | |
1973 | + */ | |
1974 | + rechargeAmount?: number; | |
1975 | + /** | |
1976 | + * @description | |
1977 | + * 来源 | |
1978 | + */ | |
1979 | + rechargeSource?: string; | |
1980 | + /** | |
1981 | + * @description | |
1982 | + * 销售代表 | |
1983 | + */ | |
1984 | + salesCode?: string; | |
1985 | +} | |
1986 | + | |
1720 | 1987 | export interface UploadPaymentReceiptDTO { |
1721 | 1988 | /** |
1722 | 1989 | * @description | ... | ... |
src/services/request.ts
... | ... | @@ -2,85 +2,95 @@ |
2 | 2 | /* tslint:disable */ |
3 | 3 | /** Do not modify manually. |
4 | 4 | content is generated automatically by `ts-gear`. */ |
5 | -import { request as requester } from "umi"; | |
5 | +import { request as requester } from 'umi'; | |
6 | 6 | import type { |
7 | - ServerResult, | |
7 | + AdminAuthRoleVO, | |
8 | + AdminAuthUserVO, | |
9 | + AdminDeptQueryVO, | |
10 | + AdminDeptVO, | |
11 | + AdminJobQueryVO, | |
12 | + AdminJobVO, | |
13 | + AdminMenuQueryVO, | |
14 | + AdminMenuVO, | |
15 | + AdminRoleQueryVO, | |
16 | + AdminRoleVO, | |
17 | + AdminUserLoginByPhoneVO, | |
18 | + AdminUserLoginByPwdVO, | |
19 | + AdminUserModifyPwdVO, | |
20 | + AdminUserPasswordRecoverEmailVO, | |
21 | + AdminUserQueryVO, | |
22 | + AdminUserRegisterVO, | |
23 | + AdminUserVO, | |
8 | 24 | ApiApplyAddressModifyRequest, |
9 | 25 | ApiApplyAfterSalesRequest, |
26 | + ApiCreateOrderRequest, | |
10 | 27 | ApiQueryOrderDetailRequest, |
11 | 28 | ApiQueryOrderStatusCountsRequest, |
12 | - Dto, | |
29 | + AuditDto, | |
30 | + AuditVO, | |
31 | + CancelInvoiceAndBankStatementDto, | |
32 | + CancelSendOrderDto, | |
33 | + CaptchaMessageVO, | |
34 | + CustomFieldRes, | |
13 | 35 | CustomerCustomerListReq, |
14 | - CustomerListRes, | |
15 | 36 | CustomerDetailDto, |
16 | 37 | CustomerDetailRes, |
38 | + CustomerListRes, | |
17 | 39 | CustomerSaveReq, |
18 | - SaveReply, | |
19 | - MaterialMaterialListReq, | |
20 | - MaterialListReply, | |
40 | + DictionaryQueryVO, | |
41 | + DictionaryVO, | |
42 | + Dto, | |
21 | 43 | InventoryMaterialStockReq, |
44 | + MaterialListReply, | |
45 | + MaterialMaterialListReq, | |
22 | 46 | MaterialStockRes, |
23 | - UnitMaterialUnitListReq, | |
24 | 47 | MaterialUnitListRes, |
25 | - UnitMeasureUnitListReq, | |
26 | 48 | MeasureUnitListRes, |
27 | - SalOrderSaveDto, | |
28 | - SystemCustomFieldReq, | |
29 | - CustomFieldRes, | |
30 | - OrderFieldLockApplyQueryVO, | |
31 | - AuditVO, | |
32 | - OrderAuditLogQueryVO, | |
33 | - AdminUserLoginByPhoneVO, | |
34 | - AdminUserLoginByPwdVO, | |
35 | - AdminUserModifyPwdVO, | |
36 | - AdminUserRegisterVO, | |
37 | - AdminUserPasswordRecoverEmailVO, | |
38 | - TokenApiDto, | |
39 | - CaptchaMessageVO, | |
40 | - AdminDeptVO, | |
41 | - AdminDeptQueryVO, | |
42 | - DictionaryVO, | |
43 | - DictionaryQueryVO, | |
44 | - AdminJobVO, | |
45 | - AdminJobQueryVO, | |
46 | - SysLogQueryVO, | |
47 | - AdminMenuVO, | |
48 | - AdminMenuQueryVO, | |
49 | 49 | MessageQueryDTO, |
50 | - OrderOptLogQueryVO, | |
50 | + ModelAndView, | |
51 | 51 | OrderAddVO, |
52 | + OrderAuditLogQueryVO, | |
52 | 53 | OrderBaseInfoQueryVO, |
53 | - OrderUpdateVO, | |
54 | - OrderUnlockFieldApplyVO, | |
54 | + OrderFieldLockApplyQueryVO, | |
55 | + OrderOptLogQueryVO, | |
55 | 56 | OrderProfitAnalysisVo, |
56 | - AdminRoleVO, | |
57 | - AdminRoleQueryVO, | |
58 | - AdminAuthRoleVO, | |
59 | - AdminUserVO, | |
60 | - AdminAuthUserVO, | |
61 | - AdminUserQueryVO, | |
62 | - ResetPwdVO, | |
63 | - UpdatePwdVO, | |
64 | - QueryBankStatementDto, | |
65 | - CancelInvoiceAndBankStatementDto, | |
66 | - QueryInvoiceDetailDto, | |
67 | - AuditDto, | |
68 | - CancelSendOrderDto, | |
57 | + OrderUnlockFieldApplyVO, | |
58 | + OrderUpdateVO, | |
69 | 59 | ProcureConvertProcureDto, |
70 | 60 | ProcureOrderDto, |
71 | 61 | ProcurePrintDto, |
62 | + ProductInformationDto, | |
72 | 63 | QueryAfterSalesInfoSnapshotDto, |
64 | + QueryAnnexDto, | |
65 | + QueryBankStatementDto, | |
73 | 66 | QueryCustomerInformationDto, |
74 | - QueryMainOrderDto, | |
75 | 67 | QueryHistoryRecordDto, |
76 | - ProductInformationDto, | |
68 | + QueryInvoiceDetailDto, | |
69 | + QueryMainOrderDto, | |
77 | 70 | QueryReportFormsDto, |
71 | + ReissueInvoiceDto, | |
72 | + ResetPwdVO, | |
73 | + SalOrderSaveDto, | |
74 | + SalesRechargePrepaymentAuditRequest, | |
75 | + SalesRechargePrepaymentCreateRequest, | |
76 | + SalesRechargePrepaymentDeleteRequest, | |
77 | + SalesRechargePrepaymentRequest, | |
78 | + SalesRechargePrepaymentUpdateRequest, | |
79 | + SaveReply, | |
80 | + ServerResult, | |
78 | 81 | ShippingWarehouseChangeDto, |
82 | + SysLogQueryVO, | |
83 | + SystemCustomFieldReq, | |
79 | 84 | ToProcureAuditDto, |
80 | - QueryAnnexDto, | |
85 | + TokenApiDto, | |
86 | + UnitMaterialUnitListReq, | |
87 | + UnitMeasureUnitListReq, | |
81 | 88 | UpdateHirePurchaseDto, |
89 | + UpdatePwdVO, | |
82 | 90 | UploadPaymentReceiptDTO, |
83 | -} from "./definition"; | |
91 | + UserDetailRequest, | |
92 | + UserListRequest, | |
93 | +} from './definition'; | |
84 | 94 | |
85 | 95 | /** @description request parameter type for postApiLocalStorageUpload */ |
86 | 96 | export interface PostApiLocalStorageUploadOption { |
... | ... | @@ -149,10 +159,10 @@ export type PostApiLocalStorageUploadResponseSuccess = |
149 | 159 | * @consumes multipart/form-data |
150 | 160 | */ |
151 | 161 | export const postApiLocalStorageUpload = /* #__PURE__ */ (() => { |
152 | - const method = "post"; | |
153 | - const url = "/api/localStorage/upload"; | |
162 | + const method = 'post'; | |
163 | + const url = '/api/localStorage/upload'; | |
154 | 164 | function request( |
155 | - option: PostApiLocalStorageUploadOption | |
165 | + option: PostApiLocalStorageUploadOption, | |
156 | 166 | ): Promise<PostApiLocalStorageUploadResponseSuccess> { |
157 | 167 | return requester(request.url, { |
158 | 168 | method: request.method, |
... | ... | @@ -234,10 +244,10 @@ export type PostApiLocalStorageUploadOssResponseSuccess = |
234 | 244 | * @consumes multipart/form-data |
235 | 245 | */ |
236 | 246 | export const postApiLocalStorageUploadOss = /* #__PURE__ */ (() => { |
237 | - const method = "post"; | |
238 | - const url = "/api/localStorage/upload_oss"; | |
247 | + const method = 'post'; | |
248 | + const url = '/api/localStorage/upload_oss'; | |
239 | 249 | function request( |
240 | - option: PostApiLocalStorageUploadOssOption | |
250 | + option: PostApiLocalStorageUploadOssOption, | |
241 | 251 | ): Promise<PostApiLocalStorageUploadOssResponseSuccess> { |
242 | 252 | return requester(request.url, { |
243 | 253 | method: request.method, |
... | ... | @@ -305,10 +315,10 @@ export type PostApiOrderApplyAddressModifyResponseSuccess = |
305 | 315 | * @consumes application/json |
306 | 316 | */ |
307 | 317 | export const postApiOrderApplyAddressModify = /* #__PURE__ */ (() => { |
308 | - const method = "post"; | |
309 | - const url = "/api/order/applyAddressModify"; | |
318 | + const method = 'post'; | |
319 | + const url = '/api/order/applyAddressModify'; | |
310 | 320 | function request( |
311 | - option: PostApiOrderApplyAddressModifyOption | |
321 | + option: PostApiOrderApplyAddressModifyOption, | |
312 | 322 | ): Promise<PostApiOrderApplyAddressModifyResponseSuccess> { |
313 | 323 | return requester(request.url, { |
314 | 324 | method: request.method, |
... | ... | @@ -376,10 +386,10 @@ export type PostApiOrderApplyAfterSalesResponseSuccess = |
376 | 386 | * @consumes application/json |
377 | 387 | */ |
378 | 388 | export const postApiOrderApplyAfterSales = /* #__PURE__ */ (() => { |
379 | - const method = "post"; | |
380 | - const url = "/api/order/applyAfterSales"; | |
389 | + const method = 'post'; | |
390 | + const url = '/api/order/applyAfterSales'; | |
381 | 391 | function request( |
382 | - option: PostApiOrderApplyAfterSalesOption | |
392 | + option: PostApiOrderApplyAfterSalesOption, | |
383 | 393 | ): Promise<PostApiOrderApplyAfterSalesResponseSuccess> { |
384 | 394 | return requester(request.url, { |
385 | 395 | method: request.method, |
... | ... | @@ -394,6 +404,77 @@ export const postApiOrderApplyAfterSales = /* #__PURE__ */ (() => { |
394 | 404 | return request; |
395 | 405 | })(); |
396 | 406 | |
407 | +/** @description request parameter type for postApiOrderCreateOrder */ | |
408 | +export interface PostApiOrderCreateOrderOption { | |
409 | + /** | |
410 | + * @description | |
411 | + * request | |
412 | + */ | |
413 | + body: { | |
414 | + /** | |
415 | + @description | |
416 | + request */ | |
417 | + request: ApiCreateOrderRequest; | |
418 | + }; | |
419 | +} | |
420 | + | |
421 | +/** @description response type for postApiOrderCreateOrder */ | |
422 | +export interface PostApiOrderCreateOrderResponse { | |
423 | + /** | |
424 | + * @description | |
425 | + * OK | |
426 | + */ | |
427 | + 200: ServerResult; | |
428 | + /** | |
429 | + * @description | |
430 | + * Created | |
431 | + */ | |
432 | + 201: any; | |
433 | + /** | |
434 | + * @description | |
435 | + * Unauthorized | |
436 | + */ | |
437 | + 401: any; | |
438 | + /** | |
439 | + * @description | |
440 | + * Forbidden | |
441 | + */ | |
442 | + 403: any; | |
443 | + /** | |
444 | + * @description | |
445 | + * Not Found | |
446 | + */ | |
447 | + 404: any; | |
448 | +} | |
449 | + | |
450 | +export type PostApiOrderCreateOrderResponseSuccess = | |
451 | + PostApiOrderCreateOrderResponse[200]; | |
452 | +/** | |
453 | + * @description | |
454 | + * 创建订单 | |
455 | + * @tags 内部订单 | |
456 | + * @produces * | |
457 | + * @consumes application/json | |
458 | + */ | |
459 | +export const postApiOrderCreateOrder = /* #__PURE__ */ (() => { | |
460 | + const method = 'post'; | |
461 | + const url = '/api/order/createOrder'; | |
462 | + function request( | |
463 | + option: PostApiOrderCreateOrderOption, | |
464 | + ): Promise<PostApiOrderCreateOrderResponseSuccess> { | |
465 | + return requester(request.url, { | |
466 | + method: request.method, | |
467 | + ...option, | |
468 | + }) as unknown as Promise<PostApiOrderCreateOrderResponseSuccess>; | |
469 | + } | |
470 | + | |
471 | + /** http method */ | |
472 | + request.method = method; | |
473 | + /** request url */ | |
474 | + request.url = url; | |
475 | + return request; | |
476 | +})(); | |
477 | + | |
397 | 478 | /** @description request parameter type for postApiOrderQueryOrderDetail */ |
398 | 479 | export interface PostApiOrderQueryOrderDetailOption { |
399 | 480 | /** |
... | ... | @@ -447,10 +528,10 @@ export type PostApiOrderQueryOrderDetailResponseSuccess = |
447 | 528 | * @consumes application/json |
448 | 529 | */ |
449 | 530 | export const postApiOrderQueryOrderDetail = /* #__PURE__ */ (() => { |
450 | - const method = "post"; | |
451 | - const url = "/api/order/queryOrderDetail"; | |
531 | + const method = 'post'; | |
532 | + const url = '/api/order/queryOrderDetail'; | |
452 | 533 | function request( |
453 | - option: PostApiOrderQueryOrderDetailOption | |
534 | + option: PostApiOrderQueryOrderDetailOption, | |
454 | 535 | ): Promise<PostApiOrderQueryOrderDetailResponseSuccess> { |
455 | 536 | return requester(request.url, { |
456 | 537 | method: request.method, |
... | ... | @@ -518,10 +599,10 @@ export type PostApiOrderQueryOrderStatusCountsResponseSuccess = |
518 | 599 | * @consumes application/json |
519 | 600 | */ |
520 | 601 | export const postApiOrderQueryOrderStatusCounts = /* #__PURE__ */ (() => { |
521 | - const method = "post"; | |
522 | - const url = "/api/order/queryOrderStatusCounts"; | |
602 | + const method = 'post'; | |
603 | + const url = '/api/order/queryOrderStatusCounts'; | |
523 | 604 | function request( |
524 | - option: PostApiOrderQueryOrderStatusCountsOption | |
605 | + option: PostApiOrderQueryOrderStatusCountsOption, | |
525 | 606 | ): Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess> { |
526 | 607 | return requester(request.url, { |
527 | 608 | method: request.method, |
... | ... | @@ -589,10 +670,10 @@ export type PostApiOrderQueryServiceOrderResponseSuccess = |
589 | 670 | * @consumes application/json |
590 | 671 | */ |
591 | 672 | export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { |
592 | - const method = "post"; | |
593 | - const url = "/api/order/queryServiceOrder"; | |
673 | + const method = 'post'; | |
674 | + const url = '/api/order/queryServiceOrder'; | |
594 | 675 | function request( |
595 | - option: PostApiOrderQueryServiceOrderOption | |
676 | + option: PostApiOrderQueryServiceOrderOption, | |
596 | 677 | ): Promise<PostApiOrderQueryServiceOrderResponseSuccess> { |
597 | 678 | return requester(request.url, { |
598 | 679 | method: request.method, |
... | ... | @@ -607,15 +688,32 @@ export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { |
607 | 688 | return request; |
608 | 689 | })(); |
609 | 690 | |
610 | -/** @description response type for getError */ | |
611 | -export interface GetErrorResponse { | |
691 | +/** @description request parameter type for postCanrdApiUserDetail */ | |
692 | +export interface PostCanrdApiUserDetailOption { | |
612 | 693 | /** |
613 | 694 | * @description |
614 | - * OK | |
695 | + * request | |
615 | 696 | */ |
616 | - 200: { | |
617 | - [propertyName: string]: any; | |
697 | + body: { | |
698 | + /** | |
699 | + @description | |
700 | + request */ | |
701 | + request: UserDetailRequest; | |
618 | 702 | }; |
703 | +} | |
704 | + | |
705 | +/** @description response type for postCanrdApiUserDetail */ | |
706 | +export interface PostCanrdApiUserDetailResponse { | |
707 | + /** | |
708 | + * @description | |
709 | + * OK | |
710 | + */ | |
711 | + 200: ServerResult; | |
712 | + /** | |
713 | + * @description | |
714 | + * Created | |
715 | + */ | |
716 | + 201: any; | |
619 | 717 | /** |
620 | 718 | * @description |
621 | 719 | * Unauthorized |
... | ... | @@ -633,20 +731,25 @@ export interface GetErrorResponse { |
633 | 731 | 404: any; |
634 | 732 | } |
635 | 733 | |
636 | -export type GetErrorResponseSuccess = GetErrorResponse[200]; | |
734 | +export type PostCanrdApiUserDetailResponseSuccess = | |
735 | + PostCanrdApiUserDetailResponse[200]; | |
637 | 736 | /** |
638 | 737 | * @description |
639 | - * error | |
640 | - * @tags basic-error-controller | |
738 | + * 获取用户详情 | |
739 | + * @tags canrd-mobile-api-controller | |
641 | 740 | * @produces * |
741 | + * @consumes application/json | |
642 | 742 | */ |
643 | -export const getError = /* #__PURE__ */ (() => { | |
644 | - const method = "get"; | |
645 | - const url = "/error"; | |
646 | - function request(): Promise<GetErrorResponseSuccess> { | |
743 | +export const postCanrdApiUserDetail = /* #__PURE__ */ (() => { | |
744 | + const method = 'post'; | |
745 | + const url = '/canrd/api/user/detail'; | |
746 | + function request( | |
747 | + option: PostCanrdApiUserDetailOption, | |
748 | + ): Promise<PostCanrdApiUserDetailResponseSuccess> { | |
647 | 749 | return requester(request.url, { |
648 | 750 | method: request.method, |
649 | - }) as unknown as Promise<GetErrorResponseSuccess>; | |
751 | + ...option, | |
752 | + }) as unknown as Promise<PostCanrdApiUserDetailResponseSuccess>; | |
650 | 753 | } |
651 | 754 | |
652 | 755 | /** http method */ |
... | ... | @@ -656,15 +759,27 @@ export const getError = /* #__PURE__ */ (() => { |
656 | 759 | return request; |
657 | 760 | })(); |
658 | 761 | |
659 | -/** @description response type for putError */ | |
660 | -export interface PutErrorResponse { | |
762 | +/** @description request parameter type for postCanrdApiUserList */ | |
763 | +export interface PostCanrdApiUserListOption { | |
661 | 764 | /** |
662 | 765 | * @description |
663 | - * OK | |
766 | + * request | |
664 | 767 | */ |
665 | - 200: { | |
666 | - [propertyName: string]: any; | |
768 | + body: { | |
769 | + /** | |
770 | + @description | |
771 | + request */ | |
772 | + request: UserListRequest; | |
667 | 773 | }; |
774 | +} | |
775 | + | |
776 | +/** @description response type for postCanrdApiUserList */ | |
777 | +export interface PostCanrdApiUserListResponse { | |
778 | + /** | |
779 | + * @description | |
780 | + * OK | |
781 | + */ | |
782 | + 200: ServerResult; | |
668 | 783 | /** |
669 | 784 | * @description |
670 | 785 | * Created |
... | ... | @@ -687,21 +802,25 @@ export interface PutErrorResponse { |
687 | 802 | 404: any; |
688 | 803 | } |
689 | 804 | |
690 | -export type PutErrorResponseSuccess = PutErrorResponse[200]; | |
805 | +export type PostCanrdApiUserListResponseSuccess = | |
806 | + PostCanrdApiUserListResponse[200]; | |
691 | 807 | /** |
692 | 808 | * @description |
693 | - * error | |
694 | - * @tags basic-error-controller | |
809 | + * 获取用户列表 | |
810 | + * @tags canrd-mobile-api-controller | |
695 | 811 | * @produces * |
696 | 812 | * @consumes application/json |
697 | 813 | */ |
698 | -export const putError = /* #__PURE__ */ (() => { | |
699 | - const method = "put"; | |
700 | - const url = "/error"; | |
701 | - function request(): Promise<PutErrorResponseSuccess> { | |
814 | +export const postCanrdApiUserList = /* #__PURE__ */ (() => { | |
815 | + const method = 'post'; | |
816 | + const url = '/canrd/api/user/list'; | |
817 | + function request( | |
818 | + option: PostCanrdApiUserListOption, | |
819 | + ): Promise<PostCanrdApiUserListResponseSuccess> { | |
702 | 820 | return requester(request.url, { |
703 | 821 | method: request.method, |
704 | - }) as unknown as Promise<PutErrorResponseSuccess>; | |
822 | + ...option, | |
823 | + }) as unknown as Promise<PostCanrdApiUserListResponseSuccess>; | |
705 | 824 | } |
706 | 825 | |
707 | 826 | /** http method */ |
... | ... | @@ -711,20 +830,13 @@ export const putError = /* #__PURE__ */ (() => { |
711 | 830 | return request; |
712 | 831 | })(); |
713 | 832 | |
714 | -/** @description response type for postError */ | |
715 | -export interface PostErrorResponse { | |
833 | +/** @description response type for getError */ | |
834 | +export interface GetErrorResponse { | |
716 | 835 | /** |
717 | 836 | * @description |
718 | 837 | * OK |
719 | 838 | */ |
720 | - 200: { | |
721 | - [propertyName: string]: any; | |
722 | - }; | |
723 | - /** | |
724 | - * @description | |
725 | - * Created | |
726 | - */ | |
727 | - 201: any; | |
839 | + 200: ModelAndView; | |
728 | 840 | /** |
729 | 841 | * @description |
730 | 842 | * Unauthorized |
... | ... | @@ -742,21 +854,20 @@ export interface PostErrorResponse { |
742 | 854 | 404: any; |
743 | 855 | } |
744 | 856 | |
745 | -export type PostErrorResponseSuccess = PostErrorResponse[200]; | |
857 | +export type GetErrorResponseSuccess = GetErrorResponse[200]; | |
746 | 858 | /** |
747 | 859 | * @description |
748 | - * error | |
860 | + * errorHtml | |
749 | 861 | * @tags basic-error-controller |
750 | - * @produces * | |
751 | - * @consumes application/json | |
862 | + * @produces text/html | |
752 | 863 | */ |
753 | -export const postError = /* #__PURE__ */ (() => { | |
754 | - const method = "post"; | |
755 | - const url = "/error"; | |
756 | - function request(): Promise<PostErrorResponseSuccess> { | |
864 | +export const getError = /* #__PURE__ */ (() => { | |
865 | + const method = 'get'; | |
866 | + const url = '/error'; | |
867 | + function request(): Promise<GetErrorResponseSuccess> { | |
757 | 868 | return requester(request.url, { |
758 | 869 | method: request.method, |
759 | - }) as unknown as Promise<PostErrorResponseSuccess>; | |
870 | + }) as unknown as Promise<GetErrorResponseSuccess>; | |
760 | 871 | } |
761 | 872 | |
762 | 873 | /** http method */ |
... | ... | @@ -766,20 +877,18 @@ export const postError = /* #__PURE__ */ (() => { |
766 | 877 | return request; |
767 | 878 | })(); |
768 | 879 | |
769 | -/** @description response type for deleteError */ | |
770 | -export interface DeleteErrorResponse { | |
880 | +/** @description response type for putError */ | |
881 | +export interface PutErrorResponse { | |
771 | 882 | /** |
772 | 883 | * @description |
773 | 884 | * OK |
774 | 885 | */ |
775 | - 200: { | |
776 | - [propertyName: string]: any; | |
777 | - }; | |
886 | + 200: ModelAndView; | |
778 | 887 | /** |
779 | 888 | * @description |
780 | - * No Content | |
889 | + * Created | |
781 | 890 | */ |
782 | - 204: any; | |
891 | + 201: any; | |
783 | 892 | /** |
784 | 893 | * @description |
785 | 894 | * Unauthorized |
... | ... | @@ -790,22 +899,28 @@ export interface DeleteErrorResponse { |
790 | 899 | * Forbidden |
791 | 900 | */ |
792 | 901 | 403: any; |
902 | + /** | |
903 | + * @description | |
904 | + * Not Found | |
905 | + */ | |
906 | + 404: any; | |
793 | 907 | } |
794 | 908 | |
795 | -export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | |
909 | +export type PutErrorResponseSuccess = PutErrorResponse[200]; | |
796 | 910 | /** |
797 | 911 | * @description |
798 | - * error | |
912 | + * errorHtml | |
799 | 913 | * @tags basic-error-controller |
800 | - * @produces * | |
914 | + * @produces text/html | |
915 | + * @consumes application/json | |
801 | 916 | */ |
802 | -export const deleteError = /* #__PURE__ */ (() => { | |
803 | - const method = "delete"; | |
804 | - const url = "/error"; | |
805 | - function request(): Promise<DeleteErrorResponseSuccess> { | |
917 | +export const putError = /* #__PURE__ */ (() => { | |
918 | + const method = 'put'; | |
919 | + const url = '/error'; | |
920 | + function request(): Promise<PutErrorResponseSuccess> { | |
806 | 921 | return requester(request.url, { |
807 | 922 | method: request.method, |
808 | - }) as unknown as Promise<DeleteErrorResponseSuccess>; | |
923 | + }) as unknown as Promise<PutErrorResponseSuccess>; | |
809 | 924 | } |
810 | 925 | |
811 | 926 | /** http method */ |
... | ... | @@ -815,18 +930,116 @@ export const deleteError = /* #__PURE__ */ (() => { |
815 | 930 | return request; |
816 | 931 | })(); |
817 | 932 | |
818 | -/** @description response type for optionsError */ | |
819 | -export interface OptionsErrorResponse { | |
933 | +/** @description response type for postError */ | |
934 | +export interface PostErrorResponse { | |
820 | 935 | /** |
821 | 936 | * @description |
822 | 937 | * OK |
823 | 938 | */ |
824 | - 200: { | |
825 | - [propertyName: string]: any; | |
826 | - }; | |
939 | + 200: ModelAndView; | |
827 | 940 | /** |
828 | 941 | * @description |
829 | - * No Content | |
942 | + * Created | |
943 | + */ | |
944 | + 201: any; | |
945 | + /** | |
946 | + * @description | |
947 | + * Unauthorized | |
948 | + */ | |
949 | + 401: any; | |
950 | + /** | |
951 | + * @description | |
952 | + * Forbidden | |
953 | + */ | |
954 | + 403: any; | |
955 | + /** | |
956 | + * @description | |
957 | + * Not Found | |
958 | + */ | |
959 | + 404: any; | |
960 | +} | |
961 | + | |
962 | +export type PostErrorResponseSuccess = PostErrorResponse[200]; | |
963 | +/** | |
964 | + * @description | |
965 | + * errorHtml | |
966 | + * @tags basic-error-controller | |
967 | + * @produces text/html | |
968 | + * @consumes application/json | |
969 | + */ | |
970 | +export const postError = /* #__PURE__ */ (() => { | |
971 | + const method = 'post'; | |
972 | + const url = '/error'; | |
973 | + function request(): Promise<PostErrorResponseSuccess> { | |
974 | + return requester(request.url, { | |
975 | + method: request.method, | |
976 | + }) as unknown as Promise<PostErrorResponseSuccess>; | |
977 | + } | |
978 | + | |
979 | + /** http method */ | |
980 | + request.method = method; | |
981 | + /** request url */ | |
982 | + request.url = url; | |
983 | + return request; | |
984 | +})(); | |
985 | + | |
986 | +/** @description response type for deleteError */ | |
987 | +export interface DeleteErrorResponse { | |
988 | + /** | |
989 | + * @description | |
990 | + * OK | |
991 | + */ | |
992 | + 200: ModelAndView; | |
993 | + /** | |
994 | + * @description | |
995 | + * No Content | |
996 | + */ | |
997 | + 204: any; | |
998 | + /** | |
999 | + * @description | |
1000 | + * Unauthorized | |
1001 | + */ | |
1002 | + 401: any; | |
1003 | + /** | |
1004 | + * @description | |
1005 | + * Forbidden | |
1006 | + */ | |
1007 | + 403: any; | |
1008 | +} | |
1009 | + | |
1010 | +export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | |
1011 | +/** | |
1012 | + * @description | |
1013 | + * errorHtml | |
1014 | + * @tags basic-error-controller | |
1015 | + * @produces text/html | |
1016 | + */ | |
1017 | +export const deleteError = /* #__PURE__ */ (() => { | |
1018 | + const method = 'delete'; | |
1019 | + const url = '/error'; | |
1020 | + function request(): Promise<DeleteErrorResponseSuccess> { | |
1021 | + return requester(request.url, { | |
1022 | + method: request.method, | |
1023 | + }) as unknown as Promise<DeleteErrorResponseSuccess>; | |
1024 | + } | |
1025 | + | |
1026 | + /** http method */ | |
1027 | + request.method = method; | |
1028 | + /** request url */ | |
1029 | + request.url = url; | |
1030 | + return request; | |
1031 | +})(); | |
1032 | + | |
1033 | +/** @description response type for optionsError */ | |
1034 | +export interface OptionsErrorResponse { | |
1035 | + /** | |
1036 | + * @description | |
1037 | + * OK | |
1038 | + */ | |
1039 | + 200: ModelAndView; | |
1040 | + /** | |
1041 | + * @description | |
1042 | + * No Content | |
830 | 1043 | */ |
831 | 1044 | 204: any; |
832 | 1045 | /** |
... | ... | @@ -844,14 +1057,14 @@ export interface OptionsErrorResponse { |
844 | 1057 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; |
845 | 1058 | /** |
846 | 1059 | * @description |
847 | - * error | |
1060 | + * errorHtml | |
848 | 1061 | * @tags basic-error-controller |
849 | - * @produces * | |
1062 | + * @produces text/html | |
850 | 1063 | * @consumes application/json |
851 | 1064 | */ |
852 | 1065 | export const optionsError = /* #__PURE__ */ (() => { |
853 | - const method = "options"; | |
854 | - const url = "/error"; | |
1066 | + const method = 'options'; | |
1067 | + const url = '/error'; | |
855 | 1068 | function request(): Promise<OptionsErrorResponseSuccess> { |
856 | 1069 | return requester(request.url, { |
857 | 1070 | method: request.method, |
... | ... | @@ -871,9 +1084,7 @@ export interface HeadErrorResponse { |
871 | 1084 | * @description |
872 | 1085 | * OK |
873 | 1086 | */ |
874 | - 200: { | |
875 | - [propertyName: string]: any; | |
876 | - }; | |
1087 | + 200: ModelAndView; | |
877 | 1088 | /** |
878 | 1089 | * @description |
879 | 1090 | * No Content |
... | ... | @@ -894,14 +1105,14 @@ export interface HeadErrorResponse { |
894 | 1105 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; |
895 | 1106 | /** |
896 | 1107 | * @description |
897 | - * error | |
1108 | + * errorHtml | |
898 | 1109 | * @tags basic-error-controller |
899 | - * @produces * | |
1110 | + * @produces text/html | |
900 | 1111 | * @consumes application/json |
901 | 1112 | */ |
902 | 1113 | export const headError = /* #__PURE__ */ (() => { |
903 | - const method = "head"; | |
904 | - const url = "/error"; | |
1114 | + const method = 'head'; | |
1115 | + const url = '/error'; | |
905 | 1116 | function request(): Promise<HeadErrorResponseSuccess> { |
906 | 1117 | return requester(request.url, { |
907 | 1118 | method: request.method, |
... | ... | @@ -921,9 +1132,7 @@ export interface PatchErrorResponse { |
921 | 1132 | * @description |
922 | 1133 | * OK |
923 | 1134 | */ |
924 | - 200: { | |
925 | - [propertyName: string]: any; | |
926 | - }; | |
1135 | + 200: ModelAndView; | |
927 | 1136 | /** |
928 | 1137 | * @description |
929 | 1138 | * No Content |
... | ... | @@ -944,14 +1153,14 @@ export interface PatchErrorResponse { |
944 | 1153 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; |
945 | 1154 | /** |
946 | 1155 | * @description |
947 | - * error | |
1156 | + * errorHtml | |
948 | 1157 | * @tags basic-error-controller |
949 | - * @produces * | |
1158 | + * @produces text/html | |
950 | 1159 | * @consumes application/json |
951 | 1160 | */ |
952 | 1161 | export const patchError = /* #__PURE__ */ (() => { |
953 | - const method = "patch"; | |
954 | - const url = "/error"; | |
1162 | + const method = 'patch'; | |
1163 | + const url = '/error'; | |
955 | 1164 | function request(): Promise<PatchErrorResponseSuccess> { |
956 | 1165 | return requester(request.url, { |
957 | 1166 | method: request.method, |
... | ... | @@ -1018,10 +1227,10 @@ export type PostKingdeeRepCustomerResponseSuccess = |
1018 | 1227 | * @consumes application/json |
1019 | 1228 | */ |
1020 | 1229 | export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { |
1021 | - const method = "post"; | |
1022 | - const url = "/kingdee/rep/customer"; | |
1230 | + const method = 'post'; | |
1231 | + const url = '/kingdee/rep/customer'; | |
1023 | 1232 | function request( |
1024 | - option: PostKingdeeRepCustomerOption | |
1233 | + option: PostKingdeeRepCustomerOption, | |
1025 | 1234 | ): Promise<PostKingdeeRepCustomerResponseSuccess> { |
1026 | 1235 | return requester(request.url, { |
1027 | 1236 | method: request.method, |
... | ... | @@ -1089,10 +1298,10 @@ export type PostKingdeeRepCustomerDetailResponseSuccess = |
1089 | 1298 | * @consumes application/json |
1090 | 1299 | */ |
1091 | 1300 | export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { |
1092 | - const method = "post"; | |
1093 | - const url = "/kingdee/rep/customerDetail"; | |
1301 | + const method = 'post'; | |
1302 | + const url = '/kingdee/rep/customerDetail'; | |
1094 | 1303 | function request( |
1095 | - option: PostKingdeeRepCustomerDetailOption | |
1304 | + option: PostKingdeeRepCustomerDetailOption, | |
1096 | 1305 | ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> { |
1097 | 1306 | return requester(request.url, { |
1098 | 1307 | method: request.method, |
... | ... | @@ -1160,10 +1369,10 @@ export type PostKingdeeRepCustomerSaveResponseSuccess = |
1160 | 1369 | * @consumes application/json |
1161 | 1370 | */ |
1162 | 1371 | export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { |
1163 | - const method = "post"; | |
1164 | - const url = "/kingdee/rep/customerSave"; | |
1372 | + const method = 'post'; | |
1373 | + const url = '/kingdee/rep/customerSave'; | |
1165 | 1374 | function request( |
1166 | - option: PostKingdeeRepCustomerSaveOption | |
1375 | + option: PostKingdeeRepCustomerSaveOption, | |
1167 | 1376 | ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> { |
1168 | 1377 | return requester(request.url, { |
1169 | 1378 | method: request.method, |
... | ... | @@ -1231,10 +1440,10 @@ export type PostKingdeeRepMaterialResponseSuccess = |
1231 | 1440 | * @consumes application/json |
1232 | 1441 | */ |
1233 | 1442 | export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { |
1234 | - const method = "post"; | |
1235 | - const url = "/kingdee/rep/material"; | |
1443 | + const method = 'post'; | |
1444 | + const url = '/kingdee/rep/material'; | |
1236 | 1445 | function request( |
1237 | - option: PostKingdeeRepMaterialOption | |
1446 | + option: PostKingdeeRepMaterialOption, | |
1238 | 1447 | ): Promise<PostKingdeeRepMaterialResponseSuccess> { |
1239 | 1448 | return requester(request.url, { |
1240 | 1449 | method: request.method, |
... | ... | @@ -1302,10 +1511,10 @@ export type PostKingdeeRepMaterialStockResponseSuccess = |
1302 | 1511 | * @consumes application/json |
1303 | 1512 | */ |
1304 | 1513 | export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { |
1305 | - const method = "post"; | |
1306 | - const url = "/kingdee/rep/materialStock"; | |
1514 | + const method = 'post'; | |
1515 | + const url = '/kingdee/rep/materialStock'; | |
1307 | 1516 | function request( |
1308 | - option: PostKingdeeRepMaterialStockOption | |
1517 | + option: PostKingdeeRepMaterialStockOption, | |
1309 | 1518 | ): Promise<PostKingdeeRepMaterialStockResponseSuccess> { |
1310 | 1519 | return requester(request.url, { |
1311 | 1520 | method: request.method, |
... | ... | @@ -1373,10 +1582,10 @@ export type PostKingdeeRepMaterialUnitResponseSuccess = |
1373 | 1582 | * @consumes application/json |
1374 | 1583 | */ |
1375 | 1584 | export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { |
1376 | - const method = "post"; | |
1377 | - const url = "/kingdee/rep/materialUnit"; | |
1585 | + const method = 'post'; | |
1586 | + const url = '/kingdee/rep/materialUnit'; | |
1378 | 1587 | function request( |
1379 | - option: PostKingdeeRepMaterialUnitOption | |
1588 | + option: PostKingdeeRepMaterialUnitOption, | |
1380 | 1589 | ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> { |
1381 | 1590 | return requester(request.url, { |
1382 | 1591 | method: request.method, |
... | ... | @@ -1444,10 +1653,10 @@ export type PostKingdeeRepMeasureUnitResponseSuccess = |
1444 | 1653 | * @consumes application/json |
1445 | 1654 | */ |
1446 | 1655 | export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { |
1447 | - const method = "post"; | |
1448 | - const url = "/kingdee/rep/measureUnit"; | |
1656 | + const method = 'post'; | |
1657 | + const url = '/kingdee/rep/measureUnit'; | |
1449 | 1658 | function request( |
1450 | - option: PostKingdeeRepMeasureUnitOption | |
1659 | + option: PostKingdeeRepMeasureUnitOption, | |
1451 | 1660 | ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> { |
1452 | 1661 | return requester(request.url, { |
1453 | 1662 | method: request.method, |
... | ... | @@ -1515,10 +1724,10 @@ export type PostKingdeeRepSalBillOutboundResponseSuccess = |
1515 | 1724 | * @consumes application/json |
1516 | 1725 | */ |
1517 | 1726 | export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { |
1518 | - const method = "post"; | |
1519 | - const url = "/kingdee/rep/salBillOutbound"; | |
1727 | + const method = 'post'; | |
1728 | + const url = '/kingdee/rep/salBillOutbound'; | |
1520 | 1729 | function request( |
1521 | - option: PostKingdeeRepSalBillOutboundOption | |
1730 | + option: PostKingdeeRepSalBillOutboundOption, | |
1522 | 1731 | ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> { |
1523 | 1732 | return requester(request.url, { |
1524 | 1733 | method: request.method, |
... | ... | @@ -1586,10 +1795,10 @@ export type PostKingdeeRepSalOrderSaveResponseSuccess = |
1586 | 1795 | * @consumes application/json |
1587 | 1796 | */ |
1588 | 1797 | export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { |
1589 | - const method = "post"; | |
1590 | - const url = "/kingdee/rep/salOrderSave"; | |
1798 | + const method = 'post'; | |
1799 | + const url = '/kingdee/rep/salOrderSave'; | |
1591 | 1800 | function request( |
1592 | - option: PostKingdeeRepSalOrderSaveOption | |
1801 | + option: PostKingdeeRepSalOrderSaveOption, | |
1593 | 1802 | ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> { |
1594 | 1803 | return requester(request.url, { |
1595 | 1804 | method: request.method, |
... | ... | @@ -1657,10 +1866,10 @@ export type PostKingdeeRepSystemCustomFieldResponseSuccess = |
1657 | 1866 | * @consumes application/json |
1658 | 1867 | */ |
1659 | 1868 | export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { |
1660 | - const method = "post"; | |
1661 | - const url = "/kingdee/rep/systemCustomField"; | |
1869 | + const method = 'post'; | |
1870 | + const url = '/kingdee/rep/systemCustomField'; | |
1662 | 1871 | function request( |
1663 | - option: PostKingdeeRepSystemCustomFieldOption | |
1872 | + option: PostKingdeeRepSystemCustomFieldOption, | |
1664 | 1873 | ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> { |
1665 | 1874 | return requester(request.url, { |
1666 | 1875 | method: request.method, |
... | ... | @@ -1728,10 +1937,10 @@ export type PostOfficialWebsiteUploadAliOssResponseSuccess = |
1728 | 1937 | * @consumes application/json |
1729 | 1938 | */ |
1730 | 1939 | export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { |
1731 | - const method = "post"; | |
1732 | - const url = "/official/website/uploadAliOss"; | |
1940 | + const method = 'post'; | |
1941 | + const url = '/official/website/uploadAliOss'; | |
1733 | 1942 | function request( |
1734 | - option: PostOfficialWebsiteUploadAliOssOption | |
1943 | + option: PostOfficialWebsiteUploadAliOssOption, | |
1735 | 1944 | ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> { |
1736 | 1945 | return requester(request.url, { |
1737 | 1946 | method: request.method, |
... | ... | @@ -1799,10 +2008,10 @@ export type PostOrderErpApplyListResponseSuccess = |
1799 | 2008 | * @consumes application/json |
1800 | 2009 | */ |
1801 | 2010 | export const postOrderErpApplyList = /* #__PURE__ */ (() => { |
1802 | - const method = "post"; | |
1803 | - const url = "/order/erp/apply/list"; | |
2011 | + const method = 'post'; | |
2012 | + const url = '/order/erp/apply/list'; | |
1804 | 2013 | function request( |
1805 | - option: PostOrderErpApplyListOption | |
2014 | + option: PostOrderErpApplyListOption, | |
1806 | 2015 | ): Promise<PostOrderErpApplyListResponseSuccess> { |
1807 | 2016 | return requester(request.url, { |
1808 | 2017 | method: request.method, |
... | ... | @@ -1870,10 +2079,10 @@ export type PostOrderErpAuditAuditListResponseSuccess = |
1870 | 2079 | * @consumes application/json |
1871 | 2080 | */ |
1872 | 2081 | export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { |
1873 | - const method = "post"; | |
1874 | - const url = "/order/erp/audit/audit_list"; | |
2082 | + const method = 'post'; | |
2083 | + const url = '/order/erp/audit/audit_list'; | |
1875 | 2084 | function request( |
1876 | - option: PostOrderErpAuditAuditListOption | |
2085 | + option: PostOrderErpAuditAuditListOption, | |
1877 | 2086 | ): Promise<PostOrderErpAuditAuditListResponseSuccess> { |
1878 | 2087 | return requester(request.url, { |
1879 | 2088 | method: request.method, |
... | ... | @@ -1941,10 +2150,10 @@ export type PostOrderErpAuditDoAuditResponseSuccess = |
1941 | 2150 | * @consumes application/json |
1942 | 2151 | */ |
1943 | 2152 | export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { |
1944 | - const method = "post"; | |
1945 | - const url = "/order/erp/audit/do_audit"; | |
2153 | + const method = 'post'; | |
2154 | + const url = '/order/erp/audit/do_audit'; | |
1946 | 2155 | function request( |
1947 | - option: PostOrderErpAuditDoAuditOption | |
2156 | + option: PostOrderErpAuditDoAuditOption, | |
1948 | 2157 | ): Promise<PostOrderErpAuditDoAuditResponseSuccess> { |
1949 | 2158 | return requester(request.url, { |
1950 | 2159 | method: request.method, |
... | ... | @@ -2012,10 +2221,10 @@ export type PostOrderErpAuditListByPageResponseSuccess = |
2012 | 2221 | * @consumes application/json |
2013 | 2222 | */ |
2014 | 2223 | export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { |
2015 | - const method = "post"; | |
2016 | - const url = "/order/erp/audit/list_by_page"; | |
2224 | + const method = 'post'; | |
2225 | + const url = '/order/erp/audit/list_by_page'; | |
2017 | 2226 | function request( |
2018 | - option: PostOrderErpAuditListByPageOption | |
2227 | + option: PostOrderErpAuditListByPageOption, | |
2019 | 2228 | ): Promise<PostOrderErpAuditListByPageResponseSuccess> { |
2020 | 2229 | return requester(request.url, { |
2021 | 2230 | method: request.method, |
... | ... | @@ -2083,10 +2292,10 @@ export type PostOrderErpAuditLogListByPageResponseSuccess = |
2083 | 2292 | * @consumes application/json |
2084 | 2293 | */ |
2085 | 2294 | export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { |
2086 | - const method = "post"; | |
2087 | - const url = "/order/erp/audit/log/list_by_page"; | |
2295 | + const method = 'post'; | |
2296 | + const url = '/order/erp/audit/log/list_by_page'; | |
2088 | 2297 | function request( |
2089 | - option: PostOrderErpAuditLogListByPageOption | |
2298 | + option: PostOrderErpAuditLogListByPageOption, | |
2090 | 2299 | ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> { |
2091 | 2300 | return requester(request.url, { |
2092 | 2301 | method: request.method, |
... | ... | @@ -2154,10 +2363,10 @@ export type PostOrderErpAuditLogQueryByIdResponseSuccess = |
2154 | 2363 | * @consumes application/json |
2155 | 2364 | */ |
2156 | 2365 | export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { |
2157 | - const method = "post"; | |
2158 | - const url = "/order/erp/audit/log/query_by_id"; | |
2366 | + const method = 'post'; | |
2367 | + const url = '/order/erp/audit/log/query_by_id'; | |
2159 | 2368 | function request( |
2160 | - option: PostOrderErpAuditLogQueryByIdOption | |
2369 | + option: PostOrderErpAuditLogQueryByIdOption, | |
2161 | 2370 | ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> { |
2162 | 2371 | return requester(request.url, { |
2163 | 2372 | method: request.method, |
... | ... | @@ -2225,10 +2434,10 @@ export type PostOrderErpAuditWaitAuditListResponseSuccess = |
2225 | 2434 | * @consumes application/json |
2226 | 2435 | */ |
2227 | 2436 | export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { |
2228 | - const method = "post"; | |
2229 | - const url = "/order/erp/audit/wait_audit_list"; | |
2437 | + const method = 'post'; | |
2438 | + const url = '/order/erp/audit/wait_audit_list'; | |
2230 | 2439 | function request( |
2231 | - option: PostOrderErpAuditWaitAuditListOption | |
2440 | + option: PostOrderErpAuditWaitAuditListOption, | |
2232 | 2441 | ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> { |
2233 | 2442 | return requester(request.url, { |
2234 | 2443 | method: request.method, |
... | ... | @@ -2296,10 +2505,10 @@ export type PostOrderErpAuthLoginByPhoneResponseSuccess = |
2296 | 2505 | * @consumes application/json |
2297 | 2506 | */ |
2298 | 2507 | export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { |
2299 | - const method = "post"; | |
2300 | - const url = "/order/erp/auth/login_by_phone"; | |
2508 | + const method = 'post'; | |
2509 | + const url = '/order/erp/auth/login_by_phone'; | |
2301 | 2510 | function request( |
2302 | - option: PostOrderErpAuthLoginByPhoneOption | |
2511 | + option: PostOrderErpAuthLoginByPhoneOption, | |
2303 | 2512 | ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> { |
2304 | 2513 | return requester(request.url, { |
2305 | 2514 | method: request.method, |
... | ... | @@ -2367,10 +2576,10 @@ export type PostOrderErpAuthLoginByPwdResponseSuccess = |
2367 | 2576 | * @consumes application/json |
2368 | 2577 | */ |
2369 | 2578 | export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { |
2370 | - const method = "post"; | |
2371 | - const url = "/order/erp/auth/login_by_pwd"; | |
2579 | + const method = 'post'; | |
2580 | + const url = '/order/erp/auth/login_by_pwd'; | |
2372 | 2581 | function request( |
2373 | - option: PostOrderErpAuthLoginByPwdOption | |
2582 | + option: PostOrderErpAuthLoginByPwdOption, | |
2374 | 2583 | ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> { |
2375 | 2584 | return requester(request.url, { |
2376 | 2585 | method: request.method, |
... | ... | @@ -2424,8 +2633,8 @@ export type PostOrderErpAuthLoginOutResponseSuccess = |
2424 | 2633 | * @consumes application/json |
2425 | 2634 | */ |
2426 | 2635 | export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { |
2427 | - const method = "post"; | |
2428 | - const url = "/order/erp/auth/login_out"; | |
2636 | + const method = 'post'; | |
2637 | + const url = '/order/erp/auth/login_out'; | |
2429 | 2638 | function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> { |
2430 | 2639 | return requester(request.url, { |
2431 | 2640 | method: request.method, |
... | ... | @@ -2492,10 +2701,10 @@ export type PostOrderErpAuthPasswordModifyResponseSuccess = |
2492 | 2701 | * @consumes application/json |
2493 | 2702 | */ |
2494 | 2703 | export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { |
2495 | - const method = "post"; | |
2496 | - const url = "/order/erp/auth/password_modify"; | |
2704 | + const method = 'post'; | |
2705 | + const url = '/order/erp/auth/password_modify'; | |
2497 | 2706 | function request( |
2498 | - option: PostOrderErpAuthPasswordModifyOption | |
2707 | + option: PostOrderErpAuthPasswordModifyOption, | |
2499 | 2708 | ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> { |
2500 | 2709 | return requester(request.url, { |
2501 | 2710 | method: request.method, |
... | ... | @@ -2563,10 +2772,10 @@ export type PostOrderErpAuthPhoneRegisterResponseSuccess = |
2563 | 2772 | * @consumes application/json |
2564 | 2773 | */ |
2565 | 2774 | export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { |
2566 | - const method = "post"; | |
2567 | - const url = "/order/erp/auth/phone_register"; | |
2775 | + const method = 'post'; | |
2776 | + const url = '/order/erp/auth/phone_register'; | |
2568 | 2777 | function request( |
2569 | - option: PostOrderErpAuthPhoneRegisterOption | |
2778 | + option: PostOrderErpAuthPhoneRegisterOption, | |
2570 | 2779 | ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> { |
2571 | 2780 | return requester(request.url, { |
2572 | 2781 | method: request.method, |
... | ... | @@ -2634,10 +2843,10 @@ export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess = |
2634 | 2843 | * @consumes application/json |
2635 | 2844 | */ |
2636 | 2845 | export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { |
2637 | - const method = "post"; | |
2638 | - const url = "/order/erp/auth/send_password_recover_mail"; | |
2846 | + const method = 'post'; | |
2847 | + const url = '/order/erp/auth/send_password_recover_mail'; | |
2639 | 2848 | function request( |
2640 | - option: PostOrderErpAuthSendPasswordRecoverMailOption | |
2849 | + option: PostOrderErpAuthSendPasswordRecoverMailOption, | |
2641 | 2850 | ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> { |
2642 | 2851 | return requester(request.url, { |
2643 | 2852 | method: request.method, |
... | ... | @@ -2705,10 +2914,10 @@ export type PostOrderErpAuthTokenResponseSuccess = |
2705 | 2914 | * @consumes application/json |
2706 | 2915 | */ |
2707 | 2916 | export const postOrderErpAuthToken = /* #__PURE__ */ (() => { |
2708 | - const method = "post"; | |
2709 | - const url = "/order/erp/auth/token"; | |
2917 | + const method = 'post'; | |
2918 | + const url = '/order/erp/auth/token'; | |
2710 | 2919 | function request( |
2711 | - option: PostOrderErpAuthTokenOption | |
2920 | + option: PostOrderErpAuthTokenOption, | |
2712 | 2921 | ): Promise<PostOrderErpAuthTokenResponseSuccess> { |
2713 | 2922 | return requester(request.url, { |
2714 | 2923 | method: request.method, |
... | ... | @@ -2762,8 +2971,8 @@ export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess = |
2762 | 2971 | * @consumes application/json |
2763 | 2972 | */ |
2764 | 2973 | export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { |
2765 | - const method = "post"; | |
2766 | - const url = "/order/erp/captcha/get_img_captcha_code"; | |
2974 | + const method = 'post'; | |
2975 | + const url = '/order/erp/captcha/get_img_captcha_code'; | |
2767 | 2976 | function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> { |
2768 | 2977 | return requester(request.url, { |
2769 | 2978 | method: request.method, |
... | ... | @@ -2830,10 +3039,10 @@ export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess = |
2830 | 3039 | * @consumes application/json |
2831 | 3040 | */ |
2832 | 3041 | export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { |
2833 | - const method = "post"; | |
2834 | - const url = "/order/erp/captcha/send_captcha_code"; | |
3042 | + const method = 'post'; | |
3043 | + const url = '/order/erp/captcha/send_captcha_code'; | |
2835 | 3044 | function request( |
2836 | - option: PostOrderErpCaptchaSendCaptchaCodeOption | |
3045 | + option: PostOrderErpCaptchaSendCaptchaCodeOption, | |
2837 | 3046 | ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> { |
2838 | 3047 | return requester(request.url, { |
2839 | 3048 | method: request.method, |
... | ... | @@ -2900,10 +3109,10 @@ export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200]; |
2900 | 3109 | * @consumes application/json |
2901 | 3110 | */ |
2902 | 3111 | export const putOrderErpDepts = /* #__PURE__ */ (() => { |
2903 | - const method = "put"; | |
2904 | - const url = "/order/erp/depts"; | |
3112 | + const method = 'put'; | |
3113 | + const url = '/order/erp/depts'; | |
2905 | 3114 | function request( |
2906 | - option: PutOrderErpDeptsOption | |
3115 | + option: PutOrderErpDeptsOption, | |
2907 | 3116 | ): Promise<PutOrderErpDeptsResponseSuccess> { |
2908 | 3117 | return requester(request.url, { |
2909 | 3118 | method: request.method, |
... | ... | @@ -2965,10 +3174,10 @@ export type DeleteOrderErpDeptsResponseSuccess = |
2965 | 3174 | * @produces * |
2966 | 3175 | */ |
2967 | 3176 | export const deleteOrderErpDepts = /* #__PURE__ */ (() => { |
2968 | - const method = "delete"; | |
2969 | - const url = "/order/erp/depts"; | |
3177 | + const method = 'delete'; | |
3178 | + const url = '/order/erp/depts'; | |
2970 | 3179 | function request( |
2971 | - option: DeleteOrderErpDeptsOption | |
3180 | + option: DeleteOrderErpDeptsOption, | |
2972 | 3181 | ): Promise<DeleteOrderErpDeptsResponseSuccess> { |
2973 | 3182 | return requester(request.url, { |
2974 | 3183 | method: request.method, |
... | ... | @@ -3036,10 +3245,10 @@ export type PostOrderErpDeptsAddResponseSuccess = |
3036 | 3245 | * @consumes application/json |
3037 | 3246 | */ |
3038 | 3247 | export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { |
3039 | - const method = "post"; | |
3040 | - const url = "/order/erp/depts/add"; | |
3248 | + const method = 'post'; | |
3249 | + const url = '/order/erp/depts/add'; | |
3041 | 3250 | function request( |
3042 | - option: PostOrderErpDeptsAddOption | |
3251 | + option: PostOrderErpDeptsAddOption, | |
3043 | 3252 | ): Promise<PostOrderErpDeptsAddResponseSuccess> { |
3044 | 3253 | return requester(request.url, { |
3045 | 3254 | method: request.method, |
... | ... | @@ -3107,10 +3316,10 @@ export type PostOrderErpDeptsListByPageResponseSuccess = |
3107 | 3316 | * @consumes application/json |
3108 | 3317 | */ |
3109 | 3318 | export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { |
3110 | - const method = "post"; | |
3111 | - const url = "/order/erp/depts/list_by_page"; | |
3319 | + const method = 'post'; | |
3320 | + const url = '/order/erp/depts/list_by_page'; | |
3112 | 3321 | function request( |
3113 | - option: PostOrderErpDeptsListByPageOption | |
3322 | + option: PostOrderErpDeptsListByPageOption, | |
3114 | 3323 | ): Promise<PostOrderErpDeptsListByPageResponseSuccess> { |
3115 | 3324 | return requester(request.url, { |
3116 | 3325 | method: request.method, |
... | ... | @@ -3178,10 +3387,10 @@ export type PostOrderErpDictionaryAddResponseSuccess = |
3178 | 3387 | * @consumes application/json |
3179 | 3388 | */ |
3180 | 3389 | export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { |
3181 | - const method = "post"; | |
3182 | - const url = "/order/erp/dictionary/add"; | |
3390 | + const method = 'post'; | |
3391 | + const url = '/order/erp/dictionary/add'; | |
3183 | 3392 | function request( |
3184 | - option: PostOrderErpDictionaryAddOption | |
3393 | + option: PostOrderErpDictionaryAddOption, | |
3185 | 3394 | ): Promise<PostOrderErpDictionaryAddResponseSuccess> { |
3186 | 3395 | return requester(request.url, { |
3187 | 3396 | method: request.method, |
... | ... | @@ -3249,10 +3458,10 @@ export type PostOrderErpDictionaryDeleteResponseSuccess = |
3249 | 3458 | * @consumes application/json |
3250 | 3459 | */ |
3251 | 3460 | export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { |
3252 | - const method = "post"; | |
3253 | - const url = "/order/erp/dictionary/delete"; | |
3461 | + const method = 'post'; | |
3462 | + const url = '/order/erp/dictionary/delete'; | |
3254 | 3463 | function request( |
3255 | - option: PostOrderErpDictionaryDeleteOption | |
3464 | + option: PostOrderErpDictionaryDeleteOption, | |
3256 | 3465 | ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> { |
3257 | 3466 | return requester(request.url, { |
3258 | 3467 | method: request.method, |
... | ... | @@ -3320,10 +3529,10 @@ export type PostOrderErpDictionaryEditResponseSuccess = |
3320 | 3529 | * @consumes application/json |
3321 | 3530 | */ |
3322 | 3531 | export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { |
3323 | - const method = "post"; | |
3324 | - const url = "/order/erp/dictionary/edit"; | |
3532 | + const method = 'post'; | |
3533 | + const url = '/order/erp/dictionary/edit'; | |
3325 | 3534 | function request( |
3326 | - option: PostOrderErpDictionaryEditOption | |
3535 | + option: PostOrderErpDictionaryEditOption, | |
3327 | 3536 | ): Promise<PostOrderErpDictionaryEditResponseSuccess> { |
3328 | 3537 | return requester(request.url, { |
3329 | 3538 | method: request.method, |
... | ... | @@ -3391,10 +3600,10 @@ export type PostOrderErpDictionaryGetAllResponseSuccess = |
3391 | 3600 | * @consumes application/json |
3392 | 3601 | */ |
3393 | 3602 | export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { |
3394 | - const method = "post"; | |
3395 | - const url = "/order/erp/dictionary/get_all"; | |
3603 | + const method = 'post'; | |
3604 | + const url = '/order/erp/dictionary/get_all'; | |
3396 | 3605 | function request( |
3397 | - option: PostOrderErpDictionaryGetAllOption | |
3606 | + option: PostOrderErpDictionaryGetAllOption, | |
3398 | 3607 | ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> { |
3399 | 3608 | return requester(request.url, { |
3400 | 3609 | method: request.method, |
... | ... | @@ -3462,10 +3671,10 @@ export type PostOrderErpDictionaryListByPageResponseSuccess = |
3462 | 3671 | * @consumes application/json |
3463 | 3672 | */ |
3464 | 3673 | export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { |
3465 | - const method = "post"; | |
3466 | - const url = "/order/erp/dictionary/list_by_page"; | |
3674 | + const method = 'post'; | |
3675 | + const url = '/order/erp/dictionary/list_by_page'; | |
3467 | 3676 | function request( |
3468 | - option: PostOrderErpDictionaryListByPageOption | |
3677 | + option: PostOrderErpDictionaryListByPageOption, | |
3469 | 3678 | ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> { |
3470 | 3679 | return requester(request.url, { |
3471 | 3680 | method: request.method, |
... | ... | @@ -3513,8 +3722,8 @@ export type GetOrderErpIndexChartDataResponseSuccess = |
3513 | 3722 | * @produces * |
3514 | 3723 | */ |
3515 | 3724 | export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { |
3516 | - const method = "get"; | |
3517 | - const url = "/order/erp/index/chartData"; | |
3725 | + const method = 'get'; | |
3726 | + const url = '/order/erp/index/chartData'; | |
3518 | 3727 | function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> { |
3519 | 3728 | return requester(request.url, { |
3520 | 3729 | method: request.method, |
... | ... | @@ -3561,8 +3770,8 @@ export type GetOrderErpIndexDataResponseSuccess = |
3561 | 3770 | * @produces * |
3562 | 3771 | */ |
3563 | 3772 | export const getOrderErpIndexData = /* #__PURE__ */ (() => { |
3564 | - const method = "get"; | |
3565 | - const url = "/order/erp/index/data"; | |
3773 | + const method = 'get'; | |
3774 | + const url = '/order/erp/index/data'; | |
3566 | 3775 | function request(): Promise<GetOrderErpIndexDataResponseSuccess> { |
3567 | 3776 | return requester(request.url, { |
3568 | 3777 | method: request.method, |
... | ... | @@ -3629,10 +3838,10 @@ export type PostOrderErpJobsAddResponseSuccess = |
3629 | 3838 | * @consumes application/json |
3630 | 3839 | */ |
3631 | 3840 | export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { |
3632 | - const method = "post"; | |
3633 | - const url = "/order/erp/jobs/add"; | |
3841 | + const method = 'post'; | |
3842 | + const url = '/order/erp/jobs/add'; | |
3634 | 3843 | function request( |
3635 | - option: PostOrderErpJobsAddOption | |
3844 | + option: PostOrderErpJobsAddOption, | |
3636 | 3845 | ): Promise<PostOrderErpJobsAddResponseSuccess> { |
3637 | 3846 | return requester(request.url, { |
3638 | 3847 | method: request.method, |
... | ... | @@ -3700,10 +3909,10 @@ export type PostOrderErpJobsDeleteResponseSuccess = |
3700 | 3909 | * @consumes application/json |
3701 | 3910 | */ |
3702 | 3911 | export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { |
3703 | - const method = "post"; | |
3704 | - const url = "/order/erp/jobs/delete"; | |
3912 | + const method = 'post'; | |
3913 | + const url = '/order/erp/jobs/delete'; | |
3705 | 3914 | function request( |
3706 | - option: PostOrderErpJobsDeleteOption | |
3915 | + option: PostOrderErpJobsDeleteOption, | |
3707 | 3916 | ): Promise<PostOrderErpJobsDeleteResponseSuccess> { |
3708 | 3917 | return requester(request.url, { |
3709 | 3918 | method: request.method, |
... | ... | @@ -3771,10 +3980,10 @@ export type PostOrderErpJobsEditResponseSuccess = |
3771 | 3980 | * @consumes application/json |
3772 | 3981 | */ |
3773 | 3982 | export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { |
3774 | - const method = "post"; | |
3775 | - const url = "/order/erp/jobs/edit"; | |
3983 | + const method = 'post'; | |
3984 | + const url = '/order/erp/jobs/edit'; | |
3776 | 3985 | function request( |
3777 | - option: PostOrderErpJobsEditOption | |
3986 | + option: PostOrderErpJobsEditOption, | |
3778 | 3987 | ): Promise<PostOrderErpJobsEditResponseSuccess> { |
3779 | 3988 | return requester(request.url, { |
3780 | 3989 | method: request.method, |
... | ... | @@ -3842,10 +4051,10 @@ export type PostOrderErpJobsListByPageResponseSuccess = |
3842 | 4051 | * @consumes application/json |
3843 | 4052 | */ |
3844 | 4053 | export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { |
3845 | - const method = "post"; | |
3846 | - const url = "/order/erp/jobs/list_by_page"; | |
4054 | + const method = 'post'; | |
4055 | + const url = '/order/erp/jobs/list_by_page'; | |
3847 | 4056 | function request( |
3848 | - option: PostOrderErpJobsListByPageOption | |
4057 | + option: PostOrderErpJobsListByPageOption, | |
3849 | 4058 | ): Promise<PostOrderErpJobsListByPageResponseSuccess> { |
3850 | 4059 | return requester(request.url, { |
3851 | 4060 | method: request.method, |
... | ... | @@ -3913,10 +4122,10 @@ export type PostOrderErpLogsListResponseSuccess = |
3913 | 4122 | * @consumes application/json |
3914 | 4123 | */ |
3915 | 4124 | export const postOrderErpLogsList = /* #__PURE__ */ (() => { |
3916 | - const method = "post"; | |
3917 | - const url = "/order/erp/logs/list"; | |
4125 | + const method = 'post'; | |
4126 | + const url = '/order/erp/logs/list'; | |
3918 | 4127 | function request( |
3919 | - option: PostOrderErpLogsListOption | |
4128 | + option: PostOrderErpLogsListOption, | |
3920 | 4129 | ): Promise<PostOrderErpLogsListResponseSuccess> { |
3921 | 4130 | return requester(request.url, { |
3922 | 4131 | method: request.method, |
... | ... | @@ -3984,10 +4193,10 @@ export type PostOrderErpMenusAddResponseSuccess = |
3984 | 4193 | * @consumes application/json |
3985 | 4194 | */ |
3986 | 4195 | export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { |
3987 | - const method = "post"; | |
3988 | - const url = "/order/erp/menus/add"; | |
4196 | + const method = 'post'; | |
4197 | + const url = '/order/erp/menus/add'; | |
3989 | 4198 | function request( |
3990 | - option: PostOrderErpMenusAddOption | |
4199 | + option: PostOrderErpMenusAddOption, | |
3991 | 4200 | ): Promise<PostOrderErpMenusAddResponseSuccess> { |
3992 | 4201 | return requester(request.url, { |
3993 | 4202 | method: request.method, |
... | ... | @@ -4055,10 +4264,10 @@ export type PostOrderErpMenusAllResponseSuccess = |
4055 | 4264 | * @consumes application/json |
4056 | 4265 | */ |
4057 | 4266 | export const postOrderErpMenusAll = /* #__PURE__ */ (() => { |
4058 | - const method = "post"; | |
4059 | - const url = "/order/erp/menus/all"; | |
4267 | + const method = 'post'; | |
4268 | + const url = '/order/erp/menus/all'; | |
4060 | 4269 | function request( |
4061 | - option: PostOrderErpMenusAllOption | |
4270 | + option: PostOrderErpMenusAllOption, | |
4062 | 4271 | ): Promise<PostOrderErpMenusAllResponseSuccess> { |
4063 | 4272 | return requester(request.url, { |
4064 | 4273 | method: request.method, |
... | ... | @@ -4112,8 +4321,8 @@ export type PostOrderErpMenusBuildResponseSuccess = |
4112 | 4321 | * @consumes application/json |
4113 | 4322 | */ |
4114 | 4323 | export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { |
4115 | - const method = "post"; | |
4116 | - const url = "/order/erp/menus/build"; | |
4324 | + const method = 'post'; | |
4325 | + const url = '/order/erp/menus/build'; | |
4117 | 4326 | function request(): Promise<PostOrderErpMenusBuildResponseSuccess> { |
4118 | 4327 | return requester(request.url, { |
4119 | 4328 | method: request.method, |
... | ... | @@ -4180,10 +4389,10 @@ export type PostOrderErpMenusDeleteResponseSuccess = |
4180 | 4389 | * @consumes application/json |
4181 | 4390 | */ |
4182 | 4391 | export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { |
4183 | - const method = "post"; | |
4184 | - const url = "/order/erp/menus/delete"; | |
4392 | + const method = 'post'; | |
4393 | + const url = '/order/erp/menus/delete'; | |
4185 | 4394 | function request( |
4186 | - option: PostOrderErpMenusDeleteOption | |
4395 | + option: PostOrderErpMenusDeleteOption, | |
4187 | 4396 | ): Promise<PostOrderErpMenusDeleteResponseSuccess> { |
4188 | 4397 | return requester(request.url, { |
4189 | 4398 | method: request.method, |
... | ... | @@ -4251,10 +4460,10 @@ export type PostOrderErpMenusEditResponseSuccess = |
4251 | 4460 | * @consumes application/json |
4252 | 4461 | */ |
4253 | 4462 | export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { |
4254 | - const method = "post"; | |
4255 | - const url = "/order/erp/menus/edit"; | |
4463 | + const method = 'post'; | |
4464 | + const url = '/order/erp/menus/edit'; | |
4256 | 4465 | function request( |
4257 | - option: PostOrderErpMenusEditOption | |
4466 | + option: PostOrderErpMenusEditOption, | |
4258 | 4467 | ): Promise<PostOrderErpMenusEditResponseSuccess> { |
4259 | 4468 | return requester(request.url, { |
4260 | 4469 | method: request.method, |
... | ... | @@ -4308,8 +4517,8 @@ export type PostOrderErpMenusTreeResponseSuccess = |
4308 | 4517 | * @consumes application/json |
4309 | 4518 | */ |
4310 | 4519 | export const postOrderErpMenusTree = /* #__PURE__ */ (() => { |
4311 | - const method = "post"; | |
4312 | - const url = "/order/erp/menus/tree"; | |
4520 | + const method = 'post'; | |
4521 | + const url = '/order/erp/menus/tree'; | |
4313 | 4522 | function request(): Promise<PostOrderErpMenusTreeResponseSuccess> { |
4314 | 4523 | return requester(request.url, { |
4315 | 4524 | method: request.method, |
... | ... | @@ -4362,8 +4571,8 @@ export type PostOrderErpMessageGetUnreadNumResponseSuccess = |
4362 | 4571 | * @consumes application/json |
4363 | 4572 | */ |
4364 | 4573 | export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { |
4365 | - const method = "post"; | |
4366 | - const url = "/order/erp/message/getUnreadNum"; | |
4574 | + const method = 'post'; | |
4575 | + const url = '/order/erp/message/getUnreadNum'; | |
4367 | 4576 | function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> { |
4368 | 4577 | return requester(request.url, { |
4369 | 4578 | method: request.method, |
... | ... | @@ -4430,10 +4639,10 @@ export type PostOrderErpMessageQueryMyMessageResponseSuccess = |
4430 | 4639 | * @consumes application/json |
4431 | 4640 | */ |
4432 | 4641 | export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { |
4433 | - const method = "post"; | |
4434 | - const url = "/order/erp/message/queryMyMessage"; | |
4642 | + const method = 'post'; | |
4643 | + const url = '/order/erp/message/queryMyMessage'; | |
4435 | 4644 | function request( |
4436 | - option: PostOrderErpMessageQueryMyMessageOption | |
4645 | + option: PostOrderErpMessageQueryMyMessageOption, | |
4437 | 4646 | ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> { |
4438 | 4647 | return requester(request.url, { |
4439 | 4648 | method: request.method, |
... | ... | @@ -4501,10 +4710,10 @@ export type PostOrderErpMessageReadResponseSuccess = |
4501 | 4710 | * @consumes application/json |
4502 | 4711 | */ |
4503 | 4712 | export const postOrderErpMessageRead = /* #__PURE__ */ (() => { |
4504 | - const method = "post"; | |
4505 | - const url = "/order/erp/message/read"; | |
4713 | + const method = 'post'; | |
4714 | + const url = '/order/erp/message/read'; | |
4506 | 4715 | function request( |
4507 | - option: PostOrderErpMessageReadOption | |
4716 | + option: PostOrderErpMessageReadOption, | |
4508 | 4717 | ): Promise<PostOrderErpMessageReadResponseSuccess> { |
4509 | 4718 | return requester(request.url, { |
4510 | 4719 | method: request.method, |
... | ... | @@ -4558,8 +4767,8 @@ export type PostOrderErpMessageReadAllResponseSuccess = |
4558 | 4767 | * @consumes application/json |
4559 | 4768 | */ |
4560 | 4769 | export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { |
4561 | - const method = "post"; | |
4562 | - const url = "/order/erp/message/readAll"; | |
4770 | + const method = 'post'; | |
4771 | + const url = '/order/erp/message/readAll'; | |
4563 | 4772 | function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> { |
4564 | 4773 | return requester(request.url, { |
4565 | 4774 | method: request.method, |
... | ... | @@ -4626,10 +4835,10 @@ export type PostOrderErpOptLogListByPageResponseSuccess = |
4626 | 4835 | * @consumes application/json |
4627 | 4836 | */ |
4628 | 4837 | export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { |
4629 | - const method = "post"; | |
4630 | - const url = "/order/erp/opt/log/list_by_page"; | |
4838 | + const method = 'post'; | |
4839 | + const url = '/order/erp/opt/log/list_by_page'; | |
4631 | 4840 | function request( |
4632 | - option: PostOrderErpOptLogListByPageOption | |
4841 | + option: PostOrderErpOptLogListByPageOption, | |
4633 | 4842 | ): Promise<PostOrderErpOptLogListByPageResponseSuccess> { |
4634 | 4843 | return requester(request.url, { |
4635 | 4844 | method: request.method, |
... | ... | @@ -4697,10 +4906,10 @@ export type PostOrderErpOrderAddResponseSuccess = |
4697 | 4906 | * @consumes application/json |
4698 | 4907 | */ |
4699 | 4908 | export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { |
4700 | - const method = "post"; | |
4701 | - const url = "/order/erp/order/add"; | |
4909 | + const method = 'post'; | |
4910 | + const url = '/order/erp/order/add'; | |
4702 | 4911 | function request( |
4703 | - option: PostOrderErpOrderAddOption | |
4912 | + option: PostOrderErpOrderAddOption, | |
4704 | 4913 | ): Promise<PostOrderErpOrderAddResponseSuccess> { |
4705 | 4914 | return requester(request.url, { |
4706 | 4915 | method: request.method, |
... | ... | @@ -4768,10 +4977,10 @@ export type PostOrderErpOrderDeleteByIdResponseSuccess = |
4768 | 4977 | * @consumes application/json |
4769 | 4978 | */ |
4770 | 4979 | export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { |
4771 | - const method = "post"; | |
4772 | - const url = "/order/erp/order/delete_by_id"; | |
4980 | + const method = 'post'; | |
4981 | + const url = '/order/erp/order/delete_by_id'; | |
4773 | 4982 | function request( |
4774 | - option: PostOrderErpOrderDeleteByIdOption | |
4983 | + option: PostOrderErpOrderDeleteByIdOption, | |
4775 | 4984 | ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> { |
4776 | 4985 | return requester(request.url, { |
4777 | 4986 | method: request.method, |
... | ... | @@ -4839,10 +5048,10 @@ export type PostOrderErpOrderEditResponseSuccess = |
4839 | 5048 | * @consumes application/json |
4840 | 5049 | */ |
4841 | 5050 | export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { |
4842 | - const method = "post"; | |
4843 | - const url = "/order/erp/order/edit"; | |
5051 | + const method = 'post'; | |
5052 | + const url = '/order/erp/order/edit'; | |
4844 | 5053 | function request( |
4845 | - option: PostOrderErpOrderEditOption | |
5054 | + option: PostOrderErpOrderEditOption, | |
4846 | 5055 | ): Promise<PostOrderErpOrderEditResponseSuccess> { |
4847 | 5056 | return requester(request.url, { |
4848 | 5057 | method: request.method, |
... | ... | @@ -4910,10 +5119,10 @@ export type PostOrderErpOrderExportResponseSuccess = |
4910 | 5119 | * @consumes application/json |
4911 | 5120 | */ |
4912 | 5121 | export const postOrderErpOrderExport = /* #__PURE__ */ (() => { |
4913 | - const method = "post"; | |
4914 | - const url = "/order/erp/order/export"; | |
5122 | + const method = 'post'; | |
5123 | + const url = '/order/erp/order/export'; | |
4915 | 5124 | function request( |
4916 | - option: PostOrderErpOrderExportOption | |
5125 | + option: PostOrderErpOrderExportOption, | |
4917 | 5126 | ): Promise<PostOrderErpOrderExportResponseSuccess> { |
4918 | 5127 | return requester(request.url, { |
4919 | 5128 | method: request.method, |
... | ... | @@ -4981,10 +5190,10 @@ export type PostOrderErpOrderFieldUnlockApplyResponseSuccess = |
4981 | 5190 | * @consumes application/json |
4982 | 5191 | */ |
4983 | 5192 | export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { |
4984 | - const method = "post"; | |
4985 | - const url = "/order/erp/order/field_unlock_apply"; | |
5193 | + const method = 'post'; | |
5194 | + const url = '/order/erp/order/field_unlock_apply'; | |
4986 | 5195 | function request( |
4987 | - option: PostOrderErpOrderFieldUnlockApplyOption | |
5196 | + option: PostOrderErpOrderFieldUnlockApplyOption, | |
4988 | 5197 | ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> { |
4989 | 5198 | return requester(request.url, { |
4990 | 5199 | method: request.method, |
... | ... | @@ -5052,10 +5261,10 @@ export type PostOrderErpOrderListByPageResponseSuccess = |
5052 | 5261 | * @consumes application/json |
5053 | 5262 | */ |
5054 | 5263 | export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { |
5055 | - const method = "post"; | |
5056 | - const url = "/order/erp/order/list_by_page"; | |
5264 | + const method = 'post'; | |
5265 | + const url = '/order/erp/order/list_by_page'; | |
5057 | 5266 | function request( |
5058 | - option: PostOrderErpOrderListByPageOption | |
5267 | + option: PostOrderErpOrderListByPageOption, | |
5059 | 5268 | ): Promise<PostOrderErpOrderListByPageResponseSuccess> { |
5060 | 5269 | return requester(request.url, { |
5061 | 5270 | method: request.method, |
... | ... | @@ -5123,10 +5332,10 @@ export type PostOrderErpOrderQueryByIdResponseSuccess = |
5123 | 5332 | * @consumes application/json |
5124 | 5333 | */ |
5125 | 5334 | export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { |
5126 | - const method = "post"; | |
5127 | - const url = "/order/erp/order/query_by_id"; | |
5335 | + const method = 'post'; | |
5336 | + const url = '/order/erp/order/query_by_id'; | |
5128 | 5337 | function request( |
5129 | - option: PostOrderErpOrderQueryByIdOption | |
5338 | + option: PostOrderErpOrderQueryByIdOption, | |
5130 | 5339 | ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> { |
5131 | 5340 | return requester(request.url, { |
5132 | 5341 | method: request.method, |
... | ... | @@ -5194,10 +5403,10 @@ export type PostOrderErpProfitAnalysisResponseSuccess = |
5194 | 5403 | * @consumes application/json |
5195 | 5404 | */ |
5196 | 5405 | export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { |
5197 | - const method = "post"; | |
5198 | - const url = "/order/erp/profit/analysis"; | |
5406 | + const method = 'post'; | |
5407 | + const url = '/order/erp/profit/analysis'; | |
5199 | 5408 | function request( |
5200 | - option: PostOrderErpProfitAnalysisOption | |
5409 | + option: PostOrderErpProfitAnalysisOption, | |
5201 | 5410 | ): Promise<PostOrderErpProfitAnalysisResponseSuccess> { |
5202 | 5411 | return requester(request.url, { |
5203 | 5412 | method: request.method, |
... | ... | @@ -5265,10 +5474,10 @@ export type PostOrderErpRolesAddResponseSuccess = |
5265 | 5474 | * @consumes application/json |
5266 | 5475 | */ |
5267 | 5476 | export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { |
5268 | - const method = "post"; | |
5269 | - const url = "/order/erp/roles/add"; | |
5477 | + const method = 'post'; | |
5478 | + const url = '/order/erp/roles/add'; | |
5270 | 5479 | function request( |
5271 | - option: PostOrderErpRolesAddOption | |
5480 | + option: PostOrderErpRolesAddOption, | |
5272 | 5481 | ): Promise<PostOrderErpRolesAddResponseSuccess> { |
5273 | 5482 | return requester(request.url, { |
5274 | 5483 | method: request.method, |
... | ... | @@ -5336,10 +5545,10 @@ export type PostOrderErpRolesAllResponseSuccess = |
5336 | 5545 | * @consumes application/json |
5337 | 5546 | */ |
5338 | 5547 | export const postOrderErpRolesAll = /* #__PURE__ */ (() => { |
5339 | - const method = "post"; | |
5340 | - const url = "/order/erp/roles/all"; | |
5548 | + const method = 'post'; | |
5549 | + const url = '/order/erp/roles/all'; | |
5341 | 5550 | function request( |
5342 | - option: PostOrderErpRolesAllOption | |
5551 | + option: PostOrderErpRolesAllOption, | |
5343 | 5552 | ): Promise<PostOrderErpRolesAllResponseSuccess> { |
5344 | 5553 | return requester(request.url, { |
5345 | 5554 | method: request.method, |
... | ... | @@ -5407,10 +5616,10 @@ export type PostOrderErpRolesAuthMenuResponseSuccess = |
5407 | 5616 | * @consumes application/json |
5408 | 5617 | */ |
5409 | 5618 | export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { |
5410 | - const method = "post"; | |
5411 | - const url = "/order/erp/roles/auth_menu"; | |
5619 | + const method = 'post'; | |
5620 | + const url = '/order/erp/roles/auth_menu'; | |
5412 | 5621 | function request( |
5413 | - option: PostOrderErpRolesAuthMenuOption | |
5622 | + option: PostOrderErpRolesAuthMenuOption, | |
5414 | 5623 | ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> { |
5415 | 5624 | return requester(request.url, { |
5416 | 5625 | method: request.method, |
... | ... | @@ -5478,10 +5687,10 @@ export type PostOrderErpRolesDeleteResponseSuccess = |
5478 | 5687 | * @consumes application/json |
5479 | 5688 | */ |
5480 | 5689 | export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { |
5481 | - const method = "post"; | |
5482 | - const url = "/order/erp/roles/delete"; | |
5690 | + const method = 'post'; | |
5691 | + const url = '/order/erp/roles/delete'; | |
5483 | 5692 | function request( |
5484 | - option: PostOrderErpRolesDeleteOption | |
5693 | + option: PostOrderErpRolesDeleteOption, | |
5485 | 5694 | ): Promise<PostOrderErpRolesDeleteResponseSuccess> { |
5486 | 5695 | return requester(request.url, { |
5487 | 5696 | method: request.method, |
... | ... | @@ -5549,10 +5758,10 @@ export type PostOrderErpRolesDetailResponseSuccess = |
5549 | 5758 | * @consumes application/json |
5550 | 5759 | */ |
5551 | 5760 | export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { |
5552 | - const method = "post"; | |
5553 | - const url = "/order/erp/roles/detail"; | |
5761 | + const method = 'post'; | |
5762 | + const url = '/order/erp/roles/detail'; | |
5554 | 5763 | function request( |
5555 | - option: PostOrderErpRolesDetailOption | |
5764 | + option: PostOrderErpRolesDetailOption, | |
5556 | 5765 | ): Promise<PostOrderErpRolesDetailResponseSuccess> { |
5557 | 5766 | return requester(request.url, { |
5558 | 5767 | method: request.method, |
... | ... | @@ -5620,10 +5829,10 @@ export type PostOrderErpRolesEditResponseSuccess = |
5620 | 5829 | * @consumes application/json |
5621 | 5830 | */ |
5622 | 5831 | export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { |
5623 | - const method = "post"; | |
5624 | - const url = "/order/erp/roles/edit"; | |
5832 | + const method = 'post'; | |
5833 | + const url = '/order/erp/roles/edit'; | |
5625 | 5834 | function request( |
5626 | - option: PostOrderErpRolesEditOption | |
5835 | + option: PostOrderErpRolesEditOption, | |
5627 | 5836 | ): Promise<PostOrderErpRolesEditResponseSuccess> { |
5628 | 5837 | return requester(request.url, { |
5629 | 5838 | method: request.method, |
... | ... | @@ -5691,10 +5900,10 @@ export type PostOrderErpRolesListByPageResponseSuccess = |
5691 | 5900 | * @consumes application/json |
5692 | 5901 | */ |
5693 | 5902 | export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { |
5694 | - const method = "post"; | |
5695 | - const url = "/order/erp/roles/list_by_page"; | |
5903 | + const method = 'post'; | |
5904 | + const url = '/order/erp/roles/list_by_page'; | |
5696 | 5905 | function request( |
5697 | - option: PostOrderErpRolesListByPageOption | |
5906 | + option: PostOrderErpRolesListByPageOption, | |
5698 | 5907 | ): Promise<PostOrderErpRolesListByPageResponseSuccess> { |
5699 | 5908 | return requester(request.url, { |
5700 | 5909 | method: request.method, |
... | ... | @@ -5762,10 +5971,10 @@ export type PostOrderErpUsersAddResponseSuccess = |
5762 | 5971 | * @consumes application/json |
5763 | 5972 | */ |
5764 | 5973 | export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { |
5765 | - const method = "post"; | |
5766 | - const url = "/order/erp/users/add"; | |
5974 | + const method = 'post'; | |
5975 | + const url = '/order/erp/users/add'; | |
5767 | 5976 | function request( |
5768 | - option: PostOrderErpUsersAddOption | |
5977 | + option: PostOrderErpUsersAddOption, | |
5769 | 5978 | ): Promise<PostOrderErpUsersAddResponseSuccess> { |
5770 | 5979 | return requester(request.url, { |
5771 | 5980 | method: request.method, |
... | ... | @@ -5833,15 +6042,370 @@ export type PostOrderErpUsersAuthRoleResponseSuccess = |
5833 | 6042 | * @consumes application/json |
5834 | 6043 | */ |
5835 | 6044 | export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { |
5836 | - const method = "post"; | |
5837 | - const url = "/order/erp/users/auth_role"; | |
6045 | + const method = 'post'; | |
6046 | + const url = '/order/erp/users/auth_role'; | |
5838 | 6047 | function request( |
5839 | - option: PostOrderErpUsersAuthRoleOption | |
6048 | + option: PostOrderErpUsersAuthRoleOption, | |
5840 | 6049 | ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> { |
5841 | 6050 | return requester(request.url, { |
5842 | 6051 | method: request.method, |
5843 | 6052 | ...option, |
5844 | - }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>; | |
6053 | + }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>; | |
6054 | + } | |
6055 | + | |
6056 | + /** http method */ | |
6057 | + request.method = method; | |
6058 | + /** request url */ | |
6059 | + request.url = url; | |
6060 | + return request; | |
6061 | +})(); | |
6062 | + | |
6063 | +/** @description request parameter type for postOrderErpUsersDelete */ | |
6064 | +export interface PostOrderErpUsersDeleteOption { | |
6065 | + /** | |
6066 | + * @description | |
6067 | + * queryVO | |
6068 | + */ | |
6069 | + body: { | |
6070 | + /** | |
6071 | + @description | |
6072 | + queryVO */ | |
6073 | + queryVO: AdminUserQueryVO; | |
6074 | + }; | |
6075 | +} | |
6076 | + | |
6077 | +/** @description response type for postOrderErpUsersDelete */ | |
6078 | +export interface PostOrderErpUsersDeleteResponse { | |
6079 | + /** | |
6080 | + * @description | |
6081 | + * OK | |
6082 | + */ | |
6083 | + 200: ServerResult; | |
6084 | + /** | |
6085 | + * @description | |
6086 | + * Created | |
6087 | + */ | |
6088 | + 201: any; | |
6089 | + /** | |
6090 | + * @description | |
6091 | + * Unauthorized | |
6092 | + */ | |
6093 | + 401: any; | |
6094 | + /** | |
6095 | + * @description | |
6096 | + * Forbidden | |
6097 | + */ | |
6098 | + 403: any; | |
6099 | + /** | |
6100 | + * @description | |
6101 | + * Not Found | |
6102 | + */ | |
6103 | + 404: any; | |
6104 | +} | |
6105 | + | |
6106 | +export type PostOrderErpUsersDeleteResponseSuccess = | |
6107 | + PostOrderErpUsersDeleteResponse[200]; | |
6108 | +/** | |
6109 | + * @description | |
6110 | + * 删除用户 | |
6111 | + * @tags 系统:用户管理 | |
6112 | + * @produces * | |
6113 | + * @consumes application/json | |
6114 | + */ | |
6115 | +export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { | |
6116 | + const method = 'post'; | |
6117 | + const url = '/order/erp/users/delete'; | |
6118 | + function request( | |
6119 | + option: PostOrderErpUsersDeleteOption, | |
6120 | + ): Promise<PostOrderErpUsersDeleteResponseSuccess> { | |
6121 | + return requester(request.url, { | |
6122 | + method: request.method, | |
6123 | + ...option, | |
6124 | + }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>; | |
6125 | + } | |
6126 | + | |
6127 | + /** http method */ | |
6128 | + request.method = method; | |
6129 | + /** request url */ | |
6130 | + request.url = url; | |
6131 | + return request; | |
6132 | +})(); | |
6133 | + | |
6134 | +/** @description request parameter type for postOrderErpUsersEdit */ | |
6135 | +export interface PostOrderErpUsersEditOption { | |
6136 | + /** | |
6137 | + * @description | |
6138 | + * userVO | |
6139 | + */ | |
6140 | + body: { | |
6141 | + /** | |
6142 | + @description | |
6143 | + userVO */ | |
6144 | + userVO: AdminUserVO; | |
6145 | + }; | |
6146 | +} | |
6147 | + | |
6148 | +/** @description response type for postOrderErpUsersEdit */ | |
6149 | +export interface PostOrderErpUsersEditResponse { | |
6150 | + /** | |
6151 | + * @description | |
6152 | + * OK | |
6153 | + */ | |
6154 | + 200: ServerResult; | |
6155 | + /** | |
6156 | + * @description | |
6157 | + * Created | |
6158 | + */ | |
6159 | + 201: any; | |
6160 | + /** | |
6161 | + * @description | |
6162 | + * Unauthorized | |
6163 | + */ | |
6164 | + 401: any; | |
6165 | + /** | |
6166 | + * @description | |
6167 | + * Forbidden | |
6168 | + */ | |
6169 | + 403: any; | |
6170 | + /** | |
6171 | + * @description | |
6172 | + * Not Found | |
6173 | + */ | |
6174 | + 404: any; | |
6175 | +} | |
6176 | + | |
6177 | +export type PostOrderErpUsersEditResponseSuccess = | |
6178 | + PostOrderErpUsersEditResponse[200]; | |
6179 | +/** | |
6180 | + * @description | |
6181 | + * 修改用户 | |
6182 | + * @tags 系统:用户管理 | |
6183 | + * @produces * | |
6184 | + * @consumes application/json | |
6185 | + */ | |
6186 | +export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { | |
6187 | + const method = 'post'; | |
6188 | + const url = '/order/erp/users/edit'; | |
6189 | + function request( | |
6190 | + option: PostOrderErpUsersEditOption, | |
6191 | + ): Promise<PostOrderErpUsersEditResponseSuccess> { | |
6192 | + return requester(request.url, { | |
6193 | + method: request.method, | |
6194 | + ...option, | |
6195 | + }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>; | |
6196 | + } | |
6197 | + | |
6198 | + /** http method */ | |
6199 | + request.method = method; | |
6200 | + /** request url */ | |
6201 | + request.url = url; | |
6202 | + return request; | |
6203 | +})(); | |
6204 | + | |
6205 | +/** @description request parameter type for postOrderErpUsersListByPage */ | |
6206 | +export interface PostOrderErpUsersListByPageOption { | |
6207 | + /** | |
6208 | + * @description | |
6209 | + * queryVO | |
6210 | + */ | |
6211 | + body: { | |
6212 | + /** | |
6213 | + @description | |
6214 | + queryVO */ | |
6215 | + queryVO: AdminUserQueryVO; | |
6216 | + }; | |
6217 | +} | |
6218 | + | |
6219 | +/** @description response type for postOrderErpUsersListByPage */ | |
6220 | +export interface PostOrderErpUsersListByPageResponse { | |
6221 | + /** | |
6222 | + * @description | |
6223 | + * OK | |
6224 | + */ | |
6225 | + 200: ServerResult; | |
6226 | + /** | |
6227 | + * @description | |
6228 | + * Created | |
6229 | + */ | |
6230 | + 201: any; | |
6231 | + /** | |
6232 | + * @description | |
6233 | + * Unauthorized | |
6234 | + */ | |
6235 | + 401: any; | |
6236 | + /** | |
6237 | + * @description | |
6238 | + * Forbidden | |
6239 | + */ | |
6240 | + 403: any; | |
6241 | + /** | |
6242 | + * @description | |
6243 | + * Not Found | |
6244 | + */ | |
6245 | + 404: any; | |
6246 | +} | |
6247 | + | |
6248 | +export type PostOrderErpUsersListByPageResponseSuccess = | |
6249 | + PostOrderErpUsersListByPageResponse[200]; | |
6250 | +/** | |
6251 | + * @description | |
6252 | + * 查询用户 | |
6253 | + * @tags 系统:用户管理 | |
6254 | + * @produces * | |
6255 | + * @consumes application/json | |
6256 | + */ | |
6257 | +export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { | |
6258 | + const method = 'post'; | |
6259 | + const url = '/order/erp/users/list_by_page'; | |
6260 | + function request( | |
6261 | + option: PostOrderErpUsersListByPageOption, | |
6262 | + ): Promise<PostOrderErpUsersListByPageResponseSuccess> { | |
6263 | + return requester(request.url, { | |
6264 | + method: request.method, | |
6265 | + ...option, | |
6266 | + }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>; | |
6267 | + } | |
6268 | + | |
6269 | + /** http method */ | |
6270 | + request.method = method; | |
6271 | + /** request url */ | |
6272 | + request.url = url; | |
6273 | + return request; | |
6274 | +})(); | |
6275 | + | |
6276 | +/** @description request parameter type for postOrderErpUsersReset */ | |
6277 | +export interface PostOrderErpUsersResetOption { | |
6278 | + /** | |
6279 | + * @description | |
6280 | + * resetPwdVO | |
6281 | + */ | |
6282 | + body: { | |
6283 | + /** | |
6284 | + @description | |
6285 | + resetPwdVO */ | |
6286 | + resetPwdVO: ResetPwdVO; | |
6287 | + }; | |
6288 | +} | |
6289 | + | |
6290 | +/** @description response type for postOrderErpUsersReset */ | |
6291 | +export interface PostOrderErpUsersResetResponse { | |
6292 | + /** | |
6293 | + * @description | |
6294 | + * OK | |
6295 | + */ | |
6296 | + 200: ServerResult; | |
6297 | + /** | |
6298 | + * @description | |
6299 | + * Created | |
6300 | + */ | |
6301 | + 201: any; | |
6302 | + /** | |
6303 | + * @description | |
6304 | + * Unauthorized | |
6305 | + */ | |
6306 | + 401: any; | |
6307 | + /** | |
6308 | + * @description | |
6309 | + * Forbidden | |
6310 | + */ | |
6311 | + 403: any; | |
6312 | + /** | |
6313 | + * @description | |
6314 | + * Not Found | |
6315 | + */ | |
6316 | + 404: any; | |
6317 | +} | |
6318 | + | |
6319 | +export type PostOrderErpUsersResetResponseSuccess = | |
6320 | + PostOrderErpUsersResetResponse[200]; | |
6321 | +/** | |
6322 | + * @description | |
6323 | + * 重置密码 | |
6324 | + * @tags 系统:用户管理 | |
6325 | + * @produces * | |
6326 | + * @consumes application/json | |
6327 | + */ | |
6328 | +export const postOrderErpUsersReset = /* #__PURE__ */ (() => { | |
6329 | + const method = 'post'; | |
6330 | + const url = '/order/erp/users/reset'; | |
6331 | + function request( | |
6332 | + option: PostOrderErpUsersResetOption, | |
6333 | + ): Promise<PostOrderErpUsersResetResponseSuccess> { | |
6334 | + return requester(request.url, { | |
6335 | + method: request.method, | |
6336 | + ...option, | |
6337 | + }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>; | |
6338 | + } | |
6339 | + | |
6340 | + /** http method */ | |
6341 | + request.method = method; | |
6342 | + /** request url */ | |
6343 | + request.url = url; | |
6344 | + return request; | |
6345 | +})(); | |
6346 | + | |
6347 | +/** @description request parameter type for postOrderErpUsersUpdatePass */ | |
6348 | +export interface PostOrderErpUsersUpdatePassOption { | |
6349 | + /** | |
6350 | + * @description | |
6351 | + * pwdVO | |
6352 | + */ | |
6353 | + body: { | |
6354 | + /** | |
6355 | + @description | |
6356 | + pwdVO */ | |
6357 | + pwdVO: UpdatePwdVO; | |
6358 | + }; | |
6359 | +} | |
6360 | + | |
6361 | +/** @description response type for postOrderErpUsersUpdatePass */ | |
6362 | +export interface PostOrderErpUsersUpdatePassResponse { | |
6363 | + /** | |
6364 | + * @description | |
6365 | + * OK | |
6366 | + */ | |
6367 | + 200: ServerResult; | |
6368 | + /** | |
6369 | + * @description | |
6370 | + * Created | |
6371 | + */ | |
6372 | + 201: any; | |
6373 | + /** | |
6374 | + * @description | |
6375 | + * Unauthorized | |
6376 | + */ | |
6377 | + 401: any; | |
6378 | + /** | |
6379 | + * @description | |
6380 | + * Forbidden | |
6381 | + */ | |
6382 | + 403: any; | |
6383 | + /** | |
6384 | + * @description | |
6385 | + * Not Found | |
6386 | + */ | |
6387 | + 404: any; | |
6388 | +} | |
6389 | + | |
6390 | +export type PostOrderErpUsersUpdatePassResponseSuccess = | |
6391 | + PostOrderErpUsersUpdatePassResponse[200]; | |
6392 | +/** | |
6393 | + * @description | |
6394 | + * 修改密码 | |
6395 | + * @tags 系统:用户管理 | |
6396 | + * @produces * | |
6397 | + * @consumes application/json | |
6398 | + */ | |
6399 | +export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | |
6400 | + const method = 'post'; | |
6401 | + const url = '/order/erp/users/update_pass'; | |
6402 | + function request( | |
6403 | + option: PostOrderErpUsersUpdatePassOption, | |
6404 | + ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { | |
6405 | + return requester(request.url, { | |
6406 | + method: request.method, | |
6407 | + ...option, | |
6408 | + }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>; | |
5845 | 6409 | } |
5846 | 6410 | |
5847 | 6411 | /** http method */ |
... | ... | @@ -5851,22 +6415,22 @@ export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { |
5851 | 6415 | return request; |
5852 | 6416 | })(); |
5853 | 6417 | |
5854 | -/** @description request parameter type for postOrderErpUsersDelete */ | |
5855 | -export interface PostOrderErpUsersDeleteOption { | |
6418 | +/** @description request parameter type for postPrepaidAudit */ | |
6419 | +export interface PostPrepaidAuditOption { | |
5856 | 6420 | /** |
5857 | 6421 | * @description |
5858 | - * queryVO | |
6422 | + * request | |
5859 | 6423 | */ |
5860 | 6424 | body: { |
5861 | 6425 | /** |
5862 | 6426 | @description |
5863 | - queryVO */ | |
5864 | - queryVO: AdminUserQueryVO; | |
6427 | + request */ | |
6428 | + request: SalesRechargePrepaymentAuditRequest; | |
5865 | 6429 | }; |
5866 | 6430 | } |
5867 | 6431 | |
5868 | -/** @description response type for postOrderErpUsersDelete */ | |
5869 | -export interface PostOrderErpUsersDeleteResponse { | |
6432 | +/** @description response type for postPrepaidAudit */ | |
6433 | +export interface PostPrepaidAuditResponse { | |
5870 | 6434 | /** |
5871 | 6435 | * @description |
5872 | 6436 | * OK |
... | ... | @@ -5894,25 +6458,24 @@ export interface PostOrderErpUsersDeleteResponse { |
5894 | 6458 | 404: any; |
5895 | 6459 | } |
5896 | 6460 | |
5897 | -export type PostOrderErpUsersDeleteResponseSuccess = | |
5898 | - PostOrderErpUsersDeleteResponse[200]; | |
6461 | +export type PostPrepaidAuditResponseSuccess = PostPrepaidAuditResponse[200]; | |
5899 | 6462 | /** |
5900 | 6463 | * @description |
5901 | - * 删除用户 | |
5902 | - * @tags 系统:用户管理 | |
6464 | + * 财务审核 | |
6465 | + * @tags prepaid-controller | |
5903 | 6466 | * @produces * |
5904 | 6467 | * @consumes application/json |
5905 | 6468 | */ |
5906 | -export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { | |
5907 | - const method = "post"; | |
5908 | - const url = "/order/erp/users/delete"; | |
6469 | +export const postPrepaidAudit = /* #__PURE__ */ (() => { | |
6470 | + const method = 'post'; | |
6471 | + const url = '/prepaid/audit'; | |
5909 | 6472 | function request( |
5910 | - option: PostOrderErpUsersDeleteOption | |
5911 | - ): Promise<PostOrderErpUsersDeleteResponseSuccess> { | |
6473 | + option: PostPrepaidAuditOption, | |
6474 | + ): Promise<PostPrepaidAuditResponseSuccess> { | |
5912 | 6475 | return requester(request.url, { |
5913 | 6476 | method: request.method, |
5914 | 6477 | ...option, |
5915 | - }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>; | |
6478 | + }) as unknown as Promise<PostPrepaidAuditResponseSuccess>; | |
5916 | 6479 | } |
5917 | 6480 | |
5918 | 6481 | /** http method */ |
... | ... | @@ -5922,22 +6485,22 @@ export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { |
5922 | 6485 | return request; |
5923 | 6486 | })(); |
5924 | 6487 | |
5925 | -/** @description request parameter type for postOrderErpUsersEdit */ | |
5926 | -export interface PostOrderErpUsersEditOption { | |
6488 | +/** @description request parameter type for postPrepaidCreate */ | |
6489 | +export interface PostPrepaidCreateOption { | |
5927 | 6490 | /** |
5928 | 6491 | * @description |
5929 | - * userVO | |
6492 | + * request | |
5930 | 6493 | */ |
5931 | 6494 | body: { |
5932 | 6495 | /** |
5933 | 6496 | @description |
5934 | - userVO */ | |
5935 | - userVO: AdminUserVO; | |
6497 | + request */ | |
6498 | + request: SalesRechargePrepaymentCreateRequest; | |
5936 | 6499 | }; |
5937 | 6500 | } |
5938 | 6501 | |
5939 | -/** @description response type for postOrderErpUsersEdit */ | |
5940 | -export interface PostOrderErpUsersEditResponse { | |
6502 | +/** @description response type for postPrepaidCreate */ | |
6503 | +export interface PostPrepaidCreateResponse { | |
5941 | 6504 | /** |
5942 | 6505 | * @description |
5943 | 6506 | * OK |
... | ... | @@ -5965,25 +6528,24 @@ export interface PostOrderErpUsersEditResponse { |
5965 | 6528 | 404: any; |
5966 | 6529 | } |
5967 | 6530 | |
5968 | -export type PostOrderErpUsersEditResponseSuccess = | |
5969 | - PostOrderErpUsersEditResponse[200]; | |
6531 | +export type PostPrepaidCreateResponseSuccess = PostPrepaidCreateResponse[200]; | |
5970 | 6532 | /** |
5971 | 6533 | * @description |
5972 | - * 修改用户 | |
5973 | - * @tags 系统:用户管理 | |
6534 | + * 新增预存 | |
6535 | + * @tags prepaid-controller | |
5974 | 6536 | * @produces * |
5975 | 6537 | * @consumes application/json |
5976 | 6538 | */ |
5977 | -export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { | |
5978 | - const method = "post"; | |
5979 | - const url = "/order/erp/users/edit"; | |
6539 | +export const postPrepaidCreate = /* #__PURE__ */ (() => { | |
6540 | + const method = 'post'; | |
6541 | + const url = '/prepaid/create'; | |
5980 | 6542 | function request( |
5981 | - option: PostOrderErpUsersEditOption | |
5982 | - ): Promise<PostOrderErpUsersEditResponseSuccess> { | |
6543 | + option: PostPrepaidCreateOption, | |
6544 | + ): Promise<PostPrepaidCreateResponseSuccess> { | |
5983 | 6545 | return requester(request.url, { |
5984 | 6546 | method: request.method, |
5985 | 6547 | ...option, |
5986 | - }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>; | |
6548 | + }) as unknown as Promise<PostPrepaidCreateResponseSuccess>; | |
5987 | 6549 | } |
5988 | 6550 | |
5989 | 6551 | /** http method */ |
... | ... | @@ -5993,22 +6555,22 @@ export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { |
5993 | 6555 | return request; |
5994 | 6556 | })(); |
5995 | 6557 | |
5996 | -/** @description request parameter type for postOrderErpUsersListByPage */ | |
5997 | -export interface PostOrderErpUsersListByPageOption { | |
6558 | +/** @description request parameter type for postPrepaidDelete */ | |
6559 | +export interface PostPrepaidDeleteOption { | |
5998 | 6560 | /** |
5999 | 6561 | * @description |
6000 | - * queryVO | |
6562 | + * request | |
6001 | 6563 | */ |
6002 | 6564 | body: { |
6003 | 6565 | /** |
6004 | 6566 | @description |
6005 | - queryVO */ | |
6006 | - queryVO: AdminUserQueryVO; | |
6567 | + request */ | |
6568 | + request: SalesRechargePrepaymentDeleteRequest; | |
6007 | 6569 | }; |
6008 | 6570 | } |
6009 | 6571 | |
6010 | -/** @description response type for postOrderErpUsersListByPage */ | |
6011 | -export interface PostOrderErpUsersListByPageResponse { | |
6572 | +/** @description response type for postPrepaidDelete */ | |
6573 | +export interface PostPrepaidDeleteResponse { | |
6012 | 6574 | /** |
6013 | 6575 | * @description |
6014 | 6576 | * OK |
... | ... | @@ -6036,25 +6598,24 @@ export interface PostOrderErpUsersListByPageResponse { |
6036 | 6598 | 404: any; |
6037 | 6599 | } |
6038 | 6600 | |
6039 | -export type PostOrderErpUsersListByPageResponseSuccess = | |
6040 | - PostOrderErpUsersListByPageResponse[200]; | |
6601 | +export type PostPrepaidDeleteResponseSuccess = PostPrepaidDeleteResponse[200]; | |
6041 | 6602 | /** |
6042 | 6603 | * @description |
6043 | - * 查询用户 | |
6044 | - * @tags 系统:用户管理 | |
6604 | + * 删除预存 | |
6605 | + * @tags prepaid-controller | |
6045 | 6606 | * @produces * |
6046 | 6607 | * @consumes application/json |
6047 | 6608 | */ |
6048 | -export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { | |
6049 | - const method = "post"; | |
6050 | - const url = "/order/erp/users/list_by_page"; | |
6609 | +export const postPrepaidDelete = /* #__PURE__ */ (() => { | |
6610 | + const method = 'post'; | |
6611 | + const url = '/prepaid/delete'; | |
6051 | 6612 | function request( |
6052 | - option: PostOrderErpUsersListByPageOption | |
6053 | - ): Promise<PostOrderErpUsersListByPageResponseSuccess> { | |
6613 | + option: PostPrepaidDeleteOption, | |
6614 | + ): Promise<PostPrepaidDeleteResponseSuccess> { | |
6054 | 6615 | return requester(request.url, { |
6055 | 6616 | method: request.method, |
6056 | 6617 | ...option, |
6057 | - }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>; | |
6618 | + }) as unknown as Promise<PostPrepaidDeleteResponseSuccess>; | |
6058 | 6619 | } |
6059 | 6620 | |
6060 | 6621 | /** http method */ |
... | ... | @@ -6064,22 +6625,22 @@ export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { |
6064 | 6625 | return request; |
6065 | 6626 | })(); |
6066 | 6627 | |
6067 | -/** @description request parameter type for postOrderErpUsersReset */ | |
6068 | -export interface PostOrderErpUsersResetOption { | |
6628 | +/** @description request parameter type for postPrepaidList */ | |
6629 | +export interface PostPrepaidListOption { | |
6069 | 6630 | /** |
6070 | 6631 | * @description |
6071 | - * resetPwdVO | |
6632 | + * request | |
6072 | 6633 | */ |
6073 | 6634 | body: { |
6074 | 6635 | /** |
6075 | 6636 | @description |
6076 | - resetPwdVO */ | |
6077 | - resetPwdVO: ResetPwdVO; | |
6637 | + request */ | |
6638 | + request: SalesRechargePrepaymentRequest; | |
6078 | 6639 | }; |
6079 | 6640 | } |
6080 | 6641 | |
6081 | -/** @description response type for postOrderErpUsersReset */ | |
6082 | -export interface PostOrderErpUsersResetResponse { | |
6642 | +/** @description response type for postPrepaidList */ | |
6643 | +export interface PostPrepaidListResponse { | |
6083 | 6644 | /** |
6084 | 6645 | * @description |
6085 | 6646 | * OK |
... | ... | @@ -6107,25 +6668,24 @@ export interface PostOrderErpUsersResetResponse { |
6107 | 6668 | 404: any; |
6108 | 6669 | } |
6109 | 6670 | |
6110 | -export type PostOrderErpUsersResetResponseSuccess = | |
6111 | - PostOrderErpUsersResetResponse[200]; | |
6671 | +export type PostPrepaidListResponseSuccess = PostPrepaidListResponse[200]; | |
6112 | 6672 | /** |
6113 | 6673 | * @description |
6114 | - * 重置密码 | |
6115 | - * @tags 系统:用户管理 | |
6674 | + * 查询列表 | |
6675 | + * @tags prepaid-controller | |
6116 | 6676 | * @produces * |
6117 | 6677 | * @consumes application/json |
6118 | 6678 | */ |
6119 | -export const postOrderErpUsersReset = /* #__PURE__ */ (() => { | |
6120 | - const method = "post"; | |
6121 | - const url = "/order/erp/users/reset"; | |
6679 | +export const postPrepaidList = /* #__PURE__ */ (() => { | |
6680 | + const method = 'post'; | |
6681 | + const url = '/prepaid/list'; | |
6122 | 6682 | function request( |
6123 | - option: PostOrderErpUsersResetOption | |
6124 | - ): Promise<PostOrderErpUsersResetResponseSuccess> { | |
6683 | + option: PostPrepaidListOption, | |
6684 | + ): Promise<PostPrepaidListResponseSuccess> { | |
6125 | 6685 | return requester(request.url, { |
6126 | 6686 | method: request.method, |
6127 | 6687 | ...option, |
6128 | - }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>; | |
6688 | + }) as unknown as Promise<PostPrepaidListResponseSuccess>; | |
6129 | 6689 | } |
6130 | 6690 | |
6131 | 6691 | /** http method */ |
... | ... | @@ -6135,22 +6695,22 @@ export const postOrderErpUsersReset = /* #__PURE__ */ (() => { |
6135 | 6695 | return request; |
6136 | 6696 | })(); |
6137 | 6697 | |
6138 | -/** @description request parameter type for postOrderErpUsersUpdatePass */ | |
6139 | -export interface PostOrderErpUsersUpdatePassOption { | |
6698 | +/** @description request parameter type for postPrepaidUpdate */ | |
6699 | +export interface PostPrepaidUpdateOption { | |
6140 | 6700 | /** |
6141 | 6701 | * @description |
6142 | - * pwdVO | |
6702 | + * request | |
6143 | 6703 | */ |
6144 | 6704 | body: { |
6145 | 6705 | /** |
6146 | 6706 | @description |
6147 | - pwdVO */ | |
6148 | - pwdVO: UpdatePwdVO; | |
6707 | + request */ | |
6708 | + request: SalesRechargePrepaymentUpdateRequest; | |
6149 | 6709 | }; |
6150 | 6710 | } |
6151 | 6711 | |
6152 | -/** @description response type for postOrderErpUsersUpdatePass */ | |
6153 | -export interface PostOrderErpUsersUpdatePassResponse { | |
6712 | +/** @description response type for postPrepaidUpdate */ | |
6713 | +export interface PostPrepaidUpdateResponse { | |
6154 | 6714 | /** |
6155 | 6715 | * @description |
6156 | 6716 | * OK |
... | ... | @@ -6178,25 +6738,24 @@ export interface PostOrderErpUsersUpdatePassResponse { |
6178 | 6738 | 404: any; |
6179 | 6739 | } |
6180 | 6740 | |
6181 | -export type PostOrderErpUsersUpdatePassResponseSuccess = | |
6182 | - PostOrderErpUsersUpdatePassResponse[200]; | |
6741 | +export type PostPrepaidUpdateResponseSuccess = PostPrepaidUpdateResponse[200]; | |
6183 | 6742 | /** |
6184 | 6743 | * @description |
6185 | - * 修改密码 | |
6186 | - * @tags 系统:用户管理 | |
6744 | + * 修改预存 | |
6745 | + * @tags prepaid-controller | |
6187 | 6746 | * @produces * |
6188 | 6747 | * @consumes application/json |
6189 | 6748 | */ |
6190 | -export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | |
6191 | - const method = "post"; | |
6192 | - const url = "/order/erp/users/update_pass"; | |
6749 | +export const postPrepaidUpdate = /* #__PURE__ */ (() => { | |
6750 | + const method = 'post'; | |
6751 | + const url = '/prepaid/update'; | |
6193 | 6752 | function request( |
6194 | - option: PostOrderErpUsersUpdatePassOption | |
6195 | - ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { | |
6753 | + option: PostPrepaidUpdateOption, | |
6754 | + ): Promise<PostPrepaidUpdateResponseSuccess> { | |
6196 | 6755 | return requester(request.url, { |
6197 | 6756 | method: request.method, |
6198 | 6757 | ...option, |
6199 | - }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>; | |
6758 | + }) as unknown as Promise<PostPrepaidUpdateResponseSuccess>; | |
6200 | 6759 | } |
6201 | 6760 | |
6202 | 6761 | /** http method */ |
... | ... | @@ -6260,10 +6819,10 @@ export type PostServiceBankStatementDeleteBankStatementResponseSuccess = |
6260 | 6819 | */ |
6261 | 6820 | export const postServiceBankStatementDeleteBankStatement = |
6262 | 6821 | /* #__PURE__ */ (() => { |
6263 | - const method = "post"; | |
6264 | - const url = "/service/bankStatement/deleteBankStatement"; | |
6822 | + const method = 'post'; | |
6823 | + const url = '/service/bankStatement/deleteBankStatement'; | |
6265 | 6824 | function request( |
6266 | - option: PostServiceBankStatementDeleteBankStatementOption | |
6825 | + option: PostServiceBankStatementDeleteBankStatementOption, | |
6267 | 6826 | ): Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess> { |
6268 | 6827 | return requester(request.url, { |
6269 | 6828 | method: request.method, |
... | ... | @@ -6332,10 +6891,10 @@ export type PostServiceBankStatementEditBankStatementResponseSuccess = |
6332 | 6891 | */ |
6333 | 6892 | export const postServiceBankStatementEditBankStatement = |
6334 | 6893 | /* #__PURE__ */ (() => { |
6335 | - const method = "post"; | |
6336 | - const url = "/service/bankStatement/editBankStatement"; | |
6894 | + const method = 'post'; | |
6895 | + const url = '/service/bankStatement/editBankStatement'; | |
6337 | 6896 | function request( |
6338 | - option: PostServiceBankStatementEditBankStatementOption | |
6897 | + option: PostServiceBankStatementEditBankStatementOption, | |
6339 | 6898 | ): Promise<PostServiceBankStatementEditBankStatementResponseSuccess> { |
6340 | 6899 | return requester(request.url, { |
6341 | 6900 | method: request.method, |
... | ... | @@ -6389,8 +6948,8 @@ export type PostServiceBankStatementExportTemplateResponseSuccess = |
6389 | 6948 | * @consumes application/json |
6390 | 6949 | */ |
6391 | 6950 | export const postServiceBankStatementExportTemplate = /* #__PURE__ */ (() => { |
6392 | - const method = "post"; | |
6393 | - const url = "/service/bankStatement/exportTemplate"; | |
6951 | + const method = 'post'; | |
6952 | + const url = '/service/bankStatement/exportTemplate'; | |
6394 | 6953 | function request(): Promise<PostServiceBankStatementExportTemplateResponseSuccess> { |
6395 | 6954 | return requester(request.url, { |
6396 | 6955 | method: request.method, |
... | ... | @@ -6458,10 +7017,10 @@ export type PostServiceBankStatementImportBankStatementFormResponseSuccess = |
6458 | 7017 | */ |
6459 | 7018 | export const postServiceBankStatementImportBankStatementForm = |
6460 | 7019 | /* #__PURE__ */ (() => { |
6461 | - const method = "post"; | |
6462 | - const url = "/service/bankStatement/importBankStatementForm"; | |
7020 | + const method = 'post'; | |
7021 | + const url = '/service/bankStatement/importBankStatementForm'; | |
6463 | 7022 | function request( |
6464 | - option: PostServiceBankStatementImportBankStatementFormOption | |
7023 | + option: PostServiceBankStatementImportBankStatementFormOption, | |
6465 | 7024 | ): Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess> { |
6466 | 7025 | return requester(request.url, { |
6467 | 7026 | method: request.method, |
... | ... | @@ -6530,10 +7089,10 @@ export type PostServiceBankStatementQueryBankStatementResponseSuccess = |
6530 | 7089 | */ |
6531 | 7090 | export const postServiceBankStatementQueryBankStatement = |
6532 | 7091 | /* #__PURE__ */ (() => { |
6533 | - const method = "post"; | |
6534 | - const url = "/service/bankStatement/queryBankStatement"; | |
7092 | + const method = 'post'; | |
7093 | + const url = '/service/bankStatement/queryBankStatement'; | |
6535 | 7094 | function request( |
6536 | - option: PostServiceBankStatementQueryBankStatementOption | |
7095 | + option: PostServiceBankStatementQueryBankStatementOption, | |
6537 | 7096 | ): Promise<PostServiceBankStatementQueryBankStatementResponseSuccess> { |
6538 | 7097 | return requester(request.url, { |
6539 | 7098 | method: request.method, |
... | ... | @@ -6602,10 +7161,10 @@ export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = |
6602 | 7161 | */ |
6603 | 7162 | export const postServiceInvoiceCancelInvoiceAndBankStatement = |
6604 | 7163 | /* #__PURE__ */ (() => { |
6605 | - const method = "post"; | |
6606 | - const url = "/service/invoice/cancelInvoiceAndBankStatement"; | |
7164 | + const method = 'post'; | |
7165 | + const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
6607 | 7166 | function request( |
6608 | - option: PostServiceInvoiceCancelInvoiceAndBankStatementOption | |
7167 | + option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
6609 | 7168 | ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { |
6610 | 7169 | return requester(request.url, { |
6611 | 7170 | method: request.method, |
... | ... | @@ -6673,10 +7232,10 @@ export type PostServiceInvoiceDeleteInvoiceResponseSuccess = |
6673 | 7232 | * @consumes application/json |
6674 | 7233 | */ |
6675 | 7234 | export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { |
6676 | - const method = "post"; | |
6677 | - const url = "/service/invoice/deleteInvoice"; | |
7235 | + const method = 'post'; | |
7236 | + const url = '/service/invoice/deleteInvoice'; | |
6678 | 7237 | function request( |
6679 | - option: PostServiceInvoiceDeleteInvoiceOption | |
7238 | + option: PostServiceInvoiceDeleteInvoiceOption, | |
6680 | 7239 | ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { |
6681 | 7240 | return requester(request.url, { |
6682 | 7241 | method: request.method, |
... | ... | @@ -6691,6 +7250,77 @@ export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { |
6691 | 7250 | return request; |
6692 | 7251 | })(); |
6693 | 7252 | |
7253 | +/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
7254 | +export interface PostServiceInvoiceFindInvoiceOption { | |
7255 | + /** | |
7256 | + * @description | |
7257 | + * dto | |
7258 | + */ | |
7259 | + body: { | |
7260 | + /** | |
7261 | + @description | |
7262 | + dto */ | |
7263 | + dto: Dto; | |
7264 | + }; | |
7265 | +} | |
7266 | + | |
7267 | +/** @description response type for postServiceInvoiceFindInvoice */ | |
7268 | +export interface PostServiceInvoiceFindInvoiceResponse { | |
7269 | + /** | |
7270 | + * @description | |
7271 | + * OK | |
7272 | + */ | |
7273 | + 200: ServerResult; | |
7274 | + /** | |
7275 | + * @description | |
7276 | + * Created | |
7277 | + */ | |
7278 | + 201: any; | |
7279 | + /** | |
7280 | + * @description | |
7281 | + * Unauthorized | |
7282 | + */ | |
7283 | + 401: any; | |
7284 | + /** | |
7285 | + * @description | |
7286 | + * Forbidden | |
7287 | + */ | |
7288 | + 403: any; | |
7289 | + /** | |
7290 | + * @description | |
7291 | + * Not Found | |
7292 | + */ | |
7293 | + 404: any; | |
7294 | +} | |
7295 | + | |
7296 | +export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
7297 | + PostServiceInvoiceFindInvoiceResponse[200]; | |
7298 | +/** | |
7299 | + * @description | |
7300 | + * 不分页查询发票 | |
7301 | + * @tags 发票 | |
7302 | + * @produces * | |
7303 | + * @consumes application/json | |
7304 | + */ | |
7305 | +export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
7306 | + const method = 'post'; | |
7307 | + const url = '/service/invoice/findInvoice'; | |
7308 | + function request( | |
7309 | + option: PostServiceInvoiceFindInvoiceOption, | |
7310 | + ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
7311 | + return requester(request.url, { | |
7312 | + method: request.method, | |
7313 | + ...option, | |
7314 | + }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
7315 | + } | |
7316 | + | |
7317 | + /** http method */ | |
7318 | + request.method = method; | |
7319 | + /** request url */ | |
7320 | + request.url = url; | |
7321 | + return request; | |
7322 | +})(); | |
7323 | + | |
6694 | 7324 | /** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ |
6695 | 7325 | export interface PostServiceInvoiceInvoiceWriteOffOption { |
6696 | 7326 | /** |
... | ... | @@ -6744,10 +7374,10 @@ export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = |
6744 | 7374 | * @consumes application/json |
6745 | 7375 | */ |
6746 | 7376 | export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { |
6747 | - const method = "post"; | |
6748 | - const url = "/service/invoice/invoiceWriteOff"; | |
7377 | + const method = 'post'; | |
7378 | + const url = '/service/invoice/invoiceWriteOff'; | |
6749 | 7379 | function request( |
6750 | - option: PostServiceInvoiceInvoiceWriteOffOption | |
7380 | + option: PostServiceInvoiceInvoiceWriteOffOption, | |
6751 | 7381 | ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { |
6752 | 7382 | return requester(request.url, { |
6753 | 7383 | method: request.method, |
... | ... | @@ -6815,10 +7445,10 @@ export type PostServiceInvoiceQueryInvoiceResponseSuccess = |
6815 | 7445 | * @consumes application/json |
6816 | 7446 | */ |
6817 | 7447 | export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { |
6818 | - const method = "post"; | |
6819 | - const url = "/service/invoice/queryInvoice"; | |
7448 | + const method = 'post'; | |
7449 | + const url = '/service/invoice/queryInvoice'; | |
6820 | 7450 | function request( |
6821 | - option: PostServiceInvoiceQueryInvoiceOption | |
7451 | + option: PostServiceInvoiceQueryInvoiceOption, | |
6822 | 7452 | ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> { |
6823 | 7453 | return requester(request.url, { |
6824 | 7454 | method: request.method, |
... | ... | @@ -6886,10 +7516,10 @@ export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess = |
6886 | 7516 | * @consumes application/json |
6887 | 7517 | */ |
6888 | 7518 | export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
6889 | - const method = "post"; | |
6890 | - const url = "/service/invoice/queryInvoiceDetail"; | |
7519 | + const method = 'post'; | |
7520 | + const url = '/service/invoice/queryInvoiceDetail'; | |
6891 | 7521 | function request( |
6892 | - option: PostServiceInvoiceQueryInvoiceDetailOption | |
7522 | + option: PostServiceInvoiceQueryInvoiceDetailOption, | |
6893 | 7523 | ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> { |
6894 | 7524 | return requester(request.url, { |
6895 | 7525 | method: request.method, |
... | ... | @@ -6904,6 +7534,77 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
6904 | 7534 | return request; |
6905 | 7535 | })(); |
6906 | 7536 | |
7537 | +/** @description request parameter type for postServiceInvoiceReissue */ | |
7538 | +export interface PostServiceInvoiceReissueOption { | |
7539 | + /** | |
7540 | + * @description | |
7541 | + * dto | |
7542 | + */ | |
7543 | + body: { | |
7544 | + /** | |
7545 | + @description | |
7546 | + dto */ | |
7547 | + dto: ReissueInvoiceDto; | |
7548 | + }; | |
7549 | +} | |
7550 | + | |
7551 | +/** @description response type for postServiceInvoiceReissue */ | |
7552 | +export interface PostServiceInvoiceReissueResponse { | |
7553 | + /** | |
7554 | + * @description | |
7555 | + * OK | |
7556 | + */ | |
7557 | + 200: ServerResult; | |
7558 | + /** | |
7559 | + * @description | |
7560 | + * Created | |
7561 | + */ | |
7562 | + 201: any; | |
7563 | + /** | |
7564 | + * @description | |
7565 | + * Unauthorized | |
7566 | + */ | |
7567 | + 401: any; | |
7568 | + /** | |
7569 | + * @description | |
7570 | + * Forbidden | |
7571 | + */ | |
7572 | + 403: any; | |
7573 | + /** | |
7574 | + * @description | |
7575 | + * Not Found | |
7576 | + */ | |
7577 | + 404: any; | |
7578 | +} | |
7579 | + | |
7580 | +export type PostServiceInvoiceReissueResponseSuccess = | |
7581 | + PostServiceInvoiceReissueResponse[200]; | |
7582 | +/** | |
7583 | + * @description | |
7584 | + * 重新开票 | |
7585 | + * @tags 发票 | |
7586 | + * @produces * | |
7587 | + * @consumes application/json | |
7588 | + */ | |
7589 | +export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | |
7590 | + const method = 'post'; | |
7591 | + const url = '/service/invoice/reissue'; | |
7592 | + function request( | |
7593 | + option: PostServiceInvoiceReissueOption, | |
7594 | + ): Promise<PostServiceInvoiceReissueResponseSuccess> { | |
7595 | + return requester(request.url, { | |
7596 | + method: request.method, | |
7597 | + ...option, | |
7598 | + }) as unknown as Promise<PostServiceInvoiceReissueResponseSuccess>; | |
7599 | + } | |
7600 | + | |
7601 | + /** http method */ | |
7602 | + request.method = method; | |
7603 | + /** request url */ | |
7604 | + request.url = url; | |
7605 | + return request; | |
7606 | +})(); | |
7607 | + | |
6907 | 7608 | /** @description request parameter type for postServiceOrderAddOrder */ |
6908 | 7609 | export interface PostServiceOrderAddOrderOption { |
6909 | 7610 | /** |
... | ... | @@ -6957,10 +7658,10 @@ export type PostServiceOrderAddOrderResponseSuccess = |
6957 | 7658 | * @consumes application/json |
6958 | 7659 | */ |
6959 | 7660 | export const postServiceOrderAddOrder = /* #__PURE__ */ (() => { |
6960 | - const method = "post"; | |
6961 | - const url = "/service/order/addOrder"; | |
7661 | + const method = 'post'; | |
7662 | + const url = '/service/order/addOrder'; | |
6962 | 7663 | function request( |
6963 | - option: PostServiceOrderAddOrderOption | |
7664 | + option: PostServiceOrderAddOrderOption, | |
6964 | 7665 | ): Promise<PostServiceOrderAddOrderResponseSuccess> { |
6965 | 7666 | return requester(request.url, { |
6966 | 7667 | method: request.method, |
... | ... | @@ -7028,10 +7729,10 @@ export type PostServiceOrderAfterSalesCheckResponseSuccess = |
7028 | 7729 | * @consumes application/json |
7029 | 7730 | */ |
7030 | 7731 | export const postServiceOrderAfterSalesCheck = /* #__PURE__ */ (() => { |
7031 | - const method = "post"; | |
7032 | - const url = "/service/order/afterSalesCheck"; | |
7732 | + const method = 'post'; | |
7733 | + const url = '/service/order/afterSalesCheck'; | |
7033 | 7734 | function request( |
7034 | - option: PostServiceOrderAfterSalesCheckOption | |
7735 | + option: PostServiceOrderAfterSalesCheckOption, | |
7035 | 7736 | ): Promise<PostServiceOrderAfterSalesCheckResponseSuccess> { |
7036 | 7737 | return requester(request.url, { |
7037 | 7738 | method: request.method, |
... | ... | @@ -7100,10 +7801,10 @@ export type PostServiceOrderAfterSalesQuerySnapshotOrderResponseSuccess = |
7100 | 7801 | */ |
7101 | 7802 | export const postServiceOrderAfterSalesQuerySnapshotOrder = |
7102 | 7803 | /* #__PURE__ */ (() => { |
7103 | - const method = "post"; | |
7104 | - const url = "/service/order/afterSalesQuerySnapshotOrder"; | |
7804 | + const method = 'post'; | |
7805 | + const url = '/service/order/afterSalesQuerySnapshotOrder'; | |
7105 | 7806 | function request( |
7106 | - option: PostServiceOrderAfterSalesQuerySnapshotOrderOption | |
7807 | + option: PostServiceOrderAfterSalesQuerySnapshotOrderOption, | |
7107 | 7808 | ): Promise<PostServiceOrderAfterSalesQuerySnapshotOrderResponseSuccess> { |
7108 | 7809 | return requester(request.url, { |
7109 | 7810 | method: request.method, |
... | ... | @@ -7171,10 +7872,10 @@ export type PostServiceOrderApplyAfterSalesResponseSuccess = |
7171 | 7872 | * @consumes application/json |
7172 | 7873 | */ |
7173 | 7874 | export const postServiceOrderApplyAfterSales = /* #__PURE__ */ (() => { |
7174 | - const method = "post"; | |
7175 | - const url = "/service/order/applyAfterSales"; | |
7875 | + const method = 'post'; | |
7876 | + const url = '/service/order/applyAfterSales'; | |
7176 | 7877 | function request( |
7177 | - option: PostServiceOrderApplyAfterSalesOption | |
7878 | + option: PostServiceOrderApplyAfterSalesOption, | |
7178 | 7879 | ): Promise<PostServiceOrderApplyAfterSalesResponseSuccess> { |
7179 | 7880 | return requester(request.url, { |
7180 | 7881 | method: request.method, |
... | ... | @@ -7242,10 +7943,10 @@ export type PostServiceOrderApplyInvoicingResponseSuccess = |
7242 | 7943 | * @consumes application/json |
7243 | 7944 | */ |
7244 | 7945 | export const postServiceOrderApplyInvoicing = /* #__PURE__ */ (() => { |
7245 | - const method = "post"; | |
7246 | - const url = "/service/order/applyInvoicing"; | |
7946 | + const method = 'post'; | |
7947 | + const url = '/service/order/applyInvoicing'; | |
7247 | 7948 | function request( |
7248 | - option: PostServiceOrderApplyInvoicingOption | |
7949 | + option: PostServiceOrderApplyInvoicingOption, | |
7249 | 7950 | ): Promise<PostServiceOrderApplyInvoicingResponseSuccess> { |
7250 | 7951 | return requester(request.url, { |
7251 | 7952 | method: request.method, |
... | ... | @@ -7313,10 +8014,10 @@ export type PostServiceOrderApplyModifyResponseSuccess = |
7313 | 8014 | * @consumes application/json |
7314 | 8015 | */ |
7315 | 8016 | export const postServiceOrderApplyModify = /* #__PURE__ */ (() => { |
7316 | - const method = "post"; | |
7317 | - const url = "/service/order/applyModify"; | |
8017 | + const method = 'post'; | |
8018 | + const url = '/service/order/applyModify'; | |
7318 | 8019 | function request( |
7319 | - option: PostServiceOrderApplyModifyOption | |
8020 | + option: PostServiceOrderApplyModifyOption, | |
7320 | 8021 | ): Promise<PostServiceOrderApplyModifyResponseSuccess> { |
7321 | 8022 | return requester(request.url, { |
7322 | 8023 | method: request.method, |
... | ... | @@ -7384,10 +8085,10 @@ export type PostServiceOrderAuditResponseSuccess = |
7384 | 8085 | * @consumes application/json |
7385 | 8086 | */ |
7386 | 8087 | export const postServiceOrderAudit = /* #__PURE__ */ (() => { |
7387 | - const method = "post"; | |
7388 | - const url = "/service/order/audit"; | |
8088 | + const method = 'post'; | |
8089 | + const url = '/service/order/audit'; | |
7389 | 8090 | function request( |
7390 | - option: PostServiceOrderAuditOption | |
8091 | + option: PostServiceOrderAuditOption, | |
7391 | 8092 | ): Promise<PostServiceOrderAuditResponseSuccess> { |
7392 | 8093 | return requester(request.url, { |
7393 | 8094 | method: request.method, |
... | ... | @@ -7455,10 +8156,10 @@ export type PostServiceOrderAuditPaymentReceiptResponseSuccess = |
7455 | 8156 | * @consumes application/json |
7456 | 8157 | */ |
7457 | 8158 | export const postServiceOrderAuditPaymentReceipt = /* #__PURE__ */ (() => { |
7458 | - const method = "post"; | |
7459 | - const url = "/service/order/auditPaymentReceipt"; | |
8159 | + const method = 'post'; | |
8160 | + const url = '/service/order/auditPaymentReceipt'; | |
7460 | 8161 | function request( |
7461 | - option: PostServiceOrderAuditPaymentReceiptOption | |
8162 | + option: PostServiceOrderAuditPaymentReceiptOption, | |
7462 | 8163 | ): Promise<PostServiceOrderAuditPaymentReceiptResponseSuccess> { |
7463 | 8164 | return requester(request.url, { |
7464 | 8165 | method: request.method, |
... | ... | @@ -7526,10 +8227,10 @@ export type PostServiceOrderCancelSendResponseSuccess = |
7526 | 8227 | * @consumes application/json |
7527 | 8228 | */ |
7528 | 8229 | export const postServiceOrderCancelSend = /* #__PURE__ */ (() => { |
7529 | - const method = "post"; | |
7530 | - const url = "/service/order/cancelSend"; | |
8230 | + const method = 'post'; | |
8231 | + const url = '/service/order/cancelSend'; | |
7531 | 8232 | function request( |
7532 | - option: PostServiceOrderCancelSendOption | |
8233 | + option: PostServiceOrderCancelSendOption, | |
7533 | 8234 | ): Promise<PostServiceOrderCancelSendResponseSuccess> { |
7534 | 8235 | return requester(request.url, { |
7535 | 8236 | method: request.method, |
... | ... | @@ -7611,10 +8312,10 @@ export type PostServiceOrderConfirmReceiptResponseSuccess = |
7611 | 8312 | * @consumes application/json |
7612 | 8313 | */ |
7613 | 8314 | export const postServiceOrderConfirmReceipt = /* #__PURE__ */ (() => { |
7614 | - const method = "post"; | |
7615 | - const url = "/service/order/confirmReceipt"; | |
8315 | + const method = 'post'; | |
8316 | + const url = '/service/order/confirmReceipt'; | |
7616 | 8317 | function request( |
7617 | - option: PostServiceOrderConfirmReceiptOption | |
8318 | + option: PostServiceOrderConfirmReceiptOption, | |
7618 | 8319 | ): Promise<PostServiceOrderConfirmReceiptResponseSuccess> { |
7619 | 8320 | return requester(request.url, { |
7620 | 8321 | method: request.method, |
... | ... | @@ -7682,10 +8383,10 @@ export type PostServiceOrderEditOrderResponseSuccess = |
7682 | 8383 | * @consumes application/json |
7683 | 8384 | */ |
7684 | 8385 | export const postServiceOrderEditOrder = /* #__PURE__ */ (() => { |
7685 | - const method = "post"; | |
7686 | - const url = "/service/order/editOrder"; | |
8386 | + const method = 'post'; | |
8387 | + const url = '/service/order/editOrder'; | |
7687 | 8388 | function request( |
7688 | - option: PostServiceOrderEditOrderOption | |
8389 | + option: PostServiceOrderEditOrderOption, | |
7689 | 8390 | ): Promise<PostServiceOrderEditOrderResponseSuccess> { |
7690 | 8391 | return requester(request.url, { |
7691 | 8392 | method: request.method, |
... | ... | @@ -7753,10 +8454,10 @@ export type PostServiceOrderEditProductionTimeResponseSuccess = |
7753 | 8454 | * @consumes application/json |
7754 | 8455 | */ |
7755 | 8456 | export const postServiceOrderEditProductionTime = /* #__PURE__ */ (() => { |
7756 | - const method = "post"; | |
7757 | - const url = "/service/order/editProductionTime"; | |
8457 | + const method = 'post'; | |
8458 | + const url = '/service/order/editProductionTime'; | |
7758 | 8459 | function request( |
7759 | - option: PostServiceOrderEditProductionTimeOption | |
8460 | + option: PostServiceOrderEditProductionTimeOption, | |
7760 | 8461 | ): Promise<PostServiceOrderEditProductionTimeResponseSuccess> { |
7761 | 8462 | return requester(request.url, { |
7762 | 8463 | method: request.method, |
... | ... | @@ -7824,10 +8525,10 @@ export type PostServiceOrderErrorExcelInformationResponseSuccess = |
7824 | 8525 | * @consumes multipart/form-data |
7825 | 8526 | */ |
7826 | 8527 | export const postServiceOrderErrorExcelInformation = /* #__PURE__ */ (() => { |
7827 | - const method = "post"; | |
7828 | - const url = "/service/order/errorExcelInformation"; | |
8528 | + const method = 'post'; | |
8529 | + const url = '/service/order/errorExcelInformation'; | |
7829 | 8530 | function request( |
7830 | - option: PostServiceOrderErrorExcelInformationOption | |
8531 | + option: PostServiceOrderErrorExcelInformationOption, | |
7831 | 8532 | ): Promise<PostServiceOrderErrorExcelInformationResponseSuccess> { |
7832 | 8533 | return requester(request.url, { |
7833 | 8534 | method: request.method, |
... | ... | @@ -7895,10 +8596,10 @@ export type PostServiceOrderExportResponseSuccess = |
7895 | 8596 | * @consumes application/json |
7896 | 8597 | */ |
7897 | 8598 | export const postServiceOrderExport = /* #__PURE__ */ (() => { |
7898 | - const method = "post"; | |
7899 | - const url = "/service/order/export"; | |
8599 | + const method = 'post'; | |
8600 | + const url = '/service/order/export'; | |
7900 | 8601 | function request( |
7901 | - option: PostServiceOrderExportOption | |
8602 | + option: PostServiceOrderExportOption, | |
7902 | 8603 | ): Promise<PostServiceOrderExportResponseSuccess> { |
7903 | 8604 | return requester(request.url, { |
7904 | 8605 | method: request.method, |
... | ... | @@ -7952,8 +8653,8 @@ export type PostServiceOrderExportTemplateResponseSuccess = |
7952 | 8653 | * @consumes application/json |
7953 | 8654 | */ |
7954 | 8655 | export const postServiceOrderExportTemplate = /* #__PURE__ */ (() => { |
7955 | - const method = "post"; | |
7956 | - const url = "/service/order/exportTemplate"; | |
8656 | + const method = 'post'; | |
8657 | + const url = '/service/order/exportTemplate'; | |
7957 | 8658 | function request(): Promise<PostServiceOrderExportTemplateResponseSuccess> { |
7958 | 8659 | return requester(request.url, { |
7959 | 8660 | method: request.method, |
... | ... | @@ -8020,10 +8721,10 @@ export type PostServiceOrderFileProcessResponseSuccess = |
8020 | 8721 | * @consumes application/json |
8021 | 8722 | */ |
8022 | 8723 | export const postServiceOrderFileProcess = /* #__PURE__ */ (() => { |
8023 | - const method = "post"; | |
8024 | - const url = "/service/order/fileProcess"; | |
8724 | + const method = 'post'; | |
8725 | + const url = '/service/order/fileProcess'; | |
8025 | 8726 | function request( |
8026 | - option: PostServiceOrderFileProcessOption | |
8727 | + option: PostServiceOrderFileProcessOption, | |
8027 | 8728 | ): Promise<PostServiceOrderFileProcessResponseSuccess> { |
8028 | 8729 | return requester(request.url, { |
8029 | 8730 | method: request.method, |
... | ... | @@ -8091,10 +8792,10 @@ export type PostServiceOrderFinanceCheckOrderResponseSuccess = |
8091 | 8792 | * @consumes application/json |
8092 | 8793 | */ |
8093 | 8794 | export const postServiceOrderFinanceCheckOrder = /* #__PURE__ */ (() => { |
8094 | - const method = "post"; | |
8095 | - const url = "/service/order/financeCheckOrder"; | |
8795 | + const method = 'post'; | |
8796 | + const url = '/service/order/financeCheckOrder'; | |
8096 | 8797 | function request( |
8097 | - option: PostServiceOrderFinanceCheckOrderOption | |
8798 | + option: PostServiceOrderFinanceCheckOrderOption, | |
8098 | 8799 | ): Promise<PostServiceOrderFinanceCheckOrderResponseSuccess> { |
8099 | 8800 | return requester(request.url, { |
8100 | 8801 | method: request.method, |
... | ... | @@ -8109,6 +8810,77 @@ export const postServiceOrderFinanceCheckOrder = /* #__PURE__ */ (() => { |
8109 | 8810 | return request; |
8110 | 8811 | })(); |
8111 | 8812 | |
8813 | +/** @description request parameter type for postServiceOrderFindServiceOrder */ | |
8814 | +export interface PostServiceOrderFindServiceOrderOption { | |
8815 | + /** | |
8816 | + * @description | |
8817 | + * dto | |
8818 | + */ | |
8819 | + body: { | |
8820 | + /** | |
8821 | + @description | |
8822 | + dto */ | |
8823 | + dto: Dto; | |
8824 | + }; | |
8825 | +} | |
8826 | + | |
8827 | +/** @description response type for postServiceOrderFindServiceOrder */ | |
8828 | +export interface PostServiceOrderFindServiceOrderResponse { | |
8829 | + /** | |
8830 | + * @description | |
8831 | + * OK | |
8832 | + */ | |
8833 | + 200: ServerResult; | |
8834 | + /** | |
8835 | + * @description | |
8836 | + * Created | |
8837 | + */ | |
8838 | + 201: any; | |
8839 | + /** | |
8840 | + * @description | |
8841 | + * Unauthorized | |
8842 | + */ | |
8843 | + 401: any; | |
8844 | + /** | |
8845 | + * @description | |
8846 | + * Forbidden | |
8847 | + */ | |
8848 | + 403: any; | |
8849 | + /** | |
8850 | + * @description | |
8851 | + * Not Found | |
8852 | + */ | |
8853 | + 404: any; | |
8854 | +} | |
8855 | + | |
8856 | +export type PostServiceOrderFindServiceOrderResponseSuccess = | |
8857 | + PostServiceOrderFindServiceOrderResponse[200]; | |
8858 | +/** | |
8859 | + * @description | |
8860 | + * 不分页查询订单列表 | |
8861 | + * @tags 内部订单 | |
8862 | + * @produces * | |
8863 | + * @consumes application/json | |
8864 | + */ | |
8865 | +export const postServiceOrderFindServiceOrder = /* #__PURE__ */ (() => { | |
8866 | + const method = 'post'; | |
8867 | + const url = '/service/order/findServiceOrder'; | |
8868 | + function request( | |
8869 | + option: PostServiceOrderFindServiceOrderOption, | |
8870 | + ): Promise<PostServiceOrderFindServiceOrderResponseSuccess> { | |
8871 | + return requester(request.url, { | |
8872 | + method: request.method, | |
8873 | + ...option, | |
8874 | + }) as unknown as Promise<PostServiceOrderFindServiceOrderResponseSuccess>; | |
8875 | + } | |
8876 | + | |
8877 | + /** http method */ | |
8878 | + request.method = method; | |
8879 | + /** request url */ | |
8880 | + request.url = url; | |
8881 | + return request; | |
8882 | +})(); | |
8883 | + | |
8112 | 8884 | /** @description request parameter type for postServiceOrderImportExcel */ |
8113 | 8885 | export interface PostServiceOrderImportExcelOption { |
8114 | 8886 | /** |
... | ... | @@ -8162,10 +8934,10 @@ export type PostServiceOrderImportExcelResponseSuccess = |
8162 | 8934 | * @consumes multipart/form-data |
8163 | 8935 | */ |
8164 | 8936 | export const postServiceOrderImportExcel = /* #__PURE__ */ (() => { |
8165 | - const method = "post"; | |
8166 | - const url = "/service/order/importExcel"; | |
8937 | + const method = 'post'; | |
8938 | + const url = '/service/order/importExcel'; | |
8167 | 8939 | function request( |
8168 | - option: PostServiceOrderImportExcelOption | |
8940 | + option: PostServiceOrderImportExcelOption, | |
8169 | 8941 | ): Promise<PostServiceOrderImportExcelResponseSuccess> { |
8170 | 8942 | return requester(request.url, { |
8171 | 8943 | method: request.method, |
... | ... | @@ -8233,10 +9005,10 @@ export type PostServiceOrderInvoicingResponseSuccess = |
8233 | 9005 | * @consumes application/json |
8234 | 9006 | */ |
8235 | 9007 | export const postServiceOrderInvoicing = /* #__PURE__ */ (() => { |
8236 | - const method = "post"; | |
8237 | - const url = "/service/order/invoicing"; | |
9008 | + const method = 'post'; | |
9009 | + const url = '/service/order/invoicing'; | |
8238 | 9010 | function request( |
8239 | - option: PostServiceOrderInvoicingOption | |
9011 | + option: PostServiceOrderInvoicingOption, | |
8240 | 9012 | ): Promise<PostServiceOrderInvoicingResponseSuccess> { |
8241 | 9013 | return requester(request.url, { |
8242 | 9014 | method: request.method, |
... | ... | @@ -8304,10 +9076,10 @@ export type PostServiceOrderLeaderAuditResponseSuccess = |
8304 | 9076 | * @consumes application/json |
8305 | 9077 | */ |
8306 | 9078 | export const postServiceOrderLeaderAudit = /* #__PURE__ */ (() => { |
8307 | - const method = "post"; | |
8308 | - const url = "/service/order/leaderAudit"; | |
9079 | + const method = 'post'; | |
9080 | + const url = '/service/order/leaderAudit'; | |
8309 | 9081 | function request( |
8310 | - option: PostServiceOrderLeaderAuditOption | |
9082 | + option: PostServiceOrderLeaderAuditOption, | |
8311 | 9083 | ): Promise<PostServiceOrderLeaderAuditResponseSuccess> { |
8312 | 9084 | return requester(request.url, { |
8313 | 9085 | method: request.method, |
... | ... | @@ -8375,10 +9147,10 @@ export type PostServiceOrderMergeApplyInvoicingResponseSuccess = |
8375 | 9147 | * @consumes application/json |
8376 | 9148 | */ |
8377 | 9149 | export const postServiceOrderMergeApplyInvoicing = /* #__PURE__ */ (() => { |
8378 | - const method = "post"; | |
8379 | - const url = "/service/order/mergeApplyInvoicing"; | |
9150 | + const method = 'post'; | |
9151 | + const url = '/service/order/mergeApplyInvoicing'; | |
8380 | 9152 | function request( |
8381 | - option: PostServiceOrderMergeApplyInvoicingOption | |
9153 | + option: PostServiceOrderMergeApplyInvoicingOption, | |
8382 | 9154 | ): Promise<PostServiceOrderMergeApplyInvoicingResponseSuccess> { |
8383 | 9155 | return requester(request.url, { |
8384 | 9156 | method: request.method, |
... | ... | @@ -8446,10 +9218,10 @@ export type PostServiceOrderMergeInvoicingResponseSuccess = |
8446 | 9218 | * @consumes application/json |
8447 | 9219 | */ |
8448 | 9220 | export const postServiceOrderMergeInvoicing = /* #__PURE__ */ (() => { |
8449 | - const method = "post"; | |
8450 | - const url = "/service/order/mergeInvoicing"; | |
9221 | + const method = 'post'; | |
9222 | + const url = '/service/order/mergeInvoicing'; | |
8451 | 9223 | function request( |
8452 | - option: PostServiceOrderMergeInvoicingOption | |
9224 | + option: PostServiceOrderMergeInvoicingOption, | |
8453 | 9225 | ): Promise<PostServiceOrderMergeInvoicingResponseSuccess> { |
8454 | 9226 | return requester(request.url, { |
8455 | 9227 | method: request.method, |
... | ... | @@ -8517,10 +9289,10 @@ export type PostServiceOrderModifiedDiffResponseSuccess = |
8517 | 9289 | * @consumes application/json |
8518 | 9290 | */ |
8519 | 9291 | export const postServiceOrderModifiedDiff = /* #__PURE__ */ (() => { |
8520 | - const method = "post"; | |
8521 | - const url = "/service/order/modifiedDiff"; | |
9292 | + const method = 'post'; | |
9293 | + const url = '/service/order/modifiedDiff'; | |
8522 | 9294 | function request( |
8523 | - option: PostServiceOrderModifiedDiffOption | |
9295 | + option: PostServiceOrderModifiedDiffOption, | |
8524 | 9296 | ): Promise<PostServiceOrderModifiedDiffResponseSuccess> { |
8525 | 9297 | return requester(request.url, { |
8526 | 9298 | method: request.method, |
... | ... | @@ -8588,10 +9360,10 @@ export type PostServiceOrderNoNeedInvoicingEditResponseSuccess = |
8588 | 9360 | * @consumes application/json |
8589 | 9361 | */ |
8590 | 9362 | export const postServiceOrderNoNeedInvoicingEdit = /* #__PURE__ */ (() => { |
8591 | - const method = "post"; | |
8592 | - const url = "/service/order/noNeedInvoicingEdit"; | |
9363 | + const method = 'post'; | |
9364 | + const url = '/service/order/noNeedInvoicingEdit'; | |
8593 | 9365 | function request( |
8594 | - option: PostServiceOrderNoNeedInvoicingEditOption | |
9366 | + option: PostServiceOrderNoNeedInvoicingEditOption, | |
8595 | 9367 | ): Promise<PostServiceOrderNoNeedInvoicingEditResponseSuccess> { |
8596 | 9368 | return requester(request.url, { |
8597 | 9369 | method: request.method, |
... | ... | @@ -8659,10 +9431,10 @@ export type PostServiceOrderNoNeedSendResponseSuccess = |
8659 | 9431 | * @consumes application/json |
8660 | 9432 | */ |
8661 | 9433 | export const postServiceOrderNoNeedSend = /* #__PURE__ */ (() => { |
8662 | - const method = "post"; | |
8663 | - const url = "/service/order/noNeedSend"; | |
9434 | + const method = 'post'; | |
9435 | + const url = '/service/order/noNeedSend'; | |
8664 | 9436 | function request( |
8665 | - option: PostServiceOrderNoNeedSendOption | |
9437 | + option: PostServiceOrderNoNeedSendOption, | |
8666 | 9438 | ): Promise<PostServiceOrderNoNeedSendResponseSuccess> { |
8667 | 9439 | return requester(request.url, { |
8668 | 9440 | method: request.method, |
... | ... | @@ -8730,10 +9502,10 @@ export type PostServiceOrderNotesEditResponseSuccess = |
8730 | 9502 | * @consumes application/json |
8731 | 9503 | */ |
8732 | 9504 | export const postServiceOrderNotesEdit = /* #__PURE__ */ (() => { |
8733 | - const method = "post"; | |
8734 | - const url = "/service/order/notesEdit"; | |
9505 | + const method = 'post'; | |
9506 | + const url = '/service/order/notesEdit'; | |
8735 | 9507 | function request( |
8736 | - option: PostServiceOrderNotesEditOption | |
9508 | + option: PostServiceOrderNotesEditOption, | |
8737 | 9509 | ): Promise<PostServiceOrderNotesEditResponseSuccess> { |
8738 | 9510 | return requester(request.url, { |
8739 | 9511 | method: request.method, |
... | ... | @@ -8801,10 +9573,10 @@ export type PostServiceOrderOrderCancelResponseSuccess = |
8801 | 9573 | * @consumes application/json |
8802 | 9574 | */ |
8803 | 9575 | export const postServiceOrderOrderCancel = /* #__PURE__ */ (() => { |
8804 | - const method = "post"; | |
8805 | - const url = "/service/order/orderCancel"; | |
9576 | + const method = 'post'; | |
9577 | + const url = '/service/order/orderCancel'; | |
8806 | 9578 | function request( |
8807 | - option: PostServiceOrderOrderCancelOption | |
9579 | + option: PostServiceOrderOrderCancelOption, | |
8808 | 9580 | ): Promise<PostServiceOrderOrderCancelResponseSuccess> { |
8809 | 9581 | return requester(request.url, { |
8810 | 9582 | method: request.method, |
... | ... | @@ -8872,10 +9644,10 @@ export type PostServiceOrderPrintOrderResponseSuccess = |
8872 | 9644 | * @consumes application/json |
8873 | 9645 | */ |
8874 | 9646 | export const postServiceOrderPrintOrder = /* #__PURE__ */ (() => { |
8875 | - const method = "post"; | |
8876 | - const url = "/service/order/printOrder"; | |
9647 | + const method = 'post'; | |
9648 | + const url = '/service/order/printOrder'; | |
8877 | 9649 | function request( |
8878 | - option: PostServiceOrderPrintOrderOption | |
9650 | + option: PostServiceOrderPrintOrderOption, | |
8879 | 9651 | ): Promise<PostServiceOrderPrintOrderResponseSuccess> { |
8880 | 9652 | return requester(request.url, { |
8881 | 9653 | method: request.method, |
... | ... | @@ -8943,10 +9715,10 @@ export type PostServiceOrderProcureCheckOrderResponseSuccess = |
8943 | 9715 | * @consumes application/json |
8944 | 9716 | */ |
8945 | 9717 | export const postServiceOrderProcureCheckOrder = /* #__PURE__ */ (() => { |
8946 | - const method = "post"; | |
8947 | - const url = "/service/order/procureCheckOrder"; | |
9718 | + const method = 'post'; | |
9719 | + const url = '/service/order/procureCheckOrder'; | |
8948 | 9720 | function request( |
8949 | - option: PostServiceOrderProcureCheckOrderOption | |
9721 | + option: PostServiceOrderProcureCheckOrderOption, | |
8950 | 9722 | ): Promise<PostServiceOrderProcureCheckOrderResponseSuccess> { |
8951 | 9723 | return requester(request.url, { |
8952 | 9724 | method: request.method, |
... | ... | @@ -9014,10 +9786,10 @@ export type PostServiceOrderProcureConvertProcureResponseSuccess = |
9014 | 9786 | * @consumes application/json |
9015 | 9787 | */ |
9016 | 9788 | export const postServiceOrderProcureConvertProcure = /* #__PURE__ */ (() => { |
9017 | - const method = "post"; | |
9018 | - const url = "/service/order/procureConvertProcure"; | |
9789 | + const method = 'post'; | |
9790 | + const url = '/service/order/procureConvertProcure'; | |
9019 | 9791 | function request( |
9020 | - option: PostServiceOrderProcureConvertProcureOption | |
9792 | + option: PostServiceOrderProcureConvertProcureOption, | |
9021 | 9793 | ): Promise<PostServiceOrderProcureConvertProcureResponseSuccess> { |
9022 | 9794 | return requester(request.url, { |
9023 | 9795 | method: request.method, |
... | ... | @@ -9086,10 +9858,10 @@ export type PostServiceOrderProcureConvertWarehouseKeeperResponseSuccess = |
9086 | 9858 | */ |
9087 | 9859 | export const postServiceOrderProcureConvertWarehouseKeeper = |
9088 | 9860 | /* #__PURE__ */ (() => { |
9089 | - const method = "post"; | |
9090 | - const url = "/service/order/procureConvertWarehouseKeeper"; | |
9861 | + const method = 'post'; | |
9862 | + const url = '/service/order/procureConvertWarehouseKeeper'; | |
9091 | 9863 | function request( |
9092 | - option: PostServiceOrderProcureConvertWarehouseKeeperOption | |
9864 | + option: PostServiceOrderProcureConvertWarehouseKeeperOption, | |
9093 | 9865 | ): Promise<PostServiceOrderProcureConvertWarehouseKeeperResponseSuccess> { |
9094 | 9866 | return requester(request.url, { |
9095 | 9867 | method: request.method, |
... | ... | @@ -9157,10 +9929,10 @@ export type PostServiceOrderProcureOrderResponseSuccess = |
9157 | 9929 | * @consumes application/json |
9158 | 9930 | */ |
9159 | 9931 | export const postServiceOrderProcureOrder = /* #__PURE__ */ (() => { |
9160 | - const method = "post"; | |
9161 | - const url = "/service/order/procureOrder"; | |
9932 | + const method = 'post'; | |
9933 | + const url = '/service/order/procureOrder'; | |
9162 | 9934 | function request( |
9163 | - option: PostServiceOrderProcureOrderOption | |
9935 | + option: PostServiceOrderProcureOrderOption, | |
9164 | 9936 | ): Promise<PostServiceOrderProcureOrderResponseSuccess> { |
9165 | 9937 | return requester(request.url, { |
9166 | 9938 | method: request.method, |
... | ... | @@ -9228,10 +10000,10 @@ export type PostServiceOrderProcurePrintResponseSuccess = |
9228 | 10000 | * @consumes application/json |
9229 | 10001 | */ |
9230 | 10002 | export const postServiceOrderProcurePrint = /* #__PURE__ */ (() => { |
9231 | - const method = "post"; | |
9232 | - const url = "/service/order/procurePrint"; | |
10003 | + const method = 'post'; | |
10004 | + const url = '/service/order/procurePrint'; | |
9233 | 10005 | function request( |
9234 | - option: PostServiceOrderProcurePrintOption | |
10006 | + option: PostServiceOrderProcurePrintOption, | |
9235 | 10007 | ): Promise<PostServiceOrderProcurePrintResponseSuccess> { |
9236 | 10008 | return requester(request.url, { |
9237 | 10009 | method: request.method, |
... | ... | @@ -9299,10 +10071,10 @@ export type PostServiceOrderProcureSendResponseSuccess = |
9299 | 10071 | * @consumes application/json |
9300 | 10072 | */ |
9301 | 10073 | export const postServiceOrderProcureSend = /* #__PURE__ */ (() => { |
9302 | - const method = "post"; | |
9303 | - const url = "/service/order/procureSend"; | |
10074 | + const method = 'post'; | |
10075 | + const url = '/service/order/procureSend'; | |
9304 | 10076 | function request( |
9305 | - option: PostServiceOrderProcureSendOption | |
10077 | + option: PostServiceOrderProcureSendOption, | |
9306 | 10078 | ): Promise<PostServiceOrderProcureSendResponseSuccess> { |
9307 | 10079 | return requester(request.url, { |
9308 | 10080 | method: request.method, |
... | ... | @@ -9350,8 +10122,8 @@ export type GetServiceOrderProvideInvoicingStatusResponseSuccess = |
9350 | 10122 | * @produces * |
9351 | 10123 | */ |
9352 | 10124 | export const getServiceOrderProvideInvoicingStatus = /* #__PURE__ */ (() => { |
9353 | - const method = "get"; | |
9354 | - const url = "/service/order/provideInvoicingStatus"; | |
10125 | + const method = 'get'; | |
10126 | + const url = '/service/order/provideInvoicingStatus'; | |
9355 | 10127 | function request(): Promise<GetServiceOrderProvideInvoicingStatusResponseSuccess> { |
9356 | 10128 | return requester(request.url, { |
9357 | 10129 | method: request.method, |
... | ... | @@ -9398,8 +10170,8 @@ export type GetServiceOrderProvideLogisticsStatusResponseSuccess = |
9398 | 10170 | * @produces * |
9399 | 10171 | */ |
9400 | 10172 | export const getServiceOrderProvideLogisticsStatus = /* #__PURE__ */ (() => { |
9401 | - const method = "get"; | |
9402 | - const url = "/service/order/provideLogisticsStatus"; | |
10173 | + const method = 'get'; | |
10174 | + const url = '/service/order/provideLogisticsStatus'; | |
9403 | 10175 | function request(): Promise<GetServiceOrderProvideLogisticsStatusResponseSuccess> { |
9404 | 10176 | return requester(request.url, { |
9405 | 10177 | method: request.method, |
... | ... | @@ -9446,8 +10218,8 @@ export type GetServiceOrderProvideOrderStatusResponseSuccess = |
9446 | 10218 | * @produces * |
9447 | 10219 | */ |
9448 | 10220 | export const getServiceOrderProvideOrderStatus = /* #__PURE__ */ (() => { |
9449 | - const method = "get"; | |
9450 | - const url = "/service/order/provideOrderStatus"; | |
10221 | + const method = 'get'; | |
10222 | + const url = '/service/order/provideOrderStatus'; | |
9451 | 10223 | function request(): Promise<GetServiceOrderProvideOrderStatusResponseSuccess> { |
9452 | 10224 | return requester(request.url, { |
9453 | 10225 | method: request.method, |
... | ... | @@ -9494,8 +10266,8 @@ export type GetServiceOrderProvidePaymentChannelResponseSuccess = |
9494 | 10266 | * @produces * |
9495 | 10267 | */ |
9496 | 10268 | export const getServiceOrderProvidePaymentChannel = /* #__PURE__ */ (() => { |
9497 | - const method = "get"; | |
9498 | - const url = "/service/order/providePaymentChannel"; | |
10269 | + const method = 'get'; | |
10270 | + const url = '/service/order/providePaymentChannel'; | |
9499 | 10271 | function request(): Promise<GetServiceOrderProvidePaymentChannelResponseSuccess> { |
9500 | 10272 | return requester(request.url, { |
9501 | 10273 | method: request.method, |
... | ... | @@ -9542,8 +10314,8 @@ export type GetServiceOrderProvidePaymentMethodResponseSuccess = |
9542 | 10314 | * @produces * |
9543 | 10315 | */ |
9544 | 10316 | export const getServiceOrderProvidePaymentMethod = /* #__PURE__ */ (() => { |
9545 | - const method = "get"; | |
9546 | - const url = "/service/order/providePaymentMethod"; | |
10317 | + const method = 'get'; | |
10318 | + const url = '/service/order/providePaymentMethod'; | |
9547 | 10319 | function request(): Promise<GetServiceOrderProvidePaymentMethodResponseSuccess> { |
9548 | 10320 | return requester(request.url, { |
9549 | 10321 | method: request.method, |
... | ... | @@ -9596,8 +10368,8 @@ export type PostServiceOrderProvideProcurementRolesResponseSuccess = |
9596 | 10368 | * @consumes application/json |
9597 | 10369 | */ |
9598 | 10370 | export const postServiceOrderProvideProcurementRoles = /* #__PURE__ */ (() => { |
9599 | - const method = "post"; | |
9600 | - const url = "/service/order/provideProcurementRoles"; | |
10371 | + const method = 'post'; | |
10372 | + const url = '/service/order/provideProcurementRoles'; | |
9601 | 10373 | function request(): Promise<PostServiceOrderProvideProcurementRolesResponseSuccess> { |
9602 | 10374 | return requester(request.url, { |
9603 | 10375 | method: request.method, |
... | ... | @@ -9645,8 +10417,8 @@ export type GetServiceOrderProvideProductBelongDepartmentResponseSuccess = |
9645 | 10417 | */ |
9646 | 10418 | export const getServiceOrderProvideProductBelongDepartment = |
9647 | 10419 | /* #__PURE__ */ (() => { |
9648 | - const method = "get"; | |
9649 | - const url = "/service/order/provideProductBelongDepartment"; | |
10420 | + const method = 'get'; | |
10421 | + const url = '/service/order/provideProductBelongDepartment'; | |
9650 | 10422 | function request(): Promise<GetServiceOrderProvideProductBelongDepartmentResponseSuccess> { |
9651 | 10423 | return requester(request.url, { |
9652 | 10424 | method: request.method, |
... | ... | @@ -9693,8 +10465,8 @@ export type GetServiceOrderProvideProductUnitResponseSuccess = |
9693 | 10465 | * @produces * |
9694 | 10466 | */ |
9695 | 10467 | export const getServiceOrderProvideProductUnit = /* #__PURE__ */ (() => { |
9696 | - const method = "get"; | |
9697 | - const url = "/service/order/provideProductUnit"; | |
10468 | + const method = 'get'; | |
10469 | + const url = '/service/order/provideProductUnit'; | |
9698 | 10470 | function request(): Promise<GetServiceOrderProvideProductUnitResponseSuccess> { |
9699 | 10471 | return requester(request.url, { |
9700 | 10472 | method: request.method, |
... | ... | @@ -9741,8 +10513,8 @@ export type GetServiceOrderProvideTokenResponseSuccess = |
9741 | 10513 | * @produces * |
9742 | 10514 | */ |
9743 | 10515 | export const getServiceOrderProvideToken = /* #__PURE__ */ (() => { |
9744 | - const method = "get"; | |
9745 | - const url = "/service/order/provideToken"; | |
10516 | + const method = 'get'; | |
10517 | + const url = '/service/order/provideToken'; | |
9746 | 10518 | function request(): Promise<GetServiceOrderProvideTokenResponseSuccess> { |
9747 | 10519 | return requester(request.url, { |
9748 | 10520 | method: request.method, |
... | ... | @@ -9810,10 +10582,10 @@ export type PostServiceOrderQueryAfterSalesInfoSnapshotResponseSuccess = |
9810 | 10582 | */ |
9811 | 10583 | export const postServiceOrderQueryAfterSalesInfoSnapshot = |
9812 | 10584 | /* #__PURE__ */ (() => { |
9813 | - const method = "post"; | |
9814 | - const url = "/service/order/queryAfterSalesInfoSnapshot"; | |
10585 | + const method = 'post'; | |
10586 | + const url = '/service/order/queryAfterSalesInfoSnapshot'; | |
9815 | 10587 | function request( |
9816 | - option: PostServiceOrderQueryAfterSalesInfoSnapshotOption | |
10588 | + option: PostServiceOrderQueryAfterSalesInfoSnapshotOption, | |
9817 | 10589 | ): Promise<PostServiceOrderQueryAfterSalesInfoSnapshotResponseSuccess> { |
9818 | 10590 | return requester(request.url, { |
9819 | 10591 | method: request.method, |
... | ... | @@ -9867,8 +10639,8 @@ export type PostServiceOrderQueryAnnualTargetResponseSuccess = |
9867 | 10639 | * @consumes application/json |
9868 | 10640 | */ |
9869 | 10641 | export const postServiceOrderQueryAnnualTarget = /* #__PURE__ */ (() => { |
9870 | - const method = "post"; | |
9871 | - const url = "/service/order/queryAnnualTarget"; | |
10642 | + const method = 'post'; | |
10643 | + const url = '/service/order/queryAnnualTarget'; | |
9872 | 10644 | function request(): Promise<PostServiceOrderQueryAnnualTargetResponseSuccess> { |
9873 | 10645 | return requester(request.url, { |
9874 | 10646 | method: request.method, |
... | ... | @@ -9935,10 +10707,10 @@ export type PostServiceOrderQueryCustomerInformationResponseSuccess = |
9935 | 10707 | * @consumes application/json |
9936 | 10708 | */ |
9937 | 10709 | export const postServiceOrderQueryCustomerInformation = /* #__PURE__ */ (() => { |
9938 | - const method = "post"; | |
9939 | - const url = "/service/order/queryCustomerInformation"; | |
10710 | + const method = 'post'; | |
10711 | + const url = '/service/order/queryCustomerInformation'; | |
9940 | 10712 | function request( |
9941 | - option: PostServiceOrderQueryCustomerInformationOption | |
10713 | + option: PostServiceOrderQueryCustomerInformationOption, | |
9942 | 10714 | ): Promise<PostServiceOrderQueryCustomerInformationResponseSuccess> { |
9943 | 10715 | return requester(request.url, { |
9944 | 10716 | method: request.method, |
... | ... | @@ -10007,10 +10779,10 @@ export type PostServiceOrderQueryCustomerNameInformationResponseSuccess = |
10007 | 10779 | */ |
10008 | 10780 | export const postServiceOrderQueryCustomerNameInformation = |
10009 | 10781 | /* #__PURE__ */ (() => { |
10010 | - const method = "post"; | |
10011 | - const url = "/service/order/queryCustomerNameInformation"; | |
10782 | + const method = 'post'; | |
10783 | + const url = '/service/order/queryCustomerNameInformation'; | |
10012 | 10784 | function request( |
10013 | - option: PostServiceOrderQueryCustomerNameInformationOption | |
10785 | + option: PostServiceOrderQueryCustomerNameInformationOption, | |
10014 | 10786 | ): Promise<PostServiceOrderQueryCustomerNameInformationResponseSuccess> { |
10015 | 10787 | return requester(request.url, { |
10016 | 10788 | method: request.method, |
... | ... | @@ -10078,10 +10850,10 @@ export type PostServiceOrderQueryHistoryOrderRecordResponseSuccess = |
10078 | 10850 | * @consumes application/json |
10079 | 10851 | */ |
10080 | 10852 | export const postServiceOrderQueryHistoryOrderRecord = /* #__PURE__ */ (() => { |
10081 | - const method = "post"; | |
10082 | - const url = "/service/order/queryHistoryOrderRecord"; | |
10853 | + const method = 'post'; | |
10854 | + const url = '/service/order/queryHistoryOrderRecord'; | |
10083 | 10855 | function request( |
10084 | - option: PostServiceOrderQueryHistoryOrderRecordOption | |
10856 | + option: PostServiceOrderQueryHistoryOrderRecordOption, | |
10085 | 10857 | ): Promise<PostServiceOrderQueryHistoryOrderRecordResponseSuccess> { |
10086 | 10858 | return requester(request.url, { |
10087 | 10859 | method: request.method, |
... | ... | @@ -10149,10 +10921,10 @@ export type PostServiceOrderQueryProductInformationResponseSuccess = |
10149 | 10921 | * @consumes application/json |
10150 | 10922 | */ |
10151 | 10923 | export const postServiceOrderQueryProductInformation = /* #__PURE__ */ (() => { |
10152 | - const method = "post"; | |
10153 | - const url = "/service/order/queryProductInformation"; | |
10924 | + const method = 'post'; | |
10925 | + const url = '/service/order/queryProductInformation'; | |
10154 | 10926 | function request( |
10155 | - option: PostServiceOrderQueryProductInformationOption | |
10927 | + option: PostServiceOrderQueryProductInformationOption, | |
10156 | 10928 | ): Promise<PostServiceOrderQueryProductInformationResponseSuccess> { |
10157 | 10929 | return requester(request.url, { |
10158 | 10930 | method: request.method, |
... | ... | @@ -10221,10 +10993,10 @@ export type PostServiceOrderQueryReportFormsInformationResponseSuccess = |
10221 | 10993 | */ |
10222 | 10994 | export const postServiceOrderQueryReportFormsInformation = |
10223 | 10995 | /* #__PURE__ */ (() => { |
10224 | - const method = "post"; | |
10225 | - const url = "/service/order/queryReportFormsInformation"; | |
10996 | + const method = 'post'; | |
10997 | + const url = '/service/order/queryReportFormsInformation'; | |
10226 | 10998 | function request( |
10227 | - option: PostServiceOrderQueryReportFormsInformationOption | |
10999 | + option: PostServiceOrderQueryReportFormsInformationOption, | |
10228 | 11000 | ): Promise<PostServiceOrderQueryReportFormsInformationResponseSuccess> { |
10229 | 11001 | return requester(request.url, { |
10230 | 11002 | method: request.method, |
... | ... | @@ -10278,8 +11050,8 @@ export type PostServiceOrderQuerySalesCodeResponseSuccess = |
10278 | 11050 | * @consumes application/json |
10279 | 11051 | */ |
10280 | 11052 | export const postServiceOrderQuerySalesCode = /* #__PURE__ */ (() => { |
10281 | - const method = "post"; | |
10282 | - const url = "/service/order/querySalesCode"; | |
11053 | + const method = 'post'; | |
11054 | + const url = '/service/order/querySalesCode'; | |
10283 | 11055 | function request(): Promise<PostServiceOrderQuerySalesCodeResponseSuccess> { |
10284 | 11056 | return requester(request.url, { |
10285 | 11057 | method: request.method, |
... | ... | @@ -10346,10 +11118,10 @@ export type PostServiceOrderQueryServiceOrderResponseSuccess = |
10346 | 11118 | * @consumes application/json |
10347 | 11119 | */ |
10348 | 11120 | export const postServiceOrderQueryServiceOrder = /* #__PURE__ */ (() => { |
10349 | - const method = "post"; | |
10350 | - const url = "/service/order/queryServiceOrder"; | |
11121 | + const method = 'post'; | |
11122 | + const url = '/service/order/queryServiceOrder'; | |
10351 | 11123 | function request( |
10352 | - option: PostServiceOrderQueryServiceOrderOption | |
11124 | + option: PostServiceOrderQueryServiceOrderOption, | |
10353 | 11125 | ): Promise<PostServiceOrderQueryServiceOrderResponseSuccess> { |
10354 | 11126 | return requester(request.url, { |
10355 | 11127 | method: request.method, |
... | ... | @@ -10403,8 +11175,8 @@ export type PostServiceOrderQuerySupplierResponseSuccess = |
10403 | 11175 | * @consumes application/json |
10404 | 11176 | */ |
10405 | 11177 | export const postServiceOrderQuerySupplier = /* #__PURE__ */ (() => { |
10406 | - const method = "post"; | |
10407 | - const url = "/service/order/querySupplier"; | |
11178 | + const method = 'post'; | |
11179 | + const url = '/service/order/querySupplier'; | |
10408 | 11180 | function request(): Promise<PostServiceOrderQuerySupplierResponseSuccess> { |
10409 | 11181 | return requester(request.url, { |
10410 | 11182 | method: request.method, |
... | ... | @@ -10471,10 +11243,10 @@ export type PostServiceOrderRemindShippingResponseSuccess = |
10471 | 11243 | * @consumes application/json |
10472 | 11244 | */ |
10473 | 11245 | export const postServiceOrderRemindShipping = /* #__PURE__ */ (() => { |
10474 | - const method = "post"; | |
10475 | - const url = "/service/order/remindShipping"; | |
11246 | + const method = 'post'; | |
11247 | + const url = '/service/order/remindShipping'; | |
10476 | 11248 | function request( |
10477 | - option: PostServiceOrderRemindShippingOption | |
11249 | + option: PostServiceOrderRemindShippingOption, | |
10478 | 11250 | ): Promise<PostServiceOrderRemindShippingResponseSuccess> { |
10479 | 11251 | return requester(request.url, { |
10480 | 11252 | method: request.method, |
... | ... | @@ -10542,10 +11314,10 @@ export type PostServiceOrderSaleCancelInvoicingResponseSuccess = |
10542 | 11314 | * @consumes application/json |
10543 | 11315 | */ |
10544 | 11316 | export const postServiceOrderSaleCancelInvoicing = /* #__PURE__ */ (() => { |
10545 | - const method = "post"; | |
10546 | - const url = "/service/order/saleCancelInvoicing"; | |
11317 | + const method = 'post'; | |
11318 | + const url = '/service/order/saleCancelInvoicing'; | |
10547 | 11319 | function request( |
10548 | - option: PostServiceOrderSaleCancelInvoicingOption | |
11320 | + option: PostServiceOrderSaleCancelInvoicingOption, | |
10549 | 11321 | ): Promise<PostServiceOrderSaleCancelInvoicingResponseSuccess> { |
10550 | 11322 | return requester(request.url, { |
10551 | 11323 | method: request.method, |
... | ... | @@ -10613,10 +11385,10 @@ export type PostServiceOrderSendProductResponseSuccess = |
10613 | 11385 | * @consumes application/json |
10614 | 11386 | */ |
10615 | 11387 | export const postServiceOrderSendProduct = /* #__PURE__ */ (() => { |
10616 | - const method = "post"; | |
10617 | - const url = "/service/order/sendProduct"; | |
11388 | + const method = 'post'; | |
11389 | + const url = '/service/order/sendProduct'; | |
10618 | 11390 | function request( |
10619 | - option: PostServiceOrderSendProductOption | |
11391 | + option: PostServiceOrderSendProductOption, | |
10620 | 11392 | ): Promise<PostServiceOrderSendProductResponseSuccess> { |
10621 | 11393 | return requester(request.url, { |
10622 | 11394 | method: request.method, |
... | ... | @@ -10684,10 +11456,10 @@ export type PostServiceOrderShippingWarehouseChangeResponseSuccess = |
10684 | 11456 | * @consumes application/json |
10685 | 11457 | */ |
10686 | 11458 | export const postServiceOrderShippingWarehouseChange = /* #__PURE__ */ (() => { |
10687 | - const method = "post"; | |
10688 | - const url = "/service/order/shippingWarehouseChange"; | |
11459 | + const method = 'post'; | |
11460 | + const url = '/service/order/shippingWarehouseChange'; | |
10689 | 11461 | function request( |
10690 | - option: PostServiceOrderShippingWarehouseChangeOption | |
11462 | + option: PostServiceOrderShippingWarehouseChangeOption, | |
10691 | 11463 | ): Promise<PostServiceOrderShippingWarehouseChangeResponseSuccess> { |
10692 | 11464 | return requester(request.url, { |
10693 | 11465 | method: request.method, |
... | ... | @@ -10755,10 +11527,10 @@ export type PostServiceOrderSupplierPrintResponseSuccess = |
10755 | 11527 | * @consumes application/json |
10756 | 11528 | */ |
10757 | 11529 | export const postServiceOrderSupplierPrint = /* #__PURE__ */ (() => { |
10758 | - const method = "post"; | |
10759 | - const url = "/service/order/supplierPrint"; | |
11530 | + const method = 'post'; | |
11531 | + const url = '/service/order/supplierPrint'; | |
10760 | 11532 | function request( |
10761 | - option: PostServiceOrderSupplierPrintOption | |
11533 | + option: PostServiceOrderSupplierPrintOption, | |
10762 | 11534 | ): Promise<PostServiceOrderSupplierPrintResponseSuccess> { |
10763 | 11535 | return requester(request.url, { |
10764 | 11536 | method: request.method, |
... | ... | @@ -10826,10 +11598,10 @@ export type PostServiceOrderSupplierSendOrderResponseSuccess = |
10826 | 11598 | * @consumes application/json |
10827 | 11599 | */ |
10828 | 11600 | export const postServiceOrderSupplierSendOrder = /* #__PURE__ */ (() => { |
10829 | - const method = "post"; | |
10830 | - const url = "/service/order/supplierSendOrder"; | |
11601 | + const method = 'post'; | |
11602 | + const url = '/service/order/supplierSendOrder'; | |
10831 | 11603 | function request( |
10832 | - option: PostServiceOrderSupplierSendOrderOption | |
11604 | + option: PostServiceOrderSupplierSendOrderOption, | |
10833 | 11605 | ): Promise<PostServiceOrderSupplierSendOrderResponseSuccess> { |
10834 | 11606 | return requester(request.url, { |
10835 | 11607 | method: request.method, |
... | ... | @@ -10897,10 +11669,10 @@ export type PostServiceOrderToProcureAuditResponseSuccess = |
10897 | 11669 | * @consumes application/json |
10898 | 11670 | */ |
10899 | 11671 | export const postServiceOrderToProcureAudit = /* #__PURE__ */ (() => { |
10900 | - const method = "post"; | |
10901 | - const url = "/service/order/toProcureAudit"; | |
11672 | + const method = 'post'; | |
11673 | + const url = '/service/order/toProcureAudit'; | |
10902 | 11674 | function request( |
10903 | - option: PostServiceOrderToProcureAuditOption | |
11675 | + option: PostServiceOrderToProcureAuditOption, | |
10904 | 11676 | ): Promise<PostServiceOrderToProcureAuditResponseSuccess> { |
10905 | 11677 | return requester(request.url, { |
10906 | 11678 | method: request.method, |
... | ... | @@ -10968,10 +11740,10 @@ export type PostServiceOrderUpdateAnnexResponseSuccess = |
10968 | 11740 | * @consumes application/json |
10969 | 11741 | */ |
10970 | 11742 | export const postServiceOrderUpdateAnnex = /* #__PURE__ */ (() => { |
10971 | - const method = "post"; | |
10972 | - const url = "/service/order/updateAnnex"; | |
11743 | + const method = 'post'; | |
11744 | + const url = '/service/order/updateAnnex'; | |
10973 | 11745 | function request( |
10974 | - option: PostServiceOrderUpdateAnnexOption | |
11746 | + option: PostServiceOrderUpdateAnnexOption, | |
10975 | 11747 | ): Promise<PostServiceOrderUpdateAnnexResponseSuccess> { |
10976 | 11748 | return requester(request.url, { |
10977 | 11749 | method: request.method, |
... | ... | @@ -11039,10 +11811,10 @@ export type PostServiceOrderUpdateHirePurchaseResponseSuccess = |
11039 | 11811 | * @consumes application/json |
11040 | 11812 | */ |
11041 | 11813 | export const postServiceOrderUpdateHirePurchase = /* #__PURE__ */ (() => { |
11042 | - const method = "post"; | |
11043 | - const url = "/service/order/updateHirePurchase"; | |
11814 | + const method = 'post'; | |
11815 | + const url = '/service/order/updateHirePurchase'; | |
11044 | 11816 | function request( |
11045 | - option: PostServiceOrderUpdateHirePurchaseOption | |
11817 | + option: PostServiceOrderUpdateHirePurchaseOption, | |
11046 | 11818 | ): Promise<PostServiceOrderUpdateHirePurchaseResponseSuccess> { |
11047 | 11819 | return requester(request.url, { |
11048 | 11820 | method: request.method, |
... | ... | @@ -11110,10 +11882,10 @@ export type PostServiceOrderUpdateOrderResponseSuccess = |
11110 | 11882 | * @consumes application/json |
11111 | 11883 | */ |
11112 | 11884 | export const postServiceOrderUpdateOrder = /* #__PURE__ */ (() => { |
11113 | - const method = "post"; | |
11114 | - const url = "/service/order/updateOrder"; | |
11885 | + const method = 'post'; | |
11886 | + const url = '/service/order/updateOrder'; | |
11115 | 11887 | function request( |
11116 | - option: PostServiceOrderUpdateOrderOption | |
11888 | + option: PostServiceOrderUpdateOrderOption, | |
11117 | 11889 | ): Promise<PostServiceOrderUpdateOrderResponseSuccess> { |
11118 | 11890 | return requester(request.url, { |
11119 | 11891 | method: request.method, |
... | ... | @@ -11181,10 +11953,10 @@ export type PostServiceOrderUpdateReportFormsTargetResponseSuccess = |
11181 | 11953 | * @consumes application/json |
11182 | 11954 | */ |
11183 | 11955 | export const postServiceOrderUpdateReportFormsTarget = /* #__PURE__ */ (() => { |
11184 | - const method = "post"; | |
11185 | - const url = "/service/order/updateReportFormsTarget"; | |
11956 | + const method = 'post'; | |
11957 | + const url = '/service/order/updateReportFormsTarget'; | |
11186 | 11958 | function request( |
11187 | - option: PostServiceOrderUpdateReportFormsTargetOption | |
11959 | + option: PostServiceOrderUpdateReportFormsTargetOption, | |
11188 | 11960 | ): Promise<PostServiceOrderUpdateReportFormsTargetResponseSuccess> { |
11189 | 11961 | return requester(request.url, { |
11190 | 11962 | method: request.method, |
... | ... | @@ -11252,10 +12024,10 @@ export type PostServiceOrderUploadPaymentReceiptResponseSuccess = |
11252 | 12024 | * @consumes application/json |
11253 | 12025 | */ |
11254 | 12026 | export const postServiceOrderUploadPaymentReceipt = /* #__PURE__ */ (() => { |
11255 | - const method = "post"; | |
11256 | - const url = "/service/order/uploadPaymentReceipt"; | |
12027 | + const method = 'post'; | |
12028 | + const url = '/service/order/uploadPaymentReceipt'; | |
11257 | 12029 | function request( |
11258 | - option: PostServiceOrderUploadPaymentReceiptOption | |
12030 | + option: PostServiceOrderUploadPaymentReceiptOption, | |
11259 | 12031 | ): Promise<PostServiceOrderUploadPaymentReceiptResponseSuccess> { |
11260 | 12032 | return requester(request.url, { |
11261 | 12033 | method: request.method, |
... | ... | @@ -11323,10 +12095,10 @@ export type PostServiceOrderViewImagesResponseSuccess = |
11323 | 12095 | * @consumes application/json |
11324 | 12096 | */ |
11325 | 12097 | export const postServiceOrderViewImages = /* #__PURE__ */ (() => { |
11326 | - const method = "post"; | |
11327 | - const url = "/service/order/viewImages"; | |
12098 | + const method = 'post'; | |
12099 | + const url = '/service/order/viewImages'; | |
11328 | 12100 | function request( |
11329 | - option: PostServiceOrderViewImagesOption | |
12101 | + option: PostServiceOrderViewImagesOption, | |
11330 | 12102 | ): Promise<PostServiceOrderViewImagesResponseSuccess> { |
11331 | 12103 | return requester(request.url, { |
11332 | 12104 | method: request.method, |
... | ... | @@ -11392,10 +12164,10 @@ export type GetServiceTogglesResponseSuccess = GetServiceTogglesResponse[200]; |
11392 | 12164 | * @produces * |
11393 | 12165 | */ |
11394 | 12166 | export const getServiceToggles = /* #__PURE__ */ (() => { |
11395 | - const method = "get"; | |
11396 | - const url = "/service/toggles"; | |
12167 | + const method = 'get'; | |
12168 | + const url = '/service/toggles'; | |
11397 | 12169 | function request( |
11398 | - option?: GetServiceTogglesOption | |
12170 | + option?: GetServiceTogglesOption, | |
11399 | 12171 | ): Promise<GetServiceTogglesResponseSuccess> { |
11400 | 12172 | return requester(request.url, { |
11401 | 12173 | method: request.method, | ... | ... |