@maxim_mazurok/gapi.client.retail-v2alpha 0.3.20260813 → 0.3.20260826

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 +9 -7
  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://retail.googleapis.com/$discovery/rest?version=v2alpha
12
- // Revision: 20260813
12
+ // Revision: 20260826
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -332,6 +332,8 @@ declare namespace gapi.client {
332
332
  colors?: string[];
333
333
  }
334
334
  interface GoogleCloudRetailV2alphaCompleteQueryResponse {
335
+ /** Conversational prompts to trigger agents like Shopping Agent. This is an experimental feature for select customers. */
336
+ agentPrompts?: GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt[];
335
337
  /** A map of matched attribute suggestions. This field is only available for `cloud-retail` dataset. Current supported keys: * `brands` * `categories` */
336
338
  attributeResults?: {
337
339
  [
@@ -345,13 +347,17 @@ declare namespace gapi.client {
345
347
  /** Deprecated. Matched recent searches of this user. The maximum number of recent searches is 10. This field is a restricted feature. If you want to enable it, contact Retail Search support. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower case. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens. */
346
348
  recentSearchResults?: GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult[];
347
349
  }
350
+ interface GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt {
351
+ /** The conversational prompt string. */
352
+ prompt?: string;
353
+ }
348
354
  interface GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult {
349
355
  /** The list of suggestions for the attribute. */
350
356
  suggestions?: string[];
351
357
  }
352
358
  interface GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult {
353
- /** Conversational prompts to trigger agents like Shopping Agent. There may be multiple prompts for a single suggestion. This is an experimental feature for select customers. If you want to receive this prompt information, reach out to the Retail support team. */
354
- agentPrompts?: GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResultAgentPrompt[];
359
+ /** Deprecated: Use CompleteQueryResponse.agent_prompts instead. Conversational prompts to trigger agents like Shopping Agent. There may be multiple prompts for a single suggestion. This is an experimental feature for select customers. */
360
+ agentPrompts?: GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt[];
355
361
  /** Custom attributes for the suggestion term. * For `user-data`, the attributes are additional custom attributes ingested through BigQuery. * For `cloud-retail`, the attributes are product attributes generated by Cloud Retail. It requires UserEvent.product_details is imported properly. */
356
362
  attributes?: {[P in string]: GoogleCloudRetailV2alphaCustomAttribute};
357
363
  /** Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. If you want to receive this facet information, reach out to the Retail support team. */
@@ -361,10 +367,6 @@ declare namespace gapi.client {
361
367
  /** Total number of products associated with a search with this suggestion. This is an experimental feature for limited customers. If you want to receive this product count information, reach out to the Retail support team. */
362
368
  totalProductCount?: number;
363
369
  }
364
- interface GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResultAgentPrompt {
365
- /** The conversational prompt string. */
366
- prompt?: string;
367
- }
368
370
  interface GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult {
369
371
  /** The recent search query. */
370
372
  recentSearch?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.retail-v2alpha",
3
- "version": "0.3.20260813",
3
+ "version": "0.3.20260826",
4
4
  "description": "TypeScript typings for AI Commerce Search API v2alpha",
5
5
  "repository": {
6
6
  "type": "git",