@lessly/sdk-app 108.1.0 → 108.2.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.
@@ -377691,378 +377691,6 @@ export interface OrganizationYoutubeInstallOutput {
377691
377691
  url: string
377692
377692
  }
377693
377693
 
377694
- export interface PlaygroundAnalyticsOverviewInput {
377695
- /**
377696
- * Max records per entity in recent[]; omit for the endpoint default
377697
- */
377698
- limit?: number
377699
- }
377700
-
377701
- export interface PlaygroundAnalyticsOverviewOutput {
377702
- ok: boolean
377703
- minted: boolean
377704
- overview?: unknown
377705
- http_status: number
377706
- }
377707
-
377708
- export interface PlaygroundBillingEntitlementsInput {
377709
-
377710
- }
377711
-
377712
- export interface PlaygroundBillingEntitlementsOutput {
377713
- ok: boolean
377714
- minted: boolean
377715
- http_status: number
377716
- entitlements?: unknown
377717
- }
377718
-
377719
- export interface PlaygroundBillingRecordUsageInput {
377720
- /**
377721
- * Quantity of events to record against playground-events (SUM); defaults to 1
377722
- */
377723
- value?: number
377724
- }
377725
-
377726
- export interface PlaygroundBillingRecordUsageOutput {
377727
- minted: boolean
377728
- accepted: (number | null)
377729
- recorded: boolean
377730
- duplicates: (number | null)
377731
- http_status: number
377732
- }
377733
-
377734
- export interface PlaygroundClickupCreateTaskInput {
377735
- /**
377736
- * Task title; defaults to a fixture label
377737
- */
377738
- name?: string
377739
- /**
377740
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
377741
- */
377742
- listId?: string
377743
- }
377744
-
377745
- export interface PlaygroundClickupCreateTaskOutput {
377746
- minted: boolean
377747
- task_id: (string | null)
377748
- list_status: number
377749
- vend_status: number
377750
- clickup_status: number
377751
- installation_count: number
377752
- }
377753
-
377754
- export interface PlaygroundClickupGetLastWebhookInput {
377755
-
377756
- }
377757
-
377758
- export type PlaygroundClickupGetLastWebhookOutput = ({
377759
- payload: string
377760
- event_id: string
377761
- provider: string
377762
- verified: boolean
377763
- product_id: string
377764
- occurred_at: string
377765
- connector_id: string
377766
- clickup_event: (string | null)
377767
- receipt_count: number
377768
- } | {
377769
- found: false
377770
- })
377771
-
377772
- export interface PlaygroundClickupGetOverviewInput {
377773
-
377774
- }
377775
-
377776
- export interface PlaygroundClickupGetOverviewOutput {
377777
- team: ({
377778
- teamId: string
377779
- teamName: string
377780
- } | null)
377781
- lists: PlaygroundClickupGetOverviewOutputItems[]
377782
- tasks: {
377783
- id: string
377784
- name: string
377785
- status: (string | null)
377786
- }[]
377787
- minted: boolean
377788
- spaces: PlaygroundClickupGetOverviewOutputItems[]
377789
- list_status: number
377790
- vend_status: number
377791
- lists_status: number
377792
- tasks_status: number
377793
- spaces_status: number
377794
- folders_status: number
377795
- installation_count: number
377796
- }
377797
- export interface PlaygroundClickupGetOverviewOutputItems {
377798
- id: string
377799
- name: string
377800
- }
377801
-
377802
- export interface PlaygroundEchoPingInput {
377803
- /**
377804
- * The text to echo back, 1–1024 characters
377805
- */
377806
- message: string
377807
- }
377808
-
377809
- export interface PlaygroundEchoPingOutput {
377810
- /**
377811
- * The message exactly as it was received
377812
- */
377813
- message: string
377814
- /**
377815
- * The product the call was resolved to
377816
- */
377817
- productId: string
377818
- /**
377819
- * ISO-8601 instant (UTC) at which the call reached the service
377820
- */
377821
- receivedAt: string
377822
- }
377823
-
377824
- export interface PlaygroundGdriveGetLastChangeInput {
377825
-
377826
- }
377827
-
377828
- export type PlaygroundGdriveGetLastChangeOutput = ({
377829
- file_id: string
377830
- removed: boolean
377831
- file_name: (string | null)
377832
- mime_type: (string | null)
377833
- product_id: string
377834
- occurred_at: string
377835
- connector_id: string
377836
- resource_state: string
377837
- } | {
377838
- found: false
377839
- })
377840
-
377841
- export interface PlaygroundGdriveReadFileInput {
377842
- /**
377843
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
377844
- */
377845
- fileId?: string
377846
- }
377847
-
377848
- export interface PlaygroundGdriveReadFileOutput {
377849
- minted: boolean
377850
- file_id: (string | null)
377851
- file_name: (string | null)
377852
- mime_type: (string | null)
377853
- file_count: number
377854
- get_status: number
377855
- list_status: number
377856
- vend_status: number
377857
- content_bytes: (number | null)
377858
- }
377859
-
377860
- export interface PlaygroundGoogleadsReadCustomerInput {
377861
-
377862
- }
377863
-
377864
- export interface PlaygroundGoogleadsReadCustomerOutput {
377865
- minted: boolean
377866
- vended: boolean
377867
- customer_id: (string | null)
377868
- vend_status: number
377869
- result_count: number
377870
- search_status: number
377871
- login_customer_id: (string | null)
377872
- }
377873
-
377874
- export interface PlaygroundLifecycleGetStateInput {
377875
-
377876
- }
377877
-
377878
- export interface PlaygroundLifecycleGetStateOutput {
377879
- blocked: boolean
377880
- archived: boolean
377881
- productId: string
377882
- lastBlockTransition: ({
377883
- eventId: string
377884
- eventName: string
377885
- productId: string
377886
- occurredAt: string
377887
- recordedAt: string
377888
- receiptCount: number
377889
- organizationId: string
377890
- cascadedFromOrg: boolean
377891
- } | null)
377892
- lastArchiveTransition: ({
377893
- eventId: string
377894
- eventName: string
377895
- productId: string
377896
- occurredAt: string
377897
- recordedAt: string
377898
- receiptCount: number
377899
- organizationId: string
377900
- cascadedFromOrg: boolean
377901
- } | null)
377902
- }
377903
-
377904
- export interface PlaygroundLifecycleListEventsInput {
377905
-
377906
- }
377907
-
377908
- export type PlaygroundLifecycleListEventsOutput = {
377909
- eventId: string
377910
- eventName: string
377911
- productId: string
377912
- occurredAt: string
377913
- recordedAt: string
377914
- receiptCount: number
377915
- organizationId: string
377916
- cascadedFromOrg: boolean
377917
- }[]
377918
-
377919
- export interface PlaygroundWebhookGetLastInput {
377920
-
377921
- }
377922
-
377923
- export type PlaygroundWebhookGetLastOutput = ({
377924
- payload?: unknown
377925
- event_id: string
377926
- provider: string
377927
- verified: boolean
377928
- product_id: string
377929
- occurred_at: string
377930
- connector_id: string
377931
- delivery_count: number
377932
- } | {
377933
- found: false
377934
- })
377935
-
377936
- export interface PlaygroundWorkflowEchoInput {
377937
- /**
377938
- * The text to store, 1–1024 characters
377939
- */
377940
- note: string
377941
- /**
377942
- * Optional labels stored alongside the note, at most 20
377943
- *
377944
- * @maxItems 20
377945
- */
377946
- 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]
377947
- }
377948
-
377949
- export interface PlaygroundWorkflowEchoOutput {
377950
- /**
377951
- * Identifier of the stored echo
377952
- */
377953
- id: string
377954
- /**
377955
- * The note exactly as it was received
377956
- */
377957
- note: string
377958
- /**
377959
- * The tags exactly as they were received
377960
- */
377961
- tags: string[]
377962
- /**
377963
- * 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.
377964
- */
377965
- echo_id: string
377966
- /**
377967
- * ISO-8601 instant (UTC) at which the echo was stored
377968
- */
377969
- received_at: string
377970
- }
377971
-
377972
- export interface PlaygroundWorkflowEchoListInput {
377973
-
377974
- }
377975
-
377976
- export type PlaygroundWorkflowEchoListOutput = {
377977
- /**
377978
- * Identifier of the stored echo
377979
- */
377980
- id: string
377981
- /**
377982
- * The note exactly as it was received
377983
- */
377984
- note: string
377985
- /**
377986
- * The tags exactly as they were received
377987
- */
377988
- tags: string[]
377989
- /**
377990
- * ISO-8601 instant (UTC) at which the echo was stored
377991
- */
377992
- received_at: string
377993
- }[]
377994
-
377995
- export interface PlaygroundWorkflowPingInput {
377996
- /**
377997
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
377998
- */
377999
- kind?: string
378000
- }
378001
-
378002
- export interface PlaygroundWorkflowPingOutput {
378003
- /**
378004
- * 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.
378005
- */
378006
- id: string
378007
- /**
378008
- * The name of the event that was published
378009
- */
378010
- event: string
378011
- }
378012
-
378013
- export interface PlaygroundWorkflowSubjectsListInput {
378014
- /**
378015
- * How many subjects to return, 1–100. Defaults to 25.
378016
- */
378017
- limit?: number
378018
- /**
378019
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
378020
- */
378021
- cursor?: string
378022
- /**
378023
- * 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.
378024
- */
378025
- last_activity_after?: string
378026
- /**
378027
- * 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.
378028
- */
378029
- last_activity_before?: string
378030
- }
378031
-
378032
- export interface PlaygroundWorkflowSubjectsListOutput {
378033
- /**
378034
- * This page of subjects, most recently active first
378035
- */
378036
- items: {
378037
- /**
378038
- * 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.
378039
- */
378040
- subject_key: string
378041
- /**
378042
- * Human-readable name of the subject
378043
- */
378044
- display_name: string
378045
- /**
378046
- * ISO-8601 instant (UTC) of the subject last activity
378047
- */
378048
- last_activity_at: string
378049
- }[]
378050
- /**
378051
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
378052
- */
378053
- has_more: boolean
378054
- /**
378055
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
378056
- */
378057
- next_cursor: (string | null)
378058
- }
378059
-
378060
- export interface PlaygroundWsEchoInput {
378061
-
378062
- }
378063
-
378064
- export type PlaygroundWsEchoOutput = unknown;
378065
-
378066
377694
  export interface RealtimeArchiveExportInput {
378067
377695
  /**
378068
377696
  * 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
- };