@tier0/sdk-v2 0.9.1 → 0.9.3

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.
@@ -516,6 +516,8 @@ export type UnsV2StreamProgramDeployReq = {
516
516
  "id": string;
517
517
  "expectedRevision"?: UnsV2Integer;
518
518
  "expectedSourceRevision"?: UnsV2Integer;
519
+ "expectedActiveRelease"?: UnsV2Integer;
520
+ "expectedReleaseState"?: "inactive";
519
521
  };
520
522
  export type UnsV2StreamProgramDeployResponse = {
521
523
  "code": UnsV2Integer;
@@ -530,6 +532,8 @@ export type UnsV2StreamProgramRollbackReq = {
530
532
  "expectedRevision"?: UnsV2Integer;
531
533
  "expectedSourceRevision"?: UnsV2Integer;
532
534
  "versionId": string;
535
+ "expectedActiveRelease"?: UnsV2Integer;
536
+ "expectedReleaseState"?: "inactive";
533
537
  };
534
538
  export type UnsV2StreamProgramRollbackResponse = {
535
539
  "code": UnsV2Integer;
@@ -1892,7 +1896,7 @@ export type CloudStreamSampleTestResponse = {
1892
1896
  });
1893
1897
  };
1894
1898
  export type CloudAppDataGrant = {
1895
- "alias": string;
1899
+ "alias"?: string;
1896
1900
  "collectionId": string;
1897
1901
  "permissions": Array<"record:read" | "record:write" | "record:delete" | "sample:read" | "sample:write">;
1898
1902
  "dataRule"?: CloudAppDataRule;
@@ -5236,6 +5240,9 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
5236
5240
  readonly expectedSourceRevision: {
5237
5241
  readonly k: "j";
5238
5242
  };
5243
+ readonly expectedActiveRelease: {
5244
+ readonly k: "j";
5245
+ };
5239
5246
  };
5240
5247
  };
5241
5248
  readonly UnsV2StreamProgramDeployResponse: {
@@ -5263,6 +5270,9 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
5263
5270
  readonly expectedSourceRevision: {
5264
5271
  readonly k: "j";
5265
5272
  };
5273
+ readonly expectedActiveRelease: {
5274
+ readonly k: "j";
5275
+ };
5266
5276
  };
5267
5277
  };
5268
5278
  readonly UnsV2StreamProgramRollbackResponse: {
@@ -9814,11 +9824,11 @@ export declare const UNS_V2_CODEC_SCHEMAS: {
9814
9824
  };
9815
9825
  export declare const UNS_V2_CONTRACT_PROVENANCE: {
9816
9826
  readonly repository: "FREEZONEX/Tier0-Backend";
9817
- readonly revision: "5ba6c3af432d5200674f7cb1a3edd31b255ef64b";
9827
+ readonly revision: "0d8cb6dd7c72fb794dd1d63f5c7efb5017804545";
9818
9828
  readonly version: "5.0.0";
9819
9829
  readonly source: "service/unssvr/internal/domain/unsv2/contract_generated.go#ContractJSON";
9820
- readonly cloudRevision: "5ba6c3af432d5200674f7cb1a3edd31b255ef64b";
9821
- 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+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+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+http-push-retirement/1";
9830
+ readonly cloudRevision: "0d8cb6dd7c72fb794dd1d63f5c7efb5017804545";
9831
+ 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+app-data/3+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+http-push-retirement/1";
9822
9832
  readonly resolvedCloudContract: true;
9823
9833
  readonly enterpriseBase: {
9824
9834
  readonly repository: "FREEZONEX/Tier0-Enterprise-New";
@@ -9834,37 +9844,37 @@ export declare const UNS_V2_CONTRACT_PROVENANCE: {
9834
9844
  readonly capability: "x-tier0-opcua-server: static available=false; online availability is workspace/registry authoritative";
9835
9845
  };
9836
9846
  };
9837
- readonly sourceDerivedContractSHA256: "a8c280d90b9d865a80637d7b563bd72611aead54bf0422a0cf83e05feaacd724";
9847
+ readonly sourceDerivedContractSHA256: "8ebf585ff96fdffae9fa1e9ddd77a7b2e73431ebba0052fdaedf4ede6efddfe5";
9838
9848
  readonly schemaUpdates: readonly [{
9839
9849
  readonly scope: "source-stream-acquisition";
9840
9850
  readonly repository: "FREEZONEX/Tier0-Backend";
9841
- readonly revision: "5ba6c3af432d5200674f7cb1a3edd31b255ef64b";
9851
+ readonly revision: "0d8cb6dd7c72fb794dd1d63f5c7efb5017804545";
9842
9852
  readonly sourceKind: "committed";
9843
9853
  readonly source: "share/unscontract/manifest.json";
9844
- readonly sourceSHA256: "c92e134799190fda29360a2983692ed47fb421a85fa7d92267ce091ac263dac8";
9845
- 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+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+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+http-push-retirement/1";
9854
+ readonly sourceSHA256: "a96cac51c46f1cfdd6a60a54c694999b9e5cc9f9ffb498fc912af6426c51d110";
9855
+ 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+app-data/3+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+http-push-retirement/1";
9846
9856
  readonly schemas: readonly ["CloudSourceCreateCredentials", "CloudSourceDocumentCreateReq", "CloudSourceDocumentUpdateReq", "UnsV2SourceStateUpdateReq", "CloudStreamDocumentCreateReq", "CloudStreamDocumentUpdateReq", "UnsV2StreamProgramDeployReq"];
9847
9857
  readonly inputs: {
9848
9858
  readonly "contracts/uns-v2/manifest.json": {
9849
9859
  readonly path: "share/unscontract/manifest.json";
9850
- readonly sourceSHA256: "c92e134799190fda29360a2983692ed47fb421a85fa7d92267ce091ac263dac8";
9851
- readonly baseSHA256: "c92e134799190fda29360a2983692ed47fb421a85fa7d92267ce091ac263dac8";
9852
- readonly resultSHA256: "c92e134799190fda29360a2983692ed47fb421a85fa7d92267ce091ac263dac8";
9860
+ readonly sourceSHA256: "a96cac51c46f1cfdd6a60a54c694999b9e5cc9f9ffb498fc912af6426c51d110";
9861
+ readonly baseSHA256: "a96cac51c46f1cfdd6a60a54c694999b9e5cc9f9ffb498fc912af6426c51d110";
9862
+ readonly resultSHA256: "a96cac51c46f1cfdd6a60a54c694999b9e5cc9f9ffb498fc912af6426c51d110";
9853
9863
  };
9854
9864
  readonly "contracts/uns-v2/contract.json": {
9855
9865
  readonly path: "share/unscontract/manifest.json";
9856
- readonly sourceSHA256: "c92e134799190fda29360a2983692ed47fb421a85fa7d92267ce091ac263dac8";
9857
- readonly baseSHA256: "a8c280d90b9d865a80637d7b563bd72611aead54bf0422a0cf83e05feaacd724";
9858
- readonly resultSHA256: "a8c280d90b9d865a80637d7b563bd72611aead54bf0422a0cf83e05feaacd724";
9866
+ readonly sourceSHA256: "a96cac51c46f1cfdd6a60a54c694999b9e5cc9f9ffb498fc912af6426c51d110";
9867
+ readonly baseSHA256: "8ebf585ff96fdffae9fa1e9ddd77a7b2e73431ebba0052fdaedf4ede6efddfe5";
9868
+ readonly resultSHA256: "8ebf585ff96fdffae9fa1e9ddd77a7b2e73431ebba0052fdaedf4ede6efddfe5";
9859
9869
  };
9860
9870
  };
9861
9871
  }];
9862
9872
  readonly note: "Pinned base with reviewed acquisition schema updates; schemaUpdates records the exact source revision and hashes. Other data-model inputs remain pinned.";
9863
9873
  readonly hashes: {
9864
- readonly contract: "a8c280d90b9d865a80637d7b563bd72611aead54bf0422a0cf83e05feaacd724";
9874
+ readonly contract: "8ebf585ff96fdffae9fa1e9ddd77a7b2e73431ebba0052fdaedf4ede6efddfe5";
9865
9875
  readonly cloudSupport: "4ff9d5ff69e35e38459287cf15df45ab627684e2e2294dfd1e076ebc4fc34b46";
9866
- readonly manifest: "c92e134799190fda29360a2983692ed47fb421a85fa7d92267ce091ac263dac8";
9867
- readonly provenance: "5b80e631aaba726b90ef69845d95e798ff35163c3cf98352e23ee71e4e90bde0";
9876
+ readonly manifest: "a96cac51c46f1cfdd6a60a54c694999b9e5cc9f9ffb498fc912af6426c51d110";
9877
+ readonly provenance: "7c994e15d8910be30794d99d5e2b10ff2535fda6d7495717c499119890fd1fc4";
9868
9878
  readonly registry: "c74313c217742d50391a94c09e60d5c5bd1a89c305fa4145cbf23b35ba7dbcdb";
9869
9879
  };
9870
9880
  readonly publicOperationCount: 82;