@code.store/arcxp-sdk-ts 5.1.2 → 5.1.3

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/dist/index.js CHANGED
@@ -698,6 +698,15 @@ class ArcSales extends ArcAbstractAPI {
698
698
  return data;
699
699
  }
700
700
  }
701
+ class ArcSalesV2 extends ArcAbstractAPI {
702
+ constructor(options) {
703
+ super({ ...options, apiPath: 'sales/api/v2' });
704
+ }
705
+ async createEnterpriseGroup(payload) {
706
+ const { data } = await this.client.post('/subscriptions/enterprise', payload);
707
+ return data;
708
+ }
709
+ }
701
710
 
702
711
  class ArcSigningService extends ArcAbstractAPI {
703
712
  constructor(options) {
@@ -830,6 +839,7 @@ const ArcAPI = (options) => {
830
839
  Redirect: new ArcRedirect(options),
831
840
  MigrationCenter: new ArcMigrationCenter(options),
832
841
  Sales: new ArcSales(options),
842
+ SalesV2: new ArcSalesV2(options),
833
843
  Site: new ArcSite(options),
834
844
  Websked: new ArcWebsked(options),
835
845
  Content: new ArcContent(options),