@arrowsphere/api-client 3.5.0 → 3.6.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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.6.0] - 2022-05-17
7
+
8
+ ### Changed
9
+
10
+ - Adding 4 new EndPoints of Contact Information:
11
+ - Create Contact
12
+ - Get a Contact
13
+ - Get list of Contact
14
+ - Update a Contact
15
+
6
16
  ## [3.5.0] - 2022-05-02
7
17
 
8
18
  ### Changed
@@ -112,6 +112,7 @@ export declare abstract class AbstractClient {
112
112
  */
113
113
  protected post(payload?: Payload, parameters?: Parameters, headers?: Headers, options?: Options): Promise<AxiosResponse['data']>;
114
114
  protected put(payload?: Payload, parameters?: Parameters, headers?: Headers, options?: Options): Promise<void>;
115
+ protected patch<T>(payload?: Payload, parameters?: Parameters, headers?: Headers, options?: Options): Promise<T>;
115
116
  /**
116
117
  * Generates the full url for request
117
118
  * @param parameters - Parameters to serialize
@@ -157,6 +157,12 @@ class AbstractClient {
157
157
  });
158
158
  return this.getResponse(response);
159
159
  }
160
+ async patch(payload = {}, parameters = {}, headers = {}, options = {}) {
161
+ const response = await this.client.patch(this.generateUrl(parameters, options), payload, {
162
+ headers: this.prepareHeaders(headers),
163
+ });
164
+ return this.getResponse(response);
165
+ }
160
166
  /**
161
167
  * Generates the full url for request
162
168
  * @param parameters - Parameters to serialize
@@ -0,0 +1,37 @@
1
+ import { AbstractClient, Parameters } from '../abstractClient';
2
+ import { GetResult } from '../getResult';
3
+ import { ContactCreate } from './entities/contactCreate';
4
+ import { Contact } from './entities/contact';
5
+ import { ContactList } from './entities/contactList';
6
+ export declare enum ContactRequestFields {
7
+ COLUMN_FIRSTNAME = "firstname",
8
+ COLUMN_LASTNAME = "lastname",
9
+ COLUMN_EMAIL = "email",
10
+ COLUMN_PHONE = "phone",
11
+ COLUMN_ERP_ID = "erpId",
12
+ COLUMN_TYPE = "type",
13
+ COLUMN_ROLE = "role"
14
+ }
15
+ export declare type ContactRequestType = {
16
+ [ContactRequestFields.COLUMN_FIRSTNAME]: string;
17
+ [ContactRequestFields.COLUMN_LASTNAME]: string;
18
+ [ContactRequestFields.COLUMN_EMAIL]: string;
19
+ [ContactRequestFields.COLUMN_PHONE]: string;
20
+ [ContactRequestFields.COLUMN_ERP_ID]: string;
21
+ [ContactRequestFields.COLUMN_TYPE]: string;
22
+ [ContactRequestFields.COLUMN_ROLE]: string;
23
+ };
24
+ export declare class ContactClient extends AbstractClient {
25
+ /**
26
+ * The base path of the Customers API
27
+ */
28
+ private ROOT_PATH;
29
+ /**
30
+ * The base path of the API
31
+ */
32
+ protected basePath: string;
33
+ createContact(postData: ContactRequestType, parameters?: Parameters): Promise<GetResult<ContactCreate>>;
34
+ listContact(perPage?: number, page?: number, parameters?: Parameters): Promise<GetResult<ContactList>>;
35
+ getContact(contactReference: string, parameters?: Parameters): Promise<GetResult<Contact>>;
36
+ updateContact(contactReference: string, patchData: ContactRequestType, parameters?: Parameters): Promise<GetResult<Contact>>;
37
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContactClient = exports.ContactRequestFields = void 0;
4
+ const abstractClient_1 = require("../abstractClient");
5
+ const getResult_1 = require("../getResult");
6
+ const contactCreate_1 = require("./entities/contactCreate");
7
+ const contact_1 = require("./entities/contact");
8
+ const contactList_1 = require("./entities/contactList");
9
+ var ContactRequestFields;
10
+ (function (ContactRequestFields) {
11
+ ContactRequestFields["COLUMN_FIRSTNAME"] = "firstname";
12
+ ContactRequestFields["COLUMN_LASTNAME"] = "lastname";
13
+ ContactRequestFields["COLUMN_EMAIL"] = "email";
14
+ ContactRequestFields["COLUMN_PHONE"] = "phone";
15
+ ContactRequestFields["COLUMN_ERP_ID"] = "erpId";
16
+ ContactRequestFields["COLUMN_TYPE"] = "type";
17
+ ContactRequestFields["COLUMN_ROLE"] = "role";
18
+ })(ContactRequestFields = exports.ContactRequestFields || (exports.ContactRequestFields = {}));
19
+ class ContactClient extends abstractClient_1.AbstractClient {
20
+ constructor() {
21
+ super(...arguments);
22
+ /**
23
+ * The base path of the Customers API
24
+ */
25
+ this.ROOT_PATH = '/contacts';
26
+ /**
27
+ * The base path of the API
28
+ */
29
+ this.basePath = this.ROOT_PATH;
30
+ }
31
+ async createContact(postData, parameters = {}) {
32
+ return new getResult_1.GetResult(contactCreate_1.ContactCreate, await this.post(postData, parameters));
33
+ }
34
+ async listContact(perPage = 25, page = 1, parameters = {}) {
35
+ this.setPerPage(perPage);
36
+ this.setPage(page);
37
+ return new getResult_1.GetResult(contactList_1.ContactList, await this.get(parameters));
38
+ }
39
+ async getContact(contactReference, parameters = {}) {
40
+ this.path = `/${contactReference}`;
41
+ return new getResult_1.GetResult(contact_1.Contact, await this.get(parameters));
42
+ }
43
+ async updateContact(contactReference, patchData, parameters = {}) {
44
+ this.path = `/${contactReference}`;
45
+ return new getResult_1.GetResult(contact_1.Contact, await this.patch(patchData, parameters));
46
+ }
47
+ }
48
+ exports.ContactClient = ContactClient;
49
+ //# sourceMappingURL=contactClient.js.map
@@ -0,0 +1,43 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum ContactFields {
3
+ COLUMN_ID = "id",
4
+ COLUMN_COMPANY_ID = "companyId",
5
+ COLUMN_RESELLER = "reseller",
6
+ COLUMN_FIRSTNAME = "firstname",
7
+ COLUMN_LASTNAME = "lastname",
8
+ COLUMN_EMAIL = "email",
9
+ COLUMN_PHONE = "phone",
10
+ COLUMN_ERP_ID = "erpId",
11
+ COLUMN_TYPE = "type",
12
+ COLUMN_ROLE = "role",
13
+ COLUMN_STATUS = "status"
14
+ }
15
+ export declare type ContactType = {
16
+ [ContactFields.COLUMN_ID]: number;
17
+ [ContactFields.COLUMN_COMPANY_ID]: number;
18
+ [ContactFields.COLUMN_RESELLER]: string;
19
+ [ContactFields.COLUMN_FIRSTNAME]: string;
20
+ [ContactFields.COLUMN_LASTNAME]: string;
21
+ [ContactFields.COLUMN_EMAIL]: string;
22
+ [ContactFields.COLUMN_PHONE]: string;
23
+ [ContactFields.COLUMN_ERP_ID]: string;
24
+ [ContactFields.COLUMN_TYPE]: string;
25
+ [ContactFields.COLUMN_ROLE]: string;
26
+ [ContactFields.COLUMN_STATUS]: string;
27
+ };
28
+ export declare class Contact extends AbstractEntity<ContactType> {
29
+ #private;
30
+ constructor(contactDataInput: ContactType);
31
+ get id(): number;
32
+ get companyId(): number;
33
+ get reseller(): string;
34
+ get firstname(): string;
35
+ get lastname(): string;
36
+ get email(): string;
37
+ get phone(): string;
38
+ get erpId(): string;
39
+ get type(): string;
40
+ get role(): string;
41
+ get status(): string;
42
+ toJSON(): ContactType;
43
+ }
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
+ if (!privateMap.has(receiver)) {
4
+ throw new TypeError("attempted to set private field on non-instance");
5
+ }
6
+ privateMap.set(receiver, value);
7
+ return value;
8
+ };
9
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
+ if (!privateMap.has(receiver)) {
11
+ throw new TypeError("attempted to get private field on non-instance");
12
+ }
13
+ return privateMap.get(receiver);
14
+ };
15
+ var _id, _companyId, _reseller, _firstname, _lastname, _email, _phone, _erpId, _type, _role, _status;
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Contact = exports.ContactFields = void 0;
18
+ const abstractEntity_1 = require("../../abstractEntity");
19
+ var ContactFields;
20
+ (function (ContactFields) {
21
+ ContactFields["COLUMN_ID"] = "id";
22
+ ContactFields["COLUMN_COMPANY_ID"] = "companyId";
23
+ ContactFields["COLUMN_RESELLER"] = "reseller";
24
+ ContactFields["COLUMN_FIRSTNAME"] = "firstname";
25
+ ContactFields["COLUMN_LASTNAME"] = "lastname";
26
+ ContactFields["COLUMN_EMAIL"] = "email";
27
+ ContactFields["COLUMN_PHONE"] = "phone";
28
+ ContactFields["COLUMN_ERP_ID"] = "erpId";
29
+ ContactFields["COLUMN_TYPE"] = "type";
30
+ ContactFields["COLUMN_ROLE"] = "role";
31
+ ContactFields["COLUMN_STATUS"] = "status";
32
+ })(ContactFields = exports.ContactFields || (exports.ContactFields = {}));
33
+ class Contact extends abstractEntity_1.AbstractEntity {
34
+ constructor(contactDataInput) {
35
+ super(contactDataInput);
36
+ _id.set(this, void 0);
37
+ _companyId.set(this, void 0);
38
+ _reseller.set(this, void 0);
39
+ _firstname.set(this, void 0);
40
+ _lastname.set(this, void 0);
41
+ _email.set(this, void 0);
42
+ _phone.set(this, void 0);
43
+ _erpId.set(this, void 0);
44
+ _type.set(this, void 0);
45
+ _role.set(this, void 0);
46
+ _status.set(this, void 0);
47
+ __classPrivateFieldSet(this, _id, contactDataInput[ContactFields.COLUMN_ID]);
48
+ __classPrivateFieldSet(this, _companyId, contactDataInput[ContactFields.COLUMN_COMPANY_ID]);
49
+ __classPrivateFieldSet(this, _reseller, contactDataInput[ContactFields.COLUMN_RESELLER]);
50
+ __classPrivateFieldSet(this, _firstname, contactDataInput[ContactFields.COLUMN_FIRSTNAME]);
51
+ __classPrivateFieldSet(this, _lastname, contactDataInput[ContactFields.COLUMN_LASTNAME]);
52
+ __classPrivateFieldSet(this, _email, contactDataInput[ContactFields.COLUMN_EMAIL]);
53
+ __classPrivateFieldSet(this, _phone, contactDataInput[ContactFields.COLUMN_PHONE]);
54
+ __classPrivateFieldSet(this, _erpId, contactDataInput[ContactFields.COLUMN_ERP_ID]);
55
+ __classPrivateFieldSet(this, _type, contactDataInput[ContactFields.COLUMN_TYPE]);
56
+ __classPrivateFieldSet(this, _role, contactDataInput[ContactFields.COLUMN_ROLE]);
57
+ __classPrivateFieldSet(this, _status, contactDataInput[ContactFields.COLUMN_STATUS]);
58
+ }
59
+ get id() {
60
+ return __classPrivateFieldGet(this, _id);
61
+ }
62
+ get companyId() {
63
+ return __classPrivateFieldGet(this, _companyId);
64
+ }
65
+ get reseller() {
66
+ return __classPrivateFieldGet(this, _reseller);
67
+ }
68
+ get firstname() {
69
+ return __classPrivateFieldGet(this, _firstname);
70
+ }
71
+ get lastname() {
72
+ return __classPrivateFieldGet(this, _lastname);
73
+ }
74
+ get email() {
75
+ return __classPrivateFieldGet(this, _email);
76
+ }
77
+ get phone() {
78
+ return __classPrivateFieldGet(this, _phone);
79
+ }
80
+ get erpId() {
81
+ return __classPrivateFieldGet(this, _erpId);
82
+ }
83
+ get type() {
84
+ return __classPrivateFieldGet(this, _type);
85
+ }
86
+ get role() {
87
+ return __classPrivateFieldGet(this, _role);
88
+ }
89
+ get status() {
90
+ return __classPrivateFieldGet(this, _status);
91
+ }
92
+ toJSON() {
93
+ return {
94
+ [ContactFields.COLUMN_ID]: this.id,
95
+ [ContactFields.COLUMN_COMPANY_ID]: this.companyId,
96
+ [ContactFields.COLUMN_RESELLER]: this.reseller,
97
+ [ContactFields.COLUMN_FIRSTNAME]: this.firstname,
98
+ [ContactFields.COLUMN_LASTNAME]: this.lastname,
99
+ [ContactFields.COLUMN_EMAIL]: this.email,
100
+ [ContactFields.COLUMN_PHONE]: this.phone,
101
+ [ContactFields.COLUMN_ERP_ID]: this.erpId,
102
+ [ContactFields.COLUMN_TYPE]: this.type,
103
+ [ContactFields.COLUMN_ROLE]: this.role,
104
+ [ContactFields.COLUMN_STATUS]: this.status,
105
+ };
106
+ }
107
+ }
108
+ exports.Contact = Contact;
109
+ _id = new WeakMap(), _companyId = new WeakMap(), _reseller = new WeakMap(), _firstname = new WeakMap(), _lastname = new WeakMap(), _email = new WeakMap(), _phone = new WeakMap(), _erpId = new WeakMap(), _type = new WeakMap(), _role = new WeakMap(), _status = new WeakMap();
110
+ //# sourceMappingURL=contact.js.map
@@ -0,0 +1,13 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum ContactCreateFields {
3
+ COLUMN_ID = "id"
4
+ }
5
+ export declare type ContactCreateType = {
6
+ [ContactCreateFields.COLUMN_ID]: number;
7
+ };
8
+ export declare class ContactCreate extends AbstractEntity<ContactCreateType> {
9
+ #private;
10
+ constructor(createContactResponse: ContactCreateType);
11
+ get id(): number;
12
+ toJSON(): ContactCreateType;
13
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
+ if (!privateMap.has(receiver)) {
4
+ throw new TypeError("attempted to set private field on non-instance");
5
+ }
6
+ privateMap.set(receiver, value);
7
+ return value;
8
+ };
9
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
+ if (!privateMap.has(receiver)) {
11
+ throw new TypeError("attempted to get private field on non-instance");
12
+ }
13
+ return privateMap.get(receiver);
14
+ };
15
+ var _id;
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.ContactCreate = exports.ContactCreateFields = void 0;
18
+ const abstractEntity_1 = require("../../abstractEntity");
19
+ var ContactCreateFields;
20
+ (function (ContactCreateFields) {
21
+ ContactCreateFields["COLUMN_ID"] = "id";
22
+ })(ContactCreateFields = exports.ContactCreateFields || (exports.ContactCreateFields = {}));
23
+ class ContactCreate extends abstractEntity_1.AbstractEntity {
24
+ constructor(createContactResponse) {
25
+ super(createContactResponse);
26
+ _id.set(this, void 0);
27
+ __classPrivateFieldSet(this, _id, createContactResponse[ContactCreateFields.COLUMN_ID]);
28
+ }
29
+ get id() {
30
+ return __classPrivateFieldGet(this, _id);
31
+ }
32
+ toJSON() {
33
+ return {
34
+ [ContactCreateFields.COLUMN_ID]: this.id,
35
+ };
36
+ }
37
+ }
38
+ exports.ContactCreate = ContactCreate;
39
+ _id = new WeakMap();
40
+ //# sourceMappingURL=contactCreate.js.map
@@ -0,0 +1,9 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ import { Contact, ContactType } from './contact';
3
+ export declare type ContactListType = Array<ContactType>;
4
+ export declare class ContactList extends AbstractEntity<ContactListType> {
5
+ #private;
6
+ constructor(contactListDataInput: Array<ContactType>);
7
+ get contactList(): Array<Contact>;
8
+ toJSON(): ContactListType;
9
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
+ if (!privateMap.has(receiver)) {
4
+ throw new TypeError("attempted to set private field on non-instance");
5
+ }
6
+ privateMap.set(receiver, value);
7
+ return value;
8
+ };
9
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
+ if (!privateMap.has(receiver)) {
11
+ throw new TypeError("attempted to get private field on non-instance");
12
+ }
13
+ return privateMap.get(receiver);
14
+ };
15
+ var _contactList;
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.ContactList = void 0;
18
+ const abstractEntity_1 = require("../../abstractEntity");
19
+ const contact_1 = require("./contact");
20
+ class ContactList extends abstractEntity_1.AbstractEntity {
21
+ constructor(contactListDataInput) {
22
+ super(contactListDataInput);
23
+ _contactList.set(this, void 0);
24
+ __classPrivateFieldSet(this, _contactList, contactListDataInput.map((contact) => new contact_1.Contact(contact)));
25
+ }
26
+ get contactList() {
27
+ return __classPrivateFieldGet(this, _contactList);
28
+ }
29
+ toJSON() {
30
+ return this.contactList.map((contact) => contact.toJSON());
31
+ }
32
+ }
33
+ exports.ContactList = ContactList;
34
+ _contactList = new WeakMap();
35
+ //# sourceMappingURL=contactList.js.map
@@ -0,0 +1,4 @@
1
+ export * from './entities/contactCreate';
2
+ export * from './entities/contactList';
3
+ export * from './entities/contact';
4
+ export * from './contactClient';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./entities/contactCreate"), exports);
14
+ __exportStar(require("./entities/contactList"), exports);
15
+ __exportStar(require("./entities/contact"), exports);
16
+ __exportStar(require("./contactClient"), exports);
17
+ //# sourceMappingURL=index.js.map
package/build/index.d.ts CHANGED
@@ -1,9 +1,11 @@
1
+ import * as ContactInformation from './contact';
1
2
  export * from './publicApiClient';
2
3
  export * from './publicGraphQLClient';
3
4
  export * from './abstractEntity';
4
5
  export * from './abstractClient';
5
6
  export * from './abstractGraphQLClient';
6
7
  export * from './catalog/';
8
+ export { ContactInformation };
7
9
  export * from './customers/';
8
10
  export * from './general/';
9
11
  export * from './licenses/';
package/build/index.js CHANGED
@@ -6,10 +6,25 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
6
6
  if (k2 === undefined) k2 = k;
7
7
  o[k2] = m[k];
8
8
  }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
9
21
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
22
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
23
  };
12
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ContactInformation = void 0;
26
+ const ContactInformation = __importStar(require("./contact"));
27
+ exports.ContactInformation = ContactInformation;
13
28
  __exportStar(require("./publicApiClient"), exports);
14
29
  __exportStar(require("./publicGraphQLClient"), exports);
15
30
  __exportStar(require("./abstractEntity"), exports);
@@ -4,6 +4,7 @@ import { LicensesClient } from './licenses/licensesClient';
4
4
  import { SubscriptionsClient } from './subscriptions/subscriptionsClient';
5
5
  import { CustomersClient } from './customers/customersClient';
6
6
  import { OrdersClient } from './orders';
7
+ import { ContactClient } from './contact/contactClient';
7
8
  /**
8
9
  * Public API Client class, should be the main entry point for your calls
9
10
  */
@@ -39,5 +40,10 @@ export declare class PublicApiClient extends AbstractClient {
39
40
  * @returns {@link OrdersClient}
40
41
  */
41
42
  getOrdersClient(): OrdersClient;
43
+ /**
44
+ * Creates a new {@link ContactClient} instance and returns it
45
+ * @returns {@link ContactClient}
46
+ */
47
+ getContactClient(): ContactClient;
42
48
  }
43
49
  export default PublicApiClient;
@@ -7,6 +7,7 @@ const licensesClient_1 = require("./licenses/licensesClient");
7
7
  const subscriptionsClient_1 = require("./subscriptions/subscriptionsClient");
8
8
  const customersClient_1 = require("./customers/customersClient");
9
9
  const orders_1 = require("./orders");
10
+ const contactClient_1 = require("./contact/contactClient");
10
11
  /**
11
12
  * Public API Client class, should be the main entry point for your calls
12
13
  */
@@ -68,6 +69,15 @@ class PublicApiClient extends abstractClient_1.AbstractClient {
68
69
  .setUrl(this.url)
69
70
  .setApiKey(this.apiKey);
70
71
  }
72
+ /**
73
+ * Creates a new {@link ContactClient} instance and returns it
74
+ * @returns {@link ContactClient}
75
+ */
76
+ getContactClient() {
77
+ return new contactClient_1.ContactClient(this.client)
78
+ .setUrl(this.url)
79
+ .setApiKey(this.apiKey);
80
+ }
71
81
  }
72
82
  exports.PublicApiClient = PublicApiClient;
73
83
  exports.default = PublicApiClient;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.5.0",
7
+ "version": "3.6.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",