@lessly/sdk-app 74.0.0 → 74.2.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.
- package/dist/_types/gen/client.gen.d.ts +38 -1
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +2 -2
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +344 -1
- package/dist/chunk-VDBGXDY3.js +11396 -0
- package/dist/chunk-VDBGXDY3.js.map +1 -0
- package/dist/index.cjs +227 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -11177
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +216 -1
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +390 -1
|
@@ -79777,7 +79777,24 @@ export interface MailEmailGetInput {
|
|
|
79777
79777
|
*/
|
|
79778
79778
|
id: string;
|
|
79779
79779
|
}
|
|
79780
|
-
export
|
|
79780
|
+
export interface MailEmailGetOutput {
|
|
79781
|
+
cc: string[];
|
|
79782
|
+
id: string;
|
|
79783
|
+
to: string[];
|
|
79784
|
+
bcc: string[];
|
|
79785
|
+
from: string;
|
|
79786
|
+
status: ("scheduled" | "queued" | "sent" | "failed" | "canceled" | "delivered" | "bounced" | "complained" | "suppressed" | "blocked");
|
|
79787
|
+
subject: string;
|
|
79788
|
+
created_at: string;
|
|
79789
|
+
last_event: {
|
|
79790
|
+
type: ("email.scheduled" | "email.queued" | "email.sent" | "email.failed" | "email.canceled" | "email.delivered" | "email.bounced" | "email.complained" | "email.suppressed" | "email.blocked");
|
|
79791
|
+
created_at: (string | null);
|
|
79792
|
+
};
|
|
79793
|
+
template_id: (string | null);
|
|
79794
|
+
scheduled_at: (string | null);
|
|
79795
|
+
template_name: (string | null);
|
|
79796
|
+
provider_message_id: (string | null);
|
|
79797
|
+
}
|
|
79781
79798
|
export interface MailEmailSendInput {
|
|
79782
79799
|
/**
|
|
79783
79800
|
* Cc recipient(s)
|
|
@@ -91381,6 +91398,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
91381
91398
|
export interface OrganizationYoutubeInstallOutput {
|
|
91382
91399
|
url: string;
|
|
91383
91400
|
}
|
|
91401
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
91402
|
+
/**
|
|
91403
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
91404
|
+
*/
|
|
91405
|
+
limit?: number;
|
|
91406
|
+
}
|
|
91407
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
91408
|
+
ok: boolean;
|
|
91409
|
+
minted: boolean;
|
|
91410
|
+
overview?: unknown;
|
|
91411
|
+
http_status: number;
|
|
91412
|
+
}
|
|
91413
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
91414
|
+
}
|
|
91415
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
91416
|
+
ok: boolean;
|
|
91417
|
+
minted: boolean;
|
|
91418
|
+
http_status: number;
|
|
91419
|
+
entitlements?: unknown;
|
|
91420
|
+
}
|
|
91421
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
91422
|
+
/**
|
|
91423
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
91424
|
+
*/
|
|
91425
|
+
value?: number;
|
|
91426
|
+
}
|
|
91427
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
91428
|
+
minted: boolean;
|
|
91429
|
+
accepted: (number | null);
|
|
91430
|
+
recorded: boolean;
|
|
91431
|
+
duplicates: (number | null);
|
|
91432
|
+
http_status: number;
|
|
91433
|
+
}
|
|
91434
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
91435
|
+
/**
|
|
91436
|
+
* Task title; defaults to a fixture label
|
|
91437
|
+
*/
|
|
91438
|
+
name?: string;
|
|
91439
|
+
/**
|
|
91440
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
91441
|
+
*/
|
|
91442
|
+
listId?: string;
|
|
91443
|
+
}
|
|
91444
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
91445
|
+
minted: boolean;
|
|
91446
|
+
task_id: (string | null);
|
|
91447
|
+
list_status: number;
|
|
91448
|
+
vend_status: number;
|
|
91449
|
+
clickup_status: number;
|
|
91450
|
+
installation_count: number;
|
|
91451
|
+
}
|
|
91452
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
91453
|
+
}
|
|
91454
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
91455
|
+
payload: string;
|
|
91456
|
+
event_id: string;
|
|
91457
|
+
provider: string;
|
|
91458
|
+
verified: boolean;
|
|
91459
|
+
product_id: string;
|
|
91460
|
+
occurred_at: string;
|
|
91461
|
+
connector_id: string;
|
|
91462
|
+
clickup_event: (string | null);
|
|
91463
|
+
receipt_count: number;
|
|
91464
|
+
} | {
|
|
91465
|
+
found: false;
|
|
91466
|
+
});
|
|
91467
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
91468
|
+
}
|
|
91469
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
91470
|
+
team: ({
|
|
91471
|
+
teamId: string;
|
|
91472
|
+
teamName: string;
|
|
91473
|
+
} | null);
|
|
91474
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
91475
|
+
tasks: {
|
|
91476
|
+
id: string;
|
|
91477
|
+
name: string;
|
|
91478
|
+
status: (string | null);
|
|
91479
|
+
}[];
|
|
91480
|
+
minted: boolean;
|
|
91481
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
91482
|
+
list_status: number;
|
|
91483
|
+
vend_status: number;
|
|
91484
|
+
lists_status: number;
|
|
91485
|
+
tasks_status: number;
|
|
91486
|
+
spaces_status: number;
|
|
91487
|
+
folders_status: number;
|
|
91488
|
+
installation_count: number;
|
|
91489
|
+
}
|
|
91490
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
91491
|
+
id: string;
|
|
91492
|
+
name: string;
|
|
91493
|
+
}
|
|
91494
|
+
export interface PlaygroundEchoPingInput {
|
|
91495
|
+
/**
|
|
91496
|
+
* The text to echo back, 1–1024 characters
|
|
91497
|
+
*/
|
|
91498
|
+
message: string;
|
|
91499
|
+
}
|
|
91500
|
+
export interface PlaygroundEchoPingOutput {
|
|
91501
|
+
/**
|
|
91502
|
+
* The message exactly as it was received
|
|
91503
|
+
*/
|
|
91504
|
+
message: string;
|
|
91505
|
+
/**
|
|
91506
|
+
* The product the call was resolved to
|
|
91507
|
+
*/
|
|
91508
|
+
productId: string;
|
|
91509
|
+
/**
|
|
91510
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
91511
|
+
*/
|
|
91512
|
+
receivedAt: string;
|
|
91513
|
+
}
|
|
91514
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
91515
|
+
}
|
|
91516
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
91517
|
+
file_id: string;
|
|
91518
|
+
removed: boolean;
|
|
91519
|
+
file_name: (string | null);
|
|
91520
|
+
mime_type: (string | null);
|
|
91521
|
+
product_id: string;
|
|
91522
|
+
occurred_at: string;
|
|
91523
|
+
connector_id: string;
|
|
91524
|
+
resource_state: string;
|
|
91525
|
+
} | {
|
|
91526
|
+
found: false;
|
|
91527
|
+
});
|
|
91528
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
91529
|
+
/**
|
|
91530
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
91531
|
+
*/
|
|
91532
|
+
fileId?: string;
|
|
91533
|
+
}
|
|
91534
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
91535
|
+
minted: boolean;
|
|
91536
|
+
file_id: (string | null);
|
|
91537
|
+
file_name: (string | null);
|
|
91538
|
+
mime_type: (string | null);
|
|
91539
|
+
file_count: number;
|
|
91540
|
+
get_status: number;
|
|
91541
|
+
list_status: number;
|
|
91542
|
+
vend_status: number;
|
|
91543
|
+
content_bytes: (number | null);
|
|
91544
|
+
}
|
|
91545
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
91546
|
+
}
|
|
91547
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
91548
|
+
minted: boolean;
|
|
91549
|
+
vended: boolean;
|
|
91550
|
+
customer_id: (string | null);
|
|
91551
|
+
vend_status: number;
|
|
91552
|
+
result_count: number;
|
|
91553
|
+
search_status: number;
|
|
91554
|
+
login_customer_id: (string | null);
|
|
91555
|
+
}
|
|
91556
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
91557
|
+
}
|
|
91558
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
91559
|
+
blocked: boolean;
|
|
91560
|
+
archived: boolean;
|
|
91561
|
+
productId: string;
|
|
91562
|
+
lastBlockTransition: ({
|
|
91563
|
+
eventId: string;
|
|
91564
|
+
eventName: string;
|
|
91565
|
+
productId: string;
|
|
91566
|
+
occurredAt: string;
|
|
91567
|
+
recordedAt: string;
|
|
91568
|
+
receiptCount: number;
|
|
91569
|
+
organizationId: string;
|
|
91570
|
+
cascadedFromOrg: boolean;
|
|
91571
|
+
} | null);
|
|
91572
|
+
lastArchiveTransition: ({
|
|
91573
|
+
eventId: string;
|
|
91574
|
+
eventName: string;
|
|
91575
|
+
productId: string;
|
|
91576
|
+
occurredAt: string;
|
|
91577
|
+
recordedAt: string;
|
|
91578
|
+
receiptCount: number;
|
|
91579
|
+
organizationId: string;
|
|
91580
|
+
cascadedFromOrg: boolean;
|
|
91581
|
+
} | null);
|
|
91582
|
+
}
|
|
91583
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
91584
|
+
}
|
|
91585
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
91586
|
+
eventId: string;
|
|
91587
|
+
eventName: string;
|
|
91588
|
+
productId: string;
|
|
91589
|
+
occurredAt: string;
|
|
91590
|
+
recordedAt: string;
|
|
91591
|
+
receiptCount: number;
|
|
91592
|
+
organizationId: string;
|
|
91593
|
+
cascadedFromOrg: boolean;
|
|
91594
|
+
}[];
|
|
91595
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
91596
|
+
}
|
|
91597
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
91598
|
+
payload?: unknown;
|
|
91599
|
+
event_id: string;
|
|
91600
|
+
provider: string;
|
|
91601
|
+
verified: boolean;
|
|
91602
|
+
product_id: string;
|
|
91603
|
+
occurred_at: string;
|
|
91604
|
+
connector_id: string;
|
|
91605
|
+
delivery_count: number;
|
|
91606
|
+
} | {
|
|
91607
|
+
found: false;
|
|
91608
|
+
});
|
|
91609
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
91610
|
+
/**
|
|
91611
|
+
* The text to store, 1–1024 characters
|
|
91612
|
+
*/
|
|
91613
|
+
note: string;
|
|
91614
|
+
/**
|
|
91615
|
+
* Optional labels stored alongside the note, at most 20
|
|
91616
|
+
*
|
|
91617
|
+
* @maxItems 20
|
|
91618
|
+
*/
|
|
91619
|
+
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];
|
|
91620
|
+
}
|
|
91621
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
91622
|
+
/**
|
|
91623
|
+
* Identifier of the stored echo
|
|
91624
|
+
*/
|
|
91625
|
+
id: string;
|
|
91626
|
+
/**
|
|
91627
|
+
* The note exactly as it was received
|
|
91628
|
+
*/
|
|
91629
|
+
note: string;
|
|
91630
|
+
/**
|
|
91631
|
+
* The tags exactly as they were received
|
|
91632
|
+
*/
|
|
91633
|
+
tags: string[];
|
|
91634
|
+
/**
|
|
91635
|
+
* 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.
|
|
91636
|
+
*/
|
|
91637
|
+
echo_id: string;
|
|
91638
|
+
/**
|
|
91639
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91640
|
+
*/
|
|
91641
|
+
received_at: string;
|
|
91642
|
+
}
|
|
91643
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
91644
|
+
}
|
|
91645
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
91646
|
+
/**
|
|
91647
|
+
* Identifier of the stored echo
|
|
91648
|
+
*/
|
|
91649
|
+
id: string;
|
|
91650
|
+
/**
|
|
91651
|
+
* The note exactly as it was received
|
|
91652
|
+
*/
|
|
91653
|
+
note: string;
|
|
91654
|
+
/**
|
|
91655
|
+
* The tags exactly as they were received
|
|
91656
|
+
*/
|
|
91657
|
+
tags: string[];
|
|
91658
|
+
/**
|
|
91659
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91660
|
+
*/
|
|
91661
|
+
received_at: string;
|
|
91662
|
+
}[];
|
|
91663
|
+
export interface PlaygroundWorkflowPingInput {
|
|
91664
|
+
/**
|
|
91665
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
91666
|
+
*/
|
|
91667
|
+
kind?: string;
|
|
91668
|
+
}
|
|
91669
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
91670
|
+
/**
|
|
91671
|
+
* 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.
|
|
91672
|
+
*/
|
|
91673
|
+
id: string;
|
|
91674
|
+
/**
|
|
91675
|
+
* The name of the event that was published
|
|
91676
|
+
*/
|
|
91677
|
+
event: string;
|
|
91678
|
+
}
|
|
91679
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
91680
|
+
/**
|
|
91681
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
91682
|
+
*/
|
|
91683
|
+
limit?: number;
|
|
91684
|
+
/**
|
|
91685
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
91686
|
+
*/
|
|
91687
|
+
cursor?: string;
|
|
91688
|
+
/**
|
|
91689
|
+
* 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.
|
|
91690
|
+
*/
|
|
91691
|
+
last_activity_after?: string;
|
|
91692
|
+
/**
|
|
91693
|
+
* 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.
|
|
91694
|
+
*/
|
|
91695
|
+
last_activity_before?: string;
|
|
91696
|
+
}
|
|
91697
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
91698
|
+
/**
|
|
91699
|
+
* This page of subjects, most recently active first
|
|
91700
|
+
*/
|
|
91701
|
+
items: {
|
|
91702
|
+
/**
|
|
91703
|
+
* 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.
|
|
91704
|
+
*/
|
|
91705
|
+
subject_key: string;
|
|
91706
|
+
/**
|
|
91707
|
+
* Human-readable name of the subject
|
|
91708
|
+
*/
|
|
91709
|
+
display_name: string;
|
|
91710
|
+
/**
|
|
91711
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
91712
|
+
*/
|
|
91713
|
+
last_activity_at: string;
|
|
91714
|
+
}[];
|
|
91715
|
+
/**
|
|
91716
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
91717
|
+
*/
|
|
91718
|
+
has_more: boolean;
|
|
91719
|
+
/**
|
|
91720
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
91721
|
+
*/
|
|
91722
|
+
next_cursor: (string | null);
|
|
91723
|
+
}
|
|
91724
|
+
export interface PlaygroundWsEchoInput {
|
|
91725
|
+
}
|
|
91726
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
91384
91727
|
export interface RealtimeArchiveExportInput {
|
|
91385
91728
|
/**
|
|
91386
91729
|
* Only entries with ts <= to_ts (epoch ms)
|