@tier0/sdk-v2 0.3.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 +14 -5
- package/dist/cjs/client.d.ts +1 -3
- package/dist/cjs/cloud-transport.js +1 -2
- package/dist/cjs/cloud-transport.js.map +1 -1
- package/dist/cjs/data/schema.js +5 -1
- package/dist/cjs/data/schema.js.map +1 -1
- package/dist/cjs/openapi/types.generated.d.ts +1 -1
- package/dist/cjs/openapi/types.generated.js.map +1 -1
- package/dist/cjs/source.d.ts +1 -0
- package/dist/cjs/source.js +1 -0
- package/dist/cjs/source.js.map +1 -1
- package/dist/cjs/stream.d.ts +0 -3
- package/dist/cjs/stream.js +0 -1
- package/dist/cjs/stream.js.map +1 -1
- package/dist/cjs/uns-v2/generated.d.ts +566 -114
- package/dist/cjs/uns-v2/generated.js +19 -19
- package/dist/cjs/uns-v2/generated.js.map +1 -1
- package/dist/esm/client.d.ts +1 -3
- package/dist/esm/cloud-transport.js +1 -2
- package/dist/esm/cloud-transport.js.map +1 -1
- package/dist/esm/data/schema.js +5 -1
- package/dist/esm/data/schema.js.map +1 -1
- package/dist/esm/openapi/types.generated.d.ts +1 -1
- package/dist/esm/openapi/types.generated.js.map +1 -1
- package/dist/esm/source.d.ts +1 -0
- package/dist/esm/source.js +1 -0
- package/dist/esm/source.js.map +1 -1
- package/dist/esm/stream.d.ts +0 -3
- package/dist/esm/stream.js +0 -1
- package/dist/esm/stream.js.map +1 -1
- package/dist/esm/uns-v2/generated.d.ts +566 -114
- package/dist/esm/uns-v2/generated.js +19 -19
- package/dist/esm/uns-v2/generated.js.map +1 -1
- package/docs/acceptance-2026-10-22.md +3 -1
- package/package.json +2 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-controls/SKILL.md +2 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/SKILL.md +2 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/consistency.md +3 -3
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/modeling.md +6 -4
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/read-write.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/schema-evolution.md +2 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/SKILL.md +2 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/create.md +66 -8
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/protocols.md +11 -4
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/SKILL.md +2 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/create.md +7 -4
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/SKILL.md +2 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/create.md +1 -1
|
@@ -117,7 +117,7 @@ export type AppContext = {
|
|
|
117
117
|
"appId": string;
|
|
118
118
|
"collections": Array<AppCollectionContext>;
|
|
119
119
|
"name": string;
|
|
120
|
-
"platformPermissions": Array<"openapi.base" | "platform.users.read" | "notifications.send" | "notifications.read" | "asset.file.upload" | "asset.file.download" | "asset.file.delete" | "
|
|
120
|
+
"platformPermissions": Array<"openapi.base" | "platform.users.read" | "notifications.send" | "notifications.read" | "asset.file.upload" | "asset.file.download" | "asset.file.delete" | "stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
121
121
|
"revision": UnsV2Integer;
|
|
122
122
|
"limits": CloudAppDataLimits;
|
|
123
123
|
};
|
|
@@ -227,8 +227,9 @@ export type HTTPConnection = {
|
|
|
227
227
|
"authentication"?: string;
|
|
228
228
|
"caCertificate"?: string;
|
|
229
229
|
"oauth"?: OAuthConfig;
|
|
230
|
-
"parameters"?:
|
|
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>;
|
|
@@ -1221,7 +1222,7 @@ export type UnsV2SampleDeleteRangeReq = {
|
|
|
1221
1222
|
"to": UnsV2Integer;
|
|
1222
1223
|
"dryRun"?: boolean;
|
|
1223
1224
|
};
|
|
1224
|
-
export type CloudSourceConfig = {
|
|
1225
|
+
export type CloudSourceConfig = (({
|
|
1225
1226
|
"configVersion": 2;
|
|
1226
1227
|
"endpoint": string;
|
|
1227
1228
|
"options": Record<string, UnsV2JSONValue>;
|
|
@@ -1233,13 +1234,183 @@ export type CloudSourceConfig = {
|
|
|
1233
1234
|
"caRef"?: string;
|
|
1234
1235
|
"clientIdentityRef"?: string;
|
|
1235
1236
|
});
|
|
1236
|
-
|
|
1237
|
-
|
|
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";
|
|
1269
|
+
}) | ({
|
|
1270
|
+
"auth": ({
|
|
1271
|
+
"credentialRef": string;
|
|
1272
|
+
"kind": "vendorNative";
|
|
1273
|
+
});
|
|
1274
|
+
"configVersion": 3;
|
|
1275
|
+
"endpoint": string;
|
|
1276
|
+
"options": ({
|
|
1277
|
+
"headers"?: ({} & Record<string, string>);
|
|
1278
|
+
"parameters"?: {};
|
|
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";
|
|
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";
|
|
1407
|
+
}));
|
|
1408
|
+
export type CloudSourceDocument = ({
|
|
1238
1409
|
"name": string;
|
|
1239
1410
|
"description"?: string;
|
|
1240
|
-
"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";
|
|
1241
1412
|
"config": CloudSourceConfig;
|
|
1242
|
-
};
|
|
1413
|
+
});
|
|
1243
1414
|
export type CloudControlDefinition = {
|
|
1244
1415
|
"code": string;
|
|
1245
1416
|
"name": string;
|
|
@@ -1356,17 +1527,6 @@ export type CloudStreamProgramDeleteResponse = {
|
|
|
1356
1527
|
"deleted": boolean;
|
|
1357
1528
|
}) | CloudPreviewResult));
|
|
1358
1529
|
};
|
|
1359
|
-
export type CloudStreamRuntimeCapabilitiesGetReq = {};
|
|
1360
|
-
export type CloudStreamRuntimeCapabilitiesGetResponse = {
|
|
1361
|
-
"code": UnsV2Integer;
|
|
1362
|
-
"msg": string;
|
|
1363
|
-
"requestId": string;
|
|
1364
|
-
"data": ({
|
|
1365
|
-
"controlInvokeReady": boolean;
|
|
1366
|
-
"scriptContractVersion": string;
|
|
1367
|
-
"controlMetadataReady": boolean;
|
|
1368
|
-
});
|
|
1369
|
-
};
|
|
1370
1530
|
export type CloudControlDiscoverReq = {
|
|
1371
1531
|
"page"?: UnsV2Integer;
|
|
1372
1532
|
"size"?: UnsV2Integer;
|
|
@@ -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;
|
|
@@ -1847,7 +2007,7 @@ export type CloudHostedAppControlPolicyUpdateReq = {
|
|
|
1847
2007
|
"status": "active" | "disabled";
|
|
1848
2008
|
"idempotencyKey": string;
|
|
1849
2009
|
"dryRun": boolean;
|
|
1850
|
-
"platformPermissions": Array<"
|
|
2010
|
+
"platformPermissions": Array<"stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
1851
2011
|
};
|
|
1852
2012
|
export type CloudHostedAppControlPolicy = {
|
|
1853
2013
|
"appId": string;
|
|
@@ -1856,7 +2016,7 @@ export type CloudHostedAppControlPolicy = {
|
|
|
1856
2016
|
"status": "active" | "disabled";
|
|
1857
2017
|
"authorityStatus": "available" | "notReady" | "notFound" | "unavailable";
|
|
1858
2018
|
"appName": string;
|
|
1859
|
-
"platformPermissions": Array<"
|
|
2019
|
+
"platformPermissions": Array<"stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
1860
2020
|
};
|
|
1861
2021
|
export type CloudHostedAppControlPolicyGetResponse = {
|
|
1862
2022
|
"code": UnsV2Integer;
|
|
@@ -2030,7 +2190,7 @@ export type CloudRecordSubscribeResponse = {
|
|
|
2030
2190
|
};
|
|
2031
2191
|
export type CloudControlGrantGetReq = {
|
|
2032
2192
|
"code": string;
|
|
2033
|
-
"principalKind": "app" | "user"
|
|
2193
|
+
"principalKind": "app" | "user";
|
|
2034
2194
|
"principalID": string;
|
|
2035
2195
|
};
|
|
2036
2196
|
export type CloudControlGrantTargetRevision = {
|
|
@@ -2039,12 +2199,12 @@ export type CloudControlGrantTargetRevision = {
|
|
|
2039
2199
|
};
|
|
2040
2200
|
export type CloudControlGrantSetReq = ({
|
|
2041
2201
|
"code": string;
|
|
2042
|
-
"principalKind": "app" | "user"
|
|
2202
|
+
"principalKind": "app" | "user";
|
|
2043
2203
|
"principalID": string;
|
|
2044
2204
|
"active": 1 | 2;
|
|
2045
2205
|
"expectedBindingDigest"?: string;
|
|
2046
2206
|
"expectedCodeRevision"?: UnsV2Integer;
|
|
2047
|
-
"actions"?: Array<"
|
|
2207
|
+
"actions"?: Array<"stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
2048
2208
|
"targetRevisions"?: Array<CloudControlGrantTargetRevision>;
|
|
2049
2209
|
"expectedSnapshotToken"?: string;
|
|
2050
2210
|
});
|
|
@@ -2059,16 +2219,16 @@ export type CloudControlGrantTargetInfo = {
|
|
|
2059
2219
|
};
|
|
2060
2220
|
export type CloudControlGrantInfo = {
|
|
2061
2221
|
"code": string;
|
|
2062
|
-
"principalKind": "app" | "user"
|
|
2222
|
+
"principalKind": "app" | "user";
|
|
2063
2223
|
"principalID": string;
|
|
2064
2224
|
"status": string;
|
|
2065
2225
|
"bindingDigest": string;
|
|
2066
2226
|
"recipientEligible": 1 | 2;
|
|
2067
|
-
"recipientActions": Array<"
|
|
2227
|
+
"recipientActions": Array<"stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
2068
2228
|
"registered": 1 | 2;
|
|
2069
2229
|
"active": 1 | 2;
|
|
2070
2230
|
"revision": UnsV2Integer;
|
|
2071
|
-
"actions": Array<"
|
|
2231
|
+
"actions": Array<"stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
2072
2232
|
"targets": Array<CloudControlGrantTargetInfo>;
|
|
2073
2233
|
"createdPrincipal": string;
|
|
2074
2234
|
"updatedPrincipal": string;
|
|
@@ -2079,7 +2239,7 @@ export type CloudControlGrantInfo = {
|
|
|
2079
2239
|
};
|
|
2080
2240
|
export type CloudControlGrantMutation = {
|
|
2081
2241
|
"code": string;
|
|
2082
|
-
"principalKind": "app" | "user"
|
|
2242
|
+
"principalKind": "app" | "user";
|
|
2083
2243
|
"principalID": string;
|
|
2084
2244
|
"revision": UnsV2Integer;
|
|
2085
2245
|
"active": 1 | 2;
|
|
@@ -2122,7 +2282,7 @@ export type CloudAppStreamAccessItem = {
|
|
|
2122
2282
|
"streamName": string;
|
|
2123
2283
|
"entryId": string;
|
|
2124
2284
|
"entryName": string;
|
|
2125
|
-
"actions": Array<"
|
|
2285
|
+
"actions": Array<"stream.requests.read" | "stream.requests.invoke" | "stream.requests.write">;
|
|
2126
2286
|
"configuredActive": 1 | 2;
|
|
2127
2287
|
"state": "available" | "blocked";
|
|
2128
2288
|
"blockedReasons": Array<"grant_revoked" | "grant_invalid" | "recipient_unavailable" | "stream_inactive" | "binding_unavailable" | "deployer_unavailable" | "state_changed" | "grant_insufficient" | "app_control_ceiling" | "target_not_granted" | "collection_not_granted">;
|
|
@@ -2140,6 +2300,25 @@ export type CloudAppStreamAccessListResponse = {
|
|
|
2140
2300
|
"requestId": string;
|
|
2141
2301
|
"data": CloudAppStreamAccessPage;
|
|
2142
2302
|
};
|
|
2303
|
+
export type CloudSourceDiscoverReq = {
|
|
2304
|
+
"id": string;
|
|
2305
|
+
"expectedRevision": UnsV2Integer;
|
|
2306
|
+
};
|
|
2307
|
+
export type CloudSourceDiscoverResponse = {
|
|
2308
|
+
"code": UnsV2Integer;
|
|
2309
|
+
"msg": string;
|
|
2310
|
+
"requestId": string;
|
|
2311
|
+
"data": ({
|
|
2312
|
+
"id": string;
|
|
2313
|
+
"revision": UnsV2Integer;
|
|
2314
|
+
"sourceType": "pi-web-api" | "plex-mes" | "wms-rest" | "sap-odata" | "yonyou-yonbip" | "kingdee-jdy" | "ngp" | "kingdee-k3cloud" | "salesforce" | "teamcenter" | "hikvision-isapi";
|
|
2315
|
+
"resources": (Array<({
|
|
2316
|
+
"ref": string;
|
|
2317
|
+
"name": string;
|
|
2318
|
+
"readOnly": boolean;
|
|
2319
|
+
})>);
|
|
2320
|
+
});
|
|
2321
|
+
};
|
|
2143
2322
|
export type UnsV2SampleFindReq = ({
|
|
2144
2323
|
"collectionId": string;
|
|
2145
2324
|
"recordIds"?: Array<string>;
|
|
@@ -2431,8 +2610,8 @@ export type CloudStreamProgramView = {
|
|
|
2431
2610
|
} & Record<string, UnsV2JSONValue>);
|
|
2432
2611
|
} & Record<string, UnsV2JSONValue>;
|
|
2433
2612
|
export type CloudSourceCreateCredentials = ({
|
|
2434
|
-
"method"
|
|
2435
|
-
"kind": "basic" | "bearer" | "oauth2ClientCredentials";
|
|
2613
|
+
"method"?: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "REQUEST";
|
|
2614
|
+
"kind": "basic" | "bearer" | "apiKey" | "oauth2ClientCredentials";
|
|
2436
2615
|
"material": {};
|
|
2437
2616
|
}) & (({
|
|
2438
2617
|
"kind"?: "basic";
|
|
@@ -2445,14 +2624,22 @@ export type CloudSourceCreateCredentials = ({
|
|
|
2445
2624
|
"material"?: ({
|
|
2446
2625
|
"token": string;
|
|
2447
2626
|
});
|
|
2627
|
+
}) | ({
|
|
2628
|
+
"kind"?: "apiKey";
|
|
2629
|
+
"method"?: "REQUEST";
|
|
2630
|
+
"material"?: ({
|
|
2631
|
+
"headerName": string;
|
|
2632
|
+
"value": string;
|
|
2633
|
+
});
|
|
2448
2634
|
}) | ({
|
|
2449
2635
|
"kind"?: "oauth2ClientCredentials";
|
|
2450
|
-
"method"?: "GET";
|
|
2636
|
+
"method"?: "GET" | "REQUEST";
|
|
2451
2637
|
"material"?: ({
|
|
2452
2638
|
"tokenUrl": string;
|
|
2453
2639
|
"clientId": string;
|
|
2454
2640
|
"clientSecret": string;
|
|
2455
2641
|
"scope"?: string;
|
|
2642
|
+
"clientAuthentication"?: "client_secret_post" | "client_secret_basic";
|
|
2456
2643
|
});
|
|
2457
2644
|
}));
|
|
2458
2645
|
export type UnsV2MetadataFindReq = ((({
|
|
@@ -3147,6 +3334,15 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3147
3334
|
readonly idempotencyKey: true;
|
|
3148
3335
|
readonly scope: "source:manage";
|
|
3149
3336
|
};
|
|
3337
|
+
readonly sourceDiscover: {
|
|
3338
|
+
readonly path: "/openapi/v2/uns/sources/discover";
|
|
3339
|
+
readonly pathParams: readonly [];
|
|
3340
|
+
readonly request: "CloudSourceDiscoverReq";
|
|
3341
|
+
readonly response: "CloudSourceDiscoverResponse";
|
|
3342
|
+
readonly mutation: true;
|
|
3343
|
+
readonly idempotencyKey: false;
|
|
3344
|
+
readonly scope: "source:manage";
|
|
3345
|
+
};
|
|
3150
3346
|
readonly streamProgramVersionsList: {
|
|
3151
3347
|
readonly path: "/openapi/v2/uns/streams/program/versions/list";
|
|
3152
3348
|
readonly pathParams: readonly [];
|
|
@@ -3327,15 +3523,6 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3327
3523
|
readonly idempotencyKey: true;
|
|
3328
3524
|
readonly scope: "stream:manage";
|
|
3329
3525
|
};
|
|
3330
|
-
readonly streamRuntimeCapabilitiesGet: {
|
|
3331
|
-
readonly path: "/openapi/v2/uns/streams/runtime/capabilities/get";
|
|
3332
|
-
readonly pathParams: readonly [];
|
|
3333
|
-
readonly request: "CloudStreamRuntimeCapabilitiesGetReq";
|
|
3334
|
-
readonly response: "CloudStreamRuntimeCapabilitiesGetResponse";
|
|
3335
|
-
readonly mutation: false;
|
|
3336
|
-
readonly idempotencyKey: false;
|
|
3337
|
-
readonly scope: "control:read";
|
|
3338
|
-
};
|
|
3339
3526
|
readonly controlDiscover: {
|
|
3340
3527
|
readonly path: "/openapi/v2/uns/controls/discover";
|
|
3341
3528
|
readonly pathParams: readonly [];
|
|
@@ -3343,7 +3530,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3343
3530
|
readonly response: "CloudControlDiscoverResponse";
|
|
3344
3531
|
readonly mutation: false;
|
|
3345
3532
|
readonly idempotencyKey: false;
|
|
3346
|
-
readonly scope: "
|
|
3533
|
+
readonly scope: "stream.requests:read";
|
|
3347
3534
|
};
|
|
3348
3535
|
readonly controlDescribe: {
|
|
3349
3536
|
readonly path: "/openapi/v2/uns/controls/describe";
|
|
@@ -3352,7 +3539,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3352
3539
|
readonly response: "CloudControlDescribeResponse";
|
|
3353
3540
|
readonly mutation: false;
|
|
3354
3541
|
readonly idempotencyKey: false;
|
|
3355
|
-
readonly scope: "
|
|
3542
|
+
readonly scope: "stream.requests:read";
|
|
3356
3543
|
};
|
|
3357
3544
|
readonly controlInvoke: {
|
|
3358
3545
|
readonly path: "/openapi/v2/uns/controls/invoke";
|
|
@@ -3361,7 +3548,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3361
3548
|
readonly response: "CloudControlInvokeResponse";
|
|
3362
3549
|
readonly mutation: true;
|
|
3363
3550
|
readonly idempotencyKey: true;
|
|
3364
|
-
readonly scope: "
|
|
3551
|
+
readonly scope: "stream.requests:invoke";
|
|
3365
3552
|
};
|
|
3366
3553
|
readonly sourceDocumentGet: {
|
|
3367
3554
|
readonly path: "/openapi/v2/uns/sources/documents/get";
|
|
@@ -3532,7 +3719,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3532
3719
|
readonly response: "CloudHostedAppControlPolicyGetResponse";
|
|
3533
3720
|
readonly mutation: false;
|
|
3534
3721
|
readonly idempotencyKey: false;
|
|
3535
|
-
readonly scope: "
|
|
3722
|
+
readonly scope: "stream.requests:manage";
|
|
3536
3723
|
};
|
|
3537
3724
|
readonly hostedAppControlPolicyUpdate: {
|
|
3538
3725
|
readonly path: "/openapi/v2/uns/hosted-app-control-policy/update";
|
|
@@ -3541,7 +3728,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3541
3728
|
readonly response: "CloudHostedAppControlPolicyMutationResponse";
|
|
3542
3729
|
readonly mutation: true;
|
|
3543
3730
|
readonly idempotencyKey: true;
|
|
3544
|
-
readonly scope: "
|
|
3731
|
+
readonly scope: "stream.requests:manage";
|
|
3545
3732
|
};
|
|
3546
3733
|
readonly appCollectionsEnsure: {
|
|
3547
3734
|
readonly path: "/openapi/v2/uns/app/collections/ensure";
|
|
@@ -3595,7 +3782,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3595
3782
|
readonly response: "CloudControlGrantGetResponse";
|
|
3596
3783
|
readonly mutation: false;
|
|
3597
3784
|
readonly idempotencyKey: false;
|
|
3598
|
-
readonly scope: "
|
|
3785
|
+
readonly scope: "stream.requests:manage";
|
|
3599
3786
|
};
|
|
3600
3787
|
readonly controlGrantSet: {
|
|
3601
3788
|
readonly path: "/openapi/v2/uns/controls/grants/set";
|
|
@@ -3604,7 +3791,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3604
3791
|
readonly response: "CloudControlGrantSetResponse";
|
|
3605
3792
|
readonly mutation: true;
|
|
3606
3793
|
readonly idempotencyKey: false;
|
|
3607
|
-
readonly scope: "
|
|
3794
|
+
readonly scope: "stream.requests:manage";
|
|
3608
3795
|
};
|
|
3609
3796
|
readonly appStreamAccessList: {
|
|
3610
3797
|
readonly path: "/openapi/v2/uns/app-stream-access/list";
|
|
@@ -3613,7 +3800,7 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3613
3800
|
readonly response: "CloudAppStreamAccessListResponse";
|
|
3614
3801
|
readonly mutation: false;
|
|
3615
3802
|
readonly idempotencyKey: false;
|
|
3616
|
-
readonly scope: "
|
|
3803
|
+
readonly scope: "stream.requests:manage";
|
|
3617
3804
|
};
|
|
3618
3805
|
readonly sampleFind: {
|
|
3619
3806
|
readonly path: "/openapi/v2/uns/collections/:collectionId/samples:find";
|
|
@@ -3858,6 +4045,10 @@ export interface UnsV2OperationMap {
|
|
|
3858
4045
|
request: UnsV2SourceProbeReq;
|
|
3859
4046
|
response: UnsV2SourceProbeResponse;
|
|
3860
4047
|
};
|
|
4048
|
+
"sourceDiscover": {
|
|
4049
|
+
request: CloudSourceDiscoverReq;
|
|
4050
|
+
response: CloudSourceDiscoverResponse;
|
|
4051
|
+
};
|
|
3861
4052
|
"streamProgramVersionsList": {
|
|
3862
4053
|
request: UnsV2StreamProgramVersionsListReq;
|
|
3863
4054
|
response: UnsV2StreamProgramVersionsListResponse;
|
|
@@ -3938,10 +4129,6 @@ export interface UnsV2OperationMap {
|
|
|
3938
4129
|
request: CloudStreamProgramDeleteReq;
|
|
3939
4130
|
response: CloudStreamProgramDeleteResponse;
|
|
3940
4131
|
};
|
|
3941
|
-
"streamRuntimeCapabilitiesGet": {
|
|
3942
|
-
request: CloudStreamRuntimeCapabilitiesGetReq;
|
|
3943
|
-
response: CloudStreamRuntimeCapabilitiesGetResponse;
|
|
3944
|
-
};
|
|
3945
4132
|
"controlDiscover": {
|
|
3946
4133
|
request: CloudControlDiscoverReq;
|
|
3947
4134
|
response: CloudControlDiscoverResponse;
|
|
@@ -4161,6 +4348,7 @@ export interface UnsV2Operations {
|
|
|
4161
4348
|
sourceProtocolsList(request: UnsV2SourceProtocolsListReq, options?: RequestOptions): Promise<UnsV2SourceProtocolsListResponse>;
|
|
4162
4349
|
sourceValidate(request: UnsV2SourceValidateReq, options?: RequestOptions): Promise<UnsV2SourceValidateResponse>;
|
|
4163
4350
|
sourceProbe(request: UnsV2SourceProbeReq, options?: RequestOptions): Promise<UnsV2SourceProbeResponse>;
|
|
4351
|
+
sourceDiscover(request: CloudSourceDiscoverReq, options?: RequestOptions): Promise<CloudSourceDiscoverResponse>;
|
|
4164
4352
|
streamProgramVersionsList(request: UnsV2StreamProgramVersionsListReq, options?: RequestOptions): Promise<UnsV2StreamProgramVersionsListResponse>;
|
|
4165
4353
|
streamProgramDeploy(request: UnsV2StreamProgramDeployReq, options?: RequestOptions): Promise<UnsV2StreamProgramDeployResponse>;
|
|
4166
4354
|
streamProgramRollback(request: UnsV2StreamProgramRollbackReq, options?: RequestOptions): Promise<UnsV2StreamProgramRollbackResponse>;
|
|
@@ -4181,7 +4369,6 @@ export interface UnsV2Operations {
|
|
|
4181
4369
|
sourceDelete(request: CloudSourceDeleteReq, options?: RequestOptions): Promise<CloudSourceDeleteResponse>;
|
|
4182
4370
|
streamProgramList(request: CloudStreamProgramListReq, options?: RequestOptions): Promise<CloudStreamProgramListResponse>;
|
|
4183
4371
|
streamProgramDelete(request: CloudStreamProgramDeleteReq, options?: RequestOptions): Promise<CloudStreamProgramDeleteResponse>;
|
|
4184
|
-
streamRuntimeCapabilitiesGet(request: CloudStreamRuntimeCapabilitiesGetReq, options?: RequestOptions): Promise<CloudStreamRuntimeCapabilitiesGetResponse>;
|
|
4185
4372
|
controlDiscover(request: CloudControlDiscoverReq, options?: RequestOptions): Promise<CloudControlDiscoverResponse>;
|
|
4186
4373
|
controlDescribe(request: CloudControlDescribeReq, options?: RequestOptions): Promise<CloudControlDescribeResponse>;
|
|
4187
4374
|
controlInvoke(request: CloudControlInvokeReq, options?: RequestOptions): Promise<CloudControlInvokeResponse>;
|
|
@@ -4635,6 +4822,9 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
4635
4822
|
readonly port: {
|
|
4636
4823
|
readonly k: "j";
|
|
4637
4824
|
};
|
|
4825
|
+
readonly headers: {
|
|
4826
|
+
readonly k: "o";
|
|
4827
|
+
};
|
|
4638
4828
|
};
|
|
4639
4829
|
};
|
|
4640
4830
|
readonly IndexSpec: {
|
|
@@ -4862,24 +5052,8 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
4862
5052
|
};
|
|
4863
5053
|
};
|
|
4864
5054
|
readonly SourceDefinition: {
|
|
4865
|
-
readonly k: "
|
|
4866
|
-
readonly
|
|
4867
|
-
readonly extensions: {
|
|
4868
|
-
readonly k: "o";
|
|
4869
|
-
};
|
|
4870
|
-
readonly http: {
|
|
4871
|
-
readonly r: "HTTPConnection";
|
|
4872
|
-
};
|
|
4873
|
-
readonly modbus: {
|
|
4874
|
-
readonly r: "ModbusOptions";
|
|
4875
|
-
};
|
|
4876
|
-
readonly mqtt: {
|
|
4877
|
-
readonly r: "MQTTOptions";
|
|
4878
|
-
};
|
|
4879
|
-
readonly opcua: {
|
|
4880
|
-
readonly r: "OPCUAOptions";
|
|
4881
|
-
};
|
|
4882
|
-
};
|
|
5055
|
+
readonly k: "u";
|
|
5056
|
+
readonly a: readonly [];
|
|
4883
5057
|
};
|
|
4884
5058
|
readonly TransactionQueryResult: {
|
|
4885
5059
|
readonly k: "o";
|
|
@@ -6497,29 +6671,279 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
6497
6671
|
};
|
|
6498
6672
|
};
|
|
6499
6673
|
readonly CloudSourceConfig: {
|
|
6500
|
-
readonly k: "
|
|
6501
|
-
readonly
|
|
6502
|
-
readonly
|
|
6503
|
-
|
|
6674
|
+
readonly k: "u";
|
|
6675
|
+
readonly a: readonly [{
|
|
6676
|
+
readonly k: "o";
|
|
6677
|
+
readonly p: {
|
|
6678
|
+
readonly configVersion: {
|
|
6679
|
+
readonly k: "j";
|
|
6680
|
+
};
|
|
6681
|
+
readonly options: {
|
|
6682
|
+
readonly k: "o";
|
|
6683
|
+
};
|
|
6684
|
+
readonly auth: {
|
|
6685
|
+
readonly k: "o";
|
|
6686
|
+
};
|
|
6687
|
+
readonly tls: {
|
|
6688
|
+
readonly k: "o";
|
|
6689
|
+
};
|
|
6504
6690
|
};
|
|
6505
|
-
|
|
6506
|
-
|
|
6691
|
+
}, {
|
|
6692
|
+
readonly k: "o";
|
|
6693
|
+
readonly p: {
|
|
6694
|
+
readonly auth: {
|
|
6695
|
+
readonly k: "o";
|
|
6696
|
+
};
|
|
6697
|
+
readonly configVersion: {
|
|
6698
|
+
readonly k: "j";
|
|
6699
|
+
};
|
|
6700
|
+
readonly options: {
|
|
6701
|
+
readonly k: "o";
|
|
6702
|
+
readonly p: {
|
|
6703
|
+
readonly headers: {
|
|
6704
|
+
readonly k: "o";
|
|
6705
|
+
};
|
|
6706
|
+
readonly parameters: {
|
|
6707
|
+
readonly k: "o";
|
|
6708
|
+
};
|
|
6709
|
+
};
|
|
6710
|
+
};
|
|
6507
6711
|
};
|
|
6508
|
-
|
|
6509
|
-
|
|
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
|
+
};
|
|
6510
6732
|
};
|
|
6511
|
-
|
|
6512
|
-
|
|
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
|
+
};
|
|
6513
6753
|
};
|
|
6514
|
-
}
|
|
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
|
+
};
|
|
6939
|
+
};
|
|
6940
|
+
};
|
|
6941
|
+
};
|
|
6942
|
+
}];
|
|
6515
6943
|
};
|
|
6516
6944
|
readonly CloudSourceDocument: {
|
|
6517
|
-
readonly k: "
|
|
6518
|
-
readonly
|
|
6519
|
-
readonly config: {
|
|
6520
|
-
readonly r: "CloudSourceConfig";
|
|
6521
|
-
};
|
|
6522
|
-
};
|
|
6945
|
+
readonly k: "u";
|
|
6946
|
+
readonly a: readonly [];
|
|
6523
6947
|
};
|
|
6524
6948
|
readonly CloudControlDefinition: {
|
|
6525
6949
|
readonly k: "o";
|
|
@@ -6727,20 +7151,6 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
6727
7151
|
};
|
|
6728
7152
|
};
|
|
6729
7153
|
};
|
|
6730
|
-
readonly CloudStreamRuntimeCapabilitiesGetReq: {
|
|
6731
|
-
readonly k: "o";
|
|
6732
|
-
};
|
|
6733
|
-
readonly CloudStreamRuntimeCapabilitiesGetResponse: {
|
|
6734
|
-
readonly k: "o";
|
|
6735
|
-
readonly p: {
|
|
6736
|
-
readonly code: {
|
|
6737
|
-
readonly k: "j";
|
|
6738
|
-
};
|
|
6739
|
-
readonly data: {
|
|
6740
|
-
readonly k: "o";
|
|
6741
|
-
};
|
|
6742
|
-
};
|
|
6743
|
-
};
|
|
6744
7154
|
readonly CloudControlDiscoverReq: {
|
|
6745
7155
|
readonly k: "o";
|
|
6746
7156
|
readonly p: {
|
|
@@ -6844,6 +7254,11 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
6844
7254
|
readonly p: {
|
|
6845
7255
|
readonly document: {
|
|
6846
7256
|
readonly k: "o";
|
|
7257
|
+
readonly p: {
|
|
7258
|
+
readonly config: {
|
|
7259
|
+
readonly k: "o";
|
|
7260
|
+
};
|
|
7261
|
+
};
|
|
6847
7262
|
};
|
|
6848
7263
|
};
|
|
6849
7264
|
}];
|
|
@@ -8039,6 +8454,36 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
8039
8454
|
};
|
|
8040
8455
|
};
|
|
8041
8456
|
};
|
|
8457
|
+
readonly CloudSourceDiscoverReq: {
|
|
8458
|
+
readonly k: "o";
|
|
8459
|
+
readonly p: {
|
|
8460
|
+
readonly expectedRevision: {
|
|
8461
|
+
readonly k: "j";
|
|
8462
|
+
};
|
|
8463
|
+
};
|
|
8464
|
+
};
|
|
8465
|
+
readonly CloudSourceDiscoverResponse: {
|
|
8466
|
+
readonly k: "o";
|
|
8467
|
+
readonly p: {
|
|
8468
|
+
readonly code: {
|
|
8469
|
+
readonly k: "j";
|
|
8470
|
+
};
|
|
8471
|
+
readonly data: {
|
|
8472
|
+
readonly k: "o";
|
|
8473
|
+
readonly p: {
|
|
8474
|
+
readonly revision: {
|
|
8475
|
+
readonly k: "j";
|
|
8476
|
+
};
|
|
8477
|
+
readonly resources: {
|
|
8478
|
+
readonly k: "a";
|
|
8479
|
+
readonly i: {
|
|
8480
|
+
readonly k: "o";
|
|
8481
|
+
};
|
|
8482
|
+
};
|
|
8483
|
+
};
|
|
8484
|
+
};
|
|
8485
|
+
};
|
|
8486
|
+
};
|
|
8042
8487
|
readonly UnsV2SampleFindReq: {
|
|
8043
8488
|
readonly k: "u";
|
|
8044
8489
|
readonly a: readonly [];
|
|
@@ -8558,6 +9003,13 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
8558
9003
|
readonly k: "o";
|
|
8559
9004
|
};
|
|
8560
9005
|
};
|
|
9006
|
+
}, {
|
|
9007
|
+
readonly k: "o";
|
|
9008
|
+
readonly p: {
|
|
9009
|
+
readonly material: {
|
|
9010
|
+
readonly k: "o";
|
|
9011
|
+
};
|
|
9012
|
+
};
|
|
8561
9013
|
}];
|
|
8562
9014
|
};
|
|
8563
9015
|
readonly UnsV2MetadataFindReq: {
|
|
@@ -9439,11 +9891,11 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
9439
9891
|
};
|
|
9440
9892
|
export declare const UNS_V2_CONTRACT_PROVENANCE: {
|
|
9441
9893
|
readonly repository: "FREEZONEX/Tier0-Backend";
|
|
9442
|
-
readonly revision: "
|
|
9894
|
+
readonly revision: "86bef2325253c2f4eaab8168f983ac4ec09c0d2f";
|
|
9443
9895
|
readonly version: "5.0.0";
|
|
9444
9896
|
readonly source: "service/unssvr/internal/domain/unsv2/contract_generated.go#ContractJSON";
|
|
9445
|
-
readonly cloudRevision: "
|
|
9446
|
-
readonly cloudContractRevision: "cloud-source-impact/2+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";
|
|
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";
|
|
9447
9899
|
readonly resolvedCloudContract: true;
|
|
9448
9900
|
readonly enterpriseBase: {
|
|
9449
9901
|
readonly repository: "FREEZONEX/Tier0-Enterprise-New";
|
|
@@ -9452,13 +9904,13 @@ export declare const UNS_V2_CONTRACT_PROVENANCE: {
|
|
|
9452
9904
|
readonly source: "backend/internal/domain/unsv2/contract_generated.go";
|
|
9453
9905
|
readonly note: "Reviewed Enterprise wire contract imported as editable Cloud contract source; regenerate all adapters with scripts/generate-uns-v2.mjs.";
|
|
9454
9906
|
};
|
|
9455
|
-
readonly sourceDerivedContractSHA256: "
|
|
9907
|
+
readonly sourceDerivedContractSHA256: "c93d1cd69d465fc56af2e1ff5d1896e61dc53a7ffb4ec1a43e7a654c5cf943af";
|
|
9456
9908
|
readonly hashes: {
|
|
9457
|
-
readonly contract: "
|
|
9458
|
-
readonly cloudSupport: "
|
|
9459
|
-
readonly manifest: "
|
|
9460
|
-
readonly provenance: "
|
|
9461
|
-
readonly registry: "
|
|
9909
|
+
readonly contract: "c93d1cd69d465fc56af2e1ff5d1896e61dc53a7ffb4ec1a43e7a654c5cf943af";
|
|
9910
|
+
readonly cloudSupport: "23e5680ec2c4f645067789e366d783961817bbb7438a3aa98099fd5314e6a35f";
|
|
9911
|
+
readonly manifest: "490ad0e26237b9d24ab6491a23ac0c663c0d532059e3bf9f5f140938fdbbb980";
|
|
9912
|
+
readonly provenance: "4c9b8b13f4e13a3422284a7712b68024382f267a1166da22e25a783342e3f0b4";
|
|
9913
|
+
readonly registry: "62dd03cf1240dddf40dfb663c1f4e742d25d8b1d78f349927a2120656c7ed24d";
|
|
9462
9914
|
};
|
|
9463
9915
|
readonly publicOperationCount: 85;
|
|
9464
9916
|
readonly streamOperationCount: 1;
|