@lessly/sdk-app 105.14.0 → 105.15.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 {
@@ -112734,378 +112740,6 @@ export interface OrganizationYoutubeInstallOutput {
112734
112740
  url: string
112735
112741
  }
112736
112742
 
112737
- export interface PlaygroundAnalyticsOverviewInput {
112738
- /**
112739
- * Max records per entity in recent[]; omit for the endpoint default
112740
- */
112741
- limit?: number
112742
- }
112743
-
112744
- export interface PlaygroundAnalyticsOverviewOutput {
112745
- ok: boolean
112746
- minted: boolean
112747
- overview?: unknown
112748
- http_status: number
112749
- }
112750
-
112751
- export interface PlaygroundBillingEntitlementsInput {
112752
-
112753
- }
112754
-
112755
- export interface PlaygroundBillingEntitlementsOutput {
112756
- ok: boolean
112757
- minted: boolean
112758
- http_status: number
112759
- entitlements?: unknown
112760
- }
112761
-
112762
- export interface PlaygroundBillingRecordUsageInput {
112763
- /**
112764
- * Quantity of events to record against playground-events (SUM); defaults to 1
112765
- */
112766
- value?: number
112767
- }
112768
-
112769
- export interface PlaygroundBillingRecordUsageOutput {
112770
- minted: boolean
112771
- accepted: (number | null)
112772
- recorded: boolean
112773
- duplicates: (number | null)
112774
- http_status: number
112775
- }
112776
-
112777
- export interface PlaygroundClickupCreateTaskInput {
112778
- /**
112779
- * Task title; defaults to a fixture label
112780
- */
112781
- name?: string
112782
- /**
112783
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
112784
- */
112785
- listId?: string
112786
- }
112787
-
112788
- export interface PlaygroundClickupCreateTaskOutput {
112789
- minted: boolean
112790
- task_id: (string | null)
112791
- list_status: number
112792
- vend_status: number
112793
- clickup_status: number
112794
- installation_count: number
112795
- }
112796
-
112797
- export interface PlaygroundClickupGetLastWebhookInput {
112798
-
112799
- }
112800
-
112801
- export type PlaygroundClickupGetLastWebhookOutput = ({
112802
- payload: string
112803
- event_id: string
112804
- provider: string
112805
- verified: boolean
112806
- product_id: string
112807
- occurred_at: string
112808
- connector_id: string
112809
- clickup_event: (string | null)
112810
- receipt_count: number
112811
- } | {
112812
- found: false
112813
- })
112814
-
112815
- export interface PlaygroundClickupGetOverviewInput {
112816
-
112817
- }
112818
-
112819
- export interface PlaygroundClickupGetOverviewOutput {
112820
- team: ({
112821
- teamId: string
112822
- teamName: string
112823
- } | null)
112824
- lists: PlaygroundClickupGetOverviewOutputItems[]
112825
- tasks: {
112826
- id: string
112827
- name: string
112828
- status: (string | null)
112829
- }[]
112830
- minted: boolean
112831
- spaces: PlaygroundClickupGetOverviewOutputItems[]
112832
- list_status: number
112833
- vend_status: number
112834
- lists_status: number
112835
- tasks_status: number
112836
- spaces_status: number
112837
- folders_status: number
112838
- installation_count: number
112839
- }
112840
- export interface PlaygroundClickupGetOverviewOutputItems {
112841
- id: string
112842
- name: string
112843
- }
112844
-
112845
- export interface PlaygroundEchoPingInput {
112846
- /**
112847
- * The text to echo back, 1–1024 characters
112848
- */
112849
- message: string
112850
- }
112851
-
112852
- export interface PlaygroundEchoPingOutput {
112853
- /**
112854
- * The message exactly as it was received
112855
- */
112856
- message: string
112857
- /**
112858
- * The product the call was resolved to
112859
- */
112860
- productId: string
112861
- /**
112862
- * ISO-8601 instant (UTC) at which the call reached the service
112863
- */
112864
- receivedAt: string
112865
- }
112866
-
112867
- export interface PlaygroundGdriveGetLastChangeInput {
112868
-
112869
- }
112870
-
112871
- export type PlaygroundGdriveGetLastChangeOutput = ({
112872
- file_id: string
112873
- removed: boolean
112874
- file_name: (string | null)
112875
- mime_type: (string | null)
112876
- product_id: string
112877
- occurred_at: string
112878
- connector_id: string
112879
- resource_state: string
112880
- } | {
112881
- found: false
112882
- })
112883
-
112884
- export interface PlaygroundGdriveReadFileInput {
112885
- /**
112886
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
112887
- */
112888
- fileId?: string
112889
- }
112890
-
112891
- export interface PlaygroundGdriveReadFileOutput {
112892
- minted: boolean
112893
- file_id: (string | null)
112894
- file_name: (string | null)
112895
- mime_type: (string | null)
112896
- file_count: number
112897
- get_status: number
112898
- list_status: number
112899
- vend_status: number
112900
- content_bytes: (number | null)
112901
- }
112902
-
112903
- export interface PlaygroundGoogleadsReadCustomerInput {
112904
-
112905
- }
112906
-
112907
- export interface PlaygroundGoogleadsReadCustomerOutput {
112908
- minted: boolean
112909
- vended: boolean
112910
- customer_id: (string | null)
112911
- vend_status: number
112912
- result_count: number
112913
- search_status: number
112914
- login_customer_id: (string | null)
112915
- }
112916
-
112917
- export interface PlaygroundLifecycleGetStateInput {
112918
-
112919
- }
112920
-
112921
- export interface PlaygroundLifecycleGetStateOutput {
112922
- blocked: boolean
112923
- archived: boolean
112924
- productId: string
112925
- lastBlockTransition: ({
112926
- eventId: string
112927
- eventName: string
112928
- productId: string
112929
- occurredAt: string
112930
- recordedAt: string
112931
- receiptCount: number
112932
- organizationId: string
112933
- cascadedFromOrg: boolean
112934
- } | null)
112935
- lastArchiveTransition: ({
112936
- eventId: string
112937
- eventName: string
112938
- productId: string
112939
- occurredAt: string
112940
- recordedAt: string
112941
- receiptCount: number
112942
- organizationId: string
112943
- cascadedFromOrg: boolean
112944
- } | null)
112945
- }
112946
-
112947
- export interface PlaygroundLifecycleListEventsInput {
112948
-
112949
- }
112950
-
112951
- export type PlaygroundLifecycleListEventsOutput = {
112952
- eventId: string
112953
- eventName: string
112954
- productId: string
112955
- occurredAt: string
112956
- recordedAt: string
112957
- receiptCount: number
112958
- organizationId: string
112959
- cascadedFromOrg: boolean
112960
- }[]
112961
-
112962
- export interface PlaygroundWebhookGetLastInput {
112963
-
112964
- }
112965
-
112966
- export type PlaygroundWebhookGetLastOutput = ({
112967
- payload?: unknown
112968
- event_id: string
112969
- provider: string
112970
- verified: boolean
112971
- product_id: string
112972
- occurred_at: string
112973
- connector_id: string
112974
- delivery_count: number
112975
- } | {
112976
- found: false
112977
- })
112978
-
112979
- export interface PlaygroundWorkflowEchoInput {
112980
- /**
112981
- * The text to store, 1–1024 characters
112982
- */
112983
- note: string
112984
- /**
112985
- * Optional labels stored alongside the note, at most 20
112986
- *
112987
- * @maxItems 20
112988
- */
112989
- 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]
112990
- }
112991
-
112992
- export interface PlaygroundWorkflowEchoOutput {
112993
- /**
112994
- * Identifier of the stored echo
112995
- */
112996
- id: string
112997
- /**
112998
- * The note exactly as it was received
112999
- */
113000
- note: string
113001
- /**
113002
- * The tags exactly as they were received
113003
- */
113004
- tags: string[]
113005
- /**
113006
- * 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.
113007
- */
113008
- echo_id: string
113009
- /**
113010
- * ISO-8601 instant (UTC) at which the echo was stored
113011
- */
113012
- received_at: string
113013
- }
113014
-
113015
- export interface PlaygroundWorkflowEchoListInput {
113016
-
113017
- }
113018
-
113019
- export type PlaygroundWorkflowEchoListOutput = {
113020
- /**
113021
- * Identifier of the stored echo
113022
- */
113023
- id: string
113024
- /**
113025
- * The note exactly as it was received
113026
- */
113027
- note: string
113028
- /**
113029
- * The tags exactly as they were received
113030
- */
113031
- tags: string[]
113032
- /**
113033
- * ISO-8601 instant (UTC) at which the echo was stored
113034
- */
113035
- received_at: string
113036
- }[]
113037
-
113038
- export interface PlaygroundWorkflowPingInput {
113039
- /**
113040
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
113041
- */
113042
- kind?: string
113043
- }
113044
-
113045
- export interface PlaygroundWorkflowPingOutput {
113046
- /**
113047
- * 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.
113048
- */
113049
- id: string
113050
- /**
113051
- * The name of the event that was published
113052
- */
113053
- event: string
113054
- }
113055
-
113056
- export interface PlaygroundWorkflowSubjectsListInput {
113057
- /**
113058
- * How many subjects to return, 1–100. Defaults to 25.
113059
- */
113060
- limit?: number
113061
- /**
113062
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
113063
- */
113064
- cursor?: string
113065
- /**
113066
- * 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.
113067
- */
113068
- last_activity_after?: string
113069
- /**
113070
- * 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.
113071
- */
113072
- last_activity_before?: string
113073
- }
113074
-
113075
- export interface PlaygroundWorkflowSubjectsListOutput {
113076
- /**
113077
- * This page of subjects, most recently active first
113078
- */
113079
- items: {
113080
- /**
113081
- * 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.
113082
- */
113083
- subject_key: string
113084
- /**
113085
- * Human-readable name of the subject
113086
- */
113087
- display_name: string
113088
- /**
113089
- * ISO-8601 instant (UTC) of the subject last activity
113090
- */
113091
- last_activity_at: string
113092
- }[]
113093
- /**
113094
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
113095
- */
113096
- has_more: boolean
113097
- /**
113098
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
113099
- */
113100
- next_cursor: (string | null)
113101
- }
113102
-
113103
- export interface PlaygroundWsEchoInput {
113104
-
113105
- }
113106
-
113107
- export type PlaygroundWsEchoOutput = unknown;
113108
-
113109
112743
  export interface RealtimeArchiveExportInput {
113110
112744
  /**
113111
112745
  * 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
- };