Skip to content

Commit 3ea6adc

Browse files
chore: sdk update
1 parent 411f013 commit 3ea6adc

1,167 files changed

Lines changed: 4216 additions & 1145 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,10 @@ Class | Method | HTTP request | Description
317317
*ReachFormsApi* | [**delete_form_v1**](docs/ReachFormsApi.md#delete_form_v1) | **DELETE** /api/reach/v1/profiles/{profileUuid}/forms/{formUuid} | Delete form
318318
*ReachFormsApi* | [**get_form_details_v1**](docs/ReachFormsApi.md#get_form_details_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/forms/{formUuid} | Get form details
319319
*ReachFormsApi* | [**list_forms_v1**](docs/ReachFormsApi.md#list_forms_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/forms | List forms
320+
*ReachProfilesApi* | [**get_connected_sending_domain_v1**](docs/ReachProfilesApi.md#get_connected_sending_domain_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/domains | Get connected sending domain
320321
*ReachProfilesApi* | [**get_profile_domain_dns_status_v1**](docs/ReachProfilesApi.md#get_profile_domain_dns_status_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/domains/dns-status | Get profile domain DNS status
321322
*ReachProfilesApi* | [**get_remaining_plan_limits_v1**](docs/ReachProfilesApi.md#get_remaining_plan_limits_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/limits | Get remaining plan limits
323+
*ReachProfilesApi* | [**list_plan_feature_access_v1**](docs/ReachProfilesApi.md#list_plan_feature_access_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/features | List plan feature access
322324
*ReachProfilesApi* | [**list_profiles_v1**](docs/ReachProfilesApi.md#list_profiles_v1) | **GET** /api/reach/v1/profiles | List Profiles
323325
*ReachSegmentsApi* | [**count_profile_segment_contacts_v1**](docs/ReachSegmentsApi.md#count_profile_segment_contacts_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count | Count profile segment contacts
324326
*ReachSegmentsApi* | [**create_a_new_contact_segment_v1**](docs/ReachSegmentsApi.md#create_a_new_contact_segment_v1) | **POST** /api/reach/v1/segmentation/segments | Create a new contact segment
@@ -329,7 +331,9 @@ Class | Method | HTTP request | Description
329331
*ReachSegmentsApi* | [**list_profile_segment_contacts_v1**](docs/ReachSegmentsApi.md#list_profile_segment_contacts_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts | List profile segment contacts
330332
*ReachSegmentsApi* | [**list_profile_segments_v1**](docs/ReachSegmentsApi.md#list_profile_segments_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/segmentation/segments | List profile segments
331333
*ReachSegmentsApi* | [**list_segment_contacts_v1**](docs/ReachSegmentsApi.md#list_segment_contacts_v1) | **GET** /api/reach/v1/segmentation/segments/{segmentUuid}/contacts | List segment contacts
334+
*ReachSegmentsApi* | [**list_segment_filter_attributes_v1**](docs/ReachSegmentsApi.md#list_segment_filter_attributes_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/segmentation/filters/attributes | List segment filter attributes
332335
*ReachSegmentsApi* | [**list_segments_v1**](docs/ReachSegmentsApi.md#list_segments_v1) | **GET** /api/reach/v1/segmentation/segments | List segments
336+
*ReachSegmentsApi* | [**preview_contacts_matching_conditions_v1**](docs/ReachSegmentsApi.md#preview_contacts_matching_conditions_v1) | **POST** /api/reach/v1/profiles/{profileUuid}/segmentation/filters/contacts | Preview contacts matching conditions
333337
*ReachSegmentsApi* | [**update_a_profile_segment_v1**](docs/ReachSegmentsApi.md#update_a_profile_segment_v1) | **PUT** /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid} | Update a profile segment
334338
*ReachTagsApi* | [**assign_a_contact_to_a_tag_v1**](docs/ReachTagsApi.md#assign_a_contact_to_a_tag_v1) | **POST** /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts/{contactUuid} | Assign a contact to a tag
335339
*ReachTagsApi* | [**assign_contacts_to_a_tag_v1**](docs/ReachTagsApi.md#assign_contacts_to_a_tag_v1) | **POST** /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts | Assign contacts to a tag
@@ -807,10 +811,15 @@ Class | Method | HTTP request | Description
807811
- [ReachV1ContactsProfileContactResource](docs/ReachV1ContactsProfileContactResource.md)
808812
- [ReachV1ContactsProfileContactUpdateResource](docs/ReachV1ContactsProfileContactUpdateResource.md)
809813
- [ReachV1ContactsSegmentsContactSegmentResource](docs/ReachV1ContactsSegmentsContactSegmentResource.md)
814+
- [ReachV1ContactsSegmentsProfileFilterContactsRequest](docs/ReachV1ContactsSegmentsProfileFilterContactsRequest.md)
815+
- [ReachV1ContactsSegmentsProfileFilterContactsRequestConditionsInner](docs/ReachV1ContactsSegmentsProfileFilterContactsRequestConditionsInner.md)
810816
- [ReachV1ContactsSegmentsProfileStoreRequest](docs/ReachV1ContactsSegmentsProfileStoreRequest.md)
811817
- [ReachV1ContactsSegmentsProfileStoreRequestConditionsInner](docs/ReachV1ContactsSegmentsProfileStoreRequestConditionsInner.md)
812818
- [ReachV1ContactsSegmentsProfileUpdateRequest](docs/ReachV1ContactsSegmentsProfileUpdateRequest.md)
813819
- [ReachV1ContactsSegmentsSegmentContactsCountResource](docs/ReachV1ContactsSegmentsSegmentContactsCountResource.md)
820+
- [ReachV1ContactsSegmentsSegmentFilterAttributeResource](docs/ReachV1ContactsSegmentsSegmentFilterAttributeResource.md)
821+
- [ReachV1ContactsSegmentsSegmentFilterAttributesResource](docs/ReachV1ContactsSegmentsSegmentFilterAttributesResource.md)
822+
- [ReachV1ContactsSegmentsSegmentFilterOperatorResource](docs/ReachV1ContactsSegmentsSegmentFilterOperatorResource.md)
814823
- [ReachV1ContactsSegmentsSegmentListItemResource](docs/ReachV1ContactsSegmentsSegmentListItemResource.md)
815824
- [ReachV1ContactsSegmentsSegmentResource](docs/ReachV1ContactsSegmentsSegmentResource.md)
816825
- [ReachV1ContactsSegmentsSegmentationContactResource](docs/ReachV1ContactsSegmentsSegmentationContactResource.md)
@@ -833,6 +842,9 @@ Class | Method | HTTP request | Description
833842
- [ReachV1ProfilesDomainsDnsRecordStatusActualInner](docs/ReachV1ProfilesDomainsDnsRecordStatusActualInner.md)
834843
- [ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner](docs/ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner.md)
835844
- [ReachV1ProfilesDomainsDnsStatusResource](docs/ReachV1ProfilesDomainsDnsStatusResource.md)
845+
- [ReachV1ProfilesDomainsSendingDomainResource](docs/ReachV1ProfilesDomainsSendingDomainResource.md)
846+
- [ReachV1ProfilesDomainsSuspendedSenderEmailResource](docs/ReachV1ProfilesDomainsSuspendedSenderEmailResource.md)
847+
- [ReachV1ProfilesFeaturesPlanFeatureResource](docs/ReachV1ProfilesFeaturesPlanFeatureResource.md)
836848
- [ReachV1ProfilesPlanLimitUsageResource](docs/ReachV1ProfilesPlanLimitUsageResource.md)
837849
- [ReachV1ProfilesPlanLimitsResource](docs/ReachV1ProfilesPlanLimitsResource.md)
838850
- [ReachV1ProfilesProfileResource](docs/ReachV1ProfilesProfileResource.md)

‎docs/ReachProfilesApi.md‎

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,89 @@ All URIs are relative to *https://developers.hostinger.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**get_connected_sending_domain_v1**](ReachProfilesApi.md#get_connected_sending_domain_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/domains | Get connected sending domain
78
[**get_profile_domain_dns_status_v1**](ReachProfilesApi.md#get_profile_domain_dns_status_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/domains/dns-status | Get profile domain DNS status
89
[**get_remaining_plan_limits_v1**](ReachProfilesApi.md#get_remaining_plan_limits_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/limits | Get remaining plan limits
10+
[**list_plan_feature_access_v1**](ReachProfilesApi.md#list_plan_feature_access_v1) | **GET** /api/reach/v1/profiles/{profileUuid}/features | List plan feature access
911
[**list_profiles_v1**](ReachProfilesApi.md#list_profiles_v1) | **GET** /api/reach/v1/profiles | List Profiles
1012

1113

14+
# **get_connected_sending_domain_v1**
15+
> ReachV1ProfilesDomainsSendingDomainResource get_connected_sending_domain_v1(profile_uuid)
16+
17+
Get connected sending domain
18+
19+
Get the sending domain connected to the profile, its verification status and any suspended
20+
sender addresses.
21+
22+
Campaigns only go out once a domain is connected and active, so this is the cheapest way to
23+
check that precondition before building one. A profile with no domain connected returns the
24+
same shape with every field set to `null`. For the individual MX, SPF, DKIM and DMARC records
25+
behind the status, use the DNS status endpoint.
26+
27+
### Example
28+
29+
* Bearer Authentication (apiToken):
30+
31+
```python
32+
import hostinger_api
33+
from hostinger_api.models.reach_v1_profiles_domains_sending_domain_resource import ReachV1ProfilesDomainsSendingDomainResource
34+
from hostinger_api.rest import ApiException
35+
from pprint import pprint
36+
37+
38+
# Configure Bearer authorization: apiToken
39+
configuration = hostinger_api.Configuration(
40+
access_token = os.environ["BEARER_TOKEN"]
41+
)
42+
43+
# Enter a context with an instance of the API client
44+
with hostinger_api.ApiClient(configuration) as api_client:
45+
# Create an instance of the API class
46+
api_instance = hostinger_api.ReachProfilesApi(api_client)
47+
profile_uuid = '550e8400-e09b-41d4-a716-400055000000' # str | Profile uuid parameter
48+
49+
try:
50+
# Get connected sending domain
51+
api_response = api_instance.get_connected_sending_domain_v1(profile_uuid)
52+
print("The response of ReachProfilesApi->get_connected_sending_domain_v1:\n")
53+
pprint(api_response)
54+
except Exception as e:
55+
print("Exception when calling ReachProfilesApi->get_connected_sending_domain_v1: %s\n" % e)
56+
```
57+
58+
59+
60+
### Parameters
61+
62+
63+
Name | Type | Description | Notes
64+
------------- | ------------- | ------------- | -------------
65+
**profile_uuid** | **str**| Profile uuid parameter |
66+
67+
### Return type
68+
69+
[**ReachV1ProfilesDomainsSendingDomainResource**](ReachV1ProfilesDomainsSendingDomainResource.md)
70+
71+
### Authorization
72+
73+
[apiToken](../README.md#apiToken)
74+
75+
### HTTP request headers
76+
77+
- **Content-Type**: Not defined
78+
- **Accept**: application/json
79+
80+
### HTTP response details
81+
82+
| Status code | Description | Response headers |
83+
|-------------|-------------|------------------|
84+
**200** | Success response | - |
85+
**401** | Unauthenticated response | - |
86+
**500** | Error response | - |
87+
88+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
89+
1290
# **get_profile_domain_dns_status_v1**
1391
> ReachV1ProfilesDomainsDnsStatusResource get_profile_domain_dns_status_v1(profile_uuid)
1492
@@ -158,6 +236,83 @@ Name | Type | Description | Notes
158236

159237
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
160238

239+
# **list_plan_feature_access_v1**
240+
> List[ReachV1ProfilesFeaturesPlanFeatureResource] list_plan_feature_access_v1(profile_uuid)
241+
242+
List plan feature access
243+
244+
List which plan features the profile can use.
245+
246+
This is the feature lock matrix, not a usage quota. `available` means the feature can be
247+
used right now and `locked` means it is not part of the base plan, so an upgrade is needed.
248+
For remaining emails, recipients and AI credits use the limits endpoint instead.
249+
250+
Worth checking before building something that cannot be activated afterwards, such as an
251+
automation on a plan without automation activation.
252+
253+
### Example
254+
255+
* Bearer Authentication (apiToken):
256+
257+
```python
258+
import hostinger_api
259+
from hostinger_api.models.reach_v1_profiles_features_plan_feature_resource import ReachV1ProfilesFeaturesPlanFeatureResource
260+
from hostinger_api.rest import ApiException
261+
from pprint import pprint
262+
263+
264+
# Configure Bearer authorization: apiToken
265+
configuration = hostinger_api.Configuration(
266+
access_token = os.environ["BEARER_TOKEN"]
267+
)
268+
269+
# Enter a context with an instance of the API client
270+
with hostinger_api.ApiClient(configuration) as api_client:
271+
# Create an instance of the API class
272+
api_instance = hostinger_api.ReachProfilesApi(api_client)
273+
profile_uuid = '550e8400-e09b-41d4-a716-400055000000' # str | Profile uuid parameter
274+
275+
try:
276+
# List plan feature access
277+
api_response = api_instance.list_plan_feature_access_v1(profile_uuid)
278+
print("The response of ReachProfilesApi->list_plan_feature_access_v1:\n")
279+
pprint(api_response)
280+
except Exception as e:
281+
print("Exception when calling ReachProfilesApi->list_plan_feature_access_v1: %s\n" % e)
282+
```
283+
284+
285+
286+
### Parameters
287+
288+
289+
Name | Type | Description | Notes
290+
------------- | ------------- | ------------- | -------------
291+
**profile_uuid** | **str**| Profile uuid parameter |
292+
293+
### Return type
294+
295+
[**List[ReachV1ProfilesFeaturesPlanFeatureResource]**](ReachV1ProfilesFeaturesPlanFeatureResource.md)
296+
297+
### Authorization
298+
299+
[apiToken](../README.md#apiToken)
300+
301+
### HTTP request headers
302+
303+
- **Content-Type**: Not defined
304+
- **Accept**: application/json
305+
306+
### HTTP response details
307+
308+
| Status code | Description | Response headers |
309+
|-------------|-------------|------------------|
310+
**200** | Success response | - |
311+
**401** | Unauthenticated response | - |
312+
**500** | Error response | - |
313+
314+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
315+
161316
# **list_profiles_v1**
162317
> List[ReachV1ProfilesProfileResource] list_profiles_v1()
163318

0 commit comments

Comments
 (0)