@devicecloud.dev/dcd 4.1.9-beta.0 → 4.2.2

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.
@@ -3,22 +3,6 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export interface paths {
6
- "/uploads/binary": {
7
- parameters: {
8
- query?: never;
9
- header?: never;
10
- path?: never;
11
- cookie?: never;
12
- };
13
- get?: never;
14
- put?: never;
15
- post: operations["UploadsController_createBinary"];
16
- delete?: never;
17
- options?: never;
18
- head?: never;
19
- patch?: never;
20
- trace?: never;
21
- };
22
6
  "/uploads/getBinaryUploadUrl": {
23
7
  parameters: {
24
8
  query?: never;
@@ -147,6 +131,22 @@ export interface paths {
147
131
  patch?: never;
148
132
  trace?: never;
149
133
  };
134
+ "/uploads/list": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ get: operations["UploadsController_listUploads"];
142
+ put?: never;
143
+ post?: never;
144
+ delete?: never;
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
150
150
  "/uploads/{uploadId}": {
151
151
  parameters: {
152
152
  query?: never;
@@ -243,6 +243,22 @@ export interface paths {
243
243
  patch?: never;
244
244
  trace?: never;
245
245
  };
246
+ "/results/{resultId}/html-report-single": {
247
+ parameters: {
248
+ query?: never;
249
+ header?: never;
250
+ path?: never;
251
+ cookie?: never;
252
+ };
253
+ get: operations["ResultsController_downloadSingleHtmlReport"];
254
+ put?: never;
255
+ post?: never;
256
+ delete?: never;
257
+ options?: never;
258
+ head?: never;
259
+ patch?: never;
260
+ trace?: never;
261
+ };
246
262
  "/results/compatibility/data": {
247
263
  parameters: {
248
264
  query?: never;
@@ -440,17 +456,6 @@ export interface components {
440
456
  test_file_name: string;
441
457
  test_upload_id: string;
442
458
  };
443
- ICreateBinaryUploadArgs: {
444
- /**
445
- * Format: binary
446
- * @description This file must either be an apk or a zip file
447
- */
448
- file: string;
449
- };
450
- ICreateBinaryResponse: {
451
- message: string;
452
- binaryId: string;
453
- };
454
459
  IGetBinaryUploadUrlArgs: {
455
460
  /** @description File size in bytes (optional, for Backblaze upload strategy) */
456
461
  fileSize?: number;
@@ -545,7 +550,7 @@ export interface components {
545
550
  */
546
551
  file: string;
547
552
  /** @enum {string} */
548
- androidApiLevel?: "29" | "30" | "31" | "32" | "33" | "34" | "35";
553
+ androidApiLevel?: "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36";
549
554
  /** @enum {string} */
550
555
  androidDevice?: "pixel-6" | "pixel-6-pro" | "pixel-7" | "pixel-7-pro" | "generic-tablet";
551
556
  apiKey?: string;
@@ -562,6 +567,8 @@ export interface components {
562
567
  workspaceConfig?: string;
563
568
  flowMetadata?: string;
564
569
  testFileOverrides?: string;
570
+ /** @description SHA-256 hash of the flow ZIP file */
571
+ sha?: string;
565
572
  testFileNames?: string;
566
573
  sequentialFlows?: string;
567
574
  appBinaryId: string;
@@ -599,6 +606,18 @@ export interface components {
599
606
  */
600
607
  name: string;
601
608
  };
609
+ AcceptInviteDto: {
610
+ /**
611
+ * @description Organization ID
612
+ * @example 1
613
+ */
614
+ orgId: string;
615
+ /**
616
+ * @description User email address
617
+ * @example user@example.com
618
+ */
619
+ email: string;
620
+ };
602
621
  };
603
622
  responses: never;
604
623
  parameters: never;
@@ -608,44 +627,6 @@ export interface components {
608
627
  }
609
628
  export type $defs = Record<string, never>;
610
629
  export interface operations {
611
- UploadsController_createBinary: {
612
- parameters: {
613
- query?: never;
614
- header: {
615
- "x-app-api-key": string;
616
- };
617
- path?: never;
618
- cookie?: never;
619
- };
620
- requestBody: {
621
- content: {
622
- "multipart/form-data": components["schemas"]["ICreateBinaryUploadArgs"];
623
- };
624
- };
625
- responses: {
626
- /**
627
- * @description The record has been successfully created.
628
- * @example {
629
- * "message": "Binary uploaded successfully",
630
- * "binaryId": "binary-123-abc-def"
631
- * }
632
- */
633
- 201: {
634
- headers: {
635
- [name: string]: unknown;
636
- };
637
- content: {
638
- /**
639
- * @example {
640
- * "message": "Binary uploaded successfully",
641
- * "binaryId": "binary-123-abc-def"
642
- * }
643
- */
644
- "application/json": components["schemas"]["ICreateBinaryResponse"];
645
- };
646
- };
647
- };
648
- };
649
630
  UploadsController_getBinaryUploadUrl: {
650
631
  parameters: {
651
632
  query?: never;
@@ -878,6 +859,64 @@ export interface operations {
878
859
  };
879
860
  };
880
861
  };
862
+ UploadsController_listUploads: {
863
+ parameters: {
864
+ query?: {
865
+ /** @description Filter by upload name (supports * wildcard) */
866
+ name?: string;
867
+ /** @description Filter uploads created on or after this date (ISO 8601) */
868
+ from?: string;
869
+ /** @description Filter uploads created on or before this date (ISO 8601) */
870
+ to?: string;
871
+ /** @description Maximum number of uploads to return (default: 20) */
872
+ limit?: number;
873
+ /** @description Number of uploads to skip (default: 0) */
874
+ offset?: number;
875
+ };
876
+ header: {
877
+ "x-app-api-key": string;
878
+ };
879
+ path?: never;
880
+ cookie?: never;
881
+ };
882
+ requestBody?: never;
883
+ responses: {
884
+ /** @description List of flow uploads. Use GET /uploads/status for detailed test results. */
885
+ 200: {
886
+ headers: {
887
+ [name: string]: unknown;
888
+ };
889
+ content: {
890
+ /**
891
+ * @example {
892
+ * "uploads": [
893
+ * {
894
+ * "id": "upload-123",
895
+ * "name": "Test Upload",
896
+ * "created_at": "2024-01-01T00:00:00Z",
897
+ * "consoleUrl": "https://console.devicecloud.dev/results/upload-123"
898
+ * }
899
+ * ],
900
+ * "total": 1,
901
+ * "limit": 20,
902
+ * "offset": 0
903
+ * }
904
+ */
905
+ "application/json": {
906
+ uploads?: {
907
+ id?: string;
908
+ name?: string | null;
909
+ created_at?: string;
910
+ consoleUrl?: string;
911
+ }[];
912
+ total?: number;
913
+ limit?: number;
914
+ offset?: number;
915
+ };
916
+ };
917
+ };
918
+ };
919
+ };
881
920
  UploadsController_deleteUpload: {
882
921
  parameters: {
883
922
  query?: never;
@@ -1020,7 +1059,31 @@ export interface operations {
1020
1059
  };
1021
1060
  requestBody?: never;
1022
1061
  responses: {
1023
- /** @description Download combined HTML test report (report.html) for the upload */
1062
+ /** @description Download combined HTML test report with assets (report.zip) for the upload */
1063
+ 200: {
1064
+ headers: {
1065
+ [name: string]: unknown;
1066
+ };
1067
+ content: {
1068
+ "application/json": string;
1069
+ };
1070
+ };
1071
+ };
1072
+ };
1073
+ ResultsController_downloadSingleHtmlReport: {
1074
+ parameters: {
1075
+ query?: never;
1076
+ header: {
1077
+ "x-app-api-key": string;
1078
+ };
1079
+ path: {
1080
+ resultId: string;
1081
+ };
1082
+ cookie?: never;
1083
+ };
1084
+ requestBody?: never;
1085
+ responses: {
1086
+ /** @description Download HTML test report with assets (report.zip) for a single result */
1024
1087
  200: {
1025
1088
  headers: {
1026
1089
  [name: string]: unknown;
@@ -1159,53 +1222,50 @@ export interface operations {
1159
1222
  * "30",
1160
1223
  * "31",
1161
1224
  * "32",
1162
- * "33"
1225
+ * "33",
1226
+ * "34",
1227
+ * "35",
1228
+ * "36"
1163
1229
  * ],
1164
1230
  * "deprecated": false
1165
1231
  * },
1166
1232
  * "pixel-6-pro": {
1167
1233
  * "name": "Pixel 6 Pro",
1168
1234
  * "apiLevels": [
1169
- * "29",
1170
- * "30",
1171
- * "31",
1172
- * "32",
1173
- * "33"
1235
+ * "33",
1236
+ * "34",
1237
+ * "35",
1238
+ * "36"
1174
1239
  * ],
1175
1240
  * "deprecated": false
1176
1241
  * },
1177
1242
  * "pixel-7": {
1178
1243
  * "name": "Pixel 7",
1179
1244
  * "apiLevels": [
1180
- * "30",
1181
- * "31",
1182
- * "32",
1183
1245
  * "33",
1184
- * "34"
1246
+ * "34",
1247
+ * "35",
1248
+ * "36"
1185
1249
  * ],
1186
1250
  * "deprecated": false
1187
1251
  * },
1188
1252
  * "pixel-7-pro": {
1189
1253
  * "name": "Pixel 7 Pro",
1190
1254
  * "apiLevels": [
1191
- * "30",
1192
- * "31",
1193
- * "32",
1194
1255
  * "33",
1195
- * "34"
1256
+ * "34",
1257
+ * "35",
1258
+ * "36"
1196
1259
  * ],
1197
1260
  * "deprecated": false
1198
1261
  * },
1199
1262
  * "generic-tablet": {
1200
1263
  * "name": "Generic Tablet",
1201
1264
  * "apiLevels": [
1202
- * "29",
1203
- * "30",
1204
- * "31",
1205
- * "32",
1206
1265
  * "33",
1207
1266
  * "34",
1208
- * "35"
1267
+ * "35",
1268
+ * "36"
1209
1269
  * ],
1210
1270
  * "deprecated": false
1211
1271
  * }
@@ -1214,22 +1274,18 @@ export interface operations {
1214
1274
  * "pixel-6": {
1215
1275
  * "name": "Pixel 6 (Google Play)",
1216
1276
  * "apiLevels": [
1217
- * "29",
1218
- * "30",
1219
- * "31",
1220
- * "32",
1221
- * "33"
1277
+ * "34",
1278
+ * "35",
1279
+ * "36"
1222
1280
  * ],
1223
1281
  * "deprecated": false
1224
1282
  * },
1225
1283
  * "pixel-7": {
1226
1284
  * "name": "Pixel 7 (Google Play)",
1227
1285
  * "apiLevels": [
1228
- * "30",
1229
- * "31",
1230
- * "32",
1231
- * "33",
1232
- * "34"
1286
+ * "34",
1287
+ * "35",
1288
+ * "36"
1233
1289
  * ],
1234
1290
  * "deprecated": false
1235
1291
  * }
@@ -1527,17 +1583,14 @@ export interface operations {
1527
1583
  parameters: {
1528
1584
  query?: never;
1529
1585
  header: {
1530
- "x-app-api-key": string;
1586
+ authorization: string;
1531
1587
  };
1532
1588
  path?: never;
1533
1589
  cookie?: never;
1534
1590
  };
1535
1591
  requestBody: {
1536
1592
  content: {
1537
- "application/json": {
1538
- orgId: string;
1539
- email: string;
1540
- };
1593
+ "application/json": components["schemas"]["AcceptInviteDto"];
1541
1594
  };
1542
1595
  };
1543
1596
  responses: {
@@ -84,6 +84,7 @@
84
84
  "35",
85
85
  "34",
86
86
  "31",
87
+ "36",
87
88
  "33",
88
89
  "32",
89
90
  "29"
@@ -347,7 +348,7 @@
347
348
  "type": "boolean"
348
349
  },
349
350
  "download-artifacts": {
350
- "description": "Download a zip containing the logs, screenshots and videos for each result in this run. You will be debited a $0.01 egress fee for each result. Options: ALL (everything), FAILED (failures only).",
351
+ "description": "Download a zip containing the logs, screenshots and videos for each result in this run. Options: ALL (everything), FAILED (failures only).",
351
352
  "name": "download-artifacts",
352
353
  "hasDynamicHelp": false,
353
354
  "multiple": false,
@@ -418,6 +419,100 @@
418
419
  "cloud.js"
419
420
  ]
420
421
  },
422
+ "list": {
423
+ "aliases": [],
424
+ "args": {},
425
+ "description": "List recent flow uploads for your organization",
426
+ "examples": [
427
+ "<%= config.bin %> <%= command.id %>",
428
+ "<%= config.bin %> <%= command.id %> --limit 10",
429
+ "<%= config.bin %> <%= command.id %> --name \"nightly-*\" # Quote wildcards to prevent shell expansion!",
430
+ "<%= config.bin %> <%= command.id %> --from 2024-01-01 --to 2024-01-31",
431
+ "<%= config.bin %> <%= command.id %> --json"
432
+ ],
433
+ "flags": {
434
+ "json": {
435
+ "description": "Output in JSON format",
436
+ "name": "json",
437
+ "allowNo": false,
438
+ "type": "boolean"
439
+ },
440
+ "apiKey": {
441
+ "aliases": [
442
+ "api-key"
443
+ ],
444
+ "description": "API key for devicecloud.dev (find this in the console UI). You can also set the DEVICE_CLOUD_API_KEY environment variable.",
445
+ "name": "apiKey",
446
+ "hasDynamicHelp": false,
447
+ "multiple": false,
448
+ "type": "option"
449
+ },
450
+ "apiUrl": {
451
+ "aliases": [
452
+ "api-url",
453
+ "apiURL"
454
+ ],
455
+ "description": "API base URL",
456
+ "hidden": true,
457
+ "name": "apiUrl",
458
+ "default": "https://api.devicecloud.dev",
459
+ "hasDynamicHelp": false,
460
+ "multiple": false,
461
+ "type": "option"
462
+ },
463
+ "from": {
464
+ "description": "Filter uploads created on or after this date (ISO 8601 format, e.g., 2024-01-01)",
465
+ "name": "from",
466
+ "hasDynamicHelp": false,
467
+ "multiple": false,
468
+ "type": "option"
469
+ },
470
+ "limit": {
471
+ "description": "Maximum number of uploads to return",
472
+ "name": "limit",
473
+ "default": 20,
474
+ "hasDynamicHelp": false,
475
+ "multiple": false,
476
+ "type": "option"
477
+ },
478
+ "name": {
479
+ "description": "Filter by upload name (supports * wildcard, e.g., \"nightly-*\"). IMPORTANT: Always quote wildcards to prevent shell expansion!",
480
+ "name": "name",
481
+ "hasDynamicHelp": false,
482
+ "multiple": false,
483
+ "type": "option"
484
+ },
485
+ "offset": {
486
+ "description": "Number of uploads to skip (for pagination)",
487
+ "name": "offset",
488
+ "default": 0,
489
+ "hasDynamicHelp": false,
490
+ "multiple": false,
491
+ "type": "option"
492
+ },
493
+ "to": {
494
+ "description": "Filter uploads created on or before this date (ISO 8601 format, e.g., 2024-01-31)",
495
+ "name": "to",
496
+ "hasDynamicHelp": false,
497
+ "multiple": false,
498
+ "type": "option"
499
+ }
500
+ },
501
+ "hasDynamicHelp": false,
502
+ "hiddenAliases": [],
503
+ "id": "list",
504
+ "pluginAlias": "@devicecloud.dev/dcd",
505
+ "pluginName": "@devicecloud.dev/dcd",
506
+ "pluginType": "core",
507
+ "strict": true,
508
+ "enableJsonFlag": true,
509
+ "isESM": false,
510
+ "relativePath": [
511
+ "dist",
512
+ "commands",
513
+ "list.js"
514
+ ]
515
+ },
421
516
  "status": {
422
517
  "aliases": [],
423
518
  "args": {},
@@ -566,5 +661,5 @@
566
661
  ]
567
662
  }
568
663
  },
569
- "version": "4.1.9-beta.0"
664
+ "version": "4.2.2"
570
665
  }
package/package.json CHANGED
@@ -7,7 +7,6 @@
7
7
  "@oclif/core": "^3.27.0",
8
8
  "@oclif/plugin-help": "^6.2.36",
9
9
  "@supabase/supabase-js": "^2.81.1",
10
- "@types/tus-js-client": "^2.1.0",
11
10
  "app-info-parser": "^1.1.6",
12
11
  "archiver": "^7.0.1",
13
12
  "bplist-parser": "^0.3.2",
@@ -68,7 +67,7 @@
68
67
  "type": "git",
69
68
  "url": "https://devicecloud.dev"
70
69
  },
71
- "version": "4.1.9-beta.0",
70
+ "version": "4.2.2",
72
71
  "bugs": {
73
72
  "url": "https://discord.gg/gm3mJwcNw8"
74
73
  },