@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,1885 @@
|
|
|
1
|
+
# BillingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://www.pidginhost.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**billingDepositsCreate**](#billingdepositscreate) | **POST** /api/billing/deposits/ | |
|
|
8
|
+
|[**billingDepositsCreate2**](#billingdepositscreate2) | **POST** /api/v1/billing/deposits/ | |
|
|
9
|
+
|[**billingDepositsList**](#billingdepositslist) | **GET** /api/billing/deposits/ | |
|
|
10
|
+
|[**billingDepositsList2**](#billingdepositslist2) | **GET** /api/v1/billing/deposits/ | |
|
|
11
|
+
|[**billingDepositsRetrieve**](#billingdepositsretrieve) | **GET** /api/billing/deposits/{id}/ | |
|
|
12
|
+
|[**billingDepositsRetrieve2**](#billingdepositsretrieve2) | **GET** /api/v1/billing/deposits/{id}/ | |
|
|
13
|
+
|[**billingFundsList**](#billingfundslist) | **GET** /api/billing/funds/ | |
|
|
14
|
+
|[**billingFundsList2**](#billingfundslist2) | **GET** /api/v1/billing/funds/ | |
|
|
15
|
+
|[**billingFundsLogList**](#billingfundsloglist) | **GET** /api/billing/funds-log/ | |
|
|
16
|
+
|[**billingFundsLogList2**](#billingfundsloglist2) | **GET** /api/v1/billing/funds-log/ | |
|
|
17
|
+
|[**billingFundsNotificationSettingsCreate**](#billingfundsnotificationsettingscreate) | **POST** /api/billing/funds/notification-settings/ | |
|
|
18
|
+
|[**billingFundsNotificationSettingsCreate2**](#billingfundsnotificationsettingscreate2) | **POST** /api/v1/billing/funds/notification-settings/ | |
|
|
19
|
+
|[**billingInvoicesList**](#billinginvoiceslist) | **GET** /api/billing/invoices/ | |
|
|
20
|
+
|[**billingInvoicesList2**](#billinginvoiceslist2) | **GET** /api/v1/billing/invoices/ | |
|
|
21
|
+
|[**billingInvoicesPayWithFundsCreate**](#billinginvoicespaywithfundscreate) | **POST** /api/billing/invoices/{id}/pay-with-funds/ | |
|
|
22
|
+
|[**billingInvoicesPayWithFundsCreate2**](#billinginvoicespaywithfundscreate2) | **POST** /api/v1/billing/invoices/{id}/pay-with-funds/ | |
|
|
23
|
+
|[**billingInvoicesPdfRetrieve**](#billinginvoicespdfretrieve) | **GET** /api/billing/invoices/{id}/pdf/ | |
|
|
24
|
+
|[**billingInvoicesPdfRetrieve2**](#billinginvoicespdfretrieve2) | **GET** /api/v1/billing/invoices/{id}/pdf/ | |
|
|
25
|
+
|[**billingInvoicesRetrieve**](#billinginvoicesretrieve) | **GET** /api/billing/invoices/{id}/ | |
|
|
26
|
+
|[**billingInvoicesRetrieve2**](#billinginvoicesretrieve2) | **GET** /api/v1/billing/invoices/{id}/ | |
|
|
27
|
+
|[**billingServicesCancelCreate**](#billingservicescancelcreate) | **POST** /api/billing/services/{id}/cancel/ | |
|
|
28
|
+
|[**billingServicesCancelCreate2**](#billingservicescancelcreate2) | **POST** /api/v1/billing/services/{id}/cancel/ | |
|
|
29
|
+
|[**billingServicesChangeBillingCycleCreate**](#billingserviceschangebillingcyclecreate) | **POST** /api/billing/services/{id}/change-billing-cycle/ | |
|
|
30
|
+
|[**billingServicesChangeBillingCycleCreate2**](#billingserviceschangebillingcyclecreate2) | **POST** /api/v1/billing/services/{id}/change-billing-cycle/ | |
|
|
31
|
+
|[**billingServicesChangeCompanyCreate**](#billingserviceschangecompanycreate) | **POST** /api/billing/services/{id}/change-company/ | |
|
|
32
|
+
|[**billingServicesChangeCompanyCreate2**](#billingserviceschangecompanycreate2) | **POST** /api/v1/billing/services/{id}/change-company/ | |
|
|
33
|
+
|[**billingServicesList**](#billingserviceslist) | **GET** /api/billing/services/ | |
|
|
34
|
+
|[**billingServicesList2**](#billingserviceslist2) | **GET** /api/v1/billing/services/ | |
|
|
35
|
+
|[**billingServicesRetrieve**](#billingservicesretrieve) | **GET** /api/billing/services/{id}/ | |
|
|
36
|
+
|[**billingServicesRetrieve2**](#billingservicesretrieve2) | **GET** /api/v1/billing/services/{id}/ | |
|
|
37
|
+
|[**billingServicesToggleAutoPaymentCreate**](#billingservicestoggleautopaymentcreate) | **POST** /api/billing/services/{id}/toggle-auto-payment/ | |
|
|
38
|
+
|[**billingServicesToggleAutoPaymentCreate2**](#billingservicestoggleautopaymentcreate2) | **POST** /api/v1/billing/services/{id}/toggle-auto-payment/ | |
|
|
39
|
+
|[**billingSubscriptionsList**](#billingsubscriptionslist) | **GET** /api/billing/subscriptions/ | |
|
|
40
|
+
|[**billingSubscriptionsList2**](#billingsubscriptionslist2) | **GET** /api/v1/billing/subscriptions/ | |
|
|
41
|
+
|[**billingSubscriptionsRetrieve**](#billingsubscriptionsretrieve) | **GET** /api/billing/subscriptions/{id}/ | |
|
|
42
|
+
|[**billingSubscriptionsRetrieve2**](#billingsubscriptionsretrieve2) | **GET** /api/v1/billing/subscriptions/{id}/ | |
|
|
43
|
+
|
|
44
|
+
# **billingDepositsCreate**
|
|
45
|
+
> Deposit billingDepositsCreate(depositCreate)
|
|
46
|
+
|
|
47
|
+
Create a new funds deposit.
|
|
48
|
+
|
|
49
|
+
### Example
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
import {
|
|
53
|
+
BillingApi,
|
|
54
|
+
Configuration,
|
|
55
|
+
DepositCreate
|
|
56
|
+
} from '@pidginhost/sdk';
|
|
57
|
+
|
|
58
|
+
const configuration = new Configuration();
|
|
59
|
+
const apiInstance = new BillingApi(configuration);
|
|
60
|
+
|
|
61
|
+
let depositCreate: DepositCreate; //
|
|
62
|
+
|
|
63
|
+
const { status, data } = await apiInstance.billingDepositsCreate(
|
|
64
|
+
depositCreate
|
|
65
|
+
);
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Parameters
|
|
69
|
+
|
|
70
|
+
|Name | Type | Description | Notes|
|
|
71
|
+
|------------- | ------------- | ------------- | -------------|
|
|
72
|
+
| **depositCreate** | **DepositCreate**| | |
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Return type
|
|
76
|
+
|
|
77
|
+
**Deposit**
|
|
78
|
+
|
|
79
|
+
### Authorization
|
|
80
|
+
|
|
81
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
82
|
+
|
|
83
|
+
### HTTP request headers
|
|
84
|
+
|
|
85
|
+
- **Content-Type**: application/json
|
|
86
|
+
- **Accept**: application/json
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### HTTP response details
|
|
90
|
+
| Status code | Description | Response headers |
|
|
91
|
+
|-------------|-------------|------------------|
|
|
92
|
+
|**201** | | - |
|
|
93
|
+
|
|
94
|
+
[[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)
|
|
95
|
+
|
|
96
|
+
# **billingDepositsCreate2**
|
|
97
|
+
> Deposit billingDepositsCreate2(depositCreate)
|
|
98
|
+
|
|
99
|
+
Create a new funds deposit.
|
|
100
|
+
|
|
101
|
+
### Example
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
import {
|
|
105
|
+
BillingApi,
|
|
106
|
+
Configuration,
|
|
107
|
+
DepositCreate
|
|
108
|
+
} from '@pidginhost/sdk';
|
|
109
|
+
|
|
110
|
+
const configuration = new Configuration();
|
|
111
|
+
const apiInstance = new BillingApi(configuration);
|
|
112
|
+
|
|
113
|
+
let depositCreate: DepositCreate; //
|
|
114
|
+
|
|
115
|
+
const { status, data } = await apiInstance.billingDepositsCreate2(
|
|
116
|
+
depositCreate
|
|
117
|
+
);
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Parameters
|
|
121
|
+
|
|
122
|
+
|Name | Type | Description | Notes|
|
|
123
|
+
|------------- | ------------- | ------------- | -------------|
|
|
124
|
+
| **depositCreate** | **DepositCreate**| | |
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Return type
|
|
128
|
+
|
|
129
|
+
**Deposit**
|
|
130
|
+
|
|
131
|
+
### Authorization
|
|
132
|
+
|
|
133
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
134
|
+
|
|
135
|
+
### HTTP request headers
|
|
136
|
+
|
|
137
|
+
- **Content-Type**: application/json
|
|
138
|
+
- **Accept**: application/json
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### HTTP response details
|
|
142
|
+
| Status code | Description | Response headers |
|
|
143
|
+
|-------------|-------------|------------------|
|
|
144
|
+
|**201** | | - |
|
|
145
|
+
|
|
146
|
+
[[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)
|
|
147
|
+
|
|
148
|
+
# **billingDepositsList**
|
|
149
|
+
> PaginatedDepositList billingDepositsList()
|
|
150
|
+
|
|
151
|
+
List, create, and retrieve fund deposits.
|
|
152
|
+
|
|
153
|
+
### Example
|
|
154
|
+
|
|
155
|
+
```typescript
|
|
156
|
+
import {
|
|
157
|
+
BillingApi,
|
|
158
|
+
Configuration
|
|
159
|
+
} from '@pidginhost/sdk';
|
|
160
|
+
|
|
161
|
+
const configuration = new Configuration();
|
|
162
|
+
const apiInstance = new BillingApi(configuration);
|
|
163
|
+
|
|
164
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
165
|
+
|
|
166
|
+
const { status, data } = await apiInstance.billingDepositsList(
|
|
167
|
+
page
|
|
168
|
+
);
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Parameters
|
|
172
|
+
|
|
173
|
+
|Name | Type | Description | Notes|
|
|
174
|
+
|------------- | ------------- | ------------- | -------------|
|
|
175
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
### Return type
|
|
179
|
+
|
|
180
|
+
**PaginatedDepositList**
|
|
181
|
+
|
|
182
|
+
### Authorization
|
|
183
|
+
|
|
184
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
185
|
+
|
|
186
|
+
### HTTP request headers
|
|
187
|
+
|
|
188
|
+
- **Content-Type**: Not defined
|
|
189
|
+
- **Accept**: application/json
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### HTTP response details
|
|
193
|
+
| Status code | Description | Response headers |
|
|
194
|
+
|-------------|-------------|------------------|
|
|
195
|
+
|**200** | | - |
|
|
196
|
+
|
|
197
|
+
[[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)
|
|
198
|
+
|
|
199
|
+
# **billingDepositsList2**
|
|
200
|
+
> PaginatedDepositList billingDepositsList2()
|
|
201
|
+
|
|
202
|
+
List, create, and retrieve fund deposits.
|
|
203
|
+
|
|
204
|
+
### Example
|
|
205
|
+
|
|
206
|
+
```typescript
|
|
207
|
+
import {
|
|
208
|
+
BillingApi,
|
|
209
|
+
Configuration
|
|
210
|
+
} from '@pidginhost/sdk';
|
|
211
|
+
|
|
212
|
+
const configuration = new Configuration();
|
|
213
|
+
const apiInstance = new BillingApi(configuration);
|
|
214
|
+
|
|
215
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
216
|
+
|
|
217
|
+
const { status, data } = await apiInstance.billingDepositsList2(
|
|
218
|
+
page
|
|
219
|
+
);
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Parameters
|
|
223
|
+
|
|
224
|
+
|Name | Type | Description | Notes|
|
|
225
|
+
|------------- | ------------- | ------------- | -------------|
|
|
226
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Return type
|
|
230
|
+
|
|
231
|
+
**PaginatedDepositList**
|
|
232
|
+
|
|
233
|
+
### Authorization
|
|
234
|
+
|
|
235
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
236
|
+
|
|
237
|
+
### HTTP request headers
|
|
238
|
+
|
|
239
|
+
- **Content-Type**: Not defined
|
|
240
|
+
- **Accept**: application/json
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### HTTP response details
|
|
244
|
+
| Status code | Description | Response headers |
|
|
245
|
+
|-------------|-------------|------------------|
|
|
246
|
+
|**200** | | - |
|
|
247
|
+
|
|
248
|
+
[[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)
|
|
249
|
+
|
|
250
|
+
# **billingDepositsRetrieve**
|
|
251
|
+
> Deposit billingDepositsRetrieve()
|
|
252
|
+
|
|
253
|
+
List, create, and retrieve fund deposits.
|
|
254
|
+
|
|
255
|
+
### Example
|
|
256
|
+
|
|
257
|
+
```typescript
|
|
258
|
+
import {
|
|
259
|
+
BillingApi,
|
|
260
|
+
Configuration
|
|
261
|
+
} from '@pidginhost/sdk';
|
|
262
|
+
|
|
263
|
+
const configuration = new Configuration();
|
|
264
|
+
const apiInstance = new BillingApi(configuration);
|
|
265
|
+
|
|
266
|
+
let id: string; // (default to undefined)
|
|
267
|
+
|
|
268
|
+
const { status, data } = await apiInstance.billingDepositsRetrieve(
|
|
269
|
+
id
|
|
270
|
+
);
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Parameters
|
|
274
|
+
|
|
275
|
+
|Name | Type | Description | Notes|
|
|
276
|
+
|------------- | ------------- | ------------- | -------------|
|
|
277
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
### Return type
|
|
281
|
+
|
|
282
|
+
**Deposit**
|
|
283
|
+
|
|
284
|
+
### Authorization
|
|
285
|
+
|
|
286
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
287
|
+
|
|
288
|
+
### HTTP request headers
|
|
289
|
+
|
|
290
|
+
- **Content-Type**: Not defined
|
|
291
|
+
- **Accept**: application/json
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### HTTP response details
|
|
295
|
+
| Status code | Description | Response headers |
|
|
296
|
+
|-------------|-------------|------------------|
|
|
297
|
+
|**200** | | - |
|
|
298
|
+
|
|
299
|
+
[[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)
|
|
300
|
+
|
|
301
|
+
# **billingDepositsRetrieve2**
|
|
302
|
+
> Deposit billingDepositsRetrieve2()
|
|
303
|
+
|
|
304
|
+
List, create, and retrieve fund deposits.
|
|
305
|
+
|
|
306
|
+
### Example
|
|
307
|
+
|
|
308
|
+
```typescript
|
|
309
|
+
import {
|
|
310
|
+
BillingApi,
|
|
311
|
+
Configuration
|
|
312
|
+
} from '@pidginhost/sdk';
|
|
313
|
+
|
|
314
|
+
const configuration = new Configuration();
|
|
315
|
+
const apiInstance = new BillingApi(configuration);
|
|
316
|
+
|
|
317
|
+
let id: string; // (default to undefined)
|
|
318
|
+
|
|
319
|
+
const { status, data } = await apiInstance.billingDepositsRetrieve2(
|
|
320
|
+
id
|
|
321
|
+
);
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
### Parameters
|
|
325
|
+
|
|
326
|
+
|Name | Type | Description | Notes|
|
|
327
|
+
|------------- | ------------- | ------------- | -------------|
|
|
328
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### Return type
|
|
332
|
+
|
|
333
|
+
**Deposit**
|
|
334
|
+
|
|
335
|
+
### Authorization
|
|
336
|
+
|
|
337
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
338
|
+
|
|
339
|
+
### HTTP request headers
|
|
340
|
+
|
|
341
|
+
- **Content-Type**: Not defined
|
|
342
|
+
- **Accept**: application/json
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
### HTTP response details
|
|
346
|
+
| Status code | Description | Response headers |
|
|
347
|
+
|-------------|-------------|------------------|
|
|
348
|
+
|**200** | | - |
|
|
349
|
+
|
|
350
|
+
[[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)
|
|
351
|
+
|
|
352
|
+
# **billingFundsList**
|
|
353
|
+
> Array<FundsBalanceResponse> billingFundsList()
|
|
354
|
+
|
|
355
|
+
Get current funds balance and notification settings.
|
|
356
|
+
|
|
357
|
+
### Example
|
|
358
|
+
|
|
359
|
+
```typescript
|
|
360
|
+
import {
|
|
361
|
+
BillingApi,
|
|
362
|
+
Configuration
|
|
363
|
+
} from '@pidginhost/sdk';
|
|
364
|
+
|
|
365
|
+
const configuration = new Configuration();
|
|
366
|
+
const apiInstance = new BillingApi(configuration);
|
|
367
|
+
|
|
368
|
+
const { status, data } = await apiInstance.billingFundsList();
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Parameters
|
|
372
|
+
This endpoint does not have any parameters.
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
### Return type
|
|
376
|
+
|
|
377
|
+
**Array<FundsBalanceResponse>**
|
|
378
|
+
|
|
379
|
+
### Authorization
|
|
380
|
+
|
|
381
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
382
|
+
|
|
383
|
+
### HTTP request headers
|
|
384
|
+
|
|
385
|
+
- **Content-Type**: Not defined
|
|
386
|
+
- **Accept**: application/json
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
### HTTP response details
|
|
390
|
+
| Status code | Description | Response headers |
|
|
391
|
+
|-------------|-------------|------------------|
|
|
392
|
+
|**200** | | - |
|
|
393
|
+
|
|
394
|
+
[[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)
|
|
395
|
+
|
|
396
|
+
# **billingFundsList2**
|
|
397
|
+
> Array<FundsBalanceResponse> billingFundsList2()
|
|
398
|
+
|
|
399
|
+
Get current funds balance and notification settings.
|
|
400
|
+
|
|
401
|
+
### Example
|
|
402
|
+
|
|
403
|
+
```typescript
|
|
404
|
+
import {
|
|
405
|
+
BillingApi,
|
|
406
|
+
Configuration
|
|
407
|
+
} from '@pidginhost/sdk';
|
|
408
|
+
|
|
409
|
+
const configuration = new Configuration();
|
|
410
|
+
const apiInstance = new BillingApi(configuration);
|
|
411
|
+
|
|
412
|
+
const { status, data } = await apiInstance.billingFundsList2();
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### Parameters
|
|
416
|
+
This endpoint does not have any parameters.
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
### Return type
|
|
420
|
+
|
|
421
|
+
**Array<FundsBalanceResponse>**
|
|
422
|
+
|
|
423
|
+
### Authorization
|
|
424
|
+
|
|
425
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
426
|
+
|
|
427
|
+
### HTTP request headers
|
|
428
|
+
|
|
429
|
+
- **Content-Type**: Not defined
|
|
430
|
+
- **Accept**: application/json
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
### HTTP response details
|
|
434
|
+
| Status code | Description | Response headers |
|
|
435
|
+
|-------------|-------------|------------------|
|
|
436
|
+
|**200** | | - |
|
|
437
|
+
|
|
438
|
+
[[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)
|
|
439
|
+
|
|
440
|
+
# **billingFundsLogList**
|
|
441
|
+
> PaginatedFundsLogList billingFundsLogList()
|
|
442
|
+
|
|
443
|
+
List funds log entries for the authenticated user.
|
|
444
|
+
|
|
445
|
+
### Example
|
|
446
|
+
|
|
447
|
+
```typescript
|
|
448
|
+
import {
|
|
449
|
+
BillingApi,
|
|
450
|
+
Configuration
|
|
451
|
+
} from '@pidginhost/sdk';
|
|
452
|
+
|
|
453
|
+
const configuration = new Configuration();
|
|
454
|
+
const apiInstance = new BillingApi(configuration);
|
|
455
|
+
|
|
456
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
457
|
+
|
|
458
|
+
const { status, data } = await apiInstance.billingFundsLogList(
|
|
459
|
+
page
|
|
460
|
+
);
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
### Parameters
|
|
464
|
+
|
|
465
|
+
|Name | Type | Description | Notes|
|
|
466
|
+
|------------- | ------------- | ------------- | -------------|
|
|
467
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
### Return type
|
|
471
|
+
|
|
472
|
+
**PaginatedFundsLogList**
|
|
473
|
+
|
|
474
|
+
### Authorization
|
|
475
|
+
|
|
476
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
477
|
+
|
|
478
|
+
### HTTP request headers
|
|
479
|
+
|
|
480
|
+
- **Content-Type**: Not defined
|
|
481
|
+
- **Accept**: application/json
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
### HTTP response details
|
|
485
|
+
| Status code | Description | Response headers |
|
|
486
|
+
|-------------|-------------|------------------|
|
|
487
|
+
|**200** | | - |
|
|
488
|
+
|
|
489
|
+
[[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)
|
|
490
|
+
|
|
491
|
+
# **billingFundsLogList2**
|
|
492
|
+
> PaginatedFundsLogList billingFundsLogList2()
|
|
493
|
+
|
|
494
|
+
List funds log entries for the authenticated user.
|
|
495
|
+
|
|
496
|
+
### Example
|
|
497
|
+
|
|
498
|
+
```typescript
|
|
499
|
+
import {
|
|
500
|
+
BillingApi,
|
|
501
|
+
Configuration
|
|
502
|
+
} from '@pidginhost/sdk';
|
|
503
|
+
|
|
504
|
+
const configuration = new Configuration();
|
|
505
|
+
const apiInstance = new BillingApi(configuration);
|
|
506
|
+
|
|
507
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
508
|
+
|
|
509
|
+
const { status, data } = await apiInstance.billingFundsLogList2(
|
|
510
|
+
page
|
|
511
|
+
);
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
### Parameters
|
|
515
|
+
|
|
516
|
+
|Name | Type | Description | Notes|
|
|
517
|
+
|------------- | ------------- | ------------- | -------------|
|
|
518
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
### Return type
|
|
522
|
+
|
|
523
|
+
**PaginatedFundsLogList**
|
|
524
|
+
|
|
525
|
+
### Authorization
|
|
526
|
+
|
|
527
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
528
|
+
|
|
529
|
+
### HTTP request headers
|
|
530
|
+
|
|
531
|
+
- **Content-Type**: Not defined
|
|
532
|
+
- **Accept**: application/json
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
### HTTP response details
|
|
536
|
+
| Status code | Description | Response headers |
|
|
537
|
+
|-------------|-------------|------------------|
|
|
538
|
+
|**200** | | - |
|
|
539
|
+
|
|
540
|
+
[[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)
|
|
541
|
+
|
|
542
|
+
# **billingFundsNotificationSettingsCreate**
|
|
543
|
+
> NotificationSettingsResponse billingFundsNotificationSettingsCreate(lowBalanceSettings)
|
|
544
|
+
|
|
545
|
+
Update low-balance notification settings.
|
|
546
|
+
|
|
547
|
+
### Example
|
|
548
|
+
|
|
549
|
+
```typescript
|
|
550
|
+
import {
|
|
551
|
+
BillingApi,
|
|
552
|
+
Configuration,
|
|
553
|
+
LowBalanceSettings
|
|
554
|
+
} from '@pidginhost/sdk';
|
|
555
|
+
|
|
556
|
+
const configuration = new Configuration();
|
|
557
|
+
const apiInstance = new BillingApi(configuration);
|
|
558
|
+
|
|
559
|
+
let lowBalanceSettings: LowBalanceSettings; //
|
|
560
|
+
|
|
561
|
+
const { status, data } = await apiInstance.billingFundsNotificationSettingsCreate(
|
|
562
|
+
lowBalanceSettings
|
|
563
|
+
);
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
### Parameters
|
|
567
|
+
|
|
568
|
+
|Name | Type | Description | Notes|
|
|
569
|
+
|------------- | ------------- | ------------- | -------------|
|
|
570
|
+
| **lowBalanceSettings** | **LowBalanceSettings**| | |
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
### Return type
|
|
574
|
+
|
|
575
|
+
**NotificationSettingsResponse**
|
|
576
|
+
|
|
577
|
+
### Authorization
|
|
578
|
+
|
|
579
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
580
|
+
|
|
581
|
+
### HTTP request headers
|
|
582
|
+
|
|
583
|
+
- **Content-Type**: application/json
|
|
584
|
+
- **Accept**: application/json
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
### HTTP response details
|
|
588
|
+
| Status code | Description | Response headers |
|
|
589
|
+
|-------------|-------------|------------------|
|
|
590
|
+
|**200** | | - |
|
|
591
|
+
|
|
592
|
+
[[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)
|
|
593
|
+
|
|
594
|
+
# **billingFundsNotificationSettingsCreate2**
|
|
595
|
+
> NotificationSettingsResponse billingFundsNotificationSettingsCreate2(lowBalanceSettings)
|
|
596
|
+
|
|
597
|
+
Update low-balance notification settings.
|
|
598
|
+
|
|
599
|
+
### Example
|
|
600
|
+
|
|
601
|
+
```typescript
|
|
602
|
+
import {
|
|
603
|
+
BillingApi,
|
|
604
|
+
Configuration,
|
|
605
|
+
LowBalanceSettings
|
|
606
|
+
} from '@pidginhost/sdk';
|
|
607
|
+
|
|
608
|
+
const configuration = new Configuration();
|
|
609
|
+
const apiInstance = new BillingApi(configuration);
|
|
610
|
+
|
|
611
|
+
let lowBalanceSettings: LowBalanceSettings; //
|
|
612
|
+
|
|
613
|
+
const { status, data } = await apiInstance.billingFundsNotificationSettingsCreate2(
|
|
614
|
+
lowBalanceSettings
|
|
615
|
+
);
|
|
616
|
+
```
|
|
617
|
+
|
|
618
|
+
### Parameters
|
|
619
|
+
|
|
620
|
+
|Name | Type | Description | Notes|
|
|
621
|
+
|------------- | ------------- | ------------- | -------------|
|
|
622
|
+
| **lowBalanceSettings** | **LowBalanceSettings**| | |
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
### Return type
|
|
626
|
+
|
|
627
|
+
**NotificationSettingsResponse**
|
|
628
|
+
|
|
629
|
+
### Authorization
|
|
630
|
+
|
|
631
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
632
|
+
|
|
633
|
+
### HTTP request headers
|
|
634
|
+
|
|
635
|
+
- **Content-Type**: application/json
|
|
636
|
+
- **Accept**: application/json
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
### HTTP response details
|
|
640
|
+
| Status code | Description | Response headers |
|
|
641
|
+
|-------------|-------------|------------------|
|
|
642
|
+
|**200** | | - |
|
|
643
|
+
|
|
644
|
+
[[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)
|
|
645
|
+
|
|
646
|
+
# **billingInvoicesList**
|
|
647
|
+
> PaginatedInvoiceListList billingInvoicesList()
|
|
648
|
+
|
|
649
|
+
List and retrieve invoices. Pay with funds or download PDF.
|
|
650
|
+
|
|
651
|
+
### Example
|
|
652
|
+
|
|
653
|
+
```typescript
|
|
654
|
+
import {
|
|
655
|
+
BillingApi,
|
|
656
|
+
Configuration
|
|
657
|
+
} from '@pidginhost/sdk';
|
|
658
|
+
|
|
659
|
+
const configuration = new Configuration();
|
|
660
|
+
const apiInstance = new BillingApi(configuration);
|
|
661
|
+
|
|
662
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
663
|
+
|
|
664
|
+
const { status, data } = await apiInstance.billingInvoicesList(
|
|
665
|
+
page
|
|
666
|
+
);
|
|
667
|
+
```
|
|
668
|
+
|
|
669
|
+
### Parameters
|
|
670
|
+
|
|
671
|
+
|Name | Type | Description | Notes|
|
|
672
|
+
|------------- | ------------- | ------------- | -------------|
|
|
673
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
### Return type
|
|
677
|
+
|
|
678
|
+
**PaginatedInvoiceListList**
|
|
679
|
+
|
|
680
|
+
### Authorization
|
|
681
|
+
|
|
682
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
683
|
+
|
|
684
|
+
### HTTP request headers
|
|
685
|
+
|
|
686
|
+
- **Content-Type**: Not defined
|
|
687
|
+
- **Accept**: application/json
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
### HTTP response details
|
|
691
|
+
| Status code | Description | Response headers |
|
|
692
|
+
|-------------|-------------|------------------|
|
|
693
|
+
|**200** | | - |
|
|
694
|
+
|
|
695
|
+
[[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)
|
|
696
|
+
|
|
697
|
+
# **billingInvoicesList2**
|
|
698
|
+
> PaginatedInvoiceListList billingInvoicesList2()
|
|
699
|
+
|
|
700
|
+
List and retrieve invoices. Pay with funds or download PDF.
|
|
701
|
+
|
|
702
|
+
### Example
|
|
703
|
+
|
|
704
|
+
```typescript
|
|
705
|
+
import {
|
|
706
|
+
BillingApi,
|
|
707
|
+
Configuration
|
|
708
|
+
} from '@pidginhost/sdk';
|
|
709
|
+
|
|
710
|
+
const configuration = new Configuration();
|
|
711
|
+
const apiInstance = new BillingApi(configuration);
|
|
712
|
+
|
|
713
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
714
|
+
|
|
715
|
+
const { status, data } = await apiInstance.billingInvoicesList2(
|
|
716
|
+
page
|
|
717
|
+
);
|
|
718
|
+
```
|
|
719
|
+
|
|
720
|
+
### Parameters
|
|
721
|
+
|
|
722
|
+
|Name | Type | Description | Notes|
|
|
723
|
+
|------------- | ------------- | ------------- | -------------|
|
|
724
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
### Return type
|
|
728
|
+
|
|
729
|
+
**PaginatedInvoiceListList**
|
|
730
|
+
|
|
731
|
+
### Authorization
|
|
732
|
+
|
|
733
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
734
|
+
|
|
735
|
+
### HTTP request headers
|
|
736
|
+
|
|
737
|
+
- **Content-Type**: Not defined
|
|
738
|
+
- **Accept**: application/json
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
### HTTP response details
|
|
742
|
+
| Status code | Description | Response headers |
|
|
743
|
+
|-------------|-------------|------------------|
|
|
744
|
+
|**200** | | - |
|
|
745
|
+
|
|
746
|
+
[[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)
|
|
747
|
+
|
|
748
|
+
# **billingInvoicesPayWithFundsCreate**
|
|
749
|
+
> PayWithFundsResponse billingInvoicesPayWithFundsCreate()
|
|
750
|
+
|
|
751
|
+
Pay an unpaid/overdue invoice using account funds.
|
|
752
|
+
|
|
753
|
+
### Example
|
|
754
|
+
|
|
755
|
+
```typescript
|
|
756
|
+
import {
|
|
757
|
+
BillingApi,
|
|
758
|
+
Configuration
|
|
759
|
+
} from '@pidginhost/sdk';
|
|
760
|
+
|
|
761
|
+
const configuration = new Configuration();
|
|
762
|
+
const apiInstance = new BillingApi(configuration);
|
|
763
|
+
|
|
764
|
+
let id: string; // (default to undefined)
|
|
765
|
+
|
|
766
|
+
const { status, data } = await apiInstance.billingInvoicesPayWithFundsCreate(
|
|
767
|
+
id
|
|
768
|
+
);
|
|
769
|
+
```
|
|
770
|
+
|
|
771
|
+
### Parameters
|
|
772
|
+
|
|
773
|
+
|Name | Type | Description | Notes|
|
|
774
|
+
|------------- | ------------- | ------------- | -------------|
|
|
775
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
### Return type
|
|
779
|
+
|
|
780
|
+
**PayWithFundsResponse**
|
|
781
|
+
|
|
782
|
+
### Authorization
|
|
783
|
+
|
|
784
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
785
|
+
|
|
786
|
+
### HTTP request headers
|
|
787
|
+
|
|
788
|
+
- **Content-Type**: Not defined
|
|
789
|
+
- **Accept**: application/json
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
### HTTP response details
|
|
793
|
+
| Status code | Description | Response headers |
|
|
794
|
+
|-------------|-------------|------------------|
|
|
795
|
+
|**200** | | - |
|
|
796
|
+
|
|
797
|
+
[[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)
|
|
798
|
+
|
|
799
|
+
# **billingInvoicesPayWithFundsCreate2**
|
|
800
|
+
> PayWithFundsResponse billingInvoicesPayWithFundsCreate2()
|
|
801
|
+
|
|
802
|
+
Pay an unpaid/overdue invoice using account funds.
|
|
803
|
+
|
|
804
|
+
### Example
|
|
805
|
+
|
|
806
|
+
```typescript
|
|
807
|
+
import {
|
|
808
|
+
BillingApi,
|
|
809
|
+
Configuration
|
|
810
|
+
} from '@pidginhost/sdk';
|
|
811
|
+
|
|
812
|
+
const configuration = new Configuration();
|
|
813
|
+
const apiInstance = new BillingApi(configuration);
|
|
814
|
+
|
|
815
|
+
let id: string; // (default to undefined)
|
|
816
|
+
|
|
817
|
+
const { status, data } = await apiInstance.billingInvoicesPayWithFundsCreate2(
|
|
818
|
+
id
|
|
819
|
+
);
|
|
820
|
+
```
|
|
821
|
+
|
|
822
|
+
### Parameters
|
|
823
|
+
|
|
824
|
+
|Name | Type | Description | Notes|
|
|
825
|
+
|------------- | ------------- | ------------- | -------------|
|
|
826
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
### Return type
|
|
830
|
+
|
|
831
|
+
**PayWithFundsResponse**
|
|
832
|
+
|
|
833
|
+
### Authorization
|
|
834
|
+
|
|
835
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
836
|
+
|
|
837
|
+
### HTTP request headers
|
|
838
|
+
|
|
839
|
+
- **Content-Type**: Not defined
|
|
840
|
+
- **Accept**: application/json
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
### HTTP response details
|
|
844
|
+
| Status code | Description | Response headers |
|
|
845
|
+
|-------------|-------------|------------------|
|
|
846
|
+
|**200** | | - |
|
|
847
|
+
|
|
848
|
+
[[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)
|
|
849
|
+
|
|
850
|
+
# **billingInvoicesPdfRetrieve**
|
|
851
|
+
> File billingInvoicesPdfRetrieve()
|
|
852
|
+
|
|
853
|
+
Download invoice PDF. Use ?type=proforma or ?type=fiscal.
|
|
854
|
+
|
|
855
|
+
### Example
|
|
856
|
+
|
|
857
|
+
```typescript
|
|
858
|
+
import {
|
|
859
|
+
BillingApi,
|
|
860
|
+
Configuration
|
|
861
|
+
} from '@pidginhost/sdk';
|
|
862
|
+
|
|
863
|
+
const configuration = new Configuration();
|
|
864
|
+
const apiInstance = new BillingApi(configuration);
|
|
865
|
+
|
|
866
|
+
let id: string; // (default to undefined)
|
|
867
|
+
|
|
868
|
+
const { status, data } = await apiInstance.billingInvoicesPdfRetrieve(
|
|
869
|
+
id
|
|
870
|
+
);
|
|
871
|
+
```
|
|
872
|
+
|
|
873
|
+
### Parameters
|
|
874
|
+
|
|
875
|
+
|Name | Type | Description | Notes|
|
|
876
|
+
|------------- | ------------- | ------------- | -------------|
|
|
877
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
### Return type
|
|
881
|
+
|
|
882
|
+
**File**
|
|
883
|
+
|
|
884
|
+
### Authorization
|
|
885
|
+
|
|
886
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
887
|
+
|
|
888
|
+
### HTTP request headers
|
|
889
|
+
|
|
890
|
+
- **Content-Type**: Not defined
|
|
891
|
+
- **Accept**: application/json
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
### HTTP response details
|
|
895
|
+
| Status code | Description | Response headers |
|
|
896
|
+
|-------------|-------------|------------------|
|
|
897
|
+
|**200** | | - |
|
|
898
|
+
|
|
899
|
+
[[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)
|
|
900
|
+
|
|
901
|
+
# **billingInvoicesPdfRetrieve2**
|
|
902
|
+
> File billingInvoicesPdfRetrieve2()
|
|
903
|
+
|
|
904
|
+
Download invoice PDF. Use ?type=proforma or ?type=fiscal.
|
|
905
|
+
|
|
906
|
+
### Example
|
|
907
|
+
|
|
908
|
+
```typescript
|
|
909
|
+
import {
|
|
910
|
+
BillingApi,
|
|
911
|
+
Configuration
|
|
912
|
+
} from '@pidginhost/sdk';
|
|
913
|
+
|
|
914
|
+
const configuration = new Configuration();
|
|
915
|
+
const apiInstance = new BillingApi(configuration);
|
|
916
|
+
|
|
917
|
+
let id: string; // (default to undefined)
|
|
918
|
+
|
|
919
|
+
const { status, data } = await apiInstance.billingInvoicesPdfRetrieve2(
|
|
920
|
+
id
|
|
921
|
+
);
|
|
922
|
+
```
|
|
923
|
+
|
|
924
|
+
### Parameters
|
|
925
|
+
|
|
926
|
+
|Name | Type | Description | Notes|
|
|
927
|
+
|------------- | ------------- | ------------- | -------------|
|
|
928
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
### Return type
|
|
932
|
+
|
|
933
|
+
**File**
|
|
934
|
+
|
|
935
|
+
### Authorization
|
|
936
|
+
|
|
937
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
938
|
+
|
|
939
|
+
### HTTP request headers
|
|
940
|
+
|
|
941
|
+
- **Content-Type**: Not defined
|
|
942
|
+
- **Accept**: application/json
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
### HTTP response details
|
|
946
|
+
| Status code | Description | Response headers |
|
|
947
|
+
|-------------|-------------|------------------|
|
|
948
|
+
|**200** | | - |
|
|
949
|
+
|
|
950
|
+
[[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)
|
|
951
|
+
|
|
952
|
+
# **billingInvoicesRetrieve**
|
|
953
|
+
> InvoiceDetail billingInvoicesRetrieve()
|
|
954
|
+
|
|
955
|
+
List and retrieve invoices. Pay with funds or download PDF.
|
|
956
|
+
|
|
957
|
+
### Example
|
|
958
|
+
|
|
959
|
+
```typescript
|
|
960
|
+
import {
|
|
961
|
+
BillingApi,
|
|
962
|
+
Configuration
|
|
963
|
+
} from '@pidginhost/sdk';
|
|
964
|
+
|
|
965
|
+
const configuration = new Configuration();
|
|
966
|
+
const apiInstance = new BillingApi(configuration);
|
|
967
|
+
|
|
968
|
+
let id: string; // (default to undefined)
|
|
969
|
+
|
|
970
|
+
const { status, data } = await apiInstance.billingInvoicesRetrieve(
|
|
971
|
+
id
|
|
972
|
+
);
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
### Parameters
|
|
976
|
+
|
|
977
|
+
|Name | Type | Description | Notes|
|
|
978
|
+
|------------- | ------------- | ------------- | -------------|
|
|
979
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
### Return type
|
|
983
|
+
|
|
984
|
+
**InvoiceDetail**
|
|
985
|
+
|
|
986
|
+
### Authorization
|
|
987
|
+
|
|
988
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
989
|
+
|
|
990
|
+
### HTTP request headers
|
|
991
|
+
|
|
992
|
+
- **Content-Type**: Not defined
|
|
993
|
+
- **Accept**: application/json
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
### HTTP response details
|
|
997
|
+
| Status code | Description | Response headers |
|
|
998
|
+
|-------------|-------------|------------------|
|
|
999
|
+
|**200** | | - |
|
|
1000
|
+
|
|
1001
|
+
[[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)
|
|
1002
|
+
|
|
1003
|
+
# **billingInvoicesRetrieve2**
|
|
1004
|
+
> InvoiceDetail billingInvoicesRetrieve2()
|
|
1005
|
+
|
|
1006
|
+
List and retrieve invoices. Pay with funds or download PDF.
|
|
1007
|
+
|
|
1008
|
+
### Example
|
|
1009
|
+
|
|
1010
|
+
```typescript
|
|
1011
|
+
import {
|
|
1012
|
+
BillingApi,
|
|
1013
|
+
Configuration
|
|
1014
|
+
} from '@pidginhost/sdk';
|
|
1015
|
+
|
|
1016
|
+
const configuration = new Configuration();
|
|
1017
|
+
const apiInstance = new BillingApi(configuration);
|
|
1018
|
+
|
|
1019
|
+
let id: string; // (default to undefined)
|
|
1020
|
+
|
|
1021
|
+
const { status, data } = await apiInstance.billingInvoicesRetrieve2(
|
|
1022
|
+
id
|
|
1023
|
+
);
|
|
1024
|
+
```
|
|
1025
|
+
|
|
1026
|
+
### Parameters
|
|
1027
|
+
|
|
1028
|
+
|Name | Type | Description | Notes|
|
|
1029
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1030
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
### Return type
|
|
1034
|
+
|
|
1035
|
+
**InvoiceDetail**
|
|
1036
|
+
|
|
1037
|
+
### Authorization
|
|
1038
|
+
|
|
1039
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1040
|
+
|
|
1041
|
+
### HTTP request headers
|
|
1042
|
+
|
|
1043
|
+
- **Content-Type**: Not defined
|
|
1044
|
+
- **Accept**: application/json
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
### HTTP response details
|
|
1048
|
+
| Status code | Description | Response headers |
|
|
1049
|
+
|-------------|-------------|------------------|
|
|
1050
|
+
|**200** | | - |
|
|
1051
|
+
|
|
1052
|
+
[[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)
|
|
1053
|
+
|
|
1054
|
+
# **billingServicesCancelCreate**
|
|
1055
|
+
> CancelServiceResponse billingServicesCancelCreate()
|
|
1056
|
+
|
|
1057
|
+
Cancel a service. Pending services are cancelled immediately; active services are terminated.
|
|
1058
|
+
|
|
1059
|
+
### Example
|
|
1060
|
+
|
|
1061
|
+
```typescript
|
|
1062
|
+
import {
|
|
1063
|
+
BillingApi,
|
|
1064
|
+
Configuration
|
|
1065
|
+
} from '@pidginhost/sdk';
|
|
1066
|
+
|
|
1067
|
+
const configuration = new Configuration();
|
|
1068
|
+
const apiInstance = new BillingApi(configuration);
|
|
1069
|
+
|
|
1070
|
+
let id: string; // (default to undefined)
|
|
1071
|
+
|
|
1072
|
+
const { status, data } = await apiInstance.billingServicesCancelCreate(
|
|
1073
|
+
id
|
|
1074
|
+
);
|
|
1075
|
+
```
|
|
1076
|
+
|
|
1077
|
+
### Parameters
|
|
1078
|
+
|
|
1079
|
+
|Name | Type | Description | Notes|
|
|
1080
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1081
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
### Return type
|
|
1085
|
+
|
|
1086
|
+
**CancelServiceResponse**
|
|
1087
|
+
|
|
1088
|
+
### Authorization
|
|
1089
|
+
|
|
1090
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1091
|
+
|
|
1092
|
+
### HTTP request headers
|
|
1093
|
+
|
|
1094
|
+
- **Content-Type**: Not defined
|
|
1095
|
+
- **Accept**: application/json
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
### HTTP response details
|
|
1099
|
+
| Status code | Description | Response headers |
|
|
1100
|
+
|-------------|-------------|------------------|
|
|
1101
|
+
|**200** | | - |
|
|
1102
|
+
|
|
1103
|
+
[[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)
|
|
1104
|
+
|
|
1105
|
+
# **billingServicesCancelCreate2**
|
|
1106
|
+
> CancelServiceResponse billingServicesCancelCreate2()
|
|
1107
|
+
|
|
1108
|
+
Cancel a service. Pending services are cancelled immediately; active services are terminated.
|
|
1109
|
+
|
|
1110
|
+
### Example
|
|
1111
|
+
|
|
1112
|
+
```typescript
|
|
1113
|
+
import {
|
|
1114
|
+
BillingApi,
|
|
1115
|
+
Configuration
|
|
1116
|
+
} from '@pidginhost/sdk';
|
|
1117
|
+
|
|
1118
|
+
const configuration = new Configuration();
|
|
1119
|
+
const apiInstance = new BillingApi(configuration);
|
|
1120
|
+
|
|
1121
|
+
let id: string; // (default to undefined)
|
|
1122
|
+
|
|
1123
|
+
const { status, data } = await apiInstance.billingServicesCancelCreate2(
|
|
1124
|
+
id
|
|
1125
|
+
);
|
|
1126
|
+
```
|
|
1127
|
+
|
|
1128
|
+
### Parameters
|
|
1129
|
+
|
|
1130
|
+
|Name | Type | Description | Notes|
|
|
1131
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1132
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
### Return type
|
|
1136
|
+
|
|
1137
|
+
**CancelServiceResponse**
|
|
1138
|
+
|
|
1139
|
+
### Authorization
|
|
1140
|
+
|
|
1141
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1142
|
+
|
|
1143
|
+
### HTTP request headers
|
|
1144
|
+
|
|
1145
|
+
- **Content-Type**: Not defined
|
|
1146
|
+
- **Accept**: application/json
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
### HTTP response details
|
|
1150
|
+
| Status code | Description | Response headers |
|
|
1151
|
+
|-------------|-------------|------------------|
|
|
1152
|
+
|**200** | | - |
|
|
1153
|
+
|
|
1154
|
+
[[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)
|
|
1155
|
+
|
|
1156
|
+
# **billingServicesChangeBillingCycleCreate**
|
|
1157
|
+
> ChangeBillingCycleResponse billingServicesChangeBillingCycleCreate(changeBillingCycle)
|
|
1158
|
+
|
|
1159
|
+
Change the billing cycle of a service.
|
|
1160
|
+
|
|
1161
|
+
### Example
|
|
1162
|
+
|
|
1163
|
+
```typescript
|
|
1164
|
+
import {
|
|
1165
|
+
BillingApi,
|
|
1166
|
+
Configuration,
|
|
1167
|
+
ChangeBillingCycle
|
|
1168
|
+
} from '@pidginhost/sdk';
|
|
1169
|
+
|
|
1170
|
+
const configuration = new Configuration();
|
|
1171
|
+
const apiInstance = new BillingApi(configuration);
|
|
1172
|
+
|
|
1173
|
+
let id: string; // (default to undefined)
|
|
1174
|
+
let changeBillingCycle: ChangeBillingCycle; //
|
|
1175
|
+
|
|
1176
|
+
const { status, data } = await apiInstance.billingServicesChangeBillingCycleCreate(
|
|
1177
|
+
id,
|
|
1178
|
+
changeBillingCycle
|
|
1179
|
+
);
|
|
1180
|
+
```
|
|
1181
|
+
|
|
1182
|
+
### Parameters
|
|
1183
|
+
|
|
1184
|
+
|Name | Type | Description | Notes|
|
|
1185
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1186
|
+
| **changeBillingCycle** | **ChangeBillingCycle**| | |
|
|
1187
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
### Return type
|
|
1191
|
+
|
|
1192
|
+
**ChangeBillingCycleResponse**
|
|
1193
|
+
|
|
1194
|
+
### Authorization
|
|
1195
|
+
|
|
1196
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1197
|
+
|
|
1198
|
+
### HTTP request headers
|
|
1199
|
+
|
|
1200
|
+
- **Content-Type**: application/json
|
|
1201
|
+
- **Accept**: application/json
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
### HTTP response details
|
|
1205
|
+
| Status code | Description | Response headers |
|
|
1206
|
+
|-------------|-------------|------------------|
|
|
1207
|
+
|**200** | | - |
|
|
1208
|
+
|
|
1209
|
+
[[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)
|
|
1210
|
+
|
|
1211
|
+
# **billingServicesChangeBillingCycleCreate2**
|
|
1212
|
+
> ChangeBillingCycleResponse billingServicesChangeBillingCycleCreate2(changeBillingCycle)
|
|
1213
|
+
|
|
1214
|
+
Change the billing cycle of a service.
|
|
1215
|
+
|
|
1216
|
+
### Example
|
|
1217
|
+
|
|
1218
|
+
```typescript
|
|
1219
|
+
import {
|
|
1220
|
+
BillingApi,
|
|
1221
|
+
Configuration,
|
|
1222
|
+
ChangeBillingCycle
|
|
1223
|
+
} from '@pidginhost/sdk';
|
|
1224
|
+
|
|
1225
|
+
const configuration = new Configuration();
|
|
1226
|
+
const apiInstance = new BillingApi(configuration);
|
|
1227
|
+
|
|
1228
|
+
let id: string; // (default to undefined)
|
|
1229
|
+
let changeBillingCycle: ChangeBillingCycle; //
|
|
1230
|
+
|
|
1231
|
+
const { status, data } = await apiInstance.billingServicesChangeBillingCycleCreate2(
|
|
1232
|
+
id,
|
|
1233
|
+
changeBillingCycle
|
|
1234
|
+
);
|
|
1235
|
+
```
|
|
1236
|
+
|
|
1237
|
+
### Parameters
|
|
1238
|
+
|
|
1239
|
+
|Name | Type | Description | Notes|
|
|
1240
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1241
|
+
| **changeBillingCycle** | **ChangeBillingCycle**| | |
|
|
1242
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
### Return type
|
|
1246
|
+
|
|
1247
|
+
**ChangeBillingCycleResponse**
|
|
1248
|
+
|
|
1249
|
+
### Authorization
|
|
1250
|
+
|
|
1251
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1252
|
+
|
|
1253
|
+
### HTTP request headers
|
|
1254
|
+
|
|
1255
|
+
- **Content-Type**: application/json
|
|
1256
|
+
- **Accept**: application/json
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
### HTTP response details
|
|
1260
|
+
| Status code | Description | Response headers |
|
|
1261
|
+
|-------------|-------------|------------------|
|
|
1262
|
+
|**200** | | - |
|
|
1263
|
+
|
|
1264
|
+
[[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)
|
|
1265
|
+
|
|
1266
|
+
# **billingServicesChangeCompanyCreate**
|
|
1267
|
+
> ChangeCompanyResponse billingServicesChangeCompanyCreate()
|
|
1268
|
+
|
|
1269
|
+
Change the company associated with a service.
|
|
1270
|
+
|
|
1271
|
+
### Example
|
|
1272
|
+
|
|
1273
|
+
```typescript
|
|
1274
|
+
import {
|
|
1275
|
+
BillingApi,
|
|
1276
|
+
Configuration,
|
|
1277
|
+
ChangeCompany
|
|
1278
|
+
} from '@pidginhost/sdk';
|
|
1279
|
+
|
|
1280
|
+
const configuration = new Configuration();
|
|
1281
|
+
const apiInstance = new BillingApi(configuration);
|
|
1282
|
+
|
|
1283
|
+
let id: string; // (default to undefined)
|
|
1284
|
+
let changeCompany: ChangeCompany; // (optional)
|
|
1285
|
+
|
|
1286
|
+
const { status, data } = await apiInstance.billingServicesChangeCompanyCreate(
|
|
1287
|
+
id,
|
|
1288
|
+
changeCompany
|
|
1289
|
+
);
|
|
1290
|
+
```
|
|
1291
|
+
|
|
1292
|
+
### Parameters
|
|
1293
|
+
|
|
1294
|
+
|Name | Type | Description | Notes|
|
|
1295
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1296
|
+
| **changeCompany** | **ChangeCompany**| | |
|
|
1297
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
### Return type
|
|
1301
|
+
|
|
1302
|
+
**ChangeCompanyResponse**
|
|
1303
|
+
|
|
1304
|
+
### Authorization
|
|
1305
|
+
|
|
1306
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1307
|
+
|
|
1308
|
+
### HTTP request headers
|
|
1309
|
+
|
|
1310
|
+
- **Content-Type**: application/json
|
|
1311
|
+
- **Accept**: application/json
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
### HTTP response details
|
|
1315
|
+
| Status code | Description | Response headers |
|
|
1316
|
+
|-------------|-------------|------------------|
|
|
1317
|
+
|**200** | | - |
|
|
1318
|
+
|
|
1319
|
+
[[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)
|
|
1320
|
+
|
|
1321
|
+
# **billingServicesChangeCompanyCreate2**
|
|
1322
|
+
> ChangeCompanyResponse billingServicesChangeCompanyCreate2()
|
|
1323
|
+
|
|
1324
|
+
Change the company associated with a service.
|
|
1325
|
+
|
|
1326
|
+
### Example
|
|
1327
|
+
|
|
1328
|
+
```typescript
|
|
1329
|
+
import {
|
|
1330
|
+
BillingApi,
|
|
1331
|
+
Configuration,
|
|
1332
|
+
ChangeCompany
|
|
1333
|
+
} from '@pidginhost/sdk';
|
|
1334
|
+
|
|
1335
|
+
const configuration = new Configuration();
|
|
1336
|
+
const apiInstance = new BillingApi(configuration);
|
|
1337
|
+
|
|
1338
|
+
let id: string; // (default to undefined)
|
|
1339
|
+
let changeCompany: ChangeCompany; // (optional)
|
|
1340
|
+
|
|
1341
|
+
const { status, data } = await apiInstance.billingServicesChangeCompanyCreate2(
|
|
1342
|
+
id,
|
|
1343
|
+
changeCompany
|
|
1344
|
+
);
|
|
1345
|
+
```
|
|
1346
|
+
|
|
1347
|
+
### Parameters
|
|
1348
|
+
|
|
1349
|
+
|Name | Type | Description | Notes|
|
|
1350
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1351
|
+
| **changeCompany** | **ChangeCompany**| | |
|
|
1352
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
### Return type
|
|
1356
|
+
|
|
1357
|
+
**ChangeCompanyResponse**
|
|
1358
|
+
|
|
1359
|
+
### Authorization
|
|
1360
|
+
|
|
1361
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1362
|
+
|
|
1363
|
+
### HTTP request headers
|
|
1364
|
+
|
|
1365
|
+
- **Content-Type**: application/json
|
|
1366
|
+
- **Accept**: application/json
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
### HTTP response details
|
|
1370
|
+
| Status code | Description | Response headers |
|
|
1371
|
+
|-------------|-------------|------------------|
|
|
1372
|
+
|**200** | | - |
|
|
1373
|
+
|
|
1374
|
+
[[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)
|
|
1375
|
+
|
|
1376
|
+
# **billingServicesList**
|
|
1377
|
+
> PaginatedServiceListList billingServicesList()
|
|
1378
|
+
|
|
1379
|
+
List and manage billing services.
|
|
1380
|
+
|
|
1381
|
+
### Example
|
|
1382
|
+
|
|
1383
|
+
```typescript
|
|
1384
|
+
import {
|
|
1385
|
+
BillingApi,
|
|
1386
|
+
Configuration
|
|
1387
|
+
} from '@pidginhost/sdk';
|
|
1388
|
+
|
|
1389
|
+
const configuration = new Configuration();
|
|
1390
|
+
const apiInstance = new BillingApi(configuration);
|
|
1391
|
+
|
|
1392
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
1393
|
+
|
|
1394
|
+
const { status, data } = await apiInstance.billingServicesList(
|
|
1395
|
+
page
|
|
1396
|
+
);
|
|
1397
|
+
```
|
|
1398
|
+
|
|
1399
|
+
### Parameters
|
|
1400
|
+
|
|
1401
|
+
|Name | Type | Description | Notes|
|
|
1402
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1403
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
### Return type
|
|
1407
|
+
|
|
1408
|
+
**PaginatedServiceListList**
|
|
1409
|
+
|
|
1410
|
+
### Authorization
|
|
1411
|
+
|
|
1412
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1413
|
+
|
|
1414
|
+
### HTTP request headers
|
|
1415
|
+
|
|
1416
|
+
- **Content-Type**: Not defined
|
|
1417
|
+
- **Accept**: application/json
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
### HTTP response details
|
|
1421
|
+
| Status code | Description | Response headers |
|
|
1422
|
+
|-------------|-------------|------------------|
|
|
1423
|
+
|**200** | | - |
|
|
1424
|
+
|
|
1425
|
+
[[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)
|
|
1426
|
+
|
|
1427
|
+
# **billingServicesList2**
|
|
1428
|
+
> PaginatedServiceListList billingServicesList2()
|
|
1429
|
+
|
|
1430
|
+
List and manage billing services.
|
|
1431
|
+
|
|
1432
|
+
### Example
|
|
1433
|
+
|
|
1434
|
+
```typescript
|
|
1435
|
+
import {
|
|
1436
|
+
BillingApi,
|
|
1437
|
+
Configuration
|
|
1438
|
+
} from '@pidginhost/sdk';
|
|
1439
|
+
|
|
1440
|
+
const configuration = new Configuration();
|
|
1441
|
+
const apiInstance = new BillingApi(configuration);
|
|
1442
|
+
|
|
1443
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
1444
|
+
|
|
1445
|
+
const { status, data } = await apiInstance.billingServicesList2(
|
|
1446
|
+
page
|
|
1447
|
+
);
|
|
1448
|
+
```
|
|
1449
|
+
|
|
1450
|
+
### Parameters
|
|
1451
|
+
|
|
1452
|
+
|Name | Type | Description | Notes|
|
|
1453
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1454
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
### Return type
|
|
1458
|
+
|
|
1459
|
+
**PaginatedServiceListList**
|
|
1460
|
+
|
|
1461
|
+
### Authorization
|
|
1462
|
+
|
|
1463
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1464
|
+
|
|
1465
|
+
### HTTP request headers
|
|
1466
|
+
|
|
1467
|
+
- **Content-Type**: Not defined
|
|
1468
|
+
- **Accept**: application/json
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
### HTTP response details
|
|
1472
|
+
| Status code | Description | Response headers |
|
|
1473
|
+
|-------------|-------------|------------------|
|
|
1474
|
+
|**200** | | - |
|
|
1475
|
+
|
|
1476
|
+
[[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)
|
|
1477
|
+
|
|
1478
|
+
# **billingServicesRetrieve**
|
|
1479
|
+
> ServiceList billingServicesRetrieve()
|
|
1480
|
+
|
|
1481
|
+
List and manage billing services.
|
|
1482
|
+
|
|
1483
|
+
### Example
|
|
1484
|
+
|
|
1485
|
+
```typescript
|
|
1486
|
+
import {
|
|
1487
|
+
BillingApi,
|
|
1488
|
+
Configuration
|
|
1489
|
+
} from '@pidginhost/sdk';
|
|
1490
|
+
|
|
1491
|
+
const configuration = new Configuration();
|
|
1492
|
+
const apiInstance = new BillingApi(configuration);
|
|
1493
|
+
|
|
1494
|
+
let id: string; // (default to undefined)
|
|
1495
|
+
|
|
1496
|
+
const { status, data } = await apiInstance.billingServicesRetrieve(
|
|
1497
|
+
id
|
|
1498
|
+
);
|
|
1499
|
+
```
|
|
1500
|
+
|
|
1501
|
+
### Parameters
|
|
1502
|
+
|
|
1503
|
+
|Name | Type | Description | Notes|
|
|
1504
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1505
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
### Return type
|
|
1509
|
+
|
|
1510
|
+
**ServiceList**
|
|
1511
|
+
|
|
1512
|
+
### Authorization
|
|
1513
|
+
|
|
1514
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1515
|
+
|
|
1516
|
+
### HTTP request headers
|
|
1517
|
+
|
|
1518
|
+
- **Content-Type**: Not defined
|
|
1519
|
+
- **Accept**: application/json
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
### HTTP response details
|
|
1523
|
+
| Status code | Description | Response headers |
|
|
1524
|
+
|-------------|-------------|------------------|
|
|
1525
|
+
|**200** | | - |
|
|
1526
|
+
|
|
1527
|
+
[[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)
|
|
1528
|
+
|
|
1529
|
+
# **billingServicesRetrieve2**
|
|
1530
|
+
> ServiceList billingServicesRetrieve2()
|
|
1531
|
+
|
|
1532
|
+
List and manage billing services.
|
|
1533
|
+
|
|
1534
|
+
### Example
|
|
1535
|
+
|
|
1536
|
+
```typescript
|
|
1537
|
+
import {
|
|
1538
|
+
BillingApi,
|
|
1539
|
+
Configuration
|
|
1540
|
+
} from '@pidginhost/sdk';
|
|
1541
|
+
|
|
1542
|
+
const configuration = new Configuration();
|
|
1543
|
+
const apiInstance = new BillingApi(configuration);
|
|
1544
|
+
|
|
1545
|
+
let id: string; // (default to undefined)
|
|
1546
|
+
|
|
1547
|
+
const { status, data } = await apiInstance.billingServicesRetrieve2(
|
|
1548
|
+
id
|
|
1549
|
+
);
|
|
1550
|
+
```
|
|
1551
|
+
|
|
1552
|
+
### Parameters
|
|
1553
|
+
|
|
1554
|
+
|Name | Type | Description | Notes|
|
|
1555
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1556
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
### Return type
|
|
1560
|
+
|
|
1561
|
+
**ServiceList**
|
|
1562
|
+
|
|
1563
|
+
### Authorization
|
|
1564
|
+
|
|
1565
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1566
|
+
|
|
1567
|
+
### HTTP request headers
|
|
1568
|
+
|
|
1569
|
+
- **Content-Type**: Not defined
|
|
1570
|
+
- **Accept**: application/json
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
### HTTP response details
|
|
1574
|
+
| Status code | Description | Response headers |
|
|
1575
|
+
|-------------|-------------|------------------|
|
|
1576
|
+
|**200** | | - |
|
|
1577
|
+
|
|
1578
|
+
[[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)
|
|
1579
|
+
|
|
1580
|
+
# **billingServicesToggleAutoPaymentCreate**
|
|
1581
|
+
> ToggleAutoPaymentResponse billingServicesToggleAutoPaymentCreate()
|
|
1582
|
+
|
|
1583
|
+
Toggle automatic payment for a service.
|
|
1584
|
+
|
|
1585
|
+
### Example
|
|
1586
|
+
|
|
1587
|
+
```typescript
|
|
1588
|
+
import {
|
|
1589
|
+
BillingApi,
|
|
1590
|
+
Configuration
|
|
1591
|
+
} from '@pidginhost/sdk';
|
|
1592
|
+
|
|
1593
|
+
const configuration = new Configuration();
|
|
1594
|
+
const apiInstance = new BillingApi(configuration);
|
|
1595
|
+
|
|
1596
|
+
let id: string; // (default to undefined)
|
|
1597
|
+
|
|
1598
|
+
const { status, data } = await apiInstance.billingServicesToggleAutoPaymentCreate(
|
|
1599
|
+
id
|
|
1600
|
+
);
|
|
1601
|
+
```
|
|
1602
|
+
|
|
1603
|
+
### Parameters
|
|
1604
|
+
|
|
1605
|
+
|Name | Type | Description | Notes|
|
|
1606
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1607
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
### Return type
|
|
1611
|
+
|
|
1612
|
+
**ToggleAutoPaymentResponse**
|
|
1613
|
+
|
|
1614
|
+
### Authorization
|
|
1615
|
+
|
|
1616
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1617
|
+
|
|
1618
|
+
### HTTP request headers
|
|
1619
|
+
|
|
1620
|
+
- **Content-Type**: Not defined
|
|
1621
|
+
- **Accept**: application/json
|
|
1622
|
+
|
|
1623
|
+
|
|
1624
|
+
### HTTP response details
|
|
1625
|
+
| Status code | Description | Response headers |
|
|
1626
|
+
|-------------|-------------|------------------|
|
|
1627
|
+
|**200** | | - |
|
|
1628
|
+
|
|
1629
|
+
[[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)
|
|
1630
|
+
|
|
1631
|
+
# **billingServicesToggleAutoPaymentCreate2**
|
|
1632
|
+
> ToggleAutoPaymentResponse billingServicesToggleAutoPaymentCreate2()
|
|
1633
|
+
|
|
1634
|
+
Toggle automatic payment for a service.
|
|
1635
|
+
|
|
1636
|
+
### Example
|
|
1637
|
+
|
|
1638
|
+
```typescript
|
|
1639
|
+
import {
|
|
1640
|
+
BillingApi,
|
|
1641
|
+
Configuration
|
|
1642
|
+
} from '@pidginhost/sdk';
|
|
1643
|
+
|
|
1644
|
+
const configuration = new Configuration();
|
|
1645
|
+
const apiInstance = new BillingApi(configuration);
|
|
1646
|
+
|
|
1647
|
+
let id: string; // (default to undefined)
|
|
1648
|
+
|
|
1649
|
+
const { status, data } = await apiInstance.billingServicesToggleAutoPaymentCreate2(
|
|
1650
|
+
id
|
|
1651
|
+
);
|
|
1652
|
+
```
|
|
1653
|
+
|
|
1654
|
+
### Parameters
|
|
1655
|
+
|
|
1656
|
+
|Name | Type | Description | Notes|
|
|
1657
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1658
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
### Return type
|
|
1662
|
+
|
|
1663
|
+
**ToggleAutoPaymentResponse**
|
|
1664
|
+
|
|
1665
|
+
### Authorization
|
|
1666
|
+
|
|
1667
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1668
|
+
|
|
1669
|
+
### HTTP request headers
|
|
1670
|
+
|
|
1671
|
+
- **Content-Type**: Not defined
|
|
1672
|
+
- **Accept**: application/json
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
### HTTP response details
|
|
1676
|
+
| Status code | Description | Response headers |
|
|
1677
|
+
|-------------|-------------|------------------|
|
|
1678
|
+
|**200** | | - |
|
|
1679
|
+
|
|
1680
|
+
[[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)
|
|
1681
|
+
|
|
1682
|
+
# **billingSubscriptionsList**
|
|
1683
|
+
> PaginatedSubscriptionList billingSubscriptionsList()
|
|
1684
|
+
|
|
1685
|
+
List and retrieve subscriptions.
|
|
1686
|
+
|
|
1687
|
+
### Example
|
|
1688
|
+
|
|
1689
|
+
```typescript
|
|
1690
|
+
import {
|
|
1691
|
+
BillingApi,
|
|
1692
|
+
Configuration
|
|
1693
|
+
} from '@pidginhost/sdk';
|
|
1694
|
+
|
|
1695
|
+
const configuration = new Configuration();
|
|
1696
|
+
const apiInstance = new BillingApi(configuration);
|
|
1697
|
+
|
|
1698
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
1699
|
+
|
|
1700
|
+
const { status, data } = await apiInstance.billingSubscriptionsList(
|
|
1701
|
+
page
|
|
1702
|
+
);
|
|
1703
|
+
```
|
|
1704
|
+
|
|
1705
|
+
### Parameters
|
|
1706
|
+
|
|
1707
|
+
|Name | Type | Description | Notes|
|
|
1708
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1709
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
### Return type
|
|
1713
|
+
|
|
1714
|
+
**PaginatedSubscriptionList**
|
|
1715
|
+
|
|
1716
|
+
### Authorization
|
|
1717
|
+
|
|
1718
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1719
|
+
|
|
1720
|
+
### HTTP request headers
|
|
1721
|
+
|
|
1722
|
+
- **Content-Type**: Not defined
|
|
1723
|
+
- **Accept**: application/json
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
### HTTP response details
|
|
1727
|
+
| Status code | Description | Response headers |
|
|
1728
|
+
|-------------|-------------|------------------|
|
|
1729
|
+
|**200** | | - |
|
|
1730
|
+
|
|
1731
|
+
[[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)
|
|
1732
|
+
|
|
1733
|
+
# **billingSubscriptionsList2**
|
|
1734
|
+
> PaginatedSubscriptionList billingSubscriptionsList2()
|
|
1735
|
+
|
|
1736
|
+
List and retrieve subscriptions.
|
|
1737
|
+
|
|
1738
|
+
### Example
|
|
1739
|
+
|
|
1740
|
+
```typescript
|
|
1741
|
+
import {
|
|
1742
|
+
BillingApi,
|
|
1743
|
+
Configuration
|
|
1744
|
+
} from '@pidginhost/sdk';
|
|
1745
|
+
|
|
1746
|
+
const configuration = new Configuration();
|
|
1747
|
+
const apiInstance = new BillingApi(configuration);
|
|
1748
|
+
|
|
1749
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
1750
|
+
|
|
1751
|
+
const { status, data } = await apiInstance.billingSubscriptionsList2(
|
|
1752
|
+
page
|
|
1753
|
+
);
|
|
1754
|
+
```
|
|
1755
|
+
|
|
1756
|
+
### Parameters
|
|
1757
|
+
|
|
1758
|
+
|Name | Type | Description | Notes|
|
|
1759
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1760
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
### Return type
|
|
1764
|
+
|
|
1765
|
+
**PaginatedSubscriptionList**
|
|
1766
|
+
|
|
1767
|
+
### Authorization
|
|
1768
|
+
|
|
1769
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1770
|
+
|
|
1771
|
+
### HTTP request headers
|
|
1772
|
+
|
|
1773
|
+
- **Content-Type**: Not defined
|
|
1774
|
+
- **Accept**: application/json
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
### HTTP response details
|
|
1778
|
+
| Status code | Description | Response headers |
|
|
1779
|
+
|-------------|-------------|------------------|
|
|
1780
|
+
|**200** | | - |
|
|
1781
|
+
|
|
1782
|
+
[[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)
|
|
1783
|
+
|
|
1784
|
+
# **billingSubscriptionsRetrieve**
|
|
1785
|
+
> Subscription billingSubscriptionsRetrieve()
|
|
1786
|
+
|
|
1787
|
+
List and retrieve subscriptions.
|
|
1788
|
+
|
|
1789
|
+
### Example
|
|
1790
|
+
|
|
1791
|
+
```typescript
|
|
1792
|
+
import {
|
|
1793
|
+
BillingApi,
|
|
1794
|
+
Configuration
|
|
1795
|
+
} from '@pidginhost/sdk';
|
|
1796
|
+
|
|
1797
|
+
const configuration = new Configuration();
|
|
1798
|
+
const apiInstance = new BillingApi(configuration);
|
|
1799
|
+
|
|
1800
|
+
let id: string; // (default to undefined)
|
|
1801
|
+
|
|
1802
|
+
const { status, data } = await apiInstance.billingSubscriptionsRetrieve(
|
|
1803
|
+
id
|
|
1804
|
+
);
|
|
1805
|
+
```
|
|
1806
|
+
|
|
1807
|
+
### Parameters
|
|
1808
|
+
|
|
1809
|
+
|Name | Type | Description | Notes|
|
|
1810
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1811
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
### Return type
|
|
1815
|
+
|
|
1816
|
+
**Subscription**
|
|
1817
|
+
|
|
1818
|
+
### Authorization
|
|
1819
|
+
|
|
1820
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1821
|
+
|
|
1822
|
+
### HTTP request headers
|
|
1823
|
+
|
|
1824
|
+
- **Content-Type**: Not defined
|
|
1825
|
+
- **Accept**: application/json
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
### HTTP response details
|
|
1829
|
+
| Status code | Description | Response headers |
|
|
1830
|
+
|-------------|-------------|------------------|
|
|
1831
|
+
|**200** | | - |
|
|
1832
|
+
|
|
1833
|
+
[[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)
|
|
1834
|
+
|
|
1835
|
+
# **billingSubscriptionsRetrieve2**
|
|
1836
|
+
> Subscription billingSubscriptionsRetrieve2()
|
|
1837
|
+
|
|
1838
|
+
List and retrieve subscriptions.
|
|
1839
|
+
|
|
1840
|
+
### Example
|
|
1841
|
+
|
|
1842
|
+
```typescript
|
|
1843
|
+
import {
|
|
1844
|
+
BillingApi,
|
|
1845
|
+
Configuration
|
|
1846
|
+
} from '@pidginhost/sdk';
|
|
1847
|
+
|
|
1848
|
+
const configuration = new Configuration();
|
|
1849
|
+
const apiInstance = new BillingApi(configuration);
|
|
1850
|
+
|
|
1851
|
+
let id: string; // (default to undefined)
|
|
1852
|
+
|
|
1853
|
+
const { status, data } = await apiInstance.billingSubscriptionsRetrieve2(
|
|
1854
|
+
id
|
|
1855
|
+
);
|
|
1856
|
+
```
|
|
1857
|
+
|
|
1858
|
+
### Parameters
|
|
1859
|
+
|
|
1860
|
+
|Name | Type | Description | Notes|
|
|
1861
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1862
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
### Return type
|
|
1866
|
+
|
|
1867
|
+
**Subscription**
|
|
1868
|
+
|
|
1869
|
+
### Authorization
|
|
1870
|
+
|
|
1871
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
1872
|
+
|
|
1873
|
+
### HTTP request headers
|
|
1874
|
+
|
|
1875
|
+
- **Content-Type**: Not defined
|
|
1876
|
+
- **Accept**: application/json
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
### HTTP response details
|
|
1880
|
+
| Status code | Description | Response headers |
|
|
1881
|
+
|-------------|-------------|------------------|
|
|
1882
|
+
|**200** | | - |
|
|
1883
|
+
|
|
1884
|
+
[[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)
|
|
1885
|
+
|