@maxim_mazurok/gapi.client.walletobjects-v1 0.1.20260318 → 0.2.20260605

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.
Files changed (3) hide show
  1. package/index.d.ts +902 -406
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://walletobjects.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260318
12
+ // Revision: 20260605
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,7 +35,12 @@ declare namespace gapi.client {
35
35
  allowReactivation?: boolean;
36
36
  }
37
37
  interface ActivationStatus {
38
- state?: string;
38
+ state?:
39
+ | 'UNKNOWN_STATE'
40
+ | 'NOT_ACTIVATED'
41
+ | 'not_activated'
42
+ | 'ACTIVATED'
43
+ | 'activated';
39
44
  }
40
45
  interface AddMessageRequest {
41
46
  message?: Message;
@@ -90,11 +95,39 @@ declare namespace gapi.client {
90
95
  /** Identifies what kind of resource this is. Value: the fixed string `"walletobjects#barcode"`. */
91
96
  kind?: string;
92
97
  /** The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. */
93
- renderEncoding?: string;
98
+ renderEncoding?: 'RENDER_ENCODING_UNSPECIFIED' | 'UTF_8';
94
99
  /** Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. */
95
100
  showCodeText?: LocalizedString;
96
101
  /** The type of barcode. */
97
- type?: string;
102
+ type?:
103
+ | 'BARCODE_TYPE_UNSPECIFIED'
104
+ | 'AZTEC'
105
+ | 'aztec'
106
+ | 'CODE_39'
107
+ | 'code39'
108
+ | 'CODE_128'
109
+ | 'code128'
110
+ | 'CODABAR'
111
+ | 'codabar'
112
+ | 'DATA_MATRIX'
113
+ | 'dataMatrix'
114
+ | 'EAN_8'
115
+ | 'ean8'
116
+ | 'EAN_13'
117
+ | 'ean13'
118
+ | 'EAN13'
119
+ | 'ITF_14'
120
+ | 'itf14'
121
+ | 'PDF_417'
122
+ | 'pdf417'
123
+ | 'PDF417'
124
+ | 'QR_CODE'
125
+ | 'qrCode'
126
+ | 'qrcode'
127
+ | 'UPC_A'
128
+ | 'upcA'
129
+ | 'TEXT_ONLY'
130
+ | 'textOnly';
98
131
  /** The value encoded in the barcode. */
99
132
  value?: string;
100
133
  }
@@ -120,7 +153,12 @@ declare namespace gapi.client {
120
153
  }
121
154
  interface BoardingAndSeatingInfo {
122
155
  /** Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set. */
123
- boardingDoor?: string;
156
+ boardingDoor?:
157
+ | 'BOARDING_DOOR_UNSPECIFIED'
158
+ | 'FRONT'
159
+ | 'front'
160
+ | 'BACK'
161
+ | 'back';
124
162
  /** The value of boarding group (or zone) this passenger shall board with. eg: "B" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object. */
125
163
  boardingGroup?: string;
126
164
  /** The value of boarding position. eg: "76" */
@@ -140,11 +178,27 @@ declare namespace gapi.client {
140
178
  }
141
179
  interface BoardingAndSeatingPolicy {
142
180
  /** Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`. */
143
- boardingPolicy?: string;
181
+ boardingPolicy?:
182
+ | 'BOARDING_POLICY_UNSPECIFIED'
183
+ | 'ZONE_BASED'
184
+ | 'zoneBased'
185
+ | 'GROUP_BASED'
186
+ | 'groupBased'
187
+ | 'BOARDING_POLICY_OTHER'
188
+ | 'boardingPolicyOther';
144
189
  /** Identifies what kind of resource this is. Value: the fixed string `"walletobjects#boardingAndSeatingPolicy"`. */
145
190
  kind?: string;
146
191
  /** Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`. */
147
- seatClassPolicy?: string;
192
+ seatClassPolicy?:
193
+ | 'SEAT_CLASS_POLICY_UNSPECIFIED'
194
+ | 'CABIN_BASED'
195
+ | 'cabinBased'
196
+ | 'CLASS_BASED'
197
+ | 'classBased'
198
+ | 'TIER_BASED'
199
+ | 'tierBased'
200
+ | 'SEAT_CLASS_POLICY_OTHER'
201
+ | 'seatClassPolicyOther';
148
202
  }
149
203
  interface CallbackOptions {
150
204
  /** URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated. */
@@ -220,7 +274,12 @@ declare namespace gapi.client {
220
274
  /** Path to the data, set if reference_type is PATH */
221
275
  path?: string;
222
276
  /** Describes what the field reference contains. */
223
- referenceType?: string;
277
+ referenceType?:
278
+ | 'PATH'
279
+ | 'BLOB_REF'
280
+ | 'INLINE'
281
+ | 'BIGSTORE_REF'
282
+ | 'COSMO_BINARY_REFERENCE';
224
283
  /** SHA-1 hash for the payload. */
225
284
  sha1Hash?: string;
226
285
  }
@@ -231,10 +290,14 @@ declare namespace gapi.client {
231
290
  fromBytes?: string;
232
291
  /** The content type of the file derived from the file extension of the original file name used by the client. */
233
292
  fromFileName?: string;
293
+ /** The content type of the file detected by Fusion ID. go/fusionid */
294
+ fromFusionId?: string;
234
295
  /** The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. */
235
296
  fromHeader?: string;
236
297
  /** The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API). */
237
298
  fromUrlPath?: string;
299
+ /** Metadata information from Fusion ID detection. Serialized FusionIdDetectionMetadata proto. Only set if from_fusion_id is set. */
300
+ fusionIdDetectionMetadata?: string;
238
301
  }
239
302
  interface DateTime {
240
303
  /** An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. */
@@ -294,7 +357,14 @@ declare namespace gapi.client {
294
357
  /** Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled. */
295
358
  merchantSignupInfo?: DiscoverableProgramMerchantSignupInfo;
296
359
  /** Visibility state of the discoverable program. */
297
- state?: string;
360
+ state?:
361
+ | 'STATE_UNSPECIFIED'
362
+ | 'TRUSTED_TESTERS'
363
+ | 'trustedTesters'
364
+ | 'LIVE'
365
+ | 'live'
366
+ | 'DISABLED'
367
+ | 'disabled';
298
368
  }
299
369
  interface DiscoverableProgramMerchantSigninInfo {
300
370
  /** The URL to direct the user to for the merchant's signin site. */
@@ -302,7 +372,20 @@ declare namespace gapi.client {
302
372
  }
303
373
  interface DiscoverableProgramMerchantSignupInfo {
304
374
  /** User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. */
305
- signupSharedDatas?: string[];
375
+ signupSharedDatas?:
376
+ | 'SHARED_DATA_TYPE_UNSPECIFIED'
377
+ | 'FIRST_NAME'
378
+ | 'LAST_NAME'
379
+ | 'STREET_ADDRESS'
380
+ | 'ADDRESS_LINE_1'
381
+ | 'ADDRESS_LINE_2'
382
+ | 'ADDRESS_LINE_3'
383
+ | 'CITY'
384
+ | 'STATE'
385
+ | 'ZIPCODE'
386
+ | 'COUNTRY'
387
+ | 'EMAIL'
388
+ | 'PHONE'[];
306
389
  /** The URL to direct the user to for the merchant's signup site. */
307
390
  signupWebsite?: Uri;
308
391
  }
@@ -318,7 +401,12 @@ declare namespace gapi.client {
318
401
  /** The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. */
319
402
  doorsOpen?: string;
320
403
  /** The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to "Doors Open", localized. If the doors open field is unset, this label will not be used. */
321
- doorsOpenLabel?: string;
404
+ doorsOpenLabel?:
405
+ | 'DOORS_OPEN_LABEL_UNSPECIFIED'
406
+ | 'DOORS_OPEN'
407
+ | 'doorsOpen'
408
+ | 'GATES_OPEN'
409
+ | 'gatesOpen';
322
410
  /** The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available. */
323
411
  end?: string;
324
412
  /** Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. */
@@ -354,7 +442,16 @@ declare namespace gapi.client {
354
442
  /** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
355
443
  classTemplateInfo?: ClassTemplateInfo;
356
444
  /** The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. */
357
- confirmationCodeLabel?: string;
445
+ confirmationCodeLabel?:
446
+ | 'CONFIRMATION_CODE_LABEL_UNSPECIFIED'
447
+ | 'CONFIRMATION_CODE'
448
+ | 'confirmationCode'
449
+ | 'CONFIRMATION_NUMBER'
450
+ | 'confirmationNumber'
451
+ | 'ORDER_NUMBER'
452
+ | 'orderNumber'
453
+ | 'RESERVATION_NUMBER'
454
+ | 'reservationNumber';
358
455
  /** Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale. */
359
456
  countryCode?: string;
360
457
  /** A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default "Confirmation Code" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to "Confirmation Code", localized. If the confirmation code field is unset, this label will not be used. */
@@ -378,7 +475,14 @@ declare namespace gapi.client {
378
475
  /** The fine print, terms, or conditions of the ticket. */
379
476
  finePrint?: LocalizedString;
380
477
  /** The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to "Gate", localized. If the gate field is unset, this label will not be used. */
381
- gateLabel?: string;
478
+ gateLabel?:
479
+ | 'GATE_LABEL_UNSPECIFIED'
480
+ | 'GATE'
481
+ | 'gate'
482
+ | 'DOOR'
483
+ | 'door'
484
+ | 'ENTRANCE'
485
+ | 'entrance';
382
486
  /** Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. */
383
487
  heroImage?: Image;
384
488
  /** The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. */
@@ -408,21 +512,44 @@ declare namespace gapi.client {
408
512
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
409
513
  messages?: Message[];
410
514
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
411
- multipleDevicesAndHoldersAllowedStatus?: string;
515
+ multipleDevicesAndHoldersAllowedStatus?:
516
+ | 'STATUS_UNSPECIFIED'
517
+ | 'MULTIPLE_HOLDERS'
518
+ | 'ONE_USER_ALL_DEVICES'
519
+ | 'ONE_USER_ONE_DEVICE'
520
+ | 'multipleHolders'
521
+ | 'oneUserAllDevices'
522
+ | 'oneUserOneDevice';
412
523
  /** Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
413
- notifyPreference?: string;
524
+ notifyPreference?:
525
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
526
+ | 'NOTIFY_ON_UPDATE';
414
527
  /** Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. */
415
528
  redemptionIssuers?: string[];
416
529
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
417
530
  review?: Review;
418
531
  /** Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. */
419
- reviewStatus?: string;
532
+ reviewStatus?:
533
+ | 'REVIEW_STATUS_UNSPECIFIED'
534
+ | 'UNDER_REVIEW'
535
+ | 'underReview'
536
+ | 'APPROVED'
537
+ | 'approved'
538
+ | 'REJECTED'
539
+ | 'rejected'
540
+ | 'DRAFT'
541
+ | 'draft';
420
542
  /** The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to "Row", localized. If the row field is unset, this label will not be used. */
421
- rowLabel?: string;
543
+ rowLabel?: 'ROW_LABEL_UNSPECIFIED' | 'ROW' | 'row';
422
544
  /** The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to "Seat", localized. If the seat field is unset, this label will not be used. */
423
- seatLabel?: string;
545
+ seatLabel?: 'SEAT_LABEL_UNSPECIFIED' | 'SEAT' | 'seat';
424
546
  /** The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used. */
425
- sectionLabel?: string;
547
+ sectionLabel?:
548
+ | 'SECTION_LABEL_UNSPECIFIED'
549
+ | 'SECTION'
550
+ | 'section'
551
+ | 'THEATER'
552
+ | 'theater';
426
553
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
427
554
  securityAnimation?: SecurityAnimation;
428
555
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
@@ -434,7 +561,10 @@ declare namespace gapi.client {
434
561
  /** Deprecated */
435
562
  version?: string;
436
563
  /** View Unlock Requirement options for the event ticket. */
437
- viewUnlockRequirement?: string;
564
+ viewUnlockRequirement?:
565
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
566
+ | 'UNLOCK_NOT_REQUIRED'
567
+ | 'UNLOCK_REQUIRED_TO_VIEW';
438
568
  /** The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view. */
439
569
  wideLogo?: Image;
440
570
  /** Deprecated. */
@@ -494,7 +624,9 @@ declare namespace gapi.client {
494
624
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
495
625
  messages?: Message[];
496
626
  /** Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
497
- notifyPreference?: string;
627
+ notifyPreference?:
628
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
629
+ | 'NOTIFY_ON_UPDATE';
498
630
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
499
631
  passConstraints?: PassConstraints;
500
632
  /** Reservation details for this ticket. This is expected to be shared amongst all tickets that were purchased in the same order. */
@@ -508,7 +640,16 @@ declare namespace gapi.client {
508
640
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. */
509
641
  smartTapRedemptionValue?: string;
510
642
  /** Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. */
511
- state?: string;
643
+ state?:
644
+ | 'STATE_UNSPECIFIED'
645
+ | 'ACTIVE'
646
+ | 'active'
647
+ | 'COMPLETED'
648
+ | 'completed'
649
+ | 'EXPIRED'
650
+ | 'expired'
651
+ | 'INACTIVE'
652
+ | 'inactive';
512
653
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
513
654
  textModulesData?: TextModuleData[];
514
655
  /** Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". */
@@ -548,7 +689,20 @@ declare namespace gapi.client {
548
689
  }
549
690
  interface FieldReference {
550
691
  /** Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI. */
551
- dateFormat?: string;
692
+ dateFormat?:
693
+ | 'DATE_FORMAT_UNSPECIFIED'
694
+ | 'DATE_TIME'
695
+ | 'dateTime'
696
+ | 'DATE_ONLY'
697
+ | 'dateOnly'
698
+ | 'TIME_ONLY'
699
+ | 'timeOnly'
700
+ | 'DATE_TIME_YEAR'
701
+ | 'dateTimeYear'
702
+ | 'DATE_YEAR'
703
+ | 'dateYear'
704
+ | 'YEAR_MONTH'
705
+ | 'YEAR_MONTH_DAY';
552
706
  /** Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice". */
553
707
  fieldPath?: string;
554
708
  }
@@ -559,7 +713,14 @@ declare namespace gapi.client {
559
713
  interface FirstRowOption {
560
714
  /** A reference to the field to be displayed in the first row. */
561
715
  fieldOption?: FieldSelector;
562
- transitOption?: string;
716
+ transitOption?:
717
+ | 'TRANSIT_OPTION_UNSPECIFIED'
718
+ | 'ORIGIN_AND_DESTINATION_NAMES'
719
+ | 'originAndDestinationNames'
720
+ | 'ORIGIN_AND_DESTINATION_CODES'
721
+ | 'originAndDestinationCodes'
722
+ | 'ORIGIN_NAME'
723
+ | 'originName';
563
724
  }
564
725
  interface FlightCarrier {
565
726
  /** A logo for the airline alliance, displayed below the QR code that the passenger scans to board. */
@@ -597,7 +758,20 @@ declare namespace gapi.client {
597
758
  /** Required. Information about the flight carrier and number. */
598
759
  flightHeader?: FlightHeader;
599
760
  /** Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses. */
600
- flightStatus?: string;
761
+ flightStatus?:
762
+ | 'FLIGHT_STATUS_UNSPECIFIED'
763
+ | 'SCHEDULED'
764
+ | 'scheduled'
765
+ | 'ACTIVE'
766
+ | 'active'
767
+ | 'LANDED'
768
+ | 'landed'
769
+ | 'CANCELLED'
770
+ | 'cancelled'
771
+ | 'REDIRECTED'
772
+ | 'redirected'
773
+ | 'DIVERTED'
774
+ | 'diverted';
601
775
  /** Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width. */
602
776
  heroImage?: Image;
603
777
  /** The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`. */
@@ -639,9 +813,18 @@ declare namespace gapi.client {
639
813
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
640
814
  messages?: Message[];
641
815
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
642
- multipleDevicesAndHoldersAllowedStatus?: string;
816
+ multipleDevicesAndHoldersAllowedStatus?:
817
+ | 'STATUS_UNSPECIFIED'
818
+ | 'MULTIPLE_HOLDERS'
819
+ | 'ONE_USER_ALL_DEVICES'
820
+ | 'ONE_USER_ONE_DEVICE'
821
+ | 'multipleHolders'
822
+ | 'oneUserAllDevices'
823
+ | 'oneUserOneDevice';
643
824
  /** Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
644
- notifyPreference?: string;
825
+ notifyPreference?:
826
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
827
+ | 'NOTIFY_ON_UPDATE';
645
828
  /** Required. Origin airport. */
646
829
  origin?: AirportInfo;
647
830
  /** Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. */
@@ -649,7 +832,16 @@ declare namespace gapi.client {
649
832
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
650
833
  review?: Review;
651
834
  /** Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. */
652
- reviewStatus?: string;
835
+ reviewStatus?:
836
+ | 'REVIEW_STATUS_UNSPECIFIED'
837
+ | 'UNDER_REVIEW'
838
+ | 'underReview'
839
+ | 'APPROVED'
840
+ | 'approved'
841
+ | 'REJECTED'
842
+ | 'rejected'
843
+ | 'DRAFT'
844
+ | 'draft';
653
845
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
654
846
  securityAnimation?: SecurityAnimation;
655
847
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
@@ -659,7 +851,10 @@ declare namespace gapi.client {
659
851
  /** Deprecated */
660
852
  version?: string;
661
853
  /** View Unlock Requirement options for the boarding pass. */
662
- viewUnlockRequirement?: string;
854
+ viewUnlockRequirement?:
855
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
856
+ | 'UNLOCK_NOT_REQUIRED'
857
+ | 'UNLOCK_REQUIRED_TO_VIEW';
663
858
  /** Deprecated. */
664
859
  wordMark?: Image;
665
860
  }
@@ -729,7 +924,9 @@ declare namespace gapi.client {
729
924
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
730
925
  messages?: Message[];
731
926
  /** Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
732
- notifyPreference?: string;
927
+ notifyPreference?:
928
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
929
+ | 'NOTIFY_ON_UPDATE';
733
930
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
734
931
  passConstraints?: PassConstraints;
735
932
  /** Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" */
@@ -745,7 +942,16 @@ declare namespace gapi.client {
745
942
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. */
746
943
  smartTapRedemptionValue?: string;
747
944
  /** Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. */
748
- state?: string;
945
+ state?:
946
+ | 'STATE_UNSPECIFIED'
947
+ | 'ACTIVE'
948
+ | 'active'
949
+ | 'COMPLETED'
950
+ | 'completed'
951
+ | 'EXPIRED'
952
+ | 'expired'
953
+ | 'INACTIVE'
954
+ | 'inactive';
749
955
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
750
956
  textModulesData?: TextModuleData[];
751
957
  /** The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. */
@@ -793,7 +999,14 @@ declare namespace gapi.client {
793
999
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
794
1000
  messages?: Message[];
795
1001
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
796
- multipleDevicesAndHoldersAllowedStatus?: string;
1002
+ multipleDevicesAndHoldersAllowedStatus?:
1003
+ | 'STATUS_UNSPECIFIED'
1004
+ | 'MULTIPLE_HOLDERS'
1005
+ | 'ONE_USER_ALL_DEVICES'
1006
+ | 'ONE_USER_ONE_DEVICE'
1007
+ | 'multipleHolders'
1008
+ | 'oneUserAllDevices'
1009
+ | 'oneUserOneDevice';
797
1010
  /** Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. */
798
1011
  redemptionIssuers?: string[];
799
1012
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
@@ -803,7 +1016,10 @@ declare namespace gapi.client {
803
1016
  /** Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object. */
804
1017
  valueAddedModuleData?: ValueAddedModuleData[];
805
1018
  /** View Unlock Requirement options for the generic pass. */
806
- viewUnlockRequirement?: string;
1019
+ viewUnlockRequirement?:
1020
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1021
+ | 'UNLOCK_NOT_REQUIRED'
1022
+ | 'UNLOCK_REQUIRED_TO_VIEW';
807
1023
  }
808
1024
  interface GenericClassAddMessageResponse {
809
1025
  /** The updated EventTicketClass resource. */
@@ -825,7 +1041,27 @@ declare namespace gapi.client {
825
1041
  /** Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. */
826
1042
  classId?: string;
827
1043
  /** Specify which `GenericType` the card belongs to. */
828
- genericType?: string;
1044
+ genericType?:
1045
+ | 'GENERIC_TYPE_UNSPECIFIED'
1046
+ | 'GENERIC_SEASON_PASS'
1047
+ | 'GENERIC_UTILITY_BILLS'
1048
+ | 'GENERIC_PARKING_PASS'
1049
+ | 'GENERIC_VOUCHER'
1050
+ | 'GENERIC_GYM_MEMBERSHIP'
1051
+ | 'GENERIC_LIBRARY_MEMBERSHIP'
1052
+ | 'GENERIC_RESERVATIONS'
1053
+ | 'GENERIC_AUTO_INSURANCE'
1054
+ | 'GENERIC_HOME_INSURANCE'
1055
+ | 'GENERIC_ENTRY_TICKET'
1056
+ | 'GENERIC_RECEIPT'
1057
+ | 'GENERIC_LOYALTY_CARD'
1058
+ | 'GENERIC_BUSINESS_CARD'
1059
+ | 'GENERIC_BARCODE_PASS'
1060
+ | 'GENERIC_MEMBERSHIP_CARD'
1061
+ | 'GENERIC_STUDENT_CARD'
1062
+ | 'GENERIC_TRANSIT_PASS'
1063
+ | 'GENERIC_VEHICLE_REGISTRATION'
1064
+ | 'GENERIC_OTHER';
829
1065
  /** Information that controls how passes are grouped together. */
830
1066
  groupingInfo?: GroupingInfo;
831
1067
  /** Indicates if the object has users. This field is set by the platform. */
@@ -861,7 +1097,16 @@ declare namespace gapi.client {
861
1097
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. */
862
1098
  smartTapRedemptionValue?: string;
863
1099
  /** The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. If this is not provided, the object would be considered `ACTIVE`. */
864
- state?: string;
1100
+ state?:
1101
+ | 'STATE_UNSPECIFIED'
1102
+ | 'ACTIVE'
1103
+ | 'active'
1104
+ | 'COMPLETED'
1105
+ | 'completed'
1106
+ | 'EXPIRED'
1107
+ | 'expired'
1108
+ | 'INACTIVE'
1109
+ | 'inactive';
865
1110
  /** The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. */
866
1111
  subheader?: LocalizedString;
867
1112
  /** Text module data. If `textModulesData` is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. */
@@ -939,9 +1184,18 @@ declare namespace gapi.client {
939
1184
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
940
1185
  messages?: Message[];
941
1186
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
942
- multipleDevicesAndHoldersAllowedStatus?: string;
1187
+ multipleDevicesAndHoldersAllowedStatus?:
1188
+ | 'STATUS_UNSPECIFIED'
1189
+ | 'MULTIPLE_HOLDERS'
1190
+ | 'ONE_USER_ALL_DEVICES'
1191
+ | 'ONE_USER_ONE_DEVICE'
1192
+ | 'multipleHolders'
1193
+ | 'oneUserAllDevices'
1194
+ | 'oneUserOneDevice';
943
1195
  /** Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
944
- notifyPreference?: string;
1196
+ notifyPreference?:
1197
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1198
+ | 'NOTIFY_ON_UPDATE';
945
1199
  /** The label to display for the PIN, such as "4-digit PIN". */
946
1200
  pinLabel?: string;
947
1201
  /** The logo of the gift card program or company. This logo is displayed in both the details and list views of the app. */
@@ -951,7 +1205,16 @@ declare namespace gapi.client {
951
1205
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
952
1206
  review?: Review;
953
1207
  /** Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. */
954
- reviewStatus?: string;
1208
+ reviewStatus?:
1209
+ | 'REVIEW_STATUS_UNSPECIFIED'
1210
+ | 'UNDER_REVIEW'
1211
+ | 'underReview'
1212
+ | 'APPROVED'
1213
+ | 'approved'
1214
+ | 'REJECTED'
1215
+ | 'rejected'
1216
+ | 'DRAFT'
1217
+ | 'draft';
955
1218
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
956
1219
  securityAnimation?: SecurityAnimation;
957
1220
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
@@ -961,7 +1224,10 @@ declare namespace gapi.client {
961
1224
  /** Deprecated */
962
1225
  version?: string;
963
1226
  /** View Unlock Requirement options for the gift card. */
964
- viewUnlockRequirement?: string;
1227
+ viewUnlockRequirement?:
1228
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1229
+ | 'UNLOCK_NOT_REQUIRED'
1230
+ | 'UNLOCK_REQUIRED_TO_VIEW';
965
1231
  /** The wide logo of the gift card program or company. When provided, this will be used in place of the program logo in the top left of the card view. */
966
1232
  wideProgramLogo?: Image;
967
1233
  /** Deprecated. */
@@ -1023,7 +1289,9 @@ declare namespace gapi.client {
1023
1289
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
1024
1290
  messages?: Message[];
1025
1291
  /** Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
1026
- notifyPreference?: string;
1292
+ notifyPreference?:
1293
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1294
+ | 'NOTIFY_ON_UPDATE';
1027
1295
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
1028
1296
  passConstraints?: PassConstraints;
1029
1297
  /** The card's PIN. */
@@ -1035,7 +1303,16 @@ declare namespace gapi.client {
1035
1303
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. */
1036
1304
  smartTapRedemptionValue?: string;
1037
1305
  /** Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. */
1038
- state?: string;
1306
+ state?:
1307
+ | 'STATE_UNSPECIFIED'
1308
+ | 'ACTIVE'
1309
+ | 'active'
1310
+ | 'COMPLETED'
1311
+ | 'completed'
1312
+ | 'EXPIRED'
1313
+ | 'expired'
1314
+ | 'INACTIVE'
1315
+ | 'inactive';
1039
1316
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
1040
1317
  textModulesData?: TextModuleData[];
1041
1318
  /** The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. */
@@ -1119,7 +1396,7 @@ declare namespace gapi.client {
1119
1396
  resources?: Issuer[];
1120
1397
  }
1121
1398
  interface IssuerToUserInfo {
1122
- action?: string;
1399
+ action?: 'ACTION_UNSPECIFIED' | 'S2AP' | 's2ap' | 'SIGN_UP' | 'signUp';
1123
1400
  signUpInfo?: SignUpInfo;
1124
1401
  /** Currently not used, consider deprecating. */
1125
1402
  url?: string;
@@ -1238,9 +1515,18 @@ declare namespace gapi.client {
1238
1515
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
1239
1516
  messages?: Message[];
1240
1517
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
1241
- multipleDevicesAndHoldersAllowedStatus?: string;
1518
+ multipleDevicesAndHoldersAllowedStatus?:
1519
+ | 'STATUS_UNSPECIFIED'
1520
+ | 'MULTIPLE_HOLDERS'
1521
+ | 'ONE_USER_ALL_DEVICES'
1522
+ | 'ONE_USER_ONE_DEVICE'
1523
+ | 'multipleHolders'
1524
+ | 'oneUserAllDevices'
1525
+ | 'oneUserOneDevice';
1242
1526
  /** Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
1243
- notifyPreference?: string;
1527
+ notifyPreference?:
1528
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1529
+ | 'NOTIFY_ON_UPDATE';
1244
1530
  /** Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. */
1245
1531
  programLogo?: Image;
1246
1532
  /** Required. The program name, such as "Adam's Apparel". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens. */
@@ -1250,7 +1536,16 @@ declare namespace gapi.client {
1250
1536
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
1251
1537
  review?: Review;
1252
1538
  /** Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. */
1253
- reviewStatus?: string;
1539
+ reviewStatus?:
1540
+ | 'REVIEW_STATUS_UNSPECIFIED'
1541
+ | 'UNDER_REVIEW'
1542
+ | 'underReview'
1543
+ | 'APPROVED'
1544
+ | 'approved'
1545
+ | 'REJECTED'
1546
+ | 'rejected'
1547
+ | 'DRAFT'
1548
+ | 'draft';
1254
1549
  /** The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. */
1255
1550
  rewardsTier?: string;
1256
1551
  /** The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens. */
@@ -1268,7 +1563,10 @@ declare namespace gapi.client {
1268
1563
  /** Deprecated */
1269
1564
  version?: string;
1270
1565
  /** View Unlock Requirement options for the loyalty card. */
1271
- viewUnlockRequirement?: string;
1566
+ viewUnlockRequirement?:
1567
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1568
+ | 'UNLOCK_NOT_REQUIRED'
1569
+ | 'UNLOCK_REQUIRED_TO_VIEW';
1272
1570
  /** The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo in the top left of the card view. */
1273
1571
  wideProgramLogo?: Image;
1274
1572
  /** Deprecated. */
@@ -1330,7 +1628,9 @@ declare namespace gapi.client {
1330
1628
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
1331
1629
  messages?: Message[];
1332
1630
  /** Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
1333
- notifyPreference?: string;
1631
+ notifyPreference?:
1632
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1633
+ | 'NOTIFY_ON_UPDATE';
1334
1634
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
1335
1635
  passConstraints?: PassConstraints;
1336
1636
  /** The rotating barcode type and value. */
@@ -1342,7 +1642,16 @@ declare namespace gapi.client {
1342
1642
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present. */
1343
1643
  smartTapRedemptionValue?: string;
1344
1644
  /** Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. */
1345
- state?: string;
1645
+ state?:
1646
+ | 'STATE_UNSPECIFIED'
1647
+ | 'ACTIVE'
1648
+ | 'active'
1649
+ | 'COMPLETED'
1650
+ | 'completed'
1651
+ | 'EXPIRED'
1652
+ | 'expired'
1653
+ | 'INACTIVE'
1654
+ | 'inactive';
1346
1655
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
1347
1656
  textModulesData?: TextModuleData[];
1348
1657
  /** The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. */
@@ -1432,11 +1741,26 @@ declare namespace gapi.client {
1432
1741
  /** Path to the data, set if reference_type is PATH */
1433
1742
  path?: string;
1434
1743
  /** Describes what the field reference contains. */
1435
- referenceType?: string;
1744
+ referenceType?:
1745
+ | 'PATH'
1746
+ | 'BLOB_REF'
1747
+ | 'INLINE'
1748
+ | 'GET_MEDIA'
1749
+ | 'COMPOSITE_MEDIA'
1750
+ | 'BIGSTORE_REF'
1751
+ | 'DIFF_VERSION_RESPONSE'
1752
+ | 'DIFF_CHECKSUMS_RESPONSE'
1753
+ | 'DIFF_DOWNLOAD_RESPONSE'
1754
+ | 'DIFF_UPLOAD_REQUEST'
1755
+ | 'DIFF_UPLOAD_RESPONSE'
1756
+ | 'COSMO_BINARY_REFERENCE'
1757
+ | 'ARBITRARY_BYTES';
1436
1758
  /** Scotty-provided SHA1 hash for an upload. */
1437
1759
  sha1Hash?: string;
1438
1760
  /** Scotty-provided SHA256 hash for an upload. */
1439
1761
  sha256Hash?: string;
1762
+ /** Scotty-provided SHA512 hash for an upload. */
1763
+ sha512Hash?: string;
1440
1764
  /** Time at which the media data was last updated, in milliseconds since UNIX epoch */
1441
1765
  timestamp?: string;
1442
1766
  /** A unique fingerprint/version id for the media data */
@@ -1452,7 +1776,12 @@ declare namespace gapi.client {
1452
1776
  /** The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929 */
1453
1777
  finalStatus?: number;
1454
1778
  /** The type of notification received from Scotty. */
1455
- notificationType?: string;
1779
+ notificationType?:
1780
+ | 'START'
1781
+ | 'PROGRESS'
1782
+ | 'END'
1783
+ | 'RESPONSE_SENT'
1784
+ | 'ERROR';
1456
1785
  /** The physical headers provided by RequestReceivedParameters in Scotty request. type is uploader_service.KeyValuePairs. */
1457
1786
  physicalHeaders?: string;
1458
1787
  /** The Scotty request ID. */
@@ -1486,7 +1815,13 @@ declare namespace gapi.client {
1486
1815
  /** Translated strings for the message header. */
1487
1816
  localizedHeader?: LocalizedString;
1488
1817
  /** The message type. */
1489
- messageType?: string;
1818
+ messageType?:
1819
+ | 'MESSAGE_TYPE_UNSPECIFIED'
1820
+ | 'TEXT'
1821
+ | 'text'
1822
+ | 'EXPIRATION_NOTIFICATION'
1823
+ | 'expirationNotification'
1824
+ | 'TEXT_AND_NOTIFY';
1490
1825
  }
1491
1826
  interface ModifyLinkedOfferObjects {
1492
1827
  /** The linked offer object ids to add to the object. */
@@ -1580,19 +1915,46 @@ declare namespace gapi.client {
1580
1915
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
1581
1916
  messages?: Message[];
1582
1917
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
1583
- multipleDevicesAndHoldersAllowedStatus?: string;
1918
+ multipleDevicesAndHoldersAllowedStatus?:
1919
+ | 'STATUS_UNSPECIFIED'
1920
+ | 'MULTIPLE_HOLDERS'
1921
+ | 'ONE_USER_ALL_DEVICES'
1922
+ | 'ONE_USER_ONE_DEVICE'
1923
+ | 'multipleHolders'
1924
+ | 'oneUserAllDevices'
1925
+ | 'oneUserOneDevice';
1584
1926
  /** Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
1585
- notifyPreference?: string;
1927
+ notifyPreference?:
1928
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1929
+ | 'NOTIFY_ON_UPDATE';
1586
1930
  /** Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens. */
1587
1931
  provider?: string;
1588
1932
  /** Required. The redemption channels applicable to this offer. */
1589
- redemptionChannel?: string;
1933
+ redemptionChannel?:
1934
+ | 'REDEMPTION_CHANNEL_UNSPECIFIED'
1935
+ | 'INSTORE'
1936
+ | 'instore'
1937
+ | 'ONLINE'
1938
+ | 'online'
1939
+ | 'BOTH'
1940
+ | 'both'
1941
+ | 'TEMPORARY_PRICE_REDUCTION'
1942
+ | 'temporaryPriceReduction';
1590
1943
  /** Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. */
1591
1944
  redemptionIssuers?: string[];
1592
1945
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
1593
1946
  review?: Review;
1594
1947
  /** Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. */
1595
- reviewStatus?: string;
1948
+ reviewStatus?:
1949
+ | 'REVIEW_STATUS_UNSPECIFIED'
1950
+ | 'UNDER_REVIEW'
1951
+ | 'underReview'
1952
+ | 'APPROVED'
1953
+ | 'approved'
1954
+ | 'REJECTED'
1955
+ | 'rejected'
1956
+ | 'DRAFT'
1957
+ | 'draft';
1596
1958
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
1597
1959
  securityAnimation?: SecurityAnimation;
1598
1960
  /** A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters. */
@@ -1608,7 +1970,10 @@ declare namespace gapi.client {
1608
1970
  /** Deprecated */
1609
1971
  version?: string;
1610
1972
  /** View Unlock Requirement options for the offer. */
1611
- viewUnlockRequirement?: string;
1973
+ viewUnlockRequirement?:
1974
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1975
+ | 'UNLOCK_NOT_REQUIRED'
1976
+ | 'UNLOCK_REQUIRED_TO_VIEW';
1612
1977
  /** The wide title image of the offer. When provided, this will be used in place of the title image in the top left of the card view. */
1613
1978
  wideTitleImage?: Image;
1614
1979
  /** Deprecated. */
@@ -1662,7 +2027,9 @@ declare namespace gapi.client {
1662
2027
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
1663
2028
  messages?: Message[];
1664
2029
  /** Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
1665
- notifyPreference?: string;
2030
+ notifyPreference?:
2031
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
2032
+ | 'NOTIFY_ON_UPDATE';
1666
2033
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
1667
2034
  passConstraints?: PassConstraints;
1668
2035
  /** The rotating barcode type and value. */
@@ -1672,7 +2039,16 @@ declare namespace gapi.client {
1672
2039
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. */
1673
2040
  smartTapRedemptionValue?: string;
1674
2041
  /** Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. */
1675
- state?: string;
2042
+ state?:
2043
+ | 'STATE_UNSPECIFIED'
2044
+ | 'ACTIVE'
2045
+ | 'active'
2046
+ | 'COMPLETED'
2047
+ | 'completed'
2048
+ | 'EXPIRED'
2049
+ | 'expired'
2050
+ | 'INACTIVE'
2051
+ | 'inactive';
1676
2052
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
1677
2053
  textModulesData?: TextModuleData[];
1678
2054
  /** The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. */
@@ -1702,15 +2078,28 @@ declare namespace gapi.client {
1702
2078
  }
1703
2079
  interface PassConstraints {
1704
2080
  /** The NFC constraints for the pass. */
1705
- nfcConstraint?: string[];
2081
+ nfcConstraint?:
2082
+ | 'NFC_CONSTRAINT_UNSPECIFIED'
2083
+ | 'BLOCK_PAYMENT'
2084
+ | 'BLOCK_CLOSED_LOOP_TRANSIT'[];
1706
2085
  /** The screenshot eligibility for the pass. */
1707
- screenshotEligibility?: string;
2086
+ screenshotEligibility?:
2087
+ | 'SCREENSHOT_ELIGIBILITY_UNSPECIFIED'
2088
+ | 'ELIGIBLE'
2089
+ | 'INELIGIBLE';
1708
2090
  }
1709
2091
  interface Permission {
1710
2092
  /** The email address of the user, group, or service account to which this permission refers to. */
1711
2093
  emailAddress?: string;
1712
2094
  /** The role granted by this permission. */
1713
- role?: string;
2095
+ role?:
2096
+ | 'ROLE_UNSPECIFIED'
2097
+ | 'OWNER'
2098
+ | 'owner'
2099
+ | 'READER'
2100
+ | 'reader'
2101
+ | 'WRITER'
2102
+ | 'writer';
1714
2103
  }
1715
2104
  interface Permissions {
1716
2105
  /** ID of the issuer the list of permissions refer to. */
@@ -1779,19 +2168,47 @@ declare namespace gapi.client {
1779
2168
  /** Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint. */
1780
2169
  initialRotatingBarcodeValues?: RotatingBarcodeValues;
1781
2170
  /** The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google. */
1782
- renderEncoding?: string;
2171
+ renderEncoding?: 'RENDER_ENCODING_UNSPECIFIED' | 'UTF_8';
1783
2172
  /** Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google. */
1784
2173
  showCodeText?: LocalizedString;
1785
2174
  /** Details used to evaluate the {totp_value_n} substitutions. */
1786
2175
  totpDetails?: RotatingBarcodeTotpDetails;
1787
2176
  /** The type of this barcode. */
1788
- type?: string;
2177
+ type?:
2178
+ | 'BARCODE_TYPE_UNSPECIFIED'
2179
+ | 'AZTEC'
2180
+ | 'aztec'
2181
+ | 'CODE_39'
2182
+ | 'code39'
2183
+ | 'CODE_128'
2184
+ | 'code128'
2185
+ | 'CODABAR'
2186
+ | 'codabar'
2187
+ | 'DATA_MATRIX'
2188
+ | 'dataMatrix'
2189
+ | 'EAN_8'
2190
+ | 'ean8'
2191
+ | 'EAN_13'
2192
+ | 'ean13'
2193
+ | 'EAN13'
2194
+ | 'ITF_14'
2195
+ | 'itf14'
2196
+ | 'PDF_417'
2197
+ | 'pdf417'
2198
+ | 'PDF417'
2199
+ | 'QR_CODE'
2200
+ | 'qrCode'
2201
+ | 'qrcode'
2202
+ | 'UPC_A'
2203
+ | 'upcA'
2204
+ | 'TEXT_ONLY'
2205
+ | 'textOnly';
1789
2206
  /** String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated. */
1790
2207
  valuePattern?: string;
1791
2208
  }
1792
2209
  interface RotatingBarcodeTotpDetails {
1793
2210
  /** The TOTP algorithm used to generate the OTP. */
1794
- algorithm?: string;
2211
+ algorithm?: 'TOTP_ALGORITHM_UNSPECIFIED' | 'TOTP_SHA1';
1795
2212
  /** The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. */
1796
2213
  parameters?: RotatingBarcodeTotpDetailsTotpParameters[];
1797
2214
  /** The time interval used for the TOTP value generation, in milliseconds. */
@@ -1817,7 +2234,7 @@ declare namespace gapi.client {
1817
2234
  }
1818
2235
  interface SecurityAnimation {
1819
2236
  /** Type of animation. */
1820
- animationType?: string;
2237
+ animationType?: 'ANIMATION_UNSPECIFIED' | 'FOIL_SHIMMER' | 'foilShimmer';
1821
2238
  }
1822
2239
  interface SetPassUpdateNoticeRequest {
1823
2240
  /** Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as . */
@@ -1852,7 +2269,12 @@ declare namespace gapi.client {
1852
2269
  /** A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B". */
1853
2270
  firstValue?: FieldSelector;
1854
2271
  /** A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. */
1855
- predefinedItem?: string;
2272
+ predefinedItem?:
2273
+ | 'PREDEFINED_ITEM_UNSPECIFIED'
2274
+ | 'FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER'
2275
+ | 'frequentFlyerProgramNameAndNumber'
2276
+ | 'FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER'
2277
+ | 'flightNumberAndOperatingFlightNumber';
1856
2278
  /** A reference to a field to display. This may only be populated if the `firstValue` field is populated. */
1857
2279
  secondValue?: FieldSelector;
1858
2280
  }
@@ -1922,7 +2344,14 @@ declare namespace gapi.client {
1922
2344
  /** A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. */
1923
2345
  customFareClass?: LocalizedString;
1924
2346
  /** The fare class of the ticketed seat. */
1925
- fareClass?: string;
2347
+ fareClass?:
2348
+ | 'FARE_CLASS_UNSPECIFIED'
2349
+ | 'ECONOMY'
2350
+ | 'economy'
2351
+ | 'FIRST'
2352
+ | 'first'
2353
+ | 'BUSINESS'
2354
+ | 'business';
1926
2355
  /** The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. */
1927
2356
  seat?: string;
1928
2357
  /** The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. */
@@ -2020,15 +2449,33 @@ declare namespace gapi.client {
2020
2449
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
2021
2450
  messages?: Message[];
2022
2451
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
2023
- multipleDevicesAndHoldersAllowedStatus?: string;
2452
+ multipleDevicesAndHoldersAllowedStatus?:
2453
+ | 'STATUS_UNSPECIFIED'
2454
+ | 'MULTIPLE_HOLDERS'
2455
+ | 'ONE_USER_ALL_DEVICES'
2456
+ | 'ONE_USER_ONE_DEVICE'
2457
+ | 'multipleHolders'
2458
+ | 'oneUserAllDevices'
2459
+ | 'oneUserOneDevice';
2024
2460
  /** Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
2025
- notifyPreference?: string;
2461
+ notifyPreference?:
2462
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
2463
+ | 'NOTIFY_ON_UPDATE';
2026
2464
  /** Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap. */
2027
2465
  redemptionIssuers?: string[];
2028
2466
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
2029
2467
  review?: Review;
2030
2468
  /** Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`. */
2031
- reviewStatus?: string;
2469
+ reviewStatus?:
2470
+ | 'REVIEW_STATUS_UNSPECIFIED'
2471
+ | 'UNDER_REVIEW'
2472
+ | 'underReview'
2473
+ | 'APPROVED'
2474
+ | 'approved'
2475
+ | 'REJECTED'
2476
+ | 'rejected'
2477
+ | 'DRAFT'
2478
+ | 'draft';
2032
2479
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
2033
2480
  securityAnimation?: SecurityAnimation;
2034
2481
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
@@ -2036,13 +2483,27 @@ declare namespace gapi.client {
2036
2483
  /** The name of the transit operator. */
2037
2484
  transitOperatorName?: LocalizedString;
2038
2485
  /** Required. The type of transit this class represents, such as "bus". */
2039
- transitType?: string;
2486
+ transitType?:
2487
+ | 'TRANSIT_TYPE_UNSPECIFIED'
2488
+ | 'BUS'
2489
+ | 'bus'
2490
+ | 'RAIL'
2491
+ | 'rail'
2492
+ | 'TRAM'
2493
+ | 'tram'
2494
+ | 'FERRY'
2495
+ | 'ferry'
2496
+ | 'OTHER'
2497
+ | 'other';
2040
2498
  /** Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object. */
2041
2499
  valueAddedModuleData?: ValueAddedModuleData[];
2042
2500
  /** Deprecated */
2043
2501
  version?: string;
2044
2502
  /** View Unlock Requirement options for the transit ticket. */
2045
- viewUnlockRequirement?: string;
2503
+ viewUnlockRequirement?:
2504
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
2505
+ | 'UNLOCK_NOT_REQUIRED'
2506
+ | 'UNLOCK_REQUIRED_TO_VIEW';
2046
2507
  /** Watermark image to display on the user's device. */
2047
2508
  watermark?: Image;
2048
2509
  /** The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view. */
@@ -2072,7 +2533,14 @@ declare namespace gapi.client {
2072
2533
  /** A copy of the inherited fields of the parent class. These fields are retrieved during a GET. */
2073
2534
  classReference?: TransitClass;
2074
2535
  /** The concession category for the ticket. */
2075
- concessionCategory?: string;
2536
+ concessionCategory?:
2537
+ | 'CONCESSION_CATEGORY_UNSPECIFIED'
2538
+ | 'ADULT'
2539
+ | 'adult'
2540
+ | 'CHILD'
2541
+ | 'child'
2542
+ | 'SENIOR'
2543
+ | 'senior';
2076
2544
  /** A custom concession category to use when `concessionCategory` does not provide the right option. Both `concessionCategory` and `customConcessionCategory` may not be set. */
2077
2545
  customConcessionCategory?: LocalizedString;
2078
2546
  /** A custom status to use for the ticket status value when `ticketStatus` does not provide the right option. Both `ticketStatus` and `customTicketStatus` may not be set. */
@@ -2108,13 +2576,20 @@ declare namespace gapi.client {
2108
2576
  /** An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10. */
2109
2577
  messages?: Message[];
2110
2578
  /** Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered. */
2111
- notifyPreference?: string;
2579
+ notifyPreference?:
2580
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
2581
+ | 'NOTIFY_ON_UPDATE';
2112
2582
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
2113
2583
  passConstraints?: PassConstraints;
2114
2584
  /** The name(s) of the passengers the ticket is assigned to. The above `passengerType` field is meant to give Google context on this field. */
2115
2585
  passengerNames?: string;
2116
2586
  /** The number of passengers. */
2117
- passengerType?: string;
2587
+ passengerType?:
2588
+ | 'PASSENGER_TYPE_UNSPECIFIED'
2589
+ | 'SINGLE_PASSENGER'
2590
+ | 'singlePassenger'
2591
+ | 'MULTIPLE_PASSENGERS'
2592
+ | 'multiplePassengers';
2118
2593
  /** Purchase details for this ticket. */
2119
2594
  purchaseDetails?: PurchaseDetails;
2120
2595
  /** The rotating barcode type and value. */
@@ -2124,7 +2599,16 @@ declare namespace gapi.client {
2124
2599
  /** The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. */
2125
2600
  smartTapRedemptionValue?: string;
2126
2601
  /** Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the "Expired passes" section. */
2127
- state?: string;
2602
+ state?:
2603
+ | 'STATE_UNSPECIFIED'
2604
+ | 'ACTIVE'
2605
+ | 'active'
2606
+ | 'COMPLETED'
2607
+ | 'completed'
2608
+ | 'EXPIRED'
2609
+ | 'expired'
2610
+ | 'INACTIVE'
2611
+ | 'inactive';
2128
2612
  /** Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class. */
2129
2613
  textModulesData?: TextModuleData[];
2130
2614
  /** A single ticket leg contains departure and arrival information along with boarding and seating information. If more than one leg is to be specified then use the `ticketLegs` field instead. Both `ticketLeg` and `ticketLegs` may not be set. */
@@ -2136,11 +2620,23 @@ declare namespace gapi.client {
2136
2620
  /** Information about what kind of restrictions there are on using this ticket. For example, which days of the week it must be used, or which routes are allowed to be taken. */
2137
2621
  ticketRestrictions?: TicketRestrictions;
2138
2622
  /** The status of the ticket. For states which affect display, use the `state` field instead. */
2139
- ticketStatus?: string;
2623
+ ticketStatus?:
2624
+ | 'TICKET_STATUS_UNSPECIFIED'
2625
+ | 'USED'
2626
+ | 'used'
2627
+ | 'REFUNDED'
2628
+ | 'refunded'
2629
+ | 'EXCHANGED'
2630
+ | 'exchanged';
2140
2631
  /** This id is used to group tickets together if the user has saved multiple tickets for the same trip. */
2141
2632
  tripId?: string;
2142
2633
  /** Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination. */
2143
- tripType?: string;
2634
+ tripType?:
2635
+ | 'TRIP_TYPE_UNSPECIFIED'
2636
+ | 'ROUND_TRIP'
2637
+ | 'roundTrip'
2638
+ | 'ONE_WAY'
2639
+ | 'oneWay';
2144
2640
  /** The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed. */
2145
2641
  validTimeInterval?: TimeInterval;
2146
2642
  /** Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed. */
@@ -2212,11 +2708,11 @@ declare namespace gapi.client {
2212
2708
  /** Adds a message to the event ticket class referenced by the given class ID. */
2213
2709
  addmessage(request: {
2214
2710
  /** V1 error format. */
2215
- '$.xgafv'?: string;
2711
+ '$.xgafv'?: '1' | '2';
2216
2712
  /** OAuth access token. */
2217
2713
  access_token?: string;
2218
2714
  /** Data format for response. */
2219
- alt?: string;
2715
+ alt?: 'json' | 'media' | 'proto';
2220
2716
  /** JSONP */
2221
2717
  callback?: string;
2222
2718
  /** Selector specifying which fields to include in a partial response. */
@@ -2241,11 +2737,11 @@ declare namespace gapi.client {
2241
2737
  addmessage(
2242
2738
  request: {
2243
2739
  /** V1 error format. */
2244
- '$.xgafv'?: string;
2740
+ '$.xgafv'?: '1' | '2';
2245
2741
  /** OAuth access token. */
2246
2742
  access_token?: string;
2247
2743
  /** Data format for response. */
2248
- alt?: string;
2744
+ alt?: 'json' | 'media' | 'proto';
2249
2745
  /** JSONP */
2250
2746
  callback?: string;
2251
2747
  /** Selector specifying which fields to include in a partial response. */
@@ -2270,11 +2766,11 @@ declare namespace gapi.client {
2270
2766
  /** Returns the event ticket class with the given class ID. */
2271
2767
  get(request?: {
2272
2768
  /** V1 error format. */
2273
- '$.xgafv'?: string;
2769
+ '$.xgafv'?: '1' | '2';
2274
2770
  /** OAuth access token. */
2275
2771
  access_token?: string;
2276
2772
  /** Data format for response. */
2277
- alt?: string;
2773
+ alt?: 'json' | 'media' | 'proto';
2278
2774
  /** JSONP */
2279
2775
  callback?: string;
2280
2776
  /** Selector specifying which fields to include in a partial response. */
@@ -2297,11 +2793,11 @@ declare namespace gapi.client {
2297
2793
  /** Inserts an event ticket class with the given ID and properties. */
2298
2794
  insert(request: {
2299
2795
  /** V1 error format. */
2300
- '$.xgafv'?: string;
2796
+ '$.xgafv'?: '1' | '2';
2301
2797
  /** OAuth access token. */
2302
2798
  access_token?: string;
2303
2799
  /** Data format for response. */
2304
- alt?: string;
2800
+ alt?: 'json' | 'media' | 'proto';
2305
2801
  /** JSONP */
2306
2802
  callback?: string;
2307
2803
  /** Selector specifying which fields to include in a partial response. */
@@ -2324,11 +2820,11 @@ declare namespace gapi.client {
2324
2820
  insert(
2325
2821
  request: {
2326
2822
  /** V1 error format. */
2327
- '$.xgafv'?: string;
2823
+ '$.xgafv'?: '1' | '2';
2328
2824
  /** OAuth access token. */
2329
2825
  access_token?: string;
2330
2826
  /** Data format for response. */
2331
- alt?: string;
2827
+ alt?: 'json' | 'media' | 'proto';
2332
2828
  /** JSONP */
2333
2829
  callback?: string;
2334
2830
  /** Selector specifying which fields to include in a partial response. */
@@ -2351,11 +2847,11 @@ declare namespace gapi.client {
2351
2847
  /** Returns a list of all event ticket classes for a given issuer ID. */
2352
2848
  list(request?: {
2353
2849
  /** V1 error format. */
2354
- '$.xgafv'?: string;
2850
+ '$.xgafv'?: '1' | '2';
2355
2851
  /** OAuth access token. */
2356
2852
  access_token?: string;
2357
2853
  /** Data format for response. */
2358
- alt?: string;
2854
+ alt?: 'json' | 'media' | 'proto';
2359
2855
  /** JSONP */
2360
2856
  callback?: string;
2361
2857
  /** Selector specifying which fields to include in a partial response. */
@@ -2382,11 +2878,11 @@ declare namespace gapi.client {
2382
2878
  /** Updates the event ticket class referenced by the given class ID. This method supports patch semantics. */
2383
2879
  patch(request: {
2384
2880
  /** V1 error format. */
2385
- '$.xgafv'?: string;
2881
+ '$.xgafv'?: '1' | '2';
2386
2882
  /** OAuth access token. */
2387
2883
  access_token?: string;
2388
2884
  /** Data format for response. */
2389
- alt?: string;
2885
+ alt?: 'json' | 'media' | 'proto';
2390
2886
  /** JSONP */
2391
2887
  callback?: string;
2392
2888
  /** Selector specifying which fields to include in a partial response. */
@@ -2411,11 +2907,11 @@ declare namespace gapi.client {
2411
2907
  patch(
2412
2908
  request: {
2413
2909
  /** V1 error format. */
2414
- '$.xgafv'?: string;
2910
+ '$.xgafv'?: '1' | '2';
2415
2911
  /** OAuth access token. */
2416
2912
  access_token?: string;
2417
2913
  /** Data format for response. */
2418
- alt?: string;
2914
+ alt?: 'json' | 'media' | 'proto';
2419
2915
  /** JSONP */
2420
2916
  callback?: string;
2421
2917
  /** Selector specifying which fields to include in a partial response. */
@@ -2440,11 +2936,11 @@ declare namespace gapi.client {
2440
2936
  /** Updates the event ticket class referenced by the given class ID. */
2441
2937
  update(request: {
2442
2938
  /** V1 error format. */
2443
- '$.xgafv'?: string;
2939
+ '$.xgafv'?: '1' | '2';
2444
2940
  /** OAuth access token. */
2445
2941
  access_token?: string;
2446
2942
  /** Data format for response. */
2447
- alt?: string;
2943
+ alt?: 'json' | 'media' | 'proto';
2448
2944
  /** JSONP */
2449
2945
  callback?: string;
2450
2946
  /** Selector specifying which fields to include in a partial response. */
@@ -2469,11 +2965,11 @@ declare namespace gapi.client {
2469
2965
  update(
2470
2966
  request: {
2471
2967
  /** V1 error format. */
2472
- '$.xgafv'?: string;
2968
+ '$.xgafv'?: '1' | '2';
2473
2969
  /** OAuth access token. */
2474
2970
  access_token?: string;
2475
2971
  /** Data format for response. */
2476
- alt?: string;
2972
+ alt?: 'json' | 'media' | 'proto';
2477
2973
  /** JSONP */
2478
2974
  callback?: string;
2479
2975
  /** Selector specifying which fields to include in a partial response. */
@@ -2500,11 +2996,11 @@ declare namespace gapi.client {
2500
2996
  /** Adds a message to the event ticket object referenced by the given object ID. */
2501
2997
  addmessage(request: {
2502
2998
  /** V1 error format. */
2503
- '$.xgafv'?: string;
2999
+ '$.xgafv'?: '1' | '2';
2504
3000
  /** OAuth access token. */
2505
3001
  access_token?: string;
2506
3002
  /** Data format for response. */
2507
- alt?: string;
3003
+ alt?: 'json' | 'media' | 'proto';
2508
3004
  /** JSONP */
2509
3005
  callback?: string;
2510
3006
  /** Selector specifying which fields to include in a partial response. */
@@ -2529,11 +3025,11 @@ declare namespace gapi.client {
2529
3025
  addmessage(
2530
3026
  request: {
2531
3027
  /** V1 error format. */
2532
- '$.xgafv'?: string;
3028
+ '$.xgafv'?: '1' | '2';
2533
3029
  /** OAuth access token. */
2534
3030
  access_token?: string;
2535
3031
  /** Data format for response. */
2536
- alt?: string;
3032
+ alt?: 'json' | 'media' | 'proto';
2537
3033
  /** JSONP */
2538
3034
  callback?: string;
2539
3035
  /** Selector specifying which fields to include in a partial response. */
@@ -2558,11 +3054,11 @@ declare namespace gapi.client {
2558
3054
  /** Returns the event ticket object with the given object ID. */
2559
3055
  get(request?: {
2560
3056
  /** V1 error format. */
2561
- '$.xgafv'?: string;
3057
+ '$.xgafv'?: '1' | '2';
2562
3058
  /** OAuth access token. */
2563
3059
  access_token?: string;
2564
3060
  /** Data format for response. */
2565
- alt?: string;
3061
+ alt?: 'json' | 'media' | 'proto';
2566
3062
  /** JSONP */
2567
3063
  callback?: string;
2568
3064
  /** Selector specifying which fields to include in a partial response. */
@@ -2585,11 +3081,11 @@ declare namespace gapi.client {
2585
3081
  /** Inserts an event ticket object with the given ID and properties. */
2586
3082
  insert(request: {
2587
3083
  /** V1 error format. */
2588
- '$.xgafv'?: string;
3084
+ '$.xgafv'?: '1' | '2';
2589
3085
  /** OAuth access token. */
2590
3086
  access_token?: string;
2591
3087
  /** Data format for response. */
2592
- alt?: string;
3088
+ alt?: 'json' | 'media' | 'proto';
2593
3089
  /** JSONP */
2594
3090
  callback?: string;
2595
3091
  /** Selector specifying which fields to include in a partial response. */
@@ -2612,11 +3108,11 @@ declare namespace gapi.client {
2612
3108
  insert(
2613
3109
  request: {
2614
3110
  /** V1 error format. */
2615
- '$.xgafv'?: string;
3111
+ '$.xgafv'?: '1' | '2';
2616
3112
  /** OAuth access token. */
2617
3113
  access_token?: string;
2618
3114
  /** Data format for response. */
2619
- alt?: string;
3115
+ alt?: 'json' | 'media' | 'proto';
2620
3116
  /** JSONP */
2621
3117
  callback?: string;
2622
3118
  /** Selector specifying which fields to include in a partial response. */
@@ -2639,11 +3135,11 @@ declare namespace gapi.client {
2639
3135
  /** Returns a list of all event ticket objects for a given issuer ID. */
2640
3136
  list(request?: {
2641
3137
  /** V1 error format. */
2642
- '$.xgafv'?: string;
3138
+ '$.xgafv'?: '1' | '2';
2643
3139
  /** OAuth access token. */
2644
3140
  access_token?: string;
2645
3141
  /** Data format for response. */
2646
- alt?: string;
3142
+ alt?: 'json' | 'media' | 'proto';
2647
3143
  /** JSONP */
2648
3144
  callback?: string;
2649
3145
  /** The ID of the class whose objects will be listed. */
@@ -2670,11 +3166,11 @@ declare namespace gapi.client {
2670
3166
  /** Deprecated: Use Auto Linked Passes instead. Modifies linked offer objects for the event ticket object with the given ID. */
2671
3167
  modifylinkedofferobjects(request: {
2672
3168
  /** V1 error format. */
2673
- '$.xgafv'?: string;
3169
+ '$.xgafv'?: '1' | '2';
2674
3170
  /** OAuth access token. */
2675
3171
  access_token?: string;
2676
3172
  /** Data format for response. */
2677
- alt?: string;
3173
+ alt?: 'json' | 'media' | 'proto';
2678
3174
  /** JSONP */
2679
3175
  callback?: string;
2680
3176
  /** Selector specifying which fields to include in a partial response. */
@@ -2699,11 +3195,11 @@ declare namespace gapi.client {
2699
3195
  modifylinkedofferobjects(
2700
3196
  request: {
2701
3197
  /** V1 error format. */
2702
- '$.xgafv'?: string;
3198
+ '$.xgafv'?: '1' | '2';
2703
3199
  /** OAuth access token. */
2704
3200
  access_token?: string;
2705
3201
  /** Data format for response. */
2706
- alt?: string;
3202
+ alt?: 'json' | 'media' | 'proto';
2707
3203
  /** JSONP */
2708
3204
  callback?: string;
2709
3205
  /** Selector specifying which fields to include in a partial response. */
@@ -2728,11 +3224,11 @@ declare namespace gapi.client {
2728
3224
  /** Updates the event ticket object referenced by the given object ID. This method supports patch semantics. */
2729
3225
  patch(request: {
2730
3226
  /** V1 error format. */
2731
- '$.xgafv'?: string;
3227
+ '$.xgafv'?: '1' | '2';
2732
3228
  /** OAuth access token. */
2733
3229
  access_token?: string;
2734
3230
  /** Data format for response. */
2735
- alt?: string;
3231
+ alt?: 'json' | 'media' | 'proto';
2736
3232
  /** JSONP */
2737
3233
  callback?: string;
2738
3234
  /** Selector specifying which fields to include in a partial response. */
@@ -2757,11 +3253,11 @@ declare namespace gapi.client {
2757
3253
  patch(
2758
3254
  request: {
2759
3255
  /** V1 error format. */
2760
- '$.xgafv'?: string;
3256
+ '$.xgafv'?: '1' | '2';
2761
3257
  /** OAuth access token. */
2762
3258
  access_token?: string;
2763
3259
  /** Data format for response. */
2764
- alt?: string;
3260
+ alt?: 'json' | 'media' | 'proto';
2765
3261
  /** JSONP */
2766
3262
  callback?: string;
2767
3263
  /** Selector specifying which fields to include in a partial response. */
@@ -2786,11 +3282,11 @@ declare namespace gapi.client {
2786
3282
  /** Updates the event ticket object referenced by the given object ID. */
2787
3283
  update(request: {
2788
3284
  /** V1 error format. */
2789
- '$.xgafv'?: string;
3285
+ '$.xgafv'?: '1' | '2';
2790
3286
  /** OAuth access token. */
2791
3287
  access_token?: string;
2792
3288
  /** Data format for response. */
2793
- alt?: string;
3289
+ alt?: 'json' | 'media' | 'proto';
2794
3290
  /** JSONP */
2795
3291
  callback?: string;
2796
3292
  /** Selector specifying which fields to include in a partial response. */
@@ -2815,11 +3311,11 @@ declare namespace gapi.client {
2815
3311
  update(
2816
3312
  request: {
2817
3313
  /** V1 error format. */
2818
- '$.xgafv'?: string;
3314
+ '$.xgafv'?: '1' | '2';
2819
3315
  /** OAuth access token. */
2820
3316
  access_token?: string;
2821
3317
  /** Data format for response. */
2822
- alt?: string;
3318
+ alt?: 'json' | 'media' | 'proto';
2823
3319
  /** JSONP */
2824
3320
  callback?: string;
2825
3321
  /** Selector specifying which fields to include in a partial response. */
@@ -2846,11 +3342,11 @@ declare namespace gapi.client {
2846
3342
  /** Adds a message to the flight class referenced by the given class ID. */
2847
3343
  addmessage(request: {
2848
3344
  /** V1 error format. */
2849
- '$.xgafv'?: string;
3345
+ '$.xgafv'?: '1' | '2';
2850
3346
  /** OAuth access token. */
2851
3347
  access_token?: string;
2852
3348
  /** Data format for response. */
2853
- alt?: string;
3349
+ alt?: 'json' | 'media' | 'proto';
2854
3350
  /** JSONP */
2855
3351
  callback?: string;
2856
3352
  /** Selector specifying which fields to include in a partial response. */
@@ -2875,11 +3371,11 @@ declare namespace gapi.client {
2875
3371
  addmessage(
2876
3372
  request: {
2877
3373
  /** V1 error format. */
2878
- '$.xgafv'?: string;
3374
+ '$.xgafv'?: '1' | '2';
2879
3375
  /** OAuth access token. */
2880
3376
  access_token?: string;
2881
3377
  /** Data format for response. */
2882
- alt?: string;
3378
+ alt?: 'json' | 'media' | 'proto';
2883
3379
  /** JSONP */
2884
3380
  callback?: string;
2885
3381
  /** Selector specifying which fields to include in a partial response. */
@@ -2904,11 +3400,11 @@ declare namespace gapi.client {
2904
3400
  /** Returns the flight class with the given class ID. */
2905
3401
  get(request?: {
2906
3402
  /** V1 error format. */
2907
- '$.xgafv'?: string;
3403
+ '$.xgafv'?: '1' | '2';
2908
3404
  /** OAuth access token. */
2909
3405
  access_token?: string;
2910
3406
  /** Data format for response. */
2911
- alt?: string;
3407
+ alt?: 'json' | 'media' | 'proto';
2912
3408
  /** JSONP */
2913
3409
  callback?: string;
2914
3410
  /** Selector specifying which fields to include in a partial response. */
@@ -2931,11 +3427,11 @@ declare namespace gapi.client {
2931
3427
  /** Inserts an flight class with the given ID and properties. */
2932
3428
  insert(request: {
2933
3429
  /** V1 error format. */
2934
- '$.xgafv'?: string;
3430
+ '$.xgafv'?: '1' | '2';
2935
3431
  /** OAuth access token. */
2936
3432
  access_token?: string;
2937
3433
  /** Data format for response. */
2938
- alt?: string;
3434
+ alt?: 'json' | 'media' | 'proto';
2939
3435
  /** JSONP */
2940
3436
  callback?: string;
2941
3437
  /** Selector specifying which fields to include in a partial response. */
@@ -2958,11 +3454,11 @@ declare namespace gapi.client {
2958
3454
  insert(
2959
3455
  request: {
2960
3456
  /** V1 error format. */
2961
- '$.xgafv'?: string;
3457
+ '$.xgafv'?: '1' | '2';
2962
3458
  /** OAuth access token. */
2963
3459
  access_token?: string;
2964
3460
  /** Data format for response. */
2965
- alt?: string;
3461
+ alt?: 'json' | 'media' | 'proto';
2966
3462
  /** JSONP */
2967
3463
  callback?: string;
2968
3464
  /** Selector specifying which fields to include in a partial response. */
@@ -2985,11 +3481,11 @@ declare namespace gapi.client {
2985
3481
  /** Returns a list of all flight classes for a given issuer ID. */
2986
3482
  list(request?: {
2987
3483
  /** V1 error format. */
2988
- '$.xgafv'?: string;
3484
+ '$.xgafv'?: '1' | '2';
2989
3485
  /** OAuth access token. */
2990
3486
  access_token?: string;
2991
3487
  /** Data format for response. */
2992
- alt?: string;
3488
+ alt?: 'json' | 'media' | 'proto';
2993
3489
  /** JSONP */
2994
3490
  callback?: string;
2995
3491
  /** Selector specifying which fields to include in a partial response. */
@@ -3016,11 +3512,11 @@ declare namespace gapi.client {
3016
3512
  /** Updates the flight class referenced by the given class ID. This method supports patch semantics. */
3017
3513
  patch(request: {
3018
3514
  /** V1 error format. */
3019
- '$.xgafv'?: string;
3515
+ '$.xgafv'?: '1' | '2';
3020
3516
  /** OAuth access token. */
3021
3517
  access_token?: string;
3022
3518
  /** Data format for response. */
3023
- alt?: string;
3519
+ alt?: 'json' | 'media' | 'proto';
3024
3520
  /** JSONP */
3025
3521
  callback?: string;
3026
3522
  /** Selector specifying which fields to include in a partial response. */
@@ -3045,11 +3541,11 @@ declare namespace gapi.client {
3045
3541
  patch(
3046
3542
  request: {
3047
3543
  /** V1 error format. */
3048
- '$.xgafv'?: string;
3544
+ '$.xgafv'?: '1' | '2';
3049
3545
  /** OAuth access token. */
3050
3546
  access_token?: string;
3051
3547
  /** Data format for response. */
3052
- alt?: string;
3548
+ alt?: 'json' | 'media' | 'proto';
3053
3549
  /** JSONP */
3054
3550
  callback?: string;
3055
3551
  /** Selector specifying which fields to include in a partial response. */
@@ -3074,11 +3570,11 @@ declare namespace gapi.client {
3074
3570
  /** Updates the flight class referenced by the given class ID. */
3075
3571
  update(request: {
3076
3572
  /** V1 error format. */
3077
- '$.xgafv'?: string;
3573
+ '$.xgafv'?: '1' | '2';
3078
3574
  /** OAuth access token. */
3079
3575
  access_token?: string;
3080
3576
  /** Data format for response. */
3081
- alt?: string;
3577
+ alt?: 'json' | 'media' | 'proto';
3082
3578
  /** JSONP */
3083
3579
  callback?: string;
3084
3580
  /** Selector specifying which fields to include in a partial response. */
@@ -3103,11 +3599,11 @@ declare namespace gapi.client {
3103
3599
  update(
3104
3600
  request: {
3105
3601
  /** V1 error format. */
3106
- '$.xgafv'?: string;
3602
+ '$.xgafv'?: '1' | '2';
3107
3603
  /** OAuth access token. */
3108
3604
  access_token?: string;
3109
3605
  /** Data format for response. */
3110
- alt?: string;
3606
+ alt?: 'json' | 'media' | 'proto';
3111
3607
  /** JSONP */
3112
3608
  callback?: string;
3113
3609
  /** Selector specifying which fields to include in a partial response. */
@@ -3134,11 +3630,11 @@ declare namespace gapi.client {
3134
3630
  /** Adds a message to the flight object referenced by the given object ID. */
3135
3631
  addmessage(request: {
3136
3632
  /** V1 error format. */
3137
- '$.xgafv'?: string;
3633
+ '$.xgafv'?: '1' | '2';
3138
3634
  /** OAuth access token. */
3139
3635
  access_token?: string;
3140
3636
  /** Data format for response. */
3141
- alt?: string;
3637
+ alt?: 'json' | 'media' | 'proto';
3142
3638
  /** JSONP */
3143
3639
  callback?: string;
3144
3640
  /** Selector specifying which fields to include in a partial response. */
@@ -3163,11 +3659,11 @@ declare namespace gapi.client {
3163
3659
  addmessage(
3164
3660
  request: {
3165
3661
  /** V1 error format. */
3166
- '$.xgafv'?: string;
3662
+ '$.xgafv'?: '1' | '2';
3167
3663
  /** OAuth access token. */
3168
3664
  access_token?: string;
3169
3665
  /** Data format for response. */
3170
- alt?: string;
3666
+ alt?: 'json' | 'media' | 'proto';
3171
3667
  /** JSONP */
3172
3668
  callback?: string;
3173
3669
  /** Selector specifying which fields to include in a partial response. */
@@ -3192,11 +3688,11 @@ declare namespace gapi.client {
3192
3688
  /** Returns the flight object with the given object ID. */
3193
3689
  get(request?: {
3194
3690
  /** V1 error format. */
3195
- '$.xgafv'?: string;
3691
+ '$.xgafv'?: '1' | '2';
3196
3692
  /** OAuth access token. */
3197
3693
  access_token?: string;
3198
3694
  /** Data format for response. */
3199
- alt?: string;
3695
+ alt?: 'json' | 'media' | 'proto';
3200
3696
  /** JSONP */
3201
3697
  callback?: string;
3202
3698
  /** Selector specifying which fields to include in a partial response. */
@@ -3219,11 +3715,11 @@ declare namespace gapi.client {
3219
3715
  /** Inserts an flight object with the given ID and properties. */
3220
3716
  insert(request: {
3221
3717
  /** V1 error format. */
3222
- '$.xgafv'?: string;
3718
+ '$.xgafv'?: '1' | '2';
3223
3719
  /** OAuth access token. */
3224
3720
  access_token?: string;
3225
3721
  /** Data format for response. */
3226
- alt?: string;
3722
+ alt?: 'json' | 'media' | 'proto';
3227
3723
  /** JSONP */
3228
3724
  callback?: string;
3229
3725
  /** Selector specifying which fields to include in a partial response. */
@@ -3246,11 +3742,11 @@ declare namespace gapi.client {
3246
3742
  insert(
3247
3743
  request: {
3248
3744
  /** V1 error format. */
3249
- '$.xgafv'?: string;
3745
+ '$.xgafv'?: '1' | '2';
3250
3746
  /** OAuth access token. */
3251
3747
  access_token?: string;
3252
3748
  /** Data format for response. */
3253
- alt?: string;
3749
+ alt?: 'json' | 'media' | 'proto';
3254
3750
  /** JSONP */
3255
3751
  callback?: string;
3256
3752
  /** Selector specifying which fields to include in a partial response. */
@@ -3273,11 +3769,11 @@ declare namespace gapi.client {
3273
3769
  /** Returns a list of all flight objects for a given issuer ID. */
3274
3770
  list(request?: {
3275
3771
  /** V1 error format. */
3276
- '$.xgafv'?: string;
3772
+ '$.xgafv'?: '1' | '2';
3277
3773
  /** OAuth access token. */
3278
3774
  access_token?: string;
3279
3775
  /** Data format for response. */
3280
- alt?: string;
3776
+ alt?: 'json' | 'media' | 'proto';
3281
3777
  /** JSONP */
3282
3778
  callback?: string;
3283
3779
  /** The ID of the class whose objects will be listed. */
@@ -3304,11 +3800,11 @@ declare namespace gapi.client {
3304
3800
  /** Updates the flight object referenced by the given object ID. This method supports patch semantics. */
3305
3801
  patch(request: {
3306
3802
  /** V1 error format. */
3307
- '$.xgafv'?: string;
3803
+ '$.xgafv'?: '1' | '2';
3308
3804
  /** OAuth access token. */
3309
3805
  access_token?: string;
3310
3806
  /** Data format for response. */
3311
- alt?: string;
3807
+ alt?: 'json' | 'media' | 'proto';
3312
3808
  /** JSONP */
3313
3809
  callback?: string;
3314
3810
  /** Selector specifying which fields to include in a partial response. */
@@ -3333,11 +3829,11 @@ declare namespace gapi.client {
3333
3829
  patch(
3334
3830
  request: {
3335
3831
  /** V1 error format. */
3336
- '$.xgafv'?: string;
3832
+ '$.xgafv'?: '1' | '2';
3337
3833
  /** OAuth access token. */
3338
3834
  access_token?: string;
3339
3835
  /** Data format for response. */
3340
- alt?: string;
3836
+ alt?: 'json' | 'media' | 'proto';
3341
3837
  /** JSONP */
3342
3838
  callback?: string;
3343
3839
  /** Selector specifying which fields to include in a partial response. */
@@ -3362,11 +3858,11 @@ declare namespace gapi.client {
3362
3858
  /** Updates the flight object referenced by the given object ID. */
3363
3859
  update(request: {
3364
3860
  /** V1 error format. */
3365
- '$.xgafv'?: string;
3861
+ '$.xgafv'?: '1' | '2';
3366
3862
  /** OAuth access token. */
3367
3863
  access_token?: string;
3368
3864
  /** Data format for response. */
3369
- alt?: string;
3865
+ alt?: 'json' | 'media' | 'proto';
3370
3866
  /** JSONP */
3371
3867
  callback?: string;
3372
3868
  /** Selector specifying which fields to include in a partial response. */
@@ -3391,11 +3887,11 @@ declare namespace gapi.client {
3391
3887
  update(
3392
3888
  request: {
3393
3889
  /** V1 error format. */
3394
- '$.xgafv'?: string;
3890
+ '$.xgafv'?: '1' | '2';
3395
3891
  /** OAuth access token. */
3396
3892
  access_token?: string;
3397
3893
  /** Data format for response. */
3398
- alt?: string;
3894
+ alt?: 'json' | 'media' | 'proto';
3399
3895
  /** JSONP */
3400
3896
  callback?: string;
3401
3897
  /** Selector specifying which fields to include in a partial response. */
@@ -3422,11 +3918,11 @@ declare namespace gapi.client {
3422
3918
  /** Adds a message to the generic class referenced by the given class ID. */
3423
3919
  addmessage(request: {
3424
3920
  /** V1 error format. */
3425
- '$.xgafv'?: string;
3921
+ '$.xgafv'?: '1' | '2';
3426
3922
  /** OAuth access token. */
3427
3923
  access_token?: string;
3428
3924
  /** Data format for response. */
3429
- alt?: string;
3925
+ alt?: 'json' | 'media' | 'proto';
3430
3926
  /** JSONP */
3431
3927
  callback?: string;
3432
3928
  /** Selector specifying which fields to include in a partial response. */
@@ -3451,11 +3947,11 @@ declare namespace gapi.client {
3451
3947
  addmessage(
3452
3948
  request: {
3453
3949
  /** V1 error format. */
3454
- '$.xgafv'?: string;
3950
+ '$.xgafv'?: '1' | '2';
3455
3951
  /** OAuth access token. */
3456
3952
  access_token?: string;
3457
3953
  /** Data format for response. */
3458
- alt?: string;
3954
+ alt?: 'json' | 'media' | 'proto';
3459
3955
  /** JSONP */
3460
3956
  callback?: string;
3461
3957
  /** Selector specifying which fields to include in a partial response. */
@@ -3480,11 +3976,11 @@ declare namespace gapi.client {
3480
3976
  /** Returns the generic class with the given class ID. */
3481
3977
  get(request?: {
3482
3978
  /** V1 error format. */
3483
- '$.xgafv'?: string;
3979
+ '$.xgafv'?: '1' | '2';
3484
3980
  /** OAuth access token. */
3485
3981
  access_token?: string;
3486
3982
  /** Data format for response. */
3487
- alt?: string;
3983
+ alt?: 'json' | 'media' | 'proto';
3488
3984
  /** JSONP */
3489
3985
  callback?: string;
3490
3986
  /** Selector specifying which fields to include in a partial response. */
@@ -3507,11 +4003,11 @@ declare namespace gapi.client {
3507
4003
  /** Inserts a generic class with the given ID and properties. */
3508
4004
  insert(request: {
3509
4005
  /** V1 error format. */
3510
- '$.xgafv'?: string;
4006
+ '$.xgafv'?: '1' | '2';
3511
4007
  /** OAuth access token. */
3512
4008
  access_token?: string;
3513
4009
  /** Data format for response. */
3514
- alt?: string;
4010
+ alt?: 'json' | 'media' | 'proto';
3515
4011
  /** JSONP */
3516
4012
  callback?: string;
3517
4013
  /** Selector specifying which fields to include in a partial response. */
@@ -3534,11 +4030,11 @@ declare namespace gapi.client {
3534
4030
  insert(
3535
4031
  request: {
3536
4032
  /** V1 error format. */
3537
- '$.xgafv'?: string;
4033
+ '$.xgafv'?: '1' | '2';
3538
4034
  /** OAuth access token. */
3539
4035
  access_token?: string;
3540
4036
  /** Data format for response. */
3541
- alt?: string;
4037
+ alt?: 'json' | 'media' | 'proto';
3542
4038
  /** JSONP */
3543
4039
  callback?: string;
3544
4040
  /** Selector specifying which fields to include in a partial response. */
@@ -3561,11 +4057,11 @@ declare namespace gapi.client {
3561
4057
  /** Returns a list of all generic classes for a given issuer ID. */
3562
4058
  list(request?: {
3563
4059
  /** V1 error format. */
3564
- '$.xgafv'?: string;
4060
+ '$.xgafv'?: '1' | '2';
3565
4061
  /** OAuth access token. */
3566
4062
  access_token?: string;
3567
4063
  /** Data format for response. */
3568
- alt?: string;
4064
+ alt?: 'json' | 'media' | 'proto';
3569
4065
  /** JSONP */
3570
4066
  callback?: string;
3571
4067
  /** Selector specifying which fields to include in a partial response. */
@@ -3592,11 +4088,11 @@ declare namespace gapi.client {
3592
4088
  /** Updates the generic class referenced by the given class ID. This method supports patch semantics. */
3593
4089
  patch(request: {
3594
4090
  /** V1 error format. */
3595
- '$.xgafv'?: string;
4091
+ '$.xgafv'?: '1' | '2';
3596
4092
  /** OAuth access token. */
3597
4093
  access_token?: string;
3598
4094
  /** Data format for response. */
3599
- alt?: string;
4095
+ alt?: 'json' | 'media' | 'proto';
3600
4096
  /** JSONP */
3601
4097
  callback?: string;
3602
4098
  /** Selector specifying which fields to include in a partial response. */
@@ -3621,11 +4117,11 @@ declare namespace gapi.client {
3621
4117
  patch(
3622
4118
  request: {
3623
4119
  /** V1 error format. */
3624
- '$.xgafv'?: string;
4120
+ '$.xgafv'?: '1' | '2';
3625
4121
  /** OAuth access token. */
3626
4122
  access_token?: string;
3627
4123
  /** Data format for response. */
3628
- alt?: string;
4124
+ alt?: 'json' | 'media' | 'proto';
3629
4125
  /** JSONP */
3630
4126
  callback?: string;
3631
4127
  /** Selector specifying which fields to include in a partial response. */
@@ -3650,11 +4146,11 @@ declare namespace gapi.client {
3650
4146
  /** Updates the Generic class referenced by the given class ID. */
3651
4147
  update(request: {
3652
4148
  /** V1 error format. */
3653
- '$.xgafv'?: string;
4149
+ '$.xgafv'?: '1' | '2';
3654
4150
  /** OAuth access token. */
3655
4151
  access_token?: string;
3656
4152
  /** Data format for response. */
3657
- alt?: string;
4153
+ alt?: 'json' | 'media' | 'proto';
3658
4154
  /** JSONP */
3659
4155
  callback?: string;
3660
4156
  /** Selector specifying which fields to include in a partial response. */
@@ -3679,11 +4175,11 @@ declare namespace gapi.client {
3679
4175
  update(
3680
4176
  request: {
3681
4177
  /** V1 error format. */
3682
- '$.xgafv'?: string;
4178
+ '$.xgafv'?: '1' | '2';
3683
4179
  /** OAuth access token. */
3684
4180
  access_token?: string;
3685
4181
  /** Data format for response. */
3686
- alt?: string;
4182
+ alt?: 'json' | 'media' | 'proto';
3687
4183
  /** JSONP */
3688
4184
  callback?: string;
3689
4185
  /** Selector specifying which fields to include in a partial response. */
@@ -3710,11 +4206,11 @@ declare namespace gapi.client {
3710
4206
  /** Adds a message to the generic object referenced by the given object ID. */
3711
4207
  addmessage(request: {
3712
4208
  /** V1 error format. */
3713
- '$.xgafv'?: string;
4209
+ '$.xgafv'?: '1' | '2';
3714
4210
  /** OAuth access token. */
3715
4211
  access_token?: string;
3716
4212
  /** Data format for response. */
3717
- alt?: string;
4213
+ alt?: 'json' | 'media' | 'proto';
3718
4214
  /** JSONP */
3719
4215
  callback?: string;
3720
4216
  /** Selector specifying which fields to include in a partial response. */
@@ -3739,11 +4235,11 @@ declare namespace gapi.client {
3739
4235
  addmessage(
3740
4236
  request: {
3741
4237
  /** V1 error format. */
3742
- '$.xgafv'?: string;
4238
+ '$.xgafv'?: '1' | '2';
3743
4239
  /** OAuth access token. */
3744
4240
  access_token?: string;
3745
4241
  /** Data format for response. */
3746
- alt?: string;
4242
+ alt?: 'json' | 'media' | 'proto';
3747
4243
  /** JSONP */
3748
4244
  callback?: string;
3749
4245
  /** Selector specifying which fields to include in a partial response. */
@@ -3768,11 +4264,11 @@ declare namespace gapi.client {
3768
4264
  /** Returns the generic object with the given object ID. */
3769
4265
  get(request?: {
3770
4266
  /** V1 error format. */
3771
- '$.xgafv'?: string;
4267
+ '$.xgafv'?: '1' | '2';
3772
4268
  /** OAuth access token. */
3773
4269
  access_token?: string;
3774
4270
  /** Data format for response. */
3775
- alt?: string;
4271
+ alt?: 'json' | 'media' | 'proto';
3776
4272
  /** JSONP */
3777
4273
  callback?: string;
3778
4274
  /** Selector specifying which fields to include in a partial response. */
@@ -3795,11 +4291,11 @@ declare namespace gapi.client {
3795
4291
  /** Inserts a generic object with the given ID and properties. */
3796
4292
  insert(request: {
3797
4293
  /** V1 error format. */
3798
- '$.xgafv'?: string;
4294
+ '$.xgafv'?: '1' | '2';
3799
4295
  /** OAuth access token. */
3800
4296
  access_token?: string;
3801
4297
  /** Data format for response. */
3802
- alt?: string;
4298
+ alt?: 'json' | 'media' | 'proto';
3803
4299
  /** JSONP */
3804
4300
  callback?: string;
3805
4301
  /** Selector specifying which fields to include in a partial response. */
@@ -3822,11 +4318,11 @@ declare namespace gapi.client {
3822
4318
  insert(
3823
4319
  request: {
3824
4320
  /** V1 error format. */
3825
- '$.xgafv'?: string;
4321
+ '$.xgafv'?: '1' | '2';
3826
4322
  /** OAuth access token. */
3827
4323
  access_token?: string;
3828
4324
  /** Data format for response. */
3829
- alt?: string;
4325
+ alt?: 'json' | 'media' | 'proto';
3830
4326
  /** JSONP */
3831
4327
  callback?: string;
3832
4328
  /** Selector specifying which fields to include in a partial response. */
@@ -3849,11 +4345,11 @@ declare namespace gapi.client {
3849
4345
  /** Returns a list of all generic objects for a given issuer ID. */
3850
4346
  list(request?: {
3851
4347
  /** V1 error format. */
3852
- '$.xgafv'?: string;
4348
+ '$.xgafv'?: '1' | '2';
3853
4349
  /** OAuth access token. */
3854
4350
  access_token?: string;
3855
4351
  /** Data format for response. */
3856
- alt?: string;
4352
+ alt?: 'json' | 'media' | 'proto';
3857
4353
  /** JSONP */
3858
4354
  callback?: string;
3859
4355
  /** The ID of the class whose objects will be listed. */
@@ -3880,11 +4376,11 @@ declare namespace gapi.client {
3880
4376
  /** Updates the generic object referenced by the given object ID. This method supports patch semantics. */
3881
4377
  patch(request: {
3882
4378
  /** V1 error format. */
3883
- '$.xgafv'?: string;
4379
+ '$.xgafv'?: '1' | '2';
3884
4380
  /** OAuth access token. */
3885
4381
  access_token?: string;
3886
4382
  /** Data format for response. */
3887
- alt?: string;
4383
+ alt?: 'json' | 'media' | 'proto';
3888
4384
  /** JSONP */
3889
4385
  callback?: string;
3890
4386
  /** Selector specifying which fields to include in a partial response. */
@@ -3909,11 +4405,11 @@ declare namespace gapi.client {
3909
4405
  patch(
3910
4406
  request: {
3911
4407
  /** V1 error format. */
3912
- '$.xgafv'?: string;
4408
+ '$.xgafv'?: '1' | '2';
3913
4409
  /** OAuth access token. */
3914
4410
  access_token?: string;
3915
4411
  /** Data format for response. */
3916
- alt?: string;
4412
+ alt?: 'json' | 'media' | 'proto';
3917
4413
  /** JSONP */
3918
4414
  callback?: string;
3919
4415
  /** Selector specifying which fields to include in a partial response. */
@@ -3938,11 +4434,11 @@ declare namespace gapi.client {
3938
4434
  /** Updates the generic object referenced by the given object ID. */
3939
4435
  update(request: {
3940
4436
  /** V1 error format. */
3941
- '$.xgafv'?: string;
4437
+ '$.xgafv'?: '1' | '2';
3942
4438
  /** OAuth access token. */
3943
4439
  access_token?: string;
3944
4440
  /** Data format for response. */
3945
- alt?: string;
4441
+ alt?: 'json' | 'media' | 'proto';
3946
4442
  /** JSONP */
3947
4443
  callback?: string;
3948
4444
  /** Selector specifying which fields to include in a partial response. */
@@ -3967,11 +4463,11 @@ declare namespace gapi.client {
3967
4463
  update(
3968
4464
  request: {
3969
4465
  /** V1 error format. */
3970
- '$.xgafv'?: string;
4466
+ '$.xgafv'?: '1' | '2';
3971
4467
  /** OAuth access token. */
3972
4468
  access_token?: string;
3973
4469
  /** Data format for response. */
3974
- alt?: string;
4470
+ alt?: 'json' | 'media' | 'proto';
3975
4471
  /** JSONP */
3976
4472
  callback?: string;
3977
4473
  /** Selector specifying which fields to include in a partial response. */
@@ -3998,11 +4494,11 @@ declare namespace gapi.client {
3998
4494
  /** Adds a message to the gift card class referenced by the given class ID. */
3999
4495
  addmessage(request: {
4000
4496
  /** V1 error format. */
4001
- '$.xgafv'?: string;
4497
+ '$.xgafv'?: '1' | '2';
4002
4498
  /** OAuth access token. */
4003
4499
  access_token?: string;
4004
4500
  /** Data format for response. */
4005
- alt?: string;
4501
+ alt?: 'json' | 'media' | 'proto';
4006
4502
  /** JSONP */
4007
4503
  callback?: string;
4008
4504
  /** Selector specifying which fields to include in a partial response. */
@@ -4027,11 +4523,11 @@ declare namespace gapi.client {
4027
4523
  addmessage(
4028
4524
  request: {
4029
4525
  /** V1 error format. */
4030
- '$.xgafv'?: string;
4526
+ '$.xgafv'?: '1' | '2';
4031
4527
  /** OAuth access token. */
4032
4528
  access_token?: string;
4033
4529
  /** Data format for response. */
4034
- alt?: string;
4530
+ alt?: 'json' | 'media' | 'proto';
4035
4531
  /** JSONP */
4036
4532
  callback?: string;
4037
4533
  /** Selector specifying which fields to include in a partial response. */
@@ -4056,11 +4552,11 @@ declare namespace gapi.client {
4056
4552
  /** Returns the gift card class with the given class ID. */
4057
4553
  get(request?: {
4058
4554
  /** V1 error format. */
4059
- '$.xgafv'?: string;
4555
+ '$.xgafv'?: '1' | '2';
4060
4556
  /** OAuth access token. */
4061
4557
  access_token?: string;
4062
4558
  /** Data format for response. */
4063
- alt?: string;
4559
+ alt?: 'json' | 'media' | 'proto';
4064
4560
  /** JSONP */
4065
4561
  callback?: string;
4066
4562
  /** Selector specifying which fields to include in a partial response. */
@@ -4083,11 +4579,11 @@ declare namespace gapi.client {
4083
4579
  /** Inserts an gift card class with the given ID and properties. */
4084
4580
  insert(request: {
4085
4581
  /** V1 error format. */
4086
- '$.xgafv'?: string;
4582
+ '$.xgafv'?: '1' | '2';
4087
4583
  /** OAuth access token. */
4088
4584
  access_token?: string;
4089
4585
  /** Data format for response. */
4090
- alt?: string;
4586
+ alt?: 'json' | 'media' | 'proto';
4091
4587
  /** JSONP */
4092
4588
  callback?: string;
4093
4589
  /** Selector specifying which fields to include in a partial response. */
@@ -4110,11 +4606,11 @@ declare namespace gapi.client {
4110
4606
  insert(
4111
4607
  request: {
4112
4608
  /** V1 error format. */
4113
- '$.xgafv'?: string;
4609
+ '$.xgafv'?: '1' | '2';
4114
4610
  /** OAuth access token. */
4115
4611
  access_token?: string;
4116
4612
  /** Data format for response. */
4117
- alt?: string;
4613
+ alt?: 'json' | 'media' | 'proto';
4118
4614
  /** JSONP */
4119
4615
  callback?: string;
4120
4616
  /** Selector specifying which fields to include in a partial response. */
@@ -4137,11 +4633,11 @@ declare namespace gapi.client {
4137
4633
  /** Returns a list of all gift card classes for a given issuer ID. */
4138
4634
  list(request?: {
4139
4635
  /** V1 error format. */
4140
- '$.xgafv'?: string;
4636
+ '$.xgafv'?: '1' | '2';
4141
4637
  /** OAuth access token. */
4142
4638
  access_token?: string;
4143
4639
  /** Data format for response. */
4144
- alt?: string;
4640
+ alt?: 'json' | 'media' | 'proto';
4145
4641
  /** JSONP */
4146
4642
  callback?: string;
4147
4643
  /** Selector specifying which fields to include in a partial response. */
@@ -4168,11 +4664,11 @@ declare namespace gapi.client {
4168
4664
  /** Updates the gift card class referenced by the given class ID. This method supports patch semantics. */
4169
4665
  patch(request: {
4170
4666
  /** V1 error format. */
4171
- '$.xgafv'?: string;
4667
+ '$.xgafv'?: '1' | '2';
4172
4668
  /** OAuth access token. */
4173
4669
  access_token?: string;
4174
4670
  /** Data format for response. */
4175
- alt?: string;
4671
+ alt?: 'json' | 'media' | 'proto';
4176
4672
  /** JSONP */
4177
4673
  callback?: string;
4178
4674
  /** Selector specifying which fields to include in a partial response. */
@@ -4197,11 +4693,11 @@ declare namespace gapi.client {
4197
4693
  patch(
4198
4694
  request: {
4199
4695
  /** V1 error format. */
4200
- '$.xgafv'?: string;
4696
+ '$.xgafv'?: '1' | '2';
4201
4697
  /** OAuth access token. */
4202
4698
  access_token?: string;
4203
4699
  /** Data format for response. */
4204
- alt?: string;
4700
+ alt?: 'json' | 'media' | 'proto';
4205
4701
  /** JSONP */
4206
4702
  callback?: string;
4207
4703
  /** Selector specifying which fields to include in a partial response. */
@@ -4226,11 +4722,11 @@ declare namespace gapi.client {
4226
4722
  /** Updates the gift card class referenced by the given class ID. */
4227
4723
  update(request: {
4228
4724
  /** V1 error format. */
4229
- '$.xgafv'?: string;
4725
+ '$.xgafv'?: '1' | '2';
4230
4726
  /** OAuth access token. */
4231
4727
  access_token?: string;
4232
4728
  /** Data format for response. */
4233
- alt?: string;
4729
+ alt?: 'json' | 'media' | 'proto';
4234
4730
  /** JSONP */
4235
4731
  callback?: string;
4236
4732
  /** Selector specifying which fields to include in a partial response. */
@@ -4255,11 +4751,11 @@ declare namespace gapi.client {
4255
4751
  update(
4256
4752
  request: {
4257
4753
  /** V1 error format. */
4258
- '$.xgafv'?: string;
4754
+ '$.xgafv'?: '1' | '2';
4259
4755
  /** OAuth access token. */
4260
4756
  access_token?: string;
4261
4757
  /** Data format for response. */
4262
- alt?: string;
4758
+ alt?: 'json' | 'media' | 'proto';
4263
4759
  /** JSONP */
4264
4760
  callback?: string;
4265
4761
  /** Selector specifying which fields to include in a partial response. */
@@ -4286,11 +4782,11 @@ declare namespace gapi.client {
4286
4782
  /** Adds a message to the gift card object referenced by the given object ID. */
4287
4783
  addmessage(request: {
4288
4784
  /** V1 error format. */
4289
- '$.xgafv'?: string;
4785
+ '$.xgafv'?: '1' | '2';
4290
4786
  /** OAuth access token. */
4291
4787
  access_token?: string;
4292
4788
  /** Data format for response. */
4293
- alt?: string;
4789
+ alt?: 'json' | 'media' | 'proto';
4294
4790
  /** JSONP */
4295
4791
  callback?: string;
4296
4792
  /** Selector specifying which fields to include in a partial response. */
@@ -4315,11 +4811,11 @@ declare namespace gapi.client {
4315
4811
  addmessage(
4316
4812
  request: {
4317
4813
  /** V1 error format. */
4318
- '$.xgafv'?: string;
4814
+ '$.xgafv'?: '1' | '2';
4319
4815
  /** OAuth access token. */
4320
4816
  access_token?: string;
4321
4817
  /** Data format for response. */
4322
- alt?: string;
4818
+ alt?: 'json' | 'media' | 'proto';
4323
4819
  /** JSONP */
4324
4820
  callback?: string;
4325
4821
  /** Selector specifying which fields to include in a partial response. */
@@ -4344,11 +4840,11 @@ declare namespace gapi.client {
4344
4840
  /** Returns the gift card object with the given object ID. */
4345
4841
  get(request?: {
4346
4842
  /** V1 error format. */
4347
- '$.xgafv'?: string;
4843
+ '$.xgafv'?: '1' | '2';
4348
4844
  /** OAuth access token. */
4349
4845
  access_token?: string;
4350
4846
  /** Data format for response. */
4351
- alt?: string;
4847
+ alt?: 'json' | 'media' | 'proto';
4352
4848
  /** JSONP */
4353
4849
  callback?: string;
4354
4850
  /** Selector specifying which fields to include in a partial response. */
@@ -4371,11 +4867,11 @@ declare namespace gapi.client {
4371
4867
  /** Inserts an gift card object with the given ID and properties. */
4372
4868
  insert(request: {
4373
4869
  /** V1 error format. */
4374
- '$.xgafv'?: string;
4870
+ '$.xgafv'?: '1' | '2';
4375
4871
  /** OAuth access token. */
4376
4872
  access_token?: string;
4377
4873
  /** Data format for response. */
4378
- alt?: string;
4874
+ alt?: 'json' | 'media' | 'proto';
4379
4875
  /** JSONP */
4380
4876
  callback?: string;
4381
4877
  /** Selector specifying which fields to include in a partial response. */
@@ -4398,11 +4894,11 @@ declare namespace gapi.client {
4398
4894
  insert(
4399
4895
  request: {
4400
4896
  /** V1 error format. */
4401
- '$.xgafv'?: string;
4897
+ '$.xgafv'?: '1' | '2';
4402
4898
  /** OAuth access token. */
4403
4899
  access_token?: string;
4404
4900
  /** Data format for response. */
4405
- alt?: string;
4901
+ alt?: 'json' | 'media' | 'proto';
4406
4902
  /** JSONP */
4407
4903
  callback?: string;
4408
4904
  /** Selector specifying which fields to include in a partial response. */
@@ -4425,11 +4921,11 @@ declare namespace gapi.client {
4425
4921
  /** Returns a list of all gift card objects for a given issuer ID. */
4426
4922
  list(request?: {
4427
4923
  /** V1 error format. */
4428
- '$.xgafv'?: string;
4924
+ '$.xgafv'?: '1' | '2';
4429
4925
  /** OAuth access token. */
4430
4926
  access_token?: string;
4431
4927
  /** Data format for response. */
4432
- alt?: string;
4928
+ alt?: 'json' | 'media' | 'proto';
4433
4929
  /** JSONP */
4434
4930
  callback?: string;
4435
4931
  /** The ID of the class whose objects will be listed. */
@@ -4456,11 +4952,11 @@ declare namespace gapi.client {
4456
4952
  /** Updates the gift card object referenced by the given object ID. This method supports patch semantics. */
4457
4953
  patch(request: {
4458
4954
  /** V1 error format. */
4459
- '$.xgafv'?: string;
4955
+ '$.xgafv'?: '1' | '2';
4460
4956
  /** OAuth access token. */
4461
4957
  access_token?: string;
4462
4958
  /** Data format for response. */
4463
- alt?: string;
4959
+ alt?: 'json' | 'media' | 'proto';
4464
4960
  /** JSONP */
4465
4961
  callback?: string;
4466
4962
  /** Selector specifying which fields to include in a partial response. */
@@ -4485,11 +4981,11 @@ declare namespace gapi.client {
4485
4981
  patch(
4486
4982
  request: {
4487
4983
  /** V1 error format. */
4488
- '$.xgafv'?: string;
4984
+ '$.xgafv'?: '1' | '2';
4489
4985
  /** OAuth access token. */
4490
4986
  access_token?: string;
4491
4987
  /** Data format for response. */
4492
- alt?: string;
4988
+ alt?: 'json' | 'media' | 'proto';
4493
4989
  /** JSONP */
4494
4990
  callback?: string;
4495
4991
  /** Selector specifying which fields to include in a partial response. */
@@ -4514,11 +5010,11 @@ declare namespace gapi.client {
4514
5010
  /** Updates the gift card object referenced by the given object ID. */
4515
5011
  update(request: {
4516
5012
  /** V1 error format. */
4517
- '$.xgafv'?: string;
5013
+ '$.xgafv'?: '1' | '2';
4518
5014
  /** OAuth access token. */
4519
5015
  access_token?: string;
4520
5016
  /** Data format for response. */
4521
- alt?: string;
5017
+ alt?: 'json' | 'media' | 'proto';
4522
5018
  /** JSONP */
4523
5019
  callback?: string;
4524
5020
  /** Selector specifying which fields to include in a partial response. */
@@ -4543,11 +5039,11 @@ declare namespace gapi.client {
4543
5039
  update(
4544
5040
  request: {
4545
5041
  /** V1 error format. */
4546
- '$.xgafv'?: string;
5042
+ '$.xgafv'?: '1' | '2';
4547
5043
  /** OAuth access token. */
4548
5044
  access_token?: string;
4549
5045
  /** Data format for response. */
4550
- alt?: string;
5046
+ alt?: 'json' | 'media' | 'proto';
4551
5047
  /** JSONP */
4552
5048
  callback?: string;
4553
5049
  /** Selector specifying which fields to include in a partial response. */
@@ -4574,11 +5070,11 @@ declare namespace gapi.client {
4574
5070
  /** Returns the issuer with the given issuer ID. */
4575
5071
  get(request?: {
4576
5072
  /** V1 error format. */
4577
- '$.xgafv'?: string;
5073
+ '$.xgafv'?: '1' | '2';
4578
5074
  /** OAuth access token. */
4579
5075
  access_token?: string;
4580
5076
  /** Data format for response. */
4581
- alt?: string;
5077
+ alt?: 'json' | 'media' | 'proto';
4582
5078
  /** JSONP */
4583
5079
  callback?: string;
4584
5080
  /** Selector specifying which fields to include in a partial response. */
@@ -4601,11 +5097,11 @@ declare namespace gapi.client {
4601
5097
  /** Inserts an issuer with the given ID and properties. */
4602
5098
  insert(request: {
4603
5099
  /** V1 error format. */
4604
- '$.xgafv'?: string;
5100
+ '$.xgafv'?: '1' | '2';
4605
5101
  /** OAuth access token. */
4606
5102
  access_token?: string;
4607
5103
  /** Data format for response. */
4608
- alt?: string;
5104
+ alt?: 'json' | 'media' | 'proto';
4609
5105
  /** JSONP */
4610
5106
  callback?: string;
4611
5107
  /** Selector specifying which fields to include in a partial response. */
@@ -4628,11 +5124,11 @@ declare namespace gapi.client {
4628
5124
  insert(
4629
5125
  request: {
4630
5126
  /** V1 error format. */
4631
- '$.xgafv'?: string;
5127
+ '$.xgafv'?: '1' | '2';
4632
5128
  /** OAuth access token. */
4633
5129
  access_token?: string;
4634
5130
  /** Data format for response. */
4635
- alt?: string;
5131
+ alt?: 'json' | 'media' | 'proto';
4636
5132
  /** JSONP */
4637
5133
  callback?: string;
4638
5134
  /** Selector specifying which fields to include in a partial response. */
@@ -4655,11 +5151,11 @@ declare namespace gapi.client {
4655
5151
  /** Returns a list of all issuers shared to the caller. */
4656
5152
  list(request?: {
4657
5153
  /** V1 error format. */
4658
- '$.xgafv'?: string;
5154
+ '$.xgafv'?: '1' | '2';
4659
5155
  /** OAuth access token. */
4660
5156
  access_token?: string;
4661
5157
  /** Data format for response. */
4662
- alt?: string;
5158
+ alt?: 'json' | 'media' | 'proto';
4663
5159
  /** JSONP */
4664
5160
  callback?: string;
4665
5161
  /** Selector specifying which fields to include in a partial response. */
@@ -4680,11 +5176,11 @@ declare namespace gapi.client {
4680
5176
  /** Updates the issuer referenced by the given issuer ID. This method supports patch semantics. */
4681
5177
  patch(request: {
4682
5178
  /** V1 error format. */
4683
- '$.xgafv'?: string;
5179
+ '$.xgafv'?: '1' | '2';
4684
5180
  /** OAuth access token. */
4685
5181
  access_token?: string;
4686
5182
  /** Data format for response. */
4687
- alt?: string;
5183
+ alt?: 'json' | 'media' | 'proto';
4688
5184
  /** JSONP */
4689
5185
  callback?: string;
4690
5186
  /** Selector specifying which fields to include in a partial response. */
@@ -4709,11 +5205,11 @@ declare namespace gapi.client {
4709
5205
  patch(
4710
5206
  request: {
4711
5207
  /** V1 error format. */
4712
- '$.xgafv'?: string;
5208
+ '$.xgafv'?: '1' | '2';
4713
5209
  /** OAuth access token. */
4714
5210
  access_token?: string;
4715
5211
  /** Data format for response. */
4716
- alt?: string;
5212
+ alt?: 'json' | 'media' | 'proto';
4717
5213
  /** JSONP */
4718
5214
  callback?: string;
4719
5215
  /** Selector specifying which fields to include in a partial response. */
@@ -4738,11 +5234,11 @@ declare namespace gapi.client {
4738
5234
  /** Updates the issuer referenced by the given issuer ID. */
4739
5235
  update(request: {
4740
5236
  /** V1 error format. */
4741
- '$.xgafv'?: string;
5237
+ '$.xgafv'?: '1' | '2';
4742
5238
  /** OAuth access token. */
4743
5239
  access_token?: string;
4744
5240
  /** Data format for response. */
4745
- alt?: string;
5241
+ alt?: 'json' | 'media' | 'proto';
4746
5242
  /** JSONP */
4747
5243
  callback?: string;
4748
5244
  /** Selector specifying which fields to include in a partial response. */
@@ -4767,11 +5263,11 @@ declare namespace gapi.client {
4767
5263
  update(
4768
5264
  request: {
4769
5265
  /** V1 error format. */
4770
- '$.xgafv'?: string;
5266
+ '$.xgafv'?: '1' | '2';
4771
5267
  /** OAuth access token. */
4772
5268
  access_token?: string;
4773
5269
  /** Data format for response. */
4774
- alt?: string;
5270
+ alt?: 'json' | 'media' | 'proto';
4775
5271
  /** JSONP */
4776
5272
  callback?: string;
4777
5273
  /** Selector specifying which fields to include in a partial response. */
@@ -4798,11 +5294,11 @@ declare namespace gapi.client {
4798
5294
  /** Inserts the resources in the JWT. */
4799
5295
  insert(request: {
4800
5296
  /** V1 error format. */
4801
- '$.xgafv'?: string;
5297
+ '$.xgafv'?: '1' | '2';
4802
5298
  /** OAuth access token. */
4803
5299
  access_token?: string;
4804
5300
  /** Data format for response. */
4805
- alt?: string;
5301
+ alt?: 'json' | 'media' | 'proto';
4806
5302
  /** JSONP */
4807
5303
  callback?: string;
4808
5304
  /** Selector specifying which fields to include in a partial response. */
@@ -4825,11 +5321,11 @@ declare namespace gapi.client {
4825
5321
  insert(
4826
5322
  request: {
4827
5323
  /** V1 error format. */
4828
- '$.xgafv'?: string;
5324
+ '$.xgafv'?: '1' | '2';
4829
5325
  /** OAuth access token. */
4830
5326
  access_token?: string;
4831
5327
  /** Data format for response. */
4832
- alt?: string;
5328
+ alt?: 'json' | 'media' | 'proto';
4833
5329
  /** JSONP */
4834
5330
  callback?: string;
4835
5331
  /** Selector specifying which fields to include in a partial response. */
@@ -4854,11 +5350,11 @@ declare namespace gapi.client {
4854
5350
  /** Adds a message to the loyalty class referenced by the given class ID. */
4855
5351
  addmessage(request: {
4856
5352
  /** V1 error format. */
4857
- '$.xgafv'?: string;
5353
+ '$.xgafv'?: '1' | '2';
4858
5354
  /** OAuth access token. */
4859
5355
  access_token?: string;
4860
5356
  /** Data format for response. */
4861
- alt?: string;
5357
+ alt?: 'json' | 'media' | 'proto';
4862
5358
  /** JSONP */
4863
5359
  callback?: string;
4864
5360
  /** Selector specifying which fields to include in a partial response. */
@@ -4883,11 +5379,11 @@ declare namespace gapi.client {
4883
5379
  addmessage(
4884
5380
  request: {
4885
5381
  /** V1 error format. */
4886
- '$.xgafv'?: string;
5382
+ '$.xgafv'?: '1' | '2';
4887
5383
  /** OAuth access token. */
4888
5384
  access_token?: string;
4889
5385
  /** Data format for response. */
4890
- alt?: string;
5386
+ alt?: 'json' | 'media' | 'proto';
4891
5387
  /** JSONP */
4892
5388
  callback?: string;
4893
5389
  /** Selector specifying which fields to include in a partial response. */
@@ -4912,11 +5408,11 @@ declare namespace gapi.client {
4912
5408
  /** Returns the loyalty class with the given class ID. */
4913
5409
  get(request?: {
4914
5410
  /** V1 error format. */
4915
- '$.xgafv'?: string;
5411
+ '$.xgafv'?: '1' | '2';
4916
5412
  /** OAuth access token. */
4917
5413
  access_token?: string;
4918
5414
  /** Data format for response. */
4919
- alt?: string;
5415
+ alt?: 'json' | 'media' | 'proto';
4920
5416
  /** JSONP */
4921
5417
  callback?: string;
4922
5418
  /** Selector specifying which fields to include in a partial response. */
@@ -4939,11 +5435,11 @@ declare namespace gapi.client {
4939
5435
  /** Inserts an loyalty class with the given ID and properties. */
4940
5436
  insert(request: {
4941
5437
  /** V1 error format. */
4942
- '$.xgafv'?: string;
5438
+ '$.xgafv'?: '1' | '2';
4943
5439
  /** OAuth access token. */
4944
5440
  access_token?: string;
4945
5441
  /** Data format for response. */
4946
- alt?: string;
5442
+ alt?: 'json' | 'media' | 'proto';
4947
5443
  /** JSONP */
4948
5444
  callback?: string;
4949
5445
  /** Selector specifying which fields to include in a partial response. */
@@ -4966,11 +5462,11 @@ declare namespace gapi.client {
4966
5462
  insert(
4967
5463
  request: {
4968
5464
  /** V1 error format. */
4969
- '$.xgafv'?: string;
5465
+ '$.xgafv'?: '1' | '2';
4970
5466
  /** OAuth access token. */
4971
5467
  access_token?: string;
4972
5468
  /** Data format for response. */
4973
- alt?: string;
5469
+ alt?: 'json' | 'media' | 'proto';
4974
5470
  /** JSONP */
4975
5471
  callback?: string;
4976
5472
  /** Selector specifying which fields to include in a partial response. */
@@ -4993,11 +5489,11 @@ declare namespace gapi.client {
4993
5489
  /** Returns a list of all loyalty classes for a given issuer ID. */
4994
5490
  list(request?: {
4995
5491
  /** V1 error format. */
4996
- '$.xgafv'?: string;
5492
+ '$.xgafv'?: '1' | '2';
4997
5493
  /** OAuth access token. */
4998
5494
  access_token?: string;
4999
5495
  /** Data format for response. */
5000
- alt?: string;
5496
+ alt?: 'json' | 'media' | 'proto';
5001
5497
  /** JSONP */
5002
5498
  callback?: string;
5003
5499
  /** Selector specifying which fields to include in a partial response. */
@@ -5024,11 +5520,11 @@ declare namespace gapi.client {
5024
5520
  /** Updates the loyalty class referenced by the given class ID. This method supports patch semantics. */
5025
5521
  patch(request: {
5026
5522
  /** V1 error format. */
5027
- '$.xgafv'?: string;
5523
+ '$.xgafv'?: '1' | '2';
5028
5524
  /** OAuth access token. */
5029
5525
  access_token?: string;
5030
5526
  /** Data format for response. */
5031
- alt?: string;
5527
+ alt?: 'json' | 'media' | 'proto';
5032
5528
  /** JSONP */
5033
5529
  callback?: string;
5034
5530
  /** Selector specifying which fields to include in a partial response. */
@@ -5053,11 +5549,11 @@ declare namespace gapi.client {
5053
5549
  patch(
5054
5550
  request: {
5055
5551
  /** V1 error format. */
5056
- '$.xgafv'?: string;
5552
+ '$.xgafv'?: '1' | '2';
5057
5553
  /** OAuth access token. */
5058
5554
  access_token?: string;
5059
5555
  /** Data format for response. */
5060
- alt?: string;
5556
+ alt?: 'json' | 'media' | 'proto';
5061
5557
  /** JSONP */
5062
5558
  callback?: string;
5063
5559
  /** Selector specifying which fields to include in a partial response. */
@@ -5082,11 +5578,11 @@ declare namespace gapi.client {
5082
5578
  /** Updates the loyalty class referenced by the given class ID. */
5083
5579
  update(request: {
5084
5580
  /** V1 error format. */
5085
- '$.xgafv'?: string;
5581
+ '$.xgafv'?: '1' | '2';
5086
5582
  /** OAuth access token. */
5087
5583
  access_token?: string;
5088
5584
  /** Data format for response. */
5089
- alt?: string;
5585
+ alt?: 'json' | 'media' | 'proto';
5090
5586
  /** JSONP */
5091
5587
  callback?: string;
5092
5588
  /** Selector specifying which fields to include in a partial response. */
@@ -5111,11 +5607,11 @@ declare namespace gapi.client {
5111
5607
  update(
5112
5608
  request: {
5113
5609
  /** V1 error format. */
5114
- '$.xgafv'?: string;
5610
+ '$.xgafv'?: '1' | '2';
5115
5611
  /** OAuth access token. */
5116
5612
  access_token?: string;
5117
5613
  /** Data format for response. */
5118
- alt?: string;
5614
+ alt?: 'json' | 'media' | 'proto';
5119
5615
  /** JSONP */
5120
5616
  callback?: string;
5121
5617
  /** Selector specifying which fields to include in a partial response. */
@@ -5142,11 +5638,11 @@ declare namespace gapi.client {
5142
5638
  /** Adds a message to the loyalty object referenced by the given object ID. */
5143
5639
  addmessage(request: {
5144
5640
  /** V1 error format. */
5145
- '$.xgafv'?: string;
5641
+ '$.xgafv'?: '1' | '2';
5146
5642
  /** OAuth access token. */
5147
5643
  access_token?: string;
5148
5644
  /** Data format for response. */
5149
- alt?: string;
5645
+ alt?: 'json' | 'media' | 'proto';
5150
5646
  /** JSONP */
5151
5647
  callback?: string;
5152
5648
  /** Selector specifying which fields to include in a partial response. */
@@ -5171,11 +5667,11 @@ declare namespace gapi.client {
5171
5667
  addmessage(
5172
5668
  request: {
5173
5669
  /** V1 error format. */
5174
- '$.xgafv'?: string;
5670
+ '$.xgafv'?: '1' | '2';
5175
5671
  /** OAuth access token. */
5176
5672
  access_token?: string;
5177
5673
  /** Data format for response. */
5178
- alt?: string;
5674
+ alt?: 'json' | 'media' | 'proto';
5179
5675
  /** JSONP */
5180
5676
  callback?: string;
5181
5677
  /** Selector specifying which fields to include in a partial response. */
@@ -5200,11 +5696,11 @@ declare namespace gapi.client {
5200
5696
  /** Returns the loyalty object with the given object ID. */
5201
5697
  get(request?: {
5202
5698
  /** V1 error format. */
5203
- '$.xgafv'?: string;
5699
+ '$.xgafv'?: '1' | '2';
5204
5700
  /** OAuth access token. */
5205
5701
  access_token?: string;
5206
5702
  /** Data format for response. */
5207
- alt?: string;
5703
+ alt?: 'json' | 'media' | 'proto';
5208
5704
  /** JSONP */
5209
5705
  callback?: string;
5210
5706
  /** Selector specifying which fields to include in a partial response. */
@@ -5227,11 +5723,11 @@ declare namespace gapi.client {
5227
5723
  /** Inserts an loyalty object with the given ID and properties. */
5228
5724
  insert(request: {
5229
5725
  /** V1 error format. */
5230
- '$.xgafv'?: string;
5726
+ '$.xgafv'?: '1' | '2';
5231
5727
  /** OAuth access token. */
5232
5728
  access_token?: string;
5233
5729
  /** Data format for response. */
5234
- alt?: string;
5730
+ alt?: 'json' | 'media' | 'proto';
5235
5731
  /** JSONP */
5236
5732
  callback?: string;
5237
5733
  /** Selector specifying which fields to include in a partial response. */
@@ -5254,11 +5750,11 @@ declare namespace gapi.client {
5254
5750
  insert(
5255
5751
  request: {
5256
5752
  /** V1 error format. */
5257
- '$.xgafv'?: string;
5753
+ '$.xgafv'?: '1' | '2';
5258
5754
  /** OAuth access token. */
5259
5755
  access_token?: string;
5260
5756
  /** Data format for response. */
5261
- alt?: string;
5757
+ alt?: 'json' | 'media' | 'proto';
5262
5758
  /** JSONP */
5263
5759
  callback?: string;
5264
5760
  /** Selector specifying which fields to include in a partial response. */
@@ -5281,11 +5777,11 @@ declare namespace gapi.client {
5281
5777
  /** Returns a list of all loyalty objects for a given issuer ID. */
5282
5778
  list(request?: {
5283
5779
  /** V1 error format. */
5284
- '$.xgafv'?: string;
5780
+ '$.xgafv'?: '1' | '2';
5285
5781
  /** OAuth access token. */
5286
5782
  access_token?: string;
5287
5783
  /** Data format for response. */
5288
- alt?: string;
5784
+ alt?: 'json' | 'media' | 'proto';
5289
5785
  /** JSONP */
5290
5786
  callback?: string;
5291
5787
  /** The ID of the class whose objects will be listed. */
@@ -5312,11 +5808,11 @@ declare namespace gapi.client {
5312
5808
  /** Deprecated: Use Auto Linked Passes instead. Modifies linked offer objects for the loyalty object with the given ID. */
5313
5809
  modifylinkedofferobjects(request: {
5314
5810
  /** V1 error format. */
5315
- '$.xgafv'?: string;
5811
+ '$.xgafv'?: '1' | '2';
5316
5812
  /** OAuth access token. */
5317
5813
  access_token?: string;
5318
5814
  /** Data format for response. */
5319
- alt?: string;
5815
+ alt?: 'json' | 'media' | 'proto';
5320
5816
  /** JSONP */
5321
5817
  callback?: string;
5322
5818
  /** Selector specifying which fields to include in a partial response. */
@@ -5341,11 +5837,11 @@ declare namespace gapi.client {
5341
5837
  modifylinkedofferobjects(
5342
5838
  request: {
5343
5839
  /** V1 error format. */
5344
- '$.xgafv'?: string;
5840
+ '$.xgafv'?: '1' | '2';
5345
5841
  /** OAuth access token. */
5346
5842
  access_token?: string;
5347
5843
  /** Data format for response. */
5348
- alt?: string;
5844
+ alt?: 'json' | 'media' | 'proto';
5349
5845
  /** JSONP */
5350
5846
  callback?: string;
5351
5847
  /** Selector specifying which fields to include in a partial response. */
@@ -5370,11 +5866,11 @@ declare namespace gapi.client {
5370
5866
  /** Updates the loyalty object referenced by the given object ID. This method supports patch semantics. */
5371
5867
  patch(request: {
5372
5868
  /** V1 error format. */
5373
- '$.xgafv'?: string;
5869
+ '$.xgafv'?: '1' | '2';
5374
5870
  /** OAuth access token. */
5375
5871
  access_token?: string;
5376
5872
  /** Data format for response. */
5377
- alt?: string;
5873
+ alt?: 'json' | 'media' | 'proto';
5378
5874
  /** JSONP */
5379
5875
  callback?: string;
5380
5876
  /** Selector specifying which fields to include in a partial response. */
@@ -5399,11 +5895,11 @@ declare namespace gapi.client {
5399
5895
  patch(
5400
5896
  request: {
5401
5897
  /** V1 error format. */
5402
- '$.xgafv'?: string;
5898
+ '$.xgafv'?: '1' | '2';
5403
5899
  /** OAuth access token. */
5404
5900
  access_token?: string;
5405
5901
  /** Data format for response. */
5406
- alt?: string;
5902
+ alt?: 'json' | 'media' | 'proto';
5407
5903
  /** JSONP */
5408
5904
  callback?: string;
5409
5905
  /** Selector specifying which fields to include in a partial response. */
@@ -5428,11 +5924,11 @@ declare namespace gapi.client {
5428
5924
  /** Updates the loyalty object referenced by the given object ID. */
5429
5925
  update(request: {
5430
5926
  /** V1 error format. */
5431
- '$.xgafv'?: string;
5927
+ '$.xgafv'?: '1' | '2';
5432
5928
  /** OAuth access token. */
5433
5929
  access_token?: string;
5434
5930
  /** Data format for response. */
5435
- alt?: string;
5931
+ alt?: 'json' | 'media' | 'proto';
5436
5932
  /** JSONP */
5437
5933
  callback?: string;
5438
5934
  /** Selector specifying which fields to include in a partial response. */
@@ -5457,11 +5953,11 @@ declare namespace gapi.client {
5457
5953
  update(
5458
5954
  request: {
5459
5955
  /** V1 error format. */
5460
- '$.xgafv'?: string;
5956
+ '$.xgafv'?: '1' | '2';
5461
5957
  /** OAuth access token. */
5462
5958
  access_token?: string;
5463
5959
  /** Data format for response. */
5464
- alt?: string;
5960
+ alt?: 'json' | 'media' | 'proto';
5465
5961
  /** JSONP */
5466
5962
  callback?: string;
5467
5963
  /** Selector specifying which fields to include in a partial response. */
@@ -5488,11 +5984,11 @@ declare namespace gapi.client {
5488
5984
  /** Downloads rotating barcode values for the transit object referenced by the given object ID. */
5489
5985
  download(request?: {
5490
5986
  /** V1 error format. */
5491
- '$.xgafv'?: string;
5987
+ '$.xgafv'?: '1' | '2';
5492
5988
  /** OAuth access token. */
5493
5989
  access_token?: string;
5494
5990
  /** Data format for response. */
5495
- alt?: string;
5991
+ alt?: 'json' | 'media' | 'proto';
5496
5992
  /** JSONP */
5497
5993
  callback?: string;
5498
5994
  /** Selector specifying which fields to include in a partial response. */
@@ -5515,11 +6011,11 @@ declare namespace gapi.client {
5515
6011
  /** Uploads rotating barcode values for the transit object referenced by the given object ID. Note the max upload size is specified in google3/production/config/cdd/apps-upload/customers/payments-consumer-passes/config.gcl and enforced by Scotty. */
5516
6012
  upload(request: {
5517
6013
  /** V1 error format. */
5518
- '$.xgafv'?: string;
6014
+ '$.xgafv'?: '1' | '2';
5519
6015
  /** OAuth access token. */
5520
6016
  access_token?: string;
5521
6017
  /** Data format for response. */
5522
- alt?: string;
6018
+ alt?: 'json' | 'media' | 'proto';
5523
6019
  /** JSONP */
5524
6020
  callback?: string;
5525
6021
  /** Selector specifying which fields to include in a partial response. */
@@ -5544,11 +6040,11 @@ declare namespace gapi.client {
5544
6040
  upload(
5545
6041
  request: {
5546
6042
  /** V1 error format. */
5547
- '$.xgafv'?: string;
6043
+ '$.xgafv'?: '1' | '2';
5548
6044
  /** OAuth access token. */
5549
6045
  access_token?: string;
5550
6046
  /** Data format for response. */
5551
- alt?: string;
6047
+ alt?: 'json' | 'media' | 'proto';
5552
6048
  /** JSONP */
5553
6049
  callback?: string;
5554
6050
  /** Selector specifying which fields to include in a partial response. */
@@ -5575,11 +6071,11 @@ declare namespace gapi.client {
5575
6071
  /** Adds a message to the offer class referenced by the given class ID. */
5576
6072
  addmessage(request: {
5577
6073
  /** V1 error format. */
5578
- '$.xgafv'?: string;
6074
+ '$.xgafv'?: '1' | '2';
5579
6075
  /** OAuth access token. */
5580
6076
  access_token?: string;
5581
6077
  /** Data format for response. */
5582
- alt?: string;
6078
+ alt?: 'json' | 'media' | 'proto';
5583
6079
  /** JSONP */
5584
6080
  callback?: string;
5585
6081
  /** Selector specifying which fields to include in a partial response. */
@@ -5604,11 +6100,11 @@ declare namespace gapi.client {
5604
6100
  addmessage(
5605
6101
  request: {
5606
6102
  /** V1 error format. */
5607
- '$.xgafv'?: string;
6103
+ '$.xgafv'?: '1' | '2';
5608
6104
  /** OAuth access token. */
5609
6105
  access_token?: string;
5610
6106
  /** Data format for response. */
5611
- alt?: string;
6107
+ alt?: 'json' | 'media' | 'proto';
5612
6108
  /** JSONP */
5613
6109
  callback?: string;
5614
6110
  /** Selector specifying which fields to include in a partial response. */
@@ -5633,11 +6129,11 @@ declare namespace gapi.client {
5633
6129
  /** Returns the offer class with the given class ID. */
5634
6130
  get(request?: {
5635
6131
  /** V1 error format. */
5636
- '$.xgafv'?: string;
6132
+ '$.xgafv'?: '1' | '2';
5637
6133
  /** OAuth access token. */
5638
6134
  access_token?: string;
5639
6135
  /** Data format for response. */
5640
- alt?: string;
6136
+ alt?: 'json' | 'media' | 'proto';
5641
6137
  /** JSONP */
5642
6138
  callback?: string;
5643
6139
  /** Selector specifying which fields to include in a partial response. */
@@ -5660,11 +6156,11 @@ declare namespace gapi.client {
5660
6156
  /** Inserts an offer class with the given ID and properties. */
5661
6157
  insert(request: {
5662
6158
  /** V1 error format. */
5663
- '$.xgafv'?: string;
6159
+ '$.xgafv'?: '1' | '2';
5664
6160
  /** OAuth access token. */
5665
6161
  access_token?: string;
5666
6162
  /** Data format for response. */
5667
- alt?: string;
6163
+ alt?: 'json' | 'media' | 'proto';
5668
6164
  /** JSONP */
5669
6165
  callback?: string;
5670
6166
  /** Selector specifying which fields to include in a partial response. */
@@ -5687,11 +6183,11 @@ declare namespace gapi.client {
5687
6183
  insert(
5688
6184
  request: {
5689
6185
  /** V1 error format. */
5690
- '$.xgafv'?: string;
6186
+ '$.xgafv'?: '1' | '2';
5691
6187
  /** OAuth access token. */
5692
6188
  access_token?: string;
5693
6189
  /** Data format for response. */
5694
- alt?: string;
6190
+ alt?: 'json' | 'media' | 'proto';
5695
6191
  /** JSONP */
5696
6192
  callback?: string;
5697
6193
  /** Selector specifying which fields to include in a partial response. */
@@ -5714,11 +6210,11 @@ declare namespace gapi.client {
5714
6210
  /** Returns a list of all offer classes for a given issuer ID. */
5715
6211
  list(request?: {
5716
6212
  /** V1 error format. */
5717
- '$.xgafv'?: string;
6213
+ '$.xgafv'?: '1' | '2';
5718
6214
  /** OAuth access token. */
5719
6215
  access_token?: string;
5720
6216
  /** Data format for response. */
5721
- alt?: string;
6217
+ alt?: 'json' | 'media' | 'proto';
5722
6218
  /** JSONP */
5723
6219
  callback?: string;
5724
6220
  /** Selector specifying which fields to include in a partial response. */
@@ -5745,11 +6241,11 @@ declare namespace gapi.client {
5745
6241
  /** Updates the offer class referenced by the given class ID. This method supports patch semantics. */
5746
6242
  patch(request: {
5747
6243
  /** V1 error format. */
5748
- '$.xgafv'?: string;
6244
+ '$.xgafv'?: '1' | '2';
5749
6245
  /** OAuth access token. */
5750
6246
  access_token?: string;
5751
6247
  /** Data format for response. */
5752
- alt?: string;
6248
+ alt?: 'json' | 'media' | 'proto';
5753
6249
  /** JSONP */
5754
6250
  callback?: string;
5755
6251
  /** Selector specifying which fields to include in a partial response. */
@@ -5774,11 +6270,11 @@ declare namespace gapi.client {
5774
6270
  patch(
5775
6271
  request: {
5776
6272
  /** V1 error format. */
5777
- '$.xgafv'?: string;
6273
+ '$.xgafv'?: '1' | '2';
5778
6274
  /** OAuth access token. */
5779
6275
  access_token?: string;
5780
6276
  /** Data format for response. */
5781
- alt?: string;
6277
+ alt?: 'json' | 'media' | 'proto';
5782
6278
  /** JSONP */
5783
6279
  callback?: string;
5784
6280
  /** Selector specifying which fields to include in a partial response. */
@@ -5803,11 +6299,11 @@ declare namespace gapi.client {
5803
6299
  /** Updates the offer class referenced by the given class ID. */
5804
6300
  update(request: {
5805
6301
  /** V1 error format. */
5806
- '$.xgafv'?: string;
6302
+ '$.xgafv'?: '1' | '2';
5807
6303
  /** OAuth access token. */
5808
6304
  access_token?: string;
5809
6305
  /** Data format for response. */
5810
- alt?: string;
6306
+ alt?: 'json' | 'media' | 'proto';
5811
6307
  /** JSONP */
5812
6308
  callback?: string;
5813
6309
  /** Selector specifying which fields to include in a partial response. */
@@ -5832,11 +6328,11 @@ declare namespace gapi.client {
5832
6328
  update(
5833
6329
  request: {
5834
6330
  /** V1 error format. */
5835
- '$.xgafv'?: string;
6331
+ '$.xgafv'?: '1' | '2';
5836
6332
  /** OAuth access token. */
5837
6333
  access_token?: string;
5838
6334
  /** Data format for response. */
5839
- alt?: string;
6335
+ alt?: 'json' | 'media' | 'proto';
5840
6336
  /** JSONP */
5841
6337
  callback?: string;
5842
6338
  /** Selector specifying which fields to include in a partial response. */
@@ -5863,11 +6359,11 @@ declare namespace gapi.client {
5863
6359
  /** Adds a message to the offer object referenced by the given object ID. */
5864
6360
  addmessage(request: {
5865
6361
  /** V1 error format. */
5866
- '$.xgafv'?: string;
6362
+ '$.xgafv'?: '1' | '2';
5867
6363
  /** OAuth access token. */
5868
6364
  access_token?: string;
5869
6365
  /** Data format for response. */
5870
- alt?: string;
6366
+ alt?: 'json' | 'media' | 'proto';
5871
6367
  /** JSONP */
5872
6368
  callback?: string;
5873
6369
  /** Selector specifying which fields to include in a partial response. */
@@ -5892,11 +6388,11 @@ declare namespace gapi.client {
5892
6388
  addmessage(
5893
6389
  request: {
5894
6390
  /** V1 error format. */
5895
- '$.xgafv'?: string;
6391
+ '$.xgafv'?: '1' | '2';
5896
6392
  /** OAuth access token. */
5897
6393
  access_token?: string;
5898
6394
  /** Data format for response. */
5899
- alt?: string;
6395
+ alt?: 'json' | 'media' | 'proto';
5900
6396
  /** JSONP */
5901
6397
  callback?: string;
5902
6398
  /** Selector specifying which fields to include in a partial response. */
@@ -5921,11 +6417,11 @@ declare namespace gapi.client {
5921
6417
  /** Returns the offer object with the given object ID. */
5922
6418
  get(request?: {
5923
6419
  /** V1 error format. */
5924
- '$.xgafv'?: string;
6420
+ '$.xgafv'?: '1' | '2';
5925
6421
  /** OAuth access token. */
5926
6422
  access_token?: string;
5927
6423
  /** Data format for response. */
5928
- alt?: string;
6424
+ alt?: 'json' | 'media' | 'proto';
5929
6425
  /** JSONP */
5930
6426
  callback?: string;
5931
6427
  /** Selector specifying which fields to include in a partial response. */
@@ -5948,11 +6444,11 @@ declare namespace gapi.client {
5948
6444
  /** Inserts an offer object with the given ID and properties. */
5949
6445
  insert(request: {
5950
6446
  /** V1 error format. */
5951
- '$.xgafv'?: string;
6447
+ '$.xgafv'?: '1' | '2';
5952
6448
  /** OAuth access token. */
5953
6449
  access_token?: string;
5954
6450
  /** Data format for response. */
5955
- alt?: string;
6451
+ alt?: 'json' | 'media' | 'proto';
5956
6452
  /** JSONP */
5957
6453
  callback?: string;
5958
6454
  /** Selector specifying which fields to include in a partial response. */
@@ -5975,11 +6471,11 @@ declare namespace gapi.client {
5975
6471
  insert(
5976
6472
  request: {
5977
6473
  /** V1 error format. */
5978
- '$.xgafv'?: string;
6474
+ '$.xgafv'?: '1' | '2';
5979
6475
  /** OAuth access token. */
5980
6476
  access_token?: string;
5981
6477
  /** Data format for response. */
5982
- alt?: string;
6478
+ alt?: 'json' | 'media' | 'proto';
5983
6479
  /** JSONP */
5984
6480
  callback?: string;
5985
6481
  /** Selector specifying which fields to include in a partial response. */
@@ -6002,11 +6498,11 @@ declare namespace gapi.client {
6002
6498
  /** Returns a list of all offer objects for a given issuer ID. */
6003
6499
  list(request?: {
6004
6500
  /** V1 error format. */
6005
- '$.xgafv'?: string;
6501
+ '$.xgafv'?: '1' | '2';
6006
6502
  /** OAuth access token. */
6007
6503
  access_token?: string;
6008
6504
  /** Data format for response. */
6009
- alt?: string;
6505
+ alt?: 'json' | 'media' | 'proto';
6010
6506
  /** JSONP */
6011
6507
  callback?: string;
6012
6508
  /** The ID of the class whose objects will be listed. */
@@ -6033,11 +6529,11 @@ declare namespace gapi.client {
6033
6529
  /** Updates the offer object referenced by the given object ID. This method supports patch semantics. */
6034
6530
  patch(request: {
6035
6531
  /** V1 error format. */
6036
- '$.xgafv'?: string;
6532
+ '$.xgafv'?: '1' | '2';
6037
6533
  /** OAuth access token. */
6038
6534
  access_token?: string;
6039
6535
  /** Data format for response. */
6040
- alt?: string;
6536
+ alt?: 'json' | 'media' | 'proto';
6041
6537
  /** JSONP */
6042
6538
  callback?: string;
6043
6539
  /** Selector specifying which fields to include in a partial response. */
@@ -6062,11 +6558,11 @@ declare namespace gapi.client {
6062
6558
  patch(
6063
6559
  request: {
6064
6560
  /** V1 error format. */
6065
- '$.xgafv'?: string;
6561
+ '$.xgafv'?: '1' | '2';
6066
6562
  /** OAuth access token. */
6067
6563
  access_token?: string;
6068
6564
  /** Data format for response. */
6069
- alt?: string;
6565
+ alt?: 'json' | 'media' | 'proto';
6070
6566
  /** JSONP */
6071
6567
  callback?: string;
6072
6568
  /** Selector specifying which fields to include in a partial response. */
@@ -6091,11 +6587,11 @@ declare namespace gapi.client {
6091
6587
  /** Updates the offer object referenced by the given object ID. */
6092
6588
  update(request: {
6093
6589
  /** V1 error format. */
6094
- '$.xgafv'?: string;
6590
+ '$.xgafv'?: '1' | '2';
6095
6591
  /** OAuth access token. */
6096
6592
  access_token?: string;
6097
6593
  /** Data format for response. */
6098
- alt?: string;
6594
+ alt?: 'json' | 'media' | 'proto';
6099
6595
  /** JSONP */
6100
6596
  callback?: string;
6101
6597
  /** Selector specifying which fields to include in a partial response. */
@@ -6120,11 +6616,11 @@ declare namespace gapi.client {
6120
6616
  update(
6121
6617
  request: {
6122
6618
  /** V1 error format. */
6123
- '$.xgafv'?: string;
6619
+ '$.xgafv'?: '1' | '2';
6124
6620
  /** OAuth access token. */
6125
6621
  access_token?: string;
6126
6622
  /** Data format for response. */
6127
- alt?: string;
6623
+ alt?: 'json' | 'media' | 'proto';
6128
6624
  /** JSONP */
6129
6625
  callback?: string;
6130
6626
  /** Selector specifying which fields to include in a partial response. */
@@ -6151,11 +6647,11 @@ declare namespace gapi.client {
6151
6647
  /** Returns the permissions for the given issuer id. */
6152
6648
  get(request?: {
6153
6649
  /** V1 error format. */
6154
- '$.xgafv'?: string;
6650
+ '$.xgafv'?: '1' | '2';
6155
6651
  /** OAuth access token. */
6156
6652
  access_token?: string;
6157
6653
  /** Data format for response. */
6158
- alt?: string;
6654
+ alt?: 'json' | 'media' | 'proto';
6159
6655
  /** JSONP */
6160
6656
  callback?: string;
6161
6657
  /** Selector specifying which fields to include in a partial response. */
@@ -6178,11 +6674,11 @@ declare namespace gapi.client {
6178
6674
  /** Updates the permissions for the given issuer. */
6179
6675
  update(request: {
6180
6676
  /** V1 error format. */
6181
- '$.xgafv'?: string;
6677
+ '$.xgafv'?: '1' | '2';
6182
6678
  /** OAuth access token. */
6183
6679
  access_token?: string;
6184
6680
  /** Data format for response. */
6185
- alt?: string;
6681
+ alt?: 'json' | 'media' | 'proto';
6186
6682
  /** JSONP */
6187
6683
  callback?: string;
6188
6684
  /** Selector specifying which fields to include in a partial response. */
@@ -6207,11 +6703,11 @@ declare namespace gapi.client {
6207
6703
  update(
6208
6704
  request: {
6209
6705
  /** V1 error format. */
6210
- '$.xgafv'?: string;
6706
+ '$.xgafv'?: '1' | '2';
6211
6707
  /** OAuth access token. */
6212
6708
  access_token?: string;
6213
6709
  /** Data format for response. */
6214
- alt?: string;
6710
+ alt?: 'json' | 'media' | 'proto';
6215
6711
  /** JSONP */
6216
6712
  callback?: string;
6217
6713
  /** Selector specifying which fields to include in a partial response. */
@@ -6238,11 +6734,11 @@ declare namespace gapi.client {
6238
6734
  /** Inserts the smart tap. */
6239
6735
  insert(request: {
6240
6736
  /** V1 error format. */
6241
- '$.xgafv'?: string;
6737
+ '$.xgafv'?: '1' | '2';
6242
6738
  /** OAuth access token. */
6243
6739
  access_token?: string;
6244
6740
  /** Data format for response. */
6245
- alt?: string;
6741
+ alt?: 'json' | 'media' | 'proto';
6246
6742
  /** JSONP */
6247
6743
  callback?: string;
6248
6744
  /** Selector specifying which fields to include in a partial response. */
@@ -6265,11 +6761,11 @@ declare namespace gapi.client {
6265
6761
  insert(
6266
6762
  request: {
6267
6763
  /** V1 error format. */
6268
- '$.xgafv'?: string;
6764
+ '$.xgafv'?: '1' | '2';
6269
6765
  /** OAuth access token. */
6270
6766
  access_token?: string;
6271
6767
  /** Data format for response. */
6272
- alt?: string;
6768
+ alt?: 'json' | 'media' | 'proto';
6273
6769
  /** JSONP */
6274
6770
  callback?: string;
6275
6771
  /** Selector specifying which fields to include in a partial response. */
@@ -6294,11 +6790,11 @@ declare namespace gapi.client {
6294
6790
  /** Adds a message to the transit class referenced by the given class ID. */
6295
6791
  addmessage(request: {
6296
6792
  /** V1 error format. */
6297
- '$.xgafv'?: string;
6793
+ '$.xgafv'?: '1' | '2';
6298
6794
  /** OAuth access token. */
6299
6795
  access_token?: string;
6300
6796
  /** Data format for response. */
6301
- alt?: string;
6797
+ alt?: 'json' | 'media' | 'proto';
6302
6798
  /** JSONP */
6303
6799
  callback?: string;
6304
6800
  /** Selector specifying which fields to include in a partial response. */
@@ -6323,11 +6819,11 @@ declare namespace gapi.client {
6323
6819
  addmessage(
6324
6820
  request: {
6325
6821
  /** V1 error format. */
6326
- '$.xgafv'?: string;
6822
+ '$.xgafv'?: '1' | '2';
6327
6823
  /** OAuth access token. */
6328
6824
  access_token?: string;
6329
6825
  /** Data format for response. */
6330
- alt?: string;
6826
+ alt?: 'json' | 'media' | 'proto';
6331
6827
  /** JSONP */
6332
6828
  callback?: string;
6333
6829
  /** Selector specifying which fields to include in a partial response. */
@@ -6352,11 +6848,11 @@ declare namespace gapi.client {
6352
6848
  /** Returns the transit class with the given class ID. */
6353
6849
  get(request?: {
6354
6850
  /** V1 error format. */
6355
- '$.xgafv'?: string;
6851
+ '$.xgafv'?: '1' | '2';
6356
6852
  /** OAuth access token. */
6357
6853
  access_token?: string;
6358
6854
  /** Data format for response. */
6359
- alt?: string;
6855
+ alt?: 'json' | 'media' | 'proto';
6360
6856
  /** JSONP */
6361
6857
  callback?: string;
6362
6858
  /** Selector specifying which fields to include in a partial response. */
@@ -6379,11 +6875,11 @@ declare namespace gapi.client {
6379
6875
  /** Inserts a transit class with the given ID and properties. */
6380
6876
  insert(request: {
6381
6877
  /** V1 error format. */
6382
- '$.xgafv'?: string;
6878
+ '$.xgafv'?: '1' | '2';
6383
6879
  /** OAuth access token. */
6384
6880
  access_token?: string;
6385
6881
  /** Data format for response. */
6386
- alt?: string;
6882
+ alt?: 'json' | 'media' | 'proto';
6387
6883
  /** JSONP */
6388
6884
  callback?: string;
6389
6885
  /** Selector specifying which fields to include in a partial response. */
@@ -6406,11 +6902,11 @@ declare namespace gapi.client {
6406
6902
  insert(
6407
6903
  request: {
6408
6904
  /** V1 error format. */
6409
- '$.xgafv'?: string;
6905
+ '$.xgafv'?: '1' | '2';
6410
6906
  /** OAuth access token. */
6411
6907
  access_token?: string;
6412
6908
  /** Data format for response. */
6413
- alt?: string;
6909
+ alt?: 'json' | 'media' | 'proto';
6414
6910
  /** JSONP */
6415
6911
  callback?: string;
6416
6912
  /** Selector specifying which fields to include in a partial response. */
@@ -6433,11 +6929,11 @@ declare namespace gapi.client {
6433
6929
  /** Returns a list of all transit classes for a given issuer ID. */
6434
6930
  list(request?: {
6435
6931
  /** V1 error format. */
6436
- '$.xgafv'?: string;
6932
+ '$.xgafv'?: '1' | '2';
6437
6933
  /** OAuth access token. */
6438
6934
  access_token?: string;
6439
6935
  /** Data format for response. */
6440
- alt?: string;
6936
+ alt?: 'json' | 'media' | 'proto';
6441
6937
  /** JSONP */
6442
6938
  callback?: string;
6443
6939
  /** Selector specifying which fields to include in a partial response. */
@@ -6464,11 +6960,11 @@ declare namespace gapi.client {
6464
6960
  /** Updates the transit class referenced by the given class ID. This method supports patch semantics. */
6465
6961
  patch(request: {
6466
6962
  /** V1 error format. */
6467
- '$.xgafv'?: string;
6963
+ '$.xgafv'?: '1' | '2';
6468
6964
  /** OAuth access token. */
6469
6965
  access_token?: string;
6470
6966
  /** Data format for response. */
6471
- alt?: string;
6967
+ alt?: 'json' | 'media' | 'proto';
6472
6968
  /** JSONP */
6473
6969
  callback?: string;
6474
6970
  /** Selector specifying which fields to include in a partial response. */
@@ -6493,11 +6989,11 @@ declare namespace gapi.client {
6493
6989
  patch(
6494
6990
  request: {
6495
6991
  /** V1 error format. */
6496
- '$.xgafv'?: string;
6992
+ '$.xgafv'?: '1' | '2';
6497
6993
  /** OAuth access token. */
6498
6994
  access_token?: string;
6499
6995
  /** Data format for response. */
6500
- alt?: string;
6996
+ alt?: 'json' | 'media' | 'proto';
6501
6997
  /** JSONP */
6502
6998
  callback?: string;
6503
6999
  /** Selector specifying which fields to include in a partial response. */
@@ -6522,11 +7018,11 @@ declare namespace gapi.client {
6522
7018
  /** Updates the transit class referenced by the given class ID. */
6523
7019
  update(request: {
6524
7020
  /** V1 error format. */
6525
- '$.xgafv'?: string;
7021
+ '$.xgafv'?: '1' | '2';
6526
7022
  /** OAuth access token. */
6527
7023
  access_token?: string;
6528
7024
  /** Data format for response. */
6529
- alt?: string;
7025
+ alt?: 'json' | 'media' | 'proto';
6530
7026
  /** JSONP */
6531
7027
  callback?: string;
6532
7028
  /** Selector specifying which fields to include in a partial response. */
@@ -6551,11 +7047,11 @@ declare namespace gapi.client {
6551
7047
  update(
6552
7048
  request: {
6553
7049
  /** V1 error format. */
6554
- '$.xgafv'?: string;
7050
+ '$.xgafv'?: '1' | '2';
6555
7051
  /** OAuth access token. */
6556
7052
  access_token?: string;
6557
7053
  /** Data format for response. */
6558
- alt?: string;
7054
+ alt?: 'json' | 'media' | 'proto';
6559
7055
  /** JSONP */
6560
7056
  callback?: string;
6561
7057
  /** Selector specifying which fields to include in a partial response. */
@@ -6582,11 +7078,11 @@ declare namespace gapi.client {
6582
7078
  /** Adds a message to the transit object referenced by the given object ID. */
6583
7079
  addmessage(request: {
6584
7080
  /** V1 error format. */
6585
- '$.xgafv'?: string;
7081
+ '$.xgafv'?: '1' | '2';
6586
7082
  /** OAuth access token. */
6587
7083
  access_token?: string;
6588
7084
  /** Data format for response. */
6589
- alt?: string;
7085
+ alt?: 'json' | 'media' | 'proto';
6590
7086
  /** JSONP */
6591
7087
  callback?: string;
6592
7088
  /** Selector specifying which fields to include in a partial response. */
@@ -6611,11 +7107,11 @@ declare namespace gapi.client {
6611
7107
  addmessage(
6612
7108
  request: {
6613
7109
  /** V1 error format. */
6614
- '$.xgafv'?: string;
7110
+ '$.xgafv'?: '1' | '2';
6615
7111
  /** OAuth access token. */
6616
7112
  access_token?: string;
6617
7113
  /** Data format for response. */
6618
- alt?: string;
7114
+ alt?: 'json' | 'media' | 'proto';
6619
7115
  /** JSONP */
6620
7116
  callback?: string;
6621
7117
  /** Selector specifying which fields to include in a partial response. */
@@ -6640,11 +7136,11 @@ declare namespace gapi.client {
6640
7136
  /** Returns the transit object with the given object ID. */
6641
7137
  get(request?: {
6642
7138
  /** V1 error format. */
6643
- '$.xgafv'?: string;
7139
+ '$.xgafv'?: '1' | '2';
6644
7140
  /** OAuth access token. */
6645
7141
  access_token?: string;
6646
7142
  /** Data format for response. */
6647
- alt?: string;
7143
+ alt?: 'json' | 'media' | 'proto';
6648
7144
  /** JSONP */
6649
7145
  callback?: string;
6650
7146
  /** Selector specifying which fields to include in a partial response. */
@@ -6667,11 +7163,11 @@ declare namespace gapi.client {
6667
7163
  /** Inserts an transit object with the given ID and properties. */
6668
7164
  insert(request: {
6669
7165
  /** V1 error format. */
6670
- '$.xgafv'?: string;
7166
+ '$.xgafv'?: '1' | '2';
6671
7167
  /** OAuth access token. */
6672
7168
  access_token?: string;
6673
7169
  /** Data format for response. */
6674
- alt?: string;
7170
+ alt?: 'json' | 'media' | 'proto';
6675
7171
  /** JSONP */
6676
7172
  callback?: string;
6677
7173
  /** Selector specifying which fields to include in a partial response. */
@@ -6694,11 +7190,11 @@ declare namespace gapi.client {
6694
7190
  insert(
6695
7191
  request: {
6696
7192
  /** V1 error format. */
6697
- '$.xgafv'?: string;
7193
+ '$.xgafv'?: '1' | '2';
6698
7194
  /** OAuth access token. */
6699
7195
  access_token?: string;
6700
7196
  /** Data format for response. */
6701
- alt?: string;
7197
+ alt?: 'json' | 'media' | 'proto';
6702
7198
  /** JSONP */
6703
7199
  callback?: string;
6704
7200
  /** Selector specifying which fields to include in a partial response. */
@@ -6721,11 +7217,11 @@ declare namespace gapi.client {
6721
7217
  /** Returns a list of all transit objects for a given issuer ID. */
6722
7218
  list(request?: {
6723
7219
  /** V1 error format. */
6724
- '$.xgafv'?: string;
7220
+ '$.xgafv'?: '1' | '2';
6725
7221
  /** OAuth access token. */
6726
7222
  access_token?: string;
6727
7223
  /** Data format for response. */
6728
- alt?: string;
7224
+ alt?: 'json' | 'media' | 'proto';
6729
7225
  /** JSONP */
6730
7226
  callback?: string;
6731
7227
  /** The ID of the class whose objects will be listed. */
@@ -6752,11 +7248,11 @@ declare namespace gapi.client {
6752
7248
  /** Updates the transit object referenced by the given object ID. This method supports patch semantics. */
6753
7249
  patch(request: {
6754
7250
  /** V1 error format. */
6755
- '$.xgafv'?: string;
7251
+ '$.xgafv'?: '1' | '2';
6756
7252
  /** OAuth access token. */
6757
7253
  access_token?: string;
6758
7254
  /** Data format for response. */
6759
- alt?: string;
7255
+ alt?: 'json' | 'media' | 'proto';
6760
7256
  /** JSONP */
6761
7257
  callback?: string;
6762
7258
  /** Selector specifying which fields to include in a partial response. */
@@ -6781,11 +7277,11 @@ declare namespace gapi.client {
6781
7277
  patch(
6782
7278
  request: {
6783
7279
  /** V1 error format. */
6784
- '$.xgafv'?: string;
7280
+ '$.xgafv'?: '1' | '2';
6785
7281
  /** OAuth access token. */
6786
7282
  access_token?: string;
6787
7283
  /** Data format for response. */
6788
- alt?: string;
7284
+ alt?: 'json' | 'media' | 'proto';
6789
7285
  /** JSONP */
6790
7286
  callback?: string;
6791
7287
  /** Selector specifying which fields to include in a partial response. */
@@ -6810,11 +7306,11 @@ declare namespace gapi.client {
6810
7306
  /** Updates the transit object referenced by the given object ID. */
6811
7307
  update(request: {
6812
7308
  /** V1 error format. */
6813
- '$.xgafv'?: string;
7309
+ '$.xgafv'?: '1' | '2';
6814
7310
  /** OAuth access token. */
6815
7311
  access_token?: string;
6816
7312
  /** Data format for response. */
6817
- alt?: string;
7313
+ alt?: 'json' | 'media' | 'proto';
6818
7314
  /** JSONP */
6819
7315
  callback?: string;
6820
7316
  /** Selector specifying which fields to include in a partial response. */
@@ -6839,11 +7335,11 @@ declare namespace gapi.client {
6839
7335
  update(
6840
7336
  request: {
6841
7337
  /** V1 error format. */
6842
- '$.xgafv'?: string;
7338
+ '$.xgafv'?: '1' | '2';
6843
7339
  /** OAuth access token. */
6844
7340
  access_token?: string;
6845
7341
  /** Data format for response. */
6846
- alt?: string;
7342
+ alt?: 'json' | 'media' | 'proto';
6847
7343
  /** JSONP */
6848
7344
  callback?: string;
6849
7345
  /** Selector specifying which fields to include in a partial response. */
@@ -6870,11 +7366,11 @@ declare namespace gapi.client {
6870
7366
  /** Provide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass. */
6871
7367
  setPassUpdateNotice(request: {
6872
7368
  /** V1 error format. */
6873
- '$.xgafv'?: string;
7369
+ '$.xgafv'?: '1' | '2';
6874
7370
  /** OAuth access token. */
6875
7371
  access_token?: string;
6876
7372
  /** Data format for response. */
6877
- alt?: string;
7373
+ alt?: 'json' | 'media' | 'proto';
6878
7374
  /** JSONP */
6879
7375
  callback?: string;
6880
7376
  /** Selector specifying which fields to include in a partial response. */
@@ -6897,11 +7393,11 @@ declare namespace gapi.client {
6897
7393
  setPassUpdateNotice(
6898
7394
  request: {
6899
7395
  /** V1 error format. */
6900
- '$.xgafv'?: string;
7396
+ '$.xgafv'?: '1' | '2';
6901
7397
  /** OAuth access token. */
6902
7398
  access_token?: string;
6903
7399
  /** Data format for response. */
6904
- alt?: string;
7400
+ alt?: 'json' | 'media' | 'proto';
6905
7401
  /** JSONP */
6906
7402
  callback?: string;
6907
7403
  /** Selector specifying which fields to include in a partial response. */