@mestra-dev/contract 0.0.286 → 0.0.288
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/index.d.ts +20 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ type AiUnavailableReason =
|
|
|
54
54
|
| "workspace_disabled";
|
|
55
55
|
type GrowthDirection = "positive" | "negative" | "none";
|
|
56
56
|
type ResourceAttributeValue = string | number | boolean | string[] | null;
|
|
57
|
-
type BranchDeleteBlock = "
|
|
57
|
+
type BranchDeleteBlock = "default" | "hasWarehouses";
|
|
58
58
|
type WarehouseArchiveBlock = "last" | "default" | "hasStock";
|
|
59
59
|
type StockTransferBlock = "unavailableWarehouse" | "noProduct" | "exceedsAvailable";
|
|
60
60
|
type Variables = JwtVariables;
|
|
@@ -9982,6 +9982,24 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9982
9982
|
[x: string]: ResourceAttributeValue;
|
|
9983
9983
|
};
|
|
9984
9984
|
};
|
|
9985
|
+
places: {
|
|
9986
|
+
id: string;
|
|
9987
|
+
workspaceId: string;
|
|
9988
|
+
branchId: string;
|
|
9989
|
+
name: string;
|
|
9990
|
+
zone: string | null;
|
|
9991
|
+
type: string;
|
|
9992
|
+
capacity: number | null;
|
|
9993
|
+
durationMinutes: number;
|
|
9994
|
+
color: string;
|
|
9995
|
+
linkedMemberIds: string[];
|
|
9996
|
+
active: boolean;
|
|
9997
|
+
attributes: {
|
|
9998
|
+
[x: string]: ResourceAttributeValue;
|
|
9999
|
+
};
|
|
10000
|
+
position: number;
|
|
10001
|
+
createdAt: string;
|
|
10002
|
+
}[];
|
|
9985
10003
|
};
|
|
9986
10004
|
outputFormat: "json";
|
|
9987
10005
|
status: 200;
|
|
@@ -10011,7 +10029,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10011
10029
|
};
|
|
10012
10030
|
output: {
|
|
10013
10031
|
success: false;
|
|
10014
|
-
error: "
|
|
10032
|
+
error: "Make another branch the default or remove the other branches first" | "Archive or move this branch's warehouses first";
|
|
10015
10033
|
reason: BranchDeleteBlock;
|
|
10016
10034
|
};
|
|
10017
10035
|
outputFormat: "json";
|