hostinger-api-sdk 0.0.11 → 0.0.13

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.
Files changed (132) hide show
  1. package/README.md +2 -2
  2. package/api.ts +2333 -1289
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +1701 -1059
  7. package/dist/api.js +1739 -976
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +1701 -1059
  15. package/dist/esm/api.js +1728 -969
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/BillingCatalogApi.md +64 -0
  27. package/docs/BillingOrdersApi.md +63 -0
  28. package/docs/BillingPaymentMethodsApi.md +162 -0
  29. package/docs/BillingSubscriptionsApi.md +113 -0
  30. package/docs/BillingV1CatalogCatalogItemPriceResource.md +32 -0
  31. package/docs/BillingV1CatalogCatalogItemResource.md +28 -0
  32. package/docs/BillingV1OrderOrderBillingAddressResource.md +40 -0
  33. package/docs/BillingV1OrderOrderResource.md +36 -0
  34. package/docs/BillingV1OrderStoreRequest.md +24 -0
  35. package/docs/BillingV1OrderStoreRequestItemsInner.md +22 -0
  36. package/docs/BillingV1OrderVirtualMachineOrderResource.md +22 -0
  37. package/docs/BillingV1PaymentMethodPaymentMethodResource.md +36 -0
  38. package/docs/BillingV1SubscriptionCancelRequest.md +22 -0
  39. package/docs/BillingV1SubscriptionSubscriptionResource.md +42 -0
  40. package/docs/CommonSchemaPaginationMetaSchema.md +24 -0
  41. package/docs/CommonSuccessEmptyResource.md +20 -0
  42. package/docs/DNSSnapshotApi.md +175 -0
  43. package/docs/DNSV1SnapshotSnapshotResource.md +24 -0
  44. package/docs/DNSV1SnapshotSnapshotWithContentResource.md +26 -0
  45. package/docs/DNSV1ZoneDestroyRequest.md +20 -0
  46. package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +22 -0
  47. package/docs/DNSV1ZoneNameRecordResource.md +22 -0
  48. package/docs/DNSV1ZoneRecordResource.md +26 -0
  49. package/docs/DNSV1ZoneResetRequest.md +24 -0
  50. package/docs/DNSV1ZoneUpdateRequest.md +22 -0
  51. package/docs/DNSV1ZoneUpdateRequestZoneInner.md +26 -0
  52. package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +20 -0
  53. package/docs/DNSZoneApi.md +297 -0
  54. package/docs/DomainsAvailabilityApi.md +63 -0
  55. package/docs/DomainsForwardingApi.md +171 -0
  56. package/docs/DomainsPortfolioApi.md +439 -0
  57. package/docs/DomainsV1AvailabilityAvailabilityRequest.md +24 -0
  58. package/docs/DomainsV1AvailabilityAvailabilityResource.md +26 -0
  59. package/docs/DomainsV1DomainDomainExtendedResource.md +48 -0
  60. package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +27 -0
  61. package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +23 -0
  62. package/docs/DomainsV1DomainDomainResource.md +30 -0
  63. package/docs/DomainsV1ForwardingForwardingResource.md +28 -0
  64. package/docs/DomainsV1ForwardingStoreRequest.md +24 -0
  65. package/docs/DomainsV1PortfolioPurchaseRequest.md +30 -0
  66. package/docs/DomainsV1PortfolioPurchaseRequestDomainContacts.md +27 -0
  67. package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +26 -0
  68. package/docs/DomainsV1WHOISProfileResource.md +34 -0
  69. package/docs/DomainsV1WHOISStoreRequest.md +28 -0
  70. package/docs/DomainsWHOISApi.md +279 -0
  71. package/docs/InlineObject.md +22 -0
  72. package/docs/InlineObject1.md +22 -0
  73. package/docs/InlineObject2.md +24 -0
  74. package/docs/InlineObject2Errors.md +23 -0
  75. package/docs/VPSActionsApi.md +121 -0
  76. package/docs/VPSBackupsApi.md +121 -0
  77. package/docs/VPSDataCentersApi.md +54 -0
  78. package/docs/VPSDockerManagerApi.md +585 -0
  79. package/docs/VPSFirewallApi.md +577 -0
  80. package/docs/VPSGetActionsV1200Response.md +22 -0
  81. package/docs/VPSGetBackupsV1200Response.md +22 -0
  82. package/docs/VPSGetFirewallListV1200Response.md +22 -0
  83. package/docs/VPSGetPostInstallScriptsV1200Response.md +22 -0
  84. package/docs/VPSGetPublicKeysV1200Response.md +22 -0
  85. package/docs/VPSMalwareScannerApi.md +172 -0
  86. package/docs/VPSOSTemplatesApi.md +108 -0
  87. package/docs/VPSPTRRecordsApi.md +126 -0
  88. package/docs/VPSPostInstallScriptsApi.md +284 -0
  89. package/docs/VPSPublicKeysApi.md +230 -0
  90. package/docs/VPSRecoveryApi.md +120 -0
  91. package/docs/VPSSnapshotsApi.md +223 -0
  92. package/docs/VPSV1ActionActionResource.md +28 -0
  93. package/docs/VPSV1BackupBackupResource.md +24 -0
  94. package/docs/VPSV1DataCenterDataCenterResource.md +28 -0
  95. package/docs/VPSV1DockerManagerContainerPortResource.md +36 -0
  96. package/docs/VPSV1DockerManagerContainerResource.md +34 -0
  97. package/docs/VPSV1DockerManagerContainerStatsResource.md +30 -0
  98. package/docs/VPSV1DockerManagerContentResource.md +20 -0
  99. package/docs/VPSV1DockerManagerLogEntryResource.md +22 -0
  100. package/docs/VPSV1DockerManagerLogsResource.md +22 -0
  101. package/docs/VPSV1DockerManagerProjectResource.md +26 -0
  102. package/docs/VPSV1FirewallFirewallResource.md +30 -0
  103. package/docs/VPSV1FirewallFirewallRuleResource.md +30 -0
  104. package/docs/VPSV1FirewallRulesStoreRequest.md +26 -0
  105. package/docs/VPSV1FirewallStoreRequest.md +20 -0
  106. package/docs/VPSV1IPAddressIPAddressResource.md +24 -0
  107. package/docs/VPSV1MalwareMetricsResource.md +30 -0
  108. package/docs/VPSV1MetricsMetricsCollection.md +30 -0
  109. package/docs/VPSV1MetricsMetricsResource.md +22 -0
  110. package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +28 -0
  111. package/docs/VPSV1PostInstallScriptStoreRequest.md +22 -0
  112. package/docs/VPSV1PublicKeyAttachRequest.md +20 -0
  113. package/docs/VPSV1PublicKeyPublicKeyResource.md +24 -0
  114. package/docs/VPSV1PublicKeyStoreRequest.md +22 -0
  115. package/docs/VPSV1SnapshotSnapshotResource.md +24 -0
  116. package/docs/VPSV1TemplateTemplateResource.md +26 -0
  117. package/docs/VPSV1VirtualMachineDockerManagerUpRequest.md +22 -0
  118. package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +20 -0
  119. package/docs/VPSV1VirtualMachineMetricGetRequest.md +22 -0
  120. package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +24 -0
  121. package/docs/VPSV1VirtualMachinePTRStoreRequest.md +20 -0
  122. package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +20 -0
  123. package/docs/VPSV1VirtualMachinePurchaseRequest.md +26 -0
  124. package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +20 -0
  125. package/docs/VPSV1VirtualMachineRecreateRequest.md +26 -0
  126. package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +20 -0
  127. package/docs/VPSV1VirtualMachineSetupRequest.md +38 -0
  128. package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +23 -0
  129. package/docs/VPSV1VirtualMachineVirtualMachineResource.md +52 -0
  130. package/docs/VPSVirtualMachineApi.md +852 -0
  131. package/index.ts +1 -1
  132. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ # BillingV1OrderStoreRequestItemsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **item_id** | **string** | Price Item ID | [default to undefined]
9
+ **quantity** | **number** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BillingV1OrderStoreRequestItemsInner } from 'hostinger-api-sdk';
15
+
16
+ const instance: BillingV1OrderStoreRequestItemsInner = {
17
+ item_id,
18
+ quantity,
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,22 @@
1
+ # BillingV1OrderVirtualMachineOrderResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **order** | [**BillingV1OrderOrderResource**](BillingV1OrderOrderResource.md) | | [optional] [default to undefined]
9
+ **virtual_machine** | [**VPSV1VirtualMachineVirtualMachineResource**](VPSV1VirtualMachineVirtualMachineResource.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BillingV1OrderVirtualMachineOrderResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: BillingV1OrderVirtualMachineOrderResource = {
17
+ order,
18
+ virtual_machine,
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,36 @@
1
+ # BillingV1PaymentMethodPaymentMethodResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Payment method ID | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **identifier** | **string** | | [optional] [default to undefined]
11
+ **payment_method** | **string** | | [optional] [default to undefined]
12
+ **is_default** | **boolean** | | [optional] [default to undefined]
13
+ **is_expired** | **boolean** | | [optional] [default to undefined]
14
+ **is_suspended** | **boolean** | | [optional] [default to undefined]
15
+ **created_at** | **string** | | [optional] [default to undefined]
16
+ **expires_at** | **string** | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { BillingV1PaymentMethodPaymentMethodResource } from 'hostinger-api-sdk';
22
+
23
+ const instance: BillingV1PaymentMethodPaymentMethodResource = {
24
+ id,
25
+ name,
26
+ identifier,
27
+ payment_method,
28
+ is_default,
29
+ is_expired,
30
+ is_suspended,
31
+ created_at,
32
+ expires_at,
33
+ };
34
+ ```
35
+
36
+ [[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
+ # BillingV1SubscriptionCancelRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **reason_code** | **string** | Cancellation reason code | [optional] [default to undefined]
9
+ **cancel_option** | **string** | Cancellation option | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BillingV1SubscriptionCancelRequest } from 'hostinger-api-sdk';
15
+
16
+ const instance: BillingV1SubscriptionCancelRequest = {
17
+ reason_code,
18
+ cancel_option,
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,42 @@
1
+ # BillingV1SubscriptionSubscriptionResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Subscription ID | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+ **billing_period** | **number** | | [optional] [default to undefined]
12
+ **billing_period_unit** | **string** | | [optional] [default to undefined]
13
+ **currency_code** | **string** | | [optional] [default to undefined]
14
+ **total_price** | **number** | Total price in cents | [optional] [default to undefined]
15
+ **renewal_price** | **number** | Renewal price in cents | [optional] [default to undefined]
16
+ **is_auto_renewed** | **boolean** | | [optional] [default to undefined]
17
+ **created_at** | **string** | | [optional] [default to undefined]
18
+ **expires_at** | **string** | | [optional] [default to undefined]
19
+ **next_billing_at** | **string** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { BillingV1SubscriptionSubscriptionResource } from 'hostinger-api-sdk';
25
+
26
+ const instance: BillingV1SubscriptionSubscriptionResource = {
27
+ id,
28
+ name,
29
+ status,
30
+ billing_period,
31
+ billing_period_unit,
32
+ currency_code,
33
+ total_price,
34
+ renewal_price,
35
+ is_auto_renewed,
36
+ created_at,
37
+ expires_at,
38
+ next_billing_at,
39
+ };
40
+ ```
41
+
42
+ [[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
+ # CommonSchemaPaginationMetaSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **current_page** | **number** | | [optional] [default to undefined]
9
+ **per_page** | **number** | | [optional] [default to undefined]
10
+ **total** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CommonSchemaPaginationMetaSchema } from 'hostinger-api-sdk';
16
+
17
+ const instance: CommonSchemaPaginationMetaSchema = {
18
+ current_page,
19
+ per_page,
20
+ total,
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)
@@ -0,0 +1,20 @@
1
+ # CommonSuccessEmptyResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { CommonSuccessEmptyResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: CommonSuccessEmptyResource = {
16
+ message,
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,175 @@
1
+ # DNSSnapshotApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getDNSSnapshotListV1**](#getdnssnapshotlistv1) | **GET** /api/dns/v1/snapshots/{domain} | Get DNS snapshot list|
8
+ |[**getDNSSnapshotV1**](#getdnssnapshotv1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get DNS snapshot|
9
+ |[**restoreDNSSnapshotV1**](#restorednssnapshotv1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore DNS snapshot|
10
+
11
+ # **getDNSSnapshotListV1**
12
+ > Array<DNSV1SnapshotSnapshotResource> getDNSSnapshotListV1()
13
+
14
+ Retrieve DNS snapshots for a domain. Use this endpoint to view available DNS backup points for restoration.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ DNSSnapshotApi,
21
+ Configuration
22
+ } from 'hostinger-api-sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new DNSSnapshotApi(configuration);
26
+
27
+ let domain: string; //Domain name (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.getDNSSnapshotListV1(
30
+ domain
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **domain** | [**string**] | Domain name | defaults to undefined|
39
+
40
+
41
+ ### Return type
42
+
43
+ **Array<DNSV1SnapshotSnapshotResource>**
44
+
45
+ ### Authorization
46
+
47
+ [apiToken](../README.md#apiToken)
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: Not defined
52
+ - **Accept**: application/json
53
+
54
+
55
+ ### HTTP response details
56
+ | Status code | Description | Response headers |
57
+ |-------------|-------------|------------------|
58
+ |**200** | Success response | - |
59
+ |**401** | Unauthenticated response | - |
60
+ |**500** | Error response | - |
61
+
62
+ [[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)
63
+
64
+ # **getDNSSnapshotV1**
65
+ > DNSV1SnapshotSnapshotWithContentResource getDNSSnapshotV1()
66
+
67
+ Retrieve particular DNS snapshot with contents of DNS zone records. Use this endpoint to view historical DNS configurations for domains.
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ DNSSnapshotApi,
74
+ Configuration
75
+ } from 'hostinger-api-sdk';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new DNSSnapshotApi(configuration);
79
+
80
+ let domain: string; //Domain name (default to undefined)
81
+ let snapshotId: number; //Snapshot ID (default to undefined)
82
+
83
+ const { status, data } = await apiInstance.getDNSSnapshotV1(
84
+ domain,
85
+ snapshotId
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **domain** | [**string**] | Domain name | defaults to undefined|
94
+ | **snapshotId** | [**number**] | Snapshot ID | defaults to undefined|
95
+
96
+
97
+ ### Return type
98
+
99
+ **DNSV1SnapshotSnapshotWithContentResource**
100
+
101
+ ### Authorization
102
+
103
+ [apiToken](../README.md#apiToken)
104
+
105
+ ### HTTP request headers
106
+
107
+ - **Content-Type**: Not defined
108
+ - **Accept**: application/json
109
+
110
+
111
+ ### HTTP response details
112
+ | Status code | Description | Response headers |
113
+ |-------------|-------------|------------------|
114
+ |**200** | Success response | - |
115
+ |**401** | Unauthenticated response | - |
116
+ |**500** | Error response | - |
117
+
118
+ [[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)
119
+
120
+ # **restoreDNSSnapshotV1**
121
+ > CommonSuccessEmptyResource restoreDNSSnapshotV1()
122
+
123
+ Restore DNS zone to the selected snapshot. Use this endpoint to revert domain DNS to a previous configuration.
124
+
125
+ ### Example
126
+
127
+ ```typescript
128
+ import {
129
+ DNSSnapshotApi,
130
+ Configuration
131
+ } from 'hostinger-api-sdk';
132
+
133
+ const configuration = new Configuration();
134
+ const apiInstance = new DNSSnapshotApi(configuration);
135
+
136
+ let domain: string; //Domain name (default to undefined)
137
+ let snapshotId: number; //Snapshot ID (default to undefined)
138
+
139
+ const { status, data } = await apiInstance.restoreDNSSnapshotV1(
140
+ domain,
141
+ snapshotId
142
+ );
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ |Name | Type | Description | Notes|
148
+ |------------- | ------------- | ------------- | -------------|
149
+ | **domain** | [**string**] | Domain name | defaults to undefined|
150
+ | **snapshotId** | [**number**] | Snapshot ID | defaults to undefined|
151
+
152
+
153
+ ### Return type
154
+
155
+ **CommonSuccessEmptyResource**
156
+
157
+ ### Authorization
158
+
159
+ [apiToken](../README.md#apiToken)
160
+
161
+ ### HTTP request headers
162
+
163
+ - **Content-Type**: Not defined
164
+ - **Accept**: application/json
165
+
166
+
167
+ ### HTTP response details
168
+ | Status code | Description | Response headers |
169
+ |-------------|-------------|------------------|
170
+ |**200** | Success response | - |
171
+ |**401** | Unauthenticated response | - |
172
+ |**500** | Error response | - |
173
+
174
+ [[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)
175
+
@@ -0,0 +1,24 @@
1
+ # DNSV1SnapshotSnapshotResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Snapshot ID | [optional] [default to undefined]
9
+ **reason** | **string** | Reason of the update | [optional] [default to undefined]
10
+ **created_at** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DNSV1SnapshotSnapshotResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: DNSV1SnapshotSnapshotResource = {
18
+ id,
19
+ reason,
20
+ created_at,
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)
@@ -0,0 +1,26 @@
1
+ # DNSV1SnapshotSnapshotWithContentResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Snapshot ID | [optional] [default to undefined]
9
+ **reason** | **string** | Reason of the update | [optional] [default to undefined]
10
+ **snapshot** | [**Array&lt;DNSV1ZoneRecordResource&gt;**](DNSV1ZoneRecordResource.md) | Array of [&#x60;DNS.V1.Zone.RecordResource&#x60;](#model/dnsv1zonerecordresource) | [optional] [default to undefined]
11
+ **created_at** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DNSV1SnapshotSnapshotWithContentResource } from 'hostinger-api-sdk';
17
+
18
+ const instance: DNSV1SnapshotSnapshotWithContentResource = {
19
+ id,
20
+ reason,
21
+ snapshot,
22
+ created_at,
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,20 @@
1
+ # DNSV1ZoneDestroyRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **filters** | [**Array&lt;DNSV1ZoneDestroyRequestFiltersInner&gt;**](DNSV1ZoneDestroyRequestFiltersInner.md) | Filter records for deletion | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DNSV1ZoneDestroyRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: DNSV1ZoneDestroyRequest = {
16
+ filters,
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,22 @@
1
+ # DNSV1ZoneDestroyRequestFiltersInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Name of the record | [default to undefined]
9
+ **type** | **string** | Type of the record | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DNSV1ZoneDestroyRequestFiltersInner } from 'hostinger-api-sdk';
15
+
16
+ const instance: DNSV1ZoneDestroyRequestFiltersInner = {
17
+ name,
18
+ 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,22 @@
1
+ # DNSV1ZoneNameRecordResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **content** | **string** | Content of the name record | [optional] [default to undefined]
9
+ **is_disabled** | **boolean** | Flag to mark name record as disabled | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DNSV1ZoneNameRecordResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: DNSV1ZoneNameRecordResource = {
17
+ content,
18
+ is_disabled,
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,26 @@
1
+ # DNSV1ZoneRecordResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Name of the record (use &#x60;@&#x60; for wildcard name) | [optional] [default to undefined]
9
+ **records** | [**Array&lt;DNSV1ZoneNameRecordResource&gt;**](DNSV1ZoneNameRecordResource.md) | Array of [&#x60;DNS.V1.Zone.NameRecordResource&#x60;](#model/dnsv1zonenamerecordresource) | [optional] [default to undefined]
10
+ **ttl** | **number** | TTL (Time-To-Live) of the record | [optional] [default to undefined]
11
+ **type** | **string** | Type of the record | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DNSV1ZoneRecordResource } from 'hostinger-api-sdk';
17
+
18
+ const instance: DNSV1ZoneRecordResource = {
19
+ name,
20
+ records,
21
+ ttl,
22
+ type,
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,24 @@
1
+ # DNSV1ZoneResetRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sync** | **boolean** | Determines if operation should be run synchronously | [optional] [default to true]
9
+ **reset_email_records** | **boolean** | Determines if email records should be reset | [optional] [default to true]
10
+ **whitelisted_record_types** | **Array&lt;string&gt;** | Specifies which record types to not reset | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DNSV1ZoneResetRequest } from 'hostinger-api-sdk';
16
+
17
+ const instance: DNSV1ZoneResetRequest = {
18
+ sync,
19
+ reset_email_records,
20
+ whitelisted_record_types,
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)
@@ -0,0 +1,22 @@
1
+ # DNSV1ZoneUpdateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **overwrite** | **boolean** | If &#x60;true&#x60;, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records\&#39; ttl\&#39;s are updated and new records are appended. If no matching RRs are found, they are created. | [optional] [default to true]
9
+ **zone** | [**Array&lt;DNSV1ZoneUpdateRequestZoneInner&gt;**](DNSV1ZoneUpdateRequestZoneInner.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DNSV1ZoneUpdateRequest } from 'hostinger-api-sdk';
15
+
16
+ const instance: DNSV1ZoneUpdateRequest = {
17
+ overwrite,
18
+ zone,
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,26 @@
1
+ # DNSV1ZoneUpdateRequestZoneInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Name of the record (use &#x60;@&#x60; for wildcard name) | [default to undefined]
9
+ **records** | [**Array&lt;DNSV1ZoneUpdateRequestZoneInnerRecordsInner&gt;**](DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md) | Records assigned to the name | [default to undefined]
10
+ **ttl** | **number** | TTL (Time-To-Live) of the record | [optional] [default to undefined]
11
+ **type** | **string** | Type of the record | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DNSV1ZoneUpdateRequestZoneInner } from 'hostinger-api-sdk';
17
+
18
+ const instance: DNSV1ZoneUpdateRequestZoneInner = {
19
+ name,
20
+ records,
21
+ ttl,
22
+ type,
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,20 @@
1
+ # DNSV1ZoneUpdateRequestZoneInnerRecordsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **content** | **string** | Content of the name record | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DNSV1ZoneUpdateRequestZoneInnerRecordsInner } from 'hostinger-api-sdk';
14
+
15
+ const instance: DNSV1ZoneUpdateRequestZoneInnerRecordsInner = {
16
+ content,
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)