@pushwoosh/rpc-gateway-apple-passkit 0.1.56 → 0.1.57
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 +12 -0
- package/package.json +1 -1
- package/pushwoosh_googlewallet_v1.d.ts +11 -0
package/data.js
CHANGED
|
@@ -386,6 +386,15 @@ export const data = {
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
|
+
"pushwoosh.googlewallet.v1.GooglePass.HoldersPolicy": {
|
|
390
|
+
"type": "E",
|
|
391
|
+
"values": [
|
|
392
|
+
"HOLDERS_POLICY_UNSPECIFIED",
|
|
393
|
+
"ONE_USER_ALL_DEVICES",
|
|
394
|
+
"MULTIPLE_HOLDERS",
|
|
395
|
+
"ONE_USER_ONE_DEVICE"
|
|
396
|
+
]
|
|
397
|
+
},
|
|
389
398
|
"pushwoosh.googlewallet.v1.GooglePass": {
|
|
390
399
|
"type": "I",
|
|
391
400
|
"fields": {
|
|
@@ -422,6 +431,9 @@ export const data = {
|
|
|
422
431
|
"type": "pushwoosh.googlewallet.v1.GoogleLocation",
|
|
423
432
|
"array": true
|
|
424
433
|
},
|
|
434
|
+
"holdersPolicy": {
|
|
435
|
+
"type": "pushwoosh.googlewallet.v1.GooglePass.HoldersPolicy"
|
|
436
|
+
},
|
|
425
437
|
"generic": {
|
|
426
438
|
"type": "pushwoosh.googlewallet.v1.GoogleGeneric"
|
|
427
439
|
},
|
package/package.json
CHANGED
|
@@ -282,6 +282,16 @@ export type GoogleBarcode = {
|
|
|
282
282
|
value: string;
|
|
283
283
|
altText: string;
|
|
284
284
|
};
|
|
285
|
+
/** Who may save the pass (Google's multipleDevicesAndHoldersAllowedStatus). */
|
|
286
|
+
export type GooglePass_HoldersPolicy =
|
|
287
|
+
/** Treated as ONE_USER_ALL_DEVICES: passes are issued to a specific user_id. */
|
|
288
|
+
'HOLDERS_POLICY_UNSPECIFIED'
|
|
289
|
+
/** One Google account, all its devices. */
|
|
290
|
+
| 'ONE_USER_ALL_DEVICES'
|
|
291
|
+
/** Anyone with the save link; all holders see the same object. */
|
|
292
|
+
| 'MULTIPLE_HOLDERS'
|
|
293
|
+
/** A single device of a single account. */
|
|
294
|
+
| 'ONE_USER_ONE_DEVICE';
|
|
285
295
|
export type GooglePass_style_generic = {
|
|
286
296
|
type: 'generic';
|
|
287
297
|
data: GoogleGeneric;
|
|
@@ -336,6 +346,7 @@ export type GooglePass = {
|
|
|
336
346
|
appLink: GoogleAppLink;
|
|
337
347
|
/** Geofenced-notification points (max 10). */
|
|
338
348
|
locations: GoogleLocation[];
|
|
349
|
+
holdersPolicy: GooglePass_HoldersPolicy;
|
|
339
350
|
style: GooglePass_style;
|
|
340
351
|
};
|
|
341
352
|
/** Get config request */
|