@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.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,
@@ -262,6 +262,7 @@ __export(index_exports, {
262
262
  setReceiverEntity: () => setReceiverEntity,
263
263
  setSignedExecutedVersion: () => setSignedExecutedVersion,
264
264
  setSignedSignaturePageForParty: () => setSignedSignaturePageForParty,
265
+ shareNegotiation: () => shareNegotiation,
265
266
  suggestGroupName: () => suggestGroupName,
266
267
  swapParties: () => swapParties,
267
268
  syncNewApprover: () => syncNewApprover,
@@ -625,7 +626,7 @@ var updateSelectedElections = (options) => {
625
626
  }
626
627
  });
627
628
  };
628
- var auditTrailForAccountAsExcel = (options) => {
629
+ var generateAuditTrailForAccountAsExcel = (options) => {
629
630
  return (options.client ?? client).get({
630
631
  security: [
631
632
  {
@@ -913,6 +914,22 @@ var negotiationForkHistory = (options) => {
913
914
  ...options
914
915
  });
915
916
  };
917
+ var moveEntity = (options) => {
918
+ return (options.client ?? client).put({
919
+ security: [
920
+ {
921
+ name: "Authorization",
922
+ type: "apiKey"
923
+ }
924
+ ],
925
+ url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
926
+ ...options,
927
+ headers: {
928
+ "Content-Type": "application/json",
929
+ ...options?.headers
930
+ }
931
+ });
932
+ };
916
933
  var listEntities = (options) => {
917
934
  return (options?.client ?? client).get({
918
935
  security: [
@@ -973,34 +990,6 @@ var setElectionApproval = (options) => {
973
990
  }
974
991
  });
975
992
  };
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
993
  var deleteApprovalComment = (options) => {
1005
994
  return (options.client ?? client).delete({
1006
995
  security: [
@@ -1077,6 +1066,18 @@ var getAccessibleNegotiation = (options) => {
1077
1066
  ...options
1078
1067
  });
1079
1068
  };
1069
+ var generateNegotiationsReport = (options) => {
1070
+ return (options.client ?? client).get({
1071
+ security: [
1072
+ {
1073
+ name: "Authorization",
1074
+ type: "apiKey"
1075
+ }
1076
+ ],
1077
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}",
1078
+ ...options
1079
+ });
1080
+ };
1080
1081
  var forkNegotiation = (options) => {
1081
1082
  return (options.client ?? client).post({
1082
1083
  security: [
@@ -1197,6 +1198,22 @@ var updateDocumentDraftingNote = (options) => {
1197
1198
  ...options
1198
1199
  });
1199
1200
  };
1201
+ var shareNegotiation = (options) => {
1202
+ return (options.client ?? client).post({
1203
+ security: [
1204
+ {
1205
+ name: "Authorization",
1206
+ type: "apiKey"
1207
+ }
1208
+ ],
1209
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/share",
1210
+ ...options,
1211
+ headers: {
1212
+ "Content-Type": "application/json",
1213
+ ...options?.headers
1214
+ }
1215
+ });
1216
+ };
1200
1217
  var setBulkSetAttachments = (options) => {
1201
1218
  return (options.client ?? client).post({
1202
1219
  ...import_client_fetch2.formDataBodySerializer,
@@ -1610,7 +1627,7 @@ var getDownloadExecutedNegotiationsAsExcel = (options) => {
1610
1627
  ...options
1611
1628
  });
1612
1629
  };
1613
- var downloadExecutedNegotiationsAsExcel = (options) => {
1630
+ var generateExecutedNegotiationsReportAsExcel = (options) => {
1614
1631
  return (options.client ?? client).post({
1615
1632
  security: [
1616
1633
  {
@@ -2394,7 +2411,7 @@ var assignUser = (options) => {
2394
2411
  ...options
2395
2412
  });
2396
2413
  };
2397
- var getAllNegotiationCommentsForSubAccount = (options) => {
2414
+ var generateCommentsReport = (options) => {
2398
2415
  return (options.client ?? client).get({
2399
2416
  security: [
2400
2417
  {
@@ -2679,7 +2696,7 @@ var setExternalAttachment = (options) => {
2679
2696
  }
2680
2697
  });
2681
2698
  };
2682
- var auditTrailForSubAccountAsExcel = (options) => {
2699
+ var generateAuditTrailForSubAccountAsExcel = (options) => {
2683
2700
  return (options.client ?? client).get({
2684
2701
  security: [
2685
2702
  {
@@ -3284,7 +3301,7 @@ var getDownloadActiveNegotiationsReportAsExcel = (options) => {
3284
3301
  ...options
3285
3302
  });
3286
3303
  };
3287
- var downloadActiveNegotiationsReportAsExcel = (options) => {
3304
+ var generateActiveNegotiationsReportAsExcel = (options) => {
3288
3305
  return (options.client ?? client).post({
3289
3306
  security: [
3290
3307
  {
@@ -3873,9 +3890,7 @@ var getProfile = (options) => {
3873
3890
  assignToMe,
3874
3891
  assignUser,
3875
3892
  auditTrailFilters,
3876
- auditTrailForAccountAsExcel,
3877
3893
  auditTrailForAccountAsJson,
3878
- auditTrailForSubAccountAsExcel,
3879
3894
  auditTrailForSubAccountAsJson,
3880
3895
  authPing,
3881
3896
  breakingChanges,
@@ -3924,9 +3939,6 @@ var getProfile = (options) => {
3924
3939
  deleteSignedSignaturePageForParty,
3925
3940
  documentRenderTemplate,
3926
3941
  documentsFilter,
3927
- downloadActiveNegotiationsReportAsExcel,
3928
- downloadDashboardReportAsExcel,
3929
- downloadExecutedNegotiationsAsExcel,
3930
3942
  downloadNegotiation,
3931
3943
  downloadPostExecutionPack,
3932
3944
  downloadPreExecutionCounterpartyNegotiation,
@@ -3938,10 +3950,15 @@ var getProfile = (options) => {
3938
3950
  extendWindow,
3939
3951
  fixApprovalRules,
3940
3952
  forkNegotiation,
3953
+ generateActiveNegotiationsReportAsExcel,
3941
3954
  generateAndMaybeSendEnvelope,
3955
+ generateAuditTrailForAccountAsExcel,
3956
+ generateAuditTrailForSubAccountAsExcel,
3957
+ generateCommentsReport,
3958
+ generateExecutedNegotiationsReportAsExcel,
3959
+ generateNegotiationsReport,
3942
3960
  getAccessibleNegotiation,
3943
3961
  getAccountRelationshipSummaries,
3944
- getAllNegotiationCommentsForSubAccount,
3945
3962
  getAllVersions,
3946
3963
  getAmendDefaults,
3947
3964
  getAnnotatedOfflineNegotiatedDocument,
@@ -4096,6 +4113,7 @@ var getProfile = (options) => {
4096
4113
  setReceiverEntity,
4097
4114
  setSignedExecutedVersion,
4098
4115
  setSignedSignaturePageForParty,
4116
+ shareNegotiation,
4099
4117
  suggestGroupName,
4100
4118
  swapParties,
4101
4119
  syncNewApprover,