@lessly/sdk-app 105.11.0 → 105.12.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 {
@@ -111757,378 +111763,6 @@ export interface OrganizationYoutubeInstallOutput {
111757
111763
  url: string
111758
111764
  }
111759
111765
 
111760
- export interface PlaygroundAnalyticsOverviewInput {
111761
- /**
111762
- * Max records per entity in recent[]; omit for the endpoint default
111763
- */
111764
- limit?: number
111765
- }
111766
-
111767
- export interface PlaygroundAnalyticsOverviewOutput {
111768
- ok: boolean
111769
- minted: boolean
111770
- overview?: unknown
111771
- http_status: number
111772
- }
111773
-
111774
- export interface PlaygroundBillingEntitlementsInput {
111775
-
111776
- }
111777
-
111778
- export interface PlaygroundBillingEntitlementsOutput {
111779
- ok: boolean
111780
- minted: boolean
111781
- http_status: number
111782
- entitlements?: unknown
111783
- }
111784
-
111785
- export interface PlaygroundBillingRecordUsageInput {
111786
- /**
111787
- * Quantity of events to record against playground-events (SUM); defaults to 1
111788
- */
111789
- value?: number
111790
- }
111791
-
111792
- export interface PlaygroundBillingRecordUsageOutput {
111793
- minted: boolean
111794
- accepted: (number | null)
111795
- recorded: boolean
111796
- duplicates: (number | null)
111797
- http_status: number
111798
- }
111799
-
111800
- export interface PlaygroundClickupCreateTaskInput {
111801
- /**
111802
- * Task title; defaults to a fixture label
111803
- */
111804
- name?: string
111805
- /**
111806
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
111807
- */
111808
- listId?: string
111809
- }
111810
-
111811
- export interface PlaygroundClickupCreateTaskOutput {
111812
- minted: boolean
111813
- task_id: (string | null)
111814
- list_status: number
111815
- vend_status: number
111816
- clickup_status: number
111817
- installation_count: number
111818
- }
111819
-
111820
- export interface PlaygroundClickupGetLastWebhookInput {
111821
-
111822
- }
111823
-
111824
- export type PlaygroundClickupGetLastWebhookOutput = ({
111825
- payload: string
111826
- event_id: string
111827
- provider: string
111828
- verified: boolean
111829
- product_id: string
111830
- occurred_at: string
111831
- connector_id: string
111832
- clickup_event: (string | null)
111833
- receipt_count: number
111834
- } | {
111835
- found: false
111836
- })
111837
-
111838
- export interface PlaygroundClickupGetOverviewInput {
111839
-
111840
- }
111841
-
111842
- export interface PlaygroundClickupGetOverviewOutput {
111843
- team: ({
111844
- teamId: string
111845
- teamName: string
111846
- } | null)
111847
- lists: PlaygroundClickupGetOverviewOutputItems[]
111848
- tasks: {
111849
- id: string
111850
- name: string
111851
- status: (string | null)
111852
- }[]
111853
- minted: boolean
111854
- spaces: PlaygroundClickupGetOverviewOutputItems[]
111855
- list_status: number
111856
- vend_status: number
111857
- lists_status: number
111858
- tasks_status: number
111859
- spaces_status: number
111860
- folders_status: number
111861
- installation_count: number
111862
- }
111863
- export interface PlaygroundClickupGetOverviewOutputItems {
111864
- id: string
111865
- name: string
111866
- }
111867
-
111868
- export interface PlaygroundEchoPingInput {
111869
- /**
111870
- * The text to echo back, 1–1024 characters
111871
- */
111872
- message: string
111873
- }
111874
-
111875
- export interface PlaygroundEchoPingOutput {
111876
- /**
111877
- * The message exactly as it was received
111878
- */
111879
- message: string
111880
- /**
111881
- * The product the call was resolved to
111882
- */
111883
- productId: string
111884
- /**
111885
- * ISO-8601 instant (UTC) at which the call reached the service
111886
- */
111887
- receivedAt: string
111888
- }
111889
-
111890
- export interface PlaygroundGdriveGetLastChangeInput {
111891
-
111892
- }
111893
-
111894
- export type PlaygroundGdriveGetLastChangeOutput = ({
111895
- file_id: string
111896
- removed: boolean
111897
- file_name: (string | null)
111898
- mime_type: (string | null)
111899
- product_id: string
111900
- occurred_at: string
111901
- connector_id: string
111902
- resource_state: string
111903
- } | {
111904
- found: false
111905
- })
111906
-
111907
- export interface PlaygroundGdriveReadFileInput {
111908
- /**
111909
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
111910
- */
111911
- fileId?: string
111912
- }
111913
-
111914
- export interface PlaygroundGdriveReadFileOutput {
111915
- minted: boolean
111916
- file_id: (string | null)
111917
- file_name: (string | null)
111918
- mime_type: (string | null)
111919
- file_count: number
111920
- get_status: number
111921
- list_status: number
111922
- vend_status: number
111923
- content_bytes: (number | null)
111924
- }
111925
-
111926
- export interface PlaygroundGoogleadsReadCustomerInput {
111927
-
111928
- }
111929
-
111930
- export interface PlaygroundGoogleadsReadCustomerOutput {
111931
- minted: boolean
111932
- vended: boolean
111933
- customer_id: (string | null)
111934
- vend_status: number
111935
- result_count: number
111936
- search_status: number
111937
- login_customer_id: (string | null)
111938
- }
111939
-
111940
- export interface PlaygroundLifecycleGetStateInput {
111941
-
111942
- }
111943
-
111944
- export interface PlaygroundLifecycleGetStateOutput {
111945
- blocked: boolean
111946
- archived: boolean
111947
- productId: string
111948
- lastBlockTransition: ({
111949
- eventId: string
111950
- eventName: string
111951
- productId: string
111952
- occurredAt: string
111953
- recordedAt: string
111954
- receiptCount: number
111955
- organizationId: string
111956
- cascadedFromOrg: boolean
111957
- } | null)
111958
- lastArchiveTransition: ({
111959
- eventId: string
111960
- eventName: string
111961
- productId: string
111962
- occurredAt: string
111963
- recordedAt: string
111964
- receiptCount: number
111965
- organizationId: string
111966
- cascadedFromOrg: boolean
111967
- } | null)
111968
- }
111969
-
111970
- export interface PlaygroundLifecycleListEventsInput {
111971
-
111972
- }
111973
-
111974
- export type PlaygroundLifecycleListEventsOutput = {
111975
- eventId: string
111976
- eventName: string
111977
- productId: string
111978
- occurredAt: string
111979
- recordedAt: string
111980
- receiptCount: number
111981
- organizationId: string
111982
- cascadedFromOrg: boolean
111983
- }[]
111984
-
111985
- export interface PlaygroundWebhookGetLastInput {
111986
-
111987
- }
111988
-
111989
- export type PlaygroundWebhookGetLastOutput = ({
111990
- payload?: unknown
111991
- event_id: string
111992
- provider: string
111993
- verified: boolean
111994
- product_id: string
111995
- occurred_at: string
111996
- connector_id: string
111997
- delivery_count: number
111998
- } | {
111999
- found: false
112000
- })
112001
-
112002
- export interface PlaygroundWorkflowEchoInput {
112003
- /**
112004
- * The text to store, 1–1024 characters
112005
- */
112006
- note: string
112007
- /**
112008
- * Optional labels stored alongside the note, at most 20
112009
- *
112010
- * @maxItems 20
112011
- */
112012
- 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]
112013
- }
112014
-
112015
- export interface PlaygroundWorkflowEchoOutput {
112016
- /**
112017
- * Identifier of the stored echo
112018
- */
112019
- id: string
112020
- /**
112021
- * The note exactly as it was received
112022
- */
112023
- note: string
112024
- /**
112025
- * The tags exactly as they were received
112026
- */
112027
- tags: string[]
112028
- /**
112029
- * 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.
112030
- */
112031
- echo_id: string
112032
- /**
112033
- * ISO-8601 instant (UTC) at which the echo was stored
112034
- */
112035
- received_at: string
112036
- }
112037
-
112038
- export interface PlaygroundWorkflowEchoListInput {
112039
-
112040
- }
112041
-
112042
- export type PlaygroundWorkflowEchoListOutput = {
112043
- /**
112044
- * Identifier of the stored echo
112045
- */
112046
- id: string
112047
- /**
112048
- * The note exactly as it was received
112049
- */
112050
- note: string
112051
- /**
112052
- * The tags exactly as they were received
112053
- */
112054
- tags: string[]
112055
- /**
112056
- * ISO-8601 instant (UTC) at which the echo was stored
112057
- */
112058
- received_at: string
112059
- }[]
112060
-
112061
- export interface PlaygroundWorkflowPingInput {
112062
- /**
112063
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
112064
- */
112065
- kind?: string
112066
- }
112067
-
112068
- export interface PlaygroundWorkflowPingOutput {
112069
- /**
112070
- * 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.
112071
- */
112072
- id: string
112073
- /**
112074
- * The name of the event that was published
112075
- */
112076
- event: string
112077
- }
112078
-
112079
- export interface PlaygroundWorkflowSubjectsListInput {
112080
- /**
112081
- * How many subjects to return, 1–100. Defaults to 25.
112082
- */
112083
- limit?: number
112084
- /**
112085
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
112086
- */
112087
- cursor?: string
112088
- /**
112089
- * 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.
112090
- */
112091
- last_activity_after?: string
112092
- /**
112093
- * 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.
112094
- */
112095
- last_activity_before?: string
112096
- }
112097
-
112098
- export interface PlaygroundWorkflowSubjectsListOutput {
112099
- /**
112100
- * This page of subjects, most recently active first
112101
- */
112102
- items: {
112103
- /**
112104
- * 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.
112105
- */
112106
- subject_key: string
112107
- /**
112108
- * Human-readable name of the subject
112109
- */
112110
- display_name: string
112111
- /**
112112
- * ISO-8601 instant (UTC) of the subject last activity
112113
- */
112114
- last_activity_at: string
112115
- }[]
112116
- /**
112117
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
112118
- */
112119
- has_more: boolean
112120
- /**
112121
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
112122
- */
112123
- next_cursor: (string | null)
112124
- }
112125
-
112126
- export interface PlaygroundWsEchoInput {
112127
-
112128
- }
112129
-
112130
- export type PlaygroundWsEchoOutput = unknown;
112131
-
112132
111766
  export interface RealtimeArchiveExportInput {
112133
111767
  /**
112134
111768
  * 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
- };