@maxim_mazurok/gapi.client.retail-v2 0.3.20260723 → 0.3.20260813
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 +2 -2
- package/readme.md +4 -4
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Type definitions for non-npm package
|
|
1
|
+
/* Type definitions for non-npm package AI Commerce Search API v2 0.0 */
|
|
2
2
|
// Project: https://cloud.google.com/recommendations
|
|
3
3
|
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
@@ -9,12 +9,12 @@
|
|
|
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: 20260813
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
|
-
/** Load
|
|
17
|
+
/** Load AI Commerce Search API v2 */
|
|
18
18
|
function load(
|
|
19
19
|
urlOrObject: 'https://retail.googleapis.com/$discovery/rest?version=v2',
|
|
20
20
|
): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.retail-v2",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "TypeScript typings for
|
|
3
|
+
"version": "0.3.20260813",
|
|
4
|
+
"description": "TypeScript typings for AI Commerce Search API v2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
|
package/readme.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# TypeScript typings for
|
|
1
|
+
# TypeScript typings for AI Commerce Search API v2
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The AI Commerce Search API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.
|
|
4
4
|
For detailed description please check [documentation](https://cloud.google.com/recommendations).
|
|
5
5
|
|
|
6
6
|
## Installing
|
|
7
7
|
|
|
8
|
-
Install typings for
|
|
8
|
+
Install typings for AI Commerce Search API:
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
npm install @types/gapi.client.retail-v2 --save-dev
|
|
@@ -78,7 +78,7 @@ gapi.auth.authorize(
|
|
|
78
78
|
);
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
After that you can use
|
|
81
|
+
After that you can use AI Commerce Search API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
82
82
|
|
|
83
83
|
```typescript
|
|
84
84
|
|