Skip to content

Commit

Permalink
feat(walletobjects): update the api
Browse files Browse the repository at this point in the history
#### walletobjects:v1

The following keys were added:
- schemas.EventTicketObject.properties.saveRestrictions.$ref (Total Keys: 1)
- schemas.FlightObject.properties.saveRestrictions.$ref (Total Keys: 1)
- schemas.GenericObject.properties.saveRestrictions.$ref (Total Keys: 1)
- schemas.GiftCardObject.properties.saveRestrictions.$ref (Total Keys: 1)
- schemas.LoyaltyObject.properties.saveRestrictions.$ref (Total Keys: 1)
- schemas.OfferObject.properties.saveRestrictions.$ref (Total Keys: 1)
- schemas.SaveRestrictions (Total Keys: 3)
- schemas.TransitObject.properties.saveRestrictions.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jul 25, 2024
1 parent 5dce2c4 commit a7863fd
Show file tree
Hide file tree
Showing 10 changed files with 340 additions and 85 deletions.
30 changes: 30 additions & 0 deletions docs/dyn/walletobjects_v1.eventticketobject.html

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions docs/dyn/walletobjects_v1.flightclass.html

Large diffs are not rendered by default.

99 changes: 63 additions & 36 deletions docs/dyn/walletobjects_v1.flightobject.html

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions docs/dyn/walletobjects_v1.genericobject.html

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions docs/dyn/walletobjects_v1.giftcardobject.html

Large diffs are not rendered by default.

37 changes: 29 additions & 8 deletions docs/dyn/walletobjects_v1.jwt.html

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions docs/dyn/walletobjects_v1.loyaltyobject.html

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions docs/dyn/walletobjects_v1.offerobject.html

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions docs/dyn/walletobjects_v1.transitobject.html

Large diffs are not rendered by default.

49 changes: 44 additions & 5 deletions googleapiclient/discovery_cache/documents/walletobjects.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@
}
}
},
"revision": "20240708",
"revision": "20240723",
"rootUrl": "https://walletobjects.googleapis.com/",
"schemas": {
"ActivationOptions": {
Expand Down Expand Up @@ -4244,6 +4244,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode type and value."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"seatInfo": {
"$ref": "EventSeat",
"description": "Seating details for this ticket."
Expand Down Expand Up @@ -4662,23 +4666,23 @@ true
"description": "Links module data. If links module data is also defined on the object, both will be displayed."
},
"localBoardingDateTime": {
"description": "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. If this is not set, Google will set it based on data from other sources.",
"description": "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.",
"type": "string"
},
"localEstimatedOrActualArrivalDateTime": {
"description": "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. If this is not set, Google will set it based on data from other sources.",
"description": "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.",
"type": "string"
},
"localEstimatedOrActualDepartureDateTime": {
"description": "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. If this is not set, Google will set it based on data from other sources.",
"description": "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.",
"type": "string"
},
"localGateClosingDateTime": {
"description": "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.",
"type": "string"
},
"localScheduledArrivalDateTime": {
"description": "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. If this is not set, Google will set it based on data from other sources.",
"description": "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.",
"type": "string"
},
"localScheduledDepartureDateTime": {
Expand Down Expand Up @@ -4985,6 +4989,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode type and value."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"securityProgramLogo": {
"$ref": "Image",
"description": "An image for the security program that applies to the passenger."
Expand Down Expand Up @@ -5339,6 +5347,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode settings/details."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"smartTapRedemptionValue": {
"description": "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.",
"type": "string"
Expand Down Expand Up @@ -5813,6 +5825,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode type and value."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"smartTapRedemptionValue": {
"description": "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.",
"type": "string"
Expand Down Expand Up @@ -6637,6 +6653,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode type and value."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"secondaryLoyaltyPoints": {
"$ref": "LoyaltyPoints",
"description": "The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points."
Expand Down Expand Up @@ -7563,6 +7583,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode type and value."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"smartTapRedemptionValue": {
"description": "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.",
"type": "string"
Expand Down Expand Up @@ -8132,6 +8156,17 @@ true
},
"type": "object"
},
"SaveRestrictions": {
"description": "Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support.",
"id": "SaveRestrictions",
"properties": {
"restrictToEmailSha256": {
"description": "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 [email protected], this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for [email protected], 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.",
"type": "string"
}
},
"type": "object"
},
"SecurityAnimation": {
"id": "SecurityAnimation",
"properties": {
Expand Down Expand Up @@ -8994,6 +9029,10 @@ true
"$ref": "RotatingBarcode",
"description": "The rotating barcode type and value."
},
"saveRestrictions": {
"$ref": "SaveRestrictions",
"description": "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."
},
"smartTapRedemptionValue": {
"description": "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.",
"type": "string"
Expand Down

0 comments on commit a7863fd

Please sign in to comment.