@lessly/sdk-app 99.5.0 → 99.6.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.
@@ -105801,378 +105801,6 @@ export interface OrganizationYoutubeInstallOutput {
105801
105801
  url: string
105802
105802
  }
105803
105803
 
105804
- export interface PlaygroundAnalyticsOverviewInput {
105805
- /**
105806
- * Max records per entity in recent[]; omit for the endpoint default
105807
- */
105808
- limit?: number
105809
- }
105810
-
105811
- export interface PlaygroundAnalyticsOverviewOutput {
105812
- ok: boolean
105813
- minted: boolean
105814
- overview?: unknown
105815
- http_status: number
105816
- }
105817
-
105818
- export interface PlaygroundBillingEntitlementsInput {
105819
-
105820
- }
105821
-
105822
- export interface PlaygroundBillingEntitlementsOutput {
105823
- ok: boolean
105824
- minted: boolean
105825
- http_status: number
105826
- entitlements?: unknown
105827
- }
105828
-
105829
- export interface PlaygroundBillingRecordUsageInput {
105830
- /**
105831
- * Quantity of events to record against playground-events (SUM); defaults to 1
105832
- */
105833
- value?: number
105834
- }
105835
-
105836
- export interface PlaygroundBillingRecordUsageOutput {
105837
- minted: boolean
105838
- accepted: (number | null)
105839
- recorded: boolean
105840
- duplicates: (number | null)
105841
- http_status: number
105842
- }
105843
-
105844
- export interface PlaygroundClickupCreateTaskInput {
105845
- /**
105846
- * Task title; defaults to a fixture label
105847
- */
105848
- name?: string
105849
- /**
105850
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
105851
- */
105852
- listId?: string
105853
- }
105854
-
105855
- export interface PlaygroundClickupCreateTaskOutput {
105856
- minted: boolean
105857
- task_id: (string | null)
105858
- list_status: number
105859
- vend_status: number
105860
- clickup_status: number
105861
- installation_count: number
105862
- }
105863
-
105864
- export interface PlaygroundClickupGetLastWebhookInput {
105865
-
105866
- }
105867
-
105868
- export type PlaygroundClickupGetLastWebhookOutput = ({
105869
- payload: string
105870
- event_id: string
105871
- provider: string
105872
- verified: boolean
105873
- product_id: string
105874
- occurred_at: string
105875
- connector_id: string
105876
- clickup_event: (string | null)
105877
- receipt_count: number
105878
- } | {
105879
- found: false
105880
- })
105881
-
105882
- export interface PlaygroundClickupGetOverviewInput {
105883
-
105884
- }
105885
-
105886
- export interface PlaygroundClickupGetOverviewOutput {
105887
- team: ({
105888
- teamId: string
105889
- teamName: string
105890
- } | null)
105891
- lists: PlaygroundClickupGetOverviewOutputItems[]
105892
- tasks: {
105893
- id: string
105894
- name: string
105895
- status: (string | null)
105896
- }[]
105897
- minted: boolean
105898
- spaces: PlaygroundClickupGetOverviewOutputItems[]
105899
- list_status: number
105900
- vend_status: number
105901
- lists_status: number
105902
- tasks_status: number
105903
- spaces_status: number
105904
- folders_status: number
105905
- installation_count: number
105906
- }
105907
- export interface PlaygroundClickupGetOverviewOutputItems {
105908
- id: string
105909
- name: string
105910
- }
105911
-
105912
- export interface PlaygroundEchoPingInput {
105913
- /**
105914
- * The text to echo back, 1–1024 characters
105915
- */
105916
- message: string
105917
- }
105918
-
105919
- export interface PlaygroundEchoPingOutput {
105920
- /**
105921
- * The message exactly as it was received
105922
- */
105923
- message: string
105924
- /**
105925
- * The product the call was resolved to
105926
- */
105927
- productId: string
105928
- /**
105929
- * ISO-8601 instant (UTC) at which the call reached the service
105930
- */
105931
- receivedAt: string
105932
- }
105933
-
105934
- export interface PlaygroundGdriveGetLastChangeInput {
105935
-
105936
- }
105937
-
105938
- export type PlaygroundGdriveGetLastChangeOutput = ({
105939
- file_id: string
105940
- removed: boolean
105941
- file_name: (string | null)
105942
- mime_type: (string | null)
105943
- product_id: string
105944
- occurred_at: string
105945
- connector_id: string
105946
- resource_state: string
105947
- } | {
105948
- found: false
105949
- })
105950
-
105951
- export interface PlaygroundGdriveReadFileInput {
105952
- /**
105953
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
105954
- */
105955
- fileId?: string
105956
- }
105957
-
105958
- export interface PlaygroundGdriveReadFileOutput {
105959
- minted: boolean
105960
- file_id: (string | null)
105961
- file_name: (string | null)
105962
- mime_type: (string | null)
105963
- file_count: number
105964
- get_status: number
105965
- list_status: number
105966
- vend_status: number
105967
- content_bytes: (number | null)
105968
- }
105969
-
105970
- export interface PlaygroundGoogleadsReadCustomerInput {
105971
-
105972
- }
105973
-
105974
- export interface PlaygroundGoogleadsReadCustomerOutput {
105975
- minted: boolean
105976
- vended: boolean
105977
- customer_id: (string | null)
105978
- vend_status: number
105979
- result_count: number
105980
- search_status: number
105981
- login_customer_id: (string | null)
105982
- }
105983
-
105984
- export interface PlaygroundLifecycleGetStateInput {
105985
-
105986
- }
105987
-
105988
- export interface PlaygroundLifecycleGetStateOutput {
105989
- blocked: boolean
105990
- archived: boolean
105991
- productId: string
105992
- lastBlockTransition: ({
105993
- eventId: string
105994
- eventName: string
105995
- productId: string
105996
- occurredAt: string
105997
- recordedAt: string
105998
- receiptCount: number
105999
- organizationId: string
106000
- cascadedFromOrg: boolean
106001
- } | null)
106002
- lastArchiveTransition: ({
106003
- eventId: string
106004
- eventName: string
106005
- productId: string
106006
- occurredAt: string
106007
- recordedAt: string
106008
- receiptCount: number
106009
- organizationId: string
106010
- cascadedFromOrg: boolean
106011
- } | null)
106012
- }
106013
-
106014
- export interface PlaygroundLifecycleListEventsInput {
106015
-
106016
- }
106017
-
106018
- export type PlaygroundLifecycleListEventsOutput = {
106019
- eventId: string
106020
- eventName: string
106021
- productId: string
106022
- occurredAt: string
106023
- recordedAt: string
106024
- receiptCount: number
106025
- organizationId: string
106026
- cascadedFromOrg: boolean
106027
- }[]
106028
-
106029
- export interface PlaygroundWebhookGetLastInput {
106030
-
106031
- }
106032
-
106033
- export type PlaygroundWebhookGetLastOutput = ({
106034
- payload?: unknown
106035
- event_id: string
106036
- provider: string
106037
- verified: boolean
106038
- product_id: string
106039
- occurred_at: string
106040
- connector_id: string
106041
- delivery_count: number
106042
- } | {
106043
- found: false
106044
- })
106045
-
106046
- export interface PlaygroundWorkflowEchoInput {
106047
- /**
106048
- * The text to store, 1–1024 characters
106049
- */
106050
- note: string
106051
- /**
106052
- * Optional labels stored alongside the note, at most 20
106053
- *
106054
- * @maxItems 20
106055
- */
106056
- 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]
106057
- }
106058
-
106059
- export interface PlaygroundWorkflowEchoOutput {
106060
- /**
106061
- * Identifier of the stored echo
106062
- */
106063
- id: string
106064
- /**
106065
- * The note exactly as it was received
106066
- */
106067
- note: string
106068
- /**
106069
- * The tags exactly as they were received
106070
- */
106071
- tags: string[]
106072
- /**
106073
- * 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.
106074
- */
106075
- echo_id: string
106076
- /**
106077
- * ISO-8601 instant (UTC) at which the echo was stored
106078
- */
106079
- received_at: string
106080
- }
106081
-
106082
- export interface PlaygroundWorkflowEchoListInput {
106083
-
106084
- }
106085
-
106086
- export type PlaygroundWorkflowEchoListOutput = {
106087
- /**
106088
- * Identifier of the stored echo
106089
- */
106090
- id: string
106091
- /**
106092
- * The note exactly as it was received
106093
- */
106094
- note: string
106095
- /**
106096
- * The tags exactly as they were received
106097
- */
106098
- tags: string[]
106099
- /**
106100
- * ISO-8601 instant (UTC) at which the echo was stored
106101
- */
106102
- received_at: string
106103
- }[]
106104
-
106105
- export interface PlaygroundWorkflowPingInput {
106106
- /**
106107
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
106108
- */
106109
- kind?: string
106110
- }
106111
-
106112
- export interface PlaygroundWorkflowPingOutput {
106113
- /**
106114
- * 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.
106115
- */
106116
- id: string
106117
- /**
106118
- * The name of the event that was published
106119
- */
106120
- event: string
106121
- }
106122
-
106123
- export interface PlaygroundWorkflowSubjectsListInput {
106124
- /**
106125
- * How many subjects to return, 1–100. Defaults to 25.
106126
- */
106127
- limit?: number
106128
- /**
106129
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
106130
- */
106131
- cursor?: string
106132
- /**
106133
- * 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.
106134
- */
106135
- last_activity_after?: string
106136
- /**
106137
- * 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.
106138
- */
106139
- last_activity_before?: string
106140
- }
106141
-
106142
- export interface PlaygroundWorkflowSubjectsListOutput {
106143
- /**
106144
- * This page of subjects, most recently active first
106145
- */
106146
- items: {
106147
- /**
106148
- * 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.
106149
- */
106150
- subject_key: string
106151
- /**
106152
- * Human-readable name of the subject
106153
- */
106154
- display_name: string
106155
- /**
106156
- * ISO-8601 instant (UTC) of the subject last activity
106157
- */
106158
- last_activity_at: string
106159
- }[]
106160
- /**
106161
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
106162
- */
106163
- has_more: boolean
106164
- /**
106165
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
106166
- */
106167
- next_cursor: (string | null)
106168
- }
106169
-
106170
- export interface PlaygroundWsEchoInput {
106171
-
106172
- }
106173
-
106174
- export type PlaygroundWsEchoOutput = unknown;
106175
-
106176
105804
  export interface RealtimeArchiveExportInput {
106177
105805
  /**
106178
105806
  * 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
- };