@maxim_mazurok/gapi.client.recommendationengine-v1beta1 0.2.20260618 → 0.3.20260702
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 +9 -10
- 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://recommendationengine.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260702
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -104,9 +104,7 @@ declare namespace gapi.client {
|
|
|
104
104
|
eventItemLevel?: 'CATALOG_ITEM_LEVEL_UNSPECIFIED' | 'VARIANT' | 'MASTER';
|
|
105
105
|
/** Optional. Level of the catalog at which predictions are made. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. */
|
|
106
106
|
predictItemLevel?:
|
|
107
|
-
| '
|
|
108
|
-
| 'VARIANT'
|
|
109
|
-
| 'MASTER';
|
|
107
|
+
'CATALOG_ITEM_LEVEL_UNSPECIFIED' | 'VARIANT' | 'MASTER';
|
|
110
108
|
}
|
|
111
109
|
interface GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest {
|
|
112
110
|
/** Required. The prediction API key registration. */
|
|
@@ -129,11 +127,15 @@ declare namespace gapi.client {
|
|
|
129
127
|
interface GoogleCloudRecommendationengineV1beta1FeatureMap {
|
|
130
128
|
/** Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}` */
|
|
131
129
|
categoricalFeatures?: {
|
|
132
|
-
[
|
|
130
|
+
[
|
|
131
|
+
P in string
|
|
132
|
+
]: GoogleCloudRecommendationengineV1beta1FeatureMapStringList;
|
|
133
133
|
};
|
|
134
134
|
/** Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }` */
|
|
135
135
|
numericalFeatures?: {
|
|
136
|
-
[
|
|
136
|
+
[
|
|
137
|
+
P in string
|
|
138
|
+
]: GoogleCloudRecommendationengineV1beta1FeatureMapFloatList;
|
|
137
139
|
};
|
|
138
140
|
}
|
|
139
141
|
interface GoogleCloudRecommendationengineV1beta1FeatureMapFloatList {
|
|
@@ -401,10 +403,7 @@ declare namespace gapi.client {
|
|
|
401
403
|
eventDetail?: GoogleCloudRecommendationengineV1beta1EventDetail;
|
|
402
404
|
/** Optional. This field should *not* be set when using JavaScript pixel or the Recommendations AI Tag. Defaults to `EVENT_SOURCE_UNSPECIFIED`. */
|
|
403
405
|
eventSource?:
|
|
404
|
-
| '
|
|
405
|
-
| 'AUTOML'
|
|
406
|
-
| 'ECOMMERCE'
|
|
407
|
-
| 'BATCH_UPLOAD';
|
|
406
|
+
'EVENT_SOURCE_UNSPECIFIED' | 'AUTOML' | 'ECOMMERCE' | 'BATCH_UPLOAD';
|
|
408
407
|
/** Optional. Only required for ImportUserEvents method. Timestamp of user event created. */
|
|
409
408
|
eventTime?: string;
|
|
410
409
|
/** Required. User event type. Allowed values are: * `add-to-cart` Products being added to cart. * `add-to-list` Items being added to a list (shopping list, favorites etc). * `category-page-view` Special pages such as sale or promotion pages viewed. * `checkout-start` User starting a checkout process. * `detail-page-view` Products detail page viewed. * `home-page-view` Homepage viewed. * `page-visit` Generic page visits not included in the event types above. * `purchase-complete` User finishing a purchase. * `refund` Purchased items being refunded or returned. * `remove-from-cart` Products being removed from cart. * `remove-from-list` Items being removed from a list. * `search` Product search. * `shopping-cart-page-view` User viewing a shopping cart. * `impression` List of items displayed. Used by Google Tag Manager. */
|
package/package.json
CHANGED