@eudiplo/cli 7.2.0-main.5fdd9ce → 7.2.0-main.b7bac52
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 +44 -0
- package/dist/commands/commands/index.d.ts +4 -0
- package/dist/commands/commands/index.d.ts.map +1 -0
- package/dist/commands/commands/index.js +13 -0
- package/dist/commands/commands/index.js.map +1 -0
- package/dist/commands/commands/render.d.ts +4 -0
- package/dist/commands/commands/render.d.ts.map +1 -0
- package/dist/commands/commands/render.js +52 -0
- package/dist/commands/commands/render.js.map +1 -0
- package/dist/commands/completion/action.d.ts +6 -0
- package/dist/commands/completion/action.d.ts.map +1 -0
- package/dist/commands/completion/action.js +133 -0
- package/dist/commands/completion/action.js.map +1 -0
- package/dist/commands/completion/index.d.ts +6 -0
- package/dist/commands/completion/index.d.ts.map +1 -0
- package/dist/commands/completion/index.js +23 -0
- package/dist/commands/completion/index.js.map +1 -0
- package/dist/commands/config/action.d.ts +4 -0
- package/dist/commands/config/action.d.ts.map +1 -0
- package/dist/commands/config/action.js +33 -0
- package/dist/commands/config/action.js.map +1 -0
- package/dist/commands/config/editor/action.d.ts +3 -0
- package/dist/commands/config/editor/action.d.ts.map +1 -0
- package/dist/commands/config/editor/action.js +112 -0
- package/dist/commands/config/editor/action.js.map +1 -0
- package/dist/commands/config/editor/index.d.ts +5 -0
- package/dist/commands/config/editor/index.d.ts.map +1 -0
- package/dist/commands/config/editor/index.js +20 -0
- package/dist/commands/config/editor/index.js.map +1 -0
- package/dist/commands/config/index.d.ts +1 -1
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +22 -0
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/portability/action.d.ts +5 -0
- package/dist/commands/config/portability/action.d.ts.map +1 -0
- package/dist/commands/config/portability/action.js +164 -0
- package/dist/commands/config/portability/action.js.map +1 -0
- package/dist/commands/config/portability/index.d.ts +5 -0
- package/dist/commands/config/portability/index.d.ts.map +1 -0
- package/dist/commands/config/portability/index.js +44 -0
- package/dist/commands/config/portability/index.js.map +1 -0
- package/dist/commands/config/portability/migrations.d.ts +24 -0
- package/dist/commands/config/portability/migrations.d.ts.map +1 -0
- package/dist/commands/config/portability/migrations.js +95 -0
- package/dist/commands/config/portability/migrations.js.map +1 -0
- package/dist/commands/config/portability/migrations.spec.d.ts +2 -0
- package/dist/commands/config/portability/migrations.spec.d.ts.map +1 -0
- package/dist/commands/config/portability/migrations.spec.js +32 -0
- package/dist/commands/config/portability/migrations.spec.js.map +1 -0
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +7 -4
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/tenant/index.d.ts.map +1 -1
- package/dist/commands/config/tenant/index.js.map +1 -1
- package/dist/commands/config/validate/action.d.ts.map +1 -1
- package/dist/commands/config/validate/action.js +3 -1
- package/dist/commands/config/validate/action.js.map +1 -1
- package/dist/commands/config/validate/registry.d.ts +1 -0
- package/dist/commands/config/validate/registry.d.ts.map +1 -1
- package/dist/commands/config/validate/registry.js +1 -1
- package/dist/commands/config/validate/registry.js.map +1 -1
- package/dist/commands/config/validate/registry.json +11 -22
- package/dist/commands/config/validate/report.d.ts.map +1 -1
- package/dist/commands/config/validate/report.js +6 -1
- package/dist/commands/config/validate/report.js.map +1 -1
- package/dist/commands/config/validate/schemas.d.ts +1 -0
- package/dist/commands/config/validate/schemas.d.ts.map +1 -1
- package/dist/commands/config/validate/schemas.js +16 -5
- package/dist/commands/config/validate/schemas.js.map +1 -1
- package/dist/commands/config/validate/types.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +13 -5
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/commands/demo/action.d.ts.map +1 -1
- package/dist/commands/demo/action.js +2 -1
- package/dist/commands/demo/action.js.map +1 -1
- package/dist/commands/demo/index.d.ts.map +1 -1
- package/dist/commands/demo/index.js.map +1 -1
- package/dist/commands/deployment/action.d.ts.map +1 -1
- package/dist/commands/deployment/action.js +10 -3
- package/dist/commands/deployment/action.js.map +1 -1
- package/dist/commands/deployment/index.d.ts.map +1 -1
- package/dist/commands/deployment/index.js.map +1 -1
- package/dist/commands/doctor/action.d.ts.map +1 -1
- package/dist/commands/doctor/action.js +1 -1
- package/dist/commands/doctor/action.js.map +1 -1
- package/dist/commands/init/action.d.ts.map +1 -1
- package/dist/commands/init/action.js +19 -6
- package/dist/commands/init/action.js.map +1 -1
- package/dist/commands/init/index.d.ts.map +1 -1
- package/dist/commands/init/index.js.map +1 -1
- package/dist/commands/instance/action.d.ts +4 -0
- package/dist/commands/instance/action.d.ts.map +1 -1
- package/dist/commands/instance/action.js +66 -1
- package/dist/commands/instance/action.js.map +1 -1
- package/dist/commands/instance/index.d.ts.map +1 -1
- package/dist/commands/instance/index.js +31 -1
- package/dist/commands/instance/index.js.map +1 -1
- package/dist/commands/shared.d.ts.map +1 -1
- package/dist/commands/shared.js +4 -1
- package/dist/commands/shared.js.map +1 -1
- package/dist/commands/status/action.d.ts.map +1 -1
- package/dist/commands/status/action.js.map +1 -1
- package/dist/commands/version/action.d.ts.map +1 -1
- package/dist/commands/version/action.js +3 -1
- package/dist/commands/version/action.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/runtime.d.ts +2 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +8 -1
- package/dist/runtime.js.map +1 -1
- package/dist/sea-assets.d.ts +4 -2
- package/dist/sea-assets.d.ts.map +1 -1
- package/dist/sea-assets.js +6 -3
- package/dist/sea-assets.js.map +1 -1
- package/dist/services/cli-config.d.ts +2 -0
- package/dist/services/cli-config.d.ts.map +1 -1
- package/dist/services/cli-config.js +22 -1
- package/dist/services/cli-config.js.map +1 -1
- package/dist/services/compose-project.d.ts.map +1 -1
- package/dist/services/compose-project.js +14 -6
- package/dist/services/compose-project.js.map +1 -1
- package/dist/services/deployment-drivers.d.ts.map +1 -1
- package/dist/services/deployment-drivers.js +20 -6
- package/dist/services/deployment-drivers.js.map +1 -1
- package/dist/services/diagnostics.d.ts.map +1 -1
- package/dist/services/diagnostics.js +3 -1
- package/dist/services/diagnostics.js.map +1 -1
- package/dist/services/instance-selection.d.ts.map +1 -1
- package/dist/services/instance-selection.js.map +1 -1
- package/dist/services/project-directory.d.ts.map +1 -1
- package/dist/services/project-directory.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -3
- package/templates/demo-config/issuance/issuance.json +20 -12
- package/templates/demo-config/key-chains/access.json +13 -2
- package/templates/demo-config/key-chains/attestation.json +15 -4
- package/templates/demo-config/key-chains/status-list.json +15 -4
- package/templates/demo-config/key-chains/trust-list.json +13 -2
- package/templates/demo-config/presentation/age-over-18.json +46 -53
- package/templates/demo-config/presentation/pid.json +44 -0
- package/templates/demo-config.manifest.json +1 -0
- package/templates/schemas/AttributeProviderAuth.schema.json +60 -0
- package/templates/schemas/AttributeProviderConfigFile.schema.json +37 -0
- package/templates/schemas/CertImportDto.schema.json +35 -0
- package/templates/schemas/ClientConfigFile.schema.json +37 -0
- package/templates/schemas/ConfigDocumentMetadata.schema.json +25 -0
- package/templates/schemas/CreateStatusListDto.schema.json +46 -0
- package/templates/schemas/CreateTenantDto.schema.json +116 -0
- package/templates/schemas/CredentialConfigFile.schema.json +37 -0
- package/templates/schemas/DCQL.schema.json +401 -0
- package/templates/schemas/EmbeddedDisclosurePolicy.schema.json +106 -0
- package/templates/schemas/ImportTenantDto.schema.json +69 -0
- package/templates/schemas/IssuanceConfigFile.schema.json +32 -0
- package/templates/schemas/KeyChainConfigFile.schema.json +101 -0
- package/templates/schemas/KeyChainCreateDto.schema.json +66 -0
- package/templates/schemas/KeyChainUpdateDto.schema.json +40 -0
- package/templates/schemas/KmsConfigFile.schema.json +37 -0
- package/templates/schemas/PresentationConfigFile.schema.json +32 -0
- package/templates/schemas/RegistrarConfigFile.schema.json +37 -0
- package/templates/schemas/RotationPolicyCreateDto.schema.json +28 -0
- package/templates/schemas/RotationPolicyUpdateDto.schema.json +25 -0
- package/templates/schemas/SessionStorageConfig.schema.json +24 -0
- package/templates/schemas/StatusListConfig.schema.json +51 -0
- package/templates/schemas/StatusListConfigFile.schema.json +37 -0
- package/templates/schemas/TransactionData.schema.json +24 -0
- package/templates/schemas/TrustListConfigFile.schema.json +37 -0
- package/templates/schemas/UpdateAttributeProviderDto.schema.json +93 -0
- package/templates/schemas/UpdateClientDto.schema.json +62 -0
- package/templates/schemas/UpdateStatusListConfigDto.schema.json +85 -0
- package/templates/schemas/UpdateStatusListDto.schema.json +33 -0
- package/templates/schemas/UpdateTenantDto.schema.json +96 -0
- package/templates/schemas/UpdateWebhookEndpointDto.schema.json +93 -0
- package/templates/schemas/VCT.schema.json +37 -0
- package/templates/schemas/WebhookConfig.schema.json +80 -0
- package/templates/schemas/WebhookEndpointConfigFile.schema.json +37 -0
- package/templates/schemas.manifest.json +34 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./StatusListConfigFile.schema.json",
|
|
4
|
+
"title": "StatusListConfigFile",
|
|
5
|
+
"description": "A status-list configuration file in legacy payload or versioned-envelope form.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "./StatusListImportDto.schema.json"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"apiVersion": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "eudiplo.io/status-list/v1"
|
|
16
|
+
},
|
|
17
|
+
"kind": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "StatusList"
|
|
20
|
+
},
|
|
21
|
+
"metadata": {
|
|
22
|
+
"$ref": "./ConfigDocumentMetadata.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"spec": {
|
|
25
|
+
"$ref": "./StatusListImportDto.schema.json"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"apiVersion",
|
|
30
|
+
"kind",
|
|
31
|
+
"metadata",
|
|
32
|
+
"spec"
|
|
33
|
+
],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"type": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Transaction data type identifier."
|
|
8
|
+
},
|
|
9
|
+
"credential_ids": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"description": "Credential query ids this transaction data applies to."
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"type",
|
|
19
|
+
"credential_ids"
|
|
20
|
+
],
|
|
21
|
+
"additionalProperties": {},
|
|
22
|
+
"$id": "./TransactionData.schema.json",
|
|
23
|
+
"title": "TransactionData"
|
|
24
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./TrustListConfigFile.schema.json",
|
|
4
|
+
"title": "TrustListConfigFile",
|
|
5
|
+
"description": "A trust-list configuration file in legacy payload or versioned-envelope form.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "./TrustListCreateDto.schema.json"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"apiVersion": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "eudiplo.io/trust-list/v1"
|
|
16
|
+
},
|
|
17
|
+
"kind": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "TrustList"
|
|
20
|
+
},
|
|
21
|
+
"metadata": {
|
|
22
|
+
"$ref": "./ConfigDocumentMetadata.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"spec": {
|
|
25
|
+
"$ref": "./TrustListCreateDto.schema.json"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"apiVersion",
|
|
30
|
+
"kind",
|
|
31
|
+
"metadata",
|
|
32
|
+
"spec"
|
|
33
|
+
],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"id": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"description": "Unique attribute provider identifier."
|
|
9
|
+
},
|
|
10
|
+
"name": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 1,
|
|
13
|
+
"description": "Display name of the attribute provider."
|
|
14
|
+
},
|
|
15
|
+
"description": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "null"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"description": "Optional attribute provider description."
|
|
26
|
+
},
|
|
27
|
+
"url": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "uri",
|
|
30
|
+
"description": "Base URL of the attribute provider endpoint."
|
|
31
|
+
},
|
|
32
|
+
"auth": {
|
|
33
|
+
"oneOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "none",
|
|
40
|
+
"description": "Disable authentication for attribute provider calls."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"type"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "No authentication variant."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"type": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"const": "apiKey",
|
|
55
|
+
"description": "Use API key authentication."
|
|
56
|
+
},
|
|
57
|
+
"config": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"headerName": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1,
|
|
63
|
+
"description": "HTTP header name carrying the API key."
|
|
64
|
+
},
|
|
65
|
+
"value": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"description": "API key value."
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"headerName",
|
|
73
|
+
"value"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "API key authentication settings."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"type",
|
|
81
|
+
"config"
|
|
82
|
+
],
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"description": "API key authentication variant."
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": "Authentication configuration for outbound provider requests."
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"$id": "./UpdateAttributeProviderDto.schema.json",
|
|
92
|
+
"title": "UpdateAttributeProviderDto"
|
|
93
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"description": {
|
|
6
|
+
"description": "Optional updated description.",
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
9
|
+
},
|
|
10
|
+
"roles": {
|
|
11
|
+
"description": "Optional replacement roles for the client.",
|
|
12
|
+
"minItems": 1,
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"presentation:manage",
|
|
18
|
+
"presentation:request",
|
|
19
|
+
"issuance:manage",
|
|
20
|
+
"issuance:offer",
|
|
21
|
+
"clients:manage",
|
|
22
|
+
"users:manage",
|
|
23
|
+
"tenants:manage",
|
|
24
|
+
"registrar:manage"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"allowedPresentationConfigs": {
|
|
29
|
+
"description": "Optional replacement allow-list of presentation config ids.",
|
|
30
|
+
"anyOf": [
|
|
31
|
+
{
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "null"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"allowedIssuanceConfigs": {
|
|
44
|
+
"description": "Optional replacement allow-list of issuance config ids.",
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "null"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false,
|
|
60
|
+
"$id": "./UpdateClientDto.schema.json",
|
|
61
|
+
"title": "UpdateClientDto"
|
|
62
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"capacity": {
|
|
6
|
+
"description": "Capacity override. Set null to reset to defaults.",
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "integer",
|
|
10
|
+
"minimum": 100,
|
|
11
|
+
"maximum": 9007199254740991
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "null"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"bits": {
|
|
19
|
+
"description": "Bits-per-status override. Set null to reset to defaults.",
|
|
20
|
+
"anyOf": [
|
|
21
|
+
{
|
|
22
|
+
"anyOf": [
|
|
23
|
+
{
|
|
24
|
+
"type": "number",
|
|
25
|
+
"const": 1
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "number",
|
|
29
|
+
"const": 2
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "number",
|
|
33
|
+
"const": 4
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "number",
|
|
37
|
+
"const": 8
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "null"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"ttl": {
|
|
47
|
+
"description": "JWT TTL override in seconds. Set null to reset.",
|
|
48
|
+
"anyOf": [
|
|
49
|
+
{
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"minimum": 60,
|
|
52
|
+
"maximum": 9007199254740991
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "null"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"immediateUpdate": {
|
|
60
|
+
"description": "Immediate regeneration toggle. Set null to reset.",
|
|
61
|
+
"anyOf": [
|
|
62
|
+
{
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "null"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"enableAggregation": {
|
|
71
|
+
"description": "Aggregation URI toggle. Set null to reset.",
|
|
72
|
+
"anyOf": [
|
|
73
|
+
{
|
|
74
|
+
"type": "boolean"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "null"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"$id": "./UpdateStatusListConfigDto.schema.json",
|
|
84
|
+
"title": "UpdateStatusListConfigDto"
|
|
85
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"credentialConfigurationId": {
|
|
6
|
+
"description": "Updated credential configuration binding. Null means shared list.",
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "string",
|
|
10
|
+
"minLength": 1
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "null"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"keyChainId": {
|
|
18
|
+
"description": "Updated key chain id. Null means use tenant default.",
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "null"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"$id": "./UpdateStatusListDto.schema.json",
|
|
32
|
+
"title": "UpdateStatusListDto"
|
|
33
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"name": {
|
|
6
|
+
"description": "Display name of the tenant.",
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
9
|
+
},
|
|
10
|
+
"description": {
|
|
11
|
+
"description": "Tenant description. Omit to keep the current value or set to null to remove it.",
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "null"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"sessionConfig": {
|
|
23
|
+
"description": "Optional tenant-specific session storage configuration.",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"ttlSeconds": {
|
|
27
|
+
"description": "Session time-to-live in seconds.",
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 60,
|
|
30
|
+
"maximum": 9007199254740991
|
|
31
|
+
},
|
|
32
|
+
"cleanupMode": {
|
|
33
|
+
"description": "Whether to fully delete or anonymize expired sessions.",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"full",
|
|
37
|
+
"anonymize"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
},
|
|
43
|
+
"statusListConfig": {
|
|
44
|
+
"description": "Optional tenant-specific status list defaults.",
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"capacity": {
|
|
48
|
+
"description": "Default status list capacity.",
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"minimum": 100,
|
|
51
|
+
"maximum": 9007199254740991
|
|
52
|
+
},
|
|
53
|
+
"bits": {
|
|
54
|
+
"description": "Bits-per-status setting (1, 2, 4, or 8).",
|
|
55
|
+
"anyOf": [
|
|
56
|
+
{
|
|
57
|
+
"type": "number",
|
|
58
|
+
"const": 1
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "number",
|
|
62
|
+
"const": 2
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "number",
|
|
66
|
+
"const": 4
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "number",
|
|
70
|
+
"const": 8
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"ttl": {
|
|
75
|
+
"description": "JWT TTL for status list tokens in seconds.",
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"minimum": 60,
|
|
78
|
+
"maximum": 9007199254740991
|
|
79
|
+
},
|
|
80
|
+
"immediateUpdate": {
|
|
81
|
+
"description": "Regenerate status list JWTs immediately after status updates.",
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
"enableAggregation": {
|
|
85
|
+
"description": "Include aggregation_uri in generated status list JWTs.",
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"description": "Payload for partially updating tenant metadata.",
|
|
94
|
+
"$id": "./UpdateTenantDto.schema.json",
|
|
95
|
+
"title": "UpdateTenantDto"
|
|
96
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"id": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"description": "Unique webhook endpoint identifier."
|
|
9
|
+
},
|
|
10
|
+
"name": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 1,
|
|
13
|
+
"description": "Display name of the webhook endpoint."
|
|
14
|
+
},
|
|
15
|
+
"description": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "null"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"description": "Optional webhook endpoint description."
|
|
26
|
+
},
|
|
27
|
+
"url": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "uri",
|
|
30
|
+
"description": "Destination URL for webhook delivery."
|
|
31
|
+
},
|
|
32
|
+
"auth": {
|
|
33
|
+
"oneOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "none",
|
|
40
|
+
"description": "Disable webhook authentication."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"type"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "No webhook authentication variant."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"type": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"const": "apiKey",
|
|
55
|
+
"description": "Use API key authentication for webhook requests."
|
|
56
|
+
},
|
|
57
|
+
"config": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"headerName": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1,
|
|
63
|
+
"description": "HTTP header name for the API key."
|
|
64
|
+
},
|
|
65
|
+
"value": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"description": "API key value sent with webhook requests."
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"headerName",
|
|
73
|
+
"value"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "API key webhook authentication settings."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"type",
|
|
81
|
+
"config"
|
|
82
|
+
],
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"description": "API key webhook authentication variant."
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": "Authentication configuration applied to outgoing webhook requests."
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"$id": "./UpdateWebhookEndpointDto.schema.json",
|
|
92
|
+
"title": "UpdateWebhookEndpointDto"
|
|
93
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"vct": {
|
|
6
|
+
"description": "VCT identifier.",
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"name": {
|
|
10
|
+
"description": "Human-readable VCT name.",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"description": "Optional VCT description.",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"extends": {
|
|
18
|
+
"description": "Optional base VCT reference.",
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"extends#integrity": {
|
|
22
|
+
"description": "Integrity hash for the extends reference.",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"schema_uri": {
|
|
26
|
+
"description": "Optional schema URI for the VCT.",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"schema_uri#integrity": {
|
|
30
|
+
"description": "Integrity hash for schema_uri.",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"$id": "./VCT.schema.json",
|
|
36
|
+
"title": "VCT"
|
|
37
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"url": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"description": "The URL to which the webhook will send notifications."
|
|
9
|
+
},
|
|
10
|
+
"auth": {
|
|
11
|
+
"oneOf": [
|
|
12
|
+
{
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"type": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": "none",
|
|
18
|
+
"description": "Disable authentication."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"type"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"type": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"const": "apiKey",
|
|
32
|
+
"description": "Use API key authentication."
|
|
33
|
+
},
|
|
34
|
+
"config": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"headerName": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"description": "The header name used to send the API key."
|
|
41
|
+
},
|
|
42
|
+
"value": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"minLength": 1,
|
|
45
|
+
"description": "The API key value."
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"headerName",
|
|
50
|
+
"value"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"description": "API key authentication settings."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"type",
|
|
58
|
+
"config"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"description": "Webhook authentication strategy."
|
|
64
|
+
},
|
|
65
|
+
"includeRawTokensFor": {
|
|
66
|
+
"description": "List of credential IDs to include raw tokens for (for example ['sca_credential']).",
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"url",
|
|
75
|
+
"auth"
|
|
76
|
+
],
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"$id": "./WebhookConfig.schema.json",
|
|
79
|
+
"title": "WebhookConfig"
|
|
80
|
+
}
|