@lessly/sdk-app 119.0.0 → 120.0.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.
@@ -381707,378 +381707,6 @@ export interface OrganizationYoutubeInstallOutput {
381707
381707
  url: string
381708
381708
  }
381709
381709
 
381710
- export interface PlaygroundAnalyticsOverviewInput {
381711
- /**
381712
- * Max records per entity in recent[]; omit for the endpoint default
381713
- */
381714
- limit?: number
381715
- }
381716
-
381717
- export interface PlaygroundAnalyticsOverviewOutput {
381718
- ok: boolean
381719
- minted: boolean
381720
- overview?: unknown
381721
- http_status: number
381722
- }
381723
-
381724
- export interface PlaygroundBillingEntitlementsInput {
381725
-
381726
- }
381727
-
381728
- export interface PlaygroundBillingEntitlementsOutput {
381729
- ok: boolean
381730
- minted: boolean
381731
- http_status: number
381732
- entitlements?: unknown
381733
- }
381734
-
381735
- export interface PlaygroundBillingRecordUsageInput {
381736
- /**
381737
- * Quantity of events to record against playground-events (SUM); defaults to 1
381738
- */
381739
- value?: number
381740
- }
381741
-
381742
- export interface PlaygroundBillingRecordUsageOutput {
381743
- minted: boolean
381744
- accepted: (number | null)
381745
- recorded: boolean
381746
- duplicates: (number | null)
381747
- http_status: number
381748
- }
381749
-
381750
- export interface PlaygroundClickupCreateTaskInput {
381751
- /**
381752
- * Task title; defaults to a fixture label
381753
- */
381754
- name?: string
381755
- /**
381756
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381757
- */
381758
- listId?: string
381759
- }
381760
-
381761
- export interface PlaygroundClickupCreateTaskOutput {
381762
- minted: boolean
381763
- task_id: (string | null)
381764
- list_status: number
381765
- vend_status: number
381766
- clickup_status: number
381767
- installation_count: number
381768
- }
381769
-
381770
- export interface PlaygroundClickupGetLastWebhookInput {
381771
-
381772
- }
381773
-
381774
- export type PlaygroundClickupGetLastWebhookOutput = ({
381775
- payload: string
381776
- event_id: string
381777
- provider: string
381778
- verified: boolean
381779
- product_id: string
381780
- occurred_at: string
381781
- connector_id: string
381782
- clickup_event: (string | null)
381783
- receipt_count: number
381784
- } | {
381785
- found: false
381786
- })
381787
-
381788
- export interface PlaygroundClickupGetOverviewInput {
381789
-
381790
- }
381791
-
381792
- export interface PlaygroundClickupGetOverviewOutput {
381793
- team: ({
381794
- teamId: string
381795
- teamName: string
381796
- } | null)
381797
- lists: PlaygroundClickupGetOverviewOutputItems[]
381798
- tasks: {
381799
- id: string
381800
- name: string
381801
- status: (string | null)
381802
- }[]
381803
- minted: boolean
381804
- spaces: PlaygroundClickupGetOverviewOutputItems[]
381805
- list_status: number
381806
- vend_status: number
381807
- lists_status: number
381808
- tasks_status: number
381809
- spaces_status: number
381810
- folders_status: number
381811
- installation_count: number
381812
- }
381813
- export interface PlaygroundClickupGetOverviewOutputItems {
381814
- id: string
381815
- name: string
381816
- }
381817
-
381818
- export interface PlaygroundEchoPingInput {
381819
- /**
381820
- * The text to echo back, 1–1024 characters
381821
- */
381822
- message: string
381823
- }
381824
-
381825
- export interface PlaygroundEchoPingOutput {
381826
- /**
381827
- * The message exactly as it was received
381828
- */
381829
- message: string
381830
- /**
381831
- * The product the call was resolved to
381832
- */
381833
- productId: string
381834
- /**
381835
- * ISO-8601 instant (UTC) at which the call reached the service
381836
- */
381837
- receivedAt: string
381838
- }
381839
-
381840
- export interface PlaygroundGdriveGetLastChangeInput {
381841
-
381842
- }
381843
-
381844
- export type PlaygroundGdriveGetLastChangeOutput = ({
381845
- file_id: string
381846
- removed: boolean
381847
- file_name: (string | null)
381848
- mime_type: (string | null)
381849
- product_id: string
381850
- occurred_at: string
381851
- connector_id: string
381852
- resource_state: string
381853
- } | {
381854
- found: false
381855
- })
381856
-
381857
- export interface PlaygroundGdriveReadFileInput {
381858
- /**
381859
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
381860
- */
381861
- fileId?: string
381862
- }
381863
-
381864
- export interface PlaygroundGdriveReadFileOutput {
381865
- minted: boolean
381866
- file_id: (string | null)
381867
- file_name: (string | null)
381868
- mime_type: (string | null)
381869
- file_count: number
381870
- get_status: number
381871
- list_status: number
381872
- vend_status: number
381873
- content_bytes: (number | null)
381874
- }
381875
-
381876
- export interface PlaygroundGoogleadsReadCustomerInput {
381877
-
381878
- }
381879
-
381880
- export interface PlaygroundGoogleadsReadCustomerOutput {
381881
- minted: boolean
381882
- vended: boolean
381883
- customer_id: (string | null)
381884
- vend_status: number
381885
- result_count: number
381886
- search_status: number
381887
- login_customer_id: (string | null)
381888
- }
381889
-
381890
- export interface PlaygroundLifecycleGetStateInput {
381891
-
381892
- }
381893
-
381894
- export interface PlaygroundLifecycleGetStateOutput {
381895
- blocked: boolean
381896
- archived: boolean
381897
- productId: string
381898
- lastBlockTransition: ({
381899
- eventId: string
381900
- eventName: string
381901
- productId: string
381902
- occurredAt: string
381903
- recordedAt: string
381904
- receiptCount: number
381905
- organizationId: string
381906
- cascadedFromOrg: boolean
381907
- } | null)
381908
- lastArchiveTransition: ({
381909
- eventId: string
381910
- eventName: string
381911
- productId: string
381912
- occurredAt: string
381913
- recordedAt: string
381914
- receiptCount: number
381915
- organizationId: string
381916
- cascadedFromOrg: boolean
381917
- } | null)
381918
- }
381919
-
381920
- export interface PlaygroundLifecycleListEventsInput {
381921
-
381922
- }
381923
-
381924
- export type PlaygroundLifecycleListEventsOutput = {
381925
- eventId: string
381926
- eventName: string
381927
- productId: string
381928
- occurredAt: string
381929
- recordedAt: string
381930
- receiptCount: number
381931
- organizationId: string
381932
- cascadedFromOrg: boolean
381933
- }[]
381934
-
381935
- export interface PlaygroundWebhookGetLastInput {
381936
-
381937
- }
381938
-
381939
- export type PlaygroundWebhookGetLastOutput = ({
381940
- payload?: unknown
381941
- event_id: string
381942
- provider: string
381943
- verified: boolean
381944
- product_id: string
381945
- occurred_at: string
381946
- connector_id: string
381947
- delivery_count: number
381948
- } | {
381949
- found: false
381950
- })
381951
-
381952
- export interface PlaygroundWorkflowEchoInput {
381953
- /**
381954
- * The text to store, 1–1024 characters
381955
- */
381956
- note: string
381957
- /**
381958
- * Optional labels stored alongside the note, at most 20
381959
- *
381960
- * @maxItems 20
381961
- */
381962
- 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]
381963
- }
381964
-
381965
- export interface PlaygroundWorkflowEchoOutput {
381966
- /**
381967
- * Identifier of the stored echo
381968
- */
381969
- id: string
381970
- /**
381971
- * The note exactly as it was received
381972
- */
381973
- note: string
381974
- /**
381975
- * The tags exactly as they were received
381976
- */
381977
- tags: string[]
381978
- /**
381979
- * 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.
381980
- */
381981
- echo_id: string
381982
- /**
381983
- * ISO-8601 instant (UTC) at which the echo was stored
381984
- */
381985
- received_at: string
381986
- }
381987
-
381988
- export interface PlaygroundWorkflowEchoListInput {
381989
-
381990
- }
381991
-
381992
- export type PlaygroundWorkflowEchoListOutput = {
381993
- /**
381994
- * Identifier of the stored echo
381995
- */
381996
- id: string
381997
- /**
381998
- * The note exactly as it was received
381999
- */
382000
- note: string
382001
- /**
382002
- * The tags exactly as they were received
382003
- */
382004
- tags: string[]
382005
- /**
382006
- * ISO-8601 instant (UTC) at which the echo was stored
382007
- */
382008
- received_at: string
382009
- }[]
382010
-
382011
- export interface PlaygroundWorkflowPingInput {
382012
- /**
382013
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382014
- */
382015
- kind?: string
382016
- }
382017
-
382018
- export interface PlaygroundWorkflowPingOutput {
382019
- /**
382020
- * 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.
382021
- */
382022
- id: string
382023
- /**
382024
- * The name of the event that was published
382025
- */
382026
- event: string
382027
- }
382028
-
382029
- export interface PlaygroundWorkflowSubjectsListInput {
382030
- /**
382031
- * How many subjects to return, 1–100. Defaults to 25.
382032
- */
382033
- limit?: number
382034
- /**
382035
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382036
- */
382037
- cursor?: string
382038
- /**
382039
- * 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.
382040
- */
382041
- last_activity_after?: string
382042
- /**
382043
- * 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.
382044
- */
382045
- last_activity_before?: string
382046
- }
382047
-
382048
- export interface PlaygroundWorkflowSubjectsListOutput {
382049
- /**
382050
- * This page of subjects, most recently active first
382051
- */
382052
- items: {
382053
- /**
382054
- * 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.
382055
- */
382056
- subject_key: string
382057
- /**
382058
- * Human-readable name of the subject
382059
- */
382060
- display_name: string
382061
- /**
382062
- * ISO-8601 instant (UTC) of the subject last activity
382063
- */
382064
- last_activity_at: string
382065
- }[]
382066
- /**
382067
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382068
- */
382069
- has_more: boolean
382070
- /**
382071
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382072
- */
382073
- next_cursor: (string | null)
382074
- }
382075
-
382076
- export interface PlaygroundWsEchoInput {
382077
-
382078
- }
382079
-
382080
- export type PlaygroundWsEchoOutput = unknown;
382081
-
382082
381710
  export interface RealtimeArchiveExportInput {
382083
381711
  /**
382084
381712
  * 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
- };