@epilot/cli 0.1.59 → 0.1.61
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/README.md +1 -1
- package/definitions/customer-portal.json +1238 -124
- package/definitions/file.json +291 -15
- package/dist/bin/epilot.js +6 -6
- package/dist/{chunk-TDSY46F2.js → chunk-36WJHV3M.js} +14 -3
- package/dist/{completion-DHCNR5MW.js → completion-H6LKKRG6.js} +1 -1
- package/dist/{upgrade-ROKJNTFP.js → upgrade-HTEVGPLI.js} +1 -1
- package/package.json +1 -1
package/definitions/file.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "File API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.12.0",
|
|
6
6
|
"description": "The File API enables you to upload, store, manage, and share files within the epilot platform.\n\n## Key Features\n- **Upload files** to temporary storage and save them permanently as File entities\n- **Generate previews** (thumbnails) for images and documents\n- **Create public links** to share private files externally\n- **Organize files** into collections for better management\n- **Version control** with automatic file versioning on updates\n\n## File Upload Workflow\n1. Call `uploadFileV2` to get a pre-signed S3 URL\n2. Upload your file directly to S3 using the pre-signed URL (PUT request)\n3. Call `saveFileV2` with the S3 reference to create a permanent File entity\n\n## Changelog\n<a href=\"changelog\">View API Changelog</a>\n"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -875,11 +875,213 @@
|
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
},
|
|
878
|
+
"/v1/files/{id}/summary": {
|
|
879
|
+
"get": {
|
|
880
|
+
"operationId": "getFileSummary",
|
|
881
|
+
"summary": "getFileSummary",
|
|
882
|
+
"description": "Get summary text for a file entity together with the current summary job status when available.",
|
|
883
|
+
"tags": [
|
|
884
|
+
"File"
|
|
885
|
+
],
|
|
886
|
+
"parameters": [
|
|
887
|
+
{
|
|
888
|
+
"name": "id",
|
|
889
|
+
"in": "path",
|
|
890
|
+
"required": true,
|
|
891
|
+
"description": "The UUID of the file entity",
|
|
892
|
+
"schema": {
|
|
893
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
],
|
|
897
|
+
"responses": {
|
|
898
|
+
"200": {
|
|
899
|
+
"description": "Current file summary state",
|
|
900
|
+
"content": {
|
|
901
|
+
"application/json": {
|
|
902
|
+
"schema": {
|
|
903
|
+
"$ref": "#/components/schemas/FileSummary"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"400": {
|
|
909
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
910
|
+
},
|
|
911
|
+
"401": {
|
|
912
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
913
|
+
},
|
|
914
|
+
"403": {
|
|
915
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
916
|
+
},
|
|
917
|
+
"404": {
|
|
918
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
919
|
+
},
|
|
920
|
+
"500": {
|
|
921
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"/v1/files/{id}/summary-jobs": {
|
|
927
|
+
"post": {
|
|
928
|
+
"operationId": "createFileSummaryJob",
|
|
929
|
+
"summary": "createFileSummaryJob",
|
|
930
|
+
"description": "Create or return the current AI summary job for a file entity.",
|
|
931
|
+
"tags": [
|
|
932
|
+
"File"
|
|
933
|
+
],
|
|
934
|
+
"parameters": [
|
|
935
|
+
{
|
|
936
|
+
"name": "id",
|
|
937
|
+
"in": "path",
|
|
938
|
+
"required": true,
|
|
939
|
+
"description": "The UUID of the file entity",
|
|
940
|
+
"schema": {
|
|
941
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
],
|
|
945
|
+
"responses": {
|
|
946
|
+
"202": {
|
|
947
|
+
"description": "Summary job accepted",
|
|
948
|
+
"content": {
|
|
949
|
+
"application/json": {
|
|
950
|
+
"schema": {
|
|
951
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"400": {
|
|
957
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
958
|
+
},
|
|
959
|
+
"401": {
|
|
960
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
961
|
+
},
|
|
962
|
+
"403": {
|
|
963
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
964
|
+
},
|
|
965
|
+
"404": {
|
|
966
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
967
|
+
},
|
|
968
|
+
"500": {
|
|
969
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
"/v1/files/{id}/summary-jobs/current": {
|
|
975
|
+
"get": {
|
|
976
|
+
"operationId": "getCurrentFileSummaryJob",
|
|
977
|
+
"summary": "getCurrentFileSummaryJob",
|
|
978
|
+
"description": "Get the latest AI summary job for the file entity's current source.",
|
|
979
|
+
"tags": [
|
|
980
|
+
"File"
|
|
981
|
+
],
|
|
982
|
+
"parameters": [
|
|
983
|
+
{
|
|
984
|
+
"name": "id",
|
|
985
|
+
"in": "path",
|
|
986
|
+
"required": true,
|
|
987
|
+
"description": "The UUID of the file entity",
|
|
988
|
+
"schema": {
|
|
989
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
],
|
|
993
|
+
"responses": {
|
|
994
|
+
"200": {
|
|
995
|
+
"description": "Current summary job",
|
|
996
|
+
"content": {
|
|
997
|
+
"application/json": {
|
|
998
|
+
"schema": {
|
|
999
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"400": {
|
|
1005
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
1006
|
+
},
|
|
1007
|
+
"401": {
|
|
1008
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
1009
|
+
},
|
|
1010
|
+
"403": {
|
|
1011
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
1012
|
+
},
|
|
1013
|
+
"404": {
|
|
1014
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
1015
|
+
},
|
|
1016
|
+
"500": {
|
|
1017
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"/v1/files/{id}/summary-jobs/{job_id}": {
|
|
1023
|
+
"get": {
|
|
1024
|
+
"operationId": "getFileSummaryJob",
|
|
1025
|
+
"summary": "getFileSummaryJob",
|
|
1026
|
+
"description": "Get an AI summary job by id.",
|
|
1027
|
+
"tags": [
|
|
1028
|
+
"File"
|
|
1029
|
+
],
|
|
1030
|
+
"parameters": [
|
|
1031
|
+
{
|
|
1032
|
+
"name": "id",
|
|
1033
|
+
"in": "path",
|
|
1034
|
+
"required": true,
|
|
1035
|
+
"description": "The UUID of the file entity",
|
|
1036
|
+
"schema": {
|
|
1037
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "job_id",
|
|
1042
|
+
"in": "path",
|
|
1043
|
+
"required": true,
|
|
1044
|
+
"description": "The UUID of the summary job",
|
|
1045
|
+
"schema": {
|
|
1046
|
+
"type": "string",
|
|
1047
|
+
"format": "uuid"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"responses": {
|
|
1052
|
+
"200": {
|
|
1053
|
+
"description": "Summary job",
|
|
1054
|
+
"content": {
|
|
1055
|
+
"application/json": {
|
|
1056
|
+
"schema": {
|
|
1057
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"400": {
|
|
1063
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
1064
|
+
},
|
|
1065
|
+
"401": {
|
|
1066
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
1067
|
+
},
|
|
1068
|
+
"403": {
|
|
1069
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
1070
|
+
},
|
|
1071
|
+
"404": {
|
|
1072
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
1073
|
+
},
|
|
1074
|
+
"500": {
|
|
1075
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
878
1080
|
"/v1/files/{id}/summary:generate": {
|
|
879
1081
|
"post": {
|
|
880
1082
|
"operationId": "generateFileSummary",
|
|
881
1083
|
"summary": "generateFileSummary",
|
|
882
|
-
"description": "
|
|
1084
|
+
"description": "Compatibility alias for creating or returning the current AI summary job for a file entity.",
|
|
883
1085
|
"tags": [
|
|
884
1086
|
"File"
|
|
885
1087
|
],
|
|
@@ -900,7 +1102,7 @@
|
|
|
900
1102
|
"content": {
|
|
901
1103
|
"application/json": {
|
|
902
1104
|
"schema": {
|
|
903
|
-
"$ref": "#/components/schemas/
|
|
1105
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
904
1106
|
}
|
|
905
1107
|
}
|
|
906
1108
|
}
|
|
@@ -917,9 +1119,6 @@
|
|
|
917
1119
|
"404": {
|
|
918
1120
|
"$ref": "#/components/responses/NotFoundError"
|
|
919
1121
|
},
|
|
920
|
-
"409": {
|
|
921
|
-
"$ref": "#/components/responses/ConflictError"
|
|
922
|
-
},
|
|
923
1122
|
"500": {
|
|
924
1123
|
"$ref": "#/components/responses/InternalServerError"
|
|
925
1124
|
}
|
|
@@ -2196,6 +2395,9 @@
|
|
|
2196
2395
|
"custom_download_url": {
|
|
2197
2396
|
"$ref": "#/components/schemas/CustomDownloadUrl"
|
|
2198
2397
|
},
|
|
2398
|
+
"custom_download_url_auth": {
|
|
2399
|
+
"$ref": "#/components/schemas/CustomDownloadUrlAuth"
|
|
2400
|
+
},
|
|
2199
2401
|
"preview_summary_de": {
|
|
2200
2402
|
"type": "string",
|
|
2201
2403
|
"description": "Compact German summary for hover and list preview surfaces.",
|
|
@@ -2215,9 +2417,6 @@
|
|
|
2215
2417
|
"type": "string",
|
|
2216
2418
|
"description": "Short English paragraph summary for file preview surfaces.",
|
|
2217
2419
|
"readOnly": true
|
|
2218
|
-
},
|
|
2219
|
-
"summary_status": {
|
|
2220
|
-
"$ref": "#/components/schemas/FileSummaryStatus"
|
|
2221
2420
|
}
|
|
2222
2421
|
}
|
|
2223
2422
|
},
|
|
@@ -2238,34 +2437,108 @@
|
|
|
2238
2437
|
"unknown"
|
|
2239
2438
|
]
|
|
2240
2439
|
},
|
|
2241
|
-
"
|
|
2440
|
+
"FileSummaryJobStatus": {
|
|
2242
2441
|
"type": "string",
|
|
2243
|
-
"description": "Current
|
|
2442
|
+
"description": "Current state of a file summary job.",
|
|
2244
2443
|
"enum": [
|
|
2444
|
+
"queued",
|
|
2445
|
+
"waiting_for_extraction",
|
|
2245
2446
|
"processing",
|
|
2246
2447
|
"completed",
|
|
2247
2448
|
"failed",
|
|
2248
|
-
"unsupported"
|
|
2449
|
+
"unsupported",
|
|
2450
|
+
"stale"
|
|
2249
2451
|
],
|
|
2250
2452
|
"readOnly": true
|
|
2251
2453
|
},
|
|
2252
|
-
"
|
|
2454
|
+
"FileSummaryJob": {
|
|
2253
2455
|
"type": "object",
|
|
2254
2456
|
"properties": {
|
|
2457
|
+
"job_id": {
|
|
2458
|
+
"type": "string",
|
|
2459
|
+
"format": "uuid",
|
|
2460
|
+
"description": "File summary job ID."
|
|
2461
|
+
},
|
|
2462
|
+
"file_id": {
|
|
2463
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
2464
|
+
},
|
|
2255
2465
|
"status": {
|
|
2256
|
-
"$ref": "#/components/schemas/
|
|
2466
|
+
"$ref": "#/components/schemas/FileSummaryJobStatus"
|
|
2467
|
+
},
|
|
2468
|
+
"error": {
|
|
2469
|
+
"type": "string",
|
|
2470
|
+
"description": "Human-readable failure or unsupported reason when available."
|
|
2471
|
+
},
|
|
2472
|
+
"created_at": {
|
|
2473
|
+
"type": "string",
|
|
2474
|
+
"format": "date-time"
|
|
2475
|
+
},
|
|
2476
|
+
"updated_at": {
|
|
2477
|
+
"type": "string",
|
|
2478
|
+
"format": "date-time"
|
|
2479
|
+
},
|
|
2480
|
+
"completed_at": {
|
|
2481
|
+
"type": "string",
|
|
2482
|
+
"format": "date-time"
|
|
2257
2483
|
}
|
|
2258
2484
|
},
|
|
2259
2485
|
"required": [
|
|
2260
|
-
"
|
|
2486
|
+
"job_id",
|
|
2487
|
+
"file_id",
|
|
2488
|
+
"status",
|
|
2489
|
+
"created_at",
|
|
2490
|
+
"updated_at"
|
|
2261
2491
|
]
|
|
2262
2492
|
},
|
|
2493
|
+
"FileSummary": {
|
|
2494
|
+
"type": "object",
|
|
2495
|
+
"properties": {
|
|
2496
|
+
"status": {
|
|
2497
|
+
"$ref": "#/components/schemas/FileSummaryJobStatus"
|
|
2498
|
+
},
|
|
2499
|
+
"job_id": {
|
|
2500
|
+
"type": "string",
|
|
2501
|
+
"format": "uuid",
|
|
2502
|
+
"description": "Current summary job ID when available."
|
|
2503
|
+
},
|
|
2504
|
+
"preview_summary_de": {
|
|
2505
|
+
"type": "string",
|
|
2506
|
+
"nullable": true,
|
|
2507
|
+
"description": "Compact German summary for hover and list preview surfaces."
|
|
2508
|
+
},
|
|
2509
|
+
"short_summary_de": {
|
|
2510
|
+
"type": "string",
|
|
2511
|
+
"nullable": true,
|
|
2512
|
+
"description": "Short German paragraph summary for file preview surfaces."
|
|
2513
|
+
},
|
|
2514
|
+
"preview_summary_en": {
|
|
2515
|
+
"type": "string",
|
|
2516
|
+
"nullable": true,
|
|
2517
|
+
"description": "Compact English summary for hover and list preview surfaces."
|
|
2518
|
+
},
|
|
2519
|
+
"short_summary_en": {
|
|
2520
|
+
"type": "string",
|
|
2521
|
+
"nullable": true,
|
|
2522
|
+
"description": "Short English paragraph summary for file preview surfaces."
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2263
2526
|
"CustomDownloadUrl": {
|
|
2264
2527
|
"description": "Custom external download url used for the file",
|
|
2265
2528
|
"type": "string",
|
|
2266
2529
|
"format": "uri",
|
|
2267
2530
|
"example": "https://some-api-url.com/download?file_id=123"
|
|
2268
2531
|
},
|
|
2532
|
+
"CustomDownloadUrlAuth": {
|
|
2533
|
+
"description": "Authorization mode for the custom_download_url. `presigned` (the default) uses an HMAC-signed URL; `token` authorizes the download via the caller's bearer token, matched against the exact stored custom_download_url. In token mode the File API returns the unsigned custom_download_url (no expires_at/signature query params) so the stored url matches exactly.",
|
|
2534
|
+
"type": "string",
|
|
2535
|
+
"enum": [
|
|
2536
|
+
"presigned",
|
|
2537
|
+
"token"
|
|
2538
|
+
],
|
|
2539
|
+
"default": "presigned",
|
|
2540
|
+
"example": "token"
|
|
2541
|
+
},
|
|
2269
2542
|
"FileEntity": {
|
|
2270
2543
|
"allOf": [
|
|
2271
2544
|
{
|
|
@@ -2437,6 +2710,9 @@
|
|
|
2437
2710
|
"properties": {
|
|
2438
2711
|
"custom_download_url": {
|
|
2439
2712
|
"$ref": "#/components/schemas/CustomDownloadUrl"
|
|
2713
|
+
},
|
|
2714
|
+
"custom_download_url_auth": {
|
|
2715
|
+
"$ref": "#/components/schemas/CustomDownloadUrlAuth"
|
|
2440
2716
|
}
|
|
2441
2717
|
}
|
|
2442
2718
|
}
|
package/dist/bin/epilot.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
API_LIST
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-36WJHV3M.js";
|
|
5
5
|
|
|
6
6
|
// bin/epilot.ts
|
|
7
7
|
import { runMain } from "citty";
|
|
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
|
|
|
11
11
|
var main = defineCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "epilot",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.61",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,8 +30,8 @@ var main = defineCommand({
|
|
|
30
30
|
auth: () => import("../auth-4HG7B2GC.js").then((m) => m.default),
|
|
31
31
|
profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
|
|
32
32
|
config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
|
|
33
|
-
completion: () => import("../completion-
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
33
|
+
completion: () => import("../completion-H6LKKRG6.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-HTEVGPLI.js").then((m) => m.default),
|
|
35
35
|
"access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
|
|
36
36
|
address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
|
|
37
37
|
"address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
|
|
@@ -134,13 +134,13 @@ process.stderr.on("error", (err) => {
|
|
|
134
134
|
if (err.code === "EPIPE") process.exit(0);
|
|
135
135
|
throw err;
|
|
136
136
|
});
|
|
137
|
-
var VERSION = true ? "0.1.
|
|
137
|
+
var VERSION = true ? "0.1.61" : (await null).default.version;
|
|
138
138
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
139
139
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
140
140
|
var args = process.argv.slice(2);
|
|
141
141
|
var completionsIdx = args.indexOf("--_completions");
|
|
142
142
|
if (completionsIdx >= 0) {
|
|
143
|
-
const { handleCompletions } = await import("../completion-
|
|
143
|
+
const { handleCompletions } = await import("../completion-H6LKKRG6.js");
|
|
144
144
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
145
145
|
process.exit(0);
|
|
146
146
|
}
|
|
@@ -268,7 +268,7 @@ var API_LIST = [
|
|
|
268
268
|
kebabName: "customer-portal",
|
|
269
269
|
title: "Portal API",
|
|
270
270
|
serverUrl: "https://customer-portal-api.sls.epilot.io",
|
|
271
|
-
operationCount:
|
|
271
|
+
operationCount: 156,
|
|
272
272
|
operationIds: [
|
|
273
273
|
"upsertPortal",
|
|
274
274
|
"createUser",
|
|
@@ -299,6 +299,8 @@ var API_LIST = [
|
|
|
299
299
|
"getAllPortalConfigs",
|
|
300
300
|
"getEmailTemplates",
|
|
301
301
|
"upsertEmailTemplates",
|
|
302
|
+
"migrateEmailTemplateReferences",
|
|
303
|
+
"listEmailTemplateReferences",
|
|
302
304
|
"getEmailTemplatesByPortalId",
|
|
303
305
|
"upsertEmailTemplatesByPortalId",
|
|
304
306
|
"getPublicPortalWidgets",
|
|
@@ -328,6 +330,7 @@ var API_LIST = [
|
|
|
328
330
|
"updatePortalUser",
|
|
329
331
|
"deletePortalUser",
|
|
330
332
|
"updatePortalUserEmail",
|
|
333
|
+
"changePortalUserPassword",
|
|
331
334
|
"resendConfirmationEmail",
|
|
332
335
|
"fetchPortalUsersByRelatedEntity",
|
|
333
336
|
"confirmUser",
|
|
@@ -372,6 +375,8 @@ var API_LIST = [
|
|
|
372
375
|
"triggerEntityAccessEventV3",
|
|
373
376
|
"getPortalUserEntity",
|
|
374
377
|
"searchPortalUserEntities",
|
|
378
|
+
"createPortalUserEntity",
|
|
379
|
+
"patchPortalUserEntity",
|
|
375
380
|
"canTriggerPortalFlow",
|
|
376
381
|
"getAutomationContext",
|
|
377
382
|
"updateWorkflowStepAsDone",
|
|
@@ -418,7 +423,9 @@ var API_LIST = [
|
|
|
418
423
|
"disablePartner",
|
|
419
424
|
"enablePartner",
|
|
420
425
|
"verifyDns",
|
|
421
|
-
"portalProxyExecute"
|
|
426
|
+
"portalProxyExecute",
|
|
427
|
+
"getMobileConfig",
|
|
428
|
+
"putMobileConfig"
|
|
422
429
|
]
|
|
423
430
|
},
|
|
424
431
|
{
|
|
@@ -713,7 +720,7 @@ var API_LIST = [
|
|
|
713
720
|
kebabName: "file",
|
|
714
721
|
title: "File API",
|
|
715
722
|
serverUrl: "https://file.sls.epilot.io",
|
|
716
|
-
operationCount:
|
|
723
|
+
operationCount: 34,
|
|
717
724
|
operationIds: [
|
|
718
725
|
"uploadFileV2",
|
|
719
726
|
"saveFileV2",
|
|
@@ -726,6 +733,10 @@ var API_LIST = [
|
|
|
726
733
|
"downloadFiles",
|
|
727
734
|
"createZipJob",
|
|
728
735
|
"getZipJob",
|
|
736
|
+
"getFileSummary",
|
|
737
|
+
"createFileSummaryJob",
|
|
738
|
+
"getCurrentFileSummaryJob",
|
|
739
|
+
"getFileSummaryJob",
|
|
729
740
|
"generateFileSummary",
|
|
730
741
|
"previewFile",
|
|
731
742
|
"previewS3FileGet",
|
|
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
var getCurrentVersion = () => {
|
|
75
|
-
if (true) return "0.1.
|
|
75
|
+
if (true) return "0.1.61";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|