@maxim_mazurok/gapi.client.retail-v2 0.0.20221014 → 0.0.20221024
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/index.d.ts +3 -3
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20221024
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1089,7 +1089,7 @@ declare namespace gapi.client {
|
|
|
1089
1089
|
/**
|
|
1090
1090
|
* Additional domain specific parameters for the predictions. Allowed values: * `returnProduct`: Boolean. If set to true, the associated product object will be returned in the
|
|
1091
1091
|
* `results.metadata` field in the prediction response. * `returnScore`: Boolean. If set to true, the prediction 'score' corresponding to each returned product will be set in the
|
|
1092
|
-
* `results.metadata` field in the prediction response. The given 'score' indicates the probability of
|
|
1092
|
+
* `results.metadata` field in the prediction response. The given 'score' indicates the probability of a product being clicked/purchased given the user's context and history. *
|
|
1093
1093
|
* `strictFiltering`: Boolean. True by default. If set to false, the service will return generic (unfiltered) popular products instead of empty if your filter blocks all prediction
|
|
1094
1094
|
* results. * `priceRerankLevel`: String. Default empty. If set to be non-empty, then it needs to be one of {'no-price-reranking', 'low-price-reranking', 'medium-price-reranking',
|
|
1095
1095
|
* 'high-price-reranking'}. This gives request-level control and adjusts prediction results based on product price. * `diversityLevel`: String. Default empty. If set to be non-empty,
|
|
@@ -1769,7 +1769,7 @@ declare namespace gapi.client {
|
|
|
1769
1769
|
/** Required. The facet key specification. */
|
|
1770
1770
|
facetKey?: GoogleCloudRetailV2SearchRequestFacetSpecFacetKey;
|
|
1771
1771
|
/**
|
|
1772
|
-
* Maximum of facet values that should be returned for this facet. If unspecified, defaults to
|
|
1772
|
+
* Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this
|
|
1773
1773
|
* field is negative, an INVALID_ARGUMENT is returned.
|
|
1774
1774
|
*/
|
|
1775
1775
|
limit?: number;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20221024
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|