@lessly/sdk-app 107.0.0 → 108.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.
@@ -341100,378 +341100,6 @@ export interface OrganizationYoutubeInstallOutput {
341100
341100
  url: string
341101
341101
  }
341102
341102
 
341103
- export interface PlaygroundAnalyticsOverviewInput {
341104
- /**
341105
- * Max records per entity in recent[]; omit for the endpoint default
341106
- */
341107
- limit?: number
341108
- }
341109
-
341110
- export interface PlaygroundAnalyticsOverviewOutput {
341111
- ok: boolean
341112
- minted: boolean
341113
- overview?: unknown
341114
- http_status: number
341115
- }
341116
-
341117
- export interface PlaygroundBillingEntitlementsInput {
341118
-
341119
- }
341120
-
341121
- export interface PlaygroundBillingEntitlementsOutput {
341122
- ok: boolean
341123
- minted: boolean
341124
- http_status: number
341125
- entitlements?: unknown
341126
- }
341127
-
341128
- export interface PlaygroundBillingRecordUsageInput {
341129
- /**
341130
- * Quantity of events to record against playground-events (SUM); defaults to 1
341131
- */
341132
- value?: number
341133
- }
341134
-
341135
- export interface PlaygroundBillingRecordUsageOutput {
341136
- minted: boolean
341137
- accepted: (number | null)
341138
- recorded: boolean
341139
- duplicates: (number | null)
341140
- http_status: number
341141
- }
341142
-
341143
- export interface PlaygroundClickupCreateTaskInput {
341144
- /**
341145
- * Task title; defaults to a fixture label
341146
- */
341147
- name?: string
341148
- /**
341149
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
341150
- */
341151
- listId?: string
341152
- }
341153
-
341154
- export interface PlaygroundClickupCreateTaskOutput {
341155
- minted: boolean
341156
- task_id: (string | null)
341157
- list_status: number
341158
- vend_status: number
341159
- clickup_status: number
341160
- installation_count: number
341161
- }
341162
-
341163
- export interface PlaygroundClickupGetLastWebhookInput {
341164
-
341165
- }
341166
-
341167
- export type PlaygroundClickupGetLastWebhookOutput = ({
341168
- payload: string
341169
- event_id: string
341170
- provider: string
341171
- verified: boolean
341172
- product_id: string
341173
- occurred_at: string
341174
- connector_id: string
341175
- clickup_event: (string | null)
341176
- receipt_count: number
341177
- } | {
341178
- found: false
341179
- })
341180
-
341181
- export interface PlaygroundClickupGetOverviewInput {
341182
-
341183
- }
341184
-
341185
- export interface PlaygroundClickupGetOverviewOutput {
341186
- team: ({
341187
- teamId: string
341188
- teamName: string
341189
- } | null)
341190
- lists: PlaygroundClickupGetOverviewOutputItems[]
341191
- tasks: {
341192
- id: string
341193
- name: string
341194
- status: (string | null)
341195
- }[]
341196
- minted: boolean
341197
- spaces: PlaygroundClickupGetOverviewOutputItems[]
341198
- list_status: number
341199
- vend_status: number
341200
- lists_status: number
341201
- tasks_status: number
341202
- spaces_status: number
341203
- folders_status: number
341204
- installation_count: number
341205
- }
341206
- export interface PlaygroundClickupGetOverviewOutputItems {
341207
- id: string
341208
- name: string
341209
- }
341210
-
341211
- export interface PlaygroundEchoPingInput {
341212
- /**
341213
- * The text to echo back, 1–1024 characters
341214
- */
341215
- message: string
341216
- }
341217
-
341218
- export interface PlaygroundEchoPingOutput {
341219
- /**
341220
- * The message exactly as it was received
341221
- */
341222
- message: string
341223
- /**
341224
- * The product the call was resolved to
341225
- */
341226
- productId: string
341227
- /**
341228
- * ISO-8601 instant (UTC) at which the call reached the service
341229
- */
341230
- receivedAt: string
341231
- }
341232
-
341233
- export interface PlaygroundGdriveGetLastChangeInput {
341234
-
341235
- }
341236
-
341237
- export type PlaygroundGdriveGetLastChangeOutput = ({
341238
- file_id: string
341239
- removed: boolean
341240
- file_name: (string | null)
341241
- mime_type: (string | null)
341242
- product_id: string
341243
- occurred_at: string
341244
- connector_id: string
341245
- resource_state: string
341246
- } | {
341247
- found: false
341248
- })
341249
-
341250
- export interface PlaygroundGdriveReadFileInput {
341251
- /**
341252
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
341253
- */
341254
- fileId?: string
341255
- }
341256
-
341257
- export interface PlaygroundGdriveReadFileOutput {
341258
- minted: boolean
341259
- file_id: (string | null)
341260
- file_name: (string | null)
341261
- mime_type: (string | null)
341262
- file_count: number
341263
- get_status: number
341264
- list_status: number
341265
- vend_status: number
341266
- content_bytes: (number | null)
341267
- }
341268
-
341269
- export interface PlaygroundGoogleadsReadCustomerInput {
341270
-
341271
- }
341272
-
341273
- export interface PlaygroundGoogleadsReadCustomerOutput {
341274
- minted: boolean
341275
- vended: boolean
341276
- customer_id: (string | null)
341277
- vend_status: number
341278
- result_count: number
341279
- search_status: number
341280
- login_customer_id: (string | null)
341281
- }
341282
-
341283
- export interface PlaygroundLifecycleGetStateInput {
341284
-
341285
- }
341286
-
341287
- export interface PlaygroundLifecycleGetStateOutput {
341288
- blocked: boolean
341289
- archived: boolean
341290
- productId: string
341291
- lastBlockTransition: ({
341292
- eventId: string
341293
- eventName: string
341294
- productId: string
341295
- occurredAt: string
341296
- recordedAt: string
341297
- receiptCount: number
341298
- organizationId: string
341299
- cascadedFromOrg: boolean
341300
- } | null)
341301
- lastArchiveTransition: ({
341302
- eventId: string
341303
- eventName: string
341304
- productId: string
341305
- occurredAt: string
341306
- recordedAt: string
341307
- receiptCount: number
341308
- organizationId: string
341309
- cascadedFromOrg: boolean
341310
- } | null)
341311
- }
341312
-
341313
- export interface PlaygroundLifecycleListEventsInput {
341314
-
341315
- }
341316
-
341317
- export type PlaygroundLifecycleListEventsOutput = {
341318
- eventId: string
341319
- eventName: string
341320
- productId: string
341321
- occurredAt: string
341322
- recordedAt: string
341323
- receiptCount: number
341324
- organizationId: string
341325
- cascadedFromOrg: boolean
341326
- }[]
341327
-
341328
- export interface PlaygroundWebhookGetLastInput {
341329
-
341330
- }
341331
-
341332
- export type PlaygroundWebhookGetLastOutput = ({
341333
- payload?: unknown
341334
- event_id: string
341335
- provider: string
341336
- verified: boolean
341337
- product_id: string
341338
- occurred_at: string
341339
- connector_id: string
341340
- delivery_count: number
341341
- } | {
341342
- found: false
341343
- })
341344
-
341345
- export interface PlaygroundWorkflowEchoInput {
341346
- /**
341347
- * The text to store, 1–1024 characters
341348
- */
341349
- note: string
341350
- /**
341351
- * Optional labels stored alongside the note, at most 20
341352
- *
341353
- * @maxItems 20
341354
- */
341355
- 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]
341356
- }
341357
-
341358
- export interface PlaygroundWorkflowEchoOutput {
341359
- /**
341360
- * Identifier of the stored echo
341361
- */
341362
- id: string
341363
- /**
341364
- * The note exactly as it was received
341365
- */
341366
- note: string
341367
- /**
341368
- * The tags exactly as they were received
341369
- */
341370
- tags: string[]
341371
- /**
341372
- * 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.
341373
- */
341374
- echo_id: string
341375
- /**
341376
- * ISO-8601 instant (UTC) at which the echo was stored
341377
- */
341378
- received_at: string
341379
- }
341380
-
341381
- export interface PlaygroundWorkflowEchoListInput {
341382
-
341383
- }
341384
-
341385
- export type PlaygroundWorkflowEchoListOutput = {
341386
- /**
341387
- * Identifier of the stored echo
341388
- */
341389
- id: string
341390
- /**
341391
- * The note exactly as it was received
341392
- */
341393
- note: string
341394
- /**
341395
- * The tags exactly as they were received
341396
- */
341397
- tags: string[]
341398
- /**
341399
- * ISO-8601 instant (UTC) at which the echo was stored
341400
- */
341401
- received_at: string
341402
- }[]
341403
-
341404
- export interface PlaygroundWorkflowPingInput {
341405
- /**
341406
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
341407
- */
341408
- kind?: string
341409
- }
341410
-
341411
- export interface PlaygroundWorkflowPingOutput {
341412
- /**
341413
- * 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.
341414
- */
341415
- id: string
341416
- /**
341417
- * The name of the event that was published
341418
- */
341419
- event: string
341420
- }
341421
-
341422
- export interface PlaygroundWorkflowSubjectsListInput {
341423
- /**
341424
- * How many subjects to return, 1–100. Defaults to 25.
341425
- */
341426
- limit?: number
341427
- /**
341428
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
341429
- */
341430
- cursor?: string
341431
- /**
341432
- * 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.
341433
- */
341434
- last_activity_after?: string
341435
- /**
341436
- * 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.
341437
- */
341438
- last_activity_before?: string
341439
- }
341440
-
341441
- export interface PlaygroundWorkflowSubjectsListOutput {
341442
- /**
341443
- * This page of subjects, most recently active first
341444
- */
341445
- items: {
341446
- /**
341447
- * 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.
341448
- */
341449
- subject_key: string
341450
- /**
341451
- * Human-readable name of the subject
341452
- */
341453
- display_name: string
341454
- /**
341455
- * ISO-8601 instant (UTC) of the subject last activity
341456
- */
341457
- last_activity_at: string
341458
- }[]
341459
- /**
341460
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
341461
- */
341462
- has_more: boolean
341463
- /**
341464
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
341465
- */
341466
- next_cursor: (string | null)
341467
- }
341468
-
341469
- export interface PlaygroundWsEchoInput {
341470
-
341471
- }
341472
-
341473
- export type PlaygroundWsEchoOutput = unknown;
341474
-
341475
341103
  export interface RealtimeArchiveExportInput {
341476
341104
  /**
341477
341105
  * 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
- };