@createiq/backend 1.0.20 → 1.0.22

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
@@ -332,7 +332,7 @@ var updateSelectedElections = (options) => {
332
332
  }
333
333
  });
334
334
  };
335
- var auditTrailForAccountAsExcel = (options) => {
335
+ var generateAuditTrailForAccountAsExcel = (options) => {
336
336
  return (options.client ?? client).get({
337
337
  security: [
338
338
  {
@@ -620,6 +620,22 @@ var negotiationForkHistory = (options) => {
620
620
  ...options
621
621
  });
622
622
  };
623
+ var moveEntity = (options) => {
624
+ return (options.client ?? client).put({
625
+ security: [
626
+ {
627
+ name: "Authorization",
628
+ type: "apiKey"
629
+ }
630
+ ],
631
+ url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
632
+ ...options,
633
+ headers: {
634
+ "Content-Type": "application/json",
635
+ ...options?.headers
636
+ }
637
+ });
638
+ };
623
639
  var listEntities = (options) => {
624
640
  return (options?.client ?? client).get({
625
641
  security: [
@@ -680,34 +696,6 @@ var setElectionApproval = (options) => {
680
696
  }
681
697
  });
682
698
  };
683
- var downloadDashboardReportAsExcel = (options) => {
684
- return (options.client ?? client).get({
685
- security: [
686
- {
687
- name: "Authorization",
688
- type: "apiKey"
689
- }
690
- ],
691
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/xlsx",
692
- ...options
693
- });
694
- };
695
- var moveEntity = (options) => {
696
- return (options.client ?? client).put({
697
- security: [
698
- {
699
- name: "Authorization",
700
- type: "apiKey"
701
- }
702
- ],
703
- url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
704
- ...options,
705
- headers: {
706
- "Content-Type": "application/json",
707
- ...options?.headers
708
- }
709
- });
710
- };
711
699
  var deleteApprovalComment = (options) => {
712
700
  return (options.client ?? client).delete({
713
701
  security: [
@@ -784,6 +772,18 @@ var getAccessibleNegotiation = (options) => {
784
772
  ...options
785
773
  });
786
774
  };
775
+ var generateNegotiationsReport = (options) => {
776
+ return (options.client ?? client).get({
777
+ security: [
778
+ {
779
+ name: "Authorization",
780
+ type: "apiKey"
781
+ }
782
+ ],
783
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}",
784
+ ...options
785
+ });
786
+ };
787
787
  var forkNegotiation = (options) => {
788
788
  return (options.client ?? client).post({
789
789
  security: [
@@ -904,6 +904,22 @@ var updateDocumentDraftingNote = (options) => {
904
904
  ...options
905
905
  });
906
906
  };
907
+ var shareNegotiation = (options) => {
908
+ return (options.client ?? client).post({
909
+ security: [
910
+ {
911
+ name: "Authorization",
912
+ type: "apiKey"
913
+ }
914
+ ],
915
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/share",
916
+ ...options,
917
+ headers: {
918
+ "Content-Type": "application/json",
919
+ ...options?.headers
920
+ }
921
+ });
922
+ };
907
923
  var setBulkSetAttachments = (options) => {
908
924
  return (options.client ?? client).post({
909
925
  ...formDataBodySerializer,
@@ -1317,7 +1333,7 @@ var getDownloadExecutedNegotiationsAsExcel = (options) => {
1317
1333
  ...options
1318
1334
  });
1319
1335
  };
1320
- var downloadExecutedNegotiationsAsExcel = (options) => {
1336
+ var generateExecutedNegotiationsReportAsExcel = (options) => {
1321
1337
  return (options.client ?? client).post({
1322
1338
  security: [
1323
1339
  {
@@ -2101,7 +2117,7 @@ var assignUser = (options) => {
2101
2117
  ...options
2102
2118
  });
2103
2119
  };
2104
- var getAllNegotiationCommentsForSubAccount = (options) => {
2120
+ var generateCommentsReport = (options) => {
2105
2121
  return (options.client ?? client).get({
2106
2122
  security: [
2107
2123
  {
@@ -2386,7 +2402,7 @@ var setExternalAttachment = (options) => {
2386
2402
  }
2387
2403
  });
2388
2404
  };
2389
- var auditTrailForSubAccountAsExcel = (options) => {
2405
+ var generateAuditTrailForSubAccountAsExcel = (options) => {
2390
2406
  return (options.client ?? client).get({
2391
2407
  security: [
2392
2408
  {
@@ -2991,7 +3007,7 @@ var getDownloadActiveNegotiationsReportAsExcel = (options) => {
2991
3007
  ...options
2992
3008
  });
2993
3009
  };
2994
- var downloadActiveNegotiationsReportAsExcel = (options) => {
3010
+ var generateActiveNegotiationsReportAsExcel = (options) => {
2995
3011
  return (options.client ?? client).post({
2996
3012
  security: [
2997
3013
  {
@@ -3579,9 +3595,7 @@ export {
3579
3595
  assignToMe,
3580
3596
  assignUser,
3581
3597
  auditTrailFilters,
3582
- auditTrailForAccountAsExcel,
3583
3598
  auditTrailForAccountAsJson,
3584
- auditTrailForSubAccountAsExcel,
3585
3599
  auditTrailForSubAccountAsJson,
3586
3600
  authPing,
3587
3601
  breakingChanges,
@@ -3630,9 +3644,6 @@ export {
3630
3644
  deleteSignedSignaturePageForParty,
3631
3645
  documentRenderTemplate,
3632
3646
  documentsFilter,
3633
- downloadActiveNegotiationsReportAsExcel,
3634
- downloadDashboardReportAsExcel,
3635
- downloadExecutedNegotiationsAsExcel,
3636
3647
  downloadNegotiation,
3637
3648
  downloadPostExecutionPack,
3638
3649
  downloadPreExecutionCounterpartyNegotiation,
@@ -3644,10 +3655,15 @@ export {
3644
3655
  extendWindow,
3645
3656
  fixApprovalRules,
3646
3657
  forkNegotiation,
3658
+ generateActiveNegotiationsReportAsExcel,
3647
3659
  generateAndMaybeSendEnvelope,
3660
+ generateAuditTrailForAccountAsExcel,
3661
+ generateAuditTrailForSubAccountAsExcel,
3662
+ generateCommentsReport,
3663
+ generateExecutedNegotiationsReportAsExcel,
3664
+ generateNegotiationsReport,
3648
3665
  getAccessibleNegotiation,
3649
3666
  getAccountRelationshipSummaries,
3650
- getAllNegotiationCommentsForSubAccount,
3651
3667
  getAllVersions,
3652
3668
  getAmendDefaults,
3653
3669
  getAnnotatedOfflineNegotiatedDocument,
@@ -3802,6 +3818,7 @@ export {
3802
3818
  setReceiverEntity,
3803
3819
  setSignedExecutedVersion,
3804
3820
  setSignedSignaturePageForParty,
3821
+ shareNegotiation,
3805
3822
  suggestGroupName,
3806
3823
  swapParties,
3807
3824
  syncNewApprover,