@maxim_mazurok/gapi.client.walletobjects-v1 0.0.20240212 → 0.0.20240214
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 +3 -99
- 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: 20240214
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -742,6 +742,8 @@ declare namespace gapi.client {
|
|
|
742
742
|
imageModulesData?: ImageModuleData[];
|
|
743
743
|
/** 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. */
|
|
744
744
|
linksModuleData?: LinksModuleData;
|
|
745
|
+
/** 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. */
|
|
746
|
+
messages?: Message[];
|
|
745
747
|
/** Identifies whether multiple users and devices will save the same object referencing this class. */
|
|
746
748
|
multipleDevicesAndHoldersAllowedStatus?: string;
|
|
747
749
|
/** 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. */
|
|
@@ -1580,18 +1582,6 @@ declare namespace gapi.client {
|
|
|
1580
1582
|
/** The complete list of permissions for the issuer account. */
|
|
1581
1583
|
permissions?: Permission[];
|
|
1582
1584
|
}
|
|
1583
|
-
interface PrivateText {
|
|
1584
|
-
/** Translated strings for the body. */
|
|
1585
|
-
body?: LocalizedString;
|
|
1586
|
-
/** Translated strings for the header. */
|
|
1587
|
-
header?: LocalizedString;
|
|
1588
|
-
}
|
|
1589
|
-
interface PrivateUri {
|
|
1590
|
-
/** The URI's title appearing in the app as text and its translated strings. Recommended maximum is 20 characters to ensure the full string is displayed on smaller screens. */
|
|
1591
|
-
description?: LocalizedString;
|
|
1592
|
-
/** The location of a web page, image, or other resource. URIs in the `LinksModuleData` can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). */
|
|
1593
|
-
uri?: string;
|
|
1594
|
-
}
|
|
1595
1585
|
interface PurchaseDetails {
|
|
1596
1586
|
/** ID of the account used to purchase the ticket. */
|
|
1597
1587
|
accountId?: string;
|
|
@@ -2004,28 +1994,6 @@ declare namespace gapi.client {
|
|
|
2004
1994
|
/** Indicates if the object needs to have upcoming notification enabled. */
|
|
2005
1995
|
enableNotification?: boolean;
|
|
2006
1996
|
}
|
|
2007
|
-
interface UploadPrivateDataRequest {
|
|
2008
|
-
/** The ID of the issuer sending the data. */
|
|
2009
|
-
issuerId?: string;
|
|
2010
|
-
/** Private text data of the user. */
|
|
2011
|
-
text?: PrivateText;
|
|
2012
|
-
/** Private URIs of the user. */
|
|
2013
|
-
uri?: PrivateUri;
|
|
2014
|
-
}
|
|
2015
|
-
interface UploadPrivateDataResponse {
|
|
2016
|
-
/** A 64-bit content id for the private data that was uploaded by the Issuer. */
|
|
2017
|
-
privateContentId?: string;
|
|
2018
|
-
}
|
|
2019
|
-
interface UploadPrivateImageRequest {
|
|
2020
|
-
/** A reference to the image payload that was uploaded by Scotty. */
|
|
2021
|
-
blob?: Media;
|
|
2022
|
-
/** Extra information about the uploaded media. */
|
|
2023
|
-
mediaRequestInfo?: MediaRequestInfo;
|
|
2024
|
-
}
|
|
2025
|
-
interface UploadPrivateImageResponse {
|
|
2026
|
-
/** A 64-bit content id for the image that was uploaded by the Issuer. */
|
|
2027
|
-
privateContentId?: string;
|
|
2028
|
-
}
|
|
2029
1997
|
interface Uri {
|
|
2030
1998
|
/** The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. */
|
|
2031
1999
|
description?: string;
|
|
@@ -6580,68 +6548,6 @@ declare namespace gapi.client {
|
|
|
6580
6548
|
body: TransitObject
|
|
6581
6549
|
): Request<TransitObject>;
|
|
6582
6550
|
}
|
|
6583
|
-
interface PrivateContentResource {
|
|
6584
|
-
/** Upload private data (text or URI) and returns an Id to be used in its place. */
|
|
6585
|
-
uploadPrivateData(request: {
|
|
6586
|
-
/** V1 error format. */
|
|
6587
|
-
'$.xgafv'?: string;
|
|
6588
|
-
/** OAuth access token. */
|
|
6589
|
-
access_token?: string;
|
|
6590
|
-
/** Data format for response. */
|
|
6591
|
-
alt?: string;
|
|
6592
|
-
/** JSONP */
|
|
6593
|
-
callback?: string;
|
|
6594
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
6595
|
-
fields?: string;
|
|
6596
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6597
|
-
key?: string;
|
|
6598
|
-
/** OAuth 2.0 token for the current user. */
|
|
6599
|
-
oauth_token?: string;
|
|
6600
|
-
/** Returns response with indentations and line breaks. */
|
|
6601
|
-
prettyPrint?: boolean;
|
|
6602
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6603
|
-
quotaUser?: string;
|
|
6604
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6605
|
-
upload_protocol?: string;
|
|
6606
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6607
|
-
uploadType?: string;
|
|
6608
|
-
/** Request body */
|
|
6609
|
-
resource: UploadPrivateDataRequest;
|
|
6610
|
-
}): Request<UploadPrivateDataResponse>;
|
|
6611
|
-
uploadPrivateData(
|
|
6612
|
-
request: {
|
|
6613
|
-
/** V1 error format. */
|
|
6614
|
-
'$.xgafv'?: string;
|
|
6615
|
-
/** OAuth access token. */
|
|
6616
|
-
access_token?: string;
|
|
6617
|
-
/** Data format for response. */
|
|
6618
|
-
alt?: string;
|
|
6619
|
-
/** JSONP */
|
|
6620
|
-
callback?: string;
|
|
6621
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
6622
|
-
fields?: string;
|
|
6623
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6624
|
-
key?: string;
|
|
6625
|
-
/** OAuth 2.0 token for the current user. */
|
|
6626
|
-
oauth_token?: string;
|
|
6627
|
-
/** Returns response with indentations and line breaks. */
|
|
6628
|
-
prettyPrint?: boolean;
|
|
6629
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6630
|
-
quotaUser?: string;
|
|
6631
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6632
|
-
upload_protocol?: string;
|
|
6633
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6634
|
-
uploadType?: string;
|
|
6635
|
-
},
|
|
6636
|
-
body: UploadPrivateDataRequest
|
|
6637
|
-
): Request<UploadPrivateDataResponse>;
|
|
6638
|
-
}
|
|
6639
|
-
interface V1Resource {
|
|
6640
|
-
privateContent: PrivateContentResource;
|
|
6641
|
-
}
|
|
6642
|
-
interface WalletobjectsResource {
|
|
6643
|
-
v1: V1Resource;
|
|
6644
|
-
}
|
|
6645
6551
|
|
|
6646
6552
|
const eventticketclass: EventticketclassResource;
|
|
6647
6553
|
|
|
@@ -6680,7 +6586,5 @@ declare namespace gapi.client {
|
|
|
6680
6586
|
const transitclass: TransitclassResource;
|
|
6681
6587
|
|
|
6682
6588
|
const transitobject: TransitobjectResource;
|
|
6683
|
-
|
|
6684
|
-
const walletobjects: WalletobjectsResource;
|
|
6685
6589
|
}
|
|
6686
6590
|
}
|