@lessly/sdk-app 109.0.0 → 110.0.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.
@@ -379174,378 +379174,6 @@ export interface OrganizationYoutubeInstallOutput {
379174
379174
  url: string
379175
379175
  }
379176
379176
 
379177
- export interface PlaygroundAnalyticsOverviewInput {
379178
- /**
379179
- * Max records per entity in recent[]; omit for the endpoint default
379180
- */
379181
- limit?: number
379182
- }
379183
-
379184
- export interface PlaygroundAnalyticsOverviewOutput {
379185
- ok: boolean
379186
- minted: boolean
379187
- overview?: unknown
379188
- http_status: number
379189
- }
379190
-
379191
- export interface PlaygroundBillingEntitlementsInput {
379192
-
379193
- }
379194
-
379195
- export interface PlaygroundBillingEntitlementsOutput {
379196
- ok: boolean
379197
- minted: boolean
379198
- http_status: number
379199
- entitlements?: unknown
379200
- }
379201
-
379202
- export interface PlaygroundBillingRecordUsageInput {
379203
- /**
379204
- * Quantity of events to record against playground-events (SUM); defaults to 1
379205
- */
379206
- value?: number
379207
- }
379208
-
379209
- export interface PlaygroundBillingRecordUsageOutput {
379210
- minted: boolean
379211
- accepted: (number | null)
379212
- recorded: boolean
379213
- duplicates: (number | null)
379214
- http_status: number
379215
- }
379216
-
379217
- export interface PlaygroundClickupCreateTaskInput {
379218
- /**
379219
- * Task title; defaults to a fixture label
379220
- */
379221
- name?: string
379222
- /**
379223
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
379224
- */
379225
- listId?: string
379226
- }
379227
-
379228
- export interface PlaygroundClickupCreateTaskOutput {
379229
- minted: boolean
379230
- task_id: (string | null)
379231
- list_status: number
379232
- vend_status: number
379233
- clickup_status: number
379234
- installation_count: number
379235
- }
379236
-
379237
- export interface PlaygroundClickupGetLastWebhookInput {
379238
-
379239
- }
379240
-
379241
- export type PlaygroundClickupGetLastWebhookOutput = ({
379242
- payload: string
379243
- event_id: string
379244
- provider: string
379245
- verified: boolean
379246
- product_id: string
379247
- occurred_at: string
379248
- connector_id: string
379249
- clickup_event: (string | null)
379250
- receipt_count: number
379251
- } | {
379252
- found: false
379253
- })
379254
-
379255
- export interface PlaygroundClickupGetOverviewInput {
379256
-
379257
- }
379258
-
379259
- export interface PlaygroundClickupGetOverviewOutput {
379260
- team: ({
379261
- teamId: string
379262
- teamName: string
379263
- } | null)
379264
- lists: PlaygroundClickupGetOverviewOutputItems[]
379265
- tasks: {
379266
- id: string
379267
- name: string
379268
- status: (string | null)
379269
- }[]
379270
- minted: boolean
379271
- spaces: PlaygroundClickupGetOverviewOutputItems[]
379272
- list_status: number
379273
- vend_status: number
379274
- lists_status: number
379275
- tasks_status: number
379276
- spaces_status: number
379277
- folders_status: number
379278
- installation_count: number
379279
- }
379280
- export interface PlaygroundClickupGetOverviewOutputItems {
379281
- id: string
379282
- name: string
379283
- }
379284
-
379285
- export interface PlaygroundEchoPingInput {
379286
- /**
379287
- * The text to echo back, 1–1024 characters
379288
- */
379289
- message: string
379290
- }
379291
-
379292
- export interface PlaygroundEchoPingOutput {
379293
- /**
379294
- * The message exactly as it was received
379295
- */
379296
- message: string
379297
- /**
379298
- * The product the call was resolved to
379299
- */
379300
- productId: string
379301
- /**
379302
- * ISO-8601 instant (UTC) at which the call reached the service
379303
- */
379304
- receivedAt: string
379305
- }
379306
-
379307
- export interface PlaygroundGdriveGetLastChangeInput {
379308
-
379309
- }
379310
-
379311
- export type PlaygroundGdriveGetLastChangeOutput = ({
379312
- file_id: string
379313
- removed: boolean
379314
- file_name: (string | null)
379315
- mime_type: (string | null)
379316
- product_id: string
379317
- occurred_at: string
379318
- connector_id: string
379319
- resource_state: string
379320
- } | {
379321
- found: false
379322
- })
379323
-
379324
- export interface PlaygroundGdriveReadFileInput {
379325
- /**
379326
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
379327
- */
379328
- fileId?: string
379329
- }
379330
-
379331
- export interface PlaygroundGdriveReadFileOutput {
379332
- minted: boolean
379333
- file_id: (string | null)
379334
- file_name: (string | null)
379335
- mime_type: (string | null)
379336
- file_count: number
379337
- get_status: number
379338
- list_status: number
379339
- vend_status: number
379340
- content_bytes: (number | null)
379341
- }
379342
-
379343
- export interface PlaygroundGoogleadsReadCustomerInput {
379344
-
379345
- }
379346
-
379347
- export interface PlaygroundGoogleadsReadCustomerOutput {
379348
- minted: boolean
379349
- vended: boolean
379350
- customer_id: (string | null)
379351
- vend_status: number
379352
- result_count: number
379353
- search_status: number
379354
- login_customer_id: (string | null)
379355
- }
379356
-
379357
- export interface PlaygroundLifecycleGetStateInput {
379358
-
379359
- }
379360
-
379361
- export interface PlaygroundLifecycleGetStateOutput {
379362
- blocked: boolean
379363
- archived: boolean
379364
- productId: string
379365
- lastBlockTransition: ({
379366
- eventId: string
379367
- eventName: string
379368
- productId: string
379369
- occurredAt: string
379370
- recordedAt: string
379371
- receiptCount: number
379372
- organizationId: string
379373
- cascadedFromOrg: boolean
379374
- } | null)
379375
- lastArchiveTransition: ({
379376
- eventId: string
379377
- eventName: string
379378
- productId: string
379379
- occurredAt: string
379380
- recordedAt: string
379381
- receiptCount: number
379382
- organizationId: string
379383
- cascadedFromOrg: boolean
379384
- } | null)
379385
- }
379386
-
379387
- export interface PlaygroundLifecycleListEventsInput {
379388
-
379389
- }
379390
-
379391
- export type PlaygroundLifecycleListEventsOutput = {
379392
- eventId: string
379393
- eventName: string
379394
- productId: string
379395
- occurredAt: string
379396
- recordedAt: string
379397
- receiptCount: number
379398
- organizationId: string
379399
- cascadedFromOrg: boolean
379400
- }[]
379401
-
379402
- export interface PlaygroundWebhookGetLastInput {
379403
-
379404
- }
379405
-
379406
- export type PlaygroundWebhookGetLastOutput = ({
379407
- payload?: unknown
379408
- event_id: string
379409
- provider: string
379410
- verified: boolean
379411
- product_id: string
379412
- occurred_at: string
379413
- connector_id: string
379414
- delivery_count: number
379415
- } | {
379416
- found: false
379417
- })
379418
-
379419
- export interface PlaygroundWorkflowEchoInput {
379420
- /**
379421
- * The text to store, 1–1024 characters
379422
- */
379423
- note: string
379424
- /**
379425
- * Optional labels stored alongside the note, at most 20
379426
- *
379427
- * @maxItems 20
379428
- */
379429
- 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]
379430
- }
379431
-
379432
- export interface PlaygroundWorkflowEchoOutput {
379433
- /**
379434
- * Identifier of the stored echo
379435
- */
379436
- id: string
379437
- /**
379438
- * The note exactly as it was received
379439
- */
379440
- note: string
379441
- /**
379442
- * The tags exactly as they were received
379443
- */
379444
- tags: string[]
379445
- /**
379446
- * 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.
379447
- */
379448
- echo_id: string
379449
- /**
379450
- * ISO-8601 instant (UTC) at which the echo was stored
379451
- */
379452
- received_at: string
379453
- }
379454
-
379455
- export interface PlaygroundWorkflowEchoListInput {
379456
-
379457
- }
379458
-
379459
- export type PlaygroundWorkflowEchoListOutput = {
379460
- /**
379461
- * Identifier of the stored echo
379462
- */
379463
- id: string
379464
- /**
379465
- * The note exactly as it was received
379466
- */
379467
- note: string
379468
- /**
379469
- * The tags exactly as they were received
379470
- */
379471
- tags: string[]
379472
- /**
379473
- * ISO-8601 instant (UTC) at which the echo was stored
379474
- */
379475
- received_at: string
379476
- }[]
379477
-
379478
- export interface PlaygroundWorkflowPingInput {
379479
- /**
379480
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
379481
- */
379482
- kind?: string
379483
- }
379484
-
379485
- export interface PlaygroundWorkflowPingOutput {
379486
- /**
379487
- * 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.
379488
- */
379489
- id: string
379490
- /**
379491
- * The name of the event that was published
379492
- */
379493
- event: string
379494
- }
379495
-
379496
- export interface PlaygroundWorkflowSubjectsListInput {
379497
- /**
379498
- * How many subjects to return, 1–100. Defaults to 25.
379499
- */
379500
- limit?: number
379501
- /**
379502
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
379503
- */
379504
- cursor?: string
379505
- /**
379506
- * 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.
379507
- */
379508
- last_activity_after?: string
379509
- /**
379510
- * 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.
379511
- */
379512
- last_activity_before?: string
379513
- }
379514
-
379515
- export interface PlaygroundWorkflowSubjectsListOutput {
379516
- /**
379517
- * This page of subjects, most recently active first
379518
- */
379519
- items: {
379520
- /**
379521
- * 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.
379522
- */
379523
- subject_key: string
379524
- /**
379525
- * Human-readable name of the subject
379526
- */
379527
- display_name: string
379528
- /**
379529
- * ISO-8601 instant (UTC) of the subject last activity
379530
- */
379531
- last_activity_at: string
379532
- }[]
379533
- /**
379534
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
379535
- */
379536
- has_more: boolean
379537
- /**
379538
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
379539
- */
379540
- next_cursor: (string | null)
379541
- }
379542
-
379543
- export interface PlaygroundWsEchoInput {
379544
-
379545
- }
379546
-
379547
- export type PlaygroundWsEchoOutput = unknown;
379548
-
379549
379177
  export interface RealtimeArchiveExportInput {
379550
379178
  /**
379551
379179
  * 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
- };