@rlvt/statistics-openapi-client 1.0.56 → 1.0.58

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/build/api.d.ts CHANGED
@@ -1,11 +1,14 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from "axios";
2
- import type { AnalysisReportGuidedAnalysis, TagAssignmentMode, TagCardinality } from "./definitions";
2
+ import type { AnalysisReportGuidedAnalysis, AnalysisReportPublicationQuality, AnalysisReportCadence, TagAssignmentMode, TagCardinality } from "./definitions";
3
3
  export * from "./definitions";
4
4
  export default class {
5
5
  axios: AxiosInstance;
6
6
  constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
7
+ private listAnalysisReportPromptTemplates;
7
8
  private listAnalysisReports;
8
9
  private createAnalysisReport;
10
+ private getAutomaticAnalysisReport;
11
+ private retryAutomaticAnalysisReport;
9
12
  private getAnalysisReport;
10
13
  private archiveAnalysisReport;
11
14
  private createAnalysisReportFollowUp;
@@ -19,6 +22,12 @@ export default class {
19
22
  private runSavedQuery;
20
23
  private updateSavedQuery;
21
24
  private deleteSavedQuery;
25
+ private listAutomaticReportSettings;
26
+ private createAutomaticReportSettings;
27
+ private getAutomaticReportSettings;
28
+ private updateAutomaticReportSettings;
29
+ private disableAutomaticReportSettings;
30
+ private resetAutomaticReportSettingsPrompt;
22
31
  private listTagSettings;
23
32
  private createTagKey;
24
33
  private getTagKey;
@@ -32,6 +41,22 @@ export default class {
32
41
  private getReportingSettings;
33
42
  private setReportingSettings;
34
43
  get AnalysisReports(): {
44
+ listAnalysisReportPromptTemplates: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
45
+ status: "success";
46
+ } & {
47
+ data: {
48
+ text: string;
49
+ version: number;
50
+ title: string;
51
+ key: string;
52
+ }[];
53
+ program: string;
54
+ version: string;
55
+ datetime: string;
56
+ status: string;
57
+ code?: number | undefined;
58
+ message: string;
59
+ }, any, {}>>;
35
60
  list: (params: {
36
61
  includeArchived?: boolean | undefined;
37
62
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -40,22 +65,23 @@ export default class {
40
65
  data: {
41
66
  id: string;
42
67
  createdBy: string;
68
+ requestedBy: {
69
+ type: import("./definitions").AnalysisReportActorType;
70
+ userId?: string | undefined;
71
+ };
43
72
  activeGeneration?: {
44
73
  status: import("./definitions").AnalysisReportGenerationStatus;
45
74
  id: string;
46
75
  kind: import("./definitions").AnalysisReportGenerationKind;
47
76
  startedAt: string;
48
77
  } | undefined;
49
- title?: string | undefined;
50
- origin: {
51
- type: import("./definitions").AnalysisReportOriginType;
52
- dashboardPath?: string | undefined;
53
- dashboardTitle?: string | undefined;
54
- };
55
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
56
78
  lastGenerationFailure?: {
57
79
  code: string;
58
80
  message: string;
81
+ requestedBy: {
82
+ type: import("./definitions").AnalysisReportActorType;
83
+ userId?: string | undefined;
84
+ };
59
85
  evidence: {
60
86
  id: string;
61
87
  operationId?: string | undefined;
@@ -112,8 +138,6 @@ export default class {
112
138
  generationId: string;
113
139
  kind: import("./definitions").AnalysisReportGenerationKind;
114
140
  question: string;
115
- retryable: boolean;
116
- failedAt: string;
117
141
  usage?: {
118
142
  durationMs: number;
119
143
  rowCount: number;
@@ -121,7 +145,47 @@ export default class {
121
145
  queryCount: number;
122
146
  agentTurns: number;
123
147
  } | undefined;
148
+ retryable: boolean;
149
+ failedAt: string;
124
150
  } | undefined;
151
+ automatic?: {
152
+ slug: string;
153
+ cadence: AnalysisReportCadence;
154
+ period: {
155
+ key: string;
156
+ start: string;
157
+ end: string;
158
+ timezone: string;
159
+ comparisonWindows: {
160
+ previousPeriod: {
161
+ start: string;
162
+ end: string;
163
+ };
164
+ previousYear?: {
165
+ start: string;
166
+ end: string;
167
+ } | undefined;
168
+ };
169
+ };
170
+ promptSnapshot: {
171
+ text: string;
172
+ source: import("./definitions").AnalysisReportPromptSource;
173
+ templateKey: string;
174
+ defaultVersion: number;
175
+ settingsRevision: number;
176
+ locale: string;
177
+ };
178
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
179
+ settingsId: string;
180
+ supersedesReportId?: string | undefined;
181
+ } | undefined;
182
+ title?: string | undefined;
183
+ origin: {
184
+ type: import("./definitions").AnalysisReportOriginType;
185
+ dashboardPath?: string | undefined;
186
+ dashboardTitle?: string | undefined;
187
+ };
188
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
125
189
  archivedAt?: string | undefined;
126
190
  createdAt: string;
127
191
  updatedAt: string;
@@ -174,9 +238,17 @@ export default class {
174
238
  readonly createdBy: string & {
175
239
  readonly?: "__readonly" | undefined;
176
240
  };
241
+ requestedBy: {
242
+ type: import("./definitions").AnalysisReportActorType;
243
+ userId?: string | undefined;
244
+ };
177
245
  activeGeneration?: {
178
246
  status: import("./definitions").AnalysisReportGenerationStatus;
179
247
  id: string;
248
+ requestedBy: {
249
+ type: import("./definitions").AnalysisReportActorType;
250
+ userId?: string | undefined;
251
+ };
180
252
  evidence: {
181
253
  id: string;
182
254
  operationId?: string | undefined;
@@ -247,46 +319,15 @@ export default class {
247
319
  deadlineAt: string;
248
320
  dispatchAttempts: number;
249
321
  delegatedCompanyId: string;
250
- delegatedUserId: string;
322
+ delegatedUserId?: string | undefined;
251
323
  } | undefined;
252
- archivedBy?: string | undefined;
253
- title?: string | undefined;
254
- origin: {
255
- type: import("./definitions").AnalysisReportOriginType;
256
- dashboardPath?: string | undefined;
257
- dashboardTitle?: string | undefined;
258
- };
259
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
260
- context: {
261
- dimensions: string[];
262
- filters: {
263
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
264
- values: string[];
265
- dimension?: string | undefined;
266
- member?: string | undefined;
267
- }[];
268
- timeDimensions: ({
269
- dimension: string;
270
- granularity?: string | undefined;
271
- compareDateRange: (string | string[])[];
272
- } | {
273
- dimension: string;
274
- granularity?: string | undefined;
275
- dateRange?: string | string[] | undefined;
276
- })[];
277
- };
278
- generationPolicy: {
279
- maxQueries: number;
280
- maxRowsPerQuery: number;
281
- maxBytesPerQuery: number;
282
- maxReportBytes: number;
283
- maxBlocksPerSection: number;
284
- maxAgentTurns: number;
285
- maxDurationMs: number;
286
- };
287
- lastGenerationFailure?: {
324
+ generationFailures: {
288
325
  code: string;
289
326
  message: string;
327
+ requestedBy: {
328
+ type: import("./definitions").AnalysisReportActorType;
329
+ userId?: string | undefined;
330
+ };
290
331
  evidence: {
291
332
  id: string;
292
333
  operationId?: string | undefined;
@@ -343,8 +384,79 @@ export default class {
343
384
  generationId: string;
344
385
  kind: import("./definitions").AnalysisReportGenerationKind;
345
386
  question: string;
387
+ usage?: {
388
+ durationMs: number;
389
+ rowCount: number;
390
+ payloadBytes: number;
391
+ queryCount: number;
392
+ agentTurns: number;
393
+ } | undefined;
346
394
  retryable: boolean;
347
395
  failedAt: string;
396
+ }[];
397
+ lastGenerationFailure?: {
398
+ code: string;
399
+ message: string;
400
+ requestedBy: {
401
+ type: import("./definitions").AnalysisReportActorType;
402
+ userId?: string | undefined;
403
+ };
404
+ evidence: {
405
+ id: string;
406
+ operationId?: string | undefined;
407
+ query: {
408
+ dimensions: string[];
409
+ filters: {
410
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
411
+ values: string[];
412
+ dimension?: string | undefined;
413
+ member?: string | undefined;
414
+ }[];
415
+ timeDimensions: ({
416
+ dimension: string;
417
+ granularity?: string | undefined;
418
+ compareDateRange: (string | string[])[];
419
+ } | {
420
+ dimension: string;
421
+ granularity?: string | undefined;
422
+ dateRange?: string | string[] | undefined;
423
+ })[];
424
+ measures: string[];
425
+ limit?: number | undefined;
426
+ order?: {
427
+ [x: string]: "asc" | "desc";
428
+ } | string[][] | undefined;
429
+ };
430
+ rows: {
431
+ [x: string]: {
432
+ value: string | number | boolean;
433
+ metadata?: {
434
+ link?: string | undefined;
435
+ } | undefined;
436
+ };
437
+ }[];
438
+ sources: {
439
+ service: "statistics";
440
+ queryLayer: "cube";
441
+ members: string[];
442
+ }[];
443
+ freshness: {
444
+ capturedAt: string;
445
+ };
446
+ state: import("./definitions").AnalysisReportEvidenceState;
447
+ warning?: string | undefined;
448
+ failureCode?: string | undefined;
449
+ failureMessage?: string | undefined;
450
+ executedAt: string;
451
+ durationMs: number;
452
+ rowCount: number;
453
+ embeddedRowCount: number;
454
+ payloadBytes: number;
455
+ resultHash: string;
456
+ }[];
457
+ generationId: string;
458
+ kind: import("./definitions").AnalysisReportGenerationKind;
459
+ question: string;
348
460
  usage?: {
349
461
  durationMs: number;
350
462
  rowCount: number;
@@ -352,8 +464,45 @@ export default class {
352
464
  queryCount: number;
353
465
  agentTurns: number;
354
466
  } | undefined;
467
+ retryable: boolean;
468
+ failedAt: string;
469
+ } | undefined;
470
+ automatic?: {
471
+ slug: string;
472
+ cadence: AnalysisReportCadence;
473
+ period: {
474
+ key: string;
475
+ start: string;
476
+ end: string;
477
+ timezone: string;
478
+ comparisonWindows: {
479
+ previousPeriod: {
480
+ start: string;
481
+ end: string;
482
+ };
483
+ previousYear?: {
484
+ start: string;
485
+ end: string;
486
+ } | undefined;
487
+ };
488
+ };
489
+ promptSnapshot: {
490
+ text: string;
491
+ source: import("./definitions").AnalysisReportPromptSource;
492
+ templateKey: string;
493
+ defaultVersion: number;
494
+ settingsRevision: number;
495
+ locale: string;
496
+ };
497
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
498
+ settingsId: string;
499
+ supersedesReportId?: string | undefined;
500
+ } | undefined;
501
+ archivedBy?: string | undefined;
502
+ archivedByActor?: {
503
+ type: import("./definitions").AnalysisReportActorType;
504
+ userId?: string | undefined;
355
505
  } | undefined;
356
- archivedAt?: string | undefined;
357
506
  sections: {
358
507
  scope: {
359
508
  dimensions: string[];
@@ -375,6 +524,10 @@ export default class {
375
524
  measures: string[];
376
525
  };
377
526
  id: string;
527
+ requestedBy: {
528
+ type: import("./definitions").AnalysisReportActorType;
529
+ userId?: string | undefined;
530
+ };
378
531
  generationPolicy: {
379
532
  maxQueries: number;
380
533
  maxRowsPerQuery: number;
@@ -498,107 +651,6 @@ export default class {
498
651
  runId?: string | undefined;
499
652
  };
500
653
  }[];
501
- createdAt?: string | undefined;
502
- updatedAt?: string | undefined;
503
- };
504
- program: string;
505
- version: string;
506
- datetime: string;
507
- status: string;
508
- code?: number | undefined;
509
- message: string;
510
- }, any, {}>>;
511
- getAnalysisReport: (params: {
512
- reportId: string;
513
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
514
- status: "success";
515
- } & {
516
- data: {
517
- readonly id: string & {
518
- readonly?: "__readonly" | undefined;
519
- };
520
- readonly companyId: string & {
521
- readonly?: "__readonly" | undefined;
522
- };
523
- readonly createdBy: string & {
524
- readonly?: "__readonly" | undefined;
525
- };
526
- activeGeneration?: {
527
- status: import("./definitions").AnalysisReportGenerationStatus;
528
- id: string;
529
- evidence: {
530
- id: string;
531
- operationId?: string | undefined;
532
- query: {
533
- dimensions: string[];
534
- filters: {
535
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
536
- values: string[];
537
- dimension?: string | undefined;
538
- member?: string | undefined;
539
- }[];
540
- timeDimensions: ({
541
- dimension: string;
542
- granularity?: string | undefined;
543
- compareDateRange: (string | string[])[];
544
- } | {
545
- dimension: string;
546
- granularity?: string | undefined;
547
- dateRange?: string | string[] | undefined;
548
- })[];
549
- measures: string[];
550
- limit?: number | undefined;
551
- order?: {
552
- [x: string]: "asc" | "desc";
553
- } | string[][] | undefined;
554
- };
555
- rows: {
556
- [x: string]: {
557
- value: string | number | boolean;
558
- metadata?: {
559
- link?: string | undefined;
560
- } | undefined;
561
- };
562
- }[];
563
- sources: {
564
- service: "statistics";
565
- queryLayer: "cube";
566
- members: string[];
567
- }[];
568
- freshness: {
569
- capturedAt: string;
570
- };
571
- state: import("./definitions").AnalysisReportEvidenceState;
572
- warning?: string | undefined;
573
- failureCode?: string | undefined;
574
- failureMessage?: string | undefined;
575
- executedAt: string;
576
- durationMs: number;
577
- rowCount: number;
578
- embeddedRowCount: number;
579
- payloadBytes: number;
580
- resultHash: string;
581
- }[];
582
- kind: import("./definitions").AnalysisReportGenerationKind;
583
- startedAt: string;
584
- question: string;
585
- usage: {
586
- durationMs: number;
587
- rowCount: number;
588
- payloadBytes: number;
589
- queryCount: number;
590
- agentTurns: number;
591
- };
592
- sectionId: string;
593
- idempotencyKey: string;
594
- intelligenceCaseId?: string | undefined;
595
- executionId: string;
596
- deadlineAt: string;
597
- dispatchAttempts: number;
598
- delegatedCompanyId: string;
599
- delegatedUserId: string;
600
- } | undefined;
601
- archivedBy?: string | undefined;
602
654
  title?: string | undefined;
603
655
  origin: {
604
656
  type: import("./definitions").AnalysisReportOriginType;
@@ -633,9 +685,1312 @@ export default class {
633
685
  maxAgentTurns: number;
634
686
  maxDurationMs: number;
635
687
  };
688
+ archivedAt?: string | undefined;
689
+ createdAt?: string | undefined;
690
+ updatedAt?: string | undefined;
691
+ };
692
+ program: string;
693
+ version: string;
694
+ datetime: string;
695
+ status: string;
696
+ code?: number | undefined;
697
+ message: string;
698
+ }, any, {}>>;
699
+ getAutomaticAnalysisReport: (params: {
700
+ slug: string;
701
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
702
+ status: "success";
703
+ } & {
704
+ data: {
705
+ settings: {
706
+ type: import("./definitions").AnalyticsSettingsType;
707
+ id: string & {
708
+ readonly?: "__readonly" | undefined;
709
+ };
710
+ readonly companyId: string & {
711
+ readonly?: "__readonly" | undefined;
712
+ };
713
+ createdAt: string & {
714
+ readonly?: "__readonly" | undefined;
715
+ };
716
+ updatedAt: string & {
717
+ readonly?: "__readonly" | undefined;
718
+ };
719
+ definition: {
720
+ title: string;
721
+ slug: string;
722
+ cadence: AnalysisReportCadence;
723
+ timezone: string;
724
+ locale: string;
725
+ description?: string | undefined;
726
+ enabled: boolean;
727
+ nextRunAt?: string | undefined;
728
+ prompt: {
729
+ updatedAt?: string | undefined;
730
+ source: import("./definitions").AnalysisReportPromptSource;
731
+ templateKey: string;
732
+ defaultVersion: number;
733
+ revision: number;
734
+ overrideText?: string | undefined;
735
+ updatedBy?: {
736
+ type: import("./definitions").AnalysisReportActorType;
737
+ userId?: string | undefined;
738
+ } | undefined;
739
+ };
740
+ };
741
+ resourceGroupIds: string[];
742
+ };
743
+ reports: {
744
+ current?: {
745
+ readonly id: string & {
746
+ readonly?: "__readonly" | undefined;
747
+ };
748
+ readonly companyId: string & {
749
+ readonly?: "__readonly" | undefined;
750
+ };
751
+ readonly createdBy: string & {
752
+ readonly?: "__readonly" | undefined;
753
+ };
754
+ requestedBy: {
755
+ type: import("./definitions").AnalysisReportActorType;
756
+ userId?: string | undefined;
757
+ };
758
+ activeGeneration?: {
759
+ status: import("./definitions").AnalysisReportGenerationStatus;
760
+ id: string;
761
+ requestedBy: {
762
+ type: import("./definitions").AnalysisReportActorType;
763
+ userId?: string | undefined;
764
+ };
765
+ evidence: {
766
+ id: string;
767
+ operationId?: string | undefined;
768
+ query: {
769
+ dimensions: string[];
770
+ filters: {
771
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
772
+ values: string[];
773
+ dimension?: string | undefined;
774
+ member?: string | undefined;
775
+ }[];
776
+ timeDimensions: ({
777
+ dimension: string;
778
+ granularity?: string | undefined;
779
+ compareDateRange: (string | string[])[];
780
+ } | {
781
+ dimension: string;
782
+ granularity?: string | undefined;
783
+ dateRange?: string | string[] | undefined;
784
+ })[];
785
+ measures: string[];
786
+ limit?: number | undefined;
787
+ order?: {
788
+ [x: string]: "asc" | "desc";
789
+ } | string[][] | undefined;
790
+ };
791
+ rows: {
792
+ [x: string]: {
793
+ value: string | number | boolean;
794
+ metadata?: {
795
+ link?: string | undefined;
796
+ } | undefined;
797
+ };
798
+ }[];
799
+ sources: {
800
+ service: "statistics";
801
+ queryLayer: "cube";
802
+ members: string[];
803
+ }[];
804
+ freshness: {
805
+ capturedAt: string;
806
+ };
807
+ state: import("./definitions").AnalysisReportEvidenceState;
808
+ warning?: string | undefined;
809
+ failureCode?: string | undefined;
810
+ failureMessage?: string | undefined;
811
+ executedAt: string;
812
+ durationMs: number;
813
+ rowCount: number;
814
+ embeddedRowCount: number;
815
+ payloadBytes: number;
816
+ resultHash: string;
817
+ }[];
818
+ kind: import("./definitions").AnalysisReportGenerationKind;
819
+ startedAt: string;
820
+ question: string;
821
+ usage: {
822
+ durationMs: number;
823
+ rowCount: number;
824
+ payloadBytes: number;
825
+ queryCount: number;
826
+ agentTurns: number;
827
+ };
828
+ sectionId: string;
829
+ idempotencyKey: string;
830
+ intelligenceCaseId?: string | undefined;
831
+ executionId: string;
832
+ deadlineAt: string;
833
+ dispatchAttempts: number;
834
+ delegatedCompanyId: string;
835
+ delegatedUserId?: string | undefined;
836
+ } | undefined;
837
+ generationFailures: {
838
+ code: string;
839
+ message: string;
840
+ requestedBy: {
841
+ type: import("./definitions").AnalysisReportActorType;
842
+ userId?: string | undefined;
843
+ };
844
+ evidence: {
845
+ id: string;
846
+ operationId?: string | undefined;
847
+ query: {
848
+ dimensions: string[];
849
+ filters: {
850
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
851
+ values: string[];
852
+ dimension?: string | undefined;
853
+ member?: string | undefined;
854
+ }[];
855
+ timeDimensions: ({
856
+ dimension: string;
857
+ granularity?: string | undefined;
858
+ compareDateRange: (string | string[])[];
859
+ } | {
860
+ dimension: string;
861
+ granularity?: string | undefined;
862
+ dateRange?: string | string[] | undefined;
863
+ })[];
864
+ measures: string[];
865
+ limit?: number | undefined;
866
+ order?: {
867
+ [x: string]: "asc" | "desc";
868
+ } | string[][] | undefined;
869
+ };
870
+ rows: {
871
+ [x: string]: {
872
+ value: string | number | boolean;
873
+ metadata?: {
874
+ link?: string | undefined;
875
+ } | undefined;
876
+ };
877
+ }[];
878
+ sources: {
879
+ service: "statistics";
880
+ queryLayer: "cube";
881
+ members: string[];
882
+ }[];
883
+ freshness: {
884
+ capturedAt: string;
885
+ };
886
+ state: import("./definitions").AnalysisReportEvidenceState;
887
+ warning?: string | undefined;
888
+ failureCode?: string | undefined;
889
+ failureMessage?: string | undefined;
890
+ executedAt: string;
891
+ durationMs: number;
892
+ rowCount: number;
893
+ embeddedRowCount: number;
894
+ payloadBytes: number;
895
+ resultHash: string;
896
+ }[];
897
+ generationId: string;
898
+ kind: import("./definitions").AnalysisReportGenerationKind;
899
+ question: string;
900
+ usage?: {
901
+ durationMs: number;
902
+ rowCount: number;
903
+ payloadBytes: number;
904
+ queryCount: number;
905
+ agentTurns: number;
906
+ } | undefined;
907
+ retryable: boolean;
908
+ failedAt: string;
909
+ }[];
910
+ lastGenerationFailure?: {
911
+ code: string;
912
+ message: string;
913
+ requestedBy: {
914
+ type: import("./definitions").AnalysisReportActorType;
915
+ userId?: string | undefined;
916
+ };
917
+ evidence: {
918
+ id: string;
919
+ operationId?: string | undefined;
920
+ query: {
921
+ dimensions: string[];
922
+ filters: {
923
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
924
+ values: string[];
925
+ dimension?: string | undefined;
926
+ member?: string | undefined;
927
+ }[];
928
+ timeDimensions: ({
929
+ dimension: string;
930
+ granularity?: string | undefined;
931
+ compareDateRange: (string | string[])[];
932
+ } | {
933
+ dimension: string;
934
+ granularity?: string | undefined;
935
+ dateRange?: string | string[] | undefined;
936
+ })[];
937
+ measures: string[];
938
+ limit?: number | undefined;
939
+ order?: {
940
+ [x: string]: "asc" | "desc";
941
+ } | string[][] | undefined;
942
+ };
943
+ rows: {
944
+ [x: string]: {
945
+ value: string | number | boolean;
946
+ metadata?: {
947
+ link?: string | undefined;
948
+ } | undefined;
949
+ };
950
+ }[];
951
+ sources: {
952
+ service: "statistics";
953
+ queryLayer: "cube";
954
+ members: string[];
955
+ }[];
956
+ freshness: {
957
+ capturedAt: string;
958
+ };
959
+ state: import("./definitions").AnalysisReportEvidenceState;
960
+ warning?: string | undefined;
961
+ failureCode?: string | undefined;
962
+ failureMessage?: string | undefined;
963
+ executedAt: string;
964
+ durationMs: number;
965
+ rowCount: number;
966
+ embeddedRowCount: number;
967
+ payloadBytes: number;
968
+ resultHash: string;
969
+ }[];
970
+ generationId: string;
971
+ kind: import("./definitions").AnalysisReportGenerationKind;
972
+ question: string;
973
+ usage?: {
974
+ durationMs: number;
975
+ rowCount: number;
976
+ payloadBytes: number;
977
+ queryCount: number;
978
+ agentTurns: number;
979
+ } | undefined;
980
+ retryable: boolean;
981
+ failedAt: string;
982
+ } | undefined;
983
+ automatic?: {
984
+ slug: string;
985
+ cadence: AnalysisReportCadence;
986
+ period: {
987
+ key: string;
988
+ start: string;
989
+ end: string;
990
+ timezone: string;
991
+ comparisonWindows: {
992
+ previousPeriod: {
993
+ start: string;
994
+ end: string;
995
+ };
996
+ previousYear?: {
997
+ start: string;
998
+ end: string;
999
+ } | undefined;
1000
+ };
1001
+ };
1002
+ promptSnapshot: {
1003
+ text: string;
1004
+ source: import("./definitions").AnalysisReportPromptSource;
1005
+ templateKey: string;
1006
+ defaultVersion: number;
1007
+ settingsRevision: number;
1008
+ locale: string;
1009
+ };
1010
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1011
+ settingsId: string;
1012
+ supersedesReportId?: string | undefined;
1013
+ } | undefined;
1014
+ archivedBy?: string | undefined;
1015
+ archivedByActor?: {
1016
+ type: import("./definitions").AnalysisReportActorType;
1017
+ userId?: string | undefined;
1018
+ } | undefined;
1019
+ sections: {
1020
+ scope: {
1021
+ dimensions: string[];
1022
+ filters: {
1023
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1024
+ values: string[];
1025
+ dimension?: string | undefined;
1026
+ member?: string | undefined;
1027
+ }[];
1028
+ timeDimensions: ({
1029
+ dimension: string;
1030
+ granularity?: string | undefined;
1031
+ compareDateRange: (string | string[])[];
1032
+ } | {
1033
+ dimension: string;
1034
+ granularity?: string | undefined;
1035
+ dateRange?: string | string[] | undefined;
1036
+ })[];
1037
+ measures: string[];
1038
+ };
1039
+ id: string;
1040
+ requestedBy: {
1041
+ type: import("./definitions").AnalysisReportActorType;
1042
+ userId?: string | undefined;
1043
+ };
1044
+ generationPolicy: {
1045
+ maxQueries: number;
1046
+ maxRowsPerQuery: number;
1047
+ maxBytesPerQuery: number;
1048
+ maxReportBytes: number;
1049
+ maxBlocksPerSection: number;
1050
+ maxAgentTurns: number;
1051
+ maxDurationMs: number;
1052
+ };
1053
+ createdAt: string;
1054
+ evidence: {
1055
+ id: string;
1056
+ operationId?: string | undefined;
1057
+ query: {
1058
+ dimensions: string[];
1059
+ filters: {
1060
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1061
+ values: string[];
1062
+ dimension?: string | undefined;
1063
+ member?: string | undefined;
1064
+ }[];
1065
+ timeDimensions: ({
1066
+ dimension: string;
1067
+ granularity?: string | undefined;
1068
+ compareDateRange: (string | string[])[];
1069
+ } | {
1070
+ dimension: string;
1071
+ granularity?: string | undefined;
1072
+ dateRange?: string | string[] | undefined;
1073
+ })[];
1074
+ measures: string[];
1075
+ limit?: number | undefined;
1076
+ order?: {
1077
+ [x: string]: "asc" | "desc";
1078
+ } | string[][] | undefined;
1079
+ };
1080
+ rows: {
1081
+ [x: string]: {
1082
+ value: string | number | boolean;
1083
+ metadata?: {
1084
+ link?: string | undefined;
1085
+ } | undefined;
1086
+ };
1087
+ }[];
1088
+ sources: {
1089
+ service: "statistics";
1090
+ queryLayer: "cube";
1091
+ members: string[];
1092
+ }[];
1093
+ freshness: {
1094
+ capturedAt: string;
1095
+ };
1096
+ state: import("./definitions").AnalysisReportEvidenceState;
1097
+ warning?: string | undefined;
1098
+ failureCode?: string | undefined;
1099
+ failureMessage?: string | undefined;
1100
+ executedAt: string;
1101
+ durationMs: number;
1102
+ rowCount: number;
1103
+ embeddedRowCount: number;
1104
+ payloadBytes: number;
1105
+ resultHash: string;
1106
+ }[];
1107
+ generationId: string;
1108
+ name: string;
1109
+ kind: import("./definitions").AnalysisReportGenerationKind;
1110
+ question: string;
1111
+ usage: {
1112
+ durationMs: number;
1113
+ rowCount: number;
1114
+ payloadBytes: number;
1115
+ queryCount: number;
1116
+ agentTurns: number;
1117
+ };
1118
+ sources: string[];
1119
+ freshness: {
1120
+ generatedAt: string;
1121
+ dataAsOf?: string | undefined;
1122
+ };
1123
+ sequence: number;
1124
+ blocks: ({
1125
+ type: "text";
1126
+ markdown: string;
1127
+ evidenceRefs: {
1128
+ sectionId?: string | undefined;
1129
+ evidenceId: string;
1130
+ }[];
1131
+ } | {
1132
+ type: "metric";
1133
+ evidenceRefs: {
1134
+ sectionId?: string | undefined;
1135
+ evidenceId: string;
1136
+ }[];
1137
+ label: string;
1138
+ value: string | number;
1139
+ unit?: string | undefined;
1140
+ format?: "number" | "currency" | "percent" | undefined;
1141
+ } | {
1142
+ type: "table";
1143
+ title: string;
1144
+ evidenceRefs: {
1145
+ sectionId?: string | undefined;
1146
+ evidenceId: string;
1147
+ }[];
1148
+ columns: string[];
1149
+ } | {
1150
+ type: "chart";
1151
+ title: string;
1152
+ evidenceRefs: {
1153
+ sectionId?: string | undefined;
1154
+ evidenceId: string;
1155
+ }[];
1156
+ chartType: import("./definitions").AnalysisReportChartType;
1157
+ x: string;
1158
+ y: string[];
1159
+ })[];
1160
+ methodology: string;
1161
+ limitations: string[];
1162
+ intelligence: {
1163
+ caseId?: string | undefined;
1164
+ runId?: string | undefined;
1165
+ };
1166
+ }[];
1167
+ title?: string | undefined;
1168
+ origin: {
1169
+ type: import("./definitions").AnalysisReportOriginType;
1170
+ dashboardPath?: string | undefined;
1171
+ dashboardTitle?: string | undefined;
1172
+ };
1173
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
1174
+ context: {
1175
+ dimensions: string[];
1176
+ filters: {
1177
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1178
+ values: string[];
1179
+ dimension?: string | undefined;
1180
+ member?: string | undefined;
1181
+ }[];
1182
+ timeDimensions: ({
1183
+ dimension: string;
1184
+ granularity?: string | undefined;
1185
+ compareDateRange: (string | string[])[];
1186
+ } | {
1187
+ dimension: string;
1188
+ granularity?: string | undefined;
1189
+ dateRange?: string | string[] | undefined;
1190
+ })[];
1191
+ };
1192
+ generationPolicy: {
1193
+ maxQueries: number;
1194
+ maxRowsPerQuery: number;
1195
+ maxBytesPerQuery: number;
1196
+ maxReportBytes: number;
1197
+ maxBlocksPerSection: number;
1198
+ maxAgentTurns: number;
1199
+ maxDurationMs: number;
1200
+ };
1201
+ archivedAt?: string | undefined;
1202
+ createdAt?: string | undefined;
1203
+ updatedAt?: string | undefined;
1204
+ } | undefined;
1205
+ refreshing?: {
1206
+ id: string;
1207
+ requestedBy: {
1208
+ type: import("./definitions").AnalysisReportActorType;
1209
+ userId?: string | undefined;
1210
+ };
1211
+ lastGenerationFailure?: {
1212
+ code: string;
1213
+ message: string;
1214
+ requestedBy: {
1215
+ type: import("./definitions").AnalysisReportActorType;
1216
+ userId?: string | undefined;
1217
+ };
1218
+ evidence: {
1219
+ id: string;
1220
+ operationId?: string | undefined;
1221
+ query: {
1222
+ dimensions: string[];
1223
+ filters: {
1224
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1225
+ values: string[];
1226
+ dimension?: string | undefined;
1227
+ member?: string | undefined;
1228
+ }[];
1229
+ timeDimensions: ({
1230
+ dimension: string;
1231
+ granularity?: string | undefined;
1232
+ compareDateRange: (string | string[])[];
1233
+ } | {
1234
+ dimension: string;
1235
+ granularity?: string | undefined;
1236
+ dateRange?: string | string[] | undefined;
1237
+ })[];
1238
+ measures: string[];
1239
+ limit?: number | undefined;
1240
+ order?: {
1241
+ [x: string]: "asc" | "desc";
1242
+ } | string[][] | undefined;
1243
+ };
1244
+ rows: {
1245
+ [x: string]: {
1246
+ value: string | number | boolean;
1247
+ metadata?: {
1248
+ link?: string | undefined;
1249
+ } | undefined;
1250
+ };
1251
+ }[];
1252
+ sources: {
1253
+ service: "statistics";
1254
+ queryLayer: "cube";
1255
+ members: string[];
1256
+ }[];
1257
+ freshness: {
1258
+ capturedAt: string;
1259
+ };
1260
+ state: import("./definitions").AnalysisReportEvidenceState;
1261
+ warning?: string | undefined;
1262
+ failureCode?: string | undefined;
1263
+ failureMessage?: string | undefined;
1264
+ executedAt: string;
1265
+ durationMs: number;
1266
+ rowCount: number;
1267
+ embeddedRowCount: number;
1268
+ payloadBytes: number;
1269
+ resultHash: string;
1270
+ }[];
1271
+ generationId: string;
1272
+ kind: import("./definitions").AnalysisReportGenerationKind;
1273
+ question: string;
1274
+ usage?: {
1275
+ durationMs: number;
1276
+ rowCount: number;
1277
+ payloadBytes: number;
1278
+ queryCount: number;
1279
+ agentTurns: number;
1280
+ } | undefined;
1281
+ retryable: boolean;
1282
+ failedAt: string;
1283
+ } | undefined;
1284
+ title?: string | undefined;
1285
+ archivedAt?: string | undefined;
1286
+ createdAt?: string | undefined;
1287
+ period: {
1288
+ key: string;
1289
+ start: string;
1290
+ end: string;
1291
+ timezone: string;
1292
+ comparisonWindows: {
1293
+ previousPeriod: {
1294
+ start: string;
1295
+ end: string;
1296
+ };
1297
+ previousYear?: {
1298
+ start: string;
1299
+ end: string;
1300
+ } | undefined;
1301
+ };
1302
+ };
1303
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1304
+ generationStatus?: import("./definitions").AnalysisReportGenerationStatus | undefined;
1305
+ } | undefined;
1306
+ history: {
1307
+ id: string;
1308
+ requestedBy: {
1309
+ type: import("./definitions").AnalysisReportActorType;
1310
+ userId?: string | undefined;
1311
+ };
1312
+ lastGenerationFailure?: {
1313
+ code: string;
1314
+ message: string;
1315
+ requestedBy: {
1316
+ type: import("./definitions").AnalysisReportActorType;
1317
+ userId?: string | undefined;
1318
+ };
1319
+ evidence: {
1320
+ id: string;
1321
+ operationId?: string | undefined;
1322
+ query: {
1323
+ dimensions: string[];
1324
+ filters: {
1325
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1326
+ values: string[];
1327
+ dimension?: string | undefined;
1328
+ member?: string | undefined;
1329
+ }[];
1330
+ timeDimensions: ({
1331
+ dimension: string;
1332
+ granularity?: string | undefined;
1333
+ compareDateRange: (string | string[])[];
1334
+ } | {
1335
+ dimension: string;
1336
+ granularity?: string | undefined;
1337
+ dateRange?: string | string[] | undefined;
1338
+ })[];
1339
+ measures: string[];
1340
+ limit?: number | undefined;
1341
+ order?: {
1342
+ [x: string]: "asc" | "desc";
1343
+ } | string[][] | undefined;
1344
+ };
1345
+ rows: {
1346
+ [x: string]: {
1347
+ value: string | number | boolean;
1348
+ metadata?: {
1349
+ link?: string | undefined;
1350
+ } | undefined;
1351
+ };
1352
+ }[];
1353
+ sources: {
1354
+ service: "statistics";
1355
+ queryLayer: "cube";
1356
+ members: string[];
1357
+ }[];
1358
+ freshness: {
1359
+ capturedAt: string;
1360
+ };
1361
+ state: import("./definitions").AnalysisReportEvidenceState;
1362
+ warning?: string | undefined;
1363
+ failureCode?: string | undefined;
1364
+ failureMessage?: string | undefined;
1365
+ executedAt: string;
1366
+ durationMs: number;
1367
+ rowCount: number;
1368
+ embeddedRowCount: number;
1369
+ payloadBytes: number;
1370
+ resultHash: string;
1371
+ }[];
1372
+ generationId: string;
1373
+ kind: import("./definitions").AnalysisReportGenerationKind;
1374
+ question: string;
1375
+ usage?: {
1376
+ durationMs: number;
1377
+ rowCount: number;
1378
+ payloadBytes: number;
1379
+ queryCount: number;
1380
+ agentTurns: number;
1381
+ } | undefined;
1382
+ retryable: boolean;
1383
+ failedAt: string;
1384
+ } | undefined;
1385
+ title?: string | undefined;
1386
+ archivedAt?: string | undefined;
1387
+ createdAt?: string | undefined;
1388
+ period: {
1389
+ key: string;
1390
+ start: string;
1391
+ end: string;
1392
+ timezone: string;
1393
+ comparisonWindows: {
1394
+ previousPeriod: {
1395
+ start: string;
1396
+ end: string;
1397
+ };
1398
+ previousYear?: {
1399
+ start: string;
1400
+ end: string;
1401
+ } | undefined;
1402
+ };
1403
+ };
1404
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1405
+ generationStatus?: import("./definitions").AnalysisReportGenerationStatus | undefined;
1406
+ }[];
1407
+ };
1408
+ };
1409
+ program: string;
1410
+ version: string;
1411
+ datetime: string;
1412
+ status: string;
1413
+ code?: number | undefined;
1414
+ message: string;
1415
+ }, any, {}>>;
1416
+ retryAutomaticAnalysisReport: (params: {
1417
+ slug: string;
1418
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1419
+ status: "success";
1420
+ } & {
1421
+ data: {
1422
+ readonly id: string & {
1423
+ readonly?: "__readonly" | undefined;
1424
+ };
1425
+ readonly companyId: string & {
1426
+ readonly?: "__readonly" | undefined;
1427
+ };
1428
+ readonly createdBy: string & {
1429
+ readonly?: "__readonly" | undefined;
1430
+ };
1431
+ requestedBy: {
1432
+ type: import("./definitions").AnalysisReportActorType;
1433
+ userId?: string | undefined;
1434
+ };
1435
+ activeGeneration?: {
1436
+ status: import("./definitions").AnalysisReportGenerationStatus;
1437
+ id: string;
1438
+ requestedBy: {
1439
+ type: import("./definitions").AnalysisReportActorType;
1440
+ userId?: string | undefined;
1441
+ };
1442
+ evidence: {
1443
+ id: string;
1444
+ operationId?: string | undefined;
1445
+ query: {
1446
+ dimensions: string[];
1447
+ filters: {
1448
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1449
+ values: string[];
1450
+ dimension?: string | undefined;
1451
+ member?: string | undefined;
1452
+ }[];
1453
+ timeDimensions: ({
1454
+ dimension: string;
1455
+ granularity?: string | undefined;
1456
+ compareDateRange: (string | string[])[];
1457
+ } | {
1458
+ dimension: string;
1459
+ granularity?: string | undefined;
1460
+ dateRange?: string | string[] | undefined;
1461
+ })[];
1462
+ measures: string[];
1463
+ limit?: number | undefined;
1464
+ order?: {
1465
+ [x: string]: "asc" | "desc";
1466
+ } | string[][] | undefined;
1467
+ };
1468
+ rows: {
1469
+ [x: string]: {
1470
+ value: string | number | boolean;
1471
+ metadata?: {
1472
+ link?: string | undefined;
1473
+ } | undefined;
1474
+ };
1475
+ }[];
1476
+ sources: {
1477
+ service: "statistics";
1478
+ queryLayer: "cube";
1479
+ members: string[];
1480
+ }[];
1481
+ freshness: {
1482
+ capturedAt: string;
1483
+ };
1484
+ state: import("./definitions").AnalysisReportEvidenceState;
1485
+ warning?: string | undefined;
1486
+ failureCode?: string | undefined;
1487
+ failureMessage?: string | undefined;
1488
+ executedAt: string;
1489
+ durationMs: number;
1490
+ rowCount: number;
1491
+ embeddedRowCount: number;
1492
+ payloadBytes: number;
1493
+ resultHash: string;
1494
+ }[];
1495
+ kind: import("./definitions").AnalysisReportGenerationKind;
1496
+ startedAt: string;
1497
+ question: string;
1498
+ usage: {
1499
+ durationMs: number;
1500
+ rowCount: number;
1501
+ payloadBytes: number;
1502
+ queryCount: number;
1503
+ agentTurns: number;
1504
+ };
1505
+ sectionId: string;
1506
+ idempotencyKey: string;
1507
+ intelligenceCaseId?: string | undefined;
1508
+ executionId: string;
1509
+ deadlineAt: string;
1510
+ dispatchAttempts: number;
1511
+ delegatedCompanyId: string;
1512
+ delegatedUserId?: string | undefined;
1513
+ } | undefined;
1514
+ generationFailures: {
1515
+ code: string;
1516
+ message: string;
1517
+ requestedBy: {
1518
+ type: import("./definitions").AnalysisReportActorType;
1519
+ userId?: string | undefined;
1520
+ };
1521
+ evidence: {
1522
+ id: string;
1523
+ operationId?: string | undefined;
1524
+ query: {
1525
+ dimensions: string[];
1526
+ filters: {
1527
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1528
+ values: string[];
1529
+ dimension?: string | undefined;
1530
+ member?: string | undefined;
1531
+ }[];
1532
+ timeDimensions: ({
1533
+ dimension: string;
1534
+ granularity?: string | undefined;
1535
+ compareDateRange: (string | string[])[];
1536
+ } | {
1537
+ dimension: string;
1538
+ granularity?: string | undefined;
1539
+ dateRange?: string | string[] | undefined;
1540
+ })[];
1541
+ measures: string[];
1542
+ limit?: number | undefined;
1543
+ order?: {
1544
+ [x: string]: "asc" | "desc";
1545
+ } | string[][] | undefined;
1546
+ };
1547
+ rows: {
1548
+ [x: string]: {
1549
+ value: string | number | boolean;
1550
+ metadata?: {
1551
+ link?: string | undefined;
1552
+ } | undefined;
1553
+ };
1554
+ }[];
1555
+ sources: {
1556
+ service: "statistics";
1557
+ queryLayer: "cube";
1558
+ members: string[];
1559
+ }[];
1560
+ freshness: {
1561
+ capturedAt: string;
1562
+ };
1563
+ state: import("./definitions").AnalysisReportEvidenceState;
1564
+ warning?: string | undefined;
1565
+ failureCode?: string | undefined;
1566
+ failureMessage?: string | undefined;
1567
+ executedAt: string;
1568
+ durationMs: number;
1569
+ rowCount: number;
1570
+ embeddedRowCount: number;
1571
+ payloadBytes: number;
1572
+ resultHash: string;
1573
+ }[];
1574
+ generationId: string;
1575
+ kind: import("./definitions").AnalysisReportGenerationKind;
1576
+ question: string;
1577
+ usage?: {
1578
+ durationMs: number;
1579
+ rowCount: number;
1580
+ payloadBytes: number;
1581
+ queryCount: number;
1582
+ agentTurns: number;
1583
+ } | undefined;
1584
+ retryable: boolean;
1585
+ failedAt: string;
1586
+ }[];
636
1587
  lastGenerationFailure?: {
637
1588
  code: string;
638
1589
  message: string;
1590
+ requestedBy: {
1591
+ type: import("./definitions").AnalysisReportActorType;
1592
+ userId?: string | undefined;
1593
+ };
1594
+ evidence: {
1595
+ id: string;
1596
+ operationId?: string | undefined;
1597
+ query: {
1598
+ dimensions: string[];
1599
+ filters: {
1600
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1601
+ values: string[];
1602
+ dimension?: string | undefined;
1603
+ member?: string | undefined;
1604
+ }[];
1605
+ timeDimensions: ({
1606
+ dimension: string;
1607
+ granularity?: string | undefined;
1608
+ compareDateRange: (string | string[])[];
1609
+ } | {
1610
+ dimension: string;
1611
+ granularity?: string | undefined;
1612
+ dateRange?: string | string[] | undefined;
1613
+ })[];
1614
+ measures: string[];
1615
+ limit?: number | undefined;
1616
+ order?: {
1617
+ [x: string]: "asc" | "desc";
1618
+ } | string[][] | undefined;
1619
+ };
1620
+ rows: {
1621
+ [x: string]: {
1622
+ value: string | number | boolean;
1623
+ metadata?: {
1624
+ link?: string | undefined;
1625
+ } | undefined;
1626
+ };
1627
+ }[];
1628
+ sources: {
1629
+ service: "statistics";
1630
+ queryLayer: "cube";
1631
+ members: string[];
1632
+ }[];
1633
+ freshness: {
1634
+ capturedAt: string;
1635
+ };
1636
+ state: import("./definitions").AnalysisReportEvidenceState;
1637
+ warning?: string | undefined;
1638
+ failureCode?: string | undefined;
1639
+ failureMessage?: string | undefined;
1640
+ executedAt: string;
1641
+ durationMs: number;
1642
+ rowCount: number;
1643
+ embeddedRowCount: number;
1644
+ payloadBytes: number;
1645
+ resultHash: string;
1646
+ }[];
1647
+ generationId: string;
1648
+ kind: import("./definitions").AnalysisReportGenerationKind;
1649
+ question: string;
1650
+ usage?: {
1651
+ durationMs: number;
1652
+ rowCount: number;
1653
+ payloadBytes: number;
1654
+ queryCount: number;
1655
+ agentTurns: number;
1656
+ } | undefined;
1657
+ retryable: boolean;
1658
+ failedAt: string;
1659
+ } | undefined;
1660
+ automatic?: {
1661
+ slug: string;
1662
+ cadence: AnalysisReportCadence;
1663
+ period: {
1664
+ key: string;
1665
+ start: string;
1666
+ end: string;
1667
+ timezone: string;
1668
+ comparisonWindows: {
1669
+ previousPeriod: {
1670
+ start: string;
1671
+ end: string;
1672
+ };
1673
+ previousYear?: {
1674
+ start: string;
1675
+ end: string;
1676
+ } | undefined;
1677
+ };
1678
+ };
1679
+ promptSnapshot: {
1680
+ text: string;
1681
+ source: import("./definitions").AnalysisReportPromptSource;
1682
+ templateKey: string;
1683
+ defaultVersion: number;
1684
+ settingsRevision: number;
1685
+ locale: string;
1686
+ };
1687
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1688
+ settingsId: string;
1689
+ supersedesReportId?: string | undefined;
1690
+ } | undefined;
1691
+ archivedBy?: string | undefined;
1692
+ archivedByActor?: {
1693
+ type: import("./definitions").AnalysisReportActorType;
1694
+ userId?: string | undefined;
1695
+ } | undefined;
1696
+ sections: {
1697
+ scope: {
1698
+ dimensions: string[];
1699
+ filters: {
1700
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1701
+ values: string[];
1702
+ dimension?: string | undefined;
1703
+ member?: string | undefined;
1704
+ }[];
1705
+ timeDimensions: ({
1706
+ dimension: string;
1707
+ granularity?: string | undefined;
1708
+ compareDateRange: (string | string[])[];
1709
+ } | {
1710
+ dimension: string;
1711
+ granularity?: string | undefined;
1712
+ dateRange?: string | string[] | undefined;
1713
+ })[];
1714
+ measures: string[];
1715
+ };
1716
+ id: string;
1717
+ requestedBy: {
1718
+ type: import("./definitions").AnalysisReportActorType;
1719
+ userId?: string | undefined;
1720
+ };
1721
+ generationPolicy: {
1722
+ maxQueries: number;
1723
+ maxRowsPerQuery: number;
1724
+ maxBytesPerQuery: number;
1725
+ maxReportBytes: number;
1726
+ maxBlocksPerSection: number;
1727
+ maxAgentTurns: number;
1728
+ maxDurationMs: number;
1729
+ };
1730
+ createdAt: string;
1731
+ evidence: {
1732
+ id: string;
1733
+ operationId?: string | undefined;
1734
+ query: {
1735
+ dimensions: string[];
1736
+ filters: {
1737
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1738
+ values: string[];
1739
+ dimension?: string | undefined;
1740
+ member?: string | undefined;
1741
+ }[];
1742
+ timeDimensions: ({
1743
+ dimension: string;
1744
+ granularity?: string | undefined;
1745
+ compareDateRange: (string | string[])[];
1746
+ } | {
1747
+ dimension: string;
1748
+ granularity?: string | undefined;
1749
+ dateRange?: string | string[] | undefined;
1750
+ })[];
1751
+ measures: string[];
1752
+ limit?: number | undefined;
1753
+ order?: {
1754
+ [x: string]: "asc" | "desc";
1755
+ } | string[][] | undefined;
1756
+ };
1757
+ rows: {
1758
+ [x: string]: {
1759
+ value: string | number | boolean;
1760
+ metadata?: {
1761
+ link?: string | undefined;
1762
+ } | undefined;
1763
+ };
1764
+ }[];
1765
+ sources: {
1766
+ service: "statistics";
1767
+ queryLayer: "cube";
1768
+ members: string[];
1769
+ }[];
1770
+ freshness: {
1771
+ capturedAt: string;
1772
+ };
1773
+ state: import("./definitions").AnalysisReportEvidenceState;
1774
+ warning?: string | undefined;
1775
+ failureCode?: string | undefined;
1776
+ failureMessage?: string | undefined;
1777
+ executedAt: string;
1778
+ durationMs: number;
1779
+ rowCount: number;
1780
+ embeddedRowCount: number;
1781
+ payloadBytes: number;
1782
+ resultHash: string;
1783
+ }[];
1784
+ generationId: string;
1785
+ name: string;
1786
+ kind: import("./definitions").AnalysisReportGenerationKind;
1787
+ question: string;
1788
+ usage: {
1789
+ durationMs: number;
1790
+ rowCount: number;
1791
+ payloadBytes: number;
1792
+ queryCount: number;
1793
+ agentTurns: number;
1794
+ };
1795
+ sources: string[];
1796
+ freshness: {
1797
+ generatedAt: string;
1798
+ dataAsOf?: string | undefined;
1799
+ };
1800
+ sequence: number;
1801
+ blocks: ({
1802
+ type: "text";
1803
+ markdown: string;
1804
+ evidenceRefs: {
1805
+ sectionId?: string | undefined;
1806
+ evidenceId: string;
1807
+ }[];
1808
+ } | {
1809
+ type: "metric";
1810
+ evidenceRefs: {
1811
+ sectionId?: string | undefined;
1812
+ evidenceId: string;
1813
+ }[];
1814
+ label: string;
1815
+ value: string | number;
1816
+ unit?: string | undefined;
1817
+ format?: "number" | "currency" | "percent" | undefined;
1818
+ } | {
1819
+ type: "table";
1820
+ title: string;
1821
+ evidenceRefs: {
1822
+ sectionId?: string | undefined;
1823
+ evidenceId: string;
1824
+ }[];
1825
+ columns: string[];
1826
+ } | {
1827
+ type: "chart";
1828
+ title: string;
1829
+ evidenceRefs: {
1830
+ sectionId?: string | undefined;
1831
+ evidenceId: string;
1832
+ }[];
1833
+ chartType: import("./definitions").AnalysisReportChartType;
1834
+ x: string;
1835
+ y: string[];
1836
+ })[];
1837
+ methodology: string;
1838
+ limitations: string[];
1839
+ intelligence: {
1840
+ caseId?: string | undefined;
1841
+ runId?: string | undefined;
1842
+ };
1843
+ }[];
1844
+ title?: string | undefined;
1845
+ origin: {
1846
+ type: import("./definitions").AnalysisReportOriginType;
1847
+ dashboardPath?: string | undefined;
1848
+ dashboardTitle?: string | undefined;
1849
+ };
1850
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
1851
+ context: {
1852
+ dimensions: string[];
1853
+ filters: {
1854
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1855
+ values: string[];
1856
+ dimension?: string | undefined;
1857
+ member?: string | undefined;
1858
+ }[];
1859
+ timeDimensions: ({
1860
+ dimension: string;
1861
+ granularity?: string | undefined;
1862
+ compareDateRange: (string | string[])[];
1863
+ } | {
1864
+ dimension: string;
1865
+ granularity?: string | undefined;
1866
+ dateRange?: string | string[] | undefined;
1867
+ })[];
1868
+ };
1869
+ generationPolicy: {
1870
+ maxQueries: number;
1871
+ maxRowsPerQuery: number;
1872
+ maxBytesPerQuery: number;
1873
+ maxReportBytes: number;
1874
+ maxBlocksPerSection: number;
1875
+ maxAgentTurns: number;
1876
+ maxDurationMs: number;
1877
+ };
1878
+ archivedAt?: string | undefined;
1879
+ createdAt?: string | undefined;
1880
+ updatedAt?: string | undefined;
1881
+ };
1882
+ program: string;
1883
+ version: string;
1884
+ datetime: string;
1885
+ status: string;
1886
+ code?: number | undefined;
1887
+ message: string;
1888
+ }, any, {}>>;
1889
+ getAnalysisReport: (params: {
1890
+ reportId: string;
1891
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1892
+ status: "success";
1893
+ } & {
1894
+ data: {
1895
+ readonly id: string & {
1896
+ readonly?: "__readonly" | undefined;
1897
+ };
1898
+ readonly companyId: string & {
1899
+ readonly?: "__readonly" | undefined;
1900
+ };
1901
+ readonly createdBy: string & {
1902
+ readonly?: "__readonly" | undefined;
1903
+ };
1904
+ requestedBy: {
1905
+ type: import("./definitions").AnalysisReportActorType;
1906
+ userId?: string | undefined;
1907
+ };
1908
+ activeGeneration?: {
1909
+ status: import("./definitions").AnalysisReportGenerationStatus;
1910
+ id: string;
1911
+ requestedBy: {
1912
+ type: import("./definitions").AnalysisReportActorType;
1913
+ userId?: string | undefined;
1914
+ };
1915
+ evidence: {
1916
+ id: string;
1917
+ operationId?: string | undefined;
1918
+ query: {
1919
+ dimensions: string[];
1920
+ filters: {
1921
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1922
+ values: string[];
1923
+ dimension?: string | undefined;
1924
+ member?: string | undefined;
1925
+ }[];
1926
+ timeDimensions: ({
1927
+ dimension: string;
1928
+ granularity?: string | undefined;
1929
+ compareDateRange: (string | string[])[];
1930
+ } | {
1931
+ dimension: string;
1932
+ granularity?: string | undefined;
1933
+ dateRange?: string | string[] | undefined;
1934
+ })[];
1935
+ measures: string[];
1936
+ limit?: number | undefined;
1937
+ order?: {
1938
+ [x: string]: "asc" | "desc";
1939
+ } | string[][] | undefined;
1940
+ };
1941
+ rows: {
1942
+ [x: string]: {
1943
+ value: string | number | boolean;
1944
+ metadata?: {
1945
+ link?: string | undefined;
1946
+ } | undefined;
1947
+ };
1948
+ }[];
1949
+ sources: {
1950
+ service: "statistics";
1951
+ queryLayer: "cube";
1952
+ members: string[];
1953
+ }[];
1954
+ freshness: {
1955
+ capturedAt: string;
1956
+ };
1957
+ state: import("./definitions").AnalysisReportEvidenceState;
1958
+ warning?: string | undefined;
1959
+ failureCode?: string | undefined;
1960
+ failureMessage?: string | undefined;
1961
+ executedAt: string;
1962
+ durationMs: number;
1963
+ rowCount: number;
1964
+ embeddedRowCount: number;
1965
+ payloadBytes: number;
1966
+ resultHash: string;
1967
+ }[];
1968
+ kind: import("./definitions").AnalysisReportGenerationKind;
1969
+ startedAt: string;
1970
+ question: string;
1971
+ usage: {
1972
+ durationMs: number;
1973
+ rowCount: number;
1974
+ payloadBytes: number;
1975
+ queryCount: number;
1976
+ agentTurns: number;
1977
+ };
1978
+ sectionId: string;
1979
+ idempotencyKey: string;
1980
+ intelligenceCaseId?: string | undefined;
1981
+ executionId: string;
1982
+ deadlineAt: string;
1983
+ dispatchAttempts: number;
1984
+ delegatedCompanyId: string;
1985
+ delegatedUserId?: string | undefined;
1986
+ } | undefined;
1987
+ generationFailures: {
1988
+ code: string;
1989
+ message: string;
1990
+ requestedBy: {
1991
+ type: import("./definitions").AnalysisReportActorType;
1992
+ userId?: string | undefined;
1993
+ };
639
1994
  evidence: {
640
1995
  id: string;
641
1996
  operationId?: string | undefined;
@@ -692,8 +2047,79 @@ export default class {
692
2047
  generationId: string;
693
2048
  kind: import("./definitions").AnalysisReportGenerationKind;
694
2049
  question: string;
2050
+ usage?: {
2051
+ durationMs: number;
2052
+ rowCount: number;
2053
+ payloadBytes: number;
2054
+ queryCount: number;
2055
+ agentTurns: number;
2056
+ } | undefined;
695
2057
  retryable: boolean;
696
2058
  failedAt: string;
2059
+ }[];
2060
+ lastGenerationFailure?: {
2061
+ code: string;
2062
+ message: string;
2063
+ requestedBy: {
2064
+ type: import("./definitions").AnalysisReportActorType;
2065
+ userId?: string | undefined;
2066
+ };
2067
+ evidence: {
2068
+ id: string;
2069
+ operationId?: string | undefined;
2070
+ query: {
2071
+ dimensions: string[];
2072
+ filters: {
2073
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2074
+ values: string[];
2075
+ dimension?: string | undefined;
2076
+ member?: string | undefined;
2077
+ }[];
2078
+ timeDimensions: ({
2079
+ dimension: string;
2080
+ granularity?: string | undefined;
2081
+ compareDateRange: (string | string[])[];
2082
+ } | {
2083
+ dimension: string;
2084
+ granularity?: string | undefined;
2085
+ dateRange?: string | string[] | undefined;
2086
+ })[];
2087
+ measures: string[];
2088
+ limit?: number | undefined;
2089
+ order?: {
2090
+ [x: string]: "asc" | "desc";
2091
+ } | string[][] | undefined;
2092
+ };
2093
+ rows: {
2094
+ [x: string]: {
2095
+ value: string | number | boolean;
2096
+ metadata?: {
2097
+ link?: string | undefined;
2098
+ } | undefined;
2099
+ };
2100
+ }[];
2101
+ sources: {
2102
+ service: "statistics";
2103
+ queryLayer: "cube";
2104
+ members: string[];
2105
+ }[];
2106
+ freshness: {
2107
+ capturedAt: string;
2108
+ };
2109
+ state: import("./definitions").AnalysisReportEvidenceState;
2110
+ warning?: string | undefined;
2111
+ failureCode?: string | undefined;
2112
+ failureMessage?: string | undefined;
2113
+ executedAt: string;
2114
+ durationMs: number;
2115
+ rowCount: number;
2116
+ embeddedRowCount: number;
2117
+ payloadBytes: number;
2118
+ resultHash: string;
2119
+ }[];
2120
+ generationId: string;
2121
+ kind: import("./definitions").AnalysisReportGenerationKind;
2122
+ question: string;
697
2123
  usage?: {
698
2124
  durationMs: number;
699
2125
  rowCount: number;
@@ -701,8 +2127,45 @@ export default class {
701
2127
  queryCount: number;
702
2128
  agentTurns: number;
703
2129
  } | undefined;
2130
+ retryable: boolean;
2131
+ failedAt: string;
2132
+ } | undefined;
2133
+ automatic?: {
2134
+ slug: string;
2135
+ cadence: AnalysisReportCadence;
2136
+ period: {
2137
+ key: string;
2138
+ start: string;
2139
+ end: string;
2140
+ timezone: string;
2141
+ comparisonWindows: {
2142
+ previousPeriod: {
2143
+ start: string;
2144
+ end: string;
2145
+ };
2146
+ previousYear?: {
2147
+ start: string;
2148
+ end: string;
2149
+ } | undefined;
2150
+ };
2151
+ };
2152
+ promptSnapshot: {
2153
+ text: string;
2154
+ source: import("./definitions").AnalysisReportPromptSource;
2155
+ templateKey: string;
2156
+ defaultVersion: number;
2157
+ settingsRevision: number;
2158
+ locale: string;
2159
+ };
2160
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
2161
+ settingsId: string;
2162
+ supersedesReportId?: string | undefined;
2163
+ } | undefined;
2164
+ archivedBy?: string | undefined;
2165
+ archivedByActor?: {
2166
+ type: import("./definitions").AnalysisReportActorType;
2167
+ userId?: string | undefined;
704
2168
  } | undefined;
705
- archivedAt?: string | undefined;
706
2169
  sections: {
707
2170
  scope: {
708
2171
  dimensions: string[];
@@ -724,6 +2187,10 @@ export default class {
724
2187
  measures: string[];
725
2188
  };
726
2189
  id: string;
2190
+ requestedBy: {
2191
+ type: import("./definitions").AnalysisReportActorType;
2192
+ userId?: string | undefined;
2193
+ };
727
2194
  generationPolicy: {
728
2195
  maxQueries: number;
729
2196
  maxRowsPerQuery: number;
@@ -847,6 +2314,41 @@ export default class {
847
2314
  runId?: string | undefined;
848
2315
  };
849
2316
  }[];
2317
+ title?: string | undefined;
2318
+ origin: {
2319
+ type: import("./definitions").AnalysisReportOriginType;
2320
+ dashboardPath?: string | undefined;
2321
+ dashboardTitle?: string | undefined;
2322
+ };
2323
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
2324
+ context: {
2325
+ dimensions: string[];
2326
+ filters: {
2327
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2328
+ values: string[];
2329
+ dimension?: string | undefined;
2330
+ member?: string | undefined;
2331
+ }[];
2332
+ timeDimensions: ({
2333
+ dimension: string;
2334
+ granularity?: string | undefined;
2335
+ compareDateRange: (string | string[])[];
2336
+ } | {
2337
+ dimension: string;
2338
+ granularity?: string | undefined;
2339
+ dateRange?: string | string[] | undefined;
2340
+ })[];
2341
+ };
2342
+ generationPolicy: {
2343
+ maxQueries: number;
2344
+ maxRowsPerQuery: number;
2345
+ maxBytesPerQuery: number;
2346
+ maxReportBytes: number;
2347
+ maxBlocksPerSection: number;
2348
+ maxAgentTurns: number;
2349
+ maxDurationMs: number;
2350
+ };
2351
+ archivedAt?: string | undefined;
850
2352
  createdAt?: string | undefined;
851
2353
  updatedAt?: string | undefined;
852
2354
  };
@@ -872,9 +2374,96 @@ export default class {
872
2374
  readonly createdBy: string & {
873
2375
  readonly?: "__readonly" | undefined;
874
2376
  };
2377
+ requestedBy: {
2378
+ type: import("./definitions").AnalysisReportActorType;
2379
+ userId?: string | undefined;
2380
+ };
875
2381
  activeGeneration?: {
876
2382
  status: import("./definitions").AnalysisReportGenerationStatus;
877
2383
  id: string;
2384
+ requestedBy: {
2385
+ type: import("./definitions").AnalysisReportActorType;
2386
+ userId?: string | undefined;
2387
+ };
2388
+ evidence: {
2389
+ id: string;
2390
+ operationId?: string | undefined;
2391
+ query: {
2392
+ dimensions: string[];
2393
+ filters: {
2394
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2395
+ values: string[];
2396
+ dimension?: string | undefined;
2397
+ member?: string | undefined;
2398
+ }[];
2399
+ timeDimensions: ({
2400
+ dimension: string;
2401
+ granularity?: string | undefined;
2402
+ compareDateRange: (string | string[])[];
2403
+ } | {
2404
+ dimension: string;
2405
+ granularity?: string | undefined;
2406
+ dateRange?: string | string[] | undefined;
2407
+ })[];
2408
+ measures: string[];
2409
+ limit?: number | undefined;
2410
+ order?: {
2411
+ [x: string]: "asc" | "desc";
2412
+ } | string[][] | undefined;
2413
+ };
2414
+ rows: {
2415
+ [x: string]: {
2416
+ value: string | number | boolean;
2417
+ metadata?: {
2418
+ link?: string | undefined;
2419
+ } | undefined;
2420
+ };
2421
+ }[];
2422
+ sources: {
2423
+ service: "statistics";
2424
+ queryLayer: "cube";
2425
+ members: string[];
2426
+ }[];
2427
+ freshness: {
2428
+ capturedAt: string;
2429
+ };
2430
+ state: import("./definitions").AnalysisReportEvidenceState;
2431
+ warning?: string | undefined;
2432
+ failureCode?: string | undefined;
2433
+ failureMessage?: string | undefined;
2434
+ executedAt: string;
2435
+ durationMs: number;
2436
+ rowCount: number;
2437
+ embeddedRowCount: number;
2438
+ payloadBytes: number;
2439
+ resultHash: string;
2440
+ }[];
2441
+ kind: import("./definitions").AnalysisReportGenerationKind;
2442
+ startedAt: string;
2443
+ question: string;
2444
+ usage: {
2445
+ durationMs: number;
2446
+ rowCount: number;
2447
+ payloadBytes: number;
2448
+ queryCount: number;
2449
+ agentTurns: number;
2450
+ };
2451
+ sectionId: string;
2452
+ idempotencyKey: string;
2453
+ intelligenceCaseId?: string | undefined;
2454
+ executionId: string;
2455
+ deadlineAt: string;
2456
+ dispatchAttempts: number;
2457
+ delegatedCompanyId: string;
2458
+ delegatedUserId?: string | undefined;
2459
+ } | undefined;
2460
+ generationFailures: {
2461
+ code: string;
2462
+ message: string;
2463
+ requestedBy: {
2464
+ type: import("./definitions").AnalysisReportActorType;
2465
+ userId?: string | undefined;
2466
+ };
878
2467
  evidence: {
879
2468
  id: string;
880
2469
  operationId?: string | undefined;
@@ -928,63 +2517,26 @@ export default class {
928
2517
  payloadBytes: number;
929
2518
  resultHash: string;
930
2519
  }[];
2520
+ generationId: string;
931
2521
  kind: import("./definitions").AnalysisReportGenerationKind;
932
- startedAt: string;
933
2522
  question: string;
934
- usage: {
2523
+ usage?: {
935
2524
  durationMs: number;
936
2525
  rowCount: number;
937
2526
  payloadBytes: number;
938
2527
  queryCount: number;
939
2528
  agentTurns: number;
940
- };
941
- sectionId: string;
942
- idempotencyKey: string;
943
- intelligenceCaseId?: string | undefined;
944
- executionId: string;
945
- deadlineAt: string;
946
- dispatchAttempts: number;
947
- delegatedCompanyId: string;
948
- delegatedUserId: string;
949
- } | undefined;
950
- archivedBy?: string | undefined;
951
- title?: string | undefined;
952
- origin: {
953
- type: import("./definitions").AnalysisReportOriginType;
954
- dashboardPath?: string | undefined;
955
- dashboardTitle?: string | undefined;
956
- };
957
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
958
- context: {
959
- dimensions: string[];
960
- filters: {
961
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
962
- values: string[];
963
- dimension?: string | undefined;
964
- member?: string | undefined;
965
- }[];
966
- timeDimensions: ({
967
- dimension: string;
968
- granularity?: string | undefined;
969
- compareDateRange: (string | string[])[];
970
- } | {
971
- dimension: string;
972
- granularity?: string | undefined;
973
- dateRange?: string | string[] | undefined;
974
- })[];
975
- };
976
- generationPolicy: {
977
- maxQueries: number;
978
- maxRowsPerQuery: number;
979
- maxBytesPerQuery: number;
980
- maxReportBytes: number;
981
- maxBlocksPerSection: number;
982
- maxAgentTurns: number;
983
- maxDurationMs: number;
984
- };
2529
+ } | undefined;
2530
+ retryable: boolean;
2531
+ failedAt: string;
2532
+ }[];
985
2533
  lastGenerationFailure?: {
986
2534
  code: string;
987
2535
  message: string;
2536
+ requestedBy: {
2537
+ type: import("./definitions").AnalysisReportActorType;
2538
+ userId?: string | undefined;
2539
+ };
988
2540
  evidence: {
989
2541
  id: string;
990
2542
  operationId?: string | undefined;
@@ -1041,8 +2593,6 @@ export default class {
1041
2593
  generationId: string;
1042
2594
  kind: import("./definitions").AnalysisReportGenerationKind;
1043
2595
  question: string;
1044
- retryable: boolean;
1045
- failedAt: string;
1046
2596
  usage?: {
1047
2597
  durationMs: number;
1048
2598
  rowCount: number;
@@ -1050,8 +2600,45 @@ export default class {
1050
2600
  queryCount: number;
1051
2601
  agentTurns: number;
1052
2602
  } | undefined;
2603
+ retryable: boolean;
2604
+ failedAt: string;
2605
+ } | undefined;
2606
+ automatic?: {
2607
+ slug: string;
2608
+ cadence: AnalysisReportCadence;
2609
+ period: {
2610
+ key: string;
2611
+ start: string;
2612
+ end: string;
2613
+ timezone: string;
2614
+ comparisonWindows: {
2615
+ previousPeriod: {
2616
+ start: string;
2617
+ end: string;
2618
+ };
2619
+ previousYear?: {
2620
+ start: string;
2621
+ end: string;
2622
+ } | undefined;
2623
+ };
2624
+ };
2625
+ promptSnapshot: {
2626
+ text: string;
2627
+ source: import("./definitions").AnalysisReportPromptSource;
2628
+ templateKey: string;
2629
+ defaultVersion: number;
2630
+ settingsRevision: number;
2631
+ locale: string;
2632
+ };
2633
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
2634
+ settingsId: string;
2635
+ supersedesReportId?: string | undefined;
2636
+ } | undefined;
2637
+ archivedBy?: string | undefined;
2638
+ archivedByActor?: {
2639
+ type: import("./definitions").AnalysisReportActorType;
2640
+ userId?: string | undefined;
1053
2641
  } | undefined;
1054
- archivedAt?: string | undefined;
1055
2642
  sections: {
1056
2643
  scope: {
1057
2644
  dimensions: string[];
@@ -1073,6 +2660,10 @@ export default class {
1073
2660
  measures: string[];
1074
2661
  };
1075
2662
  id: string;
2663
+ requestedBy: {
2664
+ type: import("./definitions").AnalysisReportActorType;
2665
+ userId?: string | undefined;
2666
+ };
1076
2667
  generationPolicy: {
1077
2668
  maxQueries: number;
1078
2669
  maxRowsPerQuery: number;
@@ -1196,6 +2787,41 @@ export default class {
1196
2787
  runId?: string | undefined;
1197
2788
  };
1198
2789
  }[];
2790
+ title?: string | undefined;
2791
+ origin: {
2792
+ type: import("./definitions").AnalysisReportOriginType;
2793
+ dashboardPath?: string | undefined;
2794
+ dashboardTitle?: string | undefined;
2795
+ };
2796
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
2797
+ context: {
2798
+ dimensions: string[];
2799
+ filters: {
2800
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2801
+ values: string[];
2802
+ dimension?: string | undefined;
2803
+ member?: string | undefined;
2804
+ }[];
2805
+ timeDimensions: ({
2806
+ dimension: string;
2807
+ granularity?: string | undefined;
2808
+ compareDateRange: (string | string[])[];
2809
+ } | {
2810
+ dimension: string;
2811
+ granularity?: string | undefined;
2812
+ dateRange?: string | string[] | undefined;
2813
+ })[];
2814
+ };
2815
+ generationPolicy: {
2816
+ maxQueries: number;
2817
+ maxRowsPerQuery: number;
2818
+ maxBytesPerQuery: number;
2819
+ maxReportBytes: number;
2820
+ maxBlocksPerSection: number;
2821
+ maxAgentTurns: number;
2822
+ maxDurationMs: number;
2823
+ };
2824
+ archivedAt?: string | undefined;
1199
2825
  createdAt?: string | undefined;
1200
2826
  updatedAt?: string | undefined;
1201
2827
  };
@@ -1223,9 +2849,17 @@ export default class {
1223
2849
  readonly createdBy: string & {
1224
2850
  readonly?: "__readonly" | undefined;
1225
2851
  };
2852
+ requestedBy: {
2853
+ type: import("./definitions").AnalysisReportActorType;
2854
+ userId?: string | undefined;
2855
+ };
1226
2856
  activeGeneration?: {
1227
2857
  status: import("./definitions").AnalysisReportGenerationStatus;
1228
2858
  id: string;
2859
+ requestedBy: {
2860
+ type: import("./definitions").AnalysisReportActorType;
2861
+ userId?: string | undefined;
2862
+ };
1229
2863
  evidence: {
1230
2864
  id: string;
1231
2865
  operationId?: string | undefined;
@@ -1296,46 +2930,15 @@ export default class {
1296
2930
  deadlineAt: string;
1297
2931
  dispatchAttempts: number;
1298
2932
  delegatedCompanyId: string;
1299
- delegatedUserId: string;
2933
+ delegatedUserId?: string | undefined;
1300
2934
  } | undefined;
1301
- archivedBy?: string | undefined;
1302
- title?: string | undefined;
1303
- origin: {
1304
- type: import("./definitions").AnalysisReportOriginType;
1305
- dashboardPath?: string | undefined;
1306
- dashboardTitle?: string | undefined;
1307
- };
1308
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
1309
- context: {
1310
- dimensions: string[];
1311
- filters: {
1312
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1313
- values: string[];
1314
- dimension?: string | undefined;
1315
- member?: string | undefined;
1316
- }[];
1317
- timeDimensions: ({
1318
- dimension: string;
1319
- granularity?: string | undefined;
1320
- compareDateRange: (string | string[])[];
1321
- } | {
1322
- dimension: string;
1323
- granularity?: string | undefined;
1324
- dateRange?: string | string[] | undefined;
1325
- })[];
1326
- };
1327
- generationPolicy: {
1328
- maxQueries: number;
1329
- maxRowsPerQuery: number;
1330
- maxBytesPerQuery: number;
1331
- maxReportBytes: number;
1332
- maxBlocksPerSection: number;
1333
- maxAgentTurns: number;
1334
- maxDurationMs: number;
1335
- };
1336
- lastGenerationFailure?: {
2935
+ generationFailures: {
1337
2936
  code: string;
1338
2937
  message: string;
2938
+ requestedBy: {
2939
+ type: import("./definitions").AnalysisReportActorType;
2940
+ userId?: string | undefined;
2941
+ };
1339
2942
  evidence: {
1340
2943
  id: string;
1341
2944
  operationId?: string | undefined;
@@ -1392,8 +2995,79 @@ export default class {
1392
2995
  generationId: string;
1393
2996
  kind: import("./definitions").AnalysisReportGenerationKind;
1394
2997
  question: string;
2998
+ usage?: {
2999
+ durationMs: number;
3000
+ rowCount: number;
3001
+ payloadBytes: number;
3002
+ queryCount: number;
3003
+ agentTurns: number;
3004
+ } | undefined;
1395
3005
  retryable: boolean;
1396
3006
  failedAt: string;
3007
+ }[];
3008
+ lastGenerationFailure?: {
3009
+ code: string;
3010
+ message: string;
3011
+ requestedBy: {
3012
+ type: import("./definitions").AnalysisReportActorType;
3013
+ userId?: string | undefined;
3014
+ };
3015
+ evidence: {
3016
+ id: string;
3017
+ operationId?: string | undefined;
3018
+ query: {
3019
+ dimensions: string[];
3020
+ filters: {
3021
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3022
+ values: string[];
3023
+ dimension?: string | undefined;
3024
+ member?: string | undefined;
3025
+ }[];
3026
+ timeDimensions: ({
3027
+ dimension: string;
3028
+ granularity?: string | undefined;
3029
+ compareDateRange: (string | string[])[];
3030
+ } | {
3031
+ dimension: string;
3032
+ granularity?: string | undefined;
3033
+ dateRange?: string | string[] | undefined;
3034
+ })[];
3035
+ measures: string[];
3036
+ limit?: number | undefined;
3037
+ order?: {
3038
+ [x: string]: "asc" | "desc";
3039
+ } | string[][] | undefined;
3040
+ };
3041
+ rows: {
3042
+ [x: string]: {
3043
+ value: string | number | boolean;
3044
+ metadata?: {
3045
+ link?: string | undefined;
3046
+ } | undefined;
3047
+ };
3048
+ }[];
3049
+ sources: {
3050
+ service: "statistics";
3051
+ queryLayer: "cube";
3052
+ members: string[];
3053
+ }[];
3054
+ freshness: {
3055
+ capturedAt: string;
3056
+ };
3057
+ state: import("./definitions").AnalysisReportEvidenceState;
3058
+ warning?: string | undefined;
3059
+ failureCode?: string | undefined;
3060
+ failureMessage?: string | undefined;
3061
+ executedAt: string;
3062
+ durationMs: number;
3063
+ rowCount: number;
3064
+ embeddedRowCount: number;
3065
+ payloadBytes: number;
3066
+ resultHash: string;
3067
+ }[];
3068
+ generationId: string;
3069
+ kind: import("./definitions").AnalysisReportGenerationKind;
3070
+ question: string;
1397
3071
  usage?: {
1398
3072
  durationMs: number;
1399
3073
  rowCount: number;
@@ -1401,8 +3075,45 @@ export default class {
1401
3075
  queryCount: number;
1402
3076
  agentTurns: number;
1403
3077
  } | undefined;
3078
+ retryable: boolean;
3079
+ failedAt: string;
3080
+ } | undefined;
3081
+ automatic?: {
3082
+ slug: string;
3083
+ cadence: AnalysisReportCadence;
3084
+ period: {
3085
+ key: string;
3086
+ start: string;
3087
+ end: string;
3088
+ timezone: string;
3089
+ comparisonWindows: {
3090
+ previousPeriod: {
3091
+ start: string;
3092
+ end: string;
3093
+ };
3094
+ previousYear?: {
3095
+ start: string;
3096
+ end: string;
3097
+ } | undefined;
3098
+ };
3099
+ };
3100
+ promptSnapshot: {
3101
+ text: string;
3102
+ source: import("./definitions").AnalysisReportPromptSource;
3103
+ templateKey: string;
3104
+ defaultVersion: number;
3105
+ settingsRevision: number;
3106
+ locale: string;
3107
+ };
3108
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
3109
+ settingsId: string;
3110
+ supersedesReportId?: string | undefined;
3111
+ } | undefined;
3112
+ archivedBy?: string | undefined;
3113
+ archivedByActor?: {
3114
+ type: import("./definitions").AnalysisReportActorType;
3115
+ userId?: string | undefined;
1404
3116
  } | undefined;
1405
- archivedAt?: string | undefined;
1406
3117
  sections: {
1407
3118
  scope: {
1408
3119
  dimensions: string[];
@@ -1424,6 +3135,10 @@ export default class {
1424
3135
  measures: string[];
1425
3136
  };
1426
3137
  id: string;
3138
+ requestedBy: {
3139
+ type: import("./definitions").AnalysisReportActorType;
3140
+ userId?: string | undefined;
3141
+ };
1427
3142
  generationPolicy: {
1428
3143
  maxQueries: number;
1429
3144
  maxRowsPerQuery: number;
@@ -1547,6 +3262,41 @@ export default class {
1547
3262
  runId?: string | undefined;
1548
3263
  };
1549
3264
  }[];
3265
+ title?: string | undefined;
3266
+ origin: {
3267
+ type: import("./definitions").AnalysisReportOriginType;
3268
+ dashboardPath?: string | undefined;
3269
+ dashboardTitle?: string | undefined;
3270
+ };
3271
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
3272
+ context: {
3273
+ dimensions: string[];
3274
+ filters: {
3275
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3276
+ values: string[];
3277
+ dimension?: string | undefined;
3278
+ member?: string | undefined;
3279
+ }[];
3280
+ timeDimensions: ({
3281
+ dimension: string;
3282
+ granularity?: string | undefined;
3283
+ compareDateRange: (string | string[])[];
3284
+ } | {
3285
+ dimension: string;
3286
+ granularity?: string | undefined;
3287
+ dateRange?: string | string[] | undefined;
3288
+ })[];
3289
+ };
3290
+ generationPolicy: {
3291
+ maxQueries: number;
3292
+ maxRowsPerQuery: number;
3293
+ maxBytesPerQuery: number;
3294
+ maxReportBytes: number;
3295
+ maxBlocksPerSection: number;
3296
+ maxAgentTurns: number;
3297
+ maxDurationMs: number;
3298
+ };
3299
+ archivedAt?: string | undefined;
1550
3300
  createdAt?: string | undefined;
1551
3301
  updatedAt?: string | undefined;
1552
3302
  };
@@ -1572,9 +3322,17 @@ export default class {
1572
3322
  readonly createdBy: string & {
1573
3323
  readonly?: "__readonly" | undefined;
1574
3324
  };
3325
+ requestedBy: {
3326
+ type: import("./definitions").AnalysisReportActorType;
3327
+ userId?: string | undefined;
3328
+ };
1575
3329
  activeGeneration?: {
1576
3330
  status: import("./definitions").AnalysisReportGenerationStatus;
1577
3331
  id: string;
3332
+ requestedBy: {
3333
+ type: import("./definitions").AnalysisReportActorType;
3334
+ userId?: string | undefined;
3335
+ };
1578
3336
  evidence: {
1579
3337
  id: string;
1580
3338
  operationId?: string | undefined;
@@ -1645,46 +3403,15 @@ export default class {
1645
3403
  deadlineAt: string;
1646
3404
  dispatchAttempts: number;
1647
3405
  delegatedCompanyId: string;
1648
- delegatedUserId: string;
3406
+ delegatedUserId?: string | undefined;
1649
3407
  } | undefined;
1650
- archivedBy?: string | undefined;
1651
- title?: string | undefined;
1652
- origin: {
1653
- type: import("./definitions").AnalysisReportOriginType;
1654
- dashboardPath?: string | undefined;
1655
- dashboardTitle?: string | undefined;
1656
- };
1657
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
1658
- context: {
1659
- dimensions: string[];
1660
- filters: {
1661
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1662
- values: string[];
1663
- dimension?: string | undefined;
1664
- member?: string | undefined;
1665
- }[];
1666
- timeDimensions: ({
1667
- dimension: string;
1668
- granularity?: string | undefined;
1669
- compareDateRange: (string | string[])[];
1670
- } | {
1671
- dimension: string;
1672
- granularity?: string | undefined;
1673
- dateRange?: string | string[] | undefined;
1674
- })[];
1675
- };
1676
- generationPolicy: {
1677
- maxQueries: number;
1678
- maxRowsPerQuery: number;
1679
- maxBytesPerQuery: number;
1680
- maxReportBytes: number;
1681
- maxBlocksPerSection: number;
1682
- maxAgentTurns: number;
1683
- maxDurationMs: number;
1684
- };
1685
- lastGenerationFailure?: {
3408
+ generationFailures: {
1686
3409
  code: string;
1687
3410
  message: string;
3411
+ requestedBy: {
3412
+ type: import("./definitions").AnalysisReportActorType;
3413
+ userId?: string | undefined;
3414
+ };
1688
3415
  evidence: {
1689
3416
  id: string;
1690
3417
  operationId?: string | undefined;
@@ -1741,8 +3468,79 @@ export default class {
1741
3468
  generationId: string;
1742
3469
  kind: import("./definitions").AnalysisReportGenerationKind;
1743
3470
  question: string;
3471
+ usage?: {
3472
+ durationMs: number;
3473
+ rowCount: number;
3474
+ payloadBytes: number;
3475
+ queryCount: number;
3476
+ agentTurns: number;
3477
+ } | undefined;
1744
3478
  retryable: boolean;
1745
3479
  failedAt: string;
3480
+ }[];
3481
+ lastGenerationFailure?: {
3482
+ code: string;
3483
+ message: string;
3484
+ requestedBy: {
3485
+ type: import("./definitions").AnalysisReportActorType;
3486
+ userId?: string | undefined;
3487
+ };
3488
+ evidence: {
3489
+ id: string;
3490
+ operationId?: string | undefined;
3491
+ query: {
3492
+ dimensions: string[];
3493
+ filters: {
3494
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3495
+ values: string[];
3496
+ dimension?: string | undefined;
3497
+ member?: string | undefined;
3498
+ }[];
3499
+ timeDimensions: ({
3500
+ dimension: string;
3501
+ granularity?: string | undefined;
3502
+ compareDateRange: (string | string[])[];
3503
+ } | {
3504
+ dimension: string;
3505
+ granularity?: string | undefined;
3506
+ dateRange?: string | string[] | undefined;
3507
+ })[];
3508
+ measures: string[];
3509
+ limit?: number | undefined;
3510
+ order?: {
3511
+ [x: string]: "asc" | "desc";
3512
+ } | string[][] | undefined;
3513
+ };
3514
+ rows: {
3515
+ [x: string]: {
3516
+ value: string | number | boolean;
3517
+ metadata?: {
3518
+ link?: string | undefined;
3519
+ } | undefined;
3520
+ };
3521
+ }[];
3522
+ sources: {
3523
+ service: "statistics";
3524
+ queryLayer: "cube";
3525
+ members: string[];
3526
+ }[];
3527
+ freshness: {
3528
+ capturedAt: string;
3529
+ };
3530
+ state: import("./definitions").AnalysisReportEvidenceState;
3531
+ warning?: string | undefined;
3532
+ failureCode?: string | undefined;
3533
+ failureMessage?: string | undefined;
3534
+ executedAt: string;
3535
+ durationMs: number;
3536
+ rowCount: number;
3537
+ embeddedRowCount: number;
3538
+ payloadBytes: number;
3539
+ resultHash: string;
3540
+ }[];
3541
+ generationId: string;
3542
+ kind: import("./definitions").AnalysisReportGenerationKind;
3543
+ question: string;
1746
3544
  usage?: {
1747
3545
  durationMs: number;
1748
3546
  rowCount: number;
@@ -1750,8 +3548,45 @@ export default class {
1750
3548
  queryCount: number;
1751
3549
  agentTurns: number;
1752
3550
  } | undefined;
3551
+ retryable: boolean;
3552
+ failedAt: string;
3553
+ } | undefined;
3554
+ automatic?: {
3555
+ slug: string;
3556
+ cadence: AnalysisReportCadence;
3557
+ period: {
3558
+ key: string;
3559
+ start: string;
3560
+ end: string;
3561
+ timezone: string;
3562
+ comparisonWindows: {
3563
+ previousPeriod: {
3564
+ start: string;
3565
+ end: string;
3566
+ };
3567
+ previousYear?: {
3568
+ start: string;
3569
+ end: string;
3570
+ } | undefined;
3571
+ };
3572
+ };
3573
+ promptSnapshot: {
3574
+ text: string;
3575
+ source: import("./definitions").AnalysisReportPromptSource;
3576
+ templateKey: string;
3577
+ defaultVersion: number;
3578
+ settingsRevision: number;
3579
+ locale: string;
3580
+ };
3581
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
3582
+ settingsId: string;
3583
+ supersedesReportId?: string | undefined;
3584
+ } | undefined;
3585
+ archivedBy?: string | undefined;
3586
+ archivedByActor?: {
3587
+ type: import("./definitions").AnalysisReportActorType;
3588
+ userId?: string | undefined;
1753
3589
  } | undefined;
1754
- archivedAt?: string | undefined;
1755
3590
  sections: {
1756
3591
  scope: {
1757
3592
  dimensions: string[];
@@ -1773,6 +3608,10 @@ export default class {
1773
3608
  measures: string[];
1774
3609
  };
1775
3610
  id: string;
3611
+ requestedBy: {
3612
+ type: import("./definitions").AnalysisReportActorType;
3613
+ userId?: string | undefined;
3614
+ };
1776
3615
  generationPolicy: {
1777
3616
  maxQueries: number;
1778
3617
  maxRowsPerQuery: number;
@@ -1896,6 +3735,41 @@ export default class {
1896
3735
  runId?: string | undefined;
1897
3736
  };
1898
3737
  }[];
3738
+ title?: string | undefined;
3739
+ origin: {
3740
+ type: import("./definitions").AnalysisReportOriginType;
3741
+ dashboardPath?: string | undefined;
3742
+ dashboardTitle?: string | undefined;
3743
+ };
3744
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
3745
+ context: {
3746
+ dimensions: string[];
3747
+ filters: {
3748
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3749
+ values: string[];
3750
+ dimension?: string | undefined;
3751
+ member?: string | undefined;
3752
+ }[];
3753
+ timeDimensions: ({
3754
+ dimension: string;
3755
+ granularity?: string | undefined;
3756
+ compareDateRange: (string | string[])[];
3757
+ } | {
3758
+ dimension: string;
3759
+ granularity?: string | undefined;
3760
+ dateRange?: string | string[] | undefined;
3761
+ })[];
3762
+ };
3763
+ generationPolicy: {
3764
+ maxQueries: number;
3765
+ maxRowsPerQuery: number;
3766
+ maxBytesPerQuery: number;
3767
+ maxReportBytes: number;
3768
+ maxBlocksPerSection: number;
3769
+ maxAgentTurns: number;
3770
+ maxDurationMs: number;
3771
+ };
3772
+ archivedAt?: string | undefined;
1899
3773
  createdAt?: string | undefined;
1900
3774
  updatedAt?: string | undefined;
1901
3775
  };
@@ -2007,6 +3881,7 @@ export default class {
2007
3881
  status: "completed" | "failed";
2008
3882
  executionId: string;
2009
3883
  title?: string | undefined;
3884
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
2010
3885
  section?: {
2011
3886
  name: string;
2012
3887
  blocks: ({
@@ -2098,9 +3973,17 @@ export default class {
2098
3973
  readonly createdBy: string & {
2099
3974
  readonly?: "__readonly" | undefined;
2100
3975
  };
3976
+ requestedBy: {
3977
+ type: import("./definitions").AnalysisReportActorType;
3978
+ userId?: string | undefined;
3979
+ };
2101
3980
  activeGeneration?: {
2102
3981
  status: import("./definitions").AnalysisReportGenerationStatus;
2103
3982
  id: string;
3983
+ requestedBy: {
3984
+ type: import("./definitions").AnalysisReportActorType;
3985
+ userId?: string | undefined;
3986
+ };
2104
3987
  evidence: {
2105
3988
  id: string;
2106
3989
  operationId?: string | undefined;
@@ -2171,46 +4054,88 @@ export default class {
2171
4054
  deadlineAt: string;
2172
4055
  dispatchAttempts: number;
2173
4056
  delegatedCompanyId: string;
2174
- delegatedUserId: string;
4057
+ delegatedUserId?: string | undefined;
2175
4058
  } | undefined;
2176
- archivedBy?: string | undefined;
2177
- title?: string | undefined;
2178
- origin: {
2179
- type: import("./definitions").AnalysisReportOriginType;
2180
- dashboardPath?: string | undefined;
2181
- dashboardTitle?: string | undefined;
2182
- };
2183
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
2184
- context: {
2185
- dimensions: string[];
2186
- filters: {
2187
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2188
- values: string[];
2189
- dimension?: string | undefined;
2190
- member?: string | undefined;
4059
+ generationFailures: {
4060
+ code: string;
4061
+ message: string;
4062
+ requestedBy: {
4063
+ type: import("./definitions").AnalysisReportActorType;
4064
+ userId?: string | undefined;
4065
+ };
4066
+ evidence: {
4067
+ id: string;
4068
+ operationId?: string | undefined;
4069
+ query: {
4070
+ dimensions: string[];
4071
+ filters: {
4072
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
4073
+ values: string[];
4074
+ dimension?: string | undefined;
4075
+ member?: string | undefined;
4076
+ }[];
4077
+ timeDimensions: ({
4078
+ dimension: string;
4079
+ granularity?: string | undefined;
4080
+ compareDateRange: (string | string[])[];
4081
+ } | {
4082
+ dimension: string;
4083
+ granularity?: string | undefined;
4084
+ dateRange?: string | string[] | undefined;
4085
+ })[];
4086
+ measures: string[];
4087
+ limit?: number | undefined;
4088
+ order?: {
4089
+ [x: string]: "asc" | "desc";
4090
+ } | string[][] | undefined;
4091
+ };
4092
+ rows: {
4093
+ [x: string]: {
4094
+ value: string | number | boolean;
4095
+ metadata?: {
4096
+ link?: string | undefined;
4097
+ } | undefined;
4098
+ };
4099
+ }[];
4100
+ sources: {
4101
+ service: "statistics";
4102
+ queryLayer: "cube";
4103
+ members: string[];
4104
+ }[];
4105
+ freshness: {
4106
+ capturedAt: string;
4107
+ };
4108
+ state: import("./definitions").AnalysisReportEvidenceState;
4109
+ warning?: string | undefined;
4110
+ failureCode?: string | undefined;
4111
+ failureMessage?: string | undefined;
4112
+ executedAt: string;
4113
+ durationMs: number;
4114
+ rowCount: number;
4115
+ embeddedRowCount: number;
4116
+ payloadBytes: number;
4117
+ resultHash: string;
2191
4118
  }[];
2192
- timeDimensions: ({
2193
- dimension: string;
2194
- granularity?: string | undefined;
2195
- compareDateRange: (string | string[])[];
2196
- } | {
2197
- dimension: string;
2198
- granularity?: string | undefined;
2199
- dateRange?: string | string[] | undefined;
2200
- })[];
2201
- };
2202
- generationPolicy: {
2203
- maxQueries: number;
2204
- maxRowsPerQuery: number;
2205
- maxBytesPerQuery: number;
2206
- maxReportBytes: number;
2207
- maxBlocksPerSection: number;
2208
- maxAgentTurns: number;
2209
- maxDurationMs: number;
2210
- };
4119
+ generationId: string;
4120
+ kind: import("./definitions").AnalysisReportGenerationKind;
4121
+ question: string;
4122
+ usage?: {
4123
+ durationMs: number;
4124
+ rowCount: number;
4125
+ payloadBytes: number;
4126
+ queryCount: number;
4127
+ agentTurns: number;
4128
+ } | undefined;
4129
+ retryable: boolean;
4130
+ failedAt: string;
4131
+ }[];
2211
4132
  lastGenerationFailure?: {
2212
4133
  code: string;
2213
4134
  message: string;
4135
+ requestedBy: {
4136
+ type: import("./definitions").AnalysisReportActorType;
4137
+ userId?: string | undefined;
4138
+ };
2214
4139
  evidence: {
2215
4140
  id: string;
2216
4141
  operationId?: string | undefined;
@@ -2267,8 +4192,6 @@ export default class {
2267
4192
  generationId: string;
2268
4193
  kind: import("./definitions").AnalysisReportGenerationKind;
2269
4194
  question: string;
2270
- retryable: boolean;
2271
- failedAt: string;
2272
4195
  usage?: {
2273
4196
  durationMs: number;
2274
4197
  rowCount: number;
@@ -2276,8 +4199,45 @@ export default class {
2276
4199
  queryCount: number;
2277
4200
  agentTurns: number;
2278
4201
  } | undefined;
4202
+ retryable: boolean;
4203
+ failedAt: string;
4204
+ } | undefined;
4205
+ automatic?: {
4206
+ slug: string;
4207
+ cadence: AnalysisReportCadence;
4208
+ period: {
4209
+ key: string;
4210
+ start: string;
4211
+ end: string;
4212
+ timezone: string;
4213
+ comparisonWindows: {
4214
+ previousPeriod: {
4215
+ start: string;
4216
+ end: string;
4217
+ };
4218
+ previousYear?: {
4219
+ start: string;
4220
+ end: string;
4221
+ } | undefined;
4222
+ };
4223
+ };
4224
+ promptSnapshot: {
4225
+ text: string;
4226
+ source: import("./definitions").AnalysisReportPromptSource;
4227
+ templateKey: string;
4228
+ defaultVersion: number;
4229
+ settingsRevision: number;
4230
+ locale: string;
4231
+ };
4232
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
4233
+ settingsId: string;
4234
+ supersedesReportId?: string | undefined;
4235
+ } | undefined;
4236
+ archivedBy?: string | undefined;
4237
+ archivedByActor?: {
4238
+ type: import("./definitions").AnalysisReportActorType;
4239
+ userId?: string | undefined;
2279
4240
  } | undefined;
2280
- archivedAt?: string | undefined;
2281
4241
  sections: {
2282
4242
  scope: {
2283
4243
  dimensions: string[];
@@ -2299,6 +4259,10 @@ export default class {
2299
4259
  measures: string[];
2300
4260
  };
2301
4261
  id: string;
4262
+ requestedBy: {
4263
+ type: import("./definitions").AnalysisReportActorType;
4264
+ userId?: string | undefined;
4265
+ };
2302
4266
  generationPolicy: {
2303
4267
  maxQueries: number;
2304
4268
  maxRowsPerQuery: number;
@@ -2422,6 +4386,41 @@ export default class {
2422
4386
  runId?: string | undefined;
2423
4387
  };
2424
4388
  }[];
4389
+ title?: string | undefined;
4390
+ origin: {
4391
+ type: import("./definitions").AnalysisReportOriginType;
4392
+ dashboardPath?: string | undefined;
4393
+ dashboardTitle?: string | undefined;
4394
+ };
4395
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
4396
+ context: {
4397
+ dimensions: string[];
4398
+ filters: {
4399
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
4400
+ values: string[];
4401
+ dimension?: string | undefined;
4402
+ member?: string | undefined;
4403
+ }[];
4404
+ timeDimensions: ({
4405
+ dimension: string;
4406
+ granularity?: string | undefined;
4407
+ compareDateRange: (string | string[])[];
4408
+ } | {
4409
+ dimension: string;
4410
+ granularity?: string | undefined;
4411
+ dateRange?: string | string[] | undefined;
4412
+ })[];
4413
+ };
4414
+ generationPolicy: {
4415
+ maxQueries: number;
4416
+ maxRowsPerQuery: number;
4417
+ maxBytesPerQuery: number;
4418
+ maxReportBytes: number;
4419
+ maxBlocksPerSection: number;
4420
+ maxAgentTurns: number;
4421
+ maxDurationMs: number;
4422
+ };
4423
+ archivedAt?: string | undefined;
2425
4424
  createdAt?: string | undefined;
2426
4425
  updatedAt?: string | undefined;
2427
4426
  };
@@ -2550,8 +4549,8 @@ export default class {
2550
4549
  dataset: import("./definitions").AttributionDataset;
2551
4550
  source?: import("./definitions").AttributionSource | undefined;
2552
4551
  utm?: {
2553
- fields?: import("./definitions").AttributionUtmField[] | undefined;
2554
4552
  period?: number | undefined;
4553
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
2555
4554
  } | undefined;
2556
4555
  conversionChannels?: {
2557
4556
  channel: string;
@@ -2848,6 +4847,319 @@ export default class {
2848
4847
  }, any, {}>>;
2849
4848
  };
2850
4849
  get AnalyticsSettings(): {
4850
+ listAutomaticReportSettings: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4851
+ status: "success";
4852
+ } & {
4853
+ data: {
4854
+ type: import("./definitions").AnalyticsSettingsType;
4855
+ id: string & {
4856
+ readonly?: "__readonly" | undefined;
4857
+ };
4858
+ readonly companyId: string & {
4859
+ readonly?: "__readonly" | undefined;
4860
+ };
4861
+ createdAt: string & {
4862
+ readonly?: "__readonly" | undefined;
4863
+ };
4864
+ updatedAt: string & {
4865
+ readonly?: "__readonly" | undefined;
4866
+ };
4867
+ definition: {
4868
+ title: string;
4869
+ slug: string;
4870
+ cadence: AnalysisReportCadence;
4871
+ timezone: string;
4872
+ locale: string;
4873
+ description?: string | undefined;
4874
+ enabled: boolean;
4875
+ nextRunAt?: string | undefined;
4876
+ prompt: {
4877
+ updatedAt?: string | undefined;
4878
+ source: import("./definitions").AnalysisReportPromptSource;
4879
+ templateKey: string;
4880
+ defaultVersion: number;
4881
+ revision: number;
4882
+ overrideText?: string | undefined;
4883
+ updatedBy?: {
4884
+ type: import("./definitions").AnalysisReportActorType;
4885
+ userId?: string | undefined;
4886
+ } | undefined;
4887
+ };
4888
+ };
4889
+ resourceGroupIds: string[];
4890
+ }[];
4891
+ program: string;
4892
+ version: string;
4893
+ datetime: string;
4894
+ status: string;
4895
+ code?: number | undefined;
4896
+ message: string;
4897
+ }, any, {}>>;
4898
+ createAutomaticReportSettings: (params: Record<string, never>, data: {
4899
+ slug: string;
4900
+ title: string;
4901
+ description?: string | undefined;
4902
+ enabled?: boolean | undefined;
4903
+ cadence: AnalysisReportCadence;
4904
+ timezone?: string | undefined;
4905
+ locale?: string | undefined;
4906
+ prompt?: string | undefined;
4907
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4908
+ status: "success";
4909
+ } & {
4910
+ data: {
4911
+ type: import("./definitions").AnalyticsSettingsType;
4912
+ id: string & {
4913
+ readonly?: "__readonly" | undefined;
4914
+ };
4915
+ readonly companyId: string & {
4916
+ readonly?: "__readonly" | undefined;
4917
+ };
4918
+ createdAt: string & {
4919
+ readonly?: "__readonly" | undefined;
4920
+ };
4921
+ updatedAt: string & {
4922
+ readonly?: "__readonly" | undefined;
4923
+ };
4924
+ definition: {
4925
+ title: string;
4926
+ slug: string;
4927
+ cadence: AnalysisReportCadence;
4928
+ timezone: string;
4929
+ locale: string;
4930
+ description?: string | undefined;
4931
+ enabled: boolean;
4932
+ nextRunAt?: string | undefined;
4933
+ prompt: {
4934
+ updatedAt?: string | undefined;
4935
+ source: import("./definitions").AnalysisReportPromptSource;
4936
+ templateKey: string;
4937
+ defaultVersion: number;
4938
+ revision: number;
4939
+ overrideText?: string | undefined;
4940
+ updatedBy?: {
4941
+ type: import("./definitions").AnalysisReportActorType;
4942
+ userId?: string | undefined;
4943
+ } | undefined;
4944
+ };
4945
+ };
4946
+ resourceGroupIds: string[];
4947
+ };
4948
+ program: string;
4949
+ version: string;
4950
+ datetime: string;
4951
+ status: string;
4952
+ code?: number | undefined;
4953
+ message: string;
4954
+ }, any, {}>>;
4955
+ getAutomaticReportSettings: (params: {
4956
+ slug: string;
4957
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4958
+ status: "success";
4959
+ } & {
4960
+ data: {
4961
+ type: import("./definitions").AnalyticsSettingsType;
4962
+ id: string & {
4963
+ readonly?: "__readonly" | undefined;
4964
+ };
4965
+ readonly companyId: string & {
4966
+ readonly?: "__readonly" | undefined;
4967
+ };
4968
+ createdAt: string & {
4969
+ readonly?: "__readonly" | undefined;
4970
+ };
4971
+ updatedAt: string & {
4972
+ readonly?: "__readonly" | undefined;
4973
+ };
4974
+ definition: {
4975
+ title: string;
4976
+ slug: string;
4977
+ cadence: AnalysisReportCadence;
4978
+ timezone: string;
4979
+ locale: string;
4980
+ description?: string | undefined;
4981
+ enabled: boolean;
4982
+ nextRunAt?: string | undefined;
4983
+ prompt: {
4984
+ updatedAt?: string | undefined;
4985
+ source: import("./definitions").AnalysisReportPromptSource;
4986
+ templateKey: string;
4987
+ defaultVersion: number;
4988
+ revision: number;
4989
+ overrideText?: string | undefined;
4990
+ updatedBy?: {
4991
+ type: import("./definitions").AnalysisReportActorType;
4992
+ userId?: string | undefined;
4993
+ } | undefined;
4994
+ };
4995
+ };
4996
+ resourceGroupIds: string[];
4997
+ };
4998
+ program: string;
4999
+ version: string;
5000
+ datetime: string;
5001
+ status: string;
5002
+ code?: number | undefined;
5003
+ message: string;
5004
+ }, any, {}>>;
5005
+ updateAutomaticReportSettings: (params: {
5006
+ slug: string;
5007
+ }, data: {
5008
+ title?: string | undefined;
5009
+ description?: string | undefined;
5010
+ enabled?: boolean | undefined;
5011
+ cadence?: AnalysisReportCadence | undefined;
5012
+ timezone?: string | undefined;
5013
+ locale?: string | undefined;
5014
+ prompt?: string | null | undefined;
5015
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
5016
+ status: "success";
5017
+ } & {
5018
+ data: {
5019
+ type: import("./definitions").AnalyticsSettingsType;
5020
+ id: string & {
5021
+ readonly?: "__readonly" | undefined;
5022
+ };
5023
+ readonly companyId: string & {
5024
+ readonly?: "__readonly" | undefined;
5025
+ };
5026
+ createdAt: string & {
5027
+ readonly?: "__readonly" | undefined;
5028
+ };
5029
+ updatedAt: string & {
5030
+ readonly?: "__readonly" | undefined;
5031
+ };
5032
+ definition: {
5033
+ title: string;
5034
+ slug: string;
5035
+ cadence: AnalysisReportCadence;
5036
+ timezone: string;
5037
+ locale: string;
5038
+ description?: string | undefined;
5039
+ enabled: boolean;
5040
+ nextRunAt?: string | undefined;
5041
+ prompt: {
5042
+ updatedAt?: string | undefined;
5043
+ source: import("./definitions").AnalysisReportPromptSource;
5044
+ templateKey: string;
5045
+ defaultVersion: number;
5046
+ revision: number;
5047
+ overrideText?: string | undefined;
5048
+ updatedBy?: {
5049
+ type: import("./definitions").AnalysisReportActorType;
5050
+ userId?: string | undefined;
5051
+ } | undefined;
5052
+ };
5053
+ };
5054
+ resourceGroupIds: string[];
5055
+ };
5056
+ program: string;
5057
+ version: string;
5058
+ datetime: string;
5059
+ status: string;
5060
+ code?: number | undefined;
5061
+ message: string;
5062
+ }, any, {}>>;
5063
+ disableAutomaticReportSettings: (params: {
5064
+ slug: string;
5065
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
5066
+ status: "success";
5067
+ } & {
5068
+ data: {
5069
+ type: import("./definitions").AnalyticsSettingsType;
5070
+ id: string & {
5071
+ readonly?: "__readonly" | undefined;
5072
+ };
5073
+ readonly companyId: string & {
5074
+ readonly?: "__readonly" | undefined;
5075
+ };
5076
+ createdAt: string & {
5077
+ readonly?: "__readonly" | undefined;
5078
+ };
5079
+ updatedAt: string & {
5080
+ readonly?: "__readonly" | undefined;
5081
+ };
5082
+ definition: {
5083
+ title: string;
5084
+ slug: string;
5085
+ cadence: AnalysisReportCadence;
5086
+ timezone: string;
5087
+ locale: string;
5088
+ description?: string | undefined;
5089
+ enabled: boolean;
5090
+ nextRunAt?: string | undefined;
5091
+ prompt: {
5092
+ updatedAt?: string | undefined;
5093
+ source: import("./definitions").AnalysisReportPromptSource;
5094
+ templateKey: string;
5095
+ defaultVersion: number;
5096
+ revision: number;
5097
+ overrideText?: string | undefined;
5098
+ updatedBy?: {
5099
+ type: import("./definitions").AnalysisReportActorType;
5100
+ userId?: string | undefined;
5101
+ } | undefined;
5102
+ };
5103
+ };
5104
+ resourceGroupIds: string[];
5105
+ };
5106
+ program: string;
5107
+ version: string;
5108
+ datetime: string;
5109
+ status: string;
5110
+ code?: number | undefined;
5111
+ message: string;
5112
+ }, any, {}>>;
5113
+ resetAutomaticReportSettingsPrompt: (params: {
5114
+ slug: string;
5115
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
5116
+ status: "success";
5117
+ } & {
5118
+ data: {
5119
+ type: import("./definitions").AnalyticsSettingsType;
5120
+ id: string & {
5121
+ readonly?: "__readonly" | undefined;
5122
+ };
5123
+ readonly companyId: string & {
5124
+ readonly?: "__readonly" | undefined;
5125
+ };
5126
+ createdAt: string & {
5127
+ readonly?: "__readonly" | undefined;
5128
+ };
5129
+ updatedAt: string & {
5130
+ readonly?: "__readonly" | undefined;
5131
+ };
5132
+ definition: {
5133
+ title: string;
5134
+ slug: string;
5135
+ cadence: AnalysisReportCadence;
5136
+ timezone: string;
5137
+ locale: string;
5138
+ description?: string | undefined;
5139
+ enabled: boolean;
5140
+ nextRunAt?: string | undefined;
5141
+ prompt: {
5142
+ updatedAt?: string | undefined;
5143
+ source: import("./definitions").AnalysisReportPromptSource;
5144
+ templateKey: string;
5145
+ defaultVersion: number;
5146
+ revision: number;
5147
+ overrideText?: string | undefined;
5148
+ updatedBy?: {
5149
+ type: import("./definitions").AnalysisReportActorType;
5150
+ userId?: string | undefined;
5151
+ } | undefined;
5152
+ };
5153
+ };
5154
+ resourceGroupIds: string[];
5155
+ };
5156
+ program: string;
5157
+ version: string;
5158
+ datetime: string;
5159
+ status: string;
5160
+ code?: number | undefined;
5161
+ message: string;
5162
+ }, any, {}>>;
2851
5163
  listTagSettings: (params: {
2852
5164
  assignmentMode?: TagAssignmentMode | undefined;
2853
5165
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -3170,8 +5482,8 @@ export default class {
3170
5482
  dataset: import("./definitions").AttributionDataset;
3171
5483
  source?: import("./definitions").AttributionSource | undefined;
3172
5484
  utm?: {
3173
- fields?: import("./definitions").AttributionUtmField[] | undefined;
3174
5485
  period?: number | undefined;
5486
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
3175
5487
  } | undefined;
3176
5488
  conversionChannels?: {
3177
5489
  channel: string;
@@ -3202,8 +5514,8 @@ export default class {
3202
5514
  dataset: import("./definitions").AttributionDataset;
3203
5515
  source?: import("./definitions").AttributionSource | undefined;
3204
5516
  utm?: {
3205
- fields?: import("./definitions").AttributionUtmField[] | undefined;
3206
5517
  period?: number | undefined;
5518
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
3207
5519
  } | undefined;
3208
5520
  conversionChannels?: {
3209
5521
  channel: string;
@@ -3241,8 +5553,8 @@ export default class {
3241
5553
  dataset: import("./definitions").AttributionDataset;
3242
5554
  source?: import("./definitions").AttributionSource | undefined;
3243
5555
  utm?: {
3244
- fields?: import("./definitions").AttributionUtmField[] | undefined;
3245
5556
  period?: number | undefined;
5557
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
3246
5558
  } | undefined;
3247
5559
  conversionChannels?: {
3248
5560
  channel: string;