@lessly/sdk-app 112.0.0 → 113.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.
@@ -40967,7 +40967,7 @@ export interface AnalyticsDashboardRunOutput {
40967
40967
  } | {
40968
40968
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
40969
40969
  });
40970
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
40970
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
40971
40971
  formula?: (string | null);
40972
40972
  /**
40973
40973
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -79524,7 +79524,7 @@ export interface AnalyticsDashboardTileRunOutput {
79524
79524
  } | {
79525
79525
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
79526
79526
  });
79527
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
79527
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
79528
79528
  formula?: (string | null);
79529
79529
  /**
79530
79530
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -119776,9 +119776,9 @@ export interface AnalyticsInsightCreateInput {
119776
119776
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
119777
119777
  });
119778
119778
  /**
119779
- * How to show the insight. Defaults to steps for a funnel insight, line otherwise. steps is for a funnel only; pivot is a table of rows per group value across series
119779
+ * How to show the insight. Defaults to steps for a funnel insight, line otherwise. steps is for a funnel only; facts is for kind number only; pivot is a table of rows per group value across series
119780
119780
  */
119781
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
119781
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
119782
119782
  formula?: (string | null);
119783
119783
  /**
119784
119784
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -157514,7 +157514,7 @@ export interface AnalyticsInsightCreateOutput {
157514
157514
  } | {
157515
157515
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
157516
157516
  });
157517
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
157517
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
157518
157518
  formula?: (string | null);
157519
157519
  /**
157520
157520
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -195275,7 +195275,7 @@ export interface AnalyticsInsightGetOutput {
195275
195275
  } | {
195276
195276
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
195277
195277
  });
195278
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
195278
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
195279
195279
  formula?: (string | null);
195280
195280
  /**
195281
195281
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -233026,7 +233026,7 @@ export interface AnalyticsInsightListOutput {
233026
233026
  } | {
233027
233027
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
233028
233028
  });
233029
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
233029
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
233030
233030
  formula?: (string | null);
233031
233031
  /**
233032
233032
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -270589,7 +270589,7 @@ export interface AnalyticsInsightRunOutput {
270589
270589
  } | {
270590
270590
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
270591
270591
  });
270592
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
270592
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
270593
270593
  formula?: (string | null);
270594
270594
  /**
270595
270595
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -308096,7 +308096,7 @@ export interface AnalyticsInsightUpdateInput {
308096
308096
  } | {
308097
308097
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
308098
308098
  });
308099
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
308099
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
308100
308100
  formula?: (string | null);
308101
308101
  /**
308102
308102
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -345829,7 +345829,7 @@ export interface AnalyticsInsightUpdateOutput {
345829
345829
  } | {
345830
345830
  relative: ("last_7d" | "last_30d" | "last_90d" | "cycle");
345831
345831
  });
345832
- display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
345832
+ display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts");
345833
345833
  formula?: (string | null);
345834
345834
  /**
345835
345835
  * Up to four named formulas over the series keys, each its own column or line; use instead of formula
@@ -388192,6 +388192,332 @@ export interface OrganizationYoutubeInstallInput {
388192
388192
  export interface OrganizationYoutubeInstallOutput {
388193
388193
  url: string;
388194
388194
  }
388195
+ export interface PlaygroundAnalyticsOverviewInput {
388196
+ /**
388197
+ * Max records per entity in recent[]; omit for the endpoint default
388198
+ */
388199
+ limit?: number;
388200
+ }
388201
+ export interface PlaygroundAnalyticsOverviewOutput {
388202
+ ok: boolean;
388203
+ minted: boolean;
388204
+ overview?: unknown;
388205
+ http_status: number;
388206
+ }
388207
+ export interface PlaygroundBillingEntitlementsInput {
388208
+ }
388209
+ export interface PlaygroundBillingEntitlementsOutput {
388210
+ ok: boolean;
388211
+ minted: boolean;
388212
+ http_status: number;
388213
+ entitlements?: unknown;
388214
+ }
388215
+ export interface PlaygroundBillingRecordUsageInput {
388216
+ /**
388217
+ * Quantity of events to record against playground-events (SUM); defaults to 1
388218
+ */
388219
+ value?: number;
388220
+ }
388221
+ export interface PlaygroundBillingRecordUsageOutput {
388222
+ minted: boolean;
388223
+ accepted: (number | null);
388224
+ recorded: boolean;
388225
+ duplicates: (number | null);
388226
+ http_status: number;
388227
+ }
388228
+ export interface PlaygroundClickupCreateTaskInput {
388229
+ /**
388230
+ * Task title; defaults to a fixture label
388231
+ */
388232
+ name?: string;
388233
+ /**
388234
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
388235
+ */
388236
+ listId?: string;
388237
+ }
388238
+ export interface PlaygroundClickupCreateTaskOutput {
388239
+ minted: boolean;
388240
+ task_id: (string | null);
388241
+ list_status: number;
388242
+ vend_status: number;
388243
+ clickup_status: number;
388244
+ installation_count: number;
388245
+ }
388246
+ export interface PlaygroundClickupGetLastWebhookInput {
388247
+ }
388248
+ export type PlaygroundClickupGetLastWebhookOutput = ({
388249
+ payload: string;
388250
+ event_id: string;
388251
+ provider: string;
388252
+ verified: boolean;
388253
+ product_id: string;
388254
+ occurred_at: string;
388255
+ connector_id: string;
388256
+ clickup_event: (string | null);
388257
+ receipt_count: number;
388258
+ } | {
388259
+ found: false;
388260
+ });
388261
+ export interface PlaygroundClickupGetOverviewInput {
388262
+ }
388263
+ export interface PlaygroundClickupGetOverviewOutput {
388264
+ team: ({
388265
+ teamId: string;
388266
+ teamName: string;
388267
+ } | null);
388268
+ lists: PlaygroundClickupGetOverviewOutputItems[];
388269
+ tasks: {
388270
+ id: string;
388271
+ name: string;
388272
+ status: (string | null);
388273
+ }[];
388274
+ minted: boolean;
388275
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
388276
+ list_status: number;
388277
+ vend_status: number;
388278
+ lists_status: number;
388279
+ tasks_status: number;
388280
+ spaces_status: number;
388281
+ folders_status: number;
388282
+ installation_count: number;
388283
+ }
388284
+ export interface PlaygroundClickupGetOverviewOutputItems {
388285
+ id: string;
388286
+ name: string;
388287
+ }
388288
+ export interface PlaygroundEchoPingInput {
388289
+ /**
388290
+ * The text to echo back, 1–1024 characters
388291
+ */
388292
+ message: string;
388293
+ }
388294
+ export interface PlaygroundEchoPingOutput {
388295
+ /**
388296
+ * The message exactly as it was received
388297
+ */
388298
+ message: string;
388299
+ /**
388300
+ * The product the call was resolved to
388301
+ */
388302
+ productId: string;
388303
+ /**
388304
+ * ISO-8601 instant (UTC) at which the call reached the service
388305
+ */
388306
+ receivedAt: string;
388307
+ }
388308
+ export interface PlaygroundGdriveGetLastChangeInput {
388309
+ }
388310
+ export type PlaygroundGdriveGetLastChangeOutput = ({
388311
+ file_id: string;
388312
+ removed: boolean;
388313
+ file_name: (string | null);
388314
+ mime_type: (string | null);
388315
+ product_id: string;
388316
+ occurred_at: string;
388317
+ connector_id: string;
388318
+ resource_state: string;
388319
+ } | {
388320
+ found: false;
388321
+ });
388322
+ export interface PlaygroundGdriveReadFileInput {
388323
+ /**
388324
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
388325
+ */
388326
+ fileId?: string;
388327
+ }
388328
+ export interface PlaygroundGdriveReadFileOutput {
388329
+ minted: boolean;
388330
+ file_id: (string | null);
388331
+ file_name: (string | null);
388332
+ mime_type: (string | null);
388333
+ file_count: number;
388334
+ get_status: number;
388335
+ list_status: number;
388336
+ vend_status: number;
388337
+ content_bytes: (number | null);
388338
+ }
388339
+ export interface PlaygroundGoogleadsReadCustomerInput {
388340
+ }
388341
+ export interface PlaygroundGoogleadsReadCustomerOutput {
388342
+ minted: boolean;
388343
+ vended: boolean;
388344
+ customer_id: (string | null);
388345
+ vend_status: number;
388346
+ result_count: number;
388347
+ search_status: number;
388348
+ login_customer_id: (string | null);
388349
+ }
388350
+ export interface PlaygroundLifecycleGetStateInput {
388351
+ }
388352
+ export interface PlaygroundLifecycleGetStateOutput {
388353
+ blocked: boolean;
388354
+ archived: boolean;
388355
+ productId: string;
388356
+ lastBlockTransition: ({
388357
+ eventId: string;
388358
+ eventName: string;
388359
+ productId: string;
388360
+ occurredAt: string;
388361
+ recordedAt: string;
388362
+ receiptCount: number;
388363
+ organizationId: string;
388364
+ cascadedFromOrg: boolean;
388365
+ } | null);
388366
+ lastArchiveTransition: ({
388367
+ eventId: string;
388368
+ eventName: string;
388369
+ productId: string;
388370
+ occurredAt: string;
388371
+ recordedAt: string;
388372
+ receiptCount: number;
388373
+ organizationId: string;
388374
+ cascadedFromOrg: boolean;
388375
+ } | null);
388376
+ }
388377
+ export interface PlaygroundLifecycleListEventsInput {
388378
+ }
388379
+ export type PlaygroundLifecycleListEventsOutput = {
388380
+ eventId: string;
388381
+ eventName: string;
388382
+ productId: string;
388383
+ occurredAt: string;
388384
+ recordedAt: string;
388385
+ receiptCount: number;
388386
+ organizationId: string;
388387
+ cascadedFromOrg: boolean;
388388
+ }[];
388389
+ export interface PlaygroundWebhookGetLastInput {
388390
+ }
388391
+ export type PlaygroundWebhookGetLastOutput = ({
388392
+ payload?: unknown;
388393
+ event_id: string;
388394
+ provider: string;
388395
+ verified: boolean;
388396
+ product_id: string;
388397
+ occurred_at: string;
388398
+ connector_id: string;
388399
+ delivery_count: number;
388400
+ } | {
388401
+ found: false;
388402
+ });
388403
+ export interface PlaygroundWorkflowEchoInput {
388404
+ /**
388405
+ * The text to store, 1–1024 characters
388406
+ */
388407
+ note: string;
388408
+ /**
388409
+ * Optional labels stored alongside the note, at most 20
388410
+ *
388411
+ * @maxItems 20
388412
+ */
388413
+ 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];
388414
+ }
388415
+ export interface PlaygroundWorkflowEchoOutput {
388416
+ /**
388417
+ * Identifier of the stored echo
388418
+ */
388419
+ id: string;
388420
+ /**
388421
+ * The note exactly as it was received
388422
+ */
388423
+ note: string;
388424
+ /**
388425
+ * The tags exactly as they were received
388426
+ */
388427
+ tags: string[];
388428
+ /**
388429
+ * 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.
388430
+ */
388431
+ echo_id: string;
388432
+ /**
388433
+ * ISO-8601 instant (UTC) at which the echo was stored
388434
+ */
388435
+ received_at: string;
388436
+ }
388437
+ export interface PlaygroundWorkflowEchoListInput {
388438
+ }
388439
+ export type PlaygroundWorkflowEchoListOutput = {
388440
+ /**
388441
+ * Identifier of the stored echo
388442
+ */
388443
+ id: string;
388444
+ /**
388445
+ * The note exactly as it was received
388446
+ */
388447
+ note: string;
388448
+ /**
388449
+ * The tags exactly as they were received
388450
+ */
388451
+ tags: string[];
388452
+ /**
388453
+ * ISO-8601 instant (UTC) at which the echo was stored
388454
+ */
388455
+ received_at: string;
388456
+ }[];
388457
+ export interface PlaygroundWorkflowPingInput {
388458
+ /**
388459
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
388460
+ */
388461
+ kind?: string;
388462
+ }
388463
+ export interface PlaygroundWorkflowPingOutput {
388464
+ /**
388465
+ * 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.
388466
+ */
388467
+ id: string;
388468
+ /**
388469
+ * The name of the event that was published
388470
+ */
388471
+ event: string;
388472
+ }
388473
+ export interface PlaygroundWorkflowSubjectsListInput {
388474
+ /**
388475
+ * How many subjects to return, 1–100. Defaults to 25.
388476
+ */
388477
+ limit?: number;
388478
+ /**
388479
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
388480
+ */
388481
+ cursor?: string;
388482
+ /**
388483
+ * 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.
388484
+ */
388485
+ last_activity_after?: string;
388486
+ /**
388487
+ * 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.
388488
+ */
388489
+ last_activity_before?: string;
388490
+ }
388491
+ export interface PlaygroundWorkflowSubjectsListOutput {
388492
+ /**
388493
+ * This page of subjects, most recently active first
388494
+ */
388495
+ items: {
388496
+ /**
388497
+ * 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.
388498
+ */
388499
+ subject_key: string;
388500
+ /**
388501
+ * Human-readable name of the subject
388502
+ */
388503
+ display_name: string;
388504
+ /**
388505
+ * ISO-8601 instant (UTC) of the subject last activity
388506
+ */
388507
+ last_activity_at: string;
388508
+ }[];
388509
+ /**
388510
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
388511
+ */
388512
+ has_more: boolean;
388513
+ /**
388514
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
388515
+ */
388516
+ next_cursor: (string | null);
388517
+ }
388518
+ export interface PlaygroundWsEchoInput {
388519
+ }
388520
+ export type PlaygroundWsEchoOutput = unknown;
388195
388521
  export interface RealtimeArchiveExportInput {
388196
388522
  /**
388197
388523
  * Only entries with ts <= to_ts (epoch ms)