@maxim_mazurok/gapi.client.merchantapi-reports_v1beta 0.0.20260218 → 0.0.20260223

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 (2) hide show
  1. package/index.d.ts +20 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://merchantapi.googleapis.com/$discovery/rest?version=reports_v1beta
12
- // Revision: 20260218
12
+ // Revision: 20260223
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -175,9 +175,9 @@ declare namespace gapi.client {
175
175
  type?: ItemIssueType;
176
176
  }
177
177
  interface ItemIssueSeverity {
178
- /** Aggregated severity of the issue for all reporting contexts it affects. **This field can be used for filtering the results.** */
178
+ /** Aggregated severity of the issue for all reporting contexts it affects. Reporting contexts included in the computation of the aggregated severity can be restricted using a filter on the `reporting_context` field. **This field can be used for filtering the results.** */
179
179
  aggregatedSeverity?: string;
180
- /** Issue severity per reporting context. */
180
+ /** Issue severity per reporting context. Reporting contexts included in this list can be restricted using a filter on the `reporting_context` field. */
181
181
  severityPerReportingContext?: IssueSeverityPerReportingContext[];
182
182
  }
183
183
  interface ItemIssueType {
@@ -371,7 +371,7 @@ declare namespace gapi.client {
371
371
  resourceType?: string;
372
372
  }
373
373
  interface ProductView {
374
- /** Aggregated status. */
374
+ /** Aggregated status across all reporting contexts. Reporting contexts included in the computation of the aggregated status can be restricted using a filter on the `reporting_context` field. */
375
375
  aggregatedReportingContextStatus?: string;
376
376
  /** [Availability](https://support.google.com/merchants/answer/6324448) of the product. */
377
377
  availability?: string;
@@ -425,8 +425,12 @@ declare namespace gapi.client {
425
425
  productTypeL4?: string;
426
426
  /** Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406). */
427
427
  productTypeL5?: string;
428
+ /** Reporting context to restrict the query to. Restricts the reporting contexts returned in `status_per_reporting_context` and `item_issues`, and used to compute `aggregated_reporting_context_status`. **This field can only be used in the `WHERE` clause and cannot be selected in the `SELECT` clause.** */
429
+ reportingContext?: string;
428
430
  /** Normalized [shipping label](https://support.google.com/merchants/answer/6324504) specified in the data source. */
429
431
  shippingLabel?: string;
432
+ /** Detailed product status per reporting context. Reporting contexts included in this list can be restricted using a filter on the `reporting_context` field. Equivalent to `ProductStatus.destination_statuses` in Products API. **This field cannot be used for sorting or filtering the results.** */
433
+ statusPerReportingContext?: StatusPerReportingContext[];
430
434
  /** Link to the processed image of the product, hosted on the Google infrastructure. */
431
435
  thumbnailLink?: string;
432
436
  /** Title of the product. */
@@ -455,11 +459,11 @@ declare namespace gapi.client {
455
459
  productView?: ProductView;
456
460
  }
457
461
  interface SearchRequest {
458
- /** Optional. Number of `ReportRows` to retrieve in a single page. Defaults to 1000. Values above 5000 are coerced to 5000. */
462
+ /** Optional. Number of `ReportRows` to retrieve in a single page. Defaults to 1000. Values above 100,000 are coerced to 100,000. */
459
463
  pageSize?: number;
460
464
  /** Optional. Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used. */
461
465
  pageToken?: string;
462
- /** Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the [Available fields](/merchant/api/reference/rest/reports_{api_version}/accounts.reports). */
466
+ /** Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the Available fields. */
463
467
  query?: string;
464
468
  }
465
469
  interface SearchResponse {
@@ -468,6 +472,16 @@ declare namespace gapi.client {
468
472
  /** Rows that matched the search query. */
469
473
  results?: ReportRow[];
470
474
  }
475
+ interface StatusPerReportingContext {
476
+ /** List of approved countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`. */
477
+ approvedCountries?: string[];
478
+ /** List of disapproved countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`. */
479
+ disapprovedCountries?: string[];
480
+ /** List of pending countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`. */
481
+ pendingCountries?: string[];
482
+ /** Reporting context the status applies to. */
483
+ reportingContext?: string;
484
+ }
471
485
  interface ReportsResource {
472
486
  /** 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. */
473
487
  search(request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-reports_v1beta",
3
- "version": "0.0.20260218",
3
+ "version": "0.0.20260223",
4
4
  "description": "TypeScript typings for Merchant API reports_v1beta",
5
5
  "repository": {
6
6
  "type": "git",