@pushwoosh/rpc-gateway-apple-passkit 0.1.55 → 0.1.56

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
@@ -549,6 +549,9 @@ export const data = {
549
549
  },
550
550
  "notifyMessage": {
551
551
  "type": "string"
552
+ },
553
+ "notifyOnUpdate": {
554
+ "type": "boolean"
552
555
  }
553
556
  }
554
557
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -385,6 +385,16 @@ export type UpdatePassRequest = {
385
385
  * who saved the pass; empty means a silent update.
386
386
  */
387
387
  notifyMessage: string;
388
+ /**
389
+ * When true, ask Google to notify users about changed fields
390
+ * (notifyPreference=NOTIFY_ON_UPDATE). Google renders the notification text
391
+ * itself and only loyalty, event ticket and flight passes have notifiable
392
+ * fields (loyalty points/tier/program name; event name/venue/time/seat;
393
+ * flight seat) - a no-op for the other styles. Event and flight
394
+ * notifications fire only within 3 hours of the start time. Quota: 3
395
+ * field-update notifications per pass per 24h.
396
+ */
397
+ notifyOnUpdate: boolean;
388
398
  };
389
399
  /** Update pass response */
390
400
  export type UpdatePassResponse = {