hostinger-api-sdk 2.2.0 → 2.4.0
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/README.md +2 -2
- package/api.ts +909 -115
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +520 -40
- package/dist/api.js +588 -23
- 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 +2 -2
- package/dist/esm/api.d.ts +520 -40
- package/dist/esm/api.js +574 -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 +2 -2
- 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/ReachCampaignsApi.md +1 -1
- package/docs/ReachContactsApi.md +1 -1
- package/docs/ReachIntegrationsApi.md +349 -0
- package/docs/ReachTemplatesApi.md +58 -1
- package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +2 -0
- package/docs/{ReachV1ContactsUpdateRequestFieldsInner.md → ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner.md} +3 -3
- package/docs/ReachV1ContactsStoreRequest.md +2 -0
- package/docs/ReachV1ContactsUpdateRequest.md +1 -1
- package/docs/ReachV1StoresStoreResource.md +32 -0
- package/docs/ReachV1StoresStoreResourceSalesChannelsInner.md +26 -0
- package/docs/ReachV1TemplatesTemplateDetailsResource.md +28 -0
- package/docs/ReachV1WebsitesWebsiteBuilderConnectRequest.md +21 -0
- package/docs/ReachV1WebsitesWebsiteBuilderDisconnectRequest.md +21 -0
- package/docs/ReachV1WebsitesWebsiteResource.md +22 -0
- package/docs/ReachV1WebsitesWordPressDisconnectRequest.md +21 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ReachV1StoresStoreResourceSalesChannelsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**domain** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ReachV1StoresStoreResourceSalesChannelsInner } from '@hostinger/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: ReachV1StoresStoreResourceSalesChannelsInner = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
type,
|
|
22
|
+
domain,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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,28 @@
|
|
|
1
|
+
# ReachV1TemplatesTemplateDetailsResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uuid** | **string** | Pass this as the `template_uuid` of a campaign. | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | Null for templates that were never named. | [optional] [default to undefined]
|
|
10
|
+
**template_content** | **string** | Full HTML of the template, with personalization tags such as `{{name}}` unrendered. Null when the stored HTML cannot be read. | [optional] [default to undefined]
|
|
11
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ReachV1TemplatesTemplateDetailsResource } from '@hostinger/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: ReachV1TemplatesTemplateDetailsResource = {
|
|
20
|
+
uuid,
|
|
21
|
+
title,
|
|
22
|
+
template_content,
|
|
23
|
+
created_at,
|
|
24
|
+
updated_at,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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,21 @@
|
|
|
1
|
+
# ReachV1WebsitesWebsiteBuilderConnectRequest
|
|
2
|
+
|
|
3
|
+
AI Website Builder site to connect to the profile
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**domain** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ReachV1WebsitesWebsiteBuilderConnectRequest } from '@hostinger/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ReachV1WebsitesWebsiteBuilderConnectRequest = {
|
|
17
|
+
domain,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[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,21 @@
|
|
|
1
|
+
# ReachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
2
|
+
|
|
3
|
+
AI Website Builder site to disconnect from the profile
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**domain** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ReachV1WebsitesWebsiteBuilderDisconnectRequest } from '@hostinger/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ReachV1WebsitesWebsiteBuilderDisconnectRequest = {
|
|
17
|
+
domain,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[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,22 @@
|
|
|
1
|
+
# ReachV1WebsitesWebsiteResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**domain** | **string** | Pass this to the disconnect endpoint matching `platform_type`. | [optional] [default to undefined]
|
|
9
|
+
**platform_type** | **string** | `wordpress`, `website_builder` (AI Website Builder site built manually) or `horizons` (site built with the agentic AI Website Builder). | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ReachV1WebsitesWebsiteResource } from '@hostinger/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ReachV1WebsitesWebsiteResource = {
|
|
17
|
+
domain,
|
|
18
|
+
platform_type,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,21 @@
|
|
|
1
|
+
# ReachV1WebsitesWordPressDisconnectRequest
|
|
2
|
+
|
|
3
|
+
WordPress site to disconnect from the profile
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**domain** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ReachV1WebsitesWordPressDisconnectRequest } from '@hostinger/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ReachV1WebsitesWordPressDisconnectRequest = {
|
|
17
|
+
domain,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[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: 2.
|
|
6
|
+
* API Version: 2.4.0
|
|
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
|