hostinger-api-sdk 1.31.0 → 1.32.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.
@@ -0,0 +1,22 @@
1
+ # ReachListCampaignsV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<ReachV1CampaignsCampaignResource>**](ReachV1CampaignsCampaignResource.md) | Array of [`Reach.V1.Campaigns.CampaignResource`](#model/reachv1campaignscampaignresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ReachListCampaignsV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: ReachListCampaignsV1200Response = {
17
+ data,
18
+ meta,
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,25 @@
1
+ # ReachV1CampaignsCampaignDeliveryResource
2
+
3
+ Delivery progress. While the campaign is `sending`, `total_sent` climbs towards the estimate.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **total_sent** | **number** | Emails sent so far. | [optional] [default to undefined]
10
+ **estimated_total_recipients** | **number** | Recipients this campaign was estimated to reach when sending started. Null for campaigns that have not started sending. | [optional] [default to undefined]
11
+ **subscribers_count** | **number** | Contacts currently targeted by this campaign. | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ReachV1CampaignsCampaignDeliveryResource } from 'hostinger-api-sdk';
17
+
18
+ const instance: ReachV1CampaignsCampaignDeliveryResource = {
19
+ total_sent,
20
+ estimated_total_recipients,
21
+ subscribers_count,
22
+ };
23
+ ```
24
+
25
+ [[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,52 @@
1
+ # ReachV1CampaignsCampaignDetailsResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uuid** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **subject** | **string** | | [optional] [default to undefined]
11
+ **sender_name** | **string** | | [optional] [default to undefined]
12
+ **sender_email** | **string** | | [optional] [default to undefined]
13
+ **template_uuid** | **string** | The email template this campaign uses. The template title is not exposed. | [optional] [default to undefined]
14
+ **status** | **string** | A fully sent campaign is `publish`. There is no `sent`, `paused` or `archived` status. | [optional] [default to undefined]
15
+ **type** | **string** | | [optional] [default to undefined]
16
+ **failure_reason** | **string** | Set only while the status is `failed`. | [optional] [default to undefined]
17
+ **is_smart_send** | **boolean** | Whether delivery time is picked per contact rather than sent to everyone at once. | [optional] [default to undefined]
18
+ **is_all_contacts** | **boolean** | Whether the campaign targets every contact instead of the listed segments. | [optional] [default to undefined]
19
+ **delivery** | [**ReachV1CampaignsCampaignDeliveryResource**](ReachV1CampaignsCampaignDeliveryResource.md) | | [optional] [default to undefined]
20
+ **segment_uuids** | **Array<string>** | Segments this campaign targets. Empty when it targets all contacts. | [optional] [default to undefined]
21
+ **created_at** | **string** | | [optional] [default to undefined]
22
+ **updated_at** | **string** | | [optional] [default to undefined]
23
+ **sent_at** | **string** | | [optional] [default to undefined]
24
+ **scheduled_at** | **string** | | [optional] [default to undefined]
25
+
26
+ ## Example
27
+
28
+ ```typescript
29
+ import { ReachV1CampaignsCampaignDetailsResource } from 'hostinger-api-sdk';
30
+
31
+ const instance: ReachV1CampaignsCampaignDetailsResource = {
32
+ uuid,
33
+ title,
34
+ subject,
35
+ sender_name,
36
+ sender_email,
37
+ template_uuid,
38
+ status,
39
+ type,
40
+ failure_reason,
41
+ is_smart_send,
42
+ is_all_contacts,
43
+ delivery,
44
+ segment_uuids,
45
+ created_at,
46
+ updated_at,
47
+ sent_at,
48
+ scheduled_at,
49
+ };
50
+ ```
51
+
52
+ [[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,44 @@
1
+ # ReachV1CampaignsCampaignResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uuid** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **subject** | **string** | | [optional] [default to undefined]
11
+ **sender_name** | **string** | | [optional] [default to undefined]
12
+ **sender_email** | **string** | | [optional] [default to undefined]
13
+ **template_uuid** | **string** | The email template this campaign uses. The template title is not exposed. | [optional] [default to undefined]
14
+ **status** | **string** | A fully sent campaign is `publish`. There is no `sent`, `paused` or `archived` status. | [optional] [default to undefined]
15
+ **type** | **string** | | [optional] [default to undefined]
16
+ **created_at** | **string** | | [optional] [default to undefined]
17
+ **updated_at** | **string** | | [optional] [default to undefined]
18
+ **sent_at** | **string** | | [optional] [default to undefined]
19
+ **scheduled_at** | **string** | | [optional] [default to undefined]
20
+ **statistics** | [**ReachV1CampaignsCampaignSummaryStatisticsResource**](ReachV1CampaignsCampaignSummaryStatisticsResource.md) | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { ReachV1CampaignsCampaignResource } from 'hostinger-api-sdk';
26
+
27
+ const instance: ReachV1CampaignsCampaignResource = {
28
+ uuid,
29
+ title,
30
+ subject,
31
+ sender_name,
32
+ sender_email,
33
+ template_uuid,
34
+ status,
35
+ type,
36
+ created_at,
37
+ updated_at,
38
+ sent_at,
39
+ scheduled_at,
40
+ statistics,
41
+ };
42
+ ```
43
+
44
+ [[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,49 @@
1
+ # ReachV1CampaignsCampaignStatisticsResource
2
+
3
+ Campaign performance. Every count is unique contacts rather than raw events, so a contact who opens the same email five times is counted once.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **total_sent** | **number** | Emails sent for this campaign, and the denominator of every rate below. | [optional] [default to undefined]
10
+ **estimated_total_recipients** | **number** | Recipients this campaign was estimated to reach when sending started. Null for campaigns that have not started sending. | [optional] [default to undefined]
11
+ **processed_count** | **number** | | [optional] [default to undefined]
12
+ **delivered_count** | **number** | | [optional] [default to undefined]
13
+ **dropped_count** | **number** | | [optional] [default to undefined]
14
+ **bounced_count** | **number** | | [optional] [default to undefined]
15
+ **soft_bounced_count** | **number** | | [optional] [default to undefined]
16
+ **opened_count** | **number** | Contacts who opened this campaign. | [optional] [default to undefined]
17
+ **clicked_count** | **number** | Contacts who clicked a link. Only clicks from contacts who also registered an open count. | [optional] [default to undefined]
18
+ **unsubscribed_count** | **number** | Contacts who unsubscribed through this campaign. | [optional] [default to undefined]
19
+ **open_rate** | **number** | Percentage of sent emails that were opened. | [optional] [default to undefined]
20
+ **click_rate** | **number** | Percentage of sent emails that got a click. | [optional] [default to undefined]
21
+ **click_to_open_rate** | **number** | Percentage of the contacts who opened that went on to click. | [optional] [default to undefined]
22
+ **unsubscribe_rate** | **number** | Percentage of sent emails that led to an unsubscribe. | [optional] [default to undefined]
23
+ **has_bounced_contacts** | **boolean** | | [optional] [default to undefined]
24
+
25
+ ## Example
26
+
27
+ ```typescript
28
+ import { ReachV1CampaignsCampaignStatisticsResource } from 'hostinger-api-sdk';
29
+
30
+ const instance: ReachV1CampaignsCampaignStatisticsResource = {
31
+ total_sent,
32
+ estimated_total_recipients,
33
+ processed_count,
34
+ delivered_count,
35
+ dropped_count,
36
+ bounced_count,
37
+ soft_bounced_count,
38
+ opened_count,
39
+ clicked_count,
40
+ unsubscribed_count,
41
+ open_rate,
42
+ click_rate,
43
+ click_to_open_rate,
44
+ unsubscribe_rate,
45
+ has_bounced_contacts,
46
+ };
47
+ ```
48
+
49
+ [[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,27 @@
1
+ # ReachV1CampaignsCampaignSummaryStatisticsResource
2
+
3
+ Headline engagement rates. The statistics endpoint carries the full breakdown.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **total_sent** | **number** | Emails sent for this campaign, and the denominator of the rates below. | [optional] [default to undefined]
10
+ **open_rate** | **number** | Percentage of sent emails that were opened. | [optional] [default to undefined]
11
+ **click_rate** | **number** | Percentage of sent emails that got a click. | [optional] [default to undefined]
12
+ **click_to_open_rate** | **number** | Percentage of the contacts who opened that went on to click. | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ReachV1CampaignsCampaignSummaryStatisticsResource } from 'hostinger-api-sdk';
18
+
19
+ const instance: ReachV1CampaignsCampaignSummaryStatisticsResource = {
20
+ total_sent,
21
+ open_rate,
22
+ click_rate,
23
+ click_to_open_rate,
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)
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.33.0
6
+ * API Version: 1.34.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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-sdk",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {