@breign/client 1.0.139 → 1.0.140

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.
Files changed (2) hide show
  1. package/dist/openapi.json +56 -2
  2. package/package.json +1 -1
package/dist/openapi.json CHANGED
@@ -1162,6 +1162,12 @@
1162
1162
  },
1163
1163
  "description" : "Editor state retrieved successfully"
1164
1164
  },
1165
+ "401" : {
1166
+ "description" : "Unauthorized"
1167
+ },
1168
+ "403" : {
1169
+ "description" : "Forbidden - User doesn't have access to this agent"
1170
+ },
1165
1171
  "404" : {
1166
1172
  "description" : "Agent or editor state not found"
1167
1173
  }
@@ -1196,6 +1202,12 @@
1196
1202
  "204" : {
1197
1203
  "description" : "Editor state updated successfully"
1198
1204
  },
1205
+ "401" : {
1206
+ "description" : "Unauthorized"
1207
+ },
1208
+ "403" : {
1209
+ "description" : "Forbidden - User doesn't have access to this agent"
1210
+ },
1199
1211
  "404" : {
1200
1212
  "description" : "Agent not found"
1201
1213
  }
@@ -1225,6 +1237,12 @@
1225
1237
  }
1226
1238
  },
1227
1239
  "description" : "Flow editor state"
1240
+ },
1241
+ "401" : {
1242
+ "description" : "Unauthorized"
1243
+ },
1244
+ "403" : {
1245
+ "description" : "Forbidden - User doesn't have access to this agent"
1228
1246
  }
1229
1247
  },
1230
1248
  "summary" : "Get flow editor state for an agent",
@@ -1253,6 +1271,12 @@
1253
1271
  "responses" : {
1254
1272
  "204" : {
1255
1273
  "description" : "Flow editor state updated"
1274
+ },
1275
+ "401" : {
1276
+ "description" : "Unauthorized"
1277
+ },
1278
+ "403" : {
1279
+ "description" : "Forbidden - User doesn't have access to this agent"
1256
1280
  }
1257
1281
  },
1258
1282
  "summary" : "Create or update flow editor state for an agent",
@@ -1710,6 +1734,9 @@
1710
1734
  "401" : {
1711
1735
  "description" : "Unauthorized"
1712
1736
  },
1737
+ "403" : {
1738
+ "description" : "Forbidden - User doesn't have access to this agent"
1739
+ },
1713
1740
  "404" : {
1714
1741
  "description" : "Agent not found"
1715
1742
  },
@@ -3118,6 +3145,12 @@
3118
3145
  }
3119
3146
  },
3120
3147
  "description" : "App Chat created successfully"
3148
+ },
3149
+ "401" : {
3150
+ "description" : "Unauthorized"
3151
+ },
3152
+ "403" : {
3153
+ "description" : "Forbidden - User doesn't have access to this app"
3121
3154
  }
3122
3155
  },
3123
3156
  "summary" : "Initialize a chat",
@@ -3172,6 +3205,12 @@
3172
3205
  }
3173
3206
  },
3174
3207
  "description" : "Message submitted successfully"
3208
+ },
3209
+ "401" : {
3210
+ "description" : "Unauthorized"
3211
+ },
3212
+ "403" : {
3213
+ "description" : "Forbidden - User doesn't have access to this app"
3175
3214
  }
3176
3215
  },
3177
3216
  "summary" : "Submit a new message to a chat",
@@ -3743,6 +3782,9 @@
3743
3782
  "401" : {
3744
3783
  "description" : "Unauthorized"
3745
3784
  },
3785
+ "403" : {
3786
+ "description" : "Forbidden - User doesn't have access to this app"
3787
+ },
3746
3788
  "404" : {
3747
3789
  "description" : "App not found"
3748
3790
  },
@@ -9398,6 +9440,9 @@
9398
9440
  "401" : {
9399
9441
  "description" : "Unauthorized"
9400
9442
  },
9443
+ "403" : {
9444
+ "description" : "Forbidden - Organization admin rights required"
9445
+ },
9401
9446
  "404" : {
9402
9447
  "description" : "Knowledge base not found"
9403
9448
  },
@@ -9660,6 +9705,9 @@
9660
9705
  "401" : {
9661
9706
  "description" : "Unauthorized"
9662
9707
  },
9708
+ "403" : {
9709
+ "description" : "Forbidden - User is not part of the organization"
9710
+ },
9663
9711
  "404" : {
9664
9712
  "description" : "File not found"
9665
9713
  },
@@ -11697,7 +11745,10 @@
11697
11745
  "description" : "Invalid request body"
11698
11746
  },
11699
11747
  "401" : {
11700
- "description" : "Unauthorized (organization admin rights required)"
11748
+ "description" : "Unauthorized"
11749
+ },
11750
+ "403" : {
11751
+ "description" : "Forbidden - Organization admin rights required"
11701
11752
  },
11702
11753
  "404" : {
11703
11754
  "description" : "LIBRARY_AGENT_NOT_FOUND"
@@ -12171,7 +12222,10 @@
12171
12222
  "description" : "Invalid request body"
12172
12223
  },
12173
12224
  "401" : {
12174
- "description" : "Unauthorized (organization admin rights required)"
12225
+ "description" : "Unauthorized"
12226
+ },
12227
+ "403" : {
12228
+ "description" : "Forbidden - Organization admin rights required"
12175
12229
  },
12176
12230
  "404" : {
12177
12231
  "description" : "AGENT_NOT_FOUND, AGENT_NOT_MANAGED or LIBRARY_AGENT_NOT_FOUND"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.139",
3
+ "version": "1.0.140",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",