@calimero-network/mero-js 35.3.0 → 35.4.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/dist/client/approvals.d.ts +2 -0
- package/dist/client/calimero-client.d.ts +20 -0
- package/dist/client/calimero-client.js +31 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/index.js +1 -0
- package/dist/client/receipts.d.ts +176 -0
- package/dist/client/receipts.js +475 -0
- package/dist/generated/api.d.ts +126 -4
- package/dist/generated/methods.d.ts +7 -1
- package/dist/generated/methods.js +7 -1
- package/dist/index.browser.mjs +4 -4
- package/dist/index.browser.mjs.map +4 -4
- package/dist/index.cjs +2015 -1561
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +2015 -1561
- package/dist/index.mjs.map +4 -4
- package/dist/package/pack.d.ts +1 -0
- package/dist/package/pack.js +11 -5
- package/dist/recovery/backup-files.d.ts +4 -1
- package/dist/recovery/backup-files.js +28 -1
- package/dist/runtime/attestation.d.ts +5 -0
- package/dist/runtime/attestation.js +36 -28
- package/dist/runtime/transport.d.ts +2 -0
- package/dist/runtime/transport.js +4 -0
- package/package.json +3 -2
|
@@ -176,7 +176,7 @@ export declare function createRoutes(api: RouteClient): {
|
|
|
176
176
|
* `GET /apps/{app}/pipeline-runs/{run}/receipt` (`pipeline_receipt_receipt`). **Who:** signed in (a session or an API key).
|
|
177
177
|
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
178
178
|
*/
|
|
179
|
-
pipelineReceiptReceipt: (args: operations["pipeline_receipt_receipt"]["parameters"]["path"]
|
|
179
|
+
pipelineReceiptReceipt: (args: operations["pipeline_receipt_receipt"]["parameters"]["path"] & NonNullable<operations["pipeline_receipt_receipt"]["parameters"]["query"]>, options?: MethodOptions) => Promise<operations["pipeline_receipt_receipt"]["responses"][200]["content"]["application/json"]>;
|
|
180
180
|
/**
|
|
181
181
|
* Cancel a pipeline run.
|
|
182
182
|
*
|
|
@@ -775,6 +775,12 @@ export declare function createRoutes(api: RouteClient): {
|
|
|
775
775
|
* Answers `428 OPERATOR_SIGNATURE_REQUIRED` first: give `operatorProof` (here or on the client).
|
|
776
776
|
*/
|
|
777
777
|
deploymentsGranted: (args?: Partial<NonNullable<operations["ops_deployments_granted"]["requestBody"]>["content"]["application/json"]>, options?: MethodOptions) => Promise<operations["ops_deployments_granted"]["responses"][200]["content"]["application/json"]>;
|
|
778
|
+
/**
|
|
779
|
+
* Whether the cluster accepts a job node.
|
|
780
|
+
*
|
|
781
|
+
* `GET /ops/job-nodes/{id}/attestation` (`ops_job_node_attestation`). **Who:** the ops token.
|
|
782
|
+
*/
|
|
783
|
+
jobNodeAttestation: (args: operations["ops_job_node_attestation"]["parameters"]["path"], options?: MethodOptions) => Promise<operations["ops_job_node_attestation"]["responses"][200]["content"]["application/json"]>;
|
|
778
784
|
/**
|
|
779
785
|
* Prometheus metrics.
|
|
780
786
|
*
|
|
@@ -184,7 +184,7 @@ export function createRoutes(api) {
|
|
|
184
184
|
* `GET /apps/{app}/pipeline-runs/{run}/receipt` (`pipeline_receipt_receipt`). **Who:** signed in (a session or an API key).
|
|
185
185
|
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
186
186
|
*/
|
|
187
|
-
pipelineReceiptReceipt: (args, options) => route(api, { "method": "GET", "path": "/apps/{app}/pipeline-runs/{run}/receipt", "pathParams": ["app", "run"], "query": [], "body": "none", "optionalBody": false, "reply": "json" }, args, options),
|
|
187
|
+
pipelineReceiptReceipt: (args, options) => route(api, { "method": "GET", "path": "/apps/{app}/pipeline-runs/{run}/receipt", "pathParams": ["app", "run"], "query": ["version"], "body": "none", "optionalBody": false, "reply": "json" }, args, options),
|
|
188
188
|
/**
|
|
189
189
|
* Cancel a pipeline run.
|
|
190
190
|
*
|
|
@@ -781,6 +781,12 @@ export function createRoutes(api) {
|
|
|
781
781
|
* Answers `428 OPERATOR_SIGNATURE_REQUIRED` first: give `operatorProof` (here or on the client).
|
|
782
782
|
*/
|
|
783
783
|
deploymentsGranted: (args = {}, options) => route(api, { "method": "POST", "path": "/ops/deployments/granted", "pathParams": [], "query": [], "body": "fields", "optionalBody": true, "reply": "json", "operator": true }, args, options),
|
|
784
|
+
/**
|
|
785
|
+
* Whether the cluster accepts a job node.
|
|
786
|
+
*
|
|
787
|
+
* `GET /ops/job-nodes/{id}/attestation` (`ops_job_node_attestation`). **Who:** the ops token.
|
|
788
|
+
*/
|
|
789
|
+
jobNodeAttestation: (args, options) => route(api, { "method": "GET", "path": "/ops/job-nodes/{id}/attestation", "pathParams": ["id"], "query": [], "body": "none", "optionalBody": false, "reply": "json" }, args, options),
|
|
784
790
|
/**
|
|
785
791
|
* Prometheus metrics.
|
|
786
792
|
*
|