@gct-paas/api 0.1.0-word.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gct-api.esm.min.js +1 -22
- package/dist/gct-api.system.min.js +1 -22
- package/es/apaas/service/api-config.mjs +970 -2242
- package/es/apaas/service/apis/api.service.d.ts +554 -223
- package/es/apaas/service/apis/app-branch.service.d.ts +49 -26
- package/es/apaas/service/apis/app-global-settings.service.d.ts +53 -24
- package/es/apaas/service/apis/app-granted-user.service.d.ts +63 -29
- package/es/apaas/service/apis/app-org.service.d.ts +140 -63
- package/es/apaas/service/apis/app-publish-log.service.d.ts +50 -25
- package/es/apaas/service/apis/app-state.service.d.ts +6 -3
- package/es/apaas/service/apis/app-user.service.d.ts +106 -45
- package/es/apaas/service/apis/approval-log.service.d.ts +49 -26
- package/es/apaas/service/apis/audit-log.service.d.ts +38 -26
- package/es/apaas/service/apis/basic-config.service.d.ts +47 -24
- package/es/apaas/service/apis/biz-event.service.d.ts +58 -27
- package/es/apaas/service/apis/biz-process-definition-version.service.d.ts +61 -29
- package/es/apaas/service/apis/biz-process-definition.service.d.ts +62 -28
- package/es/apaas/service/apis/biz-service-crud.service.d.ts +145 -54
- package/es/apaas/service/apis/biz-service.service.d.ts +44 -20
- package/es/apaas/service/apis/bom.service.d.ts +5 -2
- package/es/apaas/service/apis/category-relation.service.d.ts +83 -34
- package/es/apaas/service/apis/category.service.d.ts +298 -91
- package/es/apaas/service/apis/chat.service.d.ts +14 -5
- package/es/apaas/service/apis/code-ts.service.d.ts +6 -2
- package/es/apaas/service/apis/commit-log.service.d.ts +104 -55
- package/es/apaas/service/apis/common-info-card.service.d.ts +64 -32
- package/es/apaas/service/apis/control-config.service.d.ts +89 -37
- package/es/apaas/service/apis/customer-complaint.service.d.ts +79 -35
- package/es/apaas/service/apis/dashboard.service.d.ts +59 -29
- package/es/apaas/service/apis/data-model.service.d.ts +92 -46
- package/es/apaas/service/apis/data-source.service.d.ts +23 -9
- package/es/apaas/service/apis/data-trace.service.d.ts +50 -31
- package/es/apaas/service/apis/designer-common.service.d.ts +400 -128
- package/es/apaas/service/apis/designer-lock.service.d.ts +34 -17
- package/es/apaas/service/apis/designer-operate-log.service.d.ts +38 -11
- package/es/apaas/service/apis/devops.service.d.ts +11 -6
- package/es/apaas/service/apis/dhr.service.d.ts +53 -26
- package/es/apaas/service/apis/dify-chat.service.d.ts +11 -6
- package/es/apaas/service/apis/doc-control-started.service.d.ts +60 -20
- package/es/apaas/service/apis/doc-control-task-done.service.d.ts +60 -20
- package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +101 -33
- package/es/apaas/service/apis/doc-control.service.d.ts +66 -32
- package/es/apaas/service/apis/doc-outline.service.d.ts +104 -49
- package/es/apaas/service/apis/document.service.d.ts +146 -63
- package/es/apaas/service/apis/edhr-category.service.d.ts +55 -28
- package/es/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +63 -30
- package/es/apaas/service/apis/edhr-instance-relation.service.d.ts +33 -15
- package/es/apaas/service/apis/edhr-instance-search-history.service.d.ts +19 -8
- package/es/apaas/service/apis/edhr-instance.service.d.ts +235 -75
- package/es/apaas/service/apis/edhr-tmpl.service.d.ts +97 -41
- package/es/apaas/service/apis/ele-search.service.d.ts +10 -4
- package/es/apaas/service/apis/enum-model-field.service.d.ts +99 -38
- package/es/apaas/service/apis/enum-model.service.d.ts +104 -42
- package/es/apaas/service/apis/event-log.service.d.ts +36 -17
- package/es/apaas/service/apis/event.service.d.ts +58 -27
- package/es/apaas/service/apis/excel-tmpl.service.d.ts +142 -58
- package/es/apaas/service/apis/excel.service.d.ts +121 -40
- package/es/apaas/service/apis/field-meta.service.d.ts +157 -57
- package/es/apaas/service/apis/field.service.d.ts +10 -4
- package/es/apaas/service/apis/file-resource.service.d.ts +24 -11
- package/es/apaas/service/apis/file-task.service.d.ts +15 -8
- package/es/apaas/service/apis/file.service.d.ts +28 -12
- package/es/apaas/service/apis/form.service.d.ts +31 -18
- package/es/apaas/service/apis/formRelate.service.d.ts +189 -67
- package/es/apaas/service/apis/front-operate-log.service.d.ts +38 -11
- package/es/apaas/service/apis/global-method.service.d.ts +54 -29
- package/es/apaas/service/apis/i18n-info.service.d.ts +60 -24
- package/es/apaas/service/apis/import-report.service.d.ts +41 -0
- package/es/apaas/service/apis/instance-relation.service.d.ts +63 -26
- package/es/apaas/service/apis/ipaas.service.d.ts +6 -3
- package/es/apaas/service/apis/job-log.service.d.ts +51 -19
- package/es/apaas/service/apis/job.service.d.ts +100 -44
- package/es/apaas/service/apis/js-engine.service.d.ts +25 -13
- package/es/apaas/service/apis/label-log.service.d.ts +69 -31
- package/es/apaas/service/apis/label.service.d.ts +277 -120
- package/es/apaas/service/apis/login-log.service.d.ts +6 -3
- package/es/apaas/service/apis/med-pro.service.d.ts +76 -0
- package/es/apaas/service/apis/medPro.service.d.ts +30 -3
- package/es/apaas/service/apis/menu-config.service.d.ts +55 -28
- package/es/apaas/service/apis/merge-log.service.d.ts +36 -21
- package/es/apaas/service/apis/message-record.service.d.ts +82 -29
- package/es/apaas/service/apis/message-setting.service.d.ts +15 -7
- package/es/apaas/service/apis/message-tmpl.service.d.ts +84 -40
- package/es/apaas/service/apis/mobile-homepage.service.d.ts +69 -34
- package/es/apaas/service/apis/mobile-page.service.d.ts +103 -41
- package/es/apaas/service/apis/model-comprehensive.service.d.ts +349 -122
- package/es/apaas/service/apis/model-data.service.d.ts +54 -22
- package/es/apaas/service/apis/model-meta.service.d.ts +258 -109
- package/es/apaas/service/apis/model-method.service.d.ts +64 -32
- package/es/apaas/service/apis/model-permission-relation.service.d.ts +50 -25
- package/es/apaas/service/apis/model.service.d.ts +10 -4
- package/es/apaas/service/apis/ocr.service.d.ts +5 -2
- package/es/apaas/service/apis/office.service.d.ts +5 -2
- package/es/apaas/service/apis/online-form-category.service.d.ts +55 -28
- package/es/apaas/service/apis/online-form-change-history.service.d.ts +18 -6
- package/es/apaas/service/apis/online-form-instance.service.d.ts +701 -229
- package/es/apaas/service/apis/online-form-log.service.d.ts +22 -7
- package/es/apaas/service/apis/online-form-tmpl-log.service.d.ts +58 -27
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +210 -84
- package/es/apaas/service/apis/online-form.service.d.ts +118 -66
- package/es/apaas/service/apis/online-user-summary.service.d.ts +50 -25
- package/es/apaas/service/apis/online.service.d.ts +65 -23
- package/es/apaas/service/apis/openapi.service.d.ts +74 -37
- package/es/apaas/service/apis/pad-page.service.d.ts +103 -41
- package/es/apaas/service/apis/page-designer-log.service.d.ts +82 -33
- package/es/apaas/service/apis/permission.service.d.ts +54 -26
- package/es/apaas/service/apis/plat.service.d.ts +26 -15
- package/es/apaas/service/apis/pm-process-definition-version.service.d.ts +66 -32
- package/es/apaas/service/apis/pm-process-definition.service.d.ts +87 -36
- package/es/apaas/service/apis/pm-process-engine.service.d.ts +150 -67
- package/es/apaas/service/apis/print-designer.service.d.ts +102 -34
- package/es/apaas/service/apis/print-log.service.d.ts +11 -6
- package/es/apaas/service/apis/print.service.d.ts +26 -15
- package/es/apaas/service/apis/process-approval-log.service.d.ts +59 -29
- package/es/apaas/service/apis/process-approve-user.service.d.ts +50 -25
- package/es/apaas/service/apis/process-definition-version.service.d.ts +68 -32
- package/es/apaas/service/apis/process-definition.service.d.ts +59 -28
- package/es/apaas/service/apis/process-engine.service.d.ts +47 -22
- package/es/apaas/service/apis/process-event.service.d.ts +50 -25
- package/es/apaas/service/apis/process-graph.service.d.ts +10 -4
- package/es/apaas/service/apis/process-instance-relation-.service.d.ts +50 -25
- package/es/apaas/service/apis/process-instance.service.d.ts +50 -25
- package/es/apaas/service/apis/process-message-user.service.d.ts +50 -25
- package/es/apaas/service/apis/process-node-definition.service.d.ts +50 -25
- package/es/apaas/service/apis/process-path-user.service.d.ts +50 -25
- package/es/apaas/service/apis/process-path.service.d.ts +28 -12
- package/es/apaas/service/apis/process-task-done.service.d.ts +110 -29
- package/es/apaas/service/apis/process-task-todo.service.d.ts +219 -58
- package/es/apaas/service/apis/process-version.service.d.ts +51 -22
- package/es/apaas/service/apis/process.service.d.ts +45 -22
- package/es/apaas/service/apis/processTest.service.d.ts +76 -31
- package/es/apaas/service/apis/product-release.service.d.ts +93 -30
- package/es/apaas/service/apis/publish-log.service.d.ts +68 -36
- package/es/apaas/service/apis/regexp.service.d.ts +73 -32
- package/es/apaas/service/apis/report-data-set.service.d.ts +83 -42
- package/es/apaas/service/apis/report-data.service.d.ts +16 -9
- package/es/apaas/service/apis/report.service.d.ts +118 -58
- package/es/apaas/service/apis/role-permission.service.d.ts +29 -14
- package/es/apaas/service/apis/role.service.d.ts +69 -25
- package/es/apaas/service/apis/sandbox-config.service.d.ts +77 -39
- package/es/apaas/service/apis/script-assistant.service.d.ts +10 -5
- package/es/apaas/service/apis/script-version-log.service.d.ts +61 -22
- package/es/apaas/service/apis/script-version.service.d.ts +87 -36
- package/es/apaas/service/apis/script.service.d.ts +90 -38
- package/es/apaas/service/apis/service-orchestration-version-log.service.d.ts +66 -25
- package/es/apaas/service/apis/service-orchestration-version.service.d.ts +87 -36
- package/es/apaas/service/apis/service-orchestration.service.d.ts +91 -37
- package/es/apaas/service/apis/sign-history.service.d.ts +49 -26
- package/es/apaas/service/apis/sign-log.service.d.ts +11 -6
- package/es/apaas/service/apis/signature.service.d.ts +11 -6
- package/es/apaas/service/apis/sql-view-model.service.d.ts +45 -22
- package/es/apaas/service/apis/sql-view.service.d.ts +13 -5
- package/es/apaas/service/apis/ss.service.d.ts +19 -6
- package/es/apaas/service/apis/stash.service.d.ts +41 -21
- package/es/apaas/service/apis/sub-model-process.service.d.ts +6 -3
- package/es/apaas/service/apis/sys-config.service.d.ts +49 -26
- package/es/apaas/service/apis/system-var.service.d.ts +96 -43
- package/es/apaas/service/apis/trace-log-details.service.d.ts +94 -46
- package/es/apaas/service/apis/trace-log.service.d.ts +90 -38
- package/es/apaas/service/apis/trace-mainline-ext.service.d.ts +50 -25
- package/es/apaas/service/apis/trace-mainline.service.d.ts +50 -25
- package/es/apaas/service/apis/trace-setting.service.d.ts +32 -17
- package/es/apaas/service/apis/user-group-relation.service.d.ts +28 -16
- package/es/apaas/service/apis/user-group.service.d.ts +59 -32
- package/es/apaas/service/apis/view-model.service.d.ts +120 -57
- package/es/apaas/service/apis/wash.service.d.ts +9 -8
- package/es/apaas/service/apis/webpage.service.d.ts +128 -56
- package/es/apaas/service/entities.d.ts +643 -2209
- package/es/apaas/service/index.d.ts +6 -6
- package/es/ipaas/service/api-config.mjs +46 -109
- package/es/ipaas/service/apis/auth.service.d.ts +20 -10
- package/es/ipaas/service/apis/camel.service.d.ts +45 -25
- package/es/ipaas/service/apis/category.service.d.ts +6 -3
- package/es/ipaas/service/apis/connector-config.service.d.ts +81 -40
- package/es/ipaas/service/apis/connector-log.service.d.ts +32 -14
- package/es/ipaas/service/apis/flow-app.service.d.ts +56 -30
- package/es/ipaas/service/apis/flow-category.service.d.ts +156 -55
- package/es/ipaas/service/apis/flow-ext.service.d.ts +67 -34
- package/es/ipaas/service/apis/flow.service.d.ts +79 -32
- package/es/ipaas/service/apis/runtime.service.d.ts +19 -11
- package/es/ipaas/service/entities.d.ts +26 -26
- package/es/platform/service/api-config.mjs +685 -1878
- package/es/platform/service/apis/agent.service.d.ts +49 -26
- package/es/platform/service/apis/api.service.d.ts +1162 -511
- package/es/platform/service/apis/apk.service.d.ts +47 -33
- package/es/platform/service/apis/app-member.service.d.ts +79 -28
- package/es/platform/service/apis/app-setting.service.d.ts +80 -35
- package/es/platform/service/apis/app.service.d.ts +616 -200
- package/es/platform/service/apis/assets.service.d.ts +80 -28
- package/es/platform/service/apis/attachmentResourceTransfer.service.d.ts +7 -3
- package/es/platform/service/apis/audit-log.service.d.ts +32 -20
- package/es/platform/service/apis/bi-app.service.d.ts +11 -3
- package/es/platform/service/apis/bi-data-set.service.d.ts +54 -29
- package/es/platform/service/apis/bi-file-dataset-config.service.d.ts +63 -30
- package/es/platform/service/apis/bi-file.service.d.ts +14 -5
- package/es/platform/service/apis/bi-share.service.d.ts +58 -27
- package/es/platform/service/apis/buildEnshrineCompLibrary.service.d.ts +6 -2
- package/es/platform/service/apis/category.service.d.ts +94 -46
- package/es/platform/service/apis/clearLogLogin.service.d.ts +6 -2
- package/es/platform/service/apis/clearLogOperate.service.d.ts +6 -2
- package/es/platform/service/apis/clearTempDir.service.d.ts +6 -2
- package/es/platform/service/apis/copyFilter.service.d.ts +7 -3
- package/es/platform/service/apis/dashboard.service.d.ts +63 -30
- package/es/platform/service/apis/data-source.service.d.ts +100 -44
- package/es/platform/service/apis/data-trace.service.d.ts +50 -31
- package/es/platform/service/apis/database.service.d.ts +149 -70
- package/es/platform/service/apis/dataset-log.service.d.ts +54 -26
- package/es/platform/service/apis/dataset.service.d.ts +173 -78
- package/es/platform/service/apis/datasource-devops.service.d.ts +42 -23
- package/es/platform/service/apis/datasource-move-data.service.d.ts +58 -27
- package/es/platform/service/apis/datasource-move-detail.service.d.ts +54 -26
- package/es/platform/service/apis/datasource-move.service.d.ts +47 -26
- package/es/platform/service/apis/deleteCompInfo.service.d.ts +11 -4
- package/es/platform/service/apis/deleteCompInfoType.service.d.ts +11 -4
- package/es/platform/service/apis/deleteCsvDatasource.service.d.ts +11 -4
- package/es/platform/service/apis/deleteEchartTheme.service.d.ts +11 -4
- package/es/platform/service/apis/deleteEnshrineComp.service.d.ts +11 -4
- package/es/platform/service/apis/deleteEnshrineCompGroup.service.d.ts +11 -4
- package/es/platform/service/apis/deleteFilter.service.d.ts +11 -4
- package/es/platform/service/apis/deleteLogOperateById.service.d.ts +11 -4
- package/es/platform/service/apis/deleteMapGeoJson.service.d.ts +11 -4
- package/es/platform/service/apis/deleteNotUseDir.service.d.ts +6 -2
- package/es/platform/service/apis/deletePageSnapshoot.service.d.ts +11 -4
- package/es/platform/service/apis/deletePageTemplate.service.d.ts +11 -4
- package/es/platform/service/apis/deletePnResource.service.d.ts +11 -4
- package/es/platform/service/apis/deletePnResourceGroup.service.d.ts +11 -4
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +62 -32
- package/es/platform/service/apis/device-interconnection.service.d.ts +72 -34
- package/es/platform/service/apis/device-param-ref.service.d.ts +28 -12
- package/es/platform/service/apis/exportTemplate.service.d.ts +60 -38
- package/es/platform/service/apis/external-message.service.d.ts +50 -25
- package/es/platform/service/apis/file-task.service.d.ts +100 -39
- package/es/platform/service/apis/file.service.d.ts +28 -23
- package/es/platform/service/apis/front-release.service.d.ts +5 -4
- package/es/platform/service/apis/getAdCodeByAliasName.service.d.ts +10 -6
- package/es/platform/service/apis/getAllCompInfo.service.d.ts +6 -2
- package/es/platform/service/apis/getAllCompInfoByTypeId.service.d.ts +10 -6
- package/es/platform/service/apis/getAllCompInfoType.service.d.ts +6 -2
- package/es/platform/service/apis/getAllCsvDatasource.service.d.ts +10 -6
- package/es/platform/service/apis/getAllEchartTheme.service.d.ts +6 -2
- package/es/platform/service/apis/getAllEnshrineCompGroups.service.d.ts +6 -2
- package/es/platform/service/apis/getAllFilter.service.d.ts +6 -2
- package/es/platform/service/apis/getAllPageTemplate.service.d.ts +6 -2
- package/es/platform/service/apis/getAttachmentInfoByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getCompInfoById.service.d.ts +10 -6
- package/es/platform/service/apis/getCompInfoByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getCompInfoTypeById.service.d.ts +10 -6
- package/es/platform/service/apis/getCompInfoTypeByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getContentToArray.service.d.ts +14 -7
- package/es/platform/service/apis/getCsvDatasourceById.service.d.ts +10 -6
- package/es/platform/service/apis/getCsvDatasourceByName.service.d.ts +10 -6
- package/es/platform/service/apis/getCsvDatasourceByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getDesignerData.service.d.ts +10 -6
- package/es/platform/service/apis/getEchartThemeById.service.d.ts +10 -6
- package/es/platform/service/apis/getEchartThemeByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getEnshrineCompByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getEnshrineCompGroupById.service.d.ts +10 -6
- package/es/platform/service/apis/getEnshrineCompGroupByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getFilterById.service.d.ts +10 -6
- package/es/platform/service/apis/getGeoJsonByAdCode.service.d.ts +10 -6
- package/es/platform/service/apis/getLayoutItemObjById.service.d.ts +10 -6
- package/es/platform/service/apis/getLogLoginByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getMapBaseInfoByLevel.service.d.ts +10 -6
- package/es/platform/service/apis/getMapGeoJsonById.service.d.ts +10 -6
- package/es/platform/service/apis/getMapGeoJsonByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getMyAllPnResourceGroup.service.d.ts +6 -2
- package/es/platform/service/apis/getMyEchartThemes.service.d.ts +6 -2
- package/es/platform/service/apis/getMyPnResourceByPage.service.d.ts +6 -5
- package/es/platform/service/apis/getMyShareCustomCompByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getPageSnapshootByEnabled.service.d.ts +14 -7
- package/es/platform/service/apis/getPageSnapshootById.service.d.ts +10 -6
- package/es/platform/service/apis/getPageSnapshootsByPageId.service.d.ts +10 -6
- package/es/platform/service/apis/getPageTemplateById.service.d.ts +10 -6
- package/es/platform/service/apis/getPageTemplateByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getPageTemplateForCreatePageForm.service.d.ts +7 -3
- package/es/platform/service/apis/getPageTemplateLayout.service.d.ts +10 -6
- package/es/platform/service/apis/getPageTemplateThemeJson.service.d.ts +10 -6
- package/es/platform/service/apis/getPageTotalCount.service.d.ts +6 -2
- package/es/platform/service/apis/getPnLogOperateByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getPnResourceGroupById.service.d.ts +10 -6
- package/es/platform/service/apis/getProjectTotalCount.service.d.ts +6 -2
- package/es/platform/service/apis/getShareCustomCompById.service.d.ts +10 -6
- package/es/platform/service/apis/getShareCustomCompByPage.service.d.ts +7 -3
- package/es/platform/service/apis/getSysEchartThemes.service.d.ts +6 -2
- package/es/platform/service/apis/httpQuery.service.d.ts +6 -5
- package/es/platform/service/apis/i18n-config.service.d.ts +18 -10
- package/es/platform/service/apis/i18n-info.service.d.ts +85 -35
- package/es/platform/service/apis/importCompInfoJson.service.d.ts +7 -3
- package/es/platform/service/apis/importTemplate.service.d.ts +30 -14
- package/es/platform/service/apis/internal-message.service.d.ts +75 -29
- package/es/platform/service/apis/invoke-log.service.d.ts +57 -19
- package/es/platform/service/apis/knowledge-base-chunk.service.d.ts +50 -25
- package/es/platform/service/apis/knowledge-base-doc.service.d.ts +50 -25
- package/es/platform/service/apis/knowledge-base.service.d.ts +50 -25
- package/es/platform/service/apis/ldap.service.d.ts +5 -4
- package/es/platform/service/apis/license-unbind-log.service.d.ts +6 -3
- package/es/platform/service/apis/license.service.d.ts +189 -73
- package/es/platform/service/apis/login-log.service.d.ts +30 -9
- package/es/platform/service/apis/login.service.d.ts +50 -21
- package/es/platform/service/apis/manager.service.d.ts +27 -10
- package/es/platform/service/apis/message-setting.service.d.ts +110 -47
- package/es/platform/service/apis/minio-file.service.d.ts +16 -7
- package/es/platform/service/apis/model-provider.service.d.ts +50 -25
- package/es/platform/service/apis/model.service.d.ts +49 -26
- package/es/platform/service/apis/nav-menu.service.d.ts +68 -35
- package/es/platform/service/apis/nav-page.service.d.ts +58 -29
- package/es/platform/service/apis/openapi-group.service.d.ts +143 -55
- package/es/platform/service/apis/openapi-key-grant.service.d.ts +67 -32
- package/es/platform/service/apis/org-user-picker.service.d.ts +53 -20
- package/es/platform/service/apis/org.service.d.ts +163 -75
- package/es/platform/service/apis/parseCsvOrExcel.service.d.ts +14 -7
- package/es/platform/service/apis/permission.service.d.ts +40 -22
- package/es/platform/service/apis/plat.service.d.ts +131 -75
- package/es/platform/service/apis/plugin-version.service.d.ts +50 -25
- package/es/platform/service/apis/plugin.service.d.ts +147 -59
- package/es/platform/service/apis/pm-process-delegate-detail.service.d.ts +50 -25
- package/es/platform/service/apis/pm-process-delegate.service.d.ts +50 -25
- package/es/platform/service/apis/pm-process-instance.service.d.ts +66 -32
- package/es/platform/service/apis/pm-task-done.service.d.ts +65 -33
- package/es/platform/service/apis/pm-task-todo.service.d.ts +61 -32
- package/es/platform/service/apis/pn-page.service.d.ts +49 -26
- package/es/platform/service/apis/pn-project.service.d.ts +125 -57
- package/es/platform/service/apis/print-log.service.d.ts +89 -29
- package/es/platform/service/apis/print-resource.service.d.ts +90 -44
- package/es/platform/service/apis/regexp.service.d.ts +73 -32
- package/es/platform/service/apis/released.service.d.ts +78 -26
- package/es/platform/service/apis/resourceTransferToPage.service.d.ts +7 -3
- package/es/platform/service/apis/role-permission.service.d.ts +39 -20
- package/es/platform/service/apis/role.service.d.ts +113 -46
- package/es/platform/service/apis/saveCompInfo.service.d.ts +7 -3
- package/es/platform/service/apis/saveCompInfoType.service.d.ts +7 -3
- package/es/platform/service/apis/saveCsvDatasource.service.d.ts +7 -3
- package/es/platform/service/apis/saveEchartTheme.service.d.ts +7 -3
- package/es/platform/service/apis/saveEnshrineComp.service.d.ts +7 -3
- package/es/platform/service/apis/saveEnshrineCompGroup.service.d.ts +7 -3
- package/es/platform/service/apis/saveFilter.service.d.ts +7 -3
- package/es/platform/service/apis/saveMapGeoJson.service.d.ts +7 -3
- package/es/platform/service/apis/savePageSnapshoot.service.d.ts +7 -3
- package/es/platform/service/apis/savePageTemplate.service.d.ts +7 -3
- package/es/platform/service/apis/savePnResourceGroup.service.d.ts +7 -3
- package/es/platform/service/apis/saveShareCustomComp.service.d.ts +7 -3
- package/es/platform/service/apis/seal-management.service.d.ts +56 -30
- package/es/platform/service/apis/searchEnshrineComp.service.d.ts +7 -3
- package/es/platform/service/apis/seat-message.service.d.ts +11 -2
- package/es/platform/service/apis/seat.service.d.ts +75 -33
- package/es/platform/service/apis/setPageSnapshootEnabled.service.d.ts +7 -3
- package/es/platform/service/apis/setPageSnapshootEnabledByPageId.service.d.ts +7 -3
- package/es/platform/service/apis/shortcut.service.d.ts +100 -39
- package/es/platform/service/apis/sign-log.service.d.ts +46 -27
- package/es/platform/service/apis/sms.service.d.ts +11 -6
- package/es/platform/service/apis/started-process.service.d.ts +48 -20
- package/es/platform/service/apis/task-delegate.service.d.ts +72 -33
- package/es/platform/service/apis/task-done.service.d.ts +44 -19
- package/es/platform/service/apis/task-todo.service.d.ts +44 -19
- package/es/platform/service/apis/tenant-developer.service.d.ts +87 -39
- package/es/platform/service/apis/tenant.service.d.ts +370 -150
- package/es/platform/service/apis/toggleEnabled.service.d.ts +7 -3
- package/es/platform/service/apis/uncompressLogOperateLayoutStr.service.d.ts +7 -3
- package/es/platform/service/apis/uploadFiles.service.d.ts +88 -45
- package/es/platform/service/apis/user-extra.service.d.ts +49 -26
- package/es/platform/service/apis/user-info-log.service.d.ts +53 -27
- package/es/platform/service/apis/user-password-history.service.d.ts +50 -25
- package/es/platform/service/apis/user.service.d.ts +207 -106
- package/es/platform/service/apis/workbench-component-relation.service.d.ts +77 -36
- package/es/platform/service/apis/workbench-component.service.d.ts +58 -27
- package/es/platform/service/entities.d.ts +255 -1319
- package/es/platform/service/index.d.ts +0 -4
- package/es/service/api-service.d.ts +44 -36
- package/es/service/api-service.interface.d.ts +8 -6
- package/es/service/api-service.mjs +110 -56
- package/es/service/http.error.d.ts +40 -0
- package/es/service/http.error.mjs +39 -0
- package/es/service/http.util.d.ts +46 -17
- package/es/service/http.util.mjs +116 -39
- package/es/service/index.d.ts +1 -0
- package/es/service/index.mjs +1 -0
- package/es/types/index.d.ts +48 -0
- package/lib/apaas/service/api-config.cjs +955 -2204
- package/lib/apaas/service/apis/api.service.d.ts +554 -223
- package/lib/apaas/service/apis/app-branch.service.d.ts +49 -26
- package/lib/apaas/service/apis/app-global-settings.service.d.ts +53 -24
- package/lib/apaas/service/apis/app-granted-user.service.d.ts +63 -29
- package/lib/apaas/service/apis/app-org.service.d.ts +140 -63
- package/lib/apaas/service/apis/app-publish-log.service.d.ts +50 -25
- package/lib/apaas/service/apis/app-state.service.d.ts +6 -3
- package/lib/apaas/service/apis/app-user.service.d.ts +106 -45
- package/lib/apaas/service/apis/approval-log.service.d.ts +49 -26
- package/lib/apaas/service/apis/audit-log.service.d.ts +38 -26
- package/lib/apaas/service/apis/basic-config.service.d.ts +47 -24
- package/lib/apaas/service/apis/biz-event.service.d.ts +58 -27
- package/lib/apaas/service/apis/biz-process-definition-version.service.d.ts +61 -29
- package/lib/apaas/service/apis/biz-process-definition.service.d.ts +62 -28
- package/lib/apaas/service/apis/biz-service-crud.service.d.ts +145 -54
- package/lib/apaas/service/apis/biz-service.service.d.ts +44 -20
- package/lib/apaas/service/apis/bom.service.d.ts +5 -2
- package/lib/apaas/service/apis/category-relation.service.d.ts +83 -34
- package/lib/apaas/service/apis/category.service.d.ts +298 -91
- package/lib/apaas/service/apis/chat.service.d.ts +14 -5
- package/lib/apaas/service/apis/code-ts.service.d.ts +6 -2
- package/lib/apaas/service/apis/commit-log.service.d.ts +104 -55
- package/lib/apaas/service/apis/common-info-card.service.d.ts +64 -32
- package/lib/apaas/service/apis/control-config.service.d.ts +89 -37
- package/lib/apaas/service/apis/customer-complaint.service.d.ts +79 -35
- package/lib/apaas/service/apis/dashboard.service.d.ts +59 -29
- package/lib/apaas/service/apis/data-model.service.d.ts +92 -46
- package/lib/apaas/service/apis/data-source.service.d.ts +23 -9
- package/lib/apaas/service/apis/data-trace.service.d.ts +50 -31
- package/lib/apaas/service/apis/designer-common.service.d.ts +400 -128
- package/lib/apaas/service/apis/designer-lock.service.d.ts +34 -17
- package/lib/apaas/service/apis/designer-operate-log.service.d.ts +38 -11
- package/lib/apaas/service/apis/devops.service.d.ts +11 -6
- package/lib/apaas/service/apis/dhr.service.d.ts +53 -26
- package/lib/apaas/service/apis/dify-chat.service.d.ts +11 -6
- package/lib/apaas/service/apis/doc-control-started.service.d.ts +60 -20
- package/lib/apaas/service/apis/doc-control-task-done.service.d.ts +60 -20
- package/lib/apaas/service/apis/doc-control-task-todo.service.d.ts +101 -33
- package/lib/apaas/service/apis/doc-control.service.d.ts +66 -32
- package/lib/apaas/service/apis/doc-outline.service.d.ts +104 -49
- package/lib/apaas/service/apis/document.service.d.ts +146 -63
- package/lib/apaas/service/apis/edhr-category.service.d.ts +55 -28
- package/lib/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +63 -30
- package/lib/apaas/service/apis/edhr-instance-relation.service.d.ts +33 -15
- package/lib/apaas/service/apis/edhr-instance-search-history.service.d.ts +19 -8
- package/lib/apaas/service/apis/edhr-instance.service.d.ts +235 -75
- package/lib/apaas/service/apis/edhr-tmpl.service.d.ts +97 -41
- package/lib/apaas/service/apis/ele-search.service.d.ts +10 -4
- package/lib/apaas/service/apis/enum-model-field.service.d.ts +99 -38
- package/lib/apaas/service/apis/enum-model.service.d.ts +104 -42
- package/lib/apaas/service/apis/event-log.service.d.ts +36 -17
- package/lib/apaas/service/apis/event.service.d.ts +58 -27
- package/lib/apaas/service/apis/excel-tmpl.service.d.ts +142 -58
- package/lib/apaas/service/apis/excel.service.d.ts +121 -40
- package/lib/apaas/service/apis/field-meta.service.d.ts +157 -57
- package/lib/apaas/service/apis/field.service.d.ts +10 -4
- package/lib/apaas/service/apis/file-resource.service.d.ts +24 -11
- package/lib/apaas/service/apis/file-task.service.d.ts +15 -8
- package/lib/apaas/service/apis/file.service.d.ts +28 -12
- package/lib/apaas/service/apis/form.service.d.ts +31 -18
- package/lib/apaas/service/apis/formRelate.service.d.ts +189 -67
- package/lib/apaas/service/apis/front-operate-log.service.d.ts +38 -11
- package/lib/apaas/service/apis/global-method.service.d.ts +54 -29
- package/lib/apaas/service/apis/i18n-info.service.d.ts +60 -24
- package/lib/apaas/service/apis/import-report.service.d.ts +41 -0
- package/lib/apaas/service/apis/instance-relation.service.d.ts +63 -26
- package/lib/apaas/service/apis/ipaas.service.d.ts +6 -3
- package/lib/apaas/service/apis/job-log.service.d.ts +51 -19
- package/lib/apaas/service/apis/job.service.d.ts +100 -44
- package/lib/apaas/service/apis/js-engine.service.d.ts +25 -13
- package/lib/apaas/service/apis/label-log.service.d.ts +69 -31
- package/lib/apaas/service/apis/label.service.d.ts +277 -120
- package/lib/apaas/service/apis/login-log.service.d.ts +6 -3
- package/lib/apaas/service/apis/med-pro.service.d.ts +76 -0
- package/lib/apaas/service/apis/medPro.service.d.ts +30 -3
- package/lib/apaas/service/apis/menu-config.service.d.ts +55 -28
- package/lib/apaas/service/apis/merge-log.service.d.ts +36 -21
- package/lib/apaas/service/apis/message-record.service.d.ts +82 -29
- package/lib/apaas/service/apis/message-setting.service.d.ts +15 -7
- package/lib/apaas/service/apis/message-tmpl.service.d.ts +84 -40
- package/lib/apaas/service/apis/mobile-homepage.service.d.ts +69 -34
- package/lib/apaas/service/apis/mobile-page.service.d.ts +103 -41
- package/lib/apaas/service/apis/model-comprehensive.service.d.ts +349 -122
- package/lib/apaas/service/apis/model-data.service.d.ts +54 -22
- package/lib/apaas/service/apis/model-meta.service.d.ts +258 -109
- package/lib/apaas/service/apis/model-method.service.d.ts +64 -32
- package/lib/apaas/service/apis/model-permission-relation.service.d.ts +50 -25
- package/lib/apaas/service/apis/model.service.d.ts +10 -4
- package/lib/apaas/service/apis/ocr.service.d.ts +5 -2
- package/lib/apaas/service/apis/office.service.d.ts +5 -2
- package/lib/apaas/service/apis/online-form-category.service.d.ts +55 -28
- package/lib/apaas/service/apis/online-form-change-history.service.d.ts +18 -6
- package/lib/apaas/service/apis/online-form-instance.service.d.ts +701 -229
- package/lib/apaas/service/apis/online-form-log.service.d.ts +22 -7
- package/lib/apaas/service/apis/online-form-tmpl-log.service.d.ts +58 -27
- package/lib/apaas/service/apis/online-form-tmpl.service.d.ts +210 -84
- package/lib/apaas/service/apis/online-form.service.d.ts +118 -66
- package/lib/apaas/service/apis/online-user-summary.service.d.ts +50 -25
- package/lib/apaas/service/apis/online.service.d.ts +65 -23
- package/lib/apaas/service/apis/openapi.service.d.ts +74 -37
- package/lib/apaas/service/apis/pad-page.service.d.ts +103 -41
- package/lib/apaas/service/apis/page-designer-log.service.d.ts +82 -33
- package/lib/apaas/service/apis/permission.service.d.ts +54 -26
- package/lib/apaas/service/apis/plat.service.d.ts +26 -15
- package/lib/apaas/service/apis/pm-process-definition-version.service.d.ts +66 -32
- package/lib/apaas/service/apis/pm-process-definition.service.d.ts +87 -36
- package/lib/apaas/service/apis/pm-process-engine.service.d.ts +150 -67
- package/lib/apaas/service/apis/print-designer.service.d.ts +102 -34
- package/lib/apaas/service/apis/print-log.service.d.ts +11 -6
- package/lib/apaas/service/apis/print.service.d.ts +26 -15
- package/lib/apaas/service/apis/process-approval-log.service.d.ts +59 -29
- package/lib/apaas/service/apis/process-approve-user.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-definition-version.service.d.ts +68 -32
- package/lib/apaas/service/apis/process-definition.service.d.ts +59 -28
- package/lib/apaas/service/apis/process-engine.service.d.ts +47 -22
- package/lib/apaas/service/apis/process-event.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-graph.service.d.ts +10 -4
- package/lib/apaas/service/apis/process-instance-relation-.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-instance.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-message-user.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-node-definition.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-path-user.service.d.ts +50 -25
- package/lib/apaas/service/apis/process-path.service.d.ts +28 -12
- package/lib/apaas/service/apis/process-task-done.service.d.ts +110 -29
- package/lib/apaas/service/apis/process-task-todo.service.d.ts +219 -58
- package/lib/apaas/service/apis/process-version.service.d.ts +51 -22
- package/lib/apaas/service/apis/process.service.d.ts +45 -22
- package/lib/apaas/service/apis/processTest.service.d.ts +76 -31
- package/lib/apaas/service/apis/product-release.service.d.ts +93 -30
- package/lib/apaas/service/apis/publish-log.service.d.ts +68 -36
- package/lib/apaas/service/apis/regexp.service.d.ts +73 -32
- package/lib/apaas/service/apis/report-data-set.service.d.ts +83 -42
- package/lib/apaas/service/apis/report-data.service.d.ts +16 -9
- package/lib/apaas/service/apis/report.service.d.ts +118 -58
- package/lib/apaas/service/apis/role-permission.service.d.ts +29 -14
- package/lib/apaas/service/apis/role.service.d.ts +69 -25
- package/lib/apaas/service/apis/sandbox-config.service.d.ts +77 -39
- package/lib/apaas/service/apis/script-assistant.service.d.ts +10 -5
- package/lib/apaas/service/apis/script-version-log.service.d.ts +61 -22
- package/lib/apaas/service/apis/script-version.service.d.ts +87 -36
- package/lib/apaas/service/apis/script.service.d.ts +90 -38
- package/lib/apaas/service/apis/service-orchestration-version-log.service.d.ts +66 -25
- package/lib/apaas/service/apis/service-orchestration-version.service.d.ts +87 -36
- package/lib/apaas/service/apis/service-orchestration.service.d.ts +91 -37
- package/lib/apaas/service/apis/sign-history.service.d.ts +49 -26
- package/lib/apaas/service/apis/sign-log.service.d.ts +11 -6
- package/lib/apaas/service/apis/signature.service.d.ts +11 -6
- package/lib/apaas/service/apis/sql-view-model.service.d.ts +45 -22
- package/lib/apaas/service/apis/sql-view.service.d.ts +13 -5
- package/lib/apaas/service/apis/ss.service.d.ts +19 -6
- package/lib/apaas/service/apis/stash.service.d.ts +41 -21
- package/lib/apaas/service/apis/sub-model-process.service.d.ts +6 -3
- package/lib/apaas/service/apis/sys-config.service.d.ts +49 -26
- package/lib/apaas/service/apis/system-var.service.d.ts +96 -43
- package/lib/apaas/service/apis/trace-log-details.service.d.ts +94 -46
- package/lib/apaas/service/apis/trace-log.service.d.ts +90 -38
- package/lib/apaas/service/apis/trace-mainline-ext.service.d.ts +50 -25
- package/lib/apaas/service/apis/trace-mainline.service.d.ts +50 -25
- package/lib/apaas/service/apis/trace-setting.service.d.ts +32 -17
- package/lib/apaas/service/apis/user-group-relation.service.d.ts +28 -16
- package/lib/apaas/service/apis/user-group.service.d.ts +59 -32
- package/lib/apaas/service/apis/view-model.service.d.ts +120 -57
- package/lib/apaas/service/apis/wash.service.d.ts +9 -8
- package/lib/apaas/service/apis/webpage.service.d.ts +128 -56
- package/lib/apaas/service/entities.d.ts +643 -2209
- package/lib/apaas/service/index.d.ts +6 -6
- package/lib/ipaas/service/api-config.cjs +46 -109
- package/lib/ipaas/service/apis/auth.service.d.ts +20 -10
- package/lib/ipaas/service/apis/camel.service.d.ts +45 -25
- package/lib/ipaas/service/apis/category.service.d.ts +6 -3
- package/lib/ipaas/service/apis/connector-config.service.d.ts +81 -40
- package/lib/ipaas/service/apis/connector-log.service.d.ts +32 -14
- package/lib/ipaas/service/apis/flow-app.service.d.ts +56 -30
- package/lib/ipaas/service/apis/flow-category.service.d.ts +156 -55
- package/lib/ipaas/service/apis/flow-ext.service.d.ts +67 -34
- package/lib/ipaas/service/apis/flow.service.d.ts +79 -32
- package/lib/ipaas/service/apis/runtime.service.d.ts +19 -11
- package/lib/ipaas/service/entities.d.ts +26 -26
- package/lib/platform/service/api-config.cjs +684 -1842
- package/lib/platform/service/apis/agent.service.d.ts +49 -26
- package/lib/platform/service/apis/api.service.d.ts +1162 -511
- package/lib/platform/service/apis/apk.service.d.ts +47 -33
- package/lib/platform/service/apis/app-member.service.d.ts +79 -28
- package/lib/platform/service/apis/app-setting.service.d.ts +80 -35
- package/lib/platform/service/apis/app.service.d.ts +616 -200
- package/lib/platform/service/apis/assets.service.d.ts +80 -28
- package/lib/platform/service/apis/attachmentResourceTransfer.service.d.ts +7 -3
- package/lib/platform/service/apis/audit-log.service.d.ts +32 -20
- package/lib/platform/service/apis/bi-app.service.d.ts +11 -3
- package/lib/platform/service/apis/bi-data-set.service.d.ts +54 -29
- package/lib/platform/service/apis/bi-file-dataset-config.service.d.ts +63 -30
- package/lib/platform/service/apis/bi-file.service.d.ts +14 -5
- package/lib/platform/service/apis/bi-share.service.d.ts +58 -27
- package/lib/platform/service/apis/buildEnshrineCompLibrary.service.d.ts +6 -2
- package/lib/platform/service/apis/category.service.d.ts +94 -46
- package/lib/platform/service/apis/clearLogLogin.service.d.ts +6 -2
- package/lib/platform/service/apis/clearLogOperate.service.d.ts +6 -2
- package/lib/platform/service/apis/clearTempDir.service.d.ts +6 -2
- package/lib/platform/service/apis/copyFilter.service.d.ts +7 -3
- package/lib/platform/service/apis/dashboard.service.d.ts +63 -30
- package/lib/platform/service/apis/data-source.service.d.ts +100 -44
- package/lib/platform/service/apis/data-trace.service.d.ts +50 -31
- package/lib/platform/service/apis/database.service.d.ts +149 -70
- package/lib/platform/service/apis/dataset-log.service.d.ts +54 -26
- package/lib/platform/service/apis/dataset.service.d.ts +173 -78
- package/lib/platform/service/apis/datasource-devops.service.d.ts +42 -23
- package/lib/platform/service/apis/datasource-move-data.service.d.ts +58 -27
- package/lib/platform/service/apis/datasource-move-detail.service.d.ts +54 -26
- package/lib/platform/service/apis/datasource-move.service.d.ts +47 -26
- package/lib/platform/service/apis/deleteCompInfo.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteCompInfoType.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteCsvDatasource.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteEchartTheme.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteEnshrineComp.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteEnshrineCompGroup.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteFilter.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteLogOperateById.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteMapGeoJson.service.d.ts +11 -4
- package/lib/platform/service/apis/deleteNotUseDir.service.d.ts +6 -2
- package/lib/platform/service/apis/deletePageSnapshoot.service.d.ts +11 -4
- package/lib/platform/service/apis/deletePageTemplate.service.d.ts +11 -4
- package/lib/platform/service/apis/deletePnResource.service.d.ts +11 -4
- package/lib/platform/service/apis/deletePnResourceGroup.service.d.ts +11 -4
- package/lib/platform/service/apis/device-interconnection-param.service.d.ts +62 -32
- package/lib/platform/service/apis/device-interconnection.service.d.ts +72 -34
- package/lib/platform/service/apis/device-param-ref.service.d.ts +28 -12
- package/lib/platform/service/apis/exportTemplate.service.d.ts +60 -38
- package/lib/platform/service/apis/external-message.service.d.ts +50 -25
- package/lib/platform/service/apis/file-task.service.d.ts +100 -39
- package/lib/platform/service/apis/file.service.d.ts +28 -23
- package/lib/platform/service/apis/front-release.service.d.ts +5 -4
- package/lib/platform/service/apis/getAdCodeByAliasName.service.d.ts +10 -6
- package/lib/platform/service/apis/getAllCompInfo.service.d.ts +6 -2
- package/lib/platform/service/apis/getAllCompInfoByTypeId.service.d.ts +10 -6
- package/lib/platform/service/apis/getAllCompInfoType.service.d.ts +6 -2
- package/lib/platform/service/apis/getAllCsvDatasource.service.d.ts +10 -6
- package/lib/platform/service/apis/getAllEchartTheme.service.d.ts +6 -2
- package/lib/platform/service/apis/getAllEnshrineCompGroups.service.d.ts +6 -2
- package/lib/platform/service/apis/getAllFilter.service.d.ts +6 -2
- package/lib/platform/service/apis/getAllPageTemplate.service.d.ts +6 -2
- package/lib/platform/service/apis/getAttachmentInfoByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getCompInfoById.service.d.ts +10 -6
- package/lib/platform/service/apis/getCompInfoByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getCompInfoTypeById.service.d.ts +10 -6
- package/lib/platform/service/apis/getCompInfoTypeByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getContentToArray.service.d.ts +14 -7
- package/lib/platform/service/apis/getCsvDatasourceById.service.d.ts +10 -6
- package/lib/platform/service/apis/getCsvDatasourceByName.service.d.ts +10 -6
- package/lib/platform/service/apis/getCsvDatasourceByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getDesignerData.service.d.ts +10 -6
- package/lib/platform/service/apis/getEchartThemeById.service.d.ts +10 -6
- package/lib/platform/service/apis/getEchartThemeByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getEnshrineCompByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getEnshrineCompGroupById.service.d.ts +10 -6
- package/lib/platform/service/apis/getEnshrineCompGroupByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getFilterById.service.d.ts +10 -6
- package/lib/platform/service/apis/getGeoJsonByAdCode.service.d.ts +10 -6
- package/lib/platform/service/apis/getLayoutItemObjById.service.d.ts +10 -6
- package/lib/platform/service/apis/getLogLoginByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getMapBaseInfoByLevel.service.d.ts +10 -6
- package/lib/platform/service/apis/getMapGeoJsonById.service.d.ts +10 -6
- package/lib/platform/service/apis/getMapGeoJsonByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getMyAllPnResourceGroup.service.d.ts +6 -2
- package/lib/platform/service/apis/getMyEchartThemes.service.d.ts +6 -2
- package/lib/platform/service/apis/getMyPnResourceByPage.service.d.ts +6 -5
- package/lib/platform/service/apis/getMyShareCustomCompByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getPageSnapshootByEnabled.service.d.ts +14 -7
- package/lib/platform/service/apis/getPageSnapshootById.service.d.ts +10 -6
- package/lib/platform/service/apis/getPageSnapshootsByPageId.service.d.ts +10 -6
- package/lib/platform/service/apis/getPageTemplateById.service.d.ts +10 -6
- package/lib/platform/service/apis/getPageTemplateByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getPageTemplateForCreatePageForm.service.d.ts +7 -3
- package/lib/platform/service/apis/getPageTemplateLayout.service.d.ts +10 -6
- package/lib/platform/service/apis/getPageTemplateThemeJson.service.d.ts +10 -6
- package/lib/platform/service/apis/getPageTotalCount.service.d.ts +6 -2
- package/lib/platform/service/apis/getPnLogOperateByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getPnResourceGroupById.service.d.ts +10 -6
- package/lib/platform/service/apis/getProjectTotalCount.service.d.ts +6 -2
- package/lib/platform/service/apis/getShareCustomCompById.service.d.ts +10 -6
- package/lib/platform/service/apis/getShareCustomCompByPage.service.d.ts +7 -3
- package/lib/platform/service/apis/getSysEchartThemes.service.d.ts +6 -2
- package/lib/platform/service/apis/httpQuery.service.d.ts +6 -5
- package/lib/platform/service/apis/i18n-config.service.d.ts +18 -10
- package/lib/platform/service/apis/i18n-info.service.d.ts +85 -35
- package/lib/platform/service/apis/importCompInfoJson.service.d.ts +7 -3
- package/lib/platform/service/apis/importTemplate.service.d.ts +30 -14
- package/lib/platform/service/apis/internal-message.service.d.ts +75 -29
- package/lib/platform/service/apis/invoke-log.service.d.ts +57 -19
- package/lib/platform/service/apis/knowledge-base-chunk.service.d.ts +50 -25
- package/lib/platform/service/apis/knowledge-base-doc.service.d.ts +50 -25
- package/lib/platform/service/apis/knowledge-base.service.d.ts +50 -25
- package/lib/platform/service/apis/ldap.service.d.ts +5 -4
- package/lib/platform/service/apis/license-unbind-log.service.d.ts +6 -3
- package/lib/platform/service/apis/license.service.d.ts +189 -73
- package/lib/platform/service/apis/login-log.service.d.ts +30 -9
- package/lib/platform/service/apis/login.service.d.ts +50 -21
- package/lib/platform/service/apis/manager.service.d.ts +27 -10
- package/lib/platform/service/apis/message-setting.service.d.ts +110 -47
- package/lib/platform/service/apis/minio-file.service.d.ts +16 -7
- package/lib/platform/service/apis/model-provider.service.d.ts +50 -25
- package/lib/platform/service/apis/model.service.d.ts +49 -26
- package/lib/platform/service/apis/nav-menu.service.d.ts +68 -35
- package/lib/platform/service/apis/nav-page.service.d.ts +58 -29
- package/lib/platform/service/apis/openapi-group.service.d.ts +143 -55
- package/lib/platform/service/apis/openapi-key-grant.service.d.ts +67 -32
- package/lib/platform/service/apis/org-user-picker.service.d.ts +53 -20
- package/lib/platform/service/apis/org.service.d.ts +163 -75
- package/lib/platform/service/apis/parseCsvOrExcel.service.d.ts +14 -7
- package/lib/platform/service/apis/permission.service.d.ts +40 -22
- package/lib/platform/service/apis/plat.service.d.ts +131 -75
- package/lib/platform/service/apis/plugin-version.service.d.ts +50 -25
- package/lib/platform/service/apis/plugin.service.d.ts +147 -59
- package/lib/platform/service/apis/pm-process-delegate-detail.service.d.ts +50 -25
- package/lib/platform/service/apis/pm-process-delegate.service.d.ts +50 -25
- package/lib/platform/service/apis/pm-process-instance.service.d.ts +66 -32
- package/lib/platform/service/apis/pm-task-done.service.d.ts +65 -33
- package/lib/platform/service/apis/pm-task-todo.service.d.ts +61 -32
- package/lib/platform/service/apis/pn-page.service.d.ts +49 -26
- package/lib/platform/service/apis/pn-project.service.d.ts +125 -57
- package/lib/platform/service/apis/print-log.service.d.ts +89 -29
- package/lib/platform/service/apis/print-resource.service.d.ts +90 -44
- package/lib/platform/service/apis/regexp.service.d.ts +73 -32
- package/lib/platform/service/apis/released.service.d.ts +78 -26
- package/lib/platform/service/apis/resourceTransferToPage.service.d.ts +7 -3
- package/lib/platform/service/apis/role-permission.service.d.ts +39 -20
- package/lib/platform/service/apis/role.service.d.ts +113 -46
- package/lib/platform/service/apis/saveCompInfo.service.d.ts +7 -3
- package/lib/platform/service/apis/saveCompInfoType.service.d.ts +7 -3
- package/lib/platform/service/apis/saveCsvDatasource.service.d.ts +7 -3
- package/lib/platform/service/apis/saveEchartTheme.service.d.ts +7 -3
- package/lib/platform/service/apis/saveEnshrineComp.service.d.ts +7 -3
- package/lib/platform/service/apis/saveEnshrineCompGroup.service.d.ts +7 -3
- package/lib/platform/service/apis/saveFilter.service.d.ts +7 -3
- package/lib/platform/service/apis/saveMapGeoJson.service.d.ts +7 -3
- package/lib/platform/service/apis/savePageSnapshoot.service.d.ts +7 -3
- package/lib/platform/service/apis/savePageTemplate.service.d.ts +7 -3
- package/lib/platform/service/apis/savePnResourceGroup.service.d.ts +7 -3
- package/lib/platform/service/apis/saveShareCustomComp.service.d.ts +7 -3
- package/lib/platform/service/apis/seal-management.service.d.ts +56 -30
- package/lib/platform/service/apis/searchEnshrineComp.service.d.ts +7 -3
- package/lib/platform/service/apis/seat-message.service.d.ts +11 -2
- package/lib/platform/service/apis/seat.service.d.ts +75 -33
- package/lib/platform/service/apis/setPageSnapshootEnabled.service.d.ts +7 -3
- package/lib/platform/service/apis/setPageSnapshootEnabledByPageId.service.d.ts +7 -3
- package/lib/platform/service/apis/shortcut.service.d.ts +100 -39
- package/lib/platform/service/apis/sign-log.service.d.ts +46 -27
- package/lib/platform/service/apis/sms.service.d.ts +11 -6
- package/lib/platform/service/apis/started-process.service.d.ts +48 -20
- package/lib/platform/service/apis/task-delegate.service.d.ts +72 -33
- package/lib/platform/service/apis/task-done.service.d.ts +44 -19
- package/lib/platform/service/apis/task-todo.service.d.ts +44 -19
- package/lib/platform/service/apis/tenant-developer.service.d.ts +87 -39
- package/lib/platform/service/apis/tenant.service.d.ts +370 -150
- package/lib/platform/service/apis/toggleEnabled.service.d.ts +7 -3
- package/lib/platform/service/apis/uncompressLogOperateLayoutStr.service.d.ts +7 -3
- package/lib/platform/service/apis/uploadFiles.service.d.ts +88 -45
- package/lib/platform/service/apis/user-extra.service.d.ts +49 -26
- package/lib/platform/service/apis/user-info-log.service.d.ts +53 -27
- package/lib/platform/service/apis/user-password-history.service.d.ts +50 -25
- package/lib/platform/service/apis/user.service.d.ts +207 -106
- package/lib/platform/service/apis/workbench-component-relation.service.d.ts +77 -36
- package/lib/platform/service/apis/workbench-component.service.d.ts +58 -27
- package/lib/platform/service/entities.d.ts +255 -1319
- package/lib/platform/service/index.d.ts +0 -4
- package/lib/service/api-service.cjs +71 -48
- package/lib/service/http.error.cjs +46 -0
- package/lib/service/http.util.cjs +108 -31
- package/lib/service/index.cjs +9 -2
- package/lib/types/index.d.ts +48 -0
- package/package.json +37 -17
- package/es/apaas/service/apis/V2.service.d.ts +0 -50
- package/es/apaas/service/apis/qms.service.d.ts +0 -91
- package/es/platform/service/apis/V2.service.d.ts +0 -68
- package/lib/apaas/service/apis/V2.service.d.ts +0 -50
- package/lib/apaas/service/apis/qms.service.d.ts +0 -91
- package/lib/platform/service/apis/V2.service.d.ts +0 -68
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { V2Service } from './apis/V2.service';
|
|
2
1
|
import type { AgentService } from './apis/agent.service';
|
|
3
2
|
import type { ApkService } from './apis/apk.service';
|
|
4
3
|
import type { AppService } from './apis/app.service';
|
|
@@ -85,7 +84,6 @@ import type { UserService } from './apis/user.service';
|
|
|
85
84
|
import type { UserExtraService } from './apis/user-extra.service';
|
|
86
85
|
import type { UserInfoLogService } from './apis/user-info-log.service';
|
|
87
86
|
import type { UserPasswordHistoryService } from './apis/user-password-history.service';
|
|
88
|
-
import type { V2Service } from './apis/v2.service';
|
|
89
87
|
import type { WorkbenchComponentService } from './apis/workbench-component.service';
|
|
90
88
|
import type { WorkbenchComponentRelationService } from './apis/workbench-component-relation.service';
|
|
91
89
|
import type { ClearTempDirService } from './apis/clearTempDir.service';
|
|
@@ -185,7 +183,6 @@ import type { GetPageTotalCountService } from './apis/getPageTotalCount.service'
|
|
|
185
183
|
import type { GetProjectTotalCountService } from './apis/getProjectTotalCount.service';
|
|
186
184
|
|
|
187
185
|
export interface ApiManage {
|
|
188
|
-
readonly v2: V2Service;
|
|
189
186
|
readonly agent: AgentService;
|
|
190
187
|
readonly apk: ApkService;
|
|
191
188
|
readonly app: AppService;
|
|
@@ -272,7 +269,6 @@ export interface ApiManage {
|
|
|
272
269
|
readonly userExtra: UserExtraService;
|
|
273
270
|
readonly userInfoLog: UserInfoLogService;
|
|
274
271
|
readonly userPasswordHistory: UserPasswordHistoryService;
|
|
275
|
-
readonly v2: V2Service;
|
|
276
272
|
readonly workbenchComponent: WorkbenchComponentService;
|
|
277
273
|
readonly workbenchComponentRelation: WorkbenchComponentRelationService;
|
|
278
274
|
readonly clearTempDir: ClearTempDirService;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ApiConfigItem
|
|
1
|
+
import type { ApiConfigItem } from './api-service.interface';
|
|
2
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
3
|
/**
|
|
3
4
|
* 服务基类
|
|
4
5
|
* 提供基础的 HTTP 请求方法封装
|
|
@@ -21,76 +22,83 @@ export declare class ApiService {
|
|
|
21
22
|
*
|
|
22
23
|
* @protected
|
|
23
24
|
* @param {string} method 请求方法路径
|
|
24
|
-
* @param {(
|
|
25
|
-
* @param {(
|
|
26
|
-
* @param {IParams}
|
|
27
|
-
* @
|
|
25
|
+
* @param {(IParams)} pathParams 路径参数
|
|
26
|
+
* @param {(IObject)} data 请求数据
|
|
27
|
+
* @param {(IParams)} query 查询参数
|
|
28
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
29
|
+
* @returns {Promise<T>} 请求结果
|
|
28
30
|
*/
|
|
29
|
-
protected _put(method: string,
|
|
31
|
+
protected _put<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
30
32
|
/**
|
|
31
33
|
* GET 请求方法
|
|
32
34
|
*
|
|
33
35
|
* @protected
|
|
34
36
|
* @param {string} method 请求方法路径
|
|
35
|
-
* @param {(
|
|
36
|
-
* @param {(
|
|
37
|
-
* @param {IParams}
|
|
38
|
-
* @
|
|
37
|
+
* @param {(IParams)} pathParams 路径参数
|
|
38
|
+
* @param {(IObject)} data 请求数据
|
|
39
|
+
* @param {(IParams)} query 查询参数
|
|
40
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
41
|
+
* @returns {Promise<T>} 请求结果
|
|
39
42
|
*/
|
|
40
|
-
protected _get(method: string,
|
|
43
|
+
protected _get<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
41
44
|
/**
|
|
42
45
|
* DELETE 请求方法
|
|
43
46
|
*
|
|
44
47
|
* @protected
|
|
45
48
|
* @param {string} method 请求方法路径
|
|
46
|
-
* @param {(
|
|
47
|
-
* @param {(
|
|
48
|
-
* @param {IParams}
|
|
49
|
-
* @
|
|
49
|
+
* @param {(IParams)} pathParams 路径参数
|
|
50
|
+
* @param {(IObject)} data 请求数据
|
|
51
|
+
* @param {(IParams)} query 查询参数
|
|
52
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
53
|
+
* @returns {Promise<T>} 请求结果
|
|
50
54
|
*/
|
|
51
|
-
protected _delete(method: string,
|
|
55
|
+
protected _delete<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
52
56
|
/**
|
|
53
57
|
* POST 请求方法
|
|
54
58
|
*
|
|
55
59
|
* @protected
|
|
56
60
|
* @param {string} method 请求方法路径
|
|
57
|
-
* @param {(
|
|
58
|
-
* @param {(
|
|
59
|
-
* @param {IParams}
|
|
60
|
-
* @
|
|
61
|
+
* @param {(IParams)} pathParams 路径参数
|
|
62
|
+
* @param {(IObject)} data 请求数据
|
|
63
|
+
* @param {(IParams)} query 查询参数
|
|
64
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
65
|
+
* @returns {Promise<T>} 请求结果
|
|
61
66
|
*/
|
|
62
|
-
protected _post(method: string,
|
|
67
|
+
protected _post<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
63
68
|
/**
|
|
64
69
|
* OPTIONS 请求方法
|
|
65
70
|
*
|
|
66
71
|
* @protected
|
|
67
72
|
* @param {string} method 请求方法路径
|
|
68
|
-
* @param {(
|
|
69
|
-
* @param {(
|
|
70
|
-
* @param {IParams}
|
|
71
|
-
* @
|
|
73
|
+
* @param {(IParams)} pathParams 路径参数
|
|
74
|
+
* @param {(IObject)} data 请求数据
|
|
75
|
+
* @param {(IParams)} query 查询参数
|
|
76
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
77
|
+
* @returns {Promise<T>} 请求结果
|
|
72
78
|
*/
|
|
73
|
-
protected _options(method: string,
|
|
79
|
+
protected _options<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
74
80
|
/**
|
|
75
81
|
* PATCH 请求方法
|
|
76
82
|
*
|
|
77
83
|
* @protected
|
|
78
84
|
* @param {string} method 请求方法路径
|
|
79
|
-
* @param {(
|
|
80
|
-
* @param {(
|
|
81
|
-
* @param {IParams}
|
|
82
|
-
* @
|
|
85
|
+
* @param {(IParams)} pathParams 路径参数
|
|
86
|
+
* @param {(IObject)} data 请求数据
|
|
87
|
+
* @param {(IParams)} query 查询参数
|
|
88
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
89
|
+
* @returns {Promise<T>} 请求结果
|
|
83
90
|
*/
|
|
84
|
-
protected _patch(method: string,
|
|
91
|
+
protected _patch<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
85
92
|
/**
|
|
86
93
|
* HEAD 请求方法
|
|
87
94
|
*
|
|
88
95
|
* @protected
|
|
89
96
|
* @param {string} method 请求方法路径
|
|
90
|
-
* @param {(
|
|
91
|
-
* @param {(
|
|
92
|
-
* @param {IParams}
|
|
93
|
-
* @
|
|
97
|
+
* @param {(IParams)} pathParams 路径参数
|
|
98
|
+
* @param {(IObject)} data 请求数据
|
|
99
|
+
* @param {(IParams)} query 查询参数
|
|
100
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
101
|
+
* @returns {Promise<T>} 请求结果
|
|
94
102
|
*/
|
|
95
|
-
protected _head(method: string,
|
|
103
|
+
protected _head<T = unknown>(method: string, pathParams?: IParams, query?: IParams, data?: IObject, config?: Partial<AxiosRequestConfig>): Promise<T>;
|
|
96
104
|
}
|
|
@@ -80,22 +80,24 @@ export interface ApiItem {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
*/
|
|
82
82
|
path: string;
|
|
83
|
+
/**
|
|
84
|
+
* 是否有路径参数
|
|
85
|
+
*
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
*/
|
|
88
|
+
hasPathParams?: boolean;
|
|
83
89
|
/**
|
|
84
90
|
* 是否有查询参数
|
|
85
91
|
*
|
|
86
|
-
* @author chitanda
|
|
87
|
-
* @date 2025-08-21 19:08:35
|
|
88
92
|
* @type {boolean}
|
|
89
93
|
*/
|
|
90
|
-
hasQuery
|
|
94
|
+
hasQuery?: boolean;
|
|
91
95
|
/**
|
|
92
96
|
* 是否有请求体
|
|
93
97
|
*
|
|
94
|
-
* @author chitanda
|
|
95
|
-
* @date 2025-08-21 19:08:41
|
|
96
98
|
* @type {boolean}
|
|
97
99
|
*/
|
|
98
|
-
hasData
|
|
100
|
+
hasData?: boolean;
|
|
99
101
|
}
|
|
100
102
|
/**
|
|
101
103
|
* 接口配置项
|
|
@@ -17,21 +17,61 @@ export class ApiService {
|
|
|
17
17
|
const cfg = config.apis.find((item) => item.method === property);
|
|
18
18
|
if (cfg) {
|
|
19
19
|
const modeFn = `_${cfg.mode}`;
|
|
20
|
-
if (cfg.hasData && cfg.hasQuery) {
|
|
21
|
-
api[property] = (
|
|
22
|
-
return api[modeFn](cfg.path, query, data, config2);
|
|
20
|
+
if (cfg.hasPathParams && cfg.hasData && cfg.hasQuery) {
|
|
21
|
+
api[property] = (path2, query, data, config2) => {
|
|
22
|
+
return api[modeFn](cfg.path, path2, query, data, config2);
|
|
23
|
+
};
|
|
24
|
+
} else if (cfg.hasPathParams && cfg.hasData) {
|
|
25
|
+
api[property] = function(path2, data, config2) {
|
|
26
|
+
return api[modeFn](cfg.path, path2, void 0, data, config2);
|
|
27
|
+
};
|
|
28
|
+
} else if (cfg.hasPathParams && cfg.hasQuery) {
|
|
29
|
+
api[property] = function(path2, query, config2) {
|
|
30
|
+
return api[modeFn](cfg.path, path2, query, void 0, config2);
|
|
31
|
+
};
|
|
32
|
+
} else if (cfg.hasPathParams) {
|
|
33
|
+
api[property] = function(path2, config2) {
|
|
34
|
+
return api[modeFn](
|
|
35
|
+
cfg.path,
|
|
36
|
+
path2,
|
|
37
|
+
void 0,
|
|
38
|
+
void 0,
|
|
39
|
+
config2
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
} else if (cfg.hasData && cfg.hasQuery) {
|
|
43
|
+
api[property] = function(query, data, config2) {
|
|
44
|
+
return api[modeFn](cfg.path, void 0, query, data, config2);
|
|
23
45
|
};
|
|
24
46
|
} else if (cfg.hasData) {
|
|
25
47
|
api[property] = function(data, config2) {
|
|
26
|
-
return api[modeFn](
|
|
48
|
+
return api[modeFn](
|
|
49
|
+
cfg.path,
|
|
50
|
+
void 0,
|
|
51
|
+
void 0,
|
|
52
|
+
data,
|
|
53
|
+
config2
|
|
54
|
+
);
|
|
27
55
|
};
|
|
28
56
|
} else if (cfg.hasQuery) {
|
|
29
57
|
api[property] = function(query, config2) {
|
|
30
|
-
return api[modeFn](
|
|
58
|
+
return api[modeFn](
|
|
59
|
+
cfg.path,
|
|
60
|
+
void 0,
|
|
61
|
+
query,
|
|
62
|
+
void 0,
|
|
63
|
+
config2
|
|
64
|
+
);
|
|
31
65
|
};
|
|
32
66
|
} else {
|
|
33
67
|
api[property] = function(config2) {
|
|
34
|
-
return api[modeFn](
|
|
68
|
+
return api[modeFn](
|
|
69
|
+
cfg.path,
|
|
70
|
+
void 0,
|
|
71
|
+
void 0,
|
|
72
|
+
void 0,
|
|
73
|
+
config2
|
|
74
|
+
);
|
|
35
75
|
};
|
|
36
76
|
}
|
|
37
77
|
}
|
|
@@ -45,16 +85,18 @@ export class ApiService {
|
|
|
45
85
|
*
|
|
46
86
|
* @protected
|
|
47
87
|
* @param {string} method 请求方法路径
|
|
48
|
-
* @param {(
|
|
49
|
-
* @param {(
|
|
50
|
-
* @param {IParams}
|
|
51
|
-
* @
|
|
88
|
+
* @param {(IParams)} pathParams 路径参数
|
|
89
|
+
* @param {(IObject)} data 请求数据
|
|
90
|
+
* @param {(IParams)} query 查询参数
|
|
91
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
92
|
+
* @returns {Promise<T>} 请求结果
|
|
52
93
|
*/
|
|
53
|
-
_put(method,
|
|
94
|
+
_put(method, pathParams, query, data, config) {
|
|
54
95
|
return HttpUtil.put(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
96
|
+
path.join(this.url, method),
|
|
97
|
+
pathParams,
|
|
98
|
+
data,
|
|
99
|
+
query,
|
|
58
100
|
config
|
|
59
101
|
);
|
|
60
102
|
}
|
|
@@ -63,16 +105,18 @@ export class ApiService {
|
|
|
63
105
|
*
|
|
64
106
|
* @protected
|
|
65
107
|
* @param {string} method 请求方法路径
|
|
66
|
-
* @param {(
|
|
67
|
-
* @param {(
|
|
68
|
-
* @param {IParams}
|
|
69
|
-
* @
|
|
108
|
+
* @param {(IParams)} pathParams 路径参数
|
|
109
|
+
* @param {(IObject)} data 请求数据
|
|
110
|
+
* @param {(IParams)} query 查询参数
|
|
111
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
112
|
+
* @returns {Promise<T>} 请求结果
|
|
70
113
|
*/
|
|
71
|
-
_get(method,
|
|
114
|
+
_get(method, pathParams, query, data, config) {
|
|
72
115
|
return HttpUtil.get(
|
|
73
116
|
path.join(this.url, method),
|
|
74
|
-
|
|
75
|
-
|
|
117
|
+
pathParams,
|
|
118
|
+
data,
|
|
119
|
+
query,
|
|
76
120
|
config
|
|
77
121
|
);
|
|
78
122
|
}
|
|
@@ -81,16 +125,18 @@ export class ApiService {
|
|
|
81
125
|
*
|
|
82
126
|
* @protected
|
|
83
127
|
* @param {string} method 请求方法路径
|
|
84
|
-
* @param {(
|
|
85
|
-
* @param {(
|
|
86
|
-
* @param {IParams}
|
|
87
|
-
* @
|
|
128
|
+
* @param {(IParams)} pathParams 路径参数
|
|
129
|
+
* @param {(IObject)} data 请求数据
|
|
130
|
+
* @param {(IParams)} query 查询参数
|
|
131
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
132
|
+
* @returns {Promise<T>} 请求结果
|
|
88
133
|
*/
|
|
89
|
-
_delete(method,
|
|
134
|
+
_delete(method, pathParams, query, data, config) {
|
|
90
135
|
return HttpUtil.delete(
|
|
91
136
|
path.join(this.url, method),
|
|
92
|
-
|
|
93
|
-
|
|
137
|
+
pathParams,
|
|
138
|
+
data,
|
|
139
|
+
query,
|
|
94
140
|
config
|
|
95
141
|
);
|
|
96
142
|
}
|
|
@@ -99,16 +145,18 @@ export class ApiService {
|
|
|
99
145
|
*
|
|
100
146
|
* @protected
|
|
101
147
|
* @param {string} method 请求方法路径
|
|
102
|
-
* @param {(
|
|
103
|
-
* @param {(
|
|
104
|
-
* @param {IParams}
|
|
105
|
-
* @
|
|
148
|
+
* @param {(IParams)} pathParams 路径参数
|
|
149
|
+
* @param {(IObject)} data 请求数据
|
|
150
|
+
* @param {(IParams)} query 查询参数
|
|
151
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
152
|
+
* @returns {Promise<T>} 请求结果
|
|
106
153
|
*/
|
|
107
|
-
_post(method,
|
|
154
|
+
_post(method, pathParams, query, data, config) {
|
|
108
155
|
return HttpUtil.post(
|
|
109
156
|
path.join(this.url, method),
|
|
110
|
-
|
|
111
|
-
|
|
157
|
+
pathParams,
|
|
158
|
+
data,
|
|
159
|
+
query,
|
|
112
160
|
config
|
|
113
161
|
);
|
|
114
162
|
}
|
|
@@ -117,16 +165,18 @@ export class ApiService {
|
|
|
117
165
|
*
|
|
118
166
|
* @protected
|
|
119
167
|
* @param {string} method 请求方法路径
|
|
120
|
-
* @param {(
|
|
121
|
-
* @param {(
|
|
122
|
-
* @param {IParams}
|
|
123
|
-
* @
|
|
168
|
+
* @param {(IParams)} pathParams 路径参数
|
|
169
|
+
* @param {(IObject)} data 请求数据
|
|
170
|
+
* @param {(IParams)} query 查询参数
|
|
171
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
172
|
+
* @returns {Promise<T>} 请求结果
|
|
124
173
|
*/
|
|
125
|
-
_options(method,
|
|
174
|
+
_options(method, pathParams, query, data, config) {
|
|
126
175
|
return HttpUtil.options(
|
|
127
176
|
path.join(this.url, method),
|
|
128
|
-
|
|
129
|
-
|
|
177
|
+
pathParams,
|
|
178
|
+
data,
|
|
179
|
+
query,
|
|
130
180
|
config
|
|
131
181
|
);
|
|
132
182
|
}
|
|
@@ -135,16 +185,18 @@ export class ApiService {
|
|
|
135
185
|
*
|
|
136
186
|
* @protected
|
|
137
187
|
* @param {string} method 请求方法路径
|
|
138
|
-
* @param {(
|
|
139
|
-
* @param {(
|
|
140
|
-
* @param {IParams}
|
|
141
|
-
* @
|
|
188
|
+
* @param {(IParams)} pathParams 路径参数
|
|
189
|
+
* @param {(IObject)} data 请求数据
|
|
190
|
+
* @param {(IParams)} query 查询参数
|
|
191
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
192
|
+
* @returns {Promise<T>} 请求结果
|
|
142
193
|
*/
|
|
143
|
-
_patch(method,
|
|
194
|
+
_patch(method, pathParams, query, data, config) {
|
|
144
195
|
return HttpUtil.patch(
|
|
145
196
|
path.join(this.url, method),
|
|
146
|
-
|
|
147
|
-
|
|
197
|
+
pathParams,
|
|
198
|
+
data,
|
|
199
|
+
query,
|
|
148
200
|
config
|
|
149
201
|
);
|
|
150
202
|
}
|
|
@@ -153,16 +205,18 @@ export class ApiService {
|
|
|
153
205
|
*
|
|
154
206
|
* @protected
|
|
155
207
|
* @param {string} method 请求方法路径
|
|
156
|
-
* @param {(
|
|
157
|
-
* @param {(
|
|
158
|
-
* @param {IParams}
|
|
159
|
-
* @
|
|
208
|
+
* @param {(IParams)} pathParams 路径参数
|
|
209
|
+
* @param {(IObject)} data 请求数据
|
|
210
|
+
* @param {(IParams)} query 查询参数
|
|
211
|
+
* @param {Partial<AxiosRequestConfig>} [config] 请求配置
|
|
212
|
+
* @returns {Promise<T>} 请求结果
|
|
160
213
|
*/
|
|
161
|
-
_head(method,
|
|
214
|
+
_head(method, pathParams, query, data, config) {
|
|
162
215
|
return HttpUtil.head(
|
|
163
216
|
path.join(this.url, method),
|
|
164
|
-
|
|
165
|
-
|
|
217
|
+
pathParams,
|
|
218
|
+
data,
|
|
219
|
+
query,
|
|
166
220
|
config
|
|
167
221
|
);
|
|
168
222
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HTTP 请求错误类
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @class HttpError
|
|
6
|
+
* @extends {Error}
|
|
7
|
+
* @template T
|
|
8
|
+
*/
|
|
9
|
+
export declare class BackendError<T = unknown> extends Error {
|
|
10
|
+
/**
|
|
11
|
+
* 错误代码
|
|
12
|
+
*
|
|
13
|
+
* @type {number}
|
|
14
|
+
*/
|
|
15
|
+
code: number;
|
|
16
|
+
/**
|
|
17
|
+
* 响应数据
|
|
18
|
+
*
|
|
19
|
+
* @type {T}
|
|
20
|
+
*/
|
|
21
|
+
data: T;
|
|
22
|
+
/**
|
|
23
|
+
* 子状态码
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
*/
|
|
27
|
+
subCode?: number;
|
|
28
|
+
/**
|
|
29
|
+
* 子状态消息
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
*/
|
|
33
|
+
subMessage?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 创建 BackendError 实例
|
|
36
|
+
*
|
|
37
|
+
* @param {IHttpResponse<T>} response HTTP 响应对象
|
|
38
|
+
*/
|
|
39
|
+
constructor(response: IHttpResponse<T>);
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export class BackendError extends Error {
|
|
2
|
+
/**
|
|
3
|
+
* 错误代码
|
|
4
|
+
*
|
|
5
|
+
* @type {number}
|
|
6
|
+
*/
|
|
7
|
+
code;
|
|
8
|
+
/**
|
|
9
|
+
* 响应数据
|
|
10
|
+
*
|
|
11
|
+
* @type {T}
|
|
12
|
+
*/
|
|
13
|
+
data;
|
|
14
|
+
/**
|
|
15
|
+
* 子状态码
|
|
16
|
+
*
|
|
17
|
+
* @type {number}
|
|
18
|
+
*/
|
|
19
|
+
subCode;
|
|
20
|
+
/**
|
|
21
|
+
* 子状态消息
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
subMessage;
|
|
26
|
+
/**
|
|
27
|
+
* 创建 BackendError 实例
|
|
28
|
+
*
|
|
29
|
+
* @param {IHttpResponse<T>} response HTTP 响应对象
|
|
30
|
+
*/
|
|
31
|
+
constructor(response) {
|
|
32
|
+
super(response.message);
|
|
33
|
+
this.name = "BackendError";
|
|
34
|
+
this.code = response.code;
|
|
35
|
+
this.data = response.data;
|
|
36
|
+
this.subCode = response.subCode;
|
|
37
|
+
this.subMessage = response.subMessage;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type { IHttpResponse } from './api-service.interface';
|
|
3
2
|
/**
|
|
4
3
|
* 全局请求工具类
|
|
5
4
|
*
|
|
@@ -20,94 +19,124 @@ export declare class HttpUtil {
|
|
|
20
19
|
* @static
|
|
21
20
|
* @template T
|
|
22
21
|
* @param {string} url 请求地址
|
|
22
|
+
* @param {IObject} [path={}] 路径参数
|
|
23
23
|
* @param {IObject} [data={}] 请求数据
|
|
24
24
|
* @param {IParams} [query={}] 查询参数
|
|
25
25
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
26
|
-
* @returns {Promise<
|
|
26
|
+
* @returns {Promise<T>} 请求结果
|
|
27
27
|
*/
|
|
28
|
-
static get<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
28
|
+
static get<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
29
29
|
/**
|
|
30
30
|
* POST 请求方法
|
|
31
31
|
*
|
|
32
32
|
* @static
|
|
33
33
|
* @template T
|
|
34
34
|
* @param {string} url 请求地址
|
|
35
|
+
* @param {IObject} [path={}] 路径参数
|
|
35
36
|
* @param {IObject} [data={}] 请求数据
|
|
36
37
|
* @param {IParams} [query={}] 查询参数
|
|
37
38
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
38
|
-
* @returns {Promise<
|
|
39
|
+
* @returns {Promise<T>} 请求结果
|
|
39
40
|
*/
|
|
40
|
-
static post<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
41
|
+
static post<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
41
42
|
/**
|
|
42
43
|
* PUT 请求方法
|
|
43
44
|
*
|
|
44
45
|
* @static
|
|
45
46
|
* @template T
|
|
46
47
|
* @param {string} url 请求地址
|
|
48
|
+
* @param {IObject} [path={}] 路径参数
|
|
47
49
|
* @param {IObject} [data={}] 请求数据
|
|
48
50
|
* @param {IParams} [query={}] 查询参数
|
|
49
51
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
50
|
-
* @returns {Promise<
|
|
52
|
+
* @returns {Promise<T>} 请求结果
|
|
51
53
|
*/
|
|
52
|
-
static put<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
54
|
+
static put<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
53
55
|
/**
|
|
54
56
|
* DELETE 请求方法
|
|
55
57
|
*
|
|
56
58
|
* @static
|
|
57
59
|
* @template T
|
|
58
60
|
* @param {string} url 请求地址
|
|
61
|
+
* @param {IObject} [path={}] 路径参数
|
|
59
62
|
* @param {IObject} [data={}] 请求数据
|
|
60
63
|
* @param {IParams} [query={}] 查询参数
|
|
61
64
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
62
|
-
* @returns {Promise<
|
|
65
|
+
* @returns {Promise<T>} 请求结果
|
|
63
66
|
*/
|
|
64
|
-
static delete<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
67
|
+
static delete<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
65
68
|
/**
|
|
66
69
|
* OPTIONS 请求方法
|
|
67
70
|
*
|
|
68
71
|
* @static
|
|
69
72
|
* @template T
|
|
70
73
|
* @param {string} url 请求地址
|
|
74
|
+
* @param {IObject} [path={}] 路径参数
|
|
71
75
|
* @param {IObject} [data={}] 请求数据
|
|
72
76
|
* @param {IParams} [query={}] 查询参数
|
|
73
77
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
74
|
-
* @returns {Promise<
|
|
78
|
+
* @returns {Promise<T>} 请求结果
|
|
75
79
|
*/
|
|
76
|
-
static options<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
80
|
+
static options<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
77
81
|
/**
|
|
78
82
|
* PATCH 请求方法
|
|
79
83
|
*
|
|
80
84
|
* @static
|
|
81
85
|
* @template T
|
|
82
86
|
* @param {string} url 请求地址
|
|
87
|
+
* @param {IObject} [path={}] 路径参数
|
|
83
88
|
* @param {IObject} [data={}] 请求数据
|
|
84
89
|
* @param {IParams} [query={}] 查询参数
|
|
85
90
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
86
|
-
* @returns {Promise<
|
|
91
|
+
* @returns {Promise<T>} 请求结果
|
|
87
92
|
*/
|
|
88
|
-
static patch<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
93
|
+
static patch<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
89
94
|
/**
|
|
90
95
|
* HEAD 请求方法
|
|
91
96
|
*
|
|
92
97
|
* @static
|
|
93
98
|
* @template T
|
|
94
99
|
* @param {string} url 请求地址
|
|
100
|
+
* @param {IObject} [path={}] 路径参数
|
|
95
101
|
* @param {IObject} [data={}] 请求数据
|
|
96
102
|
* @param {IParams} [query={}] 查询参数
|
|
97
103
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
98
|
-
* @returns {Promise<
|
|
104
|
+
* @returns {Promise<T>} 请求结果
|
|
99
105
|
*/
|
|
100
|
-
static head<T = unknown>(url: string, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<
|
|
106
|
+
static head<T = unknown>(url: string, path?: IObject, data?: IObject, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
107
|
+
/**
|
|
108
|
+
* 文件上传方法
|
|
109
|
+
*
|
|
110
|
+
* @static
|
|
111
|
+
* @template T
|
|
112
|
+
* @param {string} url 请求地址
|
|
113
|
+
* @param {IObject} [path={}] 路径参数
|
|
114
|
+
* @param {UploadFileData} [data={}] 额外的请求数据
|
|
115
|
+
* @param {IParams} [query={}] 查询参数
|
|
116
|
+
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
117
|
+
* @returns {Promise<T>} 请求结果
|
|
118
|
+
*/
|
|
119
|
+
static upload<T = unknown>(url: string, path?: IObject, data?: Partial<UploadFileData>, query?: IParams, config?: AxiosRequestConfig): Promise<T>;
|
|
120
|
+
/**
|
|
121
|
+
* 转换 URL 中的路径参数
|
|
122
|
+
*
|
|
123
|
+
* @protected
|
|
124
|
+
* @param {string} url
|
|
125
|
+
* @param {IObject} path
|
|
126
|
+
* @return {*} {string}
|
|
127
|
+
*/
|
|
128
|
+
protected static transformUrl(url: string, path: IObject): string;
|
|
101
129
|
/**
|
|
102
130
|
* 通用请求方法
|
|
103
131
|
*
|
|
104
132
|
* @static
|
|
105
133
|
* @template T
|
|
106
134
|
* @param {string} url 请求地址
|
|
135
|
+
* @param {(IObject | null)} path 路径参数
|
|
107
136
|
* @param {(IObject | null)} data 请求数据
|
|
108
137
|
* @param {(IParams | null)} query 查询参数
|
|
109
138
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
110
|
-
* @returns {Promise<
|
|
139
|
+
* @returns {Promise<T>} 请求结果
|
|
111
140
|
*/
|
|
112
|
-
static request<T = unknown>(url: string, data: IObject | null, query: IParams | null, config?: AxiosRequestConfig): Promise<
|
|
141
|
+
static request<T = unknown>(url: string, path: IObject | null, data: IObject | null, query: IParams | null, config?: AxiosRequestConfig): Promise<T>;
|
|
113
142
|
}
|