@pushwoosh/rpc-gateway-messaging 0.6.187 → 0.6.188
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 +37 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +16 -0
package/data.js
CHANGED
|
@@ -339,6 +339,9 @@ export const data = {
|
|
|
339
339
|
},
|
|
340
340
|
"contentPlaceholders": {
|
|
341
341
|
"type": "object"
|
|
342
|
+
},
|
|
343
|
+
"resend": {
|
|
344
|
+
"type": "pushwoosh.channels.messagingApi.v2.Resend"
|
|
342
345
|
}
|
|
343
346
|
},
|
|
344
347
|
"oneofs": {
|
|
@@ -469,6 +472,9 @@ export const data = {
|
|
|
469
472
|
},
|
|
470
473
|
"contentPlaceholders": {
|
|
471
474
|
"type": "object"
|
|
475
|
+
},
|
|
476
|
+
"resend": {
|
|
477
|
+
"type": "pushwoosh.channels.messagingApi.v2.Resend"
|
|
472
478
|
}
|
|
473
479
|
},
|
|
474
480
|
"oneofs": {
|
|
@@ -575,6 +581,37 @@ export const data = {
|
|
|
575
581
|
}
|
|
576
582
|
}
|
|
577
583
|
},
|
|
584
|
+
"pushwoosh.channels.messagingApi.v2.ResendAction": {
|
|
585
|
+
"type": "E",
|
|
586
|
+
"values": [
|
|
587
|
+
"RESEND_ACTION_UNSPECIFIED",
|
|
588
|
+
"RESEND_ACTION_CREATE",
|
|
589
|
+
"RESEND_ACTION_UPDATE",
|
|
590
|
+
"RESEND_ACTION_CANCEL"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"pushwoosh.channels.messagingApi.v2.Resend": {
|
|
594
|
+
"type": "I",
|
|
595
|
+
"fields": {
|
|
596
|
+
"segment": {
|
|
597
|
+
"type": "pushwoosh.channels.messagingApi.v2.NotifySegment"
|
|
598
|
+
},
|
|
599
|
+
"transactional": {
|
|
600
|
+
"type": "pushwoosh.channels.messagingApi.v2.NotifyTransactional"
|
|
601
|
+
},
|
|
602
|
+
"action": {
|
|
603
|
+
"type": "pushwoosh.channels.messagingApi.v2.ResendAction"
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"oneofs": {
|
|
607
|
+
"message": {
|
|
608
|
+
"oneof": [
|
|
609
|
+
"segment",
|
|
610
|
+
"transactional"
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
},
|
|
578
615
|
"pushwoosh.channels.messagingApi.v2.DeliveryPriority": {
|
|
579
616
|
"type": "E",
|
|
580
617
|
"values": [
|
package/package.json
CHANGED
|
@@ -268,6 +268,7 @@ export type NotifySegment = {
|
|
|
268
268
|
messageTypeSource: MessageTypeSource;
|
|
269
269
|
/** Placeholder name to the value substituted into the message content; wins over dynamic_content_placeholders on the same key. */
|
|
270
270
|
contentPlaceholders: object;
|
|
271
|
+
resend: Resend;
|
|
271
272
|
target: NotifySegment_target;
|
|
272
273
|
messagePayload: NotifySegment_messagePayload;
|
|
273
274
|
};
|
|
@@ -373,6 +374,7 @@ export type NotifyTransactional = {
|
|
|
373
374
|
messageTypeSource: MessageTypeSource;
|
|
374
375
|
/** Placeholder name to the value substituted into the message content; wins over dynamic_content_placeholders on the same key. */
|
|
375
376
|
contentPlaceholders: object;
|
|
377
|
+
resend: Resend;
|
|
376
378
|
target: NotifyTransactional_target;
|
|
377
379
|
messagePayload: NotifyTransactional_messagePayload;
|
|
378
380
|
};
|
|
@@ -440,6 +442,20 @@ export type SendRate = {
|
|
|
440
442
|
/** Send at full speed, ignoring any configured send rate. */
|
|
441
443
|
avoid: boolean;
|
|
442
444
|
};
|
|
445
|
+
export type ResendAction = 'RESEND_ACTION_UNSPECIFIED' | 'RESEND_ACTION_CREATE' | 'RESEND_ACTION_UPDATE' | 'RESEND_ACTION_CANCEL';
|
|
446
|
+
export type Resend_message_segment = {
|
|
447
|
+
type: 'segment';
|
|
448
|
+
data: NotifySegment;
|
|
449
|
+
};
|
|
450
|
+
export type Resend_message_transactional = {
|
|
451
|
+
type: 'transactional';
|
|
452
|
+
data: NotifyTransactional;
|
|
453
|
+
};
|
|
454
|
+
export type Resend_message = Resend_message_segment | Resend_message_transactional;
|
|
455
|
+
export type Resend = {
|
|
456
|
+
action: ResendAction;
|
|
457
|
+
message: Resend_message;
|
|
458
|
+
};
|
|
443
459
|
export type DeliveryPriority = 'NORMAL' | 'HIGH';
|
|
444
460
|
export type NotificationPriority = 'PRIORITY_UNSPECIFIED' | 'PRIORITY_MIN' | 'PRIORITY_LOW' | 'PRIORITY_DEFAULT' | 'PRIORITY_HIGH' | 'PRIORITY_MAX';
|
|
445
461
|
export type LiveActivity = {
|