@lessly/sdk-app 105.10.0 → 105.11.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;
@@ -79297,6 +79291,10 @@ export interface ContentChannelsBindOutput {
79297
79291
  * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79298
79292
  */
79299
79293
  origin?: ("integration" | "manual");
79294
+ /**
79295
+ * Whether this channel is in use. An integration channel is always true. A manual channel is true once someone turns it on with content_channels_update (a new product starts with every manual channel off). Nothing can be scheduled on a channel that is off: content_publications_schedule refuses it with channel_disabled.
79296
+ */
79297
+ enabled: boolean;
79300
79298
  /**
79301
79299
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79302
79300
  */
@@ -79321,6 +79319,10 @@ export interface ContentChannelsBindOutput {
79321
79319
  * Human label for the channel.
79322
79320
  */
79323
79321
  displayName: string;
79322
+ /**
79323
+ * The network as a person names it — LinkedIn, X, YouTube. Use it to label a network; displayName is the account or channel name.
79324
+ */
79325
+ networkName: string;
79324
79326
  /**
79325
79327
  * 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.
79326
79328
  */
@@ -79355,6 +79357,10 @@ export interface ContentChannelsGetOutput {
79355
79357
  * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79356
79358
  */
79357
79359
  origin?: ("integration" | "manual");
79360
+ /**
79361
+ * Whether this channel is in use. An integration channel is always true. A manual channel is true once someone turns it on with content_channels_update (a new product starts with every manual channel off). Nothing can be scheduled on a channel that is off: content_publications_schedule refuses it with channel_disabled.
79362
+ */
79363
+ enabled: boolean;
79358
79364
  /**
79359
79365
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79360
79366
  */
@@ -79379,6 +79385,10 @@ export interface ContentChannelsGetOutput {
79379
79385
  * Human label for the channel.
79380
79386
  */
79381
79387
  displayName: string;
79388
+ /**
79389
+ * The network as a person names it — LinkedIn, X, YouTube. Use it to label a network; displayName is the account or channel name.
79390
+ */
79391
+ networkName: string;
79382
79392
  /**
79383
79393
  * 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.
79384
79394
  */
@@ -79429,6 +79439,10 @@ export interface ContentChannelsListOutput {
79429
79439
  * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79430
79440
  */
79431
79441
  origin?: ("integration" | "manual");
79442
+ /**
79443
+ * Whether this channel is in use. An integration channel is always true. A manual channel is true once someone turns it on with content_channels_update (a new product starts with every manual channel off). Nothing can be scheduled on a channel that is off: content_publications_schedule refuses it with channel_disabled.
79444
+ */
79445
+ enabled: boolean;
79432
79446
  /**
79433
79447
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79434
79448
  */
@@ -79453,6 +79467,10 @@ export interface ContentChannelsListOutput {
79453
79467
  * Human label for the channel.
79454
79468
  */
79455
79469
  displayName: string;
79470
+ /**
79471
+ * The network as a person names it — LinkedIn, X, YouTube. Use it to label a network; displayName is the account or channel name.
79472
+ */
79473
+ networkName: string;
79456
79474
  /**
79457
79475
  * 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.
79458
79476
  */
@@ -79488,6 +79506,10 @@ export interface ContentChannelsResumeOutput {
79488
79506
  * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79489
79507
  */
79490
79508
  origin?: ("integration" | "manual");
79509
+ /**
79510
+ * Whether this channel is in use. An integration channel is always true. A manual channel is true once someone turns it on with content_channels_update (a new product starts with every manual channel off). Nothing can be scheduled on a channel that is off: content_publications_schedule refuses it with channel_disabled.
79511
+ */
79512
+ enabled: boolean;
79491
79513
  /**
79492
79514
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79493
79515
  */
@@ -79512,6 +79534,10 @@ export interface ContentChannelsResumeOutput {
79512
79534
  * Human label for the channel.
79513
79535
  */
79514
79536
  displayName: string;
79537
+ /**
79538
+ * The network as a person names it — LinkedIn, X, YouTube. Use it to label a network; displayName is the account or channel name.
79539
+ */
79540
+ networkName: string;
79515
79541
  /**
79516
79542
  * 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.
79517
79543
  */
@@ -79546,6 +79572,10 @@ export interface ContentChannelsUnbindOutput {
79546
79572
  * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79547
79573
  */
79548
79574
  origin?: ("integration" | "manual");
79575
+ /**
79576
+ * Whether this channel is in use. An integration channel is always true. A manual channel is true once someone turns it on with content_channels_update (a new product starts with every manual channel off). Nothing can be scheduled on a channel that is off: content_publications_schedule refuses it with channel_disabled.
79577
+ */
79578
+ enabled: boolean;
79549
79579
  /**
79550
79580
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79551
79581
  */
@@ -79570,6 +79600,10 @@ export interface ContentChannelsUnbindOutput {
79570
79600
  * Human label for the channel.
79571
79601
  */
79572
79602
  displayName: string;
79603
+ /**
79604
+ * The network as a person names it — LinkedIn, X, YouTube. Use it to label a network; displayName is the account or channel name.
79605
+ */
79606
+ networkName: string;
79573
79607
  /**
79574
79608
  * 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.
79575
79609
  */
@@ -79594,6 +79628,10 @@ export interface ContentChannelsUpdateInput {
79594
79628
  * The channel id returned by content_channels_list.
79595
79629
  */
79596
79630
  id: string;
79631
+ /**
79632
+ * Turn a manual channel on (true) or off (false). Integration channels are always on: false is refused with channel_not_toggleable. A channel with publications still scheduled cannot be turned off: the call is refused with channel_has_scheduled until they are cancelled or have gone out. Omit to leave it as it is.
79633
+ */
79634
+ enabled?: boolean;
79597
79635
  /**
79598
79636
  * New human label for the channel. Omit to keep the current one.
79599
79637
  */
@@ -79618,6 +79656,10 @@ export interface ContentChannelsUpdateOutput {
79618
79656
  * integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
79619
79657
  */
79620
79658
  origin?: ("integration" | "manual");
79659
+ /**
79660
+ * Whether this channel is in use. An integration channel is always true. A manual channel is true once someone turns it on with content_channels_update (a new product starts with every manual channel off). Nothing can be scheduled on a channel that is off: content_publications_schedule refuses it with channel_disabled.
79661
+ */
79662
+ enabled: boolean;
79621
79663
  /**
79622
79664
  * Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
79623
79665
  */
@@ -79642,6 +79684,10 @@ export interface ContentChannelsUpdateOutput {
79642
79684
  * Human label for the channel.
79643
79685
  */
79644
79686
  displayName: string;
79687
+ /**
79688
+ * The network as a person names it — LinkedIn, X, YouTube. Use it to label a network; displayName is the account or channel name.
79689
+ */
79690
+ networkName: string;
79645
79691
  /**
79646
79692
  * 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.
79647
79693
  */
@@ -98321,7 +98367,7 @@ export interface ContentPublicationsValidateOutput {
98321
98367
  /**
98322
98368
  * Stable machine code for what is wrong: text_empty, text_too_long, too_many_media, link_not_supported, multiple_links, media_missing, media_not_ready, media_not_supported, video_required, cost_unknown, daily_ceiling_exceeded, network_not_targeted (the post has no output for this channel's network, or variantId names another network's output), variant_required (the network has several outputs and no variantId was given — the message lists them), variant_not_found (variantId matches no output), post_type_not_supported, field_required, field_too_long (both carry the field as `fields.<id>`).
98323
98369
  */
98324
- code: ("text_empty" | "text_too_long" | "too_many_media" | "link_not_supported" | "multiple_links" | "media_missing" | "media_not_ready" | "media_not_supported" | "video_required" | "cost_unknown" | "daily_ceiling_exceeded" | "network_not_targeted" | "post_type_not_supported" | "field_required" | "field_too_long" | "variant_required" | "variant_not_found" | "cover_too_large" | "cover_not_supported");
98370
+ code: ("text_empty" | "text_too_long" | "too_many_media" | "link_not_supported" | "multiple_links" | "media_missing" | "media_not_ready" | "media_not_supported" | "video_required" | "cost_unknown" | "daily_ceiling_exceeded" | "network_not_targeted" | "post_type_not_supported" | "field_required" | "field_too_long" | "variant_required" | "variant_not_found" | "cover_too_large" | "cover_not_supported" | "channel_disabled");
98325
98371
  /**
98326
98372
  * Which input the issue is about, when it is about one.
98327
98373
  */
@@ -117667,6 +117713,332 @@ export interface OrganizationYoutubeInstallInput {
117667
117713
  export interface OrganizationYoutubeInstallOutput {
117668
117714
  url: string;
117669
117715
  }
117716
+ export interface PlaygroundAnalyticsOverviewInput {
117717
+ /**
117718
+ * Max records per entity in recent[]; omit for the endpoint default
117719
+ */
117720
+ limit?: number;
117721
+ }
117722
+ export interface PlaygroundAnalyticsOverviewOutput {
117723
+ ok: boolean;
117724
+ minted: boolean;
117725
+ overview?: unknown;
117726
+ http_status: number;
117727
+ }
117728
+ export interface PlaygroundBillingEntitlementsInput {
117729
+ }
117730
+ export interface PlaygroundBillingEntitlementsOutput {
117731
+ ok: boolean;
117732
+ minted: boolean;
117733
+ http_status: number;
117734
+ entitlements?: unknown;
117735
+ }
117736
+ export interface PlaygroundBillingRecordUsageInput {
117737
+ /**
117738
+ * Quantity of events to record against playground-events (SUM); defaults to 1
117739
+ */
117740
+ value?: number;
117741
+ }
117742
+ export interface PlaygroundBillingRecordUsageOutput {
117743
+ minted: boolean;
117744
+ accepted: (number | null);
117745
+ recorded: boolean;
117746
+ duplicates: (number | null);
117747
+ http_status: number;
117748
+ }
117749
+ export interface PlaygroundClickupCreateTaskInput {
117750
+ /**
117751
+ * Task title; defaults to a fixture label
117752
+ */
117753
+ name?: string;
117754
+ /**
117755
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
117756
+ */
117757
+ listId?: string;
117758
+ }
117759
+ export interface PlaygroundClickupCreateTaskOutput {
117760
+ minted: boolean;
117761
+ task_id: (string | null);
117762
+ list_status: number;
117763
+ vend_status: number;
117764
+ clickup_status: number;
117765
+ installation_count: number;
117766
+ }
117767
+ export interface PlaygroundClickupGetLastWebhookInput {
117768
+ }
117769
+ export type PlaygroundClickupGetLastWebhookOutput = ({
117770
+ payload: string;
117771
+ event_id: string;
117772
+ provider: string;
117773
+ verified: boolean;
117774
+ product_id: string;
117775
+ occurred_at: string;
117776
+ connector_id: string;
117777
+ clickup_event: (string | null);
117778
+ receipt_count: number;
117779
+ } | {
117780
+ found: false;
117781
+ });
117782
+ export interface PlaygroundClickupGetOverviewInput {
117783
+ }
117784
+ export interface PlaygroundClickupGetOverviewOutput {
117785
+ team: ({
117786
+ teamId: string;
117787
+ teamName: string;
117788
+ } | null);
117789
+ lists: PlaygroundClickupGetOverviewOutputItems[];
117790
+ tasks: {
117791
+ id: string;
117792
+ name: string;
117793
+ status: (string | null);
117794
+ }[];
117795
+ minted: boolean;
117796
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
117797
+ list_status: number;
117798
+ vend_status: number;
117799
+ lists_status: number;
117800
+ tasks_status: number;
117801
+ spaces_status: number;
117802
+ folders_status: number;
117803
+ installation_count: number;
117804
+ }
117805
+ export interface PlaygroundClickupGetOverviewOutputItems {
117806
+ id: string;
117807
+ name: string;
117808
+ }
117809
+ export interface PlaygroundEchoPingInput {
117810
+ /**
117811
+ * The text to echo back, 1–1024 characters
117812
+ */
117813
+ message: string;
117814
+ }
117815
+ export interface PlaygroundEchoPingOutput {
117816
+ /**
117817
+ * The message exactly as it was received
117818
+ */
117819
+ message: string;
117820
+ /**
117821
+ * The product the call was resolved to
117822
+ */
117823
+ productId: string;
117824
+ /**
117825
+ * ISO-8601 instant (UTC) at which the call reached the service
117826
+ */
117827
+ receivedAt: string;
117828
+ }
117829
+ export interface PlaygroundGdriveGetLastChangeInput {
117830
+ }
117831
+ export type PlaygroundGdriveGetLastChangeOutput = ({
117832
+ file_id: string;
117833
+ removed: boolean;
117834
+ file_name: (string | null);
117835
+ mime_type: (string | null);
117836
+ product_id: string;
117837
+ occurred_at: string;
117838
+ connector_id: string;
117839
+ resource_state: string;
117840
+ } | {
117841
+ found: false;
117842
+ });
117843
+ export interface PlaygroundGdriveReadFileInput {
117844
+ /**
117845
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
117846
+ */
117847
+ fileId?: string;
117848
+ }
117849
+ export interface PlaygroundGdriveReadFileOutput {
117850
+ minted: boolean;
117851
+ file_id: (string | null);
117852
+ file_name: (string | null);
117853
+ mime_type: (string | null);
117854
+ file_count: number;
117855
+ get_status: number;
117856
+ list_status: number;
117857
+ vend_status: number;
117858
+ content_bytes: (number | null);
117859
+ }
117860
+ export interface PlaygroundGoogleadsReadCustomerInput {
117861
+ }
117862
+ export interface PlaygroundGoogleadsReadCustomerOutput {
117863
+ minted: boolean;
117864
+ vended: boolean;
117865
+ customer_id: (string | null);
117866
+ vend_status: number;
117867
+ result_count: number;
117868
+ search_status: number;
117869
+ login_customer_id: (string | null);
117870
+ }
117871
+ export interface PlaygroundLifecycleGetStateInput {
117872
+ }
117873
+ export interface PlaygroundLifecycleGetStateOutput {
117874
+ blocked: boolean;
117875
+ archived: boolean;
117876
+ productId: string;
117877
+ lastBlockTransition: ({
117878
+ eventId: string;
117879
+ eventName: string;
117880
+ productId: string;
117881
+ occurredAt: string;
117882
+ recordedAt: string;
117883
+ receiptCount: number;
117884
+ organizationId: string;
117885
+ cascadedFromOrg: boolean;
117886
+ } | null);
117887
+ lastArchiveTransition: ({
117888
+ eventId: string;
117889
+ eventName: string;
117890
+ productId: string;
117891
+ occurredAt: string;
117892
+ recordedAt: string;
117893
+ receiptCount: number;
117894
+ organizationId: string;
117895
+ cascadedFromOrg: boolean;
117896
+ } | null);
117897
+ }
117898
+ export interface PlaygroundLifecycleListEventsInput {
117899
+ }
117900
+ export type PlaygroundLifecycleListEventsOutput = {
117901
+ eventId: string;
117902
+ eventName: string;
117903
+ productId: string;
117904
+ occurredAt: string;
117905
+ recordedAt: string;
117906
+ receiptCount: number;
117907
+ organizationId: string;
117908
+ cascadedFromOrg: boolean;
117909
+ }[];
117910
+ export interface PlaygroundWebhookGetLastInput {
117911
+ }
117912
+ export type PlaygroundWebhookGetLastOutput = ({
117913
+ payload?: unknown;
117914
+ event_id: string;
117915
+ provider: string;
117916
+ verified: boolean;
117917
+ product_id: string;
117918
+ occurred_at: string;
117919
+ connector_id: string;
117920
+ delivery_count: number;
117921
+ } | {
117922
+ found: false;
117923
+ });
117924
+ export interface PlaygroundWorkflowEchoInput {
117925
+ /**
117926
+ * The text to store, 1–1024 characters
117927
+ */
117928
+ note: string;
117929
+ /**
117930
+ * Optional labels stored alongside the note, at most 20
117931
+ *
117932
+ * @maxItems 20
117933
+ */
117934
+ 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];
117935
+ }
117936
+ export interface PlaygroundWorkflowEchoOutput {
117937
+ /**
117938
+ * Identifier of the stored echo
117939
+ */
117940
+ id: string;
117941
+ /**
117942
+ * The note exactly as it was received
117943
+ */
117944
+ note: string;
117945
+ /**
117946
+ * The tags exactly as they were received
117947
+ */
117948
+ tags: string[];
117949
+ /**
117950
+ * 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.
117951
+ */
117952
+ echo_id: string;
117953
+ /**
117954
+ * ISO-8601 instant (UTC) at which the echo was stored
117955
+ */
117956
+ received_at: string;
117957
+ }
117958
+ export interface PlaygroundWorkflowEchoListInput {
117959
+ }
117960
+ export type PlaygroundWorkflowEchoListOutput = {
117961
+ /**
117962
+ * Identifier of the stored echo
117963
+ */
117964
+ id: string;
117965
+ /**
117966
+ * The note exactly as it was received
117967
+ */
117968
+ note: string;
117969
+ /**
117970
+ * The tags exactly as they were received
117971
+ */
117972
+ tags: string[];
117973
+ /**
117974
+ * ISO-8601 instant (UTC) at which the echo was stored
117975
+ */
117976
+ received_at: string;
117977
+ }[];
117978
+ export interface PlaygroundWorkflowPingInput {
117979
+ /**
117980
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
117981
+ */
117982
+ kind?: string;
117983
+ }
117984
+ export interface PlaygroundWorkflowPingOutput {
117985
+ /**
117986
+ * 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.
117987
+ */
117988
+ id: string;
117989
+ /**
117990
+ * The name of the event that was published
117991
+ */
117992
+ event: string;
117993
+ }
117994
+ export interface PlaygroundWorkflowSubjectsListInput {
117995
+ /**
117996
+ * How many subjects to return, 1–100. Defaults to 25.
117997
+ */
117998
+ limit?: number;
117999
+ /**
118000
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
118001
+ */
118002
+ cursor?: string;
118003
+ /**
118004
+ * 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.
118005
+ */
118006
+ last_activity_after?: string;
118007
+ /**
118008
+ * 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.
118009
+ */
118010
+ last_activity_before?: string;
118011
+ }
118012
+ export interface PlaygroundWorkflowSubjectsListOutput {
118013
+ /**
118014
+ * This page of subjects, most recently active first
118015
+ */
118016
+ items: {
118017
+ /**
118018
+ * 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.
118019
+ */
118020
+ subject_key: string;
118021
+ /**
118022
+ * Human-readable name of the subject
118023
+ */
118024
+ display_name: string;
118025
+ /**
118026
+ * ISO-8601 instant (UTC) of the subject last activity
118027
+ */
118028
+ last_activity_at: string;
118029
+ }[];
118030
+ /**
118031
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
118032
+ */
118033
+ has_more: boolean;
118034
+ /**
118035
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
118036
+ */
118037
+ next_cursor: (string | null);
118038
+ }
118039
+ export interface PlaygroundWsEchoInput {
118040
+ }
118041
+ export type PlaygroundWsEchoOutput = unknown;
117670
118042
  export interface RealtimeArchiveExportInput {
117671
118043
  /**
117672
118044
  * Only entries with ts <= to_ts (epoch ms)