@kl1/contracts 1.4.55 → 1.4.56

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.
@@ -63527,6 +63527,61 @@ export declare const mainChatContract: {
63527
63527
  actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
63528
63528
  mentions?: string[] | undefined;
63529
63529
  }>>;
63530
+ messageOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
63531
+ label: z.ZodString;
63532
+ value: z.ZodString;
63533
+ button: z.ZodOptional<z.ZodString>;
63534
+ imageUrl: z.ZodOptional<z.ZodString>;
63535
+ postback: z.ZodOptional<z.ZodString>;
63536
+ }, "strip", z.ZodTypeAny, {
63537
+ value: string;
63538
+ label: string;
63539
+ button?: string | undefined;
63540
+ imageUrl?: string | undefined;
63541
+ postback?: string | undefined;
63542
+ }, {
63543
+ value: string;
63544
+ label: string;
63545
+ button?: string | undefined;
63546
+ imageUrl?: string | undefined;
63547
+ postback?: string | undefined;
63548
+ }>, "many">>;
63549
+ messageTemplate: z.ZodOptional<z.ZodArray<z.ZodObject<{
63550
+ title: z.ZodString;
63551
+ subtitle: z.ZodString;
63552
+ imageUrl: z.ZodString;
63553
+ actions: z.ZodArray<z.ZodObject<{
63554
+ label: z.ZodString;
63555
+ value: z.ZodString;
63556
+ action: z.ZodString;
63557
+ }, "strip", z.ZodTypeAny, {
63558
+ value: string;
63559
+ label: string;
63560
+ action: string;
63561
+ }, {
63562
+ value: string;
63563
+ label: string;
63564
+ action: string;
63565
+ }>, "many">;
63566
+ }, "strip", z.ZodTypeAny, {
63567
+ title: string;
63568
+ imageUrl: string;
63569
+ subtitle: string;
63570
+ actions: {
63571
+ value: string;
63572
+ label: string;
63573
+ action: string;
63574
+ }[];
63575
+ }, {
63576
+ title: string;
63577
+ imageUrl: string;
63578
+ subtitle: string;
63579
+ actions: {
63580
+ value: string;
63581
+ label: string;
63582
+ action: string;
63583
+ }[];
63584
+ }>, "many">>;
63530
63585
  }, "strip", z.ZodTypeAny, {
63531
63586
  messageType: string;
63532
63587
  roomId: string;
@@ -63602,6 +63657,23 @@ export declare const mainChatContract: {
63602
63657
  actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
63603
63658
  mentions?: string[] | undefined;
63604
63659
  } | undefined;
63660
+ messageOptions?: {
63661
+ value: string;
63662
+ label: string;
63663
+ button?: string | undefined;
63664
+ imageUrl?: string | undefined;
63665
+ postback?: string | undefined;
63666
+ }[] | undefined;
63667
+ messageTemplate?: {
63668
+ title: string;
63669
+ imageUrl: string;
63670
+ subtitle: string;
63671
+ actions: {
63672
+ value: string;
63673
+ label: string;
63674
+ action: string;
63675
+ }[];
63676
+ }[] | undefined;
63605
63677
  }, {
63606
63678
  messageType: string;
63607
63679
  roomId: string;
@@ -63677,6 +63749,23 @@ export declare const mainChatContract: {
63677
63749
  actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
63678
63750
  mentions?: string[] | undefined;
63679
63751
  } | undefined;
63752
+ messageOptions?: {
63753
+ value: string;
63754
+ label: string;
63755
+ button?: string | undefined;
63756
+ imageUrl?: string | undefined;
63757
+ postback?: string | undefined;
63758
+ }[] | undefined;
63759
+ messageTemplate?: {
63760
+ title: string;
63761
+ imageUrl: string;
63762
+ subtitle: string;
63763
+ actions: {
63764
+ value: string;
63765
+ label: string;
63766
+ action: string;
63767
+ }[];
63768
+ }[] | undefined;
63680
63769
  }>;
63681
63770
  summary: "Send message to room";
63682
63771
  method: "POST";
@@ -116834,6 +116923,61 @@ export declare const mainChatMessageContract: {
116834
116923
  actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
116835
116924
  mentions?: string[] | undefined;
116836
116925
  }>>;
116926
+ messageOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
116927
+ label: z.ZodString;
116928
+ value: z.ZodString;
116929
+ button: z.ZodOptional<z.ZodString>;
116930
+ imageUrl: z.ZodOptional<z.ZodString>;
116931
+ postback: z.ZodOptional<z.ZodString>;
116932
+ }, "strip", z.ZodTypeAny, {
116933
+ value: string;
116934
+ label: string;
116935
+ button?: string | undefined;
116936
+ imageUrl?: string | undefined;
116937
+ postback?: string | undefined;
116938
+ }, {
116939
+ value: string;
116940
+ label: string;
116941
+ button?: string | undefined;
116942
+ imageUrl?: string | undefined;
116943
+ postback?: string | undefined;
116944
+ }>, "many">>;
116945
+ messageTemplate: z.ZodOptional<z.ZodArray<z.ZodObject<{
116946
+ title: z.ZodString;
116947
+ subtitle: z.ZodString;
116948
+ imageUrl: z.ZodString;
116949
+ actions: z.ZodArray<z.ZodObject<{
116950
+ label: z.ZodString;
116951
+ value: z.ZodString;
116952
+ action: z.ZodString;
116953
+ }, "strip", z.ZodTypeAny, {
116954
+ value: string;
116955
+ label: string;
116956
+ action: string;
116957
+ }, {
116958
+ value: string;
116959
+ label: string;
116960
+ action: string;
116961
+ }>, "many">;
116962
+ }, "strip", z.ZodTypeAny, {
116963
+ title: string;
116964
+ imageUrl: string;
116965
+ subtitle: string;
116966
+ actions: {
116967
+ value: string;
116968
+ label: string;
116969
+ action: string;
116970
+ }[];
116971
+ }, {
116972
+ title: string;
116973
+ imageUrl: string;
116974
+ subtitle: string;
116975
+ actions: {
116976
+ value: string;
116977
+ label: string;
116978
+ action: string;
116979
+ }[];
116980
+ }>, "many">>;
116837
116981
  }, "strip", z.ZodTypeAny, {
116838
116982
  messageType: string;
116839
116983
  roomId: string;
@@ -116909,6 +117053,23 @@ export declare const mainChatMessageContract: {
116909
117053
  actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
116910
117054
  mentions?: string[] | undefined;
116911
117055
  } | undefined;
117056
+ messageOptions?: {
117057
+ value: string;
117058
+ label: string;
117059
+ button?: string | undefined;
117060
+ imageUrl?: string | undefined;
117061
+ postback?: string | undefined;
117062
+ }[] | undefined;
117063
+ messageTemplate?: {
117064
+ title: string;
117065
+ imageUrl: string;
117066
+ subtitle: string;
117067
+ actions: {
117068
+ value: string;
117069
+ label: string;
117070
+ action: string;
117071
+ }[];
117072
+ }[] | undefined;
116912
117073
  }, {
116913
117074
  messageType: string;
116914
117075
  roomId: string;
@@ -116984,6 +117145,23 @@ export declare const mainChatMessageContract: {
116984
117145
  actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
116985
117146
  mentions?: string[] | undefined;
116986
117147
  } | undefined;
117148
+ messageOptions?: {
117149
+ value: string;
117150
+ label: string;
117151
+ button?: string | undefined;
117152
+ imageUrl?: string | undefined;
117153
+ postback?: string | undefined;
117154
+ }[] | undefined;
117155
+ messageTemplate?: {
117156
+ title: string;
117157
+ imageUrl: string;
117158
+ subtitle: string;
117159
+ actions: {
117160
+ value: string;
117161
+ label: string;
117162
+ action: string;
117163
+ }[];
117164
+ }[] | undefined;
116987
117165
  }>;
116988
117166
  summary: "Send message to room";
116989
117167
  method: "POST";