@googleapis/merchantapi 4.1.0 → 6.0.1
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/CHANGELOG.md +34 -0
- package/accounts_v1beta.ts +1693 -565
- package/build/accounts_v1beta.d.ts +535 -168
- package/build/accounts_v1beta.js +309 -30
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +28 -25
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +19 -19
- package/build/datasources_v1beta.js.map +1 -1
- package/build/index.d.ts +11 -1
- package/build/index.js +7 -1
- package/build/index.js.map +1 -1
- package/build/inventories_v1beta.d.ts +14 -14
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +661 -0
- package/build/issueresolution_v1beta.js +148 -0
- package/build/issueresolution_v1beta.js.map +1 -0
- package/build/lfp_v1beta.d.ts +134 -13
- package/build/lfp_v1beta.js +39 -0
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +11 -11
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +385 -0
- package/build/ordertracking_v1beta.js +91 -0
- package/build/ordertracking_v1beta.js.map +1 -0
- package/build/products_v1beta.d.ts +45 -24
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +7 -7
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +3 -3
- package/build/reports_v1beta.d.ts +4 -4
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +17 -17
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +50 -32
- package/datasources_v1beta.ts +45 -27
- package/index.ts +24 -1
- package/inventories_v1beta.ts +32 -23
- package/issueresolution_v1beta.ts +962 -0
- package/lfp_v1beta.ts +241 -20
- package/notifications_v1beta.ts +27 -20
- package/ordertracking_v1beta.ts +525 -0
- package/package.json +2 -2
- package/products_v1beta.ts +63 -30
- package/promotions_v1beta.ts +17 -11
- package/quota_v1beta.ts +5 -5
- package/reports_v1beta.ts +8 -5
- package/reviews_v1beta.ts +45 -27
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2020 Google LLC
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.merchantapi_issueresolution_v1beta = void 0;
|
|
16
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
17
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
18
|
+
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
19
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
20
|
+
/* eslint-disable no-irregular-whitespace */
|
|
21
|
+
const googleapis_common_1 = require("googleapis-common");
|
|
22
|
+
var merchantapi_issueresolution_v1beta;
|
|
23
|
+
(function (merchantapi_issueresolution_v1beta) {
|
|
24
|
+
/**
|
|
25
|
+
* Merchant API
|
|
26
|
+
*
|
|
27
|
+
* Programmatically manage your Merchant Center Accounts.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```js
|
|
31
|
+
* const {google} = require('googleapis');
|
|
32
|
+
* const merchantapi = google.merchantapi('issueresolution_v1beta');
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class Merchantapi {
|
|
36
|
+
constructor(options, google) {
|
|
37
|
+
this.context = {
|
|
38
|
+
_options: options || {},
|
|
39
|
+
google,
|
|
40
|
+
};
|
|
41
|
+
this.issueresolution = new Resource$Issueresolution(this.context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
merchantapi_issueresolution_v1beta.Merchantapi = Merchantapi;
|
|
45
|
+
class Resource$Issueresolution {
|
|
46
|
+
constructor(context) {
|
|
47
|
+
this.context = context;
|
|
48
|
+
}
|
|
49
|
+
renderaccountissues(paramsOrCallback, optionsOrCallback, callback) {
|
|
50
|
+
let params = (paramsOrCallback ||
|
|
51
|
+
{});
|
|
52
|
+
let options = (optionsOrCallback || {});
|
|
53
|
+
if (typeof paramsOrCallback === 'function') {
|
|
54
|
+
callback = paramsOrCallback;
|
|
55
|
+
params = {};
|
|
56
|
+
options = {};
|
|
57
|
+
}
|
|
58
|
+
if (typeof optionsOrCallback === 'function') {
|
|
59
|
+
callback = optionsOrCallback;
|
|
60
|
+
options = {};
|
|
61
|
+
}
|
|
62
|
+
const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
|
|
63
|
+
const parameters = {
|
|
64
|
+
options: Object.assign({
|
|
65
|
+
url: (rootUrl + '/issueresolution/v1beta/{+name}:renderaccountissues').replace(/([^:]\/)\/+/g, '$1'),
|
|
66
|
+
method: 'POST',
|
|
67
|
+
apiVersion: '',
|
|
68
|
+
}, options),
|
|
69
|
+
params,
|
|
70
|
+
requiredParams: ['name'],
|
|
71
|
+
pathParams: ['name'],
|
|
72
|
+
context: this.context,
|
|
73
|
+
};
|
|
74
|
+
if (callback) {
|
|
75
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
renderproductissues(paramsOrCallback, optionsOrCallback, callback) {
|
|
82
|
+
let params = (paramsOrCallback ||
|
|
83
|
+
{});
|
|
84
|
+
let options = (optionsOrCallback || {});
|
|
85
|
+
if (typeof paramsOrCallback === 'function') {
|
|
86
|
+
callback = paramsOrCallback;
|
|
87
|
+
params = {};
|
|
88
|
+
options = {};
|
|
89
|
+
}
|
|
90
|
+
if (typeof optionsOrCallback === 'function') {
|
|
91
|
+
callback = optionsOrCallback;
|
|
92
|
+
options = {};
|
|
93
|
+
}
|
|
94
|
+
const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
|
|
95
|
+
const parameters = {
|
|
96
|
+
options: Object.assign({
|
|
97
|
+
url: (rootUrl + '/issueresolution/v1beta/{+name}:renderproductissues').replace(/([^:]\/)\/+/g, '$1'),
|
|
98
|
+
method: 'POST',
|
|
99
|
+
apiVersion: '',
|
|
100
|
+
}, options),
|
|
101
|
+
params,
|
|
102
|
+
requiredParams: ['name'],
|
|
103
|
+
pathParams: ['name'],
|
|
104
|
+
context: this.context,
|
|
105
|
+
};
|
|
106
|
+
if (callback) {
|
|
107
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
triggeraction(paramsOrCallback, optionsOrCallback, callback) {
|
|
114
|
+
let params = (paramsOrCallback ||
|
|
115
|
+
{});
|
|
116
|
+
let options = (optionsOrCallback || {});
|
|
117
|
+
if (typeof paramsOrCallback === 'function') {
|
|
118
|
+
callback = paramsOrCallback;
|
|
119
|
+
params = {};
|
|
120
|
+
options = {};
|
|
121
|
+
}
|
|
122
|
+
if (typeof optionsOrCallback === 'function') {
|
|
123
|
+
callback = optionsOrCallback;
|
|
124
|
+
options = {};
|
|
125
|
+
}
|
|
126
|
+
const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
|
|
127
|
+
const parameters = {
|
|
128
|
+
options: Object.assign({
|
|
129
|
+
url: (rootUrl + '/issueresolution/v1beta/{+name}:triggeraction').replace(/([^:]\/)\/+/g, '$1'),
|
|
130
|
+
method: 'POST',
|
|
131
|
+
apiVersion: '',
|
|
132
|
+
}, options),
|
|
133
|
+
params,
|
|
134
|
+
requiredParams: ['name'],
|
|
135
|
+
pathParams: ['name'],
|
|
136
|
+
context: this.context,
|
|
137
|
+
};
|
|
138
|
+
if (callback) {
|
|
139
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
merchantapi_issueresolution_v1beta.Resource$Issueresolution = Resource$Issueresolution;
|
|
147
|
+
})(merchantapi_issueresolution_v1beta = exports.merchantapi_issueresolution_v1beta || (exports.merchantapi_issueresolution_v1beta = {}));
|
|
148
|
+
//# sourceMappingURL=issueresolution_v1beta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issueresolution_v1beta.js","sourceRoot":"","sources":["../issueresolution_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,kCAAkC,CA45BlD;AA55BD,WAAiB,kCAAkC;IAgEjD;;;;;;;;;;OAUG;IACH,MAAa,WAAW;QAItB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,eAAe,GAAG,IAAI,wBAAwB,CAAC,IAA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O,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAAmD,CAAC;gBAC7D,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,qCAAqC,CAAC;YACzE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CACH,OAAO,GAAG,+CAA+C,CAC1D,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBAC/B,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,MAAM,CAAC;gBACxB,UAAU,EAAE,CAAC,MAAM,CAAC;gBACpB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAA+B,UAAU,CAAC,CAAC;aACnE;QACH,CAAC;KACF;IA/RY,2DAAwB,2BA+RpC,CAAA;AA0DH,CAAC,EA55BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA45BlD"}
|
package/build/lfp_v1beta.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace merchantapi_lfp_v1beta {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -71,11 +71,65 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
71
71
|
accounts: Resource$Accounts;
|
|
72
72
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Country-specific settings for the merchant.
|
|
76
|
+
*/
|
|
77
|
+
export interface Schema$CountrySettings {
|
|
78
|
+
/**
|
|
79
|
+
* True if this merchant has enabled free local listings in MC.
|
|
80
|
+
*/
|
|
81
|
+
freeLocalListingsEnabled?: boolean | null;
|
|
82
|
+
/**
|
|
83
|
+
* Output only. The verification state of this merchant's instock serving feature.
|
|
84
|
+
*/
|
|
85
|
+
instockServingVerificationState?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Output only. The verification state of this merchant's inventory check.
|
|
88
|
+
*/
|
|
89
|
+
inventoryVerificationState?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* True if this merchant has enabled local inventory ads in MC.
|
|
92
|
+
*/
|
|
93
|
+
localInventoryAdsEnabled?: boolean | null;
|
|
94
|
+
/**
|
|
95
|
+
* Output only. The verification state of this merchant's pickup serving feature.
|
|
96
|
+
*/
|
|
97
|
+
pickupServingVerificationState?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Output only. The product page type selected by this merchant.
|
|
100
|
+
*/
|
|
101
|
+
productPageType?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) for the country for which these settings are defined.
|
|
104
|
+
*/
|
|
105
|
+
regionCode?: string | null;
|
|
106
|
+
}
|
|
74
107
|
/**
|
|
75
108
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
76
109
|
*/
|
|
77
110
|
export interface Schema$Empty {
|
|
78
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* The inventory statistics for a merchant.
|
|
114
|
+
*/
|
|
115
|
+
export interface Schema$InventoryStats {
|
|
116
|
+
/**
|
|
117
|
+
* Number of entries (understanding entry as a pair of product and store) that were built based on provided inventories/sales and submitted to Google.
|
|
118
|
+
*/
|
|
119
|
+
submittedEntries?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Number of submitted in stock entries.
|
|
122
|
+
*/
|
|
123
|
+
submittedInStockEntries?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Number of products from provided inventories/sales that were created from matches to existing online products provided by the merchant or to the Google catalog.
|
|
126
|
+
*/
|
|
127
|
+
submittedProducts?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* Number of entries that were built based on provided inventories/sales and couldn't be submitted to Google due to errors like missing product.
|
|
130
|
+
*/
|
|
131
|
+
unsubmittedEntries?: string | null;
|
|
132
|
+
}
|
|
79
133
|
/**
|
|
80
134
|
* Local Inventory for the merchant.
|
|
81
135
|
*/
|
|
@@ -137,6 +191,31 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
137
191
|
*/
|
|
138
192
|
targetAccount?: string | null;
|
|
139
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* The LFP state of a merchant.
|
|
196
|
+
*/
|
|
197
|
+
export interface Schema$LfpMerchantState {
|
|
198
|
+
/**
|
|
199
|
+
* Country-specific settings for the merchant.
|
|
200
|
+
*/
|
|
201
|
+
countrySettings?: Schema$CountrySettings[];
|
|
202
|
+
/**
|
|
203
|
+
* The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
|
|
204
|
+
*/
|
|
205
|
+
inventoryStats?: Schema$InventoryStats;
|
|
206
|
+
/**
|
|
207
|
+
* Number of [GBPs](https://www.google.com/business/) this merchant has access to.
|
|
208
|
+
*/
|
|
209
|
+
linkedGbps?: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Identifier. The name of the `LfpMerchantState` resource. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`
|
|
212
|
+
*/
|
|
213
|
+
name?: string | null;
|
|
214
|
+
/**
|
|
215
|
+
* Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
|
|
216
|
+
*/
|
|
217
|
+
storeStates?: Schema$LfpStoreState[];
|
|
218
|
+
}
|
|
140
219
|
/**
|
|
141
220
|
* A sale for the merchant.
|
|
142
221
|
*/
|
|
@@ -239,6 +318,23 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
239
318
|
*/
|
|
240
319
|
websiteUri?: string | null;
|
|
241
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* The state of a specific merchant's store.
|
|
323
|
+
*/
|
|
324
|
+
export interface Schema$LfpStoreState {
|
|
325
|
+
/**
|
|
326
|
+
* Output only. The store matching state.
|
|
327
|
+
*/
|
|
328
|
+
matchingState?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* The hint of why the matching has failed (only set if matching_state is FAILED).
|
|
331
|
+
*/
|
|
332
|
+
matchingStateHint?: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Required. Immutable. The identifier of this store.
|
|
335
|
+
*/
|
|
336
|
+
storeCode?: string | null;
|
|
337
|
+
}
|
|
242
338
|
/**
|
|
243
339
|
* Response message for the ListLfpStores method.
|
|
244
340
|
*/
|
|
@@ -330,6 +426,7 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
330
426
|
export class Resource$Accounts {
|
|
331
427
|
context: APIRequestContext;
|
|
332
428
|
lfpInventories: Resource$Accounts$Lfpinventories;
|
|
429
|
+
lfpMerchantStates: Resource$Accounts$Lfpmerchantstates;
|
|
333
430
|
lfpSales: Resource$Accounts$Lfpsales;
|
|
334
431
|
lfpStores: Resource$Accounts$Lfpstores;
|
|
335
432
|
constructor(context: APIRequestContext);
|
|
@@ -345,8 +442,8 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
345
442
|
* @param callback - Optional callback that handles the response.
|
|
346
443
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
347
444
|
*/
|
|
348
|
-
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions):
|
|
349
|
-
insert(params?: Params$Resource$Accounts$Lfpinventories$Insert, options?: MethodOptions):
|
|
445
|
+
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
446
|
+
insert(params?: Params$Resource$Accounts$Lfpinventories$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpInventory>>;
|
|
350
447
|
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
351
448
|
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: MethodOptions | BodyResponseCallback<Schema$LfpInventory>, callback: BodyResponseCallback<Schema$LfpInventory>): void;
|
|
352
449
|
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, callback: BodyResponseCallback<Schema$LfpInventory>): void;
|
|
@@ -362,6 +459,30 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
362
459
|
*/
|
|
363
460
|
requestBody?: Schema$LfpInventory;
|
|
364
461
|
}
|
|
462
|
+
export class Resource$Accounts$Lfpmerchantstates {
|
|
463
|
+
context: APIRequestContext;
|
|
464
|
+
constructor(context: APIRequestContext);
|
|
465
|
+
/**
|
|
466
|
+
* Gets the LFP state of a merchant
|
|
467
|
+
*
|
|
468
|
+
* @param params - Parameters for request
|
|
469
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
470
|
+
* @param callback - Optional callback that handles the response.
|
|
471
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
472
|
+
*/
|
|
473
|
+
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
474
|
+
get(params?: Params$Resource$Accounts$Lfpmerchantstates$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpMerchantState>>;
|
|
475
|
+
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
476
|
+
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: MethodOptions | BodyResponseCallback<Schema$LfpMerchantState>, callback: BodyResponseCallback<Schema$LfpMerchantState>): void;
|
|
477
|
+
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, callback: BodyResponseCallback<Schema$LfpMerchantState>): void;
|
|
478
|
+
get(callback: BodyResponseCallback<Schema$LfpMerchantState>): void;
|
|
479
|
+
}
|
|
480
|
+
export interface Params$Resource$Accounts$Lfpmerchantstates$Get extends StandardParameters {
|
|
481
|
+
/**
|
|
482
|
+
* Required. The name of the state to retrieve. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`
|
|
483
|
+
*/
|
|
484
|
+
name?: string;
|
|
485
|
+
}
|
|
365
486
|
export class Resource$Accounts$Lfpsales {
|
|
366
487
|
context: APIRequestContext;
|
|
367
488
|
constructor(context: APIRequestContext);
|
|
@@ -373,8 +494,8 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
373
494
|
* @param callback - Optional callback that handles the response.
|
|
374
495
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
375
496
|
*/
|
|
376
|
-
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions):
|
|
377
|
-
insert(params?: Params$Resource$Accounts$Lfpsales$Insert, options?: MethodOptions):
|
|
497
|
+
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
498
|
+
insert(params?: Params$Resource$Accounts$Lfpsales$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpSale>>;
|
|
378
499
|
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
379
500
|
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: MethodOptions | BodyResponseCallback<Schema$LfpSale>, callback: BodyResponseCallback<Schema$LfpSale>): void;
|
|
380
501
|
insert(params: Params$Resource$Accounts$Lfpsales$Insert, callback: BodyResponseCallback<Schema$LfpSale>): void;
|
|
@@ -401,8 +522,8 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
401
522
|
* @param callback - Optional callback that handles the response.
|
|
402
523
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
403
524
|
*/
|
|
404
|
-
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions):
|
|
405
|
-
delete(params?: Params$Resource$Accounts$Lfpstores$Delete, options?: MethodOptions):
|
|
525
|
+
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
526
|
+
delete(params?: Params$Resource$Accounts$Lfpstores$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
406
527
|
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
407
528
|
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
408
529
|
delete(params: Params$Resource$Accounts$Lfpstores$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -415,8 +536,8 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
415
536
|
* @param callback - Optional callback that handles the response.
|
|
416
537
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
417
538
|
*/
|
|
418
|
-
get(params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions):
|
|
419
|
-
get(params?: Params$Resource$Accounts$Lfpstores$Get, options?: MethodOptions):
|
|
539
|
+
get(params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
540
|
+
get(params?: Params$Resource$Accounts$Lfpstores$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpStore>>;
|
|
420
541
|
get(params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
421
542
|
get(params: Params$Resource$Accounts$Lfpstores$Get, options: MethodOptions | BodyResponseCallback<Schema$LfpStore>, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
422
543
|
get(params: Params$Resource$Accounts$Lfpstores$Get, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
@@ -429,8 +550,8 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
429
550
|
* @param callback - Optional callback that handles the response.
|
|
430
551
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
431
552
|
*/
|
|
432
|
-
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions):
|
|
433
|
-
insert(params?: Params$Resource$Accounts$Lfpstores$Insert, options?: MethodOptions):
|
|
553
|
+
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
554
|
+
insert(params?: Params$Resource$Accounts$Lfpstores$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpStore>>;
|
|
434
555
|
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
435
556
|
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: MethodOptions | BodyResponseCallback<Schema$LfpStore>, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
436
557
|
insert(params: Params$Resource$Accounts$Lfpstores$Insert, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
@@ -443,8 +564,8 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
443
564
|
* @param callback - Optional callback that handles the response.
|
|
444
565
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
445
566
|
*/
|
|
446
|
-
list(params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions):
|
|
447
|
-
list(params?: Params$Resource$Accounts$Lfpstores$List, options?: MethodOptions):
|
|
567
|
+
list(params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
568
|
+
list(params?: Params$Resource$Accounts$Lfpstores$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListLfpStoresResponse>>;
|
|
448
569
|
list(params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
449
570
|
list(params: Params$Resource$Accounts$Lfpstores$List, options: MethodOptions | BodyResponseCallback<Schema$ListLfpStoresResponse>, callback: BodyResponseCallback<Schema$ListLfpStoresResponse>): void;
|
|
450
571
|
list(params: Params$Resource$Accounts$Lfpstores$List, callback: BodyResponseCallback<Schema$ListLfpStoresResponse>): void;
|
package/build/lfp_v1beta.js
CHANGED
|
@@ -46,6 +46,7 @@ var merchantapi_lfp_v1beta;
|
|
|
46
46
|
constructor(context) {
|
|
47
47
|
this.context = context;
|
|
48
48
|
this.lfpInventories = new Resource$Accounts$Lfpinventories(this.context);
|
|
49
|
+
this.lfpMerchantStates = new Resource$Accounts$Lfpmerchantstates(this.context);
|
|
49
50
|
this.lfpSales = new Resource$Accounts$Lfpsales(this.context);
|
|
50
51
|
this.lfpStores = new Resource$Accounts$Lfpstores(this.context);
|
|
51
52
|
}
|
|
@@ -89,6 +90,44 @@ var merchantapi_lfp_v1beta;
|
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
merchantapi_lfp_v1beta.Resource$Accounts$Lfpinventories = Resource$Accounts$Lfpinventories;
|
|
93
|
+
class Resource$Accounts$Lfpmerchantstates {
|
|
94
|
+
constructor(context) {
|
|
95
|
+
this.context = context;
|
|
96
|
+
}
|
|
97
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
98
|
+
let params = (paramsOrCallback ||
|
|
99
|
+
{});
|
|
100
|
+
let options = (optionsOrCallback || {});
|
|
101
|
+
if (typeof paramsOrCallback === 'function') {
|
|
102
|
+
callback = paramsOrCallback;
|
|
103
|
+
params = {};
|
|
104
|
+
options = {};
|
|
105
|
+
}
|
|
106
|
+
if (typeof optionsOrCallback === 'function') {
|
|
107
|
+
callback = optionsOrCallback;
|
|
108
|
+
options = {};
|
|
109
|
+
}
|
|
110
|
+
const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
|
|
111
|
+
const parameters = {
|
|
112
|
+
options: Object.assign({
|
|
113
|
+
url: (rootUrl + '/lfp/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
114
|
+
method: 'GET',
|
|
115
|
+
apiVersion: '',
|
|
116
|
+
}, options),
|
|
117
|
+
params,
|
|
118
|
+
requiredParams: ['name'],
|
|
119
|
+
pathParams: ['name'],
|
|
120
|
+
context: this.context,
|
|
121
|
+
};
|
|
122
|
+
if (callback) {
|
|
123
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
merchantapi_lfp_v1beta.Resource$Accounts$Lfpmerchantstates = Resource$Accounts$Lfpmerchantstates;
|
|
92
131
|
class Resource$Accounts$Lfpsales {
|
|
93
132
|
constructor(context) {
|
|
94
133
|
this.context = context;
|
package/build/lfp_v1beta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lfp_v1beta.js","sourceRoot":"","sources":["../lfp_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"lfp_v1beta.js","sourceRoot":"","sources":["../lfp_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,sBAAsB,CAmrCtC;AAnrCD,WAAiB,sBAAsB;IAgErC;;;;;;;;;;OAUG;IACH,MAAa,WAAW;QAItB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,CAAC;KACF;IAZY,kCAAW,cAYvB,CAAA;IAkWD,MAAa,iBAAiB;QAM5B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,cAAc,GAAG,IAAI,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,C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IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,qCAAqC,CAAC;YACzE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,iCAAiC,CAAC,CAAC,OAAO,CACxD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,KAAK;oBACb,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,QAAQ,CAAC;gBAC1B,UAAU,EAAE,CAAC,QAAQ,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAA+B,UAAU,CAAC,CAAC;aACnE;QACH,CAAC;KACF;IAnXY,kDAA2B,8BAmXvC,CAAA;AA+CH,CAAC,EAnrCgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAmrCtC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace merchantapi_notifications_v1beta {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -192,8 +192,8 @@ export declare namespace merchantapi_notifications_v1beta {
|
|
|
192
192
|
* @param callback - Optional callback that handles the response.
|
|
193
193
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
194
194
|
*/
|
|
195
|
-
create(params: Params$Resource$Accounts$Notificationsubscriptions$Create, options: StreamMethodOptions):
|
|
196
|
-
create(params?: Params$Resource$Accounts$Notificationsubscriptions$Create, options?: MethodOptions):
|
|
195
|
+
create(params: Params$Resource$Accounts$Notificationsubscriptions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
196
|
+
create(params?: Params$Resource$Accounts$Notificationsubscriptions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$NotificationSubscription>>;
|
|
197
197
|
create(params: Params$Resource$Accounts$Notificationsubscriptions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
198
198
|
create(params: Params$Resource$Accounts$Notificationsubscriptions$Create, options: MethodOptions | BodyResponseCallback<Schema$NotificationSubscription>, callback: BodyResponseCallback<Schema$NotificationSubscription>): void;
|
|
199
199
|
create(params: Params$Resource$Accounts$Notificationsubscriptions$Create, callback: BodyResponseCallback<Schema$NotificationSubscription>): void;
|
|
@@ -206,8 +206,8 @@ export declare namespace merchantapi_notifications_v1beta {
|
|
|
206
206
|
* @param callback - Optional callback that handles the response.
|
|
207
207
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
208
208
|
*/
|
|
209
|
-
delete(params: Params$Resource$Accounts$Notificationsubscriptions$Delete, options: StreamMethodOptions):
|
|
210
|
-
delete(params?: Params$Resource$Accounts$Notificationsubscriptions$Delete, options?: MethodOptions):
|
|
209
|
+
delete(params: Params$Resource$Accounts$Notificationsubscriptions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
210
|
+
delete(params?: Params$Resource$Accounts$Notificationsubscriptions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
211
211
|
delete(params: Params$Resource$Accounts$Notificationsubscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
212
212
|
delete(params: Params$Resource$Accounts$Notificationsubscriptions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
213
213
|
delete(params: Params$Resource$Accounts$Notificationsubscriptions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -220,8 +220,8 @@ export declare namespace merchantapi_notifications_v1beta {
|
|
|
220
220
|
* @param callback - Optional callback that handles the response.
|
|
221
221
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
222
222
|
*/
|
|
223
|
-
get(params: Params$Resource$Accounts$Notificationsubscriptions$Get, options: StreamMethodOptions):
|
|
224
|
-
get(params?: Params$Resource$Accounts$Notificationsubscriptions$Get, options?: MethodOptions):
|
|
223
|
+
get(params: Params$Resource$Accounts$Notificationsubscriptions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
224
|
+
get(params?: Params$Resource$Accounts$Notificationsubscriptions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$NotificationSubscription>>;
|
|
225
225
|
get(params: Params$Resource$Accounts$Notificationsubscriptions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
226
226
|
get(params: Params$Resource$Accounts$Notificationsubscriptions$Get, options: MethodOptions | BodyResponseCallback<Schema$NotificationSubscription>, callback: BodyResponseCallback<Schema$NotificationSubscription>): void;
|
|
227
227
|
get(params: Params$Resource$Accounts$Notificationsubscriptions$Get, callback: BodyResponseCallback<Schema$NotificationSubscription>): void;
|
|
@@ -234,8 +234,8 @@ export declare namespace merchantapi_notifications_v1beta {
|
|
|
234
234
|
* @param callback - Optional callback that handles the response.
|
|
235
235
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
236
236
|
*/
|
|
237
|
-
list(params: Params$Resource$Accounts$Notificationsubscriptions$List, options: StreamMethodOptions):
|
|
238
|
-
list(params?: Params$Resource$Accounts$Notificationsubscriptions$List, options?: MethodOptions):
|
|
237
|
+
list(params: Params$Resource$Accounts$Notificationsubscriptions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
238
|
+
list(params?: Params$Resource$Accounts$Notificationsubscriptions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationSubscriptionsResponse>>;
|
|
239
239
|
list(params: Params$Resource$Accounts$Notificationsubscriptions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
240
240
|
list(params: Params$Resource$Accounts$Notificationsubscriptions$List, options: MethodOptions | BodyResponseCallback<Schema$ListNotificationSubscriptionsResponse>, callback: BodyResponseCallback<Schema$ListNotificationSubscriptionsResponse>): void;
|
|
241
241
|
list(params: Params$Resource$Accounts$Notificationsubscriptions$List, callback: BodyResponseCallback<Schema$ListNotificationSubscriptionsResponse>): void;
|
|
@@ -248,8 +248,8 @@ export declare namespace merchantapi_notifications_v1beta {
|
|
|
248
248
|
* @param callback - Optional callback that handles the response.
|
|
249
249
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
250
250
|
*/
|
|
251
|
-
patch(params: Params$Resource$Accounts$Notificationsubscriptions$Patch, options: StreamMethodOptions):
|
|
252
|
-
patch(params?: Params$Resource$Accounts$Notificationsubscriptions$Patch, options?: MethodOptions):
|
|
251
|
+
patch(params: Params$Resource$Accounts$Notificationsubscriptions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
252
|
+
patch(params?: Params$Resource$Accounts$Notificationsubscriptions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$NotificationSubscription>>;
|
|
253
253
|
patch(params: Params$Resource$Accounts$Notificationsubscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
254
254
|
patch(params: Params$Resource$Accounts$Notificationsubscriptions$Patch, options: MethodOptions | BodyResponseCallback<Schema$NotificationSubscription>, callback: BodyResponseCallback<Schema$NotificationSubscription>): void;
|
|
255
255
|
patch(params: Params$Resource$Accounts$Notificationsubscriptions$Patch, callback: BodyResponseCallback<Schema$NotificationSubscription>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications_v1beta.js","sourceRoot":"","sources":["../notifications_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,gCAAgC,
|
|
1
|
+
{"version":3,"file":"notifications_v1beta.js","sourceRoot":"","sources":["../notifications_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,gCAAgC,CAyuBhD;AAzuBD,WAAiB,gCAAgC;IAgE/C;;;;;;;;;;OAUG;IACH,MAAa,WAAW;QAItB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,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