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