hostinger-api-sdk 0.0.10 → 0.0.12

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 (119) hide show
  1. package/README.md +2 -2
  2. package/api.ts +386 -148
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +319 -143
  7. package/dist/api.js +139 -41
  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 +319 -143
  15. package/dist/esm/api.js +136 -38
  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/index.ts +1 -1
  27. package/package.json +1 -1
  28. package/docs/BillingCatalogApi.md +0 -54
  29. package/docs/BillingOrdersApi.md +0 -63
  30. package/docs/BillingPaymentMethodsApi.md +0 -162
  31. package/docs/BillingSubscriptionsApi.md +0 -113
  32. package/docs/BillingV1CatalogCatalogItemPriceResource.md +0 -32
  33. package/docs/BillingV1CatalogCatalogItemResource.md +0 -26
  34. package/docs/BillingV1OrderOrderBillingAddressResource.md +0 -40
  35. package/docs/BillingV1OrderOrderResource.md +0 -36
  36. package/docs/BillingV1OrderStoreRequest.md +0 -24
  37. package/docs/BillingV1OrderStoreRequestItemsInner.md +0 -22
  38. package/docs/BillingV1PaymentMethodPaymentMethodResource.md +0 -36
  39. package/docs/BillingV1SubscriptionCancelRequest.md +0 -22
  40. package/docs/BillingV1SubscriptionSubscriptionResource.md +0 -42
  41. package/docs/CommonSchemaErrorResponseSchema.md +0 -22
  42. package/docs/CommonSchemaPaginationMetaSchema.md +0 -24
  43. package/docs/CommonSchemaUnauthorizedResponseSchema.md +0 -22
  44. package/docs/CommonSchemaUnprocessableContentResponseSchema.md +0 -24
  45. package/docs/CommonSchemaUnprocessableContentResponseSchemaErrors.md +0 -22
  46. package/docs/CommonSuccessEmptyResource.md +0 -20
  47. package/docs/DNSSnapshotApi.md +0 -175
  48. package/docs/DNSV1SnapshotSnapshotResource.md +0 -24
  49. package/docs/DNSV1SnapshotSnapshotWithContentResource.md +0 -26
  50. package/docs/DNSV1ZoneDestroyRequest.md +0 -20
  51. package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +0 -22
  52. package/docs/DNSV1ZoneNameRecordResource.md +0 -22
  53. package/docs/DNSV1ZoneRecordResource.md +0 -26
  54. package/docs/DNSV1ZoneResetRequest.md +0 -24
  55. package/docs/DNSV1ZoneUpdateRequest.md +0 -22
  56. package/docs/DNSV1ZoneUpdateRequestZoneInner.md +0 -26
  57. package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +0 -20
  58. package/docs/DNSZoneApi.md +0 -297
  59. package/docs/DomainsAvailabilityApi.md +0 -63
  60. package/docs/DomainsForwardingApi.md +0 -171
  61. package/docs/DomainsPortfolioApi.md +0 -439
  62. package/docs/DomainsV1AvailabilityAvailabilityRequest.md +0 -24
  63. package/docs/DomainsV1AvailabilityAvailabilityResource.md +0 -26
  64. package/docs/DomainsV1DomainDomainExtendedResource.md +0 -48
  65. package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +0 -27
  66. package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +0 -23
  67. package/docs/DomainsV1DomainDomainResource.md +0 -30
  68. package/docs/DomainsV1ForwardingForwardingResource.md +0 -28
  69. package/docs/DomainsV1ForwardingStoreRequest.md +0 -24
  70. package/docs/DomainsV1PortfolioPurchaseRequest.md +0 -30
  71. package/docs/DomainsV1PortfolioPurchaseRequestDomainContacts.md +0 -27
  72. package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +0 -26
  73. package/docs/DomainsV1WHOISProfileResource.md +0 -34
  74. package/docs/DomainsV1WHOISStoreRequest.md +0 -28
  75. package/docs/DomainsWHOISApi.md +0 -279
  76. package/docs/VPSActionsApi.md +0 -121
  77. package/docs/VPSBackupsApi.md +0 -178
  78. package/docs/VPSDataCentersApi.md +0 -54
  79. package/docs/VPSFirewallApi.md +0 -577
  80. package/docs/VPSGetActionListV1200Response.md +0 -22
  81. package/docs/VPSGetBackupListV1200Response.md +0 -22
  82. package/docs/VPSGetFirewallListV1200Response.md +0 -22
  83. package/docs/VPSGetPostInstallScriptListV1200Response.md +0 -22
  84. package/docs/VPSGetPublicKeyListV1200Response.md +0 -22
  85. package/docs/VPSMalwareScannerApi.md +0 -172
  86. package/docs/VPSOSTemplatesApi.md +0 -108
  87. package/docs/VPSPTRRecordsApi.md +0 -115
  88. package/docs/VPSPostInstallScriptsApi.md +0 -284
  89. package/docs/VPSPublicKeysApi.md +0 -230
  90. package/docs/VPSRecoveryApi.md +0 -120
  91. package/docs/VPSSnapshotsApi.md +0 -223
  92. package/docs/VPSV1ActionActionResource.md +0 -28
  93. package/docs/VPSV1BackupBackupResource.md +0 -24
  94. package/docs/VPSV1DataCenterDataCenterResource.md +0 -28
  95. package/docs/VPSV1FirewallFirewallResource.md +0 -30
  96. package/docs/VPSV1FirewallFirewallRuleResource.md +0 -30
  97. package/docs/VPSV1FirewallRulesStoreRequest.md +0 -26
  98. package/docs/VPSV1FirewallStoreRequest.md +0 -20
  99. package/docs/VPSV1IPAddressIPAddressResource.md +0 -24
  100. package/docs/VPSV1MalwareMetricsResource.md +0 -30
  101. package/docs/VPSV1MetricsMetricsCollection.md +0 -30
  102. package/docs/VPSV1MetricsMetricsResource.md +0 -22
  103. package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +0 -28
  104. package/docs/VPSV1PostInstallScriptStoreRequest.md +0 -22
  105. package/docs/VPSV1PublicKeyAttachRequest.md +0 -20
  106. package/docs/VPSV1PublicKeyPublicKeyResource.md +0 -24
  107. package/docs/VPSV1PublicKeyStoreRequest.md +0 -22
  108. package/docs/VPSV1SnapshotSnapshotResource.md +0 -24
  109. package/docs/VPSV1TemplateTemplateResource.md +0 -26
  110. package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +0 -20
  111. package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +0 -22
  112. package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +0 -20
  113. package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +0 -20
  114. package/docs/VPSV1VirtualMachineRecreateRequest.md +0 -24
  115. package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +0 -20
  116. package/docs/VPSV1VirtualMachineSetupRequest.md +0 -38
  117. package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +0 -22
  118. package/docs/VPSV1VirtualMachineVirtualMachineResource.md +0 -52
  119. package/docs/VPSVirtualMachineApi.md +0 -796
@@ -1,22 +0,0 @@
1
- # CommonSchemaErrorResponseSchema
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
- **correlation_id** | **string** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { CommonSchemaErrorResponseSchema } from 'hostinger-api-sdk';
15
-
16
- const instance: CommonSchemaErrorResponseSchema = {
17
- message,
18
- correlation_id,
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)
@@ -1,24 +0,0 @@
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)
@@ -1,22 +0,0 @@
1
- # CommonSchemaUnauthorizedResponseSchema
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
- **correlation_id** | **string** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { CommonSchemaUnauthorizedResponseSchema } from 'hostinger-api-sdk';
15
-
16
- const instance: CommonSchemaUnauthorizedResponseSchema = {
17
- message,
18
- correlation_id,
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)
@@ -1,24 +0,0 @@
1
- # CommonSchemaUnprocessableContentResponseSchema
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Validation error message | [optional] [default to undefined]
9
- **errors** | [**CommonSchemaUnprocessableContentResponseSchemaErrors**](CommonSchemaUnprocessableContentResponseSchemaErrors.md) | | [optional] [default to undefined]
10
- **correlation_id** | **string** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { CommonSchemaUnprocessableContentResponseSchema } from 'hostinger-api-sdk';
16
-
17
- const instance: CommonSchemaUnprocessableContentResponseSchema = {
18
- message,
19
- errors,
20
- correlation_id,
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)
@@ -1,22 +0,0 @@
1
- # CommonSchemaUnprocessableContentResponseSchemaErrors
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **field_1** | **Array<any>** | | [optional] [default to undefined]
9
- **field_2** | **Array<any>** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { CommonSchemaUnprocessableContentResponseSchemaErrors } from 'hostinger-api-sdk';
15
-
16
- const instance: CommonSchemaUnprocessableContentResponseSchemaErrors = {
17
- field_1,
18
- field_2,
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)
@@ -1,20 +0,0 @@
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)
@@ -1,175 +0,0 @@
1
- # DNSSnapshotApi
2
-
3
- All URIs are relative to *https://developers.hostinger.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getSnapshotListV1**](#getsnapshotlistv1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list|
8
- |[**getSnapshotV1**](#getsnapshotv1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot|
9
- |[**restoreSnapshotV1**](#restoresnapshotv1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot|
10
-
11
- # **getSnapshotListV1**
12
- > Array<DNSV1SnapshotSnapshotResource> getSnapshotListV1()
13
-
14
- This endpoint retrieves list of DNS snapshots.
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.getSnapshotListV1(
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 | - |
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
- # **getSnapshotV1**
65
- > DNSV1SnapshotSnapshotWithContentResource getSnapshotV1()
66
-
67
- This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
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.getSnapshotV1(
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 | - |
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
- # **restoreSnapshotV1**
121
- > CommonSuccessEmptyResource restoreSnapshotV1()
122
-
123
- This endpoint restores DNS zone to the selected snapshot.
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.restoreSnapshotV1(
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 | - |
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
-
@@ -1,24 +0,0 @@
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)
@@ -1,26 +0,0 @@
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)
@@ -1,20 +0,0 @@
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)
@@ -1,22 +0,0 @@
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)
@@ -1,22 +0,0 @@
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)
@@ -1,26 +0,0 @@
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)
@@ -1,24 +0,0 @@
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)
@@ -1,22 +0,0 @@
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)
@@ -1,26 +0,0 @@
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 | [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 | [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)
@@ -1,20 +0,0 @@
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)