@seamapi/types 1.185.0 → 1.186.0

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/dist/connect.cjs CHANGED
@@ -1270,12 +1270,32 @@ var openapi_default = {
1270
1270
  created_at: { format: "date-time", type: "string" },
1271
1271
  errors: {
1272
1272
  items: {
1273
- properties: {
1274
- error_code: { type: "string" },
1275
- message: { type: "string" }
1276
- },
1277
- required: ["error_code", "message"],
1278
- type: "object"
1273
+ oneOf: [
1274
+ {
1275
+ properties: {
1276
+ created_at: { format: "date-time", type: "string" },
1277
+ error_code: {
1278
+ enum: ["seam_bridge_disconnected"],
1279
+ type: "string"
1280
+ },
1281
+ message: { type: "string" }
1282
+ },
1283
+ required: ["created_at", "message", "error_code"],
1284
+ type: "object"
1285
+ },
1286
+ {
1287
+ properties: {
1288
+ created_at: { format: "date-time", type: "string" },
1289
+ error_code: {
1290
+ enum: ["visionline_instance_unreachable"],
1291
+ type: "string"
1292
+ },
1293
+ message: { type: "string" }
1294
+ },
1295
+ required: ["created_at", "message", "error_code"],
1296
+ type: "object"
1297
+ }
1298
+ ]
1279
1299
  },
1280
1300
  type: "array"
1281
1301
  },
@@ -1315,14 +1335,7 @@ var openapi_default = {
1315
1335
  type: "string"
1316
1336
  },
1317
1337
  warnings: {
1318
- items: {
1319
- properties: {
1320
- message: { type: "string" },
1321
- warning_code: { type: "string" }
1322
- },
1323
- required: ["warning_code", "message"],
1324
- type: "object"
1325
- },
1338
+ items: { properties: {}, type: "object" },
1326
1339
  type: "array"
1327
1340
  },
1328
1341
  workspace_id: { format: "uuid", type: "string" }