@googleapis/merchantapi 6.0.1 → 8.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 +32 -0
- package/README.md +9 -0
- package/accounts_v1beta.ts +6214 -358
- package/build/accounts_v1beta.d.ts +4685 -141
- package/build/accounts_v1beta.js +560 -12
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +336 -1
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +411 -2
- package/build/datasources_v1beta.js.map +1 -1
- package/build/inventories_v1beta.d.ts +336 -2
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +367 -1
- package/build/issueresolution_v1beta.js +48 -0
- package/build/issueresolution_v1beta.js.map +1 -1
- package/build/lfp_v1beta.d.ts +436 -3
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +272 -1
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +75 -1
- package/build/ordertracking_v1beta.js.map +1 -1
- package/build/products_v1beta.d.ts +347 -44
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +171 -4
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +52 -1
- package/build/quota_v1beta.js.map +1 -1
- package/build/reports_v1beta.d.ts +58 -1
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +426 -2
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +336 -1
- package/datasources_v1beta.ts +411 -2
- package/inventories_v1beta.ts +336 -2
- package/issueresolution_v1beta.ts +465 -1
- package/lfp_v1beta.ts +436 -3
- package/notifications_v1beta.ts +272 -1
- package/ordertracking_v1beta.ts +75 -1
- package/package.json +1 -1
- package/products_v1beta.ts +347 -44
- package/promotions_v1beta.ts +171 -4
- package/quota_v1beta.ts +52 -1
- package/reports_v1beta.ts +58 -1
- package/reviews_v1beta.ts +426 -2
|
@@ -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,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,2BAA2B,
|
|
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,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,2BAA2B,CA49D3C;AA59DD,WAAiB,2BAA2B;IAgE1C;;;;;;;;;;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,uCAAW,cAYvB,CAAA;IAmjCD,MAAa,iBAAiB;QAI5B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,aAAa,GAAG,IAAI,+BA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iB,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,qCAAqC,CAAC,CAAC,OAAO,CAC5D,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,EAA8B,UAAU,CAAC,CAAC;aAClE;QACH,CAAC;KACF;IAxSY,sDAA0B,6BAwStC,CAAA;AAwBH,CAAC,EA59DgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA49D3C"}
|
|
@@ -139,9 +139,6 @@ export declare namespace merchantapi_promotions_v1beta {
|
|
|
139
139
|
* Optional. [Minimum purchase amount](https://support.google.com/merchants/answer/13837705?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion.
|
|
140
140
|
*/
|
|
141
141
|
minimumPurchaseAmount?: Schema$Price;
|
|
142
|
-
/**
|
|
143
|
-
* Optional. [Minimum purchase quantity](https://support.google.com/merchants/answer/13838182?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion.
|
|
144
|
-
*/
|
|
145
142
|
minimumPurchaseQuantity?: string | null;
|
|
146
143
|
/**
|
|
147
144
|
* Optional. The [money off amount](https://support.google.com/merchants/answer/13838101?ref_topic=13773355&sjid=17642868584668136159-NC) offered in the promotion.
|
|
@@ -361,7 +358,7 @@ export declare namespace merchantapi_promotions_v1beta {
|
|
|
361
358
|
*/
|
|
362
359
|
eventTime?: string | null;
|
|
363
360
|
/**
|
|
364
|
-
* Optional. The product expiration time. This field will not
|
|
361
|
+
* Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.
|
|
365
362
|
*/
|
|
366
363
|
expirationTime?: string | null;
|
|
367
364
|
/**
|
|
@@ -457,6 +454,61 @@ export declare namespace merchantapi_promotions_v1beta {
|
|
|
457
454
|
constructor(context: APIRequestContext);
|
|
458
455
|
/**
|
|
459
456
|
* Retrieves the promotion from your Merchant Center account. After inserting or updating a promotion input, it may take several minutes before the updated promotion can be retrieved.
|
|
457
|
+
* @example
|
|
458
|
+
* ```js
|
|
459
|
+
* // Before running the sample:
|
|
460
|
+
* // - Enable the API at:
|
|
461
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
462
|
+
* // - Login into gcloud by running:
|
|
463
|
+
* // ```sh
|
|
464
|
+
* // $ gcloud auth application-default login
|
|
465
|
+
* // ```
|
|
466
|
+
* // - Install the npm module by running:
|
|
467
|
+
* // ```sh
|
|
468
|
+
* // $ npm install googleapis
|
|
469
|
+
* // ```
|
|
470
|
+
*
|
|
471
|
+
* const {google} = require('googleapis');
|
|
472
|
+
* const merchantapi = google.merchantapi('promotions_v1beta');
|
|
473
|
+
*
|
|
474
|
+
* async function main() {
|
|
475
|
+
* const auth = new google.auth.GoogleAuth({
|
|
476
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
477
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
478
|
+
* });
|
|
479
|
+
*
|
|
480
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
481
|
+
* const authClient = await auth.getClient();
|
|
482
|
+
* google.options({auth: authClient});
|
|
483
|
+
*
|
|
484
|
+
* // Do the magic
|
|
485
|
+
* const res = await merchantapi.accounts.promotions.get({
|
|
486
|
+
* // Required. The name of the promotion to retrieve. Format: `accounts/{account\}/promotions/{promotions\}`
|
|
487
|
+
* name: 'accounts/my-account/promotions/my-promotion',
|
|
488
|
+
* });
|
|
489
|
+
* console.log(res.data);
|
|
490
|
+
*
|
|
491
|
+
* // Example response
|
|
492
|
+
* // {
|
|
493
|
+
* // "attributes": {},
|
|
494
|
+
* // "contentLanguage": "my_contentLanguage",
|
|
495
|
+
* // "customAttributes": [],
|
|
496
|
+
* // "dataSource": "my_dataSource",
|
|
497
|
+
* // "name": "my_name",
|
|
498
|
+
* // "promotionId": "my_promotionId",
|
|
499
|
+
* // "promotionStatus": {},
|
|
500
|
+
* // "redemptionChannel": [],
|
|
501
|
+
* // "targetCountry": "my_targetCountry",
|
|
502
|
+
* // "versionNumber": "my_versionNumber"
|
|
503
|
+
* // }
|
|
504
|
+
* }
|
|
505
|
+
*
|
|
506
|
+
* main().catch(e => {
|
|
507
|
+
* console.error(e);
|
|
508
|
+
* throw e;
|
|
509
|
+
* });
|
|
510
|
+
*
|
|
511
|
+
* ```
|
|
460
512
|
*
|
|
461
513
|
* @param params - Parameters for request
|
|
462
514
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -471,6 +523,70 @@ export declare namespace merchantapi_promotions_v1beta {
|
|
|
471
523
|
get(callback: BodyResponseCallback<Schema$Promotion>): void;
|
|
472
524
|
/**
|
|
473
525
|
* Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead.
|
|
526
|
+
* @example
|
|
527
|
+
* ```js
|
|
528
|
+
* // Before running the sample:
|
|
529
|
+
* // - Enable the API at:
|
|
530
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
531
|
+
* // - Login into gcloud by running:
|
|
532
|
+
* // ```sh
|
|
533
|
+
* // $ gcloud auth application-default login
|
|
534
|
+
* // ```
|
|
535
|
+
* // - Install the npm module by running:
|
|
536
|
+
* // ```sh
|
|
537
|
+
* // $ npm install googleapis
|
|
538
|
+
* // ```
|
|
539
|
+
*
|
|
540
|
+
* const {google} = require('googleapis');
|
|
541
|
+
* const merchantapi = google.merchantapi('promotions_v1beta');
|
|
542
|
+
*
|
|
543
|
+
* async function main() {
|
|
544
|
+
* const auth = new google.auth.GoogleAuth({
|
|
545
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
546
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
547
|
+
* });
|
|
548
|
+
*
|
|
549
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
550
|
+
* const authClient = await auth.getClient();
|
|
551
|
+
* google.options({auth: authClient});
|
|
552
|
+
*
|
|
553
|
+
* // Do the magic
|
|
554
|
+
* const res = await merchantapi.accounts.promotions.insert({
|
|
555
|
+
* // Required. The account where the promotion will be inserted. Format: accounts/{account\}
|
|
556
|
+
* parent: 'accounts/my-account',
|
|
557
|
+
*
|
|
558
|
+
* // Request body metadata
|
|
559
|
+
* requestBody: {
|
|
560
|
+
* // request body parameters
|
|
561
|
+
* // {
|
|
562
|
+
* // "dataSource": "my_dataSource",
|
|
563
|
+
* // "promotion": {}
|
|
564
|
+
* // }
|
|
565
|
+
* },
|
|
566
|
+
* });
|
|
567
|
+
* console.log(res.data);
|
|
568
|
+
*
|
|
569
|
+
* // Example response
|
|
570
|
+
* // {
|
|
571
|
+
* // "attributes": {},
|
|
572
|
+
* // "contentLanguage": "my_contentLanguage",
|
|
573
|
+
* // "customAttributes": [],
|
|
574
|
+
* // "dataSource": "my_dataSource",
|
|
575
|
+
* // "name": "my_name",
|
|
576
|
+
* // "promotionId": "my_promotionId",
|
|
577
|
+
* // "promotionStatus": {},
|
|
578
|
+
* // "redemptionChannel": [],
|
|
579
|
+
* // "targetCountry": "my_targetCountry",
|
|
580
|
+
* // "versionNumber": "my_versionNumber"
|
|
581
|
+
* // }
|
|
582
|
+
* }
|
|
583
|
+
*
|
|
584
|
+
* main().catch(e => {
|
|
585
|
+
* console.error(e);
|
|
586
|
+
* throw e;
|
|
587
|
+
* });
|
|
588
|
+
*
|
|
589
|
+
* ```
|
|
474
590
|
*
|
|
475
591
|
* @param params - Parameters for request
|
|
476
592
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -485,6 +601,57 @@ export declare namespace merchantapi_promotions_v1beta {
|
|
|
485
601
|
insert(callback: BodyResponseCallback<Schema$Promotion>): void;
|
|
486
602
|
/**
|
|
487
603
|
* Lists the promotions in your Merchant Center account. The response might contain fewer items than specified by `pageSize`. Rely on `pageToken` to determine if there are more items to be requested. After inserting or updating a promotion, it may take several minutes before the updated processed promotion can be retrieved.
|
|
604
|
+
* @example
|
|
605
|
+
* ```js
|
|
606
|
+
* // Before running the sample:
|
|
607
|
+
* // - Enable the API at:
|
|
608
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
609
|
+
* // - Login into gcloud by running:
|
|
610
|
+
* // ```sh
|
|
611
|
+
* // $ gcloud auth application-default login
|
|
612
|
+
* // ```
|
|
613
|
+
* // - Install the npm module by running:
|
|
614
|
+
* // ```sh
|
|
615
|
+
* // $ npm install googleapis
|
|
616
|
+
* // ```
|
|
617
|
+
*
|
|
618
|
+
* const {google} = require('googleapis');
|
|
619
|
+
* const merchantapi = google.merchantapi('promotions_v1beta');
|
|
620
|
+
*
|
|
621
|
+
* async function main() {
|
|
622
|
+
* const auth = new google.auth.GoogleAuth({
|
|
623
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
624
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
625
|
+
* });
|
|
626
|
+
*
|
|
627
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
628
|
+
* const authClient = await auth.getClient();
|
|
629
|
+
* google.options({auth: authClient});
|
|
630
|
+
*
|
|
631
|
+
* // Do the magic
|
|
632
|
+
* const res = await merchantapi.accounts.promotions.list({
|
|
633
|
+
* // Output only. The maximum number of promotions to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of promotions will be returned.
|
|
634
|
+
* pageSize: 'placeholder-value',
|
|
635
|
+
* // Output only. A page token, received from a previous `ListPromotions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotions` must match the call that provided the page token.
|
|
636
|
+
* pageToken: 'placeholder-value',
|
|
637
|
+
* // Required. The account to list processed promotions for. Format: `accounts/{account\}`
|
|
638
|
+
* parent: 'accounts/my-account',
|
|
639
|
+
* });
|
|
640
|
+
* console.log(res.data);
|
|
641
|
+
*
|
|
642
|
+
* // Example response
|
|
643
|
+
* // {
|
|
644
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
645
|
+
* // "promotions": []
|
|
646
|
+
* // }
|
|
647
|
+
* }
|
|
648
|
+
*
|
|
649
|
+
* main().catch(e => {
|
|
650
|
+
* console.error(e);
|
|
651
|
+
* throw e;
|
|
652
|
+
* });
|
|
653
|
+
*
|
|
654
|
+
* ```
|
|
488
655
|
*
|
|
489
656
|
* @param params - Parameters for request
|
|
490
657
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -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,
|
|
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;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U,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,EAAgC,UAAU,CAAC,CAAC;aACpE;QACH,CAAC;KACF;IAjcY,0DAA4B,+BAicxC,CAAA;AAoCH,CAAC,EA77BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA67B7C"}
|
package/build/quota_v1beta.d.ts
CHANGED
|
@@ -147,7 +147,7 @@ export declare namespace merchantapi_quota_v1beta {
|
|
|
147
147
|
*/
|
|
148
148
|
eventTime?: string | null;
|
|
149
149
|
/**
|
|
150
|
-
* Optional. The product expiration time. This field will not
|
|
150
|
+
* Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.
|
|
151
151
|
*/
|
|
152
152
|
expirationTime?: string | null;
|
|
153
153
|
/**
|
|
@@ -202,6 +202,57 @@ export declare namespace merchantapi_quota_v1beta {
|
|
|
202
202
|
constructor(context: APIRequestContext);
|
|
203
203
|
/**
|
|
204
204
|
* Lists the daily call quota and usage per group for your Merchant Center account.
|
|
205
|
+
* @example
|
|
206
|
+
* ```js
|
|
207
|
+
* // Before running the sample:
|
|
208
|
+
* // - Enable the API at:
|
|
209
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
210
|
+
* // - Login into gcloud by running:
|
|
211
|
+
* // ```sh
|
|
212
|
+
* // $ gcloud auth application-default login
|
|
213
|
+
* // ```
|
|
214
|
+
* // - Install the npm module by running:
|
|
215
|
+
* // ```sh
|
|
216
|
+
* // $ npm install googleapis
|
|
217
|
+
* // ```
|
|
218
|
+
*
|
|
219
|
+
* const {google} = require('googleapis');
|
|
220
|
+
* const merchantapi = google.merchantapi('quota_v1beta');
|
|
221
|
+
*
|
|
222
|
+
* async function main() {
|
|
223
|
+
* const auth = new google.auth.GoogleAuth({
|
|
224
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
225
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
226
|
+
* });
|
|
227
|
+
*
|
|
228
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
229
|
+
* const authClient = await auth.getClient();
|
|
230
|
+
* google.options({auth: authClient});
|
|
231
|
+
*
|
|
232
|
+
* // Do the magic
|
|
233
|
+
* const res = await merchantapi.accounts.quotas.list({
|
|
234
|
+
* // 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.
|
|
235
|
+
* pageSize: 'placeholder-value',
|
|
236
|
+
* // Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
|
|
237
|
+
* pageToken: 'placeholder-value',
|
|
238
|
+
* // Required. The merchant account who owns the collection of method quotas Format: accounts/{account\}
|
|
239
|
+
* parent: 'accounts/my-account',
|
|
240
|
+
* });
|
|
241
|
+
* console.log(res.data);
|
|
242
|
+
*
|
|
243
|
+
* // Example response
|
|
244
|
+
* // {
|
|
245
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
246
|
+
* // "quotaGroups": []
|
|
247
|
+
* // }
|
|
248
|
+
* }
|
|
249
|
+
*
|
|
250
|
+
* main().catch(e => {
|
|
251
|
+
* console.error(e);
|
|
252
|
+
* throw e;
|
|
253
|
+
* });
|
|
254
|
+
*
|
|
255
|
+
* ```
|
|
205
256
|
*
|
|
206
257
|
* @param params - Parameters for request
|
|
207
258
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quota_v1beta.js","sourceRoot":"","sources":["../quota_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3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BAC5B,EAAE,CAAyC,CAAC;YAC9C,IAAI,OAAO,GAAG,CAAC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAA0C,CAAC;gBACpD,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,CAAC,OAAO,GAAG,gCAAgC,CAAC,CAAC,OAAO,CACvD,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,EAAiC,UAAU,CAAC,CAAC;aACrE;QACH,CAAC;KACF;IArJY,iDAAwB,2BAqJpC,CAAA;AAiBH,CAAC,EAlYgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAkYxC"}
|
|
@@ -752,7 +752,7 @@ export declare namespace merchantapi_reports_v1beta {
|
|
|
752
752
|
*/
|
|
753
753
|
eventTime?: string | null;
|
|
754
754
|
/**
|
|
755
|
-
* Optional. The product expiration time. This field will not
|
|
755
|
+
* Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.
|
|
756
756
|
*/
|
|
757
757
|
expirationTime?: string | null;
|
|
758
758
|
/**
|
|
@@ -982,6 +982,63 @@ export declare namespace merchantapi_reports_v1beta {
|
|
|
982
982
|
constructor(context: APIRequestContext);
|
|
983
983
|
/**
|
|
984
984
|
* Retrieves a report defined by a search query. The response might contain fewer rows than specified by `page_size`. Rely on `next_page_token` to determine if there are more rows to be requested.
|
|
985
|
+
* @example
|
|
986
|
+
* ```js
|
|
987
|
+
* // Before running the sample:
|
|
988
|
+
* // - Enable the API at:
|
|
989
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
990
|
+
* // - Login into gcloud by running:
|
|
991
|
+
* // ```sh
|
|
992
|
+
* // $ gcloud auth application-default login
|
|
993
|
+
* // ```
|
|
994
|
+
* // - Install the npm module by running:
|
|
995
|
+
* // ```sh
|
|
996
|
+
* // $ npm install googleapis
|
|
997
|
+
* // ```
|
|
998
|
+
*
|
|
999
|
+
* const {google} = require('googleapis');
|
|
1000
|
+
* const merchantapi = google.merchantapi('reports_v1beta');
|
|
1001
|
+
*
|
|
1002
|
+
* async function main() {
|
|
1003
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1004
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1005
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
1006
|
+
* });
|
|
1007
|
+
*
|
|
1008
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1009
|
+
* const authClient = await auth.getClient();
|
|
1010
|
+
* google.options({auth: authClient});
|
|
1011
|
+
*
|
|
1012
|
+
* // Do the magic
|
|
1013
|
+
* const res = await merchantapi.accounts.reports.search({
|
|
1014
|
+
* // Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
|
|
1015
|
+
* parent: 'accounts/my-account',
|
|
1016
|
+
*
|
|
1017
|
+
* // Request body metadata
|
|
1018
|
+
* requestBody: {
|
|
1019
|
+
* // request body parameters
|
|
1020
|
+
* // {
|
|
1021
|
+
* // "pageSize": 0,
|
|
1022
|
+
* // "pageToken": "my_pageToken",
|
|
1023
|
+
* // "query": "my_query"
|
|
1024
|
+
* // }
|
|
1025
|
+
* },
|
|
1026
|
+
* });
|
|
1027
|
+
* console.log(res.data);
|
|
1028
|
+
*
|
|
1029
|
+
* // Example response
|
|
1030
|
+
* // {
|
|
1031
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
1032
|
+
* // "results": []
|
|
1033
|
+
* // }
|
|
1034
|
+
* }
|
|
1035
|
+
*
|
|
1036
|
+
* main().catch(e => {
|
|
1037
|
+
* console.error(e);
|
|
1038
|
+
* throw e;
|
|
1039
|
+
* });
|
|
1040
|
+
*
|
|
1041
|
+
* ```
|
|
985
1042
|
*
|
|
986
1043
|
* @param params - Parameters for request
|
|
987
1044
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reports_v1beta.js","sourceRoot":"","sources":["../reports_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,0BAA0B,
|
|
1
|
+
{"version":3,"file":"reports_v1beta.js","sourceRoot":"","sources":["../reports_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,0D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