@googleapis/merchantapi 16.0.0 → 17.0.0
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 +20 -0
- package/accounts_v1.ts +344 -140
- package/accounts_v1beta.ts +342 -136
- package/build/accounts_v1.d.ts +194 -0
- package/build/accounts_v1.js +41 -0
- package/build/accounts_v1.js.map +1 -1
- package/build/accounts_v1beta.d.ts +194 -0
- package/build/accounts_v1beta.js +41 -0
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1.js.map +1 -1
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1.js.map +1 -1
- package/build/datasources_v1beta.js.map +1 -1
- package/build/inventories_v1.d.ts +14 -14
- package/build/inventories_v1.js.map +1 -1
- package/build/inventories_v1beta.d.ts +14 -14
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1.d.ts +2 -2
- package/build/issueresolution_v1.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +2 -2
- package/build/issueresolution_v1beta.js.map +1 -1
- package/build/lfp_v1.js.map +1 -1
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1.js.map +1 -1
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1.js.map +1 -1
- package/build/ordertracking_v1beta.js.map +1 -1
- package/build/products_v1.d.ts +9 -9
- package/build/products_v1.js.map +1 -1
- package/build/products_v1beta.d.ts +9 -9
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1.js.map +1 -1
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1.d.ts +196 -0
- package/build/quota_v1.js +73 -0
- package/build/quota_v1.js.map +1 -1
- package/build/quota_v1beta.js.map +1 -1
- package/build/reports_v1.js.map +1 -1
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/conversions_v1.ts +6 -12
- package/conversions_v1beta.ts +6 -12
- package/datasources_v1.ts +7 -14
- package/datasources_v1beta.ts +7 -14
- package/inventories_v1.ts +20 -26
- package/inventories_v1beta.ts +20 -26
- package/issueresolution_v1.ts +6 -10
- package/issueresolution_v1beta.ts +6 -10
- package/lfp_v1.ts +7 -14
- package/lfp_v1beta.ts +7 -14
- package/notifications_v1.ts +5 -10
- package/notifications_v1beta.ts +5 -10
- package/ordertracking_v1.ts +1 -2
- package/ordertracking_v1beta.ts +1 -2
- package/package.json +1 -1
- package/products_v1.ts +14 -19
- package/products_v1beta.ts +14 -19
- package/promotions_v1.ts +3 -6
- package/promotions_v1beta.ts +3 -6
- package/quota_v1.ts +357 -2
- package/quota_v1beta.ts +1 -2
- package/reports_v1.ts +1 -2
- package/reports_v1beta.ts +1 -2
- package/reviews_v1beta.ts +8 -16
package/quota_v1.ts
CHANGED
|
@@ -124,6 +124,32 @@ export namespace merchantapi_quota_v1 {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
/**
|
|
128
|
+
* A limit of a certain type that is applied to an account.
|
|
129
|
+
*/
|
|
130
|
+
export interface Schema$AccountLimit {
|
|
131
|
+
/**
|
|
132
|
+
* Identifier. The limit part of the name will be a combination of the type and the scope. For example: `accounts/123/limits/products~ADS_NON_EEA` Format: `accounts/{account\}/limits/{limit\}`
|
|
133
|
+
*/
|
|
134
|
+
name?: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* The limit for products.
|
|
137
|
+
*/
|
|
138
|
+
products?: Schema$ProductLimit;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Response message for the `ListAccountLimits` method.
|
|
142
|
+
*/
|
|
143
|
+
export interface Schema$ListAccountLimitsResponse {
|
|
144
|
+
/**
|
|
145
|
+
* The limits for the given account.
|
|
146
|
+
*/
|
|
147
|
+
accountLimits?: Schema$AccountLimit[];
|
|
148
|
+
/**
|
|
149
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
150
|
+
*/
|
|
151
|
+
nextPageToken?: string | null;
|
|
152
|
+
}
|
|
127
153
|
/**
|
|
128
154
|
* Response message for the ListMethodGroups method.
|
|
129
155
|
*/
|
|
@@ -179,6 +205,19 @@ export namespace merchantapi_quota_v1 {
|
|
|
179
205
|
*/
|
|
180
206
|
reportingContext?: string | null;
|
|
181
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* The limit for products.
|
|
210
|
+
*/
|
|
211
|
+
export interface Schema$ProductLimit {
|
|
212
|
+
/**
|
|
213
|
+
* Required. The maximum number of products that are allowed in the account in the given scope.
|
|
214
|
+
*/
|
|
215
|
+
limit?: string | null;
|
|
216
|
+
/**
|
|
217
|
+
* Required. The scope of the product limit.
|
|
218
|
+
*/
|
|
219
|
+
scope?: string | null;
|
|
220
|
+
}
|
|
182
221
|
/**
|
|
183
222
|
* The message that the merchant will receive to notify about product status change event
|
|
184
223
|
*/
|
|
@@ -248,13 +287,330 @@ export namespace merchantapi_quota_v1 {
|
|
|
248
287
|
|
|
249
288
|
export class Resource$Accounts {
|
|
250
289
|
context: APIRequestContext;
|
|
290
|
+
limits: Resource$Accounts$Limits;
|
|
251
291
|
quotas: Resource$Accounts$Quotas;
|
|
252
292
|
constructor(context: APIRequestContext) {
|
|
253
293
|
this.context = context;
|
|
294
|
+
this.limits = new Resource$Accounts$Limits(this.context);
|
|
254
295
|
this.quotas = new Resource$Accounts$Quotas(this.context);
|
|
255
296
|
}
|
|
256
297
|
}
|
|
257
298
|
|
|
299
|
+
export class Resource$Accounts$Limits {
|
|
300
|
+
context: APIRequestContext;
|
|
301
|
+
constructor(context: APIRequestContext) {
|
|
302
|
+
this.context = context;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Retrieves an account limit.
|
|
307
|
+
* @example
|
|
308
|
+
* ```js
|
|
309
|
+
* // Before running the sample:
|
|
310
|
+
* // - Enable the API at:
|
|
311
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
312
|
+
* // - Login into gcloud by running:
|
|
313
|
+
* // ```sh
|
|
314
|
+
* // $ gcloud auth application-default login
|
|
315
|
+
* // ```
|
|
316
|
+
* // - Install the npm module by running:
|
|
317
|
+
* // ```sh
|
|
318
|
+
* // $ npm install googleapis
|
|
319
|
+
* // ```
|
|
320
|
+
*
|
|
321
|
+
* const {google} = require('googleapis');
|
|
322
|
+
* const merchantapi = google.merchantapi('quota_v1');
|
|
323
|
+
*
|
|
324
|
+
* async function main() {
|
|
325
|
+
* const auth = new google.auth.GoogleAuth({
|
|
326
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
327
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
328
|
+
* });
|
|
329
|
+
*
|
|
330
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
331
|
+
* const authClient = await auth.getClient();
|
|
332
|
+
* google.options({auth: authClient});
|
|
333
|
+
*
|
|
334
|
+
* // Do the magic
|
|
335
|
+
* const res = await merchantapi.accounts.limits.get({
|
|
336
|
+
* // Required. The name of the limit to retrieve. Format: `accounts/{account\}/limits/{limit\}` For example: `accounts/123/limits/products~ADS_NON_EEA`
|
|
337
|
+
* name: 'accounts/my-account/limits/my-limit',
|
|
338
|
+
* });
|
|
339
|
+
* console.log(res.data);
|
|
340
|
+
*
|
|
341
|
+
* // Example response
|
|
342
|
+
* // {
|
|
343
|
+
* // "name": "my_name",
|
|
344
|
+
* // "products": {}
|
|
345
|
+
* // }
|
|
346
|
+
* }
|
|
347
|
+
*
|
|
348
|
+
* main().catch(e => {
|
|
349
|
+
* console.error(e);
|
|
350
|
+
* throw e;
|
|
351
|
+
* });
|
|
352
|
+
*
|
|
353
|
+
* ```
|
|
354
|
+
*
|
|
355
|
+
* @param params - Parameters for request
|
|
356
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
357
|
+
* @param callback - Optional callback that handles the response.
|
|
358
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
359
|
+
*/
|
|
360
|
+
get(
|
|
361
|
+
params: Params$Resource$Accounts$Limits$Get,
|
|
362
|
+
options: StreamMethodOptions
|
|
363
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
364
|
+
get(
|
|
365
|
+
params?: Params$Resource$Accounts$Limits$Get,
|
|
366
|
+
options?: MethodOptions
|
|
367
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AccountLimit>>;
|
|
368
|
+
get(
|
|
369
|
+
params: Params$Resource$Accounts$Limits$Get,
|
|
370
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
371
|
+
callback: BodyResponseCallback<Readable>
|
|
372
|
+
): void;
|
|
373
|
+
get(
|
|
374
|
+
params: Params$Resource$Accounts$Limits$Get,
|
|
375
|
+
options: MethodOptions | BodyResponseCallback<Schema$AccountLimit>,
|
|
376
|
+
callback: BodyResponseCallback<Schema$AccountLimit>
|
|
377
|
+
): void;
|
|
378
|
+
get(
|
|
379
|
+
params: Params$Resource$Accounts$Limits$Get,
|
|
380
|
+
callback: BodyResponseCallback<Schema$AccountLimit>
|
|
381
|
+
): void;
|
|
382
|
+
get(callback: BodyResponseCallback<Schema$AccountLimit>): void;
|
|
383
|
+
get(
|
|
384
|
+
paramsOrCallback?:
|
|
385
|
+
| Params$Resource$Accounts$Limits$Get
|
|
386
|
+
| BodyResponseCallback<Schema$AccountLimit>
|
|
387
|
+
| BodyResponseCallback<Readable>,
|
|
388
|
+
optionsOrCallback?:
|
|
389
|
+
| MethodOptions
|
|
390
|
+
| StreamMethodOptions
|
|
391
|
+
| BodyResponseCallback<Schema$AccountLimit>
|
|
392
|
+
| BodyResponseCallback<Readable>,
|
|
393
|
+
callback?:
|
|
394
|
+
| BodyResponseCallback<Schema$AccountLimit>
|
|
395
|
+
| BodyResponseCallback<Readable>
|
|
396
|
+
):
|
|
397
|
+
| void
|
|
398
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AccountLimit>>
|
|
399
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
400
|
+
let params = (paramsOrCallback ||
|
|
401
|
+
{}) as Params$Resource$Accounts$Limits$Get;
|
|
402
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
403
|
+
|
|
404
|
+
if (typeof paramsOrCallback === 'function') {
|
|
405
|
+
callback = paramsOrCallback;
|
|
406
|
+
params = {} as Params$Resource$Accounts$Limits$Get;
|
|
407
|
+
options = {};
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (typeof optionsOrCallback === 'function') {
|
|
411
|
+
callback = optionsOrCallback;
|
|
412
|
+
options = {};
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
|
|
416
|
+
const parameters = {
|
|
417
|
+
options: Object.assign(
|
|
418
|
+
{
|
|
419
|
+
url: (rootUrl + '/quota/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
420
|
+
method: 'GET',
|
|
421
|
+
apiVersion: '',
|
|
422
|
+
},
|
|
423
|
+
options
|
|
424
|
+
),
|
|
425
|
+
params,
|
|
426
|
+
requiredParams: ['name'],
|
|
427
|
+
pathParams: ['name'],
|
|
428
|
+
context: this.context,
|
|
429
|
+
};
|
|
430
|
+
if (callback) {
|
|
431
|
+
createAPIRequest<Schema$AccountLimit>(
|
|
432
|
+
parameters,
|
|
433
|
+
callback as BodyResponseCallback<unknown>
|
|
434
|
+
);
|
|
435
|
+
} else {
|
|
436
|
+
return createAPIRequest<Schema$AccountLimit>(parameters);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Lists the limits of an account.
|
|
442
|
+
* @example
|
|
443
|
+
* ```js
|
|
444
|
+
* // Before running the sample:
|
|
445
|
+
* // - Enable the API at:
|
|
446
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
447
|
+
* // - Login into gcloud by running:
|
|
448
|
+
* // ```sh
|
|
449
|
+
* // $ gcloud auth application-default login
|
|
450
|
+
* // ```
|
|
451
|
+
* // - Install the npm module by running:
|
|
452
|
+
* // ```sh
|
|
453
|
+
* // $ npm install googleapis
|
|
454
|
+
* // ```
|
|
455
|
+
*
|
|
456
|
+
* const {google} = require('googleapis');
|
|
457
|
+
* const merchantapi = google.merchantapi('quota_v1');
|
|
458
|
+
*
|
|
459
|
+
* async function main() {
|
|
460
|
+
* const auth = new google.auth.GoogleAuth({
|
|
461
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
462
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
463
|
+
* });
|
|
464
|
+
*
|
|
465
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
466
|
+
* const authClient = await auth.getClient();
|
|
467
|
+
* google.options({auth: authClient});
|
|
468
|
+
*
|
|
469
|
+
* // Do the magic
|
|
470
|
+
* const res = await merchantapi.accounts.limits.list({
|
|
471
|
+
* // Required. A filter on the limit `type` is required, for example, `type = "products"`.
|
|
472
|
+
* filter: 'placeholder-value',
|
|
473
|
+
* // Optional. The maximum number of limits to return. The service may return fewer than this value. If unspecified, at most 100 limits will be returned. The maximum value is 100; values above 100 will be coerced to 100.
|
|
474
|
+
* pageSize: 'placeholder-value',
|
|
475
|
+
* // Optional. A page token, received from a previous `ListAccountLimits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLimits` must match the call that provided the page token.
|
|
476
|
+
* pageToken: 'placeholder-value',
|
|
477
|
+
* // Required. The parent account. Format: `accounts/{account\}`
|
|
478
|
+
* parent: 'accounts/my-account',
|
|
479
|
+
* });
|
|
480
|
+
* console.log(res.data);
|
|
481
|
+
*
|
|
482
|
+
* // Example response
|
|
483
|
+
* // {
|
|
484
|
+
* // "accountLimits": [],
|
|
485
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
486
|
+
* // }
|
|
487
|
+
* }
|
|
488
|
+
*
|
|
489
|
+
* main().catch(e => {
|
|
490
|
+
* console.error(e);
|
|
491
|
+
* throw e;
|
|
492
|
+
* });
|
|
493
|
+
*
|
|
494
|
+
* ```
|
|
495
|
+
*
|
|
496
|
+
* @param params - Parameters for request
|
|
497
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
498
|
+
* @param callback - Optional callback that handles the response.
|
|
499
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
500
|
+
*/
|
|
501
|
+
list(
|
|
502
|
+
params: Params$Resource$Accounts$Limits$List,
|
|
503
|
+
options: StreamMethodOptions
|
|
504
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
505
|
+
list(
|
|
506
|
+
params?: Params$Resource$Accounts$Limits$List,
|
|
507
|
+
options?: MethodOptions
|
|
508
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountLimitsResponse>>;
|
|
509
|
+
list(
|
|
510
|
+
params: Params$Resource$Accounts$Limits$List,
|
|
511
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
512
|
+
callback: BodyResponseCallback<Readable>
|
|
513
|
+
): void;
|
|
514
|
+
list(
|
|
515
|
+
params: Params$Resource$Accounts$Limits$List,
|
|
516
|
+
options:
|
|
517
|
+
| MethodOptions
|
|
518
|
+
| BodyResponseCallback<Schema$ListAccountLimitsResponse>,
|
|
519
|
+
callback: BodyResponseCallback<Schema$ListAccountLimitsResponse>
|
|
520
|
+
): void;
|
|
521
|
+
list(
|
|
522
|
+
params: Params$Resource$Accounts$Limits$List,
|
|
523
|
+
callback: BodyResponseCallback<Schema$ListAccountLimitsResponse>
|
|
524
|
+
): void;
|
|
525
|
+
list(
|
|
526
|
+
callback: BodyResponseCallback<Schema$ListAccountLimitsResponse>
|
|
527
|
+
): void;
|
|
528
|
+
list(
|
|
529
|
+
paramsOrCallback?:
|
|
530
|
+
| Params$Resource$Accounts$Limits$List
|
|
531
|
+
| BodyResponseCallback<Schema$ListAccountLimitsResponse>
|
|
532
|
+
| BodyResponseCallback<Readable>,
|
|
533
|
+
optionsOrCallback?:
|
|
534
|
+
| MethodOptions
|
|
535
|
+
| StreamMethodOptions
|
|
536
|
+
| BodyResponseCallback<Schema$ListAccountLimitsResponse>
|
|
537
|
+
| BodyResponseCallback<Readable>,
|
|
538
|
+
callback?:
|
|
539
|
+
| BodyResponseCallback<Schema$ListAccountLimitsResponse>
|
|
540
|
+
| BodyResponseCallback<Readable>
|
|
541
|
+
):
|
|
542
|
+
| void
|
|
543
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListAccountLimitsResponse>>
|
|
544
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
545
|
+
let params = (paramsOrCallback ||
|
|
546
|
+
{}) as Params$Resource$Accounts$Limits$List;
|
|
547
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
548
|
+
|
|
549
|
+
if (typeof paramsOrCallback === 'function') {
|
|
550
|
+
callback = paramsOrCallback;
|
|
551
|
+
params = {} as Params$Resource$Accounts$Limits$List;
|
|
552
|
+
options = {};
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
if (typeof optionsOrCallback === 'function') {
|
|
556
|
+
callback = optionsOrCallback;
|
|
557
|
+
options = {};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/';
|
|
561
|
+
const parameters = {
|
|
562
|
+
options: Object.assign(
|
|
563
|
+
{
|
|
564
|
+
url: (rootUrl + '/quota/v1/{+parent}/limits').replace(
|
|
565
|
+
/([^:]\/)\/+/g,
|
|
566
|
+
'$1'
|
|
567
|
+
),
|
|
568
|
+
method: 'GET',
|
|
569
|
+
apiVersion: '',
|
|
570
|
+
},
|
|
571
|
+
options
|
|
572
|
+
),
|
|
573
|
+
params,
|
|
574
|
+
requiredParams: ['parent'],
|
|
575
|
+
pathParams: ['parent'],
|
|
576
|
+
context: this.context,
|
|
577
|
+
};
|
|
578
|
+
if (callback) {
|
|
579
|
+
createAPIRequest<Schema$ListAccountLimitsResponse>(
|
|
580
|
+
parameters,
|
|
581
|
+
callback as BodyResponseCallback<unknown>
|
|
582
|
+
);
|
|
583
|
+
} else {
|
|
584
|
+
return createAPIRequest<Schema$ListAccountLimitsResponse>(parameters);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export interface Params$Resource$Accounts$Limits$Get extends StandardParameters {
|
|
590
|
+
/**
|
|
591
|
+
* Required. The name of the limit to retrieve. Format: `accounts/{account\}/limits/{limit\}` For example: `accounts/123/limits/products~ADS_NON_EEA`
|
|
592
|
+
*/
|
|
593
|
+
name?: string;
|
|
594
|
+
}
|
|
595
|
+
export interface Params$Resource$Accounts$Limits$List extends StandardParameters {
|
|
596
|
+
/**
|
|
597
|
+
* Required. A filter on the limit `type` is required, for example, `type = "products"`.
|
|
598
|
+
*/
|
|
599
|
+
filter?: string;
|
|
600
|
+
/**
|
|
601
|
+
* Optional. The maximum number of limits to return. The service may return fewer than this value. If unspecified, at most 100 limits will be returned. The maximum value is 100; values above 100 will be coerced to 100.
|
|
602
|
+
*/
|
|
603
|
+
pageSize?: number;
|
|
604
|
+
/**
|
|
605
|
+
* Optional. A page token, received from a previous `ListAccountLimits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLimits` must match the call that provided the page token.
|
|
606
|
+
*/
|
|
607
|
+
pageToken?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Required. The parent account. Format: `accounts/{account\}`
|
|
610
|
+
*/
|
|
611
|
+
parent?: string;
|
|
612
|
+
}
|
|
613
|
+
|
|
258
614
|
export class Resource$Accounts$Quotas {
|
|
259
615
|
context: APIRequestContext;
|
|
260
616
|
constructor(context: APIRequestContext) {
|
|
@@ -406,8 +762,7 @@ export namespace merchantapi_quota_v1 {
|
|
|
406
762
|
}
|
|
407
763
|
}
|
|
408
764
|
|
|
409
|
-
export interface Params$Resource$Accounts$Quotas$List
|
|
410
|
-
extends StandardParameters {
|
|
765
|
+
export interface Params$Resource$Accounts$Quotas$List extends StandardParameters {
|
|
411
766
|
/**
|
|
412
767
|
* Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.
|
|
413
768
|
*/
|
package/quota_v1beta.ts
CHANGED
|
@@ -406,8 +406,7 @@ export namespace merchantapi_quota_v1beta {
|
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
export interface Params$Resource$Accounts$Quotas$List
|
|
410
|
-
extends StandardParameters {
|
|
409
|
+
export interface Params$Resource$Accounts$Quotas$List extends StandardParameters {
|
|
411
410
|
/**
|
|
412
411
|
* Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.
|
|
413
412
|
*/
|
package/reports_v1.ts
CHANGED
|
@@ -1190,8 +1190,7 @@ export namespace merchantapi_reports_v1 {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
export interface Params$Resource$Accounts$Reports$Search
|
|
1194
|
-
extends StandardParameters {
|
|
1193
|
+
export interface Params$Resource$Accounts$Reports$Search extends StandardParameters {
|
|
1195
1194
|
/**
|
|
1196
1195
|
* Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
|
|
1197
1196
|
*/
|
package/reports_v1beta.ts
CHANGED
|
@@ -1190,8 +1190,7 @@ export namespace merchantapi_reports_v1beta {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
export interface Params$Resource$Accounts$Reports$Search
|
|
1194
|
-
extends StandardParameters {
|
|
1193
|
+
export interface Params$Resource$Accounts$Reports$Search extends StandardParameters {
|
|
1195
1194
|
/**
|
|
1196
1195
|
* Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
|
|
1197
1196
|
*/
|
package/reviews_v1beta.ts
CHANGED
|
@@ -1235,22 +1235,19 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
|
-
export interface Params$Resource$Accounts$Merchantreviews$Delete
|
|
1239
|
-
extends StandardParameters {
|
|
1238
|
+
export interface Params$Resource$Accounts$Merchantreviews$Delete extends StandardParameters {
|
|
1240
1239
|
/**
|
|
1241
1240
|
* Required. The ID of the merchant review. Format: accounts/{account\}/merchantReviews/{merchantReview\}
|
|
1242
1241
|
*/
|
|
1243
1242
|
name?: string;
|
|
1244
1243
|
}
|
|
1245
|
-
export interface Params$Resource$Accounts$Merchantreviews$Get
|
|
1246
|
-
extends StandardParameters {
|
|
1244
|
+
export interface Params$Resource$Accounts$Merchantreviews$Get extends StandardParameters {
|
|
1247
1245
|
/**
|
|
1248
1246
|
* Required. The ID of the merchant review. Format: accounts/{account\}/merchantReviews/{merchantReview\}
|
|
1249
1247
|
*/
|
|
1250
1248
|
name?: string;
|
|
1251
1249
|
}
|
|
1252
|
-
export interface Params$Resource$Accounts$Merchantreviews$Insert
|
|
1253
|
-
extends StandardParameters {
|
|
1250
|
+
export interface Params$Resource$Accounts$Merchantreviews$Insert extends StandardParameters {
|
|
1254
1251
|
/**
|
|
1255
1252
|
* Required. The data source of the [merchantreview](https://support.google.com/merchants/answer/7045996?sjid=5253581244217581976-EU) Format: `accounts/{account\}/dataSources/{datasource\}`.
|
|
1256
1253
|
*/
|
|
@@ -1265,8 +1262,7 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1265
1262
|
*/
|
|
1266
1263
|
requestBody?: Schema$MerchantReview;
|
|
1267
1264
|
}
|
|
1268
|
-
export interface Params$Resource$Accounts$Merchantreviews$List
|
|
1269
|
-
extends StandardParameters {
|
|
1265
|
+
export interface Params$Resource$Accounts$Merchantreviews$List extends StandardParameters {
|
|
1270
1266
|
/**
|
|
1271
1267
|
* Optional. The maximum number of merchant reviews to return. The service can return fewer than this value. The maximum value is 1000; values above 1000 are coerced to 1000. If unspecified, the maximum number of reviews is returned.
|
|
1272
1268
|
*/
|
|
@@ -1867,22 +1863,19 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1867
1863
|
}
|
|
1868
1864
|
}
|
|
1869
1865
|
|
|
1870
|
-
export interface Params$Resource$Accounts$Productreviews$Delete
|
|
1871
|
-
extends StandardParameters {
|
|
1866
|
+
export interface Params$Resource$Accounts$Productreviews$Delete extends StandardParameters {
|
|
1872
1867
|
/**
|
|
1873
1868
|
* Required. The ID of the Product review. Format: accounts/{account\}/productReviews/{productReview\}
|
|
1874
1869
|
*/
|
|
1875
1870
|
name?: string;
|
|
1876
1871
|
}
|
|
1877
|
-
export interface Params$Resource$Accounts$Productreviews$Get
|
|
1878
|
-
extends StandardParameters {
|
|
1872
|
+
export interface Params$Resource$Accounts$Productreviews$Get extends StandardParameters {
|
|
1879
1873
|
/**
|
|
1880
1874
|
* Required. The ID of the merchant review. Format: accounts/{account\}/productReviews/{productReview\}
|
|
1881
1875
|
*/
|
|
1882
1876
|
name?: string;
|
|
1883
1877
|
}
|
|
1884
|
-
export interface Params$Resource$Accounts$Productreviews$Insert
|
|
1885
|
-
extends StandardParameters {
|
|
1878
|
+
export interface Params$Resource$Accounts$Productreviews$Insert extends StandardParameters {
|
|
1886
1879
|
/**
|
|
1887
1880
|
* Required. Format: `accounts/{account\}/dataSources/{datasource\}`.
|
|
1888
1881
|
*/
|
|
@@ -1897,8 +1890,7 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1897
1890
|
*/
|
|
1898
1891
|
requestBody?: Schema$ProductReview;
|
|
1899
1892
|
}
|
|
1900
|
-
export interface Params$Resource$Accounts$Productreviews$List
|
|
1901
|
-
extends StandardParameters {
|
|
1893
|
+
export interface Params$Resource$Accounts$Productreviews$List extends StandardParameters {
|
|
1902
1894
|
/**
|
|
1903
1895
|
* Optional. The maximum number of products to return. The service may return fewer than this value.
|
|
1904
1896
|
*/
|