@maxim_mazurok/gapi.client.retail-v2alpha 0.0.20221208 → 0.0.20230102

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 (3) hide show
  1. package/index.d.ts +8 -7
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20221208
12
+ // Revision: 20230102
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -247,7 +247,7 @@ declare namespace gapi.client {
247
247
  dynamicFacetableOption?: string;
248
248
  /**
249
249
  * If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This property only applies to textual custom attributes and requires indexable set to enabled to enable
250
- * exact-searchable.
250
+ * exact-searchable. If unset, the server behavior defaults to EXACT_SEARCHABLE_DISABLED.
251
251
  */
252
252
  exactSearchableOption?: string;
253
253
  /**
@@ -265,7 +265,8 @@ declare namespace gapi.client {
265
265
  inUse?: boolean;
266
266
  /**
267
267
  * Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric
268
- * characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed.
268
+ * characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. For attributes whoes
269
+ * key start with `attributes.`, we refer them as custom attributes. Otherwise they are built-in attributes such as `color` and `brands`.
269
270
  */
270
271
  key?: string;
271
272
  /**
@@ -273,7 +274,7 @@ declare namespace gapi.client {
273
274
  * option works for categorical features only, does not work for numerical features, inventory filtering.
274
275
  */
275
276
  recommendationsFilteringOption?: string;
276
- /** If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results. */
277
+ /** If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results. If unset, the server behavior defaults to RETRIEVABLE_DISABLED. */
277
278
  retrievableOption?: string;
278
279
  /**
279
280
  * When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values are searchable by text queries in SearchService.Search. If
@@ -1752,7 +1753,7 @@ declare namespace gapi.client {
1752
1753
  * solution_types is SOLUTION_TYPE_RECOMMENDATION.
1753
1754
  */
1754
1755
  diversityLevel?: string;
1755
- /** What kind of diversity to use - data driven or rule based. */
1756
+ /** What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY. */
1756
1757
  diversityType?: string;
1757
1758
  /**
1758
1759
  * Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. -
@@ -1804,7 +1805,7 @@ declare namespace gapi.client {
1804
1805
  personalizationSpec?: GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec;
1805
1806
  /**
1806
1807
  * How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced
1807
- * items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-raranking` *
1808
+ * items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` *
1808
1809
  * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is
1809
1810
  * SOLUTION_TYPE_RECOMMENDATION.
1810
1811
  */
@@ -4740,7 +4741,7 @@ declare namespace gapi.client {
4740
4741
  oauth_token?: string;
4741
4742
  /** Required. The parent catalog name, such as `projects/1234/locations/global/catalogs/default_catalog`. */
4742
4743
  parent: string;
4743
- /** The prebuilt rule name that can convert a specific type of raw_json. For example: "default_schema/v1.0" */
4744
+ /** The prebuilt rule name that can convert a specific type of raw_json. For example: "ga4_bq" rule for the GA4 user event schema. */
4744
4745
  prebuiltRule?: string;
4745
4746
  /** Returns response with indentations and line breaks. */
4746
4747
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.retail-v2alpha",
3
- "version": "0.0.20221208",
3
+ "version": "0.0.20230102",
4
4
  "description": "TypeScript typings for Retail API v2alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20221208
6
+ // Revision: 20230102
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */