@googleapis/merchantapi 5.0.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/accounts_v1beta.ts +301 -188
  3. package/build/accounts_v1beta.d.ts +119 -119
  4. package/build/accounts_v1beta.js.map +1 -1
  5. package/build/conversions_v1beta.d.ts +13 -13
  6. package/build/conversions_v1beta.js.map +1 -1
  7. package/build/datasources_v1beta.d.ts +16 -16
  8. package/build/datasources_v1beta.js.map +1 -1
  9. package/build/index.d.ts +11 -1
  10. package/build/index.js +7 -1
  11. package/build/index.js.map +1 -1
  12. package/build/inventories_v1beta.d.ts +13 -13
  13. package/build/inventories_v1beta.js.map +1 -1
  14. package/build/issueresolution_v1beta.d.ts +661 -0
  15. package/build/issueresolution_v1beta.js +148 -0
  16. package/build/issueresolution_v1beta.js.map +1 -0
  17. package/build/lfp_v1beta.d.ts +15 -15
  18. package/build/lfp_v1beta.js.map +1 -1
  19. package/build/notifications_v1beta.d.ts +11 -11
  20. package/build/notifications_v1beta.js.map +1 -1
  21. package/build/ordertracking_v1beta.d.ts +385 -0
  22. package/build/ordertracking_v1beta.js +91 -0
  23. package/build/ordertracking_v1beta.js.map +1 -0
  24. package/build/products_v1beta.d.ts +11 -11
  25. package/build/products_v1beta.js.map +1 -1
  26. package/build/promotions_v1beta.d.ts +7 -7
  27. package/build/promotions_v1beta.js.map +1 -1
  28. package/build/quota_v1beta.d.ts +3 -3
  29. package/build/reports_v1beta.d.ts +3 -3
  30. package/build/reports_v1beta.js.map +1 -1
  31. package/build/reviews_v1beta.d.ts +17 -17
  32. package/build/reviews_v1beta.js.map +1 -1
  33. package/conversions_v1beta.ts +35 -20
  34. package/datasources_v1beta.ts +42 -24
  35. package/index.ts +24 -1
  36. package/inventories_v1beta.ts +31 -22
  37. package/issueresolution_v1beta.ts +962 -0
  38. package/lfp_v1beta.ts +41 -23
  39. package/notifications_v1beta.ts +27 -20
  40. package/ordertracking_v1beta.ts +525 -0
  41. package/package.json +2 -2
  42. package/products_v1beta.ts +29 -17
  43. package/promotions_v1beta.ts +17 -11
  44. package/quota_v1beta.ts +5 -5
  45. package/reports_v1beta.ts +7 -4
  46. package/reviews_v1beta.ts +45 -27
@@ -0,0 +1,385 @@
1
+ /// <reference types="node" />
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
+ import { Readable } from 'stream';
4
+ export declare namespace merchantapi_ordertracking_v1beta {
5
+ export interface Options extends GlobalOptions {
6
+ version: 'ordertracking_v1beta';
7
+ }
8
+ interface StandardParameters {
9
+ /**
10
+ * Auth client or API Key for the request
11
+ */
12
+ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
13
+ /**
14
+ * V1 error format.
15
+ */
16
+ '$.xgafv'?: string;
17
+ /**
18
+ * OAuth access token.
19
+ */
20
+ access_token?: string;
21
+ /**
22
+ * Data format for response.
23
+ */
24
+ alt?: string;
25
+ /**
26
+ * JSONP
27
+ */
28
+ callback?: string;
29
+ /**
30
+ * Selector specifying which fields to include in a partial response.
31
+ */
32
+ fields?: string;
33
+ /**
34
+ * 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.
35
+ */
36
+ key?: string;
37
+ /**
38
+ * OAuth 2.0 token for the current user.
39
+ */
40
+ oauth_token?: string;
41
+ /**
42
+ * Returns response with indentations and line breaks.
43
+ */
44
+ prettyPrint?: boolean;
45
+ /**
46
+ * 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.
47
+ */
48
+ quotaUser?: string;
49
+ /**
50
+ * Legacy upload protocol for media (e.g. "media", "multipart").
51
+ */
52
+ uploadType?: string;
53
+ /**
54
+ * Upload protocol for media (e.g. "raw", "multipart").
55
+ */
56
+ upload_protocol?: string;
57
+ }
58
+ /**
59
+ * Merchant API
60
+ *
61
+ * Programmatically manage your Merchant Center Accounts.
62
+ *
63
+ * @example
64
+ * ```js
65
+ * const {google} = require('googleapis');
66
+ * const merchantapi = google.merchantapi('ordertracking_v1beta');
67
+ * ```
68
+ */
69
+ export class Merchantapi {
70
+ context: APIRequestContext;
71
+ accounts: Resource$Accounts;
72
+ constructor(options: GlobalOptions, google?: GoogleConfigurable);
73
+ }
74
+ /**
75
+ * Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.
76
+ */
77
+ export interface Schema$DateTime {
78
+ /**
79
+ * Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.
80
+ */
81
+ day?: number | null;
82
+ /**
83
+ * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.
84
+ */
85
+ hours?: number | null;
86
+ /**
87
+ * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
88
+ */
89
+ minutes?: number | null;
90
+ /**
91
+ * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
92
+ */
93
+ month?: number | null;
94
+ /**
95
+ * Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
96
+ */
97
+ nanos?: number | null;
98
+ /**
99
+ * Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.
100
+ */
101
+ seconds?: number | null;
102
+ /**
103
+ * Time zone.
104
+ */
105
+ timeZone?: Schema$TimeZone;
106
+ /**
107
+ * UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 \}.
108
+ */
109
+ utcOffset?: string | null;
110
+ /**
111
+ * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
112
+ */
113
+ year?: number | null;
114
+ }
115
+ /**
116
+ * The line items of the order.
117
+ */
118
+ export interface Schema$LineItemDetails {
119
+ /**
120
+ * Optional. Brand of the product.
121
+ */
122
+ brand?: string | null;
123
+ /**
124
+ * Optional. The Global Trade Item Number.
125
+ */
126
+ gtin?: string | null;
127
+ /**
128
+ * Required. The ID for this line item.
129
+ */
130
+ lineItemId?: string | null;
131
+ /**
132
+ * Optional. The manufacturer part number.
133
+ */
134
+ mpn?: string | null;
135
+ /**
136
+ * Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.
137
+ */
138
+ productId?: string | null;
139
+ /**
140
+ * Optional. Plain text title of this product.
141
+ */
142
+ productTitle?: string | null;
143
+ /**
144
+ * Required. The quantity of the line item in the order.
145
+ */
146
+ quantity?: string | null;
147
+ }
148
+ /**
149
+ * Represents a business trade from which signals are extracted, such as shipping.
150
+ */
151
+ export interface Schema$OrderTrackingSignal {
152
+ /**
153
+ * Optional. The shipping fee of the order; this value should be set to zero in the case of free shipping.
154
+ */
155
+ customerShippingFee?: Schema$Price;
156
+ /**
157
+ * Optional. The delivery postal code, as a continuous string without spaces or dashes, for example "95016". This field will be anonymized in returned OrderTrackingSignal creation response.
158
+ */
159
+ deliveryPostalCode?: string | null;
160
+ /**
161
+ * Optional. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.
162
+ */
163
+ deliveryRegionCode?: string | null;
164
+ /**
165
+ * Required. Information about line items in the order.
166
+ */
167
+ lineItems?: Schema$LineItemDetails[];
168
+ /**
169
+ * Optional. The Google Merchant Center ID of this order tracking signal. This value is optional. If left unset, the caller's Merchant Center ID is used. You must request access in order to provide data on behalf of another business. For more information, see [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-signals).
170
+ */
171
+ merchantId?: string | null;
172
+ /**
173
+ * Required. The time when the order was created on the businesses side. Include the year and timezone string, if available.
174
+ */
175
+ orderCreatedTime?: Schema$DateTime;
176
+ /**
177
+ * Required. The ID of the order on the businesses side. This field will be hashed in returned OrderTrackingSignal creation response.
178
+ */
179
+ orderId?: string | null;
180
+ /**
181
+ * Output only. The ID that uniquely identifies this order tracking signal.
182
+ */
183
+ orderTrackingSignalId?: string | null;
184
+ /**
185
+ * Optional. The mapping of the line items to the shipment information.
186
+ */
187
+ shipmentLineItemMapping?: Schema$ShipmentLineItemMapping[];
188
+ /**
189
+ * Required. The shipping information for the order.
190
+ */
191
+ shippingInfo?: Schema$ShippingInfo[];
192
+ }
193
+ /**
194
+ * The price represented as a number and currency.
195
+ */
196
+ export interface Schema$Price {
197
+ /**
198
+ * The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
199
+ */
200
+ amountMicros?: string | null;
201
+ /**
202
+ * The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
203
+ */
204
+ currencyCode?: string | null;
205
+ }
206
+ /**
207
+ * The change that happened to the product including old value, new value, country code as the region code and reporting context.
208
+ */
209
+ export interface Schema$ProductChange {
210
+ /**
211
+ * The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
212
+ */
213
+ newValue?: string | null;
214
+ /**
215
+ * The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
216
+ */
217
+ oldValue?: string | null;
218
+ /**
219
+ * Countries that have the change (if applicable). Represented in the ISO 3166 format.
220
+ */
221
+ regionCode?: string | null;
222
+ /**
223
+ * Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
224
+ */
225
+ reportingContext?: string | null;
226
+ }
227
+ /**
228
+ * The message that the merchant will receive to notify about product status change event
229
+ */
230
+ export interface Schema$ProductStatusChangeMessage {
231
+ /**
232
+ * The target account that owns the entity that changed. Format : `accounts/{merchant_id\}`
233
+ */
234
+ account?: string | null;
235
+ /**
236
+ * The attribute in the resource that changed, in this case it will be always `Status`.
237
+ */
238
+ attribute?: string | null;
239
+ /**
240
+ * A message to describe the change that happened to the product
241
+ */
242
+ changes?: Schema$ProductChange[];
243
+ /**
244
+ * The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
245
+ */
246
+ eventTime?: string | null;
247
+ /**
248
+ * Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
249
+ */
250
+ expirationTime?: string | null;
251
+ /**
252
+ * The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id\}`
253
+ */
254
+ managingAccount?: string | null;
255
+ /**
256
+ * The product name. Format: `accounts/{account\}/products/{product\}`
257
+ */
258
+ resource?: string | null;
259
+ /**
260
+ * The product id.
261
+ */
262
+ resourceId?: string | null;
263
+ /**
264
+ * The resource that changed, in this case it will always be `Product`.
265
+ */
266
+ resourceType?: string | null;
267
+ }
268
+ /**
269
+ * Represents how many items are in the shipment for the given shipment_id and line_item_id.
270
+ */
271
+ export interface Schema$ShipmentLineItemMapping {
272
+ /**
273
+ * Required. The line item ID.
274
+ */
275
+ lineItemId?: string | null;
276
+ /**
277
+ * Required. The line item quantity in the shipment.
278
+ */
279
+ quantity?: string | null;
280
+ /**
281
+ * Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.
282
+ */
283
+ shipmentId?: string | null;
284
+ }
285
+ /**
286
+ * The shipping information for the order.
287
+ */
288
+ export interface Schema$ShippingInfo {
289
+ /**
290
+ * Optional. The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name.
291
+ */
292
+ actualDeliveryTime?: Schema$DateTime;
293
+ /**
294
+ * Optional. The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.
295
+ */
296
+ carrier?: string | null;
297
+ /**
298
+ * Optional. The service type for fulfillment, such as GROUND, FIRST_CLASS, etc.
299
+ */
300
+ carrierService?: string | null;
301
+ /**
302
+ * Optional. The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name.
303
+ */
304
+ earliestDeliveryPromiseTime?: Schema$DateTime;
305
+ /**
306
+ * Optional. The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name.
307
+ */
308
+ latestDeliveryPromiseTime?: Schema$DateTime;
309
+ /**
310
+ * Required. The origin postal code, as a continuous string without spaces or dashes, for example "95016". This field will be anonymized in returned OrderTrackingSignal creation response.
311
+ */
312
+ originPostalCode?: string | null;
313
+ /**
314
+ * Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin.
315
+ */
316
+ originRegionCode?: string | null;
317
+ /**
318
+ * Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.
319
+ */
320
+ shipmentId?: string | null;
321
+ /**
322
+ * Optional. The time when the shipment was shipped. Include the year and timezone string, if available.
323
+ */
324
+ shippedTime?: Schema$DateTime;
325
+ /**
326
+ * Required. The status of the shipment.
327
+ */
328
+ shippingStatus?: string | null;
329
+ /**
330
+ * Optional. The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.
331
+ */
332
+ trackingId?: string | null;
333
+ }
334
+ /**
335
+ * Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).
336
+ */
337
+ export interface Schema$TimeZone {
338
+ /**
339
+ * IANA Time Zone Database time zone. For example "America/New_York".
340
+ */
341
+ id?: string | null;
342
+ /**
343
+ * Optional. IANA Time Zone Database version number. For example "2019a".
344
+ */
345
+ version?: string | null;
346
+ }
347
+ export class Resource$Accounts {
348
+ context: APIRequestContext;
349
+ ordertrackingsignals: Resource$Accounts$Ordertrackingsignals;
350
+ constructor(context: APIRequestContext);
351
+ }
352
+ export class Resource$Accounts$Ordertrackingsignals {
353
+ context: APIRequestContext;
354
+ constructor(context: APIRequestContext);
355
+ /**
356
+ * Creates new order tracking signal.
357
+ *
358
+ * @param params - Parameters for request
359
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
360
+ * @param callback - Optional callback that handles the response.
361
+ * @returns A promise if used with async/await, or void if used with a callback.
362
+ */
363
+ create(params: Params$Resource$Accounts$Ordertrackingsignals$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
364
+ create(params?: Params$Resource$Accounts$Ordertrackingsignals$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$OrderTrackingSignal>>;
365
+ create(params: Params$Resource$Accounts$Ordertrackingsignals$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
366
+ create(params: Params$Resource$Accounts$Ordertrackingsignals$Create, options: MethodOptions | BodyResponseCallback<Schema$OrderTrackingSignal>, callback: BodyResponseCallback<Schema$OrderTrackingSignal>): void;
367
+ create(params: Params$Resource$Accounts$Ordertrackingsignals$Create, callback: BodyResponseCallback<Schema$OrderTrackingSignal>): void;
368
+ create(callback: BodyResponseCallback<Schema$OrderTrackingSignal>): void;
369
+ }
370
+ export interface Params$Resource$Accounts$Ordertrackingsignals$Create extends StandardParameters {
371
+ /**
372
+ * Output only. The ID that uniquely identifies this order tracking signal.
373
+ */
374
+ orderTrackingSignalId?: string;
375
+ /**
376
+ * Required. The account of the business for which the order signal is created. Format: accounts/{account\}
377
+ */
378
+ parent?: string;
379
+ /**
380
+ * Request body metadata
381
+ */
382
+ requestBody?: Schema$OrderTrackingSignal;
383
+ }
384
+ export {};
385
+ }
@@ -0,0 +1,91 @@
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_ordertracking_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_ordertracking_v1beta;
23
+ (function (merchantapi_ordertracking_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('ordertracking_v1beta');
33
+ * ```
34
+ */
35
+ class Merchantapi {
36
+ constructor(options, google) {
37
+ this.context = {
38
+ _options: options || {},
39
+ google,
40
+ };
41
+ this.accounts = new Resource$Accounts(this.context);
42
+ }
43
+ }
44
+ merchantapi_ordertracking_v1beta.Merchantapi = Merchantapi;
45
+ class Resource$Accounts {
46
+ constructor(context) {
47
+ this.context = context;
48
+ this.ordertrackingsignals = new Resource$Accounts$Ordertrackingsignals(this.context);
49
+ }
50
+ }
51
+ merchantapi_ordertracking_v1beta.Resource$Accounts = Resource$Accounts;
52
+ class Resource$Accounts$Ordertrackingsignals {
53
+ constructor(context) {
54
+ this.context = context;
55
+ }
56
+ create(paramsOrCallback, optionsOrCallback, callback) {
57
+ let params = (paramsOrCallback ||
58
+ {});
59
+ let options = (optionsOrCallback || {});
60
+ if (typeof paramsOrCallback === 'function') {
61
+ callback = paramsOrCallback;
62
+ params = {};
63
+ options = {};
64
+ }
65
+ if (typeof optionsOrCallback === 'function') {
66
+ callback = optionsOrCallback;
67
+ options = {};
68
+ }
69
+ const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
70
+ const parameters = {
71
+ options: Object.assign({
72
+ url: (rootUrl + '/ordertracking/v1beta/{+parent}/ordertrackingsignals').replace(/([^:]\/)\/+/g, '$1'),
73
+ method: 'POST',
74
+ apiVersion: '',
75
+ }, options),
76
+ params,
77
+ requiredParams: ['parent'],
78
+ pathParams: ['parent'],
79
+ context: this.context,
80
+ };
81
+ if (callback) {
82
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
83
+ }
84
+ else {
85
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
86
+ }
87
+ }
88
+ }
89
+ merchantapi_ordertracking_v1beta.Resource$Accounts$Ordertrackingsignals = Resource$Accounts$Ordertrackingsignals;
90
+ })(merchantapi_ordertracking_v1beta = exports.merchantapi_ordertracking_v1beta || (exports.merchantapi_ordertracking_v1beta = {}));
91
+ //# sourceMappingURL=ordertracking_v1beta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ordertracking_v1beta.js","sourceRoot":"","sources":["../ordertracking_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE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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,sDAAsD,CACjE,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,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,EAA6B,UAAU,CAAC,CAAC;aACjE;QACH,CAAC;KACF;IA/FY,uEAAsC,yCA+FlD,CAAA;AAkBH,CAAC,EAvegB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAuehD"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
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_products_v1beta {
5
5
  export interface Options extends GlobalOptions {
@@ -1157,8 +1157,8 @@ export declare namespace merchantapi_products_v1beta {
1157
1157
  * @param callback - Optional callback that handles the response.
1158
1158
  * @returns A promise if used with async/await, or void if used with a callback.
1159
1159
  */
1160
- delete(params: Params$Resource$Accounts$Productinputs$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1161
- delete(params?: Params$Resource$Accounts$Productinputs$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
1160
+ delete(params: Params$Resource$Accounts$Productinputs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1161
+ delete(params?: Params$Resource$Accounts$Productinputs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
1162
1162
  delete(params: Params$Resource$Accounts$Productinputs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1163
1163
  delete(params: Params$Resource$Accounts$Productinputs$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1164
1164
  delete(params: Params$Resource$Accounts$Productinputs$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -1171,8 +1171,8 @@ export declare namespace merchantapi_products_v1beta {
1171
1171
  * @param callback - Optional callback that handles the response.
1172
1172
  * @returns A promise if used with async/await, or void if used with a callback.
1173
1173
  */
1174
- insert(params: Params$Resource$Accounts$Productinputs$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
1175
- insert(params?: Params$Resource$Accounts$Productinputs$Insert, options?: MethodOptions): GaxiosPromise<Schema$ProductInput>;
1174
+ insert(params: Params$Resource$Accounts$Productinputs$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1175
+ insert(params?: Params$Resource$Accounts$Productinputs$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ProductInput>>;
1176
1176
  insert(params: Params$Resource$Accounts$Productinputs$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1177
1177
  insert(params: Params$Resource$Accounts$Productinputs$Insert, options: MethodOptions | BodyResponseCallback<Schema$ProductInput>, callback: BodyResponseCallback<Schema$ProductInput>): void;
1178
1178
  insert(params: Params$Resource$Accounts$Productinputs$Insert, callback: BodyResponseCallback<Schema$ProductInput>): void;
@@ -1185,8 +1185,8 @@ export declare namespace merchantapi_products_v1beta {
1185
1185
  * @param callback - Optional callback that handles the response.
1186
1186
  * @returns A promise if used with async/await, or void if used with a callback.
1187
1187
  */
1188
- patch(params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
1189
- patch(params?: Params$Resource$Accounts$Productinputs$Patch, options?: MethodOptions): GaxiosPromise<Schema$ProductInput>;
1188
+ patch(params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1189
+ patch(params?: Params$Resource$Accounts$Productinputs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ProductInput>>;
1190
1190
  patch(params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1191
1191
  patch(params: Params$Resource$Accounts$Productinputs$Patch, options: MethodOptions | BodyResponseCallback<Schema$ProductInput>, callback: BodyResponseCallback<Schema$ProductInput>): void;
1192
1192
  patch(params: Params$Resource$Accounts$Productinputs$Patch, callback: BodyResponseCallback<Schema$ProductInput>): void;
@@ -1245,8 +1245,8 @@ export declare namespace merchantapi_products_v1beta {
1245
1245
  * @param callback - Optional callback that handles the response.
1246
1246
  * @returns A promise if used with async/await, or void if used with a callback.
1247
1247
  */
1248
- get(params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1249
- get(params?: Params$Resource$Accounts$Products$Get, options?: MethodOptions): GaxiosPromise<Schema$Product>;
1248
+ get(params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1249
+ get(params?: Params$Resource$Accounts$Products$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Product>>;
1250
1250
  get(params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1251
1251
  get(params: Params$Resource$Accounts$Products$Get, options: MethodOptions | BodyResponseCallback<Schema$Product>, callback: BodyResponseCallback<Schema$Product>): void;
1252
1252
  get(params: Params$Resource$Accounts$Products$Get, callback: BodyResponseCallback<Schema$Product>): void;
@@ -1259,8 +1259,8 @@ export declare namespace merchantapi_products_v1beta {
1259
1259
  * @param callback - Optional callback that handles the response.
1260
1260
  * @returns A promise if used with async/await, or void if used with a callback.
1261
1261
  */
1262
- list(params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1263
- list(params?: Params$Resource$Accounts$Products$List, options?: MethodOptions): GaxiosPromise<Schema$ListProductsResponse>;
1262
+ list(params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1263
+ list(params?: Params$Resource$Accounts$Products$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListProductsResponse>>;
1264
1264
  list(params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1265
1265
  list(params: Params$Resource$Accounts$Products$List, options: MethodOptions | BodyResponseCallback<Schema$ListProductsResponse>, callback: BodyResponseCallback<Schema$ListProductsResponse>): void;
1266
1266
  list(params: Params$Resource$Accounts$Products$List, callback: BodyResponseCallback<Schema$ListProductsResponse>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"products_v1beta.js","sourceRoot":"","sources":["../products_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,uDAA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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,EAA8B,UAAU,CAAC,CAAC;aAClE;QACH,CAAC;KACF;IA7LY,sDAA0B,6BA6LtC,CAAA;AAwBH,CAAC,EA7qDgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA6qD3C"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
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_promotions_v1beta {
5
5
  export interface Options extends GlobalOptions {
@@ -463,8 +463,8 @@ export declare namespace merchantapi_promotions_v1beta {
463
463
  * @param callback - Optional callback that handles the response.
464
464
  * @returns A promise if used with async/await, or void if used with a callback.
465
465
  */
466
- get(params: Params$Resource$Accounts$Promotions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
467
- get(params?: Params$Resource$Accounts$Promotions$Get, options?: MethodOptions): GaxiosPromise<Schema$Promotion>;
466
+ get(params: Params$Resource$Accounts$Promotions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
467
+ get(params?: Params$Resource$Accounts$Promotions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>;
468
468
  get(params: Params$Resource$Accounts$Promotions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
469
469
  get(params: Params$Resource$Accounts$Promotions$Get, options: MethodOptions | BodyResponseCallback<Schema$Promotion>, callback: BodyResponseCallback<Schema$Promotion>): void;
470
470
  get(params: Params$Resource$Accounts$Promotions$Get, callback: BodyResponseCallback<Schema$Promotion>): void;
@@ -477,8 +477,8 @@ export declare namespace merchantapi_promotions_v1beta {
477
477
  * @param callback - Optional callback that handles the response.
478
478
  * @returns A promise if used with async/await, or void if used with a callback.
479
479
  */
480
- insert(params: Params$Resource$Accounts$Promotions$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
481
- insert(params?: Params$Resource$Accounts$Promotions$Insert, options?: MethodOptions): GaxiosPromise<Schema$Promotion>;
480
+ insert(params: Params$Resource$Accounts$Promotions$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
481
+ insert(params?: Params$Resource$Accounts$Promotions$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>;
482
482
  insert(params: Params$Resource$Accounts$Promotions$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
483
483
  insert(params: Params$Resource$Accounts$Promotions$Insert, options: MethodOptions | BodyResponseCallback<Schema$Promotion>, callback: BodyResponseCallback<Schema$Promotion>): void;
484
484
  insert(params: Params$Resource$Accounts$Promotions$Insert, callback: BodyResponseCallback<Schema$Promotion>): void;
@@ -491,8 +491,8 @@ export declare namespace merchantapi_promotions_v1beta {
491
491
  * @param callback - Optional callback that handles the response.
492
492
  * @returns A promise if used with async/await, or void if used with a callback.
493
493
  */
494
- list(params: Params$Resource$Accounts$Promotions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
495
- list(params?: Params$Resource$Accounts$Promotions$List, options?: MethodOptions): GaxiosPromise<Schema$ListPromotionsResponse>;
494
+ list(params: Params$Resource$Accounts$Promotions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
495
+ list(params?: Params$Resource$Accounts$Promotions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListPromotionsResponse>>;
496
496
  list(params: Params$Resource$Accounts$Promotions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
497
497
  list(params: Params$Resource$Accounts$Promotions$List, options: MethodOptions | BodyResponseCallback<Schema$ListPromotionsResponse>, callback: BodyResponseCallback<Schema$ListPromotionsResponse>): void;
498
498
  list(params: Params$Resource$Accounts$Promotions$List, callback: BodyResponseCallback<Schema$ListPromotionsResponse>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"promotions_v1beta.js","sourceRoot":"","sources":["../promotions_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,6BAA6B,CAgxB7C;AAhxBD,WAAiB,6BAA6B;IAgE5C;;;;;;;;;;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,yCAAW,cAYvB,CAAA;IA2XD,MA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