Skip to content

Commit c8e327a

Browse files
committed
Update SDK
1 parent b3830c8 commit c8e327a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1572
-1015
lines changed

README.md

+32-8
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,20 @@
22
<img width="450px" src="https://ha-static-data.s3.eu-central-1.amazonaws.com/github-readme-logo-v2.png">
33
</p>
44

5-
<p align="center">
6-
<h1 style="text-align: center">BillaBear GO SDK</h1>
7-
</p>
5+
The REST API provided by BillaBear
86

9-
## Installation
7+
## Overview
8+
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
109

11-
```shell
12-
go get github.com/billabear/go-sdk
10+
- API version: 1.0.0
11+
- Package version: 1.0.0
12+
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
13+
For more information, please visit [http://www.billabear.com/support](http://www.billabear.com/support)
14+
15+
## Installation
16+
Put the package under your project folder and add the following in import:
17+
```golang
18+
import "./swagger"
1319
```
1420

1521
## Documentation for API Endpoints
@@ -22,12 +28,16 @@ Class | Method | HTTP request | Description
2228
*CustomersApi* | [**AddSeatsSubscriptions**](docs/CustomersApi.md#addseatssubscriptions) | **Post** /subscription/{subscriptionId}/seats/add | Add Seats
2329
*CustomersApi* | [**ApplyVoucherToCustomer**](docs/CustomersApi.md#applyvouchertocustomer) | **Post** /customer/{customerId}/voucher | Apply voucher
2430
*CustomersApi* | [**CreateCustomer**](docs/CustomersApi.md#createcustomer) | **Post** /customer | Create
31+
*CustomersApi* | [**CreateCustomerUsageLimit**](docs/CustomersApi.md#createcustomerusagelimit) | **Post** /customer/{customerId}/uasge-limit | Create Usage Limit
32+
*CustomersApi* | [**CustomerCustomerIdUasgeLimitLimitIdDelete**](docs/CustomersApi.md#customercustomeriduasgelimitlimitiddelete) | **Delete** /customer/{customerId}/uasge-limit/{limitId} | Delete Usage Limit
2533
*CustomersApi* | [**DisableCustomer**](docs/CustomersApi.md#disablecustomer) | **Post** /customer/{customerId}/disable | Disable Customer
2634
*CustomersApi* | [**EnableCustomer**](docs/CustomersApi.md#enablecustomer) | **Post** /customer/{customerId}/enable | Enable Customer
2735
*CustomersApi* | [**GetActiveForCustomer**](docs/CustomersApi.md#getactiveforcustomer) | **Get** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
2836
*CustomersApi* | [**GetAllCustomers**](docs/CustomersApi.md#getallcustomers) | **Get** /customer | List
2937
*CustomersApi* | [**GetCustomerById**](docs/CustomersApi.md#getcustomerbyid) | **Get** /customer/{customerId} | Detail
38+
*CustomersApi* | [**GetCustomerCosts**](docs/CustomersApi.md#getcustomercosts) | **Get** /customer/{customerId}/costs | Usage Cost Estimate
3039
*CustomersApi* | [**GetCustomerLimitsById**](docs/CustomersApi.md#getcustomerlimitsbyid) | **Get** /customer/{customerId}/limits | Fetch Customer Limits
40+
*CustomersApi* | [**GetCustomerUsageLimitsById**](docs/CustomersApi.md#getcustomerusagelimitsbyid) | **Get** /customer/{customerId}/uasge-limit | Fetch Customer Usage Limits
3141
*CustomersApi* | [**GetForCustomer**](docs/CustomersApi.md#getforcustomer) | **Get** /customer/{customerId}/subscription | List Customer Subscriptions
3242
*CustomersApi* | [**GetInvoicesForCustomer**](docs/CustomersApi.md#getinvoicesforcustomer) | **Get** /customer/{customerId}/invoices | List Customer Invoices
3343
*CustomersApi* | [**GetPaymentsForCustomer**](docs/CustomersApi.md#getpaymentsforcustomer) | **Get** /customer/{customerId}/payment | List Customer Payments
@@ -76,6 +86,11 @@ Class | Method | HTTP request | Description
7686
*SubscriptionsApi* | [**RemoveSeatsSubscriptions**](docs/SubscriptionsApi.md#removeseatssubscriptions) | **Post** /subscription/{subscriptionId}/seats/remove | Remove Seats
7787
*SubscriptionsApi* | [**ShowSubscriptionById**](docs/SubscriptionsApi.md#showsubscriptionbyid) | **Get** /subscription/{subscriptionId} | Detail
7888
*SubscriptionsApi* | [**StartTrial**](docs/SubscriptionsApi.md#starttrial) | **Post** /customer/{customerId}/subscription/trial | Start Trial Subscription For Customer
89+
*UsageApi* | [**CreateCustomerUsageLimit**](docs/UsageApi.md#createcustomerusagelimit) | **Post** /customer/{customerId}/uasge-limit | Create Usage Limit
90+
*UsageApi* | [**CreateEvent**](docs/UsageApi.md#createevent) | **Post** /events | Create Event
91+
*UsageApi* | [**CustomerCustomerIdUasgeLimitLimitIdDelete**](docs/UsageApi.md#customercustomeriduasgelimitlimitiddelete) | **Delete** /customer/{customerId}/uasge-limit/{limitId} | Delete Usage Limit
92+
*UsageApi* | [**GetCustomerCosts**](docs/UsageApi.md#getcustomercosts) | **Get** /customer/{customerId}/costs | Usage Cost Estimate
93+
*UsageApi* | [**GetCustomerUsageLimitsById**](docs/UsageApi.md#getcustomerusagelimitsbyid) | **Get** /customer/{customerId}/uasge-limit | Fetch Customer Usage Limits
7994

8095
## Documentation For Models
8196

@@ -84,31 +99,39 @@ Class | Method | HTTP request | Description
8499
- [CheckoutBody](docs/CheckoutBody.md)
85100
- [CheckoutItems](docs/CheckoutItems.md)
86101
- [CheckoutSubscriptions](docs/CheckoutSubscriptions.md)
102+
- [Cost](docs/Cost.md)
87103
- [Customer](docs/Customer.md)
104+
- [CustomerIdUasgelimitBody](docs/CustomerIdUasgelimitBody.md)
105+
- [Event](docs/Event.md)
88106
- [Feature](docs/Feature.md)
89107
- [FrontendToken](docs/FrontendToken.md)
90108
- [InlineResponse200](docs/InlineResponse200.md)
91109
- [InlineResponse2001](docs/InlineResponse2001.md)
92110
- [InlineResponse20010](docs/InlineResponse20010.md)
93111
- [InlineResponse20011](docs/InlineResponse20011.md)
94112
- [InlineResponse20012](docs/InlineResponse20012.md)
113+
- [InlineResponse20013](docs/InlineResponse20013.md)
114+
- [InlineResponse20014](docs/InlineResponse20014.md)
95115
- [InlineResponse2002](docs/InlineResponse2002.md)
96116
- [InlineResponse2003](docs/InlineResponse2003.md)
97117
- [InlineResponse2004](docs/InlineResponse2004.md)
98118
- [InlineResponse2005](docs/InlineResponse2005.md)
99119
- [InlineResponse2006](docs/InlineResponse2006.md)
100120
- [InlineResponse2007](docs/InlineResponse2007.md)
101-
- [InlineResponse2007Data](docs/InlineResponse2007Data.md)
102-
- [InlineResponse2007Receipts](docs/InlineResponse2007Receipts.md)
103121
- [InlineResponse2008](docs/InlineResponse2008.md)
104122
- [InlineResponse2009](docs/InlineResponse2009.md)
123+
- [InlineResponse2009Data](docs/InlineResponse2009Data.md)
124+
- [InlineResponse2009Receipts](docs/InlineResponse2009Receipts.md)
105125
- [InlineResponse201](docs/InlineResponse201.md)
106126
- [InlineResponse201Lines](docs/InlineResponse201Lines.md)
107127
- [InlineResponse400](docs/InlineResponse400.md)
108128
- [Invoice](docs/Invoice.md)
109129
- [InvoiceLines](docs/InvoiceLines.md)
110130
- [IssueRefundPayment](docs/IssueRefundPayment.md)
111131
- [Limit](docs/Limit.md)
132+
- [Metric](docs/Metric.md)
133+
- [MetricCost](docs/MetricCost.md)
134+
- [MetricFilter](docs/MetricFilter.md)
112135
- [ModelError](docs/ModelError.md)
113136
- [PaymentDetails](docs/PaymentDetails.md)
114137
- [Price](docs/Price.md)
@@ -125,6 +148,7 @@ Class | Method | HTTP request | Description
125148
- [SubscriptionPlan](docs/SubscriptionPlan.md)
126149
- [SubscriptionStartBody](docs/SubscriptionStartBody.md)
127150
- [SubscriptionTrialBody](docs/SubscriptionTrialBody.md)
151+
- [UsageLimit](docs/UsageLimit.md)
128152
- [VoucherCode](docs/VoucherCode.md)
129153

130154
## Documentation For Authorization

0 commit comments

Comments
 (0)