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