@lessly/sdk-app 74.3.0 → 74.4.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.
@@ -91303,88 +91303,1924 @@ export interface OrganizationSelectOutput {
91303
91303
  activeProductId: (string | null);
91304
91304
  }
91305
91305
  export interface OrganizationSupportThreadCreateInput {
91306
+ /**
91307
+ * The first message, 1-50000 characters.
91308
+ */
91306
91309
  body: string;
91310
+ /**
91311
+ * Subject of the request, 1-500 characters.
91312
+ */
91307
91313
  title: string;
91308
- }
91309
- export interface OrganizationSupportThreadCreateOutput {
91310
- id: string;
91311
- title: string;
91312
- legacy: boolean;
91313
- status: string;
91314
- category: ("open" | "pending" | "resolved" | "closed");
91315
- messages: {
91316
- id: string;
91317
- body: string;
91318
- author: {
91319
- kind: ("user" | "agent");
91320
- name: string;
91321
- };
91322
- createdAt: string;
91323
- }[];
91324
- createdAt: string;
91325
- openedByName: string;
91326
- lastMessageAt: string;
91327
- lastMessagePreview: (string | null);
91328
- }
91329
- export interface OrganizationSupportThreadGetInput {
91330
- id: string;
91331
- }
91332
- export interface OrganizationSupportThreadGetOutput {
91333
- id: string;
91334
- title: string;
91335
- legacy: boolean;
91336
- status: string;
91337
- category: ("open" | "pending" | "resolved" | "closed");
91338
- messages: {
91339
- id: string;
91340
- body: string;
91341
- author: {
91342
- kind: ("user" | "agent");
91343
- name: string;
91344
- };
91345
- createdAt: string;
91346
- }[];
91347
- createdAt: string;
91348
- openedByName: string;
91349
- lastMessageAt: string;
91350
- lastMessagePreview: (string | null);
91351
- }
91352
- export interface OrganizationSupportThreadReplyInput {
91353
- id: string;
91354
- body: string;
91314
+ /**
91315
+ * 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.
91316
+ *
91317
+ * @maxItems 10
91318
+ */
91319
+ attachments?: [] | [
91320
+ {
91321
+ /**
91322
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91323
+ */
91324
+ fileName: string;
91325
+ /**
91326
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91327
+ */
91328
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91329
+ /**
91330
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91331
+ */
91332
+ contentBase64: string;
91333
+ }
91334
+ ] | [
91335
+ {
91336
+ /**
91337
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91338
+ */
91339
+ fileName: string;
91340
+ /**
91341
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91342
+ */
91343
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91344
+ /**
91345
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91346
+ */
91347
+ contentBase64: string;
91348
+ },
91349
+ {
91350
+ /**
91351
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91352
+ */
91353
+ fileName: string;
91354
+ /**
91355
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91356
+ */
91357
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91358
+ /**
91359
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91360
+ */
91361
+ contentBase64: string;
91362
+ }
91363
+ ] | [
91364
+ {
91365
+ /**
91366
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91367
+ */
91368
+ fileName: string;
91369
+ /**
91370
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91371
+ */
91372
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91373
+ /**
91374
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91375
+ */
91376
+ contentBase64: string;
91377
+ },
91378
+ {
91379
+ /**
91380
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91381
+ */
91382
+ fileName: string;
91383
+ /**
91384
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91385
+ */
91386
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91387
+ /**
91388
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91389
+ */
91390
+ contentBase64: string;
91391
+ },
91392
+ {
91393
+ /**
91394
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91395
+ */
91396
+ fileName: string;
91397
+ /**
91398
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91399
+ */
91400
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91401
+ /**
91402
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91403
+ */
91404
+ contentBase64: string;
91405
+ }
91406
+ ] | [
91407
+ {
91408
+ /**
91409
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91410
+ */
91411
+ fileName: string;
91412
+ /**
91413
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91414
+ */
91415
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91416
+ /**
91417
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91418
+ */
91419
+ contentBase64: string;
91420
+ },
91421
+ {
91422
+ /**
91423
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91424
+ */
91425
+ fileName: string;
91426
+ /**
91427
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91428
+ */
91429
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91430
+ /**
91431
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91432
+ */
91433
+ contentBase64: string;
91434
+ },
91435
+ {
91436
+ /**
91437
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91438
+ */
91439
+ fileName: string;
91440
+ /**
91441
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91442
+ */
91443
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91444
+ /**
91445
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91446
+ */
91447
+ contentBase64: string;
91448
+ },
91449
+ {
91450
+ /**
91451
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91452
+ */
91453
+ fileName: string;
91454
+ /**
91455
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91456
+ */
91457
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91458
+ /**
91459
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91460
+ */
91461
+ contentBase64: string;
91462
+ }
91463
+ ] | [
91464
+ {
91465
+ /**
91466
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91467
+ */
91468
+ fileName: string;
91469
+ /**
91470
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91471
+ */
91472
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91473
+ /**
91474
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91475
+ */
91476
+ contentBase64: string;
91477
+ },
91478
+ {
91479
+ /**
91480
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91481
+ */
91482
+ fileName: string;
91483
+ /**
91484
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91485
+ */
91486
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91487
+ /**
91488
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91489
+ */
91490
+ contentBase64: string;
91491
+ },
91492
+ {
91493
+ /**
91494
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91495
+ */
91496
+ fileName: string;
91497
+ /**
91498
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91499
+ */
91500
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91501
+ /**
91502
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91503
+ */
91504
+ contentBase64: string;
91505
+ },
91506
+ {
91507
+ /**
91508
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91509
+ */
91510
+ fileName: string;
91511
+ /**
91512
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91513
+ */
91514
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91515
+ /**
91516
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91517
+ */
91518
+ contentBase64: string;
91519
+ },
91520
+ {
91521
+ /**
91522
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91523
+ */
91524
+ fileName: string;
91525
+ /**
91526
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91527
+ */
91528
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91529
+ /**
91530
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91531
+ */
91532
+ contentBase64: string;
91533
+ }
91534
+ ] | [
91535
+ {
91536
+ /**
91537
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91538
+ */
91539
+ fileName: string;
91540
+ /**
91541
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91542
+ */
91543
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91544
+ /**
91545
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91546
+ */
91547
+ contentBase64: string;
91548
+ },
91549
+ {
91550
+ /**
91551
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91552
+ */
91553
+ fileName: string;
91554
+ /**
91555
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91556
+ */
91557
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91558
+ /**
91559
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91560
+ */
91561
+ contentBase64: string;
91562
+ },
91563
+ {
91564
+ /**
91565
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91566
+ */
91567
+ fileName: string;
91568
+ /**
91569
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91570
+ */
91571
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91572
+ /**
91573
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91574
+ */
91575
+ contentBase64: string;
91576
+ },
91577
+ {
91578
+ /**
91579
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91580
+ */
91581
+ fileName: string;
91582
+ /**
91583
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91584
+ */
91585
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91586
+ /**
91587
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91588
+ */
91589
+ contentBase64: string;
91590
+ },
91591
+ {
91592
+ /**
91593
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91594
+ */
91595
+ fileName: string;
91596
+ /**
91597
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91598
+ */
91599
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91600
+ /**
91601
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91602
+ */
91603
+ contentBase64: string;
91604
+ },
91605
+ {
91606
+ /**
91607
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91608
+ */
91609
+ fileName: string;
91610
+ /**
91611
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91612
+ */
91613
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91614
+ /**
91615
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91616
+ */
91617
+ contentBase64: string;
91618
+ }
91619
+ ] | [
91620
+ {
91621
+ /**
91622
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91623
+ */
91624
+ fileName: string;
91625
+ /**
91626
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91627
+ */
91628
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91629
+ /**
91630
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91631
+ */
91632
+ contentBase64: string;
91633
+ },
91634
+ {
91635
+ /**
91636
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91637
+ */
91638
+ fileName: string;
91639
+ /**
91640
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91641
+ */
91642
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91643
+ /**
91644
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91645
+ */
91646
+ contentBase64: string;
91647
+ },
91648
+ {
91649
+ /**
91650
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91651
+ */
91652
+ fileName: string;
91653
+ /**
91654
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91655
+ */
91656
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91657
+ /**
91658
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91659
+ */
91660
+ contentBase64: string;
91661
+ },
91662
+ {
91663
+ /**
91664
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91665
+ */
91666
+ fileName: string;
91667
+ /**
91668
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91669
+ */
91670
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91671
+ /**
91672
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91673
+ */
91674
+ contentBase64: string;
91675
+ },
91676
+ {
91677
+ /**
91678
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91679
+ */
91680
+ fileName: string;
91681
+ /**
91682
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91683
+ */
91684
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91685
+ /**
91686
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91687
+ */
91688
+ contentBase64: string;
91689
+ },
91690
+ {
91691
+ /**
91692
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91693
+ */
91694
+ fileName: string;
91695
+ /**
91696
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91697
+ */
91698
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91699
+ /**
91700
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91701
+ */
91702
+ contentBase64: string;
91703
+ },
91704
+ {
91705
+ /**
91706
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91707
+ */
91708
+ fileName: string;
91709
+ /**
91710
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91711
+ */
91712
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91713
+ /**
91714
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91715
+ */
91716
+ contentBase64: string;
91717
+ }
91718
+ ] | [
91719
+ {
91720
+ /**
91721
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91722
+ */
91723
+ fileName: string;
91724
+ /**
91725
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91726
+ */
91727
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91728
+ /**
91729
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91730
+ */
91731
+ contentBase64: string;
91732
+ },
91733
+ {
91734
+ /**
91735
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91736
+ */
91737
+ fileName: string;
91738
+ /**
91739
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91740
+ */
91741
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91742
+ /**
91743
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91744
+ */
91745
+ contentBase64: string;
91746
+ },
91747
+ {
91748
+ /**
91749
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91750
+ */
91751
+ fileName: string;
91752
+ /**
91753
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91754
+ */
91755
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91756
+ /**
91757
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91758
+ */
91759
+ contentBase64: string;
91760
+ },
91761
+ {
91762
+ /**
91763
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91764
+ */
91765
+ fileName: string;
91766
+ /**
91767
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91768
+ */
91769
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91770
+ /**
91771
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91772
+ */
91773
+ contentBase64: string;
91774
+ },
91775
+ {
91776
+ /**
91777
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91778
+ */
91779
+ fileName: string;
91780
+ /**
91781
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91782
+ */
91783
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91784
+ /**
91785
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91786
+ */
91787
+ contentBase64: string;
91788
+ },
91789
+ {
91790
+ /**
91791
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91792
+ */
91793
+ fileName: string;
91794
+ /**
91795
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91796
+ */
91797
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91798
+ /**
91799
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91800
+ */
91801
+ contentBase64: string;
91802
+ },
91803
+ {
91804
+ /**
91805
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91806
+ */
91807
+ fileName: string;
91808
+ /**
91809
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91810
+ */
91811
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91812
+ /**
91813
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91814
+ */
91815
+ contentBase64: string;
91816
+ },
91817
+ {
91818
+ /**
91819
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91820
+ */
91821
+ fileName: string;
91822
+ /**
91823
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91824
+ */
91825
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91826
+ /**
91827
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91828
+ */
91829
+ contentBase64: string;
91830
+ }
91831
+ ] | [
91832
+ {
91833
+ /**
91834
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91835
+ */
91836
+ fileName: string;
91837
+ /**
91838
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91839
+ */
91840
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91841
+ /**
91842
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91843
+ */
91844
+ contentBase64: string;
91845
+ },
91846
+ {
91847
+ /**
91848
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91849
+ */
91850
+ fileName: string;
91851
+ /**
91852
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91853
+ */
91854
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91855
+ /**
91856
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91857
+ */
91858
+ contentBase64: string;
91859
+ },
91860
+ {
91861
+ /**
91862
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91863
+ */
91864
+ fileName: string;
91865
+ /**
91866
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91867
+ */
91868
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91869
+ /**
91870
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91871
+ */
91872
+ contentBase64: string;
91873
+ },
91874
+ {
91875
+ /**
91876
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91877
+ */
91878
+ fileName: string;
91879
+ /**
91880
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91881
+ */
91882
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91883
+ /**
91884
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91885
+ */
91886
+ contentBase64: string;
91887
+ },
91888
+ {
91889
+ /**
91890
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91891
+ */
91892
+ fileName: string;
91893
+ /**
91894
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91895
+ */
91896
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91897
+ /**
91898
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91899
+ */
91900
+ contentBase64: string;
91901
+ },
91902
+ {
91903
+ /**
91904
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91905
+ */
91906
+ fileName: string;
91907
+ /**
91908
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91909
+ */
91910
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91911
+ /**
91912
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91913
+ */
91914
+ contentBase64: string;
91915
+ },
91916
+ {
91917
+ /**
91918
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91919
+ */
91920
+ fileName: string;
91921
+ /**
91922
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91923
+ */
91924
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91925
+ /**
91926
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91927
+ */
91928
+ contentBase64: string;
91929
+ },
91930
+ {
91931
+ /**
91932
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91933
+ */
91934
+ fileName: string;
91935
+ /**
91936
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91937
+ */
91938
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91939
+ /**
91940
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91941
+ */
91942
+ contentBase64: string;
91943
+ },
91944
+ {
91945
+ /**
91946
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91947
+ */
91948
+ fileName: string;
91949
+ /**
91950
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91951
+ */
91952
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91953
+ /**
91954
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91955
+ */
91956
+ contentBase64: string;
91957
+ }
91958
+ ] | [
91959
+ {
91960
+ /**
91961
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91962
+ */
91963
+ fileName: string;
91964
+ /**
91965
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91966
+ */
91967
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91968
+ /**
91969
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91970
+ */
91971
+ contentBase64: string;
91972
+ },
91973
+ {
91974
+ /**
91975
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91976
+ */
91977
+ fileName: string;
91978
+ /**
91979
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91980
+ */
91981
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91982
+ /**
91983
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91984
+ */
91985
+ contentBase64: string;
91986
+ },
91987
+ {
91988
+ /**
91989
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
91990
+ */
91991
+ fileName: string;
91992
+ /**
91993
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
91994
+ */
91995
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
91996
+ /**
91997
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
91998
+ */
91999
+ contentBase64: string;
92000
+ },
92001
+ {
92002
+ /**
92003
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92004
+ */
92005
+ fileName: string;
92006
+ /**
92007
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92008
+ */
92009
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92010
+ /**
92011
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92012
+ */
92013
+ contentBase64: string;
92014
+ },
92015
+ {
92016
+ /**
92017
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92018
+ */
92019
+ fileName: string;
92020
+ /**
92021
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92022
+ */
92023
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92024
+ /**
92025
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92026
+ */
92027
+ contentBase64: string;
92028
+ },
92029
+ {
92030
+ /**
92031
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92032
+ */
92033
+ fileName: string;
92034
+ /**
92035
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92036
+ */
92037
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92038
+ /**
92039
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92040
+ */
92041
+ contentBase64: string;
92042
+ },
92043
+ {
92044
+ /**
92045
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92046
+ */
92047
+ fileName: string;
92048
+ /**
92049
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92050
+ */
92051
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92052
+ /**
92053
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92054
+ */
92055
+ contentBase64: string;
92056
+ },
92057
+ {
92058
+ /**
92059
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92060
+ */
92061
+ fileName: string;
92062
+ /**
92063
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92064
+ */
92065
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92066
+ /**
92067
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92068
+ */
92069
+ contentBase64: string;
92070
+ },
92071
+ {
92072
+ /**
92073
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92074
+ */
92075
+ fileName: string;
92076
+ /**
92077
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92078
+ */
92079
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92080
+ /**
92081
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92082
+ */
92083
+ contentBase64: string;
92084
+ },
92085
+ {
92086
+ /**
92087
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92088
+ */
92089
+ fileName: string;
92090
+ /**
92091
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92092
+ */
92093
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92094
+ /**
92095
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92096
+ */
92097
+ contentBase64: string;
92098
+ }
92099
+ ];
92100
+ }
92101
+ export interface OrganizationSupportThreadCreateOutput {
92102
+ /**
92103
+ * Thread uuid.
92104
+ */
92105
+ id: string;
92106
+ /**
92107
+ * Subject of the request, e.g. "Billing export fails".
92108
+ */
92109
+ title: string;
92110
+ /**
92111
+ * True for a PERSONAL thread opened before support became organization-owned. Such threads stay visible to their own author alone and cannot be migrated.
92112
+ */
92113
+ legacy: boolean;
92114
+ /**
92115
+ * The status NAME the product chose, e.g. "In progress" — display text, not an id.
92116
+ */
92117
+ status: string;
92118
+ /**
92119
+ * The lifecycle bucket behind that status.
92120
+ */
92121
+ category: ("open" | "pending" | "resolved" | "closed");
92122
+ /**
92123
+ * The whole conversation, oldest message first.
92124
+ */
92125
+ messages: {
92126
+ /**
92127
+ * Message uuid.
92128
+ */
92129
+ id: string;
92130
+ /**
92131
+ * The message text.
92132
+ */
92133
+ body: string;
92134
+ /**
92135
+ * Who wrote this message.
92136
+ */
92137
+ author: {
92138
+ /**
92139
+ * `user` for a colleague, `agent` for Lessly support.
92140
+ */
92141
+ kind: ("user" | "agent");
92142
+ /**
92143
+ * Display name of the author.
92144
+ */
92145
+ name: string;
92146
+ };
92147
+ /**
92148
+ * When the message was written, ISO 8601 UTC.
92149
+ */
92150
+ createdAt: string;
92151
+ /**
92152
+ * Files this message carries. ALWAYS an array — a message with no files reports `[]`.
92153
+ */
92154
+ attachments: {
92155
+ /**
92156
+ * Attachment uuid.
92157
+ */
92158
+ id: string;
92159
+ /**
92160
+ * The file name as it was uploaded, e.g. "screenshot.png".
92161
+ */
92162
+ fileName: string;
92163
+ /**
92164
+ * Size of the file in bytes.
92165
+ */
92166
+ sizeBytes: number;
92167
+ /**
92168
+ * The file's MIME type, e.g. "image/png".
92169
+ */
92170
+ contentType: string;
92171
+ /**
92172
+ * Signed, short-lived URL to GET the bytes from. Re-issued on every read of the thread — follow it now rather than storing it.
92173
+ */
92174
+ downloadUrl: string;
92175
+ }[];
92176
+ }[];
92177
+ /**
92178
+ * When the thread was opened, ISO 8601 UTC.
92179
+ */
92180
+ createdAt: string;
92181
+ /**
92182
+ * Name of the colleague who opened the thread. Never null — an unresolvable opener falls back to a placeholder.
92183
+ */
92184
+ openedByName: string;
92185
+ /**
92186
+ * When the thread last moved, ISO 8601 UTC. A thread with no replies reports its own creation.
92187
+ */
92188
+ lastMessageAt: string;
92189
+ /**
92190
+ * First 140 characters of the last message, or null when the thread has none.
92191
+ */
92192
+ lastMessagePreview: (string | null);
92193
+ }
92194
+ export interface OrganizationSupportThreadGetInput {
92195
+ /**
92196
+ * Thread uuid, from `organization_support_threads_list`.
92197
+ */
92198
+ id: string;
92199
+ }
92200
+ export interface OrganizationSupportThreadGetOutput {
92201
+ /**
92202
+ * Thread uuid.
92203
+ */
92204
+ id: string;
92205
+ /**
92206
+ * Subject of the request, e.g. "Billing export fails".
92207
+ */
92208
+ title: string;
92209
+ /**
92210
+ * True for a PERSONAL thread opened before support became organization-owned. Such threads stay visible to their own author alone and cannot be migrated.
92211
+ */
92212
+ legacy: boolean;
92213
+ /**
92214
+ * The status NAME the product chose, e.g. "In progress" — display text, not an id.
92215
+ */
92216
+ status: string;
92217
+ /**
92218
+ * The lifecycle bucket behind that status.
92219
+ */
92220
+ category: ("open" | "pending" | "resolved" | "closed");
92221
+ /**
92222
+ * The whole conversation, oldest message first.
92223
+ */
92224
+ messages: {
92225
+ /**
92226
+ * Message uuid.
92227
+ */
92228
+ id: string;
92229
+ /**
92230
+ * The message text.
92231
+ */
92232
+ body: string;
92233
+ /**
92234
+ * Who wrote this message.
92235
+ */
92236
+ author: {
92237
+ /**
92238
+ * `user` for a colleague, `agent` for Lessly support.
92239
+ */
92240
+ kind: ("user" | "agent");
92241
+ /**
92242
+ * Display name of the author.
92243
+ */
92244
+ name: string;
92245
+ };
92246
+ /**
92247
+ * When the message was written, ISO 8601 UTC.
92248
+ */
92249
+ createdAt: string;
92250
+ /**
92251
+ * Files this message carries. ALWAYS an array — a message with no files reports `[]`.
92252
+ */
92253
+ attachments: {
92254
+ /**
92255
+ * Attachment uuid.
92256
+ */
92257
+ id: string;
92258
+ /**
92259
+ * The file name as it was uploaded, e.g. "screenshot.png".
92260
+ */
92261
+ fileName: string;
92262
+ /**
92263
+ * Size of the file in bytes.
92264
+ */
92265
+ sizeBytes: number;
92266
+ /**
92267
+ * The file's MIME type, e.g. "image/png".
92268
+ */
92269
+ contentType: string;
92270
+ /**
92271
+ * Signed, short-lived URL to GET the bytes from. Re-issued on every read of the thread — follow it now rather than storing it.
92272
+ */
92273
+ downloadUrl: string;
92274
+ }[];
92275
+ }[];
92276
+ /**
92277
+ * When the thread was opened, ISO 8601 UTC.
92278
+ */
92279
+ createdAt: string;
92280
+ /**
92281
+ * Name of the colleague who opened the thread. Never null — an unresolvable opener falls back to a placeholder.
92282
+ */
92283
+ openedByName: string;
92284
+ /**
92285
+ * When the thread last moved, ISO 8601 UTC. A thread with no replies reports its own creation.
92286
+ */
92287
+ lastMessageAt: string;
92288
+ /**
92289
+ * First 140 characters of the last message, or null when the thread has none.
92290
+ */
92291
+ lastMessagePreview: (string | null);
92292
+ }
92293
+ export interface OrganizationSupportThreadReplyInput {
92294
+ /**
92295
+ * Thread uuid to reply in.
92296
+ */
92297
+ id: string;
92298
+ /**
92299
+ * The reply text, 1-50000 characters.
92300
+ */
92301
+ body: string;
92302
+ /**
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
+ *
92305
+ * @maxItems 10
92306
+ */
92307
+ attachments?: [] | [
92308
+ {
92309
+ /**
92310
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92311
+ */
92312
+ fileName: string;
92313
+ /**
92314
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92315
+ */
92316
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92317
+ /**
92318
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92319
+ */
92320
+ contentBase64: string;
92321
+ }
92322
+ ] | [
92323
+ {
92324
+ /**
92325
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92326
+ */
92327
+ fileName: string;
92328
+ /**
92329
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92330
+ */
92331
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92332
+ /**
92333
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92334
+ */
92335
+ contentBase64: string;
92336
+ },
92337
+ {
92338
+ /**
92339
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92340
+ */
92341
+ fileName: string;
92342
+ /**
92343
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92344
+ */
92345
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92346
+ /**
92347
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92348
+ */
92349
+ contentBase64: string;
92350
+ }
92351
+ ] | [
92352
+ {
92353
+ /**
92354
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92355
+ */
92356
+ fileName: string;
92357
+ /**
92358
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92359
+ */
92360
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92361
+ /**
92362
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92363
+ */
92364
+ contentBase64: string;
92365
+ },
92366
+ {
92367
+ /**
92368
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92369
+ */
92370
+ fileName: string;
92371
+ /**
92372
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92373
+ */
92374
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92375
+ /**
92376
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92377
+ */
92378
+ contentBase64: string;
92379
+ },
92380
+ {
92381
+ /**
92382
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92383
+ */
92384
+ fileName: string;
92385
+ /**
92386
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92387
+ */
92388
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92389
+ /**
92390
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92391
+ */
92392
+ contentBase64: string;
92393
+ }
92394
+ ] | [
92395
+ {
92396
+ /**
92397
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92398
+ */
92399
+ fileName: string;
92400
+ /**
92401
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92402
+ */
92403
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92404
+ /**
92405
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92406
+ */
92407
+ contentBase64: string;
92408
+ },
92409
+ {
92410
+ /**
92411
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92412
+ */
92413
+ fileName: string;
92414
+ /**
92415
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92416
+ */
92417
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92418
+ /**
92419
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92420
+ */
92421
+ contentBase64: string;
92422
+ },
92423
+ {
92424
+ /**
92425
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92426
+ */
92427
+ fileName: string;
92428
+ /**
92429
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92430
+ */
92431
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92432
+ /**
92433
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92434
+ */
92435
+ contentBase64: string;
92436
+ },
92437
+ {
92438
+ /**
92439
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92440
+ */
92441
+ fileName: string;
92442
+ /**
92443
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92444
+ */
92445
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92446
+ /**
92447
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92448
+ */
92449
+ contentBase64: string;
92450
+ }
92451
+ ] | [
92452
+ {
92453
+ /**
92454
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92455
+ */
92456
+ fileName: string;
92457
+ /**
92458
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92459
+ */
92460
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92461
+ /**
92462
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92463
+ */
92464
+ contentBase64: string;
92465
+ },
92466
+ {
92467
+ /**
92468
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92469
+ */
92470
+ fileName: string;
92471
+ /**
92472
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92473
+ */
92474
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92475
+ /**
92476
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92477
+ */
92478
+ contentBase64: string;
92479
+ },
92480
+ {
92481
+ /**
92482
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92483
+ */
92484
+ fileName: string;
92485
+ /**
92486
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92487
+ */
92488
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92489
+ /**
92490
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92491
+ */
92492
+ contentBase64: string;
92493
+ },
92494
+ {
92495
+ /**
92496
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92497
+ */
92498
+ fileName: string;
92499
+ /**
92500
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92501
+ */
92502
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92503
+ /**
92504
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92505
+ */
92506
+ contentBase64: string;
92507
+ },
92508
+ {
92509
+ /**
92510
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92511
+ */
92512
+ fileName: string;
92513
+ /**
92514
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92515
+ */
92516
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92517
+ /**
92518
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92519
+ */
92520
+ contentBase64: string;
92521
+ }
92522
+ ] | [
92523
+ {
92524
+ /**
92525
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92526
+ */
92527
+ fileName: string;
92528
+ /**
92529
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92530
+ */
92531
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92532
+ /**
92533
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92534
+ */
92535
+ contentBase64: string;
92536
+ },
92537
+ {
92538
+ /**
92539
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92540
+ */
92541
+ fileName: string;
92542
+ /**
92543
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92544
+ */
92545
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92546
+ /**
92547
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92548
+ */
92549
+ contentBase64: string;
92550
+ },
92551
+ {
92552
+ /**
92553
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92554
+ */
92555
+ fileName: string;
92556
+ /**
92557
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92558
+ */
92559
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92560
+ /**
92561
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92562
+ */
92563
+ contentBase64: string;
92564
+ },
92565
+ {
92566
+ /**
92567
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92568
+ */
92569
+ fileName: string;
92570
+ /**
92571
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92572
+ */
92573
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92574
+ /**
92575
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92576
+ */
92577
+ contentBase64: string;
92578
+ },
92579
+ {
92580
+ /**
92581
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92582
+ */
92583
+ fileName: string;
92584
+ /**
92585
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92586
+ */
92587
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92588
+ /**
92589
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92590
+ */
92591
+ contentBase64: string;
92592
+ },
92593
+ {
92594
+ /**
92595
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92596
+ */
92597
+ fileName: string;
92598
+ /**
92599
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92600
+ */
92601
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92602
+ /**
92603
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92604
+ */
92605
+ contentBase64: string;
92606
+ }
92607
+ ] | [
92608
+ {
92609
+ /**
92610
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92611
+ */
92612
+ fileName: string;
92613
+ /**
92614
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92615
+ */
92616
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92617
+ /**
92618
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92619
+ */
92620
+ contentBase64: string;
92621
+ },
92622
+ {
92623
+ /**
92624
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92625
+ */
92626
+ fileName: string;
92627
+ /**
92628
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92629
+ */
92630
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92631
+ /**
92632
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92633
+ */
92634
+ contentBase64: string;
92635
+ },
92636
+ {
92637
+ /**
92638
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92639
+ */
92640
+ fileName: string;
92641
+ /**
92642
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92643
+ */
92644
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92645
+ /**
92646
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92647
+ */
92648
+ contentBase64: string;
92649
+ },
92650
+ {
92651
+ /**
92652
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92653
+ */
92654
+ fileName: string;
92655
+ /**
92656
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92657
+ */
92658
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92659
+ /**
92660
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92661
+ */
92662
+ contentBase64: string;
92663
+ },
92664
+ {
92665
+ /**
92666
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92667
+ */
92668
+ fileName: string;
92669
+ /**
92670
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92671
+ */
92672
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92673
+ /**
92674
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92675
+ */
92676
+ contentBase64: string;
92677
+ },
92678
+ {
92679
+ /**
92680
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92681
+ */
92682
+ fileName: string;
92683
+ /**
92684
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92685
+ */
92686
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92687
+ /**
92688
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92689
+ */
92690
+ contentBase64: string;
92691
+ },
92692
+ {
92693
+ /**
92694
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92695
+ */
92696
+ fileName: string;
92697
+ /**
92698
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92699
+ */
92700
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92701
+ /**
92702
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92703
+ */
92704
+ contentBase64: string;
92705
+ }
92706
+ ] | [
92707
+ {
92708
+ /**
92709
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92710
+ */
92711
+ fileName: string;
92712
+ /**
92713
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92714
+ */
92715
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92716
+ /**
92717
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92718
+ */
92719
+ contentBase64: string;
92720
+ },
92721
+ {
92722
+ /**
92723
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92724
+ */
92725
+ fileName: string;
92726
+ /**
92727
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92728
+ */
92729
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92730
+ /**
92731
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92732
+ */
92733
+ contentBase64: string;
92734
+ },
92735
+ {
92736
+ /**
92737
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92738
+ */
92739
+ fileName: string;
92740
+ /**
92741
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92742
+ */
92743
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92744
+ /**
92745
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92746
+ */
92747
+ contentBase64: string;
92748
+ },
92749
+ {
92750
+ /**
92751
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92752
+ */
92753
+ fileName: string;
92754
+ /**
92755
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92756
+ */
92757
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92758
+ /**
92759
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92760
+ */
92761
+ contentBase64: string;
92762
+ },
92763
+ {
92764
+ /**
92765
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92766
+ */
92767
+ fileName: string;
92768
+ /**
92769
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92770
+ */
92771
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92772
+ /**
92773
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92774
+ */
92775
+ contentBase64: string;
92776
+ },
92777
+ {
92778
+ /**
92779
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92780
+ */
92781
+ fileName: string;
92782
+ /**
92783
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92784
+ */
92785
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92786
+ /**
92787
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92788
+ */
92789
+ contentBase64: string;
92790
+ },
92791
+ {
92792
+ /**
92793
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92794
+ */
92795
+ fileName: string;
92796
+ /**
92797
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92798
+ */
92799
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92800
+ /**
92801
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92802
+ */
92803
+ contentBase64: string;
92804
+ },
92805
+ {
92806
+ /**
92807
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92808
+ */
92809
+ fileName: string;
92810
+ /**
92811
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92812
+ */
92813
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92814
+ /**
92815
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92816
+ */
92817
+ contentBase64: string;
92818
+ }
92819
+ ] | [
92820
+ {
92821
+ /**
92822
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92823
+ */
92824
+ fileName: string;
92825
+ /**
92826
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92827
+ */
92828
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92829
+ /**
92830
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92831
+ */
92832
+ contentBase64: string;
92833
+ },
92834
+ {
92835
+ /**
92836
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92837
+ */
92838
+ fileName: string;
92839
+ /**
92840
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92841
+ */
92842
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92843
+ /**
92844
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92845
+ */
92846
+ contentBase64: string;
92847
+ },
92848
+ {
92849
+ /**
92850
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92851
+ */
92852
+ fileName: string;
92853
+ /**
92854
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92855
+ */
92856
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92857
+ /**
92858
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92859
+ */
92860
+ contentBase64: string;
92861
+ },
92862
+ {
92863
+ /**
92864
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92865
+ */
92866
+ fileName: string;
92867
+ /**
92868
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92869
+ */
92870
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92871
+ /**
92872
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92873
+ */
92874
+ contentBase64: string;
92875
+ },
92876
+ {
92877
+ /**
92878
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92879
+ */
92880
+ fileName: string;
92881
+ /**
92882
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92883
+ */
92884
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92885
+ /**
92886
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92887
+ */
92888
+ contentBase64: string;
92889
+ },
92890
+ {
92891
+ /**
92892
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92893
+ */
92894
+ fileName: string;
92895
+ /**
92896
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92897
+ */
92898
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92899
+ /**
92900
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92901
+ */
92902
+ contentBase64: string;
92903
+ },
92904
+ {
92905
+ /**
92906
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92907
+ */
92908
+ fileName: string;
92909
+ /**
92910
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92911
+ */
92912
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92913
+ /**
92914
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92915
+ */
92916
+ contentBase64: string;
92917
+ },
92918
+ {
92919
+ /**
92920
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92921
+ */
92922
+ fileName: string;
92923
+ /**
92924
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92925
+ */
92926
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92927
+ /**
92928
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92929
+ */
92930
+ contentBase64: string;
92931
+ },
92932
+ {
92933
+ /**
92934
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92935
+ */
92936
+ fileName: string;
92937
+ /**
92938
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92939
+ */
92940
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92941
+ /**
92942
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92943
+ */
92944
+ contentBase64: string;
92945
+ }
92946
+ ] | [
92947
+ {
92948
+ /**
92949
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92950
+ */
92951
+ fileName: string;
92952
+ /**
92953
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92954
+ */
92955
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92956
+ /**
92957
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92958
+ */
92959
+ contentBase64: string;
92960
+ },
92961
+ {
92962
+ /**
92963
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92964
+ */
92965
+ fileName: string;
92966
+ /**
92967
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92968
+ */
92969
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92970
+ /**
92971
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92972
+ */
92973
+ contentBase64: string;
92974
+ },
92975
+ {
92976
+ /**
92977
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92978
+ */
92979
+ fileName: string;
92980
+ /**
92981
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92982
+ */
92983
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92984
+ /**
92985
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
92986
+ */
92987
+ contentBase64: string;
92988
+ },
92989
+ {
92990
+ /**
92991
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
92992
+ */
92993
+ fileName: string;
92994
+ /**
92995
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
92996
+ */
92997
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
92998
+ /**
92999
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93000
+ */
93001
+ contentBase64: string;
93002
+ },
93003
+ {
93004
+ /**
93005
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
93006
+ */
93007
+ fileName: string;
93008
+ /**
93009
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
93010
+ */
93011
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
93012
+ /**
93013
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93014
+ */
93015
+ contentBase64: string;
93016
+ },
93017
+ {
93018
+ /**
93019
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
93020
+ */
93021
+ fileName: string;
93022
+ /**
93023
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
93024
+ */
93025
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
93026
+ /**
93027
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93028
+ */
93029
+ contentBase64: string;
93030
+ },
93031
+ {
93032
+ /**
93033
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
93034
+ */
93035
+ fileName: string;
93036
+ /**
93037
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
93038
+ */
93039
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
93040
+ /**
93041
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93042
+ */
93043
+ contentBase64: string;
93044
+ },
93045
+ {
93046
+ /**
93047
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
93048
+ */
93049
+ fileName: string;
93050
+ /**
93051
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
93052
+ */
93053
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
93054
+ /**
93055
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93056
+ */
93057
+ contentBase64: string;
93058
+ },
93059
+ {
93060
+ /**
93061
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
93062
+ */
93063
+ fileName: string;
93064
+ /**
93065
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
93066
+ */
93067
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
93068
+ /**
93069
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93070
+ */
93071
+ contentBase64: string;
93072
+ },
93073
+ {
93074
+ /**
93075
+ * File name to store the file under, 1-255 characters, e.g. "screenshot.png".
93076
+ */
93077
+ fileName: string;
93078
+ /**
93079
+ * MIME type of the file. Must be one of the listed types; anything else is refused.
93080
+ */
93081
+ contentType: ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/heic" | "video/mp4" | "video/webm" | "video/quicktime" | "application/pdf" | "text/plain" | "application/zip");
93082
+ /**
93083
+ * The file's bytes, base64-encoded, no data: prefix and no line breaks. At most 26214400 bytes once decoded.
93084
+ */
93085
+ contentBase64: string;
93086
+ }
93087
+ ];
91355
93088
  }
91356
93089
  export interface OrganizationSupportThreadReplyOutput {
93090
+ /**
93091
+ * Thread uuid.
93092
+ */
91357
93093
  id: string;
93094
+ /**
93095
+ * Subject of the request, e.g. "Billing export fails".
93096
+ */
91358
93097
  title: string;
93098
+ /**
93099
+ * True for a PERSONAL thread opened before support became organization-owned. Such threads stay visible to their own author alone and cannot be migrated.
93100
+ */
91359
93101
  legacy: boolean;
93102
+ /**
93103
+ * The status NAME the product chose, e.g. "In progress" — display text, not an id.
93104
+ */
91360
93105
  status: string;
93106
+ /**
93107
+ * The lifecycle bucket behind that status.
93108
+ */
91361
93109
  category: ("open" | "pending" | "resolved" | "closed");
93110
+ /**
93111
+ * The whole conversation, oldest message first.
93112
+ */
91362
93113
  messages: {
93114
+ /**
93115
+ * Message uuid.
93116
+ */
91363
93117
  id: string;
93118
+ /**
93119
+ * The message text.
93120
+ */
91364
93121
  body: string;
93122
+ /**
93123
+ * Who wrote this message.
93124
+ */
91365
93125
  author: {
93126
+ /**
93127
+ * `user` for a colleague, `agent` for Lessly support.
93128
+ */
91366
93129
  kind: ("user" | "agent");
93130
+ /**
93131
+ * Display name of the author.
93132
+ */
91367
93133
  name: string;
91368
93134
  };
93135
+ /**
93136
+ * When the message was written, ISO 8601 UTC.
93137
+ */
91369
93138
  createdAt: string;
93139
+ /**
93140
+ * Files this message carries. ALWAYS an array — a message with no files reports `[]`.
93141
+ */
93142
+ attachments: {
93143
+ /**
93144
+ * Attachment uuid.
93145
+ */
93146
+ id: string;
93147
+ /**
93148
+ * The file name as it was uploaded, e.g. "screenshot.png".
93149
+ */
93150
+ fileName: string;
93151
+ /**
93152
+ * Size of the file in bytes.
93153
+ */
93154
+ sizeBytes: number;
93155
+ /**
93156
+ * The file's MIME type, e.g. "image/png".
93157
+ */
93158
+ contentType: string;
93159
+ /**
93160
+ * Signed, short-lived URL to GET the bytes from. Re-issued on every read of the thread — follow it now rather than storing it.
93161
+ */
93162
+ downloadUrl: string;
93163
+ }[];
91370
93164
  }[];
93165
+ /**
93166
+ * When the thread was opened, ISO 8601 UTC.
93167
+ */
91371
93168
  createdAt: string;
93169
+ /**
93170
+ * Name of the colleague who opened the thread. Never null — an unresolvable opener falls back to a placeholder.
93171
+ */
91372
93172
  openedByName: string;
93173
+ /**
93174
+ * When the thread last moved, ISO 8601 UTC. A thread with no replies reports its own creation.
93175
+ */
91373
93176
  lastMessageAt: string;
93177
+ /**
93178
+ * First 140 characters of the last message, or null when the thread has none.
93179
+ */
91374
93180
  lastMessagePreview: (string | null);
91375
93181
  }
91376
93182
  export interface OrganizationSupportThreadsListInput {
91377
93183
  }
91378
93184
  export interface OrganizationSupportThreadsListOutput {
93185
+ /**
93186
+ * The threads, most recently updated first.
93187
+ */
91379
93188
  threads: {
93189
+ /**
93190
+ * Thread uuid.
93191
+ */
91380
93192
  id: string;
93193
+ /**
93194
+ * Subject of the request, e.g. "Billing export fails".
93195
+ */
91381
93196
  title: string;
93197
+ /**
93198
+ * True for a PERSONAL thread opened before support became organization-owned. Such threads stay visible to their own author alone and cannot be migrated.
93199
+ */
91382
93200
  legacy: boolean;
93201
+ /**
93202
+ * The status NAME the product chose, e.g. "In progress" — display text, not an id.
93203
+ */
91383
93204
  status: string;
93205
+ /**
93206
+ * The lifecycle bucket behind that status.
93207
+ */
91384
93208
  category: ("open" | "pending" | "resolved" | "closed");
93209
+ /**
93210
+ * When the thread was opened, ISO 8601 UTC.
93211
+ */
91385
93212
  createdAt: string;
93213
+ /**
93214
+ * Name of the colleague who opened the thread. Never null — an unresolvable opener falls back to a placeholder.
93215
+ */
91386
93216
  openedByName: string;
93217
+ /**
93218
+ * When the thread last moved, ISO 8601 UTC. A thread with no replies reports its own creation.
93219
+ */
91387
93220
  lastMessageAt: string;
93221
+ /**
93222
+ * First 140 characters of the last message, or null when the thread has none.
93223
+ */
91388
93224
  lastMessagePreview: (string | null);
91389
93225
  }[];
91390
93226
  }
@@ -91398,6 +93234,332 @@ export interface OrganizationYoutubeInstallInput {
91398
93234
  export interface OrganizationYoutubeInstallOutput {
91399
93235
  url: string;
91400
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;
91401
93563
  export interface RealtimeArchiveExportInput {
91402
93564
  /**
91403
93565
  * Only entries with ts <= to_ts (epoch ms)