@lessly/sdk-app 115.0.0 → 116.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.
@@ -381277,378 +381277,6 @@ export interface OrganizationYoutubeInstallOutput {
381277
381277
  url: string
381278
381278
  }
381279
381279
 
381280
- export interface PlaygroundAnalyticsOverviewInput {
381281
- /**
381282
- * Max records per entity in recent[]; omit for the endpoint default
381283
- */
381284
- limit?: number
381285
- }
381286
-
381287
- export interface PlaygroundAnalyticsOverviewOutput {
381288
- ok: boolean
381289
- minted: boolean
381290
- overview?: unknown
381291
- http_status: number
381292
- }
381293
-
381294
- export interface PlaygroundBillingEntitlementsInput {
381295
-
381296
- }
381297
-
381298
- export interface PlaygroundBillingEntitlementsOutput {
381299
- ok: boolean
381300
- minted: boolean
381301
- http_status: number
381302
- entitlements?: unknown
381303
- }
381304
-
381305
- export interface PlaygroundBillingRecordUsageInput {
381306
- /**
381307
- * Quantity of events to record against playground-events (SUM); defaults to 1
381308
- */
381309
- value?: number
381310
- }
381311
-
381312
- export interface PlaygroundBillingRecordUsageOutput {
381313
- minted: boolean
381314
- accepted: (number | null)
381315
- recorded: boolean
381316
- duplicates: (number | null)
381317
- http_status: number
381318
- }
381319
-
381320
- export interface PlaygroundClickupCreateTaskInput {
381321
- /**
381322
- * Task title; defaults to a fixture label
381323
- */
381324
- name?: string
381325
- /**
381326
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381327
- */
381328
- listId?: string
381329
- }
381330
-
381331
- export interface PlaygroundClickupCreateTaskOutput {
381332
- minted: boolean
381333
- task_id: (string | null)
381334
- list_status: number
381335
- vend_status: number
381336
- clickup_status: number
381337
- installation_count: number
381338
- }
381339
-
381340
- export interface PlaygroundClickupGetLastWebhookInput {
381341
-
381342
- }
381343
-
381344
- export type PlaygroundClickupGetLastWebhookOutput = ({
381345
- payload: string
381346
- event_id: string
381347
- provider: string
381348
- verified: boolean
381349
- product_id: string
381350
- occurred_at: string
381351
- connector_id: string
381352
- clickup_event: (string | null)
381353
- receipt_count: number
381354
- } | {
381355
- found: false
381356
- })
381357
-
381358
- export interface PlaygroundClickupGetOverviewInput {
381359
-
381360
- }
381361
-
381362
- export interface PlaygroundClickupGetOverviewOutput {
381363
- team: ({
381364
- teamId: string
381365
- teamName: string
381366
- } | null)
381367
- lists: PlaygroundClickupGetOverviewOutputItems[]
381368
- tasks: {
381369
- id: string
381370
- name: string
381371
- status: (string | null)
381372
- }[]
381373
- minted: boolean
381374
- spaces: PlaygroundClickupGetOverviewOutputItems[]
381375
- list_status: number
381376
- vend_status: number
381377
- lists_status: number
381378
- tasks_status: number
381379
- spaces_status: number
381380
- folders_status: number
381381
- installation_count: number
381382
- }
381383
- export interface PlaygroundClickupGetOverviewOutputItems {
381384
- id: string
381385
- name: string
381386
- }
381387
-
381388
- export interface PlaygroundEchoPingInput {
381389
- /**
381390
- * The text to echo back, 1–1024 characters
381391
- */
381392
- message: string
381393
- }
381394
-
381395
- export interface PlaygroundEchoPingOutput {
381396
- /**
381397
- * The message exactly as it was received
381398
- */
381399
- message: string
381400
- /**
381401
- * The product the call was resolved to
381402
- */
381403
- productId: string
381404
- /**
381405
- * ISO-8601 instant (UTC) at which the call reached the service
381406
- */
381407
- receivedAt: string
381408
- }
381409
-
381410
- export interface PlaygroundGdriveGetLastChangeInput {
381411
-
381412
- }
381413
-
381414
- export type PlaygroundGdriveGetLastChangeOutput = ({
381415
- file_id: string
381416
- removed: boolean
381417
- file_name: (string | null)
381418
- mime_type: (string | null)
381419
- product_id: string
381420
- occurred_at: string
381421
- connector_id: string
381422
- resource_state: string
381423
- } | {
381424
- found: false
381425
- })
381426
-
381427
- export interface PlaygroundGdriveReadFileInput {
381428
- /**
381429
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
381430
- */
381431
- fileId?: string
381432
- }
381433
-
381434
- export interface PlaygroundGdriveReadFileOutput {
381435
- minted: boolean
381436
- file_id: (string | null)
381437
- file_name: (string | null)
381438
- mime_type: (string | null)
381439
- file_count: number
381440
- get_status: number
381441
- list_status: number
381442
- vend_status: number
381443
- content_bytes: (number | null)
381444
- }
381445
-
381446
- export interface PlaygroundGoogleadsReadCustomerInput {
381447
-
381448
- }
381449
-
381450
- export interface PlaygroundGoogleadsReadCustomerOutput {
381451
- minted: boolean
381452
- vended: boolean
381453
- customer_id: (string | null)
381454
- vend_status: number
381455
- result_count: number
381456
- search_status: number
381457
- login_customer_id: (string | null)
381458
- }
381459
-
381460
- export interface PlaygroundLifecycleGetStateInput {
381461
-
381462
- }
381463
-
381464
- export interface PlaygroundLifecycleGetStateOutput {
381465
- blocked: boolean
381466
- archived: boolean
381467
- productId: string
381468
- lastBlockTransition: ({
381469
- eventId: string
381470
- eventName: string
381471
- productId: string
381472
- occurredAt: string
381473
- recordedAt: string
381474
- receiptCount: number
381475
- organizationId: string
381476
- cascadedFromOrg: boolean
381477
- } | null)
381478
- lastArchiveTransition: ({
381479
- eventId: string
381480
- eventName: string
381481
- productId: string
381482
- occurredAt: string
381483
- recordedAt: string
381484
- receiptCount: number
381485
- organizationId: string
381486
- cascadedFromOrg: boolean
381487
- } | null)
381488
- }
381489
-
381490
- export interface PlaygroundLifecycleListEventsInput {
381491
-
381492
- }
381493
-
381494
- export type PlaygroundLifecycleListEventsOutput = {
381495
- eventId: string
381496
- eventName: string
381497
- productId: string
381498
- occurredAt: string
381499
- recordedAt: string
381500
- receiptCount: number
381501
- organizationId: string
381502
- cascadedFromOrg: boolean
381503
- }[]
381504
-
381505
- export interface PlaygroundWebhookGetLastInput {
381506
-
381507
- }
381508
-
381509
- export type PlaygroundWebhookGetLastOutput = ({
381510
- payload?: unknown
381511
- event_id: string
381512
- provider: string
381513
- verified: boolean
381514
- product_id: string
381515
- occurred_at: string
381516
- connector_id: string
381517
- delivery_count: number
381518
- } | {
381519
- found: false
381520
- })
381521
-
381522
- export interface PlaygroundWorkflowEchoInput {
381523
- /**
381524
- * The text to store, 1–1024 characters
381525
- */
381526
- note: string
381527
- /**
381528
- * Optional labels stored alongside the note, at most 20
381529
- *
381530
- * @maxItems 20
381531
- */
381532
- 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]
381533
- }
381534
-
381535
- export interface PlaygroundWorkflowEchoOutput {
381536
- /**
381537
- * Identifier of the stored echo
381538
- */
381539
- id: string
381540
- /**
381541
- * The note exactly as it was received
381542
- */
381543
- note: string
381544
- /**
381545
- * The tags exactly as they were received
381546
- */
381547
- tags: string[]
381548
- /**
381549
- * 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.
381550
- */
381551
- echo_id: string
381552
- /**
381553
- * ISO-8601 instant (UTC) at which the echo was stored
381554
- */
381555
- received_at: string
381556
- }
381557
-
381558
- export interface PlaygroundWorkflowEchoListInput {
381559
-
381560
- }
381561
-
381562
- export type PlaygroundWorkflowEchoListOutput = {
381563
- /**
381564
- * Identifier of the stored echo
381565
- */
381566
- id: string
381567
- /**
381568
- * The note exactly as it was received
381569
- */
381570
- note: string
381571
- /**
381572
- * The tags exactly as they were received
381573
- */
381574
- tags: string[]
381575
- /**
381576
- * ISO-8601 instant (UTC) at which the echo was stored
381577
- */
381578
- received_at: string
381579
- }[]
381580
-
381581
- export interface PlaygroundWorkflowPingInput {
381582
- /**
381583
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
381584
- */
381585
- kind?: string
381586
- }
381587
-
381588
- export interface PlaygroundWorkflowPingOutput {
381589
- /**
381590
- * 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.
381591
- */
381592
- id: string
381593
- /**
381594
- * The name of the event that was published
381595
- */
381596
- event: string
381597
- }
381598
-
381599
- export interface PlaygroundWorkflowSubjectsListInput {
381600
- /**
381601
- * How many subjects to return, 1–100. Defaults to 25.
381602
- */
381603
- limit?: number
381604
- /**
381605
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
381606
- */
381607
- cursor?: string
381608
- /**
381609
- * 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.
381610
- */
381611
- last_activity_after?: string
381612
- /**
381613
- * 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.
381614
- */
381615
- last_activity_before?: string
381616
- }
381617
-
381618
- export interface PlaygroundWorkflowSubjectsListOutput {
381619
- /**
381620
- * This page of subjects, most recently active first
381621
- */
381622
- items: {
381623
- /**
381624
- * 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.
381625
- */
381626
- subject_key: string
381627
- /**
381628
- * Human-readable name of the subject
381629
- */
381630
- display_name: string
381631
- /**
381632
- * ISO-8601 instant (UTC) of the subject last activity
381633
- */
381634
- last_activity_at: string
381635
- }[]
381636
- /**
381637
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
381638
- */
381639
- has_more: boolean
381640
- /**
381641
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
381642
- */
381643
- next_cursor: (string | null)
381644
- }
381645
-
381646
- export interface PlaygroundWsEchoInput {
381647
-
381648
- }
381649
-
381650
- export type PlaygroundWsEchoOutput = unknown;
381651
-
381652
381280
  export interface RealtimeArchiveExportInput {
381653
381281
  /**
381654
381282
  * 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
- };