@maxim_mazurok/gapi.client.walletobjects-v1 0.0.20240214 → 0.0.20240216
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 +128 -2
- package/package.json +1 -1
- package/readme.md +14 -0
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: 20240216
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -71,7 +71,9 @@ declare namespace gapi.client {
|
|
|
71
71
|
title?: LocalizedString;
|
|
72
72
|
}
|
|
73
73
|
interface AppLinkDataAppLinkInfoAppTarget {
|
|
74
|
-
/**
|
|
74
|
+
/** Package name for AppTarget. For example: com.google.android.gm */
|
|
75
|
+
packageName?: string;
|
|
76
|
+
/** URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. */
|
|
75
77
|
targetUri?: Uri;
|
|
76
78
|
}
|
|
77
79
|
interface AuthenticationKey {
|
|
@@ -755,6 +757,10 @@ declare namespace gapi.client {
|
|
|
755
757
|
/** View Unlock Requirement options for the generic pass. */
|
|
756
758
|
viewUnlockRequirement?: string;
|
|
757
759
|
}
|
|
760
|
+
interface GenericClassAddMessageResponse {
|
|
761
|
+
/** The updated EventTicketClass resource. */
|
|
762
|
+
resource?: GenericClass;
|
|
763
|
+
}
|
|
758
764
|
interface GenericClassListResponse {
|
|
759
765
|
/** Pagination of the response. */
|
|
760
766
|
pagination?: Pagination;
|
|
@@ -809,6 +815,10 @@ declare namespace gapi.client {
|
|
|
809
815
|
/** The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. */
|
|
810
816
|
wideLogo?: Image;
|
|
811
817
|
}
|
|
818
|
+
interface GenericObjectAddMessageResponse {
|
|
819
|
+
/** The updated GenericObject resource. */
|
|
820
|
+
resource?: GenericObject;
|
|
821
|
+
}
|
|
812
822
|
interface GenericObjectListResponse {
|
|
813
823
|
/** Pagination of the response. */
|
|
814
824
|
pagination?: Pagination;
|
|
@@ -3217,6 +3227,64 @@ declare namespace gapi.client {
|
|
|
3217
3227
|
): Request<FlightObject>;
|
|
3218
3228
|
}
|
|
3219
3229
|
interface GenericclassResource {
|
|
3230
|
+
/** Adds a message to the generic class referenced by the given class ID. */
|
|
3231
|
+
addmessage(request: {
|
|
3232
|
+
/** V1 error format. */
|
|
3233
|
+
'$.xgafv'?: string;
|
|
3234
|
+
/** OAuth access token. */
|
|
3235
|
+
access_token?: string;
|
|
3236
|
+
/** Data format for response. */
|
|
3237
|
+
alt?: string;
|
|
3238
|
+
/** JSONP */
|
|
3239
|
+
callback?: string;
|
|
3240
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3241
|
+
fields?: string;
|
|
3242
|
+
/** 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. */
|
|
3243
|
+
key?: string;
|
|
3244
|
+
/** OAuth 2.0 token for the current user. */
|
|
3245
|
+
oauth_token?: string;
|
|
3246
|
+
/** Returns response with indentations and line breaks. */
|
|
3247
|
+
prettyPrint?: boolean;
|
|
3248
|
+
/** 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. */
|
|
3249
|
+
quotaUser?: string;
|
|
3250
|
+
/** The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. */
|
|
3251
|
+
resourceId: string;
|
|
3252
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3253
|
+
upload_protocol?: string;
|
|
3254
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3255
|
+
uploadType?: string;
|
|
3256
|
+
/** Request body */
|
|
3257
|
+
resource: AddMessageRequest;
|
|
3258
|
+
}): Request<GenericClassAddMessageResponse>;
|
|
3259
|
+
addmessage(
|
|
3260
|
+
request: {
|
|
3261
|
+
/** V1 error format. */
|
|
3262
|
+
'$.xgafv'?: string;
|
|
3263
|
+
/** OAuth access token. */
|
|
3264
|
+
access_token?: string;
|
|
3265
|
+
/** Data format for response. */
|
|
3266
|
+
alt?: string;
|
|
3267
|
+
/** JSONP */
|
|
3268
|
+
callback?: string;
|
|
3269
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3270
|
+
fields?: string;
|
|
3271
|
+
/** 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. */
|
|
3272
|
+
key?: string;
|
|
3273
|
+
/** OAuth 2.0 token for the current user. */
|
|
3274
|
+
oauth_token?: string;
|
|
3275
|
+
/** Returns response with indentations and line breaks. */
|
|
3276
|
+
prettyPrint?: boolean;
|
|
3277
|
+
/** 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. */
|
|
3278
|
+
quotaUser?: string;
|
|
3279
|
+
/** The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. */
|
|
3280
|
+
resourceId: string;
|
|
3281
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3282
|
+
upload_protocol?: string;
|
|
3283
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3284
|
+
uploadType?: string;
|
|
3285
|
+
},
|
|
3286
|
+
body: AddMessageRequest
|
|
3287
|
+
): Request<GenericClassAddMessageResponse>;
|
|
3220
3288
|
/** Returns the generic class with the given class ID. */
|
|
3221
3289
|
get(request?: {
|
|
3222
3290
|
/** V1 error format. */
|
|
@@ -3447,6 +3515,64 @@ declare namespace gapi.client {
|
|
|
3447
3515
|
): Request<GenericClass>;
|
|
3448
3516
|
}
|
|
3449
3517
|
interface GenericobjectResource {
|
|
3518
|
+
/** Adds a message to the generic object referenced by the given object ID. */
|
|
3519
|
+
addmessage(request: {
|
|
3520
|
+
/** V1 error format. */
|
|
3521
|
+
'$.xgafv'?: string;
|
|
3522
|
+
/** OAuth access token. */
|
|
3523
|
+
access_token?: string;
|
|
3524
|
+
/** Data format for response. */
|
|
3525
|
+
alt?: string;
|
|
3526
|
+
/** JSONP */
|
|
3527
|
+
callback?: string;
|
|
3528
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3529
|
+
fields?: string;
|
|
3530
|
+
/** 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. */
|
|
3531
|
+
key?: string;
|
|
3532
|
+
/** OAuth 2.0 token for the current user. */
|
|
3533
|
+
oauth_token?: string;
|
|
3534
|
+
/** Returns response with indentations and line breaks. */
|
|
3535
|
+
prettyPrint?: boolean;
|
|
3536
|
+
/** 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. */
|
|
3537
|
+
quotaUser?: string;
|
|
3538
|
+
/** The unique identifier for an object. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. */
|
|
3539
|
+
resourceId: string;
|
|
3540
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3541
|
+
upload_protocol?: string;
|
|
3542
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3543
|
+
uploadType?: string;
|
|
3544
|
+
/** Request body */
|
|
3545
|
+
resource: AddMessageRequest;
|
|
3546
|
+
}): Request<GenericObjectAddMessageResponse>;
|
|
3547
|
+
addmessage(
|
|
3548
|
+
request: {
|
|
3549
|
+
/** V1 error format. */
|
|
3550
|
+
'$.xgafv'?: string;
|
|
3551
|
+
/** OAuth access token. */
|
|
3552
|
+
access_token?: string;
|
|
3553
|
+
/** Data format for response. */
|
|
3554
|
+
alt?: string;
|
|
3555
|
+
/** JSONP */
|
|
3556
|
+
callback?: string;
|
|
3557
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3558
|
+
fields?: string;
|
|
3559
|
+
/** 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. */
|
|
3560
|
+
key?: string;
|
|
3561
|
+
/** OAuth 2.0 token for the current user. */
|
|
3562
|
+
oauth_token?: string;
|
|
3563
|
+
/** Returns response with indentations and line breaks. */
|
|
3564
|
+
prettyPrint?: boolean;
|
|
3565
|
+
/** 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. */
|
|
3566
|
+
quotaUser?: string;
|
|
3567
|
+
/** The unique identifier for an object. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. */
|
|
3568
|
+
resourceId: string;
|
|
3569
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3570
|
+
upload_protocol?: string;
|
|
3571
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3572
|
+
uploadType?: string;
|
|
3573
|
+
},
|
|
3574
|
+
body: AddMessageRequest
|
|
3575
|
+
): Request<GenericObjectAddMessageResponse>;
|
|
3450
3576
|
/** Returns the generic object with the given object ID. */
|
|
3451
3577
|
get(request?: {
|
|
3452
3578
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -216,6 +216,13 @@ Updates the flight object referenced by the given object ID.
|
|
|
216
216
|
*/
|
|
217
217
|
await gapi.client.walletobjects.flightobject.update({resourceId: 'resourceId'});
|
|
218
218
|
|
|
219
|
+
/*
|
|
220
|
+
Adds a message to the generic class referenced by the given class ID.
|
|
221
|
+
*/
|
|
222
|
+
await gapi.client.walletobjects.genericclass.addmessage({
|
|
223
|
+
resourceId: 'resourceId',
|
|
224
|
+
});
|
|
225
|
+
|
|
219
226
|
/*
|
|
220
227
|
Returns the generic class with the given class ID.
|
|
221
228
|
*/
|
|
@@ -241,6 +248,13 @@ Updates the Generic class referenced by the given class ID.
|
|
|
241
248
|
*/
|
|
242
249
|
await gapi.client.walletobjects.genericclass.update({resourceId: 'resourceId'});
|
|
243
250
|
|
|
251
|
+
/*
|
|
252
|
+
Adds a message to the generic object referenced by the given object ID.
|
|
253
|
+
*/
|
|
254
|
+
await gapi.client.walletobjects.genericobject.addmessage({
|
|
255
|
+
resourceId: 'resourceId',
|
|
256
|
+
});
|
|
257
|
+
|
|
244
258
|
/*
|
|
245
259
|
Returns the generic object with the given object ID.
|
|
246
260
|
*/
|