@solvice/routing 0.17.7-beta.0 → 0.17.9-beta.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/runs.d.ts CHANGED
@@ -1158,7 +1158,7 @@ export interface components {
1158
1158
  * "type": "sequence"
1159
1159
  * }
1160
1160
  */
1161
- Relation: components["schemas"]["RelationSequence"] | components["schemas"]["RelationTagOrder"] | components["schemas"]["RelationSameVehicle"] | components["schemas"]["RelationSameDay"] | components["schemas"]["RelationSameRoute"] | components["schemas"]["RelationSynchronized"] | components["schemas"]["RelationTimeLag"] | components["schemas"]["RelationCompatibleVehicles"] | components["schemas"]["RelationAllOrNone"];
1161
+ Relation: components["schemas"]["RelationSequence"] | components["schemas"]["RelationConsecutive"] | components["schemas"]["RelationTagOrder"] | components["schemas"]["RelationSameVehicle"] | components["schemas"]["RelationSameDay"] | components["schemas"]["RelationSameRoute"] | components["schemas"]["RelationSynchronized"] | components["schemas"]["RelationTimeLag"] | components["schemas"]["RelationCompatibleVehicles"] | components["schemas"]["RelationAllOrNone"];
1162
1162
  /**
1163
1163
  * All or none
1164
1164
  * @description All or none: either every member in `stops` is served, or none is.
@@ -1216,6 +1216,29 @@ export interface components {
1216
1216
  */
1217
1217
  type: "compatible_vehicles";
1218
1218
  };
1219
+ /**
1220
+ * Consecutive
1221
+ * @description Ordering with no gap: like `sequence`, and in addition no other stop may
1222
+ * sit between two neighbouring members that are served on the same
1223
+ * route. A member that is unassigned is skipped, so only listed
1224
+ * neighbours that are both served are adjacent. Members on different
1225
+ * routes are unconstrained; add `same_route` to keep them together.
1226
+ */
1227
+ RelationConsecutive: {
1228
+ /**
1229
+ * @description Job ids or shipment-leg stop ids, in the order they must be served
1230
+ * back to back. At least 2. A stop has one successor and one predecessor
1231
+ * across all `consecutive` relations, so `[a, b]` and `[b, c]` may
1232
+ * overlap but `[a, b]` and `[a, c]` may not. A shipment's own id is rejected with HTTP
1233
+ * 400 `not_supported`.
1234
+ */
1235
+ stops: string[];
1236
+ /**
1237
+ * @description Discriminator: always `consecutive`. (enum property replaced by openapi-typescript)
1238
+ * @enum {string}
1239
+ */
1240
+ type: "consecutive";
1241
+ };
1219
1242
  /**
1220
1243
  * @description Which instant of a member a `synchronized` or `time_lag` relation is
1221
1244
  * measured at, named after the response stop field that reports it. There is
package/dist/v3.d.ts CHANGED
@@ -1391,7 +1391,7 @@ export interface components {
1391
1391
  * "type": "sequence"
1392
1392
  * }
1393
1393
  */
1394
- Relation: components["schemas"]["RelationSequence"] | components["schemas"]["RelationTagOrder"] | components["schemas"]["RelationSameVehicle"] | components["schemas"]["RelationSameDay"] | components["schemas"]["RelationSameRoute"] | components["schemas"]["RelationSynchronized"] | components["schemas"]["RelationTimeLag"] | components["schemas"]["RelationCompatibleVehicles"] | components["schemas"]["RelationAllOrNone"];
1394
+ Relation: components["schemas"]["RelationSequence"] | components["schemas"]["RelationConsecutive"] | components["schemas"]["RelationTagOrder"] | components["schemas"]["RelationSameVehicle"] | components["schemas"]["RelationSameDay"] | components["schemas"]["RelationSameRoute"] | components["schemas"]["RelationSynchronized"] | components["schemas"]["RelationTimeLag"] | components["schemas"]["RelationCompatibleVehicles"] | components["schemas"]["RelationAllOrNone"];
1395
1395
  /**
1396
1396
  * All or none
1397
1397
  * @description All or none: either every member in `stops` is served, or none is.
@@ -1449,6 +1449,29 @@ export interface components {
1449
1449
  */
1450
1450
  type: "compatible_vehicles";
1451
1451
  };
1452
+ /**
1453
+ * Consecutive
1454
+ * @description Ordering with no gap: like `sequence`, and in addition no other stop may
1455
+ * sit between two neighbouring members that are served on the same
1456
+ * route. A member that is unassigned is skipped, so only listed
1457
+ * neighbours that are both served are adjacent. Members on different
1458
+ * routes are unconstrained; add `same_route` to keep them together.
1459
+ */
1460
+ RelationConsecutive: {
1461
+ /**
1462
+ * @description Job ids or shipment-leg stop ids, in the order they must be served
1463
+ * back to back. At least 2. A stop has one successor and one predecessor
1464
+ * across all `consecutive` relations, so `[a, b]` and `[b, c]` may
1465
+ * overlap but `[a, b]` and `[a, c]` may not. A shipment's own id is rejected with HTTP
1466
+ * 400 `not_supported`.
1467
+ */
1468
+ stops: string[];
1469
+ /**
1470
+ * @description Discriminator: always `consecutive`. (enum property replaced by openapi-typescript)
1471
+ * @enum {string}
1472
+ */
1473
+ type: "consecutive";
1474
+ };
1452
1475
  /**
1453
1476
  * @description Which instant of a member a `synchronized` or `time_lag` relation is
1454
1477
  * measured at, named after the response stop field that reports it. There is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvice/routing",
3
- "version": "0.17.7-beta.0",
3
+ "version": "0.17.9-beta.0",
4
4
  "description": "TypeScript client for the Solvice V3 routing API, generated from its OpenAPI spec.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.solvice.io/guides/platform/sdks/typescript",