@lessly/sdk-app 105.8.0 → 105.9.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.
@@ -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;
@@ -79280,7 +79274,7 @@ export interface ContentChannelsBindInput {
79280
79274
  */
79281
79275
  id: string;
79282
79276
  /**
79283
- * The platform connector to publish through — the id of a connector attached to this product, from the workspace connectors list. Networks with no publishing connector (instagram, facebook, tiktok, threads, pinterest, bluesky, telegram, LinkedIn company pages) are rejected.
79277
+ * The platform connector to publish through — the id of a connector attached to this product. It must be attached and of this channel's network, and not already carried by another channel of this product, or the call is refused with connector_not_found, connector_network_mismatch or connector_already_bound. Networks with no publishing connector (instagram, facebook, tiktok, threads, pinterest, bluesky, telegram, LinkedIn company pages) are refused with no_api_provider.
79284
79278
  */
79285
79279
  connectorId: string;
79286
79280
  /**
@@ -79293,6 +79287,10 @@ export interface ContentChannelsBindOutput {
79293
79287
  * Channel id — pass this to content_publications_schedule.
79294
79288
  */
79295
79289
  id: string;
79290
+ /**
79291
+ * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79292
+ */
79293
+ origin?: ("integration" | "manual");
79296
79294
  /**
79297
79295
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79298
79296
  */
@@ -79318,7 +79316,7 @@ export interface ContentChannelsBindOutput {
79318
79316
  */
79319
79317
  displayName: string;
79320
79318
  /**
79321
- * Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
79319
+ * Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
79322
79320
  */
79323
79321
  pauseReason: (string | null);
79324
79322
  /**
@@ -79347,6 +79345,10 @@ export interface ContentChannelsGetOutput {
79347
79345
  * Channel id — pass this to content_publications_schedule.
79348
79346
  */
79349
79347
  id: string;
79348
+ /**
79349
+ * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79350
+ */
79351
+ origin?: ("integration" | "manual");
79350
79352
  /**
79351
79353
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79352
79354
  */
@@ -79372,7 +79374,7 @@ export interface ContentChannelsGetOutput {
79372
79374
  */
79373
79375
  displayName: string;
79374
79376
  /**
79375
- * Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
79377
+ * Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
79376
79378
  */
79377
79379
  pauseReason: (string | null);
79378
79380
  /**
@@ -79417,6 +79419,10 @@ export interface ContentChannelsListOutput {
79417
79419
  * Channel id — pass this to content_publications_schedule.
79418
79420
  */
79419
79421
  id: string;
79422
+ /**
79423
+ * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79424
+ */
79425
+ origin?: ("integration" | "manual");
79420
79426
  /**
79421
79427
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79422
79428
  */
@@ -79442,7 +79448,7 @@ export interface ContentChannelsListOutput {
79442
79448
  */
79443
79449
  displayName: string;
79444
79450
  /**
79445
- * Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
79451
+ * Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
79446
79452
  */
79447
79453
  pauseReason: (string | null);
79448
79454
  /**
@@ -79472,6 +79478,10 @@ export interface ContentChannelsResumeOutput {
79472
79478
  * Channel id — pass this to content_publications_schedule.
79473
79479
  */
79474
79480
  id: string;
79481
+ /**
79482
+ * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79483
+ */
79484
+ origin?: ("integration" | "manual");
79475
79485
  /**
79476
79486
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79477
79487
  */
@@ -79497,7 +79507,7 @@ export interface ContentChannelsResumeOutput {
79497
79507
  */
79498
79508
  displayName: string;
79499
79509
  /**
79500
- * Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
79510
+ * Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
79501
79511
  */
79502
79512
  pauseReason: (string | null);
79503
79513
  /**
@@ -79526,6 +79536,10 @@ export interface ContentChannelsUnbindOutput {
79526
79536
  * Channel id — pass this to content_publications_schedule.
79527
79537
  */
79528
79538
  id: string;
79539
+ /**
79540
+ * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79541
+ */
79542
+ origin?: ("integration" | "manual");
79529
79543
  /**
79530
79544
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79531
79545
  */
@@ -79551,7 +79565,7 @@ export interface ContentChannelsUnbindOutput {
79551
79565
  */
79552
79566
  displayName: string;
79553
79567
  /**
79554
- * Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
79568
+ * Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
79555
79569
  */
79556
79570
  pauseReason: (string | null);
79557
79571
  /**
@@ -79594,6 +79608,10 @@ export interface ContentChannelsUpdateOutput {
79594
79608
  * Channel id — pass this to content_publications_schedule.
79595
79609
  */
79596
79610
  id: string;
79611
+ /**
79612
+ * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79613
+ */
79614
+ origin?: ("integration" | "manual");
79597
79615
  /**
79598
79616
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79599
79617
  */
@@ -79619,7 +79637,7 @@ export interface ContentChannelsUpdateOutput {
79619
79637
  */
79620
79638
  displayName: string;
79621
79639
  /**
79622
- * Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
79640
+ * Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
79623
79641
  */
79624
79642
  pauseReason: (string | null);
79625
79643
  /**
@@ -117643,6 +117661,332 @@ export interface OrganizationYoutubeInstallInput {
117643
117661
  export interface OrganizationYoutubeInstallOutput {
117644
117662
  url: string;
117645
117663
  }
117664
+ export interface PlaygroundAnalyticsOverviewInput {
117665
+ /**
117666
+ * Max records per entity in recent[]; omit for the endpoint default
117667
+ */
117668
+ limit?: number;
117669
+ }
117670
+ export interface PlaygroundAnalyticsOverviewOutput {
117671
+ ok: boolean;
117672
+ minted: boolean;
117673
+ overview?: unknown;
117674
+ http_status: number;
117675
+ }
117676
+ export interface PlaygroundBillingEntitlementsInput {
117677
+ }
117678
+ export interface PlaygroundBillingEntitlementsOutput {
117679
+ ok: boolean;
117680
+ minted: boolean;
117681
+ http_status: number;
117682
+ entitlements?: unknown;
117683
+ }
117684
+ export interface PlaygroundBillingRecordUsageInput {
117685
+ /**
117686
+ * Quantity of events to record against playground-events (SUM); defaults to 1
117687
+ */
117688
+ value?: number;
117689
+ }
117690
+ export interface PlaygroundBillingRecordUsageOutput {
117691
+ minted: boolean;
117692
+ accepted: (number | null);
117693
+ recorded: boolean;
117694
+ duplicates: (number | null);
117695
+ http_status: number;
117696
+ }
117697
+ export interface PlaygroundClickupCreateTaskInput {
117698
+ /**
117699
+ * Task title; defaults to a fixture label
117700
+ */
117701
+ name?: string;
117702
+ /**
117703
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
117704
+ */
117705
+ listId?: string;
117706
+ }
117707
+ export interface PlaygroundClickupCreateTaskOutput {
117708
+ minted: boolean;
117709
+ task_id: (string | null);
117710
+ list_status: number;
117711
+ vend_status: number;
117712
+ clickup_status: number;
117713
+ installation_count: number;
117714
+ }
117715
+ export interface PlaygroundClickupGetLastWebhookInput {
117716
+ }
117717
+ export type PlaygroundClickupGetLastWebhookOutput = ({
117718
+ payload: string;
117719
+ event_id: string;
117720
+ provider: string;
117721
+ verified: boolean;
117722
+ product_id: string;
117723
+ occurred_at: string;
117724
+ connector_id: string;
117725
+ clickup_event: (string | null);
117726
+ receipt_count: number;
117727
+ } | {
117728
+ found: false;
117729
+ });
117730
+ export interface PlaygroundClickupGetOverviewInput {
117731
+ }
117732
+ export interface PlaygroundClickupGetOverviewOutput {
117733
+ team: ({
117734
+ teamId: string;
117735
+ teamName: string;
117736
+ } | null);
117737
+ lists: PlaygroundClickupGetOverviewOutputItems[];
117738
+ tasks: {
117739
+ id: string;
117740
+ name: string;
117741
+ status: (string | null);
117742
+ }[];
117743
+ minted: boolean;
117744
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
117745
+ list_status: number;
117746
+ vend_status: number;
117747
+ lists_status: number;
117748
+ tasks_status: number;
117749
+ spaces_status: number;
117750
+ folders_status: number;
117751
+ installation_count: number;
117752
+ }
117753
+ export interface PlaygroundClickupGetOverviewOutputItems {
117754
+ id: string;
117755
+ name: string;
117756
+ }
117757
+ export interface PlaygroundEchoPingInput {
117758
+ /**
117759
+ * The text to echo back, 1–1024 characters
117760
+ */
117761
+ message: string;
117762
+ }
117763
+ export interface PlaygroundEchoPingOutput {
117764
+ /**
117765
+ * The message exactly as it was received
117766
+ */
117767
+ message: string;
117768
+ /**
117769
+ * The product the call was resolved to
117770
+ */
117771
+ productId: string;
117772
+ /**
117773
+ * ISO-8601 instant (UTC) at which the call reached the service
117774
+ */
117775
+ receivedAt: string;
117776
+ }
117777
+ export interface PlaygroundGdriveGetLastChangeInput {
117778
+ }
117779
+ export type PlaygroundGdriveGetLastChangeOutput = ({
117780
+ file_id: string;
117781
+ removed: boolean;
117782
+ file_name: (string | null);
117783
+ mime_type: (string | null);
117784
+ product_id: string;
117785
+ occurred_at: string;
117786
+ connector_id: string;
117787
+ resource_state: string;
117788
+ } | {
117789
+ found: false;
117790
+ });
117791
+ export interface PlaygroundGdriveReadFileInput {
117792
+ /**
117793
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
117794
+ */
117795
+ fileId?: string;
117796
+ }
117797
+ export interface PlaygroundGdriveReadFileOutput {
117798
+ minted: boolean;
117799
+ file_id: (string | null);
117800
+ file_name: (string | null);
117801
+ mime_type: (string | null);
117802
+ file_count: number;
117803
+ get_status: number;
117804
+ list_status: number;
117805
+ vend_status: number;
117806
+ content_bytes: (number | null);
117807
+ }
117808
+ export interface PlaygroundGoogleadsReadCustomerInput {
117809
+ }
117810
+ export interface PlaygroundGoogleadsReadCustomerOutput {
117811
+ minted: boolean;
117812
+ vended: boolean;
117813
+ customer_id: (string | null);
117814
+ vend_status: number;
117815
+ result_count: number;
117816
+ search_status: number;
117817
+ login_customer_id: (string | null);
117818
+ }
117819
+ export interface PlaygroundLifecycleGetStateInput {
117820
+ }
117821
+ export interface PlaygroundLifecycleGetStateOutput {
117822
+ blocked: boolean;
117823
+ archived: boolean;
117824
+ productId: string;
117825
+ lastBlockTransition: ({
117826
+ eventId: string;
117827
+ eventName: string;
117828
+ productId: string;
117829
+ occurredAt: string;
117830
+ recordedAt: string;
117831
+ receiptCount: number;
117832
+ organizationId: string;
117833
+ cascadedFromOrg: boolean;
117834
+ } | null);
117835
+ lastArchiveTransition: ({
117836
+ eventId: string;
117837
+ eventName: string;
117838
+ productId: string;
117839
+ occurredAt: string;
117840
+ recordedAt: string;
117841
+ receiptCount: number;
117842
+ organizationId: string;
117843
+ cascadedFromOrg: boolean;
117844
+ } | null);
117845
+ }
117846
+ export interface PlaygroundLifecycleListEventsInput {
117847
+ }
117848
+ export type PlaygroundLifecycleListEventsOutput = {
117849
+ eventId: string;
117850
+ eventName: string;
117851
+ productId: string;
117852
+ occurredAt: string;
117853
+ recordedAt: string;
117854
+ receiptCount: number;
117855
+ organizationId: string;
117856
+ cascadedFromOrg: boolean;
117857
+ }[];
117858
+ export interface PlaygroundWebhookGetLastInput {
117859
+ }
117860
+ export type PlaygroundWebhookGetLastOutput = ({
117861
+ payload?: unknown;
117862
+ event_id: string;
117863
+ provider: string;
117864
+ verified: boolean;
117865
+ product_id: string;
117866
+ occurred_at: string;
117867
+ connector_id: string;
117868
+ delivery_count: number;
117869
+ } | {
117870
+ found: false;
117871
+ });
117872
+ export interface PlaygroundWorkflowEchoInput {
117873
+ /**
117874
+ * The text to store, 1–1024 characters
117875
+ */
117876
+ note: string;
117877
+ /**
117878
+ * Optional labels stored alongside the note, at most 20
117879
+ *
117880
+ * @maxItems 20
117881
+ */
117882
+ 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];
117883
+ }
117884
+ export interface PlaygroundWorkflowEchoOutput {
117885
+ /**
117886
+ * Identifier of the stored echo
117887
+ */
117888
+ id: string;
117889
+ /**
117890
+ * The note exactly as it was received
117891
+ */
117892
+ note: string;
117893
+ /**
117894
+ * The tags exactly as they were received
117895
+ */
117896
+ tags: string[];
117897
+ /**
117898
+ * 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.
117899
+ */
117900
+ echo_id: string;
117901
+ /**
117902
+ * ISO-8601 instant (UTC) at which the echo was stored
117903
+ */
117904
+ received_at: string;
117905
+ }
117906
+ export interface PlaygroundWorkflowEchoListInput {
117907
+ }
117908
+ export type PlaygroundWorkflowEchoListOutput = {
117909
+ /**
117910
+ * Identifier of the stored echo
117911
+ */
117912
+ id: string;
117913
+ /**
117914
+ * The note exactly as it was received
117915
+ */
117916
+ note: string;
117917
+ /**
117918
+ * The tags exactly as they were received
117919
+ */
117920
+ tags: string[];
117921
+ /**
117922
+ * ISO-8601 instant (UTC) at which the echo was stored
117923
+ */
117924
+ received_at: string;
117925
+ }[];
117926
+ export interface PlaygroundWorkflowPingInput {
117927
+ /**
117928
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
117929
+ */
117930
+ kind?: string;
117931
+ }
117932
+ export interface PlaygroundWorkflowPingOutput {
117933
+ /**
117934
+ * 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.
117935
+ */
117936
+ id: string;
117937
+ /**
117938
+ * The name of the event that was published
117939
+ */
117940
+ event: string;
117941
+ }
117942
+ export interface PlaygroundWorkflowSubjectsListInput {
117943
+ /**
117944
+ * How many subjects to return, 1–100. Defaults to 25.
117945
+ */
117946
+ limit?: number;
117947
+ /**
117948
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
117949
+ */
117950
+ cursor?: string;
117951
+ /**
117952
+ * 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.
117953
+ */
117954
+ last_activity_after?: string;
117955
+ /**
117956
+ * 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.
117957
+ */
117958
+ last_activity_before?: string;
117959
+ }
117960
+ export interface PlaygroundWorkflowSubjectsListOutput {
117961
+ /**
117962
+ * This page of subjects, most recently active first
117963
+ */
117964
+ items: {
117965
+ /**
117966
+ * 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.
117967
+ */
117968
+ subject_key: string;
117969
+ /**
117970
+ * Human-readable name of the subject
117971
+ */
117972
+ display_name: string;
117973
+ /**
117974
+ * ISO-8601 instant (UTC) of the subject last activity
117975
+ */
117976
+ last_activity_at: string;
117977
+ }[];
117978
+ /**
117979
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
117980
+ */
117981
+ has_more: boolean;
117982
+ /**
117983
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
117984
+ */
117985
+ next_cursor: (string | null);
117986
+ }
117987
+ export interface PlaygroundWsEchoInput {
117988
+ }
117989
+ export type PlaygroundWsEchoOutput = unknown;
117646
117990
  export interface RealtimeArchiveExportInput {
117647
117991
  /**
117648
117992
  * Only entries with ts <= to_ts (epoch ms)