@maxim_mazurok/gapi.client.walletobjects-v1 0.0.20240515 → 0.0.20240517
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 +28 -14
- 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: 20240517
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -53,21 +53,21 @@ declare namespace gapi.client {
|
|
|
53
53
|
terminal?: string;
|
|
54
54
|
}
|
|
55
55
|
interface AppLinkData {
|
|
56
|
-
/** Optional information about the partner app link.
|
|
56
|
+
/** Optional information about the partner app link. */
|
|
57
57
|
androidAppLinkInfo?: AppLinkDataAppLinkInfo;
|
|
58
58
|
/** Deprecated. Links to open iOS apps are not supported. */
|
|
59
59
|
iosAppLinkInfo?: AppLinkDataAppLinkInfo;
|
|
60
|
-
/** Optional information about the partner
|
|
60
|
+
/** Optional information about the partner web link. */
|
|
61
61
|
webAppLinkInfo?: AppLinkDataAppLinkInfo;
|
|
62
62
|
}
|
|
63
63
|
interface AppLinkDataAppLinkInfo {
|
|
64
|
-
/**
|
|
64
|
+
/** Deprecated. Image isn't supported in the app link module. */
|
|
65
65
|
appLogoImage?: Image;
|
|
66
|
-
/**
|
|
66
|
+
/** Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. */
|
|
67
67
|
appTarget?: AppLinkDataAppLinkInfoAppTarget;
|
|
68
|
-
/**
|
|
68
|
+
/** Deprecated. Description isn't supported in the app link module. */
|
|
69
69
|
description?: LocalizedString;
|
|
70
|
-
/**
|
|
70
|
+
/** Deprecated. Title isn't supported in the app link module. */
|
|
71
71
|
title?: LocalizedString;
|
|
72
72
|
}
|
|
73
73
|
interface AppLinkDataAppLinkInfoAppTarget {
|
|
@@ -341,6 +341,8 @@ declare namespace gapi.client {
|
|
|
341
341
|
interface EventTicketClass {
|
|
342
342
|
/** Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. */
|
|
343
343
|
allowMultipleUsersPerObject?: boolean;
|
|
344
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
345
|
+
appLinkData?: AppLinkData;
|
|
344
346
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
345
347
|
callbackOptions?: CallbackOptions;
|
|
346
348
|
/** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
|
|
@@ -437,7 +439,7 @@ declare namespace gapi.client {
|
|
|
437
439
|
resources?: EventTicketClass[];
|
|
438
440
|
}
|
|
439
441
|
interface EventTicketObject {
|
|
440
|
-
/** Optional
|
|
442
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
441
443
|
appLinkData?: AppLinkData;
|
|
442
444
|
/** The barcode type and value. */
|
|
443
445
|
barcode?: Barcode;
|
|
@@ -556,6 +558,8 @@ declare namespace gapi.client {
|
|
|
556
558
|
interface FlightClass {
|
|
557
559
|
/** Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. */
|
|
558
560
|
allowMultipleUsersPerObject?: boolean;
|
|
561
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
562
|
+
appLinkData?: AppLinkData;
|
|
559
563
|
/** Policies for boarding and seating. These will inform which labels will be shown to users. */
|
|
560
564
|
boardingAndSeatingPolicy?: BoardingAndSeatingPolicy;
|
|
561
565
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
@@ -656,7 +660,7 @@ declare namespace gapi.client {
|
|
|
656
660
|
operatingFlightNumber?: string;
|
|
657
661
|
}
|
|
658
662
|
interface FlightObject {
|
|
659
|
-
/** Optional
|
|
663
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
660
664
|
appLinkData?: AppLinkData;
|
|
661
665
|
/** The barcode type and value. */
|
|
662
666
|
barcode?: Barcode;
|
|
@@ -732,6 +736,8 @@ declare namespace gapi.client {
|
|
|
732
736
|
kind?: string;
|
|
733
737
|
}
|
|
734
738
|
interface GenericClass {
|
|
739
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
740
|
+
appLinkData?: AppLinkData;
|
|
735
741
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
736
742
|
callbackOptions?: CallbackOptions;
|
|
737
743
|
/** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
|
|
@@ -768,7 +774,7 @@ declare namespace gapi.client {
|
|
|
768
774
|
resources?: GenericClass[];
|
|
769
775
|
}
|
|
770
776
|
interface GenericObject {
|
|
771
|
-
/**
|
|
777
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
772
778
|
appLinkData?: AppLinkData;
|
|
773
779
|
/** The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that. */
|
|
774
780
|
barcode?: Barcode;
|
|
@@ -830,6 +836,8 @@ declare namespace gapi.client {
|
|
|
830
836
|
allowBarcodeRedemption?: boolean;
|
|
831
837
|
/** Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. */
|
|
832
838
|
allowMultipleUsersPerObject?: boolean;
|
|
839
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
840
|
+
appLinkData?: AppLinkData;
|
|
833
841
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
834
842
|
callbackOptions?: CallbackOptions;
|
|
835
843
|
/** The label to display for the card number, such as "Card Number". */
|
|
@@ -912,7 +920,7 @@ declare namespace gapi.client {
|
|
|
912
920
|
resources?: GiftCardClass[];
|
|
913
921
|
}
|
|
914
922
|
interface GiftCardObject {
|
|
915
|
-
/** Optional
|
|
923
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
916
924
|
appLinkData?: AppLinkData;
|
|
917
925
|
/** The card's monetary balance. */
|
|
918
926
|
balance?: Money;
|
|
@@ -1107,6 +1115,8 @@ declare namespace gapi.client {
|
|
|
1107
1115
|
accountNameLabel?: string;
|
|
1108
1116
|
/** Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. */
|
|
1109
1117
|
allowMultipleUsersPerObject?: boolean;
|
|
1118
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
1119
|
+
appLinkData?: AppLinkData;
|
|
1110
1120
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
1111
1121
|
callbackOptions?: CallbackOptions;
|
|
1112
1122
|
/** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
|
|
@@ -1203,7 +1213,7 @@ declare namespace gapi.client {
|
|
|
1203
1213
|
accountId?: string;
|
|
1204
1214
|
/** The loyalty account holder name, such as "John Smith." Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens. */
|
|
1205
1215
|
accountName?: string;
|
|
1206
|
-
/** Optional
|
|
1216
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
1207
1217
|
appLinkData?: AppLinkData;
|
|
1208
1218
|
/** The barcode type and value. */
|
|
1209
1219
|
barcode?: Barcode;
|
|
@@ -1419,6 +1429,8 @@ declare namespace gapi.client {
|
|
|
1419
1429
|
interface OfferClass {
|
|
1420
1430
|
/** Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. */
|
|
1421
1431
|
allowMultipleUsersPerObject?: boolean;
|
|
1432
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
1433
|
+
appLinkData?: AppLinkData;
|
|
1422
1434
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
1423
1435
|
callbackOptions?: CallbackOptions;
|
|
1424
1436
|
/** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
|
|
@@ -1509,7 +1521,7 @@ declare namespace gapi.client {
|
|
|
1509
1521
|
resources?: OfferClass[];
|
|
1510
1522
|
}
|
|
1511
1523
|
interface OfferObject {
|
|
1512
|
-
/** Optional
|
|
1524
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
1513
1525
|
appLinkData?: AppLinkData;
|
|
1514
1526
|
/** The barcode type and value. */
|
|
1515
1527
|
barcode?: Barcode;
|
|
@@ -1786,6 +1798,8 @@ declare namespace gapi.client {
|
|
|
1786
1798
|
activationOptions?: ActivationOptions;
|
|
1787
1799
|
/** Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. */
|
|
1788
1800
|
allowMultipleUsersPerObject?: boolean;
|
|
1801
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead. */
|
|
1802
|
+
appLinkData?: AppLinkData;
|
|
1789
1803
|
/** Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback. */
|
|
1790
1804
|
callbackOptions?: CallbackOptions;
|
|
1791
1805
|
/** Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display. */
|
|
@@ -1900,7 +1914,7 @@ declare namespace gapi.client {
|
|
|
1900
1914
|
interface TransitObject {
|
|
1901
1915
|
/** The activation status for the object. Required if the class has `activationOptions` set. */
|
|
1902
1916
|
activationStatus?: ActivationStatus;
|
|
1903
|
-
/** Optional
|
|
1917
|
+
/** Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed. */
|
|
1904
1918
|
appLinkData?: AppLinkData;
|
|
1905
1919
|
/** The barcode type and value. */
|
|
1906
1920
|
barcode?: Barcode;
|