@maxim_mazurok/gapi.client.walletobjects-v1 0.0.20240719 → 0.0.20240723
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +23 -5
- 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:
|
|
12
|
+
// Revision: 20240723
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -483,6 +483,8 @@ declare namespace gapi.client {
|
|
|
483
483
|
reservationInfo?: EventReservationInfo;
|
|
484
484
|
/** The rotating barcode type and value. */
|
|
485
485
|
rotatingBarcode?: RotatingBarcode;
|
|
486
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
487
|
+
saveRestrictions?: SaveRestrictions;
|
|
486
488
|
/** Seating details for this ticket. */
|
|
487
489
|
seatInfo?: EventSeat;
|
|
488
490
|
/** 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. */
|
|
@@ -596,17 +598,17 @@ declare namespace gapi.client {
|
|
|
596
598
|
languageOverride?: string;
|
|
597
599
|
/** Links module data. If links module data is also defined on the object, both will be displayed. */
|
|
598
600
|
linksModuleData?: LinksModuleData;
|
|
599
|
-
/** The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.
|
|
601
|
+
/** The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. */
|
|
600
602
|
localBoardingDateTime?: string;
|
|
601
|
-
/** The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport.
|
|
603
|
+
/** The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. */
|
|
602
604
|
localEstimatedOrActualArrivalDateTime?: string;
|
|
603
|
-
/** The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.
|
|
605
|
+
/** The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. */
|
|
604
606
|
localEstimatedOrActualDepartureDateTime?: string;
|
|
605
607
|
/** The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. */
|
|
606
608
|
localGateClosingDateTime?: string;
|
|
607
609
|
/** Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. */
|
|
608
610
|
localizedIssuerName?: LocalizedString;
|
|
609
|
-
/** The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport.
|
|
611
|
+
/** The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. */
|
|
610
612
|
localScheduledArrivalDateTime?: string;
|
|
611
613
|
/** Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. */
|
|
612
614
|
localScheduledDepartureDateTime?: string;
|
|
@@ -704,6 +706,8 @@ declare namespace gapi.client {
|
|
|
704
706
|
reservationInfo?: ReservationInfo;
|
|
705
707
|
/** The rotating barcode type and value. */
|
|
706
708
|
rotatingBarcode?: RotatingBarcode;
|
|
709
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
710
|
+
saveRestrictions?: SaveRestrictions;
|
|
707
711
|
/** An image for the security program that applies to the passenger. */
|
|
708
712
|
securityProgramLogo?: Image;
|
|
709
713
|
/** 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. */
|
|
@@ -808,6 +812,8 @@ declare namespace gapi.client {
|
|
|
808
812
|
passConstraints?: PassConstraints;
|
|
809
813
|
/** The rotating barcode settings/details. */
|
|
810
814
|
rotatingBarcode?: RotatingBarcode;
|
|
815
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
816
|
+
saveRestrictions?: SaveRestrictions;
|
|
811
817
|
/** 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. */
|
|
812
818
|
smartTapRedemptionValue?: string;
|
|
813
819
|
/** 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`. */
|
|
@@ -966,6 +972,8 @@ declare namespace gapi.client {
|
|
|
966
972
|
pin?: string;
|
|
967
973
|
/** The rotating barcode type and value. */
|
|
968
974
|
rotatingBarcode?: RotatingBarcode;
|
|
975
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
976
|
+
saveRestrictions?: SaveRestrictions;
|
|
969
977
|
/** 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. */
|
|
970
978
|
smartTapRedemptionValue?: string;
|
|
971
979
|
/** 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. */
|
|
@@ -1253,6 +1261,8 @@ declare namespace gapi.client {
|
|
|
1253
1261
|
passConstraints?: PassConstraints;
|
|
1254
1262
|
/** The rotating barcode type and value. */
|
|
1255
1263
|
rotatingBarcode?: RotatingBarcode;
|
|
1264
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
1265
|
+
saveRestrictions?: SaveRestrictions;
|
|
1256
1266
|
/** The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. */
|
|
1257
1267
|
secondaryLoyaltyPoints?: LoyaltyPoints;
|
|
1258
1268
|
/** 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. */
|
|
@@ -1557,6 +1567,8 @@ declare namespace gapi.client {
|
|
|
1557
1567
|
passConstraints?: PassConstraints;
|
|
1558
1568
|
/** The rotating barcode type and value. */
|
|
1559
1569
|
rotatingBarcode?: RotatingBarcode;
|
|
1570
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
1571
|
+
saveRestrictions?: SaveRestrictions;
|
|
1560
1572
|
/** 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. */
|
|
1561
1573
|
smartTapRedemptionValue?: string;
|
|
1562
1574
|
/** 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. */
|
|
@@ -1697,6 +1709,10 @@ declare namespace gapi.client {
|
|
|
1697
1709
|
/** Required. The values to encode in the barcode. At least one value is required. */
|
|
1698
1710
|
values?: string[];
|
|
1699
1711
|
}
|
|
1712
|
+
interface SaveRestrictions {
|
|
1713
|
+
/** Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like "." or "+", except "@". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions. */
|
|
1714
|
+
restrictToEmailSha256?: string;
|
|
1715
|
+
}
|
|
1700
1716
|
interface SecurityAnimation {
|
|
1701
1717
|
/** Type of animation. */
|
|
1702
1718
|
animationType?: string;
|
|
@@ -1980,6 +1996,8 @@ declare namespace gapi.client {
|
|
|
1980
1996
|
purchaseDetails?: PurchaseDetails;
|
|
1981
1997
|
/** The rotating barcode type and value. */
|
|
1982
1998
|
rotatingBarcode?: RotatingBarcode;
|
|
1999
|
+
/** Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass. */
|
|
2000
|
+
saveRestrictions?: SaveRestrictions;
|
|
1983
2001
|
/** 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. */
|
|
1984
2002
|
smartTapRedemptionValue?: string;
|
|
1985
2003
|
/** 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. */
|