@lessly/sdk-app 31.0.0 → 31.1.0
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/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-Cn7kIdt-.d.cts → client.gen-3v2tDsvG.d.cts} +771 -1
- package/dist/{client.gen-Cn7kIdt-.d.ts → client.gen-3v2tDsvG.d.ts} +771 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +221 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +221 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.cjs +71 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +56 -0
- package/dist/observe/index.d.ts +56 -0
- package/dist/observe/index.js +57 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +221 -0
- package/src/gen/client.gen.ts +49 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +89 -0
- package/src/gen/types.gen.ts +773 -0
package/src/gen/types.gen.ts
CHANGED
|
@@ -12513,6 +12513,779 @@ description: (string | null)
|
|
|
12513
12513
|
enabled_events: string[]
|
|
12514
12514
|
}
|
|
12515
12515
|
|
|
12516
|
+
export interface ObserveArtifactsDeleteInput {
|
|
12517
|
+
/**
|
|
12518
|
+
* Identifier of the artifact to delete. An artifact of another product is reported as not found
|
|
12519
|
+
*/
|
|
12520
|
+
id: string
|
|
12521
|
+
}
|
|
12522
|
+
|
|
12523
|
+
export interface ObserveArtifactsDeleteOutput {
|
|
12524
|
+
/**
|
|
12525
|
+
* Identifier of the stored artifact
|
|
12526
|
+
*/
|
|
12527
|
+
id: string
|
|
12528
|
+
/**
|
|
12529
|
+
* Whether this is the minified source or its map
|
|
12530
|
+
*/
|
|
12531
|
+
kind: ("source" | "sourcemap")
|
|
12532
|
+
/**
|
|
12533
|
+
* Debug ID the build stamped into the file and its source map
|
|
12534
|
+
*/
|
|
12535
|
+
debugId: string
|
|
12536
|
+
/**
|
|
12537
|
+
* Size of the stored artifact in bytes
|
|
12538
|
+
*/
|
|
12539
|
+
byteSize: number
|
|
12540
|
+
/**
|
|
12541
|
+
* Name the file was uploaded under, e.g. "app.min.js.map"
|
|
12542
|
+
*/
|
|
12543
|
+
fileName: string
|
|
12544
|
+
/**
|
|
12545
|
+
* ISO 8601 timestamp of the upload
|
|
12546
|
+
*/
|
|
12547
|
+
uploadedAt: string
|
|
12548
|
+
}
|
|
12549
|
+
|
|
12550
|
+
export interface ObserveArtifactsListInput {
|
|
12551
|
+
/**
|
|
12552
|
+
* Maximum number of artifacts to return, 1..200 (default 50)
|
|
12553
|
+
*/
|
|
12554
|
+
limit?: number
|
|
12555
|
+
/**
|
|
12556
|
+
* Only return artifacts carrying this debug ID; omit to list all of them
|
|
12557
|
+
*/
|
|
12558
|
+
debugId?: string
|
|
12559
|
+
}
|
|
12560
|
+
|
|
12561
|
+
export type ObserveArtifactsListOutput = {
|
|
12562
|
+
/**
|
|
12563
|
+
* Identifier of the stored artifact
|
|
12564
|
+
*/
|
|
12565
|
+
id: string
|
|
12566
|
+
/**
|
|
12567
|
+
* Whether this is the minified source or its map
|
|
12568
|
+
*/
|
|
12569
|
+
kind: ("source" | "sourcemap")
|
|
12570
|
+
/**
|
|
12571
|
+
* Debug ID the build stamped into the file and its source map
|
|
12572
|
+
*/
|
|
12573
|
+
debugId: string
|
|
12574
|
+
/**
|
|
12575
|
+
* Size of the stored artifact in bytes
|
|
12576
|
+
*/
|
|
12577
|
+
byteSize: number
|
|
12578
|
+
/**
|
|
12579
|
+
* Name the file was uploaded under, e.g. "app.min.js.map"
|
|
12580
|
+
*/
|
|
12581
|
+
fileName: string
|
|
12582
|
+
/**
|
|
12583
|
+
* ISO 8601 timestamp of the upload
|
|
12584
|
+
*/
|
|
12585
|
+
uploadedAt: string
|
|
12586
|
+
}[]
|
|
12587
|
+
|
|
12588
|
+
export interface ObserveArtifactsResolveInput {
|
|
12589
|
+
/**
|
|
12590
|
+
* Issue whose latest event should have its stack resolved. An issue of another product is reported as not found
|
|
12591
|
+
*/
|
|
12592
|
+
issueId: string
|
|
12593
|
+
}
|
|
12594
|
+
|
|
12595
|
+
export interface ObserveArtifactsResolveOutput {
|
|
12596
|
+
/**
|
|
12597
|
+
* The stack, resolved where a source map matched
|
|
12598
|
+
*/
|
|
12599
|
+
frames: {
|
|
12600
|
+
/**
|
|
12601
|
+
* Column number, original when the frame resolved
|
|
12602
|
+
*/
|
|
12603
|
+
colno?: number
|
|
12604
|
+
/**
|
|
12605
|
+
* Whether the frame belongs to the application rather than a dependency
|
|
12606
|
+
*/
|
|
12607
|
+
inApp?: boolean
|
|
12608
|
+
/**
|
|
12609
|
+
* Line number, original when the frame resolved
|
|
12610
|
+
*/
|
|
12611
|
+
lineno?: number
|
|
12612
|
+
/**
|
|
12613
|
+
* Original file when the frame resolved, else the minified one
|
|
12614
|
+
*/
|
|
12615
|
+
filename?: string
|
|
12616
|
+
/**
|
|
12617
|
+
* Function name, original where the source map names one
|
|
12618
|
+
*/
|
|
12619
|
+
function?: string
|
|
12620
|
+
/**
|
|
12621
|
+
* False means no source map matched and the frame is exactly as it was recorded
|
|
12622
|
+
*/
|
|
12623
|
+
resolved: boolean
|
|
12624
|
+
}[]
|
|
12625
|
+
/**
|
|
12626
|
+
* Identifier of the event the stack was taken from
|
|
12627
|
+
*/
|
|
12628
|
+
eventId: string
|
|
12629
|
+
/**
|
|
12630
|
+
* The issue whose stack this is
|
|
12631
|
+
*/
|
|
12632
|
+
issueId: string
|
|
12633
|
+
}
|
|
12634
|
+
|
|
12635
|
+
export interface ObserveIssuesArchiveInput {
|
|
12636
|
+
/**
|
|
12637
|
+
* Identifier of the issue
|
|
12638
|
+
*/
|
|
12639
|
+
id: string
|
|
12640
|
+
}
|
|
12641
|
+
|
|
12642
|
+
export interface ObserveIssuesArchiveOutput {
|
|
12643
|
+
/**
|
|
12644
|
+
* Identifier of the issue
|
|
12645
|
+
*/
|
|
12646
|
+
id: string
|
|
12647
|
+
/**
|
|
12648
|
+
* Display title, set when the issue opened and never rewritten
|
|
12649
|
+
*/
|
|
12650
|
+
title: string
|
|
12651
|
+
/**
|
|
12652
|
+
* unresolved, resolved or archived
|
|
12653
|
+
*/
|
|
12654
|
+
status: string
|
|
12655
|
+
/**
|
|
12656
|
+
* Where the error appears to come from, or null
|
|
12657
|
+
*/
|
|
12658
|
+
culprit: (string | null)
|
|
12659
|
+
/**
|
|
12660
|
+
* Who owns the issue, or null if unassigned
|
|
12661
|
+
*/
|
|
12662
|
+
assignee: (string | null)
|
|
12663
|
+
/**
|
|
12664
|
+
* ISO 8601 timestamp of the most recent event
|
|
12665
|
+
*/
|
|
12666
|
+
lastSeen: string
|
|
12667
|
+
/**
|
|
12668
|
+
* ISO 8601 timestamp of the first event
|
|
12669
|
+
*/
|
|
12670
|
+
firstSeen: string
|
|
12671
|
+
/**
|
|
12672
|
+
* ISO 8601 archive timestamp, or null
|
|
12673
|
+
*/
|
|
12674
|
+
archivedAt: (string | null)
|
|
12675
|
+
/**
|
|
12676
|
+
* How many events have landed on this issue
|
|
12677
|
+
*/
|
|
12678
|
+
eventCount: number
|
|
12679
|
+
/**
|
|
12680
|
+
* ISO 8601 resolution timestamp, or null
|
|
12681
|
+
*/
|
|
12682
|
+
resolvedAt: (string | null)
|
|
12683
|
+
/**
|
|
12684
|
+
* Environment the issue was first seen in, or null
|
|
12685
|
+
*/
|
|
12686
|
+
environment: (string | null)
|
|
12687
|
+
/**
|
|
12688
|
+
* Stable grouping hash the issue is keyed on
|
|
12689
|
+
*/
|
|
12690
|
+
fingerprint: string
|
|
12691
|
+
/**
|
|
12692
|
+
* ISO 8601 timestamp of the last regression, or null if it never regressed
|
|
12693
|
+
*/
|
|
12694
|
+
regressedAt: (string | null)
|
|
12695
|
+
/**
|
|
12696
|
+
* Which rule of the ladder matched: explicit, stack, exception or message
|
|
12697
|
+
*/
|
|
12698
|
+
groupingRule: string
|
|
12699
|
+
/**
|
|
12700
|
+
* Exception class of the first event, or null
|
|
12701
|
+
*/
|
|
12702
|
+
exceptionType: (string | null)
|
|
12703
|
+
/**
|
|
12704
|
+
* Grouping config version that produced the fingerprint; part of the issue identity
|
|
12705
|
+
*/
|
|
12706
|
+
groupingVersion: string
|
|
12707
|
+
}
|
|
12708
|
+
|
|
12709
|
+
export interface ObserveIssuesAssignInput {
|
|
12710
|
+
/**
|
|
12711
|
+
* Identifier of the issue
|
|
12712
|
+
*/
|
|
12713
|
+
id: string
|
|
12714
|
+
/**
|
|
12715
|
+
* Who should own the issue; null clears the assignment
|
|
12716
|
+
*/
|
|
12717
|
+
assignee: (string | null)
|
|
12718
|
+
}
|
|
12719
|
+
|
|
12720
|
+
export interface ObserveIssuesAssignOutput {
|
|
12721
|
+
/**
|
|
12722
|
+
* Identifier of the issue
|
|
12723
|
+
*/
|
|
12724
|
+
id: string
|
|
12725
|
+
/**
|
|
12726
|
+
* Display title, set when the issue opened and never rewritten
|
|
12727
|
+
*/
|
|
12728
|
+
title: string
|
|
12729
|
+
/**
|
|
12730
|
+
* unresolved, resolved or archived
|
|
12731
|
+
*/
|
|
12732
|
+
status: string
|
|
12733
|
+
/**
|
|
12734
|
+
* Where the error appears to come from, or null
|
|
12735
|
+
*/
|
|
12736
|
+
culprit: (string | null)
|
|
12737
|
+
/**
|
|
12738
|
+
* Who owns the issue, or null if unassigned
|
|
12739
|
+
*/
|
|
12740
|
+
assignee: (string | null)
|
|
12741
|
+
/**
|
|
12742
|
+
* ISO 8601 timestamp of the most recent event
|
|
12743
|
+
*/
|
|
12744
|
+
lastSeen: string
|
|
12745
|
+
/**
|
|
12746
|
+
* ISO 8601 timestamp of the first event
|
|
12747
|
+
*/
|
|
12748
|
+
firstSeen: string
|
|
12749
|
+
/**
|
|
12750
|
+
* ISO 8601 archive timestamp, or null
|
|
12751
|
+
*/
|
|
12752
|
+
archivedAt: (string | null)
|
|
12753
|
+
/**
|
|
12754
|
+
* How many events have landed on this issue
|
|
12755
|
+
*/
|
|
12756
|
+
eventCount: number
|
|
12757
|
+
/**
|
|
12758
|
+
* ISO 8601 resolution timestamp, or null
|
|
12759
|
+
*/
|
|
12760
|
+
resolvedAt: (string | null)
|
|
12761
|
+
/**
|
|
12762
|
+
* Environment the issue was first seen in, or null
|
|
12763
|
+
*/
|
|
12764
|
+
environment: (string | null)
|
|
12765
|
+
/**
|
|
12766
|
+
* Stable grouping hash the issue is keyed on
|
|
12767
|
+
*/
|
|
12768
|
+
fingerprint: string
|
|
12769
|
+
/**
|
|
12770
|
+
* ISO 8601 timestamp of the last regression, or null if it never regressed
|
|
12771
|
+
*/
|
|
12772
|
+
regressedAt: (string | null)
|
|
12773
|
+
/**
|
|
12774
|
+
* Which rule of the ladder matched: explicit, stack, exception or message
|
|
12775
|
+
*/
|
|
12776
|
+
groupingRule: string
|
|
12777
|
+
/**
|
|
12778
|
+
* Exception class of the first event, or null
|
|
12779
|
+
*/
|
|
12780
|
+
exceptionType: (string | null)
|
|
12781
|
+
/**
|
|
12782
|
+
* Grouping config version that produced the fingerprint; part of the issue identity
|
|
12783
|
+
*/
|
|
12784
|
+
groupingVersion: string
|
|
12785
|
+
}
|
|
12786
|
+
|
|
12787
|
+
export interface ObserveIssuesGetInput {
|
|
12788
|
+
/**
|
|
12789
|
+
* Identifier of the issue
|
|
12790
|
+
*/
|
|
12791
|
+
id: string
|
|
12792
|
+
}
|
|
12793
|
+
|
|
12794
|
+
export interface ObserveIssuesGetOutput {
|
|
12795
|
+
/**
|
|
12796
|
+
* Identifier of the issue
|
|
12797
|
+
*/
|
|
12798
|
+
id: string
|
|
12799
|
+
/**
|
|
12800
|
+
* Display title, set when the issue opened and never rewritten
|
|
12801
|
+
*/
|
|
12802
|
+
title: string
|
|
12803
|
+
/**
|
|
12804
|
+
* unresolved, resolved or archived
|
|
12805
|
+
*/
|
|
12806
|
+
status: string
|
|
12807
|
+
/**
|
|
12808
|
+
* Where the error appears to come from, or null
|
|
12809
|
+
*/
|
|
12810
|
+
culprit: (string | null)
|
|
12811
|
+
/**
|
|
12812
|
+
* Who owns the issue, or null if unassigned
|
|
12813
|
+
*/
|
|
12814
|
+
assignee: (string | null)
|
|
12815
|
+
/**
|
|
12816
|
+
* ISO 8601 timestamp of the most recent event
|
|
12817
|
+
*/
|
|
12818
|
+
lastSeen: string
|
|
12819
|
+
/**
|
|
12820
|
+
* ISO 8601 timestamp of the first event
|
|
12821
|
+
*/
|
|
12822
|
+
firstSeen: string
|
|
12823
|
+
/**
|
|
12824
|
+
* ISO 8601 archive timestamp, or null
|
|
12825
|
+
*/
|
|
12826
|
+
archivedAt: (string | null)
|
|
12827
|
+
/**
|
|
12828
|
+
* How many events have landed on this issue
|
|
12829
|
+
*/
|
|
12830
|
+
eventCount: number
|
|
12831
|
+
/**
|
|
12832
|
+
* ISO 8601 resolution timestamp, or null
|
|
12833
|
+
*/
|
|
12834
|
+
resolvedAt: (string | null)
|
|
12835
|
+
/**
|
|
12836
|
+
* Environment the issue was first seen in, or null
|
|
12837
|
+
*/
|
|
12838
|
+
environment: (string | null)
|
|
12839
|
+
/**
|
|
12840
|
+
* Stable grouping hash the issue is keyed on
|
|
12841
|
+
*/
|
|
12842
|
+
fingerprint: string
|
|
12843
|
+
/**
|
|
12844
|
+
* ISO 8601 timestamp of the last regression, or null if it never regressed
|
|
12845
|
+
*/
|
|
12846
|
+
regressedAt: (string | null)
|
|
12847
|
+
/**
|
|
12848
|
+
* Which rule of the ladder matched: explicit, stack, exception or message
|
|
12849
|
+
*/
|
|
12850
|
+
groupingRule: string
|
|
12851
|
+
/**
|
|
12852
|
+
* Exception class of the first event, or null
|
|
12853
|
+
*/
|
|
12854
|
+
exceptionType: (string | null)
|
|
12855
|
+
/**
|
|
12856
|
+
* Grouping config version that produced the fingerprint; part of the issue identity
|
|
12857
|
+
*/
|
|
12858
|
+
groupingVersion: string
|
|
12859
|
+
}
|
|
12860
|
+
|
|
12861
|
+
export interface ObserveIssuesListInput {
|
|
12862
|
+
/**
|
|
12863
|
+
* How many issues to return, most recently seen first. 1-200, default 50
|
|
12864
|
+
*/
|
|
12865
|
+
limit?: number
|
|
12866
|
+
/**
|
|
12867
|
+
* Only return issues in this state; omit to list every state
|
|
12868
|
+
*/
|
|
12869
|
+
status?: ("unresolved" | "resolved" | "archived")
|
|
12870
|
+
/**
|
|
12871
|
+
* Only return issues owned by this assignee
|
|
12872
|
+
*/
|
|
12873
|
+
assignee?: string
|
|
12874
|
+
}
|
|
12875
|
+
|
|
12876
|
+
export type ObserveIssuesListOutput = {
|
|
12877
|
+
/**
|
|
12878
|
+
* Identifier of the issue
|
|
12879
|
+
*/
|
|
12880
|
+
id: string
|
|
12881
|
+
/**
|
|
12882
|
+
* Display title, set when the issue opened and never rewritten
|
|
12883
|
+
*/
|
|
12884
|
+
title: string
|
|
12885
|
+
/**
|
|
12886
|
+
* unresolved, resolved or archived
|
|
12887
|
+
*/
|
|
12888
|
+
status: string
|
|
12889
|
+
/**
|
|
12890
|
+
* Where the error appears to come from, or null
|
|
12891
|
+
*/
|
|
12892
|
+
culprit: (string | null)
|
|
12893
|
+
/**
|
|
12894
|
+
* Who owns the issue, or null if unassigned
|
|
12895
|
+
*/
|
|
12896
|
+
assignee: (string | null)
|
|
12897
|
+
/**
|
|
12898
|
+
* ISO 8601 timestamp of the most recent event
|
|
12899
|
+
*/
|
|
12900
|
+
lastSeen: string
|
|
12901
|
+
/**
|
|
12902
|
+
* ISO 8601 timestamp of the first event
|
|
12903
|
+
*/
|
|
12904
|
+
firstSeen: string
|
|
12905
|
+
/**
|
|
12906
|
+
* ISO 8601 archive timestamp, or null
|
|
12907
|
+
*/
|
|
12908
|
+
archivedAt: (string | null)
|
|
12909
|
+
/**
|
|
12910
|
+
* How many events have landed on this issue
|
|
12911
|
+
*/
|
|
12912
|
+
eventCount: number
|
|
12913
|
+
/**
|
|
12914
|
+
* ISO 8601 resolution timestamp, or null
|
|
12915
|
+
*/
|
|
12916
|
+
resolvedAt: (string | null)
|
|
12917
|
+
/**
|
|
12918
|
+
* Environment the issue was first seen in, or null
|
|
12919
|
+
*/
|
|
12920
|
+
environment: (string | null)
|
|
12921
|
+
/**
|
|
12922
|
+
* Stable grouping hash the issue is keyed on
|
|
12923
|
+
*/
|
|
12924
|
+
fingerprint: string
|
|
12925
|
+
/**
|
|
12926
|
+
* ISO 8601 timestamp of the last regression, or null if it never regressed
|
|
12927
|
+
*/
|
|
12928
|
+
regressedAt: (string | null)
|
|
12929
|
+
/**
|
|
12930
|
+
* Which rule of the ladder matched: explicit, stack, exception or message
|
|
12931
|
+
*/
|
|
12932
|
+
groupingRule: string
|
|
12933
|
+
/**
|
|
12934
|
+
* Exception class of the first event, or null
|
|
12935
|
+
*/
|
|
12936
|
+
exceptionType: (string | null)
|
|
12937
|
+
/**
|
|
12938
|
+
* Grouping config version that produced the fingerprint; part of the issue identity
|
|
12939
|
+
*/
|
|
12940
|
+
groupingVersion: string
|
|
12941
|
+
}[]
|
|
12942
|
+
|
|
12943
|
+
export interface ObserveIssuesResolveInput {
|
|
12944
|
+
/**
|
|
12945
|
+
* Identifier of the issue
|
|
12946
|
+
*/
|
|
12947
|
+
id: string
|
|
12948
|
+
}
|
|
12949
|
+
|
|
12950
|
+
export interface ObserveIssuesResolveOutput {
|
|
12951
|
+
/**
|
|
12952
|
+
* Identifier of the issue
|
|
12953
|
+
*/
|
|
12954
|
+
id: string
|
|
12955
|
+
/**
|
|
12956
|
+
* Display title, set when the issue opened and never rewritten
|
|
12957
|
+
*/
|
|
12958
|
+
title: string
|
|
12959
|
+
/**
|
|
12960
|
+
* unresolved, resolved or archived
|
|
12961
|
+
*/
|
|
12962
|
+
status: string
|
|
12963
|
+
/**
|
|
12964
|
+
* Where the error appears to come from, or null
|
|
12965
|
+
*/
|
|
12966
|
+
culprit: (string | null)
|
|
12967
|
+
/**
|
|
12968
|
+
* Who owns the issue, or null if unassigned
|
|
12969
|
+
*/
|
|
12970
|
+
assignee: (string | null)
|
|
12971
|
+
/**
|
|
12972
|
+
* ISO 8601 timestamp of the most recent event
|
|
12973
|
+
*/
|
|
12974
|
+
lastSeen: string
|
|
12975
|
+
/**
|
|
12976
|
+
* ISO 8601 timestamp of the first event
|
|
12977
|
+
*/
|
|
12978
|
+
firstSeen: string
|
|
12979
|
+
/**
|
|
12980
|
+
* ISO 8601 archive timestamp, or null
|
|
12981
|
+
*/
|
|
12982
|
+
archivedAt: (string | null)
|
|
12983
|
+
/**
|
|
12984
|
+
* How many events have landed on this issue
|
|
12985
|
+
*/
|
|
12986
|
+
eventCount: number
|
|
12987
|
+
/**
|
|
12988
|
+
* ISO 8601 resolution timestamp, or null
|
|
12989
|
+
*/
|
|
12990
|
+
resolvedAt: (string | null)
|
|
12991
|
+
/**
|
|
12992
|
+
* Environment the issue was first seen in, or null
|
|
12993
|
+
*/
|
|
12994
|
+
environment: (string | null)
|
|
12995
|
+
/**
|
|
12996
|
+
* Stable grouping hash the issue is keyed on
|
|
12997
|
+
*/
|
|
12998
|
+
fingerprint: string
|
|
12999
|
+
/**
|
|
13000
|
+
* ISO 8601 timestamp of the last regression, or null if it never regressed
|
|
13001
|
+
*/
|
|
13002
|
+
regressedAt: (string | null)
|
|
13003
|
+
/**
|
|
13004
|
+
* Which rule of the ladder matched: explicit, stack, exception or message
|
|
13005
|
+
*/
|
|
13006
|
+
groupingRule: string
|
|
13007
|
+
/**
|
|
13008
|
+
* Exception class of the first event, or null
|
|
13009
|
+
*/
|
|
13010
|
+
exceptionType: (string | null)
|
|
13011
|
+
/**
|
|
13012
|
+
* Grouping config version that produced the fingerprint; part of the issue identity
|
|
13013
|
+
*/
|
|
13014
|
+
groupingVersion: string
|
|
13015
|
+
}
|
|
13016
|
+
|
|
13017
|
+
export interface ObserveKeysCreateInput {
|
|
13018
|
+
/**
|
|
13019
|
+
* ingest (default) issues a Bearer OTLP token; dsn issues a public Sentry key returned as a full DSN
|
|
13020
|
+
*/
|
|
13021
|
+
kind?: ("ingest" | "dsn")
|
|
13022
|
+
/**
|
|
13023
|
+
* Optional human label for the key, e.g. "ci" or "backend pods"
|
|
13024
|
+
*/
|
|
13025
|
+
name?: string
|
|
13026
|
+
/**
|
|
13027
|
+
* Environment this key sends telemetry for, e.g. "staging" or "production"
|
|
13028
|
+
*/
|
|
13029
|
+
environment: string
|
|
13030
|
+
}
|
|
13031
|
+
|
|
13032
|
+
export interface ObserveKeysCreateOutput {
|
|
13033
|
+
/**
|
|
13034
|
+
* Identifier of the ingest key
|
|
13035
|
+
*/
|
|
13036
|
+
id: string
|
|
13037
|
+
/**
|
|
13038
|
+
* The full DSN, for kind "dsn" — shown only here, store it now
|
|
13039
|
+
*/
|
|
13040
|
+
dsn?: string
|
|
13041
|
+
/**
|
|
13042
|
+
* ingest = Bearer OTLP key; dsn = public Sentry key that ships in client code
|
|
13043
|
+
*/
|
|
13044
|
+
kind: ("ingest" | "dsn")
|
|
13045
|
+
/**
|
|
13046
|
+
* Human label given at creation, or null
|
|
13047
|
+
*/
|
|
13048
|
+
name: (string | null)
|
|
13049
|
+
/**
|
|
13050
|
+
* The full ingest token, for kind "ingest" — shown only here, store it now
|
|
13051
|
+
*/
|
|
13052
|
+
token?: string
|
|
13053
|
+
/**
|
|
13054
|
+
* First characters of the token, shown for recognition
|
|
13055
|
+
*/
|
|
13056
|
+
prefix: string
|
|
13057
|
+
/**
|
|
13058
|
+
* ISO 8601 creation timestamp
|
|
13059
|
+
*/
|
|
13060
|
+
createdAt: string
|
|
13061
|
+
/**
|
|
13062
|
+
* ISO 8601 revocation timestamp, or null if active
|
|
13063
|
+
*/
|
|
13064
|
+
revokedAt: (string | null)
|
|
13065
|
+
/**
|
|
13066
|
+
* Environment the key writes telemetry for
|
|
13067
|
+
*/
|
|
13068
|
+
environment: string
|
|
13069
|
+
}
|
|
13070
|
+
|
|
13071
|
+
export interface ObserveKeysListInput {
|
|
13072
|
+
/**
|
|
13073
|
+
* Only return keys of this environment; omit to list all of them
|
|
13074
|
+
*/
|
|
13075
|
+
environment?: string
|
|
13076
|
+
}
|
|
13077
|
+
|
|
13078
|
+
export type ObserveKeysListOutput = {
|
|
13079
|
+
/**
|
|
13080
|
+
* Identifier of the ingest key
|
|
13081
|
+
*/
|
|
13082
|
+
id: string
|
|
13083
|
+
/**
|
|
13084
|
+
* ingest = Bearer OTLP key; dsn = public Sentry key that ships in client code
|
|
13085
|
+
*/
|
|
13086
|
+
kind: ("ingest" | "dsn")
|
|
13087
|
+
/**
|
|
13088
|
+
* Human label given at creation, or null
|
|
13089
|
+
*/
|
|
13090
|
+
name: (string | null)
|
|
13091
|
+
/**
|
|
13092
|
+
* First characters of the token, shown for recognition
|
|
13093
|
+
*/
|
|
13094
|
+
prefix: string
|
|
13095
|
+
/**
|
|
13096
|
+
* ISO 8601 creation timestamp
|
|
13097
|
+
*/
|
|
13098
|
+
createdAt: string
|
|
13099
|
+
/**
|
|
13100
|
+
* ISO 8601 revocation timestamp, or null if active
|
|
13101
|
+
*/
|
|
13102
|
+
revokedAt: (string | null)
|
|
13103
|
+
/**
|
|
13104
|
+
* Environment the key writes telemetry for
|
|
13105
|
+
*/
|
|
13106
|
+
environment: string
|
|
13107
|
+
}[]
|
|
13108
|
+
|
|
13109
|
+
export interface ObserveKeysRevokeInput {
|
|
13110
|
+
/**
|
|
13111
|
+
* Identifier of the ingest key to revoke
|
|
13112
|
+
*/
|
|
13113
|
+
id: string
|
|
13114
|
+
}
|
|
13115
|
+
|
|
13116
|
+
export interface ObserveKeysRevokeOutput {
|
|
13117
|
+
/**
|
|
13118
|
+
* Identifier of the revoked key
|
|
13119
|
+
*/
|
|
13120
|
+
id: string
|
|
13121
|
+
/**
|
|
13122
|
+
* ISO 8601 timestamp of the revocation
|
|
13123
|
+
*/
|
|
13124
|
+
revokedAt: string
|
|
13125
|
+
}
|
|
13126
|
+
|
|
13127
|
+
export interface ObserveLogsSearchInput {
|
|
13128
|
+
/**
|
|
13129
|
+
* Newest timestamp to include, ISO 8601
|
|
13130
|
+
*/
|
|
13131
|
+
to?: string
|
|
13132
|
+
/**
|
|
13133
|
+
* Oldest timestamp to include, ISO 8601
|
|
13134
|
+
*/
|
|
13135
|
+
from?: string
|
|
13136
|
+
/**
|
|
13137
|
+
* How many lines to return, 1-1000, default 100
|
|
13138
|
+
*/
|
|
13139
|
+
limit?: number
|
|
13140
|
+
/**
|
|
13141
|
+
* The nextCursor of the previous page; omit for the first page
|
|
13142
|
+
*/
|
|
13143
|
+
cursor?: string
|
|
13144
|
+
/**
|
|
13145
|
+
* Match the message body. A single word matches whole words and is indexed; anything longer is a case-insensitive substring match
|
|
13146
|
+
*/
|
|
13147
|
+
search?: string
|
|
13148
|
+
/**
|
|
13149
|
+
* Only lines of this service, e.g. "api"
|
|
13150
|
+
*/
|
|
13151
|
+
service?: string
|
|
13152
|
+
/**
|
|
13153
|
+
* Only lines of this trace
|
|
13154
|
+
*/
|
|
13155
|
+
traceId?: string
|
|
13156
|
+
/**
|
|
13157
|
+
* Only lines whose severity is one of these, e.g. ["ERROR", "FATAL"]
|
|
13158
|
+
*
|
|
13159
|
+
* @minItems 1
|
|
13160
|
+
*/
|
|
13161
|
+
severityIn?: [string, ...(string)[]]
|
|
13162
|
+
/**
|
|
13163
|
+
* Only lines of this environment, e.g. "production"
|
|
13164
|
+
*/
|
|
13165
|
+
environment?: string
|
|
13166
|
+
}
|
|
13167
|
+
|
|
13168
|
+
export interface ObserveLogsSearchOutput {
|
|
13169
|
+
/**
|
|
13170
|
+
* The matching log lines, newest first
|
|
13171
|
+
*/
|
|
13172
|
+
rows: {
|
|
13173
|
+
/**
|
|
13174
|
+
* The log message itself
|
|
13175
|
+
*/
|
|
13176
|
+
body: string
|
|
13177
|
+
/**
|
|
13178
|
+
* Span this line belongs to, empty when untraced
|
|
13179
|
+
*/
|
|
13180
|
+
spanId: string
|
|
13181
|
+
/**
|
|
13182
|
+
* Service that wrote the line
|
|
13183
|
+
*/
|
|
13184
|
+
service: string
|
|
13185
|
+
/**
|
|
13186
|
+
* Trace this line belongs to, empty when untraced
|
|
13187
|
+
*/
|
|
13188
|
+
traceId: string
|
|
13189
|
+
/**
|
|
13190
|
+
* ISO 8601 timestamp of the log line, millisecond precision
|
|
13191
|
+
*/
|
|
13192
|
+
timestamp: string
|
|
13193
|
+
/**
|
|
13194
|
+
* Attributes the emitter attached
|
|
13195
|
+
*/
|
|
13196
|
+
attributes: {
|
|
13197
|
+
[k: string]: string
|
|
13198
|
+
}
|
|
13199
|
+
/**
|
|
13200
|
+
* Environment the line was written in
|
|
13201
|
+
*/
|
|
13202
|
+
environment: string
|
|
13203
|
+
/**
|
|
13204
|
+
* Severity as the emitter named it, e.g. "ERROR"
|
|
13205
|
+
*/
|
|
13206
|
+
severityText: string
|
|
13207
|
+
/**
|
|
13208
|
+
* OpenTelemetry severity number, 1-24
|
|
13209
|
+
*/
|
|
13210
|
+
severityNumber: number
|
|
13211
|
+
}[]
|
|
13212
|
+
/**
|
|
13213
|
+
* Pass back as cursor for the next page; null when the last page was reached
|
|
13214
|
+
*/
|
|
13215
|
+
nextCursor: (string | null)
|
|
13216
|
+
}
|
|
13217
|
+
|
|
13218
|
+
export interface ObserveLogsTailInput {
|
|
13219
|
+
/**
|
|
13220
|
+
* The nextCursor of the previous poll; omit to start at the newest lines
|
|
13221
|
+
*/
|
|
13222
|
+
cursor?: string
|
|
13223
|
+
/**
|
|
13224
|
+
* Only lines of this service
|
|
13225
|
+
*/
|
|
13226
|
+
service?: string
|
|
13227
|
+
/**
|
|
13228
|
+
* Only lines whose severity is one of these
|
|
13229
|
+
*
|
|
13230
|
+
* @minItems 1
|
|
13231
|
+
*/
|
|
13232
|
+
severityIn?: [string, ...(string)[]]
|
|
13233
|
+
/**
|
|
13234
|
+
* Only lines of this environment
|
|
13235
|
+
*/
|
|
13236
|
+
environment?: string
|
|
13237
|
+
}
|
|
13238
|
+
|
|
13239
|
+
export interface ObserveLogsTailOutput {
|
|
13240
|
+
/**
|
|
13241
|
+
* The new log lines, oldest first
|
|
13242
|
+
*/
|
|
13243
|
+
rows: {
|
|
13244
|
+
/**
|
|
13245
|
+
* The log message itself
|
|
13246
|
+
*/
|
|
13247
|
+
body: string
|
|
13248
|
+
/**
|
|
13249
|
+
* Span this line belongs to, empty when untraced
|
|
13250
|
+
*/
|
|
13251
|
+
spanId: string
|
|
13252
|
+
/**
|
|
13253
|
+
* Service that wrote the line
|
|
13254
|
+
*/
|
|
13255
|
+
service: string
|
|
13256
|
+
/**
|
|
13257
|
+
* Trace this line belongs to, empty when untraced
|
|
13258
|
+
*/
|
|
13259
|
+
traceId: string
|
|
13260
|
+
/**
|
|
13261
|
+
* ISO 8601 timestamp of the log line, millisecond precision
|
|
13262
|
+
*/
|
|
13263
|
+
timestamp: string
|
|
13264
|
+
/**
|
|
13265
|
+
* Attributes the emitter attached
|
|
13266
|
+
*/
|
|
13267
|
+
attributes: {
|
|
13268
|
+
[k: string]: string
|
|
13269
|
+
}
|
|
13270
|
+
/**
|
|
13271
|
+
* Environment the line was written in
|
|
13272
|
+
*/
|
|
13273
|
+
environment: string
|
|
13274
|
+
/**
|
|
13275
|
+
* Severity as the emitter named it, e.g. "ERROR"
|
|
13276
|
+
*/
|
|
13277
|
+
severityText: string
|
|
13278
|
+
/**
|
|
13279
|
+
* OpenTelemetry severity number, 1-24
|
|
13280
|
+
*/
|
|
13281
|
+
severityNumber: number
|
|
13282
|
+
}[]
|
|
13283
|
+
/**
|
|
13284
|
+
* Pass back as cursor on the next poll; null only while the product has no logs
|
|
13285
|
+
*/
|
|
13286
|
+
nextCursor: (string | null)
|
|
13287
|
+
}
|
|
13288
|
+
|
|
12516
13289
|
export interface OrganizationAuthMeInput {
|
|
12517
13290
|
|
|
12518
13291
|
}
|