@lessly/sdk-app 83.1.0 → 83.3.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.
- package/dist/_types/gen/client.gen.d.ts +9 -1
- package/dist/_types/gen/support/index.d.ts +1 -1
- package/dist/_types/gen/support/queryOptions.gen.d.ts +17 -1
- package/dist/_types/gen/types.gen.d.ts +345 -5
- package/dist/{chunk-RUEYSS2X.js → chunk-DXOFGSIL.js} +62 -2
- package/dist/chunk-DXOFGSIL.js.map +1 -0
- package/dist/index.cjs +67 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/support/index.cjs +20 -0
- package/dist/support/index.cjs.map +1 -1
- package/dist/support/index.js +17 -1
- package/dist/support/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +60 -0
- package/src/gen/client.gen.ts +16 -0
- package/src/gen/manifest.gen.ts +7 -0
- package/src/gen/support/index.ts +1 -1
- package/src/gen/support/queryOptions.gen.ts +25 -0
- package/src/gen/types.gen.ts +353 -5
- package/dist/chunk-RUEYSS2X.js.map +0 -1
package/src/gen/types.gen.ts
CHANGED
|
@@ -92280,6 +92280,101 @@ id: string
|
|
|
92280
92280
|
* The message text, byte-identical to what was stored
|
|
92281
92281
|
*/
|
|
92282
92282
|
body: string
|
|
92283
|
+
/**
|
|
92284
|
+
* ISO-8601 time of the last edit, or null when the message was never edited
|
|
92285
|
+
*/
|
|
92286
|
+
editedAt: (string | null)
|
|
92287
|
+
/**
|
|
92288
|
+
* Thread this message belongs to
|
|
92289
|
+
*/
|
|
92290
|
+
threadId: string
|
|
92291
|
+
/**
|
|
92292
|
+
* ISO-8601 creation timestamp
|
|
92293
|
+
*/
|
|
92294
|
+
createdAt: string
|
|
92295
|
+
/**
|
|
92296
|
+
* ISO-8601 time the message was deleted, or null. A deleted message stays in the thread as a placeholder: its body is empty and it carries no attachments
|
|
92297
|
+
*/
|
|
92298
|
+
deletedAt: (string | null)
|
|
92299
|
+
/**
|
|
92300
|
+
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
92301
|
+
*/
|
|
92302
|
+
direction: ("inbound" | "outbound")
|
|
92303
|
+
/**
|
|
92304
|
+
* public: part of the conversation the external end user sees. internal: a note between agents that never leaves the support contour
|
|
92305
|
+
*/
|
|
92306
|
+
visibility: ("public" | "internal")
|
|
92307
|
+
/**
|
|
92308
|
+
* Files this message carries, each with a freshly signed download URL. Empty when there are none. Attachments whose upload was never confirmed are never listed here
|
|
92309
|
+
*/
|
|
92310
|
+
attachments: {
|
|
92311
|
+
/**
|
|
92312
|
+
* Attachment id
|
|
92313
|
+
*/
|
|
92314
|
+
id: string
|
|
92315
|
+
/**
|
|
92316
|
+
* Display name of the file
|
|
92317
|
+
*/
|
|
92318
|
+
fileName: string
|
|
92319
|
+
/**
|
|
92320
|
+
* ISO-8601 timestamp of when the attachment was created
|
|
92321
|
+
*/
|
|
92322
|
+
createdAt: string
|
|
92323
|
+
/**
|
|
92324
|
+
* Size in bytes as reported by storage
|
|
92325
|
+
*/
|
|
92326
|
+
sizeBytes: number
|
|
92327
|
+
/**
|
|
92328
|
+
* MIME type of the file
|
|
92329
|
+
*/
|
|
92330
|
+
contentType: string
|
|
92331
|
+
/**
|
|
92332
|
+
* Short-lived signed URL to read the file. Re-read the message to get a fresh one
|
|
92333
|
+
*/
|
|
92334
|
+
downloadUrl: string
|
|
92335
|
+
}[]
|
|
92336
|
+
/**
|
|
92337
|
+
* The same files as a flat list of ids, in the order attachments[] has them. This is the value support_message_create takes back; attachments.0.id names only the first file
|
|
92338
|
+
*/
|
|
92339
|
+
attachmentIds: string[]
|
|
92340
|
+
/**
|
|
92341
|
+
* The agent author, or null when the external end user wrote the message
|
|
92342
|
+
*/
|
|
92343
|
+
authorAgentId: (string | null)
|
|
92344
|
+
/**
|
|
92345
|
+
* How many files this message carries, 0 when it carries none. A dot-path has no length, so this is the only way a step can branch on whether there are files at all — and a message may carry a file and no body, so it is what tells those two messages apart
|
|
92346
|
+
*/
|
|
92347
|
+
attachmentCount: number
|
|
92348
|
+
/**
|
|
92349
|
+
* The external author, or null when an agent wrote the message
|
|
92350
|
+
*/
|
|
92351
|
+
authorExternalId: (string | null)
|
|
92352
|
+
/**
|
|
92353
|
+
* The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92354
|
+
*/
|
|
92355
|
+
createdByIdentityId: (string | null)
|
|
92356
|
+
}
|
|
92357
|
+
|
|
92358
|
+
export interface SupportMessageDeleteInput {
|
|
92359
|
+
/**
|
|
92360
|
+
* Message id
|
|
92361
|
+
*/
|
|
92362
|
+
id: string
|
|
92363
|
+
}
|
|
92364
|
+
|
|
92365
|
+
export interface SupportMessageDeleteOutput {
|
|
92366
|
+
/**
|
|
92367
|
+
* Message id
|
|
92368
|
+
*/
|
|
92369
|
+
id: string
|
|
92370
|
+
/**
|
|
92371
|
+
* The message text, byte-identical to what was stored
|
|
92372
|
+
*/
|
|
92373
|
+
body: string
|
|
92374
|
+
/**
|
|
92375
|
+
* ISO-8601 time of the last edit, or null when the message was never edited
|
|
92376
|
+
*/
|
|
92377
|
+
editedAt: (string | null)
|
|
92283
92378
|
/**
|
|
92284
92379
|
* Thread this message belongs to
|
|
92285
92380
|
*/
|
|
@@ -92288,6 +92383,10 @@ threadId: string
|
|
|
92288
92383
|
* ISO-8601 creation timestamp
|
|
92289
92384
|
*/
|
|
92290
92385
|
createdAt: string
|
|
92386
|
+
/**
|
|
92387
|
+
* ISO-8601 time the message was deleted, or null. A deleted message stays in the thread as a placeholder: its body is empty and it carries no attachments
|
|
92388
|
+
*/
|
|
92389
|
+
deletedAt: (string | null)
|
|
92291
92390
|
/**
|
|
92292
92391
|
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
92293
92392
|
*/
|
|
@@ -92341,6 +92440,101 @@ attachmentCount: number
|
|
|
92341
92440
|
* The external author, or null when an agent wrote the message
|
|
92342
92441
|
*/
|
|
92343
92442
|
authorExternalId: (string | null)
|
|
92443
|
+
/**
|
|
92444
|
+
* The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92445
|
+
*/
|
|
92446
|
+
createdByIdentityId: (string | null)
|
|
92447
|
+
}
|
|
92448
|
+
|
|
92449
|
+
export interface SupportMessageDeleteAnyInput {
|
|
92450
|
+
/**
|
|
92451
|
+
* Message id
|
|
92452
|
+
*/
|
|
92453
|
+
id: string
|
|
92454
|
+
}
|
|
92455
|
+
|
|
92456
|
+
export interface SupportMessageDeleteAnyOutput {
|
|
92457
|
+
/**
|
|
92458
|
+
* Message id
|
|
92459
|
+
*/
|
|
92460
|
+
id: string
|
|
92461
|
+
/**
|
|
92462
|
+
* The message text, byte-identical to what was stored
|
|
92463
|
+
*/
|
|
92464
|
+
body: string
|
|
92465
|
+
/**
|
|
92466
|
+
* ISO-8601 time of the last edit, or null when the message was never edited
|
|
92467
|
+
*/
|
|
92468
|
+
editedAt: (string | null)
|
|
92469
|
+
/**
|
|
92470
|
+
* Thread this message belongs to
|
|
92471
|
+
*/
|
|
92472
|
+
threadId: string
|
|
92473
|
+
/**
|
|
92474
|
+
* ISO-8601 creation timestamp
|
|
92475
|
+
*/
|
|
92476
|
+
createdAt: string
|
|
92477
|
+
/**
|
|
92478
|
+
* ISO-8601 time the message was deleted, or null. A deleted message stays in the thread as a placeholder: its body is empty and it carries no attachments
|
|
92479
|
+
*/
|
|
92480
|
+
deletedAt: (string | null)
|
|
92481
|
+
/**
|
|
92482
|
+
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
92483
|
+
*/
|
|
92484
|
+
direction: ("inbound" | "outbound")
|
|
92485
|
+
/**
|
|
92486
|
+
* public: part of the conversation the external end user sees. internal: a note between agents that never leaves the support contour
|
|
92487
|
+
*/
|
|
92488
|
+
visibility: ("public" | "internal")
|
|
92489
|
+
/**
|
|
92490
|
+
* Files this message carries, each with a freshly signed download URL. Empty when there are none. Attachments whose upload was never confirmed are never listed here
|
|
92491
|
+
*/
|
|
92492
|
+
attachments: {
|
|
92493
|
+
/**
|
|
92494
|
+
* Attachment id
|
|
92495
|
+
*/
|
|
92496
|
+
id: string
|
|
92497
|
+
/**
|
|
92498
|
+
* Display name of the file
|
|
92499
|
+
*/
|
|
92500
|
+
fileName: string
|
|
92501
|
+
/**
|
|
92502
|
+
* ISO-8601 timestamp of when the attachment was created
|
|
92503
|
+
*/
|
|
92504
|
+
createdAt: string
|
|
92505
|
+
/**
|
|
92506
|
+
* Size in bytes as reported by storage
|
|
92507
|
+
*/
|
|
92508
|
+
sizeBytes: number
|
|
92509
|
+
/**
|
|
92510
|
+
* MIME type of the file
|
|
92511
|
+
*/
|
|
92512
|
+
contentType: string
|
|
92513
|
+
/**
|
|
92514
|
+
* Short-lived signed URL to read the file. Re-read the message to get a fresh one
|
|
92515
|
+
*/
|
|
92516
|
+
downloadUrl: string
|
|
92517
|
+
}[]
|
|
92518
|
+
/**
|
|
92519
|
+
* The same files as a flat list of ids, in the order attachments[] has them. This is the value support_message_create takes back; attachments.0.id names only the first file
|
|
92520
|
+
*/
|
|
92521
|
+
attachmentIds: string[]
|
|
92522
|
+
/**
|
|
92523
|
+
* The agent author, or null when the external end user wrote the message
|
|
92524
|
+
*/
|
|
92525
|
+
authorAgentId: (string | null)
|
|
92526
|
+
/**
|
|
92527
|
+
* How many files this message carries, 0 when it carries none. A dot-path has no length, so this is the only way a step can branch on whether there are files at all — and a message may carry a file and no body, so it is what tells those two messages apart
|
|
92528
|
+
*/
|
|
92529
|
+
attachmentCount: number
|
|
92530
|
+
/**
|
|
92531
|
+
* The external author, or null when an agent wrote the message
|
|
92532
|
+
*/
|
|
92533
|
+
authorExternalId: (string | null)
|
|
92534
|
+
/**
|
|
92535
|
+
* The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92536
|
+
*/
|
|
92537
|
+
createdByIdentityId: (string | null)
|
|
92344
92538
|
}
|
|
92345
92539
|
|
|
92346
92540
|
export interface SupportMessageGetInput {
|
|
@@ -92359,6 +92553,10 @@ id: string
|
|
|
92359
92553
|
* The message text, byte-identical to what was stored
|
|
92360
92554
|
*/
|
|
92361
92555
|
body: string
|
|
92556
|
+
/**
|
|
92557
|
+
* ISO-8601 time of the last edit, or null when the message was never edited
|
|
92558
|
+
*/
|
|
92559
|
+
editedAt: (string | null)
|
|
92362
92560
|
/**
|
|
92363
92561
|
* Thread this message belongs to
|
|
92364
92562
|
*/
|
|
@@ -92367,6 +92565,10 @@ threadId: string
|
|
|
92367
92565
|
* ISO-8601 creation timestamp
|
|
92368
92566
|
*/
|
|
92369
92567
|
createdAt: string
|
|
92568
|
+
/**
|
|
92569
|
+
* ISO-8601 time the message was deleted, or null. A deleted message stays in the thread as a placeholder: its body is empty and it carries no attachments
|
|
92570
|
+
*/
|
|
92571
|
+
deletedAt: (string | null)
|
|
92370
92572
|
/**
|
|
92371
92573
|
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
92372
92574
|
*/
|
|
@@ -92420,6 +92622,10 @@ attachmentCount: number
|
|
|
92420
92622
|
* The external author, or null when an agent wrote the message
|
|
92421
92623
|
*/
|
|
92422
92624
|
authorExternalId: (string | null)
|
|
92625
|
+
/**
|
|
92626
|
+
* The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92627
|
+
*/
|
|
92628
|
+
createdByIdentityId: (string | null)
|
|
92423
92629
|
}
|
|
92424
92630
|
|
|
92425
92631
|
export interface SupportMessageListInput {
|
|
@@ -92474,6 +92680,10 @@ id: string
|
|
|
92474
92680
|
* The message text, byte-identical to what was stored
|
|
92475
92681
|
*/
|
|
92476
92682
|
body: string
|
|
92683
|
+
/**
|
|
92684
|
+
* ISO-8601 time of the last edit, or null when the message was never edited
|
|
92685
|
+
*/
|
|
92686
|
+
editedAt: (string | null)
|
|
92477
92687
|
/**
|
|
92478
92688
|
* Thread this message belongs to
|
|
92479
92689
|
*/
|
|
@@ -92482,6 +92692,10 @@ threadId: string
|
|
|
92482
92692
|
* ISO-8601 creation timestamp
|
|
92483
92693
|
*/
|
|
92484
92694
|
createdAt: string
|
|
92695
|
+
/**
|
|
92696
|
+
* ISO-8601 time the message was deleted, or null. A deleted message stays in the thread as a placeholder: its body is empty and it carries no attachments
|
|
92697
|
+
*/
|
|
92698
|
+
deletedAt: (string | null)
|
|
92485
92699
|
/**
|
|
92486
92700
|
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
92487
92701
|
*/
|
|
@@ -92535,6 +92749,10 @@ attachmentCount: number
|
|
|
92535
92749
|
* The external author, or null when an agent wrote the message
|
|
92536
92750
|
*/
|
|
92537
92751
|
authorExternalId: (string | null)
|
|
92752
|
+
/**
|
|
92753
|
+
* The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92754
|
+
*/
|
|
92755
|
+
createdByIdentityId: (string | null)
|
|
92538
92756
|
}[]
|
|
92539
92757
|
/**
|
|
92540
92758
|
* Position to resume from: pass it back as cursor for the next page. Null when this page is the last one
|
|
@@ -92542,6 +92760,136 @@ authorExternalId: (string | null)
|
|
|
92542
92760
|
nextCursor: (string | null)
|
|
92543
92761
|
}
|
|
92544
92762
|
|
|
92763
|
+
export interface SupportMessageRevisionsListInput {
|
|
92764
|
+
/**
|
|
92765
|
+
* Message id
|
|
92766
|
+
*/
|
|
92767
|
+
id: string
|
|
92768
|
+
}
|
|
92769
|
+
|
|
92770
|
+
export interface SupportMessageRevisionsListOutput {
|
|
92771
|
+
/**
|
|
92772
|
+
* Every earlier body of the message, newest first. Empty when it was never edited, and empty again once the message is deleted — a removed body does not survive in its history
|
|
92773
|
+
*/
|
|
92774
|
+
revisions: {
|
|
92775
|
+
/**
|
|
92776
|
+
* Revision id
|
|
92777
|
+
*/
|
|
92778
|
+
id: string
|
|
92779
|
+
/**
|
|
92780
|
+
* The body the message had before this edit
|
|
92781
|
+
*/
|
|
92782
|
+
body: string
|
|
92783
|
+
/**
|
|
92784
|
+
* ISO-8601 time of the edit
|
|
92785
|
+
*/
|
|
92786
|
+
createdAt: string
|
|
92787
|
+
/**
|
|
92788
|
+
* The message this revision belongs to
|
|
92789
|
+
*/
|
|
92790
|
+
messageId: string
|
|
92791
|
+
/**
|
|
92792
|
+
* The Lessly identity that made the edit
|
|
92793
|
+
*/
|
|
92794
|
+
editedByIdentityId: (string | null)
|
|
92795
|
+
}[]
|
|
92796
|
+
}
|
|
92797
|
+
|
|
92798
|
+
export interface SupportMessageUpdateInput {
|
|
92799
|
+
/**
|
|
92800
|
+
* Id of the message to edit
|
|
92801
|
+
*/
|
|
92802
|
+
id: string
|
|
92803
|
+
/**
|
|
92804
|
+
* The new message text, stored verbatim. It replaces the whole body. An empty string is accepted only on a message that carries at least one attachment — a picture may stand alone, a message with nothing to show may not
|
|
92805
|
+
*/
|
|
92806
|
+
body: string
|
|
92807
|
+
}
|
|
92808
|
+
|
|
92809
|
+
export interface SupportMessageUpdateOutput {
|
|
92810
|
+
/**
|
|
92811
|
+
* Message id
|
|
92812
|
+
*/
|
|
92813
|
+
id: string
|
|
92814
|
+
/**
|
|
92815
|
+
* The message text, byte-identical to what was stored
|
|
92816
|
+
*/
|
|
92817
|
+
body: string
|
|
92818
|
+
/**
|
|
92819
|
+
* ISO-8601 time of the last edit, or null when the message was never edited
|
|
92820
|
+
*/
|
|
92821
|
+
editedAt: (string | null)
|
|
92822
|
+
/**
|
|
92823
|
+
* Thread this message belongs to
|
|
92824
|
+
*/
|
|
92825
|
+
threadId: string
|
|
92826
|
+
/**
|
|
92827
|
+
* ISO-8601 creation timestamp
|
|
92828
|
+
*/
|
|
92829
|
+
createdAt: string
|
|
92830
|
+
/**
|
|
92831
|
+
* ISO-8601 time the message was deleted, or null. A deleted message stays in the thread as a placeholder: its body is empty and it carries no attachments
|
|
92832
|
+
*/
|
|
92833
|
+
deletedAt: (string | null)
|
|
92834
|
+
/**
|
|
92835
|
+
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
92836
|
+
*/
|
|
92837
|
+
direction: ("inbound" | "outbound")
|
|
92838
|
+
/**
|
|
92839
|
+
* public: part of the conversation the external end user sees. internal: a note between agents that never leaves the support contour
|
|
92840
|
+
*/
|
|
92841
|
+
visibility: ("public" | "internal")
|
|
92842
|
+
/**
|
|
92843
|
+
* Files this message carries, each with a freshly signed download URL. Empty when there are none. Attachments whose upload was never confirmed are never listed here
|
|
92844
|
+
*/
|
|
92845
|
+
attachments: {
|
|
92846
|
+
/**
|
|
92847
|
+
* Attachment id
|
|
92848
|
+
*/
|
|
92849
|
+
id: string
|
|
92850
|
+
/**
|
|
92851
|
+
* Display name of the file
|
|
92852
|
+
*/
|
|
92853
|
+
fileName: string
|
|
92854
|
+
/**
|
|
92855
|
+
* ISO-8601 timestamp of when the attachment was created
|
|
92856
|
+
*/
|
|
92857
|
+
createdAt: string
|
|
92858
|
+
/**
|
|
92859
|
+
* Size in bytes as reported by storage
|
|
92860
|
+
*/
|
|
92861
|
+
sizeBytes: number
|
|
92862
|
+
/**
|
|
92863
|
+
* MIME type of the file
|
|
92864
|
+
*/
|
|
92865
|
+
contentType: string
|
|
92866
|
+
/**
|
|
92867
|
+
* Short-lived signed URL to read the file. Re-read the message to get a fresh one
|
|
92868
|
+
*/
|
|
92869
|
+
downloadUrl: string
|
|
92870
|
+
}[]
|
|
92871
|
+
/**
|
|
92872
|
+
* The same files as a flat list of ids, in the order attachments[] has them. This is the value support_message_create takes back; attachments.0.id names only the first file
|
|
92873
|
+
*/
|
|
92874
|
+
attachmentIds: string[]
|
|
92875
|
+
/**
|
|
92876
|
+
* The agent author, or null when the external end user wrote the message
|
|
92877
|
+
*/
|
|
92878
|
+
authorAgentId: (string | null)
|
|
92879
|
+
/**
|
|
92880
|
+
* How many files this message carries, 0 when it carries none. A dot-path has no length, so this is the only way a step can branch on whether there are files at all — and a message may carry a file and no body, so it is what tells those two messages apart
|
|
92881
|
+
*/
|
|
92882
|
+
attachmentCount: number
|
|
92883
|
+
/**
|
|
92884
|
+
* The external author, or null when an agent wrote the message
|
|
92885
|
+
*/
|
|
92886
|
+
authorExternalId: (string | null)
|
|
92887
|
+
/**
|
|
92888
|
+
* The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92889
|
+
*/
|
|
92890
|
+
createdByIdentityId: (string | null)
|
|
92891
|
+
}
|
|
92892
|
+
|
|
92545
92893
|
export interface SupportResponseEscalateInput {
|
|
92546
92894
|
/**
|
|
92547
92895
|
* Response id
|
|
@@ -111842,11 +112190,11 @@ export interface SupportWebhookCreateInput {
|
|
|
111842
112190
|
*/
|
|
111843
112191
|
url: string
|
|
111844
112192
|
/**
|
|
111845
|
-
* Event types this endpoint subscribes to. One or more of support.message.created, support.thread.status-changed, support.thread.assigned, support.survey.published, support.response.created
|
|
112193
|
+
* Event types this endpoint subscribes to. One or more of support.message.created, support.message.updated, support.message.deleted, support.thread.status-changed, support.thread.assigned, support.survey.published, support.response.created
|
|
111846
112194
|
*
|
|
111847
112195
|
* @minItems 1
|
|
111848
112196
|
*/
|
|
111849
|
-
eventTypes: [("support.message.created" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"), ...(("support.message.created" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"))[]]
|
|
112197
|
+
eventTypes: [("support.message.created" | "support.message.updated" | "support.message.deleted" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"), ...(("support.message.created" | "support.message.updated" | "support.message.deleted" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"))[]]
|
|
111850
112198
|
/**
|
|
111851
112199
|
* Free-form note about what this endpoint is for, up to 1000 characters
|
|
111852
112200
|
*/
|
|
@@ -111930,7 +112278,7 @@ createdTo?: string
|
|
|
111930
112278
|
/**
|
|
111931
112279
|
* Only deliveries of this event type
|
|
111932
112280
|
*/
|
|
111933
|
-
eventType?: ("support.message.created" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created")
|
|
112281
|
+
eventType?: ("support.message.created" | "support.message.updated" | "support.message.deleted" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created")
|
|
111934
112282
|
/**
|
|
111935
112283
|
* Only deliveries for this endpoint
|
|
111936
112284
|
*/
|
|
@@ -112218,11 +112566,11 @@ url?: string
|
|
|
112218
112566
|
*/
|
|
112219
112567
|
status?: ("active" | "disabled")
|
|
112220
112568
|
/**
|
|
112221
|
-
* Event types this endpoint subscribes to. One or more of support.message.created, support.thread.status-changed, support.thread.assigned, support.survey.published, support.response.created
|
|
112569
|
+
* Event types this endpoint subscribes to. One or more of support.message.created, support.message.updated, support.message.deleted, support.thread.status-changed, support.thread.assigned, support.survey.published, support.response.created
|
|
112222
112570
|
*
|
|
112223
112571
|
* @minItems 1
|
|
112224
112572
|
*/
|
|
112225
|
-
eventTypes?: [("support.message.created" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"), ...(("support.message.created" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"))[]]
|
|
112573
|
+
eventTypes?: [("support.message.created" | "support.message.updated" | "support.message.deleted" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"), ...(("support.message.created" | "support.message.updated" | "support.message.deleted" | "support.thread.status-changed" | "support.thread.assigned" | "support.survey.published" | "support.response.created"))[]]
|
|
112226
112574
|
/**
|
|
112227
112575
|
* Free-form note about what this endpoint is for, up to 1000 characters
|
|
112228
112576
|
*/
|