@lepsto/sdk-app 87.2.0 → 87.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.
@@ -90532,378 +90532,6 @@ export interface OrganizationYoutubeInstallOutput {
90532
90532
  url: string
90533
90533
  }
90534
90534
 
90535
- export interface PlaygroundAnalyticsOverviewInput {
90536
- /**
90537
- * Max records per entity in recent[]; omit for the endpoint default
90538
- */
90539
- limit?: number
90540
- }
90541
-
90542
- export interface PlaygroundAnalyticsOverviewOutput {
90543
- ok: boolean
90544
- minted: boolean
90545
- overview?: unknown
90546
- http_status: number
90547
- }
90548
-
90549
- export interface PlaygroundBillingEntitlementsInput {
90550
-
90551
- }
90552
-
90553
- export interface PlaygroundBillingEntitlementsOutput {
90554
- ok: boolean
90555
- minted: boolean
90556
- http_status: number
90557
- entitlements?: unknown
90558
- }
90559
-
90560
- export interface PlaygroundBillingRecordUsageInput {
90561
- /**
90562
- * Quantity of events to record against playground-events (SUM); defaults to 1
90563
- */
90564
- value?: number
90565
- }
90566
-
90567
- export interface PlaygroundBillingRecordUsageOutput {
90568
- minted: boolean
90569
- accepted: (number | null)
90570
- recorded: boolean
90571
- duplicates: (number | null)
90572
- http_status: number
90573
- }
90574
-
90575
- export interface PlaygroundClickupCreateTaskInput {
90576
- /**
90577
- * Task title; defaults to a fixture label
90578
- */
90579
- name?: string
90580
- /**
90581
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
90582
- */
90583
- listId?: string
90584
- }
90585
-
90586
- export interface PlaygroundClickupCreateTaskOutput {
90587
- minted: boolean
90588
- task_id: (string | null)
90589
- list_status: number
90590
- vend_status: number
90591
- clickup_status: number
90592
- installation_count: number
90593
- }
90594
-
90595
- export interface PlaygroundClickupGetLastWebhookInput {
90596
-
90597
- }
90598
-
90599
- export type PlaygroundClickupGetLastWebhookOutput = ({
90600
- payload: string
90601
- event_id: string
90602
- provider: string
90603
- verified: boolean
90604
- product_id: string
90605
- occurred_at: string
90606
- connector_id: string
90607
- clickup_event: (string | null)
90608
- receipt_count: number
90609
- } | {
90610
- found: false
90611
- })
90612
-
90613
- export interface PlaygroundClickupGetOverviewInput {
90614
-
90615
- }
90616
-
90617
- export interface PlaygroundClickupGetOverviewOutput {
90618
- team: ({
90619
- teamId: string
90620
- teamName: string
90621
- } | null)
90622
- lists: PlaygroundClickupGetOverviewOutputItems[]
90623
- tasks: {
90624
- id: string
90625
- name: string
90626
- status: (string | null)
90627
- }[]
90628
- minted: boolean
90629
- spaces: PlaygroundClickupGetOverviewOutputItems[]
90630
- list_status: number
90631
- vend_status: number
90632
- lists_status: number
90633
- tasks_status: number
90634
- spaces_status: number
90635
- folders_status: number
90636
- installation_count: number
90637
- }
90638
- export interface PlaygroundClickupGetOverviewOutputItems {
90639
- id: string
90640
- name: string
90641
- }
90642
-
90643
- export interface PlaygroundEchoPingInput {
90644
- /**
90645
- * The text to echo back, 1–1024 characters
90646
- */
90647
- message: string
90648
- }
90649
-
90650
- export interface PlaygroundEchoPingOutput {
90651
- /**
90652
- * The message exactly as it was received
90653
- */
90654
- message: string
90655
- /**
90656
- * The product the call was resolved to
90657
- */
90658
- productId: string
90659
- /**
90660
- * ISO-8601 instant (UTC) at which the call reached the service
90661
- */
90662
- receivedAt: string
90663
- }
90664
-
90665
- export interface PlaygroundGdriveGetLastChangeInput {
90666
-
90667
- }
90668
-
90669
- export type PlaygroundGdriveGetLastChangeOutput = ({
90670
- file_id: string
90671
- removed: boolean
90672
- file_name: (string | null)
90673
- mime_type: (string | null)
90674
- product_id: string
90675
- occurred_at: string
90676
- connector_id: string
90677
- resource_state: string
90678
- } | {
90679
- found: false
90680
- })
90681
-
90682
- export interface PlaygroundGdriveReadFileInput {
90683
- /**
90684
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
90685
- */
90686
- fileId?: string
90687
- }
90688
-
90689
- export interface PlaygroundGdriveReadFileOutput {
90690
- minted: boolean
90691
- file_id: (string | null)
90692
- file_name: (string | null)
90693
- mime_type: (string | null)
90694
- file_count: number
90695
- get_status: number
90696
- list_status: number
90697
- vend_status: number
90698
- content_bytes: (number | null)
90699
- }
90700
-
90701
- export interface PlaygroundGoogleadsReadCustomerInput {
90702
-
90703
- }
90704
-
90705
- export interface PlaygroundGoogleadsReadCustomerOutput {
90706
- minted: boolean
90707
- vended: boolean
90708
- customer_id: (string | null)
90709
- vend_status: number
90710
- result_count: number
90711
- search_status: number
90712
- login_customer_id: (string | null)
90713
- }
90714
-
90715
- export interface PlaygroundLifecycleGetStateInput {
90716
-
90717
- }
90718
-
90719
- export interface PlaygroundLifecycleGetStateOutput {
90720
- blocked: boolean
90721
- archived: boolean
90722
- productId: string
90723
- lastBlockTransition: ({
90724
- eventId: string
90725
- eventName: string
90726
- productId: string
90727
- occurredAt: string
90728
- recordedAt: string
90729
- receiptCount: number
90730
- organizationId: string
90731
- cascadedFromOrg: boolean
90732
- } | null)
90733
- lastArchiveTransition: ({
90734
- eventId: string
90735
- eventName: string
90736
- productId: string
90737
- occurredAt: string
90738
- recordedAt: string
90739
- receiptCount: number
90740
- organizationId: string
90741
- cascadedFromOrg: boolean
90742
- } | null)
90743
- }
90744
-
90745
- export interface PlaygroundLifecycleListEventsInput {
90746
-
90747
- }
90748
-
90749
- export type PlaygroundLifecycleListEventsOutput = {
90750
- eventId: string
90751
- eventName: string
90752
- productId: string
90753
- occurredAt: string
90754
- recordedAt: string
90755
- receiptCount: number
90756
- organizationId: string
90757
- cascadedFromOrg: boolean
90758
- }[]
90759
-
90760
- export interface PlaygroundWebhookGetLastInput {
90761
-
90762
- }
90763
-
90764
- export type PlaygroundWebhookGetLastOutput = ({
90765
- payload?: unknown
90766
- event_id: string
90767
- provider: string
90768
- verified: boolean
90769
- product_id: string
90770
- occurred_at: string
90771
- connector_id: string
90772
- delivery_count: number
90773
- } | {
90774
- found: false
90775
- })
90776
-
90777
- export interface PlaygroundWorkflowEchoInput {
90778
- /**
90779
- * The text to store, 1–1024 characters
90780
- */
90781
- note: string
90782
- /**
90783
- * Optional labels stored alongside the note, at most 20
90784
- *
90785
- * @maxItems 20
90786
- */
90787
- 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]
90788
- }
90789
-
90790
- export interface PlaygroundWorkflowEchoOutput {
90791
- /**
90792
- * Identifier of the stored echo
90793
- */
90794
- id: string
90795
- /**
90796
- * The note exactly as it was received
90797
- */
90798
- note: string
90799
- /**
90800
- * The tags exactly as they were received
90801
- */
90802
- tags: string[]
90803
- /**
90804
- * 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.
90805
- */
90806
- echo_id: string
90807
- /**
90808
- * ISO-8601 instant (UTC) at which the echo was stored
90809
- */
90810
- received_at: string
90811
- }
90812
-
90813
- export interface PlaygroundWorkflowEchoListInput {
90814
-
90815
- }
90816
-
90817
- export type PlaygroundWorkflowEchoListOutput = {
90818
- /**
90819
- * Identifier of the stored echo
90820
- */
90821
- id: string
90822
- /**
90823
- * The note exactly as it was received
90824
- */
90825
- note: string
90826
- /**
90827
- * The tags exactly as they were received
90828
- */
90829
- tags: string[]
90830
- /**
90831
- * ISO-8601 instant (UTC) at which the echo was stored
90832
- */
90833
- received_at: string
90834
- }[]
90835
-
90836
- export interface PlaygroundWorkflowPingInput {
90837
- /**
90838
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
90839
- */
90840
- kind?: string
90841
- }
90842
-
90843
- export interface PlaygroundWorkflowPingOutput {
90844
- /**
90845
- * 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.
90846
- */
90847
- id: string
90848
- /**
90849
- * The name of the event that was published
90850
- */
90851
- event: string
90852
- }
90853
-
90854
- export interface PlaygroundWorkflowSubjectsListInput {
90855
- /**
90856
- * How many subjects to return, 1–100. Defaults to 25.
90857
- */
90858
- limit?: number
90859
- /**
90860
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
90861
- */
90862
- cursor?: string
90863
- /**
90864
- * 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.
90865
- */
90866
- last_activity_after?: string
90867
- /**
90868
- * 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.
90869
- */
90870
- last_activity_before?: string
90871
- }
90872
-
90873
- export interface PlaygroundWorkflowSubjectsListOutput {
90874
- /**
90875
- * This page of subjects, most recently active first
90876
- */
90877
- items: {
90878
- /**
90879
- * 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.
90880
- */
90881
- subject_key: string
90882
- /**
90883
- * Human-readable name of the subject
90884
- */
90885
- display_name: string
90886
- /**
90887
- * ISO-8601 instant (UTC) of the subject last activity
90888
- */
90889
- last_activity_at: string
90890
- }[]
90891
- /**
90892
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
90893
- */
90894
- has_more: boolean
90895
- /**
90896
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
90897
- */
90898
- next_cursor: (string | null)
90899
- }
90900
-
90901
- export interface PlaygroundWsEchoInput {
90902
-
90903
- }
90904
-
90905
- export type PlaygroundWsEchoOutput = unknown;
90906
-
90907
90535
  export interface RealtimeArchiveExportInput {
90908
90536
  /**
90909
90537
  * 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
- };