@lessly/sdk-app 35.1.0 → 36.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 +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-B_GMJlI1.d.cts → client.gen-BSiYBjET.d.cts} +255 -1651
  10. package/dist/{client.gen-B_GMJlI1.d.ts → client.gen-BSiYBjET.d.ts} +255 -1651
  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 +51 -541
  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 +51 -541
  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/organization/index.cjs +18 -33
  24. package/dist/organization/index.cjs.map +1 -1
  25. package/dist/organization/index.d.cts +15 -27
  26. package/dist/organization/index.d.ts +15 -27
  27. package/dist/organization/index.js +15 -27
  28. package/dist/organization/index.js.map +1 -1
  29. package/dist/realtime/index.d.cts +1 -1
  30. package/dist/realtime/index.d.ts +1 -1
  31. package/dist/support/index.d.cts +1 -1
  32. package/dist/support/index.d.ts +1 -1
  33. package/dist/tracking/index.d.cts +1 -1
  34. package/dist/tracking/index.d.ts +1 -1
  35. package/dist/users/index.d.cts +1 -1
  36. package/dist/users/index.d.ts +1 -1
  37. package/dist/waitlist/index.d.cts +1 -1
  38. package/dist/waitlist/index.d.ts +1 -1
  39. package/package.json +2 -12
  40. package/src/gen/bindings.gen.ts +51 -541
  41. package/src/gen/brain/index.ts +1 -1
  42. package/src/gen/brain/queryOptions.gen.ts +7 -0
  43. package/src/gen/client.gen.ts +17 -159
  44. package/src/gen/manifest.gen.ts +1 -1
  45. package/src/gen/organization/index.ts +1 -1
  46. package/src/gen/organization/queryOptions.gen.ts +21 -41
  47. package/src/gen/types.gen.ts +246 -1654
  48. package/dist/observe/index.cjs +0 -116
  49. package/dist/observe/index.cjs.map +0 -1
  50. package/dist/observe/index.d.cts +0 -92
  51. package/dist/observe/index.d.ts +0 -92
  52. package/dist/observe/index.js +0 -93
  53. package/dist/observe/index.js.map +0 -1
  54. package/dist/playground/index.cjs +0 -66
  55. package/dist/playground/index.cjs.map +0 -1
  56. package/dist/playground/index.d.cts +0 -52
  57. package/dist/playground/index.d.ts +0 -52
  58. package/dist/playground/index.js +0 -53
  59. package/dist/playground/index.js.map +0 -1
  60. package/src/gen/observe/index.ts +0 -3
  61. package/src/gen/observe/queryOptions.gen.ts +0 -147
  62. package/src/gen/playground/index.ts +0 -3
  63. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -1028,6 +1028,98 @@ 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
+
1031
1123
  export interface ConsentConfigCookieDomainUpsertInput {
1032
1124
  cookieDomain: ("" | null | string)
1033
1125
  }
@@ -12513,1317 +12605,125 @@ description: (string | null)
12513
12605
  enabled_events: string[]
12514
12606
  }
12515
12607
 
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
12608
+ export interface OrganizationAuthMeInput {
12609
+
12521
12610
  }
12522
12611
 
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
12612
+ export interface OrganizationAuthMeOutput {
12613
+ email: string
12614
+ identityId: string
12615
+ displayName: string
12616
+ identityType: string
12548
12617
  }
12549
12618
 
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
12619
+ export interface OrganizationBillingBudgetsGetInput {
12620
+
12559
12621
  }
12560
12622
 
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
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
12646
+ }
12647
+
12648
+ export interface OrganizationBillingCapsSetOutput {
12649
+ [k: string]: unknown
12650
+ }
12651
+
12652
+ export interface OrganizationBindingsListInput {
12653
+ domainId: string
12654
+ productId: string
12655
+ }
12656
+
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
12586
12673
  }[]
12587
12674
 
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
12675
+ export interface OrganizationClickupInstallInput {
12676
+
12593
12677
  }
12594
12678
 
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
12679
+ export interface OrganizationClickupInstallOutput {
12680
+ url: string
12681
+ }
12682
+
12683
+ export interface OrganizationClickupListInstallationsInput {
12684
+
12685
+ }
12686
+
12687
+ export type OrganizationClickupListInstallationsOutput = {
12688
+ status: string
12689
+ teamId: string
12690
+ teamName: string
12624
12691
  }[]
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
12692
+
12693
+ export interface OrganizationCloudflareInstallInput {
12694
+
12633
12695
  }
12634
12696
 
12635
- export interface ObserveIssuesArchiveInput {
12636
- /**
12637
- * Identifier of the issue
12638
- */
12639
- id: string
12697
+ export interface OrganizationCloudflareInstallOutput {
12698
+ url: string
12640
12699
  }
12641
12700
 
12642
- export interface ObserveIssuesArchiveOutput {
12643
- /**
12644
- * Identifier of the issue
12645
- */
12701
+ export interface OrganizationConnectorsApproveRequestInput {
12646
12702
  id: string
12647
- /**
12648
- * Display title, set when the issue opened and never rewritten
12649
- */
12650
- title: string
12651
- /**
12652
- * unresolved, resolved or archived
12653
- */
12654
- status: string
12655
- /**
12656
- * Where the error appears to come from, or null
12657
- */
12658
- culprit: (string | null)
12659
- /**
12660
- * Who owns the issue, or null if unassigned
12661
- */
12662
- assignee: (string | null)
12663
- /**
12664
- * ISO 8601 timestamp of the most recent event
12665
- */
12666
- lastSeen: string
12667
- /**
12668
- * ISO 8601 timestamp of the first event
12669
- */
12670
- firstSeen: string
12671
- /**
12672
- * ISO 8601 archive timestamp, or null
12673
- */
12674
- archivedAt: (string | null)
12675
- /**
12676
- * How many events have landed on this issue
12677
- */
12678
- eventCount: number
12679
- /**
12680
- * ISO 8601 resolution timestamp, or null
12681
- */
12682
- resolvedAt: (string | null)
12683
- /**
12684
- * Environment the issue was first seen in, or null
12685
- */
12686
- environment: (string | null)
12687
- /**
12688
- * Stable grouping hash the issue is keyed on
12689
- */
12690
- fingerprint: string
12691
- /**
12692
- * ISO 8601 timestamp of the last regression, or null if it never regressed
12693
- */
12694
- regressedAt: (string | null)
12695
- /**
12696
- * Which rule of the ladder matched: explicit, stack, exception or message
12697
- */
12698
- groupingRule: string
12699
- /**
12700
- * Exception class of the first event, or null
12701
- */
12702
- exceptionType: (string | null)
12703
- /**
12704
- * Grouping config version that produced the fingerprint; part of the issue identity
12705
- */
12706
- groupingVersion: string
12703
+ requestId: string
12707
12704
  }
12708
12705
 
12709
- export interface ObserveIssuesAssignInput {
12710
- /**
12711
- * Identifier of the issue
12712
- */
12706
+ export interface OrganizationConnectorsApproveRequestOutput {
12707
+ success: boolean
12708
+ }
12709
+
12710
+ export interface OrganizationConnectorsAttachInput {
12713
12711
  id: string
12714
- /**
12715
- * Who should own the issue; null clears the assignment
12716
- */
12717
- assignee: (string | null)
12712
+ productIds: string[]
12718
12713
  }
12719
12714
 
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 ObserveLogsFacetsInput {
13166
- /**
13167
- * How far back to count, e.g. "1h", "24h", "7d". Up to 30d, default "24h"
13168
- */
13169
- window?: string
13170
- }
13171
-
13172
- export interface ObserveLogsFacetsOutput {
13173
- /**
13174
- * Newest timestamp counted, ISO 8601
13175
- */
13176
- to: string
13177
- /**
13178
- * Oldest timestamp counted, ISO 8601
13179
- */
13180
- from: string
13181
- /**
13182
- * The window that was counted, e.g. "24h"
13183
- */
13184
- window: string
13185
- /**
13186
- * Services, most frequent first
13187
- */
13188
- services: ObserveLogsFacetsOutputItems[]
13189
- /**
13190
- * Severities, most frequent first
13191
- */
13192
- severities: ObserveLogsFacetsOutputItems[]
13193
- /**
13194
- * Environments, most frequent first
13195
- */
13196
- environments: ObserveLogsFacetsOutputItems[]
13197
- }
13198
- export interface ObserveLogsFacetsOutputItems {
13199
- /**
13200
- * How many lines carried it inside the window
13201
- */
13202
- count: number
13203
- /**
13204
- * The value as the emitter wrote it
13205
- */
13206
- value: string
13207
- }
13208
-
13209
- export interface ObserveLogsSearchInput {
13210
- /**
13211
- * Lucene-style expression, ANDed with the structured filters. `key:value` (service, environment, severity, trace_id, span_id, body; any other key matches an attribute), "quoted phrases", AND / OR / NOT in uppercase, parentheses. A bare word matches a whole word in the message body. Example: service:api AND NOT severity:INFO AND "connection refused"
13212
- */
13213
- q?: string
13214
- /**
13215
- * Newest timestamp to include, ISO 8601
13216
- */
13217
- to?: string
13218
- /**
13219
- * Oldest timestamp to include, ISO 8601
13220
- */
13221
- from?: string
13222
- /**
13223
- * How many lines to return, 1-1000, default 100
13224
- */
13225
- limit?: number
13226
- /**
13227
- * The nextCursor of the previous page; omit for the first page
13228
- */
13229
- cursor?: string
13230
- /**
13231
- * Match the message body. A single word matches whole words and is indexed; anything longer is a case-insensitive substring match
13232
- */
13233
- search?: string
13234
- /**
13235
- * Only lines of this service, e.g. "api"
13236
- */
13237
- service?: string
13238
- /**
13239
- * Only lines of this trace
13240
- */
13241
- traceId?: string
13242
- /**
13243
- * Only lines whose severity is one of these, e.g. ["ERROR", "FATAL"]
13244
- *
13245
- * @minItems 1
13246
- */
13247
- severityIn?: [string, ...(string)[]]
13248
- /**
13249
- * Only lines of this environment, e.g. "production"
13250
- */
13251
- environment?: string
13252
- }
13253
-
13254
- export interface ObserveLogsSearchOutput {
13255
- /**
13256
- * The matching log lines, newest first
13257
- */
13258
- rows: {
13259
- /**
13260
- * The log message itself
13261
- */
13262
- body: string
13263
- /**
13264
- * Span this line belongs to, empty when untraced
13265
- */
13266
- spanId: string
13267
- /**
13268
- * Service that wrote the line
13269
- */
13270
- service: string
13271
- /**
13272
- * Trace this line belongs to, empty when untraced
13273
- */
13274
- traceId: string
13275
- /**
13276
- * ISO 8601 timestamp of the log line, millisecond precision
13277
- */
13278
- timestamp: string
13279
- /**
13280
- * Attributes the emitter attached
13281
- */
13282
- attributes: {
13283
- [k: string]: string
13284
- }
13285
- /**
13286
- * Environment the line was written in
13287
- */
13288
- environment: string
13289
- /**
13290
- * Severity as the emitter named it, e.g. "ERROR"
13291
- */
13292
- severityText: string
13293
- /**
13294
- * OpenTelemetry severity number, 1-24
13295
- */
13296
- severityNumber: number
13297
- }[]
13298
- /**
13299
- * Pass back as cursor for the next page; null when the last page was reached
13300
- */
13301
- nextCursor: (string | null)
13302
- }
13303
-
13304
- export interface ObserveLogsTailInput {
13305
- /**
13306
- * The nextCursor of the previous poll; omit to start at the newest lines
13307
- */
13308
- cursor?: string
13309
- /**
13310
- * Only lines of this service
13311
- */
13312
- service?: string
13313
- /**
13314
- * Only lines whose severity is one of these
13315
- *
13316
- * @minItems 1
13317
- */
13318
- severityIn?: [string, ...(string)[]]
13319
- /**
13320
- * Only lines of this environment
13321
- */
13322
- environment?: string
13323
- }
13324
-
13325
- export interface ObserveLogsTailOutput {
13326
- /**
13327
- * The new log lines, oldest first
13328
- */
13329
- rows: {
13330
- /**
13331
- * The log message itself
13332
- */
13333
- body: string
13334
- /**
13335
- * Span this line belongs to, empty when untraced
13336
- */
13337
- spanId: string
13338
- /**
13339
- * Service that wrote the line
13340
- */
13341
- service: string
13342
- /**
13343
- * Trace this line belongs to, empty when untraced
13344
- */
13345
- traceId: string
13346
- /**
13347
- * ISO 8601 timestamp of the log line, millisecond precision
13348
- */
13349
- timestamp: string
13350
- /**
13351
- * Attributes the emitter attached
13352
- */
13353
- attributes: {
13354
- [k: string]: string
13355
- }
13356
- /**
13357
- * Environment the line was written in
13358
- */
13359
- environment: string
13360
- /**
13361
- * Severity as the emitter named it, e.g. "ERROR"
13362
- */
13363
- severityText: string
13364
- /**
13365
- * OpenTelemetry severity number, 1-24
13366
- */
13367
- severityNumber: number
13368
- }[]
13369
- /**
13370
- * Pass back as cursor on the next poll; null only while the product has no logs
13371
- */
13372
- nextCursor: (string | null)
13373
- }
13374
-
13375
- export interface ObserveWebhooksCreateInput {
13376
- /**
13377
- * HTTPS endpoint the event is POSTed to. Plain http:// is rejected
13378
- */
13379
- url: string
13380
- /**
13381
- * Free-form note about what this endpoint is for, up to 1000 characters
13382
- */
13383
- description?: string
13384
- }
13385
-
13386
- export interface ObserveWebhooksCreateOutput {
13387
- /**
13388
- * Identifier of the endpoint
13389
- */
13390
- id: string
13391
- /**
13392
- * HTTPS endpoint events are POSTed to
13393
- */
13394
- url: string
13395
- /**
13396
- * Whether deliveries are being attempted for it
13397
- */
13398
- active: boolean
13399
- /**
13400
- * The signing secret — shown only here, store it now; it cannot be read back
13401
- */
13402
- secret: string
13403
- /**
13404
- * ISO 8601 registration timestamp
13405
- */
13406
- createdAt: string
13407
- /**
13408
- * ISO 8601 timestamp of the last change
13409
- */
13410
- updatedAt: string
13411
- /**
13412
- * Free-form note given at registration, or null
13413
- */
13414
- description: (string | null)
13415
- }
13416
-
13417
- export interface ObserveWebhooksDeleteInput {
13418
- /**
13419
- * Identifier of the endpoint
13420
- */
13421
- id: string
13422
- }
13423
-
13424
- export interface ObserveWebhooksDeleteOutput {
13425
- /**
13426
- * Identifier of the removed endpoint
13427
- */
13428
- id: string
13429
- /**
13430
- * Always true; the call fails otherwise
13431
- */
13432
- deleted: true
13433
- }
13434
-
13435
- export interface ObserveWebhooksDeliveriesListInput {
13436
- /**
13437
- * Page size, 1..200
13438
- */
13439
- limit?: number
13440
- /**
13441
- * Number of deliveries to skip
13442
- */
13443
- offset?: number
13444
- /**
13445
- * Only deliveries in this state
13446
- */
13447
- status?: ("pending" | "success" | "failed")
13448
- /**
13449
- * Only deliveries for this endpoint
13450
- */
13451
- webhookId?: string
13452
- }
13453
-
13454
- export type ObserveWebhooksDeliveriesListOutput = {
13455
- /**
13456
- * Identifier of the delivery, also sent as the envelope id
13457
- */
13458
- id: string
13459
- /**
13460
- * pending means attempts remain; failed means the retry ladder is spent
13461
- */
13462
- status: ("pending" | "success" | "failed")
13463
- /**
13464
- * The event data that was sent, before snake_case conversion
13465
- */
13466
- payload?: {
13467
- [k: string]: unknown
13468
- }
13469
- /**
13470
- * ISO 8601 time the delivery was opened
13471
- */
13472
- createdAt: string
13473
- /**
13474
- * Event that was delivered, e.g. "observe/issue.created"
13475
- */
13476
- eventName: string
13477
- /**
13478
- * Why the last attempt failed, or null
13479
- */
13480
- lastError: (string | null)
13481
- /**
13482
- * Endpoint the delivery is for
13483
- */
13484
- webhookId: string
13485
- /**
13486
- * ISO 8601 time it succeeded, or null
13487
- */
13488
- deliveredAt: (string | null)
13489
- /**
13490
- * How many attempts have been made so far
13491
- */
13492
- attemptCount: number
13493
- /**
13494
- * Identity of the source event, repeated on every attempt and on a redelivery
13495
- */
13496
- idempotencyKey: string
13497
- /**
13498
- * HTTP status of the last attempt, or null
13499
- */
13500
- lastStatusCode: (number | null)
13501
- }[]
13502
-
13503
- export interface ObserveWebhooksGetInput {
13504
- /**
13505
- * Identifier of the endpoint
13506
- */
13507
- id: string
13508
- }
13509
-
13510
- export interface ObserveWebhooksGetOutput {
13511
- /**
13512
- * Identifier of the endpoint
13513
- */
13514
- id: string
13515
- /**
13516
- * HTTPS endpoint events are POSTed to
13517
- */
13518
- url: string
13519
- /**
13520
- * Whether deliveries are being attempted for it
13521
- */
13522
- active: boolean
13523
- /**
13524
- * ISO 8601 registration timestamp
13525
- */
13526
- createdAt: string
13527
- /**
13528
- * ISO 8601 timestamp of the last change
13529
- */
13530
- updatedAt: string
13531
- /**
13532
- * Free-form note given at registration, or null
13533
- */
13534
- description: (string | null)
13535
- }
13536
-
13537
- export interface ObserveWebhooksListInput {
13538
-
13539
- }
13540
-
13541
- export type ObserveWebhooksListOutput = {
13542
- /**
13543
- * Identifier of the endpoint
13544
- */
13545
- id: string
13546
- /**
13547
- * HTTPS endpoint events are POSTed to
13548
- */
13549
- url: string
13550
- /**
13551
- * Whether deliveries are being attempted for it
13552
- */
13553
- active: boolean
13554
- /**
13555
- * ISO 8601 registration timestamp
13556
- */
13557
- createdAt: string
13558
- /**
13559
- * ISO 8601 timestamp of the last change
13560
- */
13561
- updatedAt: string
13562
- /**
13563
- * Free-form note given at registration, or null
13564
- */
13565
- description: (string | null)
13566
- }[]
13567
-
13568
- export interface ObserveWebhooksRedeliverInput {
13569
- /**
13570
- * Identifier of the delivery to send again
13571
- */
13572
- id: string
13573
- }
13574
-
13575
- export interface ObserveWebhooksRedeliverOutput {
13576
- /**
13577
- * Identifier of the delivery, also sent as the envelope id
13578
- */
13579
- id: string
13580
- /**
13581
- * pending means attempts remain; failed means the retry ladder is spent
13582
- */
13583
- status: ("pending" | "success" | "failed")
13584
- /**
13585
- * The event data that was sent, before snake_case conversion
13586
- */
13587
- payload?: {
13588
- [k: string]: unknown
13589
- }
13590
- /**
13591
- * ISO 8601 time the delivery was opened
13592
- */
13593
- createdAt: string
13594
- /**
13595
- * Event that was delivered, e.g. "observe/issue.created"
13596
- */
13597
- eventName: string
13598
- /**
13599
- * Why the last attempt failed, or null
13600
- */
13601
- lastError: (string | null)
13602
- /**
13603
- * Endpoint the delivery is for
13604
- */
13605
- webhookId: string
13606
- /**
13607
- * ISO 8601 time it succeeded, or null
13608
- */
13609
- deliveredAt: (string | null)
13610
- /**
13611
- * How many attempts have been made so far
13612
- */
13613
- attemptCount: number
13614
- /**
13615
- * Identity of the source event, repeated on every attempt and on a redelivery
13616
- */
13617
- idempotencyKey: string
13618
- /**
13619
- * HTTP status of the last attempt, or null
13620
- */
13621
- lastStatusCode: (number | null)
13622
- }
13623
-
13624
- export interface ObserveWebhooksRotateSecretInput {
13625
- /**
13626
- * Identifier of the endpoint
13627
- */
13628
- id: string
13629
- }
13630
-
13631
- export interface ObserveWebhooksRotateSecretOutput {
13632
- /**
13633
- * Identifier of the endpoint
13634
- */
13635
- id: string
13636
- /**
13637
- * HTTPS endpoint events are POSTed to
13638
- */
13639
- url: string
13640
- /**
13641
- * Whether deliveries are being attempted for it
13642
- */
13643
- active: boolean
13644
- /**
13645
- * The signing secret — shown only here, store it now; it cannot be read back
13646
- */
13647
- secret: string
13648
- /**
13649
- * ISO 8601 registration timestamp
13650
- */
13651
- createdAt: string
13652
- /**
13653
- * ISO 8601 timestamp of the last change
13654
- */
13655
- updatedAt: string
13656
- /**
13657
- * Free-form note given at registration, or null
13658
- */
13659
- description: (string | null)
13660
- }
13661
-
13662
- export interface ObserveWebhooksUpdateInput {
13663
- /**
13664
- * Identifier of the endpoint to change
13665
- */
13666
- id: string
13667
- /**
13668
- * New HTTPS endpoint. Plain http:// is rejected
13669
- */
13670
- url?: string
13671
- /**
13672
- * false keeps the registration and stops delivery; true resumes it
13673
- */
13674
- active?: boolean
13675
- /**
13676
- * New note, or null to clear it
13677
- */
13678
- description?: (string | null)
13679
- }
13680
-
13681
- export interface ObserveWebhooksUpdateOutput {
13682
- /**
13683
- * Identifier of the endpoint
13684
- */
13685
- id: string
13686
- /**
13687
- * HTTPS endpoint events are POSTed to
13688
- */
13689
- url: string
13690
- /**
13691
- * Whether deliveries are being attempted for it
13692
- */
13693
- active: boolean
13694
- /**
13695
- * ISO 8601 registration timestamp
13696
- */
13697
- createdAt: string
13698
- /**
13699
- * ISO 8601 timestamp of the last change
13700
- */
13701
- updatedAt: string
13702
- /**
13703
- * Free-form note given at registration, or null
13704
- */
13705
- description: (string | null)
13706
- }
13707
-
13708
- export interface OrganizationAuthMeInput {
13709
-
13710
- }
13711
-
13712
- export interface OrganizationAuthMeOutput {
13713
- email: string
13714
- identityId: string
13715
- displayName: string
13716
- identityType: string
13717
- }
13718
-
13719
- export interface OrganizationBillingBudgetsGetInput {
13720
-
13721
- }
13722
-
13723
- export interface OrganizationBillingBudgetsGetOutput {
13724
- [k: string]: unknown
13725
- }
13726
-
13727
- export interface OrganizationBillingBudgetsSetInput {
13728
- ceiling_minor: number
13729
- }
13730
-
13731
- export interface OrganizationBillingBudgetsSetOutput {
13732
- [k: string]: unknown
13733
- }
13734
-
13735
- export interface OrganizationBillingCapsClearInput {
13736
- productId: string
13737
- }
13738
-
13739
- export interface OrganizationBillingCapsClearOutput {
13740
- [k: string]: unknown
13741
- }
13742
-
13743
- export interface OrganizationBillingCapsSetInput {
13744
- cap_minor: number
13745
- productId: string
13746
- }
13747
-
13748
- export interface OrganizationBillingCapsSetOutput {
13749
- [k: string]: unknown
13750
- }
13751
-
13752
- export interface OrganizationBindingsListInput {
13753
- domainId: string
13754
- productId: string
13755
- }
13756
-
13757
- export type OrganizationBindingsListOutput = {
13758
- host: string
13759
- status: ("pending" | "active" | "failed")
13760
- records: {
13761
- ttl?: number
13762
- name?: string
13763
- target: string
13764
- proxied?: boolean
13765
- priority?: number
13766
- recordType: string
13767
- }[]
13768
- domainId: string
13769
- bindingId: string
13770
- instruction: (string | null)
13771
- statusDetail: (string | null)
13772
- ownerExtension: string
13773
- }[]
13774
-
13775
- export interface OrganizationClickupInstallInput {
13776
-
13777
- }
13778
-
13779
- export interface OrganizationClickupInstallOutput {
13780
- url: string
13781
- }
13782
-
13783
- export interface OrganizationClickupListInstallationsInput {
13784
-
13785
- }
13786
-
13787
- export type OrganizationClickupListInstallationsOutput = {
13788
- status: string
13789
- teamId: string
13790
- teamName: string
13791
- }[]
13792
-
13793
- export interface OrganizationCloudflareInstallInput {
13794
-
13795
- }
13796
-
13797
- export interface OrganizationCloudflareInstallOutput {
13798
- url: string
13799
- }
13800
-
13801
- export interface OrganizationConnectorsApproveRequestInput {
13802
- id: string
13803
- requestId: string
13804
- }
13805
-
13806
- export interface OrganizationConnectorsApproveRequestOutput {
13807
- success: boolean
13808
- }
13809
-
13810
- export interface OrganizationConnectorsAttachInput {
13811
- id: string
13812
- productIds: string[]
13813
- }
13814
-
13815
- export interface OrganizationConnectorsAttachOutput {
13816
- attachments: {
13817
- createdAt: string
13818
- createdBy: (string | null)
13819
- productId: string
13820
- customerId: (string | null)
13821
- descriptiveName: (string | null)
13822
- }[]
13823
- connectorId: string
13824
- }
13825
-
13826
- export interface OrganizationConnectorsDeleteInput {
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
12724
+ }
12725
+
12726
+ export interface OrganizationConnectorsDeleteInput {
13827
12727
  id: string
13828
12728
  }
13829
12729
 
@@ -14081,9 +12981,8 @@ details: string
14081
12981
  }
14082
12982
 
14083
12983
  export interface OrganizationFeedbackSubmitOutput {
14084
- url: (string | null)
14085
- number: (number | null)
14086
- supportThreadId?: string
12984
+ url: string
12985
+ number: number
14087
12986
  }
14088
12987
 
14089
12988
  export interface OrganizationGdriveInstallInput {
@@ -14362,6 +13261,25 @@ display_name: string
14362
13261
  }[]
14363
13262
  }
14364
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
+ }
13281
+ }
13282
+
14365
13283
  export interface OrganizationProductCreateInput {
14366
13284
  name: string
14367
13285
  region?: "eu"
@@ -14375,14 +13293,34 @@ role: string
14375
13293
  slug: string
14376
13294
  demoAt: (string | null)
14377
13295
  status: string
14378
- logoUrl: (string | null)
14379
13296
  blockedAt: (string | null)
14380
13297
  createdAt: string
14381
13298
  archivedAt: (string | null)
14382
- description: (string | null)
14383
13299
  organizationId: string
14384
13300
  }
14385
13301
 
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
+
14386
13324
  export interface OrganizationProductListInput {
14387
13325
 
14388
13326
  }
@@ -14395,49 +13333,26 @@ role: string
14395
13333
  slug: string
14396
13334
  demoAt: (string | null)
14397
13335
  status: string
14398
- logoUrl: (string | null)
14399
13336
  blockedAt: (string | null)
14400
13337
  createdAt: string
14401
13338
  archivedAt: (string | null)
14402
- description: (string | null)
14403
13339
  organizationId: string
14404
13340
  }[]
14405
13341
  }
14406
13342
 
14407
- export interface OrganizationProductListAccessInput {
13343
+ export interface OrganizationProductListInvitationsInput {
14408
13344
  productId: string
14409
13345
  }
14410
13346
 
14411
- export interface OrganizationProductListAccessOutput {
14412
- members: {
14413
- role: string
14414
- email: (string | null)
14415
- roleId: (string | null)
14416
- userId: string
14417
- isCustom: boolean
14418
- roleName: (string | null)
14419
- sourceRole: ({
14420
- id: string
14421
- name: string
14422
- } | null)
14423
- displayName: (string | null)
14424
- }[]
14425
- orgRoles: {
13347
+ export interface OrganizationProductListInvitationsOutput {
13348
+ invitations: {
14426
13349
  id: string
14427
- name: string
14428
- description: (string | null)
14429
- }[]
14430
- canManage: boolean
14431
- inherited: {
14432
- email: (string | null)
14433
- userId: string
14434
- orgRole: ("owner" | "admin")
14435
- displayName: (string | null)
14436
- }[]
14437
- candidates: {
13350
+ role: string
14438
13351
  email: (string | null)
14439
- userId: string
14440
- displayName: (string | null)
13352
+ status: string
13353
+ createdAt: string
13354
+ expiresAt: string
13355
+ invitedByDisplayName: string
14441
13356
  }[]
14442
13357
  }
14443
13358
 
@@ -14476,13 +13391,13 @@ productId: (string | null)
14476
13391
  }[]
14477
13392
  }
14478
13393
 
14479
- export interface OrganizationProductRevokeAccessInput {
14480
- userId: string
13394
+ export interface OrganizationProductRevokeInvitationInput {
14481
13395
  productId: string
13396
+ invitationId: string
14482
13397
  }
14483
13398
 
14484
- export interface OrganizationProductRevokeAccessOutput {
14485
- [k: string]: unknown
13399
+ export interface OrganizationProductRevokeInvitationOutput {
13400
+ message: string
14486
13401
  }
14487
13402
 
14488
13403
  export interface OrganizationProductSelectInput {
@@ -14495,23 +13410,9 @@ name: string
14495
13410
  slug: string
14496
13411
  }
14497
13412
 
14498
- export interface OrganizationProductSetAccessInput {
14499
- role?: ("admin" | "member" | "viewer")
14500
- roleId?: string
14501
- userId: string
14502
- productId: string
14503
- }
14504
-
14505
- export interface OrganizationProductSetAccessOutput {
14506
- role: string
14507
- userId: string
14508
- productId: string
14509
- }
14510
-
14511
13413
  export interface OrganizationProductUpdateInput {
14512
- name?: string
13414
+ name: string
14513
13415
  productId: string
14514
- description?: (string | null)
14515
13416
  }
14516
13417
 
14517
13418
  export interface OrganizationProductUpdateOutput {
@@ -14521,11 +13422,9 @@ role: string
14521
13422
  slug: string
14522
13423
  demoAt: (string | null)
14523
13424
  status: string
14524
- logoUrl: (string | null)
14525
13425
  blockedAt: (string | null)
14526
13426
  createdAt: string
14527
13427
  archivedAt: (string | null)
14528
- description: (string | null)
14529
13428
  organizationId: string
14530
13429
  }
14531
13430
 
@@ -14735,313 +13634,6 @@ name: string
14735
13634
  activeProductId: (string | null)
14736
13635
  }
14737
13636
 
14738
- export interface OrganizationSupportThreadCreateInput {
14739
- body: string
14740
- title: string
14741
- }
14742
-
14743
- export interface OrganizationSupportThreadCreateOutput {
14744
- id: string
14745
- title: string
14746
- status: string
14747
- category: ("open" | "pending" | "resolved" | "closed")
14748
- messages: {
14749
- id: string
14750
- body: string
14751
- author: {
14752
- kind: ("user" | "agent")
14753
- name: string
14754
- }
14755
- createdAt: string
14756
- }[]
14757
- createdAt: string
14758
- lastMessageAt: string
14759
- lastMessagePreview: (string | null)
14760
- }
14761
-
14762
- export interface OrganizationSupportThreadGetInput {
14763
- id: string
14764
- }
14765
-
14766
- export interface OrganizationSupportThreadGetOutput {
14767
- id: string
14768
- title: string
14769
- status: string
14770
- category: ("open" | "pending" | "resolved" | "closed")
14771
- messages: {
14772
- id: string
14773
- body: string
14774
- author: {
14775
- kind: ("user" | "agent")
14776
- name: string
14777
- }
14778
- createdAt: string
14779
- }[]
14780
- createdAt: string
14781
- lastMessageAt: string
14782
- lastMessagePreview: (string | null)
14783
- }
14784
-
14785
- export interface OrganizationSupportThreadReplyInput {
14786
- id: string
14787
- body: string
14788
- }
14789
-
14790
- export interface OrganizationSupportThreadReplyOutput {
14791
- id: string
14792
- title: string
14793
- status: string
14794
- category: ("open" | "pending" | "resolved" | "closed")
14795
- messages: {
14796
- id: string
14797
- body: string
14798
- author: {
14799
- kind: ("user" | "agent")
14800
- name: string
14801
- }
14802
- createdAt: string
14803
- }[]
14804
- createdAt: string
14805
- lastMessageAt: string
14806
- lastMessagePreview: (string | null)
14807
- }
14808
-
14809
- export interface OrganizationSupportThreadsListInput {
14810
-
14811
- }
14812
-
14813
- export interface OrganizationSupportThreadsListOutput {
14814
- threads: {
14815
- id: string
14816
- title: string
14817
- status: string
14818
- category: ("open" | "pending" | "resolved" | "closed")
14819
- createdAt: string
14820
- lastMessageAt: string
14821
- lastMessagePreview: (string | null)
14822
- }[]
14823
- }
14824
-
14825
- export interface PlaygroundAnalyticsOverviewInput {
14826
- /**
14827
- * Max records per entity in recent[]; omit for the endpoint default
14828
- */
14829
- limit?: number
14830
- }
14831
-
14832
- export interface PlaygroundAnalyticsOverviewOutput {
14833
- ok: boolean
14834
- minted: boolean
14835
- overview?: unknown
14836
- http_status: number
14837
- }
14838
-
14839
- export interface PlaygroundBillingEntitlementsInput {
14840
-
14841
- }
14842
-
14843
- export interface PlaygroundBillingEntitlementsOutput {
14844
- ok: boolean
14845
- minted: boolean
14846
- http_status: number
14847
- entitlements?: unknown
14848
- }
14849
-
14850
- export interface PlaygroundBillingRecordUsageInput {
14851
- /**
14852
- * Quantity of events to record against playground-events (SUM); defaults to 1
14853
- */
14854
- value?: number
14855
- }
14856
-
14857
- export interface PlaygroundBillingRecordUsageOutput {
14858
- minted: boolean
14859
- accepted: (number | null)
14860
- recorded: boolean
14861
- duplicates: (number | null)
14862
- http_status: number
14863
- }
14864
-
14865
- export interface PlaygroundClickupCreateTaskInput {
14866
- /**
14867
- * Task title; defaults to a fixture label
14868
- */
14869
- name?: string
14870
- /**
14871
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
14872
- */
14873
- listId?: string
14874
- }
14875
-
14876
- export interface PlaygroundClickupCreateTaskOutput {
14877
- minted: boolean
14878
- task_id: (string | null)
14879
- list_status: number
14880
- vend_status: number
14881
- clickup_status: number
14882
- installation_count: number
14883
- }
14884
-
14885
- export interface PlaygroundClickupGetLastWebhookInput {
14886
-
14887
- }
14888
-
14889
- export type PlaygroundClickupGetLastWebhookOutput = ({
14890
- payload: string
14891
- event_id: string
14892
- provider: string
14893
- verified: boolean
14894
- product_id: string
14895
- occurred_at: string
14896
- connector_id: string
14897
- clickup_event: (string | null)
14898
- receipt_count: number
14899
- } | {
14900
- found: false
14901
- })
14902
-
14903
- export interface PlaygroundClickupGetOverviewInput {
14904
-
14905
- }
14906
-
14907
- export interface PlaygroundClickupGetOverviewOutput {
14908
- team: ({
14909
- teamId: string
14910
- teamName: string
14911
- } | null)
14912
- lists: PlaygroundClickupGetOverviewOutputItems[]
14913
- tasks: {
14914
- id: string
14915
- name: string
14916
- status: (string | null)
14917
- }[]
14918
- minted: boolean
14919
- spaces: PlaygroundClickupGetOverviewOutputItems[]
14920
- list_status: number
14921
- vend_status: number
14922
- lists_status: number
14923
- tasks_status: number
14924
- spaces_status: number
14925
- folders_status: number
14926
- installation_count: number
14927
- }
14928
- export interface PlaygroundClickupGetOverviewOutputItems {
14929
- id: string
14930
- name: string
14931
- }
14932
-
14933
- export interface PlaygroundGdriveGetLastChangeInput {
14934
-
14935
- }
14936
-
14937
- export type PlaygroundGdriveGetLastChangeOutput = ({
14938
- file_id: string
14939
- removed: boolean
14940
- file_name: (string | null)
14941
- mime_type: (string | null)
14942
- product_id: string
14943
- occurred_at: string
14944
- connector_id: string
14945
- resource_state: string
14946
- } | {
14947
- found: false
14948
- })
14949
-
14950
- export interface PlaygroundGdriveReadFileInput {
14951
- /**
14952
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
14953
- */
14954
- fileId?: string
14955
- }
14956
-
14957
- export interface PlaygroundGdriveReadFileOutput {
14958
- minted: boolean
14959
- file_id: (string | null)
14960
- file_name: (string | null)
14961
- mime_type: (string | null)
14962
- file_count: number
14963
- get_status: number
14964
- list_status: number
14965
- vend_status: number
14966
- content_bytes: (number | null)
14967
- }
14968
-
14969
- export interface PlaygroundGoogleadsReadCustomerInput {
14970
-
14971
- }
14972
-
14973
- export interface PlaygroundGoogleadsReadCustomerOutput {
14974
- minted: boolean
14975
- vended: boolean
14976
- customer_id: (string | null)
14977
- vend_status: number
14978
- result_count: number
14979
- search_status: number
14980
- login_customer_id: (string | null)
14981
- }
14982
-
14983
- export interface PlaygroundLifecycleGetStateInput {
14984
-
14985
- }
14986
-
14987
- export interface PlaygroundLifecycleGetStateOutput {
14988
- blocked: boolean
14989
- archived: boolean
14990
- productId: string
14991
- lastBlockTransition: ({
14992
- eventId: string
14993
- eventName: string
14994
- productId: string
14995
- occurredAt: string
14996
- recordedAt: string
14997
- receiptCount: number
14998
- organizationId: string
14999
- cascadedFromOrg: boolean
15000
- } | null)
15001
- lastArchiveTransition: ({
15002
- eventId: string
15003
- eventName: string
15004
- productId: string
15005
- occurredAt: string
15006
- recordedAt: string
15007
- receiptCount: number
15008
- organizationId: string
15009
- cascadedFromOrg: boolean
15010
- } | null)
15011
- }
15012
-
15013
- export interface PlaygroundLifecycleListEventsInput {
15014
-
15015
- }
15016
-
15017
- export type PlaygroundLifecycleListEventsOutput = {
15018
- eventId: string
15019
- eventName: string
15020
- productId: string
15021
- occurredAt: string
15022
- recordedAt: string
15023
- receiptCount: number
15024
- organizationId: string
15025
- cascadedFromOrg: boolean
15026
- }[]
15027
-
15028
- export interface PlaygroundWebhookGetLastInput {
15029
-
15030
- }
15031
-
15032
- export type PlaygroundWebhookGetLastOutput = ({
15033
- payload?: unknown
15034
- event_id: string
15035
- provider: string
15036
- verified: boolean
15037
- product_id: string
15038
- occurred_at: string
15039
- connector_id: string
15040
- delivery_count: number
15041
- } | {
15042
- found: false
15043
- })
15044
-
15045
13637
  export interface RealtimeArchiveExportInput {
15046
13638
  /**
15047
13639
  * Only entries with ts <= to_ts (epoch ms)