@lessly/sdk-app 42.2.0 → 43.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 (57) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-Cyz4I2yE.d.cts → client.gen-BE8VaNrU.d.cts} +476 -94
  10. package/dist/{client.gen-Cyz4I2yE.d.ts → client.gen-BE8VaNrU.d.ts} +476 -94
  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 +153 -13
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +153 -13
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/observe/index.cjs +15 -0
  24. package/dist/observe/index.cjs.map +1 -1
  25. package/dist/observe/index.d.cts +14 -2
  26. package/dist/observe/index.d.ts +14 -2
  27. package/dist/observe/index.js +13 -1
  28. package/dist/observe/index.js.map +1 -1
  29. package/dist/organization/index.d.cts +1 -1
  30. package/dist/organization/index.d.ts +1 -1
  31. package/dist/playground/index.cjs +66 -0
  32. package/dist/playground/index.cjs.map +1 -0
  33. package/dist/playground/index.d.cts +52 -0
  34. package/dist/playground/index.d.ts +52 -0
  35. package/dist/playground/index.js +53 -0
  36. package/dist/playground/index.js.map +1 -0
  37. package/dist/realtime/index.d.cts +1 -1
  38. package/dist/realtime/index.d.ts +1 -1
  39. package/dist/support/index.d.cts +1 -1
  40. package/dist/support/index.d.ts +1 -1
  41. package/dist/tracking/index.d.cts +1 -1
  42. package/dist/tracking/index.d.ts +1 -1
  43. package/dist/users/index.d.cts +1 -1
  44. package/dist/users/index.d.ts +1 -1
  45. package/dist/waitlist/index.d.cts +1 -1
  46. package/dist/waitlist/index.d.ts +1 -1
  47. package/package.json +7 -2
  48. package/src/gen/bindings.gen.ts +153 -13
  49. package/src/gen/brain/index.ts +1 -1
  50. package/src/gen/brain/queryOptions.gen.ts +0 -7
  51. package/src/gen/client.gen.ts +61 -5
  52. package/src/gen/manifest.gen.ts +1 -1
  53. package/src/gen/observe/index.ts +1 -1
  54. package/src/gen/observe/queryOptions.gen.ts +21 -0
  55. package/src/gen/playground/index.ts +3 -0
  56. package/src/gen/playground/queryOptions.gen.ts +86 -0
  57. package/src/gen/types.gen.ts +482 -92
@@ -1028,98 +1028,6 @@ snapshotId: string
1028
1028
  preRestoreSnapshotId: (string | null)
1029
1029
  } | null)
1030
1030
 
1031
- export interface BrainUsageReportInput {
1032
- /**
1033
- * How many UTC days of this product's ledger to return, ending today (default 30, max 90)
1034
- */
1035
- days?: number
1036
- }
1037
-
1038
- export interface BrainUsageReportOutput {
1039
- note: string
1040
- /**
1041
- * Brain's own ledger, for THIS product only
1042
- */
1043
- product: {
1044
- /**
1045
- * Inclusive UTC end of the window (today), YYYY-MM-DD
1046
- */
1047
- to: string
1048
- /**
1049
- * The window actually used, after clamping
1050
- */
1051
- days: number
1052
- /**
1053
- * Inclusive UTC start of the window, YYYY-MM-DD
1054
- */
1055
- from: string
1056
- rows: {
1057
- /**
1058
- * 'sync' | 'batch'; '' when the push carried none
1059
- */
1060
- mode: string
1061
- /**
1062
- * Manifest meter slug, e.g. llm-tokens
1063
- */
1064
- meter: string
1065
- /**
1066
- * Model dimension; '' when the push carried none
1067
- */
1068
- model: string
1069
- /**
1070
- * How many record() calls landed in this slice
1071
- */
1072
- events: number
1073
- /**
1074
- * Tokens we metered for this slice, delivered or not
1075
- */
1076
- tokens: number
1077
- /**
1078
- * Purpose dimension; '' when the push carried none
1079
- */
1080
- purpose: string
1081
- /**
1082
- * UTC calendar day, YYYY-MM-DD
1083
- */
1084
- usage_date: string
1085
- /**
1086
- * Of those events, how many billing did not accept
1087
- */
1088
- delivery_failed: number
1089
- }[]
1090
- /**
1091
- * The rows rolled up per meter across the whole window
1092
- */
1093
- totals: {
1094
- meter: string
1095
- events: number
1096
- tokens: number
1097
- delivery_failed: number
1098
- }[]
1099
- product_id: string
1100
- }
1101
- /**
1102
- * The platform billing aggregate for the whole ORG; null if it could not be read
1103
- */
1104
- platform: ({
1105
- plan: string
1106
- scope: "org"
1107
- meters: {
1108
- unit?: string
1109
- used?: number
1110
- limit?: (number | null)
1111
- remaining?: (number | null)
1112
- unlimited?: boolean
1113
- meter_slug: string
1114
- }[]
1115
- org_id: string
1116
- } | null)
1117
- /**
1118
- * Why the platform aggregate is null; null when it was read successfully
1119
- */
1120
- platform_error: (string | null)
1121
- }
1122
-
1123
1031
  export interface ConsentConfigCookieDomainUpsertInput {
1124
1032
  cookieDomain: ("" | null | string)
1125
1033
  }
@@ -13087,6 +12995,10 @@ status: string
13087
12995
  * Where the error appears to come from, or null
13088
12996
  */
13089
12997
  culprit: (string | null)
12998
+ /**
12999
+ * Service the most recent event came from, or null if none was reported
13000
+ */
13001
+ service: (string | null)
13090
13002
  /**
13091
13003
  * Who owns the issue, or null if unassigned
13092
13004
  */
@@ -13119,6 +13031,14 @@ environment: (string | null)
13119
13031
  * Stable grouping hash the issue is keyed on
13120
13032
  */
13121
13033
  fingerprint: string
13034
+ /**
13035
+ * Identifier of the most recent event that landed on the issue, or null for issues rolled up before this was recorded
13036
+ */
13037
+ lastEventId: (string | null)
13038
+ /**
13039
+ * Release the most recent event was reported from, or null if none was reported
13040
+ */
13041
+ lastRelease: (string | null)
13122
13042
  /**
13123
13043
  * ISO 8601 timestamp of the last regression, or null if it never regressed
13124
13044
  */
@@ -13165,6 +13085,10 @@ status: string
13165
13085
  * Where the error appears to come from, or null
13166
13086
  */
13167
13087
  culprit: (string | null)
13088
+ /**
13089
+ * Service the most recent event came from, or null if none was reported
13090
+ */
13091
+ service: (string | null)
13168
13092
  /**
13169
13093
  * Who owns the issue, or null if unassigned
13170
13094
  */
@@ -13197,6 +13121,14 @@ environment: (string | null)
13197
13121
  * Stable grouping hash the issue is keyed on
13198
13122
  */
13199
13123
  fingerprint: string
13124
+ /**
13125
+ * Identifier of the most recent event that landed on the issue, or null for issues rolled up before this was recorded
13126
+ */
13127
+ lastEventId: (string | null)
13128
+ /**
13129
+ * Release the most recent event was reported from, or null if none was reported
13130
+ */
13131
+ lastRelease: (string | null)
13200
13132
  /**
13201
13133
  * ISO 8601 timestamp of the last regression, or null if it never regressed
13202
13134
  */
@@ -13215,6 +13147,164 @@ exceptionType: (string | null)
13215
13147
  groupingVersion: string
13216
13148
  }
13217
13149
 
13150
+ export interface ObserveIssuesEventInput {
13151
+ /**
13152
+ * Identifier of the issue
13153
+ */
13154
+ id: string
13155
+ /**
13156
+ * Which event to read; omit to read the most recent one. Must be an event of this issue
13157
+ */
13158
+ eventId?: string
13159
+ }
13160
+
13161
+ export interface ObserveIssuesEventOutput {
13162
+ /**
13163
+ * The event, or null when the issue has no event id or the event is no longer stored — events live 30 days and an issue outlives them. Neither case is an error
13164
+ */
13165
+ event: ({
13166
+ /**
13167
+ * Distribution of the release. Sentry-source events only
13168
+ */
13169
+ dist: (string | null)
13170
+ /**
13171
+ * Tags the emitter attached; empty when it attached none
13172
+ */
13173
+ tags: {
13174
+ [k: string]: string
13175
+ }
13176
+ /**
13177
+ * Severity the emitter reported. Always null for an OTel event
13178
+ */
13179
+ level: (string | null)
13180
+ /**
13181
+ * Span the event belongs to, or null when untraced
13182
+ */
13183
+ spanId: (string | null)
13184
+ /**
13185
+ * Release the event was reported from. Always null for an OTel event — a span carries no release
13186
+ */
13187
+ release: (string | null)
13188
+ /**
13189
+ * SDK that reported the event. Always null for an OTel event: a span names its instrumentation scope, which is not the SDK
13190
+ */
13191
+ sdkName: (string | null)
13192
+ /**
13193
+ * Service the event came from, or null
13194
+ */
13195
+ service: (string | null)
13196
+ /**
13197
+ * Trace the event belongs to, or null when untraced
13198
+ */
13199
+ traceId: (string | null)
13200
+ /**
13201
+ * Full URL of the span, from url.full or the legacy http.url. Null when the span carries neither
13202
+ */
13203
+ urlFull: (string | null)
13204
+ /**
13205
+ * The event contexts exactly as stored, unparsed. Sentry-source events only, null for OTel
13206
+ */
13207
+ contexts: (string | null)
13208
+ /**
13209
+ * Platform the emitter reported. Always null for an OTel event
13210
+ */
13211
+ platform: (string | null)
13212
+ /**
13213
+ * Name of the span the exception happened in. OTel-source events only
13214
+ */
13215
+ spanName: (string | null)
13216
+ /**
13217
+ * Matched route template of the span, from http.route. Null when the span carries none
13218
+ */
13219
+ httpRoute: (string | null)
13220
+ /**
13221
+ * Attributes of that span. OTel-source events only, null for Sentry
13222
+ */
13223
+ attributes: ({
13224
+ [k: string]: string
13225
+ } | null)
13226
+ /**
13227
+ * HTTP method of the span, from http.request.method or the legacy http.method. Null when the span carries neither
13228
+ */
13229
+ httpMethod: (string | null)
13230
+ /**
13231
+ * ISO 8601 timestamp of the event. For an OTel event this is the exception itself, not the start of the span it happened in
13232
+ */
13233
+ occurredAt: string
13234
+ /**
13235
+ * Version of that SDK, or null
13236
+ */
13237
+ sdkVersion: (string | null)
13238
+ /**
13239
+ * The breadcrumb trail exactly as stored, unparsed. Sentry-source events only, null for OTel
13240
+ */
13241
+ breadcrumbs: (string | null)
13242
+ /**
13243
+ * Environment the event was reported in, or null
13244
+ */
13245
+ environment: (string | null)
13246
+ /**
13247
+ * Address the span was talking to, from server.address or the legacy net.peer.name. Null when the span carries neither
13248
+ */
13249
+ serverAddress: (string | null)
13250
+ /**
13251
+ * Response status of the span, from http.response.status_code or the legacy http.status_code. Null when the span carries neither or the value is not a number
13252
+ */
13253
+ httpStatusCode: (number | null)
13254
+ } | null)
13255
+ /**
13256
+ * Which store the event id addresses, derived from its shape. Null when there is no event id
13257
+ */
13258
+ source: (("sentry" | "otel") | null)
13259
+ /**
13260
+ * Identifier of the event that was read, or null when the issue has recorded no event id yet
13261
+ */
13262
+ eventId: (string | null)
13263
+ /**
13264
+ * Identifier of the issue the event belongs to
13265
+ */
13266
+ issueId: string
13267
+ }
13268
+
13269
+ export interface ObserveIssuesEventsInput {
13270
+ /**
13271
+ * Identifier of the issue
13272
+ */
13273
+ id: string
13274
+ /**
13275
+ * How many events to return, newest first. 1-100, default 50
13276
+ */
13277
+ limit?: number
13278
+ /**
13279
+ * The nextCursor of the previous page; omit for the first page
13280
+ */
13281
+ cursor?: string
13282
+ }
13283
+
13284
+ export interface ObserveIssuesEventsOutput {
13285
+ /**
13286
+ * The events, newest first
13287
+ */
13288
+ rows: {
13289
+ /**
13290
+ * Which store the event id addresses
13291
+ */
13292
+ source: ("sentry" | "otel")
13293
+ /**
13294
+ * Identifier of the event; pass it to observe_issues_event to open it
13295
+ */
13296
+ eventId: string
13297
+ /**
13298
+ * ISO 8601 timestamp of the event
13299
+ */
13300
+ occurredAt: string
13301
+ }[]
13302
+ /**
13303
+ * Pass back as cursor for the next page; null when the last page was reached
13304
+ */
13305
+ nextCursor: (string | null)
13306
+ }
13307
+
13218
13308
  export interface ObserveIssuesGetInput {
13219
13309
  /**
13220
13310
  * Identifier of the issue
@@ -13281,6 +13371,10 @@ status: string
13281
13371
  * Where the error appears to come from, or null
13282
13372
  */
13283
13373
  culprit: (string | null)
13374
+ /**
13375
+ * Service the most recent event came from, or null if none was reported
13376
+ */
13377
+ service: (string | null)
13284
13378
  /**
13285
13379
  * Who owns the issue, or null if unassigned
13286
13380
  */
@@ -13313,6 +13407,14 @@ environment: (string | null)
13313
13407
  * Stable grouping hash the issue is keyed on
13314
13408
  */
13315
13409
  fingerprint: string
13410
+ /**
13411
+ * Identifier of the most recent event that landed on the issue, or null for issues rolled up before this was recorded
13412
+ */
13413
+ lastEventId: (string | null)
13414
+ /**
13415
+ * Release the most recent event was reported from, or null if none was reported
13416
+ */
13417
+ lastRelease: (string | null)
13316
13418
  /**
13317
13419
  * ISO 8601 timestamp of the last regression, or null if it never regressed
13318
13420
  */
@@ -13331,6 +13433,49 @@ exceptionType: (string | null)
13331
13433
  groupingVersion: string
13332
13434
  }
13333
13435
 
13436
+ export interface ObserveIssuesHistogramInput {
13437
+ /**
13438
+ * Identifier of the issue
13439
+ */
13440
+ id: string
13441
+ /**
13442
+ * How far back to count, e.g. "1h", "24h", "7d". Up to 30d, default "24h"
13443
+ */
13444
+ window?: string
13445
+ }
13446
+
13447
+ export interface ObserveIssuesHistogramOutput {
13448
+ /**
13449
+ * ISO 8601 end of the last bucket, exclusive
13450
+ */
13451
+ to: string
13452
+ /**
13453
+ * ISO 8601 start of the first bucket
13454
+ */
13455
+ from: string
13456
+ /**
13457
+ * The window that was counted, e.g. "24h"
13458
+ */
13459
+ window: string
13460
+ /**
13461
+ * Every bucket of the window, oldest first. Quiet buckets are zeros, never gaps
13462
+ */
13463
+ buckets: {
13464
+ /**
13465
+ * How many events landed on the issue inside it; zero is a real answer
13466
+ */
13467
+ count: number
13468
+ /**
13469
+ * ISO 8601 start of the bucket
13470
+ */
13471
+ bucket: string
13472
+ }[]
13473
+ /**
13474
+ * Width of one bucket in seconds, derived from the window
13475
+ */
13476
+ bucketSeconds: number
13477
+ }
13478
+
13334
13479
  export interface ObserveIssuesListInput {
13335
13480
  /**
13336
13481
  * How many issues to return, most recently seen first. 1-200, default 50
@@ -13363,6 +13508,10 @@ status: string
13363
13508
  * Where the error appears to come from, or null
13364
13509
  */
13365
13510
  culprit: (string | null)
13511
+ /**
13512
+ * Service the most recent event came from, or null if none was reported
13513
+ */
13514
+ service: (string | null)
13366
13515
  /**
13367
13516
  * Who owns the issue, or null if unassigned
13368
13517
  */
@@ -13395,6 +13544,14 @@ environment: (string | null)
13395
13544
  * Stable grouping hash the issue is keyed on
13396
13545
  */
13397
13546
  fingerprint: string
13547
+ /**
13548
+ * Identifier of the most recent event that landed on the issue, or null for issues rolled up before this was recorded
13549
+ */
13550
+ lastEventId: (string | null)
13551
+ /**
13552
+ * Release the most recent event was reported from, or null if none was reported
13553
+ */
13554
+ lastRelease: (string | null)
13398
13555
  /**
13399
13556
  * ISO 8601 timestamp of the last regression, or null if it never regressed
13400
13557
  */
@@ -13437,6 +13594,10 @@ status: string
13437
13594
  * Where the error appears to come from, or null
13438
13595
  */
13439
13596
  culprit: (string | null)
13597
+ /**
13598
+ * Service the most recent event came from, or null if none was reported
13599
+ */
13600
+ service: (string | null)
13440
13601
  /**
13441
13602
  * Who owns the issue, or null if unassigned
13442
13603
  */
@@ -13469,6 +13630,14 @@ environment: (string | null)
13469
13630
  * Stable grouping hash the issue is keyed on
13470
13631
  */
13471
13632
  fingerprint: string
13633
+ /**
13634
+ * Identifier of the most recent event that landed on the issue, or null for issues rolled up before this was recorded
13635
+ */
13636
+ lastEventId: (string | null)
13637
+ /**
13638
+ * Release the most recent event was reported from, or null if none was reported
13639
+ */
13640
+ lastRelease: (string | null)
13472
13641
  /**
13473
13642
  * ISO 8601 timestamp of the last regression, or null if it never regressed
13474
13643
  */
@@ -15226,6 +15395,7 @@ displayName: (string | null)
15226
15395
  orgRoles: {
15227
15396
  id: string
15228
15397
  name: string
15398
+ description: (string | null)
15229
15399
  }[]
15230
15400
  canManage: boolean
15231
15401
  inherited: {
@@ -15622,6 +15792,226 @@ lastMessagePreview: (string | null)
15622
15792
  }[]
15623
15793
  }
15624
15794
 
15795
+ export interface PlaygroundAnalyticsOverviewInput {
15796
+ /**
15797
+ * Max records per entity in recent[]; omit for the endpoint default
15798
+ */
15799
+ limit?: number
15800
+ }
15801
+
15802
+ export interface PlaygroundAnalyticsOverviewOutput {
15803
+ ok: boolean
15804
+ minted: boolean
15805
+ overview?: unknown
15806
+ http_status: number
15807
+ }
15808
+
15809
+ export interface PlaygroundBillingEntitlementsInput {
15810
+
15811
+ }
15812
+
15813
+ export interface PlaygroundBillingEntitlementsOutput {
15814
+ ok: boolean
15815
+ minted: boolean
15816
+ http_status: number
15817
+ entitlements?: unknown
15818
+ }
15819
+
15820
+ export interface PlaygroundBillingRecordUsageInput {
15821
+ /**
15822
+ * Quantity of events to record against playground-events (SUM); defaults to 1
15823
+ */
15824
+ value?: number
15825
+ }
15826
+
15827
+ export interface PlaygroundBillingRecordUsageOutput {
15828
+ minted: boolean
15829
+ accepted: (number | null)
15830
+ recorded: boolean
15831
+ duplicates: (number | null)
15832
+ http_status: number
15833
+ }
15834
+
15835
+ export interface PlaygroundClickupCreateTaskInput {
15836
+ /**
15837
+ * Task title; defaults to a fixture label
15838
+ */
15839
+ name?: string
15840
+ /**
15841
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
15842
+ */
15843
+ listId?: string
15844
+ }
15845
+
15846
+ export interface PlaygroundClickupCreateTaskOutput {
15847
+ minted: boolean
15848
+ task_id: (string | null)
15849
+ list_status: number
15850
+ vend_status: number
15851
+ clickup_status: number
15852
+ installation_count: number
15853
+ }
15854
+
15855
+ export interface PlaygroundClickupGetLastWebhookInput {
15856
+
15857
+ }
15858
+
15859
+ export type PlaygroundClickupGetLastWebhookOutput = ({
15860
+ payload: string
15861
+ event_id: string
15862
+ provider: string
15863
+ verified: boolean
15864
+ product_id: string
15865
+ occurred_at: string
15866
+ connector_id: string
15867
+ clickup_event: (string | null)
15868
+ receipt_count: number
15869
+ } | {
15870
+ found: false
15871
+ })
15872
+
15873
+ export interface PlaygroundClickupGetOverviewInput {
15874
+
15875
+ }
15876
+
15877
+ export interface PlaygroundClickupGetOverviewOutput {
15878
+ team: ({
15879
+ teamId: string
15880
+ teamName: string
15881
+ } | null)
15882
+ lists: PlaygroundClickupGetOverviewOutputItems[]
15883
+ tasks: {
15884
+ id: string
15885
+ name: string
15886
+ status: (string | null)
15887
+ }[]
15888
+ minted: boolean
15889
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
15890
+ list_status: number
15891
+ vend_status: number
15892
+ lists_status: number
15893
+ tasks_status: number
15894
+ spaces_status: number
15895
+ folders_status: number
15896
+ installation_count: number
15897
+ }
15898
+ export interface PlaygroundClickupGetOverviewOutputItems {
15899
+ id: string
15900
+ name: string
15901
+ }
15902
+
15903
+ export interface PlaygroundGdriveGetLastChangeInput {
15904
+
15905
+ }
15906
+
15907
+ export type PlaygroundGdriveGetLastChangeOutput = ({
15908
+ file_id: string
15909
+ removed: boolean
15910
+ file_name: (string | null)
15911
+ mime_type: (string | null)
15912
+ product_id: string
15913
+ occurred_at: string
15914
+ connector_id: string
15915
+ resource_state: string
15916
+ } | {
15917
+ found: false
15918
+ })
15919
+
15920
+ export interface PlaygroundGdriveReadFileInput {
15921
+ /**
15922
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
15923
+ */
15924
+ fileId?: string
15925
+ }
15926
+
15927
+ export interface PlaygroundGdriveReadFileOutput {
15928
+ minted: boolean
15929
+ file_id: (string | null)
15930
+ file_name: (string | null)
15931
+ mime_type: (string | null)
15932
+ file_count: number
15933
+ get_status: number
15934
+ list_status: number
15935
+ vend_status: number
15936
+ content_bytes: (number | null)
15937
+ }
15938
+
15939
+ export interface PlaygroundGoogleadsReadCustomerInput {
15940
+
15941
+ }
15942
+
15943
+ export interface PlaygroundGoogleadsReadCustomerOutput {
15944
+ minted: boolean
15945
+ vended: boolean
15946
+ customer_id: (string | null)
15947
+ vend_status: number
15948
+ result_count: number
15949
+ search_status: number
15950
+ login_customer_id: (string | null)
15951
+ }
15952
+
15953
+ export interface PlaygroundLifecycleGetStateInput {
15954
+
15955
+ }
15956
+
15957
+ export interface PlaygroundLifecycleGetStateOutput {
15958
+ blocked: boolean
15959
+ archived: boolean
15960
+ productId: string
15961
+ lastBlockTransition: ({
15962
+ eventId: string
15963
+ eventName: string
15964
+ productId: string
15965
+ occurredAt: string
15966
+ recordedAt: string
15967
+ receiptCount: number
15968
+ organizationId: string
15969
+ cascadedFromOrg: boolean
15970
+ } | null)
15971
+ lastArchiveTransition: ({
15972
+ eventId: string
15973
+ eventName: string
15974
+ productId: string
15975
+ occurredAt: string
15976
+ recordedAt: string
15977
+ receiptCount: number
15978
+ organizationId: string
15979
+ cascadedFromOrg: boolean
15980
+ } | null)
15981
+ }
15982
+
15983
+ export interface PlaygroundLifecycleListEventsInput {
15984
+
15985
+ }
15986
+
15987
+ export type PlaygroundLifecycleListEventsOutput = {
15988
+ eventId: string
15989
+ eventName: string
15990
+ productId: string
15991
+ occurredAt: string
15992
+ recordedAt: string
15993
+ receiptCount: number
15994
+ organizationId: string
15995
+ cascadedFromOrg: boolean
15996
+ }[]
15997
+
15998
+ export interface PlaygroundWebhookGetLastInput {
15999
+
16000
+ }
16001
+
16002
+ export type PlaygroundWebhookGetLastOutput = ({
16003
+ payload?: unknown
16004
+ event_id: string
16005
+ provider: string
16006
+ verified: boolean
16007
+ product_id: string
16008
+ occurred_at: string
16009
+ connector_id: string
16010
+ delivery_count: number
16011
+ } | {
16012
+ found: false
16013
+ })
16014
+
15625
16015
  export interface RealtimeArchiveExportInput {
15626
16016
  /**
15627
16017
  * Only entries with ts <= to_ts (epoch ms)