@lessly/sdk-app 74.7.0 → 74.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.
@@ -91304,9 +91304,9 @@ export interface OrganizationSelectOutput {
91304
91304
  }
91305
91305
  export interface OrganizationSupportThreadCreateInput {
91306
91306
  /**
91307
- * The first message, 1-50000 characters.
91307
+ * The first message, 1-50000 characters. May be OMITTED only on a message that carries at least one attachment — a thread opened on screenshots alone is a support request. Omit the field entirely; an empty string is refused. The title is never optional.
91308
91308
  */
91309
- body: string;
91309
+ body?: string;
91310
91310
  /**
91311
91311
  * Subject of the request, 1-500 characters.
91312
91312
  */
@@ -92296,9 +92296,9 @@ export interface OrganizationSupportThreadReplyInput {
92296
92296
  */
92297
92297
  id: string;
92298
92298
  /**
92299
- * The reply text, 1-50000 characters.
92299
+ * The reply text, 1-50000 characters. May be OMITTED only on a message that carries at least one attachment — a reply of files alone is a reply. Omit the field entirely; an empty string is refused.
92300
92300
  */
92301
- body: string;
92301
+ body?: string;
92302
92302
  /**
92303
92303
  * Files to attach, base64-encoded. Up to 10 per message, each up to 26214400 bytes (25 MiB) decoded, and at most 26214400 bytes decoded across all of them in one call. Screenshots and logs are the intended use; the whole call travels as one request.
92304
92304
  *
@@ -93234,6 +93234,332 @@ export interface OrganizationYoutubeInstallInput {
93234
93234
  export interface OrganizationYoutubeInstallOutput {
93235
93235
  url: string;
93236
93236
  }
93237
+ export interface PlaygroundAnalyticsOverviewInput {
93238
+ /**
93239
+ * Max records per entity in recent[]; omit for the endpoint default
93240
+ */
93241
+ limit?: number;
93242
+ }
93243
+ export interface PlaygroundAnalyticsOverviewOutput {
93244
+ ok: boolean;
93245
+ minted: boolean;
93246
+ overview?: unknown;
93247
+ http_status: number;
93248
+ }
93249
+ export interface PlaygroundBillingEntitlementsInput {
93250
+ }
93251
+ export interface PlaygroundBillingEntitlementsOutput {
93252
+ ok: boolean;
93253
+ minted: boolean;
93254
+ http_status: number;
93255
+ entitlements?: unknown;
93256
+ }
93257
+ export interface PlaygroundBillingRecordUsageInput {
93258
+ /**
93259
+ * Quantity of events to record against playground-events (SUM); defaults to 1
93260
+ */
93261
+ value?: number;
93262
+ }
93263
+ export interface PlaygroundBillingRecordUsageOutput {
93264
+ minted: boolean;
93265
+ accepted: (number | null);
93266
+ recorded: boolean;
93267
+ duplicates: (number | null);
93268
+ http_status: number;
93269
+ }
93270
+ export interface PlaygroundClickupCreateTaskInput {
93271
+ /**
93272
+ * Task title; defaults to a fixture label
93273
+ */
93274
+ name?: string;
93275
+ /**
93276
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
93277
+ */
93278
+ listId?: string;
93279
+ }
93280
+ export interface PlaygroundClickupCreateTaskOutput {
93281
+ minted: boolean;
93282
+ task_id: (string | null);
93283
+ list_status: number;
93284
+ vend_status: number;
93285
+ clickup_status: number;
93286
+ installation_count: number;
93287
+ }
93288
+ export interface PlaygroundClickupGetLastWebhookInput {
93289
+ }
93290
+ export type PlaygroundClickupGetLastWebhookOutput = ({
93291
+ payload: string;
93292
+ event_id: string;
93293
+ provider: string;
93294
+ verified: boolean;
93295
+ product_id: string;
93296
+ occurred_at: string;
93297
+ connector_id: string;
93298
+ clickup_event: (string | null);
93299
+ receipt_count: number;
93300
+ } | {
93301
+ found: false;
93302
+ });
93303
+ export interface PlaygroundClickupGetOverviewInput {
93304
+ }
93305
+ export interface PlaygroundClickupGetOverviewOutput {
93306
+ team: ({
93307
+ teamId: string;
93308
+ teamName: string;
93309
+ } | null);
93310
+ lists: PlaygroundClickupGetOverviewOutputItems[];
93311
+ tasks: {
93312
+ id: string;
93313
+ name: string;
93314
+ status: (string | null);
93315
+ }[];
93316
+ minted: boolean;
93317
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
93318
+ list_status: number;
93319
+ vend_status: number;
93320
+ lists_status: number;
93321
+ tasks_status: number;
93322
+ spaces_status: number;
93323
+ folders_status: number;
93324
+ installation_count: number;
93325
+ }
93326
+ export interface PlaygroundClickupGetOverviewOutputItems {
93327
+ id: string;
93328
+ name: string;
93329
+ }
93330
+ export interface PlaygroundEchoPingInput {
93331
+ /**
93332
+ * The text to echo back, 1–1024 characters
93333
+ */
93334
+ message: string;
93335
+ }
93336
+ export interface PlaygroundEchoPingOutput {
93337
+ /**
93338
+ * The message exactly as it was received
93339
+ */
93340
+ message: string;
93341
+ /**
93342
+ * The product the call was resolved to
93343
+ */
93344
+ productId: string;
93345
+ /**
93346
+ * ISO-8601 instant (UTC) at which the call reached the service
93347
+ */
93348
+ receivedAt: string;
93349
+ }
93350
+ export interface PlaygroundGdriveGetLastChangeInput {
93351
+ }
93352
+ export type PlaygroundGdriveGetLastChangeOutput = ({
93353
+ file_id: string;
93354
+ removed: boolean;
93355
+ file_name: (string | null);
93356
+ mime_type: (string | null);
93357
+ product_id: string;
93358
+ occurred_at: string;
93359
+ connector_id: string;
93360
+ resource_state: string;
93361
+ } | {
93362
+ found: false;
93363
+ });
93364
+ export interface PlaygroundGdriveReadFileInput {
93365
+ /**
93366
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
93367
+ */
93368
+ fileId?: string;
93369
+ }
93370
+ export interface PlaygroundGdriveReadFileOutput {
93371
+ minted: boolean;
93372
+ file_id: (string | null);
93373
+ file_name: (string | null);
93374
+ mime_type: (string | null);
93375
+ file_count: number;
93376
+ get_status: number;
93377
+ list_status: number;
93378
+ vend_status: number;
93379
+ content_bytes: (number | null);
93380
+ }
93381
+ export interface PlaygroundGoogleadsReadCustomerInput {
93382
+ }
93383
+ export interface PlaygroundGoogleadsReadCustomerOutput {
93384
+ minted: boolean;
93385
+ vended: boolean;
93386
+ customer_id: (string | null);
93387
+ vend_status: number;
93388
+ result_count: number;
93389
+ search_status: number;
93390
+ login_customer_id: (string | null);
93391
+ }
93392
+ export interface PlaygroundLifecycleGetStateInput {
93393
+ }
93394
+ export interface PlaygroundLifecycleGetStateOutput {
93395
+ blocked: boolean;
93396
+ archived: boolean;
93397
+ productId: string;
93398
+ lastBlockTransition: ({
93399
+ eventId: string;
93400
+ eventName: string;
93401
+ productId: string;
93402
+ occurredAt: string;
93403
+ recordedAt: string;
93404
+ receiptCount: number;
93405
+ organizationId: string;
93406
+ cascadedFromOrg: boolean;
93407
+ } | null);
93408
+ lastArchiveTransition: ({
93409
+ eventId: string;
93410
+ eventName: string;
93411
+ productId: string;
93412
+ occurredAt: string;
93413
+ recordedAt: string;
93414
+ receiptCount: number;
93415
+ organizationId: string;
93416
+ cascadedFromOrg: boolean;
93417
+ } | null);
93418
+ }
93419
+ export interface PlaygroundLifecycleListEventsInput {
93420
+ }
93421
+ export type PlaygroundLifecycleListEventsOutput = {
93422
+ eventId: string;
93423
+ eventName: string;
93424
+ productId: string;
93425
+ occurredAt: string;
93426
+ recordedAt: string;
93427
+ receiptCount: number;
93428
+ organizationId: string;
93429
+ cascadedFromOrg: boolean;
93430
+ }[];
93431
+ export interface PlaygroundWebhookGetLastInput {
93432
+ }
93433
+ export type PlaygroundWebhookGetLastOutput = ({
93434
+ payload?: unknown;
93435
+ event_id: string;
93436
+ provider: string;
93437
+ verified: boolean;
93438
+ product_id: string;
93439
+ occurred_at: string;
93440
+ connector_id: string;
93441
+ delivery_count: number;
93442
+ } | {
93443
+ found: false;
93444
+ });
93445
+ export interface PlaygroundWorkflowEchoInput {
93446
+ /**
93447
+ * The text to store, 1–1024 characters
93448
+ */
93449
+ note: string;
93450
+ /**
93451
+ * Optional labels stored alongside the note, at most 20
93452
+ *
93453
+ * @maxItems 20
93454
+ */
93455
+ 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];
93456
+ }
93457
+ export interface PlaygroundWorkflowEchoOutput {
93458
+ /**
93459
+ * Identifier of the stored echo
93460
+ */
93461
+ id: string;
93462
+ /**
93463
+ * The note exactly as it was received
93464
+ */
93465
+ note: string;
93466
+ /**
93467
+ * The tags exactly as they were received
93468
+ */
93469
+ tags: string[];
93470
+ /**
93471
+ * 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.
93472
+ */
93473
+ echo_id: string;
93474
+ /**
93475
+ * ISO-8601 instant (UTC) at which the echo was stored
93476
+ */
93477
+ received_at: string;
93478
+ }
93479
+ export interface PlaygroundWorkflowEchoListInput {
93480
+ }
93481
+ export type PlaygroundWorkflowEchoListOutput = {
93482
+ /**
93483
+ * Identifier of the stored echo
93484
+ */
93485
+ id: string;
93486
+ /**
93487
+ * The note exactly as it was received
93488
+ */
93489
+ note: string;
93490
+ /**
93491
+ * The tags exactly as they were received
93492
+ */
93493
+ tags: string[];
93494
+ /**
93495
+ * ISO-8601 instant (UTC) at which the echo was stored
93496
+ */
93497
+ received_at: string;
93498
+ }[];
93499
+ export interface PlaygroundWorkflowPingInput {
93500
+ /**
93501
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
93502
+ */
93503
+ kind?: string;
93504
+ }
93505
+ export interface PlaygroundWorkflowPingOutput {
93506
+ /**
93507
+ * 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.
93508
+ */
93509
+ id: string;
93510
+ /**
93511
+ * The name of the event that was published
93512
+ */
93513
+ event: string;
93514
+ }
93515
+ export interface PlaygroundWorkflowSubjectsListInput {
93516
+ /**
93517
+ * How many subjects to return, 1–100. Defaults to 25.
93518
+ */
93519
+ limit?: number;
93520
+ /**
93521
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
93522
+ */
93523
+ cursor?: string;
93524
+ /**
93525
+ * 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.
93526
+ */
93527
+ last_activity_after?: string;
93528
+ /**
93529
+ * 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.
93530
+ */
93531
+ last_activity_before?: string;
93532
+ }
93533
+ export interface PlaygroundWorkflowSubjectsListOutput {
93534
+ /**
93535
+ * This page of subjects, most recently active first
93536
+ */
93537
+ items: {
93538
+ /**
93539
+ * 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.
93540
+ */
93541
+ subject_key: string;
93542
+ /**
93543
+ * Human-readable name of the subject
93544
+ */
93545
+ display_name: string;
93546
+ /**
93547
+ * ISO-8601 instant (UTC) of the subject last activity
93548
+ */
93549
+ last_activity_at: string;
93550
+ }[];
93551
+ /**
93552
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
93553
+ */
93554
+ has_more: boolean;
93555
+ /**
93556
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
93557
+ */
93558
+ next_cursor: (string | null);
93559
+ }
93560
+ export interface PlaygroundWsEchoInput {
93561
+ }
93562
+ export type PlaygroundWsEchoOutput = unknown;
93237
93563
  export interface RealtimeArchiveExportInput {
93238
93564
  /**
93239
93565
  * Only entries with ts <= to_ts (epoch ms)