@pushwoosh/rpc-gateway-apple-passkit 0.1.115 → 0.1.116

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
@@ -489,9 +489,25 @@ export const data = {
489
489
  },
490
490
  "serviceAccountEmail": {
491
491
  "type": "string"
492
+ },
493
+ "pushwooshServiceAccountEmail": {
494
+ "type": "string"
495
+ },
496
+ "issuerStatus": {
497
+ "type": "pushwoosh.googlewallet.v1.GoogleIssuerStatus"
492
498
  }
493
499
  }
494
500
  },
501
+ "pushwoosh.googlewallet.v1.GoogleIssuerStatus": {
502
+ "type": "E",
503
+ "values": [
504
+ "GOOGLE_ISSUER_STATUS_UNSPECIFIED",
505
+ "GOOGLE_ISSUER_STATUS_OK",
506
+ "GOOGLE_ISSUER_STATUS_NOT_INVITED",
507
+ "GOOGLE_ISSUER_STATUS_NOT_OWNED",
508
+ "GOOGLE_ISSUER_STATUS_UNAVAILABLE"
509
+ ]
510
+ },
495
511
  "pushwoosh.googlewallet.v1.ValidatePassRequest": {
496
512
  "type": "I",
497
513
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.115",
3
+ "version": "0.1.116",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -358,7 +358,18 @@ export type GetConfigResponse = {
358
358
  hasServiceAccount: boolean;
359
359
  issuerId: string;
360
360
  serviceAccountEmail: string;
361
- };
361
+ /** Shared Pushwoosh account the customer invites into their issuer instead of uploading a key. */
362
+ pushwooshServiceAccountEmail: string;
363
+ issuerStatus: GoogleIssuerStatus;
364
+ };
365
+ /** Whether passes can be issued into the configured issuer. */
366
+ export type GoogleIssuerStatus = 'GOOGLE_ISSUER_STATUS_UNSPECIFIED' | 'GOOGLE_ISSUER_STATUS_OK'
367
+ /** The customer has not invited the service account into the issuer yet. */
368
+ | 'GOOGLE_ISSUER_STATUS_NOT_INVITED'
369
+ /** Shared account only: none of the issuer's people is a user of this Pushwoosh account. */
370
+ | 'GOOGLE_ISSUER_STATUS_NOT_OWNED'
371
+ /** Google did not answer; retry later. */
372
+ | 'GOOGLE_ISSUER_STATUS_UNAVAILABLE';
362
373
  /** Validate pass request */
363
374
  export type ValidatePassRequest = {
364
375
  pass: GooglePass;