@bunnyapp/api-client 2.0.5 → 2.0.7

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": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Node.js client for Bunny CRM",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -31,6 +31,7 @@ const query = `mutation accountUpdate ($id: ID!, $attributes: AccountAttributes!
31
31
  shippingState
32
32
  shippingStreet
33
33
  shippingZip
34
+ taxNumber
34
35
  timezone
35
36
  updatedAt
36
37
  website
@@ -59,10 +59,27 @@ module.exports = async function (priceListCode, options = {}) {
59
59
  } else {
60
60
  variables.attributes.account = {
61
61
  name: options["accountName"]?.toString(),
62
+ phone: options["phone"]?.toString(),
63
+ fax: options["fax"]?.toString(),
64
+ website: options["website"]?.toString(),
65
+ billingStreet: options["billingStreet"]?.toString(),
66
+ billingCity: options["billingCity"]?.toString(),
67
+ billingZip: options["billingZip"]?.toString(),
68
+ billingState: options["billingState"]?.toString(),
69
+ billingCountry: options["billingCountry"]?.toString(),
62
70
  billingContact: {
63
71
  firstName: options["firstName"]?.toString(),
64
72
  lastName: options["lastName"]?.toString(),
65
73
  email: options["email"]?.toString(),
74
+ phone: options["phone"]?.toString(),
75
+ mobile: options["mobile"]?.toString(),
76
+ salutation: options["salutation"]?.toString(),
77
+ title: options["title"]?.toString(),
78
+ mailingStreet: options["mailingStreet"]?.toString(),
79
+ mailingCity: options["mailingCity"]?.toString(),
80
+ mailingZip: options["mailingZip"]?.toString(),
81
+ mailingState: options["mailingState"]?.toString(),
82
+ mailingCountry: options["mailingCountry"]?.toString(),
66
83
  },
67
84
  };
68
85
  }
@@ -35,6 +35,7 @@ const query = `query tenant ($code: String!) {
35
35
  shippingState
36
36
  shippingStreet
37
37
  shippingZip
38
+ taxNumber
38
39
  timezone
39
40
  updatedAt
40
41
  website