@createiq/backend 1.0.146 → 1.0.148

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.
@@ -524,7 +524,7 @@ export type MarkEventAsReadRequestDto = {
524
524
  eventIds: Array<string>;
525
525
  };
526
526
 
527
- export type NegotiationFilter = 'documentType' | 'userId' | 'displayReferenceId' | 'documentPublisherId' | 'turn' | 'accessibleToAdvisor' | 'isTriparty' | 'isOffline' | 'unassigned' | 'state' | 'status' | 'bulkSetIds' | 'forkedToOrFrom' | 'isForkedOrFork' | 'olderThanPeriod' | 'missingApprovers' | 'partyA' | 'partyB' | 'partyC' | 'partyAny' | 'approvalType' | 'approverUserId' | 'advisorRelationshipId' | 'fund' | 'approvalsPendingForMe';
527
+ export type NegotiationFilter = 'documentType' | 'userId' | 'historicalUserId' | 'displayReferenceId' | 'documentPublisherId' | 'turn' | 'accessibleToAdvisor' | 'isTriparty' | 'isOffline' | 'unassigned' | 'state' | 'status' | 'bulkSetIds' | 'forkedToOrFrom' | 'isForkedOrFork' | 'olderThanPeriod' | 'missingApprovers' | 'partyA' | 'partyB' | 'partyC' | 'partyAny' | 'approvalType' | 'approverUserId' | 'advisorRelationshipId' | 'fund' | 'approvalsPendingForMe';
528
528
 
529
529
  export type NegotiationFilesSummaryDto = {
530
530
  signatureFiles: Array<NegotiationFileDto_SignatureFileDto>;
@@ -1246,7 +1246,6 @@ export type TimelineEventDto = {
1246
1246
  isNewForRecipient: boolean;
1247
1247
  updated?: string;
1248
1248
  approvers?: ApprovalRuleChangesDto;
1249
- removedApprovers?: Array<UserWithRoleDto>;
1250
1249
  commentReactions?: {
1251
1250
  [key: string]: Array<CommentReactionDto>;
1252
1251
  };
@@ -1259,6 +1258,8 @@ export type TimelineEventDto = {
1259
1258
  id: string;
1260
1259
  availableActions: TimelineEventAvailableActionsDto;
1261
1260
  comment?: string;
1261
+ authorPartyPosition: UIPartyPosition;
1262
+ removedApprovers?: Array<UserWithRoleDto>;
1262
1263
  electionId?: string;
1263
1264
  user: TimelineEventUserDto;
1264
1265
  };
@@ -1959,7 +1960,6 @@ export type NegotiationSearchDto = {
1959
1960
  turn?: PartyRelativeRef;
1960
1961
  userId: Array<string>;
1961
1962
  advisorNegotiationIds: Array<string>;
1962
- isForkedOrFork?: boolean;
1963
1963
  advisorRelationshipId: Array<string>;
1964
1964
  partyB: Array<string>;
1965
1965
  olderThanPeriod?: string;
@@ -1995,6 +1995,8 @@ export type NegotiationSearchDto = {
1995
1995
  fund: Array<string>;
1996
1996
  excludedUiStates: Array<NegotiationUIState>;
1997
1997
  partyAny: Array<string>;
1998
+ isForkedOrFork?: boolean;
1999
+ historicalUserId: Array<string>;
1998
2000
  };
1999
2001
 
2000
2002
  export type SchemaRestriction = 'initiator' | 'receiver' | 'moderator' | 'regularParties';
@@ -6264,6 +6266,7 @@ export type generateNegotiationsReportData = {
6264
6266
  * Filter by active user id
6265
6267
  */
6266
6268
  userId?: Array<string>;
6269
+ historicalUserId: Array<string>;
6267
6270
  /**
6268
6271
  * Filter by which party's turn it is
6269
6272
  */
@@ -9719,6 +9722,7 @@ export type listNegotiationsData = {
9719
9722
  * Filter by active user id
9720
9723
  */
9721
9724
  userId?: Array<string>;
9725
+ historicalUserId: Array<string>;
9722
9726
  /**
9723
9727
  * Filter by which party's turn it is
9724
9728
  */
package/dist/index.d.mts CHANGED
@@ -784,7 +784,7 @@ type AddOptionalCommentDto = {
784
784
  type MarkEventAsReadRequestDto = {
785
785
  eventIds: Array<string>;
786
786
  };
787
- type NegotiationFilter = 'documentType' | 'userId' | 'displayReferenceId' | 'documentPublisherId' | 'turn' | 'accessibleToAdvisor' | 'isTriparty' | 'isOffline' | 'unassigned' | 'state' | 'status' | 'bulkSetIds' | 'forkedToOrFrom' | 'isForkedOrFork' | 'olderThanPeriod' | 'missingApprovers' | 'partyA' | 'partyB' | 'partyC' | 'partyAny' | 'approvalType' | 'approverUserId' | 'advisorRelationshipId' | 'fund' | 'approvalsPendingForMe';
787
+ type NegotiationFilter = 'documentType' | 'userId' | 'historicalUserId' | 'displayReferenceId' | 'documentPublisherId' | 'turn' | 'accessibleToAdvisor' | 'isTriparty' | 'isOffline' | 'unassigned' | 'state' | 'status' | 'bulkSetIds' | 'forkedToOrFrom' | 'isForkedOrFork' | 'olderThanPeriod' | 'missingApprovers' | 'partyA' | 'partyB' | 'partyC' | 'partyAny' | 'approvalType' | 'approverUserId' | 'advisorRelationshipId' | 'fund' | 'approvalsPendingForMe';
788
788
  type NegotiationFilesSummaryDto = {
789
789
  signatureFiles: Array<NegotiationFileDto_SignatureFileDto>;
790
790
  auxiliaryDocument: NegotiationFileDto_AuxiliaryDocumentDto;
@@ -1423,7 +1423,6 @@ type TimelineEventDto = {
1423
1423
  isNewForRecipient: boolean;
1424
1424
  updated?: string;
1425
1425
  approvers?: ApprovalRuleChangesDto;
1426
- removedApprovers?: Array<UserWithRoleDto>;
1427
1426
  commentReactions?: {
1428
1427
  [key: string]: Array<CommentReactionDto>;
1429
1428
  };
@@ -1436,6 +1435,8 @@ type TimelineEventDto = {
1436
1435
  id: string;
1437
1436
  availableActions: TimelineEventAvailableActionsDto;
1438
1437
  comment?: string;
1438
+ authorPartyPosition: UIPartyPosition;
1439
+ removedApprovers?: Array<UserWithRoleDto>;
1439
1440
  electionId?: string;
1440
1441
  user: TimelineEventUserDto;
1441
1442
  };
@@ -2034,7 +2035,6 @@ type NegotiationSearchDto = {
2034
2035
  turn?: PartyRelativeRef;
2035
2036
  userId: Array<string>;
2036
2037
  advisorNegotiationIds: Array<string>;
2037
- isForkedOrFork?: boolean;
2038
2038
  advisorRelationshipId: Array<string>;
2039
2039
  partyB: Array<string>;
2040
2040
  olderThanPeriod?: string;
@@ -2070,6 +2070,8 @@ type NegotiationSearchDto = {
2070
2070
  fund: Array<string>;
2071
2071
  excludedUiStates: Array<NegotiationUIState>;
2072
2072
  partyAny: Array<string>;
2073
+ isForkedOrFork?: boolean;
2074
+ historicalUserId: Array<string>;
2073
2075
  };
2074
2076
  type SchemaRestriction = 'initiator' | 'receiver' | 'moderator' | 'regularParties';
2075
2077
  type JobStatus = 'created' | 'in_progress' | 'failed' | 'completed';
@@ -5759,6 +5761,7 @@ type generateNegotiationsReportData = {
5759
5761
  * Filter by active user id
5760
5762
  */
5761
5763
  userId?: Array<string>;
5764
+ historicalUserId: Array<string>;
5762
5765
  /**
5763
5766
  * Filter by which party's turn it is
5764
5767
  */
@@ -8779,6 +8782,7 @@ type listNegotiationsData = {
8779
8782
  * Filter by active user id
8780
8783
  */
8781
8784
  userId?: Array<string>;
8785
+ historicalUserId: Array<string>;
8782
8786
  /**
8783
8787
  * Filter by which party's turn it is
8784
8788
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@createiq/backend",
3
- "version": "1.0.146",
3
+ "version": "1.0.148",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
@@ -1 +1 @@
1
- f21af826d85c47631834f3512291cfd624bff0fd3981d4def78720a5b93fef3f
1
+ 602860783e99549b100cd926714d97a5c01e56587c1e6f24df515437c6eada49