@lessly/sdk-app 124.1.0 → 124.2.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.
@@ -382055,378 +382055,6 @@ export interface OrganizationYoutubeInstallOutput {
382055
382055
  url: string
382056
382056
  }
382057
382057
 
382058
- export interface PlaygroundAnalyticsOverviewInput {
382059
- /**
382060
- * Max records per entity in recent[]; omit for the endpoint default
382061
- */
382062
- limit?: number
382063
- }
382064
-
382065
- export interface PlaygroundAnalyticsOverviewOutput {
382066
- ok: boolean
382067
- minted: boolean
382068
- overview?: unknown
382069
- http_status: number
382070
- }
382071
-
382072
- export interface PlaygroundBillingEntitlementsInput {
382073
-
382074
- }
382075
-
382076
- export interface PlaygroundBillingEntitlementsOutput {
382077
- ok: boolean
382078
- minted: boolean
382079
- http_status: number
382080
- entitlements?: unknown
382081
- }
382082
-
382083
- export interface PlaygroundBillingRecordUsageInput {
382084
- /**
382085
- * Quantity of events to record against playground-events (SUM); defaults to 1
382086
- */
382087
- value?: number
382088
- }
382089
-
382090
- export interface PlaygroundBillingRecordUsageOutput {
382091
- minted: boolean
382092
- accepted: (number | null)
382093
- recorded: boolean
382094
- duplicates: (number | null)
382095
- http_status: number
382096
- }
382097
-
382098
- export interface PlaygroundClickupCreateTaskInput {
382099
- /**
382100
- * Task title; defaults to a fixture label
382101
- */
382102
- name?: string
382103
- /**
382104
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
382105
- */
382106
- listId?: string
382107
- }
382108
-
382109
- export interface PlaygroundClickupCreateTaskOutput {
382110
- minted: boolean
382111
- task_id: (string | null)
382112
- list_status: number
382113
- vend_status: number
382114
- clickup_status: number
382115
- installation_count: number
382116
- }
382117
-
382118
- export interface PlaygroundClickupGetLastWebhookInput {
382119
-
382120
- }
382121
-
382122
- export type PlaygroundClickupGetLastWebhookOutput = ({
382123
- payload: string
382124
- event_id: string
382125
- provider: string
382126
- verified: boolean
382127
- product_id: string
382128
- occurred_at: string
382129
- connector_id: string
382130
- clickup_event: (string | null)
382131
- receipt_count: number
382132
- } | {
382133
- found: false
382134
- })
382135
-
382136
- export interface PlaygroundClickupGetOverviewInput {
382137
-
382138
- }
382139
-
382140
- export interface PlaygroundClickupGetOverviewOutput {
382141
- team: ({
382142
- teamId: string
382143
- teamName: string
382144
- } | null)
382145
- lists: PlaygroundClickupGetOverviewOutputItems[]
382146
- tasks: {
382147
- id: string
382148
- name: string
382149
- status: (string | null)
382150
- }[]
382151
- minted: boolean
382152
- spaces: PlaygroundClickupGetOverviewOutputItems[]
382153
- list_status: number
382154
- vend_status: number
382155
- lists_status: number
382156
- tasks_status: number
382157
- spaces_status: number
382158
- folders_status: number
382159
- installation_count: number
382160
- }
382161
- export interface PlaygroundClickupGetOverviewOutputItems {
382162
- id: string
382163
- name: string
382164
- }
382165
-
382166
- export interface PlaygroundEchoPingInput {
382167
- /**
382168
- * The text to echo back, 1–1024 characters
382169
- */
382170
- message: string
382171
- }
382172
-
382173
- export interface PlaygroundEchoPingOutput {
382174
- /**
382175
- * The message exactly as it was received
382176
- */
382177
- message: string
382178
- /**
382179
- * The product the call was resolved to
382180
- */
382181
- productId: string
382182
- /**
382183
- * ISO-8601 instant (UTC) at which the call reached the service
382184
- */
382185
- receivedAt: string
382186
- }
382187
-
382188
- export interface PlaygroundGdriveGetLastChangeInput {
382189
-
382190
- }
382191
-
382192
- export type PlaygroundGdriveGetLastChangeOutput = ({
382193
- file_id: string
382194
- removed: boolean
382195
- file_name: (string | null)
382196
- mime_type: (string | null)
382197
- product_id: string
382198
- occurred_at: string
382199
- connector_id: string
382200
- resource_state: string
382201
- } | {
382202
- found: false
382203
- })
382204
-
382205
- export interface PlaygroundGdriveReadFileInput {
382206
- /**
382207
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382208
- */
382209
- fileId?: string
382210
- }
382211
-
382212
- export interface PlaygroundGdriveReadFileOutput {
382213
- minted: boolean
382214
- file_id: (string | null)
382215
- file_name: (string | null)
382216
- mime_type: (string | null)
382217
- file_count: number
382218
- get_status: number
382219
- list_status: number
382220
- vend_status: number
382221
- content_bytes: (number | null)
382222
- }
382223
-
382224
- export interface PlaygroundGoogleadsReadCustomerInput {
382225
-
382226
- }
382227
-
382228
- export interface PlaygroundGoogleadsReadCustomerOutput {
382229
- minted: boolean
382230
- vended: boolean
382231
- customer_id: (string | null)
382232
- vend_status: number
382233
- result_count: number
382234
- search_status: number
382235
- login_customer_id: (string | null)
382236
- }
382237
-
382238
- export interface PlaygroundLifecycleGetStateInput {
382239
-
382240
- }
382241
-
382242
- export interface PlaygroundLifecycleGetStateOutput {
382243
- blocked: boolean
382244
- archived: boolean
382245
- productId: string
382246
- lastBlockTransition: ({
382247
- eventId: string
382248
- eventName: string
382249
- productId: string
382250
- occurredAt: string
382251
- recordedAt: string
382252
- receiptCount: number
382253
- organizationId: string
382254
- cascadedFromOrg: boolean
382255
- } | null)
382256
- lastArchiveTransition: ({
382257
- eventId: string
382258
- eventName: string
382259
- productId: string
382260
- occurredAt: string
382261
- recordedAt: string
382262
- receiptCount: number
382263
- organizationId: string
382264
- cascadedFromOrg: boolean
382265
- } | null)
382266
- }
382267
-
382268
- export interface PlaygroundLifecycleListEventsInput {
382269
-
382270
- }
382271
-
382272
- export type PlaygroundLifecycleListEventsOutput = {
382273
- eventId: string
382274
- eventName: string
382275
- productId: string
382276
- occurredAt: string
382277
- recordedAt: string
382278
- receiptCount: number
382279
- organizationId: string
382280
- cascadedFromOrg: boolean
382281
- }[]
382282
-
382283
- export interface PlaygroundWebhookGetLastInput {
382284
-
382285
- }
382286
-
382287
- export type PlaygroundWebhookGetLastOutput = ({
382288
- payload?: unknown
382289
- event_id: string
382290
- provider: string
382291
- verified: boolean
382292
- product_id: string
382293
- occurred_at: string
382294
- connector_id: string
382295
- delivery_count: number
382296
- } | {
382297
- found: false
382298
- })
382299
-
382300
- export interface PlaygroundWorkflowEchoInput {
382301
- /**
382302
- * The text to store, 1–1024 characters
382303
- */
382304
- note: string
382305
- /**
382306
- * Optional labels stored alongside the note, at most 20
382307
- *
382308
- * @maxItems 20
382309
- */
382310
- 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]
382311
- }
382312
-
382313
- export interface PlaygroundWorkflowEchoOutput {
382314
- /**
382315
- * Identifier of the stored echo
382316
- */
382317
- id: string
382318
- /**
382319
- * The note exactly as it was received
382320
- */
382321
- note: string
382322
- /**
382323
- * The tags exactly as they were received
382324
- */
382325
- tags: string[]
382326
- /**
382327
- * 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.
382328
- */
382329
- echo_id: string
382330
- /**
382331
- * ISO-8601 instant (UTC) at which the echo was stored
382332
- */
382333
- received_at: string
382334
- }
382335
-
382336
- export interface PlaygroundWorkflowEchoListInput {
382337
-
382338
- }
382339
-
382340
- export type PlaygroundWorkflowEchoListOutput = {
382341
- /**
382342
- * Identifier of the stored echo
382343
- */
382344
- id: string
382345
- /**
382346
- * The note exactly as it was received
382347
- */
382348
- note: string
382349
- /**
382350
- * The tags exactly as they were received
382351
- */
382352
- tags: string[]
382353
- /**
382354
- * ISO-8601 instant (UTC) at which the echo was stored
382355
- */
382356
- received_at: string
382357
- }[]
382358
-
382359
- export interface PlaygroundWorkflowPingInput {
382360
- /**
382361
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382362
- */
382363
- kind?: string
382364
- }
382365
-
382366
- export interface PlaygroundWorkflowPingOutput {
382367
- /**
382368
- * 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.
382369
- */
382370
- id: string
382371
- /**
382372
- * The name of the event that was published
382373
- */
382374
- event: string
382375
- }
382376
-
382377
- export interface PlaygroundWorkflowSubjectsListInput {
382378
- /**
382379
- * How many subjects to return, 1–100. Defaults to 25.
382380
- */
382381
- limit?: number
382382
- /**
382383
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382384
- */
382385
- cursor?: string
382386
- /**
382387
- * 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.
382388
- */
382389
- last_activity_after?: string
382390
- /**
382391
- * 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.
382392
- */
382393
- last_activity_before?: string
382394
- }
382395
-
382396
- export interface PlaygroundWorkflowSubjectsListOutput {
382397
- /**
382398
- * This page of subjects, most recently active first
382399
- */
382400
- items: {
382401
- /**
382402
- * 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.
382403
- */
382404
- subject_key: string
382405
- /**
382406
- * Human-readable name of the subject
382407
- */
382408
- display_name: string
382409
- /**
382410
- * ISO-8601 instant (UTC) of the subject last activity
382411
- */
382412
- last_activity_at: string
382413
- }[]
382414
- /**
382415
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382416
- */
382417
- has_more: boolean
382418
- /**
382419
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382420
- */
382421
- next_cursor: (string | null)
382422
- }
382423
-
382424
- export interface PlaygroundWsEchoInput {
382425
-
382426
- }
382427
-
382428
- export type PlaygroundWsEchoOutput = unknown;
382429
-
382430
382058
  export interface RealtimeArchiveExportInput {
382431
382059
  /**
382432
382060
  * 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
- };