@maxim_mazurok/gapi.client.retail-v2 0.0.20230427 → 0.0.20230516

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 +15 -6
  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=v2
12
- // Revision: 20230427
12
+ // Revision: 20230516
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -443,7 +443,10 @@ declare namespace gapi.client {
443
443
  string;
444
444
  }
445
445
  interface GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig {
446
- /** Optional. Specifies the context of the model when used in predict requests. Only settable for the `frequently-bought-together` type. Will default to MULTI_CONTEXT if not specified. */
446
+ /**
447
+ * Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to
448
+ * MULTIPLE_CONTEXT_PRODUCTS.
449
+ */
447
450
  contextProductsType?:
448
451
  string;
449
452
  }
@@ -872,7 +875,10 @@ declare namespace gapi.client {
872
875
  string;
873
876
  }
874
877
  interface GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig {
875
- /** Optional. Specifies the context of the model when used in predict requests. Only settable for the `frequently-bought-together` type. Will default to MULTI_CONTEXT if not specified. */
878
+ /**
879
+ * Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to
880
+ * MULTIPLE_CONTEXT_PRODUCTS.
881
+ */
876
882
  contextProductsType?:
877
883
  string;
878
884
  }
@@ -1000,7 +1006,7 @@ declare namespace gapi.client {
1000
1006
  string;
1001
1007
  /**
1002
1008
  * When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered, faceted, or boosted in
1003
- * SearchService.Search. Must be specified, otherwise throws INVALID_FORMAT error.
1009
+ * SearchService.Search. Must be specified when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.
1004
1010
  */
1005
1011
  indexableOption?:
1006
1012
  string;
@@ -1026,7 +1032,7 @@ declare namespace gapi.client {
1026
1032
  /**
1027
1033
  * When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values are searchable by text queries in SearchService.Search. If
1028
1034
  * SEARCHABLE_ENABLED but attribute type is numerical, attribute values will not be searchable by text queries in SearchService.Search, as there are no text values associated to
1029
- * numerical attributes. Must be specified, otherwise throws INVALID_FORMAT error.
1035
+ * numerical attributes. Must be specified, when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.
1030
1036
  */
1031
1037
  searchableOption?:
1032
1038
  string;
@@ -1582,7 +1588,10 @@ declare namespace gapi.client {
1582
1588
  string;
1583
1589
  }
1584
1590
  interface GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig {
1585
- /** Optional. Specifies the context of the model when used in predict requests. Only settable for the `frequently-bought-together` type. Will default to MULTI_CONTEXT if not specified. */
1591
+ /**
1592
+ * Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to
1593
+ * MULTIPLE_CONTEXT_PRODUCTS.
1594
+ */
1586
1595
  contextProductsType?:
1587
1596
  string;
1588
1597
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.retail-v2",
3
- "version": "0.0.20230427",
3
+ "version": "0.0.20230516",
4
4
  "description": "TypeScript typings for Retail API v2",
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: 20230427
6
+ // Revision: 20230516
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */