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