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