@acomo/cli 1.0.10 → 1.0.12
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/AGENTS.md +140 -0
- package/dist/index.js +1365 -17
- package/dist/index.js.map +4 -4
- package/package.json +6 -3
package/dist/index.js
CHANGED
|
@@ -12228,6 +12228,13 @@ function command2() {
|
|
|
12228
12228
|
function describe() {
|
|
12229
12229
|
return "acomo \u306B\u30ED\u30B0\u30A4\u30F3\u3057\u307E\u3059";
|
|
12230
12230
|
}
|
|
12231
|
+
var helpOptions = [
|
|
12232
|
+
{ name: "url", type: "string", description: `Base URL (env: ${ENV_KEYS.baseUrl})` },
|
|
12233
|
+
{ name: "tenant-id", type: "string", description: `Tenant ID (env: ${ENV_KEYS.tenantId})` },
|
|
12234
|
+
{ name: "token", type: "string", description: `\u30A2\u30AF\u30BB\u30B9\u30C8\u30FC\u30AF\u30F3\uFF08\u76F4\u63A5\u6307\u5B9A\u3059\u308B\u5834\u5408\uFF09 (env: ${ENV_KEYS.accessToken})` },
|
|
12235
|
+
{ name: "email", type: "string", description: `\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9 (env: ${ENV_KEYS.email})` },
|
|
12236
|
+
{ name: "password", type: "string", description: "\u30D1\u30B9\u30EF\u30FC\u30C9" }
|
|
12237
|
+
];
|
|
12231
12238
|
function builder(yargs) {
|
|
12232
12239
|
return yargs.option("url", {
|
|
12233
12240
|
type: "string",
|
|
@@ -12309,6 +12316,14 @@ async function handler(argv) {
|
|
|
12309
12316
|
}
|
|
12310
12317
|
let email = argv.email;
|
|
12311
12318
|
let password = argv.password;
|
|
12319
|
+
if (!process.stdin.isTTY && (!email || !password)) {
|
|
12320
|
+
console.error(
|
|
12321
|
+
`\u975E\u30A4\u30F3\u30BF\u30E9\u30AF\u30C6\u30A3\u30D6\u74B0\u5883\u3067\u306F --token, --email, --password \u306E\u6307\u5B9A\u304C\u5FC5\u8981\u3067\u3059\u3002
|
|
12322
|
+
\u63A8\u5968: acomo login --tenant-id <id> --token <token>
|
|
12323
|
+
\u307E\u305F\u306F\u74B0\u5883\u5909\u6570 ${ENV_KEYS.accessToken}, ${ENV_KEYS.tenantId} \u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002`
|
|
12324
|
+
);
|
|
12325
|
+
process.exit(1);
|
|
12326
|
+
}
|
|
12312
12327
|
if (!email) {
|
|
12313
12328
|
email = await promptInput("Email: ");
|
|
12314
12329
|
}
|
|
@@ -12346,6 +12361,7 @@ function command3() {
|
|
|
12346
12361
|
function describe2() {
|
|
12347
12362
|
return "acomo \u304B\u3089\u30ED\u30B0\u30A2\u30A6\u30C8\u3057\u307E\u3059\uFF08\u30ED\u30FC\u30AB\u30EB\u8A2D\u5B9A\u3092\u30AF\u30EA\u30A2\uFF09";
|
|
12348
12363
|
}
|
|
12364
|
+
var helpOptions2 = [];
|
|
12349
12365
|
function builder2(yargs) {
|
|
12350
12366
|
return yargs;
|
|
12351
12367
|
}
|
|
@@ -12366,6 +12382,12 @@ function command4() {
|
|
|
12366
12382
|
function describe3() {
|
|
12367
12383
|
return "\u8A2D\u5B9A\u306E\u8868\u793A\u30FB\u66F4\u65B0";
|
|
12368
12384
|
}
|
|
12385
|
+
var helpPositionals = [
|
|
12386
|
+
{ name: "subcommand", type: "string", required: true, description: "show | set" },
|
|
12387
|
+
{ name: "key", type: "string", required: false, description: "\u8A2D\u5B9A\u30AD\u30FC (baseUrl, tenantId, accessToken, email)\uFF08set \u6642\uFF09" },
|
|
12388
|
+
{ name: "value", type: "string", required: false, description: "\u8A2D\u5B9A\u5024\uFF08set \u6642\uFF09" }
|
|
12389
|
+
];
|
|
12390
|
+
var helpOptions3 = [];
|
|
12369
12391
|
function builder3(yargs) {
|
|
12370
12392
|
return yargs.command(
|
|
12371
12393
|
"show",
|
|
@@ -12558,9 +12580,1112 @@ var operationDescriptions = {
|
|
|
12558
12580
|
"validateExpression": "expression\u304C\u6B63\u3057\u3044\u304B\u3092\u8FD4\u3057\u307E\u3059\u3002"
|
|
12559
12581
|
};
|
|
12560
12582
|
|
|
12583
|
+
// src/generated/operation-params.ts
|
|
12584
|
+
var operationParams = {
|
|
12585
|
+
"approveWorkflowProcess": {
|
|
12586
|
+
httpMethod: "POST",
|
|
12587
|
+
path: "/api/v1/engine/approve/{processId}",
|
|
12588
|
+
params: [
|
|
12589
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" }
|
|
12590
|
+
]
|
|
12591
|
+
},
|
|
12592
|
+
"approveWorkflowProcessWithNodeId": {
|
|
12593
|
+
httpMethod: "POST",
|
|
12594
|
+
path: "/api/v1/engine/approve/{processId}/{nodeId}",
|
|
12595
|
+
params: [
|
|
12596
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
12597
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" }
|
|
12598
|
+
]
|
|
12599
|
+
},
|
|
12600
|
+
"askAiForDataSchema": {
|
|
12601
|
+
httpMethod: "POST",
|
|
12602
|
+
path: "/api/v1/ai/dataSchema",
|
|
12603
|
+
params: [],
|
|
12604
|
+
requestBody: {
|
|
12605
|
+
dtoName: "askAiForDataSchemaDto",
|
|
12606
|
+
properties: [
|
|
12607
|
+
{ name: "request", type: "string", description: "\u4F9D\u983C\u6587", required: true, example: "\u7D4C\u8CBB\u306E\u7533\u8ACB\u30FB\u627F\u8A8D\u696D\u52D9\u306E\u30E2\u30C7\u30EB\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002" },
|
|
12608
|
+
{ name: "enableExistingDataSchemaReference", type: "boolean", description: "\u65E2\u5B58\u306E\u30C7\u30FC\u30BF\u30B9\u30AD\u30FC\u30DE\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u53C2\u8003\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u8868\u3059\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u3059\u3002\ntrue\u306A\u3089\u3070\u3001\u65E2\u5B58\u306E\u516C\u958B\u6E08\u307F\u30E2\u30C7\u30EB\u306E\u30C7\u30FC\u30BF\u30B9\u30AD\u30FC\u30DE\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u6700\u5927100\u4EF6\u8AAD\u307F\u53D6\u308A\u3001\u751F\u6210\u6642\u306B\u53C2\u8003\u60C5\u5831\u3068\u3057\u3066\u4F7F\u7528\u3057\u307E\u3059\u3002\u5FC5\u305A\u4F7F\u308F\u308C\u308B\u3068\u306F\u9650\u308A\u307E\u305B\u3093\u3002\nfalse\u306A\u3089\u3070\u3001\u30BC\u30ED\u30D9\u30FC\u30B9\u3067\u691C\u8A0E\u3057\u307E\u3059\u3002\n\u30C7\u30D5\u30A9\u30EB\u30C8\u306Ffalse\u3067\u3059\u3002", required: true, example: false }
|
|
12609
|
+
]
|
|
12610
|
+
}
|
|
12611
|
+
},
|
|
12612
|
+
"askAiForModelDefinition": {
|
|
12613
|
+
httpMethod: "POST",
|
|
12614
|
+
path: "/api/v1/ai/definition",
|
|
12615
|
+
params: [],
|
|
12616
|
+
requestBody: {
|
|
12617
|
+
dtoName: "askAiForDefintionDto",
|
|
12618
|
+
properties: [
|
|
12619
|
+
{ name: "request", type: "string", description: "\u4F9D\u983C\u6587", required: true, example: "\u7D4C\u8CBB\u306E\u7533\u8ACB\u30FB\u627F\u8A8D\u696D\u52D9\u306E\u30E2\u30C7\u30EB\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }
|
|
12620
|
+
]
|
|
12621
|
+
}
|
|
12622
|
+
},
|
|
12623
|
+
"chatForWorkflowModeling": {
|
|
12624
|
+
httpMethod: "POST",
|
|
12625
|
+
path: "/api/v1/ai/chat",
|
|
12626
|
+
params: [],
|
|
12627
|
+
requestBody: {
|
|
12628
|
+
dtoName: "chatAiDto",
|
|
12629
|
+
properties: [
|
|
12630
|
+
{ name: "chatId", type: "string", description: "\u30C1\u30E3\u30C3\u30C8ID", required: true },
|
|
12631
|
+
{ name: "request", type: "string", description: "\u4F9D\u983C\u6587", required: true, example: "\u7D4C\u8CBB\u306E\u7533\u8ACB\u30FB\u627F\u8A8D\u696D\u52D9\u306E\u30E2\u30C7\u30EB\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }
|
|
12632
|
+
]
|
|
12633
|
+
}
|
|
12634
|
+
},
|
|
12635
|
+
"connectivityTest": {
|
|
12636
|
+
httpMethod: "POST",
|
|
12637
|
+
path: "/api/v1/slack/connectivityTest",
|
|
12638
|
+
params: []
|
|
12639
|
+
},
|
|
12640
|
+
"convertExpression": {
|
|
12641
|
+
httpMethod: "GET",
|
|
12642
|
+
path: "/api/v1/models/convertExpression/{expressionString}",
|
|
12643
|
+
params: [
|
|
12644
|
+
{ name: "expressionString", in: "path", required: true, type: "string", description: "" }
|
|
12645
|
+
]
|
|
12646
|
+
},
|
|
12647
|
+
"createCorsOrigins": {
|
|
12648
|
+
httpMethod: "POST",
|
|
12649
|
+
path: "/api/v1/cors",
|
|
12650
|
+
params: [],
|
|
12651
|
+
requestBody: {
|
|
12652
|
+
dtoName: "createCorsAllowedOriginDto",
|
|
12653
|
+
properties: [
|
|
12654
|
+
{ name: "url", type: "string", description: "", required: true },
|
|
12655
|
+
{ name: "description", type: "string", description: "", required: true }
|
|
12656
|
+
]
|
|
12657
|
+
}
|
|
12658
|
+
},
|
|
12659
|
+
"createGroup": {
|
|
12660
|
+
httpMethod: "POST",
|
|
12661
|
+
path: "/api/v1/groups",
|
|
12662
|
+
params: []
|
|
12663
|
+
},
|
|
12664
|
+
"createMyOrganization": {
|
|
12665
|
+
httpMethod: "POST",
|
|
12666
|
+
path: "/api/v1/account/my/organization",
|
|
12667
|
+
params: []
|
|
12668
|
+
},
|
|
12669
|
+
"createMyOrganizationsTenant": {
|
|
12670
|
+
httpMethod: "POST",
|
|
12671
|
+
path: "/api/v1/account/my/organization/tenants",
|
|
12672
|
+
params: [],
|
|
12673
|
+
requestBody: {
|
|
12674
|
+
dtoName: "createTenantDto",
|
|
12675
|
+
properties: [
|
|
12676
|
+
{ name: "authTenantId", type: "string", description: "Auth\u30C6\u30CA\u30F3\u30C8ID", required: true },
|
|
12677
|
+
{ name: "name", type: "string", description: "\u30C6\u30CA\u30F3\u30C8\u540D", required: true }
|
|
12678
|
+
]
|
|
12679
|
+
}
|
|
12680
|
+
},
|
|
12681
|
+
"createOrUpdateAuthConfigsIdentityProvider": {
|
|
12682
|
+
httpMethod: "PUT",
|
|
12683
|
+
path: "/api/v1/authConfig/identityProviders",
|
|
12684
|
+
params: [],
|
|
12685
|
+
requestBody: {
|
|
12686
|
+
dtoName: "createOrUpdateIdentityProviderDto",
|
|
12687
|
+
properties: [
|
|
12688
|
+
{ name: "thirdPartyType", type: '"google" | "github" | "gitlab" | "slack" | "custom"', description: "\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u7A2E\u5225", required: true, example: "google" },
|
|
12689
|
+
{ name: "thirdPartyId", type: "string", description: "\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3Id", required: false, example: "google" },
|
|
12690
|
+
{ name: "name", type: "string", description: "\u8A8D\u8A3C\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u540D", required: true, example: "Google" },
|
|
12691
|
+
{ name: "clientId", type: "string", description: "\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8ID", required: true },
|
|
12692
|
+
{ name: "clientSecret", type: "string", description: "\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8", required: true },
|
|
12693
|
+
{ name: "oidcDiscoveryEndpoint", type: "string", description: "OIDC\u30C7\u30A3\u30B9\u30AB\u30D0\u30EA\u30FC\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8", required: false },
|
|
12694
|
+
{ name: "scope", type: "string[]", description: "OAuth Scope", required: false }
|
|
12695
|
+
]
|
|
12696
|
+
}
|
|
12697
|
+
},
|
|
12698
|
+
"createResetPasswordLink": {
|
|
12699
|
+
httpMethod: "POST",
|
|
12700
|
+
path: "/api/v1/authentication/createResetPasswordLink",
|
|
12701
|
+
params: []
|
|
12702
|
+
},
|
|
12703
|
+
"createRole": {
|
|
12704
|
+
httpMethod: "POST",
|
|
12705
|
+
path: "/api/v1/roles",
|
|
12706
|
+
params: []
|
|
12707
|
+
},
|
|
12708
|
+
"createSetting": {
|
|
12709
|
+
httpMethod: "POST",
|
|
12710
|
+
path: "/api/v1/settings",
|
|
12711
|
+
params: []
|
|
12712
|
+
},
|
|
12713
|
+
"createUser": {
|
|
12714
|
+
httpMethod: "POST",
|
|
12715
|
+
path: "/api/v1/users",
|
|
12716
|
+
params: []
|
|
12717
|
+
},
|
|
12718
|
+
"createWorkflowModel": {
|
|
12719
|
+
httpMethod: "POST",
|
|
12720
|
+
path: "/api/v1/models",
|
|
12721
|
+
params: [],
|
|
12722
|
+
requestBody: {
|
|
12723
|
+
dtoName: "createModelDto",
|
|
12724
|
+
properties: [
|
|
12725
|
+
{ name: "name", type: "string", description: "\u30E2\u30C7\u30EB\u540D", required: true, example: "\u7D4C\u8CBB\u7533\u8ACB\u30FB\u627F\u8A8D\u30D5\u30ED\u30FC" },
|
|
12726
|
+
{ name: "description", type: "string", description: "\u8AAC\u660E", required: false, example: "\u7D4C\u8CBB\u7533\u8ACB\u306E\u627F\u8A8D\u3092\u884C\u3044\u307E\u3059\u3002" },
|
|
12727
|
+
{ name: "definition", type: "object", description: "\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u5B9A\u7FA9", required: true },
|
|
12728
|
+
{ name: "dataSchema", type: "object", description: "\u30C7\u30FC\u30BF\u30B9\u30AD\u30FC\u30DE", required: true },
|
|
12729
|
+
{ name: "policy", type: "object", description: "\u30C7\u30FC\u30BF\u30A2\u30AF\u30BB\u30B9\u30DD\u30EA\u30B7\u30FC", required: true }
|
|
12730
|
+
]
|
|
12731
|
+
}
|
|
12732
|
+
},
|
|
12733
|
+
"deleteAuthConfigsIdentityProvider": {
|
|
12734
|
+
httpMethod: "DELETE",
|
|
12735
|
+
path: "/api/v1/authConfig/identityProviders/{thirdPartyId}",
|
|
12736
|
+
params: [
|
|
12737
|
+
{ name: "thirdPartyId", in: "path", required: true, type: "string", description: "" }
|
|
12738
|
+
]
|
|
12739
|
+
},
|
|
12740
|
+
"deleteCorsOrigins": {
|
|
12741
|
+
httpMethod: "DELETE",
|
|
12742
|
+
path: "/api/v1/cors/{id}",
|
|
12743
|
+
params: [
|
|
12744
|
+
{ name: "id", in: "path", required: true, type: "string", description: "" }
|
|
12745
|
+
]
|
|
12746
|
+
},
|
|
12747
|
+
"deleteMyOrganizationsTenant": {
|
|
12748
|
+
httpMethod: "DELETE",
|
|
12749
|
+
path: "/api/v1/account/my/organization/tenants/{tenantId}",
|
|
12750
|
+
params: [
|
|
12751
|
+
{ name: "tenantId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12752
|
+
]
|
|
12753
|
+
},
|
|
12754
|
+
"deleteMyProcessDataFile": {
|
|
12755
|
+
httpMethod: "POST",
|
|
12756
|
+
path: "/api/v1/my/processes/{processId}/files/delete",
|
|
12757
|
+
params: [
|
|
12758
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12759
|
+
],
|
|
12760
|
+
requestBody: {
|
|
12761
|
+
dtoName: "createProcessFileDto",
|
|
12762
|
+
properties: [
|
|
12763
|
+
{ name: "property", type: "string", description: "\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30C7\u30FC\u30BF\u9805\u76EE\u540D\uFF09", required: true, example: "attachmentFiles" },
|
|
12764
|
+
{ name: "fileName", type: "string", description: "\u30D5\u30A1\u30A4\u30EB\u540D", required: true, example: "\u9818\u53CE\u66F8.pdf" }
|
|
12765
|
+
]
|
|
12766
|
+
}
|
|
12767
|
+
},
|
|
12768
|
+
"deleteProcessDataFile": {
|
|
12769
|
+
httpMethod: "POST",
|
|
12770
|
+
path: "/api/v1/processes/{processId}/files/delete",
|
|
12771
|
+
params: [
|
|
12772
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12773
|
+
],
|
|
12774
|
+
requestBody: {
|
|
12775
|
+
dtoName: "createProcessFileDto",
|
|
12776
|
+
properties: [
|
|
12777
|
+
{ name: "property", type: "string", description: "\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30C7\u30FC\u30BF\u9805\u76EE\u540D\uFF09", required: true, example: "attachmentFiles" },
|
|
12778
|
+
{ name: "fileName", type: "string", description: "\u30D5\u30A1\u30A4\u30EB\u540D", required: true, example: "\u9818\u53CE\u66F8.pdf" }
|
|
12779
|
+
]
|
|
12780
|
+
}
|
|
12781
|
+
},
|
|
12782
|
+
"deleteWorkflowModel": {
|
|
12783
|
+
httpMethod: "DELETE",
|
|
12784
|
+
path: "/api/v1/models/{modelId}",
|
|
12785
|
+
params: [
|
|
12786
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12787
|
+
]
|
|
12788
|
+
},
|
|
12789
|
+
"deleteWorkflowProcess": {
|
|
12790
|
+
httpMethod: "DELETE",
|
|
12791
|
+
path: "/api/v1/processes/{processId}",
|
|
12792
|
+
params: [
|
|
12793
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12794
|
+
]
|
|
12795
|
+
},
|
|
12796
|
+
"enableMySubscriptions": {
|
|
12797
|
+
httpMethod: "POST",
|
|
12798
|
+
path: "/api/v1/account/my/organization/subscriptions/enable",
|
|
12799
|
+
params: []
|
|
12800
|
+
},
|
|
12801
|
+
"generateToken": {
|
|
12802
|
+
httpMethod: "POST",
|
|
12803
|
+
path: "/api/v1/clientAuth/oauth/token",
|
|
12804
|
+
params: []
|
|
12805
|
+
},
|
|
12806
|
+
"getAccessToken": {
|
|
12807
|
+
httpMethod: "GET",
|
|
12808
|
+
path: "/api/v1/clientAuth/{clientAccessTokenId}",
|
|
12809
|
+
params: [
|
|
12810
|
+
{ name: "clientAccessTokenId", in: "path", required: true, type: "string", description: "" }
|
|
12811
|
+
]
|
|
12812
|
+
},
|
|
12813
|
+
"getAccount": {
|
|
12814
|
+
httpMethod: "GET",
|
|
12815
|
+
path: "/api/v1/account",
|
|
12816
|
+
params: []
|
|
12817
|
+
},
|
|
12818
|
+
"getAuthConfig": {
|
|
12819
|
+
httpMethod: "GET",
|
|
12820
|
+
path: "/api/v1/authConfig",
|
|
12821
|
+
params: []
|
|
12822
|
+
},
|
|
12823
|
+
"getChannels": {
|
|
12824
|
+
httpMethod: "GET",
|
|
12825
|
+
path: "/api/v1/slack/channels",
|
|
12826
|
+
params: []
|
|
12827
|
+
},
|
|
12828
|
+
"getCorsOrigins": {
|
|
12829
|
+
httpMethod: "GET",
|
|
12830
|
+
path: "/api/v1/cors/{id}",
|
|
12831
|
+
params: [
|
|
12832
|
+
{ name: "id", in: "path", required: true, type: "string", description: "" }
|
|
12833
|
+
]
|
|
12834
|
+
},
|
|
12835
|
+
"getCurrentTenant": {
|
|
12836
|
+
httpMethod: "GET",
|
|
12837
|
+
path: "/api/v1/profile/tenant",
|
|
12838
|
+
params: []
|
|
12839
|
+
},
|
|
12840
|
+
"getCurrentUser": {
|
|
12841
|
+
httpMethod: "GET",
|
|
12842
|
+
path: "/api/v1/profile/user",
|
|
12843
|
+
params: []
|
|
12844
|
+
},
|
|
12845
|
+
"getDiffs": {
|
|
12846
|
+
httpMethod: "GET",
|
|
12847
|
+
path: "/api/v1/processes/{processId}/diffs",
|
|
12848
|
+
params: [
|
|
12849
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12850
|
+
]
|
|
12851
|
+
},
|
|
12852
|
+
"getGroup": {
|
|
12853
|
+
httpMethod: "GET",
|
|
12854
|
+
path: "/api/v1/groups/{groupId}",
|
|
12855
|
+
params: [
|
|
12856
|
+
{ name: "groupId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12857
|
+
]
|
|
12858
|
+
},
|
|
12859
|
+
"getIdentityProvider": {
|
|
12860
|
+
httpMethod: "GET",
|
|
12861
|
+
path: "/api/v1/authConfig/identityProviders/{thirdPartyId}",
|
|
12862
|
+
params: [
|
|
12863
|
+
{ name: "thirdPartyId", in: "path", required: true, type: "string", description: "" }
|
|
12864
|
+
]
|
|
12865
|
+
},
|
|
12866
|
+
"getIdentityProviders": {
|
|
12867
|
+
httpMethod: "GET",
|
|
12868
|
+
path: "/api/v1/authConfig/identityProviders",
|
|
12869
|
+
params: [
|
|
12870
|
+
{ name: "authTenantId", in: "query", required: true, type: "string", description: "Auth\u30C6\u30CA\u30F3\u30C8ID", example: "mytenant-xhwpda" }
|
|
12871
|
+
]
|
|
12872
|
+
},
|
|
12873
|
+
"getMyCheckoutUrl": {
|
|
12874
|
+
httpMethod: "POST",
|
|
12875
|
+
path: "/api/v1/account/subscriptions/checkout",
|
|
12876
|
+
params: [],
|
|
12877
|
+
requestBody: {
|
|
12878
|
+
dtoName: "subscribeDto",
|
|
12879
|
+
properties: [
|
|
12880
|
+
{ name: "authTenantId", type: "string", description: "", required: true },
|
|
12881
|
+
{ name: "planName", type: "string", description: "", required: true },
|
|
12882
|
+
{ name: "quantity", type: "number", description: "", required: true },
|
|
12883
|
+
{ name: "successUrl", type: "string", description: "", required: true },
|
|
12884
|
+
{ name: "cancelUrl", type: "string", description: "", required: true },
|
|
12885
|
+
{ name: "isTrial", type: "boolean", description: "", required: true }
|
|
12886
|
+
]
|
|
12887
|
+
}
|
|
12888
|
+
},
|
|
12889
|
+
"getMyCustomerPortalUrl": {
|
|
12890
|
+
httpMethod: "POST",
|
|
12891
|
+
path: "/api/v1/account/subscriptions/portal",
|
|
12892
|
+
params: [],
|
|
12893
|
+
requestBody: {
|
|
12894
|
+
dtoName: "customerPortalDto",
|
|
12895
|
+
properties: [
|
|
12896
|
+
{ name: "returnUrl", type: "string", description: "", required: true }
|
|
12897
|
+
]
|
|
12898
|
+
}
|
|
12899
|
+
},
|
|
12900
|
+
"getMyDiffs": {
|
|
12901
|
+
httpMethod: "GET",
|
|
12902
|
+
path: "/api/v1/my/processes/{processId}/diffs",
|
|
12903
|
+
params: [
|
|
12904
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
12905
|
+
]
|
|
12906
|
+
},
|
|
12907
|
+
"getMyModel": {
|
|
12908
|
+
httpMethod: "GET",
|
|
12909
|
+
path: "/api/v1/my/models/{modelId}",
|
|
12910
|
+
params: [
|
|
12911
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "" },
|
|
12912
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "\u7279\u5B9A\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30E2\u30C7\u30EB\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" }
|
|
12913
|
+
]
|
|
12914
|
+
},
|
|
12915
|
+
"getMyOrganization": {
|
|
12916
|
+
httpMethod: "GET",
|
|
12917
|
+
path: "/api/v1/account/my/organization",
|
|
12918
|
+
params: []
|
|
12919
|
+
},
|
|
12920
|
+
"getMyOrganizationsTenant": {
|
|
12921
|
+
httpMethod: "GET",
|
|
12922
|
+
path: "/api/v1/account/my/organization/tenants/{tenantId}",
|
|
12923
|
+
params: [
|
|
12924
|
+
{ name: "tenantId", in: "path", required: true, type: "string", description: "" }
|
|
12925
|
+
]
|
|
12926
|
+
},
|
|
12927
|
+
"getMyOrganizationsTenantPlanStatus": {
|
|
12928
|
+
httpMethod: "GET",
|
|
12929
|
+
path: "/api/v1/account/my/organization/tenants/{tenantId}/plan",
|
|
12930
|
+
params: [
|
|
12931
|
+
{ name: "tenantId", in: "path", required: true, type: "string", description: "" }
|
|
12932
|
+
]
|
|
12933
|
+
},
|
|
12934
|
+
"getMyProcessDataFileDownloadUrl": {
|
|
12935
|
+
httpMethod: "POST",
|
|
12936
|
+
path: "/api/v1/my/processes/{processId}/files/getDownloadUrl",
|
|
12937
|
+
params: [
|
|
12938
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" },
|
|
12939
|
+
{ name: "disposition", in: "query", required: true, type: "string", description: "" }
|
|
12940
|
+
],
|
|
12941
|
+
requestBody: {
|
|
12942
|
+
dtoName: "createProcessFileDto",
|
|
12943
|
+
properties: [
|
|
12944
|
+
{ name: "property", type: "string", description: "\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30C7\u30FC\u30BF\u9805\u76EE\u540D\uFF09", required: true, example: "attachmentFiles" },
|
|
12945
|
+
{ name: "fileName", type: "string", description: "\u30D5\u30A1\u30A4\u30EB\u540D", required: true, example: "\u9818\u53CE\u66F8.pdf" }
|
|
12946
|
+
]
|
|
12947
|
+
}
|
|
12948
|
+
},
|
|
12949
|
+
"getMyProcesses": {
|
|
12950
|
+
httpMethod: "GET",
|
|
12951
|
+
path: "/api/v1/my/processes/{processId}",
|
|
12952
|
+
params: [
|
|
12953
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
12954
|
+
{ name: "processHistoryType", in: "query", required: false, type: "string", description: "actioned=true\u306E\u3068\u304D\u3001\u30A2\u30AF\u30B7\u30E7\u30F3\u5C65\u6B74\u7A2E\u5225\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002actioned=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
12955
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "permitted=true\u306E\u3068\u304D\u3001\u6307\u5B9A\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002permitted=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
12956
|
+
{ name: "actioned", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u3057\u305F\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
12957
|
+
{ name: "permitted", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" }
|
|
12958
|
+
]
|
|
12959
|
+
},
|
|
12960
|
+
"getMyProcessesWithNodeId": {
|
|
12961
|
+
httpMethod: "GET",
|
|
12962
|
+
path: "/api/v1/my/processes/{processId}/{nodeId}",
|
|
12963
|
+
params: [
|
|
12964
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
12965
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" },
|
|
12966
|
+
{ name: "processHistoryType", in: "query", required: false, type: "string", description: "actioned=true\u306E\u3068\u304D\u3001\u30A2\u30AF\u30B7\u30E7\u30F3\u5C65\u6B74\u7A2E\u5225\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002actioned=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
12967
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "permitted=true\u306E\u3068\u304D\u3001\u6307\u5B9A\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002permitted=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
12968
|
+
{ name: "actioned", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u3057\u305F\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
12969
|
+
{ name: "permitted", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" }
|
|
12970
|
+
]
|
|
12971
|
+
},
|
|
12972
|
+
"getMySubscriptions": {
|
|
12973
|
+
httpMethod: "GET",
|
|
12974
|
+
path: "/api/v1/account/my/organization/subscriptions",
|
|
12975
|
+
params: [
|
|
12976
|
+
{ name: "organizationId", in: "path", required: true, type: "string", description: "" }
|
|
12977
|
+
]
|
|
12978
|
+
},
|
|
12979
|
+
"getMySubscriptionsCheckoutUrl": {
|
|
12980
|
+
httpMethod: "POST",
|
|
12981
|
+
path: "/api/v1/account/my/organization/subscriptions/checkout",
|
|
12982
|
+
params: [],
|
|
12983
|
+
requestBody: {
|
|
12984
|
+
dtoName: "subscribeDto",
|
|
12985
|
+
properties: [
|
|
12986
|
+
{ name: "authTenantId", type: "string", description: "", required: true },
|
|
12987
|
+
{ name: "planName", type: "string", description: "", required: true },
|
|
12988
|
+
{ name: "quantity", type: "number", description: "", required: true },
|
|
12989
|
+
{ name: "successUrl", type: "string", description: "", required: true },
|
|
12990
|
+
{ name: "cancelUrl", type: "string", description: "", required: true },
|
|
12991
|
+
{ name: "isTrial", type: "boolean", description: "", required: true }
|
|
12992
|
+
]
|
|
12993
|
+
}
|
|
12994
|
+
},
|
|
12995
|
+
"getMySubscriptionsCustomerPortalUrl": {
|
|
12996
|
+
httpMethod: "POST",
|
|
12997
|
+
path: "/api/v1/account/my/organization/subscriptions/portal",
|
|
12998
|
+
params: [],
|
|
12999
|
+
requestBody: {
|
|
13000
|
+
dtoName: "customerPortalDto",
|
|
13001
|
+
properties: [
|
|
13002
|
+
{ name: "returnUrl", type: "string", description: "", required: true }
|
|
13003
|
+
]
|
|
13004
|
+
}
|
|
13005
|
+
},
|
|
13006
|
+
"getMyTenants": {
|
|
13007
|
+
httpMethod: "GET",
|
|
13008
|
+
path: "/api/v1/account/tenants",
|
|
13009
|
+
params: []
|
|
13010
|
+
},
|
|
13011
|
+
"getMyTenantsWithSignInMethod": {
|
|
13012
|
+
httpMethod: "GET",
|
|
13013
|
+
path: "/api/v1/account/tenants/signInMethod",
|
|
13014
|
+
params: []
|
|
13015
|
+
},
|
|
13016
|
+
"getMyTrialSubscription": {
|
|
13017
|
+
httpMethod: "GET",
|
|
13018
|
+
path: "/api/v1/account/subscriptions/trial",
|
|
13019
|
+
params: []
|
|
13020
|
+
},
|
|
13021
|
+
"getMyUserAuthInfo": {
|
|
13022
|
+
httpMethod: "GET",
|
|
13023
|
+
path: "/api/v1/authentication/userAuthInfo",
|
|
13024
|
+
params: []
|
|
13025
|
+
},
|
|
13026
|
+
"getProcessDataFileDownloadUrl": {
|
|
13027
|
+
httpMethod: "POST",
|
|
13028
|
+
path: "/api/v1/processes/{processId}/files/getDownloadUrl",
|
|
13029
|
+
params: [
|
|
13030
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" },
|
|
13031
|
+
{ name: "disposition", in: "query", required: true, type: "string", description: "" }
|
|
13032
|
+
],
|
|
13033
|
+
requestBody: {
|
|
13034
|
+
dtoName: "createProcessFileDto",
|
|
13035
|
+
properties: [
|
|
13036
|
+
{ name: "property", type: "string", description: "\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30C7\u30FC\u30BF\u9805\u76EE\u540D\uFF09", required: true, example: "attachmentFiles" },
|
|
13037
|
+
{ name: "fileName", type: "string", description: "\u30D5\u30A1\u30A4\u30EB\u540D", required: true, example: "\u9818\u53CE\u66F8.pdf" }
|
|
13038
|
+
]
|
|
13039
|
+
}
|
|
13040
|
+
},
|
|
13041
|
+
"getProcessWithNodeActions": {
|
|
13042
|
+
httpMethod: "GET",
|
|
13043
|
+
path: "/api/v1/my/processes/nodeActions/{processId}",
|
|
13044
|
+
params: [
|
|
13045
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
13046
|
+
{ name: "processHistoryType", in: "query", required: false, type: "string", description: "actioned=true\u306E\u3068\u304D\u3001\u30A2\u30AF\u30B7\u30E7\u30F3\u5C65\u6B74\u7A2E\u5225\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002actioned=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13047
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "permitted=true\u306E\u3068\u304D\u3001\u6307\u5B9A\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002\u8FD4\u5374\u3059\u308B\u30CE\u30FC\u30C9\u3092\u53EF\u80FD\u306A\u30A2\u30AF\u30B7\u30E7\u30F3\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002permitted=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13048
|
+
{ name: "actioned", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u3057\u305F\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13049
|
+
{ name: "permitted", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" }
|
|
13050
|
+
]
|
|
13051
|
+
},
|
|
13052
|
+
"getProcessWithSpecificNodeActions": {
|
|
13053
|
+
httpMethod: "GET",
|
|
13054
|
+
path: "/api/v1/my/processes/nodeActions/{processId}/{nodeId}",
|
|
13055
|
+
params: [
|
|
13056
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
13057
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" },
|
|
13058
|
+
{ name: "processHistoryType", in: "query", required: false, type: "string", description: "actioned=true\u306E\u3068\u304D\u3001\u30A2\u30AF\u30B7\u30E7\u30F3\u5C65\u6B74\u7A2E\u5225\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002actioned=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13059
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "permitted=true\u306E\u3068\u304D\u3001\u6307\u5B9A\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002\u8FD4\u5374\u3059\u308B\u30CE\u30FC\u30C9\u3092\u53EF\u80FD\u306A\u30A2\u30AF\u30B7\u30E7\u30F3\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002permitted=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13060
|
+
{ name: "actioned", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u3057\u305F\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13061
|
+
{ name: "permitted", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" }
|
|
13062
|
+
]
|
|
13063
|
+
},
|
|
13064
|
+
"getRole": {
|
|
13065
|
+
httpMethod: "GET",
|
|
13066
|
+
path: "/api/v1/roles/{roleId}",
|
|
13067
|
+
params: [
|
|
13068
|
+
{ name: "roleId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13069
|
+
]
|
|
13070
|
+
},
|
|
13071
|
+
"getRootGroup": {
|
|
13072
|
+
httpMethod: "GET",
|
|
13073
|
+
path: "/api/v1/groups/root",
|
|
13074
|
+
params: []
|
|
13075
|
+
},
|
|
13076
|
+
"getSession": {
|
|
13077
|
+
httpMethod: "GET",
|
|
13078
|
+
path: "/api/v1/authentication/session",
|
|
13079
|
+
params: []
|
|
13080
|
+
},
|
|
13081
|
+
"getSlack": {
|
|
13082
|
+
httpMethod: "GET",
|
|
13083
|
+
path: "/api/v1/slack",
|
|
13084
|
+
params: []
|
|
13085
|
+
},
|
|
13086
|
+
"getTenantPlanStatus": {
|
|
13087
|
+
httpMethod: "GET",
|
|
13088
|
+
path: "/api/v1/account/subscriptions/tenantPlanStatus/{authTenantId}",
|
|
13089
|
+
params: [
|
|
13090
|
+
{ name: "authTenantId", in: "path", required: true, type: "string", description: "" }
|
|
13091
|
+
]
|
|
13092
|
+
},
|
|
13093
|
+
"getUser": {
|
|
13094
|
+
httpMethod: "GET",
|
|
13095
|
+
path: "/api/v1/users/{userId}",
|
|
13096
|
+
params: [
|
|
13097
|
+
{ name: "userId", in: "path", required: true, type: "string", description: "" }
|
|
13098
|
+
]
|
|
13099
|
+
},
|
|
13100
|
+
"getUserAuthInfo": {
|
|
13101
|
+
httpMethod: "GET",
|
|
13102
|
+
path: "/api/v1/users/{userId}/userAuthInfo",
|
|
13103
|
+
params: [
|
|
13104
|
+
{ name: "userId", in: "path", required: true, type: "string", description: "" }
|
|
13105
|
+
]
|
|
13106
|
+
},
|
|
13107
|
+
"getWorkflowModel": {
|
|
13108
|
+
httpMethod: "GET",
|
|
13109
|
+
path: "/api/v1/models/{modelId}",
|
|
13110
|
+
params: [
|
|
13111
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13112
|
+
]
|
|
13113
|
+
},
|
|
13114
|
+
"getWorkflowModelWithLatestModelHistory": {
|
|
13115
|
+
httpMethod: "GET",
|
|
13116
|
+
path: "/api/v1/models/{modelId}/edit",
|
|
13117
|
+
params: [
|
|
13118
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13119
|
+
]
|
|
13120
|
+
},
|
|
13121
|
+
"getWorkflowProcess": {
|
|
13122
|
+
httpMethod: "GET",
|
|
13123
|
+
path: "/api/v1/processes/{processId}",
|
|
13124
|
+
params: [
|
|
13125
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13126
|
+
]
|
|
13127
|
+
},
|
|
13128
|
+
"hasAccessToken": {
|
|
13129
|
+
httpMethod: "GET",
|
|
13130
|
+
path: "/api/v1/slack/hasAccessToken",
|
|
13131
|
+
params: []
|
|
13132
|
+
},
|
|
13133
|
+
"installSlackApp": {
|
|
13134
|
+
httpMethod: "POST",
|
|
13135
|
+
path: "/api/v1/slack/install",
|
|
13136
|
+
params: []
|
|
13137
|
+
},
|
|
13138
|
+
"listAccessToken": {
|
|
13139
|
+
httpMethod: "GET",
|
|
13140
|
+
path: "/api/v1/clientAuth",
|
|
13141
|
+
params: [
|
|
13142
|
+
{ name: "revoked", in: "query", required: false, type: "boolean", description: "\u53D6\u6D88\u30D5\u30E9\u30B0" }
|
|
13143
|
+
]
|
|
13144
|
+
},
|
|
13145
|
+
"listApis": {
|
|
13146
|
+
httpMethod: "GET",
|
|
13147
|
+
path: "/api/v1/development/apis",
|
|
13148
|
+
params: []
|
|
13149
|
+
},
|
|
13150
|
+
"listCorsOrigins": {
|
|
13151
|
+
httpMethod: "GET",
|
|
13152
|
+
path: "/api/v1/cors",
|
|
13153
|
+
params: [
|
|
13154
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13155
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13156
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13157
|
+
]
|
|
13158
|
+
},
|
|
13159
|
+
"listGroups": {
|
|
13160
|
+
httpMethod: "GET",
|
|
13161
|
+
path: "/api/v1/groups",
|
|
13162
|
+
params: [
|
|
13163
|
+
{ name: "parentId", in: "query", required: true, type: "string", description: "" },
|
|
13164
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13165
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13166
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13167
|
+
]
|
|
13168
|
+
},
|
|
13169
|
+
"listGroupsByUser": {
|
|
13170
|
+
httpMethod: "GET",
|
|
13171
|
+
path: "/api/v1/users/{userId}/groups",
|
|
13172
|
+
params: [
|
|
13173
|
+
{ name: "userId", in: "path", required: true, type: "string", description: "" },
|
|
13174
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13175
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13176
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13177
|
+
]
|
|
13178
|
+
},
|
|
13179
|
+
"listModelHistories": {
|
|
13180
|
+
httpMethod: "GET",
|
|
13181
|
+
path: "/api/v1/models/{modelId}/histories",
|
|
13182
|
+
params: [
|
|
13183
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13184
|
+
]
|
|
13185
|
+
},
|
|
13186
|
+
"listModelWithNodeActions": {
|
|
13187
|
+
httpMethod: "GET",
|
|
13188
|
+
path: "/api/v1/my/models/nodeActions",
|
|
13189
|
+
params: [
|
|
13190
|
+
{ name: "nodeActionType", in: "query", required: true, type: "string", description: "" },
|
|
13191
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13192
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13193
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13194
|
+
]
|
|
13195
|
+
},
|
|
13196
|
+
"listMyModels": {
|
|
13197
|
+
httpMethod: "GET",
|
|
13198
|
+
path: "/api/v1/my/models",
|
|
13199
|
+
params: [
|
|
13200
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "\u7279\u5B9A\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30E2\u30C7\u30EB\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13201
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13202
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13203
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13204
|
+
]
|
|
13205
|
+
},
|
|
13206
|
+
"listMyOrganizationsTenants": {
|
|
13207
|
+
httpMethod: "GET",
|
|
13208
|
+
path: "/api/v1/account/my/organization/tenants",
|
|
13209
|
+
params: []
|
|
13210
|
+
},
|
|
13211
|
+
"listMyPlans": {
|
|
13212
|
+
httpMethod: "GET",
|
|
13213
|
+
path: "/api/v1/account/subscriptions/plans",
|
|
13214
|
+
params: []
|
|
13215
|
+
},
|
|
13216
|
+
"listMyProcesses": {
|
|
13217
|
+
httpMethod: "GET",
|
|
13218
|
+
path: "/api/v1/my/processes",
|
|
13219
|
+
params: [
|
|
13220
|
+
{ name: "processHistoryType", in: "query", required: false, type: "string", description: "actioned=true\u306E\u3068\u304D\u3001\u30A2\u30AF\u30B7\u30E7\u30F3\u5C65\u6B74\u7A2E\u5225\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002actioned=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13221
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "permitted=true\u306E\u3068\u304D\u3001\u6307\u5B9A\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002permitted=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13222
|
+
{ name: "actioned", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u3057\u305F\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13223
|
+
{ name: "permitted", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13224
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13225
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13226
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13227
|
+
]
|
|
13228
|
+
},
|
|
13229
|
+
"listMySubscriptions": {
|
|
13230
|
+
httpMethod: "GET",
|
|
13231
|
+
path: "/api/v1/account/subscriptions",
|
|
13232
|
+
params: []
|
|
13233
|
+
},
|
|
13234
|
+
"listMySystemActionPolicies": {
|
|
13235
|
+
httpMethod: "GET",
|
|
13236
|
+
path: "/api/v1/my/systemActionPolicies",
|
|
13237
|
+
params: []
|
|
13238
|
+
},
|
|
13239
|
+
"listProcessWithNodeActions": {
|
|
13240
|
+
httpMethod: "GET",
|
|
13241
|
+
path: "/api/v1/my/processes/nodeActions",
|
|
13242
|
+
params: [
|
|
13243
|
+
{ name: "processHistoryType", in: "query", required: false, type: "string", description: "actioned=true\u306E\u3068\u304D\u3001\u30A2\u30AF\u30B7\u30E7\u30F3\u5C65\u6B74\u7A2E\u5225\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002actioned=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13244
|
+
{ name: "nodeActionType", in: "query", required: false, type: "string", description: "permitted=true\u306E\u3068\u304D\u3001\u6307\u5B9A\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002\u307E\u305F\u3001\u8FD4\u5374\u3059\u308B\u30CE\u30FC\u30C9\u3092\u53EF\u80FD\u306A\u30A2\u30AF\u30B7\u30E7\u30F3\u3067\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002permitted=false\u306E\u5834\u5408\u306F\u3001\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002" },
|
|
13245
|
+
{ name: "actioned", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u3057\u305F\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13246
|
+
{ name: "permitted", in: "query", required: false, type: "boolean", description: "true\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30A2\u30AF\u30B7\u30E7\u30F3\u53EF\u80FD\u306A\u30D7\u30ED\u30BB\u30B9\u306B\u7D5E\u308A\u8FBC\u307F\u307E\u3059\u3002" },
|
|
13247
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13248
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13249
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13250
|
+
]
|
|
13251
|
+
},
|
|
13252
|
+
"listRoles": {
|
|
13253
|
+
httpMethod: "GET",
|
|
13254
|
+
path: "/api/v1/roles",
|
|
13255
|
+
params: [
|
|
13256
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13257
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13258
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13259
|
+
]
|
|
13260
|
+
},
|
|
13261
|
+
"listRolesByUser": {
|
|
13262
|
+
httpMethod: "GET",
|
|
13263
|
+
path: "/api/v1/users/{userId}/roles",
|
|
13264
|
+
params: [
|
|
13265
|
+
{ name: "userId", in: "path", required: true, type: "string", description: "" },
|
|
13266
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13267
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13268
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13269
|
+
]
|
|
13270
|
+
},
|
|
13271
|
+
"listSettings": {
|
|
13272
|
+
httpMethod: "GET",
|
|
13273
|
+
path: "/api/v1/settings",
|
|
13274
|
+
params: []
|
|
13275
|
+
},
|
|
13276
|
+
"listSystemActionPolicies": {
|
|
13277
|
+
httpMethod: "GET",
|
|
13278
|
+
path: "/api/v1/actions/systemActionPolicies",
|
|
13279
|
+
params: [
|
|
13280
|
+
{ name: "userId", in: "query", required: true, type: "string", description: "" }
|
|
13281
|
+
]
|
|
13282
|
+
},
|
|
13283
|
+
"listUserModelWithNodeActions": {
|
|
13284
|
+
httpMethod: "GET",
|
|
13285
|
+
path: "/api/v1/actions/models",
|
|
13286
|
+
params: [
|
|
13287
|
+
{ name: "userId", in: "query", required: true, type: "string", description: "" },
|
|
13288
|
+
{ name: "nodeActionType", in: "query", required: true, type: "string", description: "" },
|
|
13289
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13290
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13291
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13292
|
+
]
|
|
13293
|
+
},
|
|
13294
|
+
"listUserProcessWithNodeActions": {
|
|
13295
|
+
httpMethod: "GET",
|
|
13296
|
+
path: "/api/v1/actions/processes",
|
|
13297
|
+
params: [
|
|
13298
|
+
{ name: "userId", in: "query", required: true, type: "string", description: "" },
|
|
13299
|
+
{ name: "nodeActionType", in: "query", required: true, type: "string", description: "" },
|
|
13300
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13301
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13302
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13303
|
+
]
|
|
13304
|
+
},
|
|
13305
|
+
"listUsers": {
|
|
13306
|
+
httpMethod: "GET",
|
|
13307
|
+
path: "/api/v1/users",
|
|
13308
|
+
params: [
|
|
13309
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13310
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13311
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13312
|
+
]
|
|
13313
|
+
},
|
|
13314
|
+
"listWorkflowModels": {
|
|
13315
|
+
httpMethod: "GET",
|
|
13316
|
+
path: "/api/v1/models",
|
|
13317
|
+
params: [
|
|
13318
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13319
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13320
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13321
|
+
]
|
|
13322
|
+
},
|
|
13323
|
+
"listWorkflowProcesses": {
|
|
13324
|
+
httpMethod: "GET",
|
|
13325
|
+
path: "/api/v1/processes",
|
|
13326
|
+
params: [
|
|
13327
|
+
{ name: "filter", in: "query", required: false, type: "string", description: '\u691C\u7D22\u6761\u4EF6<br>\u4EE5\u4E0B\u306E\u3088\u3046\u306A\u6587\u5B57\u5217\u3092\u53D7\u3051\u53D6\u3063\u3066\u691C\u7D22\u6761\u4EF6\u3068\u3057\u307E\u3059\u3002<br>{"name":{"equals":"example"},"price":{"lt":1000}}', example: '{"name":{"equals":"example"}}' },
|
|
13328
|
+
{ name: "skip", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u6642\u306B\u53D6\u5F97\u305B\u305A\u30B9\u30AD\u30C3\u30D7\u3059\u308B\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F1\u4EF6\u76EE\u304B\u3089\u53D6\u5F97\u3057\u307E\u3059\u3002" },
|
|
13329
|
+
{ name: "take", in: "query", required: false, type: "string", description: "\u53D6\u5F97\u4EF6\u6570<br>\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u5168\u4EF6\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002" }
|
|
13330
|
+
]
|
|
13331
|
+
},
|
|
13332
|
+
"listWorkflowProcessHistories": {
|
|
13333
|
+
httpMethod: "GET",
|
|
13334
|
+
path: "/api/v1/processes/{processId}/histories",
|
|
13335
|
+
params: [
|
|
13336
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" }
|
|
13337
|
+
]
|
|
13338
|
+
},
|
|
13339
|
+
"publishWorkflowModel": {
|
|
13340
|
+
httpMethod: "PUT",
|
|
13341
|
+
path: "/api/v1/models/{modelId}/publish",
|
|
13342
|
+
params: [
|
|
13343
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13344
|
+
]
|
|
13345
|
+
},
|
|
13346
|
+
"rejectWorkflowProcess": {
|
|
13347
|
+
httpMethod: "POST",
|
|
13348
|
+
path: "/api/v1/engine/reject/{processId}",
|
|
13349
|
+
params: [
|
|
13350
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" }
|
|
13351
|
+
]
|
|
13352
|
+
},
|
|
13353
|
+
"rejectWorkflowProcessWithNodeId": {
|
|
13354
|
+
httpMethod: "POST",
|
|
13355
|
+
path: "/api/v1/engine/reject/{processId}/{nodeId}",
|
|
13356
|
+
params: [
|
|
13357
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
13358
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" }
|
|
13359
|
+
]
|
|
13360
|
+
},
|
|
13361
|
+
"restoreWorkflowProcessHistory": {
|
|
13362
|
+
httpMethod: "POST",
|
|
13363
|
+
path: "/api/v1/processes/{processId}/restore-history/{historyId}",
|
|
13364
|
+
params: [
|
|
13365
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" },
|
|
13366
|
+
{ name: "historyId", in: "path", required: true, type: "string", description: "", example: "123" }
|
|
13367
|
+
],
|
|
13368
|
+
requestBody: {
|
|
13369
|
+
dtoName: "restoreHistoryDto",
|
|
13370
|
+
properties: [
|
|
13371
|
+
{ name: "scope", type: "object", description: "\u5FA9\u5143\u30B9\u30B3\u30FC\u30D7\n- all: \u5168\u3066\u306E\u60C5\u5831\u3092\u5FA9\u5143\uFF08\u30C7\u30D5\u30A9\u30EB\u30C8\uFF09\n- data: \u30C7\u30FC\u30BF\u306E\u307F\u3092\u5FA9\u5143\n- state: \u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u72B6\u614B\u306E\u307F\u3092\u5FA9\u5143", required: false, example: "all" }
|
|
13372
|
+
]
|
|
13373
|
+
}
|
|
13374
|
+
},
|
|
13375
|
+
"revertWorkflowProcess": {
|
|
13376
|
+
httpMethod: "POST",
|
|
13377
|
+
path: "/api/v1/engine/revert/{processId}/{nodeId}",
|
|
13378
|
+
params: [
|
|
13379
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
13380
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" }
|
|
13381
|
+
]
|
|
13382
|
+
},
|
|
13383
|
+
"revokeAccessToken": {
|
|
13384
|
+
httpMethod: "POST",
|
|
13385
|
+
path: "/api/v1/slack/revoke",
|
|
13386
|
+
params: []
|
|
13387
|
+
},
|
|
13388
|
+
"revokeToken": {
|
|
13389
|
+
httpMethod: "POST",
|
|
13390
|
+
path: "/api/v1/clientAuth/oauth/revoke",
|
|
13391
|
+
params: []
|
|
13392
|
+
},
|
|
13393
|
+
"saveWorkflowModel": {
|
|
13394
|
+
httpMethod: "PUT",
|
|
13395
|
+
path: "/api/v1/models/{modelId}",
|
|
13396
|
+
params: [
|
|
13397
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13398
|
+
],
|
|
13399
|
+
requestBody: {
|
|
13400
|
+
dtoName: "updateModelDto",
|
|
13401
|
+
properties: [
|
|
13402
|
+
{ name: "name", type: "string", description: "\u30E2\u30C7\u30EB\u540D", required: true, example: "\u7D4C\u8CBB\u7533\u8ACB\u30FB\u627F\u8A8D\u30D5\u30ED\u30FC" },
|
|
13403
|
+
{ name: "description", type: "string", description: "\u8AAC\u660E", required: false, example: "\u7D4C\u8CBB\u7533\u8ACB\u306E\u627F\u8A8D\u3092\u884C\u3044\u307E\u3059\u3002" },
|
|
13404
|
+
{ name: "definition", type: "object", description: "\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u5B9A\u7FA9", required: true },
|
|
13405
|
+
{ name: "dataSchema", type: "object", description: "\u30C7\u30FC\u30BF\u30B9\u30AD\u30FC\u30DE", required: true },
|
|
13406
|
+
{ name: "policy", type: "object", description: "\u30C7\u30FC\u30BF\u30A2\u30AF\u30BB\u30B9\u30DD\u30EA\u30B7\u30FC", required: true }
|
|
13407
|
+
]
|
|
13408
|
+
}
|
|
13409
|
+
},
|
|
13410
|
+
"saveWorkflowProcess": {
|
|
13411
|
+
httpMethod: "PUT",
|
|
13412
|
+
path: "/api/v1/engine/save/{processId}",
|
|
13413
|
+
params: [
|
|
13414
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" }
|
|
13415
|
+
]
|
|
13416
|
+
},
|
|
13417
|
+
"saveWorkflowProcessWithNodeId": {
|
|
13418
|
+
httpMethod: "PUT",
|
|
13419
|
+
path: "/api/v1/engine/save/{processId}/{nodeId}",
|
|
13420
|
+
params: [
|
|
13421
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
13422
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" }
|
|
13423
|
+
]
|
|
13424
|
+
},
|
|
13425
|
+
"sendInitializeMyPasswordEmail": {
|
|
13426
|
+
httpMethod: "POST",
|
|
13427
|
+
path: "/api/v1/authentication/sendInitializePasswordEmail",
|
|
13428
|
+
params: []
|
|
13429
|
+
},
|
|
13430
|
+
"sendInitializePasswordEmail": {
|
|
13431
|
+
httpMethod: "POST",
|
|
13432
|
+
path: "/api/v1/authentication/sendInitializePasswordEmail/{email}",
|
|
13433
|
+
params: [
|
|
13434
|
+
{ name: "email", in: "path", required: true, type: "string", description: "" }
|
|
13435
|
+
]
|
|
13436
|
+
},
|
|
13437
|
+
"signInWithEmailAndPassword": {
|
|
13438
|
+
httpMethod: "POST",
|
|
13439
|
+
path: "/api/v1/authentication/signin",
|
|
13440
|
+
params: [],
|
|
13441
|
+
requestBody: {
|
|
13442
|
+
dtoName: "signInDto",
|
|
13443
|
+
properties: [
|
|
13444
|
+
{ name: "authTenantId", type: "string", description: "Auth\u30C6\u30CA\u30F3\u30C8ID", required: true, example: "mytenant-xhwpda" },
|
|
13445
|
+
{ name: "email", type: "string", description: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", required: true, example: "user@acomo.app" },
|
|
13446
|
+
{ name: "password", type: "string", description: "\u30D1\u30B9\u30EF\u30FC\u30C9", required: true, example: "password" }
|
|
13447
|
+
]
|
|
13448
|
+
}
|
|
13449
|
+
},
|
|
13450
|
+
"signOut": {
|
|
13451
|
+
httpMethod: "POST",
|
|
13452
|
+
path: "/api/v1/authentication/signout",
|
|
13453
|
+
params: []
|
|
13454
|
+
},
|
|
13455
|
+
"startWorkflowProcess": {
|
|
13456
|
+
httpMethod: "POST",
|
|
13457
|
+
path: "/api/v1/engine/start/{modelId}",
|
|
13458
|
+
params: [
|
|
13459
|
+
{ name: "modelId", in: "path", required: true, type: "string", description: "" }
|
|
13460
|
+
]
|
|
13461
|
+
},
|
|
13462
|
+
"submitWorkflowProcess": {
|
|
13463
|
+
httpMethod: "POST",
|
|
13464
|
+
path: "/api/v1/engine/submit/{processId}",
|
|
13465
|
+
params: [
|
|
13466
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" }
|
|
13467
|
+
]
|
|
13468
|
+
},
|
|
13469
|
+
"submitWorkflowProcessWithNodeId": {
|
|
13470
|
+
httpMethod: "POST",
|
|
13471
|
+
path: "/api/v1/engine/submit/{processId}/{nodeId}",
|
|
13472
|
+
params: [
|
|
13473
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "" },
|
|
13474
|
+
{ name: "nodeId", in: "path", required: true, type: "string", description: "" }
|
|
13475
|
+
]
|
|
13476
|
+
},
|
|
13477
|
+
"updateAccessToken": {
|
|
13478
|
+
httpMethod: "PUT",
|
|
13479
|
+
path: "/api/v1/clientAuth/{clientAccessTokenId}",
|
|
13480
|
+
params: [
|
|
13481
|
+
{ name: "clientAccessTokenId", in: "path", required: true, type: "string", description: "" }
|
|
13482
|
+
]
|
|
13483
|
+
},
|
|
13484
|
+
"updateCorsOrigins": {
|
|
13485
|
+
httpMethod: "POST",
|
|
13486
|
+
path: "/api/v1/cors/{id}",
|
|
13487
|
+
params: [
|
|
13488
|
+
{ name: "id", in: "path", required: true, type: "string", description: "" }
|
|
13489
|
+
],
|
|
13490
|
+
requestBody: {
|
|
13491
|
+
dtoName: "updateCorsAllowedOriginDto",
|
|
13492
|
+
properties: [
|
|
13493
|
+
{ name: "url", type: "string", description: "", required: true },
|
|
13494
|
+
{ name: "description", type: "string", description: "", required: true }
|
|
13495
|
+
]
|
|
13496
|
+
}
|
|
13497
|
+
},
|
|
13498
|
+
"updateGroup": {
|
|
13499
|
+
httpMethod: "PUT",
|
|
13500
|
+
path: "/api/v1/groups/{groupId}",
|
|
13501
|
+
params: [
|
|
13502
|
+
{ name: "groupId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13503
|
+
]
|
|
13504
|
+
},
|
|
13505
|
+
"updateMyOrganization": {
|
|
13506
|
+
httpMethod: "PUT",
|
|
13507
|
+
path: "/api/v1/account/my/organization",
|
|
13508
|
+
params: [],
|
|
13509
|
+
requestBody: {
|
|
13510
|
+
dtoName: "updateOrganizationDto",
|
|
13511
|
+
properties: [
|
|
13512
|
+
{ name: "name", type: "string", description: "\u7D44\u7E54\u540D", required: true, example: "acomo.inc" }
|
|
13513
|
+
]
|
|
13514
|
+
}
|
|
13515
|
+
},
|
|
13516
|
+
"updateMyOrganizationsTenant": {
|
|
13517
|
+
httpMethod: "PUT",
|
|
13518
|
+
path: "/api/v1/account/my/organization/tenants/{tenantId}",
|
|
13519
|
+
params: [
|
|
13520
|
+
{ name: "tenantId", in: "path", required: true, type: "string", description: "" }
|
|
13521
|
+
],
|
|
13522
|
+
requestBody: {
|
|
13523
|
+
dtoName: "updateTenantDto",
|
|
13524
|
+
properties: [
|
|
13525
|
+
{ name: "name", type: "string", description: "\u30C6\u30CA\u30F3\u30C8\u540D", required: true }
|
|
13526
|
+
]
|
|
13527
|
+
}
|
|
13528
|
+
},
|
|
13529
|
+
"updateRole": {
|
|
13530
|
+
httpMethod: "PUT",
|
|
13531
|
+
path: "/api/v1/roles/{roleId}",
|
|
13532
|
+
params: [
|
|
13533
|
+
{ name: "roleId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13534
|
+
]
|
|
13535
|
+
},
|
|
13536
|
+
"updateSettings": {
|
|
13537
|
+
httpMethod: "PUT",
|
|
13538
|
+
path: "/api/v1/settings",
|
|
13539
|
+
params: []
|
|
13540
|
+
},
|
|
13541
|
+
"updateSlack": {
|
|
13542
|
+
httpMethod: "PUT",
|
|
13543
|
+
path: "/api/v1/slack",
|
|
13544
|
+
params: []
|
|
13545
|
+
},
|
|
13546
|
+
"updateUser": {
|
|
13547
|
+
httpMethod: "PUT",
|
|
13548
|
+
path: "/api/v1/users/{userId}",
|
|
13549
|
+
params: [
|
|
13550
|
+
{ name: "userId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13551
|
+
]
|
|
13552
|
+
},
|
|
13553
|
+
"updateWorkflowProcess": {
|
|
13554
|
+
httpMethod: "PUT",
|
|
13555
|
+
path: "/api/v1/processes/{processId}",
|
|
13556
|
+
params: [
|
|
13557
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13558
|
+
],
|
|
13559
|
+
requestBody: {
|
|
13560
|
+
dtoName: "updateProcessDto",
|
|
13561
|
+
properties: [
|
|
13562
|
+
{ name: "name", type: "string", description: "\u30D7\u30ED\u30BB\u30B9\u540D", required: false, example: "\u7D4C\u8CBB\u7533\u8ACB: A\u3055\u3093" },
|
|
13563
|
+
{ name: "description", type: "string", description: "\u8AAC\u660E", required: false, example: "2023\u5E743\u6708\u5206\u306E\u7D4C\u8CBB\u7533\u8ACB\u3067\u3059\u3002" }
|
|
13564
|
+
]
|
|
13565
|
+
}
|
|
13566
|
+
},
|
|
13567
|
+
"uploadMyProcessDataFile": {
|
|
13568
|
+
httpMethod: "POST",
|
|
13569
|
+
path: "/api/v1/my/processes/{processId}/files/upload",
|
|
13570
|
+
params: [
|
|
13571
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13572
|
+
],
|
|
13573
|
+
requestBody: {
|
|
13574
|
+
dtoName: "createProcessFileDto",
|
|
13575
|
+
properties: [
|
|
13576
|
+
{ name: "property", type: "string", description: "\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30C7\u30FC\u30BF\u9805\u76EE\u540D\uFF09", required: true, example: "attachmentFiles" },
|
|
13577
|
+
{ name: "fileName", type: "string", description: "\u30D5\u30A1\u30A4\u30EB\u540D", required: true, example: "\u9818\u53CE\u66F8.pdf" }
|
|
13578
|
+
]
|
|
13579
|
+
}
|
|
13580
|
+
},
|
|
13581
|
+
"uploadProcessDataFile": {
|
|
13582
|
+
httpMethod: "POST",
|
|
13583
|
+
path: "/api/v1/processes/{processId}/files/upload",
|
|
13584
|
+
params: [
|
|
13585
|
+
{ name: "processId", in: "path", required: true, type: "string", description: "", example: "1" }
|
|
13586
|
+
],
|
|
13587
|
+
requestBody: {
|
|
13588
|
+
dtoName: "createProcessFileDto",
|
|
13589
|
+
properties: [
|
|
13590
|
+
{ name: "property", type: "string", description: "\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30C7\u30FC\u30BF\u9805\u76EE\u540D\uFF09", required: true, example: "attachmentFiles" },
|
|
13591
|
+
{ name: "fileName", type: "string", description: "\u30D5\u30A1\u30A4\u30EB\u540D", required: true, example: "\u9818\u53CE\u66F8.pdf" }
|
|
13592
|
+
]
|
|
13593
|
+
}
|
|
13594
|
+
},
|
|
13595
|
+
"validateExpression": {
|
|
13596
|
+
httpMethod: "GET",
|
|
13597
|
+
path: "/api/v1/models/validate/{expressionJson}",
|
|
13598
|
+
params: [
|
|
13599
|
+
{ name: "expressionJson", in: "path", required: true, type: "string", description: "" }
|
|
13600
|
+
]
|
|
13601
|
+
}
|
|
13602
|
+
};
|
|
13603
|
+
|
|
13604
|
+
// src/lib/help-schema.ts
|
|
13605
|
+
var GLOBAL_OPTIONS = [
|
|
13606
|
+
{
|
|
13607
|
+
name: "format",
|
|
13608
|
+
type: "string",
|
|
13609
|
+
description: "\u51FA\u529B\u5F62\u5F0F\uFF08API \u306E Accept \u30D8\u30C3\u30C0\u30FC\uFF09\u3002\u30D1\u30A4\u30D7\u6642\u306F json \u304C\u30C7\u30D5\u30A9\u30EB\u30C8\u3002",
|
|
13610
|
+
choices: ["text", "json"],
|
|
13611
|
+
default: void 0
|
|
13612
|
+
},
|
|
13613
|
+
{ name: "help", type: "boolean", description: "Show help" },
|
|
13614
|
+
{ name: "version", type: "boolean", description: "Show version number" }
|
|
13615
|
+
];
|
|
13616
|
+
function buildRootHelp(commands) {
|
|
13617
|
+
return {
|
|
13618
|
+
command: "acomo",
|
|
13619
|
+
kind: "root",
|
|
13620
|
+
summary: "acomo \u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u7BA1\u7406\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u306E\u516C\u5F0F CLI",
|
|
13621
|
+
usage: "acomo <command> [options]",
|
|
13622
|
+
commands,
|
|
13623
|
+
globalOptions: GLOBAL_OPTIONS
|
|
13624
|
+
};
|
|
13625
|
+
}
|
|
13626
|
+
function buildCommandHelp(params) {
|
|
13627
|
+
return {
|
|
13628
|
+
command: params.command,
|
|
13629
|
+
kind: params.kind,
|
|
13630
|
+
summary: params.summary,
|
|
13631
|
+
usage: params.usage,
|
|
13632
|
+
positionals: params.positionals,
|
|
13633
|
+
options: params.options,
|
|
13634
|
+
inputSchema: params.inputSchema,
|
|
13635
|
+
minimalArgs: params.minimalArgs,
|
|
13636
|
+
exampleCommand: params.exampleCommand
|
|
13637
|
+
};
|
|
13638
|
+
}
|
|
13639
|
+
|
|
12561
13640
|
// src/index.ts
|
|
12562
13641
|
var import_meta2 = {};
|
|
12563
13642
|
var scriptDir = typeof __dirname !== "undefined" ? __dirname : (0, import_path6.dirname)((0, import_url2.fileURLToPath)(import_meta2.url));
|
|
13643
|
+
var GLOBAL_OPTIONS2 = [
|
|
13644
|
+
{ name: "format", type: "string", description: "\u51FA\u529B\u5F62\u5F0F\uFF08API \u306E Accept \u30D8\u30C3\u30C0\u30FC\uFF09\u3002\u30D1\u30A4\u30D7\u6642\u306F json \u304C\u30C7\u30D5\u30A9\u30EB\u30C8\u3002", choices: ["text", "json"] },
|
|
13645
|
+
{ name: "help", type: "boolean", description: "Show help" },
|
|
13646
|
+
{ name: "version", type: "boolean", description: "Show version number" }
|
|
13647
|
+
];
|
|
13648
|
+
var OPTIONS_WITH_VALUE = /* @__PURE__ */ new Set(["-f", "--format", "--url", "--tenant-id", "--token", "--email", "--password"]);
|
|
13649
|
+
function getHelpRequestedCommand(argv) {
|
|
13650
|
+
const args = argv.slice(2);
|
|
13651
|
+
let helpRequested = false;
|
|
13652
|
+
let command5 = null;
|
|
13653
|
+
let i = 0;
|
|
13654
|
+
while (i < args.length) {
|
|
13655
|
+
const a = args[i];
|
|
13656
|
+
if (a === "--help" || a === "-h") {
|
|
13657
|
+
helpRequested = true;
|
|
13658
|
+
i += 1;
|
|
13659
|
+
continue;
|
|
13660
|
+
}
|
|
13661
|
+
if (a.startsWith("-")) {
|
|
13662
|
+
if (OPTIONS_WITH_VALUE.has(a)) i += 1;
|
|
13663
|
+
i += 1;
|
|
13664
|
+
continue;
|
|
13665
|
+
}
|
|
13666
|
+
if (command5 === null) command5 = a;
|
|
13667
|
+
i += 1;
|
|
13668
|
+
}
|
|
13669
|
+
return { help: helpRequested, command: helpRequested ? command5 : null };
|
|
13670
|
+
}
|
|
13671
|
+
function getOperationRequestSchema(operationId) {
|
|
13672
|
+
return operationParams[operationId];
|
|
13673
|
+
}
|
|
13674
|
+
var EXIT_CODES = {
|
|
13675
|
+
GENERAL: 1,
|
|
13676
|
+
AUTH: 2,
|
|
13677
|
+
VALIDATION: 3,
|
|
13678
|
+
NOT_FOUND: 4
|
|
13679
|
+
};
|
|
13680
|
+
function isJsonOutput() {
|
|
13681
|
+
const args = process.argv;
|
|
13682
|
+
const fIdx = args.indexOf("--format");
|
|
13683
|
+
const fAliasIdx = args.indexOf("-f");
|
|
13684
|
+
if (fIdx !== -1 && args[fIdx + 1] === "json") return true;
|
|
13685
|
+
if (fAliasIdx !== -1 && args[fAliasIdx + 1] === "json") return true;
|
|
13686
|
+
if (!process.stdout.isTTY && fIdx === -1 && fAliasIdx === -1) return true;
|
|
13687
|
+
return false;
|
|
13688
|
+
}
|
|
12564
13689
|
async function resolveParams(positional) {
|
|
12565
13690
|
if (positional) {
|
|
12566
13691
|
try {
|
|
@@ -12585,38 +13710,257 @@ async function resolveParams(positional) {
|
|
|
12585
13710
|
}
|
|
12586
13711
|
return void 0;
|
|
12587
13712
|
}
|
|
13713
|
+
function placeholderForType(type) {
|
|
13714
|
+
if (type === "string") return "";
|
|
13715
|
+
if (type === "number" || type === "integer") return 0;
|
|
13716
|
+
if (type === "boolean") return false;
|
|
13717
|
+
if (type.includes("[]")) return [];
|
|
13718
|
+
if (type === "object" || /[A-Z]/.test(type) || type.endsWith("Dto")) return {};
|
|
13719
|
+
return "";
|
|
13720
|
+
}
|
|
13721
|
+
function buildExampleParams(params) {
|
|
13722
|
+
const out = {};
|
|
13723
|
+
for (const p of params) {
|
|
13724
|
+
if (p.required) out[p.name] = placeholderForType(p.type);
|
|
13725
|
+
}
|
|
13726
|
+
return out;
|
|
13727
|
+
}
|
|
13728
|
+
function buildExampleBody(properties) {
|
|
13729
|
+
const out = {};
|
|
13730
|
+
for (const p of properties) {
|
|
13731
|
+
if (p.required) out[p.name] = placeholderForType(p.type);
|
|
13732
|
+
}
|
|
13733
|
+
return out;
|
|
13734
|
+
}
|
|
13735
|
+
function normalizeDescription(desc) {
|
|
13736
|
+
return desc.replace(/<br\s*\/?>/gi, "\n").trim();
|
|
13737
|
+
}
|
|
13738
|
+
function buildRootHelpDescriptor() {
|
|
13739
|
+
const commands = [
|
|
13740
|
+
{ name: command2(), kind: "builtin-command", summary: describe() },
|
|
13741
|
+
{ name: command3(), kind: "builtin-command", summary: describe2() },
|
|
13742
|
+
{ name: "config", kind: "builtin-command", summary: describe3() }
|
|
13743
|
+
];
|
|
13744
|
+
const config = resolveConfig();
|
|
13745
|
+
if (config) {
|
|
13746
|
+
try {
|
|
13747
|
+
const configuration = createConfiguration();
|
|
13748
|
+
const registry = buildOperationRegistry(configuration);
|
|
13749
|
+
for (const [operationId] of registry) {
|
|
13750
|
+
const summary = operationDescriptions[operationId] ?? operationId;
|
|
13751
|
+
commands.push({ name: operationId, kind: "api-command", summary });
|
|
13752
|
+
}
|
|
13753
|
+
} catch {
|
|
13754
|
+
}
|
|
13755
|
+
}
|
|
13756
|
+
return buildRootHelp(commands);
|
|
13757
|
+
}
|
|
13758
|
+
function buildBuiltinHelpDescriptor(cmd) {
|
|
13759
|
+
const scriptName = "acomo";
|
|
13760
|
+
let summary;
|
|
13761
|
+
let positionals = [];
|
|
13762
|
+
let options;
|
|
13763
|
+
let exampleCommand = null;
|
|
13764
|
+
if (cmd === command2()) {
|
|
13765
|
+
summary = describe();
|
|
13766
|
+
options = [...helpOptions, ...GLOBAL_OPTIONS2];
|
|
13767
|
+
exampleCommand = "acomo login --tenant-id <id> --token <token>";
|
|
13768
|
+
} else if (cmd === command3()) {
|
|
13769
|
+
summary = describe2();
|
|
13770
|
+
options = [...helpOptions2, ...GLOBAL_OPTIONS2];
|
|
13771
|
+
exampleCommand = "acomo logout";
|
|
13772
|
+
} else if (cmd === "config") {
|
|
13773
|
+
summary = describe3();
|
|
13774
|
+
positionals = [...helpPositionals];
|
|
13775
|
+
options = [...helpOptions3, ...GLOBAL_OPTIONS2];
|
|
13776
|
+
exampleCommand = "acomo config show";
|
|
13777
|
+
} else {
|
|
13778
|
+
return null;
|
|
13779
|
+
}
|
|
13780
|
+
return buildCommandHelp({
|
|
13781
|
+
command: cmd,
|
|
13782
|
+
kind: "builtin-command",
|
|
13783
|
+
summary,
|
|
13784
|
+
usage: `${scriptName} ${cmd}${positionals.length ? " <subcommand> [key] [value]" : " [options]"}`,
|
|
13785
|
+
positionals,
|
|
13786
|
+
options,
|
|
13787
|
+
inputSchema: null,
|
|
13788
|
+
minimalArgs: null,
|
|
13789
|
+
exampleCommand
|
|
13790
|
+
});
|
|
13791
|
+
}
|
|
13792
|
+
function buildApiCommandHelpDescriptor(operationId) {
|
|
13793
|
+
const paramInfo = getOperationRequestSchema(operationId);
|
|
13794
|
+
if (!paramInfo) return null;
|
|
13795
|
+
const summary = operationDescriptions[operationId] ?? operationId;
|
|
13796
|
+
const toParamEntry = (p) => {
|
|
13797
|
+
const entry = {
|
|
13798
|
+
name: p.name,
|
|
13799
|
+
type: p.type,
|
|
13800
|
+
required: p.required,
|
|
13801
|
+
description: normalizeDescription(p.description || "")
|
|
13802
|
+
};
|
|
13803
|
+
if (p.example !== void 0) entry.example = p.example;
|
|
13804
|
+
return entry;
|
|
13805
|
+
};
|
|
13806
|
+
const pathParams = paramInfo.params.filter((p) => p.in === "path").map(toParamEntry);
|
|
13807
|
+
const queryParams = paramInfo.params.filter((p) => p.in === "query").map(toParamEntry);
|
|
13808
|
+
const requestBody = paramInfo.requestBody ? {
|
|
13809
|
+
dtoName: paramInfo.requestBody.dtoName,
|
|
13810
|
+
properties: paramInfo.requestBody.properties.map((p) => {
|
|
13811
|
+
const entry = {
|
|
13812
|
+
name: p.name,
|
|
13813
|
+
type: p.type,
|
|
13814
|
+
required: p.required,
|
|
13815
|
+
description: normalizeDescription(p.description || "")
|
|
13816
|
+
};
|
|
13817
|
+
if (p.example !== void 0) entry.example = p.example;
|
|
13818
|
+
return entry;
|
|
13819
|
+
})
|
|
13820
|
+
} : null;
|
|
13821
|
+
const minimalArgs = { ...buildExampleParams(paramInfo.params) };
|
|
13822
|
+
if (paramInfo.requestBody) {
|
|
13823
|
+
const bodyExample = buildExampleBody(paramInfo.requestBody.properties);
|
|
13824
|
+
for (const [k, v] of Object.entries(bodyExample)) minimalArgs[k] = v;
|
|
13825
|
+
}
|
|
13826
|
+
const exampleCommand = `acomo ${operationId} '${JSON.stringify(minimalArgs)}'`;
|
|
13827
|
+
const positionals = [
|
|
13828
|
+
{ name: "params", type: "object", required: false, description: "JSON \u30D1\u30E9\u30E1\u30FC\u30BF" }
|
|
13829
|
+
];
|
|
13830
|
+
return buildCommandHelp({
|
|
13831
|
+
command: operationId,
|
|
13832
|
+
kind: "api-command",
|
|
13833
|
+
summary,
|
|
13834
|
+
usage: `acomo ${operationId} [params]`,
|
|
13835
|
+
positionals,
|
|
13836
|
+
options: GLOBAL_OPTIONS2,
|
|
13837
|
+
inputSchema: {
|
|
13838
|
+
pathParams,
|
|
13839
|
+
queryParams,
|
|
13840
|
+
requestBody,
|
|
13841
|
+
stdinSupported: true,
|
|
13842
|
+
positionalJsonSupported: true
|
|
13843
|
+
},
|
|
13844
|
+
minimalArgs,
|
|
13845
|
+
exampleCommand
|
|
13846
|
+
});
|
|
13847
|
+
}
|
|
12588
13848
|
function handleError(error) {
|
|
13849
|
+
const jsonMode = isJsonOutput();
|
|
12589
13850
|
if (error.name === "ResponseError") {
|
|
12590
|
-
|
|
13851
|
+
const status = error.response?.status || 0;
|
|
13852
|
+
const exitCode = status === 401 || status === 403 ? EXIT_CODES.AUTH : status === 404 ? EXIT_CODES.NOT_FOUND : EXIT_CODES.GENERAL;
|
|
12591
13853
|
if (error.response) {
|
|
12592
13854
|
const contentType = error.response.headers?.get?.("content-type") ?? "";
|
|
12593
|
-
const bodyPromise = contentType.includes("text/plain") ? error.response.text() : error.response.json().
|
|
12594
|
-
bodyPromise.then((body) =>
|
|
12595
|
-
if (
|
|
12596
|
-
|
|
13855
|
+
const bodyPromise = contentType.includes("text/plain") ? error.response.text().then((t) => ({ message: t })) : error.response.json().catch(() => ({ message: error.message }));
|
|
13856
|
+
bodyPromise.then((body) => {
|
|
13857
|
+
if (jsonMode) {
|
|
13858
|
+
const errObj = {
|
|
13859
|
+
error: true,
|
|
13860
|
+
code: status === 401 ? "AUTH_REQUIRED" : status === 403 ? "FORBIDDEN" : status === 404 ? "NOT_FOUND" : "API_ERROR",
|
|
13861
|
+
status,
|
|
13862
|
+
message: body.message ?? error.message,
|
|
13863
|
+
...status === 401 ? { suggestion: "`acomo login` \u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" } : {}
|
|
13864
|
+
};
|
|
13865
|
+
console.error(JSON.stringify(errObj));
|
|
13866
|
+
} else {
|
|
13867
|
+
console.error(`API \u30A8\u30E9\u30FC (${status})`);
|
|
13868
|
+
console.error(
|
|
13869
|
+
typeof body === "string" ? body : JSON.stringify(body, null, 2)
|
|
13870
|
+
);
|
|
13871
|
+
if (status === 401) {
|
|
13872
|
+
console.error("\n`acomo login` \u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002");
|
|
13873
|
+
}
|
|
12597
13874
|
}
|
|
12598
|
-
|
|
13875
|
+
}).catch(() => {
|
|
13876
|
+
if (jsonMode) {
|
|
13877
|
+
console.error(
|
|
13878
|
+
JSON.stringify({
|
|
13879
|
+
error: true,
|
|
13880
|
+
code: "API_ERROR",
|
|
13881
|
+
status,
|
|
13882
|
+
message: error.message
|
|
13883
|
+
})
|
|
13884
|
+
);
|
|
13885
|
+
} else {
|
|
13886
|
+
console.error(error.message);
|
|
13887
|
+
}
|
|
13888
|
+
}).finally(() => {
|
|
13889
|
+
process.exit(exitCode);
|
|
12599
13890
|
});
|
|
12600
|
-
return process.exit(
|
|
13891
|
+
return process.exit(exitCode);
|
|
12601
13892
|
}
|
|
12602
13893
|
}
|
|
12603
13894
|
if (error.name === "RequiredError") {
|
|
12604
|
-
|
|
12605
|
-
|
|
13895
|
+
if (jsonMode) {
|
|
13896
|
+
console.error(
|
|
13897
|
+
JSON.stringify({
|
|
13898
|
+
error: true,
|
|
13899
|
+
code: "VALIDATION_ERROR",
|
|
13900
|
+
message: error.message,
|
|
13901
|
+
suggestion: "\u5FC5\u9808\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002`acomo <command> --help` \u3067\u30D1\u30E9\u30E1\u30FC\u30BF\u60C5\u5831\u3092\u78BA\u8A8D\u3067\u304D\u307E\u3059\u3002"
|
|
13902
|
+
})
|
|
13903
|
+
);
|
|
13904
|
+
} else {
|
|
13905
|
+
console.error(`\u5FC5\u9808\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059: ${error.message}`);
|
|
13906
|
+
}
|
|
13907
|
+
process.exit(EXIT_CODES.VALIDATION);
|
|
13908
|
+
}
|
|
13909
|
+
if (error.message?.startsWith("\u7121\u52B9\u306A JSON")) {
|
|
13910
|
+
if (jsonMode) {
|
|
13911
|
+
console.error(
|
|
13912
|
+
JSON.stringify({
|
|
13913
|
+
error: true,
|
|
13914
|
+
code: "INVALID_INPUT",
|
|
13915
|
+
message: error.message
|
|
13916
|
+
})
|
|
13917
|
+
);
|
|
13918
|
+
} else {
|
|
13919
|
+
console.error(`\u30A8\u30E9\u30FC: ${error.message}`);
|
|
13920
|
+
}
|
|
13921
|
+
process.exit(EXIT_CODES.VALIDATION);
|
|
13922
|
+
}
|
|
13923
|
+
if (jsonMode) {
|
|
13924
|
+
console.error(
|
|
13925
|
+
JSON.stringify({
|
|
13926
|
+
error: true,
|
|
13927
|
+
code: "UNKNOWN_ERROR",
|
|
13928
|
+
message: error.message
|
|
13929
|
+
})
|
|
13930
|
+
);
|
|
13931
|
+
} else {
|
|
13932
|
+
console.error(`\u30A8\u30E9\u30FC: ${error.message}`);
|
|
12606
13933
|
}
|
|
12607
|
-
|
|
12608
|
-
process.exit(1);
|
|
13934
|
+
process.exit(EXIT_CODES.GENERAL);
|
|
12609
13935
|
}
|
|
12610
13936
|
async function main() {
|
|
13937
|
+
const { help, command: command5 } = getHelpRequestedCommand(process.argv);
|
|
13938
|
+
if (help) {
|
|
13939
|
+
let descriptor;
|
|
13940
|
+
if (!command5) {
|
|
13941
|
+
descriptor = buildRootHelpDescriptor();
|
|
13942
|
+
} else {
|
|
13943
|
+
const builtin = buildBuiltinHelpDescriptor(command5);
|
|
13944
|
+
if (builtin) {
|
|
13945
|
+
descriptor = builtin;
|
|
13946
|
+
} else {
|
|
13947
|
+
const api = buildApiCommandHelpDescriptor(command5);
|
|
13948
|
+
if (api) descriptor = api;
|
|
13949
|
+
else descriptor = buildRootHelpDescriptor();
|
|
13950
|
+
}
|
|
13951
|
+
}
|
|
13952
|
+
console.log(JSON.stringify(descriptor, null, 2));
|
|
13953
|
+
process.exit(0);
|
|
13954
|
+
}
|
|
12611
13955
|
const pkg = JSON.parse(
|
|
12612
13956
|
(0, import_fs6.readFileSync)((0, import_path6.resolve)(scriptDir, "../package.json"), "utf-8")
|
|
12613
13957
|
);
|
|
12614
13958
|
const argv = yargs_default(hideBin(process.argv)).scriptName("acomo").usage("Usage: $0 <command> [options]").option("format", {
|
|
12615
13959
|
alias: "f",
|
|
12616
13960
|
type: "string",
|
|
12617
|
-
description: "\u51FA\u529B\u5F62\u5F0F\uFF08API \u306E Accept \u30D8\u30C3\u30C0\u30FC\uFF09",
|
|
13961
|
+
description: "\u51FA\u529B\u5F62\u5F0F\uFF08API \u306E Accept \u30D8\u30C3\u30C0\u30FC\uFF09\u3002\u30D1\u30A4\u30D7\u6642\u306F json \u304C\u30C7\u30D5\u30A9\u30EB\u30C8\u3002",
|
|
12618
13962
|
choices: ["text", "json"],
|
|
12619
|
-
default: "text"
|
|
13963
|
+
default: process.stdout.isTTY ? "text" : "json"
|
|
12620
13964
|
}).help().alias("h", "help").version(pkg.version).alias("v", "version");
|
|
12621
13965
|
argv.command(
|
|
12622
13966
|
command2(),
|
|
@@ -12642,13 +13986,17 @@ async function main() {
|
|
|
12642
13986
|
const configuration = createConfiguration();
|
|
12643
13987
|
const registry = buildOperationRegistry(configuration);
|
|
12644
13988
|
for (const [operationId] of registry) {
|
|
13989
|
+
const paramInfo = getOperationRequestSchema(operationId);
|
|
12645
13990
|
argv.command(
|
|
12646
13991
|
`${operationId} [params]`,
|
|
12647
13992
|
operationDescriptions[operationId] ?? operationId,
|
|
12648
|
-
(y) =>
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
13993
|
+
(y) => {
|
|
13994
|
+
y.positional("params", {
|
|
13995
|
+
type: "string",
|
|
13996
|
+
description: "JSON \u30D1\u30E9\u30E1\u30FC\u30BF"
|
|
13997
|
+
});
|
|
13998
|
+
return y;
|
|
13999
|
+
},
|
|
12652
14000
|
async (cmdArgv) => {
|
|
12653
14001
|
try {
|
|
12654
14002
|
const params = await resolveParams(cmdArgv.params);
|