syllable-sdk 0.1.0-alpha.32 → 0.1.0-alpha.34
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +3 -1
- package/openapi.json +758 -0
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.34";
|
|
31
31
|
readonly genVersion: "2.493.21";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.34 2.493.21 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "0.0.2",
|
|
38
|
-
sdkVersion: "0.1.0-alpha.
|
|
38
|
+
sdkVersion: "0.1.0-alpha.34",
|
|
39
39
|
genVersion: "2.493.21",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.34 2.493.21 0.0.2 syllable-sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
package/mintlify/mint.json
CHANGED
package/openapi.json
CHANGED
|
@@ -4263,6 +4263,452 @@
|
|
|
4263
4263
|
}
|
|
4264
4264
|
]
|
|
4265
4265
|
}
|
|
4266
|
+
},
|
|
4267
|
+
"/api/v1/outbound/batches": {
|
|
4268
|
+
"get": {
|
|
4269
|
+
"tags": [
|
|
4270
|
+
"outbound.batches",
|
|
4271
|
+
"V1"
|
|
4272
|
+
],
|
|
4273
|
+
"summary": "List Outbound Communication Batches",
|
|
4274
|
+
"operationId": "outbound_batch_list",
|
|
4275
|
+
"responses": {
|
|
4276
|
+
"200": {
|
|
4277
|
+
"description": "Successful Response",
|
|
4278
|
+
"content": {
|
|
4279
|
+
"application/json": {
|
|
4280
|
+
"schema": {
|
|
4281
|
+
"items": {
|
|
4282
|
+
"$ref": "#/components/schemas/CommunicationBatch"
|
|
4283
|
+
},
|
|
4284
|
+
"type": "array",
|
|
4285
|
+
"title": "Response Outbound Batch List"
|
|
4286
|
+
}
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4289
|
+
}
|
|
4290
|
+
},
|
|
4291
|
+
"security": [
|
|
4292
|
+
{
|
|
4293
|
+
"APIKeyHeader": []
|
|
4294
|
+
}
|
|
4295
|
+
],
|
|
4296
|
+
"x-speakeasy-ignore": true
|
|
4297
|
+
},
|
|
4298
|
+
"put": {
|
|
4299
|
+
"tags": [
|
|
4300
|
+
"outbound.batches",
|
|
4301
|
+
"V1"
|
|
4302
|
+
],
|
|
4303
|
+
"summary": "Create Outbound Communication Batch",
|
|
4304
|
+
"operationId": "outbound_batch_create",
|
|
4305
|
+
"requestBody": {
|
|
4306
|
+
"content": {
|
|
4307
|
+
"application/json": {
|
|
4308
|
+
"schema": {
|
|
4309
|
+
"$ref": "#/components/schemas/CommunicationBatchInput"
|
|
4310
|
+
}
|
|
4311
|
+
}
|
|
4312
|
+
},
|
|
4313
|
+
"required": true
|
|
4314
|
+
},
|
|
4315
|
+
"responses": {
|
|
4316
|
+
"200": {
|
|
4317
|
+
"description": "Successful Response",
|
|
4318
|
+
"content": {
|
|
4319
|
+
"application/json": {
|
|
4320
|
+
"schema": {
|
|
4321
|
+
"anyOf": [
|
|
4322
|
+
{
|
|
4323
|
+
"$ref": "#/components/schemas/CommunicationBatch"
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
"type": "null"
|
|
4327
|
+
}
|
|
4328
|
+
],
|
|
4329
|
+
"title": "Response Outbound Batch Create"
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
},
|
|
4334
|
+
"422": {
|
|
4335
|
+
"description": "Validation Error",
|
|
4336
|
+
"content": {
|
|
4337
|
+
"application/json": {
|
|
4338
|
+
"schema": {
|
|
4339
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4344
|
+
},
|
|
4345
|
+
"security": [
|
|
4346
|
+
{
|
|
4347
|
+
"APIKeyHeader": []
|
|
4348
|
+
}
|
|
4349
|
+
],
|
|
4350
|
+
"x-speakeasy-ignore": true
|
|
4351
|
+
}
|
|
4352
|
+
},
|
|
4353
|
+
"/api/v1/outbound/batches/{batch_id}": {
|
|
4354
|
+
"get": {
|
|
4355
|
+
"tags": [
|
|
4356
|
+
"outbound.batches",
|
|
4357
|
+
"V1"
|
|
4358
|
+
],
|
|
4359
|
+
"summary": "Get Outbound Communication Batch",
|
|
4360
|
+
"operationId": "outbound_batch_get_by_id",
|
|
4361
|
+
"security": [
|
|
4362
|
+
{
|
|
4363
|
+
"APIKeyHeader": []
|
|
4364
|
+
}
|
|
4365
|
+
],
|
|
4366
|
+
"parameters": [
|
|
4367
|
+
{
|
|
4368
|
+
"name": "batch_id",
|
|
4369
|
+
"in": "path",
|
|
4370
|
+
"required": true,
|
|
4371
|
+
"schema": {
|
|
4372
|
+
"type": "string",
|
|
4373
|
+
"title": "Batch Id"
|
|
4374
|
+
}
|
|
4375
|
+
}
|
|
4376
|
+
],
|
|
4377
|
+
"responses": {
|
|
4378
|
+
"200": {
|
|
4379
|
+
"description": "Successful Response",
|
|
4380
|
+
"content": {
|
|
4381
|
+
"application/json": {
|
|
4382
|
+
"schema": {
|
|
4383
|
+
"$ref": "#/components/schemas/CommunicationBatch"
|
|
4384
|
+
}
|
|
4385
|
+
}
|
|
4386
|
+
}
|
|
4387
|
+
},
|
|
4388
|
+
"422": {
|
|
4389
|
+
"description": "Validation Error",
|
|
4390
|
+
"content": {
|
|
4391
|
+
"application/json": {
|
|
4392
|
+
"schema": {
|
|
4393
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
}
|
|
4398
|
+
},
|
|
4399
|
+
"x-speakeasy-ignore": true
|
|
4400
|
+
},
|
|
4401
|
+
"delete": {
|
|
4402
|
+
"tags": [
|
|
4403
|
+
"outbound.batches",
|
|
4404
|
+
"V1"
|
|
4405
|
+
],
|
|
4406
|
+
"summary": "Delete Outbound Communication Batch",
|
|
4407
|
+
"operationId": "outbound_batch_delete",
|
|
4408
|
+
"security": [
|
|
4409
|
+
{
|
|
4410
|
+
"APIKeyHeader": []
|
|
4411
|
+
}
|
|
4412
|
+
],
|
|
4413
|
+
"parameters": [
|
|
4414
|
+
{
|
|
4415
|
+
"name": "batch_id",
|
|
4416
|
+
"in": "path",
|
|
4417
|
+
"required": true,
|
|
4418
|
+
"schema": {
|
|
4419
|
+
"type": "string",
|
|
4420
|
+
"title": "Batch Id"
|
|
4421
|
+
}
|
|
4422
|
+
}
|
|
4423
|
+
],
|
|
4424
|
+
"requestBody": {
|
|
4425
|
+
"required": true,
|
|
4426
|
+
"content": {
|
|
4427
|
+
"application/x-www-form-urlencoded": {
|
|
4428
|
+
"schema": {
|
|
4429
|
+
"$ref": "#/components/schemas/Body_outbound_batch_delete"
|
|
4430
|
+
}
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
},
|
|
4434
|
+
"responses": {
|
|
4435
|
+
"200": {
|
|
4436
|
+
"description": "Successful Response",
|
|
4437
|
+
"content": {
|
|
4438
|
+
"application/json": {
|
|
4439
|
+
"schema": {}
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
},
|
|
4443
|
+
"422": {
|
|
4444
|
+
"description": "Validation Error",
|
|
4445
|
+
"content": {
|
|
4446
|
+
"application/json": {
|
|
4447
|
+
"schema": {
|
|
4448
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
}
|
|
4453
|
+
},
|
|
4454
|
+
"x-speakeasy-ignore": true
|
|
4455
|
+
}
|
|
4456
|
+
},
|
|
4457
|
+
"/api/v1/outbound/batches/{batch_id}/upload_batch": {
|
|
4458
|
+
"post": {
|
|
4459
|
+
"tags": [
|
|
4460
|
+
"outbound.batches",
|
|
4461
|
+
"V1"
|
|
4462
|
+
],
|
|
4463
|
+
"summary": "Upload Outbound Communication Batch",
|
|
4464
|
+
"operationId": "outbound_batch_upload",
|
|
4465
|
+
"security": [
|
|
4466
|
+
{
|
|
4467
|
+
"APIKeyHeader": []
|
|
4468
|
+
}
|
|
4469
|
+
],
|
|
4470
|
+
"parameters": [
|
|
4471
|
+
{
|
|
4472
|
+
"name": "batch_id",
|
|
4473
|
+
"in": "path",
|
|
4474
|
+
"required": true,
|
|
4475
|
+
"schema": {
|
|
4476
|
+
"type": "string",
|
|
4477
|
+
"title": "Batch Id"
|
|
4478
|
+
}
|
|
4479
|
+
}
|
|
4480
|
+
],
|
|
4481
|
+
"requestBody": {
|
|
4482
|
+
"required": true,
|
|
4483
|
+
"content": {
|
|
4484
|
+
"multipart/form-data": {
|
|
4485
|
+
"schema": {
|
|
4486
|
+
"$ref": "#/components/schemas/Body_outbound_batch_upload"
|
|
4487
|
+
}
|
|
4488
|
+
}
|
|
4489
|
+
}
|
|
4490
|
+
},
|
|
4491
|
+
"responses": {
|
|
4492
|
+
"200": {
|
|
4493
|
+
"description": "Successful Response",
|
|
4494
|
+
"content": {
|
|
4495
|
+
"application/json": {
|
|
4496
|
+
"schema": {}
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
},
|
|
4500
|
+
"422": {
|
|
4501
|
+
"description": "Validation Error",
|
|
4502
|
+
"content": {
|
|
4503
|
+
"application/json": {
|
|
4504
|
+
"schema": {
|
|
4505
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
},
|
|
4511
|
+
"x-speakeasy-ignore": true
|
|
4512
|
+
}
|
|
4513
|
+
},
|
|
4514
|
+
"/api/v1/outbound/campaigns": {
|
|
4515
|
+
"get": {
|
|
4516
|
+
"tags": [
|
|
4517
|
+
"outbound.campaigns",
|
|
4518
|
+
"V1"
|
|
4519
|
+
],
|
|
4520
|
+
"summary": "List Outbound Communication Campaigns",
|
|
4521
|
+
"operationId": "outbound_campaign_list",
|
|
4522
|
+
"responses": {
|
|
4523
|
+
"200": {
|
|
4524
|
+
"description": "Successful Response",
|
|
4525
|
+
"content": {
|
|
4526
|
+
"application/json": {
|
|
4527
|
+
"schema": {
|
|
4528
|
+
"anyOf": [
|
|
4529
|
+
{
|
|
4530
|
+
"items": {
|
|
4531
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4532
|
+
},
|
|
4533
|
+
"type": "array"
|
|
4534
|
+
},
|
|
4535
|
+
{
|
|
4536
|
+
"type": "null"
|
|
4537
|
+
}
|
|
4538
|
+
],
|
|
4539
|
+
"title": "Response Outbound Campaign List"
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
}
|
|
4543
|
+
}
|
|
4544
|
+
},
|
|
4545
|
+
"security": [
|
|
4546
|
+
{
|
|
4547
|
+
"APIKeyHeader": []
|
|
4548
|
+
}
|
|
4549
|
+
],
|
|
4550
|
+
"x-speakeasy-ignore": true
|
|
4551
|
+
},
|
|
4552
|
+
"post": {
|
|
4553
|
+
"tags": [
|
|
4554
|
+
"outbound.campaigns",
|
|
4555
|
+
"V1"
|
|
4556
|
+
],
|
|
4557
|
+
"summary": "Create Outbound Communication Campaign",
|
|
4558
|
+
"operationId": "outbound_campaign_create",
|
|
4559
|
+
"requestBody": {
|
|
4560
|
+
"content": {
|
|
4561
|
+
"application/json": {
|
|
4562
|
+
"schema": {
|
|
4563
|
+
"$ref": "#/components/schemas/OutboundCampaignInput"
|
|
4564
|
+
}
|
|
4565
|
+
}
|
|
4566
|
+
},
|
|
4567
|
+
"required": true
|
|
4568
|
+
},
|
|
4569
|
+
"responses": {
|
|
4570
|
+
"200": {
|
|
4571
|
+
"description": "Successful Response",
|
|
4572
|
+
"content": {
|
|
4573
|
+
"application/json": {
|
|
4574
|
+
"schema": {
|
|
4575
|
+
"anyOf": [
|
|
4576
|
+
{
|
|
4577
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"type": "null"
|
|
4581
|
+
}
|
|
4582
|
+
],
|
|
4583
|
+
"title": "Response Outbound Campaign Create"
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
}
|
|
4587
|
+
},
|
|
4588
|
+
"422": {
|
|
4589
|
+
"description": "Validation Error",
|
|
4590
|
+
"content": {
|
|
4591
|
+
"application/json": {
|
|
4592
|
+
"schema": {
|
|
4593
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4594
|
+
}
|
|
4595
|
+
}
|
|
4596
|
+
}
|
|
4597
|
+
}
|
|
4598
|
+
},
|
|
4599
|
+
"security": [
|
|
4600
|
+
{
|
|
4601
|
+
"APIKeyHeader": []
|
|
4602
|
+
}
|
|
4603
|
+
],
|
|
4604
|
+
"x-speakeasy-ignore": true
|
|
4605
|
+
}
|
|
4606
|
+
},
|
|
4607
|
+
"/api/v1/outbound/campaigns/{campaign_id}": {
|
|
4608
|
+
"get": {
|
|
4609
|
+
"tags": [
|
|
4610
|
+
"outbound.campaigns",
|
|
4611
|
+
"V1"
|
|
4612
|
+
],
|
|
4613
|
+
"summary": "Get Outbound Communication Campaign",
|
|
4614
|
+
"operationId": "outbound_campaign_get_by_id",
|
|
4615
|
+
"security": [
|
|
4616
|
+
{
|
|
4617
|
+
"APIKeyHeader": []
|
|
4618
|
+
}
|
|
4619
|
+
],
|
|
4620
|
+
"parameters": [
|
|
4621
|
+
{
|
|
4622
|
+
"name": "campaign_id",
|
|
4623
|
+
"in": "path",
|
|
4624
|
+
"required": true,
|
|
4625
|
+
"schema": {
|
|
4626
|
+
"type": "string",
|
|
4627
|
+
"title": "Campaign Id"
|
|
4628
|
+
}
|
|
4629
|
+
}
|
|
4630
|
+
],
|
|
4631
|
+
"responses": {
|
|
4632
|
+
"200": {
|
|
4633
|
+
"description": "Successful Response",
|
|
4634
|
+
"content": {
|
|
4635
|
+
"application/json": {
|
|
4636
|
+
"schema": {
|
|
4637
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4638
|
+
}
|
|
4639
|
+
}
|
|
4640
|
+
}
|
|
4641
|
+
},
|
|
4642
|
+
"422": {
|
|
4643
|
+
"description": "Validation Error",
|
|
4644
|
+
"content": {
|
|
4645
|
+
"application/json": {
|
|
4646
|
+
"schema": {
|
|
4647
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4648
|
+
}
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
}
|
|
4652
|
+
},
|
|
4653
|
+
"x-speakeasy-ignore": true
|
|
4654
|
+
},
|
|
4655
|
+
"put": {
|
|
4656
|
+
"tags": [
|
|
4657
|
+
"outbound.campaigns",
|
|
4658
|
+
"V1"
|
|
4659
|
+
],
|
|
4660
|
+
"summary": "Update Outbound Communication Campaign",
|
|
4661
|
+
"operationId": "outbound_campaign_update",
|
|
4662
|
+
"security": [
|
|
4663
|
+
{
|
|
4664
|
+
"APIKeyHeader": []
|
|
4665
|
+
}
|
|
4666
|
+
],
|
|
4667
|
+
"parameters": [
|
|
4668
|
+
{
|
|
4669
|
+
"name": "campaign_id",
|
|
4670
|
+
"in": "path",
|
|
4671
|
+
"required": true,
|
|
4672
|
+
"schema": {
|
|
4673
|
+
"type": "integer",
|
|
4674
|
+
"title": "Campaign Id"
|
|
4675
|
+
}
|
|
4676
|
+
}
|
|
4677
|
+
],
|
|
4678
|
+
"requestBody": {
|
|
4679
|
+
"required": true,
|
|
4680
|
+
"content": {
|
|
4681
|
+
"application/json": {
|
|
4682
|
+
"schema": {
|
|
4683
|
+
"$ref": "#/components/schemas/OutboundCampaignInput"
|
|
4684
|
+
}
|
|
4685
|
+
}
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4688
|
+
"responses": {
|
|
4689
|
+
"200": {
|
|
4690
|
+
"description": "Successful Response",
|
|
4691
|
+
"content": {
|
|
4692
|
+
"application/json": {
|
|
4693
|
+
"schema": {
|
|
4694
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4695
|
+
}
|
|
4696
|
+
}
|
|
4697
|
+
}
|
|
4698
|
+
},
|
|
4699
|
+
"422": {
|
|
4700
|
+
"description": "Validation Error",
|
|
4701
|
+
"content": {
|
|
4702
|
+
"application/json": {
|
|
4703
|
+
"schema": {
|
|
4704
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4705
|
+
}
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
}
|
|
4709
|
+
},
|
|
4710
|
+
"x-speakeasy-ignore": true
|
|
4711
|
+
}
|
|
4266
4712
|
}
|
|
4267
4713
|
},
|
|
4268
4714
|
"components": {
|
|
@@ -4874,6 +5320,19 @@
|
|
|
4874
5320
|
],
|
|
4875
5321
|
"title": "AvailableTargetProperties"
|
|
4876
5322
|
},
|
|
5323
|
+
"BatchStatus": {
|
|
5324
|
+
"type": "string",
|
|
5325
|
+
"enum": [
|
|
5326
|
+
"NEW",
|
|
5327
|
+
"LOADED",
|
|
5328
|
+
"ACTIVE",
|
|
5329
|
+
"INACTIVE",
|
|
5330
|
+
"PAUSED",
|
|
5331
|
+
"DELETED",
|
|
5332
|
+
"COMPLETED"
|
|
5333
|
+
],
|
|
5334
|
+
"title": "BatchStatus"
|
|
5335
|
+
},
|
|
4877
5336
|
"Body_directory_member_bulk_load": {
|
|
4878
5337
|
"properties": {
|
|
4879
5338
|
"file": {
|
|
@@ -4888,6 +5347,45 @@
|
|
|
4888
5347
|
],
|
|
4889
5348
|
"title": "Body_directory_member_bulk_load"
|
|
4890
5349
|
},
|
|
5350
|
+
"Body_outbound_batch_delete": {
|
|
5351
|
+
"properties": {
|
|
5352
|
+
"deleteReason": {
|
|
5353
|
+
"type": "string",
|
|
5354
|
+
"title": "Deletereason"
|
|
5355
|
+
}
|
|
5356
|
+
},
|
|
5357
|
+
"type": "object",
|
|
5358
|
+
"required": [
|
|
5359
|
+
"deleteReason"
|
|
5360
|
+
],
|
|
5361
|
+
"title": "Body_outbound_batch_delete"
|
|
5362
|
+
},
|
|
5363
|
+
"Body_outbound_batch_upload": {
|
|
5364
|
+
"properties": {
|
|
5365
|
+
"file": {
|
|
5366
|
+
"type": "string",
|
|
5367
|
+
"format": "binary",
|
|
5368
|
+
"title": "File"
|
|
5369
|
+
}
|
|
5370
|
+
},
|
|
5371
|
+
"type": "object",
|
|
5372
|
+
"required": [
|
|
5373
|
+
"file"
|
|
5374
|
+
],
|
|
5375
|
+
"title": "Body_outbound_batch_upload"
|
|
5376
|
+
},
|
|
5377
|
+
"CampaignStatus": {
|
|
5378
|
+
"type": "string",
|
|
5379
|
+
"enum": [
|
|
5380
|
+
"NEW",
|
|
5381
|
+
"ACTIVE",
|
|
5382
|
+
"INACTIVE",
|
|
5383
|
+
"PAUSED",
|
|
5384
|
+
"DELETED",
|
|
5385
|
+
"COMPLETED"
|
|
5386
|
+
],
|
|
5387
|
+
"title": "CampaignStatus"
|
|
5388
|
+
},
|
|
4891
5389
|
"Channel": {
|
|
4892
5390
|
"properties": {
|
|
4893
5391
|
"name": {
|
|
@@ -5157,6 +5655,182 @@
|
|
|
5157
5655
|
],
|
|
5158
5656
|
"title": "ChannelTargetUpdateRequest"
|
|
5159
5657
|
},
|
|
5658
|
+
"CommunicationBatch": {
|
|
5659
|
+
"properties": {
|
|
5660
|
+
"batch_id": {
|
|
5661
|
+
"type": "string",
|
|
5662
|
+
"title": "Batch Id",
|
|
5663
|
+
"description": "Unique ID for conversation batch"
|
|
5664
|
+
},
|
|
5665
|
+
"campaign_id": {
|
|
5666
|
+
"type": "integer",
|
|
5667
|
+
"title": "Campaign Id",
|
|
5668
|
+
"description": "Unique ID for campaign"
|
|
5669
|
+
},
|
|
5670
|
+
"type": {
|
|
5671
|
+
"type": "string",
|
|
5672
|
+
"title": "Type",
|
|
5673
|
+
"description": "Call, SMS, email"
|
|
5674
|
+
},
|
|
5675
|
+
"source": {
|
|
5676
|
+
"type": "string",
|
|
5677
|
+
"title": "Source",
|
|
5678
|
+
"description": "Source phone number, email, or SMS number"
|
|
5679
|
+
},
|
|
5680
|
+
"rate": {
|
|
5681
|
+
"type": "integer",
|
|
5682
|
+
"title": "Rate",
|
|
5683
|
+
"description": "Number of outreach per hour"
|
|
5684
|
+
},
|
|
5685
|
+
"retry_count": {
|
|
5686
|
+
"type": "integer",
|
|
5687
|
+
"title": "Retry Count",
|
|
5688
|
+
"description": "Number of retries per target",
|
|
5689
|
+
"default": 0
|
|
5690
|
+
},
|
|
5691
|
+
"retry_interval": {
|
|
5692
|
+
"anyOf": [
|
|
5693
|
+
{
|
|
5694
|
+
"type": "string"
|
|
5695
|
+
},
|
|
5696
|
+
{
|
|
5697
|
+
"type": "null"
|
|
5698
|
+
}
|
|
5699
|
+
],
|
|
5700
|
+
"title": "Retry Interval",
|
|
5701
|
+
"description": "How long (30m, 12h, 7d) to wait before retrying"
|
|
5702
|
+
},
|
|
5703
|
+
"status": {
|
|
5704
|
+
"$ref": "#/components/schemas/BatchStatus",
|
|
5705
|
+
"description": "Status of batch",
|
|
5706
|
+
"default": "NEW"
|
|
5707
|
+
},
|
|
5708
|
+
"created_at": {
|
|
5709
|
+
"type": "string",
|
|
5710
|
+
"title": "Created At",
|
|
5711
|
+
"description": "Timestamp of batch creation"
|
|
5712
|
+
},
|
|
5713
|
+
"deleted_at": {
|
|
5714
|
+
"anyOf": [
|
|
5715
|
+
{
|
|
5716
|
+
"type": "string"
|
|
5717
|
+
},
|
|
5718
|
+
{
|
|
5719
|
+
"type": "null"
|
|
5720
|
+
}
|
|
5721
|
+
],
|
|
5722
|
+
"title": "Deleted At",
|
|
5723
|
+
"description": "Timestamp of batch deletion"
|
|
5724
|
+
},
|
|
5725
|
+
"deleted_reason": {
|
|
5726
|
+
"anyOf": [
|
|
5727
|
+
{
|
|
5728
|
+
"type": "string"
|
|
5729
|
+
},
|
|
5730
|
+
{
|
|
5731
|
+
"type": "null"
|
|
5732
|
+
}
|
|
5733
|
+
],
|
|
5734
|
+
"title": "Deleted Reason",
|
|
5735
|
+
"description": "Reason for batch deletion"
|
|
5736
|
+
},
|
|
5737
|
+
"dispatch_id": {
|
|
5738
|
+
"anyOf": [
|
|
5739
|
+
{
|
|
5740
|
+
"type": "string"
|
|
5741
|
+
},
|
|
5742
|
+
{
|
|
5743
|
+
"type": "null"
|
|
5744
|
+
}
|
|
5745
|
+
],
|
|
5746
|
+
"title": "Dispatch Id",
|
|
5747
|
+
"description": "Unique ID of worker assigned to batch"
|
|
5748
|
+
},
|
|
5749
|
+
"last_worked_on": {
|
|
5750
|
+
"anyOf": [
|
|
5751
|
+
{
|
|
5752
|
+
"type": "string"
|
|
5753
|
+
},
|
|
5754
|
+
{
|
|
5755
|
+
"type": "null"
|
|
5756
|
+
}
|
|
5757
|
+
],
|
|
5758
|
+
"title": "Last Worked On",
|
|
5759
|
+
"description": "Timestamp of last batch activity"
|
|
5760
|
+
},
|
|
5761
|
+
"last_updated_by": {
|
|
5762
|
+
"type": "string",
|
|
5763
|
+
"title": "Last Updated By",
|
|
5764
|
+
"description": "User who last updated campaign"
|
|
5765
|
+
}
|
|
5766
|
+
},
|
|
5767
|
+
"type": "object",
|
|
5768
|
+
"required": [
|
|
5769
|
+
"batch_id",
|
|
5770
|
+
"campaign_id",
|
|
5771
|
+
"type",
|
|
5772
|
+
"source",
|
|
5773
|
+
"rate",
|
|
5774
|
+
"last_updated_by"
|
|
5775
|
+
],
|
|
5776
|
+
"title": "CommunicationBatch"
|
|
5777
|
+
},
|
|
5778
|
+
"CommunicationBatchInput": {
|
|
5779
|
+
"properties": {
|
|
5780
|
+
"batch_id": {
|
|
5781
|
+
"type": "string",
|
|
5782
|
+
"title": "Batch Id",
|
|
5783
|
+
"description": "Unique ID for conversation batch"
|
|
5784
|
+
},
|
|
5785
|
+
"campaign_id": {
|
|
5786
|
+
"type": "integer",
|
|
5787
|
+
"title": "Campaign Id",
|
|
5788
|
+
"description": "Unique ID for campaign"
|
|
5789
|
+
},
|
|
5790
|
+
"type": {
|
|
5791
|
+
"type": "string",
|
|
5792
|
+
"title": "Type",
|
|
5793
|
+
"description": "Call, SMS, email"
|
|
5794
|
+
},
|
|
5795
|
+
"source": {
|
|
5796
|
+
"type": "string",
|
|
5797
|
+
"title": "Source",
|
|
5798
|
+
"description": "Source phone number, email, or SMS number"
|
|
5799
|
+
},
|
|
5800
|
+
"rate": {
|
|
5801
|
+
"type": "integer",
|
|
5802
|
+
"title": "Rate",
|
|
5803
|
+
"description": "Number of outreach per hour"
|
|
5804
|
+
},
|
|
5805
|
+
"retry_count": {
|
|
5806
|
+
"type": "integer",
|
|
5807
|
+
"title": "Retry Count",
|
|
5808
|
+
"description": "Number of retries per target",
|
|
5809
|
+
"default": 0
|
|
5810
|
+
},
|
|
5811
|
+
"retry_interval": {
|
|
5812
|
+
"anyOf": [
|
|
5813
|
+
{
|
|
5814
|
+
"type": "string"
|
|
5815
|
+
},
|
|
5816
|
+
{
|
|
5817
|
+
"type": "null"
|
|
5818
|
+
}
|
|
5819
|
+
],
|
|
5820
|
+
"title": "Retry Interval",
|
|
5821
|
+
"description": "How long (30m, 12h, 7d) to wait before retrying"
|
|
5822
|
+
}
|
|
5823
|
+
},
|
|
5824
|
+
"type": "object",
|
|
5825
|
+
"required": [
|
|
5826
|
+
"batch_id",
|
|
5827
|
+
"campaign_id",
|
|
5828
|
+
"type",
|
|
5829
|
+
"source",
|
|
5830
|
+
"rate"
|
|
5831
|
+
],
|
|
5832
|
+
"title": "CommunicationBatchInput"
|
|
5833
|
+
},
|
|
5160
5834
|
"Conversation": {
|
|
5161
5835
|
"properties": {
|
|
5162
5836
|
"timestamp": {
|
|
@@ -6655,6 +7329,78 @@
|
|
|
6655
7329
|
],
|
|
6656
7330
|
"title": "OrderByDirection"
|
|
6657
7331
|
},
|
|
7332
|
+
"OutboundCampaign": {
|
|
7333
|
+
"properties": {
|
|
7334
|
+
"campaign_name": {
|
|
7335
|
+
"type": "string",
|
|
7336
|
+
"title": "Campaign Name",
|
|
7337
|
+
"description": "Human readable name of campaign"
|
|
7338
|
+
},
|
|
7339
|
+
"campaign_variables": {
|
|
7340
|
+
"type": "object",
|
|
7341
|
+
"title": "Campaign Variables",
|
|
7342
|
+
"description": "Variables for campaign"
|
|
7343
|
+
},
|
|
7344
|
+
"status": {
|
|
7345
|
+
"$ref": "#/components/schemas/CampaignStatus",
|
|
7346
|
+
"description": "Status of campaign",
|
|
7347
|
+
"default": "NEW"
|
|
7348
|
+
},
|
|
7349
|
+
"id": {
|
|
7350
|
+
"type": "integer",
|
|
7351
|
+
"title": "Id",
|
|
7352
|
+
"description": "Unique ID for campaign"
|
|
7353
|
+
},
|
|
7354
|
+
"created_at": {
|
|
7355
|
+
"type": "string",
|
|
7356
|
+
"title": "Created At",
|
|
7357
|
+
"description": "Timestamp of campaign creation"
|
|
7358
|
+
},
|
|
7359
|
+
"updated_at": {
|
|
7360
|
+
"type": "string",
|
|
7361
|
+
"title": "Updated At",
|
|
7362
|
+
"description": "Timestamp of campaign update"
|
|
7363
|
+
},
|
|
7364
|
+
"last_updated_by": {
|
|
7365
|
+
"type": "string",
|
|
7366
|
+
"title": "Last Updated By",
|
|
7367
|
+
"description": "User who last updated campaign"
|
|
7368
|
+
}
|
|
7369
|
+
},
|
|
7370
|
+
"type": "object",
|
|
7371
|
+
"required": [
|
|
7372
|
+
"campaign_name",
|
|
7373
|
+
"campaign_variables",
|
|
7374
|
+
"id",
|
|
7375
|
+
"last_updated_by"
|
|
7376
|
+
],
|
|
7377
|
+
"title": "OutboundCampaign"
|
|
7378
|
+
},
|
|
7379
|
+
"OutboundCampaignInput": {
|
|
7380
|
+
"properties": {
|
|
7381
|
+
"campaign_name": {
|
|
7382
|
+
"type": "string",
|
|
7383
|
+
"title": "Campaign Name",
|
|
7384
|
+
"description": "Human readable name of campaign"
|
|
7385
|
+
},
|
|
7386
|
+
"campaign_variables": {
|
|
7387
|
+
"type": "object",
|
|
7388
|
+
"title": "Campaign Variables",
|
|
7389
|
+
"description": "Variables for campaign"
|
|
7390
|
+
},
|
|
7391
|
+
"status": {
|
|
7392
|
+
"$ref": "#/components/schemas/CampaignStatus",
|
|
7393
|
+
"description": "Status of campaign",
|
|
7394
|
+
"default": "NEW"
|
|
7395
|
+
}
|
|
7396
|
+
},
|
|
7397
|
+
"type": "object",
|
|
7398
|
+
"required": [
|
|
7399
|
+
"campaign_name",
|
|
7400
|
+
"campaign_variables"
|
|
7401
|
+
],
|
|
7402
|
+
"title": "OutboundCampaignInput"
|
|
7403
|
+
},
|
|
6658
7404
|
"PromptCreateRequest": {
|
|
6659
7405
|
"properties": {
|
|
6660
7406
|
"name": {
|
|
@@ -8383,6 +9129,14 @@
|
|
|
8383
9129
|
"name": "events",
|
|
8384
9130
|
"description": "Operations related to events. An event represents a specific occurrence during a session. Currently the API/SDK only supports fetching logged events."
|
|
8385
9131
|
},
|
|
9132
|
+
{
|
|
9133
|
+
"name": "outbound.campaigns",
|
|
9134
|
+
"description": "Operations related to outbound message campaigns"
|
|
9135
|
+
},
|
|
9136
|
+
{
|
|
9137
|
+
"name": "outbound.batches",
|
|
9138
|
+
"description": "Operations related to outbound campaign batches"
|
|
9139
|
+
},
|
|
8386
9140
|
{
|
|
8387
9141
|
"name": "prompts",
|
|
8388
9142
|
"description": "Operations related to prompts. A prompt defines the behavior of an agent by delivering instructions to the LLM about how the agent should behave. A prompt can be linked to one or more agents. A prompt can also be linked to tools to allow an agent using the prompt to use them."
|
|
@@ -8417,6 +9171,10 @@
|
|
|
8417
9171
|
"operationId": ".*_update$",
|
|
8418
9172
|
"methodNameOverride": "update"
|
|
8419
9173
|
},
|
|
9174
|
+
{
|
|
9175
|
+
"operationId": ".*_upload$",
|
|
9176
|
+
"methodNameOverride": "upload"
|
|
9177
|
+
},
|
|
8420
9178
|
{
|
|
8421
9179
|
"operationId": ".*_delete$",
|
|
8422
9180
|
"methodNameOverride": "delete"
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,8 +61,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "0.1.0-alpha.
|
|
64
|
+
sdkVersion: "0.1.0-alpha.34",
|
|
65
65
|
genVersion: "2.493.21",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
67
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.34 2.493.21 0.0.2 syllable-sdk",
|
|
68
68
|
} as const;
|