@lessly/sdk-app 74.4.0 → 74.5.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.
@@ -87694,378 +87694,6 @@ export interface OrganizationYoutubeInstallOutput {
87694
87694
  url: string
87695
87695
  }
87696
87696
 
87697
- export interface PlaygroundAnalyticsOverviewInput {
87698
- /**
87699
- * Max records per entity in recent[]; omit for the endpoint default
87700
- */
87701
- limit?: number
87702
- }
87703
-
87704
- export interface PlaygroundAnalyticsOverviewOutput {
87705
- ok: boolean
87706
- minted: boolean
87707
- overview?: unknown
87708
- http_status: number
87709
- }
87710
-
87711
- export interface PlaygroundBillingEntitlementsInput {
87712
-
87713
- }
87714
-
87715
- export interface PlaygroundBillingEntitlementsOutput {
87716
- ok: boolean
87717
- minted: boolean
87718
- http_status: number
87719
- entitlements?: unknown
87720
- }
87721
-
87722
- export interface PlaygroundBillingRecordUsageInput {
87723
- /**
87724
- * Quantity of events to record against playground-events (SUM); defaults to 1
87725
- */
87726
- value?: number
87727
- }
87728
-
87729
- export interface PlaygroundBillingRecordUsageOutput {
87730
- minted: boolean
87731
- accepted: (number | null)
87732
- recorded: boolean
87733
- duplicates: (number | null)
87734
- http_status: number
87735
- }
87736
-
87737
- export interface PlaygroundClickupCreateTaskInput {
87738
- /**
87739
- * Task title; defaults to a fixture label
87740
- */
87741
- name?: string
87742
- /**
87743
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
87744
- */
87745
- listId?: string
87746
- }
87747
-
87748
- export interface PlaygroundClickupCreateTaskOutput {
87749
- minted: boolean
87750
- task_id: (string | null)
87751
- list_status: number
87752
- vend_status: number
87753
- clickup_status: number
87754
- installation_count: number
87755
- }
87756
-
87757
- export interface PlaygroundClickupGetLastWebhookInput {
87758
-
87759
- }
87760
-
87761
- export type PlaygroundClickupGetLastWebhookOutput = ({
87762
- payload: string
87763
- event_id: string
87764
- provider: string
87765
- verified: boolean
87766
- product_id: string
87767
- occurred_at: string
87768
- connector_id: string
87769
- clickup_event: (string | null)
87770
- receipt_count: number
87771
- } | {
87772
- found: false
87773
- })
87774
-
87775
- export interface PlaygroundClickupGetOverviewInput {
87776
-
87777
- }
87778
-
87779
- export interface PlaygroundClickupGetOverviewOutput {
87780
- team: ({
87781
- teamId: string
87782
- teamName: string
87783
- } | null)
87784
- lists: PlaygroundClickupGetOverviewOutputItems[]
87785
- tasks: {
87786
- id: string
87787
- name: string
87788
- status: (string | null)
87789
- }[]
87790
- minted: boolean
87791
- spaces: PlaygroundClickupGetOverviewOutputItems[]
87792
- list_status: number
87793
- vend_status: number
87794
- lists_status: number
87795
- tasks_status: number
87796
- spaces_status: number
87797
- folders_status: number
87798
- installation_count: number
87799
- }
87800
- export interface PlaygroundClickupGetOverviewOutputItems {
87801
- id: string
87802
- name: string
87803
- }
87804
-
87805
- export interface PlaygroundEchoPingInput {
87806
- /**
87807
- * The text to echo back, 1–1024 characters
87808
- */
87809
- message: string
87810
- }
87811
-
87812
- export interface PlaygroundEchoPingOutput {
87813
- /**
87814
- * The message exactly as it was received
87815
- */
87816
- message: string
87817
- /**
87818
- * The product the call was resolved to
87819
- */
87820
- productId: string
87821
- /**
87822
- * ISO-8601 instant (UTC) at which the call reached the service
87823
- */
87824
- receivedAt: string
87825
- }
87826
-
87827
- export interface PlaygroundGdriveGetLastChangeInput {
87828
-
87829
- }
87830
-
87831
- export type PlaygroundGdriveGetLastChangeOutput = ({
87832
- file_id: string
87833
- removed: boolean
87834
- file_name: (string | null)
87835
- mime_type: (string | null)
87836
- product_id: string
87837
- occurred_at: string
87838
- connector_id: string
87839
- resource_state: string
87840
- } | {
87841
- found: false
87842
- })
87843
-
87844
- export interface PlaygroundGdriveReadFileInput {
87845
- /**
87846
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
87847
- */
87848
- fileId?: string
87849
- }
87850
-
87851
- export interface PlaygroundGdriveReadFileOutput {
87852
- minted: boolean
87853
- file_id: (string | null)
87854
- file_name: (string | null)
87855
- mime_type: (string | null)
87856
- file_count: number
87857
- get_status: number
87858
- list_status: number
87859
- vend_status: number
87860
- content_bytes: (number | null)
87861
- }
87862
-
87863
- export interface PlaygroundGoogleadsReadCustomerInput {
87864
-
87865
- }
87866
-
87867
- export interface PlaygroundGoogleadsReadCustomerOutput {
87868
- minted: boolean
87869
- vended: boolean
87870
- customer_id: (string | null)
87871
- vend_status: number
87872
- result_count: number
87873
- search_status: number
87874
- login_customer_id: (string | null)
87875
- }
87876
-
87877
- export interface PlaygroundLifecycleGetStateInput {
87878
-
87879
- }
87880
-
87881
- export interface PlaygroundLifecycleGetStateOutput {
87882
- blocked: boolean
87883
- archived: boolean
87884
- productId: string
87885
- lastBlockTransition: ({
87886
- eventId: string
87887
- eventName: string
87888
- productId: string
87889
- occurredAt: string
87890
- recordedAt: string
87891
- receiptCount: number
87892
- organizationId: string
87893
- cascadedFromOrg: boolean
87894
- } | null)
87895
- lastArchiveTransition: ({
87896
- eventId: string
87897
- eventName: string
87898
- productId: string
87899
- occurredAt: string
87900
- recordedAt: string
87901
- receiptCount: number
87902
- organizationId: string
87903
- cascadedFromOrg: boolean
87904
- } | null)
87905
- }
87906
-
87907
- export interface PlaygroundLifecycleListEventsInput {
87908
-
87909
- }
87910
-
87911
- export type PlaygroundLifecycleListEventsOutput = {
87912
- eventId: string
87913
- eventName: string
87914
- productId: string
87915
- occurredAt: string
87916
- recordedAt: string
87917
- receiptCount: number
87918
- organizationId: string
87919
- cascadedFromOrg: boolean
87920
- }[]
87921
-
87922
- export interface PlaygroundWebhookGetLastInput {
87923
-
87924
- }
87925
-
87926
- export type PlaygroundWebhookGetLastOutput = ({
87927
- payload?: unknown
87928
- event_id: string
87929
- provider: string
87930
- verified: boolean
87931
- product_id: string
87932
- occurred_at: string
87933
- connector_id: string
87934
- delivery_count: number
87935
- } | {
87936
- found: false
87937
- })
87938
-
87939
- export interface PlaygroundWorkflowEchoInput {
87940
- /**
87941
- * The text to store, 1–1024 characters
87942
- */
87943
- note: string
87944
- /**
87945
- * Optional labels stored alongside the note, at most 20
87946
- *
87947
- * @maxItems 20
87948
- */
87949
- 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]
87950
- }
87951
-
87952
- export interface PlaygroundWorkflowEchoOutput {
87953
- /**
87954
- * Identifier of the stored echo
87955
- */
87956
- id: string
87957
- /**
87958
- * The note exactly as it was received
87959
- */
87960
- note: string
87961
- /**
87962
- * The tags exactly as they were received
87963
- */
87964
- tags: string[]
87965
- /**
87966
- * 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.
87967
- */
87968
- echo_id: string
87969
- /**
87970
- * ISO-8601 instant (UTC) at which the echo was stored
87971
- */
87972
- received_at: string
87973
- }
87974
-
87975
- export interface PlaygroundWorkflowEchoListInput {
87976
-
87977
- }
87978
-
87979
- export type PlaygroundWorkflowEchoListOutput = {
87980
- /**
87981
- * Identifier of the stored echo
87982
- */
87983
- id: string
87984
- /**
87985
- * The note exactly as it was received
87986
- */
87987
- note: string
87988
- /**
87989
- * The tags exactly as they were received
87990
- */
87991
- tags: string[]
87992
- /**
87993
- * ISO-8601 instant (UTC) at which the echo was stored
87994
- */
87995
- received_at: string
87996
- }[]
87997
-
87998
- export interface PlaygroundWorkflowPingInput {
87999
- /**
88000
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
88001
- */
88002
- kind?: string
88003
- }
88004
-
88005
- export interface PlaygroundWorkflowPingOutput {
88006
- /**
88007
- * 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.
88008
- */
88009
- id: string
88010
- /**
88011
- * The name of the event that was published
88012
- */
88013
- event: string
88014
- }
88015
-
88016
- export interface PlaygroundWorkflowSubjectsListInput {
88017
- /**
88018
- * How many subjects to return, 1–100. Defaults to 25.
88019
- */
88020
- limit?: number
88021
- /**
88022
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
88023
- */
88024
- cursor?: string
88025
- /**
88026
- * 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.
88027
- */
88028
- last_activity_after?: string
88029
- /**
88030
- * 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.
88031
- */
88032
- last_activity_before?: string
88033
- }
88034
-
88035
- export interface PlaygroundWorkflowSubjectsListOutput {
88036
- /**
88037
- * This page of subjects, most recently active first
88038
- */
88039
- items: {
88040
- /**
88041
- * 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.
88042
- */
88043
- subject_key: string
88044
- /**
88045
- * Human-readable name of the subject
88046
- */
88047
- display_name: string
88048
- /**
88049
- * ISO-8601 instant (UTC) of the subject last activity
88050
- */
88051
- last_activity_at: string
88052
- }[]
88053
- /**
88054
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
88055
- */
88056
- has_more: boolean
88057
- /**
88058
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
88059
- */
88060
- next_cursor: (string | null)
88061
- }
88062
-
88063
- export interface PlaygroundWsEchoInput {
88064
-
88065
- }
88066
-
88067
- export type PlaygroundWsEchoOutput = unknown;
88068
-
88069
87697
  export interface RealtimeArchiveExportInput {
88070
87698
  /**
88071
87699
  * 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
- };