@lessly/sdk-app 125.0.0 → 126.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.
@@ -382480,378 +382480,6 @@ export interface OrganizationYoutubeInstallOutput {
382480
382480
  url: string
382481
382481
  }
382482
382482
 
382483
- export interface PlaygroundAnalyticsOverviewInput {
382484
- /**
382485
- * Max records per entity in recent[]; omit for the endpoint default
382486
- */
382487
- limit?: number
382488
- }
382489
-
382490
- export interface PlaygroundAnalyticsOverviewOutput {
382491
- ok: boolean
382492
- minted: boolean
382493
- overview?: unknown
382494
- http_status: number
382495
- }
382496
-
382497
- export interface PlaygroundBillingEntitlementsInput {
382498
-
382499
- }
382500
-
382501
- export interface PlaygroundBillingEntitlementsOutput {
382502
- ok: boolean
382503
- minted: boolean
382504
- http_status: number
382505
- entitlements?: unknown
382506
- }
382507
-
382508
- export interface PlaygroundBillingRecordUsageInput {
382509
- /**
382510
- * Quantity of events to record against playground-events (SUM); defaults to 1
382511
- */
382512
- value?: number
382513
- }
382514
-
382515
- export interface PlaygroundBillingRecordUsageOutput {
382516
- minted: boolean
382517
- accepted: (number | null)
382518
- recorded: boolean
382519
- duplicates: (number | null)
382520
- http_status: number
382521
- }
382522
-
382523
- export interface PlaygroundClickupCreateTaskInput {
382524
- /**
382525
- * Task title; defaults to a fixture label
382526
- */
382527
- name?: string
382528
- /**
382529
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
382530
- */
382531
- listId?: string
382532
- }
382533
-
382534
- export interface PlaygroundClickupCreateTaskOutput {
382535
- minted: boolean
382536
- task_id: (string | null)
382537
- list_status: number
382538
- vend_status: number
382539
- clickup_status: number
382540
- installation_count: number
382541
- }
382542
-
382543
- export interface PlaygroundClickupGetLastWebhookInput {
382544
-
382545
- }
382546
-
382547
- export type PlaygroundClickupGetLastWebhookOutput = ({
382548
- payload: string
382549
- event_id: string
382550
- provider: string
382551
- verified: boolean
382552
- product_id: string
382553
- occurred_at: string
382554
- connector_id: string
382555
- clickup_event: (string | null)
382556
- receipt_count: number
382557
- } | {
382558
- found: false
382559
- })
382560
-
382561
- export interface PlaygroundClickupGetOverviewInput {
382562
-
382563
- }
382564
-
382565
- export interface PlaygroundClickupGetOverviewOutput {
382566
- team: ({
382567
- teamId: string
382568
- teamName: string
382569
- } | null)
382570
- lists: PlaygroundClickupGetOverviewOutputItems[]
382571
- tasks: {
382572
- id: string
382573
- name: string
382574
- status: (string | null)
382575
- }[]
382576
- minted: boolean
382577
- spaces: PlaygroundClickupGetOverviewOutputItems[]
382578
- list_status: number
382579
- vend_status: number
382580
- lists_status: number
382581
- tasks_status: number
382582
- spaces_status: number
382583
- folders_status: number
382584
- installation_count: number
382585
- }
382586
- export interface PlaygroundClickupGetOverviewOutputItems {
382587
- id: string
382588
- name: string
382589
- }
382590
-
382591
- export interface PlaygroundEchoPingInput {
382592
- /**
382593
- * The text to echo back, 1–1024 characters
382594
- */
382595
- message: string
382596
- }
382597
-
382598
- export interface PlaygroundEchoPingOutput {
382599
- /**
382600
- * The message exactly as it was received
382601
- */
382602
- message: string
382603
- /**
382604
- * The product the call was resolved to
382605
- */
382606
- productId: string
382607
- /**
382608
- * ISO-8601 instant (UTC) at which the call reached the service
382609
- */
382610
- receivedAt: string
382611
- }
382612
-
382613
- export interface PlaygroundGdriveGetLastChangeInput {
382614
-
382615
- }
382616
-
382617
- export type PlaygroundGdriveGetLastChangeOutput = ({
382618
- file_id: string
382619
- removed: boolean
382620
- file_name: (string | null)
382621
- mime_type: (string | null)
382622
- product_id: string
382623
- occurred_at: string
382624
- connector_id: string
382625
- resource_state: string
382626
- } | {
382627
- found: false
382628
- })
382629
-
382630
- export interface PlaygroundGdriveReadFileInput {
382631
- /**
382632
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382633
- */
382634
- fileId?: string
382635
- }
382636
-
382637
- export interface PlaygroundGdriveReadFileOutput {
382638
- minted: boolean
382639
- file_id: (string | null)
382640
- file_name: (string | null)
382641
- mime_type: (string | null)
382642
- file_count: number
382643
- get_status: number
382644
- list_status: number
382645
- vend_status: number
382646
- content_bytes: (number | null)
382647
- }
382648
-
382649
- export interface PlaygroundGoogleadsReadCustomerInput {
382650
-
382651
- }
382652
-
382653
- export interface PlaygroundGoogleadsReadCustomerOutput {
382654
- minted: boolean
382655
- vended: boolean
382656
- customer_id: (string | null)
382657
- vend_status: number
382658
- result_count: number
382659
- search_status: number
382660
- login_customer_id: (string | null)
382661
- }
382662
-
382663
- export interface PlaygroundLifecycleGetStateInput {
382664
-
382665
- }
382666
-
382667
- export interface PlaygroundLifecycleGetStateOutput {
382668
- blocked: boolean
382669
- archived: boolean
382670
- productId: string
382671
- lastBlockTransition: ({
382672
- eventId: string
382673
- eventName: string
382674
- productId: string
382675
- occurredAt: string
382676
- recordedAt: string
382677
- receiptCount: number
382678
- organizationId: string
382679
- cascadedFromOrg: boolean
382680
- } | null)
382681
- lastArchiveTransition: ({
382682
- eventId: string
382683
- eventName: string
382684
- productId: string
382685
- occurredAt: string
382686
- recordedAt: string
382687
- receiptCount: number
382688
- organizationId: string
382689
- cascadedFromOrg: boolean
382690
- } | null)
382691
- }
382692
-
382693
- export interface PlaygroundLifecycleListEventsInput {
382694
-
382695
- }
382696
-
382697
- export type PlaygroundLifecycleListEventsOutput = {
382698
- eventId: string
382699
- eventName: string
382700
- productId: string
382701
- occurredAt: string
382702
- recordedAt: string
382703
- receiptCount: number
382704
- organizationId: string
382705
- cascadedFromOrg: boolean
382706
- }[]
382707
-
382708
- export interface PlaygroundWebhookGetLastInput {
382709
-
382710
- }
382711
-
382712
- export type PlaygroundWebhookGetLastOutput = ({
382713
- payload?: unknown
382714
- event_id: string
382715
- provider: string
382716
- verified: boolean
382717
- product_id: string
382718
- occurred_at: string
382719
- connector_id: string
382720
- delivery_count: number
382721
- } | {
382722
- found: false
382723
- })
382724
-
382725
- export interface PlaygroundWorkflowEchoInput {
382726
- /**
382727
- * The text to store, 1–1024 characters
382728
- */
382729
- note: string
382730
- /**
382731
- * Optional labels stored alongside the note, at most 20
382732
- *
382733
- * @maxItems 20
382734
- */
382735
- 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]
382736
- }
382737
-
382738
- export interface PlaygroundWorkflowEchoOutput {
382739
- /**
382740
- * Identifier of the stored echo
382741
- */
382742
- id: string
382743
- /**
382744
- * The note exactly as it was received
382745
- */
382746
- note: string
382747
- /**
382748
- * The tags exactly as they were received
382749
- */
382750
- tags: string[]
382751
- /**
382752
- * 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.
382753
- */
382754
- echo_id: string
382755
- /**
382756
- * ISO-8601 instant (UTC) at which the echo was stored
382757
- */
382758
- received_at: string
382759
- }
382760
-
382761
- export interface PlaygroundWorkflowEchoListInput {
382762
-
382763
- }
382764
-
382765
- export type PlaygroundWorkflowEchoListOutput = {
382766
- /**
382767
- * Identifier of the stored echo
382768
- */
382769
- id: string
382770
- /**
382771
- * The note exactly as it was received
382772
- */
382773
- note: string
382774
- /**
382775
- * The tags exactly as they were received
382776
- */
382777
- tags: string[]
382778
- /**
382779
- * ISO-8601 instant (UTC) at which the echo was stored
382780
- */
382781
- received_at: string
382782
- }[]
382783
-
382784
- export interface PlaygroundWorkflowPingInput {
382785
- /**
382786
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382787
- */
382788
- kind?: string
382789
- }
382790
-
382791
- export interface PlaygroundWorkflowPingOutput {
382792
- /**
382793
- * 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.
382794
- */
382795
- id: string
382796
- /**
382797
- * The name of the event that was published
382798
- */
382799
- event: string
382800
- }
382801
-
382802
- export interface PlaygroundWorkflowSubjectsListInput {
382803
- /**
382804
- * How many subjects to return, 1–100. Defaults to 25.
382805
- */
382806
- limit?: number
382807
- /**
382808
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382809
- */
382810
- cursor?: string
382811
- /**
382812
- * 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.
382813
- */
382814
- last_activity_after?: string
382815
- /**
382816
- * 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.
382817
- */
382818
- last_activity_before?: string
382819
- }
382820
-
382821
- export interface PlaygroundWorkflowSubjectsListOutput {
382822
- /**
382823
- * This page of subjects, most recently active first
382824
- */
382825
- items: {
382826
- /**
382827
- * 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.
382828
- */
382829
- subject_key: string
382830
- /**
382831
- * Human-readable name of the subject
382832
- */
382833
- display_name: string
382834
- /**
382835
- * ISO-8601 instant (UTC) of the subject last activity
382836
- */
382837
- last_activity_at: string
382838
- }[]
382839
- /**
382840
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382841
- */
382842
- has_more: boolean
382843
- /**
382844
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382845
- */
382846
- next_cursor: (string | null)
382847
- }
382848
-
382849
- export interface PlaygroundWsEchoInput {
382850
-
382851
- }
382852
-
382853
- export type PlaygroundWsEchoOutput = unknown;
382854
-
382855
382483
  export interface RealtimeArchiveExportInput {
382856
382484
  /**
382857
382485
  * 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
- };