@maxim_mazurok/gapi.client.walletobjects-v1 0.0.20240215 → 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 +63 -1
- package/package.json +1 -1
- package/readme.md +7 -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
|
|
|
@@ -815,6 +815,10 @@ declare namespace gapi.client {
|
|
|
815
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. */
|
|
816
816
|
wideLogo?: Image;
|
|
817
817
|
}
|
|
818
|
+
interface GenericObjectAddMessageResponse {
|
|
819
|
+
/** The updated GenericObject resource. */
|
|
820
|
+
resource?: GenericObject;
|
|
821
|
+
}
|
|
818
822
|
interface GenericObjectListResponse {
|
|
819
823
|
/** Pagination of the response. */
|
|
820
824
|
pagination?: Pagination;
|
|
@@ -3511,6 +3515,64 @@ declare namespace gapi.client {
|
|
|
3511
3515
|
): Request<GenericClass>;
|
|
3512
3516
|
}
|
|
3513
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>;
|
|
3514
3576
|
/** Returns the generic object with the given object ID. */
|
|
3515
3577
|
get(request?: {
|
|
3516
3578
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -248,6 +248,13 @@ Updates the Generic class referenced by the given class ID.
|
|
|
248
248
|
*/
|
|
249
249
|
await gapi.client.walletobjects.genericclass.update({resourceId: 'resourceId'});
|
|
250
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
|
+
|
|
251
258
|
/*
|
|
252
259
|
Returns the generic object with the given object ID.
|
|
253
260
|
*/
|