@lepsto/sdk-app 89.4.0 → 89.5.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.
@@ -91016,378 +91016,6 @@ export interface OrganizationYoutubeInstallOutput {
91016
91016
  url: string
91017
91017
  }
91018
91018
 
91019
- export interface PlaygroundAnalyticsOverviewInput {
91020
- /**
91021
- * Max records per entity in recent[]; omit for the endpoint default
91022
- */
91023
- limit?: number
91024
- }
91025
-
91026
- export interface PlaygroundAnalyticsOverviewOutput {
91027
- ok: boolean
91028
- minted: boolean
91029
- overview?: unknown
91030
- http_status: number
91031
- }
91032
-
91033
- export interface PlaygroundBillingEntitlementsInput {
91034
-
91035
- }
91036
-
91037
- export interface PlaygroundBillingEntitlementsOutput {
91038
- ok: boolean
91039
- minted: boolean
91040
- http_status: number
91041
- entitlements?: unknown
91042
- }
91043
-
91044
- export interface PlaygroundBillingRecordUsageInput {
91045
- /**
91046
- * Quantity of events to record against playground-events (SUM); defaults to 1
91047
- */
91048
- value?: number
91049
- }
91050
-
91051
- export interface PlaygroundBillingRecordUsageOutput {
91052
- minted: boolean
91053
- accepted: (number | null)
91054
- recorded: boolean
91055
- duplicates: (number | null)
91056
- http_status: number
91057
- }
91058
-
91059
- export interface PlaygroundClickupCreateTaskInput {
91060
- /**
91061
- * Task title; defaults to a fixture label
91062
- */
91063
- name?: string
91064
- /**
91065
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
91066
- */
91067
- listId?: string
91068
- }
91069
-
91070
- export interface PlaygroundClickupCreateTaskOutput {
91071
- minted: boolean
91072
- task_id: (string | null)
91073
- list_status: number
91074
- vend_status: number
91075
- clickup_status: number
91076
- installation_count: number
91077
- }
91078
-
91079
- export interface PlaygroundClickupGetLastWebhookInput {
91080
-
91081
- }
91082
-
91083
- export type PlaygroundClickupGetLastWebhookOutput = ({
91084
- payload: string
91085
- event_id: string
91086
- provider: string
91087
- verified: boolean
91088
- product_id: string
91089
- occurred_at: string
91090
- connector_id: string
91091
- clickup_event: (string | null)
91092
- receipt_count: number
91093
- } | {
91094
- found: false
91095
- })
91096
-
91097
- export interface PlaygroundClickupGetOverviewInput {
91098
-
91099
- }
91100
-
91101
- export interface PlaygroundClickupGetOverviewOutput {
91102
- team: ({
91103
- teamId: string
91104
- teamName: string
91105
- } | null)
91106
- lists: PlaygroundClickupGetOverviewOutputItems[]
91107
- tasks: {
91108
- id: string
91109
- name: string
91110
- status: (string | null)
91111
- }[]
91112
- minted: boolean
91113
- spaces: PlaygroundClickupGetOverviewOutputItems[]
91114
- list_status: number
91115
- vend_status: number
91116
- lists_status: number
91117
- tasks_status: number
91118
- spaces_status: number
91119
- folders_status: number
91120
- installation_count: number
91121
- }
91122
- export interface PlaygroundClickupGetOverviewOutputItems {
91123
- id: string
91124
- name: string
91125
- }
91126
-
91127
- export interface PlaygroundEchoPingInput {
91128
- /**
91129
- * The text to echo back, 1–1024 characters
91130
- */
91131
- message: string
91132
- }
91133
-
91134
- export interface PlaygroundEchoPingOutput {
91135
- /**
91136
- * The message exactly as it was received
91137
- */
91138
- message: string
91139
- /**
91140
- * The product the call was resolved to
91141
- */
91142
- productId: string
91143
- /**
91144
- * ISO-8601 instant (UTC) at which the call reached the service
91145
- */
91146
- receivedAt: string
91147
- }
91148
-
91149
- export interface PlaygroundGdriveGetLastChangeInput {
91150
-
91151
- }
91152
-
91153
- export type PlaygroundGdriveGetLastChangeOutput = ({
91154
- file_id: string
91155
- removed: boolean
91156
- file_name: (string | null)
91157
- mime_type: (string | null)
91158
- product_id: string
91159
- occurred_at: string
91160
- connector_id: string
91161
- resource_state: string
91162
- } | {
91163
- found: false
91164
- })
91165
-
91166
- export interface PlaygroundGdriveReadFileInput {
91167
- /**
91168
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
91169
- */
91170
- fileId?: string
91171
- }
91172
-
91173
- export interface PlaygroundGdriveReadFileOutput {
91174
- minted: boolean
91175
- file_id: (string | null)
91176
- file_name: (string | null)
91177
- mime_type: (string | null)
91178
- file_count: number
91179
- get_status: number
91180
- list_status: number
91181
- vend_status: number
91182
- content_bytes: (number | null)
91183
- }
91184
-
91185
- export interface PlaygroundGoogleadsReadCustomerInput {
91186
-
91187
- }
91188
-
91189
- export interface PlaygroundGoogleadsReadCustomerOutput {
91190
- minted: boolean
91191
- vended: boolean
91192
- customer_id: (string | null)
91193
- vend_status: number
91194
- result_count: number
91195
- search_status: number
91196
- login_customer_id: (string | null)
91197
- }
91198
-
91199
- export interface PlaygroundLifecycleGetStateInput {
91200
-
91201
- }
91202
-
91203
- export interface PlaygroundLifecycleGetStateOutput {
91204
- blocked: boolean
91205
- archived: boolean
91206
- productId: string
91207
- lastBlockTransition: ({
91208
- eventId: string
91209
- eventName: string
91210
- productId: string
91211
- occurredAt: string
91212
- recordedAt: string
91213
- receiptCount: number
91214
- organizationId: string
91215
- cascadedFromOrg: boolean
91216
- } | null)
91217
- lastArchiveTransition: ({
91218
- eventId: string
91219
- eventName: string
91220
- productId: string
91221
- occurredAt: string
91222
- recordedAt: string
91223
- receiptCount: number
91224
- organizationId: string
91225
- cascadedFromOrg: boolean
91226
- } | null)
91227
- }
91228
-
91229
- export interface PlaygroundLifecycleListEventsInput {
91230
-
91231
- }
91232
-
91233
- export type PlaygroundLifecycleListEventsOutput = {
91234
- eventId: string
91235
- eventName: string
91236
- productId: string
91237
- occurredAt: string
91238
- recordedAt: string
91239
- receiptCount: number
91240
- organizationId: string
91241
- cascadedFromOrg: boolean
91242
- }[]
91243
-
91244
- export interface PlaygroundWebhookGetLastInput {
91245
-
91246
- }
91247
-
91248
- export type PlaygroundWebhookGetLastOutput = ({
91249
- payload?: unknown
91250
- event_id: string
91251
- provider: string
91252
- verified: boolean
91253
- product_id: string
91254
- occurred_at: string
91255
- connector_id: string
91256
- delivery_count: number
91257
- } | {
91258
- found: false
91259
- })
91260
-
91261
- export interface PlaygroundWorkflowEchoInput {
91262
- /**
91263
- * The text to store, 1–1024 characters
91264
- */
91265
- note: string
91266
- /**
91267
- * Optional labels stored alongside the note, at most 20
91268
- *
91269
- * @maxItems 20
91270
- */
91271
- 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]
91272
- }
91273
-
91274
- export interface PlaygroundWorkflowEchoOutput {
91275
- /**
91276
- * Identifier of the stored echo
91277
- */
91278
- id: string
91279
- /**
91280
- * The note exactly as it was received
91281
- */
91282
- note: string
91283
- /**
91284
- * The tags exactly as they were received
91285
- */
91286
- tags: string[]
91287
- /**
91288
- * 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.
91289
- */
91290
- echo_id: string
91291
- /**
91292
- * ISO-8601 instant (UTC) at which the echo was stored
91293
- */
91294
- received_at: string
91295
- }
91296
-
91297
- export interface PlaygroundWorkflowEchoListInput {
91298
-
91299
- }
91300
-
91301
- export type PlaygroundWorkflowEchoListOutput = {
91302
- /**
91303
- * Identifier of the stored echo
91304
- */
91305
- id: string
91306
- /**
91307
- * The note exactly as it was received
91308
- */
91309
- note: string
91310
- /**
91311
- * The tags exactly as they were received
91312
- */
91313
- tags: string[]
91314
- /**
91315
- * ISO-8601 instant (UTC) at which the echo was stored
91316
- */
91317
- received_at: string
91318
- }[]
91319
-
91320
- export interface PlaygroundWorkflowPingInput {
91321
- /**
91322
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
91323
- */
91324
- kind?: string
91325
- }
91326
-
91327
- export interface PlaygroundWorkflowPingOutput {
91328
- /**
91329
- * 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.
91330
- */
91331
- id: string
91332
- /**
91333
- * The name of the event that was published
91334
- */
91335
- event: string
91336
- }
91337
-
91338
- export interface PlaygroundWorkflowSubjectsListInput {
91339
- /**
91340
- * How many subjects to return, 1–100. Defaults to 25.
91341
- */
91342
- limit?: number
91343
- /**
91344
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
91345
- */
91346
- cursor?: string
91347
- /**
91348
- * 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.
91349
- */
91350
- last_activity_after?: string
91351
- /**
91352
- * 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.
91353
- */
91354
- last_activity_before?: string
91355
- }
91356
-
91357
- export interface PlaygroundWorkflowSubjectsListOutput {
91358
- /**
91359
- * This page of subjects, most recently active first
91360
- */
91361
- items: {
91362
- /**
91363
- * 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.
91364
- */
91365
- subject_key: string
91366
- /**
91367
- * Human-readable name of the subject
91368
- */
91369
- display_name: string
91370
- /**
91371
- * ISO-8601 instant (UTC) of the subject last activity
91372
- */
91373
- last_activity_at: string
91374
- }[]
91375
- /**
91376
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
91377
- */
91378
- has_more: boolean
91379
- /**
91380
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
91381
- */
91382
- next_cursor: (string | null)
91383
- }
91384
-
91385
- export interface PlaygroundWsEchoInput {
91386
-
91387
- }
91388
-
91389
- export type PlaygroundWsEchoOutput = unknown;
91390
-
91391
91019
  export interface RealtimeArchiveExportInput {
91392
91020
  /**
91393
91021
  * 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
- };