@lessly/sdk-app 32.1.2 → 33.0.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-B81KzIal.d.cts} +1314 -259
  10. package/dist/{client.gen-p_iZK5OO.d.ts → client.gen-B81KzIal.d.ts} +1314 -259
  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 +422 -51
  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 +422 -51
  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 +33 -18
  30. package/dist/organization/index.cjs.map +1 -1
  31. package/dist/organization/index.d.cts +27 -15
  32. package/dist/organization/index.d.ts +27 -15
  33. package/dist/organization/index.js +27 -15
  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 +422 -51
  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 +126 -17
  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 +41 -21
  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 +1316 -253
@@ -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,130 +12513,941 @@ 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 {
12731
- success: boolean
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
+ * Stack of the most recent event, or null when the issue has no events yet or the stack could not be read
12801
+ */
12802
+ stack: ({
12803
+ /**
12804
+ * The stack, resolved where a stored source map matched the frame
12805
+ */
12806
+ frames: {
12807
+ /**
12808
+ * Column number, original when the frame resolved
12809
+ */
12810
+ colno?: number
12811
+ /**
12812
+ * Whether the frame belongs to the application rather than a dependency
12813
+ */
12814
+ inApp?: boolean
12815
+ /**
12816
+ * Line number, original when the frame resolved
12817
+ */
12818
+ lineno?: number
12819
+ /**
12820
+ * Original file when the frame resolved, else the minified one
12821
+ */
12822
+ filename?: string
12823
+ /**
12824
+ * Function name, original where the source map names one
12825
+ */
12826
+ function?: string
12827
+ /**
12828
+ * False means no source map matched and the frame is exactly as it was recorded
12829
+ */
12830
+ resolved: boolean
12831
+ }[]
12832
+ /**
12833
+ * Identifier of the event the stack was taken from
12834
+ */
12835
+ eventId: string
12836
+ } | null)
12837
+ /**
12838
+ * Display title, set when the issue opened and never rewritten
12839
+ */
12840
+ title: string
12841
+ /**
12842
+ * unresolved, resolved or archived
12843
+ */
12844
+ status: string
12845
+ /**
12846
+ * Where the error appears to come from, or null
12847
+ */
12848
+ culprit: (string | null)
12849
+ /**
12850
+ * Who owns the issue, or null if unassigned
12851
+ */
12852
+ assignee: (string | null)
12853
+ /**
12854
+ * ISO 8601 timestamp of the most recent event
12855
+ */
12856
+ lastSeen: string
12857
+ /**
12858
+ * ISO 8601 timestamp of the first event
12859
+ */
12860
+ firstSeen: string
12861
+ /**
12862
+ * ISO 8601 archive timestamp, or null
12863
+ */
12864
+ archivedAt: (string | null)
12865
+ /**
12866
+ * How many events have landed on this issue
12867
+ */
12868
+ eventCount: number
12869
+ /**
12870
+ * ISO 8601 resolution timestamp, or null
12871
+ */
12872
+ resolvedAt: (string | null)
12873
+ /**
12874
+ * Environment the issue was first seen in, or null
12875
+ */
12876
+ environment: (string | null)
12877
+ /**
12878
+ * Stable grouping hash the issue is keyed on
12879
+ */
12880
+ fingerprint: string
12881
+ /**
12882
+ * ISO 8601 timestamp of the last regression, or null if it never regressed
12883
+ */
12884
+ regressedAt: (string | null)
12885
+ /**
12886
+ * Which rule of the ladder matched: explicit, stack, exception or message
12887
+ */
12888
+ groupingRule: string
12889
+ /**
12890
+ * Exception class of the first event, or null
12891
+ */
12892
+ exceptionType: (string | null)
12893
+ /**
12894
+ * Grouping config version that produced the fingerprint; part of the issue identity
12895
+ */
12896
+ groupingVersion: string
12897
+ }
12898
+
12899
+ export interface ObserveIssuesListInput {
12900
+ /**
12901
+ * How many issues to return, most recently seen first. 1-200, default 50
12902
+ */
12903
+ limit?: number
12904
+ /**
12905
+ * Only return issues in this state; omit to list every state
12906
+ */
12907
+ status?: ("unresolved" | "resolved" | "archived")
12908
+ /**
12909
+ * Only return issues owned by this assignee
12910
+ */
12911
+ assignee?: string
12912
+ }
12913
+
12914
+ export type ObserveIssuesListOutput = {
12915
+ /**
12916
+ * Identifier of the issue
12917
+ */
12918
+ id: string
12919
+ /**
12920
+ * Display title, set when the issue opened and never rewritten
12921
+ */
12922
+ title: string
12923
+ /**
12924
+ * unresolved, resolved or archived
12925
+ */
12926
+ status: string
12927
+ /**
12928
+ * Where the error appears to come from, or null
12929
+ */
12930
+ culprit: (string | null)
12931
+ /**
12932
+ * Who owns the issue, or null if unassigned
12933
+ */
12934
+ assignee: (string | null)
12935
+ /**
12936
+ * ISO 8601 timestamp of the most recent event
12937
+ */
12938
+ lastSeen: string
12939
+ /**
12940
+ * ISO 8601 timestamp of the first event
12941
+ */
12942
+ firstSeen: string
12943
+ /**
12944
+ * ISO 8601 archive timestamp, or null
12945
+ */
12946
+ archivedAt: (string | null)
12947
+ /**
12948
+ * How many events have landed on this issue
12949
+ */
12950
+ eventCount: number
12951
+ /**
12952
+ * ISO 8601 resolution timestamp, or null
12953
+ */
12954
+ resolvedAt: (string | null)
12955
+ /**
12956
+ * Environment the issue was first seen in, or null
12957
+ */
12958
+ environment: (string | null)
12959
+ /**
12960
+ * Stable grouping hash the issue is keyed on
12961
+ */
12962
+ fingerprint: string
12963
+ /**
12964
+ * ISO 8601 timestamp of the last regression, or null if it never regressed
12965
+ */
12966
+ regressedAt: (string | null)
12967
+ /**
12968
+ * Which rule of the ladder matched: explicit, stack, exception or message
12969
+ */
12970
+ groupingRule: string
12971
+ /**
12972
+ * Exception class of the first event, or null
12973
+ */
12974
+ exceptionType: (string | null)
12975
+ /**
12976
+ * Grouping config version that produced the fingerprint; part of the issue identity
12977
+ */
12978
+ groupingVersion: string
12979
+ }[]
12980
+
12981
+ export interface ObserveIssuesResolveInput {
12982
+ /**
12983
+ * Identifier of the issue
12984
+ */
12985
+ id: string
12986
+ }
12987
+
12988
+ export interface ObserveIssuesResolveOutput {
12989
+ /**
12990
+ * Identifier of the issue
12991
+ */
12992
+ id: string
12993
+ /**
12994
+ * Display title, set when the issue opened and never rewritten
12995
+ */
12996
+ title: string
12997
+ /**
12998
+ * unresolved, resolved or archived
12999
+ */
13000
+ status: string
13001
+ /**
13002
+ * Where the error appears to come from, or null
13003
+ */
13004
+ culprit: (string | null)
13005
+ /**
13006
+ * Who owns the issue, or null if unassigned
13007
+ */
13008
+ assignee: (string | null)
13009
+ /**
13010
+ * ISO 8601 timestamp of the most recent event
13011
+ */
13012
+ lastSeen: string
13013
+ /**
13014
+ * ISO 8601 timestamp of the first event
13015
+ */
13016
+ firstSeen: string
13017
+ /**
13018
+ * ISO 8601 archive timestamp, or null
13019
+ */
13020
+ archivedAt: (string | null)
13021
+ /**
13022
+ * How many events have landed on this issue
13023
+ */
13024
+ eventCount: number
13025
+ /**
13026
+ * ISO 8601 resolution timestamp, or null
13027
+ */
13028
+ resolvedAt: (string | null)
13029
+ /**
13030
+ * Environment the issue was first seen in, or null
13031
+ */
13032
+ environment: (string | null)
13033
+ /**
13034
+ * Stable grouping hash the issue is keyed on
13035
+ */
13036
+ fingerprint: string
13037
+ /**
13038
+ * ISO 8601 timestamp of the last regression, or null if it never regressed
13039
+ */
13040
+ regressedAt: (string | null)
13041
+ /**
13042
+ * Which rule of the ladder matched: explicit, stack, exception or message
13043
+ */
13044
+ groupingRule: string
13045
+ /**
13046
+ * Exception class of the first event, or null
13047
+ */
13048
+ exceptionType: (string | null)
13049
+ /**
13050
+ * Grouping config version that produced the fingerprint; part of the issue identity
13051
+ */
13052
+ groupingVersion: string
13053
+ }
13054
+
13055
+ export interface ObserveKeysCreateInput {
13056
+ /**
13057
+ * ingest (default) issues a Bearer OTLP token; dsn issues a public Sentry key returned as a full DSN
13058
+ */
13059
+ kind?: ("ingest" | "dsn")
13060
+ /**
13061
+ * Optional human label for the key, e.g. "ci" or "backend pods"
13062
+ */
13063
+ name?: string
13064
+ /**
13065
+ * Environment this key sends telemetry for, e.g. "staging" or "production"
13066
+ */
13067
+ environment: string
13068
+ }
13069
+
13070
+ export interface ObserveKeysCreateOutput {
13071
+ /**
13072
+ * Identifier of the ingest key
13073
+ */
13074
+ id: string
13075
+ /**
13076
+ * The full DSN, for kind "dsn" — shown only here, store it now
13077
+ */
13078
+ dsn?: string
13079
+ /**
13080
+ * ingest = Bearer OTLP key; dsn = public Sentry key that ships in client code
13081
+ */
13082
+ kind: ("ingest" | "dsn")
13083
+ /**
13084
+ * Human label given at creation, or null
13085
+ */
13086
+ name: (string | null)
13087
+ /**
13088
+ * The full ingest token, for kind "ingest" — shown only here, store it now
13089
+ */
13090
+ token?: string
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 ObserveKeysListInput {
13110
+ /**
13111
+ * Only return keys of this environment; omit to list all of them
13112
+ */
13113
+ environment?: string
13114
+ }
13115
+
13116
+ export type ObserveKeysListOutput = {
13117
+ /**
13118
+ * Identifier of the ingest key
13119
+ */
13120
+ id: string
13121
+ /**
13122
+ * ingest = Bearer OTLP key; dsn = public Sentry key that ships in client code
13123
+ */
13124
+ kind: ("ingest" | "dsn")
13125
+ /**
13126
+ * Human label given at creation, or null
13127
+ */
13128
+ name: (string | null)
13129
+ /**
13130
+ * First characters of the token, shown for recognition
13131
+ */
13132
+ prefix: string
13133
+ /**
13134
+ * ISO 8601 creation timestamp
13135
+ */
13136
+ createdAt: string
13137
+ /**
13138
+ * ISO 8601 revocation timestamp, or null if active
13139
+ */
13140
+ revokedAt: (string | null)
13141
+ /**
13142
+ * Environment the key writes telemetry for
13143
+ */
13144
+ environment: string
13145
+ }[]
13146
+
13147
+ export interface ObserveKeysRevokeInput {
13148
+ /**
13149
+ * Identifier of the ingest key to revoke
13150
+ */
13151
+ id: string
13152
+ }
13153
+
13154
+ export interface ObserveKeysRevokeOutput {
13155
+ /**
13156
+ * Identifier of the revoked key
13157
+ */
13158
+ id: string
13159
+ /**
13160
+ * ISO 8601 timestamp of the revocation
13161
+ */
13162
+ revokedAt: string
13163
+ }
13164
+
13165
+ export interface ObserveLogsSearchInput {
13166
+ /**
13167
+ * Newest timestamp to include, ISO 8601
13168
+ */
13169
+ to?: string
13170
+ /**
13171
+ * Oldest timestamp to include, ISO 8601
13172
+ */
13173
+ from?: string
13174
+ /**
13175
+ * How many lines to return, 1-1000, default 100
13176
+ */
13177
+ limit?: number
13178
+ /**
13179
+ * The nextCursor of the previous page; omit for the first page
13180
+ */
13181
+ cursor?: string
13182
+ /**
13183
+ * Match the message body. A single word matches whole words and is indexed; anything longer is a case-insensitive substring match
13184
+ */
13185
+ search?: string
13186
+ /**
13187
+ * Only lines of this service, e.g. "api"
13188
+ */
13189
+ service?: string
13190
+ /**
13191
+ * Only lines of this trace
13192
+ */
13193
+ traceId?: string
13194
+ /**
13195
+ * Only lines whose severity is one of these, e.g. ["ERROR", "FATAL"]
13196
+ *
13197
+ * @minItems 1
13198
+ */
13199
+ severityIn?: [string, ...(string)[]]
13200
+ /**
13201
+ * Only lines of this environment, e.g. "production"
13202
+ */
13203
+ environment?: string
13204
+ }
13205
+
13206
+ export interface ObserveLogsSearchOutput {
13207
+ /**
13208
+ * The matching log lines, newest first
13209
+ */
13210
+ rows: {
13211
+ /**
13212
+ * The log message itself
13213
+ */
13214
+ body: string
13215
+ /**
13216
+ * Span this line belongs to, empty when untraced
13217
+ */
13218
+ spanId: string
13219
+ /**
13220
+ * Service that wrote the line
13221
+ */
13222
+ service: string
13223
+ /**
13224
+ * Trace this line belongs to, empty when untraced
13225
+ */
13226
+ traceId: string
13227
+ /**
13228
+ * ISO 8601 timestamp of the log line, millisecond precision
13229
+ */
13230
+ timestamp: string
13231
+ /**
13232
+ * Attributes the emitter attached
13233
+ */
13234
+ attributes: {
13235
+ [k: string]: string
13236
+ }
13237
+ /**
13238
+ * Environment the line was written in
13239
+ */
13240
+ environment: string
13241
+ /**
13242
+ * Severity as the emitter named it, e.g. "ERROR"
13243
+ */
13244
+ severityText: string
13245
+ /**
13246
+ * OpenTelemetry severity number, 1-24
13247
+ */
13248
+ severityNumber: number
13249
+ }[]
13250
+ /**
13251
+ * Pass back as cursor for the next page; null when the last page was reached
13252
+ */
13253
+ nextCursor: (string | null)
13254
+ }
13255
+
13256
+ export interface ObserveLogsTailInput {
13257
+ /**
13258
+ * The nextCursor of the previous poll; omit to start at the newest lines
13259
+ */
13260
+ cursor?: string
13261
+ /**
13262
+ * Only lines of this service
13263
+ */
13264
+ service?: string
13265
+ /**
13266
+ * Only lines whose severity is one of these
13267
+ *
13268
+ * @minItems 1
13269
+ */
13270
+ severityIn?: [string, ...(string)[]]
13271
+ /**
13272
+ * Only lines of this environment
13273
+ */
13274
+ environment?: string
13275
+ }
13276
+
13277
+ export interface ObserveLogsTailOutput {
13278
+ /**
13279
+ * The new log lines, oldest first
13280
+ */
13281
+ rows: {
13282
+ /**
13283
+ * The log message itself
13284
+ */
13285
+ body: string
13286
+ /**
13287
+ * Span this line belongs to, empty when untraced
13288
+ */
13289
+ spanId: string
13290
+ /**
13291
+ * Service that wrote the line
13292
+ */
13293
+ service: string
13294
+ /**
13295
+ * Trace this line belongs to, empty when untraced
13296
+ */
13297
+ traceId: string
13298
+ /**
13299
+ * ISO 8601 timestamp of the log line, millisecond precision
13300
+ */
13301
+ timestamp: string
13302
+ /**
13303
+ * Attributes the emitter attached
13304
+ */
13305
+ attributes: {
13306
+ [k: string]: string
13307
+ }
13308
+ /**
13309
+ * Environment the line was written in
13310
+ */
13311
+ environment: string
13312
+ /**
13313
+ * Severity as the emitter named it, e.g. "ERROR"
13314
+ */
13315
+ severityText: string
13316
+ /**
13317
+ * OpenTelemetry severity number, 1-24
13318
+ */
13319
+ severityNumber: number
13320
+ }[]
13321
+ /**
13322
+ * Pass back as cursor on the next poll; null only while the product has no logs
13323
+ */
13324
+ nextCursor: (string | null)
13325
+ }
13326
+
13327
+ export interface OrganizationAuthMeInput {
13328
+
13329
+ }
13330
+
13331
+ export interface OrganizationAuthMeOutput {
13332
+ email: string
13333
+ identityId: string
13334
+ displayName: string
13335
+ identityType: string
13336
+ }
13337
+
13338
+ export interface OrganizationBillingBudgetsGetInput {
13339
+
13340
+ }
13341
+
13342
+ export interface OrganizationBillingBudgetsGetOutput {
13343
+ [k: string]: unknown
13344
+ }
13345
+
13346
+ export interface OrganizationBillingBudgetsSetInput {
13347
+ ceiling_minor: number
13348
+ }
13349
+
13350
+ export interface OrganizationBillingBudgetsSetOutput {
13351
+ [k: string]: unknown
13352
+ }
13353
+
13354
+ export interface OrganizationBillingCapsClearInput {
13355
+ productId: string
13356
+ }
13357
+
13358
+ export interface OrganizationBillingCapsClearOutput {
13359
+ [k: string]: unknown
13360
+ }
13361
+
13362
+ export interface OrganizationBillingCapsSetInput {
13363
+ cap_minor: number
13364
+ productId: string
13365
+ }
13366
+
13367
+ export interface OrganizationBillingCapsSetOutput {
13368
+ [k: string]: unknown
13369
+ }
13370
+
13371
+ export interface OrganizationBindingsListInput {
13372
+ domainId: string
13373
+ productId: string
13374
+ }
13375
+
13376
+ export type OrganizationBindingsListOutput = {
13377
+ host: string
13378
+ status: ("pending" | "active" | "failed")
13379
+ records: {
13380
+ ttl?: number
13381
+ name?: string
13382
+ target: string
13383
+ proxied?: boolean
13384
+ priority?: number
13385
+ recordType: string
13386
+ }[]
13387
+ domainId: string
13388
+ bindingId: string
13389
+ instruction: (string | null)
13390
+ statusDetail: (string | null)
13391
+ ownerExtension: string
13392
+ }[]
13393
+
13394
+ export interface OrganizationClickupInstallInput {
13395
+
13396
+ }
13397
+
13398
+ export interface OrganizationClickupInstallOutput {
13399
+ url: string
13400
+ }
13401
+
13402
+ export interface OrganizationClickupListInstallationsInput {
13403
+
13404
+ }
13405
+
13406
+ export type OrganizationClickupListInstallationsOutput = {
13407
+ status: string
13408
+ teamId: string
13409
+ teamName: string
13410
+ }[]
13411
+
13412
+ export interface OrganizationCloudflareInstallInput {
13413
+
13414
+ }
13415
+
13416
+ export interface OrganizationCloudflareInstallOutput {
13417
+ url: string
13418
+ }
13419
+
13420
+ export interface OrganizationConnectorsApproveRequestInput {
13421
+ id: string
13422
+ requestId: string
13423
+ }
13424
+
13425
+ export interface OrganizationConnectorsApproveRequestOutput {
13426
+ success: boolean
13427
+ }
13428
+
13429
+ export interface OrganizationConnectorsAttachInput {
13430
+ id: string
13431
+ productIds: string[]
13432
+ }
13433
+
13434
+ export interface OrganizationConnectorsAttachOutput {
13435
+ attachments: {
13436
+ createdAt: string
13437
+ createdBy: (string | null)
13438
+ productId: string
13439
+ customerId: (string | null)
13440
+ descriptiveName: (string | null)
13441
+ }[]
13442
+ connectorId: string
13443
+ }
13444
+
13445
+ export interface OrganizationConnectorsDeleteInput {
13446
+ id: string
13447
+ }
13448
+
13449
+ export interface OrganizationConnectorsDeleteOutput {
13450
+ success: boolean
12732
13451
  }
12733
13452
 
12734
13453
  export interface OrganizationConnectorsDenyRequestInput {
@@ -12981,8 +13700,9 @@ details: string
12981
13700
  }
12982
13701
 
12983
13702
  export interface OrganizationFeedbackSubmitOutput {
12984
- url: string
12985
- number: number
13703
+ url: (string | null)
13704
+ number: (number | null)
13705
+ supportThreadId?: string
12986
13706
  }
12987
13707
 
12988
13708
  export interface OrganizationGdriveInstallInput {
@@ -13256,28 +13976,9 @@ catalog: {
13256
13976
  key: string
13257
13977
  group: string
13258
13978
  level: ("read" | "write" | "admin")
13259
- scope: ("user" | "product")
13260
- display_name: string
13261
- }[]
13262
- }
13263
-
13264
- export interface OrganizationProductAcceptInvitationInput {
13265
- token: string
13266
- }
13267
-
13268
- export interface OrganizationProductAcceptInvitationOutput {
13269
- product: {
13270
- id: string
13271
- name: string
13272
- role: string
13273
- slug: string
13274
- demoAt: (string | null)
13275
- status: string
13276
- blockedAt: (string | null)
13277
- createdAt: string
13278
- archivedAt: (string | null)
13279
- organizationId: string
13280
- }
13979
+ scope: ("user" | "product")
13980
+ display_name: string
13981
+ }[]
13281
13982
  }
13282
13983
 
13283
13984
  export interface OrganizationProductCreateInput {
@@ -13293,34 +13994,14 @@ role: string
13293
13994
  slug: string
13294
13995
  demoAt: (string | null)
13295
13996
  status: string
13997
+ logoUrl: (string | null)
13296
13998
  blockedAt: (string | null)
13297
13999
  createdAt: string
13298
14000
  archivedAt: (string | null)
14001
+ description: (string | null)
13299
14002
  organizationId: string
13300
14003
  }
13301
14004
 
13302
- export interface OrganizationProductInviteInput {
13303
- role?: ("admin" | "member" | "viewer")
13304
- email: string
13305
- productId: string
13306
- }
13307
-
13308
- export type OrganizationProductInviteOutput = ({
13309
- id: string
13310
- role: string
13311
- email: (string | null)
13312
- status: string
13313
- outcome: "invited"
13314
- createdAt: string
13315
- expiresAt: string
13316
- } | {
13317
- role: string
13318
- userId: string
13319
- outcome: "added"
13320
- memberId: string
13321
- productId: string
13322
- })
13323
-
13324
14005
  export interface OrganizationProductListInput {
13325
14006
 
13326
14007
  }
@@ -13333,26 +14014,49 @@ role: string
13333
14014
  slug: string
13334
14015
  demoAt: (string | null)
13335
14016
  status: string
14017
+ logoUrl: (string | null)
13336
14018
  blockedAt: (string | null)
13337
14019
  createdAt: string
13338
14020
  archivedAt: (string | null)
14021
+ description: (string | null)
13339
14022
  organizationId: string
13340
14023
  }[]
13341
14024
  }
13342
14025
 
13343
- export interface OrganizationProductListInvitationsInput {
14026
+ export interface OrganizationProductListAccessInput {
13344
14027
  productId: string
13345
14028
  }
13346
14029
 
13347
- export interface OrganizationProductListInvitationsOutput {
13348
- invitations: {
13349
- id: string
14030
+ export interface OrganizationProductListAccessOutput {
14031
+ members: {
13350
14032
  role: string
13351
14033
  email: (string | null)
13352
- status: string
13353
- createdAt: string
13354
- expiresAt: string
13355
- invitedByDisplayName: string
14034
+ roleId: (string | null)
14035
+ userId: string
14036
+ isCustom: boolean
14037
+ roleName: (string | null)
14038
+ sourceRole: ({
14039
+ id: string
14040
+ name: string
14041
+ } | null)
14042
+ displayName: (string | null)
14043
+ }[]
14044
+ orgRoles: {
14045
+ id: string
14046
+ name: string
14047
+ description: (string | null)
14048
+ }[]
14049
+ canManage: boolean
14050
+ inherited: {
14051
+ email: (string | null)
14052
+ userId: string
14053
+ orgRole: ("owner" | "admin")
14054
+ displayName: (string | null)
14055
+ }[]
14056
+ candidates: {
14057
+ email: (string | null)
14058
+ userId: string
14059
+ displayName: (string | null)
13356
14060
  }[]
13357
14061
  }
13358
14062
 
@@ -13391,13 +14095,13 @@ productId: (string | null)
13391
14095
  }[]
13392
14096
  }
13393
14097
 
13394
- export interface OrganizationProductRevokeInvitationInput {
14098
+ export interface OrganizationProductRevokeAccessInput {
14099
+ userId: string
13395
14100
  productId: string
13396
- invitationId: string
13397
14101
  }
13398
14102
 
13399
- export interface OrganizationProductRevokeInvitationOutput {
13400
- message: string
14103
+ export interface OrganizationProductRevokeAccessOutput {
14104
+ [k: string]: unknown
13401
14105
  }
13402
14106
 
13403
14107
  export interface OrganizationProductSelectInput {
@@ -13410,9 +14114,23 @@ name: string
13410
14114
  slug: string
13411
14115
  }
13412
14116
 
14117
+ export interface OrganizationProductSetAccessInput {
14118
+ role?: ("admin" | "member" | "viewer")
14119
+ roleId?: string
14120
+ userId: string
14121
+ productId: string
14122
+ }
14123
+
14124
+ export interface OrganizationProductSetAccessOutput {
14125
+ role: string
14126
+ userId: string
14127
+ productId: string
14128
+ }
14129
+
13413
14130
  export interface OrganizationProductUpdateInput {
13414
- name: string
14131
+ name?: string
13415
14132
  productId: string
14133
+ description?: (string | null)
13416
14134
  }
13417
14135
 
13418
14136
  export interface OrganizationProductUpdateOutput {
@@ -13422,9 +14140,11 @@ role: string
13422
14140
  slug: string
13423
14141
  demoAt: (string | null)
13424
14142
  status: string
14143
+ logoUrl: (string | null)
13425
14144
  blockedAt: (string | null)
13426
14145
  createdAt: string
13427
14146
  archivedAt: (string | null)
14147
+ description: (string | null)
13428
14148
  organizationId: string
13429
14149
  }
13430
14150
 
@@ -13634,6 +14354,313 @@ name: string
13634
14354
  activeProductId: (string | null)
13635
14355
  }
13636
14356
 
14357
+ export interface OrganizationSupportThreadCreateInput {
14358
+ body: string
14359
+ title: string
14360
+ }
14361
+
14362
+ export interface OrganizationSupportThreadCreateOutput {
14363
+ id: string
14364
+ title: string
14365
+ status: string
14366
+ category: ("open" | "pending" | "resolved" | "closed")
14367
+ messages: {
14368
+ id: string
14369
+ body: string
14370
+ author: {
14371
+ kind: ("user" | "agent")
14372
+ name: string
14373
+ }
14374
+ createdAt: string
14375
+ }[]
14376
+ createdAt: string
14377
+ lastMessageAt: string
14378
+ lastMessagePreview: (string | null)
14379
+ }
14380
+
14381
+ export interface OrganizationSupportThreadGetInput {
14382
+ id: string
14383
+ }
14384
+
14385
+ export interface OrganizationSupportThreadGetOutput {
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 OrganizationSupportThreadReplyInput {
14405
+ id: string
14406
+ body: string
14407
+ }
14408
+
14409
+ export interface OrganizationSupportThreadReplyOutput {
14410
+ id: string
14411
+ title: string
14412
+ status: string
14413
+ category: ("open" | "pending" | "resolved" | "closed")
14414
+ messages: {
14415
+ id: string
14416
+ body: string
14417
+ author: {
14418
+ kind: ("user" | "agent")
14419
+ name: string
14420
+ }
14421
+ createdAt: string
14422
+ }[]
14423
+ createdAt: string
14424
+ lastMessageAt: string
14425
+ lastMessagePreview: (string | null)
14426
+ }
14427
+
14428
+ export interface OrganizationSupportThreadsListInput {
14429
+
14430
+ }
14431
+
14432
+ export interface OrganizationSupportThreadsListOutput {
14433
+ threads: {
14434
+ id: string
14435
+ title: string
14436
+ status: string
14437
+ category: ("open" | "pending" | "resolved" | "closed")
14438
+ createdAt: string
14439
+ lastMessageAt: string
14440
+ lastMessagePreview: (string | null)
14441
+ }[]
14442
+ }
14443
+
14444
+ export interface PlaygroundAnalyticsOverviewInput {
14445
+ /**
14446
+ * Max records per entity in recent[]; omit for the endpoint default
14447
+ */
14448
+ limit?: number
14449
+ }
14450
+
14451
+ export interface PlaygroundAnalyticsOverviewOutput {
14452
+ ok: boolean
14453
+ minted: boolean
14454
+ overview?: unknown
14455
+ http_status: number
14456
+ }
14457
+
14458
+ export interface PlaygroundBillingEntitlementsInput {
14459
+
14460
+ }
14461
+
14462
+ export interface PlaygroundBillingEntitlementsOutput {
14463
+ ok: boolean
14464
+ minted: boolean
14465
+ http_status: number
14466
+ entitlements?: unknown
14467
+ }
14468
+
14469
+ export interface PlaygroundBillingRecordUsageInput {
14470
+ /**
14471
+ * Quantity of events to record against playground-events (SUM); defaults to 1
14472
+ */
14473
+ value?: number
14474
+ }
14475
+
14476
+ export interface PlaygroundBillingRecordUsageOutput {
14477
+ minted: boolean
14478
+ accepted: (number | null)
14479
+ recorded: boolean
14480
+ duplicates: (number | null)
14481
+ http_status: number
14482
+ }
14483
+
14484
+ export interface PlaygroundClickupCreateTaskInput {
14485
+ /**
14486
+ * Task title; defaults to a fixture label
14487
+ */
14488
+ name?: string
14489
+ /**
14490
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
14491
+ */
14492
+ listId?: string
14493
+ }
14494
+
14495
+ export interface PlaygroundClickupCreateTaskOutput {
14496
+ minted: boolean
14497
+ task_id: (string | null)
14498
+ list_status: number
14499
+ vend_status: number
14500
+ clickup_status: number
14501
+ installation_count: number
14502
+ }
14503
+
14504
+ export interface PlaygroundClickupGetLastWebhookInput {
14505
+
14506
+ }
14507
+
14508
+ export type PlaygroundClickupGetLastWebhookOutput = ({
14509
+ payload: string
14510
+ event_id: string
14511
+ provider: string
14512
+ verified: boolean
14513
+ product_id: string
14514
+ occurred_at: string
14515
+ connector_id: string
14516
+ clickup_event: (string | null)
14517
+ receipt_count: number
14518
+ } | {
14519
+ found: false
14520
+ })
14521
+
14522
+ export interface PlaygroundClickupGetOverviewInput {
14523
+
14524
+ }
14525
+
14526
+ export interface PlaygroundClickupGetOverviewOutput {
14527
+ team: ({
14528
+ teamId: string
14529
+ teamName: string
14530
+ } | null)
14531
+ lists: PlaygroundClickupGetOverviewOutputItems[]
14532
+ tasks: {
14533
+ id: string
14534
+ name: string
14535
+ status: (string | null)
14536
+ }[]
14537
+ minted: boolean
14538
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
14539
+ list_status: number
14540
+ vend_status: number
14541
+ lists_status: number
14542
+ tasks_status: number
14543
+ spaces_status: number
14544
+ folders_status: number
14545
+ installation_count: number
14546
+ }
14547
+ export interface PlaygroundClickupGetOverviewOutputItems {
14548
+ id: string
14549
+ name: string
14550
+ }
14551
+
14552
+ export interface PlaygroundGdriveGetLastChangeInput {
14553
+
14554
+ }
14555
+
14556
+ export type PlaygroundGdriveGetLastChangeOutput = ({
14557
+ file_id: string
14558
+ removed: boolean
14559
+ file_name: (string | null)
14560
+ mime_type: (string | null)
14561
+ product_id: string
14562
+ occurred_at: string
14563
+ connector_id: string
14564
+ resource_state: string
14565
+ } | {
14566
+ found: false
14567
+ })
14568
+
14569
+ export interface PlaygroundGdriveReadFileInput {
14570
+ /**
14571
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
14572
+ */
14573
+ fileId?: string
14574
+ }
14575
+
14576
+ export interface PlaygroundGdriveReadFileOutput {
14577
+ minted: boolean
14578
+ file_id: (string | null)
14579
+ file_name: (string | null)
14580
+ mime_type: (string | null)
14581
+ file_count: number
14582
+ get_status: number
14583
+ list_status: number
14584
+ vend_status: number
14585
+ content_bytes: (number | null)
14586
+ }
14587
+
14588
+ export interface PlaygroundGoogleadsReadCustomerInput {
14589
+
14590
+ }
14591
+
14592
+ export interface PlaygroundGoogleadsReadCustomerOutput {
14593
+ minted: boolean
14594
+ vended: boolean
14595
+ customer_id: (string | null)
14596
+ vend_status: number
14597
+ result_count: number
14598
+ search_status: number
14599
+ login_customer_id: (string | null)
14600
+ }
14601
+
14602
+ export interface PlaygroundLifecycleGetStateInput {
14603
+
14604
+ }
14605
+
14606
+ export interface PlaygroundLifecycleGetStateOutput {
14607
+ blocked: boolean
14608
+ archived: boolean
14609
+ productId: string
14610
+ lastBlockTransition: ({
14611
+ eventId: string
14612
+ eventName: string
14613
+ productId: string
14614
+ occurredAt: string
14615
+ recordedAt: string
14616
+ receiptCount: number
14617
+ organizationId: string
14618
+ cascadedFromOrg: boolean
14619
+ } | null)
14620
+ lastArchiveTransition: ({
14621
+ eventId: string
14622
+ eventName: string
14623
+ productId: string
14624
+ occurredAt: string
14625
+ recordedAt: string
14626
+ receiptCount: number
14627
+ organizationId: string
14628
+ cascadedFromOrg: boolean
14629
+ } | null)
14630
+ }
14631
+
14632
+ export interface PlaygroundLifecycleListEventsInput {
14633
+
14634
+ }
14635
+
14636
+ export type PlaygroundLifecycleListEventsOutput = {
14637
+ eventId: string
14638
+ eventName: string
14639
+ productId: string
14640
+ occurredAt: string
14641
+ recordedAt: string
14642
+ receiptCount: number
14643
+ organizationId: string
14644
+ cascadedFromOrg: boolean
14645
+ }[]
14646
+
14647
+ export interface PlaygroundWebhookGetLastInput {
14648
+
14649
+ }
14650
+
14651
+ export type PlaygroundWebhookGetLastOutput = ({
14652
+ payload?: unknown
14653
+ event_id: string
14654
+ provider: string
14655
+ verified: boolean
14656
+ product_id: string
14657
+ occurred_at: string
14658
+ connector_id: string
14659
+ delivery_count: number
14660
+ } | {
14661
+ found: false
14662
+ })
14663
+
13637
14664
  export interface RealtimeArchiveExportInput {
13638
14665
  /**
13639
14666
  * Only entries with ts <= to_ts (epoch ms)
@@ -15361,6 +16388,10 @@ color: (string | null)
15361
16388
  */
15362
16389
  createdAt: string
15363
16390
  }[]
16391
+ /**
16392
+ * The score the client supplied at creation, or null while the thread is unrated
16393
+ */
16394
+ rating: (number | null)
15364
16395
  /**
15365
16396
  * The status itself, joined in at read time
15366
16397
  */
@@ -15439,6 +16470,10 @@ type: ("ticket" | "feedback")
15439
16470
  * Short human-readable subject of the thread
15440
16471
  */
15441
16472
  title: string
16473
+ /**
16474
+ * Optional score the client attached when the thread was opened: an integer 0..10, both ends inclusive, stored verbatim and never recomputed. Omit it for an unrated thread — 0 is a real score at the bottom of the scale, not a way of saying "no rating"
16475
+ */
16476
+ rating?: number
15442
16477
  /**
15443
16478
  * Labels to put on the new thread
15444
16479
  *
@@ -15495,6 +16530,10 @@ color: (string | null)
15495
16530
  */
15496
16531
  createdAt: string
15497
16532
  }[]
16533
+ /**
16534
+ * The score the client supplied at creation, or null while the thread is unrated
16535
+ */
16536
+ rating: (number | null)
15498
16537
  /**
15499
16538
  * The status itself, joined in at read time
15500
16539
  */
@@ -15605,6 +16644,10 @@ color: (string | null)
15605
16644
  */
15606
16645
  createdAt: string
15607
16646
  }[]
16647
+ /**
16648
+ * The score the client supplied at creation, or null while the thread is unrated
16649
+ */
16650
+ rating: (number | null)
15608
16651
  /**
15609
16652
  * The status itself, joined in at read time
15610
16653
  */
@@ -15707,6 +16750,14 @@ statusId?: string
15707
16750
  * Only threads created at or before this ISO-8601 timestamp
15708
16751
  */
15709
16752
  createdTo?: string
16753
+ /**
16754
+ * Only threads rated at or below this score (0..10, inclusive). An unrated thread never matches a rating filter — not even at the bottom of the scale
16755
+ */
16756
+ ratingMax?: number
16757
+ /**
16758
+ * Only threads rated at or above this score (0..10, inclusive). An unrated thread never matches a rating filter — not even at the bottom of the scale
16759
+ */
16760
+ ratingMin?: number
15710
16761
  /**
15711
16762
  * Only threads created at or after this ISO-8601 timestamp
15712
16763
  */
@@ -15767,6 +16818,10 @@ color: (string | null)
15767
16818
  */
15768
16819
  createdAt: string
15769
16820
  }[]
16821
+ /**
16822
+ * The score the client supplied at creation, or null while the thread is unrated
16823
+ */
16824
+ rating: (number | null)
15770
16825
  /**
15771
16826
  * The status itself, joined in at read time
15772
16827
  */
@@ -15882,6 +16937,10 @@ color: (string | null)
15882
16937
  */
15883
16938
  createdAt: string
15884
16939
  }[]
16940
+ /**
16941
+ * The score the client supplied at creation, or null while the thread is unrated
16942
+ */
16943
+ rating: (number | null)
15885
16944
  /**
15886
16945
  * The status itself, joined in at read time
15887
16946
  */
@@ -16012,6 +17071,10 @@ color: (string | null)
16012
17071
  */
16013
17072
  createdAt: string
16014
17073
  }[]
17074
+ /**
17075
+ * The score the client supplied at creation, or null while the thread is unrated
17076
+ */
17077
+ rating: (number | null)
16015
17078
  /**
16016
17079
  * The status itself, joined in at read time
16017
17080
  */