@pushwoosh/rpc-gateway-ai-assistant 0.1.216 → 0.1.218
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/data.js +47 -1
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +31 -1
package/data.js
CHANGED
|
@@ -615,6 +615,24 @@ export const data = {
|
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
|
+
"pushwoosh.aibuilder.v1.SocialRow": {
|
|
619
|
+
"type": "I",
|
|
620
|
+
"fields": {
|
|
621
|
+
"links": {
|
|
622
|
+
"type": "pushwoosh.aibuilder.v1.SocialLink",
|
|
623
|
+
"array": true
|
|
624
|
+
},
|
|
625
|
+
"align": {
|
|
626
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
627
|
+
},
|
|
628
|
+
"iconSize": {
|
|
629
|
+
"type": "number"
|
|
630
|
+
},
|
|
631
|
+
"gap": {
|
|
632
|
+
"type": "number"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
},
|
|
618
636
|
"pushwoosh.aibuilder.v1.ContentItem": {
|
|
619
637
|
"type": "I",
|
|
620
638
|
"fields": {
|
|
@@ -642,6 +660,9 @@ export const data = {
|
|
|
642
660
|
"menu": {
|
|
643
661
|
"type": "pushwoosh.aibuilder.v1.Menu"
|
|
644
662
|
},
|
|
663
|
+
"social": {
|
|
664
|
+
"type": "pushwoosh.aibuilder.v1.SocialRow"
|
|
665
|
+
},
|
|
645
666
|
"padding": {
|
|
646
667
|
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
647
668
|
"optional": true
|
|
@@ -657,7 +678,8 @@ export const data = {
|
|
|
657
678
|
"form",
|
|
658
679
|
"timer",
|
|
659
680
|
"rawHtml",
|
|
660
|
-
"menu"
|
|
681
|
+
"menu",
|
|
682
|
+
"social"
|
|
661
683
|
]
|
|
662
684
|
}
|
|
663
685
|
}
|
|
@@ -938,6 +960,14 @@ export const data = {
|
|
|
938
960
|
},
|
|
939
961
|
"url": {
|
|
940
962
|
"type": "string"
|
|
963
|
+
},
|
|
964
|
+
"translations": {
|
|
965
|
+
"type": "string",
|
|
966
|
+
"mapKeyType": "string"
|
|
967
|
+
},
|
|
968
|
+
"urlTranslations": {
|
|
969
|
+
"type": "string",
|
|
970
|
+
"mapKeyType": "string"
|
|
941
971
|
}
|
|
942
972
|
}
|
|
943
973
|
},
|
|
@@ -989,6 +1019,22 @@ export const data = {
|
|
|
989
1019
|
"appBadges": {
|
|
990
1020
|
"type": "pushwoosh.aibuilder.v1.AppBadge",
|
|
991
1021
|
"array": true
|
|
1022
|
+
},
|
|
1023
|
+
"unsubscribeLabelTranslations": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"mapKeyType": "string"
|
|
1026
|
+
},
|
|
1027
|
+
"copyrightTranslations": {
|
|
1028
|
+
"type": "string",
|
|
1029
|
+
"mapKeyType": "string"
|
|
1030
|
+
},
|
|
1031
|
+
"companyNameTranslations": {
|
|
1032
|
+
"type": "string",
|
|
1033
|
+
"mapKeyType": "string"
|
|
1034
|
+
},
|
|
1035
|
+
"addressTranslations": {
|
|
1036
|
+
"type": "string",
|
|
1037
|
+
"mapKeyType": "string"
|
|
992
1038
|
}
|
|
993
1039
|
}
|
|
994
1040
|
},
|
package/package.json
CHANGED
|
@@ -509,6 +509,20 @@ export type Menu = {
|
|
|
509
509
|
separator: string;
|
|
510
510
|
itemPadding?: EdgeInsets;
|
|
511
511
|
};
|
|
512
|
+
/**
|
|
513
|
+
* Row of social-network icon links in the content flow (Unlayer's "social"
|
|
514
|
+
* widget; same SocialLink shape as the footer row). Client-managed — the
|
|
515
|
+
* LLM never emits it; icons come from the client's stock icon set.
|
|
516
|
+
*/
|
|
517
|
+
export type SocialRow = {
|
|
518
|
+
links: SocialLink[];
|
|
519
|
+
/** UNSPECIFIED renders center (Unlayer's social default). */
|
|
520
|
+
align: TextAlign;
|
|
521
|
+
/** px; 0 = client default (24) */
|
|
522
|
+
iconSize: number;
|
|
523
|
+
/** px between icons; 0 = client default (12) */
|
|
524
|
+
gap: number;
|
|
525
|
+
};
|
|
512
526
|
export type ContentItem_item_text = {
|
|
513
527
|
type: 'text';
|
|
514
528
|
data: TextBlock;
|
|
@@ -541,7 +555,11 @@ export type ContentItem_item_menu = {
|
|
|
541
555
|
type: 'menu';
|
|
542
556
|
data: Menu;
|
|
543
557
|
};
|
|
544
|
-
export type
|
|
558
|
+
export type ContentItem_item_social = {
|
|
559
|
+
type: 'social';
|
|
560
|
+
data: SocialRow;
|
|
561
|
+
};
|
|
562
|
+
export type ContentItem_item = ContentItem_item_text | ContentItem_item_buttonGroup | ContentItem_item_list | ContentItem_item_image | ContentItem_item_form | ContentItem_item_timer | ContentItem_item_rawHtml | ContentItem_item_menu | ContentItem_item_social;
|
|
545
563
|
export type ContentItem = {
|
|
546
564
|
/**
|
|
547
565
|
* Container padding of the item. Unset = client's default inter-item gap;
|
|
@@ -773,6 +791,10 @@ export type AppStorePlatform = 'APP_STORE_PLATFORM_UNSPECIFIED' | 'APP_STORE_PLA
|
|
|
773
791
|
export type NavLink = {
|
|
774
792
|
label: string;
|
|
775
793
|
url: string;
|
|
794
|
+
/** Per-language overrides of `label`; same contract as MenuItem.translations. */
|
|
795
|
+
translations: Record<string, string>;
|
|
796
|
+
/** Per-language overrides of `url` (e.g. locale-specific Privacy Policy). */
|
|
797
|
+
urlTranslations: Record<string, string>;
|
|
776
798
|
};
|
|
777
799
|
export type SocialLink = {
|
|
778
800
|
platform: SocialPlatform;
|
|
@@ -791,6 +813,14 @@ export type FooterContent = {
|
|
|
791
813
|
links: NavLink[];
|
|
792
814
|
social: SocialLink[];
|
|
793
815
|
appBadges: AppBadge[];
|
|
816
|
+
/**
|
|
817
|
+
* Per-language overrides; same contract as EmailSettings.subject_translations.
|
|
818
|
+
* URLs (links/social/badges) are the only fields shared across languages.
|
|
819
|
+
*/
|
|
820
|
+
unsubscribeLabelTranslations: Record<string, string>;
|
|
821
|
+
copyrightTranslations: Record<string, string>;
|
|
822
|
+
companyNameTranslations: Record<string, string>;
|
|
823
|
+
addressTranslations: Record<string, string>;
|
|
794
824
|
};
|
|
795
825
|
/**
|
|
796
826
|
* EmailSettings holds the email-only document-level fields produced by
|