@teemill/website 0.30.4 → 0.31.1
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/.openapi-generator/FILES +4 -0
- package/README.md +7 -2
- package/api.ts +304 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +186 -13
- package/dist/api.js +219 -15
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +186 -13
- package/dist/esm/api.js +213 -13
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/CollectionsApi.md +1 -0
- package/docs/CrossSellApi.md +2 -1
- package/docs/ProductsApi.md +131 -0
- package/docs/UpdateWebsiteProductRequest.md +24 -0
- package/docs/WebsiteProduct.md +27 -0
- package/docs/WebsiteProductCollectionsInner.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# WebsiteProduct
|
|
2
|
+
|
|
3
|
+
Website-specific settings for a product on the storefront (search visibility, cross-sells, and collection membership).
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
10
|
+
**excludeFromSearch** | **boolean** | When true, the product is excluded from storefront search results. | [default to undefined]
|
|
11
|
+
**crossSellProducts** | [**Array<Product>**](Product.md) | Products linked as cross-sells for this product, in display order. | [default to undefined]
|
|
12
|
+
**collections** | [**Array<WebsiteProductCollectionsInner>**](WebsiteProductCollectionsInner.md) | Collections this product belongs to. | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WebsiteProduct } from '@teemill/website';
|
|
18
|
+
|
|
19
|
+
const instance: WebsiteProduct = {
|
|
20
|
+
id,
|
|
21
|
+
excludeFromSearch,
|
|
22
|
+
crossSellProducts,
|
|
23
|
+
collections,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# WebsiteProductCollectionsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { WebsiteProductCollectionsInner } from '@teemill/website';
|
|
14
|
+
|
|
15
|
+
const instance: WebsiteProductCollectionsInner = {
|
|
16
|
+
id,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/index.ts
CHANGED