@pidginhost/sdk 0.2.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.
Files changed (248) hide show
  1. package/.openapi-generator/FILES +223 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +727 -0
  5. package/api.ts +33802 -0
  6. package/base.ts +62 -0
  7. package/common.ts +128 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +15244 -0
  10. package/dist/api.js +30223 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +46 -0
  13. package/dist/common.d.ts +35 -0
  14. package/dist/common.js +140 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +44 -0
  17. package/dist/esm/api.d.ts +15244 -0
  18. package/dist/esm/api.js +30179 -0
  19. package/dist/esm/base.d.ts +42 -0
  20. package/dist/esm/base.js +41 -0
  21. package/dist/esm/common.d.ts +35 -0
  22. package/dist/esm/common.js +127 -0
  23. package/dist/esm/configuration.d.ts +98 -0
  24. package/dist/esm/configuration.js +40 -0
  25. package/dist/esm/index.d.ts +14 -0
  26. package/dist/esm/index.js +16 -0
  27. package/dist/esm/pidginhost.d.ts +8 -0
  28. package/dist/esm/pidginhost.js +13 -0
  29. package/dist/index.d.ts +14 -0
  30. package/dist/index.js +34 -0
  31. package/dist/pidginhost.d.ts +8 -0
  32. package/dist/pidginhost.js +17 -0
  33. package/docs/APITokenCreate.md +28 -0
  34. package/docs/APITokenList.md +32 -0
  35. package/docs/AccountApi.md +1999 -0
  36. package/docs/ActivateFreeDNS.md +24 -0
  37. package/docs/ActivateFreeDNSResponse.md +24 -0
  38. package/docs/ActivityLogEntry.md +22 -0
  39. package/docs/ActivityLogResponse.md +20 -0
  40. package/docs/AddServerResponse.md +20 -0
  41. package/docs/Address.md +34 -0
  42. package/docs/AttachIPv4.md +20 -0
  43. package/docs/AttachIPv6.md +20 -0
  44. package/docs/AttachVolume.md +20 -0
  45. package/docs/BillingApi.md +1885 -0
  46. package/docs/CancelServiceResponse.md +22 -0
  47. package/docs/ChangeBillingCycle.md +20 -0
  48. package/docs/ChangeBillingCycleResponse.md +22 -0
  49. package/docs/ChangeCompany.md +20 -0
  50. package/docs/ChangeCompanyResponse.md +22 -0
  51. package/docs/ChangePassword.md +20 -0
  52. package/docs/CheckAvailability.md +20 -0
  53. package/docs/CloudApi.md +8433 -0
  54. package/docs/ClusterAdd.md +32 -0
  55. package/docs/ClusterAddResponse.md +20 -0
  56. package/docs/ClusterDetail.md +48 -0
  57. package/docs/ClusterPackage.md +24 -0
  58. package/docs/ClusterType.md +26 -0
  59. package/docs/ClusterTypeEnum.md +11 -0
  60. package/docs/Company.md +36 -0
  61. package/docs/ConnectVMRequest.md +20 -0
  62. package/docs/ConnectVMResponse.md +22 -0
  63. package/docs/ConnectedVM.md +24 -0
  64. package/docs/ConnectedVMsResponse.md +20 -0
  65. package/docs/ConsoleToken.md +22 -0
  66. package/docs/ContactTypeEnum.md +15 -0
  67. package/docs/ContactsUpdate.md +22 -0
  68. package/docs/ContactsUpdateResponse.md +20 -0
  69. package/docs/CountryEnum.md +515 -0
  70. package/docs/DNSRecord.md +53 -0
  71. package/docs/DNSRecordCreate.md +53 -0
  72. package/docs/DNSRecordCreateTypeEnum.md +21 -0
  73. package/docs/DNSRecordMutateResponse.md +22 -0
  74. package/docs/DeactivateFreeDNS.md +22 -0
  75. package/docs/DeactivateFreeDNSResponse.md +20 -0
  76. package/docs/DedicatedApi.md +551 -0
  77. package/docs/DedicatedRDNS.md +22 -0
  78. package/docs/DedicatedServer.md +39 -0
  79. package/docs/DeleteRecord.md +20 -0
  80. package/docs/DeleteRecordResponse.md +22 -0
  81. package/docs/Department.md +22 -0
  82. package/docs/Deposit.md +32 -0
  83. package/docs/DepositCreate.md +20 -0
  84. package/docs/DepositStatusEnum.md +15 -0
  85. package/docs/DestroyProtection.md +20 -0
  86. package/docs/DetachIPv4.md +20 -0
  87. package/docs/DetachIPv4Response.md +20 -0
  88. package/docs/DetachIPv6.md +20 -0
  89. package/docs/DetachIPv6Response.md +20 -0
  90. package/docs/DetachVolume.md +20 -0
  91. package/docs/DisconnectVMRequest.md +20 -0
  92. package/docs/DisconnectVMResponse.md +22 -0
  93. package/docs/Domain.md +42 -0
  94. package/docs/DomainApi.md +2047 -0
  95. package/docs/DomainCancelResponse.md +22 -0
  96. package/docs/DomainCreate.md +24 -0
  97. package/docs/DomainRegistrant.md +44 -0
  98. package/docs/EmailHistory.md +28 -0
  99. package/docs/FeatureUpgradeRequest.md +22 -0
  100. package/docs/FeatureUpgradeResponse.md +22 -0
  101. package/docs/FeaturesEnum.md +17 -0
  102. package/docs/FirewallRule.md +42 -0
  103. package/docs/FirewallRuleDirectionEnum.md +11 -0
  104. package/docs/FirewallRulesSet.md +28 -0
  105. package/docs/FirewallRulesSetStatusEnum.md +13 -0
  106. package/docs/FreeDNSDomain.md +24 -0
  107. package/docs/FreednsApi.md +655 -0
  108. package/docs/FundsBalanceResponse.md +26 -0
  109. package/docs/FundsLog.md +30 -0
  110. package/docs/FwPolicyOutEnum.md +13 -0
  111. package/docs/HTTPRoute.md +45 -0
  112. package/docs/HostingApi.md +327 -0
  113. package/docs/HostingChangePasswordResponse.md +20 -0
  114. package/docs/HostingService.md +39 -0
  115. package/docs/InvoiceDetail.md +50 -0
  116. package/docs/InvoiceList.md +40 -0
  117. package/docs/KubeUpgradeResponse.md +20 -0
  118. package/docs/KubeVersionEnum.md +13 -0
  119. package/docs/KubernetesApi.md +6209 -0
  120. package/docs/LBFirewallRule.md +44 -0
  121. package/docs/LBFirewallRuleActionEnum.md +13 -0
  122. package/docs/LBFirewallRuleDirectionEnum.md +11 -0
  123. package/docs/LowBalanceSettings.md +24 -0
  124. package/docs/NameserversUpdate.md +20 -0
  125. package/docs/NameserversUpdateResponse.md +20 -0
  126. package/docs/NodeMetricsResponse.md +32 -0
  127. package/docs/NodeRRDResponse.md +22 -0
  128. package/docs/NotificationSettingsResponse.md +26 -0
  129. package/docs/OSImage.md +28 -0
  130. package/docs/OperationEnum.md +27 -0
  131. package/docs/PaginatedAPITokenListList.md +26 -0
  132. package/docs/PaginatedClusterDetailList.md +26 -0
  133. package/docs/PaginatedClusterTypeList.md +26 -0
  134. package/docs/PaginatedCompanyList.md +26 -0
  135. package/docs/PaginatedDedicatedServerList.md +26 -0
  136. package/docs/PaginatedDepositList.md +26 -0
  137. package/docs/PaginatedDomainList.md +26 -0
  138. package/docs/PaginatedDomainRegistrantList.md +26 -0
  139. package/docs/PaginatedEmailHistoryList.md +26 -0
  140. package/docs/PaginatedFundsLogList.md +26 -0
  141. package/docs/PaginatedHostingServiceList.md +26 -0
  142. package/docs/PaginatedInvoiceListList.md +26 -0
  143. package/docs/PaginatedLBFirewallRuleList.md +26 -0
  144. package/docs/PaginatedOSImageList.md +26 -0
  145. package/docs/PaginatedPrivateNetworkList.md +26 -0
  146. package/docs/PaginatedPublicIPv4List.md +26 -0
  147. package/docs/PaginatedPublicIPv6List.md +26 -0
  148. package/docs/PaginatedResourcePoolList.md +26 -0
  149. package/docs/PaginatedResourcePoolNodeList.md +26 -0
  150. package/docs/PaginatedSSHKeyList.md +26 -0
  151. package/docs/PaginatedServerList.md +26 -0
  152. package/docs/PaginatedServerProductList.md +26 -0
  153. package/docs/PaginatedServiceListList.md +26 -0
  154. package/docs/PaginatedSnapshotList.md +26 -0
  155. package/docs/PaginatedStorageProductList.md +26 -0
  156. package/docs/PaginatedSubscriptionList.md +26 -0
  157. package/docs/PaginatedTLDList.md +26 -0
  158. package/docs/PaginatedTicketListList.md +26 -0
  159. package/docs/PatchedClusterDetail.md +48 -0
  160. package/docs/PatchedCompany.md +36 -0
  161. package/docs/PatchedDomain.md +42 -0
  162. package/docs/PatchedDomainRegistrant.md +44 -0
  163. package/docs/PatchedFirewallRule.md +42 -0
  164. package/docs/PatchedFirewallRulesSet.md +28 -0
  165. package/docs/PatchedHTTPRoute.md +45 -0
  166. package/docs/PatchedLBFirewallRule.md +44 -0
  167. package/docs/PatchedPrivateNetwork.md +30 -0
  168. package/docs/PatchedProfile.md +26 -0
  169. package/docs/PatchedResourcePool.md +28 -0
  170. package/docs/PatchedSSHKey.md +26 -0
  171. package/docs/PatchedTCPRoute.md +41 -0
  172. package/docs/PatchedUDPRoute.md +41 -0
  173. package/docs/PatchedVolume.md +32 -0
  174. package/docs/PayWithFundsResponse.md +22 -0
  175. package/docs/PowerAction.md +20 -0
  176. package/docs/PowerActionActionEnum.md +15 -0
  177. package/docs/PowerActionResponse.md +20 -0
  178. package/docs/PowerManagement.md +20 -0
  179. package/docs/PowerManagementRequest.md +20 -0
  180. package/docs/PowerManagementRequestActionEnum.md +15 -0
  181. package/docs/Priority3cdEnum.md +13 -0
  182. package/docs/PrivateNetwork.md +30 -0
  183. package/docs/PrivateNetworkAddHost.md +22 -0
  184. package/docs/PrivateNetworkRemoveHost.md +20 -0
  185. package/docs/Profile.md +26 -0
  186. package/docs/PublicIPv4.md +32 -0
  187. package/docs/PublicIPv6.md +32 -0
  188. package/docs/PublicInterface.md +30 -0
  189. package/docs/RDNSUpdateResponse.md +20 -0
  190. package/docs/Reinstall.md +20 -0
  191. package/docs/ReinstallResponse.md +20 -0
  192. package/docs/RemoveServerResponse.md +20 -0
  193. package/docs/RenewDomain.md +20 -0
  194. package/docs/ResourcePool.md +28 -0
  195. package/docs/ResourcePoolAdd.md +22 -0
  196. package/docs/ResourcePoolAddResponse.md +20 -0
  197. package/docs/ResourcePoolNode.md +24 -0
  198. package/docs/RetryProvision.md +20 -0
  199. package/docs/ReverseDNS.md +20 -0
  200. package/docs/SSHKey.md +26 -0
  201. package/docs/SchemaApi.md +117 -0
  202. package/docs/ScopeEnum.md +11 -0
  203. package/docs/Server.md +42 -0
  204. package/docs/ServerAdd.md +58 -0
  205. package/docs/ServerAddResponse.md +20 -0
  206. package/docs/ServerProduct.md +24 -0
  207. package/docs/ServerProductUpgrade.md +20 -0
  208. package/docs/ServerUpgradeResponse.md +20 -0
  209. package/docs/ServerUsageResponse.md +28 -0
  210. package/docs/Service.md +40 -0
  211. package/docs/ServiceList.md +36 -0
  212. package/docs/Snapshot.md +30 -0
  213. package/docs/SnapshotCreate.md +24 -0
  214. package/docs/SnapshotCreateQueued.md +20 -0
  215. package/docs/SnapshotDeleteQueued.md +20 -0
  216. package/docs/SnapshotRollbackQueued.md +20 -0
  217. package/docs/SourceEnum.md +11 -0
  218. package/docs/Status03cEnum.md +21 -0
  219. package/docs/Status63aEnum.md +23 -0
  220. package/docs/StatusA57Enum.md +31 -0
  221. package/docs/StatusEf2Enum.md +15 -0
  222. package/docs/StorageProduct.md +34 -0
  223. package/docs/Subscription.md +34 -0
  224. package/docs/SubscriptionStatusEnum.md +15 -0
  225. package/docs/SupportApi.md +841 -0
  226. package/docs/TCPRoute.md +41 -0
  227. package/docs/TLD.md +38 -0
  228. package/docs/TalosUpgradeResponse.md +20 -0
  229. package/docs/ThresholdTypeEnum.md +13 -0
  230. package/docs/TicketCloseResponse.md +22 -0
  231. package/docs/TicketCreate.md +30 -0
  232. package/docs/TicketCreatePriorityEnum.md +13 -0
  233. package/docs/TicketDetail.md +34 -0
  234. package/docs/TicketList.md +32 -0
  235. package/docs/TicketReopenResponse.md +22 -0
  236. package/docs/TicketReply.md +22 -0
  237. package/docs/TicketReplyResponse.md +20 -0
  238. package/docs/ToggleAutoPaymentResponse.md +22 -0
  239. package/docs/TransferRoDomain.md +22 -0
  240. package/docs/Type2faEnum.md +11 -0
  241. package/docs/UDPRoute.md +41 -0
  242. package/docs/Volume.md +32 -0
  243. package/git_push.sh +57 -0
  244. package/index.ts +19 -0
  245. package/package.json +33 -0
  246. package/pidginhost.ts +20 -0
  247. package/tsconfig.esm.json +7 -0
  248. package/tsconfig.json +18 -0
@@ -0,0 +1,551 @@
1
+ # DedicatedApi
2
+
3
+ All URIs are relative to *https://www.pidginhost.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**dedicatedServersList**](#dedicatedserverslist) | **GET** /api/dedicated/servers/ | |
8
+ |[**dedicatedServersList2**](#dedicatedserverslist2) | **GET** /api/v1/dedicated/servers/ | |
9
+ |[**dedicatedServersPowerCreate**](#dedicatedserverspowercreate) | **POST** /api/dedicated/servers/{id}/power/ | |
10
+ |[**dedicatedServersPowerCreate2**](#dedicatedserverspowercreate2) | **POST** /api/v1/dedicated/servers/{id}/power/ | |
11
+ |[**dedicatedServersRdnsCreate**](#dedicatedserversrdnscreate) | **POST** /api/dedicated/servers/{id}/rdns/ | |
12
+ |[**dedicatedServersRdnsCreate2**](#dedicatedserversrdnscreate2) | **POST** /api/v1/dedicated/servers/{id}/rdns/ | |
13
+ |[**dedicatedServersReinstallCreate**](#dedicatedserversreinstallcreate) | **POST** /api/dedicated/servers/{id}/reinstall/ | |
14
+ |[**dedicatedServersReinstallCreate2**](#dedicatedserversreinstallcreate2) | **POST** /api/v1/dedicated/servers/{id}/reinstall/ | |
15
+ |[**dedicatedServersRetrieve**](#dedicatedserversretrieve) | **GET** /api/dedicated/servers/{id}/ | |
16
+ |[**dedicatedServersRetrieve2**](#dedicatedserversretrieve2) | **GET** /api/v1/dedicated/servers/{id}/ | |
17
+
18
+ # **dedicatedServersList**
19
+ > PaginatedDedicatedServerList dedicatedServersList()
20
+
21
+ List and manage dedicated server services.
22
+
23
+ ### Example
24
+
25
+ ```typescript
26
+ import {
27
+ DedicatedApi,
28
+ Configuration
29
+ } from '@pidginhost/sdk';
30
+
31
+ const configuration = new Configuration();
32
+ const apiInstance = new DedicatedApi(configuration);
33
+
34
+ let page: number; //A page number within the paginated result set. (optional) (default to undefined)
35
+
36
+ const { status, data } = await apiInstance.dedicatedServersList(
37
+ page
38
+ );
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ |Name | Type | Description | Notes|
44
+ |------------- | ------------- | ------------- | -------------|
45
+ | **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
46
+
47
+
48
+ ### Return type
49
+
50
+ **PaginatedDedicatedServerList**
51
+
52
+ ### Authorization
53
+
54
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: Not defined
59
+ - **Accept**: application/json
60
+
61
+
62
+ ### HTTP response details
63
+ | Status code | Description | Response headers |
64
+ |-------------|-------------|------------------|
65
+ |**200** | | - |
66
+
67
+ [[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)
68
+
69
+ # **dedicatedServersList2**
70
+ > PaginatedDedicatedServerList dedicatedServersList2()
71
+
72
+ List and manage dedicated server services.
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ DedicatedApi,
79
+ Configuration
80
+ } from '@pidginhost/sdk';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new DedicatedApi(configuration);
84
+
85
+ let page: number; //A page number within the paginated result set. (optional) (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.dedicatedServersList2(
88
+ page
89
+ );
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ |Name | Type | Description | Notes|
95
+ |------------- | ------------- | ------------- | -------------|
96
+ | **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
97
+
98
+
99
+ ### Return type
100
+
101
+ **PaginatedDedicatedServerList**
102
+
103
+ ### Authorization
104
+
105
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
106
+
107
+ ### HTTP request headers
108
+
109
+ - **Content-Type**: Not defined
110
+ - **Accept**: application/json
111
+
112
+
113
+ ### HTTP response details
114
+ | Status code | Description | Response headers |
115
+ |-------------|-------------|------------------|
116
+ |**200** | | - |
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
+ # **dedicatedServersPowerCreate**
121
+ > PowerActionResponse dedicatedServersPowerCreate(powerAction)
122
+
123
+ Execute a power management action (start, stop, restart, shutdown).
124
+
125
+ ### Example
126
+
127
+ ```typescript
128
+ import {
129
+ DedicatedApi,
130
+ Configuration,
131
+ PowerAction
132
+ } from '@pidginhost/sdk';
133
+
134
+ const configuration = new Configuration();
135
+ const apiInstance = new DedicatedApi(configuration);
136
+
137
+ let id: string; // (default to undefined)
138
+ let powerAction: PowerAction; //
139
+
140
+ const { status, data } = await apiInstance.dedicatedServersPowerCreate(
141
+ id,
142
+ powerAction
143
+ );
144
+ ```
145
+
146
+ ### Parameters
147
+
148
+ |Name | Type | Description | Notes|
149
+ |------------- | ------------- | ------------- | -------------|
150
+ | **powerAction** | **PowerAction**| | |
151
+ | **id** | [**string**] | | defaults to undefined|
152
+
153
+
154
+ ### Return type
155
+
156
+ **PowerActionResponse**
157
+
158
+ ### Authorization
159
+
160
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: application/json
165
+ - **Accept**: application/json
166
+
167
+
168
+ ### HTTP response details
169
+ | Status code | Description | Response headers |
170
+ |-------------|-------------|------------------|
171
+ |**200** | | - |
172
+
173
+ [[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)
174
+
175
+ # **dedicatedServersPowerCreate2**
176
+ > PowerActionResponse dedicatedServersPowerCreate2(powerAction)
177
+
178
+ Execute a power management action (start, stop, restart, shutdown).
179
+
180
+ ### Example
181
+
182
+ ```typescript
183
+ import {
184
+ DedicatedApi,
185
+ Configuration,
186
+ PowerAction
187
+ } from '@pidginhost/sdk';
188
+
189
+ const configuration = new Configuration();
190
+ const apiInstance = new DedicatedApi(configuration);
191
+
192
+ let id: string; // (default to undefined)
193
+ let powerAction: PowerAction; //
194
+
195
+ const { status, data } = await apiInstance.dedicatedServersPowerCreate2(
196
+ id,
197
+ powerAction
198
+ );
199
+ ```
200
+
201
+ ### Parameters
202
+
203
+ |Name | Type | Description | Notes|
204
+ |------------- | ------------- | ------------- | -------------|
205
+ | **powerAction** | **PowerAction**| | |
206
+ | **id** | [**string**] | | defaults to undefined|
207
+
208
+
209
+ ### Return type
210
+
211
+ **PowerActionResponse**
212
+
213
+ ### Authorization
214
+
215
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
216
+
217
+ ### HTTP request headers
218
+
219
+ - **Content-Type**: application/json
220
+ - **Accept**: application/json
221
+
222
+
223
+ ### HTTP response details
224
+ | Status code | Description | Response headers |
225
+ |-------------|-------------|------------------|
226
+ |**200** | | - |
227
+
228
+ [[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)
229
+
230
+ # **dedicatedServersRdnsCreate**
231
+ > RDNSUpdateResponse dedicatedServersRdnsCreate(dedicatedRDNS)
232
+
233
+ Update reverse DNS for a dedicated server IP.
234
+
235
+ ### Example
236
+
237
+ ```typescript
238
+ import {
239
+ DedicatedApi,
240
+ Configuration,
241
+ DedicatedRDNS
242
+ } from '@pidginhost/sdk';
243
+
244
+ const configuration = new Configuration();
245
+ const apiInstance = new DedicatedApi(configuration);
246
+
247
+ let id: string; // (default to undefined)
248
+ let dedicatedRDNS: DedicatedRDNS; //
249
+
250
+ const { status, data } = await apiInstance.dedicatedServersRdnsCreate(
251
+ id,
252
+ dedicatedRDNS
253
+ );
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ |Name | Type | Description | Notes|
259
+ |------------- | ------------- | ------------- | -------------|
260
+ | **dedicatedRDNS** | **DedicatedRDNS**| | |
261
+ | **id** | [**string**] | | defaults to undefined|
262
+
263
+
264
+ ### Return type
265
+
266
+ **RDNSUpdateResponse**
267
+
268
+ ### Authorization
269
+
270
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
271
+
272
+ ### HTTP request headers
273
+
274
+ - **Content-Type**: application/json
275
+ - **Accept**: application/json
276
+
277
+
278
+ ### HTTP response details
279
+ | Status code | Description | Response headers |
280
+ |-------------|-------------|------------------|
281
+ |**200** | | - |
282
+
283
+ [[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)
284
+
285
+ # **dedicatedServersRdnsCreate2**
286
+ > RDNSUpdateResponse dedicatedServersRdnsCreate2(dedicatedRDNS)
287
+
288
+ Update reverse DNS for a dedicated server IP.
289
+
290
+ ### Example
291
+
292
+ ```typescript
293
+ import {
294
+ DedicatedApi,
295
+ Configuration,
296
+ DedicatedRDNS
297
+ } from '@pidginhost/sdk';
298
+
299
+ const configuration = new Configuration();
300
+ const apiInstance = new DedicatedApi(configuration);
301
+
302
+ let id: string; // (default to undefined)
303
+ let dedicatedRDNS: DedicatedRDNS; //
304
+
305
+ const { status, data } = await apiInstance.dedicatedServersRdnsCreate2(
306
+ id,
307
+ dedicatedRDNS
308
+ );
309
+ ```
310
+
311
+ ### Parameters
312
+
313
+ |Name | Type | Description | Notes|
314
+ |------------- | ------------- | ------------- | -------------|
315
+ | **dedicatedRDNS** | **DedicatedRDNS**| | |
316
+ | **id** | [**string**] | | defaults to undefined|
317
+
318
+
319
+ ### Return type
320
+
321
+ **RDNSUpdateResponse**
322
+
323
+ ### Authorization
324
+
325
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: application/json
330
+ - **Accept**: application/json
331
+
332
+
333
+ ### HTTP response details
334
+ | Status code | Description | Response headers |
335
+ |-------------|-------------|------------------|
336
+ |**200** | | - |
337
+
338
+ [[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)
339
+
340
+ # **dedicatedServersReinstallCreate**
341
+ > ReinstallResponse dedicatedServersReinstallCreate(reinstall)
342
+
343
+ Reinstall the dedicated server with a new operating system.
344
+
345
+ ### Example
346
+
347
+ ```typescript
348
+ import {
349
+ DedicatedApi,
350
+ Configuration,
351
+ Reinstall
352
+ } from '@pidginhost/sdk';
353
+
354
+ const configuration = new Configuration();
355
+ const apiInstance = new DedicatedApi(configuration);
356
+
357
+ let id: string; // (default to undefined)
358
+ let reinstall: Reinstall; //
359
+
360
+ const { status, data } = await apiInstance.dedicatedServersReinstallCreate(
361
+ id,
362
+ reinstall
363
+ );
364
+ ```
365
+
366
+ ### Parameters
367
+
368
+ |Name | Type | Description | Notes|
369
+ |------------- | ------------- | ------------- | -------------|
370
+ | **reinstall** | **Reinstall**| | |
371
+ | **id** | [**string**] | | defaults to undefined|
372
+
373
+
374
+ ### Return type
375
+
376
+ **ReinstallResponse**
377
+
378
+ ### Authorization
379
+
380
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
381
+
382
+ ### HTTP request headers
383
+
384
+ - **Content-Type**: application/json
385
+ - **Accept**: application/json
386
+
387
+
388
+ ### HTTP response details
389
+ | Status code | Description | Response headers |
390
+ |-------------|-------------|------------------|
391
+ |**200** | | - |
392
+
393
+ [[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)
394
+
395
+ # **dedicatedServersReinstallCreate2**
396
+ > ReinstallResponse dedicatedServersReinstallCreate2(reinstall)
397
+
398
+ Reinstall the dedicated server with a new operating system.
399
+
400
+ ### Example
401
+
402
+ ```typescript
403
+ import {
404
+ DedicatedApi,
405
+ Configuration,
406
+ Reinstall
407
+ } from '@pidginhost/sdk';
408
+
409
+ const configuration = new Configuration();
410
+ const apiInstance = new DedicatedApi(configuration);
411
+
412
+ let id: string; // (default to undefined)
413
+ let reinstall: Reinstall; //
414
+
415
+ const { status, data } = await apiInstance.dedicatedServersReinstallCreate2(
416
+ id,
417
+ reinstall
418
+ );
419
+ ```
420
+
421
+ ### Parameters
422
+
423
+ |Name | Type | Description | Notes|
424
+ |------------- | ------------- | ------------- | -------------|
425
+ | **reinstall** | **Reinstall**| | |
426
+ | **id** | [**string**] | | defaults to undefined|
427
+
428
+
429
+ ### Return type
430
+
431
+ **ReinstallResponse**
432
+
433
+ ### Authorization
434
+
435
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
436
+
437
+ ### HTTP request headers
438
+
439
+ - **Content-Type**: application/json
440
+ - **Accept**: application/json
441
+
442
+
443
+ ### HTTP response details
444
+ | Status code | Description | Response headers |
445
+ |-------------|-------------|------------------|
446
+ |**200** | | - |
447
+
448
+ [[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)
449
+
450
+ # **dedicatedServersRetrieve**
451
+ > DedicatedServer dedicatedServersRetrieve()
452
+
453
+ List and manage dedicated server services.
454
+
455
+ ### Example
456
+
457
+ ```typescript
458
+ import {
459
+ DedicatedApi,
460
+ Configuration
461
+ } from '@pidginhost/sdk';
462
+
463
+ const configuration = new Configuration();
464
+ const apiInstance = new DedicatedApi(configuration);
465
+
466
+ let id: string; // (default to undefined)
467
+
468
+ const { status, data } = await apiInstance.dedicatedServersRetrieve(
469
+ id
470
+ );
471
+ ```
472
+
473
+ ### Parameters
474
+
475
+ |Name | Type | Description | Notes|
476
+ |------------- | ------------- | ------------- | -------------|
477
+ | **id** | [**string**] | | defaults to undefined|
478
+
479
+
480
+ ### Return type
481
+
482
+ **DedicatedServer**
483
+
484
+ ### Authorization
485
+
486
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
487
+
488
+ ### HTTP request headers
489
+
490
+ - **Content-Type**: Not defined
491
+ - **Accept**: application/json
492
+
493
+
494
+ ### HTTP response details
495
+ | Status code | Description | Response headers |
496
+ |-------------|-------------|------------------|
497
+ |**200** | | - |
498
+
499
+ [[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)
500
+
501
+ # **dedicatedServersRetrieve2**
502
+ > DedicatedServer dedicatedServersRetrieve2()
503
+
504
+ List and manage dedicated server services.
505
+
506
+ ### Example
507
+
508
+ ```typescript
509
+ import {
510
+ DedicatedApi,
511
+ Configuration
512
+ } from '@pidginhost/sdk';
513
+
514
+ const configuration = new Configuration();
515
+ const apiInstance = new DedicatedApi(configuration);
516
+
517
+ let id: string; // (default to undefined)
518
+
519
+ const { status, data } = await apiInstance.dedicatedServersRetrieve2(
520
+ id
521
+ );
522
+ ```
523
+
524
+ ### Parameters
525
+
526
+ |Name | Type | Description | Notes|
527
+ |------------- | ------------- | ------------- | -------------|
528
+ | **id** | [**string**] | | defaults to undefined|
529
+
530
+
531
+ ### Return type
532
+
533
+ **DedicatedServer**
534
+
535
+ ### Authorization
536
+
537
+ [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
538
+
539
+ ### HTTP request headers
540
+
541
+ - **Content-Type**: Not defined
542
+ - **Accept**: application/json
543
+
544
+
545
+ ### HTTP response details
546
+ | Status code | Description | Response headers |
547
+ |-------------|-------------|------------------|
548
+ |**200** | | - |
549
+
550
+ [[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)
551
+
@@ -0,0 +1,22 @@
1
+ # DedicatedRDNS
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **ip_id** | **number** | | [default to undefined]
9
+ **reverse_dns** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DedicatedRDNS } from '@pidginhost/sdk';
15
+
16
+ const instance: DedicatedRDNS = {
17
+ ip_id,
18
+ reverse_dns,
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,39 @@
1
+ # DedicatedServer
2
+
3
+ Read-only serializer for dedicated server services.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | | [readonly] [default to undefined]
10
+ **hostname** | **string** | | [readonly] [default to undefined]
11
+ **status** | [**Status63aEnum**](Status63aEnum.md) | | [readonly] [default to undefined]
12
+ **price** | **string** | Euro without TVA | [readonly] [default to undefined]
13
+ **next_invoice** | **string** | | [readonly] [default to undefined]
14
+ **created** | **string** | | [readonly] [default to undefined]
15
+ **billing_cycle** | **string** | | [readonly] [default to undefined]
16
+ **server_status** | **string** | | [readonly] [default to undefined]
17
+ **ips** | **string** | | [readonly] [default to undefined]
18
+ **os_name** | **string** | | [readonly] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { DedicatedServer } from '@pidginhost/sdk';
24
+
25
+ const instance: DedicatedServer = {
26
+ id,
27
+ hostname,
28
+ status,
29
+ price,
30
+ next_invoice,
31
+ created,
32
+ billing_cycle,
33
+ server_status,
34
+ ips,
35
+ os_name,
36
+ };
37
+ ```
38
+
39
+ [[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
+ # DeleteRecord
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **line** | **number** | Line number of the DNS record to delete. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteRecord } from '@pidginhost/sdk';
14
+
15
+ const instance: DeleteRecord = {
16
+ line,
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
+ # DeleteRecordResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **line** | **number** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DeleteRecordResponse } from '@pidginhost/sdk';
15
+
16
+ const instance: DeleteRecordResponse = {
17
+ message,
18
+ line,
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
+ # Department
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [readonly] [default to undefined]
9
+ **title** | **string** | | [readonly] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { Department } from '@pidginhost/sdk';
15
+
16
+ const instance: Department = {
17
+ id,
18
+ title,
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,32 @@
1
+ # Deposit
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [readonly] [default to undefined]
9
+ **status** | [**DepositStatusEnum**](DepositStatusEnum.md) | | [readonly] [default to undefined]
10
+ **amount** | **string** | Fara TVA | [readonly] [default to undefined]
11
+ **vat_value** | **string** | TVA | [readonly] [default to undefined]
12
+ **vat_percentage** | **number** | | [readonly] [default to undefined]
13
+ **total** | **string** | Cu TVA | [readonly] [default to undefined]
14
+ **created** | **string** | | [readonly] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { Deposit } from '@pidginhost/sdk';
20
+
21
+ const instance: Deposit = {
22
+ id,
23
+ status,
24
+ amount,
25
+ vat_value,
26
+ vat_percentage,
27
+ total,
28
+ created,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)