syllable-sdk 0.1.0-alpha.32 → 0.1.0-alpha.33
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 +782 -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.33";
|
|
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.33 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.33",
|
|
39
39
|
genVersion: "2.493.21",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.33 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,476 @@
|
|
|
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
|
+
"anyOf": [
|
|
4384
|
+
{
|
|
4385
|
+
"$ref": "#/components/schemas/CommunicationBatch"
|
|
4386
|
+
},
|
|
4387
|
+
{
|
|
4388
|
+
"type": "null"
|
|
4389
|
+
}
|
|
4390
|
+
],
|
|
4391
|
+
"title": "Response Outbound Batch Get By Id"
|
|
4392
|
+
}
|
|
4393
|
+
}
|
|
4394
|
+
}
|
|
4395
|
+
},
|
|
4396
|
+
"422": {
|
|
4397
|
+
"description": "Validation Error",
|
|
4398
|
+
"content": {
|
|
4399
|
+
"application/json": {
|
|
4400
|
+
"schema": {
|
|
4401
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4402
|
+
}
|
|
4403
|
+
}
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4406
|
+
},
|
|
4407
|
+
"x-speakeasy-ignore": true
|
|
4408
|
+
},
|
|
4409
|
+
"delete": {
|
|
4410
|
+
"tags": [
|
|
4411
|
+
"outbound.batches",
|
|
4412
|
+
"V1"
|
|
4413
|
+
],
|
|
4414
|
+
"summary": "Delete Outbound Communication Batch",
|
|
4415
|
+
"operationId": "outbound_batch_delete",
|
|
4416
|
+
"security": [
|
|
4417
|
+
{
|
|
4418
|
+
"APIKeyHeader": []
|
|
4419
|
+
}
|
|
4420
|
+
],
|
|
4421
|
+
"parameters": [
|
|
4422
|
+
{
|
|
4423
|
+
"name": "batch_id",
|
|
4424
|
+
"in": "path",
|
|
4425
|
+
"required": true,
|
|
4426
|
+
"schema": {
|
|
4427
|
+
"type": "string",
|
|
4428
|
+
"title": "Batch Id"
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
],
|
|
4432
|
+
"requestBody": {
|
|
4433
|
+
"required": true,
|
|
4434
|
+
"content": {
|
|
4435
|
+
"application/x-www-form-urlencoded": {
|
|
4436
|
+
"schema": {
|
|
4437
|
+
"$ref": "#/components/schemas/Body_outbound_batch_delete"
|
|
4438
|
+
}
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
},
|
|
4442
|
+
"responses": {
|
|
4443
|
+
"200": {
|
|
4444
|
+
"description": "Successful Response",
|
|
4445
|
+
"content": {
|
|
4446
|
+
"application/json": {
|
|
4447
|
+
"schema": {}
|
|
4448
|
+
}
|
|
4449
|
+
}
|
|
4450
|
+
},
|
|
4451
|
+
"422": {
|
|
4452
|
+
"description": "Validation Error",
|
|
4453
|
+
"content": {
|
|
4454
|
+
"application/json": {
|
|
4455
|
+
"schema": {
|
|
4456
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4457
|
+
}
|
|
4458
|
+
}
|
|
4459
|
+
}
|
|
4460
|
+
}
|
|
4461
|
+
},
|
|
4462
|
+
"x-speakeasy-ignore": true
|
|
4463
|
+
}
|
|
4464
|
+
},
|
|
4465
|
+
"/api/v1/outbound/batches/{batch_id}/upload_batch": {
|
|
4466
|
+
"post": {
|
|
4467
|
+
"tags": [
|
|
4468
|
+
"outbound.batches",
|
|
4469
|
+
"V1"
|
|
4470
|
+
],
|
|
4471
|
+
"summary": "Upload Outbound Communication Batch",
|
|
4472
|
+
"operationId": "outbound_batch_upload",
|
|
4473
|
+
"security": [
|
|
4474
|
+
{
|
|
4475
|
+
"APIKeyHeader": []
|
|
4476
|
+
}
|
|
4477
|
+
],
|
|
4478
|
+
"parameters": [
|
|
4479
|
+
{
|
|
4480
|
+
"name": "batch_id",
|
|
4481
|
+
"in": "path",
|
|
4482
|
+
"required": true,
|
|
4483
|
+
"schema": {
|
|
4484
|
+
"type": "string",
|
|
4485
|
+
"title": "Batch Id"
|
|
4486
|
+
}
|
|
4487
|
+
}
|
|
4488
|
+
],
|
|
4489
|
+
"requestBody": {
|
|
4490
|
+
"required": true,
|
|
4491
|
+
"content": {
|
|
4492
|
+
"multipart/form-data": {
|
|
4493
|
+
"schema": {
|
|
4494
|
+
"$ref": "#/components/schemas/Body_outbound_batch_upload"
|
|
4495
|
+
}
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4498
|
+
},
|
|
4499
|
+
"responses": {
|
|
4500
|
+
"200": {
|
|
4501
|
+
"description": "Successful Response",
|
|
4502
|
+
"content": {
|
|
4503
|
+
"application/json": {
|
|
4504
|
+
"schema": {}
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
},
|
|
4508
|
+
"422": {
|
|
4509
|
+
"description": "Validation Error",
|
|
4510
|
+
"content": {
|
|
4511
|
+
"application/json": {
|
|
4512
|
+
"schema": {
|
|
4513
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
}
|
|
4517
|
+
}
|
|
4518
|
+
},
|
|
4519
|
+
"x-speakeasy-ignore": true
|
|
4520
|
+
}
|
|
4521
|
+
},
|
|
4522
|
+
"/api/v1/outbound/campaigns": {
|
|
4523
|
+
"get": {
|
|
4524
|
+
"tags": [
|
|
4525
|
+
"outbound.campaigns",
|
|
4526
|
+
"V1"
|
|
4527
|
+
],
|
|
4528
|
+
"summary": "List Outbound Communication Campaigns",
|
|
4529
|
+
"operationId": "outbound_campaign_list",
|
|
4530
|
+
"responses": {
|
|
4531
|
+
"200": {
|
|
4532
|
+
"description": "Successful Response",
|
|
4533
|
+
"content": {
|
|
4534
|
+
"application/json": {
|
|
4535
|
+
"schema": {
|
|
4536
|
+
"anyOf": [
|
|
4537
|
+
{
|
|
4538
|
+
"items": {
|
|
4539
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4540
|
+
},
|
|
4541
|
+
"type": "array"
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
"type": "null"
|
|
4545
|
+
}
|
|
4546
|
+
],
|
|
4547
|
+
"title": "Response Outbound Campaign List"
|
|
4548
|
+
}
|
|
4549
|
+
}
|
|
4550
|
+
}
|
|
4551
|
+
}
|
|
4552
|
+
},
|
|
4553
|
+
"security": [
|
|
4554
|
+
{
|
|
4555
|
+
"APIKeyHeader": []
|
|
4556
|
+
}
|
|
4557
|
+
],
|
|
4558
|
+
"x-speakeasy-ignore": true
|
|
4559
|
+
},
|
|
4560
|
+
"post": {
|
|
4561
|
+
"tags": [
|
|
4562
|
+
"outbound.campaigns",
|
|
4563
|
+
"V1"
|
|
4564
|
+
],
|
|
4565
|
+
"summary": "Create Outbound Communication Campaign",
|
|
4566
|
+
"operationId": "outbound_campaign_create",
|
|
4567
|
+
"requestBody": {
|
|
4568
|
+
"content": {
|
|
4569
|
+
"application/json": {
|
|
4570
|
+
"schema": {
|
|
4571
|
+
"$ref": "#/components/schemas/OutboundCampaignInput"
|
|
4572
|
+
}
|
|
4573
|
+
}
|
|
4574
|
+
},
|
|
4575
|
+
"required": true
|
|
4576
|
+
},
|
|
4577
|
+
"responses": {
|
|
4578
|
+
"200": {
|
|
4579
|
+
"description": "Successful Response",
|
|
4580
|
+
"content": {
|
|
4581
|
+
"application/json": {
|
|
4582
|
+
"schema": {
|
|
4583
|
+
"anyOf": [
|
|
4584
|
+
{
|
|
4585
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
"type": "null"
|
|
4589
|
+
}
|
|
4590
|
+
],
|
|
4591
|
+
"title": "Response Outbound Campaign Create"
|
|
4592
|
+
}
|
|
4593
|
+
}
|
|
4594
|
+
}
|
|
4595
|
+
},
|
|
4596
|
+
"422": {
|
|
4597
|
+
"description": "Validation Error",
|
|
4598
|
+
"content": {
|
|
4599
|
+
"application/json": {
|
|
4600
|
+
"schema": {
|
|
4601
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4602
|
+
}
|
|
4603
|
+
}
|
|
4604
|
+
}
|
|
4605
|
+
}
|
|
4606
|
+
},
|
|
4607
|
+
"security": [
|
|
4608
|
+
{
|
|
4609
|
+
"APIKeyHeader": []
|
|
4610
|
+
}
|
|
4611
|
+
],
|
|
4612
|
+
"x-speakeasy-ignore": true
|
|
4613
|
+
}
|
|
4614
|
+
},
|
|
4615
|
+
"/api/v1/outbound/campaigns/{campaign_id}": {
|
|
4616
|
+
"get": {
|
|
4617
|
+
"tags": [
|
|
4618
|
+
"outbound.campaigns",
|
|
4619
|
+
"V1"
|
|
4620
|
+
],
|
|
4621
|
+
"summary": "Get Outbound Communication Campaign",
|
|
4622
|
+
"operationId": "outbound_campaign_get_by_id",
|
|
4623
|
+
"security": [
|
|
4624
|
+
{
|
|
4625
|
+
"APIKeyHeader": []
|
|
4626
|
+
}
|
|
4627
|
+
],
|
|
4628
|
+
"parameters": [
|
|
4629
|
+
{
|
|
4630
|
+
"name": "campaign_id",
|
|
4631
|
+
"in": "path",
|
|
4632
|
+
"required": true,
|
|
4633
|
+
"schema": {
|
|
4634
|
+
"type": "string",
|
|
4635
|
+
"title": "Campaign Id"
|
|
4636
|
+
}
|
|
4637
|
+
}
|
|
4638
|
+
],
|
|
4639
|
+
"responses": {
|
|
4640
|
+
"200": {
|
|
4641
|
+
"description": "Successful Response",
|
|
4642
|
+
"content": {
|
|
4643
|
+
"application/json": {
|
|
4644
|
+
"schema": {
|
|
4645
|
+
"anyOf": [
|
|
4646
|
+
{
|
|
4647
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"type": "null"
|
|
4651
|
+
}
|
|
4652
|
+
],
|
|
4653
|
+
"title": "Response Outbound Campaign Get By Id"
|
|
4654
|
+
}
|
|
4655
|
+
}
|
|
4656
|
+
}
|
|
4657
|
+
},
|
|
4658
|
+
"422": {
|
|
4659
|
+
"description": "Validation Error",
|
|
4660
|
+
"content": {
|
|
4661
|
+
"application/json": {
|
|
4662
|
+
"schema": {
|
|
4663
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4664
|
+
}
|
|
4665
|
+
}
|
|
4666
|
+
}
|
|
4667
|
+
}
|
|
4668
|
+
},
|
|
4669
|
+
"x-speakeasy-ignore": true
|
|
4670
|
+
},
|
|
4671
|
+
"put": {
|
|
4672
|
+
"tags": [
|
|
4673
|
+
"outbound.campaigns",
|
|
4674
|
+
"V1"
|
|
4675
|
+
],
|
|
4676
|
+
"summary": "Update Outbound Communication Campaign",
|
|
4677
|
+
"operationId": "outbound_campaign_update",
|
|
4678
|
+
"security": [
|
|
4679
|
+
{
|
|
4680
|
+
"APIKeyHeader": []
|
|
4681
|
+
}
|
|
4682
|
+
],
|
|
4683
|
+
"parameters": [
|
|
4684
|
+
{
|
|
4685
|
+
"name": "campaign_id",
|
|
4686
|
+
"in": "path",
|
|
4687
|
+
"required": true,
|
|
4688
|
+
"schema": {
|
|
4689
|
+
"type": "integer",
|
|
4690
|
+
"title": "Campaign Id"
|
|
4691
|
+
}
|
|
4692
|
+
}
|
|
4693
|
+
],
|
|
4694
|
+
"requestBody": {
|
|
4695
|
+
"required": true,
|
|
4696
|
+
"content": {
|
|
4697
|
+
"application/json": {
|
|
4698
|
+
"schema": {
|
|
4699
|
+
"$ref": "#/components/schemas/OutboundCampaignInput"
|
|
4700
|
+
}
|
|
4701
|
+
}
|
|
4702
|
+
}
|
|
4703
|
+
},
|
|
4704
|
+
"responses": {
|
|
4705
|
+
"200": {
|
|
4706
|
+
"description": "Successful Response",
|
|
4707
|
+
"content": {
|
|
4708
|
+
"application/json": {
|
|
4709
|
+
"schema": {
|
|
4710
|
+
"anyOf": [
|
|
4711
|
+
{
|
|
4712
|
+
"$ref": "#/components/schemas/OutboundCampaign"
|
|
4713
|
+
},
|
|
4714
|
+
{
|
|
4715
|
+
"type": "null"
|
|
4716
|
+
}
|
|
4717
|
+
],
|
|
4718
|
+
"title": "Response Outbound Campaign Update"
|
|
4719
|
+
}
|
|
4720
|
+
}
|
|
4721
|
+
}
|
|
4722
|
+
},
|
|
4723
|
+
"422": {
|
|
4724
|
+
"description": "Validation Error",
|
|
4725
|
+
"content": {
|
|
4726
|
+
"application/json": {
|
|
4727
|
+
"schema": {
|
|
4728
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
}
|
|
4732
|
+
}
|
|
4733
|
+
},
|
|
4734
|
+
"x-speakeasy-ignore": true
|
|
4735
|
+
}
|
|
4266
4736
|
}
|
|
4267
4737
|
},
|
|
4268
4738
|
"components": {
|
|
@@ -4874,6 +5344,19 @@
|
|
|
4874
5344
|
],
|
|
4875
5345
|
"title": "AvailableTargetProperties"
|
|
4876
5346
|
},
|
|
5347
|
+
"BatchStatus": {
|
|
5348
|
+
"type": "string",
|
|
5349
|
+
"enum": [
|
|
5350
|
+
"NEW",
|
|
5351
|
+
"LOADED",
|
|
5352
|
+
"ACTIVE",
|
|
5353
|
+
"INACTIVE",
|
|
5354
|
+
"PAUSED",
|
|
5355
|
+
"DELETED",
|
|
5356
|
+
"COMPLETED"
|
|
5357
|
+
],
|
|
5358
|
+
"title": "BatchStatus"
|
|
5359
|
+
},
|
|
4877
5360
|
"Body_directory_member_bulk_load": {
|
|
4878
5361
|
"properties": {
|
|
4879
5362
|
"file": {
|
|
@@ -4888,6 +5371,45 @@
|
|
|
4888
5371
|
],
|
|
4889
5372
|
"title": "Body_directory_member_bulk_load"
|
|
4890
5373
|
},
|
|
5374
|
+
"Body_outbound_batch_delete": {
|
|
5375
|
+
"properties": {
|
|
5376
|
+
"deleteReason": {
|
|
5377
|
+
"type": "string",
|
|
5378
|
+
"title": "Deletereason"
|
|
5379
|
+
}
|
|
5380
|
+
},
|
|
5381
|
+
"type": "object",
|
|
5382
|
+
"required": [
|
|
5383
|
+
"deleteReason"
|
|
5384
|
+
],
|
|
5385
|
+
"title": "Body_outbound_batch_delete"
|
|
5386
|
+
},
|
|
5387
|
+
"Body_outbound_batch_upload": {
|
|
5388
|
+
"properties": {
|
|
5389
|
+
"file": {
|
|
5390
|
+
"type": "string",
|
|
5391
|
+
"format": "binary",
|
|
5392
|
+
"title": "File"
|
|
5393
|
+
}
|
|
5394
|
+
},
|
|
5395
|
+
"type": "object",
|
|
5396
|
+
"required": [
|
|
5397
|
+
"file"
|
|
5398
|
+
],
|
|
5399
|
+
"title": "Body_outbound_batch_upload"
|
|
5400
|
+
},
|
|
5401
|
+
"CampaignStatus": {
|
|
5402
|
+
"type": "string",
|
|
5403
|
+
"enum": [
|
|
5404
|
+
"NEW",
|
|
5405
|
+
"ACTIVE",
|
|
5406
|
+
"INACTIVE",
|
|
5407
|
+
"PAUSED",
|
|
5408
|
+
"DELETED",
|
|
5409
|
+
"COMPLETED"
|
|
5410
|
+
],
|
|
5411
|
+
"title": "CampaignStatus"
|
|
5412
|
+
},
|
|
4891
5413
|
"Channel": {
|
|
4892
5414
|
"properties": {
|
|
4893
5415
|
"name": {
|
|
@@ -5157,6 +5679,182 @@
|
|
|
5157
5679
|
],
|
|
5158
5680
|
"title": "ChannelTargetUpdateRequest"
|
|
5159
5681
|
},
|
|
5682
|
+
"CommunicationBatch": {
|
|
5683
|
+
"properties": {
|
|
5684
|
+
"batch_id": {
|
|
5685
|
+
"type": "string",
|
|
5686
|
+
"title": "Batch Id",
|
|
5687
|
+
"description": "Unique ID for conversation batch"
|
|
5688
|
+
},
|
|
5689
|
+
"campaign_id": {
|
|
5690
|
+
"type": "integer",
|
|
5691
|
+
"title": "Campaign Id",
|
|
5692
|
+
"description": "Unique ID for campaign"
|
|
5693
|
+
},
|
|
5694
|
+
"type": {
|
|
5695
|
+
"type": "string",
|
|
5696
|
+
"title": "Type",
|
|
5697
|
+
"description": "Call, SMS, email"
|
|
5698
|
+
},
|
|
5699
|
+
"source": {
|
|
5700
|
+
"type": "string",
|
|
5701
|
+
"title": "Source",
|
|
5702
|
+
"description": "Source phone number, email, or SMS number"
|
|
5703
|
+
},
|
|
5704
|
+
"rate": {
|
|
5705
|
+
"type": "integer",
|
|
5706
|
+
"title": "Rate",
|
|
5707
|
+
"description": "Number of outreach per hour"
|
|
5708
|
+
},
|
|
5709
|
+
"retry_count": {
|
|
5710
|
+
"type": "integer",
|
|
5711
|
+
"title": "Retry Count",
|
|
5712
|
+
"description": "Number of retries per target",
|
|
5713
|
+
"default": 0
|
|
5714
|
+
},
|
|
5715
|
+
"retry_interval": {
|
|
5716
|
+
"anyOf": [
|
|
5717
|
+
{
|
|
5718
|
+
"type": "string"
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"type": "null"
|
|
5722
|
+
}
|
|
5723
|
+
],
|
|
5724
|
+
"title": "Retry Interval",
|
|
5725
|
+
"description": "How long (30m, 12h, 7d) to wait before retrying"
|
|
5726
|
+
},
|
|
5727
|
+
"status": {
|
|
5728
|
+
"$ref": "#/components/schemas/BatchStatus",
|
|
5729
|
+
"description": "Status of batch",
|
|
5730
|
+
"default": "NEW"
|
|
5731
|
+
},
|
|
5732
|
+
"created_at": {
|
|
5733
|
+
"type": "string",
|
|
5734
|
+
"title": "Created At",
|
|
5735
|
+
"description": "Timestamp of batch creation"
|
|
5736
|
+
},
|
|
5737
|
+
"deleted_at": {
|
|
5738
|
+
"anyOf": [
|
|
5739
|
+
{
|
|
5740
|
+
"type": "string"
|
|
5741
|
+
},
|
|
5742
|
+
{
|
|
5743
|
+
"type": "null"
|
|
5744
|
+
}
|
|
5745
|
+
],
|
|
5746
|
+
"title": "Deleted At",
|
|
5747
|
+
"description": "Timestamp of batch deletion"
|
|
5748
|
+
},
|
|
5749
|
+
"deleted_reason": {
|
|
5750
|
+
"anyOf": [
|
|
5751
|
+
{
|
|
5752
|
+
"type": "string"
|
|
5753
|
+
},
|
|
5754
|
+
{
|
|
5755
|
+
"type": "null"
|
|
5756
|
+
}
|
|
5757
|
+
],
|
|
5758
|
+
"title": "Deleted Reason",
|
|
5759
|
+
"description": "Reason for batch deletion"
|
|
5760
|
+
},
|
|
5761
|
+
"dispatch_id": {
|
|
5762
|
+
"anyOf": [
|
|
5763
|
+
{
|
|
5764
|
+
"type": "string"
|
|
5765
|
+
},
|
|
5766
|
+
{
|
|
5767
|
+
"type": "null"
|
|
5768
|
+
}
|
|
5769
|
+
],
|
|
5770
|
+
"title": "Dispatch Id",
|
|
5771
|
+
"description": "Unique ID of worker assigned to batch"
|
|
5772
|
+
},
|
|
5773
|
+
"last_worked_on": {
|
|
5774
|
+
"anyOf": [
|
|
5775
|
+
{
|
|
5776
|
+
"type": "string"
|
|
5777
|
+
},
|
|
5778
|
+
{
|
|
5779
|
+
"type": "null"
|
|
5780
|
+
}
|
|
5781
|
+
],
|
|
5782
|
+
"title": "Last Worked On",
|
|
5783
|
+
"description": "Timestamp of last batch activity"
|
|
5784
|
+
},
|
|
5785
|
+
"last_updated_by": {
|
|
5786
|
+
"type": "string",
|
|
5787
|
+
"title": "Last Updated By",
|
|
5788
|
+
"description": "User who last updated campaign"
|
|
5789
|
+
}
|
|
5790
|
+
},
|
|
5791
|
+
"type": "object",
|
|
5792
|
+
"required": [
|
|
5793
|
+
"batch_id",
|
|
5794
|
+
"campaign_id",
|
|
5795
|
+
"type",
|
|
5796
|
+
"source",
|
|
5797
|
+
"rate",
|
|
5798
|
+
"last_updated_by"
|
|
5799
|
+
],
|
|
5800
|
+
"title": "CommunicationBatch"
|
|
5801
|
+
},
|
|
5802
|
+
"CommunicationBatchInput": {
|
|
5803
|
+
"properties": {
|
|
5804
|
+
"batch_id": {
|
|
5805
|
+
"type": "string",
|
|
5806
|
+
"title": "Batch Id",
|
|
5807
|
+
"description": "Unique ID for conversation batch"
|
|
5808
|
+
},
|
|
5809
|
+
"campaign_id": {
|
|
5810
|
+
"type": "integer",
|
|
5811
|
+
"title": "Campaign Id",
|
|
5812
|
+
"description": "Unique ID for campaign"
|
|
5813
|
+
},
|
|
5814
|
+
"type": {
|
|
5815
|
+
"type": "string",
|
|
5816
|
+
"title": "Type",
|
|
5817
|
+
"description": "Call, SMS, email"
|
|
5818
|
+
},
|
|
5819
|
+
"source": {
|
|
5820
|
+
"type": "string",
|
|
5821
|
+
"title": "Source",
|
|
5822
|
+
"description": "Source phone number, email, or SMS number"
|
|
5823
|
+
},
|
|
5824
|
+
"rate": {
|
|
5825
|
+
"type": "integer",
|
|
5826
|
+
"title": "Rate",
|
|
5827
|
+
"description": "Number of outreach per hour"
|
|
5828
|
+
},
|
|
5829
|
+
"retry_count": {
|
|
5830
|
+
"type": "integer",
|
|
5831
|
+
"title": "Retry Count",
|
|
5832
|
+
"description": "Number of retries per target",
|
|
5833
|
+
"default": 0
|
|
5834
|
+
},
|
|
5835
|
+
"retry_interval": {
|
|
5836
|
+
"anyOf": [
|
|
5837
|
+
{
|
|
5838
|
+
"type": "string"
|
|
5839
|
+
},
|
|
5840
|
+
{
|
|
5841
|
+
"type": "null"
|
|
5842
|
+
}
|
|
5843
|
+
],
|
|
5844
|
+
"title": "Retry Interval",
|
|
5845
|
+
"description": "How long (30m, 12h, 7d) to wait before retrying"
|
|
5846
|
+
}
|
|
5847
|
+
},
|
|
5848
|
+
"type": "object",
|
|
5849
|
+
"required": [
|
|
5850
|
+
"batch_id",
|
|
5851
|
+
"campaign_id",
|
|
5852
|
+
"type",
|
|
5853
|
+
"source",
|
|
5854
|
+
"rate"
|
|
5855
|
+
],
|
|
5856
|
+
"title": "CommunicationBatchInput"
|
|
5857
|
+
},
|
|
5160
5858
|
"Conversation": {
|
|
5161
5859
|
"properties": {
|
|
5162
5860
|
"timestamp": {
|
|
@@ -6655,6 +7353,78 @@
|
|
|
6655
7353
|
],
|
|
6656
7354
|
"title": "OrderByDirection"
|
|
6657
7355
|
},
|
|
7356
|
+
"OutboundCampaign": {
|
|
7357
|
+
"properties": {
|
|
7358
|
+
"campaign_name": {
|
|
7359
|
+
"type": "string",
|
|
7360
|
+
"title": "Campaign Name",
|
|
7361
|
+
"description": "Human readable name of campaign"
|
|
7362
|
+
},
|
|
7363
|
+
"campaign_variables": {
|
|
7364
|
+
"type": "object",
|
|
7365
|
+
"title": "Campaign Variables",
|
|
7366
|
+
"description": "Variables for campaign"
|
|
7367
|
+
},
|
|
7368
|
+
"status": {
|
|
7369
|
+
"$ref": "#/components/schemas/CampaignStatus",
|
|
7370
|
+
"description": "Status of campaign",
|
|
7371
|
+
"default": "NEW"
|
|
7372
|
+
},
|
|
7373
|
+
"id": {
|
|
7374
|
+
"type": "integer",
|
|
7375
|
+
"title": "Id",
|
|
7376
|
+
"description": "Unique ID for campaign"
|
|
7377
|
+
},
|
|
7378
|
+
"created_at": {
|
|
7379
|
+
"type": "string",
|
|
7380
|
+
"title": "Created At",
|
|
7381
|
+
"description": "Timestamp of campaign creation"
|
|
7382
|
+
},
|
|
7383
|
+
"updated_at": {
|
|
7384
|
+
"type": "string",
|
|
7385
|
+
"title": "Updated At",
|
|
7386
|
+
"description": "Timestamp of campaign update"
|
|
7387
|
+
},
|
|
7388
|
+
"last_updated_by": {
|
|
7389
|
+
"type": "string",
|
|
7390
|
+
"title": "Last Updated By",
|
|
7391
|
+
"description": "User who last updated campaign"
|
|
7392
|
+
}
|
|
7393
|
+
},
|
|
7394
|
+
"type": "object",
|
|
7395
|
+
"required": [
|
|
7396
|
+
"campaign_name",
|
|
7397
|
+
"campaign_variables",
|
|
7398
|
+
"id",
|
|
7399
|
+
"last_updated_by"
|
|
7400
|
+
],
|
|
7401
|
+
"title": "OutboundCampaign"
|
|
7402
|
+
},
|
|
7403
|
+
"OutboundCampaignInput": {
|
|
7404
|
+
"properties": {
|
|
7405
|
+
"campaign_name": {
|
|
7406
|
+
"type": "string",
|
|
7407
|
+
"title": "Campaign Name",
|
|
7408
|
+
"description": "Human readable name of campaign"
|
|
7409
|
+
},
|
|
7410
|
+
"campaign_variables": {
|
|
7411
|
+
"type": "object",
|
|
7412
|
+
"title": "Campaign Variables",
|
|
7413
|
+
"description": "Variables for campaign"
|
|
7414
|
+
},
|
|
7415
|
+
"status": {
|
|
7416
|
+
"$ref": "#/components/schemas/CampaignStatus",
|
|
7417
|
+
"description": "Status of campaign",
|
|
7418
|
+
"default": "NEW"
|
|
7419
|
+
}
|
|
7420
|
+
},
|
|
7421
|
+
"type": "object",
|
|
7422
|
+
"required": [
|
|
7423
|
+
"campaign_name",
|
|
7424
|
+
"campaign_variables"
|
|
7425
|
+
],
|
|
7426
|
+
"title": "OutboundCampaignInput"
|
|
7427
|
+
},
|
|
6658
7428
|
"PromptCreateRequest": {
|
|
6659
7429
|
"properties": {
|
|
6660
7430
|
"name": {
|
|
@@ -8383,6 +9153,14 @@
|
|
|
8383
9153
|
"name": "events",
|
|
8384
9154
|
"description": "Operations related to events. An event represents a specific occurrence during a session. Currently the API/SDK only supports fetching logged events."
|
|
8385
9155
|
},
|
|
9156
|
+
{
|
|
9157
|
+
"name": "outbound.campaigns",
|
|
9158
|
+
"description": "Operations related to outbound message campaigns"
|
|
9159
|
+
},
|
|
9160
|
+
{
|
|
9161
|
+
"name": "outbound.batches",
|
|
9162
|
+
"description": "Operations related to outbound campaign batches"
|
|
9163
|
+
},
|
|
8386
9164
|
{
|
|
8387
9165
|
"name": "prompts",
|
|
8388
9166
|
"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 +9195,10 @@
|
|
|
8417
9195
|
"operationId": ".*_update$",
|
|
8418
9196
|
"methodNameOverride": "update"
|
|
8419
9197
|
},
|
|
9198
|
+
{
|
|
9199
|
+
"operationId": ".*_upload$",
|
|
9200
|
+
"methodNameOverride": "upload"
|
|
9201
|
+
},
|
|
8420
9202
|
{
|
|
8421
9203
|
"operationId": ".*_delete$",
|
|
8422
9204
|
"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.33",
|
|
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.33 2.493.21 0.0.2 syllable-sdk",
|
|
68
68
|
} as const;
|