@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
@@ -26,12 +26,6 @@ export interface AnalyticsCatalogGetOutput {
26
26
  }[];
27
27
  product_id: string;
28
28
  generated_at: string;
29
- dropped_metrics?: {
30
- type: string;
31
- metric: string;
32
- reason: ("type_unknown" | "aggregate_unknown" | "column_missing");
33
- view_name: string;
34
- }[];
35
29
  }
36
30
  export interface AnalyticsDashboardCreateInput {
37
31
  name: string;
@@ -98544,7 +98538,7 @@ export interface DeploymentCanvasGetOutput {
98544
98538
  liveness?: DeploymentCanvasGetOutputReadiness;
98545
98539
  readiness?: DeploymentCanvasGetOutputReadiness;
98546
98540
  };
98547
- source: ({
98541
+ source: (({
98548
98542
  url?: string;
98549
98543
  path?: string;
98550
98544
  type: "git";
@@ -98570,6 +98564,11 @@ export interface DeploymentCanvasGetOutput {
98570
98564
  outputDir?: string;
98571
98565
  };
98572
98566
  markdown?: boolean;
98567
+ }) & {
98568
+ autoDeploy?: {
98569
+ reason?: string;
98570
+ enabled: boolean;
98571
+ };
98573
98572
  });
98574
98573
  command?: (string | null);
98575
98574
  lastRun?: ({
@@ -98888,6 +98887,7 @@ export interface DeploymentDeploymentCancelOutput {
98888
98887
  id: string;
98889
98888
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
98890
98889
  builtAt: (string | null);
98890
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
98891
98891
  imageRef: (string | null);
98892
98892
  commitSha: (string | null);
98893
98893
  createdAt: string;
@@ -98914,6 +98914,7 @@ export interface DeploymentDeploymentGetOutput {
98914
98914
  id: string;
98915
98915
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
98916
98916
  builtAt: (string | null);
98917
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
98917
98918
  imageRef: (string | null);
98918
98919
  commitSha: (string | null);
98919
98920
  createdAt: string;
@@ -98940,6 +98941,7 @@ export type DeploymentDeploymentListOutput = {
98940
98941
  id: string;
98941
98942
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
98942
98943
  builtAt: (string | null);
98944
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
98943
98945
  imageRef: (string | null);
98944
98946
  commitSha: (string | null);
98945
98947
  createdAt: string;
@@ -98984,6 +98986,12 @@ export interface DeploymentDomainAddOutput {
98984
98986
  createdAt: string;
98985
98987
  tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
98986
98988
  updatedAt: string;
98989
+ managedDns?: ({
98990
+ mode: "external";
98991
+ note: string;
98992
+ tool: "organization_domains_set-mode";
98993
+ governanceDomainId: string;
98994
+ } | null);
98987
98995
  lastProbeAt: (string | null);
98988
98996
  redirectWww: boolean;
98989
98997
  wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
@@ -99481,6 +99489,7 @@ export interface DeploymentEnvironmentCreateOutput {
99481
99489
  expiresAt: (string | null);
99482
99490
  updatedAt: string;
99483
99491
  isProduction: boolean;
99492
+ repoFullName: (string | null);
99484
99493
  lastErrorMessage: (string | null);
99485
99494
  baseEnvironmentId: (string | null);
99486
99495
  }
@@ -99507,6 +99516,7 @@ export interface DeploymentEnvironmentForkOutput {
99507
99516
  expiresAt: (string | null);
99508
99517
  updatedAt: string;
99509
99518
  isProduction: boolean;
99519
+ repoFullName: (string | null);
99510
99520
  lastErrorMessage: (string | null);
99511
99521
  baseEnvironmentId: (string | null);
99512
99522
  }
@@ -99525,6 +99535,7 @@ export interface DeploymentEnvironmentGetOutput {
99525
99535
  expiresAt: (string | null);
99526
99536
  updatedAt: string;
99527
99537
  isProduction: boolean;
99538
+ repoFullName: (string | null);
99528
99539
  lastErrorMessage: (string | null);
99529
99540
  baseEnvironmentId: (string | null);
99530
99541
  }
@@ -99543,6 +99554,7 @@ export type DeploymentEnvironmentListOutput = {
99543
99554
  expiresAt: (string | null);
99544
99555
  updatedAt: string;
99545
99556
  isProduction: boolean;
99557
+ repoFullName: (string | null);
99546
99558
  lastErrorMessage: (string | null);
99547
99559
  baseEnvironmentId: (string | null);
99548
99560
  }[];
@@ -99562,6 +99574,7 @@ export interface DeploymentEnvironmentReconcileOutput {
99562
99574
  expiresAt: (string | null);
99563
99575
  updatedAt: string;
99564
99576
  isProduction: boolean;
99577
+ repoFullName: (string | null);
99565
99578
  lastErrorMessage: (string | null);
99566
99579
  baseEnvironmentId: (string | null);
99567
99580
  }
@@ -99581,6 +99594,7 @@ export interface DeploymentEnvironmentUpdateOutput {
99581
99594
  expiresAt: (string | null);
99582
99595
  updatedAt: string;
99583
99596
  isProduction: boolean;
99597
+ repoFullName: (string | null);
99584
99598
  lastErrorMessage: (string | null);
99585
99599
  baseEnvironmentId: (string | null);
99586
99600
  }
@@ -100012,6 +100026,7 @@ export interface DeploymentMetricsGetOutput {
100012
100026
  export interface DeploymentPreviewEnvironmentCreateInput {
100013
100027
  prBranch?: string;
100014
100028
  prNumber: number;
100029
+ repoFullName?: string;
100015
100030
  baseEnvironmentId: string;
100016
100031
  }
100017
100032
  export interface DeploymentPreviewEnvironmentCreateOutput {
@@ -100026,6 +100041,7 @@ export interface DeploymentPreviewEnvironmentCreateOutput {
100026
100041
  expiresAt: (string | null);
100027
100042
  updatedAt: string;
100028
100043
  isProduction: boolean;
100044
+ repoFullName: (string | null);
100029
100045
  lastErrorMessage: (string | null);
100030
100046
  baseEnvironmentId: (string | null);
100031
100047
  }
@@ -100049,6 +100065,7 @@ export type DeploymentPreviewEnvironmentListOutput = {
100049
100065
  expiresAt: (string | null);
100050
100066
  updatedAt: string;
100051
100067
  isProduction: boolean;
100068
+ repoFullName: (string | null);
100052
100069
  lastErrorMessage: (string | null);
100053
100070
  baseEnvironmentId: (string | null);
100054
100071
  }[];
@@ -100173,7 +100190,7 @@ export interface DeploymentServiceCreateOutput {
100173
100190
  liveness?: DeploymentServiceCreateOutputReadiness;
100174
100191
  readiness?: DeploymentServiceCreateOutputReadiness;
100175
100192
  };
100176
- source: ({
100193
+ source: (({
100177
100194
  url?: string;
100178
100195
  path?: string;
100179
100196
  type: "git";
@@ -100199,6 +100216,11 @@ export interface DeploymentServiceCreateOutput {
100199
100216
  outputDir?: string;
100200
100217
  };
100201
100218
  markdown?: boolean;
100219
+ }) & {
100220
+ autoDeploy?: {
100221
+ reason?: string;
100222
+ enabled: boolean;
100223
+ };
100202
100224
  });
100203
100225
  command?: (string | null);
100204
100226
  lastRun?: ({
@@ -100288,7 +100310,7 @@ export interface DeploymentServiceGetOutput {
100288
100310
  liveness?: DeploymentServiceGetOutputReadiness;
100289
100311
  readiness?: DeploymentServiceGetOutputReadiness;
100290
100312
  };
100291
- source: ({
100313
+ source: (({
100292
100314
  url?: string;
100293
100315
  path?: string;
100294
100316
  type: "git";
@@ -100314,6 +100336,11 @@ export interface DeploymentServiceGetOutput {
100314
100336
  outputDir?: string;
100315
100337
  };
100316
100338
  markdown?: boolean;
100339
+ }) & {
100340
+ autoDeploy?: {
100341
+ reason?: string;
100342
+ enabled: boolean;
100343
+ };
100317
100344
  });
100318
100345
  command?: (string | null);
100319
100346
  lastRun?: ({
@@ -100374,7 +100401,7 @@ export type DeploymentServiceListOutput = {
100374
100401
  liveness?: DeploymentServiceListOutputReadiness;
100375
100402
  readiness?: DeploymentServiceListOutputReadiness;
100376
100403
  };
100377
- source: ({
100404
+ source: (({
100378
100405
  url?: string;
100379
100406
  path?: string;
100380
100407
  type: "git";
@@ -100400,6 +100427,11 @@ export type DeploymentServiceListOutput = {
100400
100427
  outputDir?: string;
100401
100428
  };
100402
100429
  markdown?: boolean;
100430
+ }) & {
100431
+ autoDeploy?: {
100432
+ reason?: string;
100433
+ enabled: boolean;
100434
+ };
100403
100435
  });
100404
100436
  command?: (string | null);
100405
100437
  lastRun?: ({
@@ -100463,6 +100495,7 @@ export interface DeploymentServiceRedeployOutput {
100463
100495
  id: string;
100464
100496
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
100465
100497
  builtAt: (string | null);
100498
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
100466
100499
  imageRef: (string | null);
100467
100500
  commitSha: (string | null);
100468
100501
  createdAt: string;
@@ -100496,6 +100529,7 @@ export interface DeploymentServiceRollbackOutput {
100496
100529
  id: string;
100497
100530
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
100498
100531
  builtAt: (string | null);
100532
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
100499
100533
  imageRef: (string | null);
100500
100534
  commitSha: (string | null);
100501
100535
  createdAt: string;
@@ -100528,7 +100562,7 @@ export interface DeploymentServiceScaleOutput {
100528
100562
  liveness?: DeploymentServiceScaleOutputReadiness;
100529
100563
  readiness?: DeploymentServiceScaleOutputReadiness;
100530
100564
  };
100531
- source: ({
100565
+ source: (({
100532
100566
  url?: string;
100533
100567
  path?: string;
100534
100568
  type: "git";
@@ -100554,6 +100588,11 @@ export interface DeploymentServiceScaleOutput {
100554
100588
  outputDir?: string;
100555
100589
  };
100556
100590
  markdown?: boolean;
100591
+ }) & {
100592
+ autoDeploy?: {
100593
+ reason?: string;
100594
+ enabled: boolean;
100595
+ };
100557
100596
  });
100558
100597
  command?: (string | null);
100559
100598
  lastRun?: ({
@@ -100699,7 +100738,7 @@ export interface DeploymentServiceUpdateOutput {
100699
100738
  liveness?: DeploymentServiceUpdateOutputReadiness;
100700
100739
  readiness?: DeploymentServiceUpdateOutputReadiness;
100701
100740
  };
100702
- source: ({
100741
+ source: (({
100703
100742
  url?: string;
100704
100743
  path?: string;
100705
100744
  type: "git";
@@ -100725,6 +100764,11 @@ export interface DeploymentServiceUpdateOutput {
100725
100764
  outputDir?: string;
100726
100765
  };
100727
100766
  markdown?: boolean;
100767
+ }) & {
100768
+ autoDeploy?: {
100769
+ reason?: string;
100770
+ enabled: boolean;
100771
+ };
100728
100772
  });
100729
100773
  command?: (string | null);
100730
100774
  lastRun?: ({
@@ -100840,6 +100884,7 @@ export interface DeploymentStaticDeployOutput {
100840
100884
  id: string;
100841
100885
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
100842
100886
  builtAt: (string | null);
100887
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
100843
100888
  imageRef: (string | null);
100844
100889
  commitSha: (string | null);
100845
100890
  createdAt: string;
@@ -101020,9 +101065,15 @@ export interface DeploymentVcsConnectionListInput {
101020
101065
  }
101021
101066
  export type DeploymentVcsConnectionListOutput = {
101022
101067
  status: string;
101068
+ provider: ("github" | "github-token");
101069
+ autoDeploy: {
101070
+ reason?: string;
101071
+ enabled: boolean;
101072
+ };
101023
101073
  connectorId: string;
101074
+ needsReauth: boolean;
101024
101075
  accountLogin: string;
101025
- installationId: string;
101076
+ installationId: (string | null);
101026
101077
  }[];
101027
101078
  export interface DeploymentVcsRepoListInput {
101028
101079
  page?: number;
@@ -101030,9 +101081,9 @@ export interface DeploymentVcsRepoListInput {
101030
101081
  connectorId: string;
101031
101082
  }
101032
101083
  export type DeploymentVcsRepoListOutput = {
101033
- private: boolean;
101084
+ private?: boolean;
101034
101085
  fullName: string;
101035
- defaultBranch: string;
101086
+ defaultBranch?: string;
101036
101087
  }[];
101037
101088
  export interface DeploymentVolumeCreateInput {
101038
101089
  name: string;
@@ -117563,6 +117614,332 @@ export interface OrganizationYoutubeInstallInput {
117563
117614
  export interface OrganizationYoutubeInstallOutput {
117564
117615
  url: string;
117565
117616
  }
117617
+ export interface PlaygroundAnalyticsOverviewInput {
117618
+ /**
117619
+ * Max records per entity in recent[]; omit for the endpoint default
117620
+ */
117621
+ limit?: number;
117622
+ }
117623
+ export interface PlaygroundAnalyticsOverviewOutput {
117624
+ ok: boolean;
117625
+ minted: boolean;
117626
+ overview?: unknown;
117627
+ http_status: number;
117628
+ }
117629
+ export interface PlaygroundBillingEntitlementsInput {
117630
+ }
117631
+ export interface PlaygroundBillingEntitlementsOutput {
117632
+ ok: boolean;
117633
+ minted: boolean;
117634
+ http_status: number;
117635
+ entitlements?: unknown;
117636
+ }
117637
+ export interface PlaygroundBillingRecordUsageInput {
117638
+ /**
117639
+ * Quantity of events to record against playground-events (SUM); defaults to 1
117640
+ */
117641
+ value?: number;
117642
+ }
117643
+ export interface PlaygroundBillingRecordUsageOutput {
117644
+ minted: boolean;
117645
+ accepted: (number | null);
117646
+ recorded: boolean;
117647
+ duplicates: (number | null);
117648
+ http_status: number;
117649
+ }
117650
+ export interface PlaygroundClickupCreateTaskInput {
117651
+ /**
117652
+ * Task title; defaults to a fixture label
117653
+ */
117654
+ name?: string;
117655
+ /**
117656
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
117657
+ */
117658
+ listId?: string;
117659
+ }
117660
+ export interface PlaygroundClickupCreateTaskOutput {
117661
+ minted: boolean;
117662
+ task_id: (string | null);
117663
+ list_status: number;
117664
+ vend_status: number;
117665
+ clickup_status: number;
117666
+ installation_count: number;
117667
+ }
117668
+ export interface PlaygroundClickupGetLastWebhookInput {
117669
+ }
117670
+ export type PlaygroundClickupGetLastWebhookOutput = ({
117671
+ payload: string;
117672
+ event_id: string;
117673
+ provider: string;
117674
+ verified: boolean;
117675
+ product_id: string;
117676
+ occurred_at: string;
117677
+ connector_id: string;
117678
+ clickup_event: (string | null);
117679
+ receipt_count: number;
117680
+ } | {
117681
+ found: false;
117682
+ });
117683
+ export interface PlaygroundClickupGetOverviewInput {
117684
+ }
117685
+ export interface PlaygroundClickupGetOverviewOutput {
117686
+ team: ({
117687
+ teamId: string;
117688
+ teamName: string;
117689
+ } | null);
117690
+ lists: PlaygroundClickupGetOverviewOutputItems[];
117691
+ tasks: {
117692
+ id: string;
117693
+ name: string;
117694
+ status: (string | null);
117695
+ }[];
117696
+ minted: boolean;
117697
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
117698
+ list_status: number;
117699
+ vend_status: number;
117700
+ lists_status: number;
117701
+ tasks_status: number;
117702
+ spaces_status: number;
117703
+ folders_status: number;
117704
+ installation_count: number;
117705
+ }
117706
+ export interface PlaygroundClickupGetOverviewOutputItems {
117707
+ id: string;
117708
+ name: string;
117709
+ }
117710
+ export interface PlaygroundEchoPingInput {
117711
+ /**
117712
+ * The text to echo back, 1–1024 characters
117713
+ */
117714
+ message: string;
117715
+ }
117716
+ export interface PlaygroundEchoPingOutput {
117717
+ /**
117718
+ * The message exactly as it was received
117719
+ */
117720
+ message: string;
117721
+ /**
117722
+ * The product the call was resolved to
117723
+ */
117724
+ productId: string;
117725
+ /**
117726
+ * ISO-8601 instant (UTC) at which the call reached the service
117727
+ */
117728
+ receivedAt: string;
117729
+ }
117730
+ export interface PlaygroundGdriveGetLastChangeInput {
117731
+ }
117732
+ export type PlaygroundGdriveGetLastChangeOutput = ({
117733
+ file_id: string;
117734
+ removed: boolean;
117735
+ file_name: (string | null);
117736
+ mime_type: (string | null);
117737
+ product_id: string;
117738
+ occurred_at: string;
117739
+ connector_id: string;
117740
+ resource_state: string;
117741
+ } | {
117742
+ found: false;
117743
+ });
117744
+ export interface PlaygroundGdriveReadFileInput {
117745
+ /**
117746
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
117747
+ */
117748
+ fileId?: string;
117749
+ }
117750
+ export interface PlaygroundGdriveReadFileOutput {
117751
+ minted: boolean;
117752
+ file_id: (string | null);
117753
+ file_name: (string | null);
117754
+ mime_type: (string | null);
117755
+ file_count: number;
117756
+ get_status: number;
117757
+ list_status: number;
117758
+ vend_status: number;
117759
+ content_bytes: (number | null);
117760
+ }
117761
+ export interface PlaygroundGoogleadsReadCustomerInput {
117762
+ }
117763
+ export interface PlaygroundGoogleadsReadCustomerOutput {
117764
+ minted: boolean;
117765
+ vended: boolean;
117766
+ customer_id: (string | null);
117767
+ vend_status: number;
117768
+ result_count: number;
117769
+ search_status: number;
117770
+ login_customer_id: (string | null);
117771
+ }
117772
+ export interface PlaygroundLifecycleGetStateInput {
117773
+ }
117774
+ export interface PlaygroundLifecycleGetStateOutput {
117775
+ blocked: boolean;
117776
+ archived: boolean;
117777
+ productId: string;
117778
+ lastBlockTransition: ({
117779
+ eventId: string;
117780
+ eventName: string;
117781
+ productId: string;
117782
+ occurredAt: string;
117783
+ recordedAt: string;
117784
+ receiptCount: number;
117785
+ organizationId: string;
117786
+ cascadedFromOrg: boolean;
117787
+ } | null);
117788
+ lastArchiveTransition: ({
117789
+ eventId: string;
117790
+ eventName: string;
117791
+ productId: string;
117792
+ occurredAt: string;
117793
+ recordedAt: string;
117794
+ receiptCount: number;
117795
+ organizationId: string;
117796
+ cascadedFromOrg: boolean;
117797
+ } | null);
117798
+ }
117799
+ export interface PlaygroundLifecycleListEventsInput {
117800
+ }
117801
+ export type PlaygroundLifecycleListEventsOutput = {
117802
+ eventId: string;
117803
+ eventName: string;
117804
+ productId: string;
117805
+ occurredAt: string;
117806
+ recordedAt: string;
117807
+ receiptCount: number;
117808
+ organizationId: string;
117809
+ cascadedFromOrg: boolean;
117810
+ }[];
117811
+ export interface PlaygroundWebhookGetLastInput {
117812
+ }
117813
+ export type PlaygroundWebhookGetLastOutput = ({
117814
+ payload?: unknown;
117815
+ event_id: string;
117816
+ provider: string;
117817
+ verified: boolean;
117818
+ product_id: string;
117819
+ occurred_at: string;
117820
+ connector_id: string;
117821
+ delivery_count: number;
117822
+ } | {
117823
+ found: false;
117824
+ });
117825
+ export interface PlaygroundWorkflowEchoInput {
117826
+ /**
117827
+ * The text to store, 1–1024 characters
117828
+ */
117829
+ note: string;
117830
+ /**
117831
+ * Optional labels stored alongside the note, at most 20
117832
+ *
117833
+ * @maxItems 20
117834
+ */
117835
+ 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];
117836
+ }
117837
+ export interface PlaygroundWorkflowEchoOutput {
117838
+ /**
117839
+ * Identifier of the stored echo
117840
+ */
117841
+ id: string;
117842
+ /**
117843
+ * The note exactly as it was received
117844
+ */
117845
+ note: string;
117846
+ /**
117847
+ * The tags exactly as they were received
117848
+ */
117849
+ tags: string[];
117850
+ /**
117851
+ * 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.
117852
+ */
117853
+ echo_id: string;
117854
+ /**
117855
+ * ISO-8601 instant (UTC) at which the echo was stored
117856
+ */
117857
+ received_at: string;
117858
+ }
117859
+ export interface PlaygroundWorkflowEchoListInput {
117860
+ }
117861
+ export type PlaygroundWorkflowEchoListOutput = {
117862
+ /**
117863
+ * Identifier of the stored echo
117864
+ */
117865
+ id: string;
117866
+ /**
117867
+ * The note exactly as it was received
117868
+ */
117869
+ note: string;
117870
+ /**
117871
+ * The tags exactly as they were received
117872
+ */
117873
+ tags: string[];
117874
+ /**
117875
+ * ISO-8601 instant (UTC) at which the echo was stored
117876
+ */
117877
+ received_at: string;
117878
+ }[];
117879
+ export interface PlaygroundWorkflowPingInput {
117880
+ /**
117881
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
117882
+ */
117883
+ kind?: string;
117884
+ }
117885
+ export interface PlaygroundWorkflowPingOutput {
117886
+ /**
117887
+ * 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.
117888
+ */
117889
+ id: string;
117890
+ /**
117891
+ * The name of the event that was published
117892
+ */
117893
+ event: string;
117894
+ }
117895
+ export interface PlaygroundWorkflowSubjectsListInput {
117896
+ /**
117897
+ * How many subjects to return, 1–100. Defaults to 25.
117898
+ */
117899
+ limit?: number;
117900
+ /**
117901
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
117902
+ */
117903
+ cursor?: string;
117904
+ /**
117905
+ * 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.
117906
+ */
117907
+ last_activity_after?: string;
117908
+ /**
117909
+ * 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.
117910
+ */
117911
+ last_activity_before?: string;
117912
+ }
117913
+ export interface PlaygroundWorkflowSubjectsListOutput {
117914
+ /**
117915
+ * This page of subjects, most recently active first
117916
+ */
117917
+ items: {
117918
+ /**
117919
+ * 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.
117920
+ */
117921
+ subject_key: string;
117922
+ /**
117923
+ * Human-readable name of the subject
117924
+ */
117925
+ display_name: string;
117926
+ /**
117927
+ * ISO-8601 instant (UTC) of the subject last activity
117928
+ */
117929
+ last_activity_at: string;
117930
+ }[];
117931
+ /**
117932
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
117933
+ */
117934
+ has_more: boolean;
117935
+ /**
117936
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
117937
+ */
117938
+ next_cursor: (string | null);
117939
+ }
117940
+ export interface PlaygroundWsEchoInput {
117941
+ }
117942
+ export type PlaygroundWsEchoOutput = unknown;
117566
117943
  export interface RealtimeArchiveExportInput {
117567
117944
  /**
117568
117945
  * Only entries with ts <= to_ts (epoch ms)
@@ -142007,7 +142384,7 @@ export interface TrackingLiveEventsListOutput {
142007
142384
  */
142008
142385
  country: (string | null);
142009
142386
  /**
142010
- * 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.
142387
+ * 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.
142011
142388
  */
142012
142389
  anonymousId: (string | null);
142013
142390
  }[];
@@ -142547,6 +142924,38 @@ export interface TrackingProfilesListOutput {
142547
142924
  firstSeenAt: string;
142548
142925
  }[];
142549
142926
  }
142927
+ export interface TrackingRecordingSettingsGetInput {
142928
+ }
142929
+ export interface TrackingRecordingSettingsGetOutput {
142930
+ /**
142931
+ * Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
142932
+ */
142933
+ enabled: boolean;
142934
+ /**
142935
+ * Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
142936
+ */
142937
+ sampleRate: number;
142938
+ }
142939
+ export interface TrackingRecordingSettingsSetInput {
142940
+ /**
142941
+ * Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
142942
+ */
142943
+ enabled: boolean;
142944
+ /**
142945
+ * Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
142946
+ */
142947
+ sampleRate: number;
142948
+ }
142949
+ export interface TrackingRecordingSettingsSetOutput {
142950
+ /**
142951
+ * Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
142952
+ */
142953
+ enabled: boolean;
142954
+ /**
142955
+ * Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
142956
+ */
142957
+ sampleRate: number;
142958
+ }
142550
142959
  export interface TrackingReportsAttributedJourneyInput {
142551
142960
  /**
142552
142961
  * Show only journey events at or before this instant (ISO). Omit for the whole history.
@@ -142796,11 +143205,11 @@ export interface TrackingReportsEventVolumeOutput {
142796
143205
  */
142797
143206
  cookielessShare: number;
142798
143207
  /**
142799
- * Events from visitors who declined; no cookie was written and no identifier sent.
143208
+ * Events from visitors who declined or had not decided; the browser sent no identifier, though ingest may derive a one-day d: id.
142800
143209
  */
142801
143210
  cookielessEvents: number;
142802
143211
  /**
142803
- * 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.
143212
+ * 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.
142804
143213
  */
142805
143214
  identifiedEvents: number;
142806
143215
  /**