@createiq/backend 1.0.145 → 1.0.147

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>;
@@ -1959,7 +1959,6 @@ export type NegotiationSearchDto = {
1959
1959
  turn?: PartyRelativeRef;
1960
1960
  userId: Array<string>;
1961
1961
  advisorNegotiationIds: Array<string>;
1962
- isForkedOrFork?: boolean;
1963
1962
  advisorRelationshipId: Array<string>;
1964
1963
  partyB: Array<string>;
1965
1964
  olderThanPeriod?: string;
@@ -1995,6 +1994,8 @@ export type NegotiationSearchDto = {
1995
1994
  fund: Array<string>;
1996
1995
  excludedUiStates: Array<NegotiationUIState>;
1997
1996
  partyAny: Array<string>;
1997
+ isForkedOrFork?: boolean;
1998
+ historicalUserId: Array<string>;
1998
1999
  };
1999
2000
 
2000
2001
  export type SchemaRestriction = 'initiator' | 'receiver' | 'moderator' | 'regularParties';
@@ -2936,11 +2937,12 @@ export type UpdateUserFlagsDto = {
2936
2937
  };
2937
2938
 
2938
2939
  export type CrossAccountMoveResultDto = {
2939
- negotiationsWithWatchersCleared: Array<string>;
2940
2940
  negotiationsWithActiveUsersCleared: Array<string>;
2941
2941
  movedNegotiations: number;
2942
2942
  negotiationsWithApproversCleared: Array<string>;
2943
2943
  dryRun: boolean;
2944
+ negotiationsGrantedToAdvisor: Array<string>;
2945
+ negotiationsWithWatchersCleared: Array<string>;
2944
2946
  };
2945
2947
 
2946
2948
  export type ErrorResponse = ErrorResponseDto | DocumentErrorResponseDto | EntityMoveErrorResponseDto;
@@ -4179,6 +4181,7 @@ export type CrossAccountMoveRequestDto = {
4179
4181
  entityId: string;
4180
4182
  allowMerge?: boolean;
4181
4183
  fromSubAccountId: string;
4184
+ grantToAdvisorAccount?: string;
4182
4185
  dryRun?: boolean;
4183
4186
  toSubAccountId: string;
4184
4187
  };
@@ -6262,6 +6265,7 @@ export type generateNegotiationsReportData = {
6262
6265
  * Filter by active user id
6263
6266
  */
6264
6267
  userId?: Array<string>;
6268
+ historicalUserId: Array<string>;
6265
6269
  /**
6266
6270
  * Filter by which party's turn it is
6267
6271
  */
@@ -9717,6 +9721,7 @@ export type listNegotiationsData = {
9717
9721
  * Filter by active user id
9718
9722
  */
9719
9723
  userId?: Array<string>;
9724
+ historicalUserId: Array<string>;
9720
9725
  /**
9721
9726
  * Filter by which party's turn it is
9722
9727
  */
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;
@@ -2034,7 +2034,6 @@ type NegotiationSearchDto = {
2034
2034
  turn?: PartyRelativeRef;
2035
2035
  userId: Array<string>;
2036
2036
  advisorNegotiationIds: Array<string>;
2037
- isForkedOrFork?: boolean;
2038
2037
  advisorRelationshipId: Array<string>;
2039
2038
  partyB: Array<string>;
2040
2039
  olderThanPeriod?: string;
@@ -2070,6 +2069,8 @@ type NegotiationSearchDto = {
2070
2069
  fund: Array<string>;
2071
2070
  excludedUiStates: Array<NegotiationUIState>;
2072
2071
  partyAny: Array<string>;
2072
+ isForkedOrFork?: boolean;
2073
+ historicalUserId: Array<string>;
2073
2074
  };
2074
2075
  type SchemaRestriction = 'initiator' | 'receiver' | 'moderator' | 'regularParties';
2075
2076
  type JobStatus = 'created' | 'in_progress' | 'failed' | 'completed';
@@ -2866,11 +2867,12 @@ type UpdateUserFlagsDto = {
2866
2867
  displayIntroduction: boolean;
2867
2868
  };
2868
2869
  type CrossAccountMoveResultDto = {
2869
- negotiationsWithWatchersCleared: Array<string>;
2870
2870
  negotiationsWithActiveUsersCleared: Array<string>;
2871
2871
  movedNegotiations: number;
2872
2872
  negotiationsWithApproversCleared: Array<string>;
2873
2873
  dryRun: boolean;
2874
+ negotiationsGrantedToAdvisor: Array<string>;
2875
+ negotiationsWithWatchersCleared: Array<string>;
2874
2876
  };
2875
2877
  type ErrorResponse = ErrorResponseDto | DocumentErrorResponseDto | EntityMoveErrorResponseDto;
2876
2878
  type NegotiationFilenameConfigInfoDto = {
@@ -3951,6 +3953,7 @@ type CrossAccountMoveRequestDto = {
3951
3953
  entityId: string;
3952
3954
  allowMerge?: boolean;
3953
3955
  fromSubAccountId: string;
3956
+ grantToAdvisorAccount?: string;
3954
3957
  dryRun?: boolean;
3955
3958
  toSubAccountId: string;
3956
3959
  };
@@ -5757,6 +5760,7 @@ type generateNegotiationsReportData = {
5757
5760
  * Filter by active user id
5758
5761
  */
5759
5762
  userId?: Array<string>;
5763
+ historicalUserId: Array<string>;
5760
5764
  /**
5761
5765
  * Filter by which party's turn it is
5762
5766
  */
@@ -8777,6 +8781,7 @@ type listNegotiationsData = {
8777
8781
  * Filter by active user id
8778
8782
  */
8779
8783
  userId?: Array<string>;
8784
+ historicalUserId: Array<string>;
8780
8785
  /**
8781
8786
  * Filter by which party's turn it is
8782
8787
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@createiq/backend",
3
- "version": "1.0.145",
3
+ "version": "1.0.147",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
@@ -1 +1 @@
1
- 668a156dcafe83878171afcb9f3bb995ccae14960c005950187789691ce03ac5
1
+ 7e98f51cbc67e02c75a1f3184c322ca3e2a73f029cfe508a513791c0966b60a3