hostinger-api-sdk 1.1.0 → 1.1.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.
@@ -0,0 +1,32 @@
1
+ # EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Sales channel ID | [optional] [default to undefined]
9
+ **type** | **string** | Sales channel type | [optional] [default to undefined]
10
+ **is_primary** | **boolean** | Whether this is the primary sales channel. | [optional] [default to undefined]
11
+ **is_active** | **boolean** | Whether the sales channel is active. | [optional] [default to undefined]
12
+ **external_id** | **string** | External identifier for the sales channel. | [optional] [default to undefined]
13
+ **name** | **string** | Merchant-facing custom name. | [optional] [default to undefined]
14
+ **domain** | **string** | Public address where the custom sales channel lives. | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel } from 'hostinger-api-sdk';
20
+
21
+ const instance: EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel = {
22
+ id,
23
+ type,
24
+ is_primary,
25
+ is_active,
26
+ external_id,
27
+ name,
28
+ domain,
29
+ };
30
+ ```
31
+
32
+ [[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
+ # EcommerceV1SalesChannelSalesChannelListResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sales_channels** | [**Array<EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner>**](EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner.md) | The store\'s active sales channels. | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { EcommerceV1SalesChannelSalesChannelListResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: EcommerceV1SalesChannelSalesChannelListResource = {
16
+ sales_channels,
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)
@@ -0,0 +1,32 @@
1
+ # EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Sales channel ID | [optional] [default to undefined]
9
+ **type** | **string** | Sales channel type | [optional] [default to undefined]
10
+ **is_primary** | **boolean** | Whether this is the primary sales channel. | [optional] [default to undefined]
11
+ **is_active** | **boolean** | Whether the sales channel is active. | [optional] [default to undefined]
12
+ **external_id** | **string** | External identifier for the sales channel. | [optional] [default to undefined]
13
+ **name** | **string** | Merchant-facing custom name. | [optional] [default to undefined]
14
+ **domain** | **string** | Public address where the sales channel lives. | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner } from 'hostinger-api-sdk';
20
+
21
+ const instance: EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner = {
22
+ id,
23
+ type,
24
+ is_primary,
25
+ is_active,
26
+ external_id,
27
+ name,
28
+ domain,
29
+ };
30
+ ```
31
+
32
+ [[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,24 @@
1
+ # EcommerceV1SalesChannelStoreRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | Sales channel type. Only \"custom\" channels can be created via the API. | [default to undefined]
9
+ **name** | **string** | Merchant-facing custom name shown in the sales channels list. | [default to undefined]
10
+ **url** | **string** | Optional public address where the custom sales channel lives. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { EcommerceV1SalesChannelStoreRequest } from 'hostinger-api-sdk';
16
+
17
+ const instance: EcommerceV1SalesChannelStoreRequest = {
18
+ type,
19
+ name,
20
+ url,
21
+ };
22
+ ```
23
+
24
+ [[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
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.1.0
6
+ * API Version: 1.1.1
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {