@pushwoosh/rpc-gateway-messaging 0.6.217 → 0.6.219

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
@@ -345,6 +345,9 @@ export const data = {
345
345
  },
346
346
  "geoZone": {
347
347
  "type": "pushwoosh.channels.messagingApi.v2.GeoZone"
348
+ },
349
+ "silentHours": {
350
+ "type": "pushwoosh.channels.messagingApi.v2.SilentHoursOptions"
348
351
  }
349
352
  },
350
353
  "oneofs": {
@@ -492,6 +495,9 @@ export const data = {
492
495
  },
493
496
  "resend": {
494
497
  "type": "pushwoosh.channels.messagingApi.v2.Resend"
498
+ },
499
+ "silentHours": {
500
+ "type": "pushwoosh.channels.messagingApi.v2.SilentHoursOptions"
495
501
  }
496
502
  },
497
503
  "oneofs": {
@@ -584,6 +590,14 @@ export const data = {
584
590
  }
585
591
  }
586
592
  },
593
+ "pushwoosh.channels.messagingApi.v2.SilentHoursOptions": {
594
+ "type": "I",
595
+ "fields": {
596
+ "avoid": {
597
+ "type": "boolean"
598
+ }
599
+ }
600
+ },
587
601
  "pushwoosh.channels.messagingApi.v2.SendRate": {
588
602
  "type": "I",
589
603
  "fields": {
@@ -1844,7 +1858,8 @@ export const data = {
1844
1858
  "type": "E",
1845
1859
  "values": [
1846
1860
  "EMAIL_SUNSET_MODE_DEFAULT",
1847
- "EMAIL_SUNSET_MODE_OFF"
1861
+ "EMAIL_SUNSET_MODE_OFF",
1862
+ "EMAIL_SUNSET_MODE_WINBACK"
1848
1863
  ]
1849
1864
  },
1850
1865
  "pushwoosh.channels.messagingApi.v2.AppInboxPayload": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.217",
3
+ "version": "0.6.219",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -270,6 +270,8 @@ export type NotifySegment = {
270
270
  contentPlaceholders: object;
271
271
  resend: Resend;
272
272
  geoZone: GeoZone;
273
+ /** Application silent hours for this message. */
274
+ silentHours: SilentHoursOptions;
273
275
  target: NotifySegment_target;
274
276
  messagePayload: NotifySegment_messagePayload;
275
277
  };
@@ -381,6 +383,8 @@ export type NotifyTransactional = {
381
383
  /** Placeholder name to the value substituted into the message content; wins over dynamic_content_placeholders on the same key. */
382
384
  contentPlaceholders: object;
383
385
  resend: Resend;
386
+ /** Application silent hours for this message. */
387
+ silentHours: SilentHoursOptions;
384
388
  target: NotifyTransactional_target;
385
389
  messagePayload: NotifyTransactional_messagePayload;
386
390
  };
@@ -440,6 +444,11 @@ export type FrequencyCapping = {
440
444
  /** IANA timezone name midnight is calculated in for the calendar day mode; empty means UTC. */
441
445
  timezone: string;
442
446
  };
447
+ /** Application silent hours for one message. Transactional messages are never held by them. */
448
+ export type SilentHoursOptions = {
449
+ /** Send even during the application silent hours. */
450
+ avoid: boolean;
451
+ };
443
452
  export type SendRate = {
444
453
  /** Messages per bucket; bounded by the account's send-rate restrictions. */
445
454
  value: number;
@@ -1229,8 +1238,10 @@ export type EmailSunsetPolicy = {
1229
1238
  export type EmailSunsetMode =
1230
1239
  /** The application's policy applies: marketing emails skip recipients inactive within its period. */
1231
1240
  'EMAIL_SUNSET_MODE_DEFAULT'
1232
- /** The policy does not apply: inactive recipients get the email too, for win-back sends. */
1233
- | 'EMAIL_SUNSET_MODE_OFF';
1241
+ /** The policy does not apply: inactive recipients get the email too. */
1242
+ | 'EMAIL_SUNSET_MODE_OFF'
1243
+ /** Win-back: a marketing email goes only to recipients inactive within the policy period; ignored when the policy is off. */
1244
+ | 'EMAIL_SUNSET_MODE_WINBACK';
1234
1245
  export type AppInboxPayload_expiration_expirationDate = {
1235
1246
  type: 'expirationDate';
1236
1247
  data: Date;