@company-semantics/contracts 8.0.0 → 9.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@company-semantics/contracts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -113,14 +113,14 @@
|
|
|
113
113
|
"zod": "^4.4.3"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@types/node": "^
|
|
116
|
+
"@types/node": "^25.9.1",
|
|
117
117
|
"husky": "^9.1.7",
|
|
118
|
-
"lint-staged": "^17.0.
|
|
118
|
+
"lint-staged": "^17.0.7",
|
|
119
119
|
"markdownlint-cli2": "^0.22.1",
|
|
120
120
|
"openapi-typescript": "^7.13.0",
|
|
121
|
-
"tsx": "^4.22.
|
|
121
|
+
"tsx": "^4.22.4",
|
|
122
122
|
"typescript": "^5",
|
|
123
|
-
"vitest": "^4.1.
|
|
123
|
+
"vitest": "^4.1.8",
|
|
124
124
|
"yaml": "^2.9.0"
|
|
125
125
|
},
|
|
126
126
|
"pnpm": {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = '6afa08fcbf29' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '6afa08fcbf29128df63d59525891ef1f6e8eb0e49b8e289b09d0150ce35a862e' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -2679,6 +2679,23 @@ export interface paths {
|
|
|
2679
2679
|
patch?: never;
|
|
2680
2680
|
trace?: never;
|
|
2681
2681
|
};
|
|
2682
|
+
"/api/factory/floor": {
|
|
2683
|
+
parameters: {
|
|
2684
|
+
query?: never;
|
|
2685
|
+
header?: never;
|
|
2686
|
+
path?: never;
|
|
2687
|
+
cookie?: never;
|
|
2688
|
+
};
|
|
2689
|
+
/** Read the factory floor (stations, heartbeats, recent events) */
|
|
2690
|
+
get: operations["factoryFloor"];
|
|
2691
|
+
put?: never;
|
|
2692
|
+
post?: never;
|
|
2693
|
+
delete?: never;
|
|
2694
|
+
options?: never;
|
|
2695
|
+
head?: never;
|
|
2696
|
+
patch?: never;
|
|
2697
|
+
trace?: never;
|
|
2698
|
+
};
|
|
2682
2699
|
"/api/internal-admin/impersonate/start": {
|
|
2683
2700
|
parameters: {
|
|
2684
2701
|
query?: never;
|
|
@@ -4759,6 +4776,30 @@ export interface components {
|
|
|
4759
4776
|
source: "explicit" | "ownership" | "visibility" | "inheritance" | "migration";
|
|
4760
4777
|
}[];
|
|
4761
4778
|
};
|
|
4779
|
+
FloorResponse: {
|
|
4780
|
+
stations: {
|
|
4781
|
+
id: string;
|
|
4782
|
+
name: string;
|
|
4783
|
+
type: string;
|
|
4784
|
+
capabilities: string[];
|
|
4785
|
+
lastSeen: string | null;
|
|
4786
|
+
heartbeat: {
|
|
4787
|
+
status: string;
|
|
4788
|
+
lastFingerprintAt: string | null;
|
|
4789
|
+
summary: {
|
|
4790
|
+
[key: string]: unknown;
|
|
4791
|
+
};
|
|
4792
|
+
} | null;
|
|
4793
|
+
recentEvents: {
|
|
4794
|
+
id: string;
|
|
4795
|
+
eventType: string;
|
|
4796
|
+
payload: {
|
|
4797
|
+
[key: string]: unknown;
|
|
4798
|
+
};
|
|
4799
|
+
eventTimestamp: string;
|
|
4800
|
+
}[];
|
|
4801
|
+
}[];
|
|
4802
|
+
};
|
|
4762
4803
|
ImpersonationSessionResponse: {
|
|
4763
4804
|
session: {
|
|
4764
4805
|
impersonationSessionId: string;
|
|
@@ -9249,6 +9290,40 @@ export interface operations {
|
|
|
9249
9290
|
};
|
|
9250
9291
|
};
|
|
9251
9292
|
};
|
|
9293
|
+
factoryFloor: {
|
|
9294
|
+
parameters: {
|
|
9295
|
+
query?: never;
|
|
9296
|
+
header?: never;
|
|
9297
|
+
path?: never;
|
|
9298
|
+
cookie?: never;
|
|
9299
|
+
};
|
|
9300
|
+
requestBody?: never;
|
|
9301
|
+
responses: {
|
|
9302
|
+
/** @description Factory floor snapshot */
|
|
9303
|
+
200: {
|
|
9304
|
+
headers: {
|
|
9305
|
+
[name: string]: unknown;
|
|
9306
|
+
};
|
|
9307
|
+
content: {
|
|
9308
|
+
"application/json": components["schemas"]["FloorResponse"];
|
|
9309
|
+
};
|
|
9310
|
+
};
|
|
9311
|
+
/** @description Not authenticated */
|
|
9312
|
+
401: {
|
|
9313
|
+
headers: {
|
|
9314
|
+
[name: string]: unknown;
|
|
9315
|
+
};
|
|
9316
|
+
content?: never;
|
|
9317
|
+
};
|
|
9318
|
+
/** @description Not an internal admin */
|
|
9319
|
+
403: {
|
|
9320
|
+
headers: {
|
|
9321
|
+
[name: string]: unknown;
|
|
9322
|
+
};
|
|
9323
|
+
content?: never;
|
|
9324
|
+
};
|
|
9325
|
+
};
|
|
9326
|
+
};
|
|
9252
9327
|
startImpersonation: {
|
|
9253
9328
|
parameters: {
|
|
9254
9329
|
query?: never;
|