@pushwoosh/rpc-gateway-ai-assistant 0.1.217 → 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 CHANGED
@@ -960,6 +960,14 @@ export const data = {
960
960
  },
961
961
  "url": {
962
962
  "type": "string"
963
+ },
964
+ "translations": {
965
+ "type": "string",
966
+ "mapKeyType": "string"
967
+ },
968
+ "urlTranslations": {
969
+ "type": "string",
970
+ "mapKeyType": "string"
963
971
  }
964
972
  }
965
973
  },
@@ -1011,6 +1019,22 @@ export const data = {
1011
1019
  "appBadges": {
1012
1020
  "type": "pushwoosh.aibuilder.v1.AppBadge",
1013
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"
1014
1038
  }
1015
1039
  }
1016
1040
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.217",
3
+ "version": "0.1.218",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -791,6 +791,10 @@ export type AppStorePlatform = 'APP_STORE_PLATFORM_UNSPECIFIED' | 'APP_STORE_PLA
791
791
  export type NavLink = {
792
792
  label: string;
793
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>;
794
798
  };
795
799
  export type SocialLink = {
796
800
  platform: SocialPlatform;
@@ -809,6 +813,14 @@ export type FooterContent = {
809
813
  links: NavLink[];
810
814
  social: SocialLink[];
811
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>;
812
824
  };
813
825
  /**
814
826
  * EmailSettings holds the email-only document-level fields produced by