@lessly/sdk-app 122.5.0 → 122.6.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.
@@ -381956,378 +381956,6 @@ export interface OrganizationYoutubeInstallOutput {
381956
381956
  url: string
381957
381957
  }
381958
381958
 
381959
- export interface PlaygroundAnalyticsOverviewInput {
381960
- /**
381961
- * Max records per entity in recent[]; omit for the endpoint default
381962
- */
381963
- limit?: number
381964
- }
381965
-
381966
- export interface PlaygroundAnalyticsOverviewOutput {
381967
- ok: boolean
381968
- minted: boolean
381969
- overview?: unknown
381970
- http_status: number
381971
- }
381972
-
381973
- export interface PlaygroundBillingEntitlementsInput {
381974
-
381975
- }
381976
-
381977
- export interface PlaygroundBillingEntitlementsOutput {
381978
- ok: boolean
381979
- minted: boolean
381980
- http_status: number
381981
- entitlements?: unknown
381982
- }
381983
-
381984
- export interface PlaygroundBillingRecordUsageInput {
381985
- /**
381986
- * Quantity of events to record against playground-events (SUM); defaults to 1
381987
- */
381988
- value?: number
381989
- }
381990
-
381991
- export interface PlaygroundBillingRecordUsageOutput {
381992
- minted: boolean
381993
- accepted: (number | null)
381994
- recorded: boolean
381995
- duplicates: (number | null)
381996
- http_status: number
381997
- }
381998
-
381999
- export interface PlaygroundClickupCreateTaskInput {
382000
- /**
382001
- * Task title; defaults to a fixture label
382002
- */
382003
- name?: string
382004
- /**
382005
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
382006
- */
382007
- listId?: string
382008
- }
382009
-
382010
- export interface PlaygroundClickupCreateTaskOutput {
382011
- minted: boolean
382012
- task_id: (string | null)
382013
- list_status: number
382014
- vend_status: number
382015
- clickup_status: number
382016
- installation_count: number
382017
- }
382018
-
382019
- export interface PlaygroundClickupGetLastWebhookInput {
382020
-
382021
- }
382022
-
382023
- export type PlaygroundClickupGetLastWebhookOutput = ({
382024
- payload: string
382025
- event_id: string
382026
- provider: string
382027
- verified: boolean
382028
- product_id: string
382029
- occurred_at: string
382030
- connector_id: string
382031
- clickup_event: (string | null)
382032
- receipt_count: number
382033
- } | {
382034
- found: false
382035
- })
382036
-
382037
- export interface PlaygroundClickupGetOverviewInput {
382038
-
382039
- }
382040
-
382041
- export interface PlaygroundClickupGetOverviewOutput {
382042
- team: ({
382043
- teamId: string
382044
- teamName: string
382045
- } | null)
382046
- lists: PlaygroundClickupGetOverviewOutputItems[]
382047
- tasks: {
382048
- id: string
382049
- name: string
382050
- status: (string | null)
382051
- }[]
382052
- minted: boolean
382053
- spaces: PlaygroundClickupGetOverviewOutputItems[]
382054
- list_status: number
382055
- vend_status: number
382056
- lists_status: number
382057
- tasks_status: number
382058
- spaces_status: number
382059
- folders_status: number
382060
- installation_count: number
382061
- }
382062
- export interface PlaygroundClickupGetOverviewOutputItems {
382063
- id: string
382064
- name: string
382065
- }
382066
-
382067
- export interface PlaygroundEchoPingInput {
382068
- /**
382069
- * The text to echo back, 1–1024 characters
382070
- */
382071
- message: string
382072
- }
382073
-
382074
- export interface PlaygroundEchoPingOutput {
382075
- /**
382076
- * The message exactly as it was received
382077
- */
382078
- message: string
382079
- /**
382080
- * The product the call was resolved to
382081
- */
382082
- productId: string
382083
- /**
382084
- * ISO-8601 instant (UTC) at which the call reached the service
382085
- */
382086
- receivedAt: string
382087
- }
382088
-
382089
- export interface PlaygroundGdriveGetLastChangeInput {
382090
-
382091
- }
382092
-
382093
- export type PlaygroundGdriveGetLastChangeOutput = ({
382094
- file_id: string
382095
- removed: boolean
382096
- file_name: (string | null)
382097
- mime_type: (string | null)
382098
- product_id: string
382099
- occurred_at: string
382100
- connector_id: string
382101
- resource_state: string
382102
- } | {
382103
- found: false
382104
- })
382105
-
382106
- export interface PlaygroundGdriveReadFileInput {
382107
- /**
382108
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382109
- */
382110
- fileId?: string
382111
- }
382112
-
382113
- export interface PlaygroundGdriveReadFileOutput {
382114
- minted: boolean
382115
- file_id: (string | null)
382116
- file_name: (string | null)
382117
- mime_type: (string | null)
382118
- file_count: number
382119
- get_status: number
382120
- list_status: number
382121
- vend_status: number
382122
- content_bytes: (number | null)
382123
- }
382124
-
382125
- export interface PlaygroundGoogleadsReadCustomerInput {
382126
-
382127
- }
382128
-
382129
- export interface PlaygroundGoogleadsReadCustomerOutput {
382130
- minted: boolean
382131
- vended: boolean
382132
- customer_id: (string | null)
382133
- vend_status: number
382134
- result_count: number
382135
- search_status: number
382136
- login_customer_id: (string | null)
382137
- }
382138
-
382139
- export interface PlaygroundLifecycleGetStateInput {
382140
-
382141
- }
382142
-
382143
- export interface PlaygroundLifecycleGetStateOutput {
382144
- blocked: boolean
382145
- archived: boolean
382146
- productId: string
382147
- lastBlockTransition: ({
382148
- eventId: string
382149
- eventName: string
382150
- productId: string
382151
- occurredAt: string
382152
- recordedAt: string
382153
- receiptCount: number
382154
- organizationId: string
382155
- cascadedFromOrg: boolean
382156
- } | null)
382157
- lastArchiveTransition: ({
382158
- eventId: string
382159
- eventName: string
382160
- productId: string
382161
- occurredAt: string
382162
- recordedAt: string
382163
- receiptCount: number
382164
- organizationId: string
382165
- cascadedFromOrg: boolean
382166
- } | null)
382167
- }
382168
-
382169
- export interface PlaygroundLifecycleListEventsInput {
382170
-
382171
- }
382172
-
382173
- export type PlaygroundLifecycleListEventsOutput = {
382174
- eventId: string
382175
- eventName: string
382176
- productId: string
382177
- occurredAt: string
382178
- recordedAt: string
382179
- receiptCount: number
382180
- organizationId: string
382181
- cascadedFromOrg: boolean
382182
- }[]
382183
-
382184
- export interface PlaygroundWebhookGetLastInput {
382185
-
382186
- }
382187
-
382188
- export type PlaygroundWebhookGetLastOutput = ({
382189
- payload?: unknown
382190
- event_id: string
382191
- provider: string
382192
- verified: boolean
382193
- product_id: string
382194
- occurred_at: string
382195
- connector_id: string
382196
- delivery_count: number
382197
- } | {
382198
- found: false
382199
- })
382200
-
382201
- export interface PlaygroundWorkflowEchoInput {
382202
- /**
382203
- * The text to store, 1–1024 characters
382204
- */
382205
- note: string
382206
- /**
382207
- * Optional labels stored alongside the note, at most 20
382208
- *
382209
- * @maxItems 20
382210
- */
382211
- 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]
382212
- }
382213
-
382214
- export interface PlaygroundWorkflowEchoOutput {
382215
- /**
382216
- * Identifier of the stored echo
382217
- */
382218
- id: string
382219
- /**
382220
- * The note exactly as it was received
382221
- */
382222
- note: string
382223
- /**
382224
- * The tags exactly as they were received
382225
- */
382226
- tags: string[]
382227
- /**
382228
- * 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.
382229
- */
382230
- echo_id: string
382231
- /**
382232
- * ISO-8601 instant (UTC) at which the echo was stored
382233
- */
382234
- received_at: string
382235
- }
382236
-
382237
- export interface PlaygroundWorkflowEchoListInput {
382238
-
382239
- }
382240
-
382241
- export type PlaygroundWorkflowEchoListOutput = {
382242
- /**
382243
- * Identifier of the stored echo
382244
- */
382245
- id: string
382246
- /**
382247
- * The note exactly as it was received
382248
- */
382249
- note: string
382250
- /**
382251
- * The tags exactly as they were received
382252
- */
382253
- tags: string[]
382254
- /**
382255
- * ISO-8601 instant (UTC) at which the echo was stored
382256
- */
382257
- received_at: string
382258
- }[]
382259
-
382260
- export interface PlaygroundWorkflowPingInput {
382261
- /**
382262
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382263
- */
382264
- kind?: string
382265
- }
382266
-
382267
- export interface PlaygroundWorkflowPingOutput {
382268
- /**
382269
- * 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.
382270
- */
382271
- id: string
382272
- /**
382273
- * The name of the event that was published
382274
- */
382275
- event: string
382276
- }
382277
-
382278
- export interface PlaygroundWorkflowSubjectsListInput {
382279
- /**
382280
- * How many subjects to return, 1–100. Defaults to 25.
382281
- */
382282
- limit?: number
382283
- /**
382284
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382285
- */
382286
- cursor?: string
382287
- /**
382288
- * 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.
382289
- */
382290
- last_activity_after?: string
382291
- /**
382292
- * 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.
382293
- */
382294
- last_activity_before?: string
382295
- }
382296
-
382297
- export interface PlaygroundWorkflowSubjectsListOutput {
382298
- /**
382299
- * This page of subjects, most recently active first
382300
- */
382301
- items: {
382302
- /**
382303
- * 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.
382304
- */
382305
- subject_key: string
382306
- /**
382307
- * Human-readable name of the subject
382308
- */
382309
- display_name: string
382310
- /**
382311
- * ISO-8601 instant (UTC) of the subject last activity
382312
- */
382313
- last_activity_at: string
382314
- }[]
382315
- /**
382316
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382317
- */
382318
- has_more: boolean
382319
- /**
382320
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382321
- */
382322
- next_cursor: (string | null)
382323
- }
382324
-
382325
- export interface PlaygroundWsEchoInput {
382326
-
382327
- }
382328
-
382329
- export type PlaygroundWsEchoOutput = unknown;
382330
-
382331
381959
  export interface RealtimeArchiveExportInput {
382332
381960
  /**
382333
381961
  * 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
- };