@lessly/sdk-app 30.7.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.
Files changed (63) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-p_iZK5OO.d.cts → client.gen-3v2tDsvG.d.cts} +1197 -204
  10. package/dist/{client.gen-p_iZK5OO.d.ts → client.gen-3v2tDsvG.d.ts} +1197 -204
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +390 -13
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +390 -13
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/observe/index.cjs +71 -0
  24. package/dist/observe/index.cjs.map +1 -0
  25. package/dist/observe/index.d.cts +56 -0
  26. package/dist/observe/index.d.ts +56 -0
  27. package/dist/observe/index.js +57 -0
  28. package/dist/observe/index.js.map +1 -0
  29. package/dist/organization/index.cjs +25 -0
  30. package/dist/organization/index.cjs.map +1 -1
  31. package/dist/organization/index.d.cts +22 -2
  32. package/dist/organization/index.d.ts +22 -2
  33. package/dist/organization/index.js +21 -1
  34. package/dist/organization/index.js.map +1 -1
  35. package/dist/playground/index.cjs +66 -0
  36. package/dist/playground/index.cjs.map +1 -0
  37. package/dist/playground/index.d.cts +52 -0
  38. package/dist/playground/index.d.ts +52 -0
  39. package/dist/playground/index.js +53 -0
  40. package/dist/playground/index.js.map +1 -0
  41. package/dist/realtime/index.d.cts +1 -1
  42. package/dist/realtime/index.d.ts +1 -1
  43. package/dist/support/index.d.cts +1 -1
  44. package/dist/support/index.d.ts +1 -1
  45. package/dist/tracking/index.d.cts +1 -1
  46. package/dist/tracking/index.d.ts +1 -1
  47. package/dist/users/index.d.cts +1 -1
  48. package/dist/users/index.d.ts +1 -1
  49. package/dist/waitlist/index.d.cts +1 -1
  50. package/dist/waitlist/index.d.ts +1 -1
  51. package/package.json +12 -2
  52. package/src/gen/bindings.gen.ts +390 -13
  53. package/src/gen/brain/index.ts +1 -1
  54. package/src/gen/brain/queryOptions.gen.ts +0 -7
  55. package/src/gen/client.gen.ts +120 -5
  56. package/src/gen/manifest.gen.ts +1 -1
  57. package/src/gen/observe/index.ts +3 -0
  58. package/src/gen/observe/queryOptions.gen.ts +89 -0
  59. package/src/gen/organization/index.ts +1 -1
  60. package/src/gen/organization/queryOptions.gen.ts +32 -0
  61. package/src/gen/playground/index.ts +3 -0
  62. package/src/gen/playground/queryOptions.gen.ts +86 -0
  63. package/src/gen/types.gen.ts +1198 -195
@@ -1028,98 +1028,6 @@ snapshotId: string
1028
1028
  preRestoreSnapshotId: (string | null)
1029
1029
  } | null)
1030
1030
 
1031
- export interface BrainUsageReportInput {
1032
- /**
1033
- * How many UTC days of this product's ledger to return, ending today (default 30, max 90)
1034
- */
1035
- days?: number
1036
- }
1037
-
1038
- export interface BrainUsageReportOutput {
1039
- note: string
1040
- /**
1041
- * Brain's own ledger, for THIS product only
1042
- */
1043
- product: {
1044
- /**
1045
- * Inclusive UTC end of the window (today), YYYY-MM-DD
1046
- */
1047
- to: string
1048
- /**
1049
- * The window actually used, after clamping
1050
- */
1051
- days: number
1052
- /**
1053
- * Inclusive UTC start of the window, YYYY-MM-DD
1054
- */
1055
- from: string
1056
- rows: {
1057
- /**
1058
- * 'sync' | 'batch'; '' when the push carried none
1059
- */
1060
- mode: string
1061
- /**
1062
- * Manifest meter slug, e.g. llm-tokens
1063
- */
1064
- meter: string
1065
- /**
1066
- * Model dimension; '' when the push carried none
1067
- */
1068
- model: string
1069
- /**
1070
- * How many record() calls landed in this slice
1071
- */
1072
- events: number
1073
- /**
1074
- * Tokens we metered for this slice, delivered or not
1075
- */
1076
- tokens: number
1077
- /**
1078
- * Purpose dimension; '' when the push carried none
1079
- */
1080
- purpose: string
1081
- /**
1082
- * UTC calendar day, YYYY-MM-DD
1083
- */
1084
- usage_date: string
1085
- /**
1086
- * Of those events, how many billing did not accept
1087
- */
1088
- delivery_failed: number
1089
- }[]
1090
- /**
1091
- * The rows rolled up per meter across the whole window
1092
- */
1093
- totals: {
1094
- meter: string
1095
- events: number
1096
- tokens: number
1097
- delivery_failed: number
1098
- }[]
1099
- product_id: string
1100
- }
1101
- /**
1102
- * The platform billing aggregate for the whole ORG; null if it could not be read
1103
- */
1104
- platform: ({
1105
- plan: string
1106
- scope: "org"
1107
- meters: {
1108
- unit?: string
1109
- used?: number
1110
- limit?: (number | null)
1111
- remaining?: (number | null)
1112
- unlimited?: boolean
1113
- meter_slug: string
1114
- }[]
1115
- org_id: string
1116
- } | null)
1117
- /**
1118
- * Why the platform aggregate is null; null when it was read successfully
1119
- */
1120
- platform_error: (string | null)
1121
- }
1122
-
1123
1031
  export interface ConsentConfigCookieDomainUpsertInput {
1124
1032
  cookieDomain: ("" | null | string)
1125
1033
  }
@@ -12605,129 +12513,902 @@ description: (string | null)
12605
12513
  enabled_events: string[]
12606
12514
  }
12607
12515
 
12608
- export interface OrganizationAuthMeInput {
12609
-
12610
- }
12611
-
12612
- export interface OrganizationAuthMeOutput {
12613
- email: string
12614
- identityId: string
12615
- displayName: string
12616
- identityType: string
12617
- }
12618
-
12619
- export interface OrganizationBillingBudgetsGetInput {
12620
-
12621
- }
12622
-
12623
- export interface OrganizationBillingBudgetsGetOutput {
12624
- [k: string]: unknown
12625
- }
12626
-
12627
- export interface OrganizationBillingBudgetsSetInput {
12628
- ceiling_minor: number
12629
- }
12630
-
12631
- export interface OrganizationBillingBudgetsSetOutput {
12632
- [k: string]: unknown
12633
- }
12634
-
12635
- export interface OrganizationBillingCapsClearInput {
12636
- productId: string
12637
- }
12638
-
12639
- export interface OrganizationBillingCapsClearOutput {
12640
- [k: string]: unknown
12641
- }
12642
-
12643
- export interface OrganizationBillingCapsSetInput {
12644
- cap_minor: number
12645
- productId: string
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
12646
12521
  }
12647
12522
 
12648
- export interface OrganizationBillingCapsSetOutput {
12649
- [k: string]: unknown
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
12650
12548
  }
12651
12549
 
12652
- export interface OrganizationBindingsListInput {
12653
- domainId: string
12654
- productId: string
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
12655
12559
  }
12656
12560
 
12657
- export type OrganizationBindingsListOutput = {
12658
- host: string
12659
- status: ("pending" | "active" | "failed")
12660
- records: {
12661
- ttl?: number
12662
- name?: string
12663
- target: string
12664
- proxied?: boolean
12665
- priority?: number
12666
- recordType: string
12667
- }[]
12668
- domainId: string
12669
- bindingId: string
12670
- instruction: (string | null)
12671
- statusDetail: (string | null)
12672
- ownerExtension: string
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
12673
12586
  }[]
12674
12587
 
12675
- export interface OrganizationClickupInstallInput {
12676
-
12677
- }
12678
-
12679
- export interface OrganizationClickupInstallOutput {
12680
- url: string
12681
- }
12682
-
12683
- export interface OrganizationClickupListInstallationsInput {
12684
-
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
12685
12593
  }
12686
12594
 
12687
- export type OrganizationClickupListInstallationsOutput = {
12688
- status: string
12689
- teamId: string
12690
- teamName: string
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
12691
12624
  }[]
12692
-
12693
- export interface OrganizationCloudflareInstallInput {
12694
-
12695
- }
12696
-
12697
- export interface OrganizationCloudflareInstallOutput {
12698
- url: string
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
12699
12633
  }
12700
12634
 
12701
- export interface OrganizationConnectorsApproveRequestInput {
12635
+ export interface ObserveIssuesArchiveInput {
12636
+ /**
12637
+ * Identifier of the issue
12638
+ */
12702
12639
  id: string
12703
- requestId: string
12704
- }
12705
-
12706
- export interface OrganizationConnectorsApproveRequestOutput {
12707
- success: boolean
12708
12640
  }
12709
12641
 
12710
- export interface OrganizationConnectorsAttachInput {
12642
+ export interface ObserveIssuesArchiveOutput {
12643
+ /**
12644
+ * Identifier of the issue
12645
+ */
12711
12646
  id: string
12712
- productIds: string[]
12713
- }
12714
-
12715
- export interface OrganizationConnectorsAttachOutput {
12716
- attachments: {
12717
- createdAt: string
12718
- createdBy: (string | null)
12719
- productId: string
12720
- customerId: (string | null)
12721
- descriptiveName: (string | null)
12722
- }[]
12723
- connectorId: 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
12724
12707
  }
12725
12708
 
12726
- export interface OrganizationConnectorsDeleteInput {
12709
+ export interface ObserveIssuesAssignInput {
12710
+ /**
12711
+ * Identifier of the issue
12712
+ */
12727
12713
  id: string
12714
+ /**
12715
+ * Who should own the issue; null clears the assignment
12716
+ */
12717
+ assignee: (string | null)
12728
12718
  }
12729
12719
 
12730
- export interface OrganizationConnectorsDeleteOutput {
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
+
13289
+ export interface OrganizationAuthMeInput {
13290
+
13291
+ }
13292
+
13293
+ export interface OrganizationAuthMeOutput {
13294
+ email: string
13295
+ identityId: string
13296
+ displayName: string
13297
+ identityType: string
13298
+ }
13299
+
13300
+ export interface OrganizationBillingBudgetsGetInput {
13301
+
13302
+ }
13303
+
13304
+ export interface OrganizationBillingBudgetsGetOutput {
13305
+ [k: string]: unknown
13306
+ }
13307
+
13308
+ export interface OrganizationBillingBudgetsSetInput {
13309
+ ceiling_minor: number
13310
+ }
13311
+
13312
+ export interface OrganizationBillingBudgetsSetOutput {
13313
+ [k: string]: unknown
13314
+ }
13315
+
13316
+ export interface OrganizationBillingCapsClearInput {
13317
+ productId: string
13318
+ }
13319
+
13320
+ export interface OrganizationBillingCapsClearOutput {
13321
+ [k: string]: unknown
13322
+ }
13323
+
13324
+ export interface OrganizationBillingCapsSetInput {
13325
+ cap_minor: number
13326
+ productId: string
13327
+ }
13328
+
13329
+ export interface OrganizationBillingCapsSetOutput {
13330
+ [k: string]: unknown
13331
+ }
13332
+
13333
+ export interface OrganizationBindingsListInput {
13334
+ domainId: string
13335
+ productId: string
13336
+ }
13337
+
13338
+ export type OrganizationBindingsListOutput = {
13339
+ host: string
13340
+ status: ("pending" | "active" | "failed")
13341
+ records: {
13342
+ ttl?: number
13343
+ name?: string
13344
+ target: string
13345
+ proxied?: boolean
13346
+ priority?: number
13347
+ recordType: string
13348
+ }[]
13349
+ domainId: string
13350
+ bindingId: string
13351
+ instruction: (string | null)
13352
+ statusDetail: (string | null)
13353
+ ownerExtension: string
13354
+ }[]
13355
+
13356
+ export interface OrganizationClickupInstallInput {
13357
+
13358
+ }
13359
+
13360
+ export interface OrganizationClickupInstallOutput {
13361
+ url: string
13362
+ }
13363
+
13364
+ export interface OrganizationClickupListInstallationsInput {
13365
+
13366
+ }
13367
+
13368
+ export type OrganizationClickupListInstallationsOutput = {
13369
+ status: string
13370
+ teamId: string
13371
+ teamName: string
13372
+ }[]
13373
+
13374
+ export interface OrganizationCloudflareInstallInput {
13375
+
13376
+ }
13377
+
13378
+ export interface OrganizationCloudflareInstallOutput {
13379
+ url: string
13380
+ }
13381
+
13382
+ export interface OrganizationConnectorsApproveRequestInput {
13383
+ id: string
13384
+ requestId: string
13385
+ }
13386
+
13387
+ export interface OrganizationConnectorsApproveRequestOutput {
13388
+ success: boolean
13389
+ }
13390
+
13391
+ export interface OrganizationConnectorsAttachInput {
13392
+ id: string
13393
+ productIds: string[]
13394
+ }
13395
+
13396
+ export interface OrganizationConnectorsAttachOutput {
13397
+ attachments: {
13398
+ createdAt: string
13399
+ createdBy: (string | null)
13400
+ productId: string
13401
+ customerId: (string | null)
13402
+ descriptiveName: (string | null)
13403
+ }[]
13404
+ connectorId: string
13405
+ }
13406
+
13407
+ export interface OrganizationConnectorsDeleteInput {
13408
+ id: string
13409
+ }
13410
+
13411
+ export interface OrganizationConnectorsDeleteOutput {
12731
13412
  success: boolean
12732
13413
  }
12733
13414
 
@@ -12981,8 +13662,9 @@ details: string
12981
13662
  }
12982
13663
 
12983
13664
  export interface OrganizationFeedbackSubmitOutput {
12984
- url: string
12985
- number: number
13665
+ url: (string | null)
13666
+ number: (number | null)
13667
+ supportThreadId?: string
12986
13668
  }
12987
13669
 
12988
13670
  export interface OrganizationGdriveInstallInput {
@@ -13391,6 +14073,20 @@ productId: (string | null)
13391
14073
  }[]
13392
14074
  }
13393
14075
 
14076
+ export interface OrganizationProductResendInvitationInput {
14077
+ productId: string
14078
+ invitationId: string
14079
+ }
14080
+
14081
+ export interface OrganizationProductResendInvitationOutput {
14082
+ id: string
14083
+ role: string
14084
+ email: (string | null)
14085
+ status: string
14086
+ createdAt: string
14087
+ expiresAt: string
14088
+ }
14089
+
13394
14090
  export interface OrganizationProductRevokeInvitationInput {
13395
14091
  productId: string
13396
14092
  invitationId: string
@@ -13634,6 +14330,313 @@ name: string
13634
14330
  activeProductId: (string | null)
13635
14331
  }
13636
14332
 
14333
+ export interface OrganizationSupportThreadCreateInput {
14334
+ body: string
14335
+ title: string
14336
+ }
14337
+
14338
+ export interface OrganizationSupportThreadCreateOutput {
14339
+ id: string
14340
+ title: string
14341
+ status: string
14342
+ category: ("open" | "pending" | "resolved" | "closed")
14343
+ messages: {
14344
+ id: string
14345
+ body: string
14346
+ author: {
14347
+ kind: ("user" | "agent")
14348
+ name: string
14349
+ }
14350
+ createdAt: string
14351
+ }[]
14352
+ createdAt: string
14353
+ lastMessageAt: string
14354
+ lastMessagePreview: (string | null)
14355
+ }
14356
+
14357
+ export interface OrganizationSupportThreadGetInput {
14358
+ id: string
14359
+ }
14360
+
14361
+ export interface OrganizationSupportThreadGetOutput {
14362
+ id: string
14363
+ title: string
14364
+ status: string
14365
+ category: ("open" | "pending" | "resolved" | "closed")
14366
+ messages: {
14367
+ id: string
14368
+ body: string
14369
+ author: {
14370
+ kind: ("user" | "agent")
14371
+ name: string
14372
+ }
14373
+ createdAt: string
14374
+ }[]
14375
+ createdAt: string
14376
+ lastMessageAt: string
14377
+ lastMessagePreview: (string | null)
14378
+ }
14379
+
14380
+ export interface OrganizationSupportThreadReplyInput {
14381
+ id: string
14382
+ body: string
14383
+ }
14384
+
14385
+ export interface OrganizationSupportThreadReplyOutput {
14386
+ id: string
14387
+ title: string
14388
+ status: string
14389
+ category: ("open" | "pending" | "resolved" | "closed")
14390
+ messages: {
14391
+ id: string
14392
+ body: string
14393
+ author: {
14394
+ kind: ("user" | "agent")
14395
+ name: string
14396
+ }
14397
+ createdAt: string
14398
+ }[]
14399
+ createdAt: string
14400
+ lastMessageAt: string
14401
+ lastMessagePreview: (string | null)
14402
+ }
14403
+
14404
+ export interface OrganizationSupportThreadsListInput {
14405
+
14406
+ }
14407
+
14408
+ export interface OrganizationSupportThreadsListOutput {
14409
+ threads: {
14410
+ id: string
14411
+ title: string
14412
+ status: string
14413
+ category: ("open" | "pending" | "resolved" | "closed")
14414
+ createdAt: string
14415
+ lastMessageAt: string
14416
+ lastMessagePreview: (string | null)
14417
+ }[]
14418
+ }
14419
+
14420
+ export interface PlaygroundAnalyticsOverviewInput {
14421
+ /**
14422
+ * Max records per entity in recent[]; omit for the endpoint default
14423
+ */
14424
+ limit?: number
14425
+ }
14426
+
14427
+ export interface PlaygroundAnalyticsOverviewOutput {
14428
+ ok: boolean
14429
+ minted: boolean
14430
+ overview?: unknown
14431
+ http_status: number
14432
+ }
14433
+
14434
+ export interface PlaygroundBillingEntitlementsInput {
14435
+
14436
+ }
14437
+
14438
+ export interface PlaygroundBillingEntitlementsOutput {
14439
+ ok: boolean
14440
+ minted: boolean
14441
+ http_status: number
14442
+ entitlements?: unknown
14443
+ }
14444
+
14445
+ export interface PlaygroundBillingRecordUsageInput {
14446
+ /**
14447
+ * Quantity of events to record against playground-events (SUM); defaults to 1
14448
+ */
14449
+ value?: number
14450
+ }
14451
+
14452
+ export interface PlaygroundBillingRecordUsageOutput {
14453
+ minted: boolean
14454
+ accepted: (number | null)
14455
+ recorded: boolean
14456
+ duplicates: (number | null)
14457
+ http_status: number
14458
+ }
14459
+
14460
+ export interface PlaygroundClickupCreateTaskInput {
14461
+ /**
14462
+ * Task title; defaults to a fixture label
14463
+ */
14464
+ name?: string
14465
+ /**
14466
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
14467
+ */
14468
+ listId?: string
14469
+ }
14470
+
14471
+ export interface PlaygroundClickupCreateTaskOutput {
14472
+ minted: boolean
14473
+ task_id: (string | null)
14474
+ list_status: number
14475
+ vend_status: number
14476
+ clickup_status: number
14477
+ installation_count: number
14478
+ }
14479
+
14480
+ export interface PlaygroundClickupGetLastWebhookInput {
14481
+
14482
+ }
14483
+
14484
+ export type PlaygroundClickupGetLastWebhookOutput = ({
14485
+ payload: string
14486
+ event_id: string
14487
+ provider: string
14488
+ verified: boolean
14489
+ product_id: string
14490
+ occurred_at: string
14491
+ connector_id: string
14492
+ clickup_event: (string | null)
14493
+ receipt_count: number
14494
+ } | {
14495
+ found: false
14496
+ })
14497
+
14498
+ export interface PlaygroundClickupGetOverviewInput {
14499
+
14500
+ }
14501
+
14502
+ export interface PlaygroundClickupGetOverviewOutput {
14503
+ team: ({
14504
+ teamId: string
14505
+ teamName: string
14506
+ } | null)
14507
+ lists: PlaygroundClickupGetOverviewOutputItems[]
14508
+ tasks: {
14509
+ id: string
14510
+ name: string
14511
+ status: (string | null)
14512
+ }[]
14513
+ minted: boolean
14514
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
14515
+ list_status: number
14516
+ vend_status: number
14517
+ lists_status: number
14518
+ tasks_status: number
14519
+ spaces_status: number
14520
+ folders_status: number
14521
+ installation_count: number
14522
+ }
14523
+ export interface PlaygroundClickupGetOverviewOutputItems {
14524
+ id: string
14525
+ name: string
14526
+ }
14527
+
14528
+ export interface PlaygroundGdriveGetLastChangeInput {
14529
+
14530
+ }
14531
+
14532
+ export type PlaygroundGdriveGetLastChangeOutput = ({
14533
+ file_id: string
14534
+ removed: boolean
14535
+ file_name: (string | null)
14536
+ mime_type: (string | null)
14537
+ product_id: string
14538
+ occurred_at: string
14539
+ connector_id: string
14540
+ resource_state: string
14541
+ } | {
14542
+ found: false
14543
+ })
14544
+
14545
+ export interface PlaygroundGdriveReadFileInput {
14546
+ /**
14547
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
14548
+ */
14549
+ fileId?: string
14550
+ }
14551
+
14552
+ export interface PlaygroundGdriveReadFileOutput {
14553
+ minted: boolean
14554
+ file_id: (string | null)
14555
+ file_name: (string | null)
14556
+ mime_type: (string | null)
14557
+ file_count: number
14558
+ get_status: number
14559
+ list_status: number
14560
+ vend_status: number
14561
+ content_bytes: (number | null)
14562
+ }
14563
+
14564
+ export interface PlaygroundGoogleadsReadCustomerInput {
14565
+
14566
+ }
14567
+
14568
+ export interface PlaygroundGoogleadsReadCustomerOutput {
14569
+ minted: boolean
14570
+ vended: boolean
14571
+ customer_id: (string | null)
14572
+ vend_status: number
14573
+ result_count: number
14574
+ search_status: number
14575
+ login_customer_id: (string | null)
14576
+ }
14577
+
14578
+ export interface PlaygroundLifecycleGetStateInput {
14579
+
14580
+ }
14581
+
14582
+ export interface PlaygroundLifecycleGetStateOutput {
14583
+ blocked: boolean
14584
+ archived: boolean
14585
+ productId: string
14586
+ lastBlockTransition: ({
14587
+ eventId: string
14588
+ eventName: string
14589
+ productId: string
14590
+ occurredAt: string
14591
+ recordedAt: string
14592
+ receiptCount: number
14593
+ organizationId: string
14594
+ cascadedFromOrg: boolean
14595
+ } | null)
14596
+ lastArchiveTransition: ({
14597
+ eventId: string
14598
+ eventName: string
14599
+ productId: string
14600
+ occurredAt: string
14601
+ recordedAt: string
14602
+ receiptCount: number
14603
+ organizationId: string
14604
+ cascadedFromOrg: boolean
14605
+ } | null)
14606
+ }
14607
+
14608
+ export interface PlaygroundLifecycleListEventsInput {
14609
+
14610
+ }
14611
+
14612
+ export type PlaygroundLifecycleListEventsOutput = {
14613
+ eventId: string
14614
+ eventName: string
14615
+ productId: string
14616
+ occurredAt: string
14617
+ recordedAt: string
14618
+ receiptCount: number
14619
+ organizationId: string
14620
+ cascadedFromOrg: boolean
14621
+ }[]
14622
+
14623
+ export interface PlaygroundWebhookGetLastInput {
14624
+
14625
+ }
14626
+
14627
+ export type PlaygroundWebhookGetLastOutput = ({
14628
+ payload?: unknown
14629
+ event_id: string
14630
+ provider: string
14631
+ verified: boolean
14632
+ product_id: string
14633
+ occurred_at: string
14634
+ connector_id: string
14635
+ delivery_count: number
14636
+ } | {
14637
+ found: false
14638
+ })
14639
+
13637
14640
  export interface RealtimeArchiveExportInput {
13638
14641
  /**
13639
14642
  * Only entries with ts <= to_ts (epoch ms)