@lessly/sdk-app 74.1.0 → 74.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.
@@ -74512,7 +74512,24 @@ export interface MailEmailGetInput {
74512
74512
  id: string
74513
74513
  }
74514
74514
 
74515
- export type MailEmailGetOutput = unknown;
74515
+ export interface MailEmailGetOutput {
74516
+ cc: string[]
74517
+ id: string
74518
+ to: string[]
74519
+ bcc: string[]
74520
+ from: string
74521
+ status: ("scheduled" | "queued" | "sent" | "failed" | "canceled" | "delivered" | "bounced" | "complained" | "suppressed" | "blocked")
74522
+ subject: string
74523
+ created_at: string
74524
+ last_event: {
74525
+ type: ("email.scheduled" | "email.queued" | "email.sent" | "email.failed" | "email.canceled" | "email.delivered" | "email.bounced" | "email.complained" | "email.suppressed" | "email.blocked")
74526
+ created_at: (string | null)
74527
+ }
74528
+ template_id: (string | null)
74529
+ scheduled_at: (string | null)
74530
+ template_name: (string | null)
74531
+ provider_message_id: (string | null)
74532
+ }
74516
74533
 
74517
74534
  export interface MailEmailSendInput {
74518
74535
  /**
@@ -85971,378 +85988,6 @@ export interface OrganizationYoutubeInstallOutput {
85971
85988
  url: string
85972
85989
  }
85973
85990
 
85974
- export interface PlaygroundAnalyticsOverviewInput {
85975
- /**
85976
- * Max records per entity in recent[]; omit for the endpoint default
85977
- */
85978
- limit?: number
85979
- }
85980
-
85981
- export interface PlaygroundAnalyticsOverviewOutput {
85982
- ok: boolean
85983
- minted: boolean
85984
- overview?: unknown
85985
- http_status: number
85986
- }
85987
-
85988
- export interface PlaygroundBillingEntitlementsInput {
85989
-
85990
- }
85991
-
85992
- export interface PlaygroundBillingEntitlementsOutput {
85993
- ok: boolean
85994
- minted: boolean
85995
- http_status: number
85996
- entitlements?: unknown
85997
- }
85998
-
85999
- export interface PlaygroundBillingRecordUsageInput {
86000
- /**
86001
- * Quantity of events to record against playground-events (SUM); defaults to 1
86002
- */
86003
- value?: number
86004
- }
86005
-
86006
- export interface PlaygroundBillingRecordUsageOutput {
86007
- minted: boolean
86008
- accepted: (number | null)
86009
- recorded: boolean
86010
- duplicates: (number | null)
86011
- http_status: number
86012
- }
86013
-
86014
- export interface PlaygroundClickupCreateTaskInput {
86015
- /**
86016
- * Task title; defaults to a fixture label
86017
- */
86018
- name?: string
86019
- /**
86020
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
86021
- */
86022
- listId?: string
86023
- }
86024
-
86025
- export interface PlaygroundClickupCreateTaskOutput {
86026
- minted: boolean
86027
- task_id: (string | null)
86028
- list_status: number
86029
- vend_status: number
86030
- clickup_status: number
86031
- installation_count: number
86032
- }
86033
-
86034
- export interface PlaygroundClickupGetLastWebhookInput {
86035
-
86036
- }
86037
-
86038
- export type PlaygroundClickupGetLastWebhookOutput = ({
86039
- payload: string
86040
- event_id: string
86041
- provider: string
86042
- verified: boolean
86043
- product_id: string
86044
- occurred_at: string
86045
- connector_id: string
86046
- clickup_event: (string | null)
86047
- receipt_count: number
86048
- } | {
86049
- found: false
86050
- })
86051
-
86052
- export interface PlaygroundClickupGetOverviewInput {
86053
-
86054
- }
86055
-
86056
- export interface PlaygroundClickupGetOverviewOutput {
86057
- team: ({
86058
- teamId: string
86059
- teamName: string
86060
- } | null)
86061
- lists: PlaygroundClickupGetOverviewOutputItems[]
86062
- tasks: {
86063
- id: string
86064
- name: string
86065
- status: (string | null)
86066
- }[]
86067
- minted: boolean
86068
- spaces: PlaygroundClickupGetOverviewOutputItems[]
86069
- list_status: number
86070
- vend_status: number
86071
- lists_status: number
86072
- tasks_status: number
86073
- spaces_status: number
86074
- folders_status: number
86075
- installation_count: number
86076
- }
86077
- export interface PlaygroundClickupGetOverviewOutputItems {
86078
- id: string
86079
- name: string
86080
- }
86081
-
86082
- export interface PlaygroundEchoPingInput {
86083
- /**
86084
- * The text to echo back, 1–1024 characters
86085
- */
86086
- message: string
86087
- }
86088
-
86089
- export interface PlaygroundEchoPingOutput {
86090
- /**
86091
- * The message exactly as it was received
86092
- */
86093
- message: string
86094
- /**
86095
- * The product the call was resolved to
86096
- */
86097
- productId: string
86098
- /**
86099
- * ISO-8601 instant (UTC) at which the call reached the service
86100
- */
86101
- receivedAt: string
86102
- }
86103
-
86104
- export interface PlaygroundGdriveGetLastChangeInput {
86105
-
86106
- }
86107
-
86108
- export type PlaygroundGdriveGetLastChangeOutput = ({
86109
- file_id: string
86110
- removed: boolean
86111
- file_name: (string | null)
86112
- mime_type: (string | null)
86113
- product_id: string
86114
- occurred_at: string
86115
- connector_id: string
86116
- resource_state: string
86117
- } | {
86118
- found: false
86119
- })
86120
-
86121
- export interface PlaygroundGdriveReadFileInput {
86122
- /**
86123
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
86124
- */
86125
- fileId?: string
86126
- }
86127
-
86128
- export interface PlaygroundGdriveReadFileOutput {
86129
- minted: boolean
86130
- file_id: (string | null)
86131
- file_name: (string | null)
86132
- mime_type: (string | null)
86133
- file_count: number
86134
- get_status: number
86135
- list_status: number
86136
- vend_status: number
86137
- content_bytes: (number | null)
86138
- }
86139
-
86140
- export interface PlaygroundGoogleadsReadCustomerInput {
86141
-
86142
- }
86143
-
86144
- export interface PlaygroundGoogleadsReadCustomerOutput {
86145
- minted: boolean
86146
- vended: boolean
86147
- customer_id: (string | null)
86148
- vend_status: number
86149
- result_count: number
86150
- search_status: number
86151
- login_customer_id: (string | null)
86152
- }
86153
-
86154
- export interface PlaygroundLifecycleGetStateInput {
86155
-
86156
- }
86157
-
86158
- export interface PlaygroundLifecycleGetStateOutput {
86159
- blocked: boolean
86160
- archived: boolean
86161
- productId: string
86162
- lastBlockTransition: ({
86163
- eventId: string
86164
- eventName: string
86165
- productId: string
86166
- occurredAt: string
86167
- recordedAt: string
86168
- receiptCount: number
86169
- organizationId: string
86170
- cascadedFromOrg: boolean
86171
- } | null)
86172
- lastArchiveTransition: ({
86173
- eventId: string
86174
- eventName: string
86175
- productId: string
86176
- occurredAt: string
86177
- recordedAt: string
86178
- receiptCount: number
86179
- organizationId: string
86180
- cascadedFromOrg: boolean
86181
- } | null)
86182
- }
86183
-
86184
- export interface PlaygroundLifecycleListEventsInput {
86185
-
86186
- }
86187
-
86188
- export type PlaygroundLifecycleListEventsOutput = {
86189
- eventId: string
86190
- eventName: string
86191
- productId: string
86192
- occurredAt: string
86193
- recordedAt: string
86194
- receiptCount: number
86195
- organizationId: string
86196
- cascadedFromOrg: boolean
86197
- }[]
86198
-
86199
- export interface PlaygroundWebhookGetLastInput {
86200
-
86201
- }
86202
-
86203
- export type PlaygroundWebhookGetLastOutput = ({
86204
- payload?: unknown
86205
- event_id: string
86206
- provider: string
86207
- verified: boolean
86208
- product_id: string
86209
- occurred_at: string
86210
- connector_id: string
86211
- delivery_count: number
86212
- } | {
86213
- found: false
86214
- })
86215
-
86216
- export interface PlaygroundWorkflowEchoInput {
86217
- /**
86218
- * The text to store, 1–1024 characters
86219
- */
86220
- note: string
86221
- /**
86222
- * Optional labels stored alongside the note, at most 20
86223
- *
86224
- * @maxItems 20
86225
- */
86226
- 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]
86227
- }
86228
-
86229
- export interface PlaygroundWorkflowEchoOutput {
86230
- /**
86231
- * Identifier of the stored echo
86232
- */
86233
- id: string
86234
- /**
86235
- * The note exactly as it was received
86236
- */
86237
- note: string
86238
- /**
86239
- * The tags exactly as they were received
86240
- */
86241
- tags: string[]
86242
- /**
86243
- * 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.
86244
- */
86245
- echo_id: string
86246
- /**
86247
- * ISO-8601 instant (UTC) at which the echo was stored
86248
- */
86249
- received_at: string
86250
- }
86251
-
86252
- export interface PlaygroundWorkflowEchoListInput {
86253
-
86254
- }
86255
-
86256
- export type PlaygroundWorkflowEchoListOutput = {
86257
- /**
86258
- * Identifier of the stored echo
86259
- */
86260
- id: string
86261
- /**
86262
- * The note exactly as it was received
86263
- */
86264
- note: string
86265
- /**
86266
- * The tags exactly as they were received
86267
- */
86268
- tags: string[]
86269
- /**
86270
- * ISO-8601 instant (UTC) at which the echo was stored
86271
- */
86272
- received_at: string
86273
- }[]
86274
-
86275
- export interface PlaygroundWorkflowPingInput {
86276
- /**
86277
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
86278
- */
86279
- kind?: string
86280
- }
86281
-
86282
- export interface PlaygroundWorkflowPingOutput {
86283
- /**
86284
- * 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.
86285
- */
86286
- id: string
86287
- /**
86288
- * The name of the event that was published
86289
- */
86290
- event: string
86291
- }
86292
-
86293
- export interface PlaygroundWorkflowSubjectsListInput {
86294
- /**
86295
- * How many subjects to return, 1–100. Defaults to 25.
86296
- */
86297
- limit?: number
86298
- /**
86299
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
86300
- */
86301
- cursor?: string
86302
- /**
86303
- * 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.
86304
- */
86305
- last_activity_after?: string
86306
- /**
86307
- * 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.
86308
- */
86309
- last_activity_before?: string
86310
- }
86311
-
86312
- export interface PlaygroundWorkflowSubjectsListOutput {
86313
- /**
86314
- * This page of subjects, most recently active first
86315
- */
86316
- items: {
86317
- /**
86318
- * 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.
86319
- */
86320
- subject_key: string
86321
- /**
86322
- * Human-readable name of the subject
86323
- */
86324
- display_name: string
86325
- /**
86326
- * ISO-8601 instant (UTC) of the subject last activity
86327
- */
86328
- last_activity_at: string
86329
- }[]
86330
- /**
86331
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
86332
- */
86333
- has_more: boolean
86334
- /**
86335
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
86336
- */
86337
- next_cursor: (string | null)
86338
- }
86339
-
86340
- export interface PlaygroundWsEchoInput {
86341
-
86342
- }
86343
-
86344
- export type PlaygroundWsEchoOutput = unknown;
86345
-
86346
85991
  export interface RealtimeArchiveExportInput {
86347
85992
  /**
86348
85993
  * 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
- };