@pushwoosh/rpc-gateway-apple-passkit 0.1.97 → 0.1.99

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
@@ -740,6 +740,12 @@ export const data = {
740
740
  },
741
741
  "perPage": {
742
742
  "type": "number"
743
+ },
744
+ "query": {
745
+ "type": "string"
746
+ },
747
+ "unattachedOnly": {
748
+ "type": "boolean"
743
749
  }
744
750
  }
745
751
  },
@@ -1489,6 +1495,9 @@ export const data = {
1489
1495
  },
1490
1496
  "walletCampaignId": {
1491
1497
  "type": "number"
1498
+ },
1499
+ "unattachedOnly": {
1500
+ "type": "boolean"
1492
1501
  }
1493
1502
  }
1494
1503
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.97",
3
+ "version": "0.1.99",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -493,6 +493,10 @@ export type ListPassesRequest = {
493
493
  page: number;
494
494
  /** 0 => server default page size */
495
495
  perPage: number;
496
+ /** Matches the serial number, the Pushwoosh User ID or the barcode. */
497
+ query: string;
498
+ /** Only passes that belong to no campaign. */
499
+ unattachedOnly: boolean;
496
500
  };
497
501
  /** List passes response */
498
502
  export type ListPassesResponse = {
@@ -314,6 +314,11 @@ export type ListPassesRequest = {
314
314
  query: string;
315
315
  /** 0 => passes of every campaign and standalone ones. */
316
316
  walletCampaignId: number;
317
+ /**
318
+ * Only passes that belong to no campaign. proto3 cannot tell "campaign 0" from
319
+ * "no filter" on the field above, so the free ones need a flag of their own.
320
+ */
321
+ unattachedOnly: boolean;
317
322
  };
318
323
  /** List passes response */
319
324
  export type ListPassesResponse = {