@capgo/cli 8.25.13 → 8.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "8.25.13",
4
+ "version": "8.26.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -16,6 +16,8 @@ export declare function uploadBundle(appid: string, options: OptionsUpload): Pro
16
16
  success: boolean;
17
17
  bundle: string;
18
18
  encryptionMethod: "none" | "v1" | "v2";
19
+ appId?: string | undefined;
20
+ updatedChannels?: string[] | undefined;
19
21
  checksum?: string | null | undefined;
20
22
  sessionKey?: string | undefined;
21
23
  ivSessionKey?: string | null | undefined;
@@ -0,0 +1,14 @@
1
+ interface SendUpdateNotificationsOptions {
2
+ appId: string;
3
+ apikey?: string;
4
+ channels?: string[];
5
+ silent?: boolean;
6
+ verbose?: boolean;
7
+ }
8
+ interface UpdateCheckResponse {
9
+ queued?: boolean;
10
+ campaignId?: string;
11
+ queuedBuckets?: number;
12
+ }
13
+ export declare function sendUpdateNotificationsForChannels(options: SendUpdateNotificationsOptions): Promise<UpdateCheckResponse[]>;
14
+ export {};
@@ -53,6 +53,7 @@ export declare const optionsUploadSchema: z.ZodObject<{
53
53
  disableBrotli: z.ZodOptional<z.ZodBoolean>;
54
54
  versionExistsOk: z.ZodOptional<z.ZodBoolean>;
55
55
  selfAssign: z.ZodOptional<z.ZodBoolean>;
56
+ sendUpdateNotification: z.ZodOptional<z.ZodBoolean>;
56
57
  verbose: z.ZodOptional<z.ZodBoolean>;
57
58
  showReplicationProgress: z.ZodOptional<z.ZodBoolean>;
58
59
  qrPreview: z.ZodOptional<z.ZodBoolean>;
@@ -77,7 +78,9 @@ export declare const decryptResultSchema: z.ZodObject<{
77
78
  export type DecryptResult = z.infer<typeof decryptResultSchema>;
78
79
  export declare const uploadBundleResultSchema: z.ZodObject<{
79
80
  success: z.ZodBoolean;
81
+ appId: z.ZodOptional<z.ZodString>;
80
82
  bundle: z.ZodString;
83
+ updatedChannels: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
84
  checksum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
85
  encryptionMethod: z.ZodEnum<{
83
86
  none: "none";
@@ -59,6 +59,7 @@ export declare const optionsSetChannelSchema: z.ZodObject<{
59
59
  packageJson: z.ZodOptional<z.ZodString>;
60
60
  ignoreMetadataCheck: z.ZodOptional<z.ZodBoolean>;
61
61
  qrPreview: z.ZodOptional<z.ZodBoolean>;
62
+ sendUpdateNotification: z.ZodOptional<z.ZodBoolean>;
62
63
  rolloutBundle: z.ZodOptional<z.ZodString>;
63
64
  rolloutPercentage: z.ZodOptional<z.ZodNumber>;
64
65
  rolloutPercentageBps: z.ZodOptional<z.ZodNumber>;