@createiq/backend 1.0.19 → 1.0.21

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: [
@@ -1317,7 +1317,7 @@ var getDownloadExecutedNegotiationsAsExcel = (options) => {
1317
1317
  ...options
1318
1318
  });
1319
1319
  };
1320
- var downloadExecutedNegotiationsAsExcel = (options) => {
1320
+ var generateExecutedNegotiationsReportAsExcel = (options) => {
1321
1321
  return (options.client ?? client).post({
1322
1322
  security: [
1323
1323
  {
@@ -1933,20 +1933,20 @@ var getPartyAnswers = (options) => {
1933
1933
  ...options
1934
1934
  });
1935
1935
  };
1936
- var getNegotiationsGroup = (options) => {
1937
- return (options.client ?? client).get({
1936
+ var deletePreset = (options) => {
1937
+ return (options.client ?? client).delete({
1938
1938
  security: [
1939
1939
  {
1940
1940
  name: "Authorization",
1941
1941
  type: "apiKey"
1942
1942
  }
1943
1943
  ],
1944
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations",
1944
+ url: "/api/v1/presets/{presetId}",
1945
1945
  ...options
1946
1946
  });
1947
1947
  };
1948
- var deletePreset = (options) => {
1949
- return (options.client ?? client).delete({
1948
+ var getPreset = (options) => {
1949
+ return (options.client ?? client).get({
1950
1950
  security: [
1951
1951
  {
1952
1952
  name: "Authorization",
@@ -1957,7 +1957,7 @@ var deletePreset = (options) => {
1957
1957
  ...options
1958
1958
  });
1959
1959
  };
1960
- var getPreset = (options) => {
1960
+ var createPresetAuditTrailJson = (options) => {
1961
1961
  return (options.client ?? client).get({
1962
1962
  security: [
1963
1963
  {
@@ -1965,11 +1965,11 @@ var getPreset = (options) => {
1965
1965
  type: "apiKey"
1966
1966
  }
1967
1967
  ],
1968
- url: "/api/v1/presets/{presetId}",
1968
+ url: "/api/v1/presets/{presetId}/audit_trail/json",
1969
1969
  ...options
1970
1970
  });
1971
1971
  };
1972
- var createPresetAuditTrailJson = (options) => {
1972
+ var getPotentialUsers = (options) => {
1973
1973
  return (options.client ?? client).get({
1974
1974
  security: [
1975
1975
  {
@@ -1977,7 +1977,19 @@ var createPresetAuditTrailJson = (options) => {
1977
1977
  type: "apiKey"
1978
1978
  }
1979
1979
  ],
1980
- url: "/api/v1/presets/{presetId}/audit_trail/json",
1980
+ url: "/api/v1/subaccount/{subAccountId}/potentialUsers",
1981
+ ...options
1982
+ });
1983
+ };
1984
+ var getNegotiationsGroup = (options) => {
1985
+ return (options.client ?? client).get({
1986
+ security: [
1987
+ {
1988
+ name: "Authorization",
1989
+ type: "apiKey"
1990
+ }
1991
+ ],
1992
+ url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations",
1981
1993
  ...options
1982
1994
  });
1983
1995
  };
@@ -2089,7 +2101,7 @@ var assignUser = (options) => {
2089
2101
  ...options
2090
2102
  });
2091
2103
  };
2092
- var getAllNegotiationCommentsForSubAccount = (options) => {
2104
+ var generateCommentsReport = (options) => {
2093
2105
  return (options.client ?? client).get({
2094
2106
  security: [
2095
2107
  {
@@ -2374,7 +2386,7 @@ var setExternalAttachment = (options) => {
2374
2386
  }
2375
2387
  });
2376
2388
  };
2377
- var auditTrailForSubAccountAsExcel = (options) => {
2389
+ var generateAuditTrailForSubAccountAsExcel = (options) => {
2378
2390
  return (options.client ?? client).get({
2379
2391
  security: [
2380
2392
  {
@@ -2979,7 +2991,7 @@ var getDownloadActiveNegotiationsReportAsExcel = (options) => {
2979
2991
  ...options
2980
2992
  });
2981
2993
  };
2982
- var downloadActiveNegotiationsReportAsExcel = (options) => {
2994
+ var generateActiveNegotiationsReportAsExcel = (options) => {
2983
2995
  return (options.client ?? client).post({
2984
2996
  security: [
2985
2997
  {
@@ -3567,9 +3579,7 @@ export {
3567
3579
  assignToMe,
3568
3580
  assignUser,
3569
3581
  auditTrailFilters,
3570
- auditTrailForAccountAsExcel,
3571
3582
  auditTrailForAccountAsJson,
3572
- auditTrailForSubAccountAsExcel,
3573
3583
  auditTrailForSubAccountAsJson,
3574
3584
  authPing,
3575
3585
  breakingChanges,
@@ -3618,9 +3628,6 @@ export {
3618
3628
  deleteSignedSignaturePageForParty,
3619
3629
  documentRenderTemplate,
3620
3630
  documentsFilter,
3621
- downloadActiveNegotiationsReportAsExcel,
3622
- downloadDashboardReportAsExcel,
3623
- downloadExecutedNegotiationsAsExcel,
3624
3631
  downloadNegotiation,
3625
3632
  downloadPostExecutionPack,
3626
3633
  downloadPreExecutionCounterpartyNegotiation,
@@ -3632,10 +3639,15 @@ export {
3632
3639
  extendWindow,
3633
3640
  fixApprovalRules,
3634
3641
  forkNegotiation,
3642
+ generateActiveNegotiationsReportAsExcel,
3635
3643
  generateAndMaybeSendEnvelope,
3644
+ generateAuditTrailForAccountAsExcel,
3645
+ generateAuditTrailForSubAccountAsExcel,
3646
+ generateCommentsReport,
3647
+ generateExecutedNegotiationsReportAsExcel,
3648
+ generateNegotiationsReport,
3636
3649
  getAccessibleNegotiation,
3637
3650
  getAccountRelationshipSummaries,
3638
- getAllNegotiationCommentsForSubAccount,
3639
3651
  getAllVersions,
3640
3652
  getAmendDefaults,
3641
3653
  getAnnotatedOfflineNegotiatedDocument,
@@ -3678,6 +3690,7 @@ export {
3678
3690
  getOriginalAnswersForForkNegotiation,
3679
3691
  getOtherPartyAnswers,
3680
3692
  getPartyAnswers,
3693
+ getPotentialUsers,
3681
3694
  getPreset,
3682
3695
  getPreviousActiveUsers,
3683
3696
  getPreviousMajorVersionsNestedAnswerElections,