@pushwoosh/rpc-gateway-messaging 0.6.217 → 0.6.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 +14 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +9 -0
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": {
|
package/package.json
CHANGED
|
@@ -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;
|