@lessly/sdk-app 120.2.0 → 120.3.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.
@@ -381877,378 +381877,6 @@ export interface OrganizationYoutubeInstallOutput {
381877
381877
  url: string
381878
381878
  }
381879
381879
 
381880
- export interface PlaygroundAnalyticsOverviewInput {
381881
- /**
381882
- * Max records per entity in recent[]; omit for the endpoint default
381883
- */
381884
- limit?: number
381885
- }
381886
-
381887
- export interface PlaygroundAnalyticsOverviewOutput {
381888
- ok: boolean
381889
- minted: boolean
381890
- overview?: unknown
381891
- http_status: number
381892
- }
381893
-
381894
- export interface PlaygroundBillingEntitlementsInput {
381895
-
381896
- }
381897
-
381898
- export interface PlaygroundBillingEntitlementsOutput {
381899
- ok: boolean
381900
- minted: boolean
381901
- http_status: number
381902
- entitlements?: unknown
381903
- }
381904
-
381905
- export interface PlaygroundBillingRecordUsageInput {
381906
- /**
381907
- * Quantity of events to record against playground-events (SUM); defaults to 1
381908
- */
381909
- value?: number
381910
- }
381911
-
381912
- export interface PlaygroundBillingRecordUsageOutput {
381913
- minted: boolean
381914
- accepted: (number | null)
381915
- recorded: boolean
381916
- duplicates: (number | null)
381917
- http_status: number
381918
- }
381919
-
381920
- export interface PlaygroundClickupCreateTaskInput {
381921
- /**
381922
- * Task title; defaults to a fixture label
381923
- */
381924
- name?: string
381925
- /**
381926
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381927
- */
381928
- listId?: string
381929
- }
381930
-
381931
- export interface PlaygroundClickupCreateTaskOutput {
381932
- minted: boolean
381933
- task_id: (string | null)
381934
- list_status: number
381935
- vend_status: number
381936
- clickup_status: number
381937
- installation_count: number
381938
- }
381939
-
381940
- export interface PlaygroundClickupGetLastWebhookInput {
381941
-
381942
- }
381943
-
381944
- export type PlaygroundClickupGetLastWebhookOutput = ({
381945
- payload: string
381946
- event_id: string
381947
- provider: string
381948
- verified: boolean
381949
- product_id: string
381950
- occurred_at: string
381951
- connector_id: string
381952
- clickup_event: (string | null)
381953
- receipt_count: number
381954
- } | {
381955
- found: false
381956
- })
381957
-
381958
- export interface PlaygroundClickupGetOverviewInput {
381959
-
381960
- }
381961
-
381962
- export interface PlaygroundClickupGetOverviewOutput {
381963
- team: ({
381964
- teamId: string
381965
- teamName: string
381966
- } | null)
381967
- lists: PlaygroundClickupGetOverviewOutputItems[]
381968
- tasks: {
381969
- id: string
381970
- name: string
381971
- status: (string | null)
381972
- }[]
381973
- minted: boolean
381974
- spaces: PlaygroundClickupGetOverviewOutputItems[]
381975
- list_status: number
381976
- vend_status: number
381977
- lists_status: number
381978
- tasks_status: number
381979
- spaces_status: number
381980
- folders_status: number
381981
- installation_count: number
381982
- }
381983
- export interface PlaygroundClickupGetOverviewOutputItems {
381984
- id: string
381985
- name: string
381986
- }
381987
-
381988
- export interface PlaygroundEchoPingInput {
381989
- /**
381990
- * The text to echo back, 1–1024 characters
381991
- */
381992
- message: string
381993
- }
381994
-
381995
- export interface PlaygroundEchoPingOutput {
381996
- /**
381997
- * The message exactly as it was received
381998
- */
381999
- message: string
382000
- /**
382001
- * The product the call was resolved to
382002
- */
382003
- productId: string
382004
- /**
382005
- * ISO-8601 instant (UTC) at which the call reached the service
382006
- */
382007
- receivedAt: string
382008
- }
382009
-
382010
- export interface PlaygroundGdriveGetLastChangeInput {
382011
-
382012
- }
382013
-
382014
- export type PlaygroundGdriveGetLastChangeOutput = ({
382015
- file_id: string
382016
- removed: boolean
382017
- file_name: (string | null)
382018
- mime_type: (string | null)
382019
- product_id: string
382020
- occurred_at: string
382021
- connector_id: string
382022
- resource_state: string
382023
- } | {
382024
- found: false
382025
- })
382026
-
382027
- export interface PlaygroundGdriveReadFileInput {
382028
- /**
382029
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382030
- */
382031
- fileId?: string
382032
- }
382033
-
382034
- export interface PlaygroundGdriveReadFileOutput {
382035
- minted: boolean
382036
- file_id: (string | null)
382037
- file_name: (string | null)
382038
- mime_type: (string | null)
382039
- file_count: number
382040
- get_status: number
382041
- list_status: number
382042
- vend_status: number
382043
- content_bytes: (number | null)
382044
- }
382045
-
382046
- export interface PlaygroundGoogleadsReadCustomerInput {
382047
-
382048
- }
382049
-
382050
- export interface PlaygroundGoogleadsReadCustomerOutput {
382051
- minted: boolean
382052
- vended: boolean
382053
- customer_id: (string | null)
382054
- vend_status: number
382055
- result_count: number
382056
- search_status: number
382057
- login_customer_id: (string | null)
382058
- }
382059
-
382060
- export interface PlaygroundLifecycleGetStateInput {
382061
-
382062
- }
382063
-
382064
- export interface PlaygroundLifecycleGetStateOutput {
382065
- blocked: boolean
382066
- archived: boolean
382067
- productId: string
382068
- lastBlockTransition: ({
382069
- eventId: string
382070
- eventName: string
382071
- productId: string
382072
- occurredAt: string
382073
- recordedAt: string
382074
- receiptCount: number
382075
- organizationId: string
382076
- cascadedFromOrg: boolean
382077
- } | null)
382078
- lastArchiveTransition: ({
382079
- eventId: string
382080
- eventName: string
382081
- productId: string
382082
- occurredAt: string
382083
- recordedAt: string
382084
- receiptCount: number
382085
- organizationId: string
382086
- cascadedFromOrg: boolean
382087
- } | null)
382088
- }
382089
-
382090
- export interface PlaygroundLifecycleListEventsInput {
382091
-
382092
- }
382093
-
382094
- export type PlaygroundLifecycleListEventsOutput = {
382095
- eventId: string
382096
- eventName: string
382097
- productId: string
382098
- occurredAt: string
382099
- recordedAt: string
382100
- receiptCount: number
382101
- organizationId: string
382102
- cascadedFromOrg: boolean
382103
- }[]
382104
-
382105
- export interface PlaygroundWebhookGetLastInput {
382106
-
382107
- }
382108
-
382109
- export type PlaygroundWebhookGetLastOutput = ({
382110
- payload?: unknown
382111
- event_id: string
382112
- provider: string
382113
- verified: boolean
382114
- product_id: string
382115
- occurred_at: string
382116
- connector_id: string
382117
- delivery_count: number
382118
- } | {
382119
- found: false
382120
- })
382121
-
382122
- export interface PlaygroundWorkflowEchoInput {
382123
- /**
382124
- * The text to store, 1–1024 characters
382125
- */
382126
- note: string
382127
- /**
382128
- * Optional labels stored alongside the note, at most 20
382129
- *
382130
- * @maxItems 20
382131
- */
382132
- 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]
382133
- }
382134
-
382135
- export interface PlaygroundWorkflowEchoOutput {
382136
- /**
382137
- * Identifier of the stored echo
382138
- */
382139
- id: string
382140
- /**
382141
- * The note exactly as it was received
382142
- */
382143
- note: string
382144
- /**
382145
- * The tags exactly as they were received
382146
- */
382147
- tags: string[]
382148
- /**
382149
- * 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.
382150
- */
382151
- echo_id: string
382152
- /**
382153
- * ISO-8601 instant (UTC) at which the echo was stored
382154
- */
382155
- received_at: string
382156
- }
382157
-
382158
- export interface PlaygroundWorkflowEchoListInput {
382159
-
382160
- }
382161
-
382162
- export type PlaygroundWorkflowEchoListOutput = {
382163
- /**
382164
- * Identifier of the stored echo
382165
- */
382166
- id: string
382167
- /**
382168
- * The note exactly as it was received
382169
- */
382170
- note: string
382171
- /**
382172
- * The tags exactly as they were received
382173
- */
382174
- tags: string[]
382175
- /**
382176
- * ISO-8601 instant (UTC) at which the echo was stored
382177
- */
382178
- received_at: string
382179
- }[]
382180
-
382181
- export interface PlaygroundWorkflowPingInput {
382182
- /**
382183
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382184
- */
382185
- kind?: string
382186
- }
382187
-
382188
- export interface PlaygroundWorkflowPingOutput {
382189
- /**
382190
- * 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.
382191
- */
382192
- id: string
382193
- /**
382194
- * The name of the event that was published
382195
- */
382196
- event: string
382197
- }
382198
-
382199
- export interface PlaygroundWorkflowSubjectsListInput {
382200
- /**
382201
- * How many subjects to return, 1–100. Defaults to 25.
382202
- */
382203
- limit?: number
382204
- /**
382205
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382206
- */
382207
- cursor?: string
382208
- /**
382209
- * 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.
382210
- */
382211
- last_activity_after?: string
382212
- /**
382213
- * 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.
382214
- */
382215
- last_activity_before?: string
382216
- }
382217
-
382218
- export interface PlaygroundWorkflowSubjectsListOutput {
382219
- /**
382220
- * This page of subjects, most recently active first
382221
- */
382222
- items: {
382223
- /**
382224
- * 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.
382225
- */
382226
- subject_key: string
382227
- /**
382228
- * Human-readable name of the subject
382229
- */
382230
- display_name: string
382231
- /**
382232
- * ISO-8601 instant (UTC) of the subject last activity
382233
- */
382234
- last_activity_at: string
382235
- }[]
382236
- /**
382237
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382238
- */
382239
- has_more: boolean
382240
- /**
382241
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382242
- */
382243
- next_cursor: (string | null)
382244
- }
382245
-
382246
- export interface PlaygroundWsEchoInput {
382247
-
382248
- }
382249
-
382250
- export type PlaygroundWsEchoOutput = unknown;
382251
-
382252
381880
  export interface RealtimeArchiveExportInput {
382253
381881
  /**
382254
381882
  * 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
- };