@tier0/sdk-v2 0.4.0 → 0.5.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/README.md CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  Tier0 云端新架构的独立 TypeScript / JavaScript SDK。新仓库、新 npm 包,不覆盖 `@tier0/sdk`。
4
4
 
5
+ `0.5.0` 将 Cloud HTTP Source 统一为 `protocol: http-api`,通过 `config.role: client | server` 区分主动请求与同步入站。升级时需迁移旧 `http` / 正向 `http_push` 配置;独立异步 `http_push` 的 202 accepted 合同继续保留。
6
+
5
7
  `0.4.0` 版本变更:相对 0.3.x 移除已退役的 Stream 就绪探针且不保留别名,改用服务端现有统一权限,不再配置逐 Key Control scopes/codes。0.3.0 起统一使用 OpenAPI v2 并退役重复及旧接口;与 0.2.x 存在不兼容变更,迁移方式见下方“本次接口退役”。对应 UNS v2 契约 5.0.0,与 0.1.0 不兼容(新错误模型 `execution` / `retry`、封顶计数、删除 `recordChangesPoll` 等)。Collection 支持 int、float、double 和 datetime 声明;格式注解不新增数值范围或日期格式校验,Sample 外层 time 保持不变。使用时需确认目标环境已部署对应后端。要求 Node.js 20.19+。浏览器 HTTP、MQTT、React、Vue 和服务端身份验签分别提供独立入口。
6
8
 
7
- 本次合同固定到已部署 Backend `6cb53b80`,同步请求统一权限、移除旧探针,并保留该版本 Source discovery 的副作用分类及不自动重试语义。
9
+ 本版本合同快照固定到已提交 Backend `86bef2325253c2f4eaab8168f983ac4ec09c0d2f`;使用前需确认目标环境已部署相应合同。请求统一权限、旧探针退役门禁、Source discovery 的副作用分类及不自动重试语义保持不变。
8
10
 
9
11
  既有接口收敛:平台接口统一迁移到 `/openapi/v2`,Controls 使用 `/openapi/v2/uns/controls/*`;移除 21 个重复 UNS 入口和旧 Agent nodes/relations 方法。完善 Source 操作、Stream 发布回执及 UNS 创建快照的使用说明,保留精确发布编号和完整文档访问规则。
10
12
 
@@ -13,7 +15,7 @@ Tier0 云端新架构的独立 TypeScript / JavaScript SDK。新仓库、新 npm
13
15
  维护者发布前在本仓库运行 `npm ci`、`npm run check`,并验证生成的 `.tgz`。业务项目安装精确版本:
14
16
 
15
17
  ```sh
16
- npm install --save-exact @tier0/sdk-v2@0.4.0
18
+ npm install --save-exact @tier0/sdk-v2@0.5.0
17
19
  ```
18
20
 
19
21
  ```ts
@@ -77,6 +79,8 @@ const sources = await tier0.source.documents.list({ page: 1, size: 20 });
77
79
  const programs = await tier0.stream.programs.list({ page: 1, size: 20 });
78
80
  ```
79
81
 
82
+ HTTP Source 统一使用 `protocol: 'http-api'`,显式设置 `config.role: 'client'`(主动请求)或 `config.role: 'server'`(接收入站请求),与 Enterprise 一协议两角色保持一致;Cloud 管理文档的角色位于 config 内。旧 `http` 正向示例迁移为 `http-api` + `client`;Server 不能作为 Client 发起主动请求。独立异步 `http_push` 保留 202 accepted 合同,接受不代表处理完成。使用 `source.protocols.list({})` 核对目标环境支持,再通过现有 `source.documents.*` 管理配置。HTTP Client 单条 inline 创建支持 Basic、Bearer、APIKey、OAuth 四类认证,凭据默认绑定 Source 基址 REQUEST,显式方法继续保留限制;独立 credentialCreate 仍为 coreOnly。SDK 不新增猜测的 HTTP In API;npm 管理 SDK 与执行器中的 Goja Stream 脚本 API 分开使用。
83
+
80
84
  Source/Stream 仍保留 `{ code, msg, requestId, data }` 响应以及 `UnsV2Error` 错误类型。Source 配置统一使用 `source.documents`;Stream 草稿统一通过 `stream.documents` 创建、读取、校验和修改,输入 `program` 与 `document` 二选一。发布和回滚仍走 `stream.programs`。保存、部署、运行成功分别判断。
81
85
 
82
86
  旧 `stream.runtime.capabilities()` 及底层 `streamRuntimeCapabilitiesGet` 已退役,没有兼容别名;不要把该查询当作 Stream 前置检查,也不要为消除它的 403 增加 Control scope 或逐 Key 的控制码授权。Stream 管理、实际执行、发布、回滚及运行记录继续通过各自接口和统一权限校验;通用能力发现不代替实际操作结果。
@@ -227,8 +227,9 @@ export type HTTPConnection = {
227
227
  "authentication"?: string;
228
228
  "caCertificate"?: string;
229
229
  "oauth"?: OAuthConfig;
230
- "parameters"?: ({} & Record<string, UnsV2JSONValue>);
230
+ "parameters"?: Record<string, UnsV2JSONValue>;
231
231
  "port"?: UnsV2Integer;
232
+ "headers"?: ({} & Record<string, string>);
232
233
  };
233
234
  export type IndexSpec = ((({
234
235
  "kind"?: "btree" | "gin";
@@ -369,7 +370,7 @@ export type Schema = {
369
370
  "unit"?: string;
370
371
  "format"?: "int32" | "float" | "double" | "date-time";
371
372
  };
372
- export type SourceDefinition = {
373
+ export type SourceDefinition = ({
373
374
  "credentialRef"?: string;
374
375
  "description"?: string;
375
376
  "endpoint": string;
@@ -383,7 +384,7 @@ export type SourceDefinition = {
383
384
  "role"?: "client" | "server";
384
385
  "runtimeLocation"?: "local";
385
386
  "sourceType"?: string;
386
- };
387
+ });
387
388
  export type TransactionQueryResult = {
388
389
  "hasMore": boolean;
389
390
  "records": Array<RecordDocument>;
@@ -1233,24 +1234,183 @@ export type CloudSourceConfig = (({
1233
1234
  "caRef"?: string;
1234
1235
  "clientIdentityRef"?: string;
1235
1236
  });
1237
+ "role"?: "client" | "server";
1238
+ }) | ({
1239
+ "auth": ({
1240
+ "credentialRef": string;
1241
+ "kind": "vendorNative";
1242
+ });
1243
+ "configVersion": 3;
1244
+ "endpoint": string;
1245
+ "options": ({
1246
+ "headers"?: ({} & Record<string, string>);
1247
+ "parameters"?: ({
1248
+ "serverName"?: string;
1249
+ });
1250
+ });
1251
+ "role"?: "client";
1252
+ "sourceType": "pi-web-api";
1253
+ }) | ({
1254
+ "auth": ({
1255
+ "credentialRef": string;
1256
+ "kind": "vendorNative";
1257
+ });
1258
+ "configVersion": 3;
1259
+ "endpoint": string;
1260
+ "options": ({
1261
+ "headers"?: ({} & Record<string, string>);
1262
+ "parameters"?: ({
1263
+ "pcn"?: string;
1264
+ "tenantId"?: string;
1265
+ });
1266
+ });
1267
+ "role"?: "client";
1268
+ "sourceType": "plex-mes";
1236
1269
  }) | ({
1237
1270
  "auth": ({
1238
1271
  "credentialRef": string;
1239
- "kind": "vendorBasic";
1272
+ "kind": "vendorNative";
1240
1273
  });
1241
1274
  "configVersion": 3;
1242
1275
  "endpoint": string;
1243
1276
  "options": ({
1244
1277
  "headers"?: ({} & Record<string, string>);
1278
+ "parameters"?: {};
1245
1279
  });
1280
+ "role"?: "client";
1281
+ "sourceType": "wms-rest";
1282
+ }) | ({
1283
+ "auth": ({
1284
+ "credentialRef": string;
1285
+ "kind": "vendorNative" | "vendorBasic";
1286
+ });
1287
+ "configVersion": 3;
1288
+ "endpoint": string;
1289
+ "options": ({
1290
+ "headers"?: ({} & Record<string, string>);
1291
+ "parameters"?: ({
1292
+ "client"?: string;
1293
+ });
1294
+ });
1295
+ "role"?: "client";
1246
1296
  "sourceType": "sap-odata";
1297
+ }) | ({
1298
+ "auth": ({
1299
+ "credentialRef": string;
1300
+ "kind": "vendorNative";
1301
+ });
1302
+ "configVersion": 3;
1303
+ "endpoint": string;
1304
+ "options": ({
1305
+ "headers"?: ({} & Record<string, string>);
1306
+ "parameters"?: ({
1307
+ "orgId"?: string;
1308
+ });
1309
+ });
1310
+ "role"?: "client";
1311
+ "sourceType": "yonyou-yonbip";
1312
+ }) | ({
1313
+ "auth": ({
1314
+ "credentialRef": string;
1315
+ "kind": "vendorNative";
1316
+ });
1317
+ "configVersion": 3;
1318
+ "endpoint": string;
1319
+ "options": ({
1320
+ "headers"?: ({} & Record<string, string>);
1321
+ "parameters"?: ({
1322
+ "domain"?: string;
1323
+ });
1324
+ });
1325
+ "role"?: "client";
1326
+ "sourceType": "kingdee-jdy";
1327
+ }) | ({
1328
+ "auth": ({
1329
+ "credentialRef": string;
1330
+ "kind": "vendorNative";
1331
+ });
1332
+ "configVersion": 3;
1333
+ "endpoint": string;
1334
+ "options": ({
1335
+ "headers"?: ({} & Record<string, string>);
1336
+ "parameters"?: ({
1337
+ "redirectUri"?: string;
1338
+ });
1339
+ });
1340
+ "role"?: "client";
1341
+ "sourceType": "ngp";
1342
+ }) | ({
1343
+ "auth": ({
1344
+ "credentialRef": string;
1345
+ "kind": "vendorNative";
1346
+ });
1347
+ "configVersion": 3;
1348
+ "endpoint": string;
1349
+ "options": ({
1350
+ "headers"?: ({} & Record<string, string>);
1351
+ "parameters": ({
1352
+ "acctId": (string);
1353
+ "appId"?: string;
1354
+ "lcid": (string);
1355
+ "user": (string);
1356
+ });
1357
+ });
1358
+ "role"?: "client";
1359
+ "sourceType": "kingdee-k3cloud";
1360
+ }) | ({
1361
+ "auth": ({
1362
+ "credentialRef": string;
1363
+ "kind": "vendorNative";
1364
+ });
1365
+ "configVersion": 3;
1366
+ "endpoint": string;
1367
+ "options": ({
1368
+ "headers"?: ({} & Record<string, string>);
1369
+ "parameters": ({
1370
+ "apiVersion"?: string;
1371
+ "clientId": (string);
1372
+ "scopes"?: string;
1373
+ });
1374
+ });
1375
+ "role"?: "client";
1376
+ "sourceType": "salesforce";
1377
+ }) | ({
1378
+ "auth": ({
1379
+ "credentialRef": string;
1380
+ "kind": "vendorNative";
1381
+ });
1382
+ "configVersion": 3;
1383
+ "endpoint": string;
1384
+ "options": ({
1385
+ "headers"?: ({} & Record<string, string>);
1386
+ "parameters"?: ({
1387
+ "group"?: string;
1388
+ "locale"?: string;
1389
+ "role"?: string;
1390
+ });
1391
+ });
1392
+ "role"?: "client";
1393
+ "sourceType": "teamcenter";
1394
+ }) | ({
1395
+ "auth": ({
1396
+ "credentialRef": string;
1397
+ "kind": "vendorNative";
1398
+ });
1399
+ "configVersion": 3;
1400
+ "endpoint": string;
1401
+ "options": ({
1402
+ "headers"?: ({} & Record<string, string>);
1403
+ "parameters"?: {};
1404
+ });
1405
+ "role"?: "client";
1406
+ "sourceType": "hikvision-isapi";
1247
1407
  }));
1248
- export type CloudSourceDocument = {
1408
+ export type CloudSourceDocument = ({
1249
1409
  "name": string;
1250
1410
  "description"?: string;
1251
- "protocol": "http" | "modbus" | "mqtt" | "opcua" | "sap" | "teamcenter" | "mqtt_device" | "http_push" | "sql";
1411
+ "protocol": "http-api" | "modbus" | "mqtt" | "opcua" | "sap" | "teamcenter" | "mqtt_device" | "http_push" | "sql";
1252
1412
  "config": CloudSourceConfig;
1253
- };
1413
+ });
1254
1414
  export type CloudControlDefinition = {
1255
1415
  "code": string;
1256
1416
  "name": string;
@@ -1509,7 +1669,7 @@ export type CloudSourceDocumentListReq = {
1509
1669
  "page"?: UnsV2Integer;
1510
1670
  "size"?: UnsV2Integer;
1511
1671
  "search"?: string;
1512
- "protocol"?: "http" | "modbus" | "mqtt" | "opcua" | "sap" | "teamcenter" | "mqtt_device" | "http_push" | "sql";
1672
+ "protocol"?: "http-api" | "modbus" | "mqtt" | "opcua" | "sap" | "teamcenter" | "mqtt_device" | "http_push" | "sql";
1513
1673
  "desiredState"?: "enabled" | "disabled";
1514
1674
  "health"?: string;
1515
1675
  "archived"?: boolean;
@@ -2151,7 +2311,7 @@ export type CloudSourceDiscoverResponse = {
2151
2311
  "data": ({
2152
2312
  "id": string;
2153
2313
  "revision": UnsV2Integer;
2154
- "sourceType": "sap-odata";
2314
+ "sourceType": "pi-web-api" | "plex-mes" | "wms-rest" | "sap-odata" | "yonyou-yonbip" | "kingdee-jdy" | "ngp" | "kingdee-k3cloud" | "salesforce" | "teamcenter" | "hikvision-isapi";
2155
2315
  "resources": (Array<({
2156
2316
  "ref": string;
2157
2317
  "name": string;
@@ -2450,8 +2610,8 @@ export type CloudStreamProgramView = {
2450
2610
  } & Record<string, UnsV2JSONValue>);
2451
2611
  } & Record<string, UnsV2JSONValue>;
2452
2612
  export type CloudSourceCreateCredentials = ({
2453
- "method": string;
2454
- "kind": "basic" | "bearer" | "oauth2ClientCredentials";
2613
+ "method"?: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "REQUEST";
2614
+ "kind": "basic" | "bearer" | "apiKey" | "oauth2ClientCredentials";
2455
2615
  "material": {};
2456
2616
  }) & (({
2457
2617
  "kind"?: "basic";
@@ -2464,14 +2624,22 @@ export type CloudSourceCreateCredentials = ({
2464
2624
  "material"?: ({
2465
2625
  "token": string;
2466
2626
  });
2627
+ }) | ({
2628
+ "kind"?: "apiKey";
2629
+ "method"?: "REQUEST";
2630
+ "material"?: ({
2631
+ "headerName": string;
2632
+ "value": string;
2633
+ });
2467
2634
  }) | ({
2468
2635
  "kind"?: "oauth2ClientCredentials";
2469
- "method"?: "GET";
2636
+ "method"?: "GET" | "REQUEST";
2470
2637
  "material"?: ({
2471
2638
  "tokenUrl": string;
2472
2639
  "clientId": string;
2473
2640
  "clientSecret": string;
2474
2641
  "scope"?: string;
2642
+ "clientAuthentication"?: "client_secret_post" | "client_secret_basic";
2475
2643
  });
2476
2644
  }));
2477
2645
  export type UnsV2MetadataFindReq = ((({
@@ -4654,6 +4822,9 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
4654
4822
  readonly port: {
4655
4823
  readonly k: "j";
4656
4824
  };
4825
+ readonly headers: {
4826
+ readonly k: "o";
4827
+ };
4657
4828
  };
4658
4829
  };
4659
4830
  readonly IndexSpec: {
@@ -4881,24 +5052,8 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
4881
5052
  };
4882
5053
  };
4883
5054
  readonly SourceDefinition: {
4884
- readonly k: "o";
4885
- readonly p: {
4886
- readonly extensions: {
4887
- readonly k: "o";
4888
- };
4889
- readonly http: {
4890
- readonly r: "HTTPConnection";
4891
- };
4892
- readonly modbus: {
4893
- readonly r: "ModbusOptions";
4894
- };
4895
- readonly mqtt: {
4896
- readonly r: "MQTTOptions";
4897
- };
4898
- readonly opcua: {
4899
- readonly r: "OPCUAOptions";
4900
- };
4901
- };
5055
+ readonly k: "u";
5056
+ readonly a: readonly [];
4902
5057
  };
4903
5058
  readonly TransactionQueryResult: {
4904
5059
  readonly k: "o";
@@ -6548,18 +6703,247 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
6548
6703
  readonly headers: {
6549
6704
  readonly k: "o";
6550
6705
  };
6706
+ readonly parameters: {
6707
+ readonly k: "o";
6708
+ };
6709
+ };
6710
+ };
6711
+ };
6712
+ }, {
6713
+ readonly k: "o";
6714
+ readonly p: {
6715
+ readonly auth: {
6716
+ readonly k: "o";
6717
+ };
6718
+ readonly configVersion: {
6719
+ readonly k: "j";
6720
+ };
6721
+ readonly options: {
6722
+ readonly k: "o";
6723
+ readonly p: {
6724
+ readonly headers: {
6725
+ readonly k: "o";
6726
+ };
6727
+ readonly parameters: {
6728
+ readonly k: "o";
6729
+ };
6730
+ };
6731
+ };
6732
+ };
6733
+ }, {
6734
+ readonly k: "o";
6735
+ readonly p: {
6736
+ readonly auth: {
6737
+ readonly k: "o";
6738
+ };
6739
+ readonly configVersion: {
6740
+ readonly k: "j";
6741
+ };
6742
+ readonly options: {
6743
+ readonly k: "o";
6744
+ readonly p: {
6745
+ readonly headers: {
6746
+ readonly k: "o";
6747
+ };
6748
+ readonly parameters: {
6749
+ readonly k: "o";
6750
+ };
6751
+ };
6752
+ };
6753
+ };
6754
+ }, {
6755
+ readonly k: "o";
6756
+ readonly p: {
6757
+ readonly auth: {
6758
+ readonly k: "o";
6759
+ };
6760
+ readonly configVersion: {
6761
+ readonly k: "j";
6762
+ };
6763
+ readonly options: {
6764
+ readonly k: "o";
6765
+ readonly p: {
6766
+ readonly headers: {
6767
+ readonly k: "o";
6768
+ };
6769
+ readonly parameters: {
6770
+ readonly k: "o";
6771
+ };
6772
+ };
6773
+ };
6774
+ };
6775
+ }, {
6776
+ readonly k: "o";
6777
+ readonly p: {
6778
+ readonly auth: {
6779
+ readonly k: "o";
6780
+ };
6781
+ readonly configVersion: {
6782
+ readonly k: "j";
6783
+ };
6784
+ readonly options: {
6785
+ readonly k: "o";
6786
+ readonly p: {
6787
+ readonly headers: {
6788
+ readonly k: "o";
6789
+ };
6790
+ readonly parameters: {
6791
+ readonly k: "o";
6792
+ };
6793
+ };
6794
+ };
6795
+ };
6796
+ }, {
6797
+ readonly k: "o";
6798
+ readonly p: {
6799
+ readonly auth: {
6800
+ readonly k: "o";
6801
+ };
6802
+ readonly configVersion: {
6803
+ readonly k: "j";
6804
+ };
6805
+ readonly options: {
6806
+ readonly k: "o";
6807
+ readonly p: {
6808
+ readonly headers: {
6809
+ readonly k: "o";
6810
+ };
6811
+ readonly parameters: {
6812
+ readonly k: "o";
6813
+ };
6814
+ };
6815
+ };
6816
+ };
6817
+ }, {
6818
+ readonly k: "o";
6819
+ readonly p: {
6820
+ readonly auth: {
6821
+ readonly k: "o";
6822
+ };
6823
+ readonly configVersion: {
6824
+ readonly k: "j";
6825
+ };
6826
+ readonly options: {
6827
+ readonly k: "o";
6828
+ readonly p: {
6829
+ readonly headers: {
6830
+ readonly k: "o";
6831
+ };
6832
+ readonly parameters: {
6833
+ readonly k: "o";
6834
+ };
6835
+ };
6836
+ };
6837
+ };
6838
+ }, {
6839
+ readonly k: "o";
6840
+ readonly p: {
6841
+ readonly auth: {
6842
+ readonly k: "o";
6843
+ };
6844
+ readonly configVersion: {
6845
+ readonly k: "j";
6846
+ };
6847
+ readonly options: {
6848
+ readonly k: "o";
6849
+ readonly p: {
6850
+ readonly headers: {
6851
+ readonly k: "o";
6852
+ };
6853
+ readonly parameters: {
6854
+ readonly k: "o";
6855
+ readonly p: {
6856
+ readonly acctId: {
6857
+ readonly k: "u";
6858
+ readonly a: readonly [];
6859
+ };
6860
+ readonly lcid: {
6861
+ readonly k: "u";
6862
+ readonly a: readonly [];
6863
+ };
6864
+ readonly user: {
6865
+ readonly k: "u";
6866
+ readonly a: readonly [];
6867
+ };
6868
+ };
6869
+ };
6870
+ };
6871
+ };
6872
+ };
6873
+ }, {
6874
+ readonly k: "o";
6875
+ readonly p: {
6876
+ readonly auth: {
6877
+ readonly k: "o";
6878
+ };
6879
+ readonly configVersion: {
6880
+ readonly k: "j";
6881
+ };
6882
+ readonly options: {
6883
+ readonly k: "o";
6884
+ readonly p: {
6885
+ readonly headers: {
6886
+ readonly k: "o";
6887
+ };
6888
+ readonly parameters: {
6889
+ readonly k: "o";
6890
+ readonly p: {
6891
+ readonly clientId: {
6892
+ readonly k: "u";
6893
+ readonly a: readonly [];
6894
+ };
6895
+ };
6896
+ };
6897
+ };
6898
+ };
6899
+ };
6900
+ }, {
6901
+ readonly k: "o";
6902
+ readonly p: {
6903
+ readonly auth: {
6904
+ readonly k: "o";
6905
+ };
6906
+ readonly configVersion: {
6907
+ readonly k: "j";
6908
+ };
6909
+ readonly options: {
6910
+ readonly k: "o";
6911
+ readonly p: {
6912
+ readonly headers: {
6913
+ readonly k: "o";
6914
+ };
6915
+ readonly parameters: {
6916
+ readonly k: "o";
6917
+ };
6918
+ };
6919
+ };
6920
+ };
6921
+ }, {
6922
+ readonly k: "o";
6923
+ readonly p: {
6924
+ readonly auth: {
6925
+ readonly k: "o";
6926
+ };
6927
+ readonly configVersion: {
6928
+ readonly k: "j";
6929
+ };
6930
+ readonly options: {
6931
+ readonly k: "o";
6932
+ readonly p: {
6933
+ readonly headers: {
6934
+ readonly k: "o";
6935
+ };
6936
+ readonly parameters: {
6937
+ readonly k: "o";
6938
+ };
6551
6939
  };
6552
6940
  };
6553
6941
  };
6554
6942
  }];
6555
6943
  };
6556
6944
  readonly CloudSourceDocument: {
6557
- readonly k: "o";
6558
- readonly p: {
6559
- readonly config: {
6560
- readonly r: "CloudSourceConfig";
6561
- };
6562
- };
6945
+ readonly k: "u";
6946
+ readonly a: readonly [];
6563
6947
  };
6564
6948
  readonly CloudControlDefinition: {
6565
6949
  readonly k: "o";
@@ -6870,6 +7254,11 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
6870
7254
  readonly p: {
6871
7255
  readonly document: {
6872
7256
  readonly k: "o";
7257
+ readonly p: {
7258
+ readonly config: {
7259
+ readonly k: "o";
7260
+ };
7261
+ };
6873
7262
  };
6874
7263
  };
6875
7264
  }];
@@ -8614,6 +9003,13 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
8614
9003
  readonly k: "o";
8615
9004
  };
8616
9005
  };
9006
+ }, {
9007
+ readonly k: "o";
9008
+ readonly p: {
9009
+ readonly material: {
9010
+ readonly k: "o";
9011
+ };
9012
+ };
8617
9013
  }];
8618
9014
  };
8619
9015
  readonly UnsV2MetadataFindReq: {
@@ -9495,11 +9891,11 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
9495
9891
  };
9496
9892
  export declare const UNS_V2_CONTRACT_PROVENANCE: {
9497
9893
  readonly repository: "FREEZONEX/Tier0-Backend";
9498
- readonly revision: "6cb53b80eeffd707df0a8a7698bcc02022580617";
9894
+ readonly revision: "86bef2325253c2f4eaab8168f983ac4ec09c0d2f";
9499
9895
  readonly version: "5.0.0";
9500
9896
  readonly source: "service/unssvr/internal/domain/unsv2/contract_generated.go#ContractJSON";
9501
- readonly cloudRevision: "6cb53b80eeffd707df0a8a7698bcc02022580617";
9502
- readonly cloudContractRevision: "cloud-source-impact/2+source-vendor/1+app-create-capability/1+data/3+record-reads/1+stream-receipt/1+collection-namespace/1+http-acquisition/2+app-collection/2+collection-ownership/1+metadata/1+app-context/2+collection-ttl/1+error-model/1+crud-consolidation/1+record-insert-return/1+lifecycle-consolidation/1+api-surface/2+app-data/2+hosted-control/1+source-bindings/1+record-notifications/1+record-delete-samples/1+stream-history/1+app-collections/1+http-in/1+app-resource-access/2+stream-control-probe-retirement/1";
9897
+ readonly cloudRevision: "86bef2325253c2f4eaab8168f983ac4ec09c0d2f";
9898
+ readonly cloudContractRevision: "cloud-source-impact/2+source-vendor/2+app-create-capability/1+data/3+record-reads/1+stream-receipt/1+collection-namespace/1+http-acquisition/2+http-source-role/1+http-source-request/1+app-collection/2+collection-ownership/1+metadata/1+app-context/2+collection-ttl/1+error-model/1+crud-consolidation/1+record-insert-return/1+lifecycle-consolidation/1+api-surface/2+app-data/2+hosted-control/1+source-bindings/1+record-notifications/1+record-delete-samples/1+stream-history/1+app-collections/1+http-in/1+app-resource-access/2+stream-control-probe-retirement/1";
9503
9899
  readonly resolvedCloudContract: true;
9504
9900
  readonly enterpriseBase: {
9505
9901
  readonly repository: "FREEZONEX/Tier0-Enterprise-New";
@@ -9508,12 +9904,12 @@ export declare const UNS_V2_CONTRACT_PROVENANCE: {
9508
9904
  readonly source: "backend/internal/domain/unsv2/contract_generated.go";
9509
9905
  readonly note: "Reviewed Enterprise wire contract imported as editable Cloud contract source; regenerate all adapters with scripts/generate-uns-v2.mjs.";
9510
9906
  };
9511
- readonly sourceDerivedContractSHA256: "cdf0fc7c8bb3849734919cc098e8df712d0e7c20bd0c29749b3c88cae5be9a90";
9907
+ readonly sourceDerivedContractSHA256: "c93d1cd69d465fc56af2e1ff5d1896e61dc53a7ffb4ec1a43e7a654c5cf943af";
9512
9908
  readonly hashes: {
9513
- readonly contract: "cdf0fc7c8bb3849734919cc098e8df712d0e7c20bd0c29749b3c88cae5be9a90";
9909
+ readonly contract: "c93d1cd69d465fc56af2e1ff5d1896e61dc53a7ffb4ec1a43e7a654c5cf943af";
9514
9910
  readonly cloudSupport: "23e5680ec2c4f645067789e366d783961817bbb7438a3aa98099fd5314e6a35f";
9515
- readonly manifest: "06b0f034ab4b25ed534501970df7599824dc5bf5828678f80f75bdaf8e47ddbd";
9516
- readonly provenance: "0feb11af91aa2dabfdc3b98790551ac81dbc26820d89f2aa36b829a3ca748f9d";
9911
+ readonly manifest: "490ad0e26237b9d24ab6491a23ac0c663c0d532059e3bf9f5f140938fdbbb980";
9912
+ readonly provenance: "4c9b8b13f4e13a3422284a7712b68024382f267a1166da22e25a783342e3f0b4";
9517
9913
  readonly registry: "62dd03cf1240dddf40dfb663c1f4e742d25d8b1d78f349927a2120656c7ed24d";
9518
9914
  };
9519
9915
  readonly publicOperationCount: 85;