@lessly/sdk-app 30.2.1 → 30.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.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-QlwjPsPF.d.cts → client.gen-D6GSULBV.d.cts} +1510 -1
- package/dist/{client.gen-QlwjPsPF.d.ts → client.gen-D6GSULBV.d.ts} +1510 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +434 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +434 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.cjs +106 -0
- package/dist/support/index.cjs.map +1 -0
- package/dist/support/index.d.cts +84 -0
- package/dist/support/index.d.ts +84 -0
- package/dist/support/index.js +85 -0
- package/dist/support/index.js.map +1 -0
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +434 -0
- package/src/gen/client.gen.ts +76 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/support/index.ts +3 -0
- package/src/gen/support/queryOptions.gen.ts +131 -0
- package/src/gen/types.gen.ts +1514 -0
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5129,6 +5129,440 @@ var bindings = {
|
|
|
5129
5129
|
}
|
|
5130
5130
|
}
|
|
5131
5131
|
},
|
|
5132
|
+
"support": {
|
|
5133
|
+
"agent": {
|
|
5134
|
+
"create": {
|
|
5135
|
+
"method": "POST",
|
|
5136
|
+
"params": [
|
|
5137
|
+
{
|
|
5138
|
+
"in": "body",
|
|
5139
|
+
"name": "displayName"
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
"in": "body",
|
|
5143
|
+
"name": "title"
|
|
5144
|
+
},
|
|
5145
|
+
{
|
|
5146
|
+
"in": "body",
|
|
5147
|
+
"name": "avatarUrl"
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"in": "body",
|
|
5151
|
+
"name": "lesslyUserId"
|
|
5152
|
+
}
|
|
5153
|
+
],
|
|
5154
|
+
"path": "/support/agents",
|
|
5155
|
+
"readOnly": false
|
|
5156
|
+
},
|
|
5157
|
+
"get": {
|
|
5158
|
+
"method": "GET",
|
|
5159
|
+
"params": [
|
|
5160
|
+
{
|
|
5161
|
+
"in": "path",
|
|
5162
|
+
"name": "id"
|
|
5163
|
+
}
|
|
5164
|
+
],
|
|
5165
|
+
"path": "/support/agents/:id",
|
|
5166
|
+
"readOnly": true
|
|
5167
|
+
},
|
|
5168
|
+
"list": {
|
|
5169
|
+
"method": "GET",
|
|
5170
|
+
"params": [
|
|
5171
|
+
{
|
|
5172
|
+
"in": "query",
|
|
5173
|
+
"name": "includeInactive"
|
|
5174
|
+
}
|
|
5175
|
+
],
|
|
5176
|
+
"path": "/support/agents",
|
|
5177
|
+
"readOnly": true
|
|
5178
|
+
},
|
|
5179
|
+
"update": {
|
|
5180
|
+
"method": "PATCH",
|
|
5181
|
+
"params": [
|
|
5182
|
+
{
|
|
5183
|
+
"in": "path",
|
|
5184
|
+
"name": "id"
|
|
5185
|
+
},
|
|
5186
|
+
{
|
|
5187
|
+
"in": "body",
|
|
5188
|
+
"name": "displayName"
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
"in": "body",
|
|
5192
|
+
"name": "title"
|
|
5193
|
+
},
|
|
5194
|
+
{
|
|
5195
|
+
"in": "body",
|
|
5196
|
+
"name": "avatarUrl"
|
|
5197
|
+
},
|
|
5198
|
+
{
|
|
5199
|
+
"in": "body",
|
|
5200
|
+
"name": "lesslyUserId"
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"in": "body",
|
|
5204
|
+
"name": "isActive"
|
|
5205
|
+
}
|
|
5206
|
+
],
|
|
5207
|
+
"path": "/support/agents/:id",
|
|
5208
|
+
"readOnly": false
|
|
5209
|
+
}
|
|
5210
|
+
},
|
|
5211
|
+
"attachment": {
|
|
5212
|
+
"create": {
|
|
5213
|
+
"method": "POST",
|
|
5214
|
+
"params": [
|
|
5215
|
+
{
|
|
5216
|
+
"in": "body",
|
|
5217
|
+
"name": "threadId"
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"in": "body",
|
|
5221
|
+
"name": "fileName"
|
|
5222
|
+
},
|
|
5223
|
+
{
|
|
5224
|
+
"in": "body",
|
|
5225
|
+
"name": "contentType"
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
"in": "body",
|
|
5229
|
+
"name": "sizeBytes"
|
|
5230
|
+
}
|
|
5231
|
+
],
|
|
5232
|
+
"path": "/support/attachments",
|
|
5233
|
+
"readOnly": false
|
|
5234
|
+
},
|
|
5235
|
+
"finalize": {
|
|
5236
|
+
"method": "POST",
|
|
5237
|
+
"params": [
|
|
5238
|
+
{
|
|
5239
|
+
"in": "body",
|
|
5240
|
+
"name": "attachmentId"
|
|
5241
|
+
}
|
|
5242
|
+
],
|
|
5243
|
+
"path": "/support/attachments/finalize",
|
|
5244
|
+
"readOnly": false
|
|
5245
|
+
}
|
|
5246
|
+
},
|
|
5247
|
+
"label": {
|
|
5248
|
+
"create": {
|
|
5249
|
+
"method": "POST",
|
|
5250
|
+
"params": [
|
|
5251
|
+
{
|
|
5252
|
+
"in": "body",
|
|
5253
|
+
"name": "name"
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
"in": "body",
|
|
5257
|
+
"name": "color"
|
|
5258
|
+
}
|
|
5259
|
+
],
|
|
5260
|
+
"path": "/support/labels",
|
|
5261
|
+
"readOnly": false
|
|
5262
|
+
},
|
|
5263
|
+
"list": {
|
|
5264
|
+
"method": "GET",
|
|
5265
|
+
"path": "/support/labels",
|
|
5266
|
+
"readOnly": true
|
|
5267
|
+
}
|
|
5268
|
+
},
|
|
5269
|
+
"message": {
|
|
5270
|
+
"create": {
|
|
5271
|
+
"method": "POST",
|
|
5272
|
+
"params": [
|
|
5273
|
+
{
|
|
5274
|
+
"in": "body",
|
|
5275
|
+
"name": "threadId"
|
|
5276
|
+
},
|
|
5277
|
+
{
|
|
5278
|
+
"in": "body",
|
|
5279
|
+
"name": "body"
|
|
5280
|
+
},
|
|
5281
|
+
{
|
|
5282
|
+
"in": "body",
|
|
5283
|
+
"name": "direction"
|
|
5284
|
+
},
|
|
5285
|
+
{
|
|
5286
|
+
"in": "body",
|
|
5287
|
+
"name": "authorExternalId"
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
"in": "body",
|
|
5291
|
+
"name": "authorAgentId"
|
|
5292
|
+
},
|
|
5293
|
+
{
|
|
5294
|
+
"in": "body",
|
|
5295
|
+
"name": "visibility"
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"in": "body",
|
|
5299
|
+
"name": "attachmentIds"
|
|
5300
|
+
}
|
|
5301
|
+
],
|
|
5302
|
+
"path": "/support/messages",
|
|
5303
|
+
"readOnly": false
|
|
5304
|
+
},
|
|
5305
|
+
"list": {
|
|
5306
|
+
"method": "GET",
|
|
5307
|
+
"params": [
|
|
5308
|
+
{
|
|
5309
|
+
"in": "query",
|
|
5310
|
+
"name": "threadId"
|
|
5311
|
+
},
|
|
5312
|
+
{
|
|
5313
|
+
"in": "query",
|
|
5314
|
+
"name": "direction"
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
"in": "query",
|
|
5318
|
+
"name": "visibility"
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
"in": "query",
|
|
5322
|
+
"name": "limit"
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
"in": "query",
|
|
5326
|
+
"name": "offset"
|
|
5327
|
+
}
|
|
5328
|
+
],
|
|
5329
|
+
"path": "/support/messages",
|
|
5330
|
+
"readOnly": true
|
|
5331
|
+
}
|
|
5332
|
+
},
|
|
5333
|
+
"status": {
|
|
5334
|
+
"archive": {
|
|
5335
|
+
"method": "POST",
|
|
5336
|
+
"params": [
|
|
5337
|
+
{
|
|
5338
|
+
"in": "path",
|
|
5339
|
+
"name": "id"
|
|
5340
|
+
},
|
|
5341
|
+
{
|
|
5342
|
+
"in": "body",
|
|
5343
|
+
"name": "targetStatusId"
|
|
5344
|
+
}
|
|
5345
|
+
],
|
|
5346
|
+
"path": "/support/statuses/:id/archive",
|
|
5347
|
+
"readOnly": false
|
|
5348
|
+
},
|
|
5349
|
+
"create": {
|
|
5350
|
+
"method": "POST",
|
|
5351
|
+
"params": [
|
|
5352
|
+
{
|
|
5353
|
+
"in": "body",
|
|
5354
|
+
"name": "name"
|
|
5355
|
+
},
|
|
5356
|
+
{
|
|
5357
|
+
"in": "body",
|
|
5358
|
+
"name": "color"
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
"in": "body",
|
|
5362
|
+
"name": "order"
|
|
5363
|
+
},
|
|
5364
|
+
{
|
|
5365
|
+
"in": "body",
|
|
5366
|
+
"name": "category"
|
|
5367
|
+
}
|
|
5368
|
+
],
|
|
5369
|
+
"path": "/support/statuses",
|
|
5370
|
+
"readOnly": false
|
|
5371
|
+
},
|
|
5372
|
+
"list": {
|
|
5373
|
+
"method": "GET",
|
|
5374
|
+
"params": [
|
|
5375
|
+
{
|
|
5376
|
+
"in": "query",
|
|
5377
|
+
"name": "includeArchived"
|
|
5378
|
+
}
|
|
5379
|
+
],
|
|
5380
|
+
"path": "/support/statuses",
|
|
5381
|
+
"readOnly": true
|
|
5382
|
+
},
|
|
5383
|
+
"update": {
|
|
5384
|
+
"method": "PATCH",
|
|
5385
|
+
"params": [
|
|
5386
|
+
{
|
|
5387
|
+
"in": "path",
|
|
5388
|
+
"name": "id"
|
|
5389
|
+
},
|
|
5390
|
+
{
|
|
5391
|
+
"in": "body",
|
|
5392
|
+
"name": "name"
|
|
5393
|
+
},
|
|
5394
|
+
{
|
|
5395
|
+
"in": "body",
|
|
5396
|
+
"name": "color"
|
|
5397
|
+
},
|
|
5398
|
+
{
|
|
5399
|
+
"in": "body",
|
|
5400
|
+
"name": "order"
|
|
5401
|
+
},
|
|
5402
|
+
{
|
|
5403
|
+
"in": "body",
|
|
5404
|
+
"name": "category"
|
|
5405
|
+
}
|
|
5406
|
+
],
|
|
5407
|
+
"path": "/support/statuses/:id",
|
|
5408
|
+
"readOnly": false
|
|
5409
|
+
}
|
|
5410
|
+
},
|
|
5411
|
+
"thread": {
|
|
5412
|
+
"assign": {
|
|
5413
|
+
"method": "POST",
|
|
5414
|
+
"params": [
|
|
5415
|
+
{
|
|
5416
|
+
"in": "path",
|
|
5417
|
+
"name": "id"
|
|
5418
|
+
},
|
|
5419
|
+
{
|
|
5420
|
+
"in": "body",
|
|
5421
|
+
"name": "agentId"
|
|
5422
|
+
}
|
|
5423
|
+
],
|
|
5424
|
+
"path": "/support/threads/:id/assignment",
|
|
5425
|
+
"readOnly": false
|
|
5426
|
+
},
|
|
5427
|
+
"create": {
|
|
5428
|
+
"method": "POST",
|
|
5429
|
+
"params": [
|
|
5430
|
+
{
|
|
5431
|
+
"in": "body",
|
|
5432
|
+
"name": "type"
|
|
5433
|
+
},
|
|
5434
|
+
{
|
|
5435
|
+
"in": "body",
|
|
5436
|
+
"name": "title"
|
|
5437
|
+
},
|
|
5438
|
+
{
|
|
5439
|
+
"in": "body",
|
|
5440
|
+
"name": "authorExternalId"
|
|
5441
|
+
},
|
|
5442
|
+
{
|
|
5443
|
+
"in": "body",
|
|
5444
|
+
"name": "authorDisplay"
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
"in": "body",
|
|
5448
|
+
"name": "metadata"
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
"in": "body",
|
|
5452
|
+
"name": "labelIds"
|
|
5453
|
+
}
|
|
5454
|
+
],
|
|
5455
|
+
"path": "/support/threads",
|
|
5456
|
+
"readOnly": false
|
|
5457
|
+
},
|
|
5458
|
+
"get": {
|
|
5459
|
+
"method": "GET",
|
|
5460
|
+
"params": [
|
|
5461
|
+
{
|
|
5462
|
+
"in": "path",
|
|
5463
|
+
"name": "id"
|
|
5464
|
+
}
|
|
5465
|
+
],
|
|
5466
|
+
"path": "/support/threads/:id",
|
|
5467
|
+
"readOnly": true
|
|
5468
|
+
},
|
|
5469
|
+
"list": {
|
|
5470
|
+
"method": "GET",
|
|
5471
|
+
"params": [
|
|
5472
|
+
{
|
|
5473
|
+
"in": "query",
|
|
5474
|
+
"name": "type"
|
|
5475
|
+
},
|
|
5476
|
+
{
|
|
5477
|
+
"in": "query",
|
|
5478
|
+
"name": "statusId"
|
|
5479
|
+
},
|
|
5480
|
+
{
|
|
5481
|
+
"in": "query",
|
|
5482
|
+
"name": "category"
|
|
5483
|
+
},
|
|
5484
|
+
{
|
|
5485
|
+
"in": "query",
|
|
5486
|
+
"name": "assignedAgentId"
|
|
5487
|
+
},
|
|
5488
|
+
{
|
|
5489
|
+
"in": "query",
|
|
5490
|
+
"name": "authorExternalId"
|
|
5491
|
+
},
|
|
5492
|
+
{
|
|
5493
|
+
"in": "query",
|
|
5494
|
+
"name": "createdFrom"
|
|
5495
|
+
},
|
|
5496
|
+
{
|
|
5497
|
+
"in": "query",
|
|
5498
|
+
"name": "createdTo"
|
|
5499
|
+
},
|
|
5500
|
+
{
|
|
5501
|
+
"in": "query",
|
|
5502
|
+
"name": "labelIds"
|
|
5503
|
+
},
|
|
5504
|
+
{
|
|
5505
|
+
"in": "query",
|
|
5506
|
+
"name": "sort"
|
|
5507
|
+
},
|
|
5508
|
+
{
|
|
5509
|
+
"in": "query",
|
|
5510
|
+
"name": "limit"
|
|
5511
|
+
},
|
|
5512
|
+
{
|
|
5513
|
+
"in": "query",
|
|
5514
|
+
"name": "offset"
|
|
5515
|
+
}
|
|
5516
|
+
],
|
|
5517
|
+
"path": "/support/threads",
|
|
5518
|
+
"readOnly": true
|
|
5519
|
+
},
|
|
5520
|
+
"update": {
|
|
5521
|
+
"method": "PATCH",
|
|
5522
|
+
"params": [
|
|
5523
|
+
{
|
|
5524
|
+
"in": "path",
|
|
5525
|
+
"name": "id"
|
|
5526
|
+
},
|
|
5527
|
+
{
|
|
5528
|
+
"in": "body",
|
|
5529
|
+
"name": "title"
|
|
5530
|
+
},
|
|
5531
|
+
{
|
|
5532
|
+
"in": "body",
|
|
5533
|
+
"name": "priority"
|
|
5534
|
+
},
|
|
5535
|
+
{
|
|
5536
|
+
"in": "body",
|
|
5537
|
+
"name": "labelIds"
|
|
5538
|
+
},
|
|
5539
|
+
{
|
|
5540
|
+
"in": "body",
|
|
5541
|
+
"name": "metadata"
|
|
5542
|
+
}
|
|
5543
|
+
],
|
|
5544
|
+
"path": "/support/threads/:id",
|
|
5545
|
+
"readOnly": false
|
|
5546
|
+
}
|
|
5547
|
+
},
|
|
5548
|
+
"thread-status": {
|
|
5549
|
+
"set": {
|
|
5550
|
+
"method": "POST",
|
|
5551
|
+
"params": [
|
|
5552
|
+
{
|
|
5553
|
+
"in": "path",
|
|
5554
|
+
"name": "id"
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"in": "body",
|
|
5558
|
+
"name": "statusId"
|
|
5559
|
+
}
|
|
5560
|
+
],
|
|
5561
|
+
"path": "/support/threads/:id/status",
|
|
5562
|
+
"readOnly": false
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
},
|
|
5132
5566
|
"tracking": {
|
|
5133
5567
|
"domains": {
|
|
5134
5568
|
"create": {
|