@tier0/sdk-v2 0.9.8 → 0.9.9
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/CHANGELOG.md +10 -4
- package/README.md +14 -4
- package/dist/cjs/openapi/types.generated.d.ts +1 -1
- package/dist/cjs/openapi/types.generated.js.map +1 -1
- package/dist/cjs/uns-v2/generated.d.ts +65 -19
- package/dist/cjs/uns-v2/generated.js +21 -20
- package/dist/cjs/uns-v2/generated.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/uns-v2/generated.d.ts +65 -19
- package/dist/esm/uns-v2/generated.js +21 -20
- package/dist/esm/uns-v2/generated.js.map +1 -1
- package/package.json +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/SKILL.md +5 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/delete.md +27 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/namespace.md +16 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/read.md +22 -0
|
@@ -2921,6 +2921,18 @@ export type UnsV2MetadataRestoreResponse = {
|
|
|
2921
2921
|
"replayed": boolean;
|
|
2922
2922
|
});
|
|
2923
2923
|
};
|
|
2924
|
+
export type UnsV2MetadataPurgeReq = {
|
|
2925
|
+
"kind": "collection";
|
|
2926
|
+
"ids": Array<string>;
|
|
2927
|
+
"dryRun"?: boolean;
|
|
2928
|
+
"idempotencyKey"?: string;
|
|
2929
|
+
};
|
|
2930
|
+
export type UnsV2MetadataPurgeResponse = {
|
|
2931
|
+
"code": UnsV2Integer;
|
|
2932
|
+
"msg": string;
|
|
2933
|
+
"requestId": string;
|
|
2934
|
+
"data": Outcome;
|
|
2935
|
+
};
|
|
2924
2936
|
export type UnsV2MetadataBulkWriteReq = {
|
|
2925
2937
|
"kind": "directory" | "topic" | "collection";
|
|
2926
2938
|
"operations": (Array<((({
|
|
@@ -3904,6 +3916,15 @@ export declare const UNS_V2_OPERATIONS: {
|
|
|
3904
3916
|
readonly idempotencyKey: true;
|
|
3905
3917
|
readonly scope: "uns:update";
|
|
3906
3918
|
};
|
|
3919
|
+
readonly metadataPurge: {
|
|
3920
|
+
readonly path: "/openapi/v2/uns/metadata:purge";
|
|
3921
|
+
readonly pathParams: readonly [];
|
|
3922
|
+
readonly request: "UnsV2MetadataPurgeReq";
|
|
3923
|
+
readonly response: "UnsV2MetadataPurgeResponse";
|
|
3924
|
+
readonly mutation: true;
|
|
3925
|
+
readonly idempotencyKey: true;
|
|
3926
|
+
readonly scope: "uns:update";
|
|
3927
|
+
};
|
|
3907
3928
|
readonly metadataBulkWrite: {
|
|
3908
3929
|
readonly path: "/openapi/v2/uns/metadata:bulkWrite";
|
|
3909
3930
|
readonly pathParams: readonly [];
|
|
@@ -4249,6 +4270,10 @@ export interface UnsV2OperationMap {
|
|
|
4249
4270
|
request: UnsV2MetadataRestoreReq;
|
|
4250
4271
|
response: UnsV2MetadataRestoreResponse;
|
|
4251
4272
|
};
|
|
4273
|
+
"metadataPurge": {
|
|
4274
|
+
request: UnsV2MetadataPurgeReq;
|
|
4275
|
+
response: UnsV2MetadataPurgeResponse;
|
|
4276
|
+
};
|
|
4252
4277
|
"metadataBulkWrite": {
|
|
4253
4278
|
request: UnsV2MetadataBulkWriteReq;
|
|
4254
4279
|
response: UnsV2MetadataBulkWriteResponse;
|
|
@@ -4338,6 +4363,7 @@ export interface UnsV2Operations {
|
|
|
4338
4363
|
metadataUpdateMany(request: UnsV2MetadataUpdateManyReq, options?: RequestOptions): Promise<UnsV2MetadataUpdateManyResponse>;
|
|
4339
4364
|
metadataDeleteMany(request: UnsV2MetadataDeleteManyReq, options?: RequestOptions): Promise<UnsV2MetadataDeleteManyResponse>;
|
|
4340
4365
|
metadataRestore(request: UnsV2MetadataRestoreReq, options?: RequestOptions): Promise<UnsV2MetadataRestoreResponse>;
|
|
4366
|
+
metadataPurge(request: UnsV2MetadataPurgeReq, options?: RequestOptions): Promise<UnsV2MetadataPurgeResponse>;
|
|
4341
4367
|
metadataBulkWrite(request: UnsV2MetadataBulkWriteReq, options?: RequestOptions): Promise<UnsV2MetadataBulkWriteResponse>;
|
|
4342
4368
|
metadataTransact(request: UnsV2MetadataTransactReq, options?: RequestOptions): Promise<UnsV2MetadataTransactResponse>;
|
|
4343
4369
|
}
|
|
@@ -9192,6 +9218,26 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
9192
9218
|
};
|
|
9193
9219
|
};
|
|
9194
9220
|
};
|
|
9221
|
+
readonly UnsV2MetadataPurgeReq: {
|
|
9222
|
+
readonly k: "o";
|
|
9223
|
+
readonly p: {
|
|
9224
|
+
readonly ids: {
|
|
9225
|
+
readonly k: "a";
|
|
9226
|
+
readonly i: {};
|
|
9227
|
+
};
|
|
9228
|
+
};
|
|
9229
|
+
};
|
|
9230
|
+
readonly UnsV2MetadataPurgeResponse: {
|
|
9231
|
+
readonly k: "o";
|
|
9232
|
+
readonly p: {
|
|
9233
|
+
readonly code: {
|
|
9234
|
+
readonly k: "j";
|
|
9235
|
+
};
|
|
9236
|
+
readonly data: {
|
|
9237
|
+
readonly r: "Outcome";
|
|
9238
|
+
};
|
|
9239
|
+
};
|
|
9240
|
+
};
|
|
9195
9241
|
readonly UnsV2MetadataBulkWriteReq: {
|
|
9196
9242
|
readonly k: "o";
|
|
9197
9243
|
readonly p: {
|
|
@@ -9765,11 +9811,11 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
|
|
|
9765
9811
|
};
|
|
9766
9812
|
export declare const UNS_V2_CONTRACT_PROVENANCE: {
|
|
9767
9813
|
readonly repository: "FREEZONEX/Tier0-Backend";
|
|
9768
|
-
readonly revision: "
|
|
9814
|
+
readonly revision: "064cdcdb688b18fb73295ac986380d84daa08188";
|
|
9769
9815
|
readonly version: "5.0.0";
|
|
9770
9816
|
readonly source: "service/unssvr/internal/domain/unsv2/contract_generated.go#ContractJSON";
|
|
9771
|
-
readonly cloudRevision: "
|
|
9772
|
-
readonly cloudContractRevision: "cloud-source-impact/2+source-vendor/2+app-create-capability/1+data/3+record-reads/1+stream-receipt/1+stream-run-error/1+stream-deploy-guard/1+collection-namespace/1+business-name/1+http-acquisition/2+http-source-role/1+http-source-request/1+sql-inline-credentials/1+app-collection/2+collection-ownership/1+metadata/1+app-context/3+collection-ttl/1+error-model/1+crud-consolidation/1+record-insert-return/1+lifecycle-consolidation/1+mutation-defaults/1+api-surface/2+source-stream-single-model+source-lifecycle/2+app-data/3+hosted-control/1+source-bindings/1+record-notifications/1+record-delete-samples/1+stream-history/1+app-collections/2+http-in/1+app-resource-access/2+stream-control-probe-retirement/1+http-push-retirement/1";
|
|
9817
|
+
readonly cloudRevision: "064cdcdb688b18fb73295ac986380d84daa08188";
|
|
9818
|
+
readonly cloudContractRevision: "cloud-source-impact/2+source-vendor/2+app-create-capability/1+data/3+record-reads/1+stream-receipt/1+stream-run-error/1+stream-deploy-guard/1+collection-namespace/1+business-name/1+http-acquisition/2+http-source-role/1+http-source-request/1+sql-inline-credentials/1+app-collection/2+collection-ownership/1+metadata/1+collection-purge/1+app-context/3+collection-ttl/1+error-model/1+crud-consolidation/1+record-insert-return/1+lifecycle-consolidation/1+mutation-defaults/1+api-surface/2+source-stream-single-model+source-lifecycle/2+app-data/3+hosted-control/1+source-bindings/1+record-notifications/1+record-delete-samples/1+stream-history/1+app-collections/2+http-in/1+app-resource-access/2+stream-control-probe-retirement/1+http-push-retirement/1";
|
|
9773
9819
|
readonly resolvedCloudContract: true;
|
|
9774
9820
|
readonly enterpriseBase: {
|
|
9775
9821
|
readonly repository: "FREEZONEX/Tier0-Enterprise-New";
|
|
@@ -9785,40 +9831,40 @@ export declare const UNS_V2_CONTRACT_PROVENANCE: {
|
|
|
9785
9831
|
readonly capability: "x-tier0-opcua-server: static available=false; online availability is workspace/registry authoritative";
|
|
9786
9832
|
};
|
|
9787
9833
|
};
|
|
9788
|
-
readonly sourceDerivedContractSHA256: "
|
|
9834
|
+
readonly sourceDerivedContractSHA256: "8ca167f398715d051d9c797f0b35908b9f68cfaca819c4f56f6a7ef82f97acc0";
|
|
9789
9835
|
readonly schemaUpdates: readonly [{
|
|
9790
9836
|
readonly scope: "source-stream-acquisition";
|
|
9791
9837
|
readonly repository: "FREEZONEX/Tier0-Backend";
|
|
9792
|
-
readonly revision: "
|
|
9838
|
+
readonly revision: "064cdcdb688b18fb73295ac986380d84daa08188";
|
|
9793
9839
|
readonly sourceKind: "committed";
|
|
9794
9840
|
readonly source: "share/unscontract/manifest.json";
|
|
9795
|
-
readonly sourceSHA256: "
|
|
9796
|
-
readonly sourceContractRevision: "cloud-source-impact/2+source-vendor/2+app-create-capability/1+data/3+record-reads/1+stream-receipt/1+stream-run-error/1+stream-deploy-guard/1+collection-namespace/1+business-name/1+http-acquisition/2+http-source-role/1+http-source-request/1+sql-inline-credentials/1+app-collection/2+collection-ownership/1+metadata/1+app-context/3+collection-ttl/1+error-model/1+crud-consolidation/1+record-insert-return/1+lifecycle-consolidation/1+mutation-defaults/1+api-surface/2+source-stream-single-model+source-lifecycle/2+app-data/3+hosted-control/1+source-bindings/1+record-notifications/1+record-delete-samples/1+stream-history/1+app-collections/2+http-in/1+app-resource-access/2+stream-control-probe-retirement/1+http-push-retirement/1";
|
|
9841
|
+
readonly sourceSHA256: "4737cf897b544d6e2a1088a87087f8e1ac447a5b89858cf471a100775d0945aa";
|
|
9842
|
+
readonly sourceContractRevision: "cloud-source-impact/2+source-vendor/2+app-create-capability/1+data/3+record-reads/1+stream-receipt/1+stream-run-error/1+stream-deploy-guard/1+collection-namespace/1+business-name/1+http-acquisition/2+http-source-role/1+http-source-request/1+sql-inline-credentials/1+app-collection/2+collection-ownership/1+metadata/1+collection-purge/1+app-context/3+collection-ttl/1+error-model/1+crud-consolidation/1+record-insert-return/1+lifecycle-consolidation/1+mutation-defaults/1+api-surface/2+source-stream-single-model+source-lifecycle/2+app-data/3+hosted-control/1+source-bindings/1+record-notifications/1+record-delete-samples/1+stream-history/1+app-collections/2+http-in/1+app-resource-access/2+stream-control-probe-retirement/1+http-push-retirement/1";
|
|
9797
9843
|
readonly schemas: readonly ["CloudSourceCreateCredentials", "CloudSourceDocumentCreateReq", "CloudSourceDocumentUpdateReq", "CloudStreamDocumentCreateReq", "CloudStreamDocumentUpdateReq", "UnsV2StreamProgramDeployReq"];
|
|
9798
9844
|
readonly inputs: {
|
|
9799
9845
|
readonly "contracts/uns-v2/manifest.json": {
|
|
9800
9846
|
readonly path: "share/unscontract/manifest.json";
|
|
9801
|
-
readonly sourceSHA256: "
|
|
9802
|
-
readonly baseSHA256: "
|
|
9803
|
-
readonly resultSHA256: "
|
|
9847
|
+
readonly sourceSHA256: "4737cf897b544d6e2a1088a87087f8e1ac447a5b89858cf471a100775d0945aa";
|
|
9848
|
+
readonly baseSHA256: "4737cf897b544d6e2a1088a87087f8e1ac447a5b89858cf471a100775d0945aa";
|
|
9849
|
+
readonly resultSHA256: "4737cf897b544d6e2a1088a87087f8e1ac447a5b89858cf471a100775d0945aa";
|
|
9804
9850
|
};
|
|
9805
9851
|
readonly "contracts/uns-v2/contract.json": {
|
|
9806
9852
|
readonly path: "share/unscontract/manifest.json";
|
|
9807
|
-
readonly sourceSHA256: "
|
|
9808
|
-
readonly baseSHA256: "
|
|
9809
|
-
readonly resultSHA256: "
|
|
9853
|
+
readonly sourceSHA256: "4737cf897b544d6e2a1088a87087f8e1ac447a5b89858cf471a100775d0945aa";
|
|
9854
|
+
readonly baseSHA256: "8ca167f398715d051d9c797f0b35908b9f68cfaca819c4f56f6a7ef82f97acc0";
|
|
9855
|
+
readonly resultSHA256: "8ca167f398715d051d9c797f0b35908b9f68cfaca819c4f56f6a7ef82f97acc0";
|
|
9810
9856
|
};
|
|
9811
9857
|
};
|
|
9812
9858
|
}];
|
|
9813
9859
|
readonly note: "Pinned base with reviewed acquisition schema updates; schemaUpdates records the exact source revision and hashes. Other data-model inputs remain pinned.";
|
|
9814
9860
|
readonly hashes: {
|
|
9815
|
-
readonly contract: "
|
|
9861
|
+
readonly contract: "8ca167f398715d051d9c797f0b35908b9f68cfaca819c4f56f6a7ef82f97acc0";
|
|
9816
9862
|
readonly cloudSupport: "be5abb42f3b5410d6bea564e7280b22af221b3987f8773f7ddba228e5685e0b4";
|
|
9817
|
-
readonly manifest: "
|
|
9818
|
-
readonly provenance: "
|
|
9819
|
-
readonly registry: "
|
|
9863
|
+
readonly manifest: "4737cf897b544d6e2a1088a87087f8e1ac447a5b89858cf471a100775d0945aa";
|
|
9864
|
+
readonly provenance: "0afdc97241a144008bff72bf387813c684f002ce527416146d1d103edc65c75c";
|
|
9865
|
+
readonly registry: "7594e33e4ae8bf381d36bc5066d57e00d5dbfbb9a2b2369d9f432ecaf64247bf";
|
|
9820
9866
|
};
|
|
9821
|
-
readonly publicOperationCount:
|
|
9867
|
+
readonly publicOperationCount: 82;
|
|
9822
9868
|
readonly streamOperationCount: 1;
|
|
9823
|
-
readonly manifestOperationCount:
|
|
9869
|
+
readonly manifestOperationCount: 95;
|
|
9824
9870
|
};
|