@pushwoosh/rpc-gateway-apple-passkit 0.1.79 → 0.1.81

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
@@ -1435,6 +1435,20 @@ export const data = {
1435
1435
  },
1436
1436
  "userId": {
1437
1437
  "type": "string"
1438
+ },
1439
+ "walletCampaignId": {
1440
+ "type": "number"
1441
+ },
1442
+ "fieldValues": {
1443
+ "type": "string",
1444
+ "mapKeyType": "string"
1445
+ },
1446
+ "overriddenFields": {
1447
+ "type": "string",
1448
+ "array": true
1449
+ },
1450
+ "lastCampaignRevision": {
1451
+ "type": "number"
1438
1452
  }
1439
1453
  }
1440
1454
  },
@@ -1469,6 +1483,12 @@ export const data = {
1469
1483
  },
1470
1484
  "perPage": {
1471
1485
  "type": "number"
1486
+ },
1487
+ "query": {
1488
+ "type": "string"
1489
+ },
1490
+ "walletCampaignId": {
1491
+ "type": "number"
1472
1492
  }
1473
1493
  }
1474
1494
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.79",
3
+ "version": "0.1.81",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -290,6 +290,14 @@ export type PassRecord = {
290
290
  pass: Pass;
291
291
  /** Pushwoosh User ID the pass was issued to */
292
292
  userId: string;
293
+ /** 0 for a standalone pass; otherwise the campaign this pass follows. */
294
+ walletCampaignId: number;
295
+ /** The pass's own values, which beat the campaign's at render time. */
296
+ fieldValues: Record<string, string>;
297
+ /** Campaign keys pinned by hand on this pass. */
298
+ overriddenFields: string[];
299
+ /** Campaign revision this pass has been updated to. */
300
+ lastCampaignRevision: number;
293
301
  };
294
302
  export type ListPassesRequest_OrderBy = 'UPDATED' | 'CREATED';
295
303
  export type ListPassesRequest_OrderDirection = 'DESC' | 'ASC';
@@ -302,6 +310,10 @@ export type ListPassesRequest = {
302
310
  page: number;
303
311
  /** 0 => server default page size */
304
312
  perPage: number;
313
+ /** Matches the serial number or the Pushwoosh User ID. */
314
+ query: string;
315
+ /** 0 => passes of every campaign and standalone ones. */
316
+ walletCampaignId: number;
305
317
  };
306
318
  /** List passes response */
307
319
  export type ListPassesResponse = {