@maxim_mazurok/gapi.client.walletobjects-v1 0.3.20261117 → 0.3.20261119
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 +124 -144
- 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: 20261119
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -368,7 +368,7 @@ declare namespace gapi.client {
|
|
|
368
368
|
}
|
|
369
369
|
interface DiscoverableProgramMerchantSignupInfo {
|
|
370
370
|
/** User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. */
|
|
371
|
-
signupSharedDatas?:
|
|
371
|
+
signupSharedDatas?: (
|
|
372
372
|
| 'SHARED_DATA_TYPE_UNSPECIFIED'
|
|
373
373
|
| 'FIRST_NAME'
|
|
374
374
|
| 'LAST_NAME'
|
|
@@ -381,7 +381,8 @@ declare namespace gapi.client {
|
|
|
381
381
|
| 'ZIPCODE'
|
|
382
382
|
| 'COUNTRY'
|
|
383
383
|
| 'EMAIL'
|
|
384
|
-
| 'PHONE'
|
|
384
|
+
| 'PHONE'
|
|
385
|
+
)[];
|
|
385
386
|
/** The URL to direct the user to for the merchant's signup site. */
|
|
386
387
|
signupWebsite?: Uri;
|
|
387
388
|
}
|
|
@@ -2071,10 +2072,11 @@ declare namespace gapi.client {
|
|
|
2071
2072
|
}
|
|
2072
2073
|
interface PassConstraints {
|
|
2073
2074
|
/** The NFC constraints for the pass. */
|
|
2074
|
-
nfcConstraint?:
|
|
2075
|
+
nfcConstraint?: (
|
|
2075
2076
|
| 'NFC_CONSTRAINT_UNSPECIFIED'
|
|
2076
2077
|
| 'BLOCK_PAYMENT'
|
|
2077
|
-
| 'BLOCK_CLOSED_LOOP_TRANSIT'
|
|
2078
|
+
| 'BLOCK_CLOSED_LOOP_TRANSIT'
|
|
2079
|
+
)[];
|
|
2078
2080
|
/** The screenshot eligibility for the pass. */
|
|
2079
2081
|
screenshotEligibility?:
|
|
2080
2082
|
'SCREENSHOT_ELIGIBILITY_UNSPECIFIED' | 'ELIGIBLE' | 'INELIGIBLE';
|
|
@@ -2693,7 +2695,8 @@ declare namespace gapi.client {
|
|
|
2693
2695
|
/** Constraints that all must be met for the module to be shown. */
|
|
2694
2696
|
viewConstraints?: ModuleViewConstraints;
|
|
2695
2697
|
}
|
|
2696
|
-
|
|
2698
|
+
|
|
2699
|
+
const eventticketclass: {
|
|
2697
2700
|
/** Adds a message to the event ticket class referenced by the given class ID. */
|
|
2698
2701
|
addmessage(request: {
|
|
2699
2702
|
/** V1 error format. */
|
|
@@ -2980,8 +2983,9 @@ declare namespace gapi.client {
|
|
|
2980
2983
|
},
|
|
2981
2984
|
body: EventTicketClass,
|
|
2982
2985
|
): Request<EventTicketClass>;
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2988
|
+
const eventticketobject: {
|
|
2985
2989
|
/** Adds a message to the event ticket object referenced by the given object ID. */
|
|
2986
2990
|
addmessage(request: {
|
|
2987
2991
|
/** V1 error format. */
|
|
@@ -3326,8 +3330,9 @@ declare namespace gapi.client {
|
|
|
3326
3330
|
},
|
|
3327
3331
|
body: EventTicketObject,
|
|
3328
3332
|
): Request<EventTicketObject>;
|
|
3329
|
-
}
|
|
3330
|
-
|
|
3333
|
+
};
|
|
3334
|
+
|
|
3335
|
+
const flightclass: {
|
|
3331
3336
|
/** Adds a message to the flight class referenced by the given class ID. */
|
|
3332
3337
|
addmessage(request: {
|
|
3333
3338
|
/** V1 error format. */
|
|
@@ -3614,8 +3619,9 @@ declare namespace gapi.client {
|
|
|
3614
3619
|
},
|
|
3615
3620
|
body: FlightClass,
|
|
3616
3621
|
): Request<FlightClass>;
|
|
3617
|
-
}
|
|
3618
|
-
|
|
3622
|
+
};
|
|
3623
|
+
|
|
3624
|
+
const flightobject: {
|
|
3619
3625
|
/** Adds a message to the flight object referenced by the given object ID. */
|
|
3620
3626
|
addmessage(request: {
|
|
3621
3627
|
/** V1 error format. */
|
|
@@ -3902,8 +3908,9 @@ declare namespace gapi.client {
|
|
|
3902
3908
|
},
|
|
3903
3909
|
body: FlightObject,
|
|
3904
3910
|
): Request<FlightObject>;
|
|
3905
|
-
}
|
|
3906
|
-
|
|
3911
|
+
};
|
|
3912
|
+
|
|
3913
|
+
const genericclass: {
|
|
3907
3914
|
/** Adds a message to the generic class referenced by the given class ID. */
|
|
3908
3915
|
addmessage(request: {
|
|
3909
3916
|
/** V1 error format. */
|
|
@@ -4190,8 +4197,9 @@ declare namespace gapi.client {
|
|
|
4190
4197
|
},
|
|
4191
4198
|
body: GenericClass,
|
|
4192
4199
|
): Request<GenericClass>;
|
|
4193
|
-
}
|
|
4194
|
-
|
|
4200
|
+
};
|
|
4201
|
+
|
|
4202
|
+
const genericobject: {
|
|
4195
4203
|
/** Adds a message to the generic object referenced by the given object ID. */
|
|
4196
4204
|
addmessage(request: {
|
|
4197
4205
|
/** V1 error format. */
|
|
@@ -4478,8 +4486,9 @@ declare namespace gapi.client {
|
|
|
4478
4486
|
},
|
|
4479
4487
|
body: GenericObject,
|
|
4480
4488
|
): Request<GenericObject>;
|
|
4481
|
-
}
|
|
4482
|
-
|
|
4489
|
+
};
|
|
4490
|
+
|
|
4491
|
+
const giftcardclass: {
|
|
4483
4492
|
/** Adds a message to the gift card class referenced by the given class ID. */
|
|
4484
4493
|
addmessage(request: {
|
|
4485
4494
|
/** V1 error format. */
|
|
@@ -4766,8 +4775,9 @@ declare namespace gapi.client {
|
|
|
4766
4775
|
},
|
|
4767
4776
|
body: GiftCardClass,
|
|
4768
4777
|
): Request<GiftCardClass>;
|
|
4769
|
-
}
|
|
4770
|
-
|
|
4778
|
+
};
|
|
4779
|
+
|
|
4780
|
+
const giftcardobject: {
|
|
4771
4781
|
/** Adds a message to the gift card object referenced by the given object ID. */
|
|
4772
4782
|
addmessage(request: {
|
|
4773
4783
|
/** V1 error format. */
|
|
@@ -5054,8 +5064,9 @@ declare namespace gapi.client {
|
|
|
5054
5064
|
},
|
|
5055
5065
|
body: GiftCardObject,
|
|
5056
5066
|
): Request<GiftCardObject>;
|
|
5057
|
-
}
|
|
5058
|
-
|
|
5067
|
+
};
|
|
5068
|
+
|
|
5069
|
+
const issuer: {
|
|
5059
5070
|
/** Returns the issuer with the given issuer ID. */
|
|
5060
5071
|
get(request?: {
|
|
5061
5072
|
/** V1 error format. */
|
|
@@ -5278,8 +5289,9 @@ declare namespace gapi.client {
|
|
|
5278
5289
|
},
|
|
5279
5290
|
body: Issuer,
|
|
5280
5291
|
): Request<Issuer>;
|
|
5281
|
-
}
|
|
5282
|
-
|
|
5292
|
+
};
|
|
5293
|
+
|
|
5294
|
+
const jwt: {
|
|
5283
5295
|
/** Inserts the resources in the JWT. */
|
|
5284
5296
|
insert(request: {
|
|
5285
5297
|
/** V1 error format. */
|
|
@@ -5388,8 +5400,9 @@ declare namespace gapi.client {
|
|
|
5388
5400
|
},
|
|
5389
5401
|
body: JwtValidateRequest,
|
|
5390
5402
|
): Request<{}>;
|
|
5391
|
-
}
|
|
5392
|
-
|
|
5403
|
+
};
|
|
5404
|
+
|
|
5405
|
+
const loyaltyclass: {
|
|
5393
5406
|
/** Adds a message to the loyalty class referenced by the given class ID. */
|
|
5394
5407
|
addmessage(request: {
|
|
5395
5408
|
/** V1 error format. */
|
|
@@ -5676,8 +5689,9 @@ declare namespace gapi.client {
|
|
|
5676
5689
|
},
|
|
5677
5690
|
body: LoyaltyClass,
|
|
5678
5691
|
): Request<LoyaltyClass>;
|
|
5679
|
-
}
|
|
5680
|
-
|
|
5692
|
+
};
|
|
5693
|
+
|
|
5694
|
+
const loyaltyobject: {
|
|
5681
5695
|
/** Adds a message to the loyalty object referenced by the given object ID. */
|
|
5682
5696
|
addmessage(request: {
|
|
5683
5697
|
/** V1 error format. */
|
|
@@ -6022,8 +6036,9 @@ declare namespace gapi.client {
|
|
|
6022
6036
|
},
|
|
6023
6037
|
body: LoyaltyObject,
|
|
6024
6038
|
): Request<LoyaltyObject>;
|
|
6025
|
-
}
|
|
6026
|
-
|
|
6039
|
+
};
|
|
6040
|
+
|
|
6041
|
+
const media: {
|
|
6027
6042
|
/** Downloads rotating barcode values for the transit object referenced by the given object ID. */
|
|
6028
6043
|
download(request?: {
|
|
6029
6044
|
/** V1 error format. */
|
|
@@ -6109,8 +6124,9 @@ declare namespace gapi.client {
|
|
|
6109
6124
|
},
|
|
6110
6125
|
body: TransitObjectUploadRotatingBarcodeValuesRequest,
|
|
6111
6126
|
): Request<{}>;
|
|
6112
|
-
}
|
|
6113
|
-
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6129
|
+
const offerclass: {
|
|
6114
6130
|
/** Adds a message to the offer class referenced by the given class ID. */
|
|
6115
6131
|
addmessage(request: {
|
|
6116
6132
|
/** V1 error format. */
|
|
@@ -6397,8 +6413,9 @@ declare namespace gapi.client {
|
|
|
6397
6413
|
},
|
|
6398
6414
|
body: OfferClass,
|
|
6399
6415
|
): Request<OfferClass>;
|
|
6400
|
-
}
|
|
6401
|
-
|
|
6416
|
+
};
|
|
6417
|
+
|
|
6418
|
+
const offerobject: {
|
|
6402
6419
|
/** Adds a message to the offer object referenced by the given object ID. */
|
|
6403
6420
|
addmessage(request: {
|
|
6404
6421
|
/** V1 error format. */
|
|
@@ -6685,8 +6702,9 @@ declare namespace gapi.client {
|
|
|
6685
6702
|
},
|
|
6686
6703
|
body: OfferObject,
|
|
6687
6704
|
): Request<OfferObject>;
|
|
6688
|
-
}
|
|
6689
|
-
|
|
6705
|
+
};
|
|
6706
|
+
|
|
6707
|
+
const permissions: {
|
|
6690
6708
|
/** Returns the permissions for the given issuer id. */
|
|
6691
6709
|
get(request?: {
|
|
6692
6710
|
/** V1 error format. */
|
|
@@ -6772,8 +6790,9 @@ declare namespace gapi.client {
|
|
|
6772
6790
|
},
|
|
6773
6791
|
body: Permissions,
|
|
6774
6792
|
): Request<Permissions>;
|
|
6775
|
-
}
|
|
6776
|
-
|
|
6793
|
+
};
|
|
6794
|
+
|
|
6795
|
+
const smarttap: {
|
|
6777
6796
|
/** Inserts the smart tap. */
|
|
6778
6797
|
insert(request: {
|
|
6779
6798
|
/** V1 error format. */
|
|
@@ -6828,8 +6847,9 @@ declare namespace gapi.client {
|
|
|
6828
6847
|
},
|
|
6829
6848
|
body: SmartTap,
|
|
6830
6849
|
): Request<SmartTap>;
|
|
6831
|
-
}
|
|
6832
|
-
|
|
6850
|
+
};
|
|
6851
|
+
|
|
6852
|
+
const transitclass: {
|
|
6833
6853
|
/** Adds a message to the transit class referenced by the given class ID. */
|
|
6834
6854
|
addmessage(request: {
|
|
6835
6855
|
/** V1 error format. */
|
|
@@ -7116,8 +7136,9 @@ declare namespace gapi.client {
|
|
|
7116
7136
|
},
|
|
7117
7137
|
body: TransitClass,
|
|
7118
7138
|
): Request<TransitClass>;
|
|
7119
|
-
}
|
|
7120
|
-
|
|
7139
|
+
};
|
|
7140
|
+
|
|
7141
|
+
const transitobject: {
|
|
7121
7142
|
/** Adds a message to the transit object referenced by the given object ID. */
|
|
7122
7143
|
addmessage(request: {
|
|
7123
7144
|
/** V1 error format. */
|
|
@@ -7404,108 +7425,67 @@ declare namespace gapi.client {
|
|
|
7404
7425
|
},
|
|
7405
7426
|
body: TransitObject,
|
|
7406
7427
|
): Request<TransitObject>;
|
|
7407
|
-
}
|
|
7408
|
-
interface PrivateContentResource {
|
|
7409
|
-
/** Provide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass. */
|
|
7410
|
-
setPassUpdateNotice(request: {
|
|
7411
|
-
/** V1 error format. */
|
|
7412
|
-
'$.xgafv'?: '1' | '2';
|
|
7413
|
-
/** OAuth access token. */
|
|
7414
|
-
access_token?: string;
|
|
7415
|
-
/** Data format for response. */
|
|
7416
|
-
alt?: 'json' | 'media' | 'proto';
|
|
7417
|
-
/** JSONP */
|
|
7418
|
-
callback?: string;
|
|
7419
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
7420
|
-
fields?: string;
|
|
7421
|
-
/** 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. */
|
|
7422
|
-
key?: string;
|
|
7423
|
-
/** OAuth 2.0 token for the current user. */
|
|
7424
|
-
oauth_token?: string;
|
|
7425
|
-
/** Returns response with indentations and line breaks. */
|
|
7426
|
-
prettyPrint?: boolean;
|
|
7427
|
-
/** 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. */
|
|
7428
|
-
quotaUser?: string;
|
|
7429
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7430
|
-
upload_protocol?: string;
|
|
7431
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7432
|
-
uploadType?: string;
|
|
7433
|
-
/** Request body */
|
|
7434
|
-
resource: SetPassUpdateNoticeRequest;
|
|
7435
|
-
}): Request<{}>;
|
|
7436
|
-
setPassUpdateNotice(
|
|
7437
|
-
request: {
|
|
7438
|
-
/** V1 error format. */
|
|
7439
|
-
'$.xgafv'?: '1' | '2';
|
|
7440
|
-
/** OAuth access token. */
|
|
7441
|
-
access_token?: string;
|
|
7442
|
-
/** Data format for response. */
|
|
7443
|
-
alt?: 'json' | 'media' | 'proto';
|
|
7444
|
-
/** JSONP */
|
|
7445
|
-
callback?: string;
|
|
7446
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
7447
|
-
fields?: string;
|
|
7448
|
-
/** 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. */
|
|
7449
|
-
key?: string;
|
|
7450
|
-
/** OAuth 2.0 token for the current user. */
|
|
7451
|
-
oauth_token?: string;
|
|
7452
|
-
/** Returns response with indentations and line breaks. */
|
|
7453
|
-
prettyPrint?: boolean;
|
|
7454
|
-
/** 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. */
|
|
7455
|
-
quotaUser?: string;
|
|
7456
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7457
|
-
upload_protocol?: string;
|
|
7458
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7459
|
-
uploadType?: string;
|
|
7460
|
-
},
|
|
7461
|
-
body: SetPassUpdateNoticeRequest,
|
|
7462
|
-
): Request<{}>;
|
|
7463
|
-
}
|
|
7464
|
-
interface V1Resource {
|
|
7465
|
-
privateContent: PrivateContentResource;
|
|
7466
|
-
}
|
|
7467
|
-
interface WalletobjectsResource {
|
|
7468
|
-
v1: V1Resource;
|
|
7469
|
-
}
|
|
7470
|
-
|
|
7471
|
-
const eventticketclass: EventticketclassResource;
|
|
7472
|
-
|
|
7473
|
-
const eventticketobject: EventticketobjectResource;
|
|
7474
|
-
|
|
7475
|
-
const flightclass: FlightclassResource;
|
|
7476
|
-
|
|
7477
|
-
const flightobject: FlightobjectResource;
|
|
7478
|
-
|
|
7479
|
-
const genericclass: GenericclassResource;
|
|
7480
|
-
|
|
7481
|
-
const genericobject: GenericobjectResource;
|
|
7482
|
-
|
|
7483
|
-
const giftcardclass: GiftcardclassResource;
|
|
7484
|
-
|
|
7485
|
-
const giftcardobject: GiftcardobjectResource;
|
|
7486
|
-
|
|
7487
|
-
const issuer: IssuerResource;
|
|
7488
|
-
|
|
7489
|
-
const jwt: JWTResource;
|
|
7490
|
-
|
|
7491
|
-
const loyaltyclass: LoyaltyclassResource;
|
|
7492
|
-
|
|
7493
|
-
const loyaltyobject: LoyaltyobjectResource;
|
|
7494
|
-
|
|
7495
|
-
const media: MediaResource;
|
|
7496
|
-
|
|
7497
|
-
const offerclass: OfferclassResource;
|
|
7498
|
-
|
|
7499
|
-
const offerobject: OfferobjectResource;
|
|
7500
|
-
|
|
7501
|
-
const permissions: PermissionsResource;
|
|
7502
|
-
|
|
7503
|
-
const smarttap: SmarttapResource;
|
|
7504
|
-
|
|
7505
|
-
const transitclass: TransitclassResource;
|
|
7506
|
-
|
|
7507
|
-
const transitobject: TransitobjectResource;
|
|
7428
|
+
};
|
|
7508
7429
|
|
|
7509
|
-
const walletobjects:
|
|
7430
|
+
const walletobjects: {
|
|
7431
|
+
v1: {
|
|
7432
|
+
privateContent: {
|
|
7433
|
+
/** Provide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass. */
|
|
7434
|
+
setPassUpdateNotice(request: {
|
|
7435
|
+
/** V1 error format. */
|
|
7436
|
+
'$.xgafv'?: '1' | '2';
|
|
7437
|
+
/** OAuth access token. */
|
|
7438
|
+
access_token?: string;
|
|
7439
|
+
/** Data format for response. */
|
|
7440
|
+
alt?: 'json' | 'media' | 'proto';
|
|
7441
|
+
/** JSONP */
|
|
7442
|
+
callback?: string;
|
|
7443
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7444
|
+
fields?: string;
|
|
7445
|
+
/** 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. */
|
|
7446
|
+
key?: string;
|
|
7447
|
+
/** OAuth 2.0 token for the current user. */
|
|
7448
|
+
oauth_token?: string;
|
|
7449
|
+
/** Returns response with indentations and line breaks. */
|
|
7450
|
+
prettyPrint?: boolean;
|
|
7451
|
+
/** 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. */
|
|
7452
|
+
quotaUser?: string;
|
|
7453
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7454
|
+
upload_protocol?: string;
|
|
7455
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7456
|
+
uploadType?: string;
|
|
7457
|
+
/** Request body */
|
|
7458
|
+
resource: SetPassUpdateNoticeRequest;
|
|
7459
|
+
}): Request<{}>;
|
|
7460
|
+
setPassUpdateNotice(
|
|
7461
|
+
request: {
|
|
7462
|
+
/** V1 error format. */
|
|
7463
|
+
'$.xgafv'?: '1' | '2';
|
|
7464
|
+
/** OAuth access token. */
|
|
7465
|
+
access_token?: string;
|
|
7466
|
+
/** Data format for response. */
|
|
7467
|
+
alt?: 'json' | 'media' | 'proto';
|
|
7468
|
+
/** JSONP */
|
|
7469
|
+
callback?: string;
|
|
7470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7471
|
+
fields?: string;
|
|
7472
|
+
/** 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. */
|
|
7473
|
+
key?: string;
|
|
7474
|
+
/** OAuth 2.0 token for the current user. */
|
|
7475
|
+
oauth_token?: string;
|
|
7476
|
+
/** Returns response with indentations and line breaks. */
|
|
7477
|
+
prettyPrint?: boolean;
|
|
7478
|
+
/** 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. */
|
|
7479
|
+
quotaUser?: string;
|
|
7480
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7481
|
+
upload_protocol?: string;
|
|
7482
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7483
|
+
uploadType?: string;
|
|
7484
|
+
},
|
|
7485
|
+
body: SetPassUpdateNoticeRequest,
|
|
7486
|
+
): Request<{}>;
|
|
7487
|
+
};
|
|
7488
|
+
};
|
|
7489
|
+
};
|
|
7510
7490
|
}
|
|
7511
7491
|
}
|