@pushwoosh/rpc-v2-http-api-data 0.2.72 → 0.2.74

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/accounts.d.ts CHANGED
@@ -328,6 +328,8 @@ export type CreateEmailTemplateRequest = {
328
328
  label?: string;
329
329
  categories?: string[];
330
330
  previewSettings?: object;
331
+ /** System templates are feature internals (e.g. synced-block fragments): hidden from List/labels, still reachable by code. */
332
+ system?: boolean;
331
333
  };
332
334
  export type CreateEmailTemplateResponse = {
333
335
  emailTemplate: EmailTemplate;
@@ -32,6 +32,10 @@ export type AppStorePlatform = 'APP_STORE_PLATFORM_UNSPECIFIED' | 'APP_STORE_PLA
32
32
  export type NavLink = {
33
33
  label: string;
34
34
  url: string;
35
+ /** Per-language label overrides keyed by language code; a missing key falls back to label. */
36
+ translations: Record<string, string>;
37
+ /** Per-language URL overrides (per-locale privacy policy etc.); a missing key falls back to url. */
38
+ urlTranslations: Record<string, string>;
35
39
  };
36
40
  export type SocialLink = {
37
41
  platform: SocialPlatform;
@@ -55,6 +59,15 @@ export type EmailFooter = {
55
59
  logoWidth: number;
56
60
  /** Click-through URL for the logo; empty = plain image. */
57
61
  logoLink: string;
62
+ /**
63
+ * Per-language overrides of the text fields, keyed by language code; a
64
+ * missing key falls back to the base field. Mirrors the per-document
65
+ * pushwoosh.aibuilder.v1.FooterContent translation maps.
66
+ */
67
+ unsubscribeLabelTranslations: Record<string, string>;
68
+ copyrightTranslations: Record<string, string>;
69
+ companyNameTranslations: Record<string, string>;
70
+ addressTranslations: Record<string, string>;
58
71
  };
59
72
  export type GetEmailFooterRequest = {
60
73
  /** Application code (format XXXXX-XXXXX) whose email footer to fetch. */
package/data.js CHANGED
@@ -3375,6 +3375,14 @@ export const data = {
3375
3375
  },
3376
3376
  "url": {
3377
3377
  "type": "string"
3378
+ },
3379
+ "translations": {
3380
+ "type": "string",
3381
+ "mapKeyType": "string"
3382
+ },
3383
+ "urlTranslations": {
3384
+ "type": "string",
3385
+ "mapKeyType": "string"
3378
3386
  }
3379
3387
  }
3380
3388
  },
@@ -3435,6 +3443,22 @@ export const data = {
3435
3443
  },
3436
3444
  "logoLink": {
3437
3445
  "type": "string"
3446
+ },
3447
+ "unsubscribeLabelTranslations": {
3448
+ "type": "string",
3449
+ "mapKeyType": "string"
3450
+ },
3451
+ "copyrightTranslations": {
3452
+ "type": "string",
3453
+ "mapKeyType": "string"
3454
+ },
3455
+ "companyNameTranslations": {
3456
+ "type": "string",
3457
+ "mapKeyType": "string"
3458
+ },
3459
+ "addressTranslations": {
3460
+ "type": "string",
3461
+ "mapKeyType": "string"
3438
3462
  }
3439
3463
  }
3440
3464
  },
@@ -7587,6 +7611,9 @@ export const data = {
7587
7611
  },
7588
7612
  "previewSettings": {
7589
7613
  "type": "object"
7614
+ },
7615
+ "system": {
7616
+ "type": "boolean"
7590
7617
  }
7591
7618
  }
7592
7619
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.72",
3
+ "version": "0.2.74",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",