syllable-sdk 0.1.0-alpha.207 → 0.1.0-alpha.213
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/docs/sdks/agents/README.md +4 -4
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/services/README.md +229 -1
- package/docs/sdks/workflows/README.md +8 -8
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentcreate.d.ts +1 -1
- package/models/components/agentresponse.d.ts +1 -1
- package/models/components/agentupdate.d.ts +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/organizationresponse.d.ts +5 -2
- package/models/components/organizationresponse.d.ts.map +1 -1
- package/models/components/organizationresponse.js +4 -4
- package/models/components/organizationresponse.js.map +1 -1
- package/models/components/servicecreaterequest.d.ts +15 -0
- package/models/components/servicecreaterequest.d.ts.map +1 -1
- package/models/components/servicecreaterequest.js +16 -0
- package/models/components/servicecreaterequest.js.map +1 -1
- package/models/components/serviceproperties.d.ts +3 -3
- package/models/components/serviceproperties.js +1 -1
- package/models/components/serviceproperties.js.map +1 -1
- package/models/components/serviceresponse.d.ts +14 -3
- package/models/components/serviceresponse.d.ts.map +1 -1
- package/models/components/serviceresponse.js +11 -2
- package/models/components/serviceresponse.js.map +1 -1
- package/models/components/serviceupdaterequest.d.ts +15 -0
- package/models/components/serviceupdaterequest.d.ts.map +1 -1
- package/models/components/serviceupdaterequest.js +9 -0
- package/models/components/serviceupdaterequest.js.map +1 -1
- package/models/components/toolauthtype.d.ts +31 -0
- package/models/components/toolauthtype.d.ts.map +1 -0
- package/models/components/toolauthtype.js +51 -0
- package/models/components/toolauthtype.js.map +1 -0
- package/openapi.json +176 -51
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentcreate.ts +1 -1
- package/src/models/components/agentresponse.ts +1 -1
- package/src/models/components/agentupdate.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/organizationresponse.ts +9 -6
- package/src/models/components/servicecreaterequest.ts +30 -0
- package/src/models/components/serviceproperties.ts +1 -1
- package/src/models/components/serviceresponse.ts +28 -5
- package/src/models/components/serviceupdaterequest.ts +23 -0
- package/src/models/components/toolauthtype.ts +32 -0
package/openapi.json
CHANGED
|
@@ -11753,10 +11753,10 @@
|
|
|
11753
11753
|
}
|
|
11754
11754
|
],
|
|
11755
11755
|
"title": "Tool Headers",
|
|
11756
|
-
"description": "Optional headers to include in tool calls for agent.",
|
|
11756
|
+
"description": "Optional headers to include in tool calls for agent. (It is discouraged to use this field for \"Authorization\" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)",
|
|
11757
11757
|
"examples": [
|
|
11758
11758
|
{
|
|
11759
|
-
"
|
|
11759
|
+
"some-header": "some-value"
|
|
11760
11760
|
}
|
|
11761
11761
|
]
|
|
11762
11762
|
},
|
|
@@ -12039,10 +12039,10 @@
|
|
|
12039
12039
|
}
|
|
12040
12040
|
],
|
|
12041
12041
|
"title": "Tool Headers",
|
|
12042
|
-
"description": "Optional headers to include in tool calls for agent.",
|
|
12042
|
+
"description": "Optional headers to include in tool calls for agent. (It is discouraged to use this field for \"Authorization\" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)",
|
|
12043
12043
|
"examples": [
|
|
12044
12044
|
{
|
|
12045
|
-
"
|
|
12045
|
+
"some-header": "some-value"
|
|
12046
12046
|
}
|
|
12047
12047
|
]
|
|
12048
12048
|
},
|
|
@@ -12450,10 +12450,10 @@
|
|
|
12450
12450
|
}
|
|
12451
12451
|
],
|
|
12452
12452
|
"title": "Tool Headers",
|
|
12453
|
-
"description": "Optional headers to include in tool calls for agent.",
|
|
12453
|
+
"description": "Optional headers to include in tool calls for agent. (It is discouraged to use this field for \"Authorization\" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)",
|
|
12454
12454
|
"examples": [
|
|
12455
12455
|
{
|
|
12456
|
-
"
|
|
12456
|
+
"some-header": "some-value"
|
|
12457
12457
|
}
|
|
12458
12458
|
]
|
|
12459
12459
|
},
|
|
@@ -12886,7 +12886,7 @@
|
|
|
12886
12886
|
"title": "Batch Id",
|
|
12887
12887
|
"description": "Unique ID for conversation batch",
|
|
12888
12888
|
"examples": [
|
|
12889
|
-
"
|
|
12889
|
+
"20250722.9"
|
|
12890
12890
|
]
|
|
12891
12891
|
},
|
|
12892
12892
|
"campaign_id": {
|
|
@@ -12910,7 +12910,7 @@
|
|
|
12910
12910
|
"title": "Expires On",
|
|
12911
12911
|
"description": "Timestamp of batch expiration",
|
|
12912
12912
|
"examples": [
|
|
12913
|
-
"2025-07-
|
|
12913
|
+
"2025-07-23T00:00:00Z"
|
|
12914
12914
|
]
|
|
12915
12915
|
},
|
|
12916
12916
|
"paused": {
|
|
@@ -12963,7 +12963,7 @@
|
|
|
12963
12963
|
"title": "Created At",
|
|
12964
12964
|
"description": "Timestamp of batch creation",
|
|
12965
12965
|
"examples": [
|
|
12966
|
-
"2025-07-
|
|
12966
|
+
"2025-07-22T00:00:00Z"
|
|
12967
12967
|
]
|
|
12968
12968
|
},
|
|
12969
12969
|
"deleted_at": {
|
|
@@ -12979,7 +12979,7 @@
|
|
|
12979
12979
|
"title": "Deleted At",
|
|
12980
12980
|
"description": "Timestamp of batch deletion",
|
|
12981
12981
|
"examples": [
|
|
12982
|
-
"2025-07-
|
|
12982
|
+
"2025-07-22T00:00:00Z"
|
|
12983
12983
|
]
|
|
12984
12984
|
},
|
|
12985
12985
|
"deleted_reason": {
|
|
@@ -13010,7 +13010,7 @@
|
|
|
13010
13010
|
"title": "Last Updated At",
|
|
13011
13011
|
"description": "Timestamp of last change to batch",
|
|
13012
13012
|
"examples": [
|
|
13013
|
-
"2025-07-
|
|
13013
|
+
"2025-07-22T00:00:00Z"
|
|
13014
13014
|
]
|
|
13015
13015
|
},
|
|
13016
13016
|
"last_updated_by": {
|
|
@@ -13661,7 +13661,7 @@
|
|
|
13661
13661
|
"title": "Batch Id",
|
|
13662
13662
|
"description": "Unique ID for conversation batch",
|
|
13663
13663
|
"examples": [
|
|
13664
|
-
"
|
|
13664
|
+
"20250722.9"
|
|
13665
13665
|
]
|
|
13666
13666
|
},
|
|
13667
13667
|
"campaign_id": {
|
|
@@ -13685,7 +13685,7 @@
|
|
|
13685
13685
|
"title": "Expires On",
|
|
13686
13686
|
"description": "Timestamp of batch expiration",
|
|
13687
13687
|
"examples": [
|
|
13688
|
-
"2025-07-
|
|
13688
|
+
"2025-07-23T00:00:00Z"
|
|
13689
13689
|
]
|
|
13690
13690
|
},
|
|
13691
13691
|
"paused": {
|
|
@@ -13738,7 +13738,7 @@
|
|
|
13738
13738
|
"title": "Created At",
|
|
13739
13739
|
"description": "Timestamp of batch creation",
|
|
13740
13740
|
"examples": [
|
|
13741
|
-
"2025-07-
|
|
13741
|
+
"2025-07-22T00:00:00Z"
|
|
13742
13742
|
]
|
|
13743
13743
|
},
|
|
13744
13744
|
"deleted_at": {
|
|
@@ -13754,7 +13754,7 @@
|
|
|
13754
13754
|
"title": "Deleted At",
|
|
13755
13755
|
"description": "Timestamp of batch deletion",
|
|
13756
13756
|
"examples": [
|
|
13757
|
-
"2025-07-
|
|
13757
|
+
"2025-07-22T00:00:00Z"
|
|
13758
13758
|
]
|
|
13759
13759
|
},
|
|
13760
13760
|
"deleted_reason": {
|
|
@@ -13785,7 +13785,7 @@
|
|
|
13785
13785
|
"title": "Last Updated At",
|
|
13786
13786
|
"description": "Timestamp of last change to batch",
|
|
13787
13787
|
"examples": [
|
|
13788
|
-
"2025-07-
|
|
13788
|
+
"2025-07-22T00:00:00Z"
|
|
13789
13789
|
]
|
|
13790
13790
|
},
|
|
13791
13791
|
"last_updated_by": {
|
|
@@ -13828,7 +13828,7 @@
|
|
|
13828
13828
|
"title": "Batch Id",
|
|
13829
13829
|
"description": "Unique ID for conversation batch",
|
|
13830
13830
|
"examples": [
|
|
13831
|
-
"
|
|
13831
|
+
"20250722.9"
|
|
13832
13832
|
]
|
|
13833
13833
|
},
|
|
13834
13834
|
"campaign_id": {
|
|
@@ -13852,7 +13852,7 @@
|
|
|
13852
13852
|
"title": "Expires On",
|
|
13853
13853
|
"description": "Timestamp of batch expiration",
|
|
13854
13854
|
"examples": [
|
|
13855
|
-
"2025-07-
|
|
13855
|
+
"2025-07-23T00:00:00Z"
|
|
13856
13856
|
]
|
|
13857
13857
|
},
|
|
13858
13858
|
"paused": {
|
|
@@ -14001,7 +14001,7 @@
|
|
|
14001
14001
|
"title": "Created At",
|
|
14002
14002
|
"description": "Timestamp of request creation",
|
|
14003
14003
|
"examples": [
|
|
14004
|
-
"2025-07-
|
|
14004
|
+
"2025-07-21T00:00:00Z"
|
|
14005
14005
|
]
|
|
14006
14006
|
},
|
|
14007
14007
|
"sent_at": {
|
|
@@ -14017,7 +14017,7 @@
|
|
|
14017
14017
|
"title": "Sent At",
|
|
14018
14018
|
"description": "Timestamp at which request was sent",
|
|
14019
14019
|
"examples": [
|
|
14020
|
-
"2025-07-
|
|
14020
|
+
"2025-07-22T00:00:00Z"
|
|
14021
14021
|
]
|
|
14022
14022
|
},
|
|
14023
14023
|
"attempt_count": {
|
|
@@ -15933,7 +15933,7 @@
|
|
|
15933
15933
|
"title": "Created At",
|
|
15934
15934
|
"description": "Timestamp at which insight upload folder was created",
|
|
15935
15935
|
"examples": [
|
|
15936
|
-
"2025-07-
|
|
15936
|
+
"2025-07-21T00:00:00Z"
|
|
15937
15937
|
]
|
|
15938
15938
|
},
|
|
15939
15939
|
"updated_at": {
|
|
@@ -15942,7 +15942,7 @@
|
|
|
15942
15942
|
"title": "Updated At",
|
|
15943
15943
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
15944
15944
|
"examples": [
|
|
15945
|
-
"2025-07-
|
|
15945
|
+
"2025-07-22T00:00:00Z"
|
|
15946
15946
|
]
|
|
15947
15947
|
},
|
|
15948
15948
|
"last_updated_by": {
|
|
@@ -16657,7 +16657,7 @@
|
|
|
16657
16657
|
"title": "Created At",
|
|
16658
16658
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
16659
16659
|
"examples": [
|
|
16660
|
-
"2025-07-
|
|
16660
|
+
"2025-07-21T00:00:00Z"
|
|
16661
16661
|
]
|
|
16662
16662
|
},
|
|
16663
16663
|
"updated_at": {
|
|
@@ -16666,7 +16666,7 @@
|
|
|
16666
16666
|
"title": "Updated At",
|
|
16667
16667
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
16668
16668
|
"examples": [
|
|
16669
|
-
"2025-07-
|
|
16669
|
+
"2025-07-22T00:00:00Z"
|
|
16670
16670
|
]
|
|
16671
16671
|
},
|
|
16672
16672
|
"last_updated_by": {
|
|
@@ -17043,7 +17043,7 @@
|
|
|
17043
17043
|
"title": "Start Datetime",
|
|
17044
17044
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17045
17045
|
"examples": [
|
|
17046
|
-
"2025-07-
|
|
17046
|
+
"2025-07-21T00:00:00Z"
|
|
17047
17047
|
]
|
|
17048
17048
|
},
|
|
17049
17049
|
"end_datetime": {
|
|
@@ -17059,7 +17059,7 @@
|
|
|
17059
17059
|
"title": "End Datetime",
|
|
17060
17060
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17061
17061
|
"examples": [
|
|
17062
|
-
"2025-07-
|
|
17062
|
+
"2025-07-22T00:00:00Z"
|
|
17063
17063
|
]
|
|
17064
17064
|
}
|
|
17065
17065
|
},
|
|
@@ -17134,7 +17134,7 @@
|
|
|
17134
17134
|
"title": "Start Datetime",
|
|
17135
17135
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17136
17136
|
"examples": [
|
|
17137
|
-
"2025-07-
|
|
17137
|
+
"2025-07-21T00:00:00Z"
|
|
17138
17138
|
]
|
|
17139
17139
|
},
|
|
17140
17140
|
"end_datetime": {
|
|
@@ -17150,7 +17150,7 @@
|
|
|
17150
17150
|
"title": "End Datetime",
|
|
17151
17151
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17152
17152
|
"examples": [
|
|
17153
|
-
"2025-07-
|
|
17153
|
+
"2025-07-22T00:00:00Z"
|
|
17154
17154
|
]
|
|
17155
17155
|
},
|
|
17156
17156
|
"id": {
|
|
@@ -17203,7 +17203,7 @@
|
|
|
17203
17203
|
"title": "Created At",
|
|
17204
17204
|
"description": "Timestamp at which the insight workflow was created",
|
|
17205
17205
|
"examples": [
|
|
17206
|
-
"2025-07-
|
|
17206
|
+
"2025-07-21T00:00:00Z"
|
|
17207
17207
|
]
|
|
17208
17208
|
},
|
|
17209
17209
|
"updated_at": {
|
|
@@ -17212,7 +17212,7 @@
|
|
|
17212
17212
|
"title": "Updated At",
|
|
17213
17213
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
17214
17214
|
"examples": [
|
|
17215
|
-
"2025-07-
|
|
17215
|
+
"2025-07-22T00:00:00Z"
|
|
17216
17216
|
]
|
|
17217
17217
|
},
|
|
17218
17218
|
"last_updated_by": {
|
|
@@ -17308,7 +17308,7 @@
|
|
|
17308
17308
|
"title": "Created At",
|
|
17309
17309
|
"description": "Timestamp at which insight upload folder was created",
|
|
17310
17310
|
"examples": [
|
|
17311
|
-
"2025-07-
|
|
17311
|
+
"2025-07-21T00:00:00Z"
|
|
17312
17312
|
]
|
|
17313
17313
|
},
|
|
17314
17314
|
"updated_at": {
|
|
@@ -17317,7 +17317,7 @@
|
|
|
17317
17317
|
"title": "Updated At",
|
|
17318
17318
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
17319
17319
|
"examples": [
|
|
17320
|
-
"2025-07-
|
|
17320
|
+
"2025-07-22T00:00:00Z"
|
|
17321
17321
|
]
|
|
17322
17322
|
},
|
|
17323
17323
|
"last_updated_by": {
|
|
@@ -17552,7 +17552,7 @@
|
|
|
17552
17552
|
"title": "Created At",
|
|
17553
17553
|
"description": "Timestamp at which insight tool result was created",
|
|
17554
17554
|
"examples": [
|
|
17555
|
-
"2025-07-
|
|
17555
|
+
"2025-07-21T00:00:00Z"
|
|
17556
17556
|
]
|
|
17557
17557
|
},
|
|
17558
17558
|
"updated_at": {
|
|
@@ -17561,7 +17561,7 @@
|
|
|
17561
17561
|
"title": "Updated At",
|
|
17562
17562
|
"description": "Timestamp at which insight tool result was last updated",
|
|
17563
17563
|
"examples": [
|
|
17564
|
-
"2025-07-
|
|
17564
|
+
"2025-07-22T00:00:00Z"
|
|
17565
17565
|
]
|
|
17566
17566
|
}
|
|
17567
17567
|
},
|
|
@@ -17696,7 +17696,7 @@
|
|
|
17696
17696
|
"title": "Start Time",
|
|
17697
17697
|
"description": "Start time of the uploaded file",
|
|
17698
17698
|
"examples": [
|
|
17699
|
-
"2025-07-
|
|
17699
|
+
"2025-07-21T00:00:00Z"
|
|
17700
17700
|
]
|
|
17701
17701
|
},
|
|
17702
17702
|
"end_time": {
|
|
@@ -17712,7 +17712,7 @@
|
|
|
17712
17712
|
"title": "End Time",
|
|
17713
17713
|
"description": "End time of the uploaded file",
|
|
17714
17714
|
"examples": [
|
|
17715
|
-
"2025-07-
|
|
17715
|
+
"2025-07-22T00:00:00Z"
|
|
17716
17716
|
]
|
|
17717
17717
|
},
|
|
17718
17718
|
"error_message": {
|
|
@@ -17767,7 +17767,7 @@
|
|
|
17767
17767
|
"title": "Created At",
|
|
17768
17768
|
"description": "Timestamp at which insight upload file was created",
|
|
17769
17769
|
"examples": [
|
|
17770
|
-
"2025-07-
|
|
17770
|
+
"2025-07-21T00:00:00Z"
|
|
17771
17771
|
]
|
|
17772
17772
|
}
|
|
17773
17773
|
},
|
|
@@ -20221,7 +20221,7 @@
|
|
|
20221
20221
|
"title": "Last Updated By",
|
|
20222
20222
|
"description": "The email of the user who most recently updated the organization"
|
|
20223
20223
|
},
|
|
20224
|
-
"
|
|
20224
|
+
"logo_url": {
|
|
20225
20225
|
"anyOf": [
|
|
20226
20226
|
{
|
|
20227
20227
|
"type": "string"
|
|
@@ -20230,7 +20230,11 @@
|
|
|
20230
20230
|
"type": "null"
|
|
20231
20231
|
}
|
|
20232
20232
|
],
|
|
20233
|
-
"title": "Logo
|
|
20233
|
+
"title": "Logo Url",
|
|
20234
|
+
"description": "CDN URL. The org will always have a logo, but this value will be null on a response to an update where no logo was provided on the request",
|
|
20235
|
+
"examples": [
|
|
20236
|
+
"https://image.png"
|
|
20237
|
+
]
|
|
20234
20238
|
}
|
|
20235
20239
|
},
|
|
20236
20240
|
"type": "object",
|
|
@@ -20239,8 +20243,7 @@
|
|
|
20239
20243
|
"domains",
|
|
20240
20244
|
"id",
|
|
20241
20245
|
"slug",
|
|
20242
|
-
"last_updated"
|
|
20243
|
-
"logo_str"
|
|
20246
|
+
"last_updated"
|
|
20244
20247
|
],
|
|
20245
20248
|
"title": "OrganizationResponse"
|
|
20246
20249
|
},
|
|
@@ -20457,7 +20460,7 @@
|
|
|
20457
20460
|
"title": "Created At",
|
|
20458
20461
|
"description": "Timestamp of campaign creation",
|
|
20459
20462
|
"examples": [
|
|
20460
|
-
"2025-07-
|
|
20463
|
+
"2025-07-22T00:00:00Z"
|
|
20461
20464
|
]
|
|
20462
20465
|
},
|
|
20463
20466
|
"updated_at": {
|
|
@@ -20466,7 +20469,7 @@
|
|
|
20466
20469
|
"title": "Updated At",
|
|
20467
20470
|
"description": "Timestamp of campaign update",
|
|
20468
20471
|
"examples": [
|
|
20469
|
-
"2025-07-
|
|
20472
|
+
"2025-07-22T00:00:00Z"
|
|
20470
20473
|
]
|
|
20471
20474
|
},
|
|
20472
20475
|
"last_updated_by": {
|
|
@@ -21607,6 +21610,45 @@
|
|
|
21607
21610
|
"examples": [
|
|
21608
21611
|
"Service containing tools for fetching weather information"
|
|
21609
21612
|
]
|
|
21613
|
+
},
|
|
21614
|
+
"auth_type": {
|
|
21615
|
+
"anyOf": [
|
|
21616
|
+
{
|
|
21617
|
+
"$ref": "#/components/schemas/ToolAuthType"
|
|
21618
|
+
},
|
|
21619
|
+
{
|
|
21620
|
+
"type": "null"
|
|
21621
|
+
}
|
|
21622
|
+
],
|
|
21623
|
+
"description": "The type of authentication to use for the service's tools",
|
|
21624
|
+
"examples": [
|
|
21625
|
+
"basic"
|
|
21626
|
+
]
|
|
21627
|
+
},
|
|
21628
|
+
"auth_values": {
|
|
21629
|
+
"anyOf": [
|
|
21630
|
+
{
|
|
21631
|
+
"additionalProperties": {
|
|
21632
|
+
"anyOf": [
|
|
21633
|
+
{
|
|
21634
|
+
"type": "string"
|
|
21635
|
+
},
|
|
21636
|
+
{
|
|
21637
|
+
"type": "null"
|
|
21638
|
+
}
|
|
21639
|
+
]
|
|
21640
|
+
},
|
|
21641
|
+
"type": "object"
|
|
21642
|
+
},
|
|
21643
|
+
{
|
|
21644
|
+
"type": "null"
|
|
21645
|
+
}
|
|
21646
|
+
],
|
|
21647
|
+
"title": "Auth Values",
|
|
21648
|
+
"description": "The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
|
|
21649
|
+
"examples": [
|
|
21650
|
+
"{\"username\": \"my-username\", \"password\": \"my-password\"}"
|
|
21651
|
+
]
|
|
21610
21652
|
}
|
|
21611
21653
|
},
|
|
21612
21654
|
"type": "object",
|
|
@@ -21623,7 +21665,7 @@
|
|
|
21623
21665
|
"id",
|
|
21624
21666
|
"name",
|
|
21625
21667
|
"description",
|
|
21626
|
-
"
|
|
21668
|
+
"last_updated",
|
|
21627
21669
|
"last_updated_by"
|
|
21628
21670
|
],
|
|
21629
21671
|
"title": "ServiceProperties",
|
|
@@ -21631,6 +21673,14 @@
|
|
|
21631
21673
|
},
|
|
21632
21674
|
"ServiceResponse": {
|
|
21633
21675
|
"properties": {
|
|
21676
|
+
"id": {
|
|
21677
|
+
"type": "integer",
|
|
21678
|
+
"title": "Id",
|
|
21679
|
+
"description": "The internal ID of the service",
|
|
21680
|
+
"examples": [
|
|
21681
|
+
1
|
|
21682
|
+
]
|
|
21683
|
+
},
|
|
21634
21684
|
"name": {
|
|
21635
21685
|
"type": "string",
|
|
21636
21686
|
"title": "Name",
|
|
@@ -21647,12 +21697,39 @@
|
|
|
21647
21697
|
"Service containing tools for fetching weather information"
|
|
21648
21698
|
]
|
|
21649
21699
|
},
|
|
21650
|
-
"
|
|
21651
|
-
"
|
|
21652
|
-
|
|
21653
|
-
|
|
21700
|
+
"auth_type": {
|
|
21701
|
+
"anyOf": [
|
|
21702
|
+
{
|
|
21703
|
+
"$ref": "#/components/schemas/ToolAuthType"
|
|
21704
|
+
},
|
|
21705
|
+
{
|
|
21706
|
+
"type": "null"
|
|
21707
|
+
}
|
|
21708
|
+
],
|
|
21709
|
+
"description": "The type of authentication to use for the service's tools",
|
|
21654
21710
|
"examples": [
|
|
21655
|
-
|
|
21711
|
+
"basic"
|
|
21712
|
+
]
|
|
21713
|
+
},
|
|
21714
|
+
"auth_value_keys": {
|
|
21715
|
+
"anyOf": [
|
|
21716
|
+
{
|
|
21717
|
+
"items": {
|
|
21718
|
+
"type": "string"
|
|
21719
|
+
},
|
|
21720
|
+
"type": "array"
|
|
21721
|
+
},
|
|
21722
|
+
{
|
|
21723
|
+
"type": "null"
|
|
21724
|
+
}
|
|
21725
|
+
],
|
|
21726
|
+
"title": "Auth Value Keys",
|
|
21727
|
+
"description": "Auth value keys (values omitted for security)",
|
|
21728
|
+
"examples": [
|
|
21729
|
+
[
|
|
21730
|
+
"username",
|
|
21731
|
+
"password"
|
|
21732
|
+
]
|
|
21656
21733
|
]
|
|
21657
21734
|
},
|
|
21658
21735
|
"last_updated_comments": {
|
|
@@ -21704,9 +21781,9 @@
|
|
|
21704
21781
|
},
|
|
21705
21782
|
"type": "object",
|
|
21706
21783
|
"required": [
|
|
21784
|
+
"id",
|
|
21707
21785
|
"name",
|
|
21708
21786
|
"description",
|
|
21709
|
-
"id",
|
|
21710
21787
|
"last_updated",
|
|
21711
21788
|
"last_updated_by",
|
|
21712
21789
|
"tools"
|
|
@@ -21732,6 +21809,45 @@
|
|
|
21732
21809
|
"Service containing tools for fetching weather information"
|
|
21733
21810
|
]
|
|
21734
21811
|
},
|
|
21812
|
+
"auth_type": {
|
|
21813
|
+
"anyOf": [
|
|
21814
|
+
{
|
|
21815
|
+
"$ref": "#/components/schemas/ToolAuthType"
|
|
21816
|
+
},
|
|
21817
|
+
{
|
|
21818
|
+
"type": "null"
|
|
21819
|
+
}
|
|
21820
|
+
],
|
|
21821
|
+
"description": "The type of authentication to use for the service's tools",
|
|
21822
|
+
"examples": [
|
|
21823
|
+
"basic"
|
|
21824
|
+
]
|
|
21825
|
+
},
|
|
21826
|
+
"auth_values": {
|
|
21827
|
+
"anyOf": [
|
|
21828
|
+
{
|
|
21829
|
+
"additionalProperties": {
|
|
21830
|
+
"anyOf": [
|
|
21831
|
+
{
|
|
21832
|
+
"type": "string"
|
|
21833
|
+
},
|
|
21834
|
+
{
|
|
21835
|
+
"type": "null"
|
|
21836
|
+
}
|
|
21837
|
+
]
|
|
21838
|
+
},
|
|
21839
|
+
"type": "object"
|
|
21840
|
+
},
|
|
21841
|
+
{
|
|
21842
|
+
"type": "null"
|
|
21843
|
+
}
|
|
21844
|
+
],
|
|
21845
|
+
"title": "Auth Values",
|
|
21846
|
+
"description": "The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
|
|
21847
|
+
"examples": [
|
|
21848
|
+
"{\"username\": \"my-username\", \"password\": \"my-password\"}"
|
|
21849
|
+
]
|
|
21850
|
+
},
|
|
21735
21851
|
"id": {
|
|
21736
21852
|
"type": "integer",
|
|
21737
21853
|
"title": "Id",
|
|
@@ -22977,6 +23093,15 @@
|
|
|
22977
23093
|
"title": "ToolArgumentLocation",
|
|
22978
23094
|
"description": "The location of the argument in a tool HTTP request.\n'body' is used for JSON data in the POST request body.\n'form' is used for form data in the POST request body.\n'path' is used for URL path parameters.\n'query' is used for query parameters in the URL."
|
|
22979
23095
|
},
|
|
23096
|
+
"ToolAuthType": {
|
|
23097
|
+
"type": "string",
|
|
23098
|
+
"enum": [
|
|
23099
|
+
"basic",
|
|
23100
|
+
"bearer",
|
|
23101
|
+
"custom_headers"
|
|
23102
|
+
],
|
|
23103
|
+
"title": "ToolAuthType"
|
|
23104
|
+
},
|
|
22980
23105
|
"ToolCreateRequest": {
|
|
22981
23106
|
"properties": {
|
|
22982
23107
|
"name": {
|
|
@@ -24683,7 +24808,7 @@
|
|
|
24683
24808
|
},
|
|
24684
24809
|
{
|
|
24685
24810
|
"name": "services",
|
|
24686
|
-
"description": "Operations related to service configuration. A service is a collection of tools."
|
|
24811
|
+
"description": "Operations related to service configuration. A service is a collection of tools. You can specify an authentication method and values on a service, and any linked tools will use that auth information to generate headers for HTTP calls."
|
|
24687
24812
|
},
|
|
24688
24813
|
{
|
|
24689
24814
|
"name": "sessions",
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.213",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.213 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -81,7 +81,7 @@ export type AgentCreate = {
|
|
|
81
81
|
*/
|
|
82
82
|
variables: { [k: string]: string };
|
|
83
83
|
/**
|
|
84
|
-
* Optional headers to include in tool calls for agent.
|
|
84
|
+
* Optional headers to include in tool calls for agent. (It is discouraged to use this field for "Authorization" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)
|
|
85
85
|
*/
|
|
86
86
|
toolHeaders: { [k: string]: string } | null;
|
|
87
87
|
/**
|
|
@@ -107,7 +107,7 @@ export type AgentResponse = {
|
|
|
107
107
|
*/
|
|
108
108
|
variables: { [k: string]: string };
|
|
109
109
|
/**
|
|
110
|
-
* Optional headers to include in tool calls for agent.
|
|
110
|
+
* Optional headers to include in tool calls for agent. (It is discouraged to use this field for "Authorization" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)
|
|
111
111
|
*/
|
|
112
112
|
toolHeaders: { [k: string]: string } | null;
|
|
113
113
|
/**
|
|
@@ -81,7 +81,7 @@ export type AgentUpdate = {
|
|
|
81
81
|
*/
|
|
82
82
|
variables: { [k: string]: string };
|
|
83
83
|
/**
|
|
84
|
-
* Optional headers to include in tool calls for agent.
|
|
84
|
+
* Optional headers to include in tool calls for agent. (It is discouraged to use this field for "Authorization" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)
|
|
85
85
|
*/
|
|
86
86
|
toolHeaders: { [k: string]: string } | null;
|
|
87
87
|
/**
|
|
@@ -174,6 +174,7 @@ export * from "./testmessage.js";
|
|
|
174
174
|
export * from "./testmessageresponse.js";
|
|
175
175
|
export * from "./toolagentinfo.js";
|
|
176
176
|
export * from "./toolargumentlocation.js";
|
|
177
|
+
export * from "./toolauthtype.js";
|
|
177
178
|
export * from "./toolcreaterequest.js";
|
|
178
179
|
export * from "./tooldefinition.js";
|
|
179
180
|
export * from "./tooldetailresponse.js";
|
|
@@ -41,7 +41,10 @@ export type OrganizationResponse = {
|
|
|
41
41
|
* The email of the user who most recently updated the organization
|
|
42
42
|
*/
|
|
43
43
|
lastUpdatedBy?: string | null | undefined;
|
|
44
|
-
|
|
44
|
+
/**
|
|
45
|
+
* CDN URL. The org will always have a logo, but this value will be null on a response to an update where no logo was provided on the request
|
|
46
|
+
*/
|
|
47
|
+
logoUrl?: string | null | undefined;
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
/** @internal */
|
|
@@ -60,14 +63,14 @@ export const OrganizationResponse$inboundSchema: z.ZodType<
|
|
|
60
63
|
new Date(v)
|
|
61
64
|
),
|
|
62
65
|
last_updated_by: z.nullable(z.string()).optional(),
|
|
63
|
-
|
|
66
|
+
logo_url: z.nullable(z.string()).optional(),
|
|
64
67
|
}).transform((v) => {
|
|
65
68
|
return remap$(v, {
|
|
66
69
|
"display_name": "displayName",
|
|
67
70
|
"last_updated_comments": "lastUpdatedComments",
|
|
68
71
|
"last_updated": "lastUpdated",
|
|
69
72
|
"last_updated_by": "lastUpdatedBy",
|
|
70
|
-
"
|
|
73
|
+
"logo_url": "logoUrl",
|
|
71
74
|
});
|
|
72
75
|
});
|
|
73
76
|
|
|
@@ -81,7 +84,7 @@ export type OrganizationResponse$Outbound = {
|
|
|
81
84
|
slug: string;
|
|
82
85
|
last_updated: string;
|
|
83
86
|
last_updated_by?: string | null | undefined;
|
|
84
|
-
|
|
87
|
+
logo_url?: string | null | undefined;
|
|
85
88
|
};
|
|
86
89
|
|
|
87
90
|
/** @internal */
|
|
@@ -98,14 +101,14 @@ export const OrganizationResponse$outboundSchema: z.ZodType<
|
|
|
98
101
|
slug: z.string(),
|
|
99
102
|
lastUpdated: z.date().transform(v => v.toISOString()),
|
|
100
103
|
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
101
|
-
|
|
104
|
+
logoUrl: z.nullable(z.string()).optional(),
|
|
102
105
|
}).transform((v) => {
|
|
103
106
|
return remap$(v, {
|
|
104
107
|
displayName: "display_name",
|
|
105
108
|
lastUpdatedComments: "last_updated_comments",
|
|
106
109
|
lastUpdated: "last_updated",
|
|
107
110
|
lastUpdatedBy: "last_updated_by",
|
|
108
|
-
|
|
111
|
+
logoUrl: "logo_url",
|
|
109
112
|
});
|
|
110
113
|
});
|
|
111
114
|
|