@maxim_mazurok/gapi.client.walletobjects-v1 0.1.20260317 → 0.2.20260318

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 (2) hide show
  1. package/index.d.ts +890 -406
  2. package/package.json +1 -1
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: 20260317
12
+ // Revision: 20260318
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
  }
@@ -294,7 +353,14 @@ declare namespace gapi.client {
294
353
  /** 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
354
  merchantSignupInfo?: DiscoverableProgramMerchantSignupInfo;
296
355
  /** Visibility state of the discoverable program. */
297
- state?: string;
356
+ state?:
357
+ | 'STATE_UNSPECIFIED'
358
+ | 'TRUSTED_TESTERS'
359
+ | 'trustedTesters'
360
+ | 'LIVE'
361
+ | 'live'
362
+ | 'DISABLED'
363
+ | 'disabled';
298
364
  }
299
365
  interface DiscoverableProgramMerchantSigninInfo {
300
366
  /** The URL to direct the user to for the merchant's signin site. */
@@ -302,7 +368,20 @@ declare namespace gapi.client {
302
368
  }
303
369
  interface DiscoverableProgramMerchantSignupInfo {
304
370
  /** 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[];
371
+ signupSharedDatas?:
372
+ | 'SHARED_DATA_TYPE_UNSPECIFIED'
373
+ | 'FIRST_NAME'
374
+ | 'LAST_NAME'
375
+ | 'STREET_ADDRESS'
376
+ | 'ADDRESS_LINE_1'
377
+ | 'ADDRESS_LINE_2'
378
+ | 'ADDRESS_LINE_3'
379
+ | 'CITY'
380
+ | 'STATE'
381
+ | 'ZIPCODE'
382
+ | 'COUNTRY'
383
+ | 'EMAIL'
384
+ | 'PHONE'[];
306
385
  /** The URL to direct the user to for the merchant's signup site. */
307
386
  signupWebsite?: Uri;
308
387
  }
@@ -318,7 +397,12 @@ declare namespace gapi.client {
318
397
  /** 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
398
  doorsOpen?: string;
320
399
  /** 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;
400
+ doorsOpenLabel?:
401
+ | 'DOORS_OPEN_LABEL_UNSPECIFIED'
402
+ | 'DOORS_OPEN'
403
+ | 'doorsOpen'
404
+ | 'GATES_OPEN'
405
+ | 'gatesOpen';
322
406
  /** 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
407
  end?: string;
324
408
  /** Identifies what kind of resource this is. Value: the fixed string `"walletobjects#eventDateTime"`. */
@@ -354,7 +438,16 @@ declare namespace gapi.client {
354
438
  /** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
355
439
  classTemplateInfo?: ClassTemplateInfo;
356
440
  /** 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;
441
+ confirmationCodeLabel?:
442
+ | 'CONFIRMATION_CODE_LABEL_UNSPECIFIED'
443
+ | 'CONFIRMATION_CODE'
444
+ | 'confirmationCode'
445
+ | 'CONFIRMATION_NUMBER'
446
+ | 'confirmationNumber'
447
+ | 'ORDER_NUMBER'
448
+ | 'orderNumber'
449
+ | 'RESERVATION_NUMBER'
450
+ | 'reservationNumber';
358
451
  /** 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
452
  countryCode?: string;
360
453
  /** 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 +471,14 @@ declare namespace gapi.client {
378
471
  /** The fine print, terms, or conditions of the ticket. */
379
472
  finePrint?: LocalizedString;
380
473
  /** 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;
474
+ gateLabel?:
475
+ | 'GATE_LABEL_UNSPECIFIED'
476
+ | 'GATE'
477
+ | 'gate'
478
+ | 'DOOR'
479
+ | 'door'
480
+ | 'ENTRANCE'
481
+ | 'entrance';
382
482
  /** 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
483
  heroImage?: Image;
384
484
  /** 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 +508,44 @@ declare namespace gapi.client {
408
508
  /** 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
509
  messages?: Message[];
410
510
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
411
- multipleDevicesAndHoldersAllowedStatus?: string;
511
+ multipleDevicesAndHoldersAllowedStatus?:
512
+ | 'STATUS_UNSPECIFIED'
513
+ | 'MULTIPLE_HOLDERS'
514
+ | 'ONE_USER_ALL_DEVICES'
515
+ | 'ONE_USER_ONE_DEVICE'
516
+ | 'multipleHolders'
517
+ | 'oneUserAllDevices'
518
+ | 'oneUserOneDevice';
412
519
  /** 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;
520
+ notifyPreference?:
521
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
522
+ | 'NOTIFY_ON_UPDATE';
414
523
  /** 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
524
  redemptionIssuers?: string[];
416
525
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
417
526
  review?: Review;
418
527
  /** 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;
528
+ reviewStatus?:
529
+ | 'REVIEW_STATUS_UNSPECIFIED'
530
+ | 'UNDER_REVIEW'
531
+ | 'underReview'
532
+ | 'APPROVED'
533
+ | 'approved'
534
+ | 'REJECTED'
535
+ | 'rejected'
536
+ | 'DRAFT'
537
+ | 'draft';
420
538
  /** 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;
539
+ rowLabel?: 'ROW_LABEL_UNSPECIFIED' | 'ROW' | 'row';
422
540
  /** 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;
541
+ seatLabel?: 'SEAT_LABEL_UNSPECIFIED' | 'SEAT' | 'seat';
424
542
  /** 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;
543
+ sectionLabel?:
544
+ | 'SECTION_LABEL_UNSPECIFIED'
545
+ | 'SECTION'
546
+ | 'section'
547
+ | 'THEATER'
548
+ | 'theater';
426
549
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
427
550
  securityAnimation?: SecurityAnimation;
428
551
  /** 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 +557,10 @@ declare namespace gapi.client {
434
557
  /** Deprecated */
435
558
  version?: string;
436
559
  /** View Unlock Requirement options for the event ticket. */
437
- viewUnlockRequirement?: string;
560
+ viewUnlockRequirement?:
561
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
562
+ | 'UNLOCK_NOT_REQUIRED'
563
+ | 'UNLOCK_REQUIRED_TO_VIEW';
438
564
  /** 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
565
  wideLogo?: Image;
440
566
  /** Deprecated. */
@@ -494,7 +620,9 @@ declare namespace gapi.client {
494
620
  /** 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
621
  messages?: Message[];
496
622
  /** 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;
623
+ notifyPreference?:
624
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
625
+ | 'NOTIFY_ON_UPDATE';
498
626
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
499
627
  passConstraints?: PassConstraints;
500
628
  /** Reservation details for this ticket. This is expected to be shared amongst all tickets that were purchased in the same order. */
@@ -508,7 +636,16 @@ declare namespace gapi.client {
508
636
  /** 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
637
  smartTapRedemptionValue?: string;
510
638
  /** 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;
639
+ state?:
640
+ | 'STATE_UNSPECIFIED'
641
+ | 'ACTIVE'
642
+ | 'active'
643
+ | 'COMPLETED'
644
+ | 'completed'
645
+ | 'EXPIRED'
646
+ | 'expired'
647
+ | 'INACTIVE'
648
+ | 'inactive';
512
649
  /** 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
650
  textModulesData?: TextModuleData[];
514
651
  /** Name of the ticket holder, if the ticket is assigned to a person. E.g. "John Doe" or "Jane Doe". */
@@ -548,7 +685,20 @@ declare namespace gapi.client {
548
685
  }
549
686
  interface FieldReference {
550
687
  /** 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;
688
+ dateFormat?:
689
+ | 'DATE_FORMAT_UNSPECIFIED'
690
+ | 'DATE_TIME'
691
+ | 'dateTime'
692
+ | 'DATE_ONLY'
693
+ | 'dateOnly'
694
+ | 'TIME_ONLY'
695
+ | 'timeOnly'
696
+ | 'DATE_TIME_YEAR'
697
+ | 'dateTimeYear'
698
+ | 'DATE_YEAR'
699
+ | 'dateYear'
700
+ | 'YEAR_MONTH'
701
+ | 'YEAR_MONTH_DAY';
552
702
  /** 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
703
  fieldPath?: string;
554
704
  }
@@ -559,7 +709,14 @@ declare namespace gapi.client {
559
709
  interface FirstRowOption {
560
710
  /** A reference to the field to be displayed in the first row. */
561
711
  fieldOption?: FieldSelector;
562
- transitOption?: string;
712
+ transitOption?:
713
+ | 'TRANSIT_OPTION_UNSPECIFIED'
714
+ | 'ORIGIN_AND_DESTINATION_NAMES'
715
+ | 'originAndDestinationNames'
716
+ | 'ORIGIN_AND_DESTINATION_CODES'
717
+ | 'originAndDestinationCodes'
718
+ | 'ORIGIN_NAME'
719
+ | 'originName';
563
720
  }
564
721
  interface FlightCarrier {
565
722
  /** A logo for the airline alliance, displayed below the QR code that the passenger scans to board. */
@@ -597,7 +754,20 @@ declare namespace gapi.client {
597
754
  /** Required. Information about the flight carrier and number. */
598
755
  flightHeader?: FlightHeader;
599
756
  /** 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;
757
+ flightStatus?:
758
+ | 'FLIGHT_STATUS_UNSPECIFIED'
759
+ | 'SCHEDULED'
760
+ | 'scheduled'
761
+ | 'ACTIVE'
762
+ | 'active'
763
+ | 'LANDED'
764
+ | 'landed'
765
+ | 'CANCELLED'
766
+ | 'cancelled'
767
+ | 'REDIRECTED'
768
+ | 'redirected'
769
+ | 'DIVERTED'
770
+ | 'diverted';
601
771
  /** 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
772
  heroImage?: Image;
603
773
  /** 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 +809,18 @@ declare namespace gapi.client {
639
809
  /** 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
810
  messages?: Message[];
641
811
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
642
- multipleDevicesAndHoldersAllowedStatus?: string;
812
+ multipleDevicesAndHoldersAllowedStatus?:
813
+ | 'STATUS_UNSPECIFIED'
814
+ | 'MULTIPLE_HOLDERS'
815
+ | 'ONE_USER_ALL_DEVICES'
816
+ | 'ONE_USER_ONE_DEVICE'
817
+ | 'multipleHolders'
818
+ | 'oneUserAllDevices'
819
+ | 'oneUserOneDevice';
643
820
  /** 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;
821
+ notifyPreference?:
822
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
823
+ | 'NOTIFY_ON_UPDATE';
645
824
  /** Required. Origin airport. */
646
825
  origin?: AirportInfo;
647
826
  /** 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 +828,16 @@ declare namespace gapi.client {
649
828
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
650
829
  review?: Review;
651
830
  /** 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;
831
+ reviewStatus?:
832
+ | 'REVIEW_STATUS_UNSPECIFIED'
833
+ | 'UNDER_REVIEW'
834
+ | 'underReview'
835
+ | 'APPROVED'
836
+ | 'approved'
837
+ | 'REJECTED'
838
+ | 'rejected'
839
+ | 'DRAFT'
840
+ | 'draft';
653
841
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
654
842
  securityAnimation?: SecurityAnimation;
655
843
  /** 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 +847,10 @@ declare namespace gapi.client {
659
847
  /** Deprecated */
660
848
  version?: string;
661
849
  /** View Unlock Requirement options for the boarding pass. */
662
- viewUnlockRequirement?: string;
850
+ viewUnlockRequirement?:
851
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
852
+ | 'UNLOCK_NOT_REQUIRED'
853
+ | 'UNLOCK_REQUIRED_TO_VIEW';
663
854
  /** Deprecated. */
664
855
  wordMark?: Image;
665
856
  }
@@ -729,7 +920,9 @@ declare namespace gapi.client {
729
920
  /** 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
921
  messages?: Message[];
731
922
  /** 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;
923
+ notifyPreference?:
924
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
925
+ | 'NOTIFY_ON_UPDATE';
733
926
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
734
927
  passConstraints?: PassConstraints;
735
928
  /** Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" */
@@ -745,7 +938,16 @@ declare namespace gapi.client {
745
938
  /** 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
939
  smartTapRedemptionValue?: string;
747
940
  /** 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;
941
+ state?:
942
+ | 'STATE_UNSPECIFIED'
943
+ | 'ACTIVE'
944
+ | 'active'
945
+ | 'COMPLETED'
946
+ | 'completed'
947
+ | 'EXPIRED'
948
+ | 'expired'
949
+ | 'INACTIVE'
950
+ | 'inactive';
749
951
  /** 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
952
  textModulesData?: TextModuleData[];
751
953
  /** 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 +995,14 @@ declare namespace gapi.client {
793
995
  /** 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
996
  messages?: Message[];
795
997
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
796
- multipleDevicesAndHoldersAllowedStatus?: string;
998
+ multipleDevicesAndHoldersAllowedStatus?:
999
+ | 'STATUS_UNSPECIFIED'
1000
+ | 'MULTIPLE_HOLDERS'
1001
+ | 'ONE_USER_ALL_DEVICES'
1002
+ | 'ONE_USER_ONE_DEVICE'
1003
+ | 'multipleHolders'
1004
+ | 'oneUserAllDevices'
1005
+ | 'oneUserOneDevice';
797
1006
  /** 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
1007
  redemptionIssuers?: string[];
799
1008
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
@@ -803,7 +1012,10 @@ declare namespace gapi.client {
803
1012
  /** 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
1013
  valueAddedModuleData?: ValueAddedModuleData[];
805
1014
  /** View Unlock Requirement options for the generic pass. */
806
- viewUnlockRequirement?: string;
1015
+ viewUnlockRequirement?:
1016
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1017
+ | 'UNLOCK_NOT_REQUIRED'
1018
+ | 'UNLOCK_REQUIRED_TO_VIEW';
807
1019
  }
808
1020
  interface GenericClassAddMessageResponse {
809
1021
  /** The updated EventTicketClass resource. */
@@ -825,7 +1037,21 @@ declare namespace gapi.client {
825
1037
  /** 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
1038
  classId?: string;
827
1039
  /** Specify which `GenericType` the card belongs to. */
828
- genericType?: string;
1040
+ genericType?:
1041
+ | 'GENERIC_TYPE_UNSPECIFIED'
1042
+ | 'GENERIC_SEASON_PASS'
1043
+ | 'GENERIC_UTILITY_BILLS'
1044
+ | 'GENERIC_PARKING_PASS'
1045
+ | 'GENERIC_VOUCHER'
1046
+ | 'GENERIC_GYM_MEMBERSHIP'
1047
+ | 'GENERIC_LIBRARY_MEMBERSHIP'
1048
+ | 'GENERIC_RESERVATIONS'
1049
+ | 'GENERIC_AUTO_INSURANCE'
1050
+ | 'GENERIC_HOME_INSURANCE'
1051
+ | 'GENERIC_ENTRY_TICKET'
1052
+ | 'GENERIC_RECEIPT'
1053
+ | 'GENERIC_LOYALTY_CARD'
1054
+ | 'GENERIC_OTHER';
829
1055
  /** Information that controls how passes are grouped together. */
830
1056
  groupingInfo?: GroupingInfo;
831
1057
  /** Indicates if the object has users. This field is set by the platform. */
@@ -861,7 +1087,16 @@ declare namespace gapi.client {
861
1087
  /** 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
1088
  smartTapRedemptionValue?: string;
863
1089
  /** 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;
1090
+ state?:
1091
+ | 'STATE_UNSPECIFIED'
1092
+ | 'ACTIVE'
1093
+ | 'active'
1094
+ | 'COMPLETED'
1095
+ | 'completed'
1096
+ | 'EXPIRED'
1097
+ | 'expired'
1098
+ | 'INACTIVE'
1099
+ | 'inactive';
865
1100
  /** 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
1101
  subheader?: LocalizedString;
867
1102
  /** 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 +1174,18 @@ declare namespace gapi.client {
939
1174
  /** 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
1175
  messages?: Message[];
941
1176
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
942
- multipleDevicesAndHoldersAllowedStatus?: string;
1177
+ multipleDevicesAndHoldersAllowedStatus?:
1178
+ | 'STATUS_UNSPECIFIED'
1179
+ | 'MULTIPLE_HOLDERS'
1180
+ | 'ONE_USER_ALL_DEVICES'
1181
+ | 'ONE_USER_ONE_DEVICE'
1182
+ | 'multipleHolders'
1183
+ | 'oneUserAllDevices'
1184
+ | 'oneUserOneDevice';
943
1185
  /** 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;
1186
+ notifyPreference?:
1187
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1188
+ | 'NOTIFY_ON_UPDATE';
945
1189
  /** The label to display for the PIN, such as "4-digit PIN". */
946
1190
  pinLabel?: string;
947
1191
  /** 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 +1195,16 @@ declare namespace gapi.client {
951
1195
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
952
1196
  review?: Review;
953
1197
  /** 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;
1198
+ reviewStatus?:
1199
+ | 'REVIEW_STATUS_UNSPECIFIED'
1200
+ | 'UNDER_REVIEW'
1201
+ | 'underReview'
1202
+ | 'APPROVED'
1203
+ | 'approved'
1204
+ | 'REJECTED'
1205
+ | 'rejected'
1206
+ | 'DRAFT'
1207
+ | 'draft';
955
1208
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
956
1209
  securityAnimation?: SecurityAnimation;
957
1210
  /** 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 +1214,10 @@ declare namespace gapi.client {
961
1214
  /** Deprecated */
962
1215
  version?: string;
963
1216
  /** View Unlock Requirement options for the gift card. */
964
- viewUnlockRequirement?: string;
1217
+ viewUnlockRequirement?:
1218
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1219
+ | 'UNLOCK_NOT_REQUIRED'
1220
+ | 'UNLOCK_REQUIRED_TO_VIEW';
965
1221
  /** 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
1222
  wideProgramLogo?: Image;
967
1223
  /** Deprecated. */
@@ -1023,7 +1279,9 @@ declare namespace gapi.client {
1023
1279
  /** 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
1280
  messages?: Message[];
1025
1281
  /** 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;
1282
+ notifyPreference?:
1283
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1284
+ | 'NOTIFY_ON_UPDATE';
1027
1285
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
1028
1286
  passConstraints?: PassConstraints;
1029
1287
  /** The card's PIN. */
@@ -1035,7 +1293,16 @@ declare namespace gapi.client {
1035
1293
  /** 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
1294
  smartTapRedemptionValue?: string;
1037
1295
  /** 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;
1296
+ state?:
1297
+ | 'STATE_UNSPECIFIED'
1298
+ | 'ACTIVE'
1299
+ | 'active'
1300
+ | 'COMPLETED'
1301
+ | 'completed'
1302
+ | 'EXPIRED'
1303
+ | 'expired'
1304
+ | 'INACTIVE'
1305
+ | 'inactive';
1039
1306
  /** 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
1307
  textModulesData?: TextModuleData[];
1041
1308
  /** 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 +1386,7 @@ declare namespace gapi.client {
1119
1386
  resources?: Issuer[];
1120
1387
  }
1121
1388
  interface IssuerToUserInfo {
1122
- action?: string;
1389
+ action?: 'ACTION_UNSPECIFIED' | 'S2AP' | 's2ap' | 'SIGN_UP' | 'signUp';
1123
1390
  signUpInfo?: SignUpInfo;
1124
1391
  /** Currently not used, consider deprecating. */
1125
1392
  url?: string;
@@ -1238,9 +1505,18 @@ declare namespace gapi.client {
1238
1505
  /** 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
1506
  messages?: Message[];
1240
1507
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
1241
- multipleDevicesAndHoldersAllowedStatus?: string;
1508
+ multipleDevicesAndHoldersAllowedStatus?:
1509
+ | 'STATUS_UNSPECIFIED'
1510
+ | 'MULTIPLE_HOLDERS'
1511
+ | 'ONE_USER_ALL_DEVICES'
1512
+ | 'ONE_USER_ONE_DEVICE'
1513
+ | 'multipleHolders'
1514
+ | 'oneUserAllDevices'
1515
+ | 'oneUserOneDevice';
1242
1516
  /** 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;
1517
+ notifyPreference?:
1518
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1519
+ | 'NOTIFY_ON_UPDATE';
1244
1520
  /** Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. */
1245
1521
  programLogo?: Image;
1246
1522
  /** 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 +1526,16 @@ declare namespace gapi.client {
1250
1526
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
1251
1527
  review?: Review;
1252
1528
  /** 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;
1529
+ reviewStatus?:
1530
+ | 'REVIEW_STATUS_UNSPECIFIED'
1531
+ | 'UNDER_REVIEW'
1532
+ | 'underReview'
1533
+ | 'APPROVED'
1534
+ | 'approved'
1535
+ | 'REJECTED'
1536
+ | 'rejected'
1537
+ | 'DRAFT'
1538
+ | 'draft';
1254
1539
  /** The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens. */
1255
1540
  rewardsTier?: string;
1256
1541
  /** 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 +1553,10 @@ declare namespace gapi.client {
1268
1553
  /** Deprecated */
1269
1554
  version?: string;
1270
1555
  /** View Unlock Requirement options for the loyalty card. */
1271
- viewUnlockRequirement?: string;
1556
+ viewUnlockRequirement?:
1557
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1558
+ | 'UNLOCK_NOT_REQUIRED'
1559
+ | 'UNLOCK_REQUIRED_TO_VIEW';
1272
1560
  /** 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
1561
  wideProgramLogo?: Image;
1274
1562
  /** Deprecated. */
@@ -1330,7 +1618,9 @@ declare namespace gapi.client {
1330
1618
  /** 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
1619
  messages?: Message[];
1332
1620
  /** 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;
1621
+ notifyPreference?:
1622
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1623
+ | 'NOTIFY_ON_UPDATE';
1334
1624
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
1335
1625
  passConstraints?: PassConstraints;
1336
1626
  /** The rotating barcode type and value. */
@@ -1342,7 +1632,16 @@ declare namespace gapi.client {
1342
1632
  /** 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
1633
  smartTapRedemptionValue?: string;
1344
1634
  /** 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;
1635
+ state?:
1636
+ | 'STATE_UNSPECIFIED'
1637
+ | 'ACTIVE'
1638
+ | 'active'
1639
+ | 'COMPLETED'
1640
+ | 'completed'
1641
+ | 'EXPIRED'
1642
+ | 'expired'
1643
+ | 'INACTIVE'
1644
+ | 'inactive';
1346
1645
  /** 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
1646
  textModulesData?: TextModuleData[];
1348
1647
  /** 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,7 +1731,20 @@ declare namespace gapi.client {
1432
1731
  /** Path to the data, set if reference_type is PATH */
1433
1732
  path?: string;
1434
1733
  /** Describes what the field reference contains. */
1435
- referenceType?: string;
1734
+ referenceType?:
1735
+ | 'PATH'
1736
+ | 'BLOB_REF'
1737
+ | 'INLINE'
1738
+ | 'GET_MEDIA'
1739
+ | 'COMPOSITE_MEDIA'
1740
+ | 'BIGSTORE_REF'
1741
+ | 'DIFF_VERSION_RESPONSE'
1742
+ | 'DIFF_CHECKSUMS_RESPONSE'
1743
+ | 'DIFF_DOWNLOAD_RESPONSE'
1744
+ | 'DIFF_UPLOAD_REQUEST'
1745
+ | 'DIFF_UPLOAD_RESPONSE'
1746
+ | 'COSMO_BINARY_REFERENCE'
1747
+ | 'ARBITRARY_BYTES';
1436
1748
  /** Scotty-provided SHA1 hash for an upload. */
1437
1749
  sha1Hash?: string;
1438
1750
  /** Scotty-provided SHA256 hash for an upload. */
@@ -1452,7 +1764,12 @@ declare namespace gapi.client {
1452
1764
  /** 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
1765
  finalStatus?: number;
1454
1766
  /** The type of notification received from Scotty. */
1455
- notificationType?: string;
1767
+ notificationType?:
1768
+ | 'START'
1769
+ | 'PROGRESS'
1770
+ | 'END'
1771
+ | 'RESPONSE_SENT'
1772
+ | 'ERROR';
1456
1773
  /** The physical headers provided by RequestReceivedParameters in Scotty request. type is uploader_service.KeyValuePairs. */
1457
1774
  physicalHeaders?: string;
1458
1775
  /** The Scotty request ID. */
@@ -1486,7 +1803,13 @@ declare namespace gapi.client {
1486
1803
  /** Translated strings for the message header. */
1487
1804
  localizedHeader?: LocalizedString;
1488
1805
  /** The message type. */
1489
- messageType?: string;
1806
+ messageType?:
1807
+ | 'MESSAGE_TYPE_UNSPECIFIED'
1808
+ | 'TEXT'
1809
+ | 'text'
1810
+ | 'EXPIRATION_NOTIFICATION'
1811
+ | 'expirationNotification'
1812
+ | 'TEXT_AND_NOTIFY';
1490
1813
  }
1491
1814
  interface ModifyLinkedOfferObjects {
1492
1815
  /** The linked offer object ids to add to the object. */
@@ -1580,19 +1903,46 @@ declare namespace gapi.client {
1580
1903
  /** 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
1904
  messages?: Message[];
1582
1905
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
1583
- multipleDevicesAndHoldersAllowedStatus?: string;
1906
+ multipleDevicesAndHoldersAllowedStatus?:
1907
+ | 'STATUS_UNSPECIFIED'
1908
+ | 'MULTIPLE_HOLDERS'
1909
+ | 'ONE_USER_ALL_DEVICES'
1910
+ | 'ONE_USER_ONE_DEVICE'
1911
+ | 'multipleHolders'
1912
+ | 'oneUserAllDevices'
1913
+ | 'oneUserOneDevice';
1584
1914
  /** 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;
1915
+ notifyPreference?:
1916
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
1917
+ | 'NOTIFY_ON_UPDATE';
1586
1918
  /** 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
1919
  provider?: string;
1588
1920
  /** Required. The redemption channels applicable to this offer. */
1589
- redemptionChannel?: string;
1921
+ redemptionChannel?:
1922
+ | 'REDEMPTION_CHANNEL_UNSPECIFIED'
1923
+ | 'INSTORE'
1924
+ | 'instore'
1925
+ | 'ONLINE'
1926
+ | 'online'
1927
+ | 'BOTH'
1928
+ | 'both'
1929
+ | 'TEMPORARY_PRICE_REDUCTION'
1930
+ | 'temporaryPriceReduction';
1590
1931
  /** 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
1932
  redemptionIssuers?: string[];
1592
1933
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
1593
1934
  review?: Review;
1594
1935
  /** 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;
1936
+ reviewStatus?:
1937
+ | 'REVIEW_STATUS_UNSPECIFIED'
1938
+ | 'UNDER_REVIEW'
1939
+ | 'underReview'
1940
+ | 'APPROVED'
1941
+ | 'approved'
1942
+ | 'REJECTED'
1943
+ | 'rejected'
1944
+ | 'DRAFT'
1945
+ | 'draft';
1596
1946
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
1597
1947
  securityAnimation?: SecurityAnimation;
1598
1948
  /** 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 +1958,10 @@ declare namespace gapi.client {
1608
1958
  /** Deprecated */
1609
1959
  version?: string;
1610
1960
  /** View Unlock Requirement options for the offer. */
1611
- viewUnlockRequirement?: string;
1961
+ viewUnlockRequirement?:
1962
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
1963
+ | 'UNLOCK_NOT_REQUIRED'
1964
+ | 'UNLOCK_REQUIRED_TO_VIEW';
1612
1965
  /** 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
1966
  wideTitleImage?: Image;
1614
1967
  /** Deprecated. */
@@ -1662,7 +2015,9 @@ declare namespace gapi.client {
1662
2015
  /** 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
2016
  messages?: Message[];
1664
2017
  /** 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;
2018
+ notifyPreference?:
2019
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
2020
+ | 'NOTIFY_ON_UPDATE';
1666
2021
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
1667
2022
  passConstraints?: PassConstraints;
1668
2023
  /** The rotating barcode type and value. */
@@ -1672,7 +2027,16 @@ declare namespace gapi.client {
1672
2027
  /** 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
2028
  smartTapRedemptionValue?: string;
1674
2029
  /** 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;
2030
+ state?:
2031
+ | 'STATE_UNSPECIFIED'
2032
+ | 'ACTIVE'
2033
+ | 'active'
2034
+ | 'COMPLETED'
2035
+ | 'completed'
2036
+ | 'EXPIRED'
2037
+ | 'expired'
2038
+ | 'INACTIVE'
2039
+ | 'inactive';
1676
2040
  /** 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
2041
  textModulesData?: TextModuleData[];
1678
2042
  /** 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 +2066,28 @@ declare namespace gapi.client {
1702
2066
  }
1703
2067
  interface PassConstraints {
1704
2068
  /** The NFC constraints for the pass. */
1705
- nfcConstraint?: string[];
2069
+ nfcConstraint?:
2070
+ | 'NFC_CONSTRAINT_UNSPECIFIED'
2071
+ | 'BLOCK_PAYMENT'
2072
+ | 'BLOCK_CLOSED_LOOP_TRANSIT'[];
1706
2073
  /** The screenshot eligibility for the pass. */
1707
- screenshotEligibility?: string;
2074
+ screenshotEligibility?:
2075
+ | 'SCREENSHOT_ELIGIBILITY_UNSPECIFIED'
2076
+ | 'ELIGIBLE'
2077
+ | 'INELIGIBLE';
1708
2078
  }
1709
2079
  interface Permission {
1710
2080
  /** The email address of the user, group, or service account to which this permission refers to. */
1711
2081
  emailAddress?: string;
1712
2082
  /** The role granted by this permission. */
1713
- role?: string;
2083
+ role?:
2084
+ | 'ROLE_UNSPECIFIED'
2085
+ | 'OWNER'
2086
+ | 'owner'
2087
+ | 'READER'
2088
+ | 'reader'
2089
+ | 'WRITER'
2090
+ | 'writer';
1714
2091
  }
1715
2092
  interface Permissions {
1716
2093
  /** ID of the issuer the list of permissions refer to. */
@@ -1779,19 +2156,47 @@ declare namespace gapi.client {
1779
2156
  /** 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
2157
  initialRotatingBarcodeValues?: RotatingBarcodeValues;
1781
2158
  /** 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;
2159
+ renderEncoding?: 'RENDER_ENCODING_UNSPECIFIED' | 'UTF_8';
1783
2160
  /** 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
2161
  showCodeText?: LocalizedString;
1785
2162
  /** Details used to evaluate the {totp_value_n} substitutions. */
1786
2163
  totpDetails?: RotatingBarcodeTotpDetails;
1787
2164
  /** The type of this barcode. */
1788
- type?: string;
2165
+ type?:
2166
+ | 'BARCODE_TYPE_UNSPECIFIED'
2167
+ | 'AZTEC'
2168
+ | 'aztec'
2169
+ | 'CODE_39'
2170
+ | 'code39'
2171
+ | 'CODE_128'
2172
+ | 'code128'
2173
+ | 'CODABAR'
2174
+ | 'codabar'
2175
+ | 'DATA_MATRIX'
2176
+ | 'dataMatrix'
2177
+ | 'EAN_8'
2178
+ | 'ean8'
2179
+ | 'EAN_13'
2180
+ | 'ean13'
2181
+ | 'EAN13'
2182
+ | 'ITF_14'
2183
+ | 'itf14'
2184
+ | 'PDF_417'
2185
+ | 'pdf417'
2186
+ | 'PDF417'
2187
+ | 'QR_CODE'
2188
+ | 'qrCode'
2189
+ | 'qrcode'
2190
+ | 'UPC_A'
2191
+ | 'upcA'
2192
+ | 'TEXT_ONLY'
2193
+ | 'textOnly';
1789
2194
  /** 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
2195
  valuePattern?: string;
1791
2196
  }
1792
2197
  interface RotatingBarcodeTotpDetails {
1793
2198
  /** The TOTP algorithm used to generate the OTP. */
1794
- algorithm?: string;
2199
+ algorithm?: 'TOTP_ALGORITHM_UNSPECIFIED' | 'TOTP_SHA1';
1795
2200
  /** The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution. */
1796
2201
  parameters?: RotatingBarcodeTotpDetailsTotpParameters[];
1797
2202
  /** The time interval used for the TOTP value generation, in milliseconds. */
@@ -1817,7 +2222,7 @@ declare namespace gapi.client {
1817
2222
  }
1818
2223
  interface SecurityAnimation {
1819
2224
  /** Type of animation. */
1820
- animationType?: string;
2225
+ animationType?: 'ANIMATION_UNSPECIFIED' | 'FOIL_SHIMMER' | 'foilShimmer';
1821
2226
  }
1822
2227
  interface SetPassUpdateNoticeRequest {
1823
2228
  /** Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as . */
@@ -1852,7 +2257,12 @@ declare namespace gapi.client {
1852
2257
  /** 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
2258
  firstValue?: FieldSelector;
1854
2259
  /** A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set. */
1855
- predefinedItem?: string;
2260
+ predefinedItem?:
2261
+ | 'PREDEFINED_ITEM_UNSPECIFIED'
2262
+ | 'FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER'
2263
+ | 'frequentFlyerProgramNameAndNumber'
2264
+ | 'FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER'
2265
+ | 'flightNumberAndOperatingFlightNumber';
1856
2266
  /** A reference to a field to display. This may only be populated if the `firstValue` field is populated. */
1857
2267
  secondValue?: FieldSelector;
1858
2268
  }
@@ -1922,7 +2332,14 @@ declare namespace gapi.client {
1922
2332
  /** A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set. */
1923
2333
  customFareClass?: LocalizedString;
1924
2334
  /** The fare class of the ticketed seat. */
1925
- fareClass?: string;
2335
+ fareClass?:
2336
+ | 'FARE_CLASS_UNSPECIFIED'
2337
+ | 'ECONOMY'
2338
+ | 'economy'
2339
+ | 'FIRST'
2340
+ | 'first'
2341
+ | 'BUSINESS'
2342
+ | 'business';
1926
2343
  /** The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use `seatAssigment` instead. */
1927
2344
  seat?: string;
1928
2345
  /** The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in `seat`. */
@@ -2020,15 +2437,33 @@ declare namespace gapi.client {
2020
2437
  /** 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
2438
  messages?: Message[];
2022
2439
  /** Identifies whether multiple users and devices will save the same object referencing this class. */
2023
- multipleDevicesAndHoldersAllowedStatus?: string;
2440
+ multipleDevicesAndHoldersAllowedStatus?:
2441
+ | 'STATUS_UNSPECIFIED'
2442
+ | 'MULTIPLE_HOLDERS'
2443
+ | 'ONE_USER_ALL_DEVICES'
2444
+ | 'ONE_USER_ONE_DEVICE'
2445
+ | 'multipleHolders'
2446
+ | 'oneUserAllDevices'
2447
+ | 'oneUserOneDevice';
2024
2448
  /** 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;
2449
+ notifyPreference?:
2450
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
2451
+ | 'NOTIFY_ON_UPDATE';
2026
2452
  /** 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
2453
  redemptionIssuers?: string[];
2028
2454
  /** The review comments set by the platform when a class is marked `approved` or `rejected`. */
2029
2455
  review?: Review;
2030
2456
  /** 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;
2457
+ reviewStatus?:
2458
+ | 'REVIEW_STATUS_UNSPECIFIED'
2459
+ | 'UNDER_REVIEW'
2460
+ | 'underReview'
2461
+ | 'APPROVED'
2462
+ | 'approved'
2463
+ | 'REJECTED'
2464
+ | 'rejected'
2465
+ | 'DRAFT'
2466
+ | 'draft';
2032
2467
  /** Optional information about the security animation. If this is set a security animation will be rendered on pass details. */
2033
2468
  securityAnimation?: SecurityAnimation;
2034
2469
  /** 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 +2471,27 @@ declare namespace gapi.client {
2036
2471
  /** The name of the transit operator. */
2037
2472
  transitOperatorName?: LocalizedString;
2038
2473
  /** Required. The type of transit this class represents, such as "bus". */
2039
- transitType?: string;
2474
+ transitType?:
2475
+ | 'TRANSIT_TYPE_UNSPECIFIED'
2476
+ | 'BUS'
2477
+ | 'bus'
2478
+ | 'RAIL'
2479
+ | 'rail'
2480
+ | 'TRAM'
2481
+ | 'tram'
2482
+ | 'FERRY'
2483
+ | 'ferry'
2484
+ | 'OTHER'
2485
+ | 'other';
2040
2486
  /** 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
2487
  valueAddedModuleData?: ValueAddedModuleData[];
2042
2488
  /** Deprecated */
2043
2489
  version?: string;
2044
2490
  /** View Unlock Requirement options for the transit ticket. */
2045
- viewUnlockRequirement?: string;
2491
+ viewUnlockRequirement?:
2492
+ | 'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED'
2493
+ | 'UNLOCK_NOT_REQUIRED'
2494
+ | 'UNLOCK_REQUIRED_TO_VIEW';
2046
2495
  /** Watermark image to display on the user's device. */
2047
2496
  watermark?: Image;
2048
2497
  /** 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 +2521,14 @@ declare namespace gapi.client {
2072
2521
  /** A copy of the inherited fields of the parent class. These fields are retrieved during a GET. */
2073
2522
  classReference?: TransitClass;
2074
2523
  /** The concession category for the ticket. */
2075
- concessionCategory?: string;
2524
+ concessionCategory?:
2525
+ | 'CONCESSION_CATEGORY_UNSPECIFIED'
2526
+ | 'ADULT'
2527
+ | 'adult'
2528
+ | 'CHILD'
2529
+ | 'child'
2530
+ | 'SENIOR'
2531
+ | 'senior';
2076
2532
  /** A custom concession category to use when `concessionCategory` does not provide the right option. Both `concessionCategory` and `customConcessionCategory` may not be set. */
2077
2533
  customConcessionCategory?: LocalizedString;
2078
2534
  /** 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 +2564,20 @@ declare namespace gapi.client {
2108
2564
  /** 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
2565
  messages?: Message[];
2110
2566
  /** 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;
2567
+ notifyPreference?:
2568
+ | 'NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED'
2569
+ | 'NOTIFY_ON_UPDATE';
2112
2570
  /** Pass constraints for the object. Includes limiting NFC and screenshot behaviors. */
2113
2571
  passConstraints?: PassConstraints;
2114
2572
  /** 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
2573
  passengerNames?: string;
2116
2574
  /** The number of passengers. */
2117
- passengerType?: string;
2575
+ passengerType?:
2576
+ | 'PASSENGER_TYPE_UNSPECIFIED'
2577
+ | 'SINGLE_PASSENGER'
2578
+ | 'singlePassenger'
2579
+ | 'MULTIPLE_PASSENGERS'
2580
+ | 'multiplePassengers';
2118
2581
  /** Purchase details for this ticket. */
2119
2582
  purchaseDetails?: PurchaseDetails;
2120
2583
  /** The rotating barcode type and value. */
@@ -2124,7 +2587,16 @@ declare namespace gapi.client {
2124
2587
  /** 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
2588
  smartTapRedemptionValue?: string;
2126
2589
  /** 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;
2590
+ state?:
2591
+ | 'STATE_UNSPECIFIED'
2592
+ | 'ACTIVE'
2593
+ | 'active'
2594
+ | 'COMPLETED'
2595
+ | 'completed'
2596
+ | 'EXPIRED'
2597
+ | 'expired'
2598
+ | 'INACTIVE'
2599
+ | 'inactive';
2128
2600
  /** 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
2601
  textModulesData?: TextModuleData[];
2130
2602
  /** 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 +2608,23 @@ declare namespace gapi.client {
2136
2608
  /** 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
2609
  ticketRestrictions?: TicketRestrictions;
2138
2610
  /** The status of the ticket. For states which affect display, use the `state` field instead. */
2139
- ticketStatus?: string;
2611
+ ticketStatus?:
2612
+ | 'TICKET_STATUS_UNSPECIFIED'
2613
+ | 'USED'
2614
+ | 'used'
2615
+ | 'REFUNDED'
2616
+ | 'refunded'
2617
+ | 'EXCHANGED'
2618
+ | 'exchanged';
2140
2619
  /** This id is used to group tickets together if the user has saved multiple tickets for the same trip. */
2141
2620
  tripId?: string;
2142
2621
  /** 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;
2622
+ tripType?:
2623
+ | 'TRIP_TYPE_UNSPECIFIED'
2624
+ | 'ROUND_TRIP'
2625
+ | 'roundTrip'
2626
+ | 'ONE_WAY'
2627
+ | 'oneWay';
2144
2628
  /** 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
2629
  validTimeInterval?: TimeInterval;
2146
2630
  /** Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed. */
@@ -2212,11 +2696,11 @@ declare namespace gapi.client {
2212
2696
  /** Adds a message to the event ticket class referenced by the given class ID. */
2213
2697
  addmessage(request: {
2214
2698
  /** V1 error format. */
2215
- '$.xgafv'?: string;
2699
+ '$.xgafv'?: '1' | '2';
2216
2700
  /** OAuth access token. */
2217
2701
  access_token?: string;
2218
2702
  /** Data format for response. */
2219
- alt?: string;
2703
+ alt?: 'json' | 'media' | 'proto';
2220
2704
  /** JSONP */
2221
2705
  callback?: string;
2222
2706
  /** Selector specifying which fields to include in a partial response. */
@@ -2241,11 +2725,11 @@ declare namespace gapi.client {
2241
2725
  addmessage(
2242
2726
  request: {
2243
2727
  /** V1 error format. */
2244
- '$.xgafv'?: string;
2728
+ '$.xgafv'?: '1' | '2';
2245
2729
  /** OAuth access token. */
2246
2730
  access_token?: string;
2247
2731
  /** Data format for response. */
2248
- alt?: string;
2732
+ alt?: 'json' | 'media' | 'proto';
2249
2733
  /** JSONP */
2250
2734
  callback?: string;
2251
2735
  /** Selector specifying which fields to include in a partial response. */
@@ -2270,11 +2754,11 @@ declare namespace gapi.client {
2270
2754
  /** Returns the event ticket class with the given class ID. */
2271
2755
  get(request?: {
2272
2756
  /** V1 error format. */
2273
- '$.xgafv'?: string;
2757
+ '$.xgafv'?: '1' | '2';
2274
2758
  /** OAuth access token. */
2275
2759
  access_token?: string;
2276
2760
  /** Data format for response. */
2277
- alt?: string;
2761
+ alt?: 'json' | 'media' | 'proto';
2278
2762
  /** JSONP */
2279
2763
  callback?: string;
2280
2764
  /** Selector specifying which fields to include in a partial response. */
@@ -2297,11 +2781,11 @@ declare namespace gapi.client {
2297
2781
  /** Inserts an event ticket class with the given ID and properties. */
2298
2782
  insert(request: {
2299
2783
  /** V1 error format. */
2300
- '$.xgafv'?: string;
2784
+ '$.xgafv'?: '1' | '2';
2301
2785
  /** OAuth access token. */
2302
2786
  access_token?: string;
2303
2787
  /** Data format for response. */
2304
- alt?: string;
2788
+ alt?: 'json' | 'media' | 'proto';
2305
2789
  /** JSONP */
2306
2790
  callback?: string;
2307
2791
  /** Selector specifying which fields to include in a partial response. */
@@ -2324,11 +2808,11 @@ declare namespace gapi.client {
2324
2808
  insert(
2325
2809
  request: {
2326
2810
  /** V1 error format. */
2327
- '$.xgafv'?: string;
2811
+ '$.xgafv'?: '1' | '2';
2328
2812
  /** OAuth access token. */
2329
2813
  access_token?: string;
2330
2814
  /** Data format for response. */
2331
- alt?: string;
2815
+ alt?: 'json' | 'media' | 'proto';
2332
2816
  /** JSONP */
2333
2817
  callback?: string;
2334
2818
  /** Selector specifying which fields to include in a partial response. */
@@ -2351,11 +2835,11 @@ declare namespace gapi.client {
2351
2835
  /** Returns a list of all event ticket classes for a given issuer ID. */
2352
2836
  list(request?: {
2353
2837
  /** V1 error format. */
2354
- '$.xgafv'?: string;
2838
+ '$.xgafv'?: '1' | '2';
2355
2839
  /** OAuth access token. */
2356
2840
  access_token?: string;
2357
2841
  /** Data format for response. */
2358
- alt?: string;
2842
+ alt?: 'json' | 'media' | 'proto';
2359
2843
  /** JSONP */
2360
2844
  callback?: string;
2361
2845
  /** Selector specifying which fields to include in a partial response. */
@@ -2382,11 +2866,11 @@ declare namespace gapi.client {
2382
2866
  /** Updates the event ticket class referenced by the given class ID. This method supports patch semantics. */
2383
2867
  patch(request: {
2384
2868
  /** V1 error format. */
2385
- '$.xgafv'?: string;
2869
+ '$.xgafv'?: '1' | '2';
2386
2870
  /** OAuth access token. */
2387
2871
  access_token?: string;
2388
2872
  /** Data format for response. */
2389
- alt?: string;
2873
+ alt?: 'json' | 'media' | 'proto';
2390
2874
  /** JSONP */
2391
2875
  callback?: string;
2392
2876
  /** Selector specifying which fields to include in a partial response. */
@@ -2411,11 +2895,11 @@ declare namespace gapi.client {
2411
2895
  patch(
2412
2896
  request: {
2413
2897
  /** V1 error format. */
2414
- '$.xgafv'?: string;
2898
+ '$.xgafv'?: '1' | '2';
2415
2899
  /** OAuth access token. */
2416
2900
  access_token?: string;
2417
2901
  /** Data format for response. */
2418
- alt?: string;
2902
+ alt?: 'json' | 'media' | 'proto';
2419
2903
  /** JSONP */
2420
2904
  callback?: string;
2421
2905
  /** Selector specifying which fields to include in a partial response. */
@@ -2440,11 +2924,11 @@ declare namespace gapi.client {
2440
2924
  /** Updates the event ticket class referenced by the given class ID. */
2441
2925
  update(request: {
2442
2926
  /** V1 error format. */
2443
- '$.xgafv'?: string;
2927
+ '$.xgafv'?: '1' | '2';
2444
2928
  /** OAuth access token. */
2445
2929
  access_token?: string;
2446
2930
  /** Data format for response. */
2447
- alt?: string;
2931
+ alt?: 'json' | 'media' | 'proto';
2448
2932
  /** JSONP */
2449
2933
  callback?: string;
2450
2934
  /** Selector specifying which fields to include in a partial response. */
@@ -2469,11 +2953,11 @@ declare namespace gapi.client {
2469
2953
  update(
2470
2954
  request: {
2471
2955
  /** V1 error format. */
2472
- '$.xgafv'?: string;
2956
+ '$.xgafv'?: '1' | '2';
2473
2957
  /** OAuth access token. */
2474
2958
  access_token?: string;
2475
2959
  /** Data format for response. */
2476
- alt?: string;
2960
+ alt?: 'json' | 'media' | 'proto';
2477
2961
  /** JSONP */
2478
2962
  callback?: string;
2479
2963
  /** Selector specifying which fields to include in a partial response. */
@@ -2500,11 +2984,11 @@ declare namespace gapi.client {
2500
2984
  /** Adds a message to the event ticket object referenced by the given object ID. */
2501
2985
  addmessage(request: {
2502
2986
  /** V1 error format. */
2503
- '$.xgafv'?: string;
2987
+ '$.xgafv'?: '1' | '2';
2504
2988
  /** OAuth access token. */
2505
2989
  access_token?: string;
2506
2990
  /** Data format for response. */
2507
- alt?: string;
2991
+ alt?: 'json' | 'media' | 'proto';
2508
2992
  /** JSONP */
2509
2993
  callback?: string;
2510
2994
  /** Selector specifying which fields to include in a partial response. */
@@ -2529,11 +3013,11 @@ declare namespace gapi.client {
2529
3013
  addmessage(
2530
3014
  request: {
2531
3015
  /** V1 error format. */
2532
- '$.xgafv'?: string;
3016
+ '$.xgafv'?: '1' | '2';
2533
3017
  /** OAuth access token. */
2534
3018
  access_token?: string;
2535
3019
  /** Data format for response. */
2536
- alt?: string;
3020
+ alt?: 'json' | 'media' | 'proto';
2537
3021
  /** JSONP */
2538
3022
  callback?: string;
2539
3023
  /** Selector specifying which fields to include in a partial response. */
@@ -2558,11 +3042,11 @@ declare namespace gapi.client {
2558
3042
  /** Returns the event ticket object with the given object ID. */
2559
3043
  get(request?: {
2560
3044
  /** V1 error format. */
2561
- '$.xgafv'?: string;
3045
+ '$.xgafv'?: '1' | '2';
2562
3046
  /** OAuth access token. */
2563
3047
  access_token?: string;
2564
3048
  /** Data format for response. */
2565
- alt?: string;
3049
+ alt?: 'json' | 'media' | 'proto';
2566
3050
  /** JSONP */
2567
3051
  callback?: string;
2568
3052
  /** Selector specifying which fields to include in a partial response. */
@@ -2585,11 +3069,11 @@ declare namespace gapi.client {
2585
3069
  /** Inserts an event ticket object with the given ID and properties. */
2586
3070
  insert(request: {
2587
3071
  /** V1 error format. */
2588
- '$.xgafv'?: string;
3072
+ '$.xgafv'?: '1' | '2';
2589
3073
  /** OAuth access token. */
2590
3074
  access_token?: string;
2591
3075
  /** Data format for response. */
2592
- alt?: string;
3076
+ alt?: 'json' | 'media' | 'proto';
2593
3077
  /** JSONP */
2594
3078
  callback?: string;
2595
3079
  /** Selector specifying which fields to include in a partial response. */
@@ -2612,11 +3096,11 @@ declare namespace gapi.client {
2612
3096
  insert(
2613
3097
  request: {
2614
3098
  /** V1 error format. */
2615
- '$.xgafv'?: string;
3099
+ '$.xgafv'?: '1' | '2';
2616
3100
  /** OAuth access token. */
2617
3101
  access_token?: string;
2618
3102
  /** Data format for response. */
2619
- alt?: string;
3103
+ alt?: 'json' | 'media' | 'proto';
2620
3104
  /** JSONP */
2621
3105
  callback?: string;
2622
3106
  /** Selector specifying which fields to include in a partial response. */
@@ -2639,11 +3123,11 @@ declare namespace gapi.client {
2639
3123
  /** Returns a list of all event ticket objects for a given issuer ID. */
2640
3124
  list(request?: {
2641
3125
  /** V1 error format. */
2642
- '$.xgafv'?: string;
3126
+ '$.xgafv'?: '1' | '2';
2643
3127
  /** OAuth access token. */
2644
3128
  access_token?: string;
2645
3129
  /** Data format for response. */
2646
- alt?: string;
3130
+ alt?: 'json' | 'media' | 'proto';
2647
3131
  /** JSONP */
2648
3132
  callback?: string;
2649
3133
  /** The ID of the class whose objects will be listed. */
@@ -2670,11 +3154,11 @@ declare namespace gapi.client {
2670
3154
  /** Deprecated: Use Auto Linked Passes instead. Modifies linked offer objects for the event ticket object with the given ID. */
2671
3155
  modifylinkedofferobjects(request: {
2672
3156
  /** V1 error format. */
2673
- '$.xgafv'?: string;
3157
+ '$.xgafv'?: '1' | '2';
2674
3158
  /** OAuth access token. */
2675
3159
  access_token?: string;
2676
3160
  /** Data format for response. */
2677
- alt?: string;
3161
+ alt?: 'json' | 'media' | 'proto';
2678
3162
  /** JSONP */
2679
3163
  callback?: string;
2680
3164
  /** Selector specifying which fields to include in a partial response. */
@@ -2699,11 +3183,11 @@ declare namespace gapi.client {
2699
3183
  modifylinkedofferobjects(
2700
3184
  request: {
2701
3185
  /** V1 error format. */
2702
- '$.xgafv'?: string;
3186
+ '$.xgafv'?: '1' | '2';
2703
3187
  /** OAuth access token. */
2704
3188
  access_token?: string;
2705
3189
  /** Data format for response. */
2706
- alt?: string;
3190
+ alt?: 'json' | 'media' | 'proto';
2707
3191
  /** JSONP */
2708
3192
  callback?: string;
2709
3193
  /** Selector specifying which fields to include in a partial response. */
@@ -2728,11 +3212,11 @@ declare namespace gapi.client {
2728
3212
  /** Updates the event ticket object referenced by the given object ID. This method supports patch semantics. */
2729
3213
  patch(request: {
2730
3214
  /** V1 error format. */
2731
- '$.xgafv'?: string;
3215
+ '$.xgafv'?: '1' | '2';
2732
3216
  /** OAuth access token. */
2733
3217
  access_token?: string;
2734
3218
  /** Data format for response. */
2735
- alt?: string;
3219
+ alt?: 'json' | 'media' | 'proto';
2736
3220
  /** JSONP */
2737
3221
  callback?: string;
2738
3222
  /** Selector specifying which fields to include in a partial response. */
@@ -2757,11 +3241,11 @@ declare namespace gapi.client {
2757
3241
  patch(
2758
3242
  request: {
2759
3243
  /** V1 error format. */
2760
- '$.xgafv'?: string;
3244
+ '$.xgafv'?: '1' | '2';
2761
3245
  /** OAuth access token. */
2762
3246
  access_token?: string;
2763
3247
  /** Data format for response. */
2764
- alt?: string;
3248
+ alt?: 'json' | 'media' | 'proto';
2765
3249
  /** JSONP */
2766
3250
  callback?: string;
2767
3251
  /** Selector specifying which fields to include in a partial response. */
@@ -2786,11 +3270,11 @@ declare namespace gapi.client {
2786
3270
  /** Updates the event ticket object referenced by the given object ID. */
2787
3271
  update(request: {
2788
3272
  /** V1 error format. */
2789
- '$.xgafv'?: string;
3273
+ '$.xgafv'?: '1' | '2';
2790
3274
  /** OAuth access token. */
2791
3275
  access_token?: string;
2792
3276
  /** Data format for response. */
2793
- alt?: string;
3277
+ alt?: 'json' | 'media' | 'proto';
2794
3278
  /** JSONP */
2795
3279
  callback?: string;
2796
3280
  /** Selector specifying which fields to include in a partial response. */
@@ -2815,11 +3299,11 @@ declare namespace gapi.client {
2815
3299
  update(
2816
3300
  request: {
2817
3301
  /** V1 error format. */
2818
- '$.xgafv'?: string;
3302
+ '$.xgafv'?: '1' | '2';
2819
3303
  /** OAuth access token. */
2820
3304
  access_token?: string;
2821
3305
  /** Data format for response. */
2822
- alt?: string;
3306
+ alt?: 'json' | 'media' | 'proto';
2823
3307
  /** JSONP */
2824
3308
  callback?: string;
2825
3309
  /** Selector specifying which fields to include in a partial response. */
@@ -2846,11 +3330,11 @@ declare namespace gapi.client {
2846
3330
  /** Adds a message to the flight class referenced by the given class ID. */
2847
3331
  addmessage(request: {
2848
3332
  /** V1 error format. */
2849
- '$.xgafv'?: string;
3333
+ '$.xgafv'?: '1' | '2';
2850
3334
  /** OAuth access token. */
2851
3335
  access_token?: string;
2852
3336
  /** Data format for response. */
2853
- alt?: string;
3337
+ alt?: 'json' | 'media' | 'proto';
2854
3338
  /** JSONP */
2855
3339
  callback?: string;
2856
3340
  /** Selector specifying which fields to include in a partial response. */
@@ -2875,11 +3359,11 @@ declare namespace gapi.client {
2875
3359
  addmessage(
2876
3360
  request: {
2877
3361
  /** V1 error format. */
2878
- '$.xgafv'?: string;
3362
+ '$.xgafv'?: '1' | '2';
2879
3363
  /** OAuth access token. */
2880
3364
  access_token?: string;
2881
3365
  /** Data format for response. */
2882
- alt?: string;
3366
+ alt?: 'json' | 'media' | 'proto';
2883
3367
  /** JSONP */
2884
3368
  callback?: string;
2885
3369
  /** Selector specifying which fields to include in a partial response. */
@@ -2904,11 +3388,11 @@ declare namespace gapi.client {
2904
3388
  /** Returns the flight class with the given class ID. */
2905
3389
  get(request?: {
2906
3390
  /** V1 error format. */
2907
- '$.xgafv'?: string;
3391
+ '$.xgafv'?: '1' | '2';
2908
3392
  /** OAuth access token. */
2909
3393
  access_token?: string;
2910
3394
  /** Data format for response. */
2911
- alt?: string;
3395
+ alt?: 'json' | 'media' | 'proto';
2912
3396
  /** JSONP */
2913
3397
  callback?: string;
2914
3398
  /** Selector specifying which fields to include in a partial response. */
@@ -2931,11 +3415,11 @@ declare namespace gapi.client {
2931
3415
  /** Inserts an flight class with the given ID and properties. */
2932
3416
  insert(request: {
2933
3417
  /** V1 error format. */
2934
- '$.xgafv'?: string;
3418
+ '$.xgafv'?: '1' | '2';
2935
3419
  /** OAuth access token. */
2936
3420
  access_token?: string;
2937
3421
  /** Data format for response. */
2938
- alt?: string;
3422
+ alt?: 'json' | 'media' | 'proto';
2939
3423
  /** JSONP */
2940
3424
  callback?: string;
2941
3425
  /** Selector specifying which fields to include in a partial response. */
@@ -2958,11 +3442,11 @@ declare namespace gapi.client {
2958
3442
  insert(
2959
3443
  request: {
2960
3444
  /** V1 error format. */
2961
- '$.xgafv'?: string;
3445
+ '$.xgafv'?: '1' | '2';
2962
3446
  /** OAuth access token. */
2963
3447
  access_token?: string;
2964
3448
  /** Data format for response. */
2965
- alt?: string;
3449
+ alt?: 'json' | 'media' | 'proto';
2966
3450
  /** JSONP */
2967
3451
  callback?: string;
2968
3452
  /** Selector specifying which fields to include in a partial response. */
@@ -2985,11 +3469,11 @@ declare namespace gapi.client {
2985
3469
  /** Returns a list of all flight classes for a given issuer ID. */
2986
3470
  list(request?: {
2987
3471
  /** V1 error format. */
2988
- '$.xgafv'?: string;
3472
+ '$.xgafv'?: '1' | '2';
2989
3473
  /** OAuth access token. */
2990
3474
  access_token?: string;
2991
3475
  /** Data format for response. */
2992
- alt?: string;
3476
+ alt?: 'json' | 'media' | 'proto';
2993
3477
  /** JSONP */
2994
3478
  callback?: string;
2995
3479
  /** Selector specifying which fields to include in a partial response. */
@@ -3016,11 +3500,11 @@ declare namespace gapi.client {
3016
3500
  /** Updates the flight class referenced by the given class ID. This method supports patch semantics. */
3017
3501
  patch(request: {
3018
3502
  /** V1 error format. */
3019
- '$.xgafv'?: string;
3503
+ '$.xgafv'?: '1' | '2';
3020
3504
  /** OAuth access token. */
3021
3505
  access_token?: string;
3022
3506
  /** Data format for response. */
3023
- alt?: string;
3507
+ alt?: 'json' | 'media' | 'proto';
3024
3508
  /** JSONP */
3025
3509
  callback?: string;
3026
3510
  /** Selector specifying which fields to include in a partial response. */
@@ -3045,11 +3529,11 @@ declare namespace gapi.client {
3045
3529
  patch(
3046
3530
  request: {
3047
3531
  /** V1 error format. */
3048
- '$.xgafv'?: string;
3532
+ '$.xgafv'?: '1' | '2';
3049
3533
  /** OAuth access token. */
3050
3534
  access_token?: string;
3051
3535
  /** Data format for response. */
3052
- alt?: string;
3536
+ alt?: 'json' | 'media' | 'proto';
3053
3537
  /** JSONP */
3054
3538
  callback?: string;
3055
3539
  /** Selector specifying which fields to include in a partial response. */
@@ -3074,11 +3558,11 @@ declare namespace gapi.client {
3074
3558
  /** Updates the flight class referenced by the given class ID. */
3075
3559
  update(request: {
3076
3560
  /** V1 error format. */
3077
- '$.xgafv'?: string;
3561
+ '$.xgafv'?: '1' | '2';
3078
3562
  /** OAuth access token. */
3079
3563
  access_token?: string;
3080
3564
  /** Data format for response. */
3081
- alt?: string;
3565
+ alt?: 'json' | 'media' | 'proto';
3082
3566
  /** JSONP */
3083
3567
  callback?: string;
3084
3568
  /** Selector specifying which fields to include in a partial response. */
@@ -3103,11 +3587,11 @@ declare namespace gapi.client {
3103
3587
  update(
3104
3588
  request: {
3105
3589
  /** V1 error format. */
3106
- '$.xgafv'?: string;
3590
+ '$.xgafv'?: '1' | '2';
3107
3591
  /** OAuth access token. */
3108
3592
  access_token?: string;
3109
3593
  /** Data format for response. */
3110
- alt?: string;
3594
+ alt?: 'json' | 'media' | 'proto';
3111
3595
  /** JSONP */
3112
3596
  callback?: string;
3113
3597
  /** Selector specifying which fields to include in a partial response. */
@@ -3134,11 +3618,11 @@ declare namespace gapi.client {
3134
3618
  /** Adds a message to the flight object referenced by the given object ID. */
3135
3619
  addmessage(request: {
3136
3620
  /** V1 error format. */
3137
- '$.xgafv'?: string;
3621
+ '$.xgafv'?: '1' | '2';
3138
3622
  /** OAuth access token. */
3139
3623
  access_token?: string;
3140
3624
  /** Data format for response. */
3141
- alt?: string;
3625
+ alt?: 'json' | 'media' | 'proto';
3142
3626
  /** JSONP */
3143
3627
  callback?: string;
3144
3628
  /** Selector specifying which fields to include in a partial response. */
@@ -3163,11 +3647,11 @@ declare namespace gapi.client {
3163
3647
  addmessage(
3164
3648
  request: {
3165
3649
  /** V1 error format. */
3166
- '$.xgafv'?: string;
3650
+ '$.xgafv'?: '1' | '2';
3167
3651
  /** OAuth access token. */
3168
3652
  access_token?: string;
3169
3653
  /** Data format for response. */
3170
- alt?: string;
3654
+ alt?: 'json' | 'media' | 'proto';
3171
3655
  /** JSONP */
3172
3656
  callback?: string;
3173
3657
  /** Selector specifying which fields to include in a partial response. */
@@ -3192,11 +3676,11 @@ declare namespace gapi.client {
3192
3676
  /** Returns the flight object with the given object ID. */
3193
3677
  get(request?: {
3194
3678
  /** V1 error format. */
3195
- '$.xgafv'?: string;
3679
+ '$.xgafv'?: '1' | '2';
3196
3680
  /** OAuth access token. */
3197
3681
  access_token?: string;
3198
3682
  /** Data format for response. */
3199
- alt?: string;
3683
+ alt?: 'json' | 'media' | 'proto';
3200
3684
  /** JSONP */
3201
3685
  callback?: string;
3202
3686
  /** Selector specifying which fields to include in a partial response. */
@@ -3219,11 +3703,11 @@ declare namespace gapi.client {
3219
3703
  /** Inserts an flight object with the given ID and properties. */
3220
3704
  insert(request: {
3221
3705
  /** V1 error format. */
3222
- '$.xgafv'?: string;
3706
+ '$.xgafv'?: '1' | '2';
3223
3707
  /** OAuth access token. */
3224
3708
  access_token?: string;
3225
3709
  /** Data format for response. */
3226
- alt?: string;
3710
+ alt?: 'json' | 'media' | 'proto';
3227
3711
  /** JSONP */
3228
3712
  callback?: string;
3229
3713
  /** Selector specifying which fields to include in a partial response. */
@@ -3246,11 +3730,11 @@ declare namespace gapi.client {
3246
3730
  insert(
3247
3731
  request: {
3248
3732
  /** V1 error format. */
3249
- '$.xgafv'?: string;
3733
+ '$.xgafv'?: '1' | '2';
3250
3734
  /** OAuth access token. */
3251
3735
  access_token?: string;
3252
3736
  /** Data format for response. */
3253
- alt?: string;
3737
+ alt?: 'json' | 'media' | 'proto';
3254
3738
  /** JSONP */
3255
3739
  callback?: string;
3256
3740
  /** Selector specifying which fields to include in a partial response. */
@@ -3273,11 +3757,11 @@ declare namespace gapi.client {
3273
3757
  /** Returns a list of all flight objects for a given issuer ID. */
3274
3758
  list(request?: {
3275
3759
  /** V1 error format. */
3276
- '$.xgafv'?: string;
3760
+ '$.xgafv'?: '1' | '2';
3277
3761
  /** OAuth access token. */
3278
3762
  access_token?: string;
3279
3763
  /** Data format for response. */
3280
- alt?: string;
3764
+ alt?: 'json' | 'media' | 'proto';
3281
3765
  /** JSONP */
3282
3766
  callback?: string;
3283
3767
  /** The ID of the class whose objects will be listed. */
@@ -3304,11 +3788,11 @@ declare namespace gapi.client {
3304
3788
  /** Updates the flight object referenced by the given object ID. This method supports patch semantics. */
3305
3789
  patch(request: {
3306
3790
  /** V1 error format. */
3307
- '$.xgafv'?: string;
3791
+ '$.xgafv'?: '1' | '2';
3308
3792
  /** OAuth access token. */
3309
3793
  access_token?: string;
3310
3794
  /** Data format for response. */
3311
- alt?: string;
3795
+ alt?: 'json' | 'media' | 'proto';
3312
3796
  /** JSONP */
3313
3797
  callback?: string;
3314
3798
  /** Selector specifying which fields to include in a partial response. */
@@ -3333,11 +3817,11 @@ declare namespace gapi.client {
3333
3817
  patch(
3334
3818
  request: {
3335
3819
  /** V1 error format. */
3336
- '$.xgafv'?: string;
3820
+ '$.xgafv'?: '1' | '2';
3337
3821
  /** OAuth access token. */
3338
3822
  access_token?: string;
3339
3823
  /** Data format for response. */
3340
- alt?: string;
3824
+ alt?: 'json' | 'media' | 'proto';
3341
3825
  /** JSONP */
3342
3826
  callback?: string;
3343
3827
  /** Selector specifying which fields to include in a partial response. */
@@ -3362,11 +3846,11 @@ declare namespace gapi.client {
3362
3846
  /** Updates the flight object referenced by the given object ID. */
3363
3847
  update(request: {
3364
3848
  /** V1 error format. */
3365
- '$.xgafv'?: string;
3849
+ '$.xgafv'?: '1' | '2';
3366
3850
  /** OAuth access token. */
3367
3851
  access_token?: string;
3368
3852
  /** Data format for response. */
3369
- alt?: string;
3853
+ alt?: 'json' | 'media' | 'proto';
3370
3854
  /** JSONP */
3371
3855
  callback?: string;
3372
3856
  /** Selector specifying which fields to include in a partial response. */
@@ -3391,11 +3875,11 @@ declare namespace gapi.client {
3391
3875
  update(
3392
3876
  request: {
3393
3877
  /** V1 error format. */
3394
- '$.xgafv'?: string;
3878
+ '$.xgafv'?: '1' | '2';
3395
3879
  /** OAuth access token. */
3396
3880
  access_token?: string;
3397
3881
  /** Data format for response. */
3398
- alt?: string;
3882
+ alt?: 'json' | 'media' | 'proto';
3399
3883
  /** JSONP */
3400
3884
  callback?: string;
3401
3885
  /** Selector specifying which fields to include in a partial response. */
@@ -3422,11 +3906,11 @@ declare namespace gapi.client {
3422
3906
  /** Adds a message to the generic class referenced by the given class ID. */
3423
3907
  addmessage(request: {
3424
3908
  /** V1 error format. */
3425
- '$.xgafv'?: string;
3909
+ '$.xgafv'?: '1' | '2';
3426
3910
  /** OAuth access token. */
3427
3911
  access_token?: string;
3428
3912
  /** Data format for response. */
3429
- alt?: string;
3913
+ alt?: 'json' | 'media' | 'proto';
3430
3914
  /** JSONP */
3431
3915
  callback?: string;
3432
3916
  /** Selector specifying which fields to include in a partial response. */
@@ -3451,11 +3935,11 @@ declare namespace gapi.client {
3451
3935
  addmessage(
3452
3936
  request: {
3453
3937
  /** V1 error format. */
3454
- '$.xgafv'?: string;
3938
+ '$.xgafv'?: '1' | '2';
3455
3939
  /** OAuth access token. */
3456
3940
  access_token?: string;
3457
3941
  /** Data format for response. */
3458
- alt?: string;
3942
+ alt?: 'json' | 'media' | 'proto';
3459
3943
  /** JSONP */
3460
3944
  callback?: string;
3461
3945
  /** Selector specifying which fields to include in a partial response. */
@@ -3480,11 +3964,11 @@ declare namespace gapi.client {
3480
3964
  /** Returns the generic class with the given class ID. */
3481
3965
  get(request?: {
3482
3966
  /** V1 error format. */
3483
- '$.xgafv'?: string;
3967
+ '$.xgafv'?: '1' | '2';
3484
3968
  /** OAuth access token. */
3485
3969
  access_token?: string;
3486
3970
  /** Data format for response. */
3487
- alt?: string;
3971
+ alt?: 'json' | 'media' | 'proto';
3488
3972
  /** JSONP */
3489
3973
  callback?: string;
3490
3974
  /** Selector specifying which fields to include in a partial response. */
@@ -3507,11 +3991,11 @@ declare namespace gapi.client {
3507
3991
  /** Inserts a generic class with the given ID and properties. */
3508
3992
  insert(request: {
3509
3993
  /** V1 error format. */
3510
- '$.xgafv'?: string;
3994
+ '$.xgafv'?: '1' | '2';
3511
3995
  /** OAuth access token. */
3512
3996
  access_token?: string;
3513
3997
  /** Data format for response. */
3514
- alt?: string;
3998
+ alt?: 'json' | 'media' | 'proto';
3515
3999
  /** JSONP */
3516
4000
  callback?: string;
3517
4001
  /** Selector specifying which fields to include in a partial response. */
@@ -3534,11 +4018,11 @@ declare namespace gapi.client {
3534
4018
  insert(
3535
4019
  request: {
3536
4020
  /** V1 error format. */
3537
- '$.xgafv'?: string;
4021
+ '$.xgafv'?: '1' | '2';
3538
4022
  /** OAuth access token. */
3539
4023
  access_token?: string;
3540
4024
  /** Data format for response. */
3541
- alt?: string;
4025
+ alt?: 'json' | 'media' | 'proto';
3542
4026
  /** JSONP */
3543
4027
  callback?: string;
3544
4028
  /** Selector specifying which fields to include in a partial response. */
@@ -3561,11 +4045,11 @@ declare namespace gapi.client {
3561
4045
  /** Returns a list of all generic classes for a given issuer ID. */
3562
4046
  list(request?: {
3563
4047
  /** V1 error format. */
3564
- '$.xgafv'?: string;
4048
+ '$.xgafv'?: '1' | '2';
3565
4049
  /** OAuth access token. */
3566
4050
  access_token?: string;
3567
4051
  /** Data format for response. */
3568
- alt?: string;
4052
+ alt?: 'json' | 'media' | 'proto';
3569
4053
  /** JSONP */
3570
4054
  callback?: string;
3571
4055
  /** Selector specifying which fields to include in a partial response. */
@@ -3592,11 +4076,11 @@ declare namespace gapi.client {
3592
4076
  /** Updates the generic class referenced by the given class ID. This method supports patch semantics. */
3593
4077
  patch(request: {
3594
4078
  /** V1 error format. */
3595
- '$.xgafv'?: string;
4079
+ '$.xgafv'?: '1' | '2';
3596
4080
  /** OAuth access token. */
3597
4081
  access_token?: string;
3598
4082
  /** Data format for response. */
3599
- alt?: string;
4083
+ alt?: 'json' | 'media' | 'proto';
3600
4084
  /** JSONP */
3601
4085
  callback?: string;
3602
4086
  /** Selector specifying which fields to include in a partial response. */
@@ -3621,11 +4105,11 @@ declare namespace gapi.client {
3621
4105
  patch(
3622
4106
  request: {
3623
4107
  /** V1 error format. */
3624
- '$.xgafv'?: string;
4108
+ '$.xgafv'?: '1' | '2';
3625
4109
  /** OAuth access token. */
3626
4110
  access_token?: string;
3627
4111
  /** Data format for response. */
3628
- alt?: string;
4112
+ alt?: 'json' | 'media' | 'proto';
3629
4113
  /** JSONP */
3630
4114
  callback?: string;
3631
4115
  /** Selector specifying which fields to include in a partial response. */
@@ -3650,11 +4134,11 @@ declare namespace gapi.client {
3650
4134
  /** Updates the Generic class referenced by the given class ID. */
3651
4135
  update(request: {
3652
4136
  /** V1 error format. */
3653
- '$.xgafv'?: string;
4137
+ '$.xgafv'?: '1' | '2';
3654
4138
  /** OAuth access token. */
3655
4139
  access_token?: string;
3656
4140
  /** Data format for response. */
3657
- alt?: string;
4141
+ alt?: 'json' | 'media' | 'proto';
3658
4142
  /** JSONP */
3659
4143
  callback?: string;
3660
4144
  /** Selector specifying which fields to include in a partial response. */
@@ -3679,11 +4163,11 @@ declare namespace gapi.client {
3679
4163
  update(
3680
4164
  request: {
3681
4165
  /** V1 error format. */
3682
- '$.xgafv'?: string;
4166
+ '$.xgafv'?: '1' | '2';
3683
4167
  /** OAuth access token. */
3684
4168
  access_token?: string;
3685
4169
  /** Data format for response. */
3686
- alt?: string;
4170
+ alt?: 'json' | 'media' | 'proto';
3687
4171
  /** JSONP */
3688
4172
  callback?: string;
3689
4173
  /** Selector specifying which fields to include in a partial response. */
@@ -3710,11 +4194,11 @@ declare namespace gapi.client {
3710
4194
  /** Adds a message to the generic object referenced by the given object ID. */
3711
4195
  addmessage(request: {
3712
4196
  /** V1 error format. */
3713
- '$.xgafv'?: string;
4197
+ '$.xgafv'?: '1' | '2';
3714
4198
  /** OAuth access token. */
3715
4199
  access_token?: string;
3716
4200
  /** Data format for response. */
3717
- alt?: string;
4201
+ alt?: 'json' | 'media' | 'proto';
3718
4202
  /** JSONP */
3719
4203
  callback?: string;
3720
4204
  /** Selector specifying which fields to include in a partial response. */
@@ -3739,11 +4223,11 @@ declare namespace gapi.client {
3739
4223
  addmessage(
3740
4224
  request: {
3741
4225
  /** V1 error format. */
3742
- '$.xgafv'?: string;
4226
+ '$.xgafv'?: '1' | '2';
3743
4227
  /** OAuth access token. */
3744
4228
  access_token?: string;
3745
4229
  /** Data format for response. */
3746
- alt?: string;
4230
+ alt?: 'json' | 'media' | 'proto';
3747
4231
  /** JSONP */
3748
4232
  callback?: string;
3749
4233
  /** Selector specifying which fields to include in a partial response. */
@@ -3768,11 +4252,11 @@ declare namespace gapi.client {
3768
4252
  /** Returns the generic object with the given object ID. */
3769
4253
  get(request?: {
3770
4254
  /** V1 error format. */
3771
- '$.xgafv'?: string;
4255
+ '$.xgafv'?: '1' | '2';
3772
4256
  /** OAuth access token. */
3773
4257
  access_token?: string;
3774
4258
  /** Data format for response. */
3775
- alt?: string;
4259
+ alt?: 'json' | 'media' | 'proto';
3776
4260
  /** JSONP */
3777
4261
  callback?: string;
3778
4262
  /** Selector specifying which fields to include in a partial response. */
@@ -3795,11 +4279,11 @@ declare namespace gapi.client {
3795
4279
  /** Inserts a generic object with the given ID and properties. */
3796
4280
  insert(request: {
3797
4281
  /** V1 error format. */
3798
- '$.xgafv'?: string;
4282
+ '$.xgafv'?: '1' | '2';
3799
4283
  /** OAuth access token. */
3800
4284
  access_token?: string;
3801
4285
  /** Data format for response. */
3802
- alt?: string;
4286
+ alt?: 'json' | 'media' | 'proto';
3803
4287
  /** JSONP */
3804
4288
  callback?: string;
3805
4289
  /** Selector specifying which fields to include in a partial response. */
@@ -3822,11 +4306,11 @@ declare namespace gapi.client {
3822
4306
  insert(
3823
4307
  request: {
3824
4308
  /** V1 error format. */
3825
- '$.xgafv'?: string;
4309
+ '$.xgafv'?: '1' | '2';
3826
4310
  /** OAuth access token. */
3827
4311
  access_token?: string;
3828
4312
  /** Data format for response. */
3829
- alt?: string;
4313
+ alt?: 'json' | 'media' | 'proto';
3830
4314
  /** JSONP */
3831
4315
  callback?: string;
3832
4316
  /** Selector specifying which fields to include in a partial response. */
@@ -3849,11 +4333,11 @@ declare namespace gapi.client {
3849
4333
  /** Returns a list of all generic objects for a given issuer ID. */
3850
4334
  list(request?: {
3851
4335
  /** V1 error format. */
3852
- '$.xgafv'?: string;
4336
+ '$.xgafv'?: '1' | '2';
3853
4337
  /** OAuth access token. */
3854
4338
  access_token?: string;
3855
4339
  /** Data format for response. */
3856
- alt?: string;
4340
+ alt?: 'json' | 'media' | 'proto';
3857
4341
  /** JSONP */
3858
4342
  callback?: string;
3859
4343
  /** The ID of the class whose objects will be listed. */
@@ -3880,11 +4364,11 @@ declare namespace gapi.client {
3880
4364
  /** Updates the generic object referenced by the given object ID. This method supports patch semantics. */
3881
4365
  patch(request: {
3882
4366
  /** V1 error format. */
3883
- '$.xgafv'?: string;
4367
+ '$.xgafv'?: '1' | '2';
3884
4368
  /** OAuth access token. */
3885
4369
  access_token?: string;
3886
4370
  /** Data format for response. */
3887
- alt?: string;
4371
+ alt?: 'json' | 'media' | 'proto';
3888
4372
  /** JSONP */
3889
4373
  callback?: string;
3890
4374
  /** Selector specifying which fields to include in a partial response. */
@@ -3909,11 +4393,11 @@ declare namespace gapi.client {
3909
4393
  patch(
3910
4394
  request: {
3911
4395
  /** V1 error format. */
3912
- '$.xgafv'?: string;
4396
+ '$.xgafv'?: '1' | '2';
3913
4397
  /** OAuth access token. */
3914
4398
  access_token?: string;
3915
4399
  /** Data format for response. */
3916
- alt?: string;
4400
+ alt?: 'json' | 'media' | 'proto';
3917
4401
  /** JSONP */
3918
4402
  callback?: string;
3919
4403
  /** Selector specifying which fields to include in a partial response. */
@@ -3938,11 +4422,11 @@ declare namespace gapi.client {
3938
4422
  /** Updates the generic object referenced by the given object ID. */
3939
4423
  update(request: {
3940
4424
  /** V1 error format. */
3941
- '$.xgafv'?: string;
4425
+ '$.xgafv'?: '1' | '2';
3942
4426
  /** OAuth access token. */
3943
4427
  access_token?: string;
3944
4428
  /** Data format for response. */
3945
- alt?: string;
4429
+ alt?: 'json' | 'media' | 'proto';
3946
4430
  /** JSONP */
3947
4431
  callback?: string;
3948
4432
  /** Selector specifying which fields to include in a partial response. */
@@ -3967,11 +4451,11 @@ declare namespace gapi.client {
3967
4451
  update(
3968
4452
  request: {
3969
4453
  /** V1 error format. */
3970
- '$.xgafv'?: string;
4454
+ '$.xgafv'?: '1' | '2';
3971
4455
  /** OAuth access token. */
3972
4456
  access_token?: string;
3973
4457
  /** Data format for response. */
3974
- alt?: string;
4458
+ alt?: 'json' | 'media' | 'proto';
3975
4459
  /** JSONP */
3976
4460
  callback?: string;
3977
4461
  /** Selector specifying which fields to include in a partial response. */
@@ -3998,11 +4482,11 @@ declare namespace gapi.client {
3998
4482
  /** Adds a message to the gift card class referenced by the given class ID. */
3999
4483
  addmessage(request: {
4000
4484
  /** V1 error format. */
4001
- '$.xgafv'?: string;
4485
+ '$.xgafv'?: '1' | '2';
4002
4486
  /** OAuth access token. */
4003
4487
  access_token?: string;
4004
4488
  /** Data format for response. */
4005
- alt?: string;
4489
+ alt?: 'json' | 'media' | 'proto';
4006
4490
  /** JSONP */
4007
4491
  callback?: string;
4008
4492
  /** Selector specifying which fields to include in a partial response. */
@@ -4027,11 +4511,11 @@ declare namespace gapi.client {
4027
4511
  addmessage(
4028
4512
  request: {
4029
4513
  /** V1 error format. */
4030
- '$.xgafv'?: string;
4514
+ '$.xgafv'?: '1' | '2';
4031
4515
  /** OAuth access token. */
4032
4516
  access_token?: string;
4033
4517
  /** Data format for response. */
4034
- alt?: string;
4518
+ alt?: 'json' | 'media' | 'proto';
4035
4519
  /** JSONP */
4036
4520
  callback?: string;
4037
4521
  /** Selector specifying which fields to include in a partial response. */
@@ -4056,11 +4540,11 @@ declare namespace gapi.client {
4056
4540
  /** Returns the gift card class with the given class ID. */
4057
4541
  get(request?: {
4058
4542
  /** V1 error format. */
4059
- '$.xgafv'?: string;
4543
+ '$.xgafv'?: '1' | '2';
4060
4544
  /** OAuth access token. */
4061
4545
  access_token?: string;
4062
4546
  /** Data format for response. */
4063
- alt?: string;
4547
+ alt?: 'json' | 'media' | 'proto';
4064
4548
  /** JSONP */
4065
4549
  callback?: string;
4066
4550
  /** Selector specifying which fields to include in a partial response. */
@@ -4083,11 +4567,11 @@ declare namespace gapi.client {
4083
4567
  /** Inserts an gift card class with the given ID and properties. */
4084
4568
  insert(request: {
4085
4569
  /** V1 error format. */
4086
- '$.xgafv'?: string;
4570
+ '$.xgafv'?: '1' | '2';
4087
4571
  /** OAuth access token. */
4088
4572
  access_token?: string;
4089
4573
  /** Data format for response. */
4090
- alt?: string;
4574
+ alt?: 'json' | 'media' | 'proto';
4091
4575
  /** JSONP */
4092
4576
  callback?: string;
4093
4577
  /** Selector specifying which fields to include in a partial response. */
@@ -4110,11 +4594,11 @@ declare namespace gapi.client {
4110
4594
  insert(
4111
4595
  request: {
4112
4596
  /** V1 error format. */
4113
- '$.xgafv'?: string;
4597
+ '$.xgafv'?: '1' | '2';
4114
4598
  /** OAuth access token. */
4115
4599
  access_token?: string;
4116
4600
  /** Data format for response. */
4117
- alt?: string;
4601
+ alt?: 'json' | 'media' | 'proto';
4118
4602
  /** JSONP */
4119
4603
  callback?: string;
4120
4604
  /** Selector specifying which fields to include in a partial response. */
@@ -4137,11 +4621,11 @@ declare namespace gapi.client {
4137
4621
  /** Returns a list of all gift card classes for a given issuer ID. */
4138
4622
  list(request?: {
4139
4623
  /** V1 error format. */
4140
- '$.xgafv'?: string;
4624
+ '$.xgafv'?: '1' | '2';
4141
4625
  /** OAuth access token. */
4142
4626
  access_token?: string;
4143
4627
  /** Data format for response. */
4144
- alt?: string;
4628
+ alt?: 'json' | 'media' | 'proto';
4145
4629
  /** JSONP */
4146
4630
  callback?: string;
4147
4631
  /** Selector specifying which fields to include in a partial response. */
@@ -4168,11 +4652,11 @@ declare namespace gapi.client {
4168
4652
  /** Updates the gift card class referenced by the given class ID. This method supports patch semantics. */
4169
4653
  patch(request: {
4170
4654
  /** V1 error format. */
4171
- '$.xgafv'?: string;
4655
+ '$.xgafv'?: '1' | '2';
4172
4656
  /** OAuth access token. */
4173
4657
  access_token?: string;
4174
4658
  /** Data format for response. */
4175
- alt?: string;
4659
+ alt?: 'json' | 'media' | 'proto';
4176
4660
  /** JSONP */
4177
4661
  callback?: string;
4178
4662
  /** Selector specifying which fields to include in a partial response. */
@@ -4197,11 +4681,11 @@ declare namespace gapi.client {
4197
4681
  patch(
4198
4682
  request: {
4199
4683
  /** V1 error format. */
4200
- '$.xgafv'?: string;
4684
+ '$.xgafv'?: '1' | '2';
4201
4685
  /** OAuth access token. */
4202
4686
  access_token?: string;
4203
4687
  /** Data format for response. */
4204
- alt?: string;
4688
+ alt?: 'json' | 'media' | 'proto';
4205
4689
  /** JSONP */
4206
4690
  callback?: string;
4207
4691
  /** Selector specifying which fields to include in a partial response. */
@@ -4226,11 +4710,11 @@ declare namespace gapi.client {
4226
4710
  /** Updates the gift card class referenced by the given class ID. */
4227
4711
  update(request: {
4228
4712
  /** V1 error format. */
4229
- '$.xgafv'?: string;
4713
+ '$.xgafv'?: '1' | '2';
4230
4714
  /** OAuth access token. */
4231
4715
  access_token?: string;
4232
4716
  /** Data format for response. */
4233
- alt?: string;
4717
+ alt?: 'json' | 'media' | 'proto';
4234
4718
  /** JSONP */
4235
4719
  callback?: string;
4236
4720
  /** Selector specifying which fields to include in a partial response. */
@@ -4255,11 +4739,11 @@ declare namespace gapi.client {
4255
4739
  update(
4256
4740
  request: {
4257
4741
  /** V1 error format. */
4258
- '$.xgafv'?: string;
4742
+ '$.xgafv'?: '1' | '2';
4259
4743
  /** OAuth access token. */
4260
4744
  access_token?: string;
4261
4745
  /** Data format for response. */
4262
- alt?: string;
4746
+ alt?: 'json' | 'media' | 'proto';
4263
4747
  /** JSONP */
4264
4748
  callback?: string;
4265
4749
  /** Selector specifying which fields to include in a partial response. */
@@ -4286,11 +4770,11 @@ declare namespace gapi.client {
4286
4770
  /** Adds a message to the gift card object referenced by the given object ID. */
4287
4771
  addmessage(request: {
4288
4772
  /** V1 error format. */
4289
- '$.xgafv'?: string;
4773
+ '$.xgafv'?: '1' | '2';
4290
4774
  /** OAuth access token. */
4291
4775
  access_token?: string;
4292
4776
  /** Data format for response. */
4293
- alt?: string;
4777
+ alt?: 'json' | 'media' | 'proto';
4294
4778
  /** JSONP */
4295
4779
  callback?: string;
4296
4780
  /** Selector specifying which fields to include in a partial response. */
@@ -4315,11 +4799,11 @@ declare namespace gapi.client {
4315
4799
  addmessage(
4316
4800
  request: {
4317
4801
  /** V1 error format. */
4318
- '$.xgafv'?: string;
4802
+ '$.xgafv'?: '1' | '2';
4319
4803
  /** OAuth access token. */
4320
4804
  access_token?: string;
4321
4805
  /** Data format for response. */
4322
- alt?: string;
4806
+ alt?: 'json' | 'media' | 'proto';
4323
4807
  /** JSONP */
4324
4808
  callback?: string;
4325
4809
  /** Selector specifying which fields to include in a partial response. */
@@ -4344,11 +4828,11 @@ declare namespace gapi.client {
4344
4828
  /** Returns the gift card object with the given object ID. */
4345
4829
  get(request?: {
4346
4830
  /** V1 error format. */
4347
- '$.xgafv'?: string;
4831
+ '$.xgafv'?: '1' | '2';
4348
4832
  /** OAuth access token. */
4349
4833
  access_token?: string;
4350
4834
  /** Data format for response. */
4351
- alt?: string;
4835
+ alt?: 'json' | 'media' | 'proto';
4352
4836
  /** JSONP */
4353
4837
  callback?: string;
4354
4838
  /** Selector specifying which fields to include in a partial response. */
@@ -4371,11 +4855,11 @@ declare namespace gapi.client {
4371
4855
  /** Inserts an gift card object with the given ID and properties. */
4372
4856
  insert(request: {
4373
4857
  /** V1 error format. */
4374
- '$.xgafv'?: string;
4858
+ '$.xgafv'?: '1' | '2';
4375
4859
  /** OAuth access token. */
4376
4860
  access_token?: string;
4377
4861
  /** Data format for response. */
4378
- alt?: string;
4862
+ alt?: 'json' | 'media' | 'proto';
4379
4863
  /** JSONP */
4380
4864
  callback?: string;
4381
4865
  /** Selector specifying which fields to include in a partial response. */
@@ -4398,11 +4882,11 @@ declare namespace gapi.client {
4398
4882
  insert(
4399
4883
  request: {
4400
4884
  /** V1 error format. */
4401
- '$.xgafv'?: string;
4885
+ '$.xgafv'?: '1' | '2';
4402
4886
  /** OAuth access token. */
4403
4887
  access_token?: string;
4404
4888
  /** Data format for response. */
4405
- alt?: string;
4889
+ alt?: 'json' | 'media' | 'proto';
4406
4890
  /** JSONP */
4407
4891
  callback?: string;
4408
4892
  /** Selector specifying which fields to include in a partial response. */
@@ -4425,11 +4909,11 @@ declare namespace gapi.client {
4425
4909
  /** Returns a list of all gift card objects for a given issuer ID. */
4426
4910
  list(request?: {
4427
4911
  /** V1 error format. */
4428
- '$.xgafv'?: string;
4912
+ '$.xgafv'?: '1' | '2';
4429
4913
  /** OAuth access token. */
4430
4914
  access_token?: string;
4431
4915
  /** Data format for response. */
4432
- alt?: string;
4916
+ alt?: 'json' | 'media' | 'proto';
4433
4917
  /** JSONP */
4434
4918
  callback?: string;
4435
4919
  /** The ID of the class whose objects will be listed. */
@@ -4456,11 +4940,11 @@ declare namespace gapi.client {
4456
4940
  /** Updates the gift card object referenced by the given object ID. This method supports patch semantics. */
4457
4941
  patch(request: {
4458
4942
  /** V1 error format. */
4459
- '$.xgafv'?: string;
4943
+ '$.xgafv'?: '1' | '2';
4460
4944
  /** OAuth access token. */
4461
4945
  access_token?: string;
4462
4946
  /** Data format for response. */
4463
- alt?: string;
4947
+ alt?: 'json' | 'media' | 'proto';
4464
4948
  /** JSONP */
4465
4949
  callback?: string;
4466
4950
  /** Selector specifying which fields to include in a partial response. */
@@ -4485,11 +4969,11 @@ declare namespace gapi.client {
4485
4969
  patch(
4486
4970
  request: {
4487
4971
  /** V1 error format. */
4488
- '$.xgafv'?: string;
4972
+ '$.xgafv'?: '1' | '2';
4489
4973
  /** OAuth access token. */
4490
4974
  access_token?: string;
4491
4975
  /** Data format for response. */
4492
- alt?: string;
4976
+ alt?: 'json' | 'media' | 'proto';
4493
4977
  /** JSONP */
4494
4978
  callback?: string;
4495
4979
  /** Selector specifying which fields to include in a partial response. */
@@ -4514,11 +4998,11 @@ declare namespace gapi.client {
4514
4998
  /** Updates the gift card object referenced by the given object ID. */
4515
4999
  update(request: {
4516
5000
  /** V1 error format. */
4517
- '$.xgafv'?: string;
5001
+ '$.xgafv'?: '1' | '2';
4518
5002
  /** OAuth access token. */
4519
5003
  access_token?: string;
4520
5004
  /** Data format for response. */
4521
- alt?: string;
5005
+ alt?: 'json' | 'media' | 'proto';
4522
5006
  /** JSONP */
4523
5007
  callback?: string;
4524
5008
  /** Selector specifying which fields to include in a partial response. */
@@ -4543,11 +5027,11 @@ declare namespace gapi.client {
4543
5027
  update(
4544
5028
  request: {
4545
5029
  /** V1 error format. */
4546
- '$.xgafv'?: string;
5030
+ '$.xgafv'?: '1' | '2';
4547
5031
  /** OAuth access token. */
4548
5032
  access_token?: string;
4549
5033
  /** Data format for response. */
4550
- alt?: string;
5034
+ alt?: 'json' | 'media' | 'proto';
4551
5035
  /** JSONP */
4552
5036
  callback?: string;
4553
5037
  /** Selector specifying which fields to include in a partial response. */
@@ -4574,11 +5058,11 @@ declare namespace gapi.client {
4574
5058
  /** Returns the issuer with the given issuer ID. */
4575
5059
  get(request?: {
4576
5060
  /** V1 error format. */
4577
- '$.xgafv'?: string;
5061
+ '$.xgafv'?: '1' | '2';
4578
5062
  /** OAuth access token. */
4579
5063
  access_token?: string;
4580
5064
  /** Data format for response. */
4581
- alt?: string;
5065
+ alt?: 'json' | 'media' | 'proto';
4582
5066
  /** JSONP */
4583
5067
  callback?: string;
4584
5068
  /** Selector specifying which fields to include in a partial response. */
@@ -4601,11 +5085,11 @@ declare namespace gapi.client {
4601
5085
  /** Inserts an issuer with the given ID and properties. */
4602
5086
  insert(request: {
4603
5087
  /** V1 error format. */
4604
- '$.xgafv'?: string;
5088
+ '$.xgafv'?: '1' | '2';
4605
5089
  /** OAuth access token. */
4606
5090
  access_token?: string;
4607
5091
  /** Data format for response. */
4608
- alt?: string;
5092
+ alt?: 'json' | 'media' | 'proto';
4609
5093
  /** JSONP */
4610
5094
  callback?: string;
4611
5095
  /** Selector specifying which fields to include in a partial response. */
@@ -4628,11 +5112,11 @@ declare namespace gapi.client {
4628
5112
  insert(
4629
5113
  request: {
4630
5114
  /** V1 error format. */
4631
- '$.xgafv'?: string;
5115
+ '$.xgafv'?: '1' | '2';
4632
5116
  /** OAuth access token. */
4633
5117
  access_token?: string;
4634
5118
  /** Data format for response. */
4635
- alt?: string;
5119
+ alt?: 'json' | 'media' | 'proto';
4636
5120
  /** JSONP */
4637
5121
  callback?: string;
4638
5122
  /** Selector specifying which fields to include in a partial response. */
@@ -4655,11 +5139,11 @@ declare namespace gapi.client {
4655
5139
  /** Returns a list of all issuers shared to the caller. */
4656
5140
  list(request?: {
4657
5141
  /** V1 error format. */
4658
- '$.xgafv'?: string;
5142
+ '$.xgafv'?: '1' | '2';
4659
5143
  /** OAuth access token. */
4660
5144
  access_token?: string;
4661
5145
  /** Data format for response. */
4662
- alt?: string;
5146
+ alt?: 'json' | 'media' | 'proto';
4663
5147
  /** JSONP */
4664
5148
  callback?: string;
4665
5149
  /** Selector specifying which fields to include in a partial response. */
@@ -4680,11 +5164,11 @@ declare namespace gapi.client {
4680
5164
  /** Updates the issuer referenced by the given issuer ID. This method supports patch semantics. */
4681
5165
  patch(request: {
4682
5166
  /** V1 error format. */
4683
- '$.xgafv'?: string;
5167
+ '$.xgafv'?: '1' | '2';
4684
5168
  /** OAuth access token. */
4685
5169
  access_token?: string;
4686
5170
  /** Data format for response. */
4687
- alt?: string;
5171
+ alt?: 'json' | 'media' | 'proto';
4688
5172
  /** JSONP */
4689
5173
  callback?: string;
4690
5174
  /** Selector specifying which fields to include in a partial response. */
@@ -4709,11 +5193,11 @@ declare namespace gapi.client {
4709
5193
  patch(
4710
5194
  request: {
4711
5195
  /** V1 error format. */
4712
- '$.xgafv'?: string;
5196
+ '$.xgafv'?: '1' | '2';
4713
5197
  /** OAuth access token. */
4714
5198
  access_token?: string;
4715
5199
  /** Data format for response. */
4716
- alt?: string;
5200
+ alt?: 'json' | 'media' | 'proto';
4717
5201
  /** JSONP */
4718
5202
  callback?: string;
4719
5203
  /** Selector specifying which fields to include in a partial response. */
@@ -4738,11 +5222,11 @@ declare namespace gapi.client {
4738
5222
  /** Updates the issuer referenced by the given issuer ID. */
4739
5223
  update(request: {
4740
5224
  /** V1 error format. */
4741
- '$.xgafv'?: string;
5225
+ '$.xgafv'?: '1' | '2';
4742
5226
  /** OAuth access token. */
4743
5227
  access_token?: string;
4744
5228
  /** Data format for response. */
4745
- alt?: string;
5229
+ alt?: 'json' | 'media' | 'proto';
4746
5230
  /** JSONP */
4747
5231
  callback?: string;
4748
5232
  /** Selector specifying which fields to include in a partial response. */
@@ -4767,11 +5251,11 @@ declare namespace gapi.client {
4767
5251
  update(
4768
5252
  request: {
4769
5253
  /** V1 error format. */
4770
- '$.xgafv'?: string;
5254
+ '$.xgafv'?: '1' | '2';
4771
5255
  /** OAuth access token. */
4772
5256
  access_token?: string;
4773
5257
  /** Data format for response. */
4774
- alt?: string;
5258
+ alt?: 'json' | 'media' | 'proto';
4775
5259
  /** JSONP */
4776
5260
  callback?: string;
4777
5261
  /** Selector specifying which fields to include in a partial response. */
@@ -4798,11 +5282,11 @@ declare namespace gapi.client {
4798
5282
  /** Inserts the resources in the JWT. */
4799
5283
  insert(request: {
4800
5284
  /** V1 error format. */
4801
- '$.xgafv'?: string;
5285
+ '$.xgafv'?: '1' | '2';
4802
5286
  /** OAuth access token. */
4803
5287
  access_token?: string;
4804
5288
  /** Data format for response. */
4805
- alt?: string;
5289
+ alt?: 'json' | 'media' | 'proto';
4806
5290
  /** JSONP */
4807
5291
  callback?: string;
4808
5292
  /** Selector specifying which fields to include in a partial response. */
@@ -4825,11 +5309,11 @@ declare namespace gapi.client {
4825
5309
  insert(
4826
5310
  request: {
4827
5311
  /** V1 error format. */
4828
- '$.xgafv'?: string;
5312
+ '$.xgafv'?: '1' | '2';
4829
5313
  /** OAuth access token. */
4830
5314
  access_token?: string;
4831
5315
  /** Data format for response. */
4832
- alt?: string;
5316
+ alt?: 'json' | 'media' | 'proto';
4833
5317
  /** JSONP */
4834
5318
  callback?: string;
4835
5319
  /** Selector specifying which fields to include in a partial response. */
@@ -4854,11 +5338,11 @@ declare namespace gapi.client {
4854
5338
  /** Adds a message to the loyalty class referenced by the given class ID. */
4855
5339
  addmessage(request: {
4856
5340
  /** V1 error format. */
4857
- '$.xgafv'?: string;
5341
+ '$.xgafv'?: '1' | '2';
4858
5342
  /** OAuth access token. */
4859
5343
  access_token?: string;
4860
5344
  /** Data format for response. */
4861
- alt?: string;
5345
+ alt?: 'json' | 'media' | 'proto';
4862
5346
  /** JSONP */
4863
5347
  callback?: string;
4864
5348
  /** Selector specifying which fields to include in a partial response. */
@@ -4883,11 +5367,11 @@ declare namespace gapi.client {
4883
5367
  addmessage(
4884
5368
  request: {
4885
5369
  /** V1 error format. */
4886
- '$.xgafv'?: string;
5370
+ '$.xgafv'?: '1' | '2';
4887
5371
  /** OAuth access token. */
4888
5372
  access_token?: string;
4889
5373
  /** Data format for response. */
4890
- alt?: string;
5374
+ alt?: 'json' | 'media' | 'proto';
4891
5375
  /** JSONP */
4892
5376
  callback?: string;
4893
5377
  /** Selector specifying which fields to include in a partial response. */
@@ -4912,11 +5396,11 @@ declare namespace gapi.client {
4912
5396
  /** Returns the loyalty class with the given class ID. */
4913
5397
  get(request?: {
4914
5398
  /** V1 error format. */
4915
- '$.xgafv'?: string;
5399
+ '$.xgafv'?: '1' | '2';
4916
5400
  /** OAuth access token. */
4917
5401
  access_token?: string;
4918
5402
  /** Data format for response. */
4919
- alt?: string;
5403
+ alt?: 'json' | 'media' | 'proto';
4920
5404
  /** JSONP */
4921
5405
  callback?: string;
4922
5406
  /** Selector specifying which fields to include in a partial response. */
@@ -4939,11 +5423,11 @@ declare namespace gapi.client {
4939
5423
  /** Inserts an loyalty class with the given ID and properties. */
4940
5424
  insert(request: {
4941
5425
  /** V1 error format. */
4942
- '$.xgafv'?: string;
5426
+ '$.xgafv'?: '1' | '2';
4943
5427
  /** OAuth access token. */
4944
5428
  access_token?: string;
4945
5429
  /** Data format for response. */
4946
- alt?: string;
5430
+ alt?: 'json' | 'media' | 'proto';
4947
5431
  /** JSONP */
4948
5432
  callback?: string;
4949
5433
  /** Selector specifying which fields to include in a partial response. */
@@ -4966,11 +5450,11 @@ declare namespace gapi.client {
4966
5450
  insert(
4967
5451
  request: {
4968
5452
  /** V1 error format. */
4969
- '$.xgafv'?: string;
5453
+ '$.xgafv'?: '1' | '2';
4970
5454
  /** OAuth access token. */
4971
5455
  access_token?: string;
4972
5456
  /** Data format for response. */
4973
- alt?: string;
5457
+ alt?: 'json' | 'media' | 'proto';
4974
5458
  /** JSONP */
4975
5459
  callback?: string;
4976
5460
  /** Selector specifying which fields to include in a partial response. */
@@ -4993,11 +5477,11 @@ declare namespace gapi.client {
4993
5477
  /** Returns a list of all loyalty classes for a given issuer ID. */
4994
5478
  list(request?: {
4995
5479
  /** V1 error format. */
4996
- '$.xgafv'?: string;
5480
+ '$.xgafv'?: '1' | '2';
4997
5481
  /** OAuth access token. */
4998
5482
  access_token?: string;
4999
5483
  /** Data format for response. */
5000
- alt?: string;
5484
+ alt?: 'json' | 'media' | 'proto';
5001
5485
  /** JSONP */
5002
5486
  callback?: string;
5003
5487
  /** Selector specifying which fields to include in a partial response. */
@@ -5024,11 +5508,11 @@ declare namespace gapi.client {
5024
5508
  /** Updates the loyalty class referenced by the given class ID. This method supports patch semantics. */
5025
5509
  patch(request: {
5026
5510
  /** V1 error format. */
5027
- '$.xgafv'?: string;
5511
+ '$.xgafv'?: '1' | '2';
5028
5512
  /** OAuth access token. */
5029
5513
  access_token?: string;
5030
5514
  /** Data format for response. */
5031
- alt?: string;
5515
+ alt?: 'json' | 'media' | 'proto';
5032
5516
  /** JSONP */
5033
5517
  callback?: string;
5034
5518
  /** Selector specifying which fields to include in a partial response. */
@@ -5053,11 +5537,11 @@ declare namespace gapi.client {
5053
5537
  patch(
5054
5538
  request: {
5055
5539
  /** V1 error format. */
5056
- '$.xgafv'?: string;
5540
+ '$.xgafv'?: '1' | '2';
5057
5541
  /** OAuth access token. */
5058
5542
  access_token?: string;
5059
5543
  /** Data format for response. */
5060
- alt?: string;
5544
+ alt?: 'json' | 'media' | 'proto';
5061
5545
  /** JSONP */
5062
5546
  callback?: string;
5063
5547
  /** Selector specifying which fields to include in a partial response. */
@@ -5082,11 +5566,11 @@ declare namespace gapi.client {
5082
5566
  /** Updates the loyalty class referenced by the given class ID. */
5083
5567
  update(request: {
5084
5568
  /** V1 error format. */
5085
- '$.xgafv'?: string;
5569
+ '$.xgafv'?: '1' | '2';
5086
5570
  /** OAuth access token. */
5087
5571
  access_token?: string;
5088
5572
  /** Data format for response. */
5089
- alt?: string;
5573
+ alt?: 'json' | 'media' | 'proto';
5090
5574
  /** JSONP */
5091
5575
  callback?: string;
5092
5576
  /** Selector specifying which fields to include in a partial response. */
@@ -5111,11 +5595,11 @@ declare namespace gapi.client {
5111
5595
  update(
5112
5596
  request: {
5113
5597
  /** V1 error format. */
5114
- '$.xgafv'?: string;
5598
+ '$.xgafv'?: '1' | '2';
5115
5599
  /** OAuth access token. */
5116
5600
  access_token?: string;
5117
5601
  /** Data format for response. */
5118
- alt?: string;
5602
+ alt?: 'json' | 'media' | 'proto';
5119
5603
  /** JSONP */
5120
5604
  callback?: string;
5121
5605
  /** Selector specifying which fields to include in a partial response. */
@@ -5142,11 +5626,11 @@ declare namespace gapi.client {
5142
5626
  /** Adds a message to the loyalty object referenced by the given object ID. */
5143
5627
  addmessage(request: {
5144
5628
  /** V1 error format. */
5145
- '$.xgafv'?: string;
5629
+ '$.xgafv'?: '1' | '2';
5146
5630
  /** OAuth access token. */
5147
5631
  access_token?: string;
5148
5632
  /** Data format for response. */
5149
- alt?: string;
5633
+ alt?: 'json' | 'media' | 'proto';
5150
5634
  /** JSONP */
5151
5635
  callback?: string;
5152
5636
  /** Selector specifying which fields to include in a partial response. */
@@ -5171,11 +5655,11 @@ declare namespace gapi.client {
5171
5655
  addmessage(
5172
5656
  request: {
5173
5657
  /** V1 error format. */
5174
- '$.xgafv'?: string;
5658
+ '$.xgafv'?: '1' | '2';
5175
5659
  /** OAuth access token. */
5176
5660
  access_token?: string;
5177
5661
  /** Data format for response. */
5178
- alt?: string;
5662
+ alt?: 'json' | 'media' | 'proto';
5179
5663
  /** JSONP */
5180
5664
  callback?: string;
5181
5665
  /** Selector specifying which fields to include in a partial response. */
@@ -5200,11 +5684,11 @@ declare namespace gapi.client {
5200
5684
  /** Returns the loyalty object with the given object ID. */
5201
5685
  get(request?: {
5202
5686
  /** V1 error format. */
5203
- '$.xgafv'?: string;
5687
+ '$.xgafv'?: '1' | '2';
5204
5688
  /** OAuth access token. */
5205
5689
  access_token?: string;
5206
5690
  /** Data format for response. */
5207
- alt?: string;
5691
+ alt?: 'json' | 'media' | 'proto';
5208
5692
  /** JSONP */
5209
5693
  callback?: string;
5210
5694
  /** Selector specifying which fields to include in a partial response. */
@@ -5227,11 +5711,11 @@ declare namespace gapi.client {
5227
5711
  /** Inserts an loyalty object with the given ID and properties. */
5228
5712
  insert(request: {
5229
5713
  /** V1 error format. */
5230
- '$.xgafv'?: string;
5714
+ '$.xgafv'?: '1' | '2';
5231
5715
  /** OAuth access token. */
5232
5716
  access_token?: string;
5233
5717
  /** Data format for response. */
5234
- alt?: string;
5718
+ alt?: 'json' | 'media' | 'proto';
5235
5719
  /** JSONP */
5236
5720
  callback?: string;
5237
5721
  /** Selector specifying which fields to include in a partial response. */
@@ -5254,11 +5738,11 @@ declare namespace gapi.client {
5254
5738
  insert(
5255
5739
  request: {
5256
5740
  /** V1 error format. */
5257
- '$.xgafv'?: string;
5741
+ '$.xgafv'?: '1' | '2';
5258
5742
  /** OAuth access token. */
5259
5743
  access_token?: string;
5260
5744
  /** Data format for response. */
5261
- alt?: string;
5745
+ alt?: 'json' | 'media' | 'proto';
5262
5746
  /** JSONP */
5263
5747
  callback?: string;
5264
5748
  /** Selector specifying which fields to include in a partial response. */
@@ -5281,11 +5765,11 @@ declare namespace gapi.client {
5281
5765
  /** Returns a list of all loyalty objects for a given issuer ID. */
5282
5766
  list(request?: {
5283
5767
  /** V1 error format. */
5284
- '$.xgafv'?: string;
5768
+ '$.xgafv'?: '1' | '2';
5285
5769
  /** OAuth access token. */
5286
5770
  access_token?: string;
5287
5771
  /** Data format for response. */
5288
- alt?: string;
5772
+ alt?: 'json' | 'media' | 'proto';
5289
5773
  /** JSONP */
5290
5774
  callback?: string;
5291
5775
  /** The ID of the class whose objects will be listed. */
@@ -5312,11 +5796,11 @@ declare namespace gapi.client {
5312
5796
  /** Deprecated: Use Auto Linked Passes instead. Modifies linked offer objects for the loyalty object with the given ID. */
5313
5797
  modifylinkedofferobjects(request: {
5314
5798
  /** V1 error format. */
5315
- '$.xgafv'?: string;
5799
+ '$.xgafv'?: '1' | '2';
5316
5800
  /** OAuth access token. */
5317
5801
  access_token?: string;
5318
5802
  /** Data format for response. */
5319
- alt?: string;
5803
+ alt?: 'json' | 'media' | 'proto';
5320
5804
  /** JSONP */
5321
5805
  callback?: string;
5322
5806
  /** Selector specifying which fields to include in a partial response. */
@@ -5341,11 +5825,11 @@ declare namespace gapi.client {
5341
5825
  modifylinkedofferobjects(
5342
5826
  request: {
5343
5827
  /** V1 error format. */
5344
- '$.xgafv'?: string;
5828
+ '$.xgafv'?: '1' | '2';
5345
5829
  /** OAuth access token. */
5346
5830
  access_token?: string;
5347
5831
  /** Data format for response. */
5348
- alt?: string;
5832
+ alt?: 'json' | 'media' | 'proto';
5349
5833
  /** JSONP */
5350
5834
  callback?: string;
5351
5835
  /** Selector specifying which fields to include in a partial response. */
@@ -5370,11 +5854,11 @@ declare namespace gapi.client {
5370
5854
  /** Updates the loyalty object referenced by the given object ID. This method supports patch semantics. */
5371
5855
  patch(request: {
5372
5856
  /** V1 error format. */
5373
- '$.xgafv'?: string;
5857
+ '$.xgafv'?: '1' | '2';
5374
5858
  /** OAuth access token. */
5375
5859
  access_token?: string;
5376
5860
  /** Data format for response. */
5377
- alt?: string;
5861
+ alt?: 'json' | 'media' | 'proto';
5378
5862
  /** JSONP */
5379
5863
  callback?: string;
5380
5864
  /** Selector specifying which fields to include in a partial response. */
@@ -5399,11 +5883,11 @@ declare namespace gapi.client {
5399
5883
  patch(
5400
5884
  request: {
5401
5885
  /** V1 error format. */
5402
- '$.xgafv'?: string;
5886
+ '$.xgafv'?: '1' | '2';
5403
5887
  /** OAuth access token. */
5404
5888
  access_token?: string;
5405
5889
  /** Data format for response. */
5406
- alt?: string;
5890
+ alt?: 'json' | 'media' | 'proto';
5407
5891
  /** JSONP */
5408
5892
  callback?: string;
5409
5893
  /** Selector specifying which fields to include in a partial response. */
@@ -5428,11 +5912,11 @@ declare namespace gapi.client {
5428
5912
  /** Updates the loyalty object referenced by the given object ID. */
5429
5913
  update(request: {
5430
5914
  /** V1 error format. */
5431
- '$.xgafv'?: string;
5915
+ '$.xgafv'?: '1' | '2';
5432
5916
  /** OAuth access token. */
5433
5917
  access_token?: string;
5434
5918
  /** Data format for response. */
5435
- alt?: string;
5919
+ alt?: 'json' | 'media' | 'proto';
5436
5920
  /** JSONP */
5437
5921
  callback?: string;
5438
5922
  /** Selector specifying which fields to include in a partial response. */
@@ -5457,11 +5941,11 @@ declare namespace gapi.client {
5457
5941
  update(
5458
5942
  request: {
5459
5943
  /** V1 error format. */
5460
- '$.xgafv'?: string;
5944
+ '$.xgafv'?: '1' | '2';
5461
5945
  /** OAuth access token. */
5462
5946
  access_token?: string;
5463
5947
  /** Data format for response. */
5464
- alt?: string;
5948
+ alt?: 'json' | 'media' | 'proto';
5465
5949
  /** JSONP */
5466
5950
  callback?: string;
5467
5951
  /** Selector specifying which fields to include in a partial response. */
@@ -5488,11 +5972,11 @@ declare namespace gapi.client {
5488
5972
  /** Downloads rotating barcode values for the transit object referenced by the given object ID. */
5489
5973
  download(request?: {
5490
5974
  /** V1 error format. */
5491
- '$.xgafv'?: string;
5975
+ '$.xgafv'?: '1' | '2';
5492
5976
  /** OAuth access token. */
5493
5977
  access_token?: string;
5494
5978
  /** Data format for response. */
5495
- alt?: string;
5979
+ alt?: 'json' | 'media' | 'proto';
5496
5980
  /** JSONP */
5497
5981
  callback?: string;
5498
5982
  /** Selector specifying which fields to include in a partial response. */
@@ -5515,11 +5999,11 @@ declare namespace gapi.client {
5515
5999
  /** 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
6000
  upload(request: {
5517
6001
  /** V1 error format. */
5518
- '$.xgafv'?: string;
6002
+ '$.xgafv'?: '1' | '2';
5519
6003
  /** OAuth access token. */
5520
6004
  access_token?: string;
5521
6005
  /** Data format for response. */
5522
- alt?: string;
6006
+ alt?: 'json' | 'media' | 'proto';
5523
6007
  /** JSONP */
5524
6008
  callback?: string;
5525
6009
  /** Selector specifying which fields to include in a partial response. */
@@ -5544,11 +6028,11 @@ declare namespace gapi.client {
5544
6028
  upload(
5545
6029
  request: {
5546
6030
  /** V1 error format. */
5547
- '$.xgafv'?: string;
6031
+ '$.xgafv'?: '1' | '2';
5548
6032
  /** OAuth access token. */
5549
6033
  access_token?: string;
5550
6034
  /** Data format for response. */
5551
- alt?: string;
6035
+ alt?: 'json' | 'media' | 'proto';
5552
6036
  /** JSONP */
5553
6037
  callback?: string;
5554
6038
  /** Selector specifying which fields to include in a partial response. */
@@ -5575,11 +6059,11 @@ declare namespace gapi.client {
5575
6059
  /** Adds a message to the offer class referenced by the given class ID. */
5576
6060
  addmessage(request: {
5577
6061
  /** V1 error format. */
5578
- '$.xgafv'?: string;
6062
+ '$.xgafv'?: '1' | '2';
5579
6063
  /** OAuth access token. */
5580
6064
  access_token?: string;
5581
6065
  /** Data format for response. */
5582
- alt?: string;
6066
+ alt?: 'json' | 'media' | 'proto';
5583
6067
  /** JSONP */
5584
6068
  callback?: string;
5585
6069
  /** Selector specifying which fields to include in a partial response. */
@@ -5604,11 +6088,11 @@ declare namespace gapi.client {
5604
6088
  addmessage(
5605
6089
  request: {
5606
6090
  /** V1 error format. */
5607
- '$.xgafv'?: string;
6091
+ '$.xgafv'?: '1' | '2';
5608
6092
  /** OAuth access token. */
5609
6093
  access_token?: string;
5610
6094
  /** Data format for response. */
5611
- alt?: string;
6095
+ alt?: 'json' | 'media' | 'proto';
5612
6096
  /** JSONP */
5613
6097
  callback?: string;
5614
6098
  /** Selector specifying which fields to include in a partial response. */
@@ -5633,11 +6117,11 @@ declare namespace gapi.client {
5633
6117
  /** Returns the offer class with the given class ID. */
5634
6118
  get(request?: {
5635
6119
  /** V1 error format. */
5636
- '$.xgafv'?: string;
6120
+ '$.xgafv'?: '1' | '2';
5637
6121
  /** OAuth access token. */
5638
6122
  access_token?: string;
5639
6123
  /** Data format for response. */
5640
- alt?: string;
6124
+ alt?: 'json' | 'media' | 'proto';
5641
6125
  /** JSONP */
5642
6126
  callback?: string;
5643
6127
  /** Selector specifying which fields to include in a partial response. */
@@ -5660,11 +6144,11 @@ declare namespace gapi.client {
5660
6144
  /** Inserts an offer class with the given ID and properties. */
5661
6145
  insert(request: {
5662
6146
  /** V1 error format. */
5663
- '$.xgafv'?: string;
6147
+ '$.xgafv'?: '1' | '2';
5664
6148
  /** OAuth access token. */
5665
6149
  access_token?: string;
5666
6150
  /** Data format for response. */
5667
- alt?: string;
6151
+ alt?: 'json' | 'media' | 'proto';
5668
6152
  /** JSONP */
5669
6153
  callback?: string;
5670
6154
  /** Selector specifying which fields to include in a partial response. */
@@ -5687,11 +6171,11 @@ declare namespace gapi.client {
5687
6171
  insert(
5688
6172
  request: {
5689
6173
  /** V1 error format. */
5690
- '$.xgafv'?: string;
6174
+ '$.xgafv'?: '1' | '2';
5691
6175
  /** OAuth access token. */
5692
6176
  access_token?: string;
5693
6177
  /** Data format for response. */
5694
- alt?: string;
6178
+ alt?: 'json' | 'media' | 'proto';
5695
6179
  /** JSONP */
5696
6180
  callback?: string;
5697
6181
  /** Selector specifying which fields to include in a partial response. */
@@ -5714,11 +6198,11 @@ declare namespace gapi.client {
5714
6198
  /** Returns a list of all offer classes for a given issuer ID. */
5715
6199
  list(request?: {
5716
6200
  /** V1 error format. */
5717
- '$.xgafv'?: string;
6201
+ '$.xgafv'?: '1' | '2';
5718
6202
  /** OAuth access token. */
5719
6203
  access_token?: string;
5720
6204
  /** Data format for response. */
5721
- alt?: string;
6205
+ alt?: 'json' | 'media' | 'proto';
5722
6206
  /** JSONP */
5723
6207
  callback?: string;
5724
6208
  /** Selector specifying which fields to include in a partial response. */
@@ -5745,11 +6229,11 @@ declare namespace gapi.client {
5745
6229
  /** Updates the offer class referenced by the given class ID. This method supports patch semantics. */
5746
6230
  patch(request: {
5747
6231
  /** V1 error format. */
5748
- '$.xgafv'?: string;
6232
+ '$.xgafv'?: '1' | '2';
5749
6233
  /** OAuth access token. */
5750
6234
  access_token?: string;
5751
6235
  /** Data format for response. */
5752
- alt?: string;
6236
+ alt?: 'json' | 'media' | 'proto';
5753
6237
  /** JSONP */
5754
6238
  callback?: string;
5755
6239
  /** Selector specifying which fields to include in a partial response. */
@@ -5774,11 +6258,11 @@ declare namespace gapi.client {
5774
6258
  patch(
5775
6259
  request: {
5776
6260
  /** V1 error format. */
5777
- '$.xgafv'?: string;
6261
+ '$.xgafv'?: '1' | '2';
5778
6262
  /** OAuth access token. */
5779
6263
  access_token?: string;
5780
6264
  /** Data format for response. */
5781
- alt?: string;
6265
+ alt?: 'json' | 'media' | 'proto';
5782
6266
  /** JSONP */
5783
6267
  callback?: string;
5784
6268
  /** Selector specifying which fields to include in a partial response. */
@@ -5803,11 +6287,11 @@ declare namespace gapi.client {
5803
6287
  /** Updates the offer class referenced by the given class ID. */
5804
6288
  update(request: {
5805
6289
  /** V1 error format. */
5806
- '$.xgafv'?: string;
6290
+ '$.xgafv'?: '1' | '2';
5807
6291
  /** OAuth access token. */
5808
6292
  access_token?: string;
5809
6293
  /** Data format for response. */
5810
- alt?: string;
6294
+ alt?: 'json' | 'media' | 'proto';
5811
6295
  /** JSONP */
5812
6296
  callback?: string;
5813
6297
  /** Selector specifying which fields to include in a partial response. */
@@ -5832,11 +6316,11 @@ declare namespace gapi.client {
5832
6316
  update(
5833
6317
  request: {
5834
6318
  /** V1 error format. */
5835
- '$.xgafv'?: string;
6319
+ '$.xgafv'?: '1' | '2';
5836
6320
  /** OAuth access token. */
5837
6321
  access_token?: string;
5838
6322
  /** Data format for response. */
5839
- alt?: string;
6323
+ alt?: 'json' | 'media' | 'proto';
5840
6324
  /** JSONP */
5841
6325
  callback?: string;
5842
6326
  /** Selector specifying which fields to include in a partial response. */
@@ -5863,11 +6347,11 @@ declare namespace gapi.client {
5863
6347
  /** Adds a message to the offer object referenced by the given object ID. */
5864
6348
  addmessage(request: {
5865
6349
  /** V1 error format. */
5866
- '$.xgafv'?: string;
6350
+ '$.xgafv'?: '1' | '2';
5867
6351
  /** OAuth access token. */
5868
6352
  access_token?: string;
5869
6353
  /** Data format for response. */
5870
- alt?: string;
6354
+ alt?: 'json' | 'media' | 'proto';
5871
6355
  /** JSONP */
5872
6356
  callback?: string;
5873
6357
  /** Selector specifying which fields to include in a partial response. */
@@ -5892,11 +6376,11 @@ declare namespace gapi.client {
5892
6376
  addmessage(
5893
6377
  request: {
5894
6378
  /** V1 error format. */
5895
- '$.xgafv'?: string;
6379
+ '$.xgafv'?: '1' | '2';
5896
6380
  /** OAuth access token. */
5897
6381
  access_token?: string;
5898
6382
  /** Data format for response. */
5899
- alt?: string;
6383
+ alt?: 'json' | 'media' | 'proto';
5900
6384
  /** JSONP */
5901
6385
  callback?: string;
5902
6386
  /** Selector specifying which fields to include in a partial response. */
@@ -5921,11 +6405,11 @@ declare namespace gapi.client {
5921
6405
  /** Returns the offer object with the given object ID. */
5922
6406
  get(request?: {
5923
6407
  /** V1 error format. */
5924
- '$.xgafv'?: string;
6408
+ '$.xgafv'?: '1' | '2';
5925
6409
  /** OAuth access token. */
5926
6410
  access_token?: string;
5927
6411
  /** Data format for response. */
5928
- alt?: string;
6412
+ alt?: 'json' | 'media' | 'proto';
5929
6413
  /** JSONP */
5930
6414
  callback?: string;
5931
6415
  /** Selector specifying which fields to include in a partial response. */
@@ -5948,11 +6432,11 @@ declare namespace gapi.client {
5948
6432
  /** Inserts an offer object with the given ID and properties. */
5949
6433
  insert(request: {
5950
6434
  /** V1 error format. */
5951
- '$.xgafv'?: string;
6435
+ '$.xgafv'?: '1' | '2';
5952
6436
  /** OAuth access token. */
5953
6437
  access_token?: string;
5954
6438
  /** Data format for response. */
5955
- alt?: string;
6439
+ alt?: 'json' | 'media' | 'proto';
5956
6440
  /** JSONP */
5957
6441
  callback?: string;
5958
6442
  /** Selector specifying which fields to include in a partial response. */
@@ -5975,11 +6459,11 @@ declare namespace gapi.client {
5975
6459
  insert(
5976
6460
  request: {
5977
6461
  /** V1 error format. */
5978
- '$.xgafv'?: string;
6462
+ '$.xgafv'?: '1' | '2';
5979
6463
  /** OAuth access token. */
5980
6464
  access_token?: string;
5981
6465
  /** Data format for response. */
5982
- alt?: string;
6466
+ alt?: 'json' | 'media' | 'proto';
5983
6467
  /** JSONP */
5984
6468
  callback?: string;
5985
6469
  /** Selector specifying which fields to include in a partial response. */
@@ -6002,11 +6486,11 @@ declare namespace gapi.client {
6002
6486
  /** Returns a list of all offer objects for a given issuer ID. */
6003
6487
  list(request?: {
6004
6488
  /** V1 error format. */
6005
- '$.xgafv'?: string;
6489
+ '$.xgafv'?: '1' | '2';
6006
6490
  /** OAuth access token. */
6007
6491
  access_token?: string;
6008
6492
  /** Data format for response. */
6009
- alt?: string;
6493
+ alt?: 'json' | 'media' | 'proto';
6010
6494
  /** JSONP */
6011
6495
  callback?: string;
6012
6496
  /** The ID of the class whose objects will be listed. */
@@ -6033,11 +6517,11 @@ declare namespace gapi.client {
6033
6517
  /** Updates the offer object referenced by the given object ID. This method supports patch semantics. */
6034
6518
  patch(request: {
6035
6519
  /** V1 error format. */
6036
- '$.xgafv'?: string;
6520
+ '$.xgafv'?: '1' | '2';
6037
6521
  /** OAuth access token. */
6038
6522
  access_token?: string;
6039
6523
  /** Data format for response. */
6040
- alt?: string;
6524
+ alt?: 'json' | 'media' | 'proto';
6041
6525
  /** JSONP */
6042
6526
  callback?: string;
6043
6527
  /** Selector specifying which fields to include in a partial response. */
@@ -6062,11 +6546,11 @@ declare namespace gapi.client {
6062
6546
  patch(
6063
6547
  request: {
6064
6548
  /** V1 error format. */
6065
- '$.xgafv'?: string;
6549
+ '$.xgafv'?: '1' | '2';
6066
6550
  /** OAuth access token. */
6067
6551
  access_token?: string;
6068
6552
  /** Data format for response. */
6069
- alt?: string;
6553
+ alt?: 'json' | 'media' | 'proto';
6070
6554
  /** JSONP */
6071
6555
  callback?: string;
6072
6556
  /** Selector specifying which fields to include in a partial response. */
@@ -6091,11 +6575,11 @@ declare namespace gapi.client {
6091
6575
  /** Updates the offer object referenced by the given object ID. */
6092
6576
  update(request: {
6093
6577
  /** V1 error format. */
6094
- '$.xgafv'?: string;
6578
+ '$.xgafv'?: '1' | '2';
6095
6579
  /** OAuth access token. */
6096
6580
  access_token?: string;
6097
6581
  /** Data format for response. */
6098
- alt?: string;
6582
+ alt?: 'json' | 'media' | 'proto';
6099
6583
  /** JSONP */
6100
6584
  callback?: string;
6101
6585
  /** Selector specifying which fields to include in a partial response. */
@@ -6120,11 +6604,11 @@ declare namespace gapi.client {
6120
6604
  update(
6121
6605
  request: {
6122
6606
  /** V1 error format. */
6123
- '$.xgafv'?: string;
6607
+ '$.xgafv'?: '1' | '2';
6124
6608
  /** OAuth access token. */
6125
6609
  access_token?: string;
6126
6610
  /** Data format for response. */
6127
- alt?: string;
6611
+ alt?: 'json' | 'media' | 'proto';
6128
6612
  /** JSONP */
6129
6613
  callback?: string;
6130
6614
  /** Selector specifying which fields to include in a partial response. */
@@ -6151,11 +6635,11 @@ declare namespace gapi.client {
6151
6635
  /** Returns the permissions for the given issuer id. */
6152
6636
  get(request?: {
6153
6637
  /** V1 error format. */
6154
- '$.xgafv'?: string;
6638
+ '$.xgafv'?: '1' | '2';
6155
6639
  /** OAuth access token. */
6156
6640
  access_token?: string;
6157
6641
  /** Data format for response. */
6158
- alt?: string;
6642
+ alt?: 'json' | 'media' | 'proto';
6159
6643
  /** JSONP */
6160
6644
  callback?: string;
6161
6645
  /** Selector specifying which fields to include in a partial response. */
@@ -6178,11 +6662,11 @@ declare namespace gapi.client {
6178
6662
  /** Updates the permissions for the given issuer. */
6179
6663
  update(request: {
6180
6664
  /** V1 error format. */
6181
- '$.xgafv'?: string;
6665
+ '$.xgafv'?: '1' | '2';
6182
6666
  /** OAuth access token. */
6183
6667
  access_token?: string;
6184
6668
  /** Data format for response. */
6185
- alt?: string;
6669
+ alt?: 'json' | 'media' | 'proto';
6186
6670
  /** JSONP */
6187
6671
  callback?: string;
6188
6672
  /** Selector specifying which fields to include in a partial response. */
@@ -6207,11 +6691,11 @@ declare namespace gapi.client {
6207
6691
  update(
6208
6692
  request: {
6209
6693
  /** V1 error format. */
6210
- '$.xgafv'?: string;
6694
+ '$.xgafv'?: '1' | '2';
6211
6695
  /** OAuth access token. */
6212
6696
  access_token?: string;
6213
6697
  /** Data format for response. */
6214
- alt?: string;
6698
+ alt?: 'json' | 'media' | 'proto';
6215
6699
  /** JSONP */
6216
6700
  callback?: string;
6217
6701
  /** Selector specifying which fields to include in a partial response. */
@@ -6238,11 +6722,11 @@ declare namespace gapi.client {
6238
6722
  /** Inserts the smart tap. */
6239
6723
  insert(request: {
6240
6724
  /** V1 error format. */
6241
- '$.xgafv'?: string;
6725
+ '$.xgafv'?: '1' | '2';
6242
6726
  /** OAuth access token. */
6243
6727
  access_token?: string;
6244
6728
  /** Data format for response. */
6245
- alt?: string;
6729
+ alt?: 'json' | 'media' | 'proto';
6246
6730
  /** JSONP */
6247
6731
  callback?: string;
6248
6732
  /** Selector specifying which fields to include in a partial response. */
@@ -6265,11 +6749,11 @@ declare namespace gapi.client {
6265
6749
  insert(
6266
6750
  request: {
6267
6751
  /** V1 error format. */
6268
- '$.xgafv'?: string;
6752
+ '$.xgafv'?: '1' | '2';
6269
6753
  /** OAuth access token. */
6270
6754
  access_token?: string;
6271
6755
  /** Data format for response. */
6272
- alt?: string;
6756
+ alt?: 'json' | 'media' | 'proto';
6273
6757
  /** JSONP */
6274
6758
  callback?: string;
6275
6759
  /** Selector specifying which fields to include in a partial response. */
@@ -6294,11 +6778,11 @@ declare namespace gapi.client {
6294
6778
  /** Adds a message to the transit class referenced by the given class ID. */
6295
6779
  addmessage(request: {
6296
6780
  /** V1 error format. */
6297
- '$.xgafv'?: string;
6781
+ '$.xgafv'?: '1' | '2';
6298
6782
  /** OAuth access token. */
6299
6783
  access_token?: string;
6300
6784
  /** Data format for response. */
6301
- alt?: string;
6785
+ alt?: 'json' | 'media' | 'proto';
6302
6786
  /** JSONP */
6303
6787
  callback?: string;
6304
6788
  /** Selector specifying which fields to include in a partial response. */
@@ -6323,11 +6807,11 @@ declare namespace gapi.client {
6323
6807
  addmessage(
6324
6808
  request: {
6325
6809
  /** V1 error format. */
6326
- '$.xgafv'?: string;
6810
+ '$.xgafv'?: '1' | '2';
6327
6811
  /** OAuth access token. */
6328
6812
  access_token?: string;
6329
6813
  /** Data format for response. */
6330
- alt?: string;
6814
+ alt?: 'json' | 'media' | 'proto';
6331
6815
  /** JSONP */
6332
6816
  callback?: string;
6333
6817
  /** Selector specifying which fields to include in a partial response. */
@@ -6352,11 +6836,11 @@ declare namespace gapi.client {
6352
6836
  /** Returns the transit class with the given class ID. */
6353
6837
  get(request?: {
6354
6838
  /** V1 error format. */
6355
- '$.xgafv'?: string;
6839
+ '$.xgafv'?: '1' | '2';
6356
6840
  /** OAuth access token. */
6357
6841
  access_token?: string;
6358
6842
  /** Data format for response. */
6359
- alt?: string;
6843
+ alt?: 'json' | 'media' | 'proto';
6360
6844
  /** JSONP */
6361
6845
  callback?: string;
6362
6846
  /** Selector specifying which fields to include in a partial response. */
@@ -6379,11 +6863,11 @@ declare namespace gapi.client {
6379
6863
  /** Inserts a transit class with the given ID and properties. */
6380
6864
  insert(request: {
6381
6865
  /** V1 error format. */
6382
- '$.xgafv'?: string;
6866
+ '$.xgafv'?: '1' | '2';
6383
6867
  /** OAuth access token. */
6384
6868
  access_token?: string;
6385
6869
  /** Data format for response. */
6386
- alt?: string;
6870
+ alt?: 'json' | 'media' | 'proto';
6387
6871
  /** JSONP */
6388
6872
  callback?: string;
6389
6873
  /** Selector specifying which fields to include in a partial response. */
@@ -6406,11 +6890,11 @@ declare namespace gapi.client {
6406
6890
  insert(
6407
6891
  request: {
6408
6892
  /** V1 error format. */
6409
- '$.xgafv'?: string;
6893
+ '$.xgafv'?: '1' | '2';
6410
6894
  /** OAuth access token. */
6411
6895
  access_token?: string;
6412
6896
  /** Data format for response. */
6413
- alt?: string;
6897
+ alt?: 'json' | 'media' | 'proto';
6414
6898
  /** JSONP */
6415
6899
  callback?: string;
6416
6900
  /** Selector specifying which fields to include in a partial response. */
@@ -6433,11 +6917,11 @@ declare namespace gapi.client {
6433
6917
  /** Returns a list of all transit classes for a given issuer ID. */
6434
6918
  list(request?: {
6435
6919
  /** V1 error format. */
6436
- '$.xgafv'?: string;
6920
+ '$.xgafv'?: '1' | '2';
6437
6921
  /** OAuth access token. */
6438
6922
  access_token?: string;
6439
6923
  /** Data format for response. */
6440
- alt?: string;
6924
+ alt?: 'json' | 'media' | 'proto';
6441
6925
  /** JSONP */
6442
6926
  callback?: string;
6443
6927
  /** Selector specifying which fields to include in a partial response. */
@@ -6464,11 +6948,11 @@ declare namespace gapi.client {
6464
6948
  /** Updates the transit class referenced by the given class ID. This method supports patch semantics. */
6465
6949
  patch(request: {
6466
6950
  /** V1 error format. */
6467
- '$.xgafv'?: string;
6951
+ '$.xgafv'?: '1' | '2';
6468
6952
  /** OAuth access token. */
6469
6953
  access_token?: string;
6470
6954
  /** Data format for response. */
6471
- alt?: string;
6955
+ alt?: 'json' | 'media' | 'proto';
6472
6956
  /** JSONP */
6473
6957
  callback?: string;
6474
6958
  /** Selector specifying which fields to include in a partial response. */
@@ -6493,11 +6977,11 @@ declare namespace gapi.client {
6493
6977
  patch(
6494
6978
  request: {
6495
6979
  /** V1 error format. */
6496
- '$.xgafv'?: string;
6980
+ '$.xgafv'?: '1' | '2';
6497
6981
  /** OAuth access token. */
6498
6982
  access_token?: string;
6499
6983
  /** Data format for response. */
6500
- alt?: string;
6984
+ alt?: 'json' | 'media' | 'proto';
6501
6985
  /** JSONP */
6502
6986
  callback?: string;
6503
6987
  /** Selector specifying which fields to include in a partial response. */
@@ -6522,11 +7006,11 @@ declare namespace gapi.client {
6522
7006
  /** Updates the transit class referenced by the given class ID. */
6523
7007
  update(request: {
6524
7008
  /** V1 error format. */
6525
- '$.xgafv'?: string;
7009
+ '$.xgafv'?: '1' | '2';
6526
7010
  /** OAuth access token. */
6527
7011
  access_token?: string;
6528
7012
  /** Data format for response. */
6529
- alt?: string;
7013
+ alt?: 'json' | 'media' | 'proto';
6530
7014
  /** JSONP */
6531
7015
  callback?: string;
6532
7016
  /** Selector specifying which fields to include in a partial response. */
@@ -6551,11 +7035,11 @@ declare namespace gapi.client {
6551
7035
  update(
6552
7036
  request: {
6553
7037
  /** V1 error format. */
6554
- '$.xgafv'?: string;
7038
+ '$.xgafv'?: '1' | '2';
6555
7039
  /** OAuth access token. */
6556
7040
  access_token?: string;
6557
7041
  /** Data format for response. */
6558
- alt?: string;
7042
+ alt?: 'json' | 'media' | 'proto';
6559
7043
  /** JSONP */
6560
7044
  callback?: string;
6561
7045
  /** Selector specifying which fields to include in a partial response. */
@@ -6582,11 +7066,11 @@ declare namespace gapi.client {
6582
7066
  /** Adds a message to the transit object referenced by the given object ID. */
6583
7067
  addmessage(request: {
6584
7068
  /** V1 error format. */
6585
- '$.xgafv'?: string;
7069
+ '$.xgafv'?: '1' | '2';
6586
7070
  /** OAuth access token. */
6587
7071
  access_token?: string;
6588
7072
  /** Data format for response. */
6589
- alt?: string;
7073
+ alt?: 'json' | 'media' | 'proto';
6590
7074
  /** JSONP */
6591
7075
  callback?: string;
6592
7076
  /** Selector specifying which fields to include in a partial response. */
@@ -6611,11 +7095,11 @@ declare namespace gapi.client {
6611
7095
  addmessage(
6612
7096
  request: {
6613
7097
  /** V1 error format. */
6614
- '$.xgafv'?: string;
7098
+ '$.xgafv'?: '1' | '2';
6615
7099
  /** OAuth access token. */
6616
7100
  access_token?: string;
6617
7101
  /** Data format for response. */
6618
- alt?: string;
7102
+ alt?: 'json' | 'media' | 'proto';
6619
7103
  /** JSONP */
6620
7104
  callback?: string;
6621
7105
  /** Selector specifying which fields to include in a partial response. */
@@ -6640,11 +7124,11 @@ declare namespace gapi.client {
6640
7124
  /** Returns the transit object with the given object ID. */
6641
7125
  get(request?: {
6642
7126
  /** V1 error format. */
6643
- '$.xgafv'?: string;
7127
+ '$.xgafv'?: '1' | '2';
6644
7128
  /** OAuth access token. */
6645
7129
  access_token?: string;
6646
7130
  /** Data format for response. */
6647
- alt?: string;
7131
+ alt?: 'json' | 'media' | 'proto';
6648
7132
  /** JSONP */
6649
7133
  callback?: string;
6650
7134
  /** Selector specifying which fields to include in a partial response. */
@@ -6667,11 +7151,11 @@ declare namespace gapi.client {
6667
7151
  /** Inserts an transit object with the given ID and properties. */
6668
7152
  insert(request: {
6669
7153
  /** V1 error format. */
6670
- '$.xgafv'?: string;
7154
+ '$.xgafv'?: '1' | '2';
6671
7155
  /** OAuth access token. */
6672
7156
  access_token?: string;
6673
7157
  /** Data format for response. */
6674
- alt?: string;
7158
+ alt?: 'json' | 'media' | 'proto';
6675
7159
  /** JSONP */
6676
7160
  callback?: string;
6677
7161
  /** Selector specifying which fields to include in a partial response. */
@@ -6694,11 +7178,11 @@ declare namespace gapi.client {
6694
7178
  insert(
6695
7179
  request: {
6696
7180
  /** V1 error format. */
6697
- '$.xgafv'?: string;
7181
+ '$.xgafv'?: '1' | '2';
6698
7182
  /** OAuth access token. */
6699
7183
  access_token?: string;
6700
7184
  /** Data format for response. */
6701
- alt?: string;
7185
+ alt?: 'json' | 'media' | 'proto';
6702
7186
  /** JSONP */
6703
7187
  callback?: string;
6704
7188
  /** Selector specifying which fields to include in a partial response. */
@@ -6721,11 +7205,11 @@ declare namespace gapi.client {
6721
7205
  /** Returns a list of all transit objects for a given issuer ID. */
6722
7206
  list(request?: {
6723
7207
  /** V1 error format. */
6724
- '$.xgafv'?: string;
7208
+ '$.xgafv'?: '1' | '2';
6725
7209
  /** OAuth access token. */
6726
7210
  access_token?: string;
6727
7211
  /** Data format for response. */
6728
- alt?: string;
7212
+ alt?: 'json' | 'media' | 'proto';
6729
7213
  /** JSONP */
6730
7214
  callback?: string;
6731
7215
  /** The ID of the class whose objects will be listed. */
@@ -6752,11 +7236,11 @@ declare namespace gapi.client {
6752
7236
  /** Updates the transit object referenced by the given object ID. This method supports patch semantics. */
6753
7237
  patch(request: {
6754
7238
  /** V1 error format. */
6755
- '$.xgafv'?: string;
7239
+ '$.xgafv'?: '1' | '2';
6756
7240
  /** OAuth access token. */
6757
7241
  access_token?: string;
6758
7242
  /** Data format for response. */
6759
- alt?: string;
7243
+ alt?: 'json' | 'media' | 'proto';
6760
7244
  /** JSONP */
6761
7245
  callback?: string;
6762
7246
  /** Selector specifying which fields to include in a partial response. */
@@ -6781,11 +7265,11 @@ declare namespace gapi.client {
6781
7265
  patch(
6782
7266
  request: {
6783
7267
  /** V1 error format. */
6784
- '$.xgafv'?: string;
7268
+ '$.xgafv'?: '1' | '2';
6785
7269
  /** OAuth access token. */
6786
7270
  access_token?: string;
6787
7271
  /** Data format for response. */
6788
- alt?: string;
7272
+ alt?: 'json' | 'media' | 'proto';
6789
7273
  /** JSONP */
6790
7274
  callback?: string;
6791
7275
  /** Selector specifying which fields to include in a partial response. */
@@ -6810,11 +7294,11 @@ declare namespace gapi.client {
6810
7294
  /** Updates the transit object referenced by the given object ID. */
6811
7295
  update(request: {
6812
7296
  /** V1 error format. */
6813
- '$.xgafv'?: string;
7297
+ '$.xgafv'?: '1' | '2';
6814
7298
  /** OAuth access token. */
6815
7299
  access_token?: string;
6816
7300
  /** Data format for response. */
6817
- alt?: string;
7301
+ alt?: 'json' | 'media' | 'proto';
6818
7302
  /** JSONP */
6819
7303
  callback?: string;
6820
7304
  /** Selector specifying which fields to include in a partial response. */
@@ -6839,11 +7323,11 @@ declare namespace gapi.client {
6839
7323
  update(
6840
7324
  request: {
6841
7325
  /** V1 error format. */
6842
- '$.xgafv'?: string;
7326
+ '$.xgafv'?: '1' | '2';
6843
7327
  /** OAuth access token. */
6844
7328
  access_token?: string;
6845
7329
  /** Data format for response. */
6846
- alt?: string;
7330
+ alt?: 'json' | 'media' | 'proto';
6847
7331
  /** JSONP */
6848
7332
  callback?: string;
6849
7333
  /** Selector specifying which fields to include in a partial response. */
@@ -6870,11 +7354,11 @@ declare namespace gapi.client {
6870
7354
  /** 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
7355
  setPassUpdateNotice(request: {
6872
7356
  /** V1 error format. */
6873
- '$.xgafv'?: string;
7357
+ '$.xgafv'?: '1' | '2';
6874
7358
  /** OAuth access token. */
6875
7359
  access_token?: string;
6876
7360
  /** Data format for response. */
6877
- alt?: string;
7361
+ alt?: 'json' | 'media' | 'proto';
6878
7362
  /** JSONP */
6879
7363
  callback?: string;
6880
7364
  /** Selector specifying which fields to include in a partial response. */
@@ -6897,11 +7381,11 @@ declare namespace gapi.client {
6897
7381
  setPassUpdateNotice(
6898
7382
  request: {
6899
7383
  /** V1 error format. */
6900
- '$.xgafv'?: string;
7384
+ '$.xgafv'?: '1' | '2';
6901
7385
  /** OAuth access token. */
6902
7386
  access_token?: string;
6903
7387
  /** Data format for response. */
6904
- alt?: string;
7388
+ alt?: 'json' | 'media' | 'proto';
6905
7389
  /** JSONP */
6906
7390
  callback?: string;
6907
7391
  /** Selector specifying which fields to include in a partial response. */