@createiq/backend 1.0.165 → 1.0.167

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.
@@ -3885,10 +3885,6 @@ export type EditEventOp_SpanChange = {
3885
3885
  kind: 'colspan' | 'rowspan';
3886
3886
  };
3887
3887
 
3888
- export type NegotiationPackageIdDto = {
3889
- id: string;
3890
- };
3891
-
3892
3888
  export type AnnouncementDto = {
3893
3889
  lastModified: string;
3894
3890
  description: string;
@@ -3947,6 +3943,16 @@ export type RenderTemplateDto = {
3947
3943
  };
3948
3944
  };
3949
3945
 
3946
+ export type NegotiationPackageIdDto = {
3947
+ id: string;
3948
+ };
3949
+
3950
+ export type TimelineStatsDto = {
3951
+ duration: number;
3952
+ exchanges: number;
3953
+ averageTurnaround: number;
3954
+ };
3955
+
3950
3956
  export type FileExtractionResultSummaryDto = {
3951
3957
  subAccountId: string;
3952
3958
  fileId: string;
@@ -4256,6 +4262,11 @@ export type DraftingNotesDto = {
4256
4262
  externalDraftingNotes: Array<DraftingNoteDto>;
4257
4263
  };
4258
4264
 
4265
+ export type InsightsTimelineResponseDto = {
4266
+ stats: TimelineStatsDto;
4267
+ events: Array<InsightEventDto>;
4268
+ };
4269
+
4259
4270
  export type ReceiverUserDto = {
4260
4271
  email: string;
4261
4272
  emailFailedToDeliver?: boolean;
@@ -7307,6 +7318,30 @@ export type getOtherPartyAnswersResponses = {
7307
7318
 
7308
7319
  export type getOtherPartyAnswersResponse = getOtherPartyAnswersResponses[keyof getOtherPartyAnswersResponses];
7309
7320
 
7321
+ export type addPackageMembersData = {
7322
+ body: UpdateNegotiationPackageMembersDto;
7323
+ path: {
7324
+ subAccountId: string;
7325
+ negotiationPackageId: string;
7326
+ };
7327
+ query?: never;
7328
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members/add';
7329
+ };
7330
+
7331
+ export type addPackageMembersErrors = {
7332
+ /**
7333
+ * Negotiation package not found
7334
+ */
7335
+ 404: unknown;
7336
+ };
7337
+
7338
+ export type addPackageMembersResponses = {
7339
+ /**
7340
+ * Negotiation package members added
7341
+ */
7342
+ 200: unknown;
7343
+ };
7344
+
7310
7345
  export type overrideElectionApprovalData = {
7311
7346
  body: ApprovalCommentDto;
7312
7347
  path: {
@@ -8534,32 +8569,6 @@ export type negotiationRenderTemplateAtVersionResponses = {
8534
8569
 
8535
8570
  export type negotiationRenderTemplateAtVersionResponse = negotiationRenderTemplateAtVersionResponses[keyof negotiationRenderTemplateAtVersionResponses];
8536
8571
 
8537
- export type updateUserAnswersData = {
8538
- body: PartyAnswersDto;
8539
- path: {
8540
- subAccountId: string;
8541
- negotiationId: string;
8542
- };
8543
- query?: never;
8544
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/answers';
8545
- };
8546
-
8547
- export type updateUserAnswersErrors = {
8548
- /**
8549
- * Negotiation or election not found
8550
- */
8551
- 404: unknown;
8552
- };
8553
-
8554
- export type updateUserAnswersResponses = {
8555
- /**
8556
- * A JSON document describing the current state of the extraction process for the given negotiation
8557
- */
8558
- 200: ExtractionResultDto;
8559
- };
8560
-
8561
- export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
8562
-
8563
8572
  export type getNestedAnswerInsightsData = {
8564
8573
  body?: never;
8565
8574
  path: {
@@ -8731,6 +8740,56 @@ export type getMajorVersionsResponses = {
8731
8740
 
8732
8741
  export type getMajorVersionsResponse = getMajorVersionsResponses[keyof getMajorVersionsResponses];
8733
8742
 
8743
+ export type updateUserAnswersData = {
8744
+ body: PartyAnswersDto;
8745
+ path: {
8746
+ subAccountId: string;
8747
+ negotiationId: string;
8748
+ };
8749
+ query?: never;
8750
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/answers';
8751
+ };
8752
+
8753
+ export type updateUserAnswersErrors = {
8754
+ /**
8755
+ * Negotiation or election not found
8756
+ */
8757
+ 404: unknown;
8758
+ };
8759
+
8760
+ export type updateUserAnswersResponses = {
8761
+ /**
8762
+ * A JSON document describing the current state of the extraction process for the given negotiation
8763
+ */
8764
+ 200: ExtractionResultDto;
8765
+ };
8766
+
8767
+ export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
8768
+
8769
+ export type removePackageMembersData = {
8770
+ body: UpdateNegotiationPackageMembersDto;
8771
+ path: {
8772
+ subAccountId: string;
8773
+ negotiationPackageId: string;
8774
+ };
8775
+ query?: never;
8776
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members/remove';
8777
+ };
8778
+
8779
+ export type removePackageMembersErrors = {
8780
+ /**
8781
+ * Negotiation package not found
8782
+ */
8783
+ 404: unknown;
8784
+ };
8785
+
8786
+ export type removePackageMembersResponses = {
8787
+ /**
8788
+ * Negotiation package members removed
8789
+ */
8790
+ 200: unknown;
8791
+ };
8792
+
8734
8793
  export type deleteDocumentElectionDraftingNoteData = {
8735
8794
  body?: never;
8736
8795
  path: {
@@ -10745,9 +10804,9 @@ export type getInsightsTimelineErrors = {
10745
10804
 
10746
10805
  export type getInsightsTimelineResponses = {
10747
10806
  /**
10748
- * The insights activity timeline
10807
+ * The insights activity timeline with statistics
10749
10808
  */
10750
- 200: Array<InsightEventDto>;
10809
+ 200: InsightsTimelineResponseDto;
10751
10810
  };
10752
10811
 
10753
10812
  export type getInsightsTimelineResponse = getInsightsTimelineResponses[keyof getInsightsTimelineResponses];