@gct-paas/api 0.1.2-dev.1 → 0.1.2-dev.3
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/index.esm.min.js +1 -1
- package/dist/index.system.min.js +1 -1
- package/es/apaas/service/api-config.mjs +197 -1
- package/es/apaas/service/apis/app-org.service.d.ts +0 -4
- package/{lib/apaas/service/apis/form.service.d.ts → es/apaas/service/apis/approve.service.d.ts} +17 -17
- package/es/apaas/service/apis/audit-log.service.d.ts +7 -0
- package/es/apaas/service/apis/category.service.d.ts +8 -0
- package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
- package/es/apaas/service/apis/dhr.service.d.ts +2 -2
- package/es/apaas/service/apis/edhr-tmpl.service.d.ts +18 -5
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
- package/es/apaas/service/apis/file.service.d.ts +1 -1
- package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
- package/{lib/apaas/service/apis/edhr-category.service.d.ts → es/apaas/service/apis/inspection-category.service.d.ts} +8 -8
- package/es/apaas/service/apis/label.service.d.ts +1 -1
- package/es/apaas/service/apis/office.service.d.ts +1 -1
- package/es/apaas/service/apis/online-form-instance.service.d.ts +17 -0
- package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +30 -0
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +56 -0
- package/{lib/apaas/service/apis/online-form-category.service.d.ts → es/apaas/service/apis/product-release-category.service.d.ts} +8 -8
- package/es/apaas/service/apis/ss.service.d.ts +1 -1
- package/es/apaas/service/entities.d.ts +1029 -42
- package/es/apaas/service/index.d.ts +8 -0
- package/es/ipaas/service/api-config.mjs +12 -5
- package/es/ipaas/service/apis/camel.service.d.ts +18 -5
- package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
- package/es/ipaas/service/apis/flow.service.d.ts +1 -1
- package/es/ipaas/service/apis/runtime.service.d.ts +13 -0
- package/es/ipaas/service/entities.d.ts +9 -3
- package/es/platform/service/apis/apk.service.d.ts +1 -1
- package/es/platform/service/apis/app.service.d.ts +1 -5
- package/es/platform/service/apis/assets.service.d.ts +1 -1
- package/es/platform/service/apis/bi-file.service.d.ts +1 -1
- package/es/platform/service/apis/dashboard.service.d.ts +0 -4
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
- package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
- package/es/platform/service/apis/file.service.d.ts +3 -3
- package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
- package/es/platform/service/apis/ldap.service.d.ts +1 -1
- package/es/platform/service/apis/org.service.d.ts +4 -0
- package/es/platform/service/apis/plat.service.d.ts +1 -1
- package/es/platform/service/apis/pn-project.service.d.ts +1 -1
- package/es/platform/service/apis/tenant.service.d.ts +4 -0
- package/es/platform/service/apis/user.service.d.ts +6 -6
- package/es/platform/service/entities.d.ts +6 -0
- package/es/service/http.util.d.ts +1 -1
- package/es/service/http.util.mjs +12 -2
- package/es/types/index.d.ts +19 -0
- package/package.json +5 -5
- package/lib/apaas/index.cjs +0 -12
- package/lib/apaas/service/api-config.cjs +0 -6507
- package/lib/apaas/service/apis/api.service.d.ts +0 -733
- package/lib/apaas/service/apis/app-branch.service.d.ts +0 -70
- package/lib/apaas/service/apis/app-global-settings.service.d.ts +0 -81
- package/lib/apaas/service/apis/app-granted-user.service.d.ts +0 -86
- package/lib/apaas/service/apis/app-org.service.d.ts +0 -184
- package/lib/apaas/service/apis/app-publish-log.service.d.ts +0 -72
- package/lib/apaas/service/apis/app-state.service.d.ts +0 -11
- package/lib/apaas/service/apis/app-user.service.d.ts +0 -142
- package/lib/apaas/service/apis/approval-log.service.d.ts +0 -70
- package/lib/apaas/service/apis/audit-log.service.d.ts +0 -59
- package/lib/apaas/service/apis/basic-config.service.d.ts +0 -72
- package/lib/apaas/service/apis/biz-event.service.d.ts +0 -83
- package/lib/apaas/service/apis/biz-process-definition-version.service.d.ts +0 -89
- package/lib/apaas/service/apis/biz-process-definition.service.d.ts +0 -91
- package/lib/apaas/service/apis/biz-service-crud.service.d.ts +0 -182
- package/lib/apaas/service/apis/biz-service.service.d.ts +0 -58
- package/lib/apaas/service/apis/bom.service.d.ts +0 -7
- package/lib/apaas/service/apis/category-relation.service.d.ts +0 -108
- package/lib/apaas/service/apis/category.service.d.ts +0 -323
- package/lib/apaas/service/apis/chat.service.d.ts +0 -20
- package/lib/apaas/service/apis/code-ts.service.d.ts +0 -8
- package/lib/apaas/service/apis/commit-log.service.d.ts +0 -147
- package/lib/apaas/service/apis/common-info-card.service.d.ts +0 -94
- package/lib/apaas/service/apis/control-config.service.d.ts +0 -123
- package/lib/apaas/service/apis/customer-complaint.service.d.ts +0 -108
- package/lib/apaas/service/apis/dashboard.service.d.ts +0 -90
- package/lib/apaas/service/apis/data-model.service.d.ts +0 -125
- package/lib/apaas/service/apis/data-source.service.d.ts +0 -33
- package/lib/apaas/service/apis/data-trace.service.d.ts +0 -75
- package/lib/apaas/service/apis/designer-common.service.d.ts +0 -450
- package/lib/apaas/service/apis/designer-lock.service.d.ts +0 -50
- package/lib/apaas/service/apis/designer-operate-log.service.d.ts +0 -46
- package/lib/apaas/service/apis/devops.service.d.ts +0 -18
- package/lib/apaas/service/apis/dhr.service.d.ts +0 -83
- package/lib/apaas/service/apis/dify-chat.service.d.ts +0 -19
- package/lib/apaas/service/apis/doc-control-started.service.d.ts +0 -151
- package/lib/apaas/service/apis/doc-control-task-done.service.d.ts +0 -76
- package/lib/apaas/service/apis/doc-control-task-todo.service.d.ts +0 -133
- package/lib/apaas/service/apis/doc-control.service.d.ts +0 -101
- package/lib/apaas/service/apis/doc-outline.service.d.ts +0 -156
- package/lib/apaas/service/apis/document.service.d.ts +0 -197
- package/lib/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +0 -93
- package/lib/apaas/service/apis/edhr-instance-relation.service.d.ts +0 -54
- package/lib/apaas/service/apis/edhr-instance-search-history.service.d.ts +0 -31
- package/lib/apaas/service/apis/edhr-instance.service.d.ts +0 -277
- package/lib/apaas/service/apis/edhr-tmpl.service.d.ts +0 -138
- package/lib/apaas/service/apis/ele-search.service.d.ts +0 -18
- package/lib/apaas/service/apis/enum-model-field.service.d.ts +0 -124
- package/lib/apaas/service/apis/enum-model.service.d.ts +0 -133
- package/lib/apaas/service/apis/event-log.service.d.ts +0 -52
- package/lib/apaas/service/apis/event.service.d.ts +0 -83
- package/lib/apaas/service/apis/excel-tmpl.service.d.ts +0 -191
- package/lib/apaas/service/apis/excel.service.d.ts +0 -148
- package/lib/apaas/service/apis/field-meta.service.d.ts +0 -202
- package/lib/apaas/service/apis/field.service.d.ts +0 -16
- package/lib/apaas/service/apis/file-resource.service.d.ts +0 -41
- package/lib/apaas/service/apis/file-task.service.d.ts +0 -23
- package/lib/apaas/service/apis/file.service.d.ts +0 -45
- package/lib/apaas/service/apis/formRelate.service.d.ts +0 -243
- package/lib/apaas/service/apis/front-operate-log.service.d.ts +0 -46
- package/lib/apaas/service/apis/global-method.service.d.ts +0 -80
- package/lib/apaas/service/apis/i18n-info.service.d.ts +0 -85
- package/lib/apaas/service/apis/import-report.service.d.ts +0 -41
- package/lib/apaas/service/apis/instance-relation.service.d.ts +0 -89
- package/lib/apaas/service/apis/ipaas.service.d.ts +0 -12
- package/lib/apaas/service/apis/job-log.service.d.ts +0 -63
- package/lib/apaas/service/apis/job.service.d.ts +0 -133
- package/lib/apaas/service/apis/js-engine.service.d.ts +0 -37
- package/lib/apaas/service/apis/label-log.service.d.ts +0 -90
- package/lib/apaas/service/apis/label.service.d.ts +0 -362
- package/lib/apaas/service/apis/login-log.service.d.ts +0 -12
- package/lib/apaas/service/apis/med-pro.service.d.ts +0 -76
- package/lib/apaas/service/apis/medPro.service.d.ts +0 -48
- package/lib/apaas/service/apis/menu-config.service.d.ts +0 -86
- package/lib/apaas/service/apis/merge-log.service.d.ts +0 -53
- package/lib/apaas/service/apis/message-record.service.d.ts +0 -101
- package/lib/apaas/service/apis/message-setting.service.d.ts +0 -25
- package/lib/apaas/service/apis/message-tmpl.service.d.ts +0 -116
- package/lib/apaas/service/apis/mobile-homepage.service.d.ts +0 -100
- package/lib/apaas/service/apis/mobile-page.service.d.ts +0 -133
- package/lib/apaas/service/apis/model-comprehensive.service.d.ts +0 -450
- package/lib/apaas/service/apis/model-data.service.d.ts +0 -70
- package/lib/apaas/service/apis/model-meta.service.d.ts +0 -356
- package/lib/apaas/service/apis/model-method.service.d.ts +0 -91
- package/lib/apaas/service/apis/model-permission-relation.service.d.ts +0 -75
- package/lib/apaas/service/apis/model.service.d.ts +0 -16
- package/lib/apaas/service/apis/ocr.service.d.ts +0 -7
- package/lib/apaas/service/apis/office.service.d.ts +0 -10
- package/lib/apaas/service/apis/online-form-change-history.service.d.ts +0 -26
- package/lib/apaas/service/apis/online-form-instance.service.d.ts +0 -848
- package/lib/apaas/service/apis/online-form-log.service.d.ts +0 -30
- package/lib/apaas/service/apis/online-form-tmpl-log.service.d.ts +0 -86
- package/lib/apaas/service/apis/online-form-tmpl.service.d.ts +0 -286
- package/lib/apaas/service/apis/online-form.service.d.ts +0 -187
- package/lib/apaas/service/apis/online-user-summary.service.d.ts +0 -75
- package/lib/apaas/service/apis/online.service.d.ts +0 -89
- package/lib/apaas/service/apis/openapi.service.d.ts +0 -99
- package/lib/apaas/service/apis/pad-page.service.d.ts +0 -132
- package/lib/apaas/service/apis/page-designer-log.service.d.ts +0 -107
- package/lib/apaas/service/apis/permission.service.d.ts +0 -79
- package/lib/apaas/service/apis/plat.service.d.ts +0 -45
- package/lib/apaas/service/apis/pm-process-definition-version.service.d.ts +0 -97
- package/lib/apaas/service/apis/pm-process-definition.service.d.ts +0 -121
- package/lib/apaas/service/apis/pm-process-engine.service.d.ts +0 -208
- package/lib/apaas/service/apis/print-designer.service.d.ts +0 -126
- package/lib/apaas/service/apis/print-log.service.d.ts +0 -23
- package/lib/apaas/service/apis/print.service.d.ts +0 -45
- package/lib/apaas/service/apis/process-approval-log.service.d.ts +0 -89
- package/lib/apaas/service/apis/process-approve-user.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-definition-version.service.d.ts +0 -96
- package/lib/apaas/service/apis/process-definition.service.d.ts +0 -85
- package/lib/apaas/service/apis/process-engine.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-event.service.d.ts +0 -72
- package/lib/apaas/service/apis/process-graph.service.d.ts +0 -18
- package/lib/apaas/service/apis/process-instance-relation-.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-instance.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-message-user.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-node-definition.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-path-user.service.d.ts +0 -75
- package/lib/apaas/service/apis/process-path.service.d.ts +0 -44
- package/lib/apaas/service/apis/process-task-done.service.d.ts +0 -141
- package/lib/apaas/service/apis/process-task-todo.service.d.ts +0 -266
- package/lib/apaas/service/apis/process-version.service.d.ts +0 -76
- package/lib/apaas/service/apis/process.service.d.ts +0 -66
- package/lib/apaas/service/apis/processTest.service.d.ts +0 -106
- package/lib/apaas/service/apis/product-release.service.d.ts +0 -118
- package/lib/apaas/service/apis/publish-log.service.d.ts +0 -101
- package/lib/apaas/service/apis/regexp.service.d.ts +0 -94
- package/lib/apaas/service/apis/report-data-set.service.d.ts +0 -127
- package/lib/apaas/service/apis/report-data.service.d.ts +0 -30
- package/lib/apaas/service/apis/report.service.d.ts +0 -164
- package/lib/apaas/service/apis/role-permission.service.d.ts +0 -47
- package/lib/apaas/service/apis/role.service.d.ts +0 -91
- package/lib/apaas/service/apis/sandbox-config.service.d.ts +0 -112
- package/lib/apaas/service/apis/script-assistant.service.d.ts +0 -16
- package/lib/apaas/service/apis/script-version-log.service.d.ts +0 -82
- package/lib/apaas/service/apis/script-version.service.d.ts +0 -115
- package/lib/apaas/service/apis/script.service.d.ts +0 -115
- package/lib/apaas/service/apis/service-orchestration-version-log.service.d.ts +0 -88
- package/lib/apaas/service/apis/service-orchestration-version.service.d.ts +0 -115
- package/lib/apaas/service/apis/service-orchestration.service.d.ts +0 -120
- package/lib/apaas/service/apis/sign-history.service.d.ts +0 -70
- package/lib/apaas/service/apis/sign-log.service.d.ts +0 -19
- package/lib/apaas/service/apis/signature.service.d.ts +0 -19
- package/lib/apaas/service/apis/sql-view-model.service.d.ts +0 -65
- package/lib/apaas/service/apis/sql-view.service.d.ts +0 -18
- package/lib/apaas/service/apis/ss.service.d.ts +0 -26
- package/lib/apaas/service/apis/stash.service.d.ts +0 -62
- package/lib/apaas/service/apis/sub-model-process.service.d.ts +0 -9
- package/lib/apaas/service/apis/sys-config.service.d.ts +0 -70
- package/lib/apaas/service/apis/system-var.service.d.ts +0 -126
- package/lib/apaas/service/apis/trace-log-details.service.d.ts +0 -134
- package/lib/apaas/service/apis/trace-log.service.d.ts +0 -115
- package/lib/apaas/service/apis/trace-mainline-ext.service.d.ts +0 -75
- package/lib/apaas/service/apis/trace-mainline.service.d.ts +0 -72
- package/lib/apaas/service/apis/trace-setting.service.d.ts +0 -48
- package/lib/apaas/service/apis/user-group-relation.service.d.ts +0 -46
- package/lib/apaas/service/apis/user-group.service.d.ts +0 -87
- package/lib/apaas/service/apis/view-model.service.d.ts +0 -166
- package/lib/apaas/service/apis/wash.service.d.ts +0 -11
- package/lib/apaas/service/apis/webpage.service.d.ts +0 -169
- package/lib/apaas/service/entities.d.ts +0 -35870
- package/lib/apaas/service/index.d.ts +0 -329
- package/lib/index.cjs +0 -16
- package/lib/ipaas/index.cjs +0 -12
- package/lib/ipaas/service/api-config.cjs +0 -338
- package/lib/ipaas/service/apis/auth.service.d.ts +0 -36
- package/lib/ipaas/service/apis/camel.service.d.ts +0 -63
- package/lib/ipaas/service/apis/category.service.d.ts +0 -12
- package/lib/ipaas/service/apis/connector-config.service.d.ts +0 -120
- package/lib/ipaas/service/apis/connector-log.service.d.ts +0 -46
- package/lib/ipaas/service/apis/flow-app.service.d.ts +0 -75
- package/lib/ipaas/service/apis/flow-category.service.d.ts +0 -192
- package/lib/ipaas/service/apis/flow-ext.service.d.ts +0 -100
- package/lib/ipaas/service/apis/flow.service.d.ts +0 -173
- package/lib/ipaas/service/apis/runtime.service.d.ts +0 -29
- package/lib/ipaas/service/entities.d.ts +0 -1924
- package/lib/ipaas/service/index.d.ts +0 -23
- package/lib/platform/index.cjs +0 -12
- package/lib/platform/service/api-config.cjs +0 -5317
- package/lib/platform/service/apis/agent.service.d.ts +0 -70
- package/lib/platform/service/apis/api.service.d.ts +0 -1615
- package/lib/platform/service/apis/apk.service.d.ts +0 -64
- package/lib/platform/service/apis/app-member.service.d.ts +0 -102
- package/lib/platform/service/apis/app-setting.service.d.ts +0 -107
- package/lib/platform/service/apis/app.service.d.ts +0 -730
- package/lib/platform/service/apis/assets.service.d.ts +0 -103
- package/lib/platform/service/apis/attachmentResourceTransfer.service.d.ts +0 -13
- package/lib/platform/service/apis/audit-log.service.d.ts +0 -48
- package/lib/platform/service/apis/bi-app.service.d.ts +0 -15
- package/lib/platform/service/apis/bi-data-set.service.d.ts +0 -82
- package/lib/platform/service/apis/bi-file-dataset-config.service.d.ts +0 -92
- package/lib/platform/service/apis/bi-file.service.d.ts +0 -21
- package/lib/platform/service/apis/bi-share.service.d.ts +0 -83
- package/lib/platform/service/apis/buildEnshrineCompLibrary.service.d.ts +0 -8
- package/lib/platform/service/apis/category.service.d.ts +0 -135
- package/lib/platform/service/apis/clearLogLogin.service.d.ts +0 -8
- package/lib/platform/service/apis/clearLogOperate.service.d.ts +0 -8
- package/lib/platform/service/apis/clearTempDir.service.d.ts +0 -8
- package/lib/platform/service/apis/copyFilter.service.d.ts +0 -13
- package/lib/platform/service/apis/dashboard.service.d.ts +0 -94
- package/lib/platform/service/apis/data-source.service.d.ts +0 -144
- package/lib/platform/service/apis/data-trace.service.d.ts +0 -75
- package/lib/platform/service/apis/database.service.d.ts +0 -211
- package/lib/platform/service/apis/dataset-log.service.d.ts +0 -79
- package/lib/platform/service/apis/dataset.service.d.ts +0 -247
- package/lib/platform/service/apis/datasource-devops.service.d.ts +0 -66
- package/lib/platform/service/apis/datasource-move-data.service.d.ts +0 -86
- package/lib/platform/service/apis/datasource-move-detail.service.d.ts +0 -82
- package/lib/platform/service/apis/datasource-move.service.d.ts +0 -72
- package/lib/platform/service/apis/deleteCompInfo.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteCompInfoType.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteCsvDatasource.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteEchartTheme.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteEnshrineComp.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteEnshrineCompGroup.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteFilter.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteLogOperateById.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteMapGeoJson.service.d.ts +0 -17
- package/lib/platform/service/apis/deleteNotUseDir.service.d.ts +0 -8
- package/lib/platform/service/apis/deletePageSnapshoot.service.d.ts +0 -17
- package/lib/platform/service/apis/deletePageTemplate.service.d.ts +0 -17
- package/lib/platform/service/apis/deletePnResource.service.d.ts +0 -17
- package/lib/platform/service/apis/deletePnResourceGroup.service.d.ts +0 -17
- package/lib/platform/service/apis/device-interconnection-param.service.d.ts +0 -91
- package/lib/platform/service/apis/device-interconnection.service.d.ts +0 -104
- package/lib/platform/service/apis/device-param-ref.service.d.ts +0 -41
- package/lib/platform/service/apis/exportTemplate.service.d.ts +0 -80
- package/lib/platform/service/apis/external-message.service.d.ts +0 -75
- package/lib/platform/service/apis/file-task.service.d.ts +0 -131
- package/lib/platform/service/apis/file.service.d.ts +0 -47
- package/lib/platform/service/apis/front-release.service.d.ts +0 -7
- package/lib/platform/service/apis/getAdCodeByAliasName.service.d.ts +0 -14
- package/lib/platform/service/apis/getAllCompInfo.service.d.ts +0 -8
- package/lib/platform/service/apis/getAllCompInfoByTypeId.service.d.ts +0 -14
- package/lib/platform/service/apis/getAllCompInfoType.service.d.ts +0 -8
- package/lib/platform/service/apis/getAllCsvDatasource.service.d.ts +0 -14
- package/lib/platform/service/apis/getAllEchartTheme.service.d.ts +0 -8
- package/lib/platform/service/apis/getAllEnshrineCompGroups.service.d.ts +0 -8
- package/lib/platform/service/apis/getAllFilter.service.d.ts +0 -8
- package/lib/platform/service/apis/getAllPageTemplate.service.d.ts +0 -8
- package/lib/platform/service/apis/getAttachmentInfoByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getCompInfoById.service.d.ts +0 -14
- package/lib/platform/service/apis/getCompInfoByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getCompInfoTypeById.service.d.ts +0 -14
- package/lib/platform/service/apis/getCompInfoTypeByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getContentToArray.service.d.ts +0 -18
- package/lib/platform/service/apis/getCsvDatasourceById.service.d.ts +0 -14
- package/lib/platform/service/apis/getCsvDatasourceByName.service.d.ts +0 -14
- package/lib/platform/service/apis/getCsvDatasourceByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getDesignerData.service.d.ts +0 -14
- package/lib/platform/service/apis/getEchartThemeById.service.d.ts +0 -14
- package/lib/platform/service/apis/getEchartThemeByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getEnshrineCompByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getEnshrineCompGroupById.service.d.ts +0 -14
- package/lib/platform/service/apis/getEnshrineCompGroupByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getFilterById.service.d.ts +0 -14
- package/lib/platform/service/apis/getGeoJsonByAdCode.service.d.ts +0 -14
- package/lib/platform/service/apis/getLayoutItemObjById.service.d.ts +0 -14
- package/lib/platform/service/apis/getLogLoginByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getMapBaseInfoByLevel.service.d.ts +0 -14
- package/lib/platform/service/apis/getMapGeoJsonById.service.d.ts +0 -14
- package/lib/platform/service/apis/getMapGeoJsonByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getMyAllPnResourceGroup.service.d.ts +0 -8
- package/lib/platform/service/apis/getMyEchartThemes.service.d.ts +0 -8
- package/lib/platform/service/apis/getMyPnResourceByPage.service.d.ts +0 -10
- package/lib/platform/service/apis/getMyShareCustomCompByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getPageSnapshootByEnabled.service.d.ts +0 -18
- package/lib/platform/service/apis/getPageSnapshootById.service.d.ts +0 -14
- package/lib/platform/service/apis/getPageSnapshootsByPageId.service.d.ts +0 -14
- package/lib/platform/service/apis/getPageTemplateById.service.d.ts +0 -14
- package/lib/platform/service/apis/getPageTemplateByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getPageTemplateForCreatePageForm.service.d.ts +0 -13
- package/lib/platform/service/apis/getPageTemplateLayout.service.d.ts +0 -14
- package/lib/platform/service/apis/getPageTemplateThemeJson.service.d.ts +0 -14
- package/lib/platform/service/apis/getPageTotalCount.service.d.ts +0 -8
- package/lib/platform/service/apis/getPnLogOperateByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getPnResourceGroupById.service.d.ts +0 -14
- package/lib/platform/service/apis/getProjectTotalCount.service.d.ts +0 -8
- package/lib/platform/service/apis/getShareCustomCompById.service.d.ts +0 -14
- package/lib/platform/service/apis/getShareCustomCompByPage.service.d.ts +0 -13
- package/lib/platform/service/apis/getSysEchartThemes.service.d.ts +0 -8
- package/lib/platform/service/apis/httpQuery.service.d.ts +0 -10
- package/lib/platform/service/apis/i18n-config.service.d.ts +0 -29
- package/lib/platform/service/apis/i18n-info.service.d.ts +0 -116
- package/lib/platform/service/apis/importCompInfoJson.service.d.ts +0 -13
- package/lib/platform/service/apis/importTemplate.service.d.ts +0 -32
- package/lib/platform/service/apis/internal-message.service.d.ts +0 -96
- package/lib/platform/service/apis/invoke-log.service.d.ts +0 -89
- package/lib/platform/service/apis/knowledge-base-chunk.service.d.ts +0 -75
- package/lib/platform/service/apis/knowledge-base-doc.service.d.ts +0 -75
- package/lib/platform/service/apis/knowledge-base.service.d.ts +0 -72
- package/lib/platform/service/apis/ldap.service.d.ts +0 -10
- package/lib/platform/service/apis/license-unbind-log.service.d.ts +0 -12
- package/lib/platform/service/apis/license.service.d.ts +0 -266
- package/lib/platform/service/apis/login-log.service.d.ts +0 -38
- package/lib/platform/service/apis/login.service.d.ts +0 -73
- package/lib/platform/service/apis/manager.service.d.ts +0 -39
- package/lib/platform/service/apis/message-setting.service.d.ts +0 -148
- package/lib/platform/service/apis/minio-file.service.d.ts +0 -26
- package/lib/platform/service/apis/model-provider.service.d.ts +0 -72
- package/lib/platform/service/apis/model.service.d.ts +0 -70
- package/lib/platform/service/apis/nav-menu.service.d.ts +0 -98
- package/lib/platform/service/apis/nav-page.service.d.ts +0 -81
- package/lib/platform/service/apis/openapi-group.service.d.ts +0 -186
- package/lib/platform/service/apis/openapi-key-grant.service.d.ts +0 -97
- package/lib/platform/service/apis/org-user-picker.service.d.ts +0 -70
- package/lib/platform/service/apis/org.service.d.ts +0 -211
- package/lib/platform/service/apis/parseCsvOrExcel.service.d.ts +0 -18
- package/lib/platform/service/apis/permission.service.d.ts +0 -57
- package/lib/platform/service/apis/plat.service.d.ts +0 -193
- package/lib/platform/service/apis/plugin-version.service.d.ts +0 -73
- package/lib/platform/service/apis/plugin.service.d.ts +0 -185
- package/lib/platform/service/apis/pm-process-delegate-detail.service.d.ts +0 -75
- package/lib/platform/service/apis/pm-process-delegate.service.d.ts +0 -75
- package/lib/platform/service/apis/pm-process-instance.service.d.ts +0 -92
- package/lib/platform/service/apis/pm-task-done.service.d.ts +0 -90
- package/lib/platform/service/apis/pm-task-todo.service.d.ts +0 -86
- package/lib/platform/service/apis/pn-page.service.d.ts +0 -70
- package/lib/platform/service/apis/pn-project.service.d.ts +0 -174
- package/lib/platform/service/apis/print-log.service.d.ts +0 -107
- package/lib/platform/service/apis/print-resource.service.d.ts +0 -131
- package/lib/platform/service/apis/regexp.service.d.ts +0 -94
- package/lib/platform/service/apis/released.service.d.ts +0 -96
- package/lib/platform/service/apis/resourceTransferToPage.service.d.ts +0 -13
- package/lib/platform/service/apis/role-permission.service.d.ts +0 -59
- package/lib/platform/service/apis/role.service.d.ts +0 -147
- package/lib/platform/service/apis/saveCompInfo.service.d.ts +0 -13
- package/lib/platform/service/apis/saveCompInfoType.service.d.ts +0 -13
- package/lib/platform/service/apis/saveCsvDatasource.service.d.ts +0 -13
- package/lib/platform/service/apis/saveEchartTheme.service.d.ts +0 -13
- package/lib/platform/service/apis/saveEnshrineComp.service.d.ts +0 -13
- package/lib/platform/service/apis/saveEnshrineCompGroup.service.d.ts +0 -13
- package/lib/platform/service/apis/saveFilter.service.d.ts +0 -13
- package/lib/platform/service/apis/saveMapGeoJson.service.d.ts +0 -13
- package/lib/platform/service/apis/savePageSnapshoot.service.d.ts +0 -13
- package/lib/platform/service/apis/savePageTemplate.service.d.ts +0 -13
- package/lib/platform/service/apis/savePnResourceGroup.service.d.ts +0 -13
- package/lib/platform/service/apis/saveShareCustomComp.service.d.ts +0 -13
- package/lib/platform/service/apis/seal-management.service.d.ts +0 -85
- package/lib/platform/service/apis/searchEnshrineComp.service.d.ts +0 -13
- package/lib/platform/service/apis/seat-message.service.d.ts +0 -13
- package/lib/platform/service/apis/seat.service.d.ts +0 -100
- package/lib/platform/service/apis/setPageSnapshootEnabled.service.d.ts +0 -13
- package/lib/platform/service/apis/setPageSnapshootEnabledByPageId.service.d.ts +0 -13
- package/lib/platform/service/apis/shortcut.service.d.ts +0 -129
- package/lib/platform/service/apis/sign-log.service.d.ts +0 -72
- package/lib/platform/service/apis/sms.service.d.ts +0 -19
- package/lib/platform/service/apis/started-process.service.d.ts +0 -64
- package/lib/platform/service/apis/task-delegate.service.d.ts +0 -101
- package/lib/platform/service/apis/task-done.service.d.ts +0 -60
- package/lib/platform/service/apis/task-todo.service.d.ts +0 -60
- package/lib/platform/service/apis/tenant-developer.service.d.ts +0 -119
- package/lib/platform/service/apis/tenant.service.d.ts +0 -478
- package/lib/platform/service/apis/toggleEnabled.service.d.ts +0 -13
- package/lib/platform/service/apis/uncompressLogOperateLayoutStr.service.d.ts +0 -13
- package/lib/platform/service/apis/uploadFiles.service.d.ts +0 -108
- package/lib/platform/service/apis/user-extra.service.d.ts +0 -70
- package/lib/platform/service/apis/user-info-log.service.d.ts +0 -74
- package/lib/platform/service/apis/user-password-history.service.d.ts +0 -75
- package/lib/platform/service/apis/user.service.d.ts +0 -293
- package/lib/platform/service/apis/workbench-component-relation.service.d.ts +0 -115
- package/lib/platform/service/apis/workbench-component.service.d.ts +0 -86
- package/lib/platform/service/entities.d.ts +0 -23442
- package/lib/platform/service/index.d.ts +0 -369
- package/lib/service/api-manage.cjs +0 -33
- package/lib/service/api-service.cjs +0 -164
- package/lib/service/api-service.interface.cjs +0 -1
- package/lib/service/http.enum.cjs +0 -66
- package/lib/service/http.error.cjs +0 -46
- package/lib/service/http.util.cjs +0 -245
- package/lib/service/index.cjs +0 -52
- package/lib/types/index.d.ts +0 -171
- package/lib/utils/index.cjs +0 -23
|
@@ -7,6 +7,7 @@ import type { AppPublishLogService } from './apis/app-publish-log.service';
|
|
|
7
7
|
import type { AppStateService } from './apis/app-state.service';
|
|
8
8
|
import type { AppUserService } from './apis/app-user.service';
|
|
9
9
|
import type { ApprovalLogService } from './apis/approval-log.service';
|
|
10
|
+
import type { ApproveService } from './apis/approve.service';
|
|
10
11
|
import type { AuditLogService } from './apis/audit-log.service';
|
|
11
12
|
import type { BasicConfigService } from './apis/basic-config.service';
|
|
12
13
|
import type { BizEventService } from './apis/biz-event.service';
|
|
@@ -63,6 +64,7 @@ import type { FrontOperateLogService } from './apis/front-operate-log.service';
|
|
|
63
64
|
import type { GlobalMethodService } from './apis/global-method.service';
|
|
64
65
|
import type { I18NInfoService } from './apis/i18n-info.service';
|
|
65
66
|
import type { ImportReportService } from './apis/import-report.service';
|
|
67
|
+
import type { InspectionCategoryService } from './apis/inspection-category.service';
|
|
66
68
|
import type { InstanceRelationService } from './apis/instance-relation.service';
|
|
67
69
|
import type { IpaasService } from './apis/ipaas.service';
|
|
68
70
|
import type { JobService } from './apis/job.service';
|
|
@@ -90,6 +92,7 @@ import type { OnlineFormCategoryService } from './apis/online-form-category.serv
|
|
|
90
92
|
import type { OnlineFormChangeHistoryService } from './apis/online-form-change-history.service';
|
|
91
93
|
import type { OnlineFormInstanceService } from './apis/online-form-instance.service';
|
|
92
94
|
import type { OnlineFormLogService } from './apis/online-form-log.service';
|
|
95
|
+
import type { OnlineFormTmplExportService } from './apis/online-form-tmpl-export.service';
|
|
93
96
|
import type { OnlineFormTmplLogService } from './apis/online-form-tmpl-log.service';
|
|
94
97
|
import type { OnlineFormTmplService } from './apis/online-form-tmpl.service';
|
|
95
98
|
import type { OnlineFormService } from './apis/online-form.service';
|
|
@@ -124,6 +127,7 @@ import type { ProcessTaskDoneService } from './apis/process-task-done.service';
|
|
|
124
127
|
import type { ProcessTaskTodoService } from './apis/process-task-todo.service';
|
|
125
128
|
import type { ProcessVersionService } from './apis/process-version.service';
|
|
126
129
|
import type { ProcessTestService } from './apis/processTest.service';
|
|
130
|
+
import type { ProductReleaseCategoryService } from './apis/product-release-category.service';
|
|
127
131
|
import type { ProductReleaseService } from './apis/product-release.service';
|
|
128
132
|
import type { PublishLogService } from './apis/publish-log.service';
|
|
129
133
|
import type { RegexpService } from './apis/regexp.service';
|
|
@@ -172,6 +176,7 @@ export interface ApiManage {
|
|
|
172
176
|
readonly appState: AppStateService;
|
|
173
177
|
readonly appUser: AppUserService;
|
|
174
178
|
readonly approvalLog: ApprovalLogService;
|
|
179
|
+
readonly approve: ApproveService;
|
|
175
180
|
readonly auditLog: AuditLogService;
|
|
176
181
|
readonly basicConfig: BasicConfigService;
|
|
177
182
|
readonly bizEvent: BizEventService;
|
|
@@ -228,6 +233,7 @@ export interface ApiManage {
|
|
|
228
233
|
readonly globalMethod: GlobalMethodService;
|
|
229
234
|
readonly i18NInfo: I18NInfoService;
|
|
230
235
|
readonly importReport: ImportReportService;
|
|
236
|
+
readonly inspectionCategory: InspectionCategoryService;
|
|
231
237
|
readonly instanceRelation: InstanceRelationService;
|
|
232
238
|
readonly ipaas: IpaasService;
|
|
233
239
|
readonly job: JobService;
|
|
@@ -255,6 +261,7 @@ export interface ApiManage {
|
|
|
255
261
|
readonly onlineFormChangeHistory: OnlineFormChangeHistoryService;
|
|
256
262
|
readonly onlineFormInstance: OnlineFormInstanceService;
|
|
257
263
|
readonly onlineFormLog: OnlineFormLogService;
|
|
264
|
+
readonly onlineFormTmplExport: OnlineFormTmplExportService;
|
|
258
265
|
readonly onlineFormTmplLog: OnlineFormTmplLogService;
|
|
259
266
|
readonly onlineFormTmpl: OnlineFormTmplService;
|
|
260
267
|
readonly onlineForm: OnlineFormService;
|
|
@@ -289,6 +296,7 @@ export interface ApiManage {
|
|
|
289
296
|
readonly processTaskTodo: ProcessTaskTodoService;
|
|
290
297
|
readonly processVersion: ProcessVersionService;
|
|
291
298
|
readonly processTest: ProcessTestService;
|
|
299
|
+
readonly productReleaseCategory: ProductReleaseCategoryService;
|
|
292
300
|
readonly productRelease: ProductReleaseService;
|
|
293
301
|
readonly publishLog: PublishLogService;
|
|
294
302
|
readonly regexp: RegexpService;
|
|
@@ -32,6 +32,12 @@ export const apiConfig = [
|
|
|
32
32
|
method: "postCreate",
|
|
33
33
|
path: "create"
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
mode: "get",
|
|
37
|
+
method: "getData",
|
|
38
|
+
path: "data",
|
|
39
|
+
hasQuery: true
|
|
40
|
+
},
|
|
35
41
|
{
|
|
36
42
|
mode: "post",
|
|
37
43
|
method: "postDebug",
|
|
@@ -50,11 +56,6 @@ export const apiConfig = [
|
|
|
50
56
|
path: "fetchMissingParams",
|
|
51
57
|
hasQuery: true
|
|
52
58
|
},
|
|
53
|
-
{
|
|
54
|
-
mode: "post",
|
|
55
|
-
method: "postLoad",
|
|
56
|
-
path: "load"
|
|
57
|
-
},
|
|
58
59
|
{
|
|
59
60
|
mode: "get",
|
|
60
61
|
method: "getRoutes",
|
|
@@ -401,6 +402,12 @@ export const apiConfig = [
|
|
|
401
402
|
method: "getRandomId",
|
|
402
403
|
path: "randomId"
|
|
403
404
|
},
|
|
405
|
+
{
|
|
406
|
+
mode: "get",
|
|
407
|
+
method: "getRetry",
|
|
408
|
+
path: "retry",
|
|
409
|
+
hasQuery: true
|
|
410
|
+
},
|
|
404
411
|
{
|
|
405
412
|
mode: "post",
|
|
406
413
|
method: "postValidWebSocketAndRunToSpecNode",
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ResponseEntity, DebugDTO, SchemaObject } from '../entities';
|
|
3
3
|
|
|
4
|
+
export interface getDataQuery {
|
|
5
|
+
/**
|
|
6
|
+
* num
|
|
7
|
+
*/
|
|
8
|
+
num?: number;
|
|
9
|
+
}
|
|
4
10
|
export interface postDestoryQuery {
|
|
5
11
|
/**
|
|
6
12
|
* flowId
|
|
7
13
|
*/
|
|
8
14
|
flowId: string;
|
|
15
|
+
/**
|
|
16
|
+
* version
|
|
17
|
+
*/
|
|
18
|
+
version: string;
|
|
9
19
|
}
|
|
10
20
|
export interface postFetchMissingParamsQuery {
|
|
11
21
|
/**
|
|
@@ -24,6 +34,13 @@ export interface CamelService {
|
|
|
24
34
|
* 创建
|
|
25
35
|
*/
|
|
26
36
|
postCreate(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* 同步调试
|
|
39
|
+
*/
|
|
40
|
+
getData(
|
|
41
|
+
query: getDataQuery,
|
|
42
|
+
config?: Partial<AxiosRequestConfig>,
|
|
43
|
+
): Promise<ResponseEntity>;
|
|
27
44
|
/**
|
|
28
45
|
* 同步调试
|
|
29
46
|
*/
|
|
@@ -45,10 +62,6 @@ export interface CamelService {
|
|
|
45
62
|
query: postFetchMissingParamsQuery,
|
|
46
63
|
config?: Partial<AxiosRequestConfig>,
|
|
47
64
|
): Promise<ResponseEntity>;
|
|
48
|
-
/**
|
|
49
|
-
* 同步调试
|
|
50
|
-
*/
|
|
51
|
-
postLoad(config?: Partial<AxiosRequestConfig>): Promise<ResponseEntity>;
|
|
52
65
|
/**
|
|
53
66
|
* 获取所有的路由定义
|
|
54
67
|
*/
|
|
@@ -7,6 +7,12 @@ export interface getDestroyContextQuery {
|
|
|
7
7
|
*/
|
|
8
8
|
clientId: string;
|
|
9
9
|
}
|
|
10
|
+
export interface getRetryQuery {
|
|
11
|
+
/**
|
|
12
|
+
* reqId
|
|
13
|
+
*/
|
|
14
|
+
reqId: string;
|
|
15
|
+
}
|
|
10
16
|
export interface RuntimeService {
|
|
11
17
|
/**
|
|
12
18
|
* 销毁上下文
|
|
@@ -19,6 +25,13 @@ export interface RuntimeService {
|
|
|
19
25
|
* 获取随机id
|
|
20
26
|
*/
|
|
21
27
|
getRandomId(config?: Partial<AxiosRequestConfig>): Promise<ResponseEntity>;
|
|
28
|
+
/**
|
|
29
|
+
* 重试
|
|
30
|
+
*/
|
|
31
|
+
getRetry(
|
|
32
|
+
query: getRetryQuery,
|
|
33
|
+
config?: Partial<AxiosRequestConfig>,
|
|
34
|
+
): Promise<boolean>;
|
|
22
35
|
/**
|
|
23
36
|
* 运行到指定节点
|
|
24
37
|
*/
|
|
@@ -1334,7 +1334,7 @@ export interface FlowLogResp {
|
|
|
1334
1334
|
*/
|
|
1335
1335
|
name?: string;
|
|
1336
1336
|
/**
|
|
1337
|
-
*
|
|
1337
|
+
* 流程耗时:毫秒
|
|
1338
1338
|
*
|
|
1339
1339
|
* @type number
|
|
1340
1340
|
*/
|
|
@@ -1346,19 +1346,25 @@ export interface FlowLogResp {
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
reqId?: string;
|
|
1348
1348
|
/**
|
|
1349
|
+
* 是否可重试
|
|
1349
1350
|
*
|
|
1351
|
+
* @type boolean
|
|
1352
|
+
*/
|
|
1353
|
+
retry?: boolean;
|
|
1354
|
+
/**
|
|
1355
|
+
* 1.执行中 2.执行成功 3.执行失败
|
|
1350
1356
|
*
|
|
1351
1357
|
* @type string
|
|
1352
1358
|
*/
|
|
1353
1359
|
status?: string;
|
|
1354
1360
|
/**
|
|
1355
|
-
*
|
|
1361
|
+
* 状态翻译
|
|
1356
1362
|
*
|
|
1357
1363
|
* @type string
|
|
1358
1364
|
*/
|
|
1359
1365
|
statusStr?: string;
|
|
1360
1366
|
/**
|
|
1361
|
-
*
|
|
1367
|
+
* 触发时间
|
|
1362
1368
|
*
|
|
1363
1369
|
* @type string
|
|
1364
1370
|
*/
|
|
@@ -203,10 +203,6 @@ export interface getModelMetaListQuery {
|
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
modifyUserName?: string;
|
|
206
|
-
/**
|
|
207
|
-
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
|
|
208
|
-
*/
|
|
209
|
-
module?: string;
|
|
210
206
|
/**
|
|
211
207
|
*
|
|
212
208
|
*/
|
|
@@ -716,7 +712,7 @@ export interface AppService {
|
|
|
716
712
|
* 文件上传minio
|
|
717
713
|
*/
|
|
718
714
|
postUploadAppPkg(
|
|
719
|
-
data:
|
|
715
|
+
data: UploadFileData,
|
|
720
716
|
config?: Partial<AxiosRequestConfig>,
|
|
721
717
|
): Promise<string>;
|
|
722
718
|
/**
|
|
@@ -26,14 +26,14 @@ export interface FileService {
|
|
|
26
26
|
*/
|
|
27
27
|
postUploadCommon(
|
|
28
28
|
query: postUploadCommonQuery,
|
|
29
|
-
data:
|
|
29
|
+
data: UploadFileData,
|
|
30
30
|
config?: Partial<AxiosRequestConfig>,
|
|
31
31
|
): Promise<string>;
|
|
32
32
|
/**
|
|
33
33
|
* 文件上传minio用作数据集
|
|
34
34
|
*/
|
|
35
35
|
postUploadDataset(
|
|
36
|
-
data:
|
|
36
|
+
data: UploadFileData,
|
|
37
37
|
config?: Partial<AxiosRequestConfig>,
|
|
38
38
|
): Promise<object>;
|
|
39
39
|
/**
|
|
@@ -41,7 +41,7 @@ export interface FileService {
|
|
|
41
41
|
*/
|
|
42
42
|
postUploadImage(
|
|
43
43
|
query: postUploadImageQuery,
|
|
44
|
-
data:
|
|
44
|
+
data: UploadFileData,
|
|
45
45
|
config?: Partial<AxiosRequestConfig>,
|
|
46
46
|
): Promise<string>;
|
|
47
47
|
}
|
|
@@ -158,7 +158,7 @@ export interface UserService {
|
|
|
158
158
|
*/
|
|
159
159
|
postOrgPlatImport(
|
|
160
160
|
query: postOrgPlatImportQuery,
|
|
161
|
-
data:
|
|
161
|
+
data: UploadFileData,
|
|
162
162
|
config?: Partial<AxiosRequestConfig>,
|
|
163
163
|
): Promise<object>;
|
|
164
164
|
/**
|
|
@@ -173,7 +173,7 @@ export interface UserService {
|
|
|
173
173
|
*/
|
|
174
174
|
postOrgTenantImport(
|
|
175
175
|
query: postOrgTenantImportQuery,
|
|
176
|
-
data:
|
|
176
|
+
data: UploadFileData,
|
|
177
177
|
config?: Partial<AxiosRequestConfig>,
|
|
178
178
|
): Promise<object>;
|
|
179
179
|
/**
|
|
@@ -181,7 +181,7 @@ export interface UserService {
|
|
|
181
181
|
*/
|
|
182
182
|
postOrgTenantImport4App(
|
|
183
183
|
query: postOrgTenantImport4AppQuery,
|
|
184
|
-
data:
|
|
184
|
+
data: UploadFileData,
|
|
185
185
|
config?: Partial<AxiosRequestConfig>,
|
|
186
186
|
): Promise<object>;
|
|
187
187
|
/**
|
|
@@ -209,7 +209,7 @@ export interface UserService {
|
|
|
209
209
|
* (平台管理)用户管理 导入(平台/公司)人员
|
|
210
210
|
*/
|
|
211
211
|
postPlatImport(
|
|
212
|
-
data:
|
|
212
|
+
data: UploadFileData,
|
|
213
213
|
config?: Partial<AxiosRequestConfig>,
|
|
214
214
|
): Promise<object>;
|
|
215
215
|
/**
|
|
@@ -258,14 +258,14 @@ export interface UserService {
|
|
|
258
258
|
* (租户管理后台)用户管理 导入(平台/公司)人员
|
|
259
259
|
*/
|
|
260
260
|
postTenantImport(
|
|
261
|
-
data:
|
|
261
|
+
data: UploadFileData,
|
|
262
262
|
config?: Partial<AxiosRequestConfig>,
|
|
263
263
|
): Promise<object>;
|
|
264
264
|
/**
|
|
265
265
|
* (租户管理后台)用户管理 导入(平台/公司)人员
|
|
266
266
|
*/
|
|
267
267
|
postTenantImport4App(
|
|
268
|
-
data:
|
|
268
|
+
data: UploadFileData,
|
|
269
269
|
config?: Partial<AxiosRequestConfig>,
|
|
270
270
|
): Promise<object>;
|
|
271
271
|
/**
|
|
@@ -111,7 +111,7 @@ export declare class HttpUtil {
|
|
|
111
111
|
* @template T
|
|
112
112
|
* @param {string} url 请求地址
|
|
113
113
|
* @param {IObject} [path={}] 路径参数
|
|
114
|
-
* @param {UploadFileData} [data={}] 额外的请求数据
|
|
114
|
+
* @param {Partial<UploadFileData>} [data={}] 额外的请求数据
|
|
115
115
|
* @param {IParams} [query={}] 查询参数
|
|
116
116
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
117
117
|
* @returns {Promise<T>} 请求结果
|
package/es/service/http.util.mjs
CHANGED
|
@@ -130,7 +130,7 @@ export class HttpUtil {
|
|
|
130
130
|
* @template T
|
|
131
131
|
* @param {string} url 请求地址
|
|
132
132
|
* @param {IObject} [path={}] 路径参数
|
|
133
|
-
* @param {UploadFileData} [data={}] 额外的请求数据
|
|
133
|
+
* @param {Partial<UploadFileData>} [data={}] 额外的请求数据
|
|
134
134
|
* @param {IParams} [query={}] 查询参数
|
|
135
135
|
* @param {AxiosRequestConfig} [config={}] 请求配置
|
|
136
136
|
* @returns {Promise<T>} 请求结果
|
|
@@ -198,6 +198,10 @@ export class HttpUtil {
|
|
|
198
198
|
* @returns {Promise<T>} 请求结果
|
|
199
199
|
*/
|
|
200
200
|
static async request(url, path, data, query, config = {}) {
|
|
201
|
+
const headers = config.headers || {};
|
|
202
|
+
if (config.headers) {
|
|
203
|
+
delete config.headers;
|
|
204
|
+
}
|
|
201
205
|
const res = await instance.request({
|
|
202
206
|
url: this.transformUrl(url, path || {}),
|
|
203
207
|
data: data instanceof FormData ? data : JSON.stringify(data ? data : {}),
|
|
@@ -205,10 +209,16 @@ export class HttpUtil {
|
|
|
205
209
|
timeout: 2 * 60 * 1e3,
|
|
206
210
|
headers: {
|
|
207
211
|
"Content-Type": ContentTypeEnum.JSON,
|
|
208
|
-
...
|
|
212
|
+
...headers
|
|
209
213
|
},
|
|
210
214
|
...config
|
|
211
215
|
});
|
|
216
|
+
if (config.nativeResponse) {
|
|
217
|
+
return res;
|
|
218
|
+
}
|
|
219
|
+
if (config.nativeData) {
|
|
220
|
+
return res.data;
|
|
221
|
+
}
|
|
212
222
|
if (res.status >= 200 && res.status < 300) {
|
|
213
223
|
const data2 = res.data;
|
|
214
224
|
if (data2.ok === true) {
|
package/es/types/index.d.ts
CHANGED
|
@@ -169,3 +169,22 @@ declare global {
|
|
|
169
169
|
subMessage?: string;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
+
|
|
173
|
+
declare module 'axios' {
|
|
174
|
+
export interface AxiosRequestConfig {
|
|
175
|
+
/**
|
|
176
|
+
* 是否返回原生响应对象
|
|
177
|
+
*
|
|
178
|
+
* @default false
|
|
179
|
+
* @type {boolean}
|
|
180
|
+
*/
|
|
181
|
+
nativeResponse?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* 是否返回原生数据对象,包含后台返回的所有状态码和消息等信息
|
|
184
|
+
*
|
|
185
|
+
* @default false
|
|
186
|
+
* @type {boolean}
|
|
187
|
+
*/
|
|
188
|
+
nativeData?: boolean;
|
|
189
|
+
}
|
|
190
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/api",
|
|
3
|
-
"version": "0.1.2-dev.
|
|
3
|
+
"version": "0.1.2-dev.3",
|
|
4
4
|
"description": "paas 平台底包",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -18,14 +18,13 @@
|
|
|
18
18
|
"pnpm": ">=10.32.0"
|
|
19
19
|
},
|
|
20
20
|
"types": "./es/index.d.ts",
|
|
21
|
-
"main": "./
|
|
21
|
+
"main": "./es/index.mjs",
|
|
22
22
|
"module": "./es/index.mjs",
|
|
23
23
|
"loader": "./dist/index.esm.min.js",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
26
|
"types": "./es/index.d.ts",
|
|
27
|
-
"import": "./es/index.mjs"
|
|
28
|
-
"require": "./lib/index.cjs"
|
|
27
|
+
"import": "./es/index.mjs"
|
|
29
28
|
},
|
|
30
29
|
"./apaas": {
|
|
31
30
|
"types": "./es/apaas/index.d.ts"
|
|
@@ -100,7 +99,8 @@
|
|
|
100
99
|
"rollup": "^4.56.0",
|
|
101
100
|
"rollup-plugin-esbuild": "^6.2.1",
|
|
102
101
|
"ts-node": "^10.9.2",
|
|
102
|
+
"tsdown": "^0.21.4",
|
|
103
103
|
"typescript": "^5.9.3",
|
|
104
104
|
"unbuild": "^3.6.1"
|
|
105
105
|
}
|
|
106
|
-
}
|
|
106
|
+
}
|
package/lib/apaas/index.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "apiConfig", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _apiConfig.apiConfig;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _apiConfig = require("./service/api-config.cjs");
|