@bunnyapp/api-client 1.0.10 → 1.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunnyapp/api-client",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Node.js client for Bunny CRM",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -1,29 +1,36 @@
1
1
  const query = `mutation subscriptionCreate ($attributes: SubscriptionAttributes!) {
2
2
  subscriptionCreate (attributes: $attributes) {
3
- errors
4
3
  subscription {
5
4
  id
6
5
  account {
7
- name
8
- contacts {
9
- id
10
- firstName
11
- lastName
12
- }
6
+ id
7
+ name
8
+ contacts {
9
+ id
10
+ firstName
11
+ lastName
12
+ }
13
13
  }
14
14
  trialStartDate
15
15
  trialEndDate
16
16
  startDate
17
17
  endDate
18
18
  state
19
- productPlan {
19
+ plan {
20
+ code
21
+ name
22
+ }
23
+ priceList {
24
+ code
20
25
  name
21
26
  }
22
27
  tenant {
23
- code
24
- name
28
+ id
29
+ code
30
+ name
25
31
  }
26
32
  }
33
+ errors
27
34
  }
28
35
  }`;
29
36