@lessly/sdk-app 35.0.0 → 35.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) 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.d.cts +1 -1
  4. package/dist/brain/index.d.ts +1 -1
  5. package/dist/{client.gen-CvgJUdcU.d.cts → client.gen-B_GMJlI1.d.cts} +378 -1
  6. package/dist/{client.gen-CvgJUdcU.d.ts → client.gen-B_GMJlI1.d.ts} +378 -1
  7. package/dist/consent/index.d.cts +1 -1
  8. package/dist/consent/index.d.ts +1 -1
  9. package/dist/deployment/index.d.cts +1 -1
  10. package/dist/deployment/index.d.ts +1 -1
  11. package/dist/index.cjs +131 -0
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +131 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/mail/index.d.cts +2 -2
  18. package/dist/mail/index.d.ts +2 -2
  19. package/dist/observe/index.cjs +45 -0
  20. package/dist/observe/index.cjs.map +1 -1
  21. package/dist/observe/index.d.cts +38 -2
  22. package/dist/observe/index.d.ts +38 -2
  23. package/dist/observe/index.js +37 -1
  24. package/dist/observe/index.js.map +1 -1
  25. package/dist/organization/index.d.cts +1 -1
  26. package/dist/organization/index.d.ts +1 -1
  27. package/dist/playground/index.d.cts +1 -1
  28. package/dist/playground/index.d.ts +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 -2
  40. package/src/gen/bindings.gen.ts +131 -0
  41. package/src/gen/client.gen.ts +33 -0
  42. package/src/gen/observe/index.ts +1 -1
  43. package/src/gen/observe/queryOptions.gen.ts +58 -0
  44. package/src/gen/types.gen.ts +381 -0
@@ -13162,7 +13162,55 @@ id: string
13162
13162
  revokedAt: string
13163
13163
  }
13164
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
+
13165
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
13166
13214
  /**
13167
13215
  * Newest timestamp to include, ISO 8601
13168
13216
  */
@@ -13324,6 +13372,339 @@ severityNumber: number
13324
13372
  nextCursor: (string | null)
13325
13373
  }
13326
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
+
13327
13708
  export interface OrganizationAuthMeInput {
13328
13709
 
13329
13710
  }