@lessly/sdk-app 36.2.0 → 37.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.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +5 -0
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +6 -2
- package/dist/brain/index.d.ts +6 -2
- package/dist/brain/index.js +5 -1
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-B78AtFRC.d.cts → client.gen-C7SVQnZq.d.cts} +94 -1596
- package/dist/{client.gen-B78AtFRC.d.ts → client.gen-C7SVQnZq.d.ts} +94 -1596
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +13 -520
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -520
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +13 -520
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +7 -0
- package/src/gen/client.gen.ts +5 -142
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +190 -1704
- package/dist/observe/index.cjs +0 -126
- package/dist/observe/index.cjs.map +0 -1
- package/dist/observe/index.d.cts +0 -100
- package/dist/observe/index.d.ts +0 -100
- package/dist/observe/index.js +0 -101
- package/dist/observe/index.js.map +0 -1
- package/dist/playground/index.cjs +0 -66
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -52
- package/dist/playground/index.d.ts +0 -52
- package/dist/playground/index.js +0 -53
- package/dist/playground/index.js.map +0 -1
- package/src/gen/observe/index.ts +0 -3
- package/src/gen/observe/queryOptions.gen.ts +0 -161
- package/src/gen/playground/index.ts +0 -3
- package/src/gen/playground/queryOptions.gen.ts +0 -86
package/src/gen/types.gen.ts
CHANGED
|
@@ -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,1510 +12605,125 @@ description: (string | null)
|
|
|
12513
12605
|
enabled_events: string[]
|
|
12514
12606
|
}
|
|
12515
12607
|
|
|
12516
|
-
export interface
|
|
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
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
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
|
|
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
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12571
|
-
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12581
|
-
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
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
|
|
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
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12605
|
-
|
|
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
|
-
|
|
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
|
|
12636
|
-
|
|
12637
|
-
* Identifier of the issue
|
|
12638
|
-
*/
|
|
12639
|
-
id: string
|
|
12697
|
+
export interface OrganizationCloudflareInstallOutput {
|
|
12698
|
+
url: string
|
|
12640
12699
|
}
|
|
12641
12700
|
|
|
12642
|
-
export interface
|
|
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
|
|
12710
|
-
|
|
12711
|
-
|
|
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
|
|
12721
|
-
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
12726
|
-
|
|
12727
|
-
|
|
12728
|
-
|
|
12729
|
-
|
|
12730
|
-
|
|
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 ObserveTracesGetInput {
|
|
13376
|
-
/**
|
|
13377
|
-
* The trace to render, by its 32-character hex id
|
|
13378
|
-
*/
|
|
13379
|
-
traceId: string
|
|
13380
|
-
}
|
|
13381
|
-
|
|
13382
|
-
export interface ObserveTracesGetOutput {
|
|
13383
|
-
/**
|
|
13384
|
-
* Every span of the trace, oldest first; empty when the product has no such trace
|
|
13385
|
-
*/
|
|
13386
|
-
spans: {
|
|
13387
|
-
/**
|
|
13388
|
-
* OTLP span kind: UNSPECIFIED, INTERNAL, SERVER, CLIENT, PRODUCER or CONSUMER
|
|
13389
|
-
*/
|
|
13390
|
-
kind: string
|
|
13391
|
-
/**
|
|
13392
|
-
* Span name, e.g. "GET /users"
|
|
13393
|
-
*/
|
|
13394
|
-
name: string
|
|
13395
|
-
/**
|
|
13396
|
-
* How many ancestors the span has inside this trace; the root is 0
|
|
13397
|
-
*/
|
|
13398
|
-
depth: number
|
|
13399
|
-
/**
|
|
13400
|
-
* Events recorded on the span, in the order they were sent
|
|
13401
|
-
*/
|
|
13402
|
-
events: {
|
|
13403
|
-
/**
|
|
13404
|
-
* Event name as the emitter wrote it, e.g. "exception"
|
|
13405
|
-
*/
|
|
13406
|
-
name: string
|
|
13407
|
-
/**
|
|
13408
|
-
* When the event was recorded, ISO 8601
|
|
13409
|
-
*/
|
|
13410
|
-
timestamp: string
|
|
13411
|
-
/**
|
|
13412
|
-
* The event's own attributes, raw
|
|
13413
|
-
*/
|
|
13414
|
-
attributes: {
|
|
13415
|
-
[k: string]: unknown
|
|
13416
|
-
}
|
|
13417
|
-
}[]
|
|
13418
|
-
/**
|
|
13419
|
-
* The span id, 16 hex characters
|
|
13420
|
-
*/
|
|
13421
|
-
spanId: string
|
|
13422
|
-
/**
|
|
13423
|
-
* OTLP span status: UNSET, OK or ERROR
|
|
13424
|
-
*/
|
|
13425
|
-
status: string
|
|
13426
|
-
/**
|
|
13427
|
-
* When the span ended, ISO 8601, nanosecond precision
|
|
13428
|
-
*/
|
|
13429
|
-
endTime: string
|
|
13430
|
-
/**
|
|
13431
|
-
* Service that recorded the span
|
|
13432
|
-
*/
|
|
13433
|
-
service: string
|
|
13434
|
-
/**
|
|
13435
|
-
* When the span started, ISO 8601, nanosecond precision
|
|
13436
|
-
*/
|
|
13437
|
-
startTime: string
|
|
13438
|
-
/**
|
|
13439
|
-
* Attributes the emitter attached
|
|
13440
|
-
*/
|
|
13441
|
-
attributes: {
|
|
13442
|
-
[k: string]: string
|
|
13443
|
-
}
|
|
13444
|
-
/**
|
|
13445
|
-
* How long the span took, in milliseconds
|
|
13446
|
-
*/
|
|
13447
|
-
durationMs: number
|
|
13448
|
-
/**
|
|
13449
|
-
* Environment the span was recorded in
|
|
13450
|
-
*/
|
|
13451
|
-
environment: string
|
|
13452
|
-
/**
|
|
13453
|
-
* Parent span id; empty for the root or when the parent is not in this trace
|
|
13454
|
-
*/
|
|
13455
|
-
parentSpanId: string
|
|
13456
|
-
/**
|
|
13457
|
-
* Status message the emitter attached, empty when none
|
|
13458
|
-
*/
|
|
13459
|
-
statusMessage: string
|
|
13460
|
-
/**
|
|
13461
|
-
* Attributes of the emitting resource
|
|
13462
|
-
*/
|
|
13463
|
-
resourceAttributes: {
|
|
13464
|
-
[k: string]: string
|
|
13465
|
-
}
|
|
13466
|
-
}[]
|
|
13467
|
-
/**
|
|
13468
|
-
* The trace that was read
|
|
13469
|
-
*/
|
|
13470
|
-
traceId: string
|
|
13471
|
-
}
|
|
13472
|
-
|
|
13473
|
-
export interface ObserveTracesSearchInput {
|
|
13474
|
-
/**
|
|
13475
|
-
* Newest span start to include, ISO 8601
|
|
13476
|
-
*/
|
|
13477
|
-
to?: string
|
|
13478
|
-
/**
|
|
13479
|
-
* Oldest span start to include, ISO 8601
|
|
13480
|
-
*/
|
|
13481
|
-
from?: string
|
|
13482
|
-
/**
|
|
13483
|
-
* Only traces one of whose spans carries this exact span name, e.g. "GET /users"
|
|
13484
|
-
*/
|
|
13485
|
-
name?: string
|
|
13486
|
-
/**
|
|
13487
|
-
* How many traces to return, 1-1000, default 100
|
|
13488
|
-
*/
|
|
13489
|
-
limit?: number
|
|
13490
|
-
/**
|
|
13491
|
-
* The nextCursor of the previous page; omit for the first page
|
|
13492
|
-
*/
|
|
13493
|
-
cursor?: string
|
|
13494
|
-
/**
|
|
13495
|
-
* Only traces in this state: "error" when any span failed, "ok" when none did and at least one reported OK, "unset" when no span reported a status
|
|
13496
|
-
*/
|
|
13497
|
-
status?: ("ok" | "error" | "unset")
|
|
13498
|
-
/**
|
|
13499
|
-
* Only traces one of whose spans belongs to this service, e.g. "api"
|
|
13500
|
-
*/
|
|
13501
|
-
service?: string
|
|
13502
|
-
/**
|
|
13503
|
-
* Only this trace, by its 32-character hex id
|
|
13504
|
-
*/
|
|
13505
|
-
traceId?: string
|
|
13506
|
-
/**
|
|
13507
|
-
* Only traces of this environment, e.g. "production"
|
|
13508
|
-
*/
|
|
13509
|
-
environment?: string
|
|
13510
|
-
/**
|
|
13511
|
-
* Only traces that took at most this many milliseconds end to end
|
|
13512
|
-
*/
|
|
13513
|
-
maxDurationMs?: number
|
|
13514
|
-
/**
|
|
13515
|
-
* Only traces that took at least this many milliseconds end to end
|
|
13516
|
-
*/
|
|
13517
|
-
minDurationMs?: number
|
|
13518
|
-
}
|
|
13519
|
-
|
|
13520
|
-
export interface ObserveTracesSearchOutput {
|
|
13521
|
-
/**
|
|
13522
|
-
* The matching traces, newest first
|
|
13523
|
-
*/
|
|
13524
|
-
traces: {
|
|
13525
|
-
/**
|
|
13526
|
-
* The trace id, 32 hex characters
|
|
13527
|
-
*/
|
|
13528
|
-
traceId: string
|
|
13529
|
-
/**
|
|
13530
|
-
* True when at least one span failed
|
|
13531
|
-
*/
|
|
13532
|
-
hasError: boolean
|
|
13533
|
-
/**
|
|
13534
|
-
* Name of the root span — the one with no parent, or the earliest span
|
|
13535
|
-
*/
|
|
13536
|
-
rootName: string
|
|
13537
|
-
/**
|
|
13538
|
-
* How many spans the trace has
|
|
13539
|
-
*/
|
|
13540
|
-
spanCount: number
|
|
13541
|
-
/**
|
|
13542
|
-
* When the earliest span started, ISO 8601
|
|
13543
|
-
*/
|
|
13544
|
-
startTime: string
|
|
13545
|
-
/**
|
|
13546
|
-
* Earliest start to latest end, in milliseconds
|
|
13547
|
-
*/
|
|
13548
|
-
durationMs: number
|
|
13549
|
-
/**
|
|
13550
|
-
* How many of them reported an ERROR status
|
|
13551
|
-
*/
|
|
13552
|
-
errorCount: number
|
|
13553
|
-
/**
|
|
13554
|
-
* Environment the root span was recorded in
|
|
13555
|
-
*/
|
|
13556
|
-
environment: string
|
|
13557
|
-
/**
|
|
13558
|
-
* Service the root span belongs to
|
|
13559
|
-
*/
|
|
13560
|
-
rootService: string
|
|
13561
|
-
}[]
|
|
13562
|
-
/**
|
|
13563
|
-
* Pass back as cursor for the next page; null when the last page was reached
|
|
13564
|
-
*/
|
|
13565
|
-
nextCursor: (string | null)
|
|
13566
|
-
}
|
|
13567
|
-
|
|
13568
|
-
export interface ObserveWebhooksCreateInput {
|
|
13569
|
-
/**
|
|
13570
|
-
* HTTPS endpoint the event is POSTed to. Plain http:// is rejected
|
|
13571
|
-
*/
|
|
13572
|
-
url: string
|
|
13573
|
-
/**
|
|
13574
|
-
* Free-form note about what this endpoint is for, up to 1000 characters
|
|
13575
|
-
*/
|
|
13576
|
-
description?: string
|
|
13577
|
-
}
|
|
13578
|
-
|
|
13579
|
-
export interface ObserveWebhooksCreateOutput {
|
|
13580
|
-
/**
|
|
13581
|
-
* Identifier of the endpoint
|
|
13582
|
-
*/
|
|
13583
|
-
id: string
|
|
13584
|
-
/**
|
|
13585
|
-
* HTTPS endpoint events are POSTed to
|
|
13586
|
-
*/
|
|
13587
|
-
url: string
|
|
13588
|
-
/**
|
|
13589
|
-
* Whether deliveries are being attempted for it
|
|
13590
|
-
*/
|
|
13591
|
-
active: boolean
|
|
13592
|
-
/**
|
|
13593
|
-
* The signing secret — shown only here, store it now; it cannot be read back
|
|
13594
|
-
*/
|
|
13595
|
-
secret: string
|
|
13596
|
-
/**
|
|
13597
|
-
* ISO 8601 registration timestamp
|
|
13598
|
-
*/
|
|
13599
|
-
createdAt: string
|
|
13600
|
-
/**
|
|
13601
|
-
* ISO 8601 timestamp of the last change
|
|
13602
|
-
*/
|
|
13603
|
-
updatedAt: string
|
|
13604
|
-
/**
|
|
13605
|
-
* Free-form note given at registration, or null
|
|
13606
|
-
*/
|
|
13607
|
-
description: (string | null)
|
|
13608
|
-
}
|
|
13609
|
-
|
|
13610
|
-
export interface ObserveWebhooksDeleteInput {
|
|
13611
|
-
/**
|
|
13612
|
-
* Identifier of the endpoint
|
|
13613
|
-
*/
|
|
13614
|
-
id: string
|
|
13615
|
-
}
|
|
13616
|
-
|
|
13617
|
-
export interface ObserveWebhooksDeleteOutput {
|
|
13618
|
-
/**
|
|
13619
|
-
* Identifier of the removed endpoint
|
|
13620
|
-
*/
|
|
13621
|
-
id: string
|
|
13622
|
-
/**
|
|
13623
|
-
* Always true; the call fails otherwise
|
|
13624
|
-
*/
|
|
13625
|
-
deleted: true
|
|
13626
|
-
}
|
|
13627
|
-
|
|
13628
|
-
export interface ObserveWebhooksDeliveriesListInput {
|
|
13629
|
-
/**
|
|
13630
|
-
* Page size, 1..200
|
|
13631
|
-
*/
|
|
13632
|
-
limit?: number
|
|
13633
|
-
/**
|
|
13634
|
-
* Number of deliveries to skip
|
|
13635
|
-
*/
|
|
13636
|
-
offset?: number
|
|
13637
|
-
/**
|
|
13638
|
-
* Only deliveries in this state
|
|
13639
|
-
*/
|
|
13640
|
-
status?: ("pending" | "success" | "failed")
|
|
13641
|
-
/**
|
|
13642
|
-
* Only deliveries for this endpoint
|
|
13643
|
-
*/
|
|
13644
|
-
webhookId?: string
|
|
13645
|
-
}
|
|
13646
|
-
|
|
13647
|
-
export type ObserveWebhooksDeliveriesListOutput = {
|
|
13648
|
-
/**
|
|
13649
|
-
* Identifier of the delivery, also sent as the envelope id
|
|
13650
|
-
*/
|
|
13651
|
-
id: string
|
|
13652
|
-
/**
|
|
13653
|
-
* pending means attempts remain; failed means the retry ladder is spent
|
|
13654
|
-
*/
|
|
13655
|
-
status: ("pending" | "success" | "failed")
|
|
13656
|
-
/**
|
|
13657
|
-
* The event data that was sent, before snake_case conversion
|
|
13658
|
-
*/
|
|
13659
|
-
payload?: {
|
|
13660
|
-
[k: string]: unknown
|
|
13661
|
-
}
|
|
13662
|
-
/**
|
|
13663
|
-
* ISO 8601 time the delivery was opened
|
|
13664
|
-
*/
|
|
13665
|
-
createdAt: string
|
|
13666
|
-
/**
|
|
13667
|
-
* Event that was delivered, e.g. "observe/issue.created"
|
|
13668
|
-
*/
|
|
13669
|
-
eventName: string
|
|
13670
|
-
/**
|
|
13671
|
-
* Why the last attempt failed, or null
|
|
13672
|
-
*/
|
|
13673
|
-
lastError: (string | null)
|
|
13674
|
-
/**
|
|
13675
|
-
* Endpoint the delivery is for
|
|
13676
|
-
*/
|
|
13677
|
-
webhookId: string
|
|
13678
|
-
/**
|
|
13679
|
-
* ISO 8601 time it succeeded, or null
|
|
13680
|
-
*/
|
|
13681
|
-
deliveredAt: (string | null)
|
|
13682
|
-
/**
|
|
13683
|
-
* How many attempts have been made so far
|
|
13684
|
-
*/
|
|
13685
|
-
attemptCount: number
|
|
13686
|
-
/**
|
|
13687
|
-
* Identity of the source event, repeated on every attempt and on a redelivery
|
|
13688
|
-
*/
|
|
13689
|
-
idempotencyKey: string
|
|
13690
|
-
/**
|
|
13691
|
-
* HTTP status of the last attempt, or null
|
|
13692
|
-
*/
|
|
13693
|
-
lastStatusCode: (number | null)
|
|
13694
|
-
}[]
|
|
13695
|
-
|
|
13696
|
-
export interface ObserveWebhooksGetInput {
|
|
13697
|
-
/**
|
|
13698
|
-
* Identifier of the endpoint
|
|
13699
|
-
*/
|
|
13700
|
-
id: string
|
|
13701
|
-
}
|
|
13702
|
-
|
|
13703
|
-
export interface ObserveWebhooksGetOutput {
|
|
13704
|
-
/**
|
|
13705
|
-
* Identifier of the endpoint
|
|
13706
|
-
*/
|
|
13707
|
-
id: string
|
|
13708
|
-
/**
|
|
13709
|
-
* HTTPS endpoint events are POSTed to
|
|
13710
|
-
*/
|
|
13711
|
-
url: string
|
|
13712
|
-
/**
|
|
13713
|
-
* Whether deliveries are being attempted for it
|
|
13714
|
-
*/
|
|
13715
|
-
active: boolean
|
|
13716
|
-
/**
|
|
13717
|
-
* ISO 8601 registration timestamp
|
|
13718
|
-
*/
|
|
13719
|
-
createdAt: string
|
|
13720
|
-
/**
|
|
13721
|
-
* ISO 8601 timestamp of the last change
|
|
13722
|
-
*/
|
|
13723
|
-
updatedAt: string
|
|
13724
|
-
/**
|
|
13725
|
-
* Free-form note given at registration, or null
|
|
13726
|
-
*/
|
|
13727
|
-
description: (string | null)
|
|
13728
|
-
}
|
|
13729
|
-
|
|
13730
|
-
export interface ObserveWebhooksListInput {
|
|
13731
|
-
|
|
13732
|
-
}
|
|
13733
|
-
|
|
13734
|
-
export type ObserveWebhooksListOutput = {
|
|
13735
|
-
/**
|
|
13736
|
-
* Identifier of the endpoint
|
|
13737
|
-
*/
|
|
13738
|
-
id: string
|
|
13739
|
-
/**
|
|
13740
|
-
* HTTPS endpoint events are POSTed to
|
|
13741
|
-
*/
|
|
13742
|
-
url: string
|
|
13743
|
-
/**
|
|
13744
|
-
* Whether deliveries are being attempted for it
|
|
13745
|
-
*/
|
|
13746
|
-
active: boolean
|
|
13747
|
-
/**
|
|
13748
|
-
* ISO 8601 registration timestamp
|
|
13749
|
-
*/
|
|
13750
|
-
createdAt: string
|
|
13751
|
-
/**
|
|
13752
|
-
* ISO 8601 timestamp of the last change
|
|
13753
|
-
*/
|
|
13754
|
-
updatedAt: string
|
|
13755
|
-
/**
|
|
13756
|
-
* Free-form note given at registration, or null
|
|
13757
|
-
*/
|
|
13758
|
-
description: (string | null)
|
|
13759
|
-
}[]
|
|
13760
|
-
|
|
13761
|
-
export interface ObserveWebhooksRedeliverInput {
|
|
13762
|
-
/**
|
|
13763
|
-
* Identifier of the delivery to send again
|
|
13764
|
-
*/
|
|
13765
|
-
id: string
|
|
13766
|
-
}
|
|
13767
|
-
|
|
13768
|
-
export interface ObserveWebhooksRedeliverOutput {
|
|
13769
|
-
/**
|
|
13770
|
-
* Identifier of the delivery, also sent as the envelope id
|
|
13771
|
-
*/
|
|
13772
|
-
id: string
|
|
13773
|
-
/**
|
|
13774
|
-
* pending means attempts remain; failed means the retry ladder is spent
|
|
13775
|
-
*/
|
|
13776
|
-
status: ("pending" | "success" | "failed")
|
|
13777
|
-
/**
|
|
13778
|
-
* The event data that was sent, before snake_case conversion
|
|
13779
|
-
*/
|
|
13780
|
-
payload?: {
|
|
13781
|
-
[k: string]: unknown
|
|
13782
|
-
}
|
|
13783
|
-
/**
|
|
13784
|
-
* ISO 8601 time the delivery was opened
|
|
13785
|
-
*/
|
|
13786
|
-
createdAt: string
|
|
13787
|
-
/**
|
|
13788
|
-
* Event that was delivered, e.g. "observe/issue.created"
|
|
13789
|
-
*/
|
|
13790
|
-
eventName: string
|
|
13791
|
-
/**
|
|
13792
|
-
* Why the last attempt failed, or null
|
|
13793
|
-
*/
|
|
13794
|
-
lastError: (string | null)
|
|
13795
|
-
/**
|
|
13796
|
-
* Endpoint the delivery is for
|
|
13797
|
-
*/
|
|
13798
|
-
webhookId: string
|
|
13799
|
-
/**
|
|
13800
|
-
* ISO 8601 time it succeeded, or null
|
|
13801
|
-
*/
|
|
13802
|
-
deliveredAt: (string | null)
|
|
13803
|
-
/**
|
|
13804
|
-
* How many attempts have been made so far
|
|
13805
|
-
*/
|
|
13806
|
-
attemptCount: number
|
|
13807
|
-
/**
|
|
13808
|
-
* Identity of the source event, repeated on every attempt and on a redelivery
|
|
13809
|
-
*/
|
|
13810
|
-
idempotencyKey: string
|
|
13811
|
-
/**
|
|
13812
|
-
* HTTP status of the last attempt, or null
|
|
13813
|
-
*/
|
|
13814
|
-
lastStatusCode: (number | null)
|
|
13815
|
-
}
|
|
13816
|
-
|
|
13817
|
-
export interface ObserveWebhooksRotateSecretInput {
|
|
13818
|
-
/**
|
|
13819
|
-
* Identifier of the endpoint
|
|
13820
|
-
*/
|
|
13821
|
-
id: string
|
|
13822
|
-
}
|
|
13823
|
-
|
|
13824
|
-
export interface ObserveWebhooksRotateSecretOutput {
|
|
13825
|
-
/**
|
|
13826
|
-
* Identifier of the endpoint
|
|
13827
|
-
*/
|
|
13828
|
-
id: string
|
|
13829
|
-
/**
|
|
13830
|
-
* HTTPS endpoint events are POSTed to
|
|
13831
|
-
*/
|
|
13832
|
-
url: string
|
|
13833
|
-
/**
|
|
13834
|
-
* Whether deliveries are being attempted for it
|
|
13835
|
-
*/
|
|
13836
|
-
active: boolean
|
|
13837
|
-
/**
|
|
13838
|
-
* The signing secret — shown only here, store it now; it cannot be read back
|
|
13839
|
-
*/
|
|
13840
|
-
secret: string
|
|
13841
|
-
/**
|
|
13842
|
-
* ISO 8601 registration timestamp
|
|
13843
|
-
*/
|
|
13844
|
-
createdAt: string
|
|
13845
|
-
/**
|
|
13846
|
-
* ISO 8601 timestamp of the last change
|
|
13847
|
-
*/
|
|
13848
|
-
updatedAt: string
|
|
13849
|
-
/**
|
|
13850
|
-
* Free-form note given at registration, or null
|
|
13851
|
-
*/
|
|
13852
|
-
description: (string | null)
|
|
13853
|
-
}
|
|
13854
|
-
|
|
13855
|
-
export interface ObserveWebhooksUpdateInput {
|
|
13856
|
-
/**
|
|
13857
|
-
* Identifier of the endpoint to change
|
|
13858
|
-
*/
|
|
13859
|
-
id: string
|
|
13860
|
-
/**
|
|
13861
|
-
* New HTTPS endpoint. Plain http:// is rejected
|
|
13862
|
-
*/
|
|
13863
|
-
url?: string
|
|
13864
|
-
/**
|
|
13865
|
-
* false keeps the registration and stops delivery; true resumes it
|
|
13866
|
-
*/
|
|
13867
|
-
active?: boolean
|
|
13868
|
-
/**
|
|
13869
|
-
* New note, or null to clear it
|
|
13870
|
-
*/
|
|
13871
|
-
description?: (string | null)
|
|
13872
|
-
}
|
|
13873
|
-
|
|
13874
|
-
export interface ObserveWebhooksUpdateOutput {
|
|
13875
|
-
/**
|
|
13876
|
-
* Identifier of the endpoint
|
|
13877
|
-
*/
|
|
13878
|
-
id: string
|
|
13879
|
-
/**
|
|
13880
|
-
* HTTPS endpoint events are POSTed to
|
|
13881
|
-
*/
|
|
13882
|
-
url: string
|
|
13883
|
-
/**
|
|
13884
|
-
* Whether deliveries are being attempted for it
|
|
13885
|
-
*/
|
|
13886
|
-
active: boolean
|
|
13887
|
-
/**
|
|
13888
|
-
* ISO 8601 registration timestamp
|
|
13889
|
-
*/
|
|
13890
|
-
createdAt: string
|
|
13891
|
-
/**
|
|
13892
|
-
* ISO 8601 timestamp of the last change
|
|
13893
|
-
*/
|
|
13894
|
-
updatedAt: string
|
|
13895
|
-
/**
|
|
13896
|
-
* Free-form note given at registration, or null
|
|
13897
|
-
*/
|
|
13898
|
-
description: (string | null)
|
|
13899
|
-
}
|
|
13900
|
-
|
|
13901
|
-
export interface OrganizationAuthMeInput {
|
|
13902
|
-
|
|
13903
|
-
}
|
|
13904
|
-
|
|
13905
|
-
export interface OrganizationAuthMeOutput {
|
|
13906
|
-
email: string
|
|
13907
|
-
identityId: string
|
|
13908
|
-
displayName: string
|
|
13909
|
-
identityType: string
|
|
13910
|
-
}
|
|
13911
|
-
|
|
13912
|
-
export interface OrganizationBillingBudgetsGetInput {
|
|
13913
|
-
|
|
13914
|
-
}
|
|
13915
|
-
|
|
13916
|
-
export interface OrganizationBillingBudgetsGetOutput {
|
|
13917
|
-
[k: string]: unknown
|
|
13918
|
-
}
|
|
13919
|
-
|
|
13920
|
-
export interface OrganizationBillingBudgetsSetInput {
|
|
13921
|
-
ceiling_minor: number
|
|
13922
|
-
}
|
|
13923
|
-
|
|
13924
|
-
export interface OrganizationBillingBudgetsSetOutput {
|
|
13925
|
-
[k: string]: unknown
|
|
13926
|
-
}
|
|
13927
|
-
|
|
13928
|
-
export interface OrganizationBillingCapsClearInput {
|
|
13929
|
-
productId: string
|
|
13930
|
-
}
|
|
13931
|
-
|
|
13932
|
-
export interface OrganizationBillingCapsClearOutput {
|
|
13933
|
-
[k: string]: unknown
|
|
13934
|
-
}
|
|
13935
|
-
|
|
13936
|
-
export interface OrganizationBillingCapsSetInput {
|
|
13937
|
-
cap_minor: number
|
|
13938
|
-
productId: string
|
|
13939
|
-
}
|
|
13940
|
-
|
|
13941
|
-
export interface OrganizationBillingCapsSetOutput {
|
|
13942
|
-
[k: string]: unknown
|
|
13943
|
-
}
|
|
13944
|
-
|
|
13945
|
-
export interface OrganizationBindingsListInput {
|
|
13946
|
-
domainId: string
|
|
13947
|
-
productId: string
|
|
13948
|
-
}
|
|
13949
|
-
|
|
13950
|
-
export type OrganizationBindingsListOutput = {
|
|
13951
|
-
host: string
|
|
13952
|
-
status: ("pending" | "active" | "failed")
|
|
13953
|
-
records: {
|
|
13954
|
-
ttl?: number
|
|
13955
|
-
name?: string
|
|
13956
|
-
target: string
|
|
13957
|
-
proxied?: boolean
|
|
13958
|
-
priority?: number
|
|
13959
|
-
recordType: string
|
|
13960
|
-
}[]
|
|
13961
|
-
domainId: string
|
|
13962
|
-
bindingId: string
|
|
13963
|
-
instruction: (string | null)
|
|
13964
|
-
statusDetail: (string | null)
|
|
13965
|
-
ownerExtension: string
|
|
13966
|
-
}[]
|
|
13967
|
-
|
|
13968
|
-
export interface OrganizationClickupInstallInput {
|
|
13969
|
-
|
|
13970
|
-
}
|
|
13971
|
-
|
|
13972
|
-
export interface OrganizationClickupInstallOutput {
|
|
13973
|
-
url: string
|
|
13974
|
-
}
|
|
13975
|
-
|
|
13976
|
-
export interface OrganizationClickupListInstallationsInput {
|
|
13977
|
-
|
|
13978
|
-
}
|
|
13979
|
-
|
|
13980
|
-
export type OrganizationClickupListInstallationsOutput = {
|
|
13981
|
-
status: string
|
|
13982
|
-
teamId: string
|
|
13983
|
-
teamName: string
|
|
13984
|
-
}[]
|
|
13985
|
-
|
|
13986
|
-
export interface OrganizationCloudflareInstallInput {
|
|
13987
|
-
|
|
13988
|
-
}
|
|
13989
|
-
|
|
13990
|
-
export interface OrganizationCloudflareInstallOutput {
|
|
13991
|
-
url: string
|
|
13992
|
-
}
|
|
13993
|
-
|
|
13994
|
-
export interface OrganizationConnectorsApproveRequestInput {
|
|
13995
|
-
id: string
|
|
13996
|
-
requestId: string
|
|
13997
|
-
}
|
|
13998
|
-
|
|
13999
|
-
export interface OrganizationConnectorsApproveRequestOutput {
|
|
14000
|
-
success: boolean
|
|
14001
|
-
}
|
|
14002
|
-
|
|
14003
|
-
export interface OrganizationConnectorsAttachInput {
|
|
14004
|
-
id: string
|
|
14005
|
-
productIds: string[]
|
|
14006
|
-
}
|
|
14007
|
-
|
|
14008
|
-
export interface OrganizationConnectorsAttachOutput {
|
|
14009
|
-
attachments: {
|
|
14010
|
-
createdAt: string
|
|
14011
|
-
createdBy: (string | null)
|
|
14012
|
-
productId: string
|
|
14013
|
-
customerId: (string | null)
|
|
14014
|
-
descriptiveName: (string | null)
|
|
14015
|
-
}[]
|
|
14016
|
-
connectorId: string
|
|
14017
|
-
}
|
|
14018
|
-
|
|
14019
|
-
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 {
|
|
14020
12727
|
id: string
|
|
14021
12728
|
}
|
|
14022
12729
|
|
|
@@ -14618,7 +13325,6 @@ displayName: (string | null)
|
|
|
14618
13325
|
orgRoles: {
|
|
14619
13326
|
id: string
|
|
14620
13327
|
name: string
|
|
14621
|
-
description: (string | null)
|
|
14622
13328
|
}[]
|
|
14623
13329
|
canManage: boolean
|
|
14624
13330
|
inherited: {
|
|
@@ -15015,226 +13721,6 @@ lastMessagePreview: (string | null)
|
|
|
15015
13721
|
}[]
|
|
15016
13722
|
}
|
|
15017
13723
|
|
|
15018
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
15019
|
-
/**
|
|
15020
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
15021
|
-
*/
|
|
15022
|
-
limit?: number
|
|
15023
|
-
}
|
|
15024
|
-
|
|
15025
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
15026
|
-
ok: boolean
|
|
15027
|
-
minted: boolean
|
|
15028
|
-
overview?: unknown
|
|
15029
|
-
http_status: number
|
|
15030
|
-
}
|
|
15031
|
-
|
|
15032
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
15033
|
-
|
|
15034
|
-
}
|
|
15035
|
-
|
|
15036
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
15037
|
-
ok: boolean
|
|
15038
|
-
minted: boolean
|
|
15039
|
-
http_status: number
|
|
15040
|
-
entitlements?: unknown
|
|
15041
|
-
}
|
|
15042
|
-
|
|
15043
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
15044
|
-
/**
|
|
15045
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
15046
|
-
*/
|
|
15047
|
-
value?: number
|
|
15048
|
-
}
|
|
15049
|
-
|
|
15050
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
15051
|
-
minted: boolean
|
|
15052
|
-
accepted: (number | null)
|
|
15053
|
-
recorded: boolean
|
|
15054
|
-
duplicates: (number | null)
|
|
15055
|
-
http_status: number
|
|
15056
|
-
}
|
|
15057
|
-
|
|
15058
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
15059
|
-
/**
|
|
15060
|
-
* Task title; defaults to a fixture label
|
|
15061
|
-
*/
|
|
15062
|
-
name?: string
|
|
15063
|
-
/**
|
|
15064
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
15065
|
-
*/
|
|
15066
|
-
listId?: string
|
|
15067
|
-
}
|
|
15068
|
-
|
|
15069
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
15070
|
-
minted: boolean
|
|
15071
|
-
task_id: (string | null)
|
|
15072
|
-
list_status: number
|
|
15073
|
-
vend_status: number
|
|
15074
|
-
clickup_status: number
|
|
15075
|
-
installation_count: number
|
|
15076
|
-
}
|
|
15077
|
-
|
|
15078
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
15079
|
-
|
|
15080
|
-
}
|
|
15081
|
-
|
|
15082
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
15083
|
-
payload: string
|
|
15084
|
-
event_id: string
|
|
15085
|
-
provider: string
|
|
15086
|
-
verified: boolean
|
|
15087
|
-
product_id: string
|
|
15088
|
-
occurred_at: string
|
|
15089
|
-
connector_id: string
|
|
15090
|
-
clickup_event: (string | null)
|
|
15091
|
-
receipt_count: number
|
|
15092
|
-
} | {
|
|
15093
|
-
found: false
|
|
15094
|
-
})
|
|
15095
|
-
|
|
15096
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
15097
|
-
|
|
15098
|
-
}
|
|
15099
|
-
|
|
15100
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
15101
|
-
team: ({
|
|
15102
|
-
teamId: string
|
|
15103
|
-
teamName: string
|
|
15104
|
-
} | null)
|
|
15105
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
15106
|
-
tasks: {
|
|
15107
|
-
id: string
|
|
15108
|
-
name: string
|
|
15109
|
-
status: (string | null)
|
|
15110
|
-
}[]
|
|
15111
|
-
minted: boolean
|
|
15112
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
15113
|
-
list_status: number
|
|
15114
|
-
vend_status: number
|
|
15115
|
-
lists_status: number
|
|
15116
|
-
tasks_status: number
|
|
15117
|
-
spaces_status: number
|
|
15118
|
-
folders_status: number
|
|
15119
|
-
installation_count: number
|
|
15120
|
-
}
|
|
15121
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
15122
|
-
id: string
|
|
15123
|
-
name: string
|
|
15124
|
-
}
|
|
15125
|
-
|
|
15126
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
15127
|
-
|
|
15128
|
-
}
|
|
15129
|
-
|
|
15130
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
15131
|
-
file_id: string
|
|
15132
|
-
removed: boolean
|
|
15133
|
-
file_name: (string | null)
|
|
15134
|
-
mime_type: (string | null)
|
|
15135
|
-
product_id: string
|
|
15136
|
-
occurred_at: string
|
|
15137
|
-
connector_id: string
|
|
15138
|
-
resource_state: string
|
|
15139
|
-
} | {
|
|
15140
|
-
found: false
|
|
15141
|
-
})
|
|
15142
|
-
|
|
15143
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
15144
|
-
/**
|
|
15145
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
15146
|
-
*/
|
|
15147
|
-
fileId?: string
|
|
15148
|
-
}
|
|
15149
|
-
|
|
15150
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
15151
|
-
minted: boolean
|
|
15152
|
-
file_id: (string | null)
|
|
15153
|
-
file_name: (string | null)
|
|
15154
|
-
mime_type: (string | null)
|
|
15155
|
-
file_count: number
|
|
15156
|
-
get_status: number
|
|
15157
|
-
list_status: number
|
|
15158
|
-
vend_status: number
|
|
15159
|
-
content_bytes: (number | null)
|
|
15160
|
-
}
|
|
15161
|
-
|
|
15162
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
15163
|
-
|
|
15164
|
-
}
|
|
15165
|
-
|
|
15166
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
15167
|
-
minted: boolean
|
|
15168
|
-
vended: boolean
|
|
15169
|
-
customer_id: (string | null)
|
|
15170
|
-
vend_status: number
|
|
15171
|
-
result_count: number
|
|
15172
|
-
search_status: number
|
|
15173
|
-
login_customer_id: (string | null)
|
|
15174
|
-
}
|
|
15175
|
-
|
|
15176
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
15177
|
-
|
|
15178
|
-
}
|
|
15179
|
-
|
|
15180
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
15181
|
-
blocked: boolean
|
|
15182
|
-
archived: boolean
|
|
15183
|
-
productId: string
|
|
15184
|
-
lastBlockTransition: ({
|
|
15185
|
-
eventId: string
|
|
15186
|
-
eventName: string
|
|
15187
|
-
productId: string
|
|
15188
|
-
occurredAt: string
|
|
15189
|
-
recordedAt: string
|
|
15190
|
-
receiptCount: number
|
|
15191
|
-
organizationId: string
|
|
15192
|
-
cascadedFromOrg: boolean
|
|
15193
|
-
} | null)
|
|
15194
|
-
lastArchiveTransition: ({
|
|
15195
|
-
eventId: string
|
|
15196
|
-
eventName: string
|
|
15197
|
-
productId: string
|
|
15198
|
-
occurredAt: string
|
|
15199
|
-
recordedAt: string
|
|
15200
|
-
receiptCount: number
|
|
15201
|
-
organizationId: string
|
|
15202
|
-
cascadedFromOrg: boolean
|
|
15203
|
-
} | null)
|
|
15204
|
-
}
|
|
15205
|
-
|
|
15206
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
15207
|
-
|
|
15208
|
-
}
|
|
15209
|
-
|
|
15210
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
15211
|
-
eventId: string
|
|
15212
|
-
eventName: string
|
|
15213
|
-
productId: string
|
|
15214
|
-
occurredAt: string
|
|
15215
|
-
recordedAt: string
|
|
15216
|
-
receiptCount: number
|
|
15217
|
-
organizationId: string
|
|
15218
|
-
cascadedFromOrg: boolean
|
|
15219
|
-
}[]
|
|
15220
|
-
|
|
15221
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
15222
|
-
|
|
15223
|
-
}
|
|
15224
|
-
|
|
15225
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
15226
|
-
payload?: unknown
|
|
15227
|
-
event_id: string
|
|
15228
|
-
provider: string
|
|
15229
|
-
verified: boolean
|
|
15230
|
-
product_id: string
|
|
15231
|
-
occurred_at: string
|
|
15232
|
-
connector_id: string
|
|
15233
|
-
delivery_count: number
|
|
15234
|
-
} | {
|
|
15235
|
-
found: false
|
|
15236
|
-
})
|
|
15237
|
-
|
|
15238
13724
|
export interface RealtimeArchiveExportInput {
|
|
15239
13725
|
/**
|
|
15240
13726
|
* Only entries with ts <= to_ts (epoch ms)
|