@lessly/sdk-app 111.0.0 → 112.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.
@@ -381118,378 +381118,6 @@ export interface OrganizationYoutubeInstallOutput {
381118
381118
  url: string
381119
381119
  }
381120
381120
 
381121
- export interface PlaygroundAnalyticsOverviewInput {
381122
- /**
381123
- * Max records per entity in recent[]; omit for the endpoint default
381124
- */
381125
- limit?: number
381126
- }
381127
-
381128
- export interface PlaygroundAnalyticsOverviewOutput {
381129
- ok: boolean
381130
- minted: boolean
381131
- overview?: unknown
381132
- http_status: number
381133
- }
381134
-
381135
- export interface PlaygroundBillingEntitlementsInput {
381136
-
381137
- }
381138
-
381139
- export interface PlaygroundBillingEntitlementsOutput {
381140
- ok: boolean
381141
- minted: boolean
381142
- http_status: number
381143
- entitlements?: unknown
381144
- }
381145
-
381146
- export interface PlaygroundBillingRecordUsageInput {
381147
- /**
381148
- * Quantity of events to record against playground-events (SUM); defaults to 1
381149
- */
381150
- value?: number
381151
- }
381152
-
381153
- export interface PlaygroundBillingRecordUsageOutput {
381154
- minted: boolean
381155
- accepted: (number | null)
381156
- recorded: boolean
381157
- duplicates: (number | null)
381158
- http_status: number
381159
- }
381160
-
381161
- export interface PlaygroundClickupCreateTaskInput {
381162
- /**
381163
- * Task title; defaults to a fixture label
381164
- */
381165
- name?: string
381166
- /**
381167
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381168
- */
381169
- listId?: string
381170
- }
381171
-
381172
- export interface PlaygroundClickupCreateTaskOutput {
381173
- minted: boolean
381174
- task_id: (string | null)
381175
- list_status: number
381176
- vend_status: number
381177
- clickup_status: number
381178
- installation_count: number
381179
- }
381180
-
381181
- export interface PlaygroundClickupGetLastWebhookInput {
381182
-
381183
- }
381184
-
381185
- export type PlaygroundClickupGetLastWebhookOutput = ({
381186
- payload: string
381187
- event_id: string
381188
- provider: string
381189
- verified: boolean
381190
- product_id: string
381191
- occurred_at: string
381192
- connector_id: string
381193
- clickup_event: (string | null)
381194
- receipt_count: number
381195
- } | {
381196
- found: false
381197
- })
381198
-
381199
- export interface PlaygroundClickupGetOverviewInput {
381200
-
381201
- }
381202
-
381203
- export interface PlaygroundClickupGetOverviewOutput {
381204
- team: ({
381205
- teamId: string
381206
- teamName: string
381207
- } | null)
381208
- lists: PlaygroundClickupGetOverviewOutputItems[]
381209
- tasks: {
381210
- id: string
381211
- name: string
381212
- status: (string | null)
381213
- }[]
381214
- minted: boolean
381215
- spaces: PlaygroundClickupGetOverviewOutputItems[]
381216
- list_status: number
381217
- vend_status: number
381218
- lists_status: number
381219
- tasks_status: number
381220
- spaces_status: number
381221
- folders_status: number
381222
- installation_count: number
381223
- }
381224
- export interface PlaygroundClickupGetOverviewOutputItems {
381225
- id: string
381226
- name: string
381227
- }
381228
-
381229
- export interface PlaygroundEchoPingInput {
381230
- /**
381231
- * The text to echo back, 1–1024 characters
381232
- */
381233
- message: string
381234
- }
381235
-
381236
- export interface PlaygroundEchoPingOutput {
381237
- /**
381238
- * The message exactly as it was received
381239
- */
381240
- message: string
381241
- /**
381242
- * The product the call was resolved to
381243
- */
381244
- productId: string
381245
- /**
381246
- * ISO-8601 instant (UTC) at which the call reached the service
381247
- */
381248
- receivedAt: string
381249
- }
381250
-
381251
- export interface PlaygroundGdriveGetLastChangeInput {
381252
-
381253
- }
381254
-
381255
- export type PlaygroundGdriveGetLastChangeOutput = ({
381256
- file_id: string
381257
- removed: boolean
381258
- file_name: (string | null)
381259
- mime_type: (string | null)
381260
- product_id: string
381261
- occurred_at: string
381262
- connector_id: string
381263
- resource_state: string
381264
- } | {
381265
- found: false
381266
- })
381267
-
381268
- export interface PlaygroundGdriveReadFileInput {
381269
- /**
381270
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
381271
- */
381272
- fileId?: string
381273
- }
381274
-
381275
- export interface PlaygroundGdriveReadFileOutput {
381276
- minted: boolean
381277
- file_id: (string | null)
381278
- file_name: (string | null)
381279
- mime_type: (string | null)
381280
- file_count: number
381281
- get_status: number
381282
- list_status: number
381283
- vend_status: number
381284
- content_bytes: (number | null)
381285
- }
381286
-
381287
- export interface PlaygroundGoogleadsReadCustomerInput {
381288
-
381289
- }
381290
-
381291
- export interface PlaygroundGoogleadsReadCustomerOutput {
381292
- minted: boolean
381293
- vended: boolean
381294
- customer_id: (string | null)
381295
- vend_status: number
381296
- result_count: number
381297
- search_status: number
381298
- login_customer_id: (string | null)
381299
- }
381300
-
381301
- export interface PlaygroundLifecycleGetStateInput {
381302
-
381303
- }
381304
-
381305
- export interface PlaygroundLifecycleGetStateOutput {
381306
- blocked: boolean
381307
- archived: boolean
381308
- productId: string
381309
- lastBlockTransition: ({
381310
- eventId: string
381311
- eventName: string
381312
- productId: string
381313
- occurredAt: string
381314
- recordedAt: string
381315
- receiptCount: number
381316
- organizationId: string
381317
- cascadedFromOrg: boolean
381318
- } | null)
381319
- lastArchiveTransition: ({
381320
- eventId: string
381321
- eventName: string
381322
- productId: string
381323
- occurredAt: string
381324
- recordedAt: string
381325
- receiptCount: number
381326
- organizationId: string
381327
- cascadedFromOrg: boolean
381328
- } | null)
381329
- }
381330
-
381331
- export interface PlaygroundLifecycleListEventsInput {
381332
-
381333
- }
381334
-
381335
- export type PlaygroundLifecycleListEventsOutput = {
381336
- eventId: string
381337
- eventName: string
381338
- productId: string
381339
- occurredAt: string
381340
- recordedAt: string
381341
- receiptCount: number
381342
- organizationId: string
381343
- cascadedFromOrg: boolean
381344
- }[]
381345
-
381346
- export interface PlaygroundWebhookGetLastInput {
381347
-
381348
- }
381349
-
381350
- export type PlaygroundWebhookGetLastOutput = ({
381351
- payload?: unknown
381352
- event_id: string
381353
- provider: string
381354
- verified: boolean
381355
- product_id: string
381356
- occurred_at: string
381357
- connector_id: string
381358
- delivery_count: number
381359
- } | {
381360
- found: false
381361
- })
381362
-
381363
- export interface PlaygroundWorkflowEchoInput {
381364
- /**
381365
- * The text to store, 1–1024 characters
381366
- */
381367
- note: string
381368
- /**
381369
- * Optional labels stored alongside the note, at most 20
381370
- *
381371
- * @maxItems 20
381372
- */
381373
- 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]
381374
- }
381375
-
381376
- export interface PlaygroundWorkflowEchoOutput {
381377
- /**
381378
- * Identifier of the stored echo
381379
- */
381380
- id: string
381381
- /**
381382
- * The note exactly as it was received
381383
- */
381384
- note: string
381385
- /**
381386
- * The tags exactly as they were received
381387
- */
381388
- tags: string[]
381389
- /**
381390
- * 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.
381391
- */
381392
- echo_id: string
381393
- /**
381394
- * ISO-8601 instant (UTC) at which the echo was stored
381395
- */
381396
- received_at: string
381397
- }
381398
-
381399
- export interface PlaygroundWorkflowEchoListInput {
381400
-
381401
- }
381402
-
381403
- export type PlaygroundWorkflowEchoListOutput = {
381404
- /**
381405
- * Identifier of the stored echo
381406
- */
381407
- id: string
381408
- /**
381409
- * The note exactly as it was received
381410
- */
381411
- note: string
381412
- /**
381413
- * The tags exactly as they were received
381414
- */
381415
- tags: string[]
381416
- /**
381417
- * ISO-8601 instant (UTC) at which the echo was stored
381418
- */
381419
- received_at: string
381420
- }[]
381421
-
381422
- export interface PlaygroundWorkflowPingInput {
381423
- /**
381424
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
381425
- */
381426
- kind?: string
381427
- }
381428
-
381429
- export interface PlaygroundWorkflowPingOutput {
381430
- /**
381431
- * 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.
381432
- */
381433
- id: string
381434
- /**
381435
- * The name of the event that was published
381436
- */
381437
- event: string
381438
- }
381439
-
381440
- export interface PlaygroundWorkflowSubjectsListInput {
381441
- /**
381442
- * How many subjects to return, 1–100. Defaults to 25.
381443
- */
381444
- limit?: number
381445
- /**
381446
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
381447
- */
381448
- cursor?: string
381449
- /**
381450
- * 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.
381451
- */
381452
- last_activity_after?: string
381453
- /**
381454
- * 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.
381455
- */
381456
- last_activity_before?: string
381457
- }
381458
-
381459
- export interface PlaygroundWorkflowSubjectsListOutput {
381460
- /**
381461
- * This page of subjects, most recently active first
381462
- */
381463
- items: {
381464
- /**
381465
- * 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.
381466
- */
381467
- subject_key: string
381468
- /**
381469
- * Human-readable name of the subject
381470
- */
381471
- display_name: string
381472
- /**
381473
- * ISO-8601 instant (UTC) of the subject last activity
381474
- */
381475
- last_activity_at: string
381476
- }[]
381477
- /**
381478
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
381479
- */
381480
- has_more: boolean
381481
- /**
381482
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
381483
- */
381484
- next_cursor: (string | null)
381485
- }
381486
-
381487
- export interface PlaygroundWsEchoInput {
381488
-
381489
- }
381490
-
381491
- export type PlaygroundWsEchoOutput = unknown;
381492
-
381493
381121
  export interface RealtimeArchiveExportInput {
381494
381122
  /**
381495
381123
  * 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
- };