@createiq/backend 1.0.20 → 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.cjs CHANGED
@@ -39,9 +39,7 @@ __export(index_exports, {
39
39
  assignToMe: () => assignToMe,
40
40
  assignUser: () => assignUser,
41
41
  auditTrailFilters: () => auditTrailFilters,
42
- auditTrailForAccountAsExcel: () => auditTrailForAccountAsExcel,
43
42
  auditTrailForAccountAsJson: () => auditTrailForAccountAsJson,
44
- auditTrailForSubAccountAsExcel: () => auditTrailForSubAccountAsExcel,
45
43
  auditTrailForSubAccountAsJson: () => auditTrailForSubAccountAsJson,
46
44
  authPing: () => authPing,
47
45
  breakingChanges: () => breakingChanges,
@@ -90,9 +88,6 @@ __export(index_exports, {
90
88
  deleteSignedSignaturePageForParty: () => deleteSignedSignaturePageForParty,
91
89
  documentRenderTemplate: () => documentRenderTemplate,
92
90
  documentsFilter: () => documentsFilter,
93
- downloadActiveNegotiationsReportAsExcel: () => downloadActiveNegotiationsReportAsExcel,
94
- downloadDashboardReportAsExcel: () => downloadDashboardReportAsExcel,
95
- downloadExecutedNegotiationsAsExcel: () => downloadExecutedNegotiationsAsExcel,
96
91
  downloadNegotiation: () => downloadNegotiation,
97
92
  downloadPostExecutionPack: () => downloadPostExecutionPack,
98
93
  downloadPreExecutionCounterpartyNegotiation: () => downloadPreExecutionCounterpartyNegotiation,
@@ -104,10 +99,15 @@ __export(index_exports, {
104
99
  extendWindow: () => extendWindow,
105
100
  fixApprovalRules: () => fixApprovalRules,
106
101
  forkNegotiation: () => forkNegotiation,
102
+ generateActiveNegotiationsReportAsExcel: () => generateActiveNegotiationsReportAsExcel,
107
103
  generateAndMaybeSendEnvelope: () => generateAndMaybeSendEnvelope,
104
+ generateAuditTrailForAccountAsExcel: () => generateAuditTrailForAccountAsExcel,
105
+ generateAuditTrailForSubAccountAsExcel: () => generateAuditTrailForSubAccountAsExcel,
106
+ generateCommentsReport: () => generateCommentsReport,
107
+ generateExecutedNegotiationsReportAsExcel: () => generateExecutedNegotiationsReportAsExcel,
108
+ generateNegotiationsReport: () => generateNegotiationsReport,
108
109
  getAccessibleNegotiation: () => getAccessibleNegotiation,
109
110
  getAccountRelationshipSummaries: () => getAccountRelationshipSummaries,
110
- getAllNegotiationCommentsForSubAccount: () => getAllNegotiationCommentsForSubAccount,
111
111
  getAllVersions: () => getAllVersions,
112
112
  getAmendDefaults: () => getAmendDefaults,
113
113
  getAnnotatedOfflineNegotiatedDocument: () => getAnnotatedOfflineNegotiatedDocument,
@@ -625,7 +625,7 @@ var updateSelectedElections = (options) => {
625
625
  }
626
626
  });
627
627
  };
628
- var auditTrailForAccountAsExcel = (options) => {
628
+ var generateAuditTrailForAccountAsExcel = (options) => {
629
629
  return (options.client ?? client).get({
630
630
  security: [
631
631
  {
@@ -913,6 +913,22 @@ var negotiationForkHistory = (options) => {
913
913
  ...options
914
914
  });
915
915
  };
916
+ var moveEntity = (options) => {
917
+ return (options.client ?? client).put({
918
+ security: [
919
+ {
920
+ name: "Authorization",
921
+ type: "apiKey"
922
+ }
923
+ ],
924
+ url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
925
+ ...options,
926
+ headers: {
927
+ "Content-Type": "application/json",
928
+ ...options?.headers
929
+ }
930
+ });
931
+ };
916
932
  var listEntities = (options) => {
917
933
  return (options?.client ?? client).get({
918
934
  security: [
@@ -973,34 +989,6 @@ var setElectionApproval = (options) => {
973
989
  }
974
990
  });
975
991
  };
976
- var downloadDashboardReportAsExcel = (options) => {
977
- return (options.client ?? client).get({
978
- security: [
979
- {
980
- name: "Authorization",
981
- type: "apiKey"
982
- }
983
- ],
984
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/xlsx",
985
- ...options
986
- });
987
- };
988
- var moveEntity = (options) => {
989
- return (options.client ?? client).put({
990
- security: [
991
- {
992
- name: "Authorization",
993
- type: "apiKey"
994
- }
995
- ],
996
- url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
997
- ...options,
998
- headers: {
999
- "Content-Type": "application/json",
1000
- ...options?.headers
1001
- }
1002
- });
1003
- };
1004
992
  var deleteApprovalComment = (options) => {
1005
993
  return (options.client ?? client).delete({
1006
994
  security: [
@@ -1077,6 +1065,18 @@ var getAccessibleNegotiation = (options) => {
1077
1065
  ...options
1078
1066
  });
1079
1067
  };
1068
+ var generateNegotiationsReport = (options) => {
1069
+ return (options.client ?? client).get({
1070
+ security: [
1071
+ {
1072
+ name: "Authorization",
1073
+ type: "apiKey"
1074
+ }
1075
+ ],
1076
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}",
1077
+ ...options
1078
+ });
1079
+ };
1080
1080
  var forkNegotiation = (options) => {
1081
1081
  return (options.client ?? client).post({
1082
1082
  security: [
@@ -1610,7 +1610,7 @@ var getDownloadExecutedNegotiationsAsExcel = (options) => {
1610
1610
  ...options
1611
1611
  });
1612
1612
  };
1613
- var downloadExecutedNegotiationsAsExcel = (options) => {
1613
+ var generateExecutedNegotiationsReportAsExcel = (options) => {
1614
1614
  return (options.client ?? client).post({
1615
1615
  security: [
1616
1616
  {
@@ -2394,7 +2394,7 @@ var assignUser = (options) => {
2394
2394
  ...options
2395
2395
  });
2396
2396
  };
2397
- var getAllNegotiationCommentsForSubAccount = (options) => {
2397
+ var generateCommentsReport = (options) => {
2398
2398
  return (options.client ?? client).get({
2399
2399
  security: [
2400
2400
  {
@@ -2679,7 +2679,7 @@ var setExternalAttachment = (options) => {
2679
2679
  }
2680
2680
  });
2681
2681
  };
2682
- var auditTrailForSubAccountAsExcel = (options) => {
2682
+ var generateAuditTrailForSubAccountAsExcel = (options) => {
2683
2683
  return (options.client ?? client).get({
2684
2684
  security: [
2685
2685
  {
@@ -3284,7 +3284,7 @@ var getDownloadActiveNegotiationsReportAsExcel = (options) => {
3284
3284
  ...options
3285
3285
  });
3286
3286
  };
3287
- var downloadActiveNegotiationsReportAsExcel = (options) => {
3287
+ var generateActiveNegotiationsReportAsExcel = (options) => {
3288
3288
  return (options.client ?? client).post({
3289
3289
  security: [
3290
3290
  {
@@ -3873,9 +3873,7 @@ var getProfile = (options) => {
3873
3873
  assignToMe,
3874
3874
  assignUser,
3875
3875
  auditTrailFilters,
3876
- auditTrailForAccountAsExcel,
3877
3876
  auditTrailForAccountAsJson,
3878
- auditTrailForSubAccountAsExcel,
3879
3877
  auditTrailForSubAccountAsJson,
3880
3878
  authPing,
3881
3879
  breakingChanges,
@@ -3924,9 +3922,6 @@ var getProfile = (options) => {
3924
3922
  deleteSignedSignaturePageForParty,
3925
3923
  documentRenderTemplate,
3926
3924
  documentsFilter,
3927
- downloadActiveNegotiationsReportAsExcel,
3928
- downloadDashboardReportAsExcel,
3929
- downloadExecutedNegotiationsAsExcel,
3930
3925
  downloadNegotiation,
3931
3926
  downloadPostExecutionPack,
3932
3927
  downloadPreExecutionCounterpartyNegotiation,
@@ -3938,10 +3933,15 @@ var getProfile = (options) => {
3938
3933
  extendWindow,
3939
3934
  fixApprovalRules,
3940
3935
  forkNegotiation,
3936
+ generateActiveNegotiationsReportAsExcel,
3941
3937
  generateAndMaybeSendEnvelope,
3938
+ generateAuditTrailForAccountAsExcel,
3939
+ generateAuditTrailForSubAccountAsExcel,
3940
+ generateCommentsReport,
3941
+ generateExecutedNegotiationsReportAsExcel,
3942
+ generateNegotiationsReport,
3942
3943
  getAccessibleNegotiation,
3943
3944
  getAccountRelationshipSummaries,
3944
- getAllNegotiationCommentsForSubAccount,
3945
3945
  getAllVersions,
3946
3946
  getAmendDefaults,
3947
3947
  getAnnotatedOfflineNegotiatedDocument,