@maxim_mazurok/gapi.client.walletobjects-v1 0.0.20241118 → 0.0.20241120
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 +35 -1
- 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: 20241120
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -399,6 +399,8 @@ declare namespace gapi.client {
|
|
|
399
399
|
locations?: LatLongPoint[];
|
|
400
400
|
/** The logo image of the ticket. This image is displayed in the card detail view of the app. */
|
|
401
401
|
logo?: Image;
|
|
402
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
403
|
+
merchantLocations?: MerchantLocation[];
|
|
402
404
|
/** 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. */
|
|
403
405
|
messages?: Message[];
|
|
404
406
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
@@ -483,6 +485,8 @@ declare namespace gapi.client {
|
|
|
483
485
|
linksModuleData?: LinksModuleData;
|
|
484
486
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
485
487
|
locations?: LatLongPoint[];
|
|
488
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
489
|
+
merchantLocations?: MerchantLocation[];
|
|
486
490
|
/** 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. */
|
|
487
491
|
messages?: Message[];
|
|
488
492
|
/** 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. */
|
|
@@ -626,6 +630,8 @@ declare namespace gapi.client {
|
|
|
626
630
|
localScheduledDepartureDateTime?: string;
|
|
627
631
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
628
632
|
locations?: LatLongPoint[];
|
|
633
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected by the validator. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
634
|
+
merchantLocations?: MerchantLocation[];
|
|
629
635
|
/** 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. */
|
|
630
636
|
messages?: Message[];
|
|
631
637
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
@@ -714,6 +720,8 @@ declare namespace gapi.client {
|
|
|
714
720
|
linksModuleData?: LinksModuleData;
|
|
715
721
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
716
722
|
locations?: LatLongPoint[];
|
|
723
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
724
|
+
merchantLocations?: MerchantLocation[];
|
|
717
725
|
/** 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. */
|
|
718
726
|
messages?: Message[];
|
|
719
727
|
/** 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. */
|
|
@@ -776,6 +784,8 @@ declare namespace gapi.client {
|
|
|
776
784
|
imageModulesData?: ImageModuleData[];
|
|
777
785
|
/** Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object. */
|
|
778
786
|
linksModuleData?: LinksModuleData;
|
|
787
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
788
|
+
merchantLocations?: MerchantLocation[];
|
|
779
789
|
/** 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. */
|
|
780
790
|
messages?: Message[];
|
|
781
791
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
@@ -832,6 +842,8 @@ declare namespace gapi.client {
|
|
|
832
842
|
linksModuleData?: LinksModuleData;
|
|
833
843
|
/** The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo. */
|
|
834
844
|
logo?: Image;
|
|
845
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
846
|
+
merchantLocations?: MerchantLocation[];
|
|
835
847
|
/** 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. */
|
|
836
848
|
messages?: Message[];
|
|
837
849
|
/** The notification settings that are enabled for this object. */
|
|
@@ -916,6 +928,8 @@ declare namespace gapi.client {
|
|
|
916
928
|
localizedPinLabel?: LocalizedString;
|
|
917
929
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
918
930
|
locations?: LatLongPoint[];
|
|
931
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
932
|
+
merchantLocations?: MerchantLocation[];
|
|
919
933
|
/** Merchant 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. */
|
|
920
934
|
merchantName?: string;
|
|
921
935
|
/** 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. */
|
|
@@ -1000,6 +1014,8 @@ declare namespace gapi.client {
|
|
|
1000
1014
|
linksModuleData?: LinksModuleData;
|
|
1001
1015
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
1002
1016
|
locations?: LatLongPoint[];
|
|
1017
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
1018
|
+
merchantLocations?: MerchantLocation[];
|
|
1003
1019
|
/** 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. */
|
|
1004
1020
|
messages?: Message[];
|
|
1005
1021
|
/** 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. */
|
|
@@ -1211,6 +1227,8 @@ declare namespace gapi.client {
|
|
|
1211
1227
|
localizedSecondaryRewardsTierLabel?: LocalizedString;
|
|
1212
1228
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
1213
1229
|
locations?: LatLongPoint[];
|
|
1230
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
1231
|
+
merchantLocations?: MerchantLocation[];
|
|
1214
1232
|
/** 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. */
|
|
1215
1233
|
messages?: Message[];
|
|
1216
1234
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
@@ -1301,6 +1319,8 @@ declare namespace gapi.client {
|
|
|
1301
1319
|
locations?: LatLongPoint[];
|
|
1302
1320
|
/** The loyalty reward points label, balance, and type. */
|
|
1303
1321
|
loyaltyPoints?: LoyaltyPoints;
|
|
1322
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
1323
|
+
merchantLocations?: MerchantLocation[];
|
|
1304
1324
|
/** 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. */
|
|
1305
1325
|
messages?: Message[];
|
|
1306
1326
|
/** 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. */
|
|
@@ -1436,6 +1456,12 @@ declare namespace gapi.client {
|
|
|
1436
1456
|
/** Whether the total bytes field contains an estimated data. */
|
|
1437
1457
|
totalBytesIsEstimated?: boolean;
|
|
1438
1458
|
}
|
|
1459
|
+
interface MerchantLocation {
|
|
1460
|
+
/** The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. */
|
|
1461
|
+
latitude?: number;
|
|
1462
|
+
/** The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. */
|
|
1463
|
+
longitude?: number;
|
|
1464
|
+
}
|
|
1439
1465
|
interface Message {
|
|
1440
1466
|
/** The message body. */
|
|
1441
1467
|
body?: string;
|
|
@@ -1541,6 +1567,8 @@ declare namespace gapi.client {
|
|
|
1541
1567
|
localizedTitle?: LocalizedString;
|
|
1542
1568
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
1543
1569
|
locations?: LatLongPoint[];
|
|
1570
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
1571
|
+
merchantLocations?: MerchantLocation[];
|
|
1544
1572
|
/** 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. */
|
|
1545
1573
|
messages?: Message[];
|
|
1546
1574
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
@@ -1621,6 +1649,8 @@ declare namespace gapi.client {
|
|
|
1621
1649
|
linksModuleData?: LinksModuleData;
|
|
1622
1650
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
1623
1651
|
locations?: LatLongPoint[];
|
|
1652
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
1653
|
+
merchantLocations?: MerchantLocation[];
|
|
1624
1654
|
/** 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. */
|
|
1625
1655
|
messages?: Message[];
|
|
1626
1656
|
/** 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. */
|
|
@@ -1968,6 +1998,8 @@ declare namespace gapi.client {
|
|
|
1968
1998
|
locations?: LatLongPoint[];
|
|
1969
1999
|
/** Required. The logo image of the ticket. This image is displayed in the card detail view of the app. */
|
|
1970
2000
|
logo?: Image;
|
|
2001
|
+
/** Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
2002
|
+
merchantLocations?: MerchantLocation[];
|
|
1971
2003
|
/** 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. */
|
|
1972
2004
|
messages?: Message[];
|
|
1973
2005
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
@@ -2054,6 +2086,8 @@ declare namespace gapi.client {
|
|
|
2054
2086
|
linksModuleData?: LinksModuleData;
|
|
2055
2087
|
/** Note: This field is currently not supported to trigger geo notifications. */
|
|
2056
2088
|
locations?: LatLongPoint[];
|
|
2089
|
+
/** Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints. */
|
|
2090
|
+
merchantLocations?: MerchantLocation[];
|
|
2057
2091
|
/** 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. */
|
|
2058
2092
|
messages?: Message[];
|
|
2059
2093
|
/** 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. */
|