@rlvt/statistics-openapi-client 1.0.56 → 1.0.57

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,13 @@
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;
9
11
  private getAnalysisReport;
10
12
  private archiveAnalysisReport;
11
13
  private createAnalysisReportFollowUp;
@@ -19,6 +21,12 @@ export default class {
19
21
  private runSavedQuery;
20
22
  private updateSavedQuery;
21
23
  private deleteSavedQuery;
24
+ private listAutomaticReportSettings;
25
+ private createAutomaticReportSettings;
26
+ private getAutomaticReportSettings;
27
+ private updateAutomaticReportSettings;
28
+ private disableAutomaticReportSettings;
29
+ private resetAutomaticReportSettingsPrompt;
22
30
  private listTagSettings;
23
31
  private createTagKey;
24
32
  private getTagKey;
@@ -32,6 +40,22 @@ export default class {
32
40
  private getReportingSettings;
33
41
  private setReportingSettings;
34
42
  get AnalysisReports(): {
43
+ listAnalysisReportPromptTemplates: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
44
+ status: "success";
45
+ } & {
46
+ data: {
47
+ text: string;
48
+ version: number;
49
+ title: string;
50
+ key: string;
51
+ }[];
52
+ program: string;
53
+ version: string;
54
+ datetime: string;
55
+ status: string;
56
+ code?: number | undefined;
57
+ message: string;
58
+ }, any, {}>>;
35
59
  list: (params: {
36
60
  includeArchived?: boolean | undefined;
37
61
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -40,22 +64,23 @@ export default class {
40
64
  data: {
41
65
  id: string;
42
66
  createdBy: string;
67
+ requestedBy: {
68
+ type: import("./definitions").AnalysisReportActorType;
69
+ userId?: string | undefined;
70
+ };
43
71
  activeGeneration?: {
44
72
  status: import("./definitions").AnalysisReportGenerationStatus;
45
73
  id: string;
46
74
  kind: import("./definitions").AnalysisReportGenerationKind;
47
75
  startedAt: string;
48
76
  } | 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
77
  lastGenerationFailure?: {
57
78
  code: string;
58
79
  message: string;
80
+ requestedBy: {
81
+ type: import("./definitions").AnalysisReportActorType;
82
+ userId?: string | undefined;
83
+ };
59
84
  evidence: {
60
85
  id: string;
61
86
  operationId?: string | undefined;
@@ -112,8 +137,6 @@ export default class {
112
137
  generationId: string;
113
138
  kind: import("./definitions").AnalysisReportGenerationKind;
114
139
  question: string;
115
- retryable: boolean;
116
- failedAt: string;
117
140
  usage?: {
118
141
  durationMs: number;
119
142
  rowCount: number;
@@ -121,7 +144,47 @@ export default class {
121
144
  queryCount: number;
122
145
  agentTurns: number;
123
146
  } | undefined;
147
+ retryable: boolean;
148
+ failedAt: string;
124
149
  } | undefined;
150
+ automatic?: {
151
+ slug: string;
152
+ cadence: AnalysisReportCadence;
153
+ period: {
154
+ key: string;
155
+ start: string;
156
+ end: string;
157
+ timezone: string;
158
+ comparisonWindows: {
159
+ previousPeriod: {
160
+ start: string;
161
+ end: string;
162
+ };
163
+ previousYear?: {
164
+ start: string;
165
+ end: string;
166
+ } | undefined;
167
+ };
168
+ };
169
+ promptSnapshot: {
170
+ text: string;
171
+ source: import("./definitions").AnalysisReportPromptSource;
172
+ templateKey: string;
173
+ defaultVersion: number;
174
+ settingsRevision: number;
175
+ locale: string;
176
+ };
177
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
178
+ settingsId: string;
179
+ supersedesReportId?: string | undefined;
180
+ } | undefined;
181
+ title?: string | undefined;
182
+ origin: {
183
+ type: import("./definitions").AnalysisReportOriginType;
184
+ dashboardPath?: string | undefined;
185
+ dashboardTitle?: string | undefined;
186
+ };
187
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
125
188
  archivedAt?: string | undefined;
126
189
  createdAt: string;
127
190
  updatedAt: string;
@@ -174,9 +237,17 @@ export default class {
174
237
  readonly createdBy: string & {
175
238
  readonly?: "__readonly" | undefined;
176
239
  };
240
+ requestedBy: {
241
+ type: import("./definitions").AnalysisReportActorType;
242
+ userId?: string | undefined;
243
+ };
177
244
  activeGeneration?: {
178
245
  status: import("./definitions").AnalysisReportGenerationStatus;
179
246
  id: string;
247
+ requestedBy: {
248
+ type: import("./definitions").AnalysisReportActorType;
249
+ userId?: string | undefined;
250
+ };
180
251
  evidence: {
181
252
  id: string;
182
253
  operationId?: string | undefined;
@@ -247,46 +318,15 @@ export default class {
247
318
  deadlineAt: string;
248
319
  dispatchAttempts: number;
249
320
  delegatedCompanyId: string;
250
- delegatedUserId: string;
321
+ delegatedUserId?: string | undefined;
251
322
  } | 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?: {
323
+ generationFailures: {
288
324
  code: string;
289
325
  message: string;
326
+ requestedBy: {
327
+ type: import("./definitions").AnalysisReportActorType;
328
+ userId?: string | undefined;
329
+ };
290
330
  evidence: {
291
331
  id: string;
292
332
  operationId?: string | undefined;
@@ -343,8 +383,79 @@ export default class {
343
383
  generationId: string;
344
384
  kind: import("./definitions").AnalysisReportGenerationKind;
345
385
  question: string;
386
+ usage?: {
387
+ durationMs: number;
388
+ rowCount: number;
389
+ payloadBytes: number;
390
+ queryCount: number;
391
+ agentTurns: number;
392
+ } | undefined;
346
393
  retryable: boolean;
347
394
  failedAt: string;
395
+ }[];
396
+ lastGenerationFailure?: {
397
+ code: string;
398
+ message: string;
399
+ requestedBy: {
400
+ type: import("./definitions").AnalysisReportActorType;
401
+ userId?: string | undefined;
402
+ };
403
+ evidence: {
404
+ id: string;
405
+ operationId?: string | undefined;
406
+ query: {
407
+ dimensions: string[];
408
+ filters: {
409
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
410
+ values: string[];
411
+ dimension?: string | undefined;
412
+ member?: string | undefined;
413
+ }[];
414
+ timeDimensions: ({
415
+ dimension: string;
416
+ granularity?: string | undefined;
417
+ compareDateRange: (string | string[])[];
418
+ } | {
419
+ dimension: string;
420
+ granularity?: string | undefined;
421
+ dateRange?: string | string[] | undefined;
422
+ })[];
423
+ measures: string[];
424
+ limit?: number | undefined;
425
+ order?: {
426
+ [x: string]: "asc" | "desc";
427
+ } | string[][] | undefined;
428
+ };
429
+ rows: {
430
+ [x: string]: {
431
+ value: string | number | boolean;
432
+ metadata?: {
433
+ link?: string | undefined;
434
+ } | undefined;
435
+ };
436
+ }[];
437
+ sources: {
438
+ service: "statistics";
439
+ queryLayer: "cube";
440
+ members: string[];
441
+ }[];
442
+ freshness: {
443
+ capturedAt: string;
444
+ };
445
+ state: import("./definitions").AnalysisReportEvidenceState;
446
+ warning?: string | undefined;
447
+ failureCode?: string | undefined;
448
+ failureMessage?: string | undefined;
449
+ executedAt: string;
450
+ durationMs: number;
451
+ rowCount: number;
452
+ embeddedRowCount: number;
453
+ payloadBytes: number;
454
+ resultHash: string;
455
+ }[];
456
+ generationId: string;
457
+ kind: import("./definitions").AnalysisReportGenerationKind;
458
+ question: string;
348
459
  usage?: {
349
460
  durationMs: number;
350
461
  rowCount: number;
@@ -352,8 +463,45 @@ export default class {
352
463
  queryCount: number;
353
464
  agentTurns: number;
354
465
  } | undefined;
466
+ retryable: boolean;
467
+ failedAt: string;
468
+ } | undefined;
469
+ automatic?: {
470
+ slug: string;
471
+ cadence: AnalysisReportCadence;
472
+ period: {
473
+ key: string;
474
+ start: string;
475
+ end: string;
476
+ timezone: string;
477
+ comparisonWindows: {
478
+ previousPeriod: {
479
+ start: string;
480
+ end: string;
481
+ };
482
+ previousYear?: {
483
+ start: string;
484
+ end: string;
485
+ } | undefined;
486
+ };
487
+ };
488
+ promptSnapshot: {
489
+ text: string;
490
+ source: import("./definitions").AnalysisReportPromptSource;
491
+ templateKey: string;
492
+ defaultVersion: number;
493
+ settingsRevision: number;
494
+ locale: string;
495
+ };
496
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
497
+ settingsId: string;
498
+ supersedesReportId?: string | undefined;
499
+ } | undefined;
500
+ archivedBy?: string | undefined;
501
+ archivedByActor?: {
502
+ type: import("./definitions").AnalysisReportActorType;
503
+ userId?: string | undefined;
355
504
  } | undefined;
356
- archivedAt?: string | undefined;
357
505
  sections: {
358
506
  scope: {
359
507
  dimensions: string[];
@@ -375,6 +523,10 @@ export default class {
375
523
  measures: string[];
376
524
  };
377
525
  id: string;
526
+ requestedBy: {
527
+ type: import("./definitions").AnalysisReportActorType;
528
+ userId?: string | undefined;
529
+ };
378
530
  generationPolicy: {
379
531
  maxQueries: number;
380
532
  maxRowsPerQuery: number;
@@ -498,6 +650,41 @@ export default class {
498
650
  runId?: string | undefined;
499
651
  };
500
652
  }[];
653
+ title?: string | undefined;
654
+ origin: {
655
+ type: import("./definitions").AnalysisReportOriginType;
656
+ dashboardPath?: string | undefined;
657
+ dashboardTitle?: string | undefined;
658
+ };
659
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
660
+ context: {
661
+ dimensions: string[];
662
+ filters: {
663
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
664
+ values: string[];
665
+ dimension?: string | undefined;
666
+ member?: string | undefined;
667
+ }[];
668
+ timeDimensions: ({
669
+ dimension: string;
670
+ granularity?: string | undefined;
671
+ compareDateRange: (string | string[])[];
672
+ } | {
673
+ dimension: string;
674
+ granularity?: string | undefined;
675
+ dateRange?: string | string[] | undefined;
676
+ })[];
677
+ };
678
+ generationPolicy: {
679
+ maxQueries: number;
680
+ maxRowsPerQuery: number;
681
+ maxBytesPerQuery: number;
682
+ maxReportBytes: number;
683
+ maxBlocksPerSection: number;
684
+ maxAgentTurns: number;
685
+ maxDurationMs: number;
686
+ };
687
+ archivedAt?: string | undefined;
501
688
  createdAt?: string | undefined;
502
689
  updatedAt?: string | undefined;
503
690
  };
@@ -508,6 +695,723 @@ export default class {
508
695
  code?: number | undefined;
509
696
  message: string;
510
697
  }, any, {}>>;
698
+ getAutomaticAnalysisReport: (params: {
699
+ slug: string;
700
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
701
+ status: "success";
702
+ } & {
703
+ data: {
704
+ settings: {
705
+ type: import("./definitions").AnalyticsSettingsType;
706
+ id: string & {
707
+ readonly?: "__readonly" | undefined;
708
+ };
709
+ readonly companyId: string & {
710
+ readonly?: "__readonly" | undefined;
711
+ };
712
+ createdAt: string & {
713
+ readonly?: "__readonly" | undefined;
714
+ };
715
+ updatedAt: string & {
716
+ readonly?: "__readonly" | undefined;
717
+ };
718
+ definition: {
719
+ title: string;
720
+ slug: string;
721
+ cadence: AnalysisReportCadence;
722
+ timezone: string;
723
+ locale: string;
724
+ description?: string | undefined;
725
+ enabled: boolean;
726
+ nextRunAt?: string | undefined;
727
+ prompt: {
728
+ updatedAt?: string | undefined;
729
+ source: import("./definitions").AnalysisReportPromptSource;
730
+ templateKey: string;
731
+ defaultVersion: number;
732
+ revision: number;
733
+ overrideText?: string | undefined;
734
+ updatedBy?: {
735
+ type: import("./definitions").AnalysisReportActorType;
736
+ userId?: string | undefined;
737
+ } | undefined;
738
+ };
739
+ };
740
+ resourceGroupIds: string[];
741
+ };
742
+ reports: {
743
+ current?: {
744
+ readonly id: string & {
745
+ readonly?: "__readonly" | undefined;
746
+ };
747
+ readonly companyId: string & {
748
+ readonly?: "__readonly" | undefined;
749
+ };
750
+ readonly createdBy: string & {
751
+ readonly?: "__readonly" | undefined;
752
+ };
753
+ requestedBy: {
754
+ type: import("./definitions").AnalysisReportActorType;
755
+ userId?: string | undefined;
756
+ };
757
+ activeGeneration?: {
758
+ status: import("./definitions").AnalysisReportGenerationStatus;
759
+ id: string;
760
+ requestedBy: {
761
+ type: import("./definitions").AnalysisReportActorType;
762
+ userId?: string | undefined;
763
+ };
764
+ evidence: {
765
+ id: string;
766
+ operationId?: string | undefined;
767
+ query: {
768
+ dimensions: string[];
769
+ filters: {
770
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
771
+ values: string[];
772
+ dimension?: string | undefined;
773
+ member?: string | undefined;
774
+ }[];
775
+ timeDimensions: ({
776
+ dimension: string;
777
+ granularity?: string | undefined;
778
+ compareDateRange: (string | string[])[];
779
+ } | {
780
+ dimension: string;
781
+ granularity?: string | undefined;
782
+ dateRange?: string | string[] | undefined;
783
+ })[];
784
+ measures: string[];
785
+ limit?: number | undefined;
786
+ order?: {
787
+ [x: string]: "asc" | "desc";
788
+ } | string[][] | undefined;
789
+ };
790
+ rows: {
791
+ [x: string]: {
792
+ value: string | number | boolean;
793
+ metadata?: {
794
+ link?: string | undefined;
795
+ } | undefined;
796
+ };
797
+ }[];
798
+ sources: {
799
+ service: "statistics";
800
+ queryLayer: "cube";
801
+ members: string[];
802
+ }[];
803
+ freshness: {
804
+ capturedAt: string;
805
+ };
806
+ state: import("./definitions").AnalysisReportEvidenceState;
807
+ warning?: string | undefined;
808
+ failureCode?: string | undefined;
809
+ failureMessage?: string | undefined;
810
+ executedAt: string;
811
+ durationMs: number;
812
+ rowCount: number;
813
+ embeddedRowCount: number;
814
+ payloadBytes: number;
815
+ resultHash: string;
816
+ }[];
817
+ kind: import("./definitions").AnalysisReportGenerationKind;
818
+ startedAt: string;
819
+ question: string;
820
+ usage: {
821
+ durationMs: number;
822
+ rowCount: number;
823
+ payloadBytes: number;
824
+ queryCount: number;
825
+ agentTurns: number;
826
+ };
827
+ sectionId: string;
828
+ idempotencyKey: string;
829
+ intelligenceCaseId?: string | undefined;
830
+ executionId: string;
831
+ deadlineAt: string;
832
+ dispatchAttempts: number;
833
+ delegatedCompanyId: string;
834
+ delegatedUserId?: string | undefined;
835
+ } | undefined;
836
+ generationFailures: {
837
+ code: string;
838
+ message: string;
839
+ requestedBy: {
840
+ type: import("./definitions").AnalysisReportActorType;
841
+ userId?: string | undefined;
842
+ };
843
+ evidence: {
844
+ id: string;
845
+ operationId?: string | undefined;
846
+ query: {
847
+ dimensions: string[];
848
+ filters: {
849
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
850
+ values: string[];
851
+ dimension?: string | undefined;
852
+ member?: string | undefined;
853
+ }[];
854
+ timeDimensions: ({
855
+ dimension: string;
856
+ granularity?: string | undefined;
857
+ compareDateRange: (string | string[])[];
858
+ } | {
859
+ dimension: string;
860
+ granularity?: string | undefined;
861
+ dateRange?: string | string[] | undefined;
862
+ })[];
863
+ measures: string[];
864
+ limit?: number | undefined;
865
+ order?: {
866
+ [x: string]: "asc" | "desc";
867
+ } | string[][] | undefined;
868
+ };
869
+ rows: {
870
+ [x: string]: {
871
+ value: string | number | boolean;
872
+ metadata?: {
873
+ link?: string | undefined;
874
+ } | undefined;
875
+ };
876
+ }[];
877
+ sources: {
878
+ service: "statistics";
879
+ queryLayer: "cube";
880
+ members: string[];
881
+ }[];
882
+ freshness: {
883
+ capturedAt: string;
884
+ };
885
+ state: import("./definitions").AnalysisReportEvidenceState;
886
+ warning?: string | undefined;
887
+ failureCode?: string | undefined;
888
+ failureMessage?: string | undefined;
889
+ executedAt: string;
890
+ durationMs: number;
891
+ rowCount: number;
892
+ embeddedRowCount: number;
893
+ payloadBytes: number;
894
+ resultHash: string;
895
+ }[];
896
+ generationId: string;
897
+ kind: import("./definitions").AnalysisReportGenerationKind;
898
+ question: string;
899
+ usage?: {
900
+ durationMs: number;
901
+ rowCount: number;
902
+ payloadBytes: number;
903
+ queryCount: number;
904
+ agentTurns: number;
905
+ } | undefined;
906
+ retryable: boolean;
907
+ failedAt: string;
908
+ }[];
909
+ lastGenerationFailure?: {
910
+ code: string;
911
+ message: string;
912
+ requestedBy: {
913
+ type: import("./definitions").AnalysisReportActorType;
914
+ userId?: string | undefined;
915
+ };
916
+ evidence: {
917
+ id: string;
918
+ operationId?: string | undefined;
919
+ query: {
920
+ dimensions: string[];
921
+ filters: {
922
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
923
+ values: string[];
924
+ dimension?: string | undefined;
925
+ member?: string | undefined;
926
+ }[];
927
+ timeDimensions: ({
928
+ dimension: string;
929
+ granularity?: string | undefined;
930
+ compareDateRange: (string | string[])[];
931
+ } | {
932
+ dimension: string;
933
+ granularity?: string | undefined;
934
+ dateRange?: string | string[] | undefined;
935
+ })[];
936
+ measures: string[];
937
+ limit?: number | undefined;
938
+ order?: {
939
+ [x: string]: "asc" | "desc";
940
+ } | string[][] | undefined;
941
+ };
942
+ rows: {
943
+ [x: string]: {
944
+ value: string | number | boolean;
945
+ metadata?: {
946
+ link?: string | undefined;
947
+ } | undefined;
948
+ };
949
+ }[];
950
+ sources: {
951
+ service: "statistics";
952
+ queryLayer: "cube";
953
+ members: string[];
954
+ }[];
955
+ freshness: {
956
+ capturedAt: string;
957
+ };
958
+ state: import("./definitions").AnalysisReportEvidenceState;
959
+ warning?: string | undefined;
960
+ failureCode?: string | undefined;
961
+ failureMessage?: string | undefined;
962
+ executedAt: string;
963
+ durationMs: number;
964
+ rowCount: number;
965
+ embeddedRowCount: number;
966
+ payloadBytes: number;
967
+ resultHash: string;
968
+ }[];
969
+ generationId: string;
970
+ kind: import("./definitions").AnalysisReportGenerationKind;
971
+ question: string;
972
+ usage?: {
973
+ durationMs: number;
974
+ rowCount: number;
975
+ payloadBytes: number;
976
+ queryCount: number;
977
+ agentTurns: number;
978
+ } | undefined;
979
+ retryable: boolean;
980
+ failedAt: string;
981
+ } | undefined;
982
+ automatic?: {
983
+ slug: string;
984
+ cadence: AnalysisReportCadence;
985
+ period: {
986
+ key: string;
987
+ start: string;
988
+ end: string;
989
+ timezone: string;
990
+ comparisonWindows: {
991
+ previousPeriod: {
992
+ start: string;
993
+ end: string;
994
+ };
995
+ previousYear?: {
996
+ start: string;
997
+ end: string;
998
+ } | undefined;
999
+ };
1000
+ };
1001
+ promptSnapshot: {
1002
+ text: string;
1003
+ source: import("./definitions").AnalysisReportPromptSource;
1004
+ templateKey: string;
1005
+ defaultVersion: number;
1006
+ settingsRevision: number;
1007
+ locale: string;
1008
+ };
1009
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1010
+ settingsId: string;
1011
+ supersedesReportId?: string | undefined;
1012
+ } | undefined;
1013
+ archivedBy?: string | undefined;
1014
+ archivedByActor?: {
1015
+ type: import("./definitions").AnalysisReportActorType;
1016
+ userId?: string | undefined;
1017
+ } | undefined;
1018
+ sections: {
1019
+ scope: {
1020
+ dimensions: string[];
1021
+ filters: {
1022
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1023
+ values: string[];
1024
+ dimension?: string | undefined;
1025
+ member?: string | undefined;
1026
+ }[];
1027
+ timeDimensions: ({
1028
+ dimension: string;
1029
+ granularity?: string | undefined;
1030
+ compareDateRange: (string | string[])[];
1031
+ } | {
1032
+ dimension: string;
1033
+ granularity?: string | undefined;
1034
+ dateRange?: string | string[] | undefined;
1035
+ })[];
1036
+ measures: string[];
1037
+ };
1038
+ id: string;
1039
+ requestedBy: {
1040
+ type: import("./definitions").AnalysisReportActorType;
1041
+ userId?: string | undefined;
1042
+ };
1043
+ generationPolicy: {
1044
+ maxQueries: number;
1045
+ maxRowsPerQuery: number;
1046
+ maxBytesPerQuery: number;
1047
+ maxReportBytes: number;
1048
+ maxBlocksPerSection: number;
1049
+ maxAgentTurns: number;
1050
+ maxDurationMs: number;
1051
+ };
1052
+ createdAt: string;
1053
+ evidence: {
1054
+ id: string;
1055
+ operationId?: string | undefined;
1056
+ query: {
1057
+ dimensions: string[];
1058
+ filters: {
1059
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1060
+ values: string[];
1061
+ dimension?: string | undefined;
1062
+ member?: string | undefined;
1063
+ }[];
1064
+ timeDimensions: ({
1065
+ dimension: string;
1066
+ granularity?: string | undefined;
1067
+ compareDateRange: (string | string[])[];
1068
+ } | {
1069
+ dimension: string;
1070
+ granularity?: string | undefined;
1071
+ dateRange?: string | string[] | undefined;
1072
+ })[];
1073
+ measures: string[];
1074
+ limit?: number | undefined;
1075
+ order?: {
1076
+ [x: string]: "asc" | "desc";
1077
+ } | string[][] | undefined;
1078
+ };
1079
+ rows: {
1080
+ [x: string]: {
1081
+ value: string | number | boolean;
1082
+ metadata?: {
1083
+ link?: string | undefined;
1084
+ } | undefined;
1085
+ };
1086
+ }[];
1087
+ sources: {
1088
+ service: "statistics";
1089
+ queryLayer: "cube";
1090
+ members: string[];
1091
+ }[];
1092
+ freshness: {
1093
+ capturedAt: string;
1094
+ };
1095
+ state: import("./definitions").AnalysisReportEvidenceState;
1096
+ warning?: string | undefined;
1097
+ failureCode?: string | undefined;
1098
+ failureMessage?: string | undefined;
1099
+ executedAt: string;
1100
+ durationMs: number;
1101
+ rowCount: number;
1102
+ embeddedRowCount: number;
1103
+ payloadBytes: number;
1104
+ resultHash: string;
1105
+ }[];
1106
+ generationId: string;
1107
+ name: string;
1108
+ kind: import("./definitions").AnalysisReportGenerationKind;
1109
+ question: string;
1110
+ usage: {
1111
+ durationMs: number;
1112
+ rowCount: number;
1113
+ payloadBytes: number;
1114
+ queryCount: number;
1115
+ agentTurns: number;
1116
+ };
1117
+ sources: string[];
1118
+ freshness: {
1119
+ generatedAt: string;
1120
+ dataAsOf?: string | undefined;
1121
+ };
1122
+ sequence: number;
1123
+ blocks: ({
1124
+ type: "text";
1125
+ markdown: string;
1126
+ evidenceRefs: {
1127
+ sectionId?: string | undefined;
1128
+ evidenceId: string;
1129
+ }[];
1130
+ } | {
1131
+ type: "metric";
1132
+ evidenceRefs: {
1133
+ sectionId?: string | undefined;
1134
+ evidenceId: string;
1135
+ }[];
1136
+ label: string;
1137
+ value: string | number;
1138
+ unit?: string | undefined;
1139
+ format?: "number" | "currency" | "percent" | undefined;
1140
+ } | {
1141
+ type: "table";
1142
+ title: string;
1143
+ evidenceRefs: {
1144
+ sectionId?: string | undefined;
1145
+ evidenceId: string;
1146
+ }[];
1147
+ columns: string[];
1148
+ } | {
1149
+ type: "chart";
1150
+ title: string;
1151
+ evidenceRefs: {
1152
+ sectionId?: string | undefined;
1153
+ evidenceId: string;
1154
+ }[];
1155
+ chartType: import("./definitions").AnalysisReportChartType;
1156
+ x: string;
1157
+ y: string[];
1158
+ })[];
1159
+ methodology: string;
1160
+ limitations: string[];
1161
+ intelligence: {
1162
+ caseId?: string | undefined;
1163
+ runId?: string | undefined;
1164
+ };
1165
+ }[];
1166
+ title?: string | undefined;
1167
+ origin: {
1168
+ type: import("./definitions").AnalysisReportOriginType;
1169
+ dashboardPath?: string | undefined;
1170
+ dashboardTitle?: string | undefined;
1171
+ };
1172
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
1173
+ context: {
1174
+ dimensions: string[];
1175
+ filters: {
1176
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1177
+ values: string[];
1178
+ dimension?: string | undefined;
1179
+ member?: string | undefined;
1180
+ }[];
1181
+ timeDimensions: ({
1182
+ dimension: string;
1183
+ granularity?: string | undefined;
1184
+ compareDateRange: (string | string[])[];
1185
+ } | {
1186
+ dimension: string;
1187
+ granularity?: string | undefined;
1188
+ dateRange?: string | string[] | undefined;
1189
+ })[];
1190
+ };
1191
+ generationPolicy: {
1192
+ maxQueries: number;
1193
+ maxRowsPerQuery: number;
1194
+ maxBytesPerQuery: number;
1195
+ maxReportBytes: number;
1196
+ maxBlocksPerSection: number;
1197
+ maxAgentTurns: number;
1198
+ maxDurationMs: number;
1199
+ };
1200
+ archivedAt?: string | undefined;
1201
+ createdAt?: string | undefined;
1202
+ updatedAt?: string | undefined;
1203
+ } | undefined;
1204
+ refreshing?: {
1205
+ id: string;
1206
+ requestedBy: {
1207
+ type: import("./definitions").AnalysisReportActorType;
1208
+ userId?: string | undefined;
1209
+ };
1210
+ lastGenerationFailure?: {
1211
+ code: string;
1212
+ message: string;
1213
+ requestedBy: {
1214
+ type: import("./definitions").AnalysisReportActorType;
1215
+ userId?: string | undefined;
1216
+ };
1217
+ evidence: {
1218
+ id: string;
1219
+ operationId?: string | undefined;
1220
+ query: {
1221
+ dimensions: string[];
1222
+ filters: {
1223
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1224
+ values: string[];
1225
+ dimension?: string | undefined;
1226
+ member?: string | undefined;
1227
+ }[];
1228
+ timeDimensions: ({
1229
+ dimension: string;
1230
+ granularity?: string | undefined;
1231
+ compareDateRange: (string | string[])[];
1232
+ } | {
1233
+ dimension: string;
1234
+ granularity?: string | undefined;
1235
+ dateRange?: string | string[] | undefined;
1236
+ })[];
1237
+ measures: string[];
1238
+ limit?: number | undefined;
1239
+ order?: {
1240
+ [x: string]: "asc" | "desc";
1241
+ } | string[][] | undefined;
1242
+ };
1243
+ rows: {
1244
+ [x: string]: {
1245
+ value: string | number | boolean;
1246
+ metadata?: {
1247
+ link?: string | undefined;
1248
+ } | undefined;
1249
+ };
1250
+ }[];
1251
+ sources: {
1252
+ service: "statistics";
1253
+ queryLayer: "cube";
1254
+ members: string[];
1255
+ }[];
1256
+ freshness: {
1257
+ capturedAt: string;
1258
+ };
1259
+ state: import("./definitions").AnalysisReportEvidenceState;
1260
+ warning?: string | undefined;
1261
+ failureCode?: string | undefined;
1262
+ failureMessage?: string | undefined;
1263
+ executedAt: string;
1264
+ durationMs: number;
1265
+ rowCount: number;
1266
+ embeddedRowCount: number;
1267
+ payloadBytes: number;
1268
+ resultHash: string;
1269
+ }[];
1270
+ generationId: string;
1271
+ kind: import("./definitions").AnalysisReportGenerationKind;
1272
+ question: string;
1273
+ usage?: {
1274
+ durationMs: number;
1275
+ rowCount: number;
1276
+ payloadBytes: number;
1277
+ queryCount: number;
1278
+ agentTurns: number;
1279
+ } | undefined;
1280
+ retryable: boolean;
1281
+ failedAt: string;
1282
+ } | undefined;
1283
+ title?: string | undefined;
1284
+ archivedAt?: string | undefined;
1285
+ createdAt?: string | undefined;
1286
+ period: {
1287
+ key: string;
1288
+ start: string;
1289
+ end: string;
1290
+ timezone: string;
1291
+ comparisonWindows: {
1292
+ previousPeriod: {
1293
+ start: string;
1294
+ end: string;
1295
+ };
1296
+ previousYear?: {
1297
+ start: string;
1298
+ end: string;
1299
+ } | undefined;
1300
+ };
1301
+ };
1302
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1303
+ generationStatus?: import("./definitions").AnalysisReportGenerationStatus | undefined;
1304
+ } | undefined;
1305
+ history: {
1306
+ id: string;
1307
+ requestedBy: {
1308
+ type: import("./definitions").AnalysisReportActorType;
1309
+ userId?: string | undefined;
1310
+ };
1311
+ lastGenerationFailure?: {
1312
+ code: string;
1313
+ message: string;
1314
+ requestedBy: {
1315
+ type: import("./definitions").AnalysisReportActorType;
1316
+ userId?: string | undefined;
1317
+ };
1318
+ evidence: {
1319
+ id: string;
1320
+ operationId?: string | undefined;
1321
+ query: {
1322
+ dimensions: string[];
1323
+ filters: {
1324
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1325
+ values: string[];
1326
+ dimension?: string | undefined;
1327
+ member?: string | undefined;
1328
+ }[];
1329
+ timeDimensions: ({
1330
+ dimension: string;
1331
+ granularity?: string | undefined;
1332
+ compareDateRange: (string | string[])[];
1333
+ } | {
1334
+ dimension: string;
1335
+ granularity?: string | undefined;
1336
+ dateRange?: string | string[] | undefined;
1337
+ })[];
1338
+ measures: string[];
1339
+ limit?: number | undefined;
1340
+ order?: {
1341
+ [x: string]: "asc" | "desc";
1342
+ } | string[][] | undefined;
1343
+ };
1344
+ rows: {
1345
+ [x: string]: {
1346
+ value: string | number | boolean;
1347
+ metadata?: {
1348
+ link?: string | undefined;
1349
+ } | undefined;
1350
+ };
1351
+ }[];
1352
+ sources: {
1353
+ service: "statistics";
1354
+ queryLayer: "cube";
1355
+ members: string[];
1356
+ }[];
1357
+ freshness: {
1358
+ capturedAt: string;
1359
+ };
1360
+ state: import("./definitions").AnalysisReportEvidenceState;
1361
+ warning?: string | undefined;
1362
+ failureCode?: string | undefined;
1363
+ failureMessage?: string | undefined;
1364
+ executedAt: string;
1365
+ durationMs: number;
1366
+ rowCount: number;
1367
+ embeddedRowCount: number;
1368
+ payloadBytes: number;
1369
+ resultHash: string;
1370
+ }[];
1371
+ generationId: string;
1372
+ kind: import("./definitions").AnalysisReportGenerationKind;
1373
+ question: string;
1374
+ usage?: {
1375
+ durationMs: number;
1376
+ rowCount: number;
1377
+ payloadBytes: number;
1378
+ queryCount: number;
1379
+ agentTurns: number;
1380
+ } | undefined;
1381
+ retryable: boolean;
1382
+ failedAt: string;
1383
+ } | undefined;
1384
+ title?: string | undefined;
1385
+ archivedAt?: string | undefined;
1386
+ createdAt?: string | undefined;
1387
+ period: {
1388
+ key: string;
1389
+ start: string;
1390
+ end: string;
1391
+ timezone: string;
1392
+ comparisonWindows: {
1393
+ previousPeriod: {
1394
+ start: string;
1395
+ end: string;
1396
+ };
1397
+ previousYear?: {
1398
+ start: string;
1399
+ end: string;
1400
+ } | undefined;
1401
+ };
1402
+ };
1403
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1404
+ generationStatus?: import("./definitions").AnalysisReportGenerationStatus | undefined;
1405
+ }[];
1406
+ };
1407
+ };
1408
+ program: string;
1409
+ version: string;
1410
+ datetime: string;
1411
+ status: string;
1412
+ code?: number | undefined;
1413
+ message: string;
1414
+ }, any, {}>>;
511
1415
  getAnalysisReport: (params: {
512
1416
  reportId: string;
513
1417
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -523,9 +1427,17 @@ export default class {
523
1427
  readonly createdBy: string & {
524
1428
  readonly?: "__readonly" | undefined;
525
1429
  };
1430
+ requestedBy: {
1431
+ type: import("./definitions").AnalysisReportActorType;
1432
+ userId?: string | undefined;
1433
+ };
526
1434
  activeGeneration?: {
527
1435
  status: import("./definitions").AnalysisReportGenerationStatus;
528
1436
  id: string;
1437
+ requestedBy: {
1438
+ type: import("./definitions").AnalysisReportActorType;
1439
+ userId?: string | undefined;
1440
+ };
529
1441
  evidence: {
530
1442
  id: string;
531
1443
  operationId?: string | undefined;
@@ -596,46 +1508,15 @@ export default class {
596
1508
  deadlineAt: string;
597
1509
  dispatchAttempts: number;
598
1510
  delegatedCompanyId: string;
599
- delegatedUserId: string;
1511
+ delegatedUserId?: string | undefined;
600
1512
  } | undefined;
601
- archivedBy?: string | undefined;
602
- title?: string | undefined;
603
- origin: {
604
- type: import("./definitions").AnalysisReportOriginType;
605
- dashboardPath?: string | undefined;
606
- dashboardTitle?: string | undefined;
607
- };
608
- guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
609
- context: {
610
- dimensions: string[];
611
- filters: {
612
- operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
613
- values: string[];
614
- dimension?: string | undefined;
615
- member?: string | undefined;
616
- }[];
617
- timeDimensions: ({
618
- dimension: string;
619
- granularity?: string | undefined;
620
- compareDateRange: (string | string[])[];
621
- } | {
622
- dimension: string;
623
- granularity?: string | undefined;
624
- dateRange?: string | string[] | undefined;
625
- })[];
626
- };
627
- generationPolicy: {
628
- maxQueries: number;
629
- maxRowsPerQuery: number;
630
- maxBytesPerQuery: number;
631
- maxReportBytes: number;
632
- maxBlocksPerSection: number;
633
- maxAgentTurns: number;
634
- maxDurationMs: number;
635
- };
636
- lastGenerationFailure?: {
1513
+ generationFailures: {
637
1514
  code: string;
638
1515
  message: string;
1516
+ requestedBy: {
1517
+ type: import("./definitions").AnalysisReportActorType;
1518
+ userId?: string | undefined;
1519
+ };
639
1520
  evidence: {
640
1521
  id: string;
641
1522
  operationId?: string | undefined;
@@ -692,8 +1573,79 @@ export default class {
692
1573
  generationId: string;
693
1574
  kind: import("./definitions").AnalysisReportGenerationKind;
694
1575
  question: string;
1576
+ usage?: {
1577
+ durationMs: number;
1578
+ rowCount: number;
1579
+ payloadBytes: number;
1580
+ queryCount: number;
1581
+ agentTurns: number;
1582
+ } | undefined;
695
1583
  retryable: boolean;
696
1584
  failedAt: string;
1585
+ }[];
1586
+ lastGenerationFailure?: {
1587
+ code: string;
1588
+ message: string;
1589
+ requestedBy: {
1590
+ type: import("./definitions").AnalysisReportActorType;
1591
+ userId?: string | undefined;
1592
+ };
1593
+ evidence: {
1594
+ id: string;
1595
+ operationId?: string | undefined;
1596
+ query: {
1597
+ dimensions: string[];
1598
+ filters: {
1599
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1600
+ values: string[];
1601
+ dimension?: string | undefined;
1602
+ member?: string | undefined;
1603
+ }[];
1604
+ timeDimensions: ({
1605
+ dimension: string;
1606
+ granularity?: string | undefined;
1607
+ compareDateRange: (string | string[])[];
1608
+ } | {
1609
+ dimension: string;
1610
+ granularity?: string | undefined;
1611
+ dateRange?: string | string[] | undefined;
1612
+ })[];
1613
+ measures: string[];
1614
+ limit?: number | undefined;
1615
+ order?: {
1616
+ [x: string]: "asc" | "desc";
1617
+ } | string[][] | undefined;
1618
+ };
1619
+ rows: {
1620
+ [x: string]: {
1621
+ value: string | number | boolean;
1622
+ metadata?: {
1623
+ link?: string | undefined;
1624
+ } | undefined;
1625
+ };
1626
+ }[];
1627
+ sources: {
1628
+ service: "statistics";
1629
+ queryLayer: "cube";
1630
+ members: string[];
1631
+ }[];
1632
+ freshness: {
1633
+ capturedAt: string;
1634
+ };
1635
+ state: import("./definitions").AnalysisReportEvidenceState;
1636
+ warning?: string | undefined;
1637
+ failureCode?: string | undefined;
1638
+ failureMessage?: string | undefined;
1639
+ executedAt: string;
1640
+ durationMs: number;
1641
+ rowCount: number;
1642
+ embeddedRowCount: number;
1643
+ payloadBytes: number;
1644
+ resultHash: string;
1645
+ }[];
1646
+ generationId: string;
1647
+ kind: import("./definitions").AnalysisReportGenerationKind;
1648
+ question: string;
697
1649
  usage?: {
698
1650
  durationMs: number;
699
1651
  rowCount: number;
@@ -701,8 +1653,45 @@ export default class {
701
1653
  queryCount: number;
702
1654
  agentTurns: number;
703
1655
  } | undefined;
1656
+ retryable: boolean;
1657
+ failedAt: string;
1658
+ } | undefined;
1659
+ automatic?: {
1660
+ slug: string;
1661
+ cadence: AnalysisReportCadence;
1662
+ period: {
1663
+ key: string;
1664
+ start: string;
1665
+ end: string;
1666
+ timezone: string;
1667
+ comparisonWindows: {
1668
+ previousPeriod: {
1669
+ start: string;
1670
+ end: string;
1671
+ };
1672
+ previousYear?: {
1673
+ start: string;
1674
+ end: string;
1675
+ } | undefined;
1676
+ };
1677
+ };
1678
+ promptSnapshot: {
1679
+ text: string;
1680
+ source: import("./definitions").AnalysisReportPromptSource;
1681
+ templateKey: string;
1682
+ defaultVersion: number;
1683
+ settingsRevision: number;
1684
+ locale: string;
1685
+ };
1686
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
1687
+ settingsId: string;
1688
+ supersedesReportId?: string | undefined;
1689
+ } | undefined;
1690
+ archivedBy?: string | undefined;
1691
+ archivedByActor?: {
1692
+ type: import("./definitions").AnalysisReportActorType;
1693
+ userId?: string | undefined;
704
1694
  } | undefined;
705
- archivedAt?: string | undefined;
706
1695
  sections: {
707
1696
  scope: {
708
1697
  dimensions: string[];
@@ -724,6 +1713,10 @@ export default class {
724
1713
  measures: string[];
725
1714
  };
726
1715
  id: string;
1716
+ requestedBy: {
1717
+ type: import("./definitions").AnalysisReportActorType;
1718
+ userId?: string | undefined;
1719
+ };
727
1720
  generationPolicy: {
728
1721
  maxQueries: number;
729
1722
  maxRowsPerQuery: number;
@@ -847,6 +1840,41 @@ export default class {
847
1840
  runId?: string | undefined;
848
1841
  };
849
1842
  }[];
1843
+ title?: string | undefined;
1844
+ origin: {
1845
+ type: import("./definitions").AnalysisReportOriginType;
1846
+ dashboardPath?: string | undefined;
1847
+ dashboardTitle?: string | undefined;
1848
+ };
1849
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
1850
+ context: {
1851
+ dimensions: string[];
1852
+ filters: {
1853
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1854
+ values: string[];
1855
+ dimension?: string | undefined;
1856
+ member?: string | undefined;
1857
+ }[];
1858
+ timeDimensions: ({
1859
+ dimension: string;
1860
+ granularity?: string | undefined;
1861
+ compareDateRange: (string | string[])[];
1862
+ } | {
1863
+ dimension: string;
1864
+ granularity?: string | undefined;
1865
+ dateRange?: string | string[] | undefined;
1866
+ })[];
1867
+ };
1868
+ generationPolicy: {
1869
+ maxQueries: number;
1870
+ maxRowsPerQuery: number;
1871
+ maxBytesPerQuery: number;
1872
+ maxReportBytes: number;
1873
+ maxBlocksPerSection: number;
1874
+ maxAgentTurns: number;
1875
+ maxDurationMs: number;
1876
+ };
1877
+ archivedAt?: string | undefined;
850
1878
  createdAt?: string | undefined;
851
1879
  updatedAt?: string | undefined;
852
1880
  };
@@ -872,9 +1900,96 @@ export default class {
872
1900
  readonly createdBy: string & {
873
1901
  readonly?: "__readonly" | undefined;
874
1902
  };
1903
+ requestedBy: {
1904
+ type: import("./definitions").AnalysisReportActorType;
1905
+ userId?: string | undefined;
1906
+ };
875
1907
  activeGeneration?: {
876
1908
  status: import("./definitions").AnalysisReportGenerationStatus;
877
1909
  id: string;
1910
+ requestedBy: {
1911
+ type: import("./definitions").AnalysisReportActorType;
1912
+ userId?: string | undefined;
1913
+ };
1914
+ evidence: {
1915
+ id: string;
1916
+ operationId?: string | undefined;
1917
+ query: {
1918
+ dimensions: string[];
1919
+ filters: {
1920
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
1921
+ values: string[];
1922
+ dimension?: string | undefined;
1923
+ member?: string | undefined;
1924
+ }[];
1925
+ timeDimensions: ({
1926
+ dimension: string;
1927
+ granularity?: string | undefined;
1928
+ compareDateRange: (string | string[])[];
1929
+ } | {
1930
+ dimension: string;
1931
+ granularity?: string | undefined;
1932
+ dateRange?: string | string[] | undefined;
1933
+ })[];
1934
+ measures: string[];
1935
+ limit?: number | undefined;
1936
+ order?: {
1937
+ [x: string]: "asc" | "desc";
1938
+ } | string[][] | undefined;
1939
+ };
1940
+ rows: {
1941
+ [x: string]: {
1942
+ value: string | number | boolean;
1943
+ metadata?: {
1944
+ link?: string | undefined;
1945
+ } | undefined;
1946
+ };
1947
+ }[];
1948
+ sources: {
1949
+ service: "statistics";
1950
+ queryLayer: "cube";
1951
+ members: string[];
1952
+ }[];
1953
+ freshness: {
1954
+ capturedAt: string;
1955
+ };
1956
+ state: import("./definitions").AnalysisReportEvidenceState;
1957
+ warning?: string | undefined;
1958
+ failureCode?: string | undefined;
1959
+ failureMessage?: string | undefined;
1960
+ executedAt: string;
1961
+ durationMs: number;
1962
+ rowCount: number;
1963
+ embeddedRowCount: number;
1964
+ payloadBytes: number;
1965
+ resultHash: string;
1966
+ }[];
1967
+ kind: import("./definitions").AnalysisReportGenerationKind;
1968
+ startedAt: string;
1969
+ question: string;
1970
+ usage: {
1971
+ durationMs: number;
1972
+ rowCount: number;
1973
+ payloadBytes: number;
1974
+ queryCount: number;
1975
+ agentTurns: number;
1976
+ };
1977
+ sectionId: string;
1978
+ idempotencyKey: string;
1979
+ intelligenceCaseId?: string | undefined;
1980
+ executionId: string;
1981
+ deadlineAt: string;
1982
+ dispatchAttempts: number;
1983
+ delegatedCompanyId: string;
1984
+ delegatedUserId?: string | undefined;
1985
+ } | undefined;
1986
+ generationFailures: {
1987
+ code: string;
1988
+ message: string;
1989
+ requestedBy: {
1990
+ type: import("./definitions").AnalysisReportActorType;
1991
+ userId?: string | undefined;
1992
+ };
878
1993
  evidence: {
879
1994
  id: string;
880
1995
  operationId?: string | undefined;
@@ -928,63 +2043,26 @@ export default class {
928
2043
  payloadBytes: number;
929
2044
  resultHash: string;
930
2045
  }[];
2046
+ generationId: string;
931
2047
  kind: import("./definitions").AnalysisReportGenerationKind;
932
- startedAt: string;
933
2048
  question: string;
934
- usage: {
2049
+ usage?: {
935
2050
  durationMs: number;
936
2051
  rowCount: number;
937
2052
  payloadBytes: number;
938
2053
  queryCount: number;
939
2054
  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
- };
2055
+ } | undefined;
2056
+ retryable: boolean;
2057
+ failedAt: string;
2058
+ }[];
985
2059
  lastGenerationFailure?: {
986
2060
  code: string;
987
2061
  message: string;
2062
+ requestedBy: {
2063
+ type: import("./definitions").AnalysisReportActorType;
2064
+ userId?: string | undefined;
2065
+ };
988
2066
  evidence: {
989
2067
  id: string;
990
2068
  operationId?: string | undefined;
@@ -1041,8 +2119,6 @@ export default class {
1041
2119
  generationId: string;
1042
2120
  kind: import("./definitions").AnalysisReportGenerationKind;
1043
2121
  question: string;
1044
- retryable: boolean;
1045
- failedAt: string;
1046
2122
  usage?: {
1047
2123
  durationMs: number;
1048
2124
  rowCount: number;
@@ -1050,8 +2126,45 @@ export default class {
1050
2126
  queryCount: number;
1051
2127
  agentTurns: number;
1052
2128
  } | undefined;
2129
+ retryable: boolean;
2130
+ failedAt: string;
2131
+ } | undefined;
2132
+ automatic?: {
2133
+ slug: string;
2134
+ cadence: AnalysisReportCadence;
2135
+ period: {
2136
+ key: string;
2137
+ start: string;
2138
+ end: string;
2139
+ timezone: string;
2140
+ comparisonWindows: {
2141
+ previousPeriod: {
2142
+ start: string;
2143
+ end: string;
2144
+ };
2145
+ previousYear?: {
2146
+ start: string;
2147
+ end: string;
2148
+ } | undefined;
2149
+ };
2150
+ };
2151
+ promptSnapshot: {
2152
+ text: string;
2153
+ source: import("./definitions").AnalysisReportPromptSource;
2154
+ templateKey: string;
2155
+ defaultVersion: number;
2156
+ settingsRevision: number;
2157
+ locale: string;
2158
+ };
2159
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
2160
+ settingsId: string;
2161
+ supersedesReportId?: string | undefined;
2162
+ } | undefined;
2163
+ archivedBy?: string | undefined;
2164
+ archivedByActor?: {
2165
+ type: import("./definitions").AnalysisReportActorType;
2166
+ userId?: string | undefined;
1053
2167
  } | undefined;
1054
- archivedAt?: string | undefined;
1055
2168
  sections: {
1056
2169
  scope: {
1057
2170
  dimensions: string[];
@@ -1073,6 +2186,10 @@ export default class {
1073
2186
  measures: string[];
1074
2187
  };
1075
2188
  id: string;
2189
+ requestedBy: {
2190
+ type: import("./definitions").AnalysisReportActorType;
2191
+ userId?: string | undefined;
2192
+ };
1076
2193
  generationPolicy: {
1077
2194
  maxQueries: number;
1078
2195
  maxRowsPerQuery: number;
@@ -1196,6 +2313,41 @@ export default class {
1196
2313
  runId?: string | undefined;
1197
2314
  };
1198
2315
  }[];
2316
+ title?: string | undefined;
2317
+ origin: {
2318
+ type: import("./definitions").AnalysisReportOriginType;
2319
+ dashboardPath?: string | undefined;
2320
+ dashboardTitle?: string | undefined;
2321
+ };
2322
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
2323
+ context: {
2324
+ dimensions: string[];
2325
+ filters: {
2326
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2327
+ values: string[];
2328
+ dimension?: string | undefined;
2329
+ member?: string | undefined;
2330
+ }[];
2331
+ timeDimensions: ({
2332
+ dimension: string;
2333
+ granularity?: string | undefined;
2334
+ compareDateRange: (string | string[])[];
2335
+ } | {
2336
+ dimension: string;
2337
+ granularity?: string | undefined;
2338
+ dateRange?: string | string[] | undefined;
2339
+ })[];
2340
+ };
2341
+ generationPolicy: {
2342
+ maxQueries: number;
2343
+ maxRowsPerQuery: number;
2344
+ maxBytesPerQuery: number;
2345
+ maxReportBytes: number;
2346
+ maxBlocksPerSection: number;
2347
+ maxAgentTurns: number;
2348
+ maxDurationMs: number;
2349
+ };
2350
+ archivedAt?: string | undefined;
1199
2351
  createdAt?: string | undefined;
1200
2352
  updatedAt?: string | undefined;
1201
2353
  };
@@ -1223,9 +2375,17 @@ export default class {
1223
2375
  readonly createdBy: string & {
1224
2376
  readonly?: "__readonly" | undefined;
1225
2377
  };
2378
+ requestedBy: {
2379
+ type: import("./definitions").AnalysisReportActorType;
2380
+ userId?: string | undefined;
2381
+ };
1226
2382
  activeGeneration?: {
1227
2383
  status: import("./definitions").AnalysisReportGenerationStatus;
1228
2384
  id: string;
2385
+ requestedBy: {
2386
+ type: import("./definitions").AnalysisReportActorType;
2387
+ userId?: string | undefined;
2388
+ };
1229
2389
  evidence: {
1230
2390
  id: string;
1231
2391
  operationId?: string | undefined;
@@ -1296,46 +2456,15 @@ export default class {
1296
2456
  deadlineAt: string;
1297
2457
  dispatchAttempts: number;
1298
2458
  delegatedCompanyId: string;
1299
- delegatedUserId: string;
2459
+ delegatedUserId?: string | undefined;
1300
2460
  } | 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?: {
2461
+ generationFailures: {
1337
2462
  code: string;
1338
2463
  message: string;
2464
+ requestedBy: {
2465
+ type: import("./definitions").AnalysisReportActorType;
2466
+ userId?: string | undefined;
2467
+ };
1339
2468
  evidence: {
1340
2469
  id: string;
1341
2470
  operationId?: string | undefined;
@@ -1392,8 +2521,79 @@ export default class {
1392
2521
  generationId: string;
1393
2522
  kind: import("./definitions").AnalysisReportGenerationKind;
1394
2523
  question: string;
2524
+ usage?: {
2525
+ durationMs: number;
2526
+ rowCount: number;
2527
+ payloadBytes: number;
2528
+ queryCount: number;
2529
+ agentTurns: number;
2530
+ } | undefined;
1395
2531
  retryable: boolean;
1396
2532
  failedAt: string;
2533
+ }[];
2534
+ lastGenerationFailure?: {
2535
+ code: string;
2536
+ message: string;
2537
+ requestedBy: {
2538
+ type: import("./definitions").AnalysisReportActorType;
2539
+ userId?: string | undefined;
2540
+ };
2541
+ evidence: {
2542
+ id: string;
2543
+ operationId?: string | undefined;
2544
+ query: {
2545
+ dimensions: string[];
2546
+ filters: {
2547
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2548
+ values: string[];
2549
+ dimension?: string | undefined;
2550
+ member?: string | undefined;
2551
+ }[];
2552
+ timeDimensions: ({
2553
+ dimension: string;
2554
+ granularity?: string | undefined;
2555
+ compareDateRange: (string | string[])[];
2556
+ } | {
2557
+ dimension: string;
2558
+ granularity?: string | undefined;
2559
+ dateRange?: string | string[] | undefined;
2560
+ })[];
2561
+ measures: string[];
2562
+ limit?: number | undefined;
2563
+ order?: {
2564
+ [x: string]: "asc" | "desc";
2565
+ } | string[][] | undefined;
2566
+ };
2567
+ rows: {
2568
+ [x: string]: {
2569
+ value: string | number | boolean;
2570
+ metadata?: {
2571
+ link?: string | undefined;
2572
+ } | undefined;
2573
+ };
2574
+ }[];
2575
+ sources: {
2576
+ service: "statistics";
2577
+ queryLayer: "cube";
2578
+ members: string[];
2579
+ }[];
2580
+ freshness: {
2581
+ capturedAt: string;
2582
+ };
2583
+ state: import("./definitions").AnalysisReportEvidenceState;
2584
+ warning?: string | undefined;
2585
+ failureCode?: string | undefined;
2586
+ failureMessage?: string | undefined;
2587
+ executedAt: string;
2588
+ durationMs: number;
2589
+ rowCount: number;
2590
+ embeddedRowCount: number;
2591
+ payloadBytes: number;
2592
+ resultHash: string;
2593
+ }[];
2594
+ generationId: string;
2595
+ kind: import("./definitions").AnalysisReportGenerationKind;
2596
+ question: string;
1397
2597
  usage?: {
1398
2598
  durationMs: number;
1399
2599
  rowCount: number;
@@ -1401,8 +2601,45 @@ export default class {
1401
2601
  queryCount: number;
1402
2602
  agentTurns: number;
1403
2603
  } | undefined;
2604
+ retryable: boolean;
2605
+ failedAt: string;
2606
+ } | undefined;
2607
+ automatic?: {
2608
+ slug: string;
2609
+ cadence: AnalysisReportCadence;
2610
+ period: {
2611
+ key: string;
2612
+ start: string;
2613
+ end: string;
2614
+ timezone: string;
2615
+ comparisonWindows: {
2616
+ previousPeriod: {
2617
+ start: string;
2618
+ end: string;
2619
+ };
2620
+ previousYear?: {
2621
+ start: string;
2622
+ end: string;
2623
+ } | undefined;
2624
+ };
2625
+ };
2626
+ promptSnapshot: {
2627
+ text: string;
2628
+ source: import("./definitions").AnalysisReportPromptSource;
2629
+ templateKey: string;
2630
+ defaultVersion: number;
2631
+ settingsRevision: number;
2632
+ locale: string;
2633
+ };
2634
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
2635
+ settingsId: string;
2636
+ supersedesReportId?: string | undefined;
2637
+ } | undefined;
2638
+ archivedBy?: string | undefined;
2639
+ archivedByActor?: {
2640
+ type: import("./definitions").AnalysisReportActorType;
2641
+ userId?: string | undefined;
1404
2642
  } | undefined;
1405
- archivedAt?: string | undefined;
1406
2643
  sections: {
1407
2644
  scope: {
1408
2645
  dimensions: string[];
@@ -1424,6 +2661,10 @@ export default class {
1424
2661
  measures: string[];
1425
2662
  };
1426
2663
  id: string;
2664
+ requestedBy: {
2665
+ type: import("./definitions").AnalysisReportActorType;
2666
+ userId?: string | undefined;
2667
+ };
1427
2668
  generationPolicy: {
1428
2669
  maxQueries: number;
1429
2670
  maxRowsPerQuery: number;
@@ -1547,6 +2788,41 @@ export default class {
1547
2788
  runId?: string | undefined;
1548
2789
  };
1549
2790
  }[];
2791
+ title?: string | undefined;
2792
+ origin: {
2793
+ type: import("./definitions").AnalysisReportOriginType;
2794
+ dashboardPath?: string | undefined;
2795
+ dashboardTitle?: string | undefined;
2796
+ };
2797
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
2798
+ context: {
2799
+ dimensions: string[];
2800
+ filters: {
2801
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
2802
+ values: string[];
2803
+ dimension?: string | undefined;
2804
+ member?: string | undefined;
2805
+ }[];
2806
+ timeDimensions: ({
2807
+ dimension: string;
2808
+ granularity?: string | undefined;
2809
+ compareDateRange: (string | string[])[];
2810
+ } | {
2811
+ dimension: string;
2812
+ granularity?: string | undefined;
2813
+ dateRange?: string | string[] | undefined;
2814
+ })[];
2815
+ };
2816
+ generationPolicy: {
2817
+ maxQueries: number;
2818
+ maxRowsPerQuery: number;
2819
+ maxBytesPerQuery: number;
2820
+ maxReportBytes: number;
2821
+ maxBlocksPerSection: number;
2822
+ maxAgentTurns: number;
2823
+ maxDurationMs: number;
2824
+ };
2825
+ archivedAt?: string | undefined;
1550
2826
  createdAt?: string | undefined;
1551
2827
  updatedAt?: string | undefined;
1552
2828
  };
@@ -1572,9 +2848,17 @@ export default class {
1572
2848
  readonly createdBy: string & {
1573
2849
  readonly?: "__readonly" | undefined;
1574
2850
  };
2851
+ requestedBy: {
2852
+ type: import("./definitions").AnalysisReportActorType;
2853
+ userId?: string | undefined;
2854
+ };
1575
2855
  activeGeneration?: {
1576
2856
  status: import("./definitions").AnalysisReportGenerationStatus;
1577
2857
  id: string;
2858
+ requestedBy: {
2859
+ type: import("./definitions").AnalysisReportActorType;
2860
+ userId?: string | undefined;
2861
+ };
1578
2862
  evidence: {
1579
2863
  id: string;
1580
2864
  operationId?: string | undefined;
@@ -1645,46 +2929,15 @@ export default class {
1645
2929
  deadlineAt: string;
1646
2930
  dispatchAttempts: number;
1647
2931
  delegatedCompanyId: string;
1648
- delegatedUserId: string;
2932
+ delegatedUserId?: string | undefined;
1649
2933
  } | 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?: {
2934
+ generationFailures: {
1686
2935
  code: string;
1687
2936
  message: string;
2937
+ requestedBy: {
2938
+ type: import("./definitions").AnalysisReportActorType;
2939
+ userId?: string | undefined;
2940
+ };
1688
2941
  evidence: {
1689
2942
  id: string;
1690
2943
  operationId?: string | undefined;
@@ -1741,8 +2994,79 @@ export default class {
1741
2994
  generationId: string;
1742
2995
  kind: import("./definitions").AnalysisReportGenerationKind;
1743
2996
  question: string;
2997
+ usage?: {
2998
+ durationMs: number;
2999
+ rowCount: number;
3000
+ payloadBytes: number;
3001
+ queryCount: number;
3002
+ agentTurns: number;
3003
+ } | undefined;
1744
3004
  retryable: boolean;
1745
3005
  failedAt: string;
3006
+ }[];
3007
+ lastGenerationFailure?: {
3008
+ code: string;
3009
+ message: string;
3010
+ requestedBy: {
3011
+ type: import("./definitions").AnalysisReportActorType;
3012
+ userId?: string | undefined;
3013
+ };
3014
+ evidence: {
3015
+ id: string;
3016
+ operationId?: string | undefined;
3017
+ query: {
3018
+ dimensions: string[];
3019
+ filters: {
3020
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3021
+ values: string[];
3022
+ dimension?: string | undefined;
3023
+ member?: string | undefined;
3024
+ }[];
3025
+ timeDimensions: ({
3026
+ dimension: string;
3027
+ granularity?: string | undefined;
3028
+ compareDateRange: (string | string[])[];
3029
+ } | {
3030
+ dimension: string;
3031
+ granularity?: string | undefined;
3032
+ dateRange?: string | string[] | undefined;
3033
+ })[];
3034
+ measures: string[];
3035
+ limit?: number | undefined;
3036
+ order?: {
3037
+ [x: string]: "asc" | "desc";
3038
+ } | string[][] | undefined;
3039
+ };
3040
+ rows: {
3041
+ [x: string]: {
3042
+ value: string | number | boolean;
3043
+ metadata?: {
3044
+ link?: string | undefined;
3045
+ } | undefined;
3046
+ };
3047
+ }[];
3048
+ sources: {
3049
+ service: "statistics";
3050
+ queryLayer: "cube";
3051
+ members: string[];
3052
+ }[];
3053
+ freshness: {
3054
+ capturedAt: string;
3055
+ };
3056
+ state: import("./definitions").AnalysisReportEvidenceState;
3057
+ warning?: string | undefined;
3058
+ failureCode?: string | undefined;
3059
+ failureMessage?: string | undefined;
3060
+ executedAt: string;
3061
+ durationMs: number;
3062
+ rowCount: number;
3063
+ embeddedRowCount: number;
3064
+ payloadBytes: number;
3065
+ resultHash: string;
3066
+ }[];
3067
+ generationId: string;
3068
+ kind: import("./definitions").AnalysisReportGenerationKind;
3069
+ question: string;
1746
3070
  usage?: {
1747
3071
  durationMs: number;
1748
3072
  rowCount: number;
@@ -1750,8 +3074,45 @@ export default class {
1750
3074
  queryCount: number;
1751
3075
  agentTurns: number;
1752
3076
  } | undefined;
3077
+ retryable: boolean;
3078
+ failedAt: string;
3079
+ } | undefined;
3080
+ automatic?: {
3081
+ slug: string;
3082
+ cadence: AnalysisReportCadence;
3083
+ period: {
3084
+ key: string;
3085
+ start: string;
3086
+ end: string;
3087
+ timezone: string;
3088
+ comparisonWindows: {
3089
+ previousPeriod: {
3090
+ start: string;
3091
+ end: string;
3092
+ };
3093
+ previousYear?: {
3094
+ start: string;
3095
+ end: string;
3096
+ } | undefined;
3097
+ };
3098
+ };
3099
+ promptSnapshot: {
3100
+ text: string;
3101
+ source: import("./definitions").AnalysisReportPromptSource;
3102
+ templateKey: string;
3103
+ defaultVersion: number;
3104
+ settingsRevision: number;
3105
+ locale: string;
3106
+ };
3107
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
3108
+ settingsId: string;
3109
+ supersedesReportId?: string | undefined;
3110
+ } | undefined;
3111
+ archivedBy?: string | undefined;
3112
+ archivedByActor?: {
3113
+ type: import("./definitions").AnalysisReportActorType;
3114
+ userId?: string | undefined;
1753
3115
  } | undefined;
1754
- archivedAt?: string | undefined;
1755
3116
  sections: {
1756
3117
  scope: {
1757
3118
  dimensions: string[];
@@ -1773,6 +3134,10 @@ export default class {
1773
3134
  measures: string[];
1774
3135
  };
1775
3136
  id: string;
3137
+ requestedBy: {
3138
+ type: import("./definitions").AnalysisReportActorType;
3139
+ userId?: string | undefined;
3140
+ };
1776
3141
  generationPolicy: {
1777
3142
  maxQueries: number;
1778
3143
  maxRowsPerQuery: number;
@@ -1896,6 +3261,41 @@ export default class {
1896
3261
  runId?: string | undefined;
1897
3262
  };
1898
3263
  }[];
3264
+ title?: string | undefined;
3265
+ origin: {
3266
+ type: import("./definitions").AnalysisReportOriginType;
3267
+ dashboardPath?: string | undefined;
3268
+ dashboardTitle?: string | undefined;
3269
+ };
3270
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
3271
+ context: {
3272
+ dimensions: string[];
3273
+ filters: {
3274
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3275
+ values: string[];
3276
+ dimension?: string | undefined;
3277
+ member?: string | undefined;
3278
+ }[];
3279
+ timeDimensions: ({
3280
+ dimension: string;
3281
+ granularity?: string | undefined;
3282
+ compareDateRange: (string | string[])[];
3283
+ } | {
3284
+ dimension: string;
3285
+ granularity?: string | undefined;
3286
+ dateRange?: string | string[] | undefined;
3287
+ })[];
3288
+ };
3289
+ generationPolicy: {
3290
+ maxQueries: number;
3291
+ maxRowsPerQuery: number;
3292
+ maxBytesPerQuery: number;
3293
+ maxReportBytes: number;
3294
+ maxBlocksPerSection: number;
3295
+ maxAgentTurns: number;
3296
+ maxDurationMs: number;
3297
+ };
3298
+ archivedAt?: string | undefined;
1899
3299
  createdAt?: string | undefined;
1900
3300
  updatedAt?: string | undefined;
1901
3301
  };
@@ -2007,6 +3407,7 @@ export default class {
2007
3407
  status: "completed" | "failed";
2008
3408
  executionId: string;
2009
3409
  title?: string | undefined;
3410
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
2010
3411
  section?: {
2011
3412
  name: string;
2012
3413
  blocks: ({
@@ -2098,9 +3499,17 @@ export default class {
2098
3499
  readonly createdBy: string & {
2099
3500
  readonly?: "__readonly" | undefined;
2100
3501
  };
3502
+ requestedBy: {
3503
+ type: import("./definitions").AnalysisReportActorType;
3504
+ userId?: string | undefined;
3505
+ };
2101
3506
  activeGeneration?: {
2102
3507
  status: import("./definitions").AnalysisReportGenerationStatus;
2103
3508
  id: string;
3509
+ requestedBy: {
3510
+ type: import("./definitions").AnalysisReportActorType;
3511
+ userId?: string | undefined;
3512
+ };
2104
3513
  evidence: {
2105
3514
  id: string;
2106
3515
  operationId?: string | undefined;
@@ -2171,46 +3580,88 @@ export default class {
2171
3580
  deadlineAt: string;
2172
3581
  dispatchAttempts: number;
2173
3582
  delegatedCompanyId: string;
2174
- delegatedUserId: string;
3583
+ delegatedUserId?: string | undefined;
2175
3584
  } | 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;
3585
+ generationFailures: {
3586
+ code: string;
3587
+ message: string;
3588
+ requestedBy: {
3589
+ type: import("./definitions").AnalysisReportActorType;
3590
+ userId?: string | undefined;
3591
+ };
3592
+ evidence: {
3593
+ id: string;
3594
+ operationId?: string | undefined;
3595
+ query: {
3596
+ dimensions: string[];
3597
+ filters: {
3598
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3599
+ values: string[];
3600
+ dimension?: string | undefined;
3601
+ member?: string | undefined;
3602
+ }[];
3603
+ timeDimensions: ({
3604
+ dimension: string;
3605
+ granularity?: string | undefined;
3606
+ compareDateRange: (string | string[])[];
3607
+ } | {
3608
+ dimension: string;
3609
+ granularity?: string | undefined;
3610
+ dateRange?: string | string[] | undefined;
3611
+ })[];
3612
+ measures: string[];
3613
+ limit?: number | undefined;
3614
+ order?: {
3615
+ [x: string]: "asc" | "desc";
3616
+ } | string[][] | undefined;
3617
+ };
3618
+ rows: {
3619
+ [x: string]: {
3620
+ value: string | number | boolean;
3621
+ metadata?: {
3622
+ link?: string | undefined;
3623
+ } | undefined;
3624
+ };
3625
+ }[];
3626
+ sources: {
3627
+ service: "statistics";
3628
+ queryLayer: "cube";
3629
+ members: string[];
3630
+ }[];
3631
+ freshness: {
3632
+ capturedAt: string;
3633
+ };
3634
+ state: import("./definitions").AnalysisReportEvidenceState;
3635
+ warning?: string | undefined;
3636
+ failureCode?: string | undefined;
3637
+ failureMessage?: string | undefined;
3638
+ executedAt: string;
3639
+ durationMs: number;
3640
+ rowCount: number;
3641
+ embeddedRowCount: number;
3642
+ payloadBytes: number;
3643
+ resultHash: string;
2191
3644
  }[];
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
- };
3645
+ generationId: string;
3646
+ kind: import("./definitions").AnalysisReportGenerationKind;
3647
+ question: string;
3648
+ usage?: {
3649
+ durationMs: number;
3650
+ rowCount: number;
3651
+ payloadBytes: number;
3652
+ queryCount: number;
3653
+ agentTurns: number;
3654
+ } | undefined;
3655
+ retryable: boolean;
3656
+ failedAt: string;
3657
+ }[];
2211
3658
  lastGenerationFailure?: {
2212
3659
  code: string;
2213
3660
  message: string;
3661
+ requestedBy: {
3662
+ type: import("./definitions").AnalysisReportActorType;
3663
+ userId?: string | undefined;
3664
+ };
2214
3665
  evidence: {
2215
3666
  id: string;
2216
3667
  operationId?: string | undefined;
@@ -2267,8 +3718,6 @@ export default class {
2267
3718
  generationId: string;
2268
3719
  kind: import("./definitions").AnalysisReportGenerationKind;
2269
3720
  question: string;
2270
- retryable: boolean;
2271
- failedAt: string;
2272
3721
  usage?: {
2273
3722
  durationMs: number;
2274
3723
  rowCount: number;
@@ -2276,8 +3725,45 @@ export default class {
2276
3725
  queryCount: number;
2277
3726
  agentTurns: number;
2278
3727
  } | undefined;
3728
+ retryable: boolean;
3729
+ failedAt: string;
3730
+ } | undefined;
3731
+ automatic?: {
3732
+ slug: string;
3733
+ cadence: AnalysisReportCadence;
3734
+ period: {
3735
+ key: string;
3736
+ start: string;
3737
+ end: string;
3738
+ timezone: string;
3739
+ comparisonWindows: {
3740
+ previousPeriod: {
3741
+ start: string;
3742
+ end: string;
3743
+ };
3744
+ previousYear?: {
3745
+ start: string;
3746
+ end: string;
3747
+ } | undefined;
3748
+ };
3749
+ };
3750
+ promptSnapshot: {
3751
+ text: string;
3752
+ source: import("./definitions").AnalysisReportPromptSource;
3753
+ templateKey: string;
3754
+ defaultVersion: number;
3755
+ settingsRevision: number;
3756
+ locale: string;
3757
+ };
3758
+ publicationQuality?: AnalysisReportPublicationQuality | undefined;
3759
+ settingsId: string;
3760
+ supersedesReportId?: string | undefined;
3761
+ } | undefined;
3762
+ archivedBy?: string | undefined;
3763
+ archivedByActor?: {
3764
+ type: import("./definitions").AnalysisReportActorType;
3765
+ userId?: string | undefined;
2279
3766
  } | undefined;
2280
- archivedAt?: string | undefined;
2281
3767
  sections: {
2282
3768
  scope: {
2283
3769
  dimensions: string[];
@@ -2299,6 +3785,10 @@ export default class {
2299
3785
  measures: string[];
2300
3786
  };
2301
3787
  id: string;
3788
+ requestedBy: {
3789
+ type: import("./definitions").AnalysisReportActorType;
3790
+ userId?: string | undefined;
3791
+ };
2302
3792
  generationPolicy: {
2303
3793
  maxQueries: number;
2304
3794
  maxRowsPerQuery: number;
@@ -2422,6 +3912,41 @@ export default class {
2422
3912
  runId?: string | undefined;
2423
3913
  };
2424
3914
  }[];
3915
+ title?: string | undefined;
3916
+ origin: {
3917
+ type: import("./definitions").AnalysisReportOriginType;
3918
+ dashboardPath?: string | undefined;
3919
+ dashboardTitle?: string | undefined;
3920
+ };
3921
+ guidedAnalysis?: AnalysisReportGuidedAnalysis | undefined;
3922
+ context: {
3923
+ dimensions: string[];
3924
+ filters: {
3925
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
3926
+ values: string[];
3927
+ dimension?: string | undefined;
3928
+ member?: string | undefined;
3929
+ }[];
3930
+ timeDimensions: ({
3931
+ dimension: string;
3932
+ granularity?: string | undefined;
3933
+ compareDateRange: (string | string[])[];
3934
+ } | {
3935
+ dimension: string;
3936
+ granularity?: string | undefined;
3937
+ dateRange?: string | string[] | undefined;
3938
+ })[];
3939
+ };
3940
+ generationPolicy: {
3941
+ maxQueries: number;
3942
+ maxRowsPerQuery: number;
3943
+ maxBytesPerQuery: number;
3944
+ maxReportBytes: number;
3945
+ maxBlocksPerSection: number;
3946
+ maxAgentTurns: number;
3947
+ maxDurationMs: number;
3948
+ };
3949
+ archivedAt?: string | undefined;
2425
3950
  createdAt?: string | undefined;
2426
3951
  updatedAt?: string | undefined;
2427
3952
  };
@@ -2550,8 +4075,8 @@ export default class {
2550
4075
  dataset: import("./definitions").AttributionDataset;
2551
4076
  source?: import("./definitions").AttributionSource | undefined;
2552
4077
  utm?: {
2553
- fields?: import("./definitions").AttributionUtmField[] | undefined;
2554
4078
  period?: number | undefined;
4079
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
2555
4080
  } | undefined;
2556
4081
  conversionChannels?: {
2557
4082
  channel: string;
@@ -2848,6 +4373,319 @@ export default class {
2848
4373
  }, any, {}>>;
2849
4374
  };
2850
4375
  get AnalyticsSettings(): {
4376
+ listAutomaticReportSettings: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4377
+ status: "success";
4378
+ } & {
4379
+ data: {
4380
+ type: import("./definitions").AnalyticsSettingsType;
4381
+ id: string & {
4382
+ readonly?: "__readonly" | undefined;
4383
+ };
4384
+ readonly companyId: string & {
4385
+ readonly?: "__readonly" | undefined;
4386
+ };
4387
+ createdAt: string & {
4388
+ readonly?: "__readonly" | undefined;
4389
+ };
4390
+ updatedAt: string & {
4391
+ readonly?: "__readonly" | undefined;
4392
+ };
4393
+ definition: {
4394
+ title: string;
4395
+ slug: string;
4396
+ cadence: AnalysisReportCadence;
4397
+ timezone: string;
4398
+ locale: string;
4399
+ description?: string | undefined;
4400
+ enabled: boolean;
4401
+ nextRunAt?: string | undefined;
4402
+ prompt: {
4403
+ updatedAt?: string | undefined;
4404
+ source: import("./definitions").AnalysisReportPromptSource;
4405
+ templateKey: string;
4406
+ defaultVersion: number;
4407
+ revision: number;
4408
+ overrideText?: string | undefined;
4409
+ updatedBy?: {
4410
+ type: import("./definitions").AnalysisReportActorType;
4411
+ userId?: string | undefined;
4412
+ } | undefined;
4413
+ };
4414
+ };
4415
+ resourceGroupIds: string[];
4416
+ }[];
4417
+ program: string;
4418
+ version: string;
4419
+ datetime: string;
4420
+ status: string;
4421
+ code?: number | undefined;
4422
+ message: string;
4423
+ }, any, {}>>;
4424
+ createAutomaticReportSettings: (params: Record<string, never>, data: {
4425
+ slug: string;
4426
+ title: string;
4427
+ description?: string | undefined;
4428
+ enabled?: boolean | undefined;
4429
+ cadence: AnalysisReportCadence;
4430
+ timezone?: string | undefined;
4431
+ locale?: string | undefined;
4432
+ prompt?: string | undefined;
4433
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4434
+ status: "success";
4435
+ } & {
4436
+ data: {
4437
+ type: import("./definitions").AnalyticsSettingsType;
4438
+ id: string & {
4439
+ readonly?: "__readonly" | undefined;
4440
+ };
4441
+ readonly companyId: string & {
4442
+ readonly?: "__readonly" | undefined;
4443
+ };
4444
+ createdAt: string & {
4445
+ readonly?: "__readonly" | undefined;
4446
+ };
4447
+ updatedAt: string & {
4448
+ readonly?: "__readonly" | undefined;
4449
+ };
4450
+ definition: {
4451
+ title: string;
4452
+ slug: string;
4453
+ cadence: AnalysisReportCadence;
4454
+ timezone: string;
4455
+ locale: string;
4456
+ description?: string | undefined;
4457
+ enabled: boolean;
4458
+ nextRunAt?: string | undefined;
4459
+ prompt: {
4460
+ updatedAt?: string | undefined;
4461
+ source: import("./definitions").AnalysisReportPromptSource;
4462
+ templateKey: string;
4463
+ defaultVersion: number;
4464
+ revision: number;
4465
+ overrideText?: string | undefined;
4466
+ updatedBy?: {
4467
+ type: import("./definitions").AnalysisReportActorType;
4468
+ userId?: string | undefined;
4469
+ } | undefined;
4470
+ };
4471
+ };
4472
+ resourceGroupIds: string[];
4473
+ };
4474
+ program: string;
4475
+ version: string;
4476
+ datetime: string;
4477
+ status: string;
4478
+ code?: number | undefined;
4479
+ message: string;
4480
+ }, any, {}>>;
4481
+ getAutomaticReportSettings: (params: {
4482
+ slug: string;
4483
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4484
+ status: "success";
4485
+ } & {
4486
+ data: {
4487
+ type: import("./definitions").AnalyticsSettingsType;
4488
+ id: string & {
4489
+ readonly?: "__readonly" | undefined;
4490
+ };
4491
+ readonly companyId: string & {
4492
+ readonly?: "__readonly" | undefined;
4493
+ };
4494
+ createdAt: string & {
4495
+ readonly?: "__readonly" | undefined;
4496
+ };
4497
+ updatedAt: string & {
4498
+ readonly?: "__readonly" | undefined;
4499
+ };
4500
+ definition: {
4501
+ title: string;
4502
+ slug: string;
4503
+ cadence: AnalysisReportCadence;
4504
+ timezone: string;
4505
+ locale: string;
4506
+ description?: string | undefined;
4507
+ enabled: boolean;
4508
+ nextRunAt?: string | undefined;
4509
+ prompt: {
4510
+ updatedAt?: string | undefined;
4511
+ source: import("./definitions").AnalysisReportPromptSource;
4512
+ templateKey: string;
4513
+ defaultVersion: number;
4514
+ revision: number;
4515
+ overrideText?: string | undefined;
4516
+ updatedBy?: {
4517
+ type: import("./definitions").AnalysisReportActorType;
4518
+ userId?: string | undefined;
4519
+ } | undefined;
4520
+ };
4521
+ };
4522
+ resourceGroupIds: string[];
4523
+ };
4524
+ program: string;
4525
+ version: string;
4526
+ datetime: string;
4527
+ status: string;
4528
+ code?: number | undefined;
4529
+ message: string;
4530
+ }, any, {}>>;
4531
+ updateAutomaticReportSettings: (params: {
4532
+ slug: string;
4533
+ }, data: {
4534
+ title?: string | undefined;
4535
+ description?: string | undefined;
4536
+ enabled?: boolean | undefined;
4537
+ cadence?: AnalysisReportCadence | undefined;
4538
+ timezone?: string | undefined;
4539
+ locale?: string | undefined;
4540
+ prompt?: string | null | undefined;
4541
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4542
+ status: "success";
4543
+ } & {
4544
+ data: {
4545
+ type: import("./definitions").AnalyticsSettingsType;
4546
+ id: string & {
4547
+ readonly?: "__readonly" | undefined;
4548
+ };
4549
+ readonly companyId: string & {
4550
+ readonly?: "__readonly" | undefined;
4551
+ };
4552
+ createdAt: string & {
4553
+ readonly?: "__readonly" | undefined;
4554
+ };
4555
+ updatedAt: string & {
4556
+ readonly?: "__readonly" | undefined;
4557
+ };
4558
+ definition: {
4559
+ title: string;
4560
+ slug: string;
4561
+ cadence: AnalysisReportCadence;
4562
+ timezone: string;
4563
+ locale: string;
4564
+ description?: string | undefined;
4565
+ enabled: boolean;
4566
+ nextRunAt?: string | undefined;
4567
+ prompt: {
4568
+ updatedAt?: string | undefined;
4569
+ source: import("./definitions").AnalysisReportPromptSource;
4570
+ templateKey: string;
4571
+ defaultVersion: number;
4572
+ revision: number;
4573
+ overrideText?: string | undefined;
4574
+ updatedBy?: {
4575
+ type: import("./definitions").AnalysisReportActorType;
4576
+ userId?: string | undefined;
4577
+ } | undefined;
4578
+ };
4579
+ };
4580
+ resourceGroupIds: string[];
4581
+ };
4582
+ program: string;
4583
+ version: string;
4584
+ datetime: string;
4585
+ status: string;
4586
+ code?: number | undefined;
4587
+ message: string;
4588
+ }, any, {}>>;
4589
+ disableAutomaticReportSettings: (params: {
4590
+ slug: string;
4591
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4592
+ status: "success";
4593
+ } & {
4594
+ data: {
4595
+ type: import("./definitions").AnalyticsSettingsType;
4596
+ id: string & {
4597
+ readonly?: "__readonly" | undefined;
4598
+ };
4599
+ readonly companyId: string & {
4600
+ readonly?: "__readonly" | undefined;
4601
+ };
4602
+ createdAt: string & {
4603
+ readonly?: "__readonly" | undefined;
4604
+ };
4605
+ updatedAt: string & {
4606
+ readonly?: "__readonly" | undefined;
4607
+ };
4608
+ definition: {
4609
+ title: string;
4610
+ slug: string;
4611
+ cadence: AnalysisReportCadence;
4612
+ timezone: string;
4613
+ locale: string;
4614
+ description?: string | undefined;
4615
+ enabled: boolean;
4616
+ nextRunAt?: string | undefined;
4617
+ prompt: {
4618
+ updatedAt?: string | undefined;
4619
+ source: import("./definitions").AnalysisReportPromptSource;
4620
+ templateKey: string;
4621
+ defaultVersion: number;
4622
+ revision: number;
4623
+ overrideText?: string | undefined;
4624
+ updatedBy?: {
4625
+ type: import("./definitions").AnalysisReportActorType;
4626
+ userId?: string | undefined;
4627
+ } | undefined;
4628
+ };
4629
+ };
4630
+ resourceGroupIds: string[];
4631
+ };
4632
+ program: string;
4633
+ version: string;
4634
+ datetime: string;
4635
+ status: string;
4636
+ code?: number | undefined;
4637
+ message: string;
4638
+ }, any, {}>>;
4639
+ resetAutomaticReportSettingsPrompt: (params: {
4640
+ slug: string;
4641
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
4642
+ status: "success";
4643
+ } & {
4644
+ data: {
4645
+ type: import("./definitions").AnalyticsSettingsType;
4646
+ id: string & {
4647
+ readonly?: "__readonly" | undefined;
4648
+ };
4649
+ readonly companyId: string & {
4650
+ readonly?: "__readonly" | undefined;
4651
+ };
4652
+ createdAt: string & {
4653
+ readonly?: "__readonly" | undefined;
4654
+ };
4655
+ updatedAt: string & {
4656
+ readonly?: "__readonly" | undefined;
4657
+ };
4658
+ definition: {
4659
+ title: string;
4660
+ slug: string;
4661
+ cadence: AnalysisReportCadence;
4662
+ timezone: string;
4663
+ locale: string;
4664
+ description?: string | undefined;
4665
+ enabled: boolean;
4666
+ nextRunAt?: string | undefined;
4667
+ prompt: {
4668
+ updatedAt?: string | undefined;
4669
+ source: import("./definitions").AnalysisReportPromptSource;
4670
+ templateKey: string;
4671
+ defaultVersion: number;
4672
+ revision: number;
4673
+ overrideText?: string | undefined;
4674
+ updatedBy?: {
4675
+ type: import("./definitions").AnalysisReportActorType;
4676
+ userId?: string | undefined;
4677
+ } | undefined;
4678
+ };
4679
+ };
4680
+ resourceGroupIds: string[];
4681
+ };
4682
+ program: string;
4683
+ version: string;
4684
+ datetime: string;
4685
+ status: string;
4686
+ code?: number | undefined;
4687
+ message: string;
4688
+ }, any, {}>>;
2851
4689
  listTagSettings: (params: {
2852
4690
  assignmentMode?: TagAssignmentMode | undefined;
2853
4691
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -3170,8 +5008,8 @@ export default class {
3170
5008
  dataset: import("./definitions").AttributionDataset;
3171
5009
  source?: import("./definitions").AttributionSource | undefined;
3172
5010
  utm?: {
3173
- fields?: import("./definitions").AttributionUtmField[] | undefined;
3174
5011
  period?: number | undefined;
5012
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
3175
5013
  } | undefined;
3176
5014
  conversionChannels?: {
3177
5015
  channel: string;
@@ -3202,8 +5040,8 @@ export default class {
3202
5040
  dataset: import("./definitions").AttributionDataset;
3203
5041
  source?: import("./definitions").AttributionSource | undefined;
3204
5042
  utm?: {
3205
- fields?: import("./definitions").AttributionUtmField[] | undefined;
3206
5043
  period?: number | undefined;
5044
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
3207
5045
  } | undefined;
3208
5046
  conversionChannels?: {
3209
5047
  channel: string;
@@ -3241,8 +5079,8 @@ export default class {
3241
5079
  dataset: import("./definitions").AttributionDataset;
3242
5080
  source?: import("./definitions").AttributionSource | undefined;
3243
5081
  utm?: {
3244
- fields?: import("./definitions").AttributionUtmField[] | undefined;
3245
5082
  period?: number | undefined;
5083
+ fields?: import("./definitions").AttributionUtmField[] | undefined;
3246
5084
  } | undefined;
3247
5085
  conversionChannels?: {
3248
5086
  channel: string;