zmp-sdk 2.43.1 → 2.43.3

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/index.d.ts CHANGED
@@ -188,6 +188,7 @@ declare enum ChatType {
188
188
  }
189
189
  declare enum PostFeedType {
190
190
  image = 1,
191
+ multi_image = 2,
191
192
  link = 4,
192
193
  profile = 5
193
194
  }
@@ -2516,20 +2517,25 @@ declare function openChat(args: AsyncVoidCallback & TypeOf<(typeof openChatArgs)
2516
2517
  declare const openPostFeedArgs: ZodUnion<[ZodObject<{
2517
2518
  type: ZodEnum<["image"]>;
2518
2519
  data: ZodObject<{
2519
- imageUrl: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
2520
+ imageUrl: ZodOptional<ZodString>;
2521
+ imageUrls: ZodOptional<ZodArray<ZodString, "many">>;
2520
2522
  }, "strip", ZodTypeAny, {
2521
- imageUrl?: string | string[] | undefined;
2523
+ imageUrl?: string | undefined;
2524
+ imageUrls?: string[] | undefined;
2522
2525
  }, {
2523
- imageUrl?: string | string[] | undefined;
2526
+ imageUrl?: string | undefined;
2527
+ imageUrls?: string[] | undefined;
2524
2528
  }>;
2525
2529
  }, "strip", ZodTypeAny, {
2526
2530
  data: {
2527
- imageUrl?: string | string[] | undefined;
2531
+ imageUrl?: string | undefined;
2532
+ imageUrls?: string[] | undefined;
2528
2533
  };
2529
2534
  type: "image";
2530
2535
  }, {
2531
2536
  data: {
2532
- imageUrl?: string | string[] | undefined;
2537
+ imageUrl?: string | undefined;
2538
+ imageUrls?: string[] | undefined;
2533
2539
  };
2534
2540
  type: "image";
2535
2541
  }>, ZodObject<{
@@ -2641,25 +2647,25 @@ declare const openShareSheetArgs: ZodUnion<[ZodObject<{
2641
2647
  }>, ZodObject<{
2642
2648
  type: ZodEnum<["image"]>;
2643
2649
  data: ZodObject<{
2644
- imageUrl: ZodString;
2650
+ imageUrl: ZodOptional<ZodString>;
2645
2651
  imageUrls: ZodOptional<ZodArray<ZodString, "many">>;
2646
2652
  }, "strip", ZodTypeAny, {
2653
+ imageUrl?: string | undefined;
2647
2654
  imageUrls?: string[] | undefined;
2648
- imageUrl: string;
2649
2655
  }, {
2656
+ imageUrl?: string | undefined;
2650
2657
  imageUrls?: string[] | undefined;
2651
- imageUrl: string;
2652
2658
  }>;
2653
2659
  }, "strip", ZodTypeAny, {
2654
2660
  data: {
2661
+ imageUrl?: string | undefined;
2655
2662
  imageUrls?: string[] | undefined;
2656
- imageUrl: string;
2657
2663
  };
2658
2664
  type: "image";
2659
2665
  }, {
2660
2666
  data: {
2667
+ imageUrl?: string | undefined;
2661
2668
  imageUrls?: string[] | undefined;
2662
- imageUrl: string;
2663
2669
  };
2664
2670
  type: "image";
2665
2671
  }>, ZodObject<{