@maxim_mazurok/gapi.client.retail-v2alpha
Advanced tools
Comparing version 0.0.20230622 to 0.0.20230629
{ | ||
"name": "@maxim_mazurok/gapi.client.retail-v2alpha", | ||
"version": "0.0.20230622", | ||
"version": "0.0.20230629", | ||
"description": "TypeScript typings for Retail API v2alpha", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -68,2 +68,17 @@ # TypeScript typings for Retail API v2alpha | ||
```typescript | ||
/* | ||
Enrolls retail API solution for the project. Recommendation solution is enrolled by default when your project enables Retail API. You don't need to call this API for the recommendation solution. | ||
*/ | ||
await gapi.client.retail.projects.enrollSolution({ project: "project", }); | ||
/* | ||
Gets the project. Throws NOT_FOUND if the project wasn't initialized for Retail API Service. | ||
*/ | ||
await gapi.client.retail.projects.getRetailProject({ name: "name", }); | ||
/* | ||
Lists all the retail API solutions the project has enrolled. | ||
*/ | ||
await gapi.client.retail.projects.listEnrolledSolutions({ parent: "parent", }); | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
596731
11181
84