@lepsto/sdk-app 91.0.0 → 92.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.
@@ -91106,378 +91106,6 @@ export interface OrganizationYoutubeInstallOutput {
91106
91106
  url: string
91107
91107
  }
91108
91108
 
91109
- export interface PlaygroundAnalyticsOverviewInput {
91110
- /**
91111
- * Max records per entity in recent[]; omit for the endpoint default
91112
- */
91113
- limit?: number
91114
- }
91115
-
91116
- export interface PlaygroundAnalyticsOverviewOutput {
91117
- ok: boolean
91118
- minted: boolean
91119
- overview?: unknown
91120
- http_status: number
91121
- }
91122
-
91123
- export interface PlaygroundBillingEntitlementsInput {
91124
-
91125
- }
91126
-
91127
- export interface PlaygroundBillingEntitlementsOutput {
91128
- ok: boolean
91129
- minted: boolean
91130
- http_status: number
91131
- entitlements?: unknown
91132
- }
91133
-
91134
- export interface PlaygroundBillingRecordUsageInput {
91135
- /**
91136
- * Quantity of events to record against playground-events (SUM); defaults to 1
91137
- */
91138
- value?: number
91139
- }
91140
-
91141
- export interface PlaygroundBillingRecordUsageOutput {
91142
- minted: boolean
91143
- accepted: (number | null)
91144
- recorded: boolean
91145
- duplicates: (number | null)
91146
- http_status: number
91147
- }
91148
-
91149
- export interface PlaygroundClickupCreateTaskInput {
91150
- /**
91151
- * Task title; defaults to a fixture label
91152
- */
91153
- name?: string
91154
- /**
91155
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
91156
- */
91157
- listId?: string
91158
- }
91159
-
91160
- export interface PlaygroundClickupCreateTaskOutput {
91161
- minted: boolean
91162
- task_id: (string | null)
91163
- list_status: number
91164
- vend_status: number
91165
- clickup_status: number
91166
- installation_count: number
91167
- }
91168
-
91169
- export interface PlaygroundClickupGetLastWebhookInput {
91170
-
91171
- }
91172
-
91173
- export type PlaygroundClickupGetLastWebhookOutput = ({
91174
- payload: string
91175
- event_id: string
91176
- provider: string
91177
- verified: boolean
91178
- product_id: string
91179
- occurred_at: string
91180
- connector_id: string
91181
- clickup_event: (string | null)
91182
- receipt_count: number
91183
- } | {
91184
- found: false
91185
- })
91186
-
91187
- export interface PlaygroundClickupGetOverviewInput {
91188
-
91189
- }
91190
-
91191
- export interface PlaygroundClickupGetOverviewOutput {
91192
- team: ({
91193
- teamId: string
91194
- teamName: string
91195
- } | null)
91196
- lists: PlaygroundClickupGetOverviewOutputItems[]
91197
- tasks: {
91198
- id: string
91199
- name: string
91200
- status: (string | null)
91201
- }[]
91202
- minted: boolean
91203
- spaces: PlaygroundClickupGetOverviewOutputItems[]
91204
- list_status: number
91205
- vend_status: number
91206
- lists_status: number
91207
- tasks_status: number
91208
- spaces_status: number
91209
- folders_status: number
91210
- installation_count: number
91211
- }
91212
- export interface PlaygroundClickupGetOverviewOutputItems {
91213
- id: string
91214
- name: string
91215
- }
91216
-
91217
- export interface PlaygroundEchoPingInput {
91218
- /**
91219
- * The text to echo back, 1–1024 characters
91220
- */
91221
- message: string
91222
- }
91223
-
91224
- export interface PlaygroundEchoPingOutput {
91225
- /**
91226
- * The message exactly as it was received
91227
- */
91228
- message: string
91229
- /**
91230
- * The product the call was resolved to
91231
- */
91232
- productId: string
91233
- /**
91234
- * ISO-8601 instant (UTC) at which the call reached the service
91235
- */
91236
- receivedAt: string
91237
- }
91238
-
91239
- export interface PlaygroundGdriveGetLastChangeInput {
91240
-
91241
- }
91242
-
91243
- export type PlaygroundGdriveGetLastChangeOutput = ({
91244
- file_id: string
91245
- removed: boolean
91246
- file_name: (string | null)
91247
- mime_type: (string | null)
91248
- product_id: string
91249
- occurred_at: string
91250
- connector_id: string
91251
- resource_state: string
91252
- } | {
91253
- found: false
91254
- })
91255
-
91256
- export interface PlaygroundGdriveReadFileInput {
91257
- /**
91258
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
91259
- */
91260
- fileId?: string
91261
- }
91262
-
91263
- export interface PlaygroundGdriveReadFileOutput {
91264
- minted: boolean
91265
- file_id: (string | null)
91266
- file_name: (string | null)
91267
- mime_type: (string | null)
91268
- file_count: number
91269
- get_status: number
91270
- list_status: number
91271
- vend_status: number
91272
- content_bytes: (number | null)
91273
- }
91274
-
91275
- export interface PlaygroundGoogleadsReadCustomerInput {
91276
-
91277
- }
91278
-
91279
- export interface PlaygroundGoogleadsReadCustomerOutput {
91280
- minted: boolean
91281
- vended: boolean
91282
- customer_id: (string | null)
91283
- vend_status: number
91284
- result_count: number
91285
- search_status: number
91286
- login_customer_id: (string | null)
91287
- }
91288
-
91289
- export interface PlaygroundLifecycleGetStateInput {
91290
-
91291
- }
91292
-
91293
- export interface PlaygroundLifecycleGetStateOutput {
91294
- blocked: boolean
91295
- archived: boolean
91296
- productId: string
91297
- lastBlockTransition: ({
91298
- eventId: string
91299
- eventName: string
91300
- productId: string
91301
- occurredAt: string
91302
- recordedAt: string
91303
- receiptCount: number
91304
- organizationId: string
91305
- cascadedFromOrg: boolean
91306
- } | null)
91307
- lastArchiveTransition: ({
91308
- eventId: string
91309
- eventName: string
91310
- productId: string
91311
- occurredAt: string
91312
- recordedAt: string
91313
- receiptCount: number
91314
- organizationId: string
91315
- cascadedFromOrg: boolean
91316
- } | null)
91317
- }
91318
-
91319
- export interface PlaygroundLifecycleListEventsInput {
91320
-
91321
- }
91322
-
91323
- export type PlaygroundLifecycleListEventsOutput = {
91324
- eventId: string
91325
- eventName: string
91326
- productId: string
91327
- occurredAt: string
91328
- recordedAt: string
91329
- receiptCount: number
91330
- organizationId: string
91331
- cascadedFromOrg: boolean
91332
- }[]
91333
-
91334
- export interface PlaygroundWebhookGetLastInput {
91335
-
91336
- }
91337
-
91338
- export type PlaygroundWebhookGetLastOutput = ({
91339
- payload?: unknown
91340
- event_id: string
91341
- provider: string
91342
- verified: boolean
91343
- product_id: string
91344
- occurred_at: string
91345
- connector_id: string
91346
- delivery_count: number
91347
- } | {
91348
- found: false
91349
- })
91350
-
91351
- export interface PlaygroundWorkflowEchoInput {
91352
- /**
91353
- * The text to store, 1–1024 characters
91354
- */
91355
- note: string
91356
- /**
91357
- * Optional labels stored alongside the note, at most 20
91358
- *
91359
- * @maxItems 20
91360
- */
91361
- 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]
91362
- }
91363
-
91364
- export interface PlaygroundWorkflowEchoOutput {
91365
- /**
91366
- * Identifier of the stored echo
91367
- */
91368
- id: string
91369
- /**
91370
- * The note exactly as it was received
91371
- */
91372
- note: string
91373
- /**
91374
- * The tags exactly as they were received
91375
- */
91376
- tags: string[]
91377
- /**
91378
- * 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.
91379
- */
91380
- echo_id: string
91381
- /**
91382
- * ISO-8601 instant (UTC) at which the echo was stored
91383
- */
91384
- received_at: string
91385
- }
91386
-
91387
- export interface PlaygroundWorkflowEchoListInput {
91388
-
91389
- }
91390
-
91391
- export type PlaygroundWorkflowEchoListOutput = {
91392
- /**
91393
- * Identifier of the stored echo
91394
- */
91395
- id: string
91396
- /**
91397
- * The note exactly as it was received
91398
- */
91399
- note: string
91400
- /**
91401
- * The tags exactly as they were received
91402
- */
91403
- tags: string[]
91404
- /**
91405
- * ISO-8601 instant (UTC) at which the echo was stored
91406
- */
91407
- received_at: string
91408
- }[]
91409
-
91410
- export interface PlaygroundWorkflowPingInput {
91411
- /**
91412
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
91413
- */
91414
- kind?: string
91415
- }
91416
-
91417
- export interface PlaygroundWorkflowPingOutput {
91418
- /**
91419
- * 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.
91420
- */
91421
- id: string
91422
- /**
91423
- * The name of the event that was published
91424
- */
91425
- event: string
91426
- }
91427
-
91428
- export interface PlaygroundWorkflowSubjectsListInput {
91429
- /**
91430
- * How many subjects to return, 1–100. Defaults to 25.
91431
- */
91432
- limit?: number
91433
- /**
91434
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
91435
- */
91436
- cursor?: string
91437
- /**
91438
- * 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.
91439
- */
91440
- last_activity_after?: string
91441
- /**
91442
- * 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.
91443
- */
91444
- last_activity_before?: string
91445
- }
91446
-
91447
- export interface PlaygroundWorkflowSubjectsListOutput {
91448
- /**
91449
- * This page of subjects, most recently active first
91450
- */
91451
- items: {
91452
- /**
91453
- * 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.
91454
- */
91455
- subject_key: string
91456
- /**
91457
- * Human-readable name of the subject
91458
- */
91459
- display_name: string
91460
- /**
91461
- * ISO-8601 instant (UTC) of the subject last activity
91462
- */
91463
- last_activity_at: string
91464
- }[]
91465
- /**
91466
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
91467
- */
91468
- has_more: boolean
91469
- /**
91470
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
91471
- */
91472
- next_cursor: (string | null)
91473
- }
91474
-
91475
- export interface PlaygroundWsEchoInput {
91476
-
91477
- }
91478
-
91479
- export type PlaygroundWsEchoOutput = unknown;
91480
-
91481
91109
  export interface RealtimeArchiveExportInput {
91482
91110
  /**
91483
91111
  * 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
- };