@lessly/sdk-app 102.3.0 → 103.0.1

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 (35) hide show
  1. package/CHANGELOG.md +4 -6
  2. package/dist/_types/gen/client.gen.d.ts +42 -1
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  5. package/dist/_types/gen/playground/index.d.ts +3 -0
  6. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  7. package/dist/_types/gen/tracking/index.d.ts +1 -1
  8. package/dist/_types/gen/tracking/queryOptions.gen.d.ts +9 -1
  9. package/dist/_types/gen/types.gen.d.ts +427 -18
  10. package/dist/chunk-3PMJZ47D.js +11984 -0
  11. package/dist/chunk-3PMJZ47D.js.map +1 -0
  12. package/dist/index.cjs +257 -45
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +25 -11783
  15. package/dist/index.js.map +1 -1
  16. package/dist/playground/index.cjs +106 -0
  17. package/dist/playground/index.cjs.map +1 -0
  18. package/dist/playground/index.d.cts +1 -0
  19. package/dist/playground/index.d.ts +1 -0
  20. package/dist/playground/index.js +78 -0
  21. package/dist/playground/index.js.map +1 -0
  22. package/dist/tracking/index.cjs +10 -0
  23. package/dist/tracking/index.cjs.map +1 -1
  24. package/dist/tracking/index.js +9 -1
  25. package/dist/tracking/index.js.map +1 -1
  26. package/package.json +12 -2
  27. package/src/gen/bindings.gen.ts +243 -46
  28. package/src/gen/client.gen.ts +79 -0
  29. package/src/gen/manifest.gen.ts +24 -1
  30. package/src/gen/playground/connect.gen.ts +9 -0
  31. package/src/gen/playground/index.ts +4 -0
  32. package/src/gen/playground/queryOptions.gen.ts +119 -0
  33. package/src/gen/tracking/index.ts +1 -1
  34. package/src/gen/tracking/queryOptions.gen.ts +13 -0
  35. package/src/gen/types.gen.ts +478 -18
@@ -30,12 +30,6 @@ propertiesColumn: (string | null)
30
30
  }[]
31
31
  product_id: string
32
32
  generated_at: string
33
- dropped_metrics?: {
34
- type: string
35
- metric: string
36
- reason: ("type_unknown" | "aggregate_unknown" | "column_missing")
37
- view_name: string
38
- }[]
39
33
  }
40
34
 
41
35
  export interface AnalyticsDashboardCreateInput {
@@ -92565,7 +92559,7 @@ probes: {
92565
92559
  liveness?: DeploymentCanvasGetOutputReadiness
92566
92560
  readiness?: DeploymentCanvasGetOutputReadiness
92567
92561
  }
92568
- source: ({
92562
+ source: (({
92569
92563
  url?: string
92570
92564
  path?: string
92571
92565
  type: "git"
@@ -92591,6 +92585,11 @@ command?: string
92591
92585
  outputDir?: string
92592
92586
  }
92593
92587
  markdown?: boolean
92588
+ }) & {
92589
+ autoDeploy?: {
92590
+ reason?: string
92591
+ enabled: boolean
92592
+ }
92594
92593
  })
92595
92594
  command?: (string | null)
92596
92595
  lastRun?: ({
@@ -92946,6 +92945,7 @@ export interface DeploymentDeploymentCancelOutput {
92946
92945
  id: string
92947
92946
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
92948
92947
  builtAt: (string | null)
92948
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
92949
92949
  imageRef: (string | null)
92950
92950
  commitSha: (string | null)
92951
92951
  createdAt: string
@@ -92974,6 +92974,7 @@ export interface DeploymentDeploymentGetOutput {
92974
92974
  id: string
92975
92975
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
92976
92976
  builtAt: (string | null)
92977
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
92977
92978
  imageRef: (string | null)
92978
92979
  commitSha: (string | null)
92979
92980
  createdAt: string
@@ -93002,6 +93003,7 @@ export type DeploymentDeploymentListOutput = {
93002
93003
  id: string
93003
93004
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
93004
93005
  builtAt: (string | null)
93006
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
93005
93007
  imageRef: (string | null)
93006
93008
  commitSha: (string | null)
93007
93009
  createdAt: string
@@ -93048,6 +93050,12 @@ hostname: string
93048
93050
  createdAt: string
93049
93051
  tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
93050
93052
  updatedAt: string
93053
+ managedDns?: ({
93054
+ mode: "external"
93055
+ note: string
93056
+ tool: "organization_domains_set-mode"
93057
+ governanceDomainId: string
93058
+ } | null)
93051
93059
  lastProbeAt: (string | null)
93052
93060
  redirectWww: boolean
93053
93061
  wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
@@ -93574,6 +93582,7 @@ createdAt: string
93574
93582
  expiresAt: (string | null)
93575
93583
  updatedAt: string
93576
93584
  isProduction: boolean
93585
+ repoFullName: (string | null)
93577
93586
  lastErrorMessage: (string | null)
93578
93587
  baseEnvironmentId: (string | null)
93579
93588
  }
@@ -93604,6 +93613,7 @@ createdAt: string
93604
93613
  expiresAt: (string | null)
93605
93614
  updatedAt: string
93606
93615
  isProduction: boolean
93616
+ repoFullName: (string | null)
93607
93617
  lastErrorMessage: (string | null)
93608
93618
  baseEnvironmentId: (string | null)
93609
93619
  }
@@ -93624,6 +93634,7 @@ createdAt: string
93624
93634
  expiresAt: (string | null)
93625
93635
  updatedAt: string
93626
93636
  isProduction: boolean
93637
+ repoFullName: (string | null)
93627
93638
  lastErrorMessage: (string | null)
93628
93639
  baseEnvironmentId: (string | null)
93629
93640
  }
@@ -93644,6 +93655,7 @@ createdAt: string
93644
93655
  expiresAt: (string | null)
93645
93656
  updatedAt: string
93646
93657
  isProduction: boolean
93658
+ repoFullName: (string | null)
93647
93659
  lastErrorMessage: (string | null)
93648
93660
  baseEnvironmentId: (string | null)
93649
93661
  }[]
@@ -93665,6 +93677,7 @@ createdAt: string
93665
93677
  expiresAt: (string | null)
93666
93678
  updatedAt: string
93667
93679
  isProduction: boolean
93680
+ repoFullName: (string | null)
93668
93681
  lastErrorMessage: (string | null)
93669
93682
  baseEnvironmentId: (string | null)
93670
93683
  }
@@ -93686,6 +93699,7 @@ createdAt: string
93686
93699
  expiresAt: (string | null)
93687
93700
  updatedAt: string
93688
93701
  isProduction: boolean
93702
+ repoFullName: (string | null)
93689
93703
  lastErrorMessage: (string | null)
93690
93704
  baseEnvironmentId: (string | null)
93691
93705
  }
@@ -94159,6 +94173,7 @@ stepSeconds: number
94159
94173
  export interface DeploymentPreviewEnvironmentCreateInput {
94160
94174
  prBranch?: string
94161
94175
  prNumber: number
94176
+ repoFullName?: string
94162
94177
  baseEnvironmentId: string
94163
94178
  }
94164
94179
 
@@ -94174,6 +94189,7 @@ createdAt: string
94174
94189
  expiresAt: (string | null)
94175
94190
  updatedAt: string
94176
94191
  isProduction: boolean
94192
+ repoFullName: (string | null)
94177
94193
  lastErrorMessage: (string | null)
94178
94194
  baseEnvironmentId: (string | null)
94179
94195
  }
@@ -94202,6 +94218,7 @@ createdAt: string
94202
94218
  expiresAt: (string | null)
94203
94219
  updatedAt: string
94204
94220
  isProduction: boolean
94221
+ repoFullName: (string | null)
94205
94222
  lastErrorMessage: (string | null)
94206
94223
  baseEnvironmentId: (string | null)
94207
94224
  }[]
@@ -94332,7 +94349,7 @@ probes: {
94332
94349
  liveness?: DeploymentServiceCreateOutputReadiness
94333
94350
  readiness?: DeploymentServiceCreateOutputReadiness
94334
94351
  }
94335
- source: ({
94352
+ source: (({
94336
94353
  url?: string
94337
94354
  path?: string
94338
94355
  type: "git"
@@ -94358,6 +94375,11 @@ command?: string
94358
94375
  outputDir?: string
94359
94376
  }
94360
94377
  markdown?: boolean
94378
+ }) & {
94379
+ autoDeploy?: {
94380
+ reason?: string
94381
+ enabled: boolean
94382
+ }
94361
94383
  })
94362
94384
  command?: (string | null)
94363
94385
  lastRun?: ({
@@ -94453,7 +94475,7 @@ probes: {
94453
94475
  liveness?: DeploymentServiceGetOutputReadiness
94454
94476
  readiness?: DeploymentServiceGetOutputReadiness
94455
94477
  }
94456
- source: ({
94478
+ source: (({
94457
94479
  url?: string
94458
94480
  path?: string
94459
94481
  type: "git"
@@ -94479,6 +94501,11 @@ command?: string
94479
94501
  outputDir?: string
94480
94502
  }
94481
94503
  markdown?: boolean
94504
+ }) & {
94505
+ autoDeploy?: {
94506
+ reason?: string
94507
+ enabled: boolean
94508
+ }
94482
94509
  })
94483
94510
  command?: (string | null)
94484
94511
  lastRun?: ({
@@ -94541,7 +94568,7 @@ probes: {
94541
94568
  liveness?: DeploymentServiceListOutputReadiness
94542
94569
  readiness?: DeploymentServiceListOutputReadiness
94543
94570
  }
94544
- source: ({
94571
+ source: (({
94545
94572
  url?: string
94546
94573
  path?: string
94547
94574
  type: "git"
@@ -94567,6 +94594,11 @@ command?: string
94567
94594
  outputDir?: string
94568
94595
  }
94569
94596
  markdown?: boolean
94597
+ }) & {
94598
+ autoDeploy?: {
94599
+ reason?: string
94600
+ enabled: boolean
94601
+ }
94570
94602
  })
94571
94603
  command?: (string | null)
94572
94604
  lastRun?: ({
@@ -94635,6 +94667,7 @@ export interface DeploymentServiceRedeployOutput {
94635
94667
  id: string
94636
94668
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
94637
94669
  builtAt: (string | null)
94670
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
94638
94671
  imageRef: (string | null)
94639
94672
  commitSha: (string | null)
94640
94673
  createdAt: string
@@ -94672,6 +94705,7 @@ export interface DeploymentServiceRollbackOutput {
94672
94705
  id: string
94673
94706
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
94674
94707
  builtAt: (string | null)
94708
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
94675
94709
  imageRef: (string | null)
94676
94710
  commitSha: (string | null)
94677
94711
  createdAt: string
@@ -94706,7 +94740,7 @@ probes: {
94706
94740
  liveness?: DeploymentServiceScaleOutputReadiness
94707
94741
  readiness?: DeploymentServiceScaleOutputReadiness
94708
94742
  }
94709
- source: ({
94743
+ source: (({
94710
94744
  url?: string
94711
94745
  path?: string
94712
94746
  type: "git"
@@ -94732,6 +94766,11 @@ command?: string
94732
94766
  outputDir?: string
94733
94767
  }
94734
94768
  markdown?: boolean
94769
+ }) & {
94770
+ autoDeploy?: {
94771
+ reason?: string
94772
+ enabled: boolean
94773
+ }
94735
94774
  })
94736
94775
  command?: (string | null)
94737
94776
  lastRun?: ({
@@ -94879,7 +94918,7 @@ probes: {
94879
94918
  liveness?: DeploymentServiceUpdateOutputReadiness
94880
94919
  readiness?: DeploymentServiceUpdateOutputReadiness
94881
94920
  }
94882
- source: ({
94921
+ source: (({
94883
94922
  url?: string
94884
94923
  path?: string
94885
94924
  type: "git"
@@ -94905,6 +94944,11 @@ command?: string
94905
94944
  outputDir?: string
94906
94945
  }
94907
94946
  markdown?: boolean
94947
+ }) & {
94948
+ autoDeploy?: {
94949
+ reason?: string
94950
+ enabled: boolean
94951
+ }
94908
94952
  })
94909
94953
  command?: (string | null)
94910
94954
  lastRun?: ({
@@ -95036,6 +95080,7 @@ export interface DeploymentStaticDeployOutput {
95036
95080
  id: string
95037
95081
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
95038
95082
  builtAt: (string | null)
95083
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
95039
95084
  imageRef: (string | null)
95040
95085
  commitSha: (string | null)
95041
95086
  createdAt: string
@@ -95245,9 +95290,15 @@ export interface DeploymentVcsConnectionListInput {
95245
95290
 
95246
95291
  export type DeploymentVcsConnectionListOutput = {
95247
95292
  status: string
95293
+ provider: ("github" | "github-token")
95294
+ autoDeploy: {
95295
+ reason?: string
95296
+ enabled: boolean
95297
+ }
95248
95298
  connectorId: string
95299
+ needsReauth: boolean
95249
95300
  accountLogin: string
95250
- installationId: string
95301
+ installationId: (string | null)
95251
95302
  }[]
95252
95303
 
95253
95304
  export interface DeploymentVcsRepoListInput {
@@ -95257,9 +95308,9 @@ connectorId: string
95257
95308
  }
95258
95309
 
95259
95310
  export type DeploymentVcsRepoListOutput = {
95260
- private: boolean
95311
+ private?: boolean
95261
95312
  fullName: string
95262
- defaultBranch: string
95313
+ defaultBranch?: string
95263
95314
  }[]
95264
95315
 
95265
95316
  export interface DeploymentVolumeCreateInput {
@@ -111608,6 +111659,378 @@ export interface OrganizationYoutubeInstallOutput {
111608
111659
  url: string
111609
111660
  }
111610
111661
 
111662
+ export interface PlaygroundAnalyticsOverviewInput {
111663
+ /**
111664
+ * Max records per entity in recent[]; omit for the endpoint default
111665
+ */
111666
+ limit?: number
111667
+ }
111668
+
111669
+ export interface PlaygroundAnalyticsOverviewOutput {
111670
+ ok: boolean
111671
+ minted: boolean
111672
+ overview?: unknown
111673
+ http_status: number
111674
+ }
111675
+
111676
+ export interface PlaygroundBillingEntitlementsInput {
111677
+
111678
+ }
111679
+
111680
+ export interface PlaygroundBillingEntitlementsOutput {
111681
+ ok: boolean
111682
+ minted: boolean
111683
+ http_status: number
111684
+ entitlements?: unknown
111685
+ }
111686
+
111687
+ export interface PlaygroundBillingRecordUsageInput {
111688
+ /**
111689
+ * Quantity of events to record against playground-events (SUM); defaults to 1
111690
+ */
111691
+ value?: number
111692
+ }
111693
+
111694
+ export interface PlaygroundBillingRecordUsageOutput {
111695
+ minted: boolean
111696
+ accepted: (number | null)
111697
+ recorded: boolean
111698
+ duplicates: (number | null)
111699
+ http_status: number
111700
+ }
111701
+
111702
+ export interface PlaygroundClickupCreateTaskInput {
111703
+ /**
111704
+ * Task title; defaults to a fixture label
111705
+ */
111706
+ name?: string
111707
+ /**
111708
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
111709
+ */
111710
+ listId?: string
111711
+ }
111712
+
111713
+ export interface PlaygroundClickupCreateTaskOutput {
111714
+ minted: boolean
111715
+ task_id: (string | null)
111716
+ list_status: number
111717
+ vend_status: number
111718
+ clickup_status: number
111719
+ installation_count: number
111720
+ }
111721
+
111722
+ export interface PlaygroundClickupGetLastWebhookInput {
111723
+
111724
+ }
111725
+
111726
+ export type PlaygroundClickupGetLastWebhookOutput = ({
111727
+ payload: string
111728
+ event_id: string
111729
+ provider: string
111730
+ verified: boolean
111731
+ product_id: string
111732
+ occurred_at: string
111733
+ connector_id: string
111734
+ clickup_event: (string | null)
111735
+ receipt_count: number
111736
+ } | {
111737
+ found: false
111738
+ })
111739
+
111740
+ export interface PlaygroundClickupGetOverviewInput {
111741
+
111742
+ }
111743
+
111744
+ export interface PlaygroundClickupGetOverviewOutput {
111745
+ team: ({
111746
+ teamId: string
111747
+ teamName: string
111748
+ } | null)
111749
+ lists: PlaygroundClickupGetOverviewOutputItems[]
111750
+ tasks: {
111751
+ id: string
111752
+ name: string
111753
+ status: (string | null)
111754
+ }[]
111755
+ minted: boolean
111756
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
111757
+ list_status: number
111758
+ vend_status: number
111759
+ lists_status: number
111760
+ tasks_status: number
111761
+ spaces_status: number
111762
+ folders_status: number
111763
+ installation_count: number
111764
+ }
111765
+ export interface PlaygroundClickupGetOverviewOutputItems {
111766
+ id: string
111767
+ name: string
111768
+ }
111769
+
111770
+ export interface PlaygroundEchoPingInput {
111771
+ /**
111772
+ * The text to echo back, 1–1024 characters
111773
+ */
111774
+ message: string
111775
+ }
111776
+
111777
+ export interface PlaygroundEchoPingOutput {
111778
+ /**
111779
+ * The message exactly as it was received
111780
+ */
111781
+ message: string
111782
+ /**
111783
+ * The product the call was resolved to
111784
+ */
111785
+ productId: string
111786
+ /**
111787
+ * ISO-8601 instant (UTC) at which the call reached the service
111788
+ */
111789
+ receivedAt: string
111790
+ }
111791
+
111792
+ export interface PlaygroundGdriveGetLastChangeInput {
111793
+
111794
+ }
111795
+
111796
+ export type PlaygroundGdriveGetLastChangeOutput = ({
111797
+ file_id: string
111798
+ removed: boolean
111799
+ file_name: (string | null)
111800
+ mime_type: (string | null)
111801
+ product_id: string
111802
+ occurred_at: string
111803
+ connector_id: string
111804
+ resource_state: string
111805
+ } | {
111806
+ found: false
111807
+ })
111808
+
111809
+ export interface PlaygroundGdriveReadFileInput {
111810
+ /**
111811
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
111812
+ */
111813
+ fileId?: string
111814
+ }
111815
+
111816
+ export interface PlaygroundGdriveReadFileOutput {
111817
+ minted: boolean
111818
+ file_id: (string | null)
111819
+ file_name: (string | null)
111820
+ mime_type: (string | null)
111821
+ file_count: number
111822
+ get_status: number
111823
+ list_status: number
111824
+ vend_status: number
111825
+ content_bytes: (number | null)
111826
+ }
111827
+
111828
+ export interface PlaygroundGoogleadsReadCustomerInput {
111829
+
111830
+ }
111831
+
111832
+ export interface PlaygroundGoogleadsReadCustomerOutput {
111833
+ minted: boolean
111834
+ vended: boolean
111835
+ customer_id: (string | null)
111836
+ vend_status: number
111837
+ result_count: number
111838
+ search_status: number
111839
+ login_customer_id: (string | null)
111840
+ }
111841
+
111842
+ export interface PlaygroundLifecycleGetStateInput {
111843
+
111844
+ }
111845
+
111846
+ export interface PlaygroundLifecycleGetStateOutput {
111847
+ blocked: boolean
111848
+ archived: boolean
111849
+ productId: string
111850
+ lastBlockTransition: ({
111851
+ eventId: string
111852
+ eventName: string
111853
+ productId: string
111854
+ occurredAt: string
111855
+ recordedAt: string
111856
+ receiptCount: number
111857
+ organizationId: string
111858
+ cascadedFromOrg: boolean
111859
+ } | null)
111860
+ lastArchiveTransition: ({
111861
+ eventId: string
111862
+ eventName: string
111863
+ productId: string
111864
+ occurredAt: string
111865
+ recordedAt: string
111866
+ receiptCount: number
111867
+ organizationId: string
111868
+ cascadedFromOrg: boolean
111869
+ } | null)
111870
+ }
111871
+
111872
+ export interface PlaygroundLifecycleListEventsInput {
111873
+
111874
+ }
111875
+
111876
+ export type PlaygroundLifecycleListEventsOutput = {
111877
+ eventId: string
111878
+ eventName: string
111879
+ productId: string
111880
+ occurredAt: string
111881
+ recordedAt: string
111882
+ receiptCount: number
111883
+ organizationId: string
111884
+ cascadedFromOrg: boolean
111885
+ }[]
111886
+
111887
+ export interface PlaygroundWebhookGetLastInput {
111888
+
111889
+ }
111890
+
111891
+ export type PlaygroundWebhookGetLastOutput = ({
111892
+ payload?: unknown
111893
+ event_id: string
111894
+ provider: string
111895
+ verified: boolean
111896
+ product_id: string
111897
+ occurred_at: string
111898
+ connector_id: string
111899
+ delivery_count: number
111900
+ } | {
111901
+ found: false
111902
+ })
111903
+
111904
+ export interface PlaygroundWorkflowEchoInput {
111905
+ /**
111906
+ * The text to store, 1–1024 characters
111907
+ */
111908
+ note: string
111909
+ /**
111910
+ * Optional labels stored alongside the note, at most 20
111911
+ *
111912
+ * @maxItems 20
111913
+ */
111914
+ tags?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
111915
+ }
111916
+
111917
+ export interface PlaygroundWorkflowEchoOutput {
111918
+ /**
111919
+ * Identifier of the stored echo
111920
+ */
111921
+ id: string
111922
+ /**
111923
+ * The note exactly as it was received
111924
+ */
111925
+ note: string
111926
+ /**
111927
+ * The tags exactly as they were received
111928
+ */
111929
+ tags: string[]
111930
+ /**
111931
+ * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
111932
+ */
111933
+ echo_id: string
111934
+ /**
111935
+ * ISO-8601 instant (UTC) at which the echo was stored
111936
+ */
111937
+ received_at: string
111938
+ }
111939
+
111940
+ export interface PlaygroundWorkflowEchoListInput {
111941
+
111942
+ }
111943
+
111944
+ export type PlaygroundWorkflowEchoListOutput = {
111945
+ /**
111946
+ * Identifier of the stored echo
111947
+ */
111948
+ id: string
111949
+ /**
111950
+ * The note exactly as it was received
111951
+ */
111952
+ note: string
111953
+ /**
111954
+ * The tags exactly as they were received
111955
+ */
111956
+ tags: string[]
111957
+ /**
111958
+ * ISO-8601 instant (UTC) at which the echo was stored
111959
+ */
111960
+ received_at: string
111961
+ }[]
111962
+
111963
+ export interface PlaygroundWorkflowPingInput {
111964
+ /**
111965
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
111966
+ */
111967
+ kind?: string
111968
+ }
111969
+
111970
+ export interface PlaygroundWorkflowPingOutput {
111971
+ /**
111972
+ * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
111973
+ */
111974
+ id: string
111975
+ /**
111976
+ * The name of the event that was published
111977
+ */
111978
+ event: string
111979
+ }
111980
+
111981
+ export interface PlaygroundWorkflowSubjectsListInput {
111982
+ /**
111983
+ * How many subjects to return, 1–100. Defaults to 25.
111984
+ */
111985
+ limit?: number
111986
+ /**
111987
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
111988
+ */
111989
+ cursor?: string
111990
+ /**
111991
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
111992
+ */
111993
+ last_activity_after?: string
111994
+ /**
111995
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
111996
+ */
111997
+ last_activity_before?: string
111998
+ }
111999
+
112000
+ export interface PlaygroundWorkflowSubjectsListOutput {
112001
+ /**
112002
+ * This page of subjects, most recently active first
112003
+ */
112004
+ items: {
112005
+ /**
112006
+ * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
112007
+ */
112008
+ subject_key: string
112009
+ /**
112010
+ * Human-readable name of the subject
112011
+ */
112012
+ display_name: string
112013
+ /**
112014
+ * ISO-8601 instant (UTC) of the subject last activity
112015
+ */
112016
+ last_activity_at: string
112017
+ }[]
112018
+ /**
112019
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
112020
+ */
112021
+ has_more: boolean
112022
+ /**
112023
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
112024
+ */
112025
+ next_cursor: (string | null)
112026
+ }
112027
+
112028
+ export interface PlaygroundWsEchoInput {
112029
+
112030
+ }
112031
+
112032
+ export type PlaygroundWsEchoOutput = unknown;
112033
+
111611
112034
  export interface RealtimeArchiveExportInput {
111612
112035
  /**
111613
112036
  * Only entries with ts <= to_ts (epoch ms)
@@ -134877,7 +135300,7 @@ utmCampaign: (string | null)
134877
135300
  */
134878
135301
  country: (string | null)
134879
135302
  /**
134880
- * Pseudonymous visitor id the person graph joins on. Null for a visitor who declined statistics consent or was never asked — those events arrive cookieless and carry no identifier at all.
135303
+ * Shortened event anonymous id. From the rollout, keyed cookieless events carry d:<daily key>: a one-day visitor rotating every UTC midnight, never a toolkit profile. They appear in funnels, person counts and retention as separate people each day; filter consent_statistics = true for consented-only figures and always for retention. Null when no id or daily key is available.
134881
135304
  */
134882
135305
  anonymousId: (string | null)
134883
135306
  }[]
@@ -135426,6 +135849,43 @@ firstSeenAt: string
135426
135849
  }[]
135427
135850
  }
135428
135851
 
135852
+ export interface TrackingRecordingSettingsGetInput {
135853
+
135854
+ }
135855
+
135856
+ export interface TrackingRecordingSettingsGetOutput {
135857
+ /**
135858
+ * Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
135859
+ */
135860
+ enabled: boolean
135861
+ /**
135862
+ * Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
135863
+ */
135864
+ sampleRate: number
135865
+ }
135866
+
135867
+ export interface TrackingRecordingSettingsSetInput {
135868
+ /**
135869
+ * Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
135870
+ */
135871
+ enabled: boolean
135872
+ /**
135873
+ * Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
135874
+ */
135875
+ sampleRate: number
135876
+ }
135877
+
135878
+ export interface TrackingRecordingSettingsSetOutput {
135879
+ /**
135880
+ * Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
135881
+ */
135882
+ enabled: boolean
135883
+ /**
135884
+ * Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
135885
+ */
135886
+ sampleRate: number
135887
+ }
135888
+
135429
135889
  export interface TrackingReportsAttributedJourneyInput {
135430
135890
  /**
135431
135891
  * Show only journey events at or before this instant (ISO). Omit for the whole history.
@@ -135678,11 +136138,11 @@ utcDaysInRange: number
135678
136138
  */
135679
136139
  cookielessShare: number
135680
136140
  /**
135681
- * Events from visitors who declined; no cookie was written and no identifier sent.
136141
+ * Events from visitors who declined or had not decided; the browser sent no identifier, though ingest may derive a one-day d: id.
135682
136142
  */
135683
136143
  cookielessEvents: number
135684
136144
  /**
135685
- * Events carrying an anonymous id. A different cut that overlaps the three consent buckets — it is not the complement of `cookielessEvents` and must never be added to it.
136145
+ * Events with a non-cookieless anonymous id (granted or no-banner). Cookieless d: ids are excluded. This quality slice overlaps the consent buckets and must not be added to them.
135686
136146
  */
135687
136147
  identifiedEvents: number
135688
136148
  /**