syllable-sdk 0.1.0-alpha.177 → 0.1.0-alpha.186
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/batches/README.md +4 -4
- package/docs/sdks/permissions/README.md +1 -1
- package/docs/sdks/prompts/README.md +4 -8
- package/docs/sdks/roles/README.md +1 -1
- package/docs/sdks/users/README.md +2 -2
- package/docs/sdks/v1/README.md +2 -2
- package/docs/sdks/workflows/README.md +8 -8
- package/funcs/permissionsList.d.ts +1 -1
- package/funcs/permissionsList.d.ts.map +1 -1
- package/funcs/permissionsList.js +1 -1
- package/funcs/permissionsList.js.map +1 -1
- package/funcs/rolesDelete.d.ts +1 -1
- package/funcs/rolesDelete.d.ts.map +1 -1
- package/funcs/rolesDelete.js +2 -1
- package/funcs/rolesDelete.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- 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/permissiongroupresponse.d.ts +46 -0
- package/models/components/permissiongroupresponse.d.ts.map +1 -0
- package/models/components/permissiongroupresponse.js +64 -0
- package/models/components/permissiongroupresponse.js.map +1 -0
- package/models/components/permissionresponse.d.ts +7 -2
- package/models/components/permissionresponse.d.ts.map +1 -1
- package/models/components/permissionresponse.js +13 -2
- package/models/components/permissionresponse.js.map +1 -1
- package/models/components/userproperties.d.ts +6 -0
- package/models/components/userproperties.d.ts.map +1 -1
- package/models/components/userproperties.js +2 -0
- package/models/components/userproperties.js.map +1 -1
- package/models/components/userresponse.d.ts +5 -0
- package/models/components/userresponse.d.ts.map +1 -1
- package/models/components/userresponse.js +4 -0
- package/models/components/userresponse.js.map +1 -1
- package/models/operations/rolesdelete.d.ts +11 -0
- package/models/operations/rolesdelete.d.ts.map +1 -1
- package/models/operations/rolesdelete.js +4 -0
- package/models/operations/rolesdelete.js.map +1 -1
- package/openapi.json +159 -75
- package/package.json +1 -1
- package/sdk/permissions.d.ts +1 -1
- package/sdk/permissions.d.ts.map +1 -1
- package/sdk/roles.d.ts +1 -1
- package/sdk/roles.js +1 -1
- package/src/funcs/permissionsList.ts +3 -3
- package/src/funcs/rolesDelete.ts +2 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +1 -0
- package/src/models/components/permissiongroupresponse.ts +92 -0
- package/src/models/components/permissionresponse.ts +20 -4
- package/src/models/components/userproperties.ts +2 -0
- package/src/models/components/userresponse.ts +9 -0
- package/src/models/operations/rolesdelete.ts +15 -0
- package/src/sdk/permissions.ts +1 -1
- package/src/sdk/roles.ts +1 -1
package/openapi.json
CHANGED
|
@@ -4958,7 +4958,7 @@
|
|
|
4958
4958
|
"application/json": {
|
|
4959
4959
|
"schema": {
|
|
4960
4960
|
"items": {
|
|
4961
|
-
"$ref": "#/components/schemas/
|
|
4961
|
+
"$ref": "#/components/schemas/PermissionGroupResponse"
|
|
4962
4962
|
},
|
|
4963
4963
|
"type": "array",
|
|
4964
4964
|
"title": "Response Permissions List"
|
|
@@ -5824,7 +5824,7 @@
|
|
|
5824
5824
|
"roles"
|
|
5825
5825
|
],
|
|
5826
5826
|
"summary": "Delete Role",
|
|
5827
|
-
"description": "Delete a role.",
|
|
5827
|
+
"description": "Delete a role. Optionally, reassign existing users with that role to a new role.",
|
|
5828
5828
|
"operationId": "roles_delete",
|
|
5829
5829
|
"security": [
|
|
5830
5830
|
{
|
|
@@ -5838,8 +5838,10 @@
|
|
|
5838
5838
|
"required": true,
|
|
5839
5839
|
"schema": {
|
|
5840
5840
|
"type": "integer",
|
|
5841
|
+
"description": "The ID of the role to delete",
|
|
5841
5842
|
"title": "Role Id"
|
|
5842
|
-
}
|
|
5843
|
+
},
|
|
5844
|
+
"description": "The ID of the role to delete"
|
|
5843
5845
|
},
|
|
5844
5846
|
{
|
|
5845
5847
|
"name": "reason",
|
|
@@ -5847,8 +5849,28 @@
|
|
|
5847
5849
|
"required": true,
|
|
5848
5850
|
"schema": {
|
|
5849
5851
|
"type": "string",
|
|
5852
|
+
"description": "The reason for deleting the role",
|
|
5850
5853
|
"title": "Reason"
|
|
5851
|
-
}
|
|
5854
|
+
},
|
|
5855
|
+
"description": "The reason for deleting the role"
|
|
5856
|
+
},
|
|
5857
|
+
{
|
|
5858
|
+
"name": "new_role_id",
|
|
5859
|
+
"in": "query",
|
|
5860
|
+
"required": false,
|
|
5861
|
+
"schema": {
|
|
5862
|
+
"anyOf": [
|
|
5863
|
+
{
|
|
5864
|
+
"type": "integer"
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"type": "null"
|
|
5868
|
+
}
|
|
5869
|
+
],
|
|
5870
|
+
"description": "Users with the deleted role will be reassigned to the new role, if a new role ID is provided",
|
|
5871
|
+
"title": "New Role Id"
|
|
5872
|
+
},
|
|
5873
|
+
"description": "Users with the deleted role will be reassigned to the new role, if a new role ID is provided"
|
|
5852
5874
|
}
|
|
5853
5875
|
],
|
|
5854
5876
|
"responses": {
|
|
@@ -11471,15 +11493,17 @@
|
|
|
11471
11493
|
"title": "Prompt Tool Defaults",
|
|
11472
11494
|
"description": "Agent-level static parameter values for the agent's tools, overriding any tool-level defaults",
|
|
11473
11495
|
"examples": [
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
|
|
11496
|
+
[
|
|
11497
|
+
{
|
|
11498
|
+
"default_values": [
|
|
11499
|
+
{
|
|
11500
|
+
"default_value": "fahrenheit",
|
|
11501
|
+
"field_name": "temperature_unit"
|
|
11502
|
+
}
|
|
11503
|
+
],
|
|
11504
|
+
"tool_name": "get_weather"
|
|
11505
|
+
}
|
|
11506
|
+
]
|
|
11483
11507
|
]
|
|
11484
11508
|
},
|
|
11485
11509
|
"languages": {
|
|
@@ -11755,15 +11779,17 @@
|
|
|
11755
11779
|
"title": "Prompt Tool Defaults",
|
|
11756
11780
|
"description": "Agent-level static parameter values for the agent's tools, overriding any tool-level defaults",
|
|
11757
11781
|
"examples": [
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11782
|
+
[
|
|
11783
|
+
{
|
|
11784
|
+
"default_values": [
|
|
11785
|
+
{
|
|
11786
|
+
"default_value": "fahrenheit",
|
|
11787
|
+
"field_name": "temperature_unit"
|
|
11788
|
+
}
|
|
11789
|
+
],
|
|
11790
|
+
"tool_name": "get_weather"
|
|
11791
|
+
}
|
|
11792
|
+
]
|
|
11767
11793
|
]
|
|
11768
11794
|
},
|
|
11769
11795
|
"languages": {
|
|
@@ -12164,15 +12190,17 @@
|
|
|
12164
12190
|
"title": "Prompt Tool Defaults",
|
|
12165
12191
|
"description": "Agent-level static parameter values for the agent's tools, overriding any tool-level defaults",
|
|
12166
12192
|
"examples": [
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12193
|
+
[
|
|
12194
|
+
{
|
|
12195
|
+
"default_values": [
|
|
12196
|
+
{
|
|
12197
|
+
"default_value": "fahrenheit",
|
|
12198
|
+
"field_name": "temperature_unit"
|
|
12199
|
+
}
|
|
12200
|
+
],
|
|
12201
|
+
"tool_name": "get_weather"
|
|
12202
|
+
}
|
|
12203
|
+
]
|
|
12176
12204
|
]
|
|
12177
12205
|
},
|
|
12178
12206
|
"languages": {
|
|
@@ -12555,7 +12583,7 @@
|
|
|
12555
12583
|
"title": "Batch Id",
|
|
12556
12584
|
"description": "Unique ID for conversation batch",
|
|
12557
12585
|
"examples": [
|
|
12558
|
-
"
|
|
12586
|
+
"20250617.9"
|
|
12559
12587
|
]
|
|
12560
12588
|
},
|
|
12561
12589
|
"campaign_id": {
|
|
@@ -12579,7 +12607,7 @@
|
|
|
12579
12607
|
"title": "Expires On",
|
|
12580
12608
|
"description": "Timestamp of batch expiration",
|
|
12581
12609
|
"examples": [
|
|
12582
|
-
"2025-06-
|
|
12610
|
+
"2025-06-18T00:00:00Z"
|
|
12583
12611
|
]
|
|
12584
12612
|
},
|
|
12585
12613
|
"paused": {
|
|
@@ -12632,7 +12660,7 @@
|
|
|
12632
12660
|
"title": "Created At",
|
|
12633
12661
|
"description": "Timestamp of batch creation",
|
|
12634
12662
|
"examples": [
|
|
12635
|
-
"2025-06-
|
|
12663
|
+
"2025-06-17T00:00:00Z"
|
|
12636
12664
|
]
|
|
12637
12665
|
},
|
|
12638
12666
|
"deleted_at": {
|
|
@@ -12648,7 +12676,7 @@
|
|
|
12648
12676
|
"title": "Deleted At",
|
|
12649
12677
|
"description": "Timestamp of batch deletion",
|
|
12650
12678
|
"examples": [
|
|
12651
|
-
"2025-06-
|
|
12679
|
+
"2025-06-17T00:00:00Z"
|
|
12652
12680
|
]
|
|
12653
12681
|
},
|
|
12654
12682
|
"deleted_reason": {
|
|
@@ -12679,7 +12707,7 @@
|
|
|
12679
12707
|
"title": "Last Updated At",
|
|
12680
12708
|
"description": "Timestamp of last change to batch",
|
|
12681
12709
|
"examples": [
|
|
12682
|
-
"2025-06-
|
|
12710
|
+
"2025-06-17T00:00:00Z"
|
|
12683
12711
|
]
|
|
12684
12712
|
},
|
|
12685
12713
|
"last_updated_by": {
|
|
@@ -13195,7 +13223,7 @@
|
|
|
13195
13223
|
"title": "Batch Id",
|
|
13196
13224
|
"description": "Unique ID for conversation batch",
|
|
13197
13225
|
"examples": [
|
|
13198
|
-
"
|
|
13226
|
+
"20250617.9"
|
|
13199
13227
|
]
|
|
13200
13228
|
},
|
|
13201
13229
|
"campaign_id": {
|
|
@@ -13219,7 +13247,7 @@
|
|
|
13219
13247
|
"title": "Expires On",
|
|
13220
13248
|
"description": "Timestamp of batch expiration",
|
|
13221
13249
|
"examples": [
|
|
13222
|
-
"2025-06-
|
|
13250
|
+
"2025-06-18T00:00:00Z"
|
|
13223
13251
|
]
|
|
13224
13252
|
},
|
|
13225
13253
|
"paused": {
|
|
@@ -13272,7 +13300,7 @@
|
|
|
13272
13300
|
"title": "Created At",
|
|
13273
13301
|
"description": "Timestamp of batch creation",
|
|
13274
13302
|
"examples": [
|
|
13275
|
-
"2025-06-
|
|
13303
|
+
"2025-06-17T00:00:00Z"
|
|
13276
13304
|
]
|
|
13277
13305
|
},
|
|
13278
13306
|
"deleted_at": {
|
|
@@ -13288,7 +13316,7 @@
|
|
|
13288
13316
|
"title": "Deleted At",
|
|
13289
13317
|
"description": "Timestamp of batch deletion",
|
|
13290
13318
|
"examples": [
|
|
13291
|
-
"2025-06-
|
|
13319
|
+
"2025-06-17T00:00:00Z"
|
|
13292
13320
|
]
|
|
13293
13321
|
},
|
|
13294
13322
|
"deleted_reason": {
|
|
@@ -13319,7 +13347,7 @@
|
|
|
13319
13347
|
"title": "Last Updated At",
|
|
13320
13348
|
"description": "Timestamp of last change to batch",
|
|
13321
13349
|
"examples": [
|
|
13322
|
-
"2025-06-
|
|
13350
|
+
"2025-06-17T00:00:00Z"
|
|
13323
13351
|
]
|
|
13324
13352
|
},
|
|
13325
13353
|
"last_updated_by": {
|
|
@@ -13362,7 +13390,7 @@
|
|
|
13362
13390
|
"title": "Batch Id",
|
|
13363
13391
|
"description": "Unique ID for conversation batch",
|
|
13364
13392
|
"examples": [
|
|
13365
|
-
"
|
|
13393
|
+
"20250617.9"
|
|
13366
13394
|
]
|
|
13367
13395
|
},
|
|
13368
13396
|
"campaign_id": {
|
|
@@ -13386,7 +13414,7 @@
|
|
|
13386
13414
|
"title": "Expires On",
|
|
13387
13415
|
"description": "Timestamp of batch expiration",
|
|
13388
13416
|
"examples": [
|
|
13389
|
-
"2025-06-
|
|
13417
|
+
"2025-06-18T00:00:00Z"
|
|
13390
13418
|
]
|
|
13391
13419
|
},
|
|
13392
13420
|
"paused": {
|
|
@@ -13535,7 +13563,7 @@
|
|
|
13535
13563
|
"title": "Created At",
|
|
13536
13564
|
"description": "Timestamp of request creation",
|
|
13537
13565
|
"examples": [
|
|
13538
|
-
"2025-06-
|
|
13566
|
+
"2025-06-16T00:00:00Z"
|
|
13539
13567
|
]
|
|
13540
13568
|
},
|
|
13541
13569
|
"sent_at": {
|
|
@@ -13551,7 +13579,7 @@
|
|
|
13551
13579
|
"title": "Sent At",
|
|
13552
13580
|
"description": "Timestamp at which request was sent",
|
|
13553
13581
|
"examples": [
|
|
13554
|
-
"2025-06-
|
|
13582
|
+
"2025-06-17T00:00:00Z"
|
|
13555
13583
|
]
|
|
13556
13584
|
},
|
|
13557
13585
|
"attempt_count": {
|
|
@@ -15451,7 +15479,7 @@
|
|
|
15451
15479
|
"title": "Created At",
|
|
15452
15480
|
"description": "Timestamp at which insight upload folder was created",
|
|
15453
15481
|
"examples": [
|
|
15454
|
-
"2025-06-
|
|
15482
|
+
"2025-06-16T00:00:00Z"
|
|
15455
15483
|
]
|
|
15456
15484
|
},
|
|
15457
15485
|
"updated_at": {
|
|
@@ -15460,7 +15488,7 @@
|
|
|
15460
15488
|
"title": "Updated At",
|
|
15461
15489
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
15462
15490
|
"examples": [
|
|
15463
|
-
"2025-06-
|
|
15491
|
+
"2025-06-17T00:00:00Z"
|
|
15464
15492
|
]
|
|
15465
15493
|
},
|
|
15466
15494
|
"last_updated_by": {
|
|
@@ -16175,7 +16203,7 @@
|
|
|
16175
16203
|
"title": "Created At",
|
|
16176
16204
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
16177
16205
|
"examples": [
|
|
16178
|
-
"2025-06-
|
|
16206
|
+
"2025-06-16T00:00:00Z"
|
|
16179
16207
|
]
|
|
16180
16208
|
},
|
|
16181
16209
|
"updated_at": {
|
|
@@ -16184,7 +16212,7 @@
|
|
|
16184
16212
|
"title": "Updated At",
|
|
16185
16213
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
16186
16214
|
"examples": [
|
|
16187
|
-
"2025-06-
|
|
16215
|
+
"2025-06-17T00:00:00Z"
|
|
16188
16216
|
]
|
|
16189
16217
|
},
|
|
16190
16218
|
"last_updated_by": {
|
|
@@ -16539,7 +16567,7 @@
|
|
|
16539
16567
|
"title": "Start Datetime",
|
|
16540
16568
|
"description": "Timestamp for when the insight workflow should start. An empty value indicates start on activation",
|
|
16541
16569
|
"examples": [
|
|
16542
|
-
"2025-06-
|
|
16570
|
+
"2025-06-16T00:00:00Z"
|
|
16543
16571
|
]
|
|
16544
16572
|
},
|
|
16545
16573
|
"end_datetime": {
|
|
@@ -16555,7 +16583,7 @@
|
|
|
16555
16583
|
"title": "End Datetime",
|
|
16556
16584
|
"description": "Timestamp of when the insight workflow should end. An empty value indicates no end",
|
|
16557
16585
|
"examples": [
|
|
16558
|
-
"2025-06-
|
|
16586
|
+
"2025-06-17T00:00:00Z"
|
|
16559
16587
|
]
|
|
16560
16588
|
}
|
|
16561
16589
|
},
|
|
@@ -16629,7 +16657,7 @@
|
|
|
16629
16657
|
"title": "Start Datetime",
|
|
16630
16658
|
"description": "Timestamp for when the insight workflow should start. An empty value indicates start on activation",
|
|
16631
16659
|
"examples": [
|
|
16632
|
-
"2025-06-
|
|
16660
|
+
"2025-06-16T00:00:00Z"
|
|
16633
16661
|
]
|
|
16634
16662
|
},
|
|
16635
16663
|
"end_datetime": {
|
|
@@ -16645,7 +16673,7 @@
|
|
|
16645
16673
|
"title": "End Datetime",
|
|
16646
16674
|
"description": "Timestamp of when the insight workflow should end. An empty value indicates no end",
|
|
16647
16675
|
"examples": [
|
|
16648
|
-
"2025-06-
|
|
16676
|
+
"2025-06-17T00:00:00Z"
|
|
16649
16677
|
]
|
|
16650
16678
|
},
|
|
16651
16679
|
"id": {
|
|
@@ -16698,7 +16726,7 @@
|
|
|
16698
16726
|
"title": "Created At",
|
|
16699
16727
|
"description": "Timestamp at which the insight workflow was created",
|
|
16700
16728
|
"examples": [
|
|
16701
|
-
"2025-06-
|
|
16729
|
+
"2025-06-16T00:00:00Z"
|
|
16702
16730
|
]
|
|
16703
16731
|
},
|
|
16704
16732
|
"updated_at": {
|
|
@@ -16707,7 +16735,7 @@
|
|
|
16707
16735
|
"title": "Updated At",
|
|
16708
16736
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
16709
16737
|
"examples": [
|
|
16710
|
-
"2025-06-
|
|
16738
|
+
"2025-06-17T00:00:00Z"
|
|
16711
16739
|
]
|
|
16712
16740
|
},
|
|
16713
16741
|
"last_updated_by": {
|
|
@@ -16803,7 +16831,7 @@
|
|
|
16803
16831
|
"title": "Created At",
|
|
16804
16832
|
"description": "Timestamp at which insight upload folder was created",
|
|
16805
16833
|
"examples": [
|
|
16806
|
-
"2025-06-
|
|
16834
|
+
"2025-06-16T00:00:00Z"
|
|
16807
16835
|
]
|
|
16808
16836
|
},
|
|
16809
16837
|
"updated_at": {
|
|
@@ -16812,7 +16840,7 @@
|
|
|
16812
16840
|
"title": "Updated At",
|
|
16813
16841
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16814
16842
|
"examples": [
|
|
16815
|
-
"2025-06-
|
|
16843
|
+
"2025-06-17T00:00:00Z"
|
|
16816
16844
|
]
|
|
16817
16845
|
},
|
|
16818
16846
|
"last_updated_by": {
|
|
@@ -17047,7 +17075,7 @@
|
|
|
17047
17075
|
"title": "Created At",
|
|
17048
17076
|
"description": "Timestamp at which insight tool result was created",
|
|
17049
17077
|
"examples": [
|
|
17050
|
-
"2025-06-
|
|
17078
|
+
"2025-06-16T00:00:00Z"
|
|
17051
17079
|
]
|
|
17052
17080
|
},
|
|
17053
17081
|
"updated_at": {
|
|
@@ -17056,7 +17084,7 @@
|
|
|
17056
17084
|
"title": "Updated At",
|
|
17057
17085
|
"description": "Timestamp at which insight tool result was last updated",
|
|
17058
17086
|
"examples": [
|
|
17059
|
-
"2025-06-
|
|
17087
|
+
"2025-06-17T00:00:00Z"
|
|
17060
17088
|
]
|
|
17061
17089
|
}
|
|
17062
17090
|
},
|
|
@@ -17191,7 +17219,7 @@
|
|
|
17191
17219
|
"title": "Start Time",
|
|
17192
17220
|
"description": "Start time of the uploaded file",
|
|
17193
17221
|
"examples": [
|
|
17194
|
-
"2025-06-
|
|
17222
|
+
"2025-06-16T00:00:00Z"
|
|
17195
17223
|
]
|
|
17196
17224
|
},
|
|
17197
17225
|
"end_time": {
|
|
@@ -17207,7 +17235,7 @@
|
|
|
17207
17235
|
"title": "End Time",
|
|
17208
17236
|
"description": "End time of the uploaded file",
|
|
17209
17237
|
"examples": [
|
|
17210
|
-
"2025-06-
|
|
17238
|
+
"2025-06-17T00:00:00Z"
|
|
17211
17239
|
]
|
|
17212
17240
|
},
|
|
17213
17241
|
"error_message": {
|
|
@@ -17262,7 +17290,7 @@
|
|
|
17262
17290
|
"title": "Created At",
|
|
17263
17291
|
"description": "Timestamp at which insight upload file was created",
|
|
17264
17292
|
"examples": [
|
|
17265
|
-
"2025-06-
|
|
17293
|
+
"2025-06-16T00:00:00Z"
|
|
17266
17294
|
]
|
|
17267
17295
|
}
|
|
17268
17296
|
},
|
|
@@ -19838,7 +19866,7 @@
|
|
|
19838
19866
|
"title": "Created At",
|
|
19839
19867
|
"description": "Timestamp of campaign creation",
|
|
19840
19868
|
"examples": [
|
|
19841
|
-
"2025-06-
|
|
19869
|
+
"2025-06-17T00:00:00Z"
|
|
19842
19870
|
]
|
|
19843
19871
|
},
|
|
19844
19872
|
"updated_at": {
|
|
@@ -19847,7 +19875,7 @@
|
|
|
19847
19875
|
"title": "Updated At",
|
|
19848
19876
|
"description": "Timestamp of campaign update",
|
|
19849
19877
|
"examples": [
|
|
19850
|
-
"2025-06-
|
|
19878
|
+
"2025-06-17T00:00:00Z"
|
|
19851
19879
|
]
|
|
19852
19880
|
},
|
|
19853
19881
|
"last_updated_by": {
|
|
@@ -20064,6 +20092,42 @@
|
|
|
20064
20092
|
],
|
|
20065
20093
|
"title": "OutboundCampaignInput"
|
|
20066
20094
|
},
|
|
20095
|
+
"PermissionGroupResponse": {
|
|
20096
|
+
"properties": {
|
|
20097
|
+
"name": {
|
|
20098
|
+
"type": "string",
|
|
20099
|
+
"title": "Name",
|
|
20100
|
+
"description": "Name of the permission group",
|
|
20101
|
+
"examples": [
|
|
20102
|
+
"Agents"
|
|
20103
|
+
]
|
|
20104
|
+
},
|
|
20105
|
+
"description": {
|
|
20106
|
+
"type": "string",
|
|
20107
|
+
"title": "Description",
|
|
20108
|
+
"description": "Description of the permission group",
|
|
20109
|
+
"examples": [
|
|
20110
|
+
"View agents, create and edit agent configurations, and delete agents."
|
|
20111
|
+
]
|
|
20112
|
+
},
|
|
20113
|
+
"permissions": {
|
|
20114
|
+
"items": {
|
|
20115
|
+
"$ref": "#/components/schemas/PermissionResponse"
|
|
20116
|
+
},
|
|
20117
|
+
"type": "array",
|
|
20118
|
+
"title": "Permissions",
|
|
20119
|
+
"description": "Permissions in the group"
|
|
20120
|
+
}
|
|
20121
|
+
},
|
|
20122
|
+
"type": "object",
|
|
20123
|
+
"required": [
|
|
20124
|
+
"name",
|
|
20125
|
+
"description",
|
|
20126
|
+
"permissions"
|
|
20127
|
+
],
|
|
20128
|
+
"title": "PermissionGroupResponse",
|
|
20129
|
+
"description": "Information about a group of permissions related to the same feature."
|
|
20130
|
+
},
|
|
20067
20131
|
"PermissionResponse": {
|
|
20068
20132
|
"properties": {
|
|
20069
20133
|
"name": {
|
|
@@ -20074,8 +20138,23 @@
|
|
|
20074
20138
|
"agents_read"
|
|
20075
20139
|
]
|
|
20076
20140
|
},
|
|
20077
|
-
"
|
|
20141
|
+
"display_name": {
|
|
20078
20142
|
"type": "string",
|
|
20143
|
+
"title": "Display Name",
|
|
20144
|
+
"description": "Display name of the permission",
|
|
20145
|
+
"examples": [
|
|
20146
|
+
"View"
|
|
20147
|
+
]
|
|
20148
|
+
},
|
|
20149
|
+
"description": {
|
|
20150
|
+
"anyOf": [
|
|
20151
|
+
{
|
|
20152
|
+
"type": "string"
|
|
20153
|
+
},
|
|
20154
|
+
{
|
|
20155
|
+
"type": "null"
|
|
20156
|
+
}
|
|
20157
|
+
],
|
|
20079
20158
|
"title": "Description",
|
|
20080
20159
|
"description": "Description of the permission",
|
|
20081
20160
|
"examples": [
|
|
@@ -20086,7 +20165,7 @@
|
|
|
20086
20165
|
"type": "object",
|
|
20087
20166
|
"required": [
|
|
20088
20167
|
"name",
|
|
20089
|
-
"
|
|
20168
|
+
"display_name"
|
|
20090
20169
|
],
|
|
20091
20170
|
"title": "PermissionResponse",
|
|
20092
20171
|
"description": "Information about a permission."
|
|
@@ -20148,10 +20227,7 @@
|
|
|
20148
20227
|
"description": "Names of tools to which the prompt has access",
|
|
20149
20228
|
"default": [],
|
|
20150
20229
|
"examples": [
|
|
20151
|
-
[
|
|
20152
|
-
"summary",
|
|
20153
|
-
"hangup"
|
|
20154
|
-
]
|
|
20230
|
+
[]
|
|
20155
20231
|
]
|
|
20156
20232
|
},
|
|
20157
20233
|
"llm_config": {
|
|
@@ -20621,10 +20697,7 @@
|
|
|
20621
20697
|
"description": "Names of tools to which the prompt has access",
|
|
20622
20698
|
"default": [],
|
|
20623
20699
|
"examples": [
|
|
20624
|
-
[
|
|
20625
|
-
"summary",
|
|
20626
|
-
"hangup"
|
|
20627
|
-
]
|
|
20700
|
+
[]
|
|
20628
20701
|
]
|
|
20629
20702
|
},
|
|
20630
20703
|
"llm_config": {
|
|
@@ -23535,7 +23608,9 @@
|
|
|
23535
23608
|
"email",
|
|
23536
23609
|
"first_name",
|
|
23537
23610
|
"last_name",
|
|
23538
|
-
"role_id"
|
|
23611
|
+
"role_id",
|
|
23612
|
+
"email_first_name_last_name",
|
|
23613
|
+
"last_updated"
|
|
23539
23614
|
],
|
|
23540
23615
|
"title": "UserProperties",
|
|
23541
23616
|
"description": "Names of user fields supported for filtering/sorting on list endpoint."
|
|
@@ -23611,6 +23686,14 @@
|
|
|
23611
23686
|
1
|
|
23612
23687
|
]
|
|
23613
23688
|
},
|
|
23689
|
+
"role_name": {
|
|
23690
|
+
"type": "string",
|
|
23691
|
+
"title": "Role Name",
|
|
23692
|
+
"description": "Name of the role assigned to the user",
|
|
23693
|
+
"examples": [
|
|
23694
|
+
"admin"
|
|
23695
|
+
]
|
|
23696
|
+
},
|
|
23614
23697
|
"last_updated": {
|
|
23615
23698
|
"type": "string",
|
|
23616
23699
|
"format": "date-time",
|
|
@@ -23654,6 +23737,7 @@
|
|
|
23654
23737
|
"email",
|
|
23655
23738
|
"role_id",
|
|
23656
23739
|
"id",
|
|
23740
|
+
"role_name",
|
|
23657
23741
|
"last_updated"
|
|
23658
23742
|
],
|
|
23659
23743
|
"title": "UserResponse",
|
package/package.json
CHANGED
package/sdk/permissions.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ export declare class Permissions extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Get all available permissions in the system.
|
|
9
9
|
*/
|
|
10
|
-
list(options?: RequestOptions): Promise<Array<components.
|
|
10
|
+
list(options?: RequestOptions): Promise<Array<components.PermissionGroupResponse>>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=permissions.d.ts.map
|
package/sdk/permissions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../src/sdk/permissions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,WAAY,SAAQ,SAAS;IACxC;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../src/sdk/permissions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,WAAY,SAAQ,SAAS;IACxC;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;CAMtD"}
|
package/sdk/roles.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare class Roles extends ClientSDK {
|
|
|
34
34
|
* Delete Role
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Delete a role.
|
|
37
|
+
* Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
38
38
|
*/
|
|
39
39
|
delete(request: operations.RolesDeleteRequest, options?: RequestOptions): Promise<any>;
|
|
40
40
|
}
|
package/sdk/roles.js
CHANGED
|
@@ -52,7 +52,7 @@ class Roles extends sdks_js_1.ClientSDK {
|
|
|
52
52
|
* Delete Role
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Delete a role.
|
|
55
|
+
* Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
56
56
|
*/
|
|
57
57
|
async delete(request, options) {
|
|
58
58
|
return (0, fp_js_1.unwrapAsync)((0, rolesDelete_js_1.rolesDelete)(this, request, options));
|
|
@@ -32,7 +32,7 @@ export async function permissionsList(
|
|
|
32
32
|
options?: RequestOptions,
|
|
33
33
|
): Promise<
|
|
34
34
|
Result<
|
|
35
|
-
Array<components.
|
|
35
|
+
Array<components.PermissionGroupResponse>,
|
|
36
36
|
| SDKError
|
|
37
37
|
| SDKValidationError
|
|
38
38
|
| UnexpectedClientError
|
|
@@ -91,7 +91,7 @@ export async function permissionsList(
|
|
|
91
91
|
const response = doResult.value;
|
|
92
92
|
|
|
93
93
|
const [result] = await M.match<
|
|
94
|
-
Array<components.
|
|
94
|
+
Array<components.PermissionGroupResponse>,
|
|
95
95
|
| SDKError
|
|
96
96
|
| SDKValidationError
|
|
97
97
|
| UnexpectedClientError
|
|
@@ -100,7 +100,7 @@ export async function permissionsList(
|
|
|
100
100
|
| RequestTimeoutError
|
|
101
101
|
| ConnectionError
|
|
102
102
|
>(
|
|
103
|
-
M.json(200, z.array(components.
|
|
103
|
+
M.json(200, z.array(components.PermissionGroupResponse$inboundSchema)),
|
|
104
104
|
M.fail("4XX"),
|
|
105
105
|
M.fail("5XX"),
|
|
106
106
|
)(response);
|
package/src/funcs/rolesDelete.ts
CHANGED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Delete Role
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Delete a role.
|
|
31
|
+
* Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
32
32
|
*/
|
|
33
33
|
export async function rolesDelete(
|
|
34
34
|
client: SyllableSDKCore,
|
|
@@ -68,6 +68,7 @@ export async function rolesDelete(
|
|
|
68
68
|
const path = pathToFunc("/api/v1/roles/{role_id}")(pathParams);
|
|
69
69
|
|
|
70
70
|
const query = encodeFormQuery({
|
|
71
|
+
"new_role_id": payload.new_role_id,
|
|
71
72
|
"reason": payload.reason,
|
|
72
73
|
});
|
|
73
74
|
|
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.186",
|
|
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.186 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -127,6 +127,7 @@ export * from "./listresponseuserresponse.js";
|
|
|
127
127
|
export * from "./orderbydirection.js";
|
|
128
128
|
export * from "./outboundcampaign.js";
|
|
129
129
|
export * from "./outboundcampaigninput.js";
|
|
130
|
+
export * from "./permissiongroupresponse.js";
|
|
130
131
|
export * from "./permissionresponse.js";
|
|
131
132
|
export * from "./promptcreaterequest.js";
|
|
132
133
|
export * from "./prompthistory.js";
|