@pushwoosh/rpc-gateway-apple-passkit 0.1.59 → 0.1.60

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
@@ -666,6 +666,31 @@ export const data = {
666
666
  "type": "I",
667
667
  "fields": {}
668
668
  },
669
+ "pushwoosh.googlewallet.v1.SendGooglePassMessageRequest": {
670
+ "type": "I",
671
+ "fields": {
672
+ "objectId": {
673
+ "type": "string"
674
+ },
675
+ "header": {
676
+ "type": "string"
677
+ },
678
+ "body": {
679
+ "type": "string"
680
+ },
681
+ "messageId": {
682
+ "type": "string"
683
+ }
684
+ }
685
+ },
686
+ "pushwoosh.googlewallet.v1.SendGooglePassMessageResponse": {
687
+ "type": "I",
688
+ "fields": {
689
+ "success": {
690
+ "type": "boolean"
691
+ }
692
+ }
693
+ },
669
694
  "pushwoosh.googlewallet.v1.DeletePassRequest": {
670
695
  "type": "I",
671
696
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -456,6 +456,24 @@ export type SetPassStateRequest = {
456
456
  active: boolean;
457
457
  };
458
458
  export type SetPassStateResponse = {};
459
+ /**
460
+ * Send-message request. object_id is the full Google object id
461
+ * "{issuerId}.{serial}" (carried as the device push token by the sender).
462
+ */
463
+ export type SendGooglePassMessageRequest = {
464
+ objectId: string;
465
+ header: string;
466
+ body: string;
467
+ /**
468
+ * Stable id used as Google's Message.Id so a sender retry (at-least-once
469
+ * delivery) does not produce a duplicate notification. The caller should pass
470
+ * the message identifier; if empty, a random id is generated (not retry-safe).
471
+ */
472
+ messageId: string;
473
+ };
474
+ export type SendGooglePassMessageResponse = {
475
+ success: boolean;
476
+ };
459
477
  /** Delete pass request */
460
478
  export type DeletePassRequest = {
461
479
  applicationCode: string;