@arrowsphere/api-client 3.11.0 → 3.13.0-rc.1

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,18 @@
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.13.0] - 2022-08-25
7
+
8
+ ### Changed
9
+
10
+ - add endpoint campaign email for landing page campaign
11
+
12
+ ## [3.12.0] - 2022-08-22
13
+
14
+ ### Changed
15
+
16
+ - refactor: import file and constant
17
+
6
18
  ## [3.11.0] - 2022-08-02
7
19
 
8
20
  ### Changed
@@ -2,6 +2,12 @@ import { AbstractClient, Parameters } from '../abstractClient';
2
2
  import { GetResult } from '../getResult';
3
3
  import { Campaign } from './entities/campaign/campaign';
4
4
  import { CampaignAssets } from './entities/campaignAssets/campaignAssets';
5
+ export declare type POST_EMAIL_CAMPAIGN = {
6
+ application: string;
7
+ metadata: {
8
+ [keys in string]: string;
9
+ };
10
+ };
5
11
  export declare class CampaignClient extends AbstractClient {
6
12
  /**
7
13
  * The base path of the API
@@ -10,4 +16,5 @@ export declare class CampaignClient extends AbstractClient {
10
16
  getActiveCampaign(parameters?: Parameters): Promise<GetResult<Campaign>>;
11
17
  getCampaignAssets(campaignReference: string, parameters?: Parameters): Promise<GetResult<CampaignAssets>>;
12
18
  getCampaignDetails(campaignReference: string, parameters?: Parameters): Promise<GetResult<Campaign>>;
19
+ postCampaignEmail(campaignReference: string, postData: POST_EMAIL_CAMPAIGN, parameters?: Parameters): Promise<void>;
13
20
  }
@@ -25,6 +25,10 @@ class CampaignClient extends abstractClient_1.AbstractClient {
25
25
  this.path = `/${campaignReference}`;
26
26
  return new getResult_1.GetResult(campaign_1.Campaign, await this.get(parameters));
27
27
  }
28
+ async postCampaignEmail(campaignReference, postData, parameters = {}) {
29
+ this.path = `/${campaignReference}/notify`;
30
+ return await this.post(postData, parameters);
31
+ }
28
32
  }
29
33
  exports.CampaignClient = CampaignClient;
30
34
  //# sourceMappingURL=campaignClient.js.map
@@ -1,10 +1,6 @@
1
1
  import { AbstractGraphQLClient } from '../abstractGraphQLClient';
2
2
  import { GetProductsType } from './types/catalogGraphQLTypes';
3
3
  export declare class CatalogGraphQLClient extends AbstractGraphQLClient {
4
- /**
5
- * The base path of the Catalog API
6
- */
7
- private ROOT_PATH;
8
4
  /**
9
5
  * The base path of the API
10
6
  */
@@ -6,14 +6,10 @@ const abstractGraphQLClient_1 = require("../abstractGraphQLClient");
6
6
  class CatalogGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient {
7
7
  constructor() {
8
8
  super(...arguments);
9
- /**
10
- * The base path of the Catalog API
11
- */
12
- this.ROOT_PATH = 'catalog/';
13
9
  /**
14
10
  * The base path of the API
15
11
  */
16
- this.basePath = this.ROOT_PATH;
12
+ this.basePath = 'catalog/';
17
13
  /**
18
14
  * The Path of graphql catalog API
19
15
  */
@@ -1,2 +1,2 @@
1
- export * from './types/catalogGraphQLTypes';
2
1
  export * from './catalogGraphQLClient';
2
+ export * from './types/catalogGraphQLTypes';
@@ -10,6 +10,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./types/catalogGraphQLTypes"), exports);
14
13
  __exportStar(require("./catalogGraphQLClient"), exports);
14
+ __exportStar(require("./types/catalogGraphQLTypes"), exports);
15
15
  //# sourceMappingURL=index.js.map
@@ -22,10 +22,6 @@ export declare type ContactRequestType = {
22
22
  [ContactRequestFields.COLUMN_ROLE]: string;
23
23
  };
24
24
  export declare class ContactClient extends AbstractClient {
25
- /**
26
- * The base path of the Customers API
27
- */
28
- private ROOT_PATH;
29
25
  /**
30
26
  * The base path of the API
31
27
  */
@@ -19,14 +19,10 @@ var ContactRequestFields;
19
19
  class ContactClient extends abstractClient_1.AbstractClient {
20
20
  constructor() {
21
21
  super(...arguments);
22
- /**
23
- * The base path of the Customers API
24
- */
25
- this.ROOT_PATH = '/contacts';
26
22
  /**
27
23
  * The base path of the API
28
24
  */
29
- this.basePath = this.ROOT_PATH;
25
+ this.basePath = '/contacts';
30
26
  }
31
27
  async createContact(postData, parameters = {}) {
32
28
  return new getResult_1.GetResult(contactCreate_1.ContactCreate, await this.post(postData, parameters));
@@ -1,4 +1,4 @@
1
+ export * from './contactClient';
2
+ export * from './entities/contact';
1
3
  export * from './entities/contactCreate';
2
4
  export * from './entities/contactList';
3
- export * from './entities/contact';
4
- export * from './contactClient';
@@ -10,8 +10,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./contactClient"), exports);
14
+ __exportStar(require("./entities/contact"), exports);
13
15
  __exportStar(require("./entities/contactCreate"), exports);
14
16
  __exportStar(require("./entities/contactList"), exports);
15
- __exportStar(require("./entities/contact"), exports);
16
- __exportStar(require("./contactClient"), exports);
17
17
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
+ export * from './customersClient';
1
2
  export * from './entities/customers/contact/contact';
2
- export * from './entities/invitations/contact/invitationContact';
3
- export * from './entities/customers/details/details';
4
- export * from './entities/invitations/company/company';
5
3
  export * from './entities/customers/customer';
4
+ export * from './entities/customers/details/details';
6
5
  export * from './entities/dataCustomers';
7
6
  export * from './entities/dataInvitation';
8
- export * from './customersClient';
7
+ export * from './entities/invitations/company/company';
8
+ export * from './entities/invitations/contact/invitationContact';
@@ -10,12 +10,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./customersClient"), exports);
13
14
  __exportStar(require("./entities/customers/contact/contact"), exports);
14
- __exportStar(require("./entities/invitations/contact/invitationContact"), exports);
15
- __exportStar(require("./entities/customers/details/details"), exports);
16
- __exportStar(require("./entities/invitations/company/company"), exports);
17
15
  __exportStar(require("./entities/customers/customer"), exports);
16
+ __exportStar(require("./entities/customers/details/details"), exports);
18
17
  __exportStar(require("./entities/dataCustomers"), exports);
19
18
  __exportStar(require("./entities/dataInvitation"), exports);
20
- __exportStar(require("./customersClient"), exports);
19
+ __exportStar(require("./entities/invitations/company/company"), exports);
20
+ __exportStar(require("./entities/invitations/contact/invitationContact"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
1
  export * from './checkDomainClient';
2
- export * from './whoAmIClient';
3
2
  export * from './entities/whoAmI';
3
+ export * from './whoAmIClient';
@@ -11,6 +11,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./checkDomainClient"), exports);
14
- __exportStar(require("./whoAmIClient"), exports);
15
14
  __exportStar(require("./entities/whoAmI"), exports);
15
+ __exportStar(require("./whoAmIClient"), exports);
16
16
  //# sourceMappingURL=index.js.map
package/build/index.d.ts CHANGED
@@ -1,17 +1,18 @@
1
- import * as ContactInformation from './contact';
2
- export * from './publicApiClient';
3
- export * from './publicGraphQLClient';
4
- export * from './abstractEntity';
5
1
  export * from './abstractClient';
2
+ export * from './abstractEntity';
6
3
  export * from './abstractGraphQLClient';
7
4
  export * from './campaign/';
8
5
  export * from './catalog/';
9
6
  export * from './consumption';
10
- export { ContactInformation };
11
7
  export * from './customers/';
8
+ export * from './exception/';
12
9
  export * from './general/';
10
+ export * from './getResult';
13
11
  export * from './licenses/';
14
12
  export * from './orders/';
13
+ export * from './publicApiClient';
14
+ export * from './publicGraphQLClient';
15
15
  export * from './shared/';
16
16
  export * from './subscriptions/';
17
- export * from './getResult';
17
+ export { ContactInformation };
18
+ import * as ContactInformation from './contact';
package/build/index.js CHANGED
@@ -11,6 +11,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
11
11
  }) : function(o, v) {
12
12
  o["default"] = v;
13
13
  });
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
14
17
  var __importStar = (this && this.__importStar) || function (mod) {
15
18
  if (mod && mod.__esModule) return mod;
16
19
  var result = {};
@@ -18,26 +21,24 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
21
  __setModuleDefault(result, mod);
19
22
  return result;
20
23
  };
21
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
- };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.ContactInformation = void 0;
26
- const ContactInformation = __importStar(require("./contact"));
27
- exports.ContactInformation = ContactInformation;
28
- __exportStar(require("./publicApiClient"), exports);
29
- __exportStar(require("./publicGraphQLClient"), exports);
30
- __exportStar(require("./abstractEntity"), exports);
31
26
  __exportStar(require("./abstractClient"), exports);
27
+ __exportStar(require("./abstractEntity"), exports);
32
28
  __exportStar(require("./abstractGraphQLClient"), exports);
33
29
  __exportStar(require("./campaign/"), exports);
34
30
  __exportStar(require("./catalog/"), exports);
35
31
  __exportStar(require("./consumption"), exports);
36
32
  __exportStar(require("./customers/"), exports);
33
+ __exportStar(require("./exception/"), exports);
37
34
  __exportStar(require("./general/"), exports);
35
+ __exportStar(require("./getResult"), exports);
38
36
  __exportStar(require("./licenses/"), exports);
39
37
  __exportStar(require("./orders/"), exports);
38
+ __exportStar(require("./publicApiClient"), exports);
39
+ __exportStar(require("./publicGraphQLClient"), exports);
40
40
  __exportStar(require("./shared/"), exports);
41
41
  __exportStar(require("./subscriptions/"), exports);
42
- __exportStar(require("./getResult"), exports);
42
+ const ContactInformation = __importStar(require("./contact"));
43
+ exports.ContactInformation = ContactInformation;
43
44
  //# sourceMappingURL=index.js.map
@@ -1,23 +1,24 @@
1
- export * from './licensesClient';
1
+ export * from './entities/filterFindResult';
2
+ export * from './entities/findResult';
3
+ export * from './entities/getLicense/actionMessagesGetResult';
4
+ export * from './entities/getLicense/actionsGetResult';
5
+ export * from './entities/getLicense/buySellFindResult';
6
+ export * from './entities/getLicense/licenseGetResult';
7
+ export * from './entities/getLicense/licensePriceGetResult';
8
+ export * from './entities/getLicense/orderGetResult';
9
+ export * from './entities/getResult/getLicenseResult';
2
10
  export * from './entities/license/activeSeatsFindResult';
3
11
  export * from './entities/license/configFindResult';
4
12
  export * from './entities/license/licenseFindResult';
5
13
  export * from './entities/license/priceFindResult';
6
14
  export * from './entities/license/warningFindResult';
7
- export * from './entities/offer/priceband/identifiers/arrowsphereFindResult';
15
+ export * from './entities/offer/actionFlagsFindResult';
16
+ export * from './entities/offer/offerFindResult';
17
+ export * from './entities/offer/priceBandFindResult';
8
18
  export * from './entities/offer/priceband/billingFindResult';
9
19
  export * from './entities/offer/priceband/identifiersFindResult';
10
20
  export * from './entities/offer/priceband/priceBandActionFlagsFindResult';
11
21
  export * from './entities/offer/priceband/priceBandPriceFindResult';
12
22
  export * from './entities/offer/priceband/saleConstraintsFindResult';
13
- export * from './entities/offer/actionFlagsFindResult';
14
- export * from './entities/offer/offerFindResult';
15
- export * from './entities/offer/priceBandFindResult';
16
- export * from '../licenses/entities/getLicense/actionMessagesGetResult';
17
- export * from '../licenses/entities/getLicense/actionsGetResult';
18
- export * from '../licenses/entities/getLicense/buySellFindResult';
19
- export * from '../licenses/entities/getLicense/licenseGetResult';
20
- export * from '../licenses/entities/getLicense/licensePriceGetResult';
21
- export * from '../licenses/entities/getLicense/orderGetResult';
22
- export * from './entities/filterFindResult';
23
- export * from './entities/findResult';
23
+ export * from './entities/offer/priceband/identifiers/arrowsphereFindResult';
24
+ export * from './licensesClient';
@@ -10,27 +10,28 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./licensesClient"), exports);
13
+ __exportStar(require("./entities/filterFindResult"), exports);
14
+ __exportStar(require("./entities/findResult"), exports);
15
+ __exportStar(require("./entities/getLicense/actionMessagesGetResult"), exports);
16
+ __exportStar(require("./entities/getLicense/actionsGetResult"), exports);
17
+ __exportStar(require("./entities/getLicense/buySellFindResult"), exports);
18
+ __exportStar(require("./entities/getLicense/licenseGetResult"), exports);
19
+ __exportStar(require("./entities/getLicense/licensePriceGetResult"), exports);
20
+ __exportStar(require("./entities/getLicense/orderGetResult"), exports);
21
+ __exportStar(require("./entities/getResult/getLicenseResult"), exports);
14
22
  __exportStar(require("./entities/license/activeSeatsFindResult"), exports);
15
23
  __exportStar(require("./entities/license/configFindResult"), exports);
16
24
  __exportStar(require("./entities/license/licenseFindResult"), exports);
17
25
  __exportStar(require("./entities/license/priceFindResult"), exports);
18
26
  __exportStar(require("./entities/license/warningFindResult"), exports);
19
- __exportStar(require("./entities/offer/priceband/identifiers/arrowsphereFindResult"), exports);
27
+ __exportStar(require("./entities/offer/actionFlagsFindResult"), exports);
28
+ __exportStar(require("./entities/offer/offerFindResult"), exports);
29
+ __exportStar(require("./entities/offer/priceBandFindResult"), exports);
20
30
  __exportStar(require("./entities/offer/priceband/billingFindResult"), exports);
21
31
  __exportStar(require("./entities/offer/priceband/identifiersFindResult"), exports);
22
32
  __exportStar(require("./entities/offer/priceband/priceBandActionFlagsFindResult"), exports);
23
33
  __exportStar(require("./entities/offer/priceband/priceBandPriceFindResult"), exports);
24
34
  __exportStar(require("./entities/offer/priceband/saleConstraintsFindResult"), exports);
25
- __exportStar(require("./entities/offer/actionFlagsFindResult"), exports);
26
- __exportStar(require("./entities/offer/offerFindResult"), exports);
27
- __exportStar(require("./entities/offer/priceBandFindResult"), exports);
28
- __exportStar(require("../licenses/entities/getLicense/actionMessagesGetResult"), exports);
29
- __exportStar(require("../licenses/entities/getLicense/actionsGetResult"), exports);
30
- __exportStar(require("../licenses/entities/getLicense/buySellFindResult"), exports);
31
- __exportStar(require("../licenses/entities/getLicense/licenseGetResult"), exports);
32
- __exportStar(require("../licenses/entities/getLicense/licensePriceGetResult"), exports);
33
- __exportStar(require("../licenses/entities/getLicense/orderGetResult"), exports);
34
- __exportStar(require("./entities/filterFindResult"), exports);
35
- __exportStar(require("./entities/findResult"), exports);
35
+ __exportStar(require("./entities/offer/priceband/identifiers/arrowsphereFindResult"), exports);
36
+ __exportStar(require("./licensesClient"), exports);
36
37
  //# sourceMappingURL=index.js.map
@@ -194,10 +194,6 @@ export declare type PutFriendlyName = {
194
194
  [LicenseGetFields.COLUMN_FRIENDLY_NAME]: string;
195
195
  };
196
196
  export declare class LicensesClient extends AbstractClient {
197
- /**
198
- * The base path of the Licenses API
199
- */
200
- private ROOT_PATH;
201
197
  /**
202
198
  * The base path of the API
203
199
  */
@@ -111,14 +111,10 @@ var LicenseFindParameters;
111
111
  class LicensesClient extends abstractClient_1.AbstractClient {
112
112
  constructor() {
113
113
  super(...arguments);
114
- /**
115
- * The base path of the Licenses API
116
- */
117
- this.ROOT_PATH = '/licenses/';
118
114
  /**
119
115
  * The base path of the API
120
116
  */
121
- this.basePath = this.ROOT_PATH;
117
+ this.basePath = '/licenses/';
122
118
  /**
123
119
  * The path of the Find endpoint
124
120
  */
@@ -1,7 +1,7 @@
1
+ export * from './entities/dataListOrders';
2
+ export * from './entities/orders/order';
3
+ export * from './entities/orders/partner/partner';
1
4
  export * from './entities/orders/products/prices/productPrices';
2
5
  export * from './entities/orders/products/products';
3
- export * from './entities/orders/partner/partner';
4
- export * from './entities/orders/order';
5
- export * from './entities/dataListOrders';
6
6
  export * from './entities/referenceLink';
7
7
  export * from './ordersClient';
@@ -10,11 +10,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./entities/dataListOrders"), exports);
14
+ __exportStar(require("./entities/orders/order"), exports);
15
+ __exportStar(require("./entities/orders/partner/partner"), exports);
13
16
  __exportStar(require("./entities/orders/products/prices/productPrices"), exports);
14
17
  __exportStar(require("./entities/orders/products/products"), exports);
15
- __exportStar(require("./entities/orders/partner/partner"), exports);
16
- __exportStar(require("./entities/orders/order"), exports);
17
- __exportStar(require("./entities/dataListOrders"), exports);
18
18
  __exportStar(require("./entities/referenceLink"), exports);
19
19
  __exportStar(require("./ordersClient"), exports);
20
20
  //# sourceMappingURL=index.js.map
@@ -37,12 +37,6 @@ export declare type CreateOrderInputType = {
37
37
  }>;
38
38
  };
39
39
  export declare class OrdersClient extends AbstractClient {
40
- /**
41
- * The base path of the Orders API
42
- *
43
- * TODO: Actually we use php endpoint and we need to add "/index.php/api" before "/orders" remove "/index.php/api" when endpoint is available in nodejs
44
- */
45
- private ROOT_PATH;
46
40
  /**
47
41
  * The base path of the API
48
42
  */
@@ -24,16 +24,10 @@ var CreateOrderInputFields;
24
24
  class OrdersClient extends abstractClient_1.AbstractClient {
25
25
  constructor() {
26
26
  super(...arguments);
27
- /**
28
- * The base path of the Orders API
29
- *
30
- * TODO: Actually we use php endpoint and we need to add "/index.php/api" before "/orders" remove "/index.php/api" when endpoint is available in nodejs
31
- */
32
- this.ROOT_PATH = '/index.php/api/orders';
33
27
  /**
34
28
  * The base path of the API
35
29
  */
36
- this.basePath = this.ROOT_PATH;
30
+ this.basePath = '/index.php/api/orders';
37
31
  }
38
32
  async create(postData, parameters = {}) {
39
33
  return new getResult_1.GetResult(referenceLink_1.ReferenceLink, await this.post(postData, parameters));
@@ -1,3 +1,3 @@
1
- export * from './subscriptionsClient';
2
1
  export * from './entities/subscription';
3
2
  export * from './entities/subscriptionsListResult';
3
+ export * from './subscriptionsClient';
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./subscriptionsClient"), exports);
14
13
  __exportStar(require("./entities/subscription"), exports);
15
14
  __exportStar(require("./entities/subscriptionsListResult"), exports);
15
+ __exportStar(require("./subscriptionsClient"), exports);
16
16
  //# sourceMappingURL=index.js.map
@@ -30,10 +30,6 @@ export declare type SubscriptionsListData = {
30
30
  };
31
31
  };
32
32
  export declare class SubscriptionsClient extends AbstractClient {
33
- /**
34
- * The base path of the Subscriptions API
35
- */
36
- private ROOT_PATH;
37
33
  /**
38
34
  * The base path of the API
39
35
  */
@@ -50,7 +46,6 @@ export declare class SubscriptionsClient extends AbstractClient {
50
46
  * Calls the subscriptions API list endpoint
51
47
  *
52
48
  * @param data - List payload
53
- * @param parameters - Extra parameters to pass
54
49
  *
55
50
  * @returns Promise\<AxiosResponse\<{@link SubscriptionsListData}\>\> */
56
51
  listRaw(data?: SubscriptionsListPayload): Promise<SubscriptionsListData>;
@@ -62,7 +57,6 @@ export declare class SubscriptionsClient extends AbstractClient {
62
57
  * @param postData - List payload
63
58
  * @param perPage - Number of results per page
64
59
  * @param page - Page number to fetch
65
- * @param parameters - Extra parameters to pass
66
60
  *
67
61
  * @returns Promise\<{@link SubscriptionsListResult}\>
68
62
  *
@@ -9,14 +9,10 @@ const subscriptionsListResult_1 = require("./entities/subscriptionsListResult");
9
9
  class SubscriptionsClient extends abstractClient_1.AbstractClient {
10
10
  constructor() {
11
11
  super(...arguments);
12
- /**
13
- * The base path of the Subscriptions API
14
- */
15
- this.ROOT_PATH = '/subscriptions';
16
12
  /**
17
13
  * The base path of the API
18
14
  */
19
- this.basePath = this.ROOT_PATH;
15
+ this.basePath = '/subscriptions';
20
16
  /**
21
17
  * The path of the List endpoint
22
18
  */
@@ -30,7 +26,6 @@ class SubscriptionsClient extends abstractClient_1.AbstractClient {
30
26
  * Calls the subscriptions API list endpoint
31
27
  *
32
28
  * @param data - List payload
33
- * @param parameters - Extra parameters to pass
34
29
  *
35
30
  * @returns Promise\<AxiosResponse\<{@link SubscriptionsListData}\>\> */
36
31
  async listRaw(data = {}) {
@@ -45,7 +40,6 @@ class SubscriptionsClient extends abstractClient_1.AbstractClient {
45
40
  * @param postData - List payload
46
41
  * @param perPage - Number of results per page
47
42
  * @param page - Page number to fetch
48
- * @param parameters - Extra parameters to pass
49
43
  *
50
44
  * @returns Promise\<{@link SubscriptionsListResult}\>
51
45
  *
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.11.0",
7
+ "version": "3.13.0-rc.1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",