@createiq/backend 1.0.173 → 1.0.175

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.
@@ -2299,8 +2299,6 @@ export type DocumentStatisticsDto = {
2299
2299
  presets: DocumentStatisticsDto_PresetStatistics;
2300
2300
  };
2301
2301
 
2302
- export type TurnstileErrorCode = 'missing-input-secret' | 'invalid-input-secret' | 'missing-input-response' | 'invalid-input-response' | 'bad-request' | 'timeout-or-duplicate' | 'internal-error';
2303
-
2304
2302
  export type UnsubscribeRequestDto = {
2305
2303
  email: string;
2306
2304
  hash: string;
@@ -2318,6 +2316,15 @@ export type ApproverDto = ({
2318
2316
  type: 'AnonymousApproverDto';
2319
2317
  } & AnonymousApproverDto);
2320
2318
 
2319
+ export type AdminAllowedDomainDto = {
2320
+ domain: string;
2321
+ userCount: number;
2322
+ pendingInvitationCount: number;
2323
+ awaitingReceivingSubAccountNegotiationCount: number;
2324
+ };
2325
+
2326
+ export type TurnstileErrorCode = 'missing-input-secret' | 'invalid-input-secret' | 'missing-input-response' | 'invalid-input-response' | 'bad-request' | 'timeout-or-duplicate' | 'internal-error';
2327
+
2321
2328
  export type ApprovalCommentsAvailableActionsDto = {
2322
2329
  canCreate: boolean;
2323
2330
  };
@@ -2510,8 +2517,6 @@ export type NegotiationPartyDto = ({
2510
2517
  type: 'stubbed_party';
2511
2518
  } & NegotiationStubbedPartyDto);
2512
2519
 
2513
- export type ComponentAnswerDto_Multiple = Array<string>;
2514
-
2515
2520
  export type AccountWithAddedDomainsDto = {
2516
2521
  accountId: string;
2517
2522
  accountName: string;
@@ -2597,6 +2602,12 @@ export type ManualReminderEmailInfoDto = {
2597
2602
  emailFailedToDeliver: boolean;
2598
2603
  };
2599
2604
 
2605
+ export type ComponentAnswerDto_Multiple = Array<string>;
2606
+
2607
+ export type AddAllowedDomainDto = {
2608
+ domain: string;
2609
+ };
2610
+
2600
2611
  export type ComponentAnswerDto_FundListEntityDto = {
2601
2612
  entityId: string;
2602
2613
  name: string;
@@ -4108,11 +4119,6 @@ export type NotificationTypeDto = {
4108
4119
  type: 'ReportGeneratedTypeDto';
4109
4120
  };
4110
4121
 
4111
- export type DocumentStatisticsDto_StateStatistic = {
4112
- count: number;
4113
- accounts: Array<string>;
4114
- };
4115
-
4116
4122
  export type SubAccountDto = {
4117
4123
  createdByIntegratorClientId?: string;
4118
4124
  entities: Array<EntityDto>;
@@ -4122,6 +4128,14 @@ export type SubAccountDto = {
4122
4128
  presetApprovals: boolean;
4123
4129
  };
4124
4130
 
4131
+ export type NegotiationPackageListItemDto = {
4132
+ name: string;
4133
+ activeNegotiations: number;
4134
+ totalNegotiations: number;
4135
+ id: string;
4136
+ completedNegotiations: number;
4137
+ };
4138
+
4125
4139
  export type DocumentIdWithDraftingNotesFlagDto = {
4126
4140
  documentId: string;
4127
4141
  hasInternalDraftingNotes: boolean;
@@ -4149,6 +4163,22 @@ export type UnstructuredExtractionResultDto = {
4149
4163
  [key: string]: Array<string>;
4150
4164
  };
4151
4165
 
4166
+ export type DocumentStatisticsDto_StateStatistic = {
4167
+ count: number;
4168
+ accounts: Array<string>;
4169
+ };
4170
+
4171
+ export type NegotiationPackageDetailsDto = {
4172
+ name: string;
4173
+ activeNegotiations: number;
4174
+ counterpartyEntity?: EntityDto;
4175
+ ownEntity?: EntityDto;
4176
+ id: string;
4177
+ completedNegotiations: number;
4178
+ negotiations: Array<NegotiationSingleDto>;
4179
+ totalNegotiations: number;
4180
+ };
4181
+
4152
4182
  export type SubAccountRelationshipDto = {
4153
4183
  totalAdvisorUsers: number;
4154
4184
  totalSharedNegotiations: number;
@@ -4545,10 +4575,6 @@ export type DocuSignPreviewSignerDto = {
4545
4575
  emailPath: string;
4546
4576
  };
4547
4577
 
4548
- export type NegotiationsPackageDto = {
4549
- negotiations: Array<NegotiationSingleDto>;
4550
- };
4551
-
4552
4578
  export type CompletedExtractionResultDto = {
4553
4579
  unstructured: UnstructuredExtractionResultDto;
4554
4580
  userAnswers: PartyAnswersDto;
@@ -5641,6 +5667,25 @@ export type updateCommentResponses = {
5641
5667
 
5642
5668
  export type updateCommentResponse = updateCommentResponses[keyof updateCommentResponses];
5643
5669
 
5670
+ export type getPackageData = {
5671
+ body?: never;
5672
+ path: {
5673
+ subAccountId: string;
5674
+ negotiationPackageId: string;
5675
+ };
5676
+ query?: never;
5677
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}';
5678
+ };
5679
+
5680
+ export type getPackageResponses = {
5681
+ /**
5682
+ * A negotiation package
5683
+ */
5684
+ 200: NegotiationPackageDetailsDto;
5685
+ };
5686
+
5687
+ export type getPackageResponse = getPackageResponses[keyof getPackageResponses];
5688
+
5644
5689
  export type updatePackageNameData = {
5645
5690
  body: UpdateNegotiationPackageNameDto;
5646
5691
  path: {
@@ -5804,25 +5849,6 @@ export type grantAllNegotiationsAccessResponses = {
5804
5849
 
5805
5850
  export type grantAllNegotiationsAccessResponse = grantAllNegotiationsAccessResponses[keyof grantAllNegotiationsAccessResponses];
5806
5851
 
5807
- export type getNegotiationESignStatusData = {
5808
- body?: never;
5809
- path: {
5810
- subAccountId: string;
5811
- negotiationId: string;
5812
- };
5813
- query?: never;
5814
- url: '/api/v1/docusign/status/subAccounts/{subAccountId}/negotiations/{negotiationId}';
5815
- };
5816
-
5817
- export type getNegotiationESignStatusResponses = {
5818
- /**
5819
- * Signing status corresponding to a negotiation
5820
- */
5821
- 200: ESignNegotiationStatusDto;
5822
- };
5823
-
5824
- export type getNegotiationESignStatusResponse = getNegotiationESignStatusResponses[keyof getNegotiationESignStatusResponses];
5825
-
5826
5852
  export type unsubscribeData = {
5827
5853
  body: UnsubscribeRequestDto;
5828
5854
  path: {
@@ -6011,6 +6037,25 @@ export type rejectEventResponses = {
6011
6037
  200: unknown;
6012
6038
  };
6013
6039
 
6040
+ export type getNegotiationESignStatusData = {
6041
+ body?: never;
6042
+ path: {
6043
+ subAccountId: string;
6044
+ negotiationId: string;
6045
+ };
6046
+ query?: never;
6047
+ url: '/api/v1/docusign/status/subAccounts/{subAccountId}/negotiations/{negotiationId}';
6048
+ };
6049
+
6050
+ export type getNegotiationESignStatusResponses = {
6051
+ /**
6052
+ * Signing status corresponding to a negotiation
6053
+ */
6054
+ 200: ESignNegotiationStatusDto;
6055
+ };
6056
+
6057
+ export type getNegotiationESignStatusResponse = getNegotiationESignStatusResponses[keyof getNegotiationESignStatusResponses];
6058
+
6014
6059
  export type addElectionRejectionData = {
6015
6060
  body: ApprovalCommentDto;
6016
6061
  path: {
@@ -7370,25 +7415,6 @@ export type uploadFundListSpreadsheetResponses = {
7370
7415
 
7371
7416
  export type uploadFundListSpreadsheetResponse = uploadFundListSpreadsheetResponses[keyof uploadFundListSpreadsheetResponses];
7372
7417
 
7373
- export type getNegotiationsPackageData = {
7374
- body?: never;
7375
- path: {
7376
- subAccountId: string;
7377
- negotiationPackageId: string;
7378
- };
7379
- query?: never;
7380
- url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/negotiations';
7381
- };
7382
-
7383
- export type getNegotiationsPackageResponses = {
7384
- /**
7385
- * A negotiation package
7386
- */
7387
- 200: NegotiationsPackageDto;
7388
- };
7389
-
7390
- export type getNegotiationsPackageResponse = getNegotiationsPackageResponses[keyof getNegotiationsPackageResponses];
7391
-
7392
7418
  export type breakingChangesData = {
7393
7419
  body?: never;
7394
7420
  path: {
@@ -8369,7 +8395,7 @@ export type getNegotiationDeltasData = {
8369
8395
 
8370
8396
  export type getNegotiationDeltasResponses = {
8371
8397
  /**
8372
- * Negotiations deltas (if any).
8398
+ * The package's own and counterparty entities, and the errors (including deltas) of each negotiation against them.
8373
8399
  */
8374
8400
  200: unknown;
8375
8401
  };
@@ -8873,9 +8899,9 @@ export type getPackageNamesData = {
8873
8899
 
8874
8900
  export type getPackageNamesResponses = {
8875
8901
  /**
8876
- * Names of the packages within a Sub-Account
8902
+ * Packages within a Sub-Account
8877
8903
  */
8878
- 200: Array<NegotiationPackageDto>;
8904
+ 200: Array<NegotiationPackageListItemDto>;
8879
8905
  };
8880
8906
 
8881
8907
  export type getPackageNamesResponse = getPackageNamesResponses[keyof getPackageNamesResponses];