@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.
- package/.openapi-generator/FILES +223 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +727 -0
- package/api.ts +33802 -0
- package/base.ts +62 -0
- package/common.ts +128 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +15244 -0
- package/dist/api.js +30223 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +35 -0
- package/dist/common.js +140 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +15244 -0
- package/dist/esm/api.js +30179 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +35 -0
- package/dist/esm/common.js +127 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/pidginhost.d.ts +8 -0
- package/dist/esm/pidginhost.js +13 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +34 -0
- package/dist/pidginhost.d.ts +8 -0
- package/dist/pidginhost.js +17 -0
- package/docs/APITokenCreate.md +28 -0
- package/docs/APITokenList.md +32 -0
- package/docs/AccountApi.md +1999 -0
- package/docs/ActivateFreeDNS.md +24 -0
- package/docs/ActivateFreeDNSResponse.md +24 -0
- package/docs/ActivityLogEntry.md +22 -0
- package/docs/ActivityLogResponse.md +20 -0
- package/docs/AddServerResponse.md +20 -0
- package/docs/Address.md +34 -0
- package/docs/AttachIPv4.md +20 -0
- package/docs/AttachIPv6.md +20 -0
- package/docs/AttachVolume.md +20 -0
- package/docs/BillingApi.md +1885 -0
- package/docs/CancelServiceResponse.md +22 -0
- package/docs/ChangeBillingCycle.md +20 -0
- package/docs/ChangeBillingCycleResponse.md +22 -0
- package/docs/ChangeCompany.md +20 -0
- package/docs/ChangeCompanyResponse.md +22 -0
- package/docs/ChangePassword.md +20 -0
- package/docs/CheckAvailability.md +20 -0
- package/docs/CloudApi.md +8433 -0
- package/docs/ClusterAdd.md +32 -0
- package/docs/ClusterAddResponse.md +20 -0
- package/docs/ClusterDetail.md +48 -0
- package/docs/ClusterPackage.md +24 -0
- package/docs/ClusterType.md +26 -0
- package/docs/ClusterTypeEnum.md +11 -0
- package/docs/Company.md +36 -0
- package/docs/ConnectVMRequest.md +20 -0
- package/docs/ConnectVMResponse.md +22 -0
- package/docs/ConnectedVM.md +24 -0
- package/docs/ConnectedVMsResponse.md +20 -0
- package/docs/ConsoleToken.md +22 -0
- package/docs/ContactTypeEnum.md +15 -0
- package/docs/ContactsUpdate.md +22 -0
- package/docs/ContactsUpdateResponse.md +20 -0
- package/docs/CountryEnum.md +515 -0
- package/docs/DNSRecord.md +53 -0
- package/docs/DNSRecordCreate.md +53 -0
- package/docs/DNSRecordCreateTypeEnum.md +21 -0
- package/docs/DNSRecordMutateResponse.md +22 -0
- package/docs/DeactivateFreeDNS.md +22 -0
- package/docs/DeactivateFreeDNSResponse.md +20 -0
- package/docs/DedicatedApi.md +551 -0
- package/docs/DedicatedRDNS.md +22 -0
- package/docs/DedicatedServer.md +39 -0
- package/docs/DeleteRecord.md +20 -0
- package/docs/DeleteRecordResponse.md +22 -0
- package/docs/Department.md +22 -0
- package/docs/Deposit.md +32 -0
- package/docs/DepositCreate.md +20 -0
- package/docs/DepositStatusEnum.md +15 -0
- package/docs/DestroyProtection.md +20 -0
- package/docs/DetachIPv4.md +20 -0
- package/docs/DetachIPv4Response.md +20 -0
- package/docs/DetachIPv6.md +20 -0
- package/docs/DetachIPv6Response.md +20 -0
- package/docs/DetachVolume.md +20 -0
- package/docs/DisconnectVMRequest.md +20 -0
- package/docs/DisconnectVMResponse.md +22 -0
- package/docs/Domain.md +42 -0
- package/docs/DomainApi.md +2047 -0
- package/docs/DomainCancelResponse.md +22 -0
- package/docs/DomainCreate.md +24 -0
- package/docs/DomainRegistrant.md +44 -0
- package/docs/EmailHistory.md +28 -0
- package/docs/FeatureUpgradeRequest.md +22 -0
- package/docs/FeatureUpgradeResponse.md +22 -0
- package/docs/FeaturesEnum.md +17 -0
- package/docs/FirewallRule.md +42 -0
- package/docs/FirewallRuleDirectionEnum.md +11 -0
- package/docs/FirewallRulesSet.md +28 -0
- package/docs/FirewallRulesSetStatusEnum.md +13 -0
- package/docs/FreeDNSDomain.md +24 -0
- package/docs/FreednsApi.md +655 -0
- package/docs/FundsBalanceResponse.md +26 -0
- package/docs/FundsLog.md +30 -0
- package/docs/FwPolicyOutEnum.md +13 -0
- package/docs/HTTPRoute.md +45 -0
- package/docs/HostingApi.md +327 -0
- package/docs/HostingChangePasswordResponse.md +20 -0
- package/docs/HostingService.md +39 -0
- package/docs/InvoiceDetail.md +50 -0
- package/docs/InvoiceList.md +40 -0
- package/docs/KubeUpgradeResponse.md +20 -0
- package/docs/KubeVersionEnum.md +13 -0
- package/docs/KubernetesApi.md +6209 -0
- package/docs/LBFirewallRule.md +44 -0
- package/docs/LBFirewallRuleActionEnum.md +13 -0
- package/docs/LBFirewallRuleDirectionEnum.md +11 -0
- package/docs/LowBalanceSettings.md +24 -0
- package/docs/NameserversUpdate.md +20 -0
- package/docs/NameserversUpdateResponse.md +20 -0
- package/docs/NodeMetricsResponse.md +32 -0
- package/docs/NodeRRDResponse.md +22 -0
- package/docs/NotificationSettingsResponse.md +26 -0
- package/docs/OSImage.md +28 -0
- package/docs/OperationEnum.md +27 -0
- package/docs/PaginatedAPITokenListList.md +26 -0
- package/docs/PaginatedClusterDetailList.md +26 -0
- package/docs/PaginatedClusterTypeList.md +26 -0
- package/docs/PaginatedCompanyList.md +26 -0
- package/docs/PaginatedDedicatedServerList.md +26 -0
- package/docs/PaginatedDepositList.md +26 -0
- package/docs/PaginatedDomainList.md +26 -0
- package/docs/PaginatedDomainRegistrantList.md +26 -0
- package/docs/PaginatedEmailHistoryList.md +26 -0
- package/docs/PaginatedFundsLogList.md +26 -0
- package/docs/PaginatedHostingServiceList.md +26 -0
- package/docs/PaginatedInvoiceListList.md +26 -0
- package/docs/PaginatedLBFirewallRuleList.md +26 -0
- package/docs/PaginatedOSImageList.md +26 -0
- package/docs/PaginatedPrivateNetworkList.md +26 -0
- package/docs/PaginatedPublicIPv4List.md +26 -0
- package/docs/PaginatedPublicIPv6List.md +26 -0
- package/docs/PaginatedResourcePoolList.md +26 -0
- package/docs/PaginatedResourcePoolNodeList.md +26 -0
- package/docs/PaginatedSSHKeyList.md +26 -0
- package/docs/PaginatedServerList.md +26 -0
- package/docs/PaginatedServerProductList.md +26 -0
- package/docs/PaginatedServiceListList.md +26 -0
- package/docs/PaginatedSnapshotList.md +26 -0
- package/docs/PaginatedStorageProductList.md +26 -0
- package/docs/PaginatedSubscriptionList.md +26 -0
- package/docs/PaginatedTLDList.md +26 -0
- package/docs/PaginatedTicketListList.md +26 -0
- package/docs/PatchedClusterDetail.md +48 -0
- package/docs/PatchedCompany.md +36 -0
- package/docs/PatchedDomain.md +42 -0
- package/docs/PatchedDomainRegistrant.md +44 -0
- package/docs/PatchedFirewallRule.md +42 -0
- package/docs/PatchedFirewallRulesSet.md +28 -0
- package/docs/PatchedHTTPRoute.md +45 -0
- package/docs/PatchedLBFirewallRule.md +44 -0
- package/docs/PatchedPrivateNetwork.md +30 -0
- package/docs/PatchedProfile.md +26 -0
- package/docs/PatchedResourcePool.md +28 -0
- package/docs/PatchedSSHKey.md +26 -0
- package/docs/PatchedTCPRoute.md +41 -0
- package/docs/PatchedUDPRoute.md +41 -0
- package/docs/PatchedVolume.md +32 -0
- package/docs/PayWithFundsResponse.md +22 -0
- package/docs/PowerAction.md +20 -0
- package/docs/PowerActionActionEnum.md +15 -0
- package/docs/PowerActionResponse.md +20 -0
- package/docs/PowerManagement.md +20 -0
- package/docs/PowerManagementRequest.md +20 -0
- package/docs/PowerManagementRequestActionEnum.md +15 -0
- package/docs/Priority3cdEnum.md +13 -0
- package/docs/PrivateNetwork.md +30 -0
- package/docs/PrivateNetworkAddHost.md +22 -0
- package/docs/PrivateNetworkRemoveHost.md +20 -0
- package/docs/Profile.md +26 -0
- package/docs/PublicIPv4.md +32 -0
- package/docs/PublicIPv6.md +32 -0
- package/docs/PublicInterface.md +30 -0
- package/docs/RDNSUpdateResponse.md +20 -0
- package/docs/Reinstall.md +20 -0
- package/docs/ReinstallResponse.md +20 -0
- package/docs/RemoveServerResponse.md +20 -0
- package/docs/RenewDomain.md +20 -0
- package/docs/ResourcePool.md +28 -0
- package/docs/ResourcePoolAdd.md +22 -0
- package/docs/ResourcePoolAddResponse.md +20 -0
- package/docs/ResourcePoolNode.md +24 -0
- package/docs/RetryProvision.md +20 -0
- package/docs/ReverseDNS.md +20 -0
- package/docs/SSHKey.md +26 -0
- package/docs/SchemaApi.md +117 -0
- package/docs/ScopeEnum.md +11 -0
- package/docs/Server.md +42 -0
- package/docs/ServerAdd.md +58 -0
- package/docs/ServerAddResponse.md +20 -0
- package/docs/ServerProduct.md +24 -0
- package/docs/ServerProductUpgrade.md +20 -0
- package/docs/ServerUpgradeResponse.md +20 -0
- package/docs/ServerUsageResponse.md +28 -0
- package/docs/Service.md +40 -0
- package/docs/ServiceList.md +36 -0
- package/docs/Snapshot.md +30 -0
- package/docs/SnapshotCreate.md +24 -0
- package/docs/SnapshotCreateQueued.md +20 -0
- package/docs/SnapshotDeleteQueued.md +20 -0
- package/docs/SnapshotRollbackQueued.md +20 -0
- package/docs/SourceEnum.md +11 -0
- package/docs/Status03cEnum.md +21 -0
- package/docs/Status63aEnum.md +23 -0
- package/docs/StatusA57Enum.md +31 -0
- package/docs/StatusEf2Enum.md +15 -0
- package/docs/StorageProduct.md +34 -0
- package/docs/Subscription.md +34 -0
- package/docs/SubscriptionStatusEnum.md +15 -0
- package/docs/SupportApi.md +841 -0
- package/docs/TCPRoute.md +41 -0
- package/docs/TLD.md +38 -0
- package/docs/TalosUpgradeResponse.md +20 -0
- package/docs/ThresholdTypeEnum.md +13 -0
- package/docs/TicketCloseResponse.md +22 -0
- package/docs/TicketCreate.md +30 -0
- package/docs/TicketCreatePriorityEnum.md +13 -0
- package/docs/TicketDetail.md +34 -0
- package/docs/TicketList.md +32 -0
- package/docs/TicketReopenResponse.md +22 -0
- package/docs/TicketReply.md +22 -0
- package/docs/TicketReplyResponse.md +20 -0
- package/docs/ToggleAutoPaymentResponse.md +22 -0
- package/docs/TransferRoDomain.md +22 -0
- package/docs/Type2faEnum.md +11 -0
- package/docs/UDPRoute.md +41 -0
- package/docs/Volume.md +32 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/package.json +33 -0
- package/pidginhost.ts +20 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
# FreednsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://www.pidginhost.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**freednsDnsActivateCreate**](#freednsdnsactivatecreate) | **POST** /api/freedns/dns/activate/ | |
|
|
8
|
+
|[**freednsDnsActivateCreate2**](#freednsdnsactivatecreate2) | **POST** /api/v1/freedns/dns/activate/ | |
|
|
9
|
+
|[**freednsDnsAddRecordCreate**](#freednsdnsaddrecordcreate) | **POST** /api/freedns/dns/add-record/ | |
|
|
10
|
+
|[**freednsDnsAddRecordCreate2**](#freednsdnsaddrecordcreate2) | **POST** /api/v1/freedns/dns/add-record/ | |
|
|
11
|
+
|[**freednsDnsDeactivateCreate**](#freednsdnsdeactivatecreate) | **POST** /api/freedns/dns/deactivate/ | |
|
|
12
|
+
|[**freednsDnsDeactivateCreate2**](#freednsdnsdeactivatecreate2) | **POST** /api/v1/freedns/dns/deactivate/ | |
|
|
13
|
+
|[**freednsDnsDeleteRecordCreate**](#freednsdnsdeleterecordcreate) | **POST** /api/freedns/dns/delete-record/ | |
|
|
14
|
+
|[**freednsDnsDeleteRecordCreate2**](#freednsdnsdeleterecordcreate2) | **POST** /api/v1/freedns/dns/delete-record/ | |
|
|
15
|
+
|[**freednsDnsList**](#freednsdnslist) | **GET** /api/freedns/dns/ | |
|
|
16
|
+
|[**freednsDnsList2**](#freednsdnslist2) | **GET** /api/v1/freedns/dns/ | |
|
|
17
|
+
|[**freednsDnsRecordsList**](#freednsdnsrecordslist) | **GET** /api/freedns/dns/records/ | |
|
|
18
|
+
|[**freednsDnsRecordsList2**](#freednsdnsrecordslist2) | **GET** /api/v1/freedns/dns/records/ | |
|
|
19
|
+
|
|
20
|
+
# **freednsDnsActivateCreate**
|
|
21
|
+
> ActivateFreeDNSResponse freednsDnsActivateCreate(activateFreeDNS)
|
|
22
|
+
|
|
23
|
+
Activate FreeDNS for a domain. For internal domains the nameservers are changed to PidginHost NS. A default zone is created on the cPanel node.
|
|
24
|
+
|
|
25
|
+
### Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import {
|
|
29
|
+
FreednsApi,
|
|
30
|
+
Configuration,
|
|
31
|
+
ActivateFreeDNS
|
|
32
|
+
} from '@pidginhost/sdk';
|
|
33
|
+
|
|
34
|
+
const configuration = new Configuration();
|
|
35
|
+
const apiInstance = new FreednsApi(configuration);
|
|
36
|
+
|
|
37
|
+
let activateFreeDNS: ActivateFreeDNS; //
|
|
38
|
+
|
|
39
|
+
const { status, data } = await apiInstance.freednsDnsActivateCreate(
|
|
40
|
+
activateFreeDNS
|
|
41
|
+
);
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
|Name | Type | Description | Notes|
|
|
47
|
+
|------------- | ------------- | ------------- | -------------|
|
|
48
|
+
| **activateFreeDNS** | **ActivateFreeDNS**| | |
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
**ActivateFreeDNSResponse**
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: application/json
|
|
62
|
+
- **Accept**: application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### HTTP response details
|
|
66
|
+
| Status code | Description | Response headers |
|
|
67
|
+
|-------------|-------------|------------------|
|
|
68
|
+
|**200** | | - |
|
|
69
|
+
|
|
70
|
+
[[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)
|
|
71
|
+
|
|
72
|
+
# **freednsDnsActivateCreate2**
|
|
73
|
+
> ActivateFreeDNSResponse freednsDnsActivateCreate2(activateFreeDNS)
|
|
74
|
+
|
|
75
|
+
Activate FreeDNS for a domain. For internal domains the nameservers are changed to PidginHost NS. A default zone is created on the cPanel node.
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
FreednsApi,
|
|
82
|
+
Configuration,
|
|
83
|
+
ActivateFreeDNS
|
|
84
|
+
} from '@pidginhost/sdk';
|
|
85
|
+
|
|
86
|
+
const configuration = new Configuration();
|
|
87
|
+
const apiInstance = new FreednsApi(configuration);
|
|
88
|
+
|
|
89
|
+
let activateFreeDNS: ActivateFreeDNS; //
|
|
90
|
+
|
|
91
|
+
const { status, data } = await apiInstance.freednsDnsActivateCreate2(
|
|
92
|
+
activateFreeDNS
|
|
93
|
+
);
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
|Name | Type | Description | Notes|
|
|
99
|
+
|------------- | ------------- | ------------- | -------------|
|
|
100
|
+
| **activateFreeDNS** | **ActivateFreeDNS**| | |
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Return type
|
|
104
|
+
|
|
105
|
+
**ActivateFreeDNSResponse**
|
|
106
|
+
|
|
107
|
+
### Authorization
|
|
108
|
+
|
|
109
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
110
|
+
|
|
111
|
+
### HTTP request headers
|
|
112
|
+
|
|
113
|
+
- **Content-Type**: application/json
|
|
114
|
+
- **Accept**: application/json
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### HTTP response details
|
|
118
|
+
| Status code | Description | Response headers |
|
|
119
|
+
|-------------|-------------|------------------|
|
|
120
|
+
|**200** | | - |
|
|
121
|
+
|
|
122
|
+
[[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)
|
|
123
|
+
|
|
124
|
+
# **freednsDnsAddRecordCreate**
|
|
125
|
+
> DNSRecordMutateResponse freednsDnsAddRecordCreate(dNSRecordCreate)
|
|
126
|
+
|
|
127
|
+
Add or edit a DNS record. To edit an existing record, include the \'line\' field with its line number. Required type-specific fields depend on \'type\': A/AAAA → address; CNAME → cname; MX → preference, exchange; SRV → priority, weight, port, target; TXT → txtdata, unencoded; TYPE257 (CAA) → flag, tag, value.
|
|
128
|
+
|
|
129
|
+
### Example
|
|
130
|
+
|
|
131
|
+
```typescript
|
|
132
|
+
import {
|
|
133
|
+
FreednsApi,
|
|
134
|
+
Configuration,
|
|
135
|
+
DNSRecordCreate
|
|
136
|
+
} from '@pidginhost/sdk';
|
|
137
|
+
|
|
138
|
+
const configuration = new Configuration();
|
|
139
|
+
const apiInstance = new FreednsApi(configuration);
|
|
140
|
+
|
|
141
|
+
let domain: string; //Domain name or PK. (default to undefined)
|
|
142
|
+
let source: string; //\'internal\' or \'external\'. (default to undefined)
|
|
143
|
+
let dNSRecordCreate: DNSRecordCreate; //
|
|
144
|
+
|
|
145
|
+
const { status, data } = await apiInstance.freednsDnsAddRecordCreate(
|
|
146
|
+
domain,
|
|
147
|
+
source,
|
|
148
|
+
dNSRecordCreate
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Parameters
|
|
153
|
+
|
|
154
|
+
|Name | Type | Description | Notes|
|
|
155
|
+
|------------- | ------------- | ------------- | -------------|
|
|
156
|
+
| **dNSRecordCreate** | **DNSRecordCreate**| | |
|
|
157
|
+
| **domain** | [**string**] | Domain name or PK. | defaults to undefined|
|
|
158
|
+
| **source** | [**string**] | \'internal\' or \'external\'. | defaults to undefined|
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Return type
|
|
162
|
+
|
|
163
|
+
**DNSRecordMutateResponse**
|
|
164
|
+
|
|
165
|
+
### Authorization
|
|
166
|
+
|
|
167
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
168
|
+
|
|
169
|
+
### HTTP request headers
|
|
170
|
+
|
|
171
|
+
- **Content-Type**: application/json
|
|
172
|
+
- **Accept**: application/json
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### HTTP response details
|
|
176
|
+
| Status code | Description | Response headers |
|
|
177
|
+
|-------------|-------------|------------------|
|
|
178
|
+
|**200** | | - |
|
|
179
|
+
|
|
180
|
+
[[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)
|
|
181
|
+
|
|
182
|
+
# **freednsDnsAddRecordCreate2**
|
|
183
|
+
> DNSRecordMutateResponse freednsDnsAddRecordCreate2(dNSRecordCreate)
|
|
184
|
+
|
|
185
|
+
Add or edit a DNS record. To edit an existing record, include the \'line\' field with its line number. Required type-specific fields depend on \'type\': A/AAAA → address; CNAME → cname; MX → preference, exchange; SRV → priority, weight, port, target; TXT → txtdata, unencoded; TYPE257 (CAA) → flag, tag, value.
|
|
186
|
+
|
|
187
|
+
### Example
|
|
188
|
+
|
|
189
|
+
```typescript
|
|
190
|
+
import {
|
|
191
|
+
FreednsApi,
|
|
192
|
+
Configuration,
|
|
193
|
+
DNSRecordCreate
|
|
194
|
+
} from '@pidginhost/sdk';
|
|
195
|
+
|
|
196
|
+
const configuration = new Configuration();
|
|
197
|
+
const apiInstance = new FreednsApi(configuration);
|
|
198
|
+
|
|
199
|
+
let domain: string; //Domain name or PK. (default to undefined)
|
|
200
|
+
let source: string; //\'internal\' or \'external\'. (default to undefined)
|
|
201
|
+
let dNSRecordCreate: DNSRecordCreate; //
|
|
202
|
+
|
|
203
|
+
const { status, data } = await apiInstance.freednsDnsAddRecordCreate2(
|
|
204
|
+
domain,
|
|
205
|
+
source,
|
|
206
|
+
dNSRecordCreate
|
|
207
|
+
);
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Parameters
|
|
211
|
+
|
|
212
|
+
|Name | Type | Description | Notes|
|
|
213
|
+
|------------- | ------------- | ------------- | -------------|
|
|
214
|
+
| **dNSRecordCreate** | **DNSRecordCreate**| | |
|
|
215
|
+
| **domain** | [**string**] | Domain name or PK. | defaults to undefined|
|
|
216
|
+
| **source** | [**string**] | \'internal\' or \'external\'. | defaults to undefined|
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Return type
|
|
220
|
+
|
|
221
|
+
**DNSRecordMutateResponse**
|
|
222
|
+
|
|
223
|
+
### Authorization
|
|
224
|
+
|
|
225
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
226
|
+
|
|
227
|
+
### HTTP request headers
|
|
228
|
+
|
|
229
|
+
- **Content-Type**: application/json
|
|
230
|
+
- **Accept**: application/json
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### HTTP response details
|
|
234
|
+
| Status code | Description | Response headers |
|
|
235
|
+
|-------------|-------------|------------------|
|
|
236
|
+
|**200** | | - |
|
|
237
|
+
|
|
238
|
+
[[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)
|
|
239
|
+
|
|
240
|
+
# **freednsDnsDeactivateCreate**
|
|
241
|
+
> DeactivateFreeDNSResponse freednsDnsDeactivateCreate(deactivateFreeDNS)
|
|
242
|
+
|
|
243
|
+
Deactivate FreeDNS for a domain. The DNS zone is removed from the cPanel node and, for internal domains, the original nameservers are restored.
|
|
244
|
+
|
|
245
|
+
### Example
|
|
246
|
+
|
|
247
|
+
```typescript
|
|
248
|
+
import {
|
|
249
|
+
FreednsApi,
|
|
250
|
+
Configuration,
|
|
251
|
+
DeactivateFreeDNS
|
|
252
|
+
} from '@pidginhost/sdk';
|
|
253
|
+
|
|
254
|
+
const configuration = new Configuration();
|
|
255
|
+
const apiInstance = new FreednsApi(configuration);
|
|
256
|
+
|
|
257
|
+
let deactivateFreeDNS: DeactivateFreeDNS; //
|
|
258
|
+
|
|
259
|
+
const { status, data } = await apiInstance.freednsDnsDeactivateCreate(
|
|
260
|
+
deactivateFreeDNS
|
|
261
|
+
);
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Parameters
|
|
265
|
+
|
|
266
|
+
|Name | Type | Description | Notes|
|
|
267
|
+
|------------- | ------------- | ------------- | -------------|
|
|
268
|
+
| **deactivateFreeDNS** | **DeactivateFreeDNS**| | |
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### Return type
|
|
272
|
+
|
|
273
|
+
**DeactivateFreeDNSResponse**
|
|
274
|
+
|
|
275
|
+
### Authorization
|
|
276
|
+
|
|
277
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
278
|
+
|
|
279
|
+
### HTTP request headers
|
|
280
|
+
|
|
281
|
+
- **Content-Type**: application/json
|
|
282
|
+
- **Accept**: application/json
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### HTTP response details
|
|
286
|
+
| Status code | Description | Response headers |
|
|
287
|
+
|-------------|-------------|------------------|
|
|
288
|
+
|**200** | | - |
|
|
289
|
+
|
|
290
|
+
[[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)
|
|
291
|
+
|
|
292
|
+
# **freednsDnsDeactivateCreate2**
|
|
293
|
+
> DeactivateFreeDNSResponse freednsDnsDeactivateCreate2(deactivateFreeDNS)
|
|
294
|
+
|
|
295
|
+
Deactivate FreeDNS for a domain. The DNS zone is removed from the cPanel node and, for internal domains, the original nameservers are restored.
|
|
296
|
+
|
|
297
|
+
### Example
|
|
298
|
+
|
|
299
|
+
```typescript
|
|
300
|
+
import {
|
|
301
|
+
FreednsApi,
|
|
302
|
+
Configuration,
|
|
303
|
+
DeactivateFreeDNS
|
|
304
|
+
} from '@pidginhost/sdk';
|
|
305
|
+
|
|
306
|
+
const configuration = new Configuration();
|
|
307
|
+
const apiInstance = new FreednsApi(configuration);
|
|
308
|
+
|
|
309
|
+
let deactivateFreeDNS: DeactivateFreeDNS; //
|
|
310
|
+
|
|
311
|
+
const { status, data } = await apiInstance.freednsDnsDeactivateCreate2(
|
|
312
|
+
deactivateFreeDNS
|
|
313
|
+
);
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### Parameters
|
|
317
|
+
|
|
318
|
+
|Name | Type | Description | Notes|
|
|
319
|
+
|------------- | ------------- | ------------- | -------------|
|
|
320
|
+
| **deactivateFreeDNS** | **DeactivateFreeDNS**| | |
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
### Return type
|
|
324
|
+
|
|
325
|
+
**DeactivateFreeDNSResponse**
|
|
326
|
+
|
|
327
|
+
### Authorization
|
|
328
|
+
|
|
329
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
330
|
+
|
|
331
|
+
### HTTP request headers
|
|
332
|
+
|
|
333
|
+
- **Content-Type**: application/json
|
|
334
|
+
- **Accept**: application/json
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
### HTTP response details
|
|
338
|
+
| Status code | Description | Response headers |
|
|
339
|
+
|-------------|-------------|------------------|
|
|
340
|
+
|**200** | | - |
|
|
341
|
+
|
|
342
|
+
[[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)
|
|
343
|
+
|
|
344
|
+
# **freednsDnsDeleteRecordCreate**
|
|
345
|
+
> DeleteRecordResponse freednsDnsDeleteRecordCreate(deleteRecord)
|
|
346
|
+
|
|
347
|
+
Delete a DNS record by its line number.
|
|
348
|
+
|
|
349
|
+
### Example
|
|
350
|
+
|
|
351
|
+
```typescript
|
|
352
|
+
import {
|
|
353
|
+
FreednsApi,
|
|
354
|
+
Configuration,
|
|
355
|
+
DeleteRecord
|
|
356
|
+
} from '@pidginhost/sdk';
|
|
357
|
+
|
|
358
|
+
const configuration = new Configuration();
|
|
359
|
+
const apiInstance = new FreednsApi(configuration);
|
|
360
|
+
|
|
361
|
+
let domain: string; //Domain name or PK. (default to undefined)
|
|
362
|
+
let source: string; //\'internal\' or \'external\'. (default to undefined)
|
|
363
|
+
let deleteRecord: DeleteRecord; //
|
|
364
|
+
|
|
365
|
+
const { status, data } = await apiInstance.freednsDnsDeleteRecordCreate(
|
|
366
|
+
domain,
|
|
367
|
+
source,
|
|
368
|
+
deleteRecord
|
|
369
|
+
);
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### Parameters
|
|
373
|
+
|
|
374
|
+
|Name | Type | Description | Notes|
|
|
375
|
+
|------------- | ------------- | ------------- | -------------|
|
|
376
|
+
| **deleteRecord** | **DeleteRecord**| | |
|
|
377
|
+
| **domain** | [**string**] | Domain name or PK. | defaults to undefined|
|
|
378
|
+
| **source** | [**string**] | \'internal\' or \'external\'. | defaults to undefined|
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### Return type
|
|
382
|
+
|
|
383
|
+
**DeleteRecordResponse**
|
|
384
|
+
|
|
385
|
+
### Authorization
|
|
386
|
+
|
|
387
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
388
|
+
|
|
389
|
+
### HTTP request headers
|
|
390
|
+
|
|
391
|
+
- **Content-Type**: application/json
|
|
392
|
+
- **Accept**: application/json
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
### HTTP response details
|
|
396
|
+
| Status code | Description | Response headers |
|
|
397
|
+
|-------------|-------------|------------------|
|
|
398
|
+
|**200** | | - |
|
|
399
|
+
|
|
400
|
+
[[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)
|
|
401
|
+
|
|
402
|
+
# **freednsDnsDeleteRecordCreate2**
|
|
403
|
+
> DeleteRecordResponse freednsDnsDeleteRecordCreate2(deleteRecord)
|
|
404
|
+
|
|
405
|
+
Delete a DNS record by its line number.
|
|
406
|
+
|
|
407
|
+
### Example
|
|
408
|
+
|
|
409
|
+
```typescript
|
|
410
|
+
import {
|
|
411
|
+
FreednsApi,
|
|
412
|
+
Configuration,
|
|
413
|
+
DeleteRecord
|
|
414
|
+
} from '@pidginhost/sdk';
|
|
415
|
+
|
|
416
|
+
const configuration = new Configuration();
|
|
417
|
+
const apiInstance = new FreednsApi(configuration);
|
|
418
|
+
|
|
419
|
+
let domain: string; //Domain name or PK. (default to undefined)
|
|
420
|
+
let source: string; //\'internal\' or \'external\'. (default to undefined)
|
|
421
|
+
let deleteRecord: DeleteRecord; //
|
|
422
|
+
|
|
423
|
+
const { status, data } = await apiInstance.freednsDnsDeleteRecordCreate2(
|
|
424
|
+
domain,
|
|
425
|
+
source,
|
|
426
|
+
deleteRecord
|
|
427
|
+
);
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### Parameters
|
|
431
|
+
|
|
432
|
+
|Name | Type | Description | Notes|
|
|
433
|
+
|------------- | ------------- | ------------- | -------------|
|
|
434
|
+
| **deleteRecord** | **DeleteRecord**| | |
|
|
435
|
+
| **domain** | [**string**] | Domain name or PK. | defaults to undefined|
|
|
436
|
+
| **source** | [**string**] | \'internal\' or \'external\'. | defaults to undefined|
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
### Return type
|
|
440
|
+
|
|
441
|
+
**DeleteRecordResponse**
|
|
442
|
+
|
|
443
|
+
### Authorization
|
|
444
|
+
|
|
445
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
446
|
+
|
|
447
|
+
### HTTP request headers
|
|
448
|
+
|
|
449
|
+
- **Content-Type**: application/json
|
|
450
|
+
- **Accept**: application/json
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
### HTTP response details
|
|
454
|
+
| Status code | Description | Response headers |
|
|
455
|
+
|-------------|-------------|------------------|
|
|
456
|
+
|**200** | | - |
|
|
457
|
+
|
|
458
|
+
[[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)
|
|
459
|
+
|
|
460
|
+
# **freednsDnsList**
|
|
461
|
+
> Array<FreeDNSDomain> freednsDnsList()
|
|
462
|
+
|
|
463
|
+
List all domains with active FreeDNS for the authenticated user.
|
|
464
|
+
|
|
465
|
+
### Example
|
|
466
|
+
|
|
467
|
+
```typescript
|
|
468
|
+
import {
|
|
469
|
+
FreednsApi,
|
|
470
|
+
Configuration
|
|
471
|
+
} from '@pidginhost/sdk';
|
|
472
|
+
|
|
473
|
+
const configuration = new Configuration();
|
|
474
|
+
const apiInstance = new FreednsApi(configuration);
|
|
475
|
+
|
|
476
|
+
const { status, data } = await apiInstance.freednsDnsList();
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
### Parameters
|
|
480
|
+
This endpoint does not have any parameters.
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
### Return type
|
|
484
|
+
|
|
485
|
+
**Array<FreeDNSDomain>**
|
|
486
|
+
|
|
487
|
+
### Authorization
|
|
488
|
+
|
|
489
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
490
|
+
|
|
491
|
+
### HTTP request headers
|
|
492
|
+
|
|
493
|
+
- **Content-Type**: Not defined
|
|
494
|
+
- **Accept**: application/json
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
### HTTP response details
|
|
498
|
+
| Status code | Description | Response headers |
|
|
499
|
+
|-------------|-------------|------------------|
|
|
500
|
+
|**200** | | - |
|
|
501
|
+
|
|
502
|
+
[[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)
|
|
503
|
+
|
|
504
|
+
# **freednsDnsList2**
|
|
505
|
+
> Array<FreeDNSDomain> freednsDnsList2()
|
|
506
|
+
|
|
507
|
+
List all domains with active FreeDNS for the authenticated user.
|
|
508
|
+
|
|
509
|
+
### Example
|
|
510
|
+
|
|
511
|
+
```typescript
|
|
512
|
+
import {
|
|
513
|
+
FreednsApi,
|
|
514
|
+
Configuration
|
|
515
|
+
} from '@pidginhost/sdk';
|
|
516
|
+
|
|
517
|
+
const configuration = new Configuration();
|
|
518
|
+
const apiInstance = new FreednsApi(configuration);
|
|
519
|
+
|
|
520
|
+
const { status, data } = await apiInstance.freednsDnsList2();
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### Parameters
|
|
524
|
+
This endpoint does not have any parameters.
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
### Return type
|
|
528
|
+
|
|
529
|
+
**Array<FreeDNSDomain>**
|
|
530
|
+
|
|
531
|
+
### Authorization
|
|
532
|
+
|
|
533
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
534
|
+
|
|
535
|
+
### HTTP request headers
|
|
536
|
+
|
|
537
|
+
- **Content-Type**: Not defined
|
|
538
|
+
- **Accept**: application/json
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
### HTTP response details
|
|
542
|
+
| Status code | Description | Response headers |
|
|
543
|
+
|-------------|-------------|------------------|
|
|
544
|
+
|**200** | | - |
|
|
545
|
+
|
|
546
|
+
[[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)
|
|
547
|
+
|
|
548
|
+
# **freednsDnsRecordsList**
|
|
549
|
+
> Array<DNSRecord> freednsDnsRecordsList()
|
|
550
|
+
|
|
551
|
+
List all DNS records for a domain with active FreeDNS.
|
|
552
|
+
|
|
553
|
+
### Example
|
|
554
|
+
|
|
555
|
+
```typescript
|
|
556
|
+
import {
|
|
557
|
+
FreednsApi,
|
|
558
|
+
Configuration
|
|
559
|
+
} from '@pidginhost/sdk';
|
|
560
|
+
|
|
561
|
+
const configuration = new Configuration();
|
|
562
|
+
const apiInstance = new FreednsApi(configuration);
|
|
563
|
+
|
|
564
|
+
let domain: string; //Domain name or PK. (default to undefined)
|
|
565
|
+
let source: string; //\'internal\' or \'external\'. (default to undefined)
|
|
566
|
+
|
|
567
|
+
const { status, data } = await apiInstance.freednsDnsRecordsList(
|
|
568
|
+
domain,
|
|
569
|
+
source
|
|
570
|
+
);
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
### Parameters
|
|
574
|
+
|
|
575
|
+
|Name | Type | Description | Notes|
|
|
576
|
+
|------------- | ------------- | ------------- | -------------|
|
|
577
|
+
| **domain** | [**string**] | Domain name or PK. | defaults to undefined|
|
|
578
|
+
| **source** | [**string**] | \'internal\' or \'external\'. | defaults to undefined|
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
### Return type
|
|
582
|
+
|
|
583
|
+
**Array<DNSRecord>**
|
|
584
|
+
|
|
585
|
+
### Authorization
|
|
586
|
+
|
|
587
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
588
|
+
|
|
589
|
+
### HTTP request headers
|
|
590
|
+
|
|
591
|
+
- **Content-Type**: Not defined
|
|
592
|
+
- **Accept**: application/json
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
### HTTP response details
|
|
596
|
+
| Status code | Description | Response headers |
|
|
597
|
+
|-------------|-------------|------------------|
|
|
598
|
+
|**200** | | - |
|
|
599
|
+
|
|
600
|
+
[[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)
|
|
601
|
+
|
|
602
|
+
# **freednsDnsRecordsList2**
|
|
603
|
+
> Array<DNSRecord> freednsDnsRecordsList2()
|
|
604
|
+
|
|
605
|
+
List all DNS records for a domain with active FreeDNS.
|
|
606
|
+
|
|
607
|
+
### Example
|
|
608
|
+
|
|
609
|
+
```typescript
|
|
610
|
+
import {
|
|
611
|
+
FreednsApi,
|
|
612
|
+
Configuration
|
|
613
|
+
} from '@pidginhost/sdk';
|
|
614
|
+
|
|
615
|
+
const configuration = new Configuration();
|
|
616
|
+
const apiInstance = new FreednsApi(configuration);
|
|
617
|
+
|
|
618
|
+
let domain: string; //Domain name or PK. (default to undefined)
|
|
619
|
+
let source: string; //\'internal\' or \'external\'. (default to undefined)
|
|
620
|
+
|
|
621
|
+
const { status, data } = await apiInstance.freednsDnsRecordsList2(
|
|
622
|
+
domain,
|
|
623
|
+
source
|
|
624
|
+
);
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
### Parameters
|
|
628
|
+
|
|
629
|
+
|Name | Type | Description | Notes|
|
|
630
|
+
|------------- | ------------- | ------------- | -------------|
|
|
631
|
+
| **domain** | [**string**] | Domain name or PK. | defaults to undefined|
|
|
632
|
+
| **source** | [**string**] | \'internal\' or \'external\'. | defaults to undefined|
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
### Return type
|
|
636
|
+
|
|
637
|
+
**Array<DNSRecord>**
|
|
638
|
+
|
|
639
|
+
### Authorization
|
|
640
|
+
|
|
641
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
642
|
+
|
|
643
|
+
### HTTP request headers
|
|
644
|
+
|
|
645
|
+
- **Content-Type**: Not defined
|
|
646
|
+
- **Accept**: application/json
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
### HTTP response details
|
|
650
|
+
| Status code | Description | Response headers |
|
|
651
|
+
|-------------|-------------|------------------|
|
|
652
|
+
|**200** | | - |
|
|
653
|
+
|
|
654
|
+
[[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)
|
|
655
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FundsBalanceResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**balance** | **string** | | [default to undefined]
|
|
9
|
+
**threshold_type** | **string** | | [default to undefined]
|
|
10
|
+
**threshold_amount** | **string** | | [default to undefined]
|
|
11
|
+
**threshold_days** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { FundsBalanceResponse } from '@pidginhost/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: FundsBalanceResponse = {
|
|
19
|
+
balance,
|
|
20
|
+
threshold_type,
|
|
21
|
+
threshold_amount,
|
|
22
|
+
threshold_days,
|
|
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)
|
package/docs/FundsLog.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# FundsLog
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [readonly] [default to undefined]
|
|
9
|
+
**date** | **string** | | [readonly] [default to undefined]
|
|
10
|
+
**operation** | [**OperationEnum**](OperationEnum.md) | | [readonly] [default to undefined]
|
|
11
|
+
**amount** | **string** | + or - sum | [readonly] [default to undefined]
|
|
12
|
+
**balance** | **string** | Balance after operation | [readonly] [default to undefined]
|
|
13
|
+
**for_date** | **string** | Used for cloud service payments | [readonly] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { FundsLog } from '@pidginhost/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: FundsLog = {
|
|
21
|
+
id,
|
|
22
|
+
date,
|
|
23
|
+
operation,
|
|
24
|
+
amount,
|
|
25
|
+
balance,
|
|
26
|
+
for_date,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|