@share-crm/sharedev-cli 0.0.4-rc.18 → 0.0.4-rc.19
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/sharedev.js +124 -76
- package/package.json +1 -1
package/dist/sharedev.js
CHANGED
|
@@ -8897,14 +8897,14 @@ function registerApprovalNamespace(program, runtimeContext) {
|
|
|
8897
8897
|
.action((0, command_ts_1.createCommandAction)('approval def', 'get-objects-and-trigger-types', runtimeContext, async ({ context }) => {
|
|
8898
8898
|
await (0, approval_def_command_ts_1.approvalDefGetObjectsAndTriggerTypesCommand)(context, {});
|
|
8899
8899
|
}));
|
|
8900
|
-
// approval def query-definitions-
|
|
8900
|
+
// approval def query-definitions-without-page
|
|
8901
8901
|
approvalDef
|
|
8902
|
-
.command('query-definitions-
|
|
8902
|
+
.command('query-definitions-without-page')
|
|
8903
8903
|
.description('查询指定对象指定触发类型下审批流信息')
|
|
8904
8904
|
.requiredOption('--entityId <entityId>', '对象ID')
|
|
8905
8905
|
.requiredOption('--triggerType <triggerType>', 'triggerType')
|
|
8906
|
-
.action((0, command_ts_1.createCommandAction)('approval def', 'query-definitions-
|
|
8907
|
-
await (0, approval_def_command_ts_1.
|
|
8906
|
+
.action((0, command_ts_1.createCommandAction)('approval def', 'query-definitions-without-page', runtimeContext, async ({ options, context }) => {
|
|
8907
|
+
await (0, approval_def_command_ts_1.approvalDefQueryDefinitionsWithoutPageCommand)(context, options);
|
|
8908
8908
|
}));
|
|
8909
8909
|
// ──────────────────────────────────────────────
|
|
8910
8910
|
// approval runtime
|
|
@@ -9399,15 +9399,15 @@ function registerBpmNamespace(program, runtimeContext) {
|
|
|
9399
9399
|
.action((0, command_ts_1.createCommandAction)('bpm def', 'find-describe', runtimeContext, async ({ context }) => {
|
|
9400
9400
|
await (0, bpm_def_command_ts_1.bpmDefFindDescribeCommand)(context, {});
|
|
9401
9401
|
}));
|
|
9402
|
-
// bpm def
|
|
9402
|
+
// bpm def available-workflows
|
|
9403
9403
|
bpmDef
|
|
9404
|
-
.command('
|
|
9404
|
+
.command('available-workflows')
|
|
9405
9405
|
.description('查询当前对象下可用的流程')
|
|
9406
9406
|
.requiredOption('--entryType <entryType>', 'entryType')
|
|
9407
9407
|
.option('--objectId <objectId>', '数据ID')
|
|
9408
9408
|
.option('--validateScope <validateScope>', '是否校验发起人范围 false:不校验 true/null:校验 /')
|
|
9409
|
-
.action((0, command_ts_1.createCommandAction)('bpm def', '
|
|
9410
|
-
await (0, bpm_def_command_ts_1.
|
|
9409
|
+
.action((0, command_ts_1.createCommandAction)('bpm def', 'available-workflows', runtimeContext, async ({ options, context }) => {
|
|
9410
|
+
await (0, bpm_def_command_ts_1.bpmDefAvailableWorkflowsCommand)(context, options);
|
|
9411
9411
|
}));
|
|
9412
9412
|
// bpm def get-tenant-quota
|
|
9413
9413
|
bpmDef
|
|
@@ -10083,24 +10083,24 @@ function registerFlowNamespace(program, runtimeContext) {
|
|
|
10083
10083
|
.action((0, command_ts_1.createCommandAction)('flow def', 'find-business-buttons', runtimeContext, async ({ options, context }) => {
|
|
10084
10084
|
await (0, flow_def_command_ts_1.flowDefFindBusinessButtonsCommand)(context, options);
|
|
10085
10085
|
}));
|
|
10086
|
-
// flow def get-
|
|
10086
|
+
// flow def get-config
|
|
10087
10087
|
flowDef
|
|
10088
|
-
.command('get-
|
|
10088
|
+
.command('get-config')
|
|
10089
10089
|
.description('查询流程相关配置')
|
|
10090
10090
|
.requiredOption('--flowType <flowType>', '流程类型')
|
|
10091
10091
|
.option('--type <type>', '单个获取的 配置key')
|
|
10092
10092
|
.option('--terminal <terminal>', 'terminal')
|
|
10093
10093
|
.option('--types <types>', '多个获取的 配置key')
|
|
10094
|
-
.action((0, command_ts_1.createCommandAction)('flow def', 'get-
|
|
10095
|
-
await (0, flow_def_command_ts_1.
|
|
10094
|
+
.action((0, command_ts_1.createCommandAction)('flow def', 'get-config', runtimeContext, async ({ options, context }) => {
|
|
10095
|
+
await (0, flow_def_command_ts_1.flowDefGetConfigCommand)(context, options);
|
|
10096
10096
|
}));
|
|
10097
|
-
// flow def
|
|
10097
|
+
// flow def link-app-list
|
|
10098
10098
|
flowDef
|
|
10099
|
-
.command('
|
|
10099
|
+
.command('link-app-list')
|
|
10100
10100
|
.description('查询互联应用')
|
|
10101
10101
|
.option('--linkAppId <linkAppId>', 'linkAppId')
|
|
10102
|
-
.action((0, command_ts_1.createCommandAction)('flow def', '
|
|
10103
|
-
await (0, flow_def_command_ts_1.
|
|
10102
|
+
.action((0, command_ts_1.createCommandAction)('flow def', 'link-app-list', runtimeContext, async ({ options, context }) => {
|
|
10103
|
+
await (0, flow_def_command_ts_1.flowDefLinkAppListCommand)(context, options);
|
|
10104
10104
|
}));
|
|
10105
10105
|
// flow def get-flow-field-filter-config
|
|
10106
10106
|
flowDef
|
|
@@ -10111,14 +10111,14 @@ function registerFlowNamespace(program, runtimeContext) {
|
|
|
10111
10111
|
.action((0, command_ts_1.createCommandAction)('flow def', 'get-flow-field-filter-config', runtimeContext, async ({ options, context }) => {
|
|
10112
10112
|
await (0, flow_def_command_ts_1.flowDefGetFlowFieldFilterConfigCommand)(context, options);
|
|
10113
10113
|
}));
|
|
10114
|
-
// flow def
|
|
10114
|
+
// flow def link-app-roles
|
|
10115
10115
|
flowDef
|
|
10116
|
-
.command('
|
|
10116
|
+
.command('link-app-roles')
|
|
10117
10117
|
.description('查询应用下的角色列表')
|
|
10118
10118
|
.option('--appId <appId>', 'TODO: 2019/8/1 添加校验')
|
|
10119
10119
|
.option('--appType <appType>', 'appType')
|
|
10120
|
-
.action((0, command_ts_1.createCommandAction)('flow def', '
|
|
10121
|
-
await (0, flow_def_command_ts_1.
|
|
10120
|
+
.action((0, command_ts_1.createCommandAction)('flow def', 'link-app-roles', runtimeContext, async ({ options, context }) => {
|
|
10121
|
+
await (0, flow_def_command_ts_1.flowDefLinkAppRolesCommand)(context, options);
|
|
10122
10122
|
}));
|
|
10123
10123
|
// flow def after-action-config
|
|
10124
10124
|
flowDef
|
|
@@ -10130,13 +10130,13 @@ function registerFlowNamespace(program, runtimeContext) {
|
|
|
10130
10130
|
.action((0, command_ts_1.createCommandAction)('flow def', 'after-action-config', runtimeContext, async ({ options, context }) => {
|
|
10131
10131
|
await (0, flow_def_command_ts_1.flowDefAfterActionConfigCommand)(context, options);
|
|
10132
10132
|
}));
|
|
10133
|
-
// flow def
|
|
10133
|
+
// flow def flow-support-variable
|
|
10134
10134
|
flowDef
|
|
10135
|
-
.command('
|
|
10135
|
+
.command('flow-support-variable')
|
|
10136
10136
|
.description('获取消息&函数中使用的流程变量')
|
|
10137
10137
|
.option('--flowType <flowType>', '流程类型')
|
|
10138
|
-
.action((0, command_ts_1.createCommandAction)('flow def', '
|
|
10139
|
-
await (0, flow_def_command_ts_1.
|
|
10138
|
+
.action((0, command_ts_1.createCommandAction)('flow def', 'flow-support-variable', runtimeContext, async ({ options, context }) => {
|
|
10139
|
+
await (0, flow_def_command_ts_1.flowDefFlowSupportVariableCommand)(context, options);
|
|
10140
10140
|
}));
|
|
10141
10141
|
// flow def get-history
|
|
10142
10142
|
flowDef
|
|
@@ -10150,6 +10150,14 @@ function registerFlowNamespace(program, runtimeContext) {
|
|
|
10150
10150
|
.action((0, command_ts_1.createCommandAction)('flow def', 'get-history', runtimeContext, async ({ options, context }) => {
|
|
10151
10151
|
await (0, flow_def_command_ts_1.flowDefGetHistoryCommand)(context, options);
|
|
10152
10152
|
}));
|
|
10153
|
+
// flow def get-web-configs
|
|
10154
|
+
flowDef
|
|
10155
|
+
.command('get-web-configs')
|
|
10156
|
+
.description('查询前端配置项(返回k-v结构)')
|
|
10157
|
+
.option('--keys <keys>', '指定灰度的key')
|
|
10158
|
+
.action((0, command_ts_1.createCommandAction)('flow def', 'get-web-configs', runtimeContext, async ({ options, context }) => {
|
|
10159
|
+
await (0, flow_def_command_ts_1.flowDefGetWebConfigsCommand)(context, options);
|
|
10160
|
+
}));
|
|
10153
10161
|
// ──────────────────────────────────────────────
|
|
10154
10162
|
// flow runtime
|
|
10155
10163
|
// ──────────────────────────────────────────────
|
|
@@ -11385,13 +11393,13 @@ function registerStageNamespace(program, runtimeContext) {
|
|
|
11385
11393
|
.action((0, command_ts_1.createCommandAction)('stage def', 'get-support-entity', runtimeContext, async ({ options, context }) => {
|
|
11386
11394
|
await (0, stage_def_command_ts_1.stageDefGetSupportEntityCommand)(context, options);
|
|
11387
11395
|
}));
|
|
11388
|
-
// stage def get-select-one-field
|
|
11396
|
+
// stage def get-select-one-field
|
|
11389
11397
|
stageDef
|
|
11390
|
-
.command('get-select-one-field
|
|
11398
|
+
.command('get-select-one-field')
|
|
11391
11399
|
.description('查询阶段推进器支持选择的对象字段')
|
|
11392
11400
|
.option('--entityId <entityId>', '对象id')
|
|
11393
|
-
.action((0, command_ts_1.createCommandAction)('stage def', 'get-select-one-field
|
|
11394
|
-
await (0, stage_def_command_ts_1.
|
|
11401
|
+
.action((0, command_ts_1.createCommandAction)('stage def', 'get-select-one-field', runtimeContext, async ({ options, context }) => {
|
|
11402
|
+
await (0, stage_def_command_ts_1.stageDefGetSelectOneFieldCommand)(context, options);
|
|
11395
11403
|
}));
|
|
11396
11404
|
// stage def find-references
|
|
11397
11405
|
stageDef
|
|
@@ -11401,6 +11409,13 @@ function registerStageNamespace(program, runtimeContext) {
|
|
|
11401
11409
|
.action((0, command_ts_1.createCommandAction)('stage def', 'find-references', runtimeContext, async ({ options, context }) => {
|
|
11402
11410
|
await (0, stage_def_command_ts_1.stageDefFindReferencesCommand)(context, options);
|
|
11403
11411
|
}));
|
|
11412
|
+
// stage def get-quota
|
|
11413
|
+
stageDef
|
|
11414
|
+
.command('get-quota')
|
|
11415
|
+
.description('查询阶段推进器定义配额')
|
|
11416
|
+
.action((0, command_ts_1.createCommandAction)('stage def', 'get-quota', runtimeContext, async ({ context }) => {
|
|
11417
|
+
await (0, stage_def_command_ts_1.stageDefGetQuotaCommand)(context, {});
|
|
11418
|
+
}));
|
|
11404
11419
|
// ──────────────────────────────────────────────
|
|
11405
11420
|
// stage runtime
|
|
11406
11421
|
// ──────────────────────────────────────────────
|
|
@@ -11466,7 +11481,7 @@ function registerStageNamespace(program, runtimeContext) {
|
|
|
11466
11481
|
// stage runtime move-to
|
|
11467
11482
|
stageRt
|
|
11468
11483
|
.command('move-to')
|
|
11469
|
-
.description('
|
|
11484
|
+
.description('阶段推进器-阶段跳转')
|
|
11470
11485
|
.requiredOption('--workflowInstanceId <workflowInstanceId>', '流程实例ID')
|
|
11471
11486
|
.requiredOption('--stageId <stageId>', '阶段ID')
|
|
11472
11487
|
.option('--comment <comment>', '备注')
|
|
@@ -11832,13 +11847,13 @@ function registerWorkflowNamespace(program, runtimeContext) {
|
|
|
11832
11847
|
.action((0, command_ts_1.createCommandAction)('workflow def', 'find-custom-objs', runtimeContext, async ({ options, context }) => {
|
|
11833
11848
|
await (0, workflow_def_command_ts_1.workflowDefFindCustomObjsCommand)(context, options);
|
|
11834
11849
|
}));
|
|
11835
|
-
// workflow def get-external-notice-
|
|
11850
|
+
// workflow def get-external-notice-outer-roles
|
|
11836
11851
|
workflowDef
|
|
11837
|
-
.command('get-external-notice-
|
|
11852
|
+
.command('get-external-notice-outer-roles')
|
|
11838
11853
|
.description('查询外部通知互联应用的外部角色')
|
|
11839
11854
|
.option('--channel <channel>', 'channel')
|
|
11840
|
-
.action((0, command_ts_1.createCommandAction)('workflow def', 'get-external-notice-
|
|
11841
|
-
await (0, workflow_def_command_ts_1.
|
|
11855
|
+
.action((0, command_ts_1.createCommandAction)('workflow def', 'get-external-notice-outer-roles', runtimeContext, async ({ options, context }) => {
|
|
11856
|
+
await (0, workflow_def_command_ts_1.workflowDefGetExternalNoticeOuterRolesCommand)(context, options);
|
|
11842
11857
|
}));
|
|
11843
11858
|
// workflow def support
|
|
11844
11859
|
workflowDef
|
|
@@ -12666,7 +12681,7 @@ const SHARE_CLI_COMMAND_PATH_MAP = {
|
|
|
12666
12681
|
setPriorities: ['ApprovalDefSetPriorities'],
|
|
12667
12682
|
getEntities: ['ApprovalDefGetEntities'],
|
|
12668
12683
|
getObjectsAndTriggerTypes: ['ApprovalDefGetObjectsAndTriggerTypes'],
|
|
12669
|
-
|
|
12684
|
+
queryDefinitionsWithoutPage: ['ApprovalDefQueryDefinitionsWithOutPage'],
|
|
12670
12685
|
},
|
|
12671
12686
|
bpmDef: {
|
|
12672
12687
|
createDefinition: ['BpmDefCreateDefinition'],
|
|
@@ -12679,7 +12694,7 @@ const SHARE_CLI_COMMAND_PATH_MAP = {
|
|
|
12679
12694
|
definitionById: ['BpmDefDefinitionById'],
|
|
12680
12695
|
logs: ['BpmDefLogs'],
|
|
12681
12696
|
findDescribe: ['BpmDefFindDescribe'],
|
|
12682
|
-
|
|
12697
|
+
availableWorkflows: ['BpmDefGetAvailableWorkflows'],
|
|
12683
12698
|
getTenantQuota: ['BpmDefGetTenantQuota'],
|
|
12684
12699
|
getQuota: ['BpmDefGetQuota'],
|
|
12685
12700
|
hasQuota: ['BpmDefHasQuota'],
|
|
@@ -12698,8 +12713,9 @@ const SHARE_CLI_COMMAND_PATH_MAP = {
|
|
|
12698
12713
|
exportApplyData: ['StageDefExportApplyData'],
|
|
12699
12714
|
queryApplyHistory: ['StageDefQueryApplyHistory'],
|
|
12700
12715
|
getSupportEntity: ['StageDefGetSupportEntity'],
|
|
12701
|
-
|
|
12716
|
+
getSelectOneField: ['StageDefGetSelectOneFieldByEntityId'],
|
|
12702
12717
|
findReferences: ['StageDefFindReferences'],
|
|
12718
|
+
getQuota: ['StageDefGetQuota'],
|
|
12703
12719
|
},
|
|
12704
12720
|
workflowDef: {
|
|
12705
12721
|
createDefinition: ['WorkflowDefCreateDefinition'],
|
|
@@ -12715,7 +12731,7 @@ const SHARE_CLI_COMMAND_PATH_MAP = {
|
|
|
12715
12731
|
checkExpression: ['WorkflowDefCheckExpression'],
|
|
12716
12732
|
getExternalNotice: ['WorkflowDefGetExternalNotice'],
|
|
12717
12733
|
findCustomObjs: ['WorkflowDefFindCustomObjs'],
|
|
12718
|
-
|
|
12734
|
+
getExternalNoticeOuterRoles: ['WorkflowDefGetExternalNoticeAppOuterRoles'],
|
|
12719
12735
|
support: ['WorkflowDefSupport'],
|
|
12720
12736
|
},
|
|
12721
12737
|
flowDef: {
|
|
@@ -12733,13 +12749,14 @@ const SHARE_CLI_COMMAND_PATH_MAP = {
|
|
|
12733
12749
|
expressionCheck: ['FlowDefExpressionCheck'],
|
|
12734
12750
|
expressionDebug: ['FlowDefExpressionDebug'],
|
|
12735
12751
|
findBusinessButtons: ['FlowDefFindBusinessButtons'],
|
|
12736
|
-
|
|
12737
|
-
|
|
12752
|
+
getConfig: ['FlowDefGetFlowConfig'],
|
|
12753
|
+
linkAppList: ['FlowGetLinkApp'],
|
|
12738
12754
|
getFlowFieldFilterConfig: ['FlowDefGetFlowFieldFilterConfig'],
|
|
12739
|
-
|
|
12755
|
+
linkAppRoles: ['FlowDefGetRoleListByLinkApp'],
|
|
12740
12756
|
afterActionConfig: ['FlowDefAfterActionConfig'],
|
|
12741
|
-
|
|
12757
|
+
flowSupportVariable: ['FlowDefGetFlowSupportVariable'],
|
|
12742
12758
|
getHistory: ['FlowDefGetHistory'],
|
|
12759
|
+
getWebConfigs: ['FlowDefGetWebConfigs'],
|
|
12743
12760
|
},
|
|
12744
12761
|
agentScheduleDef: {
|
|
12745
12762
|
list: ['AgentScheduleDefList'],
|
|
@@ -15357,7 +15374,7 @@ exports.approvalDefGetNumberCheckCommand = approvalDefGetNumberCheckCommand;
|
|
|
15357
15374
|
exports.approvalDefSetPrioritiesCommand = approvalDefSetPrioritiesCommand;
|
|
15358
15375
|
exports.approvalDefGetEntitiesCommand = approvalDefGetEntitiesCommand;
|
|
15359
15376
|
exports.approvalDefGetObjectsAndTriggerTypesCommand = approvalDefGetObjectsAndTriggerTypesCommand;
|
|
15360
|
-
exports.
|
|
15377
|
+
exports.approvalDefQueryDefinitionsWithoutPageCommand = approvalDefQueryDefinitionsWithoutPageCommand;
|
|
15361
15378
|
const logger_ts_1 = __webpack_require__(3333);
|
|
15362
15379
|
const request_execute_command_paths_ts_1 = __webpack_require__(2351);
|
|
15363
15380
|
const approval_def_service_ts_1 = __webpack_require__(2056);
|
|
@@ -15674,12 +15691,12 @@ async function approvalDefGetObjectsAndTriggerTypesCommand(_context, options) {
|
|
|
15674
15691
|
throw error;
|
|
15675
15692
|
}
|
|
15676
15693
|
}
|
|
15677
|
-
async function
|
|
15694
|
+
async function approvalDefQueryDefinitionsWithoutPageCommand(_context, options) {
|
|
15678
15695
|
void _context;
|
|
15679
15696
|
const data = buildOptionsData(options, {});
|
|
15680
|
-
logger_ts_1.loggerService.startLoading('Executing approvalDef query-definitions-
|
|
15697
|
+
logger_ts_1.loggerService.startLoading('Executing approvalDef query-definitions-without-page');
|
|
15681
15698
|
try {
|
|
15682
|
-
const response = await (0, approval_def_service_ts_1.executeApprovalDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('approvalDef', '
|
|
15699
|
+
const response = await (0, approval_def_service_ts_1.executeApprovalDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('approvalDef', 'queryDefinitionsWithoutPage'), data);
|
|
15683
15700
|
logger_ts_1.loggerService.stopLoading();
|
|
15684
15701
|
logger_ts_1.loggerService.printJson(response);
|
|
15685
15702
|
}
|
|
@@ -16197,7 +16214,7 @@ exports.bpmDefAppActionsCommand = bpmDefAppActionsCommand;
|
|
|
16197
16214
|
exports.bpmDefDefinitionByIdCommand = bpmDefDefinitionByIdCommand;
|
|
16198
16215
|
exports.bpmDefLogsCommand = bpmDefLogsCommand;
|
|
16199
16216
|
exports.bpmDefFindDescribeCommand = bpmDefFindDescribeCommand;
|
|
16200
|
-
exports.
|
|
16217
|
+
exports.bpmDefAvailableWorkflowsCommand = bpmDefAvailableWorkflowsCommand;
|
|
16201
16218
|
exports.bpmDefGetTenantQuotaCommand = bpmDefGetTenantQuotaCommand;
|
|
16202
16219
|
exports.bpmDefGetQuotaCommand = bpmDefGetQuotaCommand;
|
|
16203
16220
|
exports.bpmDefHasQuotaCommand = bpmDefHasQuotaCommand;
|
|
@@ -16397,12 +16414,12 @@ async function bpmDefFindDescribeCommand(_context, options) {
|
|
|
16397
16414
|
throw error;
|
|
16398
16415
|
}
|
|
16399
16416
|
}
|
|
16400
|
-
async function
|
|
16417
|
+
async function bpmDefAvailableWorkflowsCommand(_context, options) {
|
|
16401
16418
|
void _context;
|
|
16402
16419
|
const data = buildOptionsData(options, {});
|
|
16403
|
-
logger_ts_1.loggerService.startLoading('Executing bpmDef
|
|
16420
|
+
logger_ts_1.loggerService.startLoading('Executing bpmDef available-workflows');
|
|
16404
16421
|
try {
|
|
16405
|
-
const response = await (0, bpm_def_service_ts_1.executeBpmDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('bpmDef', '
|
|
16422
|
+
const response = await (0, bpm_def_service_ts_1.executeBpmDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('bpmDef', 'availableWorkflows'), data);
|
|
16406
16423
|
logger_ts_1.loggerService.stopLoading();
|
|
16407
16424
|
logger_ts_1.loggerService.printJson(response);
|
|
16408
16425
|
}
|
|
@@ -18295,13 +18312,14 @@ exports.flowDefBasicInfoCommand = flowDefBasicInfoCommand;
|
|
|
18295
18312
|
exports.flowDefExpressionCheckCommand = flowDefExpressionCheckCommand;
|
|
18296
18313
|
exports.flowDefExpressionDebugCommand = flowDefExpressionDebugCommand;
|
|
18297
18314
|
exports.flowDefFindBusinessButtonsCommand = flowDefFindBusinessButtonsCommand;
|
|
18298
|
-
exports.
|
|
18299
|
-
exports.
|
|
18315
|
+
exports.flowDefGetConfigCommand = flowDefGetConfigCommand;
|
|
18316
|
+
exports.flowDefLinkAppListCommand = flowDefLinkAppListCommand;
|
|
18300
18317
|
exports.flowDefGetFlowFieldFilterConfigCommand = flowDefGetFlowFieldFilterConfigCommand;
|
|
18301
|
-
exports.
|
|
18318
|
+
exports.flowDefLinkAppRolesCommand = flowDefLinkAppRolesCommand;
|
|
18302
18319
|
exports.flowDefAfterActionConfigCommand = flowDefAfterActionConfigCommand;
|
|
18303
|
-
exports.
|
|
18320
|
+
exports.flowDefFlowSupportVariableCommand = flowDefFlowSupportVariableCommand;
|
|
18304
18321
|
exports.flowDefGetHistoryCommand = flowDefGetHistoryCommand;
|
|
18322
|
+
exports.flowDefGetWebConfigsCommand = flowDefGetWebConfigsCommand;
|
|
18305
18323
|
const logger_ts_1 = __webpack_require__(3333);
|
|
18306
18324
|
const request_execute_command_paths_ts_1 = __webpack_require__(2351);
|
|
18307
18325
|
const flow_def_service_ts_1 = __webpack_require__(6021);
|
|
@@ -18572,17 +18590,15 @@ async function flowDefFindBusinessButtonsCommand(_context, options) {
|
|
|
18572
18590
|
throw error;
|
|
18573
18591
|
}
|
|
18574
18592
|
}
|
|
18575
|
-
async function
|
|
18593
|
+
async function flowDefGetConfigCommand(_context, options) {
|
|
18576
18594
|
void _context;
|
|
18577
18595
|
const typeMap = {
|
|
18578
|
-
flowType: "object",
|
|
18579
|
-
terminal: "object",
|
|
18580
18596
|
types: "array"
|
|
18581
18597
|
};
|
|
18582
18598
|
const data = buildOptionsData(options, typeMap);
|
|
18583
|
-
logger_ts_1.loggerService.startLoading('Executing flowDef get-
|
|
18599
|
+
logger_ts_1.loggerService.startLoading('Executing flowDef get-config');
|
|
18584
18600
|
try {
|
|
18585
|
-
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', '
|
|
18601
|
+
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', 'getConfig'), data);
|
|
18586
18602
|
logger_ts_1.loggerService.stopLoading();
|
|
18587
18603
|
logger_ts_1.loggerService.printJson(response);
|
|
18588
18604
|
}
|
|
@@ -18591,12 +18607,12 @@ async function flowDefGetFlowConfigCommand(_context, options) {
|
|
|
18591
18607
|
throw error;
|
|
18592
18608
|
}
|
|
18593
18609
|
}
|
|
18594
|
-
async function
|
|
18610
|
+
async function flowDefLinkAppListCommand(_context, options) {
|
|
18595
18611
|
void _context;
|
|
18596
18612
|
const data = buildOptionsData(options, {});
|
|
18597
|
-
logger_ts_1.loggerService.startLoading('Executing flowDef
|
|
18613
|
+
logger_ts_1.loggerService.startLoading('Executing flowDef link-app-list');
|
|
18598
18614
|
try {
|
|
18599
|
-
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', '
|
|
18615
|
+
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', 'linkAppList'), data);
|
|
18600
18616
|
logger_ts_1.loggerService.stopLoading();
|
|
18601
18617
|
logger_ts_1.loggerService.printJson(response);
|
|
18602
18618
|
}
|
|
@@ -18622,12 +18638,12 @@ async function flowDefGetFlowFieldFilterConfigCommand(_context, options) {
|
|
|
18622
18638
|
throw error;
|
|
18623
18639
|
}
|
|
18624
18640
|
}
|
|
18625
|
-
async function
|
|
18641
|
+
async function flowDefLinkAppRolesCommand(_context, options) {
|
|
18626
18642
|
void _context;
|
|
18627
18643
|
const data = buildOptionsData(options, {});
|
|
18628
|
-
logger_ts_1.loggerService.startLoading('Executing flowDef
|
|
18644
|
+
logger_ts_1.loggerService.startLoading('Executing flowDef link-app-roles');
|
|
18629
18645
|
try {
|
|
18630
|
-
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', '
|
|
18646
|
+
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', 'linkAppRoles'), data);
|
|
18631
18647
|
logger_ts_1.loggerService.stopLoading();
|
|
18632
18648
|
logger_ts_1.loggerService.printJson(response);
|
|
18633
18649
|
}
|
|
@@ -18650,12 +18666,12 @@ async function flowDefAfterActionConfigCommand(_context, options) {
|
|
|
18650
18666
|
throw error;
|
|
18651
18667
|
}
|
|
18652
18668
|
}
|
|
18653
|
-
async function
|
|
18669
|
+
async function flowDefFlowSupportVariableCommand(_context, options) {
|
|
18654
18670
|
void _context;
|
|
18655
18671
|
const data = buildOptionsData(options, {});
|
|
18656
|
-
logger_ts_1.loggerService.startLoading('Executing flowDef
|
|
18672
|
+
logger_ts_1.loggerService.startLoading('Executing flowDef flow-support-variable');
|
|
18657
18673
|
try {
|
|
18658
|
-
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', '
|
|
18674
|
+
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', 'flowSupportVariable'), data);
|
|
18659
18675
|
logger_ts_1.loggerService.stopLoading();
|
|
18660
18676
|
logger_ts_1.loggerService.printJson(response);
|
|
18661
18677
|
}
|
|
@@ -18678,6 +18694,23 @@ async function flowDefGetHistoryCommand(_context, options) {
|
|
|
18678
18694
|
throw error;
|
|
18679
18695
|
}
|
|
18680
18696
|
}
|
|
18697
|
+
async function flowDefGetWebConfigsCommand(_context, options) {
|
|
18698
|
+
void _context;
|
|
18699
|
+
const typeMap = {
|
|
18700
|
+
keys: "array"
|
|
18701
|
+
};
|
|
18702
|
+
const data = buildOptionsData(options, typeMap);
|
|
18703
|
+
logger_ts_1.loggerService.startLoading('Executing flowDef get-web-configs');
|
|
18704
|
+
try {
|
|
18705
|
+
const response = await (0, flow_def_service_ts_1.executeFlowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('flowDef', 'getWebConfigs'), data);
|
|
18706
|
+
logger_ts_1.loggerService.stopLoading();
|
|
18707
|
+
logger_ts_1.loggerService.printJson(response);
|
|
18708
|
+
}
|
|
18709
|
+
catch (error) {
|
|
18710
|
+
logger_ts_1.loggerService.stopLoading();
|
|
18711
|
+
throw error;
|
|
18712
|
+
}
|
|
18713
|
+
}
|
|
18681
18714
|
|
|
18682
18715
|
|
|
18683
18716
|
/***/ },
|
|
@@ -25970,8 +26003,9 @@ exports.stageDefListCommand = stageDefListCommand;
|
|
|
25970
26003
|
exports.stageDefExportApplyDataCommand = stageDefExportApplyDataCommand;
|
|
25971
26004
|
exports.stageDefQueryApplyHistoryCommand = stageDefQueryApplyHistoryCommand;
|
|
25972
26005
|
exports.stageDefGetSupportEntityCommand = stageDefGetSupportEntityCommand;
|
|
25973
|
-
exports.
|
|
26006
|
+
exports.stageDefGetSelectOneFieldCommand = stageDefGetSelectOneFieldCommand;
|
|
25974
26007
|
exports.stageDefFindReferencesCommand = stageDefFindReferencesCommand;
|
|
26008
|
+
exports.stageDefGetQuotaCommand = stageDefGetQuotaCommand;
|
|
25975
26009
|
const logger_ts_1 = __webpack_require__(3333);
|
|
25976
26010
|
const request_execute_command_paths_ts_1 = __webpack_require__(2351);
|
|
25977
26011
|
const stage_def_service_ts_1 = __webpack_require__(6999);
|
|
@@ -26175,12 +26209,12 @@ async function stageDefGetSupportEntityCommand(_context, options) {
|
|
|
26175
26209
|
throw error;
|
|
26176
26210
|
}
|
|
26177
26211
|
}
|
|
26178
|
-
async function
|
|
26212
|
+
async function stageDefGetSelectOneFieldCommand(_context, options) {
|
|
26179
26213
|
void _context;
|
|
26180
26214
|
const data = buildOptionsData(options, {});
|
|
26181
|
-
logger_ts_1.loggerService.startLoading('Executing stageDef get-select-one-field
|
|
26215
|
+
logger_ts_1.loggerService.startLoading('Executing stageDef get-select-one-field');
|
|
26182
26216
|
try {
|
|
26183
|
-
const response = await (0, stage_def_service_ts_1.executeStageDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('stageDef', '
|
|
26217
|
+
const response = await (0, stage_def_service_ts_1.executeStageDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('stageDef', 'getSelectOneField'), data);
|
|
26184
26218
|
logger_ts_1.loggerService.stopLoading();
|
|
26185
26219
|
logger_ts_1.loggerService.printJson(response);
|
|
26186
26220
|
}
|
|
@@ -26203,6 +26237,20 @@ async function stageDefFindReferencesCommand(_context, options) {
|
|
|
26203
26237
|
throw error;
|
|
26204
26238
|
}
|
|
26205
26239
|
}
|
|
26240
|
+
async function stageDefGetQuotaCommand(_context, options) {
|
|
26241
|
+
void _context;
|
|
26242
|
+
const data = buildOptionsData(options, {});
|
|
26243
|
+
logger_ts_1.loggerService.startLoading('Executing stageDef get-quota');
|
|
26244
|
+
try {
|
|
26245
|
+
const response = await (0, stage_def_service_ts_1.executeStageDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('stageDef', 'getQuota'), data);
|
|
26246
|
+
logger_ts_1.loggerService.stopLoading();
|
|
26247
|
+
logger_ts_1.loggerService.printJson(response);
|
|
26248
|
+
}
|
|
26249
|
+
catch (error) {
|
|
26250
|
+
logger_ts_1.loggerService.stopLoading();
|
|
26251
|
+
throw error;
|
|
26252
|
+
}
|
|
26253
|
+
}
|
|
26206
26254
|
|
|
26207
26255
|
|
|
26208
26256
|
/***/ },
|
|
@@ -26596,7 +26644,7 @@ exports.workflowDefFindDescribeCommand = workflowDefFindDescribeCommand;
|
|
|
26596
26644
|
exports.workflowDefCheckExpressionCommand = workflowDefCheckExpressionCommand;
|
|
26597
26645
|
exports.workflowDefGetExternalNoticeCommand = workflowDefGetExternalNoticeCommand;
|
|
26598
26646
|
exports.workflowDefFindCustomObjsCommand = workflowDefFindCustomObjsCommand;
|
|
26599
|
-
exports.
|
|
26647
|
+
exports.workflowDefGetExternalNoticeOuterRolesCommand = workflowDefGetExternalNoticeOuterRolesCommand;
|
|
26600
26648
|
exports.workflowDefSupportCommand = workflowDefSupportCommand;
|
|
26601
26649
|
const logger_ts_1 = __webpack_require__(3333);
|
|
26602
26650
|
const request_execute_command_paths_ts_1 = __webpack_require__(2351);
|
|
@@ -26829,12 +26877,12 @@ async function workflowDefFindCustomObjsCommand(_context, options) {
|
|
|
26829
26877
|
throw error;
|
|
26830
26878
|
}
|
|
26831
26879
|
}
|
|
26832
|
-
async function
|
|
26880
|
+
async function workflowDefGetExternalNoticeOuterRolesCommand(_context, options) {
|
|
26833
26881
|
void _context;
|
|
26834
26882
|
const data = buildOptionsData(options, {});
|
|
26835
|
-
logger_ts_1.loggerService.startLoading('Executing workflowDef get-external-notice-
|
|
26883
|
+
logger_ts_1.loggerService.startLoading('Executing workflowDef get-external-notice-outer-roles');
|
|
26836
26884
|
try {
|
|
26837
|
-
const response = await (0, workflow_def_service_ts_1.executeWorkflowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('workflowDef', '
|
|
26885
|
+
const response = await (0, workflow_def_service_ts_1.executeWorkflowDefShareCli)((0, request_execute_command_paths_ts_1.getShareCliCommandPath)('workflowDef', 'getExternalNoticeOuterRoles'), data);
|
|
26838
26886
|
logger_ts_1.loggerService.stopLoading();
|
|
26839
26887
|
logger_ts_1.loggerService.printJson(response);
|
|
26840
26888
|
}
|
|
@@ -41464,7 +41512,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec
|
|
|
41464
41512
|
/***/ 8330
|
|
41465
41513
|
(module) {
|
|
41466
41514
|
|
|
41467
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@share-crm/sharedev-cli","version":"0.0.4-rc.
|
|
41515
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@share-crm/sharedev-cli","version":"0.0.4-rc.19","private":false,"description":"sharedev command line tool","type":"module","main":"dist/sharedev.js","bin":{"sharedev":"./bin/cli.mjs"},"author":{"name":"sharecrm-npm"},"files":["dist","bin","README.md"],"scripts":{"build":"tsc --noEmit && webpack --config build/webpack/webpack.prod.cjs","build:debug":"tsc --noEmit && webpack --config build/webpack/webpack.debug.cjs","build:bin":"bun build --compile --target=bun-darwin-x64 src/cli.ts --outfile scripts/sharedev-darwin-x64 && bun build --compile --target=bun-darwin-arm64 src/cli.ts --outfile scripts/sharedev-darwin-arm64 && bun build --compile --target=bun-windows-x64 src/cli.ts --outfile scripts/sharedev-windows-x64.exe","build:all":"npm run build && npm run build:bin","dev":"tsc --noEmit --watch & webpack --config build/webpack/webpack.dev.cjs --watch","dev2":"node src/cli.ts","typecheck":"tsc --noEmit","prettier":"prettier --write ./src/**/*.ts","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage"},"dependencies":{"@clack/prompts":"^1.1.0","@mariozechner/pi-coding-agent":"^0.62.0","axios":"~1.13.0","chalk":"^5.6.2","commander":"^14.0.1","extract-zip":"^2.0.1","fast-xml-parser":"^5.2.5","fs-extra":"^11.3.2","lodash-es":"^4.18.1","ora":"^9.3.0"},"devDependencies":{"@types/extract-zip":"^2.0.3","@types/fs-extra":"^11.0.4","@types/lodash-es":"^4.17.12","@types/node":"^24.3.0","@vitest/coverage-v8":"^4.1.8","ts-loader":"^9.5.4","typescript":"^5.9.2","vitest":"^3.2.6","webpack":"^5.101.3","webpack-cli":"^6.0.1","webpack-merge":"^6.0.1"},"packageManager":"pnpm@10.17.0"}');
|
|
41468
41516
|
|
|
41469
41517
|
/***/ }
|
|
41470
41518
|
|