@lessly/sdk-app 118.0.1 → 118.0.2

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.
@@ -381551,378 +381551,6 @@ export interface OrganizationYoutubeInstallOutput {
381551
381551
  url: string
381552
381552
  }
381553
381553
 
381554
- export interface PlaygroundAnalyticsOverviewInput {
381555
- /**
381556
- * Max records per entity in recent[]; omit for the endpoint default
381557
- */
381558
- limit?: number
381559
- }
381560
-
381561
- export interface PlaygroundAnalyticsOverviewOutput {
381562
- ok: boolean
381563
- minted: boolean
381564
- overview?: unknown
381565
- http_status: number
381566
- }
381567
-
381568
- export interface PlaygroundBillingEntitlementsInput {
381569
-
381570
- }
381571
-
381572
- export interface PlaygroundBillingEntitlementsOutput {
381573
- ok: boolean
381574
- minted: boolean
381575
- http_status: number
381576
- entitlements?: unknown
381577
- }
381578
-
381579
- export interface PlaygroundBillingRecordUsageInput {
381580
- /**
381581
- * Quantity of events to record against playground-events (SUM); defaults to 1
381582
- */
381583
- value?: number
381584
- }
381585
-
381586
- export interface PlaygroundBillingRecordUsageOutput {
381587
- minted: boolean
381588
- accepted: (number | null)
381589
- recorded: boolean
381590
- duplicates: (number | null)
381591
- http_status: number
381592
- }
381593
-
381594
- export interface PlaygroundClickupCreateTaskInput {
381595
- /**
381596
- * Task title; defaults to a fixture label
381597
- */
381598
- name?: string
381599
- /**
381600
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381601
- */
381602
- listId?: string
381603
- }
381604
-
381605
- export interface PlaygroundClickupCreateTaskOutput {
381606
- minted: boolean
381607
- task_id: (string | null)
381608
- list_status: number
381609
- vend_status: number
381610
- clickup_status: number
381611
- installation_count: number
381612
- }
381613
-
381614
- export interface PlaygroundClickupGetLastWebhookInput {
381615
-
381616
- }
381617
-
381618
- export type PlaygroundClickupGetLastWebhookOutput = ({
381619
- payload: string
381620
- event_id: string
381621
- provider: string
381622
- verified: boolean
381623
- product_id: string
381624
- occurred_at: string
381625
- connector_id: string
381626
- clickup_event: (string | null)
381627
- receipt_count: number
381628
- } | {
381629
- found: false
381630
- })
381631
-
381632
- export interface PlaygroundClickupGetOverviewInput {
381633
-
381634
- }
381635
-
381636
- export interface PlaygroundClickupGetOverviewOutput {
381637
- team: ({
381638
- teamId: string
381639
- teamName: string
381640
- } | null)
381641
- lists: PlaygroundClickupGetOverviewOutputItems[]
381642
- tasks: {
381643
- id: string
381644
- name: string
381645
- status: (string | null)
381646
- }[]
381647
- minted: boolean
381648
- spaces: PlaygroundClickupGetOverviewOutputItems[]
381649
- list_status: number
381650
- vend_status: number
381651
- lists_status: number
381652
- tasks_status: number
381653
- spaces_status: number
381654
- folders_status: number
381655
- installation_count: number
381656
- }
381657
- export interface PlaygroundClickupGetOverviewOutputItems {
381658
- id: string
381659
- name: string
381660
- }
381661
-
381662
- export interface PlaygroundEchoPingInput {
381663
- /**
381664
- * The text to echo back, 1–1024 characters
381665
- */
381666
- message: string
381667
- }
381668
-
381669
- export interface PlaygroundEchoPingOutput {
381670
- /**
381671
- * The message exactly as it was received
381672
- */
381673
- message: string
381674
- /**
381675
- * The product the call was resolved to
381676
- */
381677
- productId: string
381678
- /**
381679
- * ISO-8601 instant (UTC) at which the call reached the service
381680
- */
381681
- receivedAt: string
381682
- }
381683
-
381684
- export interface PlaygroundGdriveGetLastChangeInput {
381685
-
381686
- }
381687
-
381688
- export type PlaygroundGdriveGetLastChangeOutput = ({
381689
- file_id: string
381690
- removed: boolean
381691
- file_name: (string | null)
381692
- mime_type: (string | null)
381693
- product_id: string
381694
- occurred_at: string
381695
- connector_id: string
381696
- resource_state: string
381697
- } | {
381698
- found: false
381699
- })
381700
-
381701
- export interface PlaygroundGdriveReadFileInput {
381702
- /**
381703
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
381704
- */
381705
- fileId?: string
381706
- }
381707
-
381708
- export interface PlaygroundGdriveReadFileOutput {
381709
- minted: boolean
381710
- file_id: (string | null)
381711
- file_name: (string | null)
381712
- mime_type: (string | null)
381713
- file_count: number
381714
- get_status: number
381715
- list_status: number
381716
- vend_status: number
381717
- content_bytes: (number | null)
381718
- }
381719
-
381720
- export interface PlaygroundGoogleadsReadCustomerInput {
381721
-
381722
- }
381723
-
381724
- export interface PlaygroundGoogleadsReadCustomerOutput {
381725
- minted: boolean
381726
- vended: boolean
381727
- customer_id: (string | null)
381728
- vend_status: number
381729
- result_count: number
381730
- search_status: number
381731
- login_customer_id: (string | null)
381732
- }
381733
-
381734
- export interface PlaygroundLifecycleGetStateInput {
381735
-
381736
- }
381737
-
381738
- export interface PlaygroundLifecycleGetStateOutput {
381739
- blocked: boolean
381740
- archived: boolean
381741
- productId: string
381742
- lastBlockTransition: ({
381743
- eventId: string
381744
- eventName: string
381745
- productId: string
381746
- occurredAt: string
381747
- recordedAt: string
381748
- receiptCount: number
381749
- organizationId: string
381750
- cascadedFromOrg: boolean
381751
- } | null)
381752
- lastArchiveTransition: ({
381753
- eventId: string
381754
- eventName: string
381755
- productId: string
381756
- occurredAt: string
381757
- recordedAt: string
381758
- receiptCount: number
381759
- organizationId: string
381760
- cascadedFromOrg: boolean
381761
- } | null)
381762
- }
381763
-
381764
- export interface PlaygroundLifecycleListEventsInput {
381765
-
381766
- }
381767
-
381768
- export type PlaygroundLifecycleListEventsOutput = {
381769
- eventId: string
381770
- eventName: string
381771
- productId: string
381772
- occurredAt: string
381773
- recordedAt: string
381774
- receiptCount: number
381775
- organizationId: string
381776
- cascadedFromOrg: boolean
381777
- }[]
381778
-
381779
- export interface PlaygroundWebhookGetLastInput {
381780
-
381781
- }
381782
-
381783
- export type PlaygroundWebhookGetLastOutput = ({
381784
- payload?: unknown
381785
- event_id: string
381786
- provider: string
381787
- verified: boolean
381788
- product_id: string
381789
- occurred_at: string
381790
- connector_id: string
381791
- delivery_count: number
381792
- } | {
381793
- found: false
381794
- })
381795
-
381796
- export interface PlaygroundWorkflowEchoInput {
381797
- /**
381798
- * The text to store, 1–1024 characters
381799
- */
381800
- note: string
381801
- /**
381802
- * Optional labels stored alongside the note, at most 20
381803
- *
381804
- * @maxItems 20
381805
- */
381806
- 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]
381807
- }
381808
-
381809
- export interface PlaygroundWorkflowEchoOutput {
381810
- /**
381811
- * Identifier of the stored echo
381812
- */
381813
- id: string
381814
- /**
381815
- * The note exactly as it was received
381816
- */
381817
- note: string
381818
- /**
381819
- * The tags exactly as they were received
381820
- */
381821
- tags: string[]
381822
- /**
381823
- * 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.
381824
- */
381825
- echo_id: string
381826
- /**
381827
- * ISO-8601 instant (UTC) at which the echo was stored
381828
- */
381829
- received_at: string
381830
- }
381831
-
381832
- export interface PlaygroundWorkflowEchoListInput {
381833
-
381834
- }
381835
-
381836
- export type PlaygroundWorkflowEchoListOutput = {
381837
- /**
381838
- * Identifier of the stored echo
381839
- */
381840
- id: string
381841
- /**
381842
- * The note exactly as it was received
381843
- */
381844
- note: string
381845
- /**
381846
- * The tags exactly as they were received
381847
- */
381848
- tags: string[]
381849
- /**
381850
- * ISO-8601 instant (UTC) at which the echo was stored
381851
- */
381852
- received_at: string
381853
- }[]
381854
-
381855
- export interface PlaygroundWorkflowPingInput {
381856
- /**
381857
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
381858
- */
381859
- kind?: string
381860
- }
381861
-
381862
- export interface PlaygroundWorkflowPingOutput {
381863
- /**
381864
- * 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.
381865
- */
381866
- id: string
381867
- /**
381868
- * The name of the event that was published
381869
- */
381870
- event: string
381871
- }
381872
-
381873
- export interface PlaygroundWorkflowSubjectsListInput {
381874
- /**
381875
- * How many subjects to return, 1–100. Defaults to 25.
381876
- */
381877
- limit?: number
381878
- /**
381879
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
381880
- */
381881
- cursor?: string
381882
- /**
381883
- * 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.
381884
- */
381885
- last_activity_after?: string
381886
- /**
381887
- * 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.
381888
- */
381889
- last_activity_before?: string
381890
- }
381891
-
381892
- export interface PlaygroundWorkflowSubjectsListOutput {
381893
- /**
381894
- * This page of subjects, most recently active first
381895
- */
381896
- items: {
381897
- /**
381898
- * 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.
381899
- */
381900
- subject_key: string
381901
- /**
381902
- * Human-readable name of the subject
381903
- */
381904
- display_name: string
381905
- /**
381906
- * ISO-8601 instant (UTC) of the subject last activity
381907
- */
381908
- last_activity_at: string
381909
- }[]
381910
- /**
381911
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
381912
- */
381913
- has_more: boolean
381914
- /**
381915
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
381916
- */
381917
- next_cursor: (string | null)
381918
- }
381919
-
381920
- export interface PlaygroundWsEchoInput {
381921
-
381922
- }
381923
-
381924
- export type PlaygroundWsEchoOutput = unknown;
381925
-
381926
381554
  export interface RealtimeArchiveExportInput {
381927
381555
  /**
381928
381556
  * Only entries with ts <= to_ts (epoch ms)
@@ -1,3 +0,0 @@
1
- import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types.js';
2
- import type { PlaygroundWsEchoInput } from '../types.gen.js';
3
- export declare const playgroundWsEchoConnect: (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput) => LesslyStream;
@@ -1,3 +0,0 @@
1
- export * from './queryOptions.gen.js';
2
- export * from './connect.gen.js';
3
- export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen.js';
@@ -1,70 +0,0 @@
1
- import type { GeneratedClient } from '../client.gen.js';
2
- import type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundClickupCreateTaskInput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput } from '../types.gen.js';
3
- export declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
4
- queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
5
- queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
6
- };
7
- export declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
8
- queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
9
- queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
10
- };
11
- export declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
12
- mutationKey: string[];
13
- mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<import(".").PlaygroundBillingRecordUsageOutput>;
14
- };
15
- export declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
16
- mutationKey: string[];
17
- mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<import(".").PlaygroundClickupCreateTaskOutput>;
18
- };
19
- export declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
20
- queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
21
- queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
22
- };
23
- export declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
24
- queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
25
- queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
26
- };
27
- export declare const playgroundEchoPingQueryOptions: (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => {
28
- queryKey: readonly ["playground", "echo", "ping", PlaygroundEchoPingInput];
29
- queryFn: () => Promise<PlaygroundEchoPingOutput>;
30
- };
31
- export declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
32
- queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
33
- queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
34
- };
35
- export declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
36
- queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
37
- queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
38
- };
39
- export declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
40
- queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
41
- queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
42
- };
43
- export declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
44
- queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
45
- queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
46
- };
47
- export declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
48
- queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
49
- queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
50
- };
51
- export declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
52
- queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
53
- queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
54
- };
55
- export declare const playgroundWorkflowEchoMutationOptions: (sdk: GeneratedClient) => {
56
- mutationKey: string[];
57
- mutationFn: (input: PlaygroundWorkflowEchoInput) => Promise<import(".").PlaygroundWorkflowEchoOutput>;
58
- };
59
- export declare const playgroundWorkflowEchoListQueryOptions: (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => {
60
- queryKey: readonly ["playground", "workflow", "echo-list", PlaygroundWorkflowEchoListInput];
61
- queryFn: () => Promise<PlaygroundWorkflowEchoListOutput>;
62
- };
63
- export declare const playgroundWorkflowPingMutationOptions: (sdk: GeneratedClient) => {
64
- mutationKey: string[];
65
- mutationFn: (input: PlaygroundWorkflowPingInput) => Promise<import(".").PlaygroundWorkflowPingOutput>;
66
- };
67
- export declare const playgroundWorkflowSubjectsListQueryOptions: (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => {
68
- queryKey: readonly ["playground", "workflow", "subjects-list", PlaygroundWorkflowSubjectsListInput];
69
- queryFn: () => Promise<PlaygroundWorkflowSubjectsListOutput>;
70
- };