@pushwoosh/rpc-gateway-apple-passkit 0.1.127 → 0.1.128

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
@@ -664,6 +664,9 @@ export const data = {
664
664
  },
665
665
  "pass": {
666
666
  "type": "pushwoosh.googlewallet.v1.GooglePass"
667
+ },
668
+ "walletCampaignId": {
669
+ "type": "number"
667
670
  }
668
671
  }
669
672
  },
@@ -737,6 +740,9 @@ export const data = {
737
740
  },
738
741
  "unattachedOnly": {
739
742
  "type": "boolean"
743
+ },
744
+ "walletCampaignId": {
745
+ "type": "number"
740
746
  }
741
747
  }
742
748
  },
@@ -2026,6 +2032,9 @@ export const data = {
2026
2032
  },
2027
2033
  "perPage": {
2028
2034
  "type": "number"
2035
+ },
2036
+ "query": {
2037
+ "type": "string"
2029
2038
  }
2030
2039
  }
2031
2040
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.127",
3
+ "version": "0.1.128",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -449,6 +449,8 @@ export type GooglePassRecord = {
449
449
  style: string;
450
450
  /** Full pass structure for updates */
451
451
  pass: GooglePass;
452
+ /** 0 for a standalone pass; otherwise the campaign this pass follows. */
453
+ walletCampaignId: number;
452
454
  };
453
455
  /** Set pass state request */
454
456
  export type SetPassStateRequest = {
@@ -479,6 +481,8 @@ export type ListPassesRequest = {
479
481
  query: string;
480
482
  /** Only passes that belong to no campaign. */
481
483
  unattachedOnly: boolean;
484
+ /** Only passes of this campaign; 0 => any campaign. */
485
+ walletCampaignId: number;
482
486
  };
483
487
  /** List passes response */
484
488
  export type ListPassesResponse = {
@@ -189,6 +189,8 @@ export type ListCampaignsRequest = {
189
189
  platform: Platform;
190
190
  page: number;
191
191
  perPage: number;
192
+ /** Matches the campaign name, case-insensitive substring. */
193
+ query: string;
192
194
  };
193
195
  export type ListCampaignsResponse = {
194
196
  campaigns: Campaign[];