@bunnyapp/api-client 2.0.1 → 2.0.2

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/README.md CHANGED
@@ -86,7 +86,7 @@ const res = await bunny.portalSessionCreate(
86
86
  );
87
87
 
88
88
  // Track usage for billing
89
- const res = await bunny.tenantUsageCreate(
89
+ const res = await bunny.featureUsageCreate(
90
90
  featureCode,
91
91
  quantity,
92
92
  tenantCode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunnyapp/api-client",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Node.js client for Bunny CRM",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -4,6 +4,11 @@ const query = `query tenant ($code: String!) {
4
4
  code
5
5
  name
6
6
  subdomain
7
+ account {
8
+ id
9
+ name
10
+ billingDay
11
+ }
7
12
  latestProvisioningChange {
8
13
  change
9
14
  createdAt