@lessly/sdk-app 104.0.0 → 105.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.
@@ -30,6 +30,12 @@ propertiesColumn: (string | null)
30
30
  }[]
31
31
  product_id: string
32
32
  generated_at: string
33
+ dropped_metrics?: {
34
+ type: string
35
+ metric: string
36
+ reason: ("type_unknown" | "aggregate_unknown" | "column_missing")
37
+ view_name: string
38
+ }[]
33
39
  }
34
40
 
35
41
  export interface AnalyticsDashboardCreateInput {
@@ -111659,378 +111665,6 @@ export interface OrganizationYoutubeInstallOutput {
111659
111665
  url: string
111660
111666
  }
111661
111667
 
111662
- export interface PlaygroundAnalyticsOverviewInput {
111663
- /**
111664
- * Max records per entity in recent[]; omit for the endpoint default
111665
- */
111666
- limit?: number
111667
- }
111668
-
111669
- export interface PlaygroundAnalyticsOverviewOutput {
111670
- ok: boolean
111671
- minted: boolean
111672
- overview?: unknown
111673
- http_status: number
111674
- }
111675
-
111676
- export interface PlaygroundBillingEntitlementsInput {
111677
-
111678
- }
111679
-
111680
- export interface PlaygroundBillingEntitlementsOutput {
111681
- ok: boolean
111682
- minted: boolean
111683
- http_status: number
111684
- entitlements?: unknown
111685
- }
111686
-
111687
- export interface PlaygroundBillingRecordUsageInput {
111688
- /**
111689
- * Quantity of events to record against playground-events (SUM); defaults to 1
111690
- */
111691
- value?: number
111692
- }
111693
-
111694
- export interface PlaygroundBillingRecordUsageOutput {
111695
- minted: boolean
111696
- accepted: (number | null)
111697
- recorded: boolean
111698
- duplicates: (number | null)
111699
- http_status: number
111700
- }
111701
-
111702
- export interface PlaygroundClickupCreateTaskInput {
111703
- /**
111704
- * Task title; defaults to a fixture label
111705
- */
111706
- name?: string
111707
- /**
111708
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
111709
- */
111710
- listId?: string
111711
- }
111712
-
111713
- export interface PlaygroundClickupCreateTaskOutput {
111714
- minted: boolean
111715
- task_id: (string | null)
111716
- list_status: number
111717
- vend_status: number
111718
- clickup_status: number
111719
- installation_count: number
111720
- }
111721
-
111722
- export interface PlaygroundClickupGetLastWebhookInput {
111723
-
111724
- }
111725
-
111726
- export type PlaygroundClickupGetLastWebhookOutput = ({
111727
- payload: string
111728
- event_id: string
111729
- provider: string
111730
- verified: boolean
111731
- product_id: string
111732
- occurred_at: string
111733
- connector_id: string
111734
- clickup_event: (string | null)
111735
- receipt_count: number
111736
- } | {
111737
- found: false
111738
- })
111739
-
111740
- export interface PlaygroundClickupGetOverviewInput {
111741
-
111742
- }
111743
-
111744
- export interface PlaygroundClickupGetOverviewOutput {
111745
- team: ({
111746
- teamId: string
111747
- teamName: string
111748
- } | null)
111749
- lists: PlaygroundClickupGetOverviewOutputItems[]
111750
- tasks: {
111751
- id: string
111752
- name: string
111753
- status: (string | null)
111754
- }[]
111755
- minted: boolean
111756
- spaces: PlaygroundClickupGetOverviewOutputItems[]
111757
- list_status: number
111758
- vend_status: number
111759
- lists_status: number
111760
- tasks_status: number
111761
- spaces_status: number
111762
- folders_status: number
111763
- installation_count: number
111764
- }
111765
- export interface PlaygroundClickupGetOverviewOutputItems {
111766
- id: string
111767
- name: string
111768
- }
111769
-
111770
- export interface PlaygroundEchoPingInput {
111771
- /**
111772
- * The text to echo back, 1–1024 characters
111773
- */
111774
- message: string
111775
- }
111776
-
111777
- export interface PlaygroundEchoPingOutput {
111778
- /**
111779
- * The message exactly as it was received
111780
- */
111781
- message: string
111782
- /**
111783
- * The product the call was resolved to
111784
- */
111785
- productId: string
111786
- /**
111787
- * ISO-8601 instant (UTC) at which the call reached the service
111788
- */
111789
- receivedAt: string
111790
- }
111791
-
111792
- export interface PlaygroundGdriveGetLastChangeInput {
111793
-
111794
- }
111795
-
111796
- export type PlaygroundGdriveGetLastChangeOutput = ({
111797
- file_id: string
111798
- removed: boolean
111799
- file_name: (string | null)
111800
- mime_type: (string | null)
111801
- product_id: string
111802
- occurred_at: string
111803
- connector_id: string
111804
- resource_state: string
111805
- } | {
111806
- found: false
111807
- })
111808
-
111809
- export interface PlaygroundGdriveReadFileInput {
111810
- /**
111811
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
111812
- */
111813
- fileId?: string
111814
- }
111815
-
111816
- export interface PlaygroundGdriveReadFileOutput {
111817
- minted: boolean
111818
- file_id: (string | null)
111819
- file_name: (string | null)
111820
- mime_type: (string | null)
111821
- file_count: number
111822
- get_status: number
111823
- list_status: number
111824
- vend_status: number
111825
- content_bytes: (number | null)
111826
- }
111827
-
111828
- export interface PlaygroundGoogleadsReadCustomerInput {
111829
-
111830
- }
111831
-
111832
- export interface PlaygroundGoogleadsReadCustomerOutput {
111833
- minted: boolean
111834
- vended: boolean
111835
- customer_id: (string | null)
111836
- vend_status: number
111837
- result_count: number
111838
- search_status: number
111839
- login_customer_id: (string | null)
111840
- }
111841
-
111842
- export interface PlaygroundLifecycleGetStateInput {
111843
-
111844
- }
111845
-
111846
- export interface PlaygroundLifecycleGetStateOutput {
111847
- blocked: boolean
111848
- archived: boolean
111849
- productId: string
111850
- lastBlockTransition: ({
111851
- eventId: string
111852
- eventName: string
111853
- productId: string
111854
- occurredAt: string
111855
- recordedAt: string
111856
- receiptCount: number
111857
- organizationId: string
111858
- cascadedFromOrg: boolean
111859
- } | null)
111860
- lastArchiveTransition: ({
111861
- eventId: string
111862
- eventName: string
111863
- productId: string
111864
- occurredAt: string
111865
- recordedAt: string
111866
- receiptCount: number
111867
- organizationId: string
111868
- cascadedFromOrg: boolean
111869
- } | null)
111870
- }
111871
-
111872
- export interface PlaygroundLifecycleListEventsInput {
111873
-
111874
- }
111875
-
111876
- export type PlaygroundLifecycleListEventsOutput = {
111877
- eventId: string
111878
- eventName: string
111879
- productId: string
111880
- occurredAt: string
111881
- recordedAt: string
111882
- receiptCount: number
111883
- organizationId: string
111884
- cascadedFromOrg: boolean
111885
- }[]
111886
-
111887
- export interface PlaygroundWebhookGetLastInput {
111888
-
111889
- }
111890
-
111891
- export type PlaygroundWebhookGetLastOutput = ({
111892
- payload?: unknown
111893
- event_id: string
111894
- provider: string
111895
- verified: boolean
111896
- product_id: string
111897
- occurred_at: string
111898
- connector_id: string
111899
- delivery_count: number
111900
- } | {
111901
- found: false
111902
- })
111903
-
111904
- export interface PlaygroundWorkflowEchoInput {
111905
- /**
111906
- * The text to store, 1–1024 characters
111907
- */
111908
- note: string
111909
- /**
111910
- * Optional labels stored alongside the note, at most 20
111911
- *
111912
- * @maxItems 20
111913
- */
111914
- 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]
111915
- }
111916
-
111917
- export interface PlaygroundWorkflowEchoOutput {
111918
- /**
111919
- * Identifier of the stored echo
111920
- */
111921
- id: string
111922
- /**
111923
- * The note exactly as it was received
111924
- */
111925
- note: string
111926
- /**
111927
- * The tags exactly as they were received
111928
- */
111929
- tags: string[]
111930
- /**
111931
- * 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.
111932
- */
111933
- echo_id: string
111934
- /**
111935
- * ISO-8601 instant (UTC) at which the echo was stored
111936
- */
111937
- received_at: string
111938
- }
111939
-
111940
- export interface PlaygroundWorkflowEchoListInput {
111941
-
111942
- }
111943
-
111944
- export type PlaygroundWorkflowEchoListOutput = {
111945
- /**
111946
- * Identifier of the stored echo
111947
- */
111948
- id: string
111949
- /**
111950
- * The note exactly as it was received
111951
- */
111952
- note: string
111953
- /**
111954
- * The tags exactly as they were received
111955
- */
111956
- tags: string[]
111957
- /**
111958
- * ISO-8601 instant (UTC) at which the echo was stored
111959
- */
111960
- received_at: string
111961
- }[]
111962
-
111963
- export interface PlaygroundWorkflowPingInput {
111964
- /**
111965
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
111966
- */
111967
- kind?: string
111968
- }
111969
-
111970
- export interface PlaygroundWorkflowPingOutput {
111971
- /**
111972
- * 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.
111973
- */
111974
- id: string
111975
- /**
111976
- * The name of the event that was published
111977
- */
111978
- event: string
111979
- }
111980
-
111981
- export interface PlaygroundWorkflowSubjectsListInput {
111982
- /**
111983
- * How many subjects to return, 1–100. Defaults to 25.
111984
- */
111985
- limit?: number
111986
- /**
111987
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
111988
- */
111989
- cursor?: string
111990
- /**
111991
- * 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.
111992
- */
111993
- last_activity_after?: string
111994
- /**
111995
- * 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.
111996
- */
111997
- last_activity_before?: string
111998
- }
111999
-
112000
- export interface PlaygroundWorkflowSubjectsListOutput {
112001
- /**
112002
- * This page of subjects, most recently active first
112003
- */
112004
- items: {
112005
- /**
112006
- * 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.
112007
- */
112008
- subject_key: string
112009
- /**
112010
- * Human-readable name of the subject
112011
- */
112012
- display_name: string
112013
- /**
112014
- * ISO-8601 instant (UTC) of the subject last activity
112015
- */
112016
- last_activity_at: string
112017
- }[]
112018
- /**
112019
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
112020
- */
112021
- has_more: boolean
112022
- /**
112023
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
112024
- */
112025
- next_cursor: (string | null)
112026
- }
112027
-
112028
- export interface PlaygroundWsEchoInput {
112029
-
112030
- }
112031
-
112032
- export type PlaygroundWsEchoOutput = unknown;
112033
-
112034
111668
  export interface RealtimeArchiveExportInput {
112035
111669
  /**
112036
111670
  * 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
- };