@pithy-sh/core 0.13.0 → 0.14.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 +54 -0
- package/dist/audit/auditEvent.js +1 -1
- package/dist/audit/chain.d.ts +289 -0
- package/dist/audit/chain.d.ts.map +1 -0
- package/dist/audit/chain.js +400 -0
- package/dist/audit/citations.d.ts +52 -0
- package/dist/audit/citations.d.ts.map +1 -0
- package/dist/audit/citations.js +13 -0
- package/dist/capability/bindings.d.ts +22 -0
- package/dist/capability/bindings.d.ts.map +1 -1
- package/dist/capability/bindings.js +32 -2
- package/dist/capability/capability.d.ts +123 -16
- package/dist/capability/capability.d.ts.map +1 -1
- package/dist/capability/capability.js +17 -2
- package/dist/capability/erasure.d.ts +75 -0
- package/dist/capability/erasure.d.ts.map +1 -0
- package/dist/capability/erasure.js +2 -0
- package/dist/capability/manifest.d.ts +5 -0
- package/dist/capability/manifest.d.ts.map +1 -1
- package/dist/capability/personColumns.d.ts +28 -0
- package/dist/capability/personColumns.d.ts.map +1 -0
- package/dist/capability/personColumns.js +66 -0
- package/dist/capability/personRows.d.ts +62 -0
- package/dist/capability/personRows.d.ts.map +1 -0
- package/dist/capability/personRows.js +59 -0
- package/dist/capability/purge.d.ts +86 -19
- package/dist/capability/purge.d.ts.map +1 -1
- package/dist/capability/purge.js +83 -5
- package/dist/capability/settings.d.ts +10 -0
- package/dist/capability/settings.d.ts.map +1 -1
- package/dist/capability/vectorIndex.d.ts +36 -0
- package/dist/capability/vectorIndex.d.ts.map +1 -0
- package/dist/capability/vectorIndex.js +25 -0
- package/dist/cli/commandCatalog.generated.d.ts +433 -3
- package/dist/cli/commandCatalog.generated.d.ts.map +1 -1
- package/dist/cli/commandCatalog.generated.js +449 -2
- package/dist/cli/commandFacts.d.ts +8 -5
- package/dist/cli/commandFacts.d.ts.map +1 -1
- package/dist/cli/commandFacts.js +12 -3
- package/dist/consent/purpose.d.ts +70 -0
- package/dist/consent/purpose.d.ts.map +1 -0
- package/dist/consent/purpose.js +97 -0
- package/dist/consent/reader.d.ts +99 -0
- package/dist/consent/reader.d.ts.map +1 -0
- package/dist/consent/reader.js +33 -0
- package/dist/controlPlane/audit/actions.d.ts +15 -4
- package/dist/controlPlane/audit/actions.d.ts.map +1 -1
- package/dist/controlPlane/audit/actions.js +16 -5
- package/dist/controlPlane/capability.d.ts +10 -0
- package/dist/controlPlane/capability.d.ts.map +1 -1
- package/dist/controlPlane/capability.js +56 -8
- package/dist/controlPlane/context.d.ts +4 -0
- package/dist/controlPlane/context.d.ts.map +1 -1
- package/dist/controlPlane/context.js +3 -2
- package/dist/controlPlane/data/connection.d.ts +21 -2
- package/dist/controlPlane/data/connection.d.ts.map +1 -1
- package/dist/controlPlane/data/connection.js +13 -4
- package/dist/controlPlane/data/connections.d.ts +94 -0
- package/dist/controlPlane/data/connections.d.ts.map +1 -0
- package/dist/controlPlane/data/connections.js +151 -0
- package/dist/controlPlane/data/hold.d.ts +46 -0
- package/dist/controlPlane/data/hold.d.ts.map +1 -0
- package/dist/controlPlane/data/hold.js +36 -0
- package/dist/controlPlane/data/oidcTrust.d.ts +122 -0
- package/dist/controlPlane/data/oidcTrust.d.ts.map +1 -0
- package/dist/controlPlane/data/oidcTrust.js +173 -0
- package/dist/controlPlane/data/tables.d.ts +4 -0
- package/dist/controlPlane/data/tables.d.ts.map +1 -1
- package/dist/controlPlane/data/tables.js +9 -4
- package/dist/controlPlane/data/trustFirstCall.d.ts +16 -0
- package/dist/controlPlane/data/trustFirstCall.d.ts.map +1 -0
- package/dist/controlPlane/data/trustFirstCall.js +25 -0
- package/dist/controlPlane/discovery/adminRoute.d.ts +165 -2
- package/dist/controlPlane/discovery/adminRoute.d.ts.map +1 -1
- package/dist/controlPlane/discovery/adminRoute.js +32 -8
- package/dist/controlPlane/discovery/routeInput.d.ts +23 -0
- package/dist/controlPlane/discovery/routeInput.d.ts.map +1 -0
- package/dist/controlPlane/discovery/routeInput.js +80 -0
- package/dist/controlPlane/discovery/toolName.d.ts +21 -0
- package/dist/controlPlane/discovery/toolName.d.ts.map +1 -0
- package/dist/controlPlane/discovery/toolName.js +25 -0
- package/dist/controlPlane/erasure/attest.d.ts +78 -0
- package/dist/controlPlane/erasure/attest.d.ts.map +1 -0
- package/dist/controlPlane/erasure/attest.js +164 -0
- package/dist/controlPlane/erasure/read.d.ts +39 -0
- package/dist/controlPlane/erasure/read.d.ts.map +1 -0
- package/dist/controlPlane/erasure/read.js +140 -0
- package/dist/controlPlane/error/errors.d.ts +61 -2
- package/dist/controlPlane/error/errors.d.ts.map +1 -1
- package/dist/controlPlane/error/errors.js +13 -0
- package/dist/controlPlane/evidence/derive.d.ts +124 -0
- package/dist/controlPlane/evidence/derive.d.ts.map +1 -0
- package/dist/controlPlane/evidence/derive.js +343 -0
- package/dist/controlPlane/evidence/mapping.d.ts +85 -0
- package/dist/controlPlane/evidence/mapping.d.ts.map +1 -0
- package/dist/controlPlane/evidence/mapping.js +114 -0
- package/dist/controlPlane/evidence/pack.d.ts +46 -0
- package/dist/controlPlane/evidence/pack.d.ts.map +1 -0
- package/dist/controlPlane/evidence/pack.js +124 -0
- package/dist/controlPlane/http/connections.d.ts +96 -0
- package/dist/controlPlane/http/connections.d.ts.map +1 -0
- package/dist/controlPlane/http/connections.js +109 -0
- package/dist/controlPlane/http/guard.d.ts +23 -2
- package/dist/controlPlane/http/guard.d.ts.map +1 -1
- package/dist/controlPlane/http/guard.js +69 -12
- package/dist/controlPlane/http/handlers.d.ts +212 -10
- package/dist/controlPlane/http/handlers.d.ts.map +1 -1
- package/dist/controlPlane/http/handlers.js +117 -26
- package/dist/controlPlane/http/holds.d.ts +57 -0
- package/dist/controlPlane/http/holds.d.ts.map +1 -0
- package/dist/controlPlane/http/holds.js +98 -0
- package/dist/controlPlane/http/presence.d.ts +27 -0
- package/dist/controlPlane/http/presence.d.ts.map +1 -0
- package/dist/controlPlane/http/presence.js +67 -0
- package/dist/controlPlane/http/processing.d.ts +73 -0
- package/dist/controlPlane/http/processing.d.ts.map +1 -0
- package/dist/controlPlane/http/processing.js +17 -0
- package/dist/controlPlane/http/responses.d.ts +927 -3
- package/dist/controlPlane/http/responses.d.ts.map +1 -1
- package/dist/controlPlane/http/responses.js +283 -7
- package/dist/controlPlane/http/routes.d.ts +12 -2
- package/dist/controlPlane/http/routes.d.ts.map +1 -1
- package/dist/controlPlane/http/routes.js +182 -5
- package/dist/controlPlane/http/schemas.d.ts +63 -0
- package/dist/controlPlane/http/schemas.d.ts.map +1 -1
- package/dist/controlPlane/http/schemas.js +39 -1
- package/dist/controlPlane/http/verify.d.ts.map +1 -1
- package/dist/controlPlane/http/verify.js +13 -1
- package/dist/controlPlane/http/verifyTrust.d.ts +76 -0
- package/dist/controlPlane/http/verifyTrust.d.ts.map +1 -0
- package/dist/controlPlane/http/verifyTrust.js +75 -0
- package/dist/controlPlane/migrations/0004_connection_trusts.d.ts +15 -0
- package/dist/controlPlane/migrations/0004_connection_trusts.d.ts.map +1 -0
- package/dist/controlPlane/migrations/0004_connection_trusts.js +23 -0
- package/dist/controlPlane/migrations/0005_holds.d.ts +12 -0
- package/dist/controlPlane/migrations/0005_holds.d.ts.map +1 -0
- package/dist/controlPlane/migrations/0005_holds.js +26 -0
- package/dist/controlPlane/processing/derive.d.ts +77 -0
- package/dist/controlPlane/processing/derive.d.ts.map +1 -0
- package/dist/controlPlane/processing/derive.js +206 -0
- package/dist/controlPlane/processing/read.d.ts +10 -0
- package/dist/controlPlane/processing/read.d.ts.map +1 -0
- package/dist/controlPlane/processing/read.js +89 -0
- package/dist/controlPlane/scope/kind.d.ts +46 -0
- package/dist/controlPlane/scope/kind.d.ts.map +1 -0
- package/dist/controlPlane/scope/kind.js +52 -0
- package/dist/controlPlane/scope/scope.d.ts +58 -3
- package/dist/controlPlane/scope/scope.d.ts.map +1 -1
- package/dist/controlPlane/scope/scope.js +59 -4
- package/dist/controlPlane/token/jws.js +1 -1
- package/dist/controlPlane/token/mint.js +1 -1
- package/dist/controlPlane/wire.d.ts +23 -0
- package/dist/controlPlane/wire.d.ts.map +1 -1
- package/dist/controlPlane/wire.js +24 -1
- package/dist/createBackend.d.ts +13 -0
- package/dist/createBackend.d.ts.map +1 -1
- package/dist/createBackend.js +11 -3
- package/dist/createEntrypoint.d.ts +7 -0
- package/dist/createEntrypoint.d.ts.map +1 -1
- package/dist/createEntrypoint.js +4 -0
- package/dist/error/http.d.ts +168 -0
- package/dist/error/http.d.ts.map +1 -1
- package/dist/error/payload.d.ts +336 -0
- package/dist/error/payload.d.ts.map +1 -1
- package/dist/error/payload.js +112 -0
- package/dist/error/pithyError.d.ts +22 -0
- package/dist/error/pithyError.d.ts.map +1 -1
- package/dist/error/pithyError.js +31 -1
- package/dist/http/routeSpec.d.ts +46 -1
- package/dist/http/routeSpec.d.ts.map +1 -1
- package/dist/http/routeSpec.js +39 -5
- package/dist/http/verification.d.ts.map +1 -1
- package/dist/http/verification.js +1 -1
- package/dist/i18n/translator.d.ts +2 -1
- package/dist/i18n/translator.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/logger/record.d.ts +98 -0
- package/dist/logger/record.d.ts.map +1 -1
- package/dist/mcp/annotations.d.ts +20 -0
- package/dist/mcp/annotations.d.ts.map +1 -0
- package/dist/mcp/annotations.js +23 -0
- package/dist/mcp/tools.d.ts +75 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +118 -0
- package/dist/openapi/document.d.ts.map +1 -1
- package/dist/openapi/document.js +8 -26
- package/dist/openapi/operations.d.ts +35 -0
- package/dist/openapi/operations.d.ts.map +1 -0
- package/dist/openapi/operations.js +37 -0
- package/dist/presence/channel.d.ts +11 -0
- package/dist/presence/channel.d.ts.map +1 -0
- package/dist/presence/channel.js +65 -0
- package/dist/presence/declaration.d.ts +154 -0
- package/dist/presence/declaration.d.ts.map +1 -0
- package/dist/presence/declaration.js +164 -0
- package/dist/presence/durableObject.d.ts +61 -0
- package/dist/presence/durableObject.d.ts.map +1 -0
- package/dist/presence/durableObject.js +257 -0
- package/dist/presence/frames.d.ts +166 -0
- package/dist/presence/frames.d.ts.map +1 -0
- package/dist/presence/frames.js +90 -0
- package/dist/presence/http/guard.d.ts +11 -0
- package/dist/presence/http/guard.d.ts.map +1 -0
- package/dist/presence/http/guard.js +20 -0
- package/dist/presence/http/responses.d.ts +31 -0
- package/dist/presence/http/responses.d.ts.map +1 -0
- package/dist/presence/http/responses.js +34 -0
- package/dist/presence/http/routes.d.ts +24 -0
- package/dist/presence/http/routes.d.ts.map +1 -0
- package/dist/presence/http/routes.js +127 -0
- package/dist/presence/http/schemas.d.ts +29 -0
- package/dist/presence/http/schemas.d.ts.map +1 -0
- package/dist/presence/http/schemas.js +28 -0
- package/dist/presence/names.d.ts +23 -0
- package/dist/presence/names.d.ts.map +1 -0
- package/dist/presence/names.js +22 -0
- package/dist/presence/room.d.ts +95 -0
- package/dist/presence/room.d.ts.map +1 -0
- package/dist/presence/room.js +105 -0
- package/dist/presence/ticket.d.ts +55 -0
- package/dist/presence/ticket.d.ts.map +1 -0
- package/dist/presence/ticket.js +109 -0
- package/dist/privacy/classify.js +1 -1
- package/dist/privacy/encrypted.js +1 -1
- package/dist/processing/activity.d.ts +134 -0
- package/dist/processing/activity.d.ts.map +1 -0
- package/dist/processing/activity.js +161 -0
- package/dist/processing/composed.d.ts +18 -0
- package/dist/processing/composed.d.ts.map +1 -0
- package/dist/processing/composed.js +28 -0
- package/dist/processing/vocabulary.d.ts +26 -0
- package/dist/processing/vocabulary.d.ts.map +1 -0
- package/dist/processing/vocabulary.js +35 -0
- package/dist/queue/consumer.d.ts +59 -0
- package/dist/queue/consumer.d.ts.map +1 -0
- package/dist/queue/consumer.js +46 -0
- package/dist/retention/composed.d.ts +37 -0
- package/dist/retention/composed.d.ts.map +1 -0
- package/dist/retention/composed.js +66 -0
- package/dist/retention/holds.d.ts +61 -0
- package/dist/retention/holds.d.ts.map +1 -0
- package/dist/retention/holds.js +107 -0
- package/dist/retention/holdsPurge.d.ts +22 -0
- package/dist/retention/holdsPurge.d.ts.map +1 -0
- package/dist/retention/holdsPurge.js +50 -0
- package/dist/retention/policy.d.ts +132 -0
- package/dist/retention/policy.d.ts.map +1 -0
- package/dist/retention/policy.js +197 -0
- package/dist/session/rotated.d.ts +34 -0
- package/dist/session/rotated.d.ts.map +1 -0
- package/dist/session/rotated.js +25 -0
- package/dist/test-utils/connectionFixtures.d.ts +13 -0
- package/dist/test-utils/connectionFixtures.d.ts.map +1 -0
- package/dist/test-utils/connectionFixtures.js +58 -0
- package/dist/test-utils/interleave.d.ts +12 -0
- package/dist/test-utils/interleave.d.ts.map +1 -0
- package/dist/test-utils/interleave.js +26 -0
- package/dist/testWorker.d.ts +8 -0
- package/dist/testWorker.d.ts.map +1 -0
- package/dist/testWorker.js +9 -0
- package/dist/version.generated.d.ts +1 -1
- package/dist/version.generated.js +1 -1
- package/dist/workflow/dispatchRoute.js +1 -1
- package/package.json +1 -1
- package/src/audit/auditEvent.ts +1 -1
- package/src/audit/chain.ts +551 -0
- package/src/audit/citations.ts +63 -0
- package/src/capability/bindings.ts +61 -0
- package/src/capability/capability.ts +156 -19
- package/src/capability/erasure.ts +82 -0
- package/src/capability/personColumns.ts +83 -0
- package/src/capability/personRows.ts +125 -0
- package/src/capability/purge.ts +158 -21
- package/src/capability/settings.ts +7 -0
- package/src/capability/vectorIndex.ts +60 -0
- package/src/cli/commandCatalog.generated.ts +482 -2
- package/src/cli/commandFacts.ts +12 -3
- package/src/cloudflare-test.d.ts +3 -1
- package/src/consent/purpose.ts +160 -0
- package/src/consent/reader.ts +134 -0
- package/src/controlPlane/audit/actions.ts +15 -4
- package/src/controlPlane/capability.ts +99 -20
- package/src/controlPlane/context.ts +10 -2
- package/src/controlPlane/data/connection.ts +16 -2
- package/src/controlPlane/data/connections.ts +231 -0
- package/src/controlPlane/data/hold.ts +52 -0
- package/src/controlPlane/data/oidcTrust.ts +249 -0
- package/src/controlPlane/data/tables.ts +7 -0
- package/src/controlPlane/data/trustFirstCall.ts +37 -0
- package/src/controlPlane/discovery/adminRoute.ts +71 -9
- package/src/controlPlane/discovery/routeInput.ts +86 -0
- package/src/controlPlane/discovery/toolName.ts +23 -0
- package/src/controlPlane/erasure/attest.ts +205 -0
- package/src/controlPlane/erasure/read.ts +169 -0
- package/src/controlPlane/error/errors.ts +69 -2
- package/src/controlPlane/evidence/derive.ts +426 -0
- package/src/controlPlane/evidence/mapping.ts +118 -0
- package/src/controlPlane/evidence/pack.ts +190 -0
- package/src/controlPlane/http/connections.ts +129 -0
- package/src/controlPlane/http/guard.ts +118 -9
- package/src/controlPlane/http/handlers.ts +172 -40
- package/src/controlPlane/http/holds.ts +108 -0
- package/src/controlPlane/http/presence.ts +71 -0
- package/src/controlPlane/http/processing.ts +19 -0
- package/src/controlPlane/http/responses.ts +590 -7
- package/src/controlPlane/http/routes.ts +302 -3
- package/src/controlPlane/http/schemas.ts +126 -0
- package/src/controlPlane/http/verify.ts +19 -2
- package/src/controlPlane/http/verifyTrust.ts +176 -0
- package/src/controlPlane/migrations/0004_connection_trusts.ts +30 -0
- package/src/controlPlane/migrations/0005_holds.ts +40 -0
- package/src/controlPlane/processing/derive.ts +359 -0
- package/src/controlPlane/processing/read.ts +102 -0
- package/src/controlPlane/scope/kind.ts +63 -0
- package/src/controlPlane/scope/scope.ts +65 -3
- package/src/controlPlane/wire.ts +26 -0
- package/src/createBackend.ts +31 -6
- package/src/createEntrypoint.ts +17 -0
- package/src/error/payload.ts +234 -0
- package/src/error/pithyError.ts +42 -0
- package/src/http/routeSpec.ts +75 -5
- package/src/http/verification.ts +3 -1
- package/src/i18n/translator.ts +2 -1
- package/src/index.ts +2 -0
- package/src/mcp/annotations.ts +38 -0
- package/src/mcp/tools.ts +220 -0
- package/src/openapi/document.ts +8 -28
- package/src/openapi/operations.ts +62 -0
- package/src/presence/channel.ts +46 -0
- package/src/presence/declaration.ts +283 -0
- package/src/presence/durableObject.ts +287 -0
- package/src/presence/frames.ts +153 -0
- package/src/presence/http/guard.ts +23 -0
- package/src/presence/http/responses.ts +63 -0
- package/src/presence/http/routes.ts +165 -0
- package/src/presence/http/schemas.ts +39 -0
- package/src/presence/names.ts +45 -0
- package/src/presence/room.ts +145 -0
- package/src/presence/ticket.ts +145 -0
- package/src/processing/activity.ts +289 -0
- package/src/processing/composed.ts +33 -0
- package/src/processing/vocabulary.ts +43 -0
- package/src/queue/consumer.ts +104 -0
- package/src/retention/composed.ts +75 -0
- package/src/retention/holds.ts +175 -0
- package/src/retention/holdsPurge.ts +50 -0
- package/src/retention/policy.ts +305 -0
- package/src/session/rotated.ts +53 -0
- package/src/test-utils/connectionFixtures.ts +58 -0
- package/src/test-utils/interleave.ts +31 -0
- package/src/testWorker.ts +13 -0
- package/src/version.generated.ts +1 -1
|
@@ -33,6 +33,24 @@ export declare const PublicKeyView: z.ZodObject<{
|
|
|
33
33
|
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type PublicKeyView = z.output<typeof PublicKeyView>;
|
|
36
|
+
/**
|
|
37
|
+
* One OIDC trust as `GET {basePath}/keys` lists it: who it admits, beside who sanctioned it.
|
|
38
|
+
*
|
|
39
|
+
* **The subject constraint is on the face of the listing**, because it *is* the population: a trust pinned to a
|
|
40
|
+
* workflow is usable by anyone who can run that workflow, and the claims are the only place that is written down.
|
|
41
|
+
* Nothing here is secret — an issuer, an audience and claim values are all public facts about a workload.
|
|
42
|
+
*/
|
|
43
|
+
export declare const TrustView: z.ZodObject<{
|
|
44
|
+
trustId: z.ZodString;
|
|
45
|
+
issuer: z.ZodString;
|
|
46
|
+
audience: z.ZodString;
|
|
47
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
48
|
+
authorizedBy: z.ZodString;
|
|
49
|
+
validFrom: z.ZodISODateTime;
|
|
50
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
51
|
+
firstCallAt: z.ZodNullable<z.ZodISODateTime>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type TrustView = z.output<typeof TrustView>;
|
|
36
54
|
/**
|
|
37
55
|
* `GET /control-plane/ping`.
|
|
38
56
|
*
|
|
@@ -69,6 +87,16 @@ export declare const ControlPlaneKeysResponse: z.ZodObject<{
|
|
|
69
87
|
script: "script";
|
|
70
88
|
}>>>;
|
|
71
89
|
purpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
trusts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
+
trustId: z.ZodString;
|
|
92
|
+
issuer: z.ZodString;
|
|
93
|
+
audience: z.ZodString;
|
|
94
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
95
|
+
authorizedBy: z.ZodString;
|
|
96
|
+
validFrom: z.ZodISODateTime;
|
|
97
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
98
|
+
firstCallAt: z.ZodNullable<z.ZodISODateTime>;
|
|
99
|
+
}, z.core.$strip>>>;
|
|
72
100
|
}, z.core.$strip>;
|
|
73
101
|
export type ControlPlaneKeysResponse = z.output<typeof ControlPlaneKeysResponse>;
|
|
74
102
|
/** `POST /control-plane/keys` — the appended key, and the set as it now stands. */
|
|
@@ -246,9 +274,9 @@ export declare const ControlPlaneMigrationsResponse: z.ZodObject<{
|
|
|
246
274
|
}, z.core.$strip>;
|
|
247
275
|
export type ControlPlaneMigrationsResponse = z.output<typeof ControlPlaneMigrationsResponse>;
|
|
248
276
|
/**
|
|
249
|
-
* One marked field, as `GET {basePath}/privacy` reports it
|
|
277
|
+
* One marked field, as `GET {basePath}/privacy` reports it.
|
|
250
278
|
*
|
|
251
|
-
* **The per-field record.**
|
|
279
|
+
* **The per-field record.** It says whether the field rests encrypted beside `class`, so "which of
|
|
252
280
|
* your PHI fields are encrypted" is a derivation over this list rather than a second inventory to keep.
|
|
253
281
|
*/
|
|
254
282
|
export declare const PrivacyFieldView: z.ZodObject<{
|
|
@@ -284,7 +312,7 @@ export declare const PrivacySchemaView: z.ZodObject<{
|
|
|
284
312
|
}, z.core.$strip>;
|
|
285
313
|
export type PrivacySchemaView = z.output<typeof PrivacySchemaView>;
|
|
286
314
|
/**
|
|
287
|
-
* `GET /control-plane/privacy` — the full inventory, behind `privacy:read
|
|
315
|
+
* `GET /control-plane/privacy` — the full inventory, behind `privacy:read`.
|
|
288
316
|
*
|
|
289
317
|
* Derived at runtime from the schemas this Worker composed, walked once per isolate. The manifest's `privacy`
|
|
290
318
|
* block is the headline; this is the detail, and it names fields, which is why it has a scope of its own.
|
|
@@ -343,4 +371,900 @@ export declare const ControlPlanePrivacyResponse: z.ZodObject<{
|
|
|
343
371
|
}, z.core.$strip>>;
|
|
344
372
|
}, z.core.$strip>;
|
|
345
373
|
export type ControlPlanePrivacyResponse = z.output<typeof ControlPlanePrivacyResponse>;
|
|
374
|
+
/**
|
|
375
|
+
* One value a fact carries: a scalar, a list of names, or null where the record holds nothing.
|
|
376
|
+
*
|
|
377
|
+
* Scalars and string lists only, so a fact can never carry a row, a secret, or a key: it names and counts.
|
|
378
|
+
*/
|
|
379
|
+
export declare const EvidenceValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
|
|
380
|
+
export type EvidenceValue = z.output<typeof EvidenceValue>;
|
|
381
|
+
/** One fact the Worker read for a control, and the declaration it read it from. */
|
|
382
|
+
export declare const EvidenceFact: z.ZodObject<{
|
|
383
|
+
fact: z.ZodString;
|
|
384
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
385
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
|
|
386
|
+
source: z.ZodEnum<{
|
|
387
|
+
auditRecorder: "auditRecorder";
|
|
388
|
+
bindings: "bindings";
|
|
389
|
+
capabilityHealth: "capabilityHealth";
|
|
390
|
+
composition: "composition";
|
|
391
|
+
connection: "connection";
|
|
392
|
+
connectionKeys: "connectionKeys";
|
|
393
|
+
encryptedMarkers: "encryptedMarkers";
|
|
394
|
+
fieldKeyRetirement: "fieldKeyRetirement";
|
|
395
|
+
migrationLedger: "migrationLedger";
|
|
396
|
+
privacyAttestation: "privacyAttestation";
|
|
397
|
+
privacyMarkers: "privacyMarkers";
|
|
398
|
+
routeSpec: "routeSpec";
|
|
399
|
+
sameOriginGate: "sameOriginGate";
|
|
400
|
+
}>;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
export type EvidenceFact = z.output<typeof EvidenceFact>;
|
|
403
|
+
/** One control in the pack: its references, the facts read, and what the Worker could say. */
|
|
404
|
+
export declare const EvidenceEntry: z.ZodObject<{
|
|
405
|
+
control: z.ZodEnum<{
|
|
406
|
+
"audit-logging": "audit-logging";
|
|
407
|
+
"change-history": "change-history";
|
|
408
|
+
csrf: "csrf";
|
|
409
|
+
"data-protection": "data-protection";
|
|
410
|
+
"key-rotation": "key-rotation";
|
|
411
|
+
"management-access": "management-access";
|
|
412
|
+
"route-verification": "route-verification";
|
|
413
|
+
}>;
|
|
414
|
+
title: z.ZodString;
|
|
415
|
+
soc2: z.ZodArray<z.ZodString>;
|
|
416
|
+
iso27001: z.ZodArray<z.ZodString>;
|
|
417
|
+
state: z.ZodEnum<{
|
|
418
|
+
evidenced: "evidenced";
|
|
419
|
+
gap: "gap";
|
|
420
|
+
"not-derivable": "not-derivable";
|
|
421
|
+
}>;
|
|
422
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
423
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
424
|
+
fact: z.ZodString;
|
|
425
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
426
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
|
|
427
|
+
source: z.ZodEnum<{
|
|
428
|
+
auditRecorder: "auditRecorder";
|
|
429
|
+
bindings: "bindings";
|
|
430
|
+
capabilityHealth: "capabilityHealth";
|
|
431
|
+
composition: "composition";
|
|
432
|
+
connection: "connection";
|
|
433
|
+
connectionKeys: "connectionKeys";
|
|
434
|
+
encryptedMarkers: "encryptedMarkers";
|
|
435
|
+
fieldKeyRetirement: "fieldKeyRetirement";
|
|
436
|
+
migrationLedger: "migrationLedger";
|
|
437
|
+
privacyAttestation: "privacyAttestation";
|
|
438
|
+
privacyMarkers: "privacyMarkers";
|
|
439
|
+
routeSpec: "routeSpec";
|
|
440
|
+
sameOriginGate: "sameOriginGate";
|
|
441
|
+
}>;
|
|
442
|
+
}, z.core.$strip>>;
|
|
443
|
+
}, z.core.$strip>;
|
|
444
|
+
export type EvidenceEntry = z.output<typeof EvidenceEntry>;
|
|
445
|
+
/**
|
|
446
|
+
* `GET /control-plane/evidence` — the evidence pack, behind `evidence:read`.
|
|
447
|
+
*
|
|
448
|
+
* Computed in the Worker because the Worker is the deployed build: every fact is read from what this build
|
|
449
|
+
* composes and records. It proves controls present and performs nothing.
|
|
450
|
+
*/
|
|
451
|
+
export declare const ControlPlaneEvidenceResponse: z.ZodObject<{
|
|
452
|
+
environment: z.ZodString;
|
|
453
|
+
generatedAt: z.ZodISODateTime;
|
|
454
|
+
version: z.ZodNullable<z.ZodString>;
|
|
455
|
+
mappingVersion: z.ZodNumber;
|
|
456
|
+
controls: z.ZodArray<z.ZodObject<{
|
|
457
|
+
control: z.ZodEnum<{
|
|
458
|
+
"audit-logging": "audit-logging";
|
|
459
|
+
"change-history": "change-history";
|
|
460
|
+
csrf: "csrf";
|
|
461
|
+
"data-protection": "data-protection";
|
|
462
|
+
"key-rotation": "key-rotation";
|
|
463
|
+
"management-access": "management-access";
|
|
464
|
+
"route-verification": "route-verification";
|
|
465
|
+
}>;
|
|
466
|
+
title: z.ZodString;
|
|
467
|
+
soc2: z.ZodArray<z.ZodString>;
|
|
468
|
+
iso27001: z.ZodArray<z.ZodString>;
|
|
469
|
+
state: z.ZodEnum<{
|
|
470
|
+
evidenced: "evidenced";
|
|
471
|
+
gap: "gap";
|
|
472
|
+
"not-derivable": "not-derivable";
|
|
473
|
+
}>;
|
|
474
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
475
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
476
|
+
fact: z.ZodString;
|
|
477
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
478
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
|
|
479
|
+
source: z.ZodEnum<{
|
|
480
|
+
auditRecorder: "auditRecorder";
|
|
481
|
+
bindings: "bindings";
|
|
482
|
+
capabilityHealth: "capabilityHealth";
|
|
483
|
+
composition: "composition";
|
|
484
|
+
connection: "connection";
|
|
485
|
+
connectionKeys: "connectionKeys";
|
|
486
|
+
encryptedMarkers: "encryptedMarkers";
|
|
487
|
+
fieldKeyRetirement: "fieldKeyRetirement";
|
|
488
|
+
migrationLedger: "migrationLedger";
|
|
489
|
+
privacyAttestation: "privacyAttestation";
|
|
490
|
+
privacyMarkers: "privacyMarkers";
|
|
491
|
+
routeSpec: "routeSpec";
|
|
492
|
+
sameOriginGate: "sameOriginGate";
|
|
493
|
+
}>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
495
|
+
}, z.core.$strip>>;
|
|
496
|
+
}, z.core.$strip>;
|
|
497
|
+
export type ControlPlaneEvidenceResponse = z.output<typeof ControlPlaneEvidenceResponse>;
|
|
498
|
+
/** Where a purge stands. */
|
|
499
|
+
export declare const ErasureState: z.ZodEnum<{
|
|
500
|
+
complete: "complete";
|
|
501
|
+
failed: "failed";
|
|
502
|
+
in_progress: "in_progress";
|
|
503
|
+
scheduled: "scheduled";
|
|
504
|
+
}>;
|
|
505
|
+
export type ErasureState = z.output<typeof ErasureState>;
|
|
506
|
+
/** One recorded audit event, cited by id and chain position. Never its personal values. */
|
|
507
|
+
export declare const ErasureCitation: z.ZodObject<{
|
|
508
|
+
eventId: z.ZodString;
|
|
509
|
+
action: z.ZodString;
|
|
510
|
+
occurredAt: z.ZodISODateTime;
|
|
511
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
512
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
513
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
514
|
+
}, z.core.$strip>;
|
|
515
|
+
export type ErasureCitation = z.output<typeof ErasureCitation>;
|
|
516
|
+
/** One purge step: whose rows, what happened to them, and the event that records it. */
|
|
517
|
+
export declare const ErasureStepView: z.ZodObject<{
|
|
518
|
+
capability: z.ZodString;
|
|
519
|
+
disposition: z.ZodEnum<{
|
|
520
|
+
erased: "erased";
|
|
521
|
+
retained: "retained";
|
|
522
|
+
}>;
|
|
523
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
524
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
525
|
+
completedAt: z.ZodISODateTime;
|
|
526
|
+
audit: z.ZodNullable<z.ZodObject<{
|
|
527
|
+
eventId: z.ZodString;
|
|
528
|
+
action: z.ZodString;
|
|
529
|
+
occurredAt: z.ZodISODateTime;
|
|
530
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
531
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
532
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
export type ErasureStepView = z.output<typeof ErasureStepView>;
|
|
536
|
+
/** The subject an attestation is about: its kind and its id, and nothing else. */
|
|
537
|
+
export declare const ErasureSubjectView: z.ZodObject<{
|
|
538
|
+
type: z.ZodEnum<{
|
|
539
|
+
organization: "organization";
|
|
540
|
+
user: "user";
|
|
541
|
+
}>;
|
|
542
|
+
id: z.ZodString;
|
|
543
|
+
}, z.core.$strip>;
|
|
544
|
+
export type ErasureSubjectView = z.output<typeof ErasureSubjectView>;
|
|
545
|
+
/** One subject's erasure, attested. */
|
|
546
|
+
export declare const ErasureAttestation: z.ZodObject<{
|
|
547
|
+
subject: z.ZodObject<{
|
|
548
|
+
type: z.ZodEnum<{
|
|
549
|
+
organization: "organization";
|
|
550
|
+
user: "user";
|
|
551
|
+
}>;
|
|
552
|
+
id: z.ZodString;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
deletion: z.ZodObject<{
|
|
555
|
+
at: z.ZodISODateTime;
|
|
556
|
+
actorType: z.ZodString;
|
|
557
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
558
|
+
mode: z.ZodNullable<z.ZodEnum<{
|
|
559
|
+
hard: "hard";
|
|
560
|
+
soft: "soft";
|
|
561
|
+
}>>;
|
|
562
|
+
purgeAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
563
|
+
audit: z.ZodNullable<z.ZodObject<{
|
|
564
|
+
eventId: z.ZodString;
|
|
565
|
+
action: z.ZodString;
|
|
566
|
+
occurredAt: z.ZodISODateTime;
|
|
567
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
568
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
569
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
570
|
+
}, z.core.$strip>>;
|
|
571
|
+
}, z.core.$strip>;
|
|
572
|
+
state: z.ZodEnum<{
|
|
573
|
+
complete: "complete";
|
|
574
|
+
failed: "failed";
|
|
575
|
+
in_progress: "in_progress";
|
|
576
|
+
scheduled: "scheduled";
|
|
577
|
+
}>;
|
|
578
|
+
overdue: z.ZodBoolean;
|
|
579
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
580
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
581
|
+
capability: z.ZodString;
|
|
582
|
+
disposition: z.ZodEnum<{
|
|
583
|
+
erased: "erased";
|
|
584
|
+
retained: "retained";
|
|
585
|
+
}>;
|
|
586
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
587
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
588
|
+
completedAt: z.ZodISODateTime;
|
|
589
|
+
audit: z.ZodNullable<z.ZodObject<{
|
|
590
|
+
eventId: z.ZodString;
|
|
591
|
+
action: z.ZodString;
|
|
592
|
+
occurredAt: z.ZodISODateTime;
|
|
593
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
594
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
595
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
596
|
+
}, z.core.$strip>>;
|
|
597
|
+
}, z.core.$strip>>;
|
|
598
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
599
|
+
completion: z.ZodNullable<z.ZodObject<{
|
|
600
|
+
eventId: z.ZodString;
|
|
601
|
+
action: z.ZodString;
|
|
602
|
+
occurredAt: z.ZodISODateTime;
|
|
603
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
604
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
605
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
606
|
+
}, z.core.$strip>>;
|
|
607
|
+
failure: z.ZodNullable<z.ZodObject<{
|
|
608
|
+
eventId: z.ZodString;
|
|
609
|
+
action: z.ZodString;
|
|
610
|
+
occurredAt: z.ZodISODateTime;
|
|
611
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
612
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
613
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
614
|
+
}, z.core.$strip>>;
|
|
615
|
+
trail: z.ZodEnum<{
|
|
616
|
+
absent: "absent";
|
|
617
|
+
recorded: "recorded";
|
|
618
|
+
}>;
|
|
619
|
+
}, z.core.$strip>;
|
|
620
|
+
export type ErasureAttestation = z.output<typeof ErasureAttestation>;
|
|
621
|
+
/** `GET /control-plane/erasure/:subjectType/:subjectId` — one subject's attestation, behind `erasure:read`. */
|
|
622
|
+
export declare const ControlPlaneErasureSubjectResponse: z.ZodObject<{
|
|
623
|
+
generatedAt: z.ZodISODateTime;
|
|
624
|
+
attestation: z.ZodObject<{
|
|
625
|
+
subject: z.ZodObject<{
|
|
626
|
+
type: z.ZodEnum<{
|
|
627
|
+
organization: "organization";
|
|
628
|
+
user: "user";
|
|
629
|
+
}>;
|
|
630
|
+
id: z.ZodString;
|
|
631
|
+
}, z.core.$strip>;
|
|
632
|
+
deletion: z.ZodObject<{
|
|
633
|
+
at: z.ZodISODateTime;
|
|
634
|
+
actorType: z.ZodString;
|
|
635
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
636
|
+
mode: z.ZodNullable<z.ZodEnum<{
|
|
637
|
+
hard: "hard";
|
|
638
|
+
soft: "soft";
|
|
639
|
+
}>>;
|
|
640
|
+
purgeAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
641
|
+
audit: z.ZodNullable<z.ZodObject<{
|
|
642
|
+
eventId: z.ZodString;
|
|
643
|
+
action: z.ZodString;
|
|
644
|
+
occurredAt: z.ZodISODateTime;
|
|
645
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
646
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
647
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
state: z.ZodEnum<{
|
|
651
|
+
complete: "complete";
|
|
652
|
+
failed: "failed";
|
|
653
|
+
in_progress: "in_progress";
|
|
654
|
+
scheduled: "scheduled";
|
|
655
|
+
}>;
|
|
656
|
+
overdue: z.ZodBoolean;
|
|
657
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
658
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
659
|
+
capability: z.ZodString;
|
|
660
|
+
disposition: z.ZodEnum<{
|
|
661
|
+
erased: "erased";
|
|
662
|
+
retained: "retained";
|
|
663
|
+
}>;
|
|
664
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
665
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
666
|
+
completedAt: z.ZodISODateTime;
|
|
667
|
+
audit: z.ZodNullable<z.ZodObject<{
|
|
668
|
+
eventId: z.ZodString;
|
|
669
|
+
action: z.ZodString;
|
|
670
|
+
occurredAt: z.ZodISODateTime;
|
|
671
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
672
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
673
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
674
|
+
}, z.core.$strip>>;
|
|
675
|
+
}, z.core.$strip>>;
|
|
676
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
677
|
+
completion: z.ZodNullable<z.ZodObject<{
|
|
678
|
+
eventId: z.ZodString;
|
|
679
|
+
action: z.ZodString;
|
|
680
|
+
occurredAt: z.ZodISODateTime;
|
|
681
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
682
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
683
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
684
|
+
}, z.core.$strip>>;
|
|
685
|
+
failure: z.ZodNullable<z.ZodObject<{
|
|
686
|
+
eventId: z.ZodString;
|
|
687
|
+
action: z.ZodString;
|
|
688
|
+
occurredAt: z.ZodISODateTime;
|
|
689
|
+
tenant: z.ZodNullable<z.ZodString>;
|
|
690
|
+
seq: z.ZodNullable<z.ZodNumber>;
|
|
691
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
692
|
+
}, z.core.$strip>>;
|
|
693
|
+
trail: z.ZodEnum<{
|
|
694
|
+
absent: "absent";
|
|
695
|
+
recorded: "recorded";
|
|
696
|
+
}>;
|
|
697
|
+
}, z.core.$strip>;
|
|
698
|
+
}, z.core.$strip>;
|
|
699
|
+
export type ControlPlaneErasureSubjectResponse = z.output<typeof ControlPlaneErasureSubjectResponse>;
|
|
700
|
+
/** One purge in a period: who, where it stands, and where it stopped. */
|
|
701
|
+
export declare const ErasurePeriodEntry: z.ZodObject<{
|
|
702
|
+
subject: z.ZodObject<{
|
|
703
|
+
type: z.ZodEnum<{
|
|
704
|
+
organization: "organization";
|
|
705
|
+
user: "user";
|
|
706
|
+
}>;
|
|
707
|
+
id: z.ZodString;
|
|
708
|
+
}, z.core.$strip>;
|
|
709
|
+
state: z.ZodEnum<{
|
|
710
|
+
complete: "complete";
|
|
711
|
+
failed: "failed";
|
|
712
|
+
in_progress: "in_progress";
|
|
713
|
+
scheduled: "scheduled";
|
|
714
|
+
}>;
|
|
715
|
+
overdue: z.ZodBoolean;
|
|
716
|
+
purgeAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
717
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
718
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
719
|
+
}, z.core.$strip>;
|
|
720
|
+
export type ErasurePeriodEntry = z.output<typeof ErasurePeriodEntry>;
|
|
721
|
+
/** `GET /control-plane/erasure` — every purge in a period, counted. */
|
|
722
|
+
export declare const ControlPlaneErasurePeriodResponse: z.ZodObject<{
|
|
723
|
+
generatedAt: z.ZodISODateTime;
|
|
724
|
+
since: z.ZodISODateTime;
|
|
725
|
+
until: z.ZodISODateTime;
|
|
726
|
+
subjects: z.ZodArray<z.ZodEnum<{
|
|
727
|
+
organization: "organization";
|
|
728
|
+
user: "user";
|
|
729
|
+
}>>;
|
|
730
|
+
counts: z.ZodObject<{
|
|
731
|
+
scheduled: z.ZodNumber;
|
|
732
|
+
inProgress: z.ZodNumber;
|
|
733
|
+
complete: z.ZodNumber;
|
|
734
|
+
failed: z.ZodNumber;
|
|
735
|
+
overdue: z.ZodNumber;
|
|
736
|
+
}, z.core.$strip>;
|
|
737
|
+
attention: z.ZodArray<z.ZodObject<{
|
|
738
|
+
subject: z.ZodObject<{
|
|
739
|
+
type: z.ZodEnum<{
|
|
740
|
+
organization: "organization";
|
|
741
|
+
user: "user";
|
|
742
|
+
}>;
|
|
743
|
+
id: z.ZodString;
|
|
744
|
+
}, z.core.$strip>;
|
|
745
|
+
state: z.ZodEnum<{
|
|
746
|
+
complete: "complete";
|
|
747
|
+
failed: "failed";
|
|
748
|
+
in_progress: "in_progress";
|
|
749
|
+
scheduled: "scheduled";
|
|
750
|
+
}>;
|
|
751
|
+
overdue: z.ZodBoolean;
|
|
752
|
+
purgeAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
753
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
754
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
755
|
+
}, z.core.$strip>>;
|
|
756
|
+
purges: z.ZodArray<z.ZodObject<{
|
|
757
|
+
subject: z.ZodObject<{
|
|
758
|
+
type: z.ZodEnum<{
|
|
759
|
+
organization: "organization";
|
|
760
|
+
user: "user";
|
|
761
|
+
}>;
|
|
762
|
+
id: z.ZodString;
|
|
763
|
+
}, z.core.$strip>;
|
|
764
|
+
state: z.ZodEnum<{
|
|
765
|
+
complete: "complete";
|
|
766
|
+
failed: "failed";
|
|
767
|
+
in_progress: "in_progress";
|
|
768
|
+
scheduled: "scheduled";
|
|
769
|
+
}>;
|
|
770
|
+
overdue: z.ZodBoolean;
|
|
771
|
+
purgeAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
772
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
773
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>>;
|
|
775
|
+
}, z.core.$strip>;
|
|
776
|
+
export type ControlPlaneErasurePeriodResponse = z.output<typeof ControlPlaneErasurePeriodResponse>;
|
|
777
|
+
/** One legal hold, as the holds routes answer it. */
|
|
778
|
+
export declare const LegalHoldView: z.ZodObject<{
|
|
779
|
+
id: z.ZodString;
|
|
780
|
+
subjectType: z.ZodEnum<{
|
|
781
|
+
audit: "audit";
|
|
782
|
+
organization: "organization";
|
|
783
|
+
user: "user";
|
|
784
|
+
}>;
|
|
785
|
+
subjectId: z.ZodNullable<z.ZodString>;
|
|
786
|
+
reason: z.ZodString;
|
|
787
|
+
placedBy: z.ZodString;
|
|
788
|
+
placedAt: z.ZodISODateTime;
|
|
789
|
+
state: z.ZodEnum<{
|
|
790
|
+
active: "active";
|
|
791
|
+
released: "released";
|
|
792
|
+
}>;
|
|
793
|
+
releasedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
794
|
+
releasedBy: z.ZodNullable<z.ZodString>;
|
|
795
|
+
releaseReason: z.ZodNullable<z.ZodString>;
|
|
796
|
+
}, z.core.$strip>;
|
|
797
|
+
export type LegalHoldView = z.output<typeof LegalHoldView>;
|
|
798
|
+
/** `GET /control-plane/holds`. */
|
|
799
|
+
export declare const ControlPlaneHoldsResponse: z.ZodObject<{
|
|
800
|
+
active: z.ZodNumber;
|
|
801
|
+
holds: z.ZodArray<z.ZodObject<{
|
|
802
|
+
id: z.ZodString;
|
|
803
|
+
subjectType: z.ZodEnum<{
|
|
804
|
+
audit: "audit";
|
|
805
|
+
organization: "organization";
|
|
806
|
+
user: "user";
|
|
807
|
+
}>;
|
|
808
|
+
subjectId: z.ZodNullable<z.ZodString>;
|
|
809
|
+
reason: z.ZodString;
|
|
810
|
+
placedBy: z.ZodString;
|
|
811
|
+
placedAt: z.ZodISODateTime;
|
|
812
|
+
state: z.ZodEnum<{
|
|
813
|
+
active: "active";
|
|
814
|
+
released: "released";
|
|
815
|
+
}>;
|
|
816
|
+
releasedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
817
|
+
releasedBy: z.ZodNullable<z.ZodString>;
|
|
818
|
+
releaseReason: z.ZodNullable<z.ZodString>;
|
|
819
|
+
}, z.core.$strip>>;
|
|
820
|
+
}, z.core.$strip>;
|
|
821
|
+
export type ControlPlaneHoldsResponse = z.output<typeof ControlPlaneHoldsResponse>;
|
|
822
|
+
/** `POST /control-plane/holds` and `POST /control-plane/holds/:holdId/release`: the hold as it now stands. */
|
|
823
|
+
export declare const ControlPlaneHoldResponse: z.ZodObject<{
|
|
824
|
+
hold: z.ZodObject<{
|
|
825
|
+
id: z.ZodString;
|
|
826
|
+
subjectType: z.ZodEnum<{
|
|
827
|
+
audit: "audit";
|
|
828
|
+
organization: "organization";
|
|
829
|
+
user: "user";
|
|
830
|
+
}>;
|
|
831
|
+
subjectId: z.ZodNullable<z.ZodString>;
|
|
832
|
+
reason: z.ZodString;
|
|
833
|
+
placedBy: z.ZodString;
|
|
834
|
+
placedAt: z.ZodISODateTime;
|
|
835
|
+
state: z.ZodEnum<{
|
|
836
|
+
active: "active";
|
|
837
|
+
released: "released";
|
|
838
|
+
}>;
|
|
839
|
+
releasedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
840
|
+
releasedBy: z.ZodNullable<z.ZodString>;
|
|
841
|
+
releaseReason: z.ZodNullable<z.ZodString>;
|
|
842
|
+
}, z.core.$strip>;
|
|
843
|
+
}, z.core.$strip>;
|
|
844
|
+
export type ControlPlaneHoldResponse = z.output<typeof ControlPlaneHoldResponse>;
|
|
845
|
+
/** What kind of gap the processing record names. */
|
|
846
|
+
export declare const ProcessingGapKind: z.ZodEnum<{
|
|
847
|
+
"class-not-stored": "class-not-stored";
|
|
848
|
+
"class-unclaimed": "class-unclaimed";
|
|
849
|
+
"no-consent-purpose": "no-consent-purpose";
|
|
850
|
+
"no-legal-basis": "no-legal-basis";
|
|
851
|
+
"no-standing-grant": "no-standing-grant";
|
|
852
|
+
"phi-not-covered": "phi-not-covered";
|
|
853
|
+
}>;
|
|
854
|
+
export type ProcessingGapKind = z.infer<typeof ProcessingGapKind>;
|
|
855
|
+
/** One gap in the processing record. */
|
|
856
|
+
export declare const ProcessingGap: z.ZodObject<{
|
|
857
|
+
kind: z.ZodEnum<{
|
|
858
|
+
"class-not-stored": "class-not-stored";
|
|
859
|
+
"class-unclaimed": "class-unclaimed";
|
|
860
|
+
"no-consent-purpose": "no-consent-purpose";
|
|
861
|
+
"no-legal-basis": "no-legal-basis";
|
|
862
|
+
"no-standing-grant": "no-standing-grant";
|
|
863
|
+
"phi-not-covered": "phi-not-covered";
|
|
864
|
+
}>;
|
|
865
|
+
subject: z.ZodString;
|
|
866
|
+
detail: z.ZodString;
|
|
867
|
+
}, z.core.$strip>;
|
|
868
|
+
export type ProcessingGap = z.infer<typeof ProcessingGap>;
|
|
869
|
+
/** Where a recipient in the record came from. */
|
|
870
|
+
export declare const ProcessingRecipientSource: z.ZodEnum<{
|
|
871
|
+
binding: "binding";
|
|
872
|
+
declared: "declared";
|
|
873
|
+
platform: "platform";
|
|
874
|
+
}>;
|
|
875
|
+
/** One recipient of personal data. */
|
|
876
|
+
export declare const ProcessingRecipientView: z.ZodObject<{
|
|
877
|
+
name: z.ZodString;
|
|
878
|
+
receives: z.ZodString;
|
|
879
|
+
classes: z.ZodArray<z.ZodString>;
|
|
880
|
+
source: z.ZodEnum<{
|
|
881
|
+
binding: "binding";
|
|
882
|
+
declared: "declared";
|
|
883
|
+
platform: "platform";
|
|
884
|
+
}>;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
export type ProcessingRecipientView = z.infer<typeof ProcessingRecipientView>;
|
|
887
|
+
/** A consent-based activity's purpose, with where its subjects stand. */
|
|
888
|
+
export declare const ProcessingConsentView: z.ZodObject<{
|
|
889
|
+
purpose: z.ZodString;
|
|
890
|
+
noticeVersion: z.ZodNullable<z.ZodNumber>;
|
|
891
|
+
explicit: z.ZodNullable<z.ZodBoolean>;
|
|
892
|
+
grants: z.ZodNullable<z.ZodNumber>;
|
|
893
|
+
withdrawals: z.ZodNullable<z.ZodNumber>;
|
|
894
|
+
standing: z.ZodNullable<z.ZodNumber>;
|
|
895
|
+
}, z.core.$strip>;
|
|
896
|
+
export type ProcessingConsentView = z.infer<typeof ProcessingConsentView>;
|
|
897
|
+
/** How long the data an activity uses is kept. */
|
|
898
|
+
export declare const ProcessingRetentionView: z.ZodObject<{
|
|
899
|
+
classAges: z.ZodArray<z.ZodObject<{
|
|
900
|
+
class: z.ZodString;
|
|
901
|
+
days: z.ZodNumber;
|
|
902
|
+
}, z.core.$strip>>;
|
|
903
|
+
purgeWindows: z.ZodArray<z.ZodObject<{
|
|
904
|
+
subject: z.ZodEnum<{
|
|
905
|
+
organization: "organization";
|
|
906
|
+
user: "user";
|
|
907
|
+
}>;
|
|
908
|
+
days: z.ZodNumber;
|
|
909
|
+
source: z.ZodEnum<{
|
|
910
|
+
capability: "capability";
|
|
911
|
+
floor: "floor";
|
|
912
|
+
policy: "policy";
|
|
913
|
+
}>;
|
|
914
|
+
}, z.core.$strip>>;
|
|
915
|
+
}, z.core.$strip>;
|
|
916
|
+
export type ProcessingRetentionView = z.infer<typeof ProcessingRetentionView>;
|
|
917
|
+
/** One activity in the record. */
|
|
918
|
+
export declare const ProcessingEntry: z.ZodObject<{
|
|
919
|
+
id: z.ZodString;
|
|
920
|
+
purpose: z.ZodString;
|
|
921
|
+
declaredBy: z.ZodString;
|
|
922
|
+
classes: z.ZodArray<z.ZodString>;
|
|
923
|
+
legalBasis: z.ZodNullable<z.ZodEnum<{
|
|
924
|
+
consent: "consent";
|
|
925
|
+
contract: "contract";
|
|
926
|
+
"legal-obligation": "legal-obligation";
|
|
927
|
+
"legitimate-interests": "legitimate-interests";
|
|
928
|
+
"public-task": "public-task";
|
|
929
|
+
"vital-interests": "vital-interests";
|
|
930
|
+
}>>;
|
|
931
|
+
basisSource: z.ZodNullable<z.ZodEnum<{
|
|
932
|
+
capability: "capability";
|
|
933
|
+
config: "config";
|
|
934
|
+
}>>;
|
|
935
|
+
consent: z.ZodNullable<z.ZodObject<{
|
|
936
|
+
purpose: z.ZodString;
|
|
937
|
+
noticeVersion: z.ZodNullable<z.ZodNumber>;
|
|
938
|
+
explicit: z.ZodNullable<z.ZodBoolean>;
|
|
939
|
+
grants: z.ZodNullable<z.ZodNumber>;
|
|
940
|
+
withdrawals: z.ZodNullable<z.ZodNumber>;
|
|
941
|
+
standing: z.ZodNullable<z.ZodNumber>;
|
|
942
|
+
}, z.core.$strip>>;
|
|
943
|
+
recipients: z.ZodArray<z.ZodObject<{
|
|
944
|
+
name: z.ZodString;
|
|
945
|
+
receives: z.ZodString;
|
|
946
|
+
classes: z.ZodArray<z.ZodString>;
|
|
947
|
+
source: z.ZodEnum<{
|
|
948
|
+
binding: "binding";
|
|
949
|
+
declared: "declared";
|
|
950
|
+
platform: "platform";
|
|
951
|
+
}>;
|
|
952
|
+
}, z.core.$strip>>;
|
|
953
|
+
retention: z.ZodNullable<z.ZodObject<{
|
|
954
|
+
classAges: z.ZodArray<z.ZodObject<{
|
|
955
|
+
class: z.ZodString;
|
|
956
|
+
days: z.ZodNumber;
|
|
957
|
+
}, z.core.$strip>>;
|
|
958
|
+
purgeWindows: z.ZodArray<z.ZodObject<{
|
|
959
|
+
subject: z.ZodEnum<{
|
|
960
|
+
organization: "organization";
|
|
961
|
+
user: "user";
|
|
962
|
+
}>;
|
|
963
|
+
days: z.ZodNumber;
|
|
964
|
+
source: z.ZodEnum<{
|
|
965
|
+
capability: "capability";
|
|
966
|
+
floor: "floor";
|
|
967
|
+
policy: "policy";
|
|
968
|
+
}>;
|
|
969
|
+
}, z.core.$strip>>;
|
|
970
|
+
}, z.core.$strip>>;
|
|
971
|
+
measures: z.ZodArray<z.ZodEnum<{
|
|
972
|
+
"audit-logging": "audit-logging";
|
|
973
|
+
"change-history": "change-history";
|
|
974
|
+
csrf: "csrf";
|
|
975
|
+
"data-protection": "data-protection";
|
|
976
|
+
"key-rotation": "key-rotation";
|
|
977
|
+
"management-access": "management-access";
|
|
978
|
+
"route-verification": "route-verification";
|
|
979
|
+
}>>;
|
|
980
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
981
|
+
kind: z.ZodEnum<{
|
|
982
|
+
"class-not-stored": "class-not-stored";
|
|
983
|
+
"class-unclaimed": "class-unclaimed";
|
|
984
|
+
"no-consent-purpose": "no-consent-purpose";
|
|
985
|
+
"no-legal-basis": "no-legal-basis";
|
|
986
|
+
"no-standing-grant": "no-standing-grant";
|
|
987
|
+
"phi-not-covered": "phi-not-covered";
|
|
988
|
+
}>;
|
|
989
|
+
subject: z.ZodString;
|
|
990
|
+
detail: z.ZodString;
|
|
991
|
+
}, z.core.$strip>>;
|
|
992
|
+
}, z.core.$strip>;
|
|
993
|
+
export type ProcessingEntry = z.infer<typeof ProcessingEntry>;
|
|
994
|
+
/** One security measure, as the evidence pack names it. */
|
|
995
|
+
export declare const ProcessingMeasure: z.ZodObject<{
|
|
996
|
+
control: z.ZodEnum<{
|
|
997
|
+
"audit-logging": "audit-logging";
|
|
998
|
+
"change-history": "change-history";
|
|
999
|
+
csrf: "csrf";
|
|
1000
|
+
"data-protection": "data-protection";
|
|
1001
|
+
"key-rotation": "key-rotation";
|
|
1002
|
+
"management-access": "management-access";
|
|
1003
|
+
"route-verification": "route-verification";
|
|
1004
|
+
}>;
|
|
1005
|
+
title: z.ZodString;
|
|
1006
|
+
soc2: z.ZodArray<z.ZodString>;
|
|
1007
|
+
iso27001: z.ZodArray<z.ZodString>;
|
|
1008
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
1009
|
+
evidenced: "evidenced";
|
|
1010
|
+
gap: "gap";
|
|
1011
|
+
"not-derivable": "not-derivable";
|
|
1012
|
+
}>>;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1014
|
+
export type ProcessingMeasure = z.infer<typeof ProcessingMeasure>;
|
|
1015
|
+
/**
|
|
1016
|
+
* `GET /control-plane/processing` — the record of processing activities, behind `processing:read`. It describes
|
|
1017
|
+
* the processing and changes none of it.
|
|
1018
|
+
*/
|
|
1019
|
+
export declare const ControlPlaneProcessingResponse: z.ZodObject<{
|
|
1020
|
+
environment: z.ZodString;
|
|
1021
|
+
generatedAt: z.ZodISODateTime;
|
|
1022
|
+
version: z.ZodNullable<z.ZodString>;
|
|
1023
|
+
activities: z.ZodArray<z.ZodObject<{
|
|
1024
|
+
id: z.ZodString;
|
|
1025
|
+
purpose: z.ZodString;
|
|
1026
|
+
declaredBy: z.ZodString;
|
|
1027
|
+
classes: z.ZodArray<z.ZodString>;
|
|
1028
|
+
legalBasis: z.ZodNullable<z.ZodEnum<{
|
|
1029
|
+
consent: "consent";
|
|
1030
|
+
contract: "contract";
|
|
1031
|
+
"legal-obligation": "legal-obligation";
|
|
1032
|
+
"legitimate-interests": "legitimate-interests";
|
|
1033
|
+
"public-task": "public-task";
|
|
1034
|
+
"vital-interests": "vital-interests";
|
|
1035
|
+
}>>;
|
|
1036
|
+
basisSource: z.ZodNullable<z.ZodEnum<{
|
|
1037
|
+
capability: "capability";
|
|
1038
|
+
config: "config";
|
|
1039
|
+
}>>;
|
|
1040
|
+
consent: z.ZodNullable<z.ZodObject<{
|
|
1041
|
+
purpose: z.ZodString;
|
|
1042
|
+
noticeVersion: z.ZodNullable<z.ZodNumber>;
|
|
1043
|
+
explicit: z.ZodNullable<z.ZodBoolean>;
|
|
1044
|
+
grants: z.ZodNullable<z.ZodNumber>;
|
|
1045
|
+
withdrawals: z.ZodNullable<z.ZodNumber>;
|
|
1046
|
+
standing: z.ZodNullable<z.ZodNumber>;
|
|
1047
|
+
}, z.core.$strip>>;
|
|
1048
|
+
recipients: z.ZodArray<z.ZodObject<{
|
|
1049
|
+
name: z.ZodString;
|
|
1050
|
+
receives: z.ZodString;
|
|
1051
|
+
classes: z.ZodArray<z.ZodString>;
|
|
1052
|
+
source: z.ZodEnum<{
|
|
1053
|
+
binding: "binding";
|
|
1054
|
+
declared: "declared";
|
|
1055
|
+
platform: "platform";
|
|
1056
|
+
}>;
|
|
1057
|
+
}, z.core.$strip>>;
|
|
1058
|
+
retention: z.ZodNullable<z.ZodObject<{
|
|
1059
|
+
classAges: z.ZodArray<z.ZodObject<{
|
|
1060
|
+
class: z.ZodString;
|
|
1061
|
+
days: z.ZodNumber;
|
|
1062
|
+
}, z.core.$strip>>;
|
|
1063
|
+
purgeWindows: z.ZodArray<z.ZodObject<{
|
|
1064
|
+
subject: z.ZodEnum<{
|
|
1065
|
+
organization: "organization";
|
|
1066
|
+
user: "user";
|
|
1067
|
+
}>;
|
|
1068
|
+
days: z.ZodNumber;
|
|
1069
|
+
source: z.ZodEnum<{
|
|
1070
|
+
capability: "capability";
|
|
1071
|
+
floor: "floor";
|
|
1072
|
+
policy: "policy";
|
|
1073
|
+
}>;
|
|
1074
|
+
}, z.core.$strip>>;
|
|
1075
|
+
}, z.core.$strip>>;
|
|
1076
|
+
measures: z.ZodArray<z.ZodEnum<{
|
|
1077
|
+
"audit-logging": "audit-logging";
|
|
1078
|
+
"change-history": "change-history";
|
|
1079
|
+
csrf: "csrf";
|
|
1080
|
+
"data-protection": "data-protection";
|
|
1081
|
+
"key-rotation": "key-rotation";
|
|
1082
|
+
"management-access": "management-access";
|
|
1083
|
+
"route-verification": "route-verification";
|
|
1084
|
+
}>>;
|
|
1085
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
1086
|
+
kind: z.ZodEnum<{
|
|
1087
|
+
"class-not-stored": "class-not-stored";
|
|
1088
|
+
"class-unclaimed": "class-unclaimed";
|
|
1089
|
+
"no-consent-purpose": "no-consent-purpose";
|
|
1090
|
+
"no-legal-basis": "no-legal-basis";
|
|
1091
|
+
"no-standing-grant": "no-standing-grant";
|
|
1092
|
+
"phi-not-covered": "phi-not-covered";
|
|
1093
|
+
}>;
|
|
1094
|
+
subject: z.ZodString;
|
|
1095
|
+
detail: z.ZodString;
|
|
1096
|
+
}, z.core.$strip>>;
|
|
1097
|
+
}, z.core.$strip>>;
|
|
1098
|
+
recipients: z.ZodArray<z.ZodObject<{
|
|
1099
|
+
name: z.ZodString;
|
|
1100
|
+
receives: z.ZodString;
|
|
1101
|
+
classes: z.ZodArray<z.ZodString>;
|
|
1102
|
+
source: z.ZodEnum<{
|
|
1103
|
+
binding: "binding";
|
|
1104
|
+
declared: "declared";
|
|
1105
|
+
platform: "platform";
|
|
1106
|
+
}>;
|
|
1107
|
+
}, z.core.$strip>>;
|
|
1108
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
1109
|
+
control: z.ZodEnum<{
|
|
1110
|
+
"audit-logging": "audit-logging";
|
|
1111
|
+
"change-history": "change-history";
|
|
1112
|
+
csrf: "csrf";
|
|
1113
|
+
"data-protection": "data-protection";
|
|
1114
|
+
"key-rotation": "key-rotation";
|
|
1115
|
+
"management-access": "management-access";
|
|
1116
|
+
"route-verification": "route-verification";
|
|
1117
|
+
}>;
|
|
1118
|
+
title: z.ZodString;
|
|
1119
|
+
soc2: z.ZodArray<z.ZodString>;
|
|
1120
|
+
iso27001: z.ZodArray<z.ZodString>;
|
|
1121
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
1122
|
+
evidenced: "evidenced";
|
|
1123
|
+
gap: "gap";
|
|
1124
|
+
"not-derivable": "not-derivable";
|
|
1125
|
+
}>>;
|
|
1126
|
+
}, z.core.$strip>>;
|
|
1127
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
1128
|
+
kind: z.ZodEnum<{
|
|
1129
|
+
"class-not-stored": "class-not-stored";
|
|
1130
|
+
"class-unclaimed": "class-unclaimed";
|
|
1131
|
+
"no-consent-purpose": "no-consent-purpose";
|
|
1132
|
+
"no-legal-basis": "no-legal-basis";
|
|
1133
|
+
"no-standing-grant": "no-standing-grant";
|
|
1134
|
+
"phi-not-covered": "phi-not-covered";
|
|
1135
|
+
}>;
|
|
1136
|
+
subject: z.ZodString;
|
|
1137
|
+
detail: z.ZodString;
|
|
1138
|
+
}, z.core.$strip>>;
|
|
1139
|
+
notDerivable: z.ZodArray<z.ZodString>;
|
|
1140
|
+
}, z.core.$strip>;
|
|
1141
|
+
export type ControlPlaneProcessingResponse = z.infer<typeof ControlPlaneProcessingResponse>;
|
|
1142
|
+
/** One trust's subject constraint, as a connection listing shows it: the population that may use the trust. */
|
|
1143
|
+
export declare const ConnectionTrustView: z.ZodObject<{
|
|
1144
|
+
trustId: z.ZodString;
|
|
1145
|
+
issuer: z.ZodString;
|
|
1146
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1147
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1148
|
+
}, z.core.$strip>;
|
|
1149
|
+
export type ConnectionTrustView = z.output<typeof ConnectionTrustView>;
|
|
1150
|
+
/** One connection, as `GET {basePath}/connections` lists it. No key material and no secret. */
|
|
1151
|
+
export declare const ConnectionView: z.ZodObject<{
|
|
1152
|
+
id: z.ZodString;
|
|
1153
|
+
environment: z.ZodString;
|
|
1154
|
+
actorKind: z.ZodNullable<z.ZodEnum<{
|
|
1155
|
+
agent: "agent";
|
|
1156
|
+
dashboard: "dashboard";
|
|
1157
|
+
script: "script";
|
|
1158
|
+
}>>;
|
|
1159
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
1160
|
+
authorizedBy: z.ZodNullable<z.ZodEmail>;
|
|
1161
|
+
credentialKind: z.ZodEnum<{
|
|
1162
|
+
both: "both";
|
|
1163
|
+
key: "key";
|
|
1164
|
+
none: "none";
|
|
1165
|
+
trust: "trust";
|
|
1166
|
+
}>;
|
|
1167
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
1168
|
+
trusts: z.ZodArray<z.ZodObject<{
|
|
1169
|
+
trustId: z.ZodString;
|
|
1170
|
+
issuer: z.ZodString;
|
|
1171
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1172
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1173
|
+
}, z.core.$strip>>;
|
|
1174
|
+
live: z.ZodBoolean;
|
|
1175
|
+
registeredAt: z.ZodISODateTime;
|
|
1176
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1177
|
+
}, z.core.$strip>;
|
|
1178
|
+
export type ConnectionView = z.output<typeof ConnectionView>;
|
|
1179
|
+
/** `GET /control-plane/connections`. */
|
|
1180
|
+
export declare const ControlPlaneConnectionsResponse: z.ZodObject<{
|
|
1181
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
1182
|
+
id: z.ZodString;
|
|
1183
|
+
environment: z.ZodString;
|
|
1184
|
+
actorKind: z.ZodNullable<z.ZodEnum<{
|
|
1185
|
+
agent: "agent";
|
|
1186
|
+
dashboard: "dashboard";
|
|
1187
|
+
script: "script";
|
|
1188
|
+
}>>;
|
|
1189
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
1190
|
+
authorizedBy: z.ZodNullable<z.ZodEmail>;
|
|
1191
|
+
credentialKind: z.ZodEnum<{
|
|
1192
|
+
both: "both";
|
|
1193
|
+
key: "key";
|
|
1194
|
+
none: "none";
|
|
1195
|
+
trust: "trust";
|
|
1196
|
+
}>;
|
|
1197
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
1198
|
+
trusts: z.ZodArray<z.ZodObject<{
|
|
1199
|
+
trustId: z.ZodString;
|
|
1200
|
+
issuer: z.ZodString;
|
|
1201
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1202
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1203
|
+
}, z.core.$strip>>;
|
|
1204
|
+
live: z.ZodBoolean;
|
|
1205
|
+
registeredAt: z.ZodISODateTime;
|
|
1206
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1207
|
+
}, z.core.$strip>>;
|
|
1208
|
+
unattributed: z.ZodArray<z.ZodObject<{
|
|
1209
|
+
id: z.ZodString;
|
|
1210
|
+
environment: z.ZodString;
|
|
1211
|
+
actorKind: z.ZodNullable<z.ZodEnum<{
|
|
1212
|
+
agent: "agent";
|
|
1213
|
+
dashboard: "dashboard";
|
|
1214
|
+
script: "script";
|
|
1215
|
+
}>>;
|
|
1216
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
1217
|
+
authorizedBy: z.ZodNullable<z.ZodEmail>;
|
|
1218
|
+
credentialKind: z.ZodEnum<{
|
|
1219
|
+
both: "both";
|
|
1220
|
+
key: "key";
|
|
1221
|
+
none: "none";
|
|
1222
|
+
trust: "trust";
|
|
1223
|
+
}>;
|
|
1224
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
1225
|
+
trusts: z.ZodArray<z.ZodObject<{
|
|
1226
|
+
trustId: z.ZodString;
|
|
1227
|
+
issuer: z.ZodString;
|
|
1228
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1229
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1230
|
+
}, z.core.$strip>>;
|
|
1231
|
+
live: z.ZodBoolean;
|
|
1232
|
+
registeredAt: z.ZodISODateTime;
|
|
1233
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1234
|
+
}, z.core.$strip>>;
|
|
1235
|
+
}, z.core.$strip>;
|
|
1236
|
+
export type ControlPlaneConnectionsResponse = z.output<typeof ControlPlaneConnectionsResponse>;
|
|
1237
|
+
/** `POST /control-plane/connections/:connectionId/revoke`. */
|
|
1238
|
+
export declare const RevokeConnectionResponse: z.ZodObject<{
|
|
1239
|
+
connection: z.ZodObject<{
|
|
1240
|
+
id: z.ZodString;
|
|
1241
|
+
environment: z.ZodString;
|
|
1242
|
+
actorKind: z.ZodNullable<z.ZodEnum<{
|
|
1243
|
+
agent: "agent";
|
|
1244
|
+
dashboard: "dashboard";
|
|
1245
|
+
script: "script";
|
|
1246
|
+
}>>;
|
|
1247
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
1248
|
+
authorizedBy: z.ZodNullable<z.ZodEmail>;
|
|
1249
|
+
credentialKind: z.ZodEnum<{
|
|
1250
|
+
both: "both";
|
|
1251
|
+
key: "key";
|
|
1252
|
+
none: "none";
|
|
1253
|
+
trust: "trust";
|
|
1254
|
+
}>;
|
|
1255
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
1256
|
+
trusts: z.ZodArray<z.ZodObject<{
|
|
1257
|
+
trustId: z.ZodString;
|
|
1258
|
+
issuer: z.ZodString;
|
|
1259
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1260
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1261
|
+
}, z.core.$strip>>;
|
|
1262
|
+
live: z.ZodBoolean;
|
|
1263
|
+
registeredAt: z.ZodISODateTime;
|
|
1264
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1265
|
+
}, z.core.$strip>;
|
|
1266
|
+
revokedKeyIds: z.ZodArray<z.ZodString>;
|
|
1267
|
+
revokedTrustIds: z.ZodArray<z.ZodString>;
|
|
1268
|
+
}, z.core.$strip>;
|
|
1269
|
+
export type RevokeConnectionResponse = z.output<typeof RevokeConnectionResponse>;
|
|
346
1270
|
//# sourceMappingURL=responses.d.ts.map
|