@createiq/backend 1.0.25 → 1.0.27

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
@@ -660,6 +660,22 @@ var listEntities = (options) => {
660
660
  ...options
661
661
  });
662
662
  };
663
+ var shareSubAccount = (options) => {
664
+ return (options.client ?? client).post({
665
+ security: [
666
+ {
667
+ name: "Authorization",
668
+ type: "apiKey"
669
+ }
670
+ ],
671
+ url: "/api/v1/subAccounts/{subAccountId}/share",
672
+ ...options,
673
+ headers: {
674
+ "Content-Type": "application/json",
675
+ ...options?.headers
676
+ }
677
+ });
678
+ };
663
679
  var assignEntity = (options) => {
664
680
  return (options.client ?? client).put({
665
681
  security: [
@@ -2558,18 +2574,6 @@ var getExecutionAttachment = (options) => {
2558
2574
  ...options
2559
2575
  });
2560
2576
  };
2561
- var getUsersForPicker = (options) => {
2562
- return (options.client ?? client).get({
2563
- security: [
2564
- {
2565
- name: "Authorization",
2566
- type: "apiKey"
2567
- }
2568
- ],
2569
- url: "/api/v1/subaccount/{subAccountId}/usersForPicker",
2570
- ...options
2571
- });
2572
- };
2573
2577
  var syncNewApprover = (options) => {
2574
2578
  return (options.client ?? client).put({
2575
2579
  security: [
@@ -2674,6 +2678,18 @@ var addApprovalComment = (options) => {
2674
2678
  }
2675
2679
  });
2676
2680
  };
2681
+ var getUsersForPicker = (options) => {
2682
+ return (options.client ?? client).get({
2683
+ security: [
2684
+ {
2685
+ name: "Authorization",
2686
+ type: "apiKey"
2687
+ }
2688
+ ],
2689
+ url: "/api/v1/subaccount/{subAccountId}/usersForPicker",
2690
+ ...options
2691
+ });
2692
+ };
2677
2693
  var scheduleExtraction = (options) => {
2678
2694
  return (options.client ?? client).put({
2679
2695
  security: [
@@ -2686,6 +2702,18 @@ var scheduleExtraction = (options) => {
2686
2702
  ...options
2687
2703
  });
2688
2704
  };
2705
+ var approveAccessRequest = (options) => {
2706
+ return (options.client ?? client).put({
2707
+ security: [
2708
+ {
2709
+ name: "Authorization",
2710
+ type: "apiKey"
2711
+ }
2712
+ ],
2713
+ url: "/api/v1/subAccounts/{subAccountId}/accessRequest/{accessRequestId}/approve",
2714
+ ...options
2715
+ });
2716
+ };
2689
2717
  var negotiationsFilter = (options) => {
2690
2718
  return (options.client ?? client).get({
2691
2719
  security: [
@@ -3435,6 +3463,18 @@ var sendElectionApprovalReminder = (options) => {
3435
3463
  ...options
3436
3464
  });
3437
3465
  };
3466
+ var rejectAccessRequest = (options) => {
3467
+ return (options.client ?? client).put({
3468
+ security: [
3469
+ {
3470
+ name: "Authorization",
3471
+ type: "apiKey"
3472
+ }
3473
+ ],
3474
+ url: "/api/v1/subAccounts/{subAccountId}/accessRequest/{accessRequestId}/reject",
3475
+ ...options
3476
+ });
3477
+ };
3438
3478
  var getExecutedNegotiationSummary = (options) => {
3439
3479
  return (options.client ?? client).get({
3440
3480
  security: [
@@ -3631,6 +3671,7 @@ export {
3631
3671
  addWatchers,
3632
3672
  applyExtractedAnswers,
3633
3673
  approve,
3674
+ approveAccessRequest,
3634
3675
  approveFinalDocument,
3635
3676
  assignEntity,
3636
3677
  assignToMe,
@@ -3823,6 +3864,7 @@ export {
3823
3864
  presetSwapParties,
3824
3865
  publisherSummaries,
3825
3866
  queueGenerateNegotiationDocumentJob,
3867
+ rejectAccessRequest,
3826
3868
  rejectFinalDocument,
3827
3869
  rejectPresetApproval,
3828
3870
  removeWatchers,
@@ -3862,6 +3904,7 @@ export {
3862
3904
  setSignedExecutedVersion,
3863
3905
  setSignedSignaturePageForParty,
3864
3906
  shareNegotiation,
3907
+ shareSubAccount,
3865
3908
  suggestGroupName,
3866
3909
  swapParties,
3867
3910
  syncNewApprover,