@3sixty/immutable-proof-models 0.0.0-stage → 0.20.0-next.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.
Files changed (108) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +24 -2
  3. package/dist/es/compiled/validators.js +294 -0
  4. package/dist/es/compiled/validators.js.map +1 -0
  5. package/dist/es/dataTypes/immutableProofDataTypes.js +55 -0
  6. package/dist/es/dataTypes/immutableProofDataTypes.js.map +1 -0
  7. package/dist/es/index.js +24 -0
  8. package/dist/es/index.js.map +1 -0
  9. package/dist/es/models/IImmutableProof.js +2 -0
  10. package/dist/es/models/IImmutableProof.js.map +1 -0
  11. package/dist/es/models/IImmutableProofComponent.js +2 -0
  12. package/dist/es/models/IImmutableProofComponent.js.map +1 -0
  13. package/dist/es/models/IImmutableProofCredential.js +2 -0
  14. package/dist/es/models/IImmutableProofCredential.js.map +1 -0
  15. package/dist/es/models/IImmutableProofDataIntegrity.js +4 -0
  16. package/dist/es/models/IImmutableProofDataIntegrity.js.map +1 -0
  17. package/dist/es/models/IImmutableProofVerification.js +2 -0
  18. package/dist/es/models/IImmutableProofVerification.js.map +1 -0
  19. package/dist/es/models/api/IImmutableProofCreateRequest.js +2 -0
  20. package/dist/es/models/api/IImmutableProofCreateRequest.js.map +1 -0
  21. package/dist/es/models/api/IImmutableProofGetRequest.js +2 -0
  22. package/dist/es/models/api/IImmutableProofGetRequest.js.map +1 -0
  23. package/dist/es/models/api/IImmutableProofGetResponse.js +2 -0
  24. package/dist/es/models/api/IImmutableProofGetResponse.js.map +1 -0
  25. package/dist/es/models/api/IImmutableProofRemoveNotarizationRequest.js +4 -0
  26. package/dist/es/models/api/IImmutableProofRemoveNotarizationRequest.js.map +1 -0
  27. package/dist/es/models/api/IImmutableProofRemoveRequest.js +4 -0
  28. package/dist/es/models/api/IImmutableProofRemoveRequest.js.map +1 -0
  29. package/dist/es/models/api/IImmutableProofVerifyRequest.js +2 -0
  30. package/dist/es/models/api/IImmutableProofVerifyRequest.js.map +1 -0
  31. package/dist/es/models/api/IImmutableProofVerifyResponse.js +2 -0
  32. package/dist/es/models/api/IImmutableProofVerifyResponse.js.map +1 -0
  33. package/dist/es/models/eventBus/IImmutableProofEventBusProofCreated.js +4 -0
  34. package/dist/es/models/eventBus/IImmutableProofEventBusProofCreated.js.map +1 -0
  35. package/dist/es/models/immutableProofContexts.js +33 -0
  36. package/dist/es/models/immutableProofContexts.js.map +1 -0
  37. package/dist/es/models/immutableProofFailure.js +25 -0
  38. package/dist/es/models/immutableProofFailure.js.map +1 -0
  39. package/dist/es/models/immutableProofMetricIds.js +33 -0
  40. package/dist/es/models/immutableProofMetricIds.js.map +1 -0
  41. package/dist/es/models/immutableProofMetrics.js +42 -0
  42. package/dist/es/models/immutableProofMetrics.js.map +1 -0
  43. package/dist/es/models/immutableProofTopics.js +13 -0
  44. package/dist/es/models/immutableProofTopics.js.map +1 -0
  45. package/dist/es/models/immutableProofTypes.js +21 -0
  46. package/dist/es/models/immutableProofTypes.js.map +1 -0
  47. package/dist/es/schemas/ImmutableProof.json +39 -0
  48. package/dist/es/schemas/ImmutableProofCredential.json +25 -0
  49. package/dist/es/schemas/ImmutableProofDataIntegrity.json +13 -0
  50. package/dist/es/schemas/ImmutableProofFailure.json +24 -0
  51. package/dist/es/schemas/ImmutableProofVerification.json +30 -0
  52. package/dist/types/compiled/validators.d.ts +21 -0
  53. package/dist/types/dataTypes/immutableProofDataTypes.d.ts +9 -0
  54. package/dist/types/index.d.ts +21 -0
  55. package/dist/types/models/IImmutableProof.d.ts +24 -0
  56. package/dist/types/models/IImmutableProofComponent.d.ts +47 -0
  57. package/dist/types/models/IImmutableProofCredential.d.ts +11 -0
  58. package/dist/types/models/IImmutableProofDataIntegrity.d.ts +10 -0
  59. package/dist/types/models/IImmutableProofVerification.d.ts +26 -0
  60. package/dist/types/models/api/IImmutableProofCreateRequest.d.ts +25 -0
  61. package/dist/types/models/api/IImmutableProofGetRequest.d.ts +21 -0
  62. package/dist/types/models/api/IImmutableProofGetResponse.d.ts +17 -0
  63. package/dist/types/models/api/IImmutableProofRemoveNotarizationRequest.d.ts +14 -0
  64. package/dist/types/models/api/IImmutableProofRemoveRequest.d.ts +14 -0
  65. package/dist/types/models/api/IImmutableProofVerifyRequest.d.ts +21 -0
  66. package/dist/types/models/api/IImmutableProofVerifyResponse.d.ts +17 -0
  67. package/dist/types/models/eventBus/IImmutableProofEventBusProofCreated.d.ts +9 -0
  68. package/dist/types/models/immutableProofContexts.d.ts +33 -0
  69. package/dist/types/models/immutableProofFailure.d.ts +25 -0
  70. package/dist/types/models/immutableProofMetricIds.d.ts +33 -0
  71. package/dist/types/models/immutableProofMetrics.d.ts +5 -0
  72. package/dist/types/models/immutableProofTopics.d.ts +13 -0
  73. package/dist/types/models/immutableProofTypes.d.ts +21 -0
  74. package/docs/changelog.md +0 -0
  75. package/docs/examples.md +72 -0
  76. package/docs/reference/classes/ImmutableProofDataTypes.md +25 -0
  77. package/docs/reference/index.md +43 -0
  78. package/docs/reference/interfaces/IImmutableProof.md +35 -0
  79. package/docs/reference/interfaces/IImmutableProofComponent.md +143 -0
  80. package/docs/reference/interfaces/IImmutableProofCreateRequest.md +30 -0
  81. package/docs/reference/interfaces/IImmutableProofCredential.md +15 -0
  82. package/docs/reference/interfaces/IImmutableProofDataIntegrity.md +11 -0
  83. package/docs/reference/interfaces/IImmutableProofEventBusProofCreated.md +11 -0
  84. package/docs/reference/interfaces/IImmutableProofGetRequest.md +29 -0
  85. package/docs/reference/interfaces/IImmutableProofGetResponse.md +23 -0
  86. package/docs/reference/interfaces/IImmutableProofRemoveNotarizationRequest.md +17 -0
  87. package/docs/reference/interfaces/IImmutableProofRemoveRequest.md +17 -0
  88. package/docs/reference/interfaces/IImmutableProofVerification.md +35 -0
  89. package/docs/reference/interfaces/IImmutableProofVerifyRequest.md +29 -0
  90. package/docs/reference/interfaces/IImmutableProofVerifyResponse.md +23 -0
  91. package/docs/reference/type-aliases/ImmutableProofContexts.md +5 -0
  92. package/docs/reference/type-aliases/ImmutableProofFailure.md +5 -0
  93. package/docs/reference/type-aliases/ImmutableProofMetricIds.md +5 -0
  94. package/docs/reference/type-aliases/ImmutableProofTopics.md +5 -0
  95. package/docs/reference/type-aliases/ImmutableProofTypes.md +5 -0
  96. package/docs/reference/variables/CompiledImmutableProof.md +5 -0
  97. package/docs/reference/variables/CompiledImmutableProofCredential.md +5 -0
  98. package/docs/reference/variables/CompiledImmutableProofDataIntegrity.md +5 -0
  99. package/docs/reference/variables/CompiledImmutableProofFailure.md +5 -0
  100. package/docs/reference/variables/CompiledImmutableProofVerification.md +5 -0
  101. package/docs/reference/variables/ImmutableProofContexts.md +43 -0
  102. package/docs/reference/variables/ImmutableProofFailure.md +31 -0
  103. package/docs/reference/variables/ImmutableProofMetricIds.md +43 -0
  104. package/docs/reference/variables/ImmutableProofMetrics.md +5 -0
  105. package/docs/reference/variables/ImmutableProofTopics.md +13 -0
  106. package/docs/reference/variables/ImmutableProofTypes.md +25 -0
  107. package/locales/en.json +3 -0
  108. package/package.json +56 -5
@@ -0,0 +1,143 @@
1
+ # Interface: IImmutableProofComponent
2
+
3
+ Interface describing an immutable proof contract.
4
+
5
+ ## Extends
6
+
7
+ - `IComponent`
8
+
9
+ ## Methods
10
+
11
+ ### create() {#create}
12
+
13
+ > **create**(`document`, `options?`): `Promise`\<`string`\>
14
+
15
+ Create a new proof.
16
+
17
+ #### Parameters
18
+
19
+ ##### document
20
+
21
+ `IJsonLdNodeObject`
22
+
23
+ The document to create the proof for.
24
+
25
+ ##### options?
26
+
27
+ Optional settings for the proof.
28
+
29
+ ###### deleteLock?
30
+
31
+ `string`
32
+
33
+ An ISO 8601 date-time string specifying when the notarization lock expires; if omitted no lock is applied.
34
+
35
+ #### Returns
36
+
37
+ `Promise`\<`string`\>
38
+
39
+ The id of the new proof.
40
+
41
+ ***
42
+
43
+ ### get() {#get}
44
+
45
+ > **get**(`id`): `Promise`\<[`IImmutableProofCredential`](IImmutableProofCredential.md)\>
46
+
47
+ Get a proof.
48
+
49
+ #### Parameters
50
+
51
+ ##### id
52
+
53
+ `string`
54
+
55
+ The id of the proof to get.
56
+
57
+ #### Returns
58
+
59
+ `Promise`\<[`IImmutableProofCredential`](IImmutableProofCredential.md)\>
60
+
61
+ The proof.
62
+
63
+ #### Throws
64
+
65
+ NotFoundError if the proof is not found.
66
+
67
+ ***
68
+
69
+ ### verify() {#verify}
70
+
71
+ > **verify**(`id`): `Promise`\<[`IImmutableProofVerification`](IImmutableProofVerification.md)\>
72
+
73
+ Verify a proof.
74
+
75
+ #### Parameters
76
+
77
+ ##### id
78
+
79
+ `string`
80
+
81
+ The id of the proof to verify.
82
+
83
+ #### Returns
84
+
85
+ `Promise`\<[`IImmutableProofVerification`](IImmutableProofVerification.md)\>
86
+
87
+ The result of the verification and any failures.
88
+
89
+ #### Throws
90
+
91
+ NotFoundError if the proof is not found.
92
+
93
+ ***
94
+
95
+ ### remove() {#remove}
96
+
97
+ > **remove**(`id`): `Promise`\<`void`\>
98
+
99
+ Remove the proof and its notarization.
100
+
101
+ #### Parameters
102
+
103
+ ##### id
104
+
105
+ `string`
106
+
107
+ The id of the proof to remove.
108
+
109
+ #### Returns
110
+
111
+ `Promise`\<`void`\>
112
+
113
+ A promise that resolves when the proof and its notarization have been removed.
114
+
115
+ #### Throws
116
+
117
+ NotFoundError if the proof is not found.
118
+
119
+ ***
120
+
121
+ ### removeNotarization() {#removenotarization}
122
+
123
+ > **removeNotarization**(`id`): `Promise`\<`void`\>
124
+
125
+ Remove only the notarization for the proof, keeping the proof entity.
126
+
127
+ #### Parameters
128
+
129
+ ##### id
130
+
131
+ `string`
132
+
133
+ The id of the proof to remove the notarization from.
134
+
135
+ #### Returns
136
+
137
+ `Promise`\<`void`\>
138
+
139
+ A promise that resolves when the notarization has been removed.
140
+
141
+ #### Throws
142
+
143
+ NotFoundError if the proof is not found.
@@ -0,0 +1,30 @@
1
+ # Interface: IImmutableProofCreateRequest
2
+
3
+ Create a proof.
4
+
5
+ ## Properties
6
+
7
+ ### body {#body}
8
+
9
+ > **body**: `object`
10
+
11
+ The parameters from the body.
12
+
13
+ #### document
14
+
15
+ > **document**: `IJsonLdNodeObject`
16
+
17
+ The document to create the proof for.
18
+
19
+ #### options?
20
+
21
+ > `optional` **options?**: `object`
22
+
23
+ Optional settings for the proof.
24
+
25
+ ##### options.deleteLock?
26
+
27
+ > `optional` **deleteLock?**: `string`
28
+
29
+ An ISO 8601 date-time string specifying when the notarization lock expires.
30
+ If omitted, no deletion lock is applied.
@@ -0,0 +1,15 @@
1
+ # Interface: IImmutableProofCredential
2
+
3
+ Interface describing an immutable proof credential.
4
+
5
+ ## Extends
6
+
7
+ - `Omit`\<`IDidVerifiableCredential`, `"proof"`\>
8
+
9
+ ## Properties
10
+
11
+ ### proof? {#proof}
12
+
13
+ > `optional` **proof?**: IProof & IImmutableProofDataIntegrity
14
+
15
+ The proof of the verifiable credential, which includes the data integrity information.
@@ -0,0 +1,11 @@
1
+ # Interface: IImmutableProofDataIntegrity
2
+
3
+ Interface describing additional data integrity fields attached.
4
+
5
+ ## Properties
6
+
7
+ ### notarizationId? {#notarizationid}
8
+
9
+ > `optional` **notarizationId?**: `string`
10
+
11
+ The notarization id.
@@ -0,0 +1,11 @@
1
+ # Interface: IImmutableProofEventBusProofCreated
2
+
3
+ Event bus payload for proof created.
4
+
5
+ ## Properties
6
+
7
+ ### id {#id}
8
+
9
+ > **id**: `string`
10
+
11
+ The id of the proof created.
@@ -0,0 +1,29 @@
1
+ # Interface: IImmutableProofGetRequest
2
+
3
+ Get a proof.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The parameters from the path.
24
+
25
+ #### id
26
+
27
+ > **id**: `string`
28
+
29
+ The id of the immutable proof to get.
@@ -0,0 +1,23 @@
1
+ # Interface: IImmutableProofGetResponse
2
+
3
+ Response to getting an immutable proof.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IImmutableProofCredential`](IImmutableProofCredential.md)
22
+
23
+ The response body.
@@ -0,0 +1,17 @@
1
+ # Interface: IImmutableProofRemoveNotarizationRequest
2
+
3
+ Remove the notarization for a proof.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The parameters from the path.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the immutable proof to remove the notarization from.
@@ -0,0 +1,17 @@
1
+ # Interface: IImmutableProofRemoveRequest
2
+
3
+ Remove a proof.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The parameters from the path.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the immutable proof to remove.
@@ -0,0 +1,35 @@
1
+ # Interface: IImmutableProofVerification
2
+
3
+ Interface describing an immutable proof verification.
4
+
5
+ ## Properties
6
+
7
+ ### @context {#context}
8
+
9
+ > **@context**: `"https://schema.3sixty.global/immutable-proof/"`
10
+
11
+ JSON-LD Context.
12
+
13
+ ***
14
+
15
+ ### type {#type}
16
+
17
+ > **type**: `"ImmutableProofVerification"`
18
+
19
+ JSON-LD Type.
20
+
21
+ ***
22
+
23
+ ### verified {#verified}
24
+
25
+ > **verified**: `boolean`
26
+
27
+ Was the verification successful.
28
+
29
+ ***
30
+
31
+ ### failure? {#failure}
32
+
33
+ > `optional` **failure?**: [`ImmutableProofFailure`](../type-aliases/ImmutableProofFailure.md)
34
+
35
+ If the verification was unsuccessful the failure reason.
@@ -0,0 +1,29 @@
1
+ # Interface: IImmutableProofVerifyRequest
2
+
3
+ Verify a proof.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The parameters from the path.
24
+
25
+ #### id
26
+
27
+ > **id**: `string`
28
+
29
+ The id of the immutable proof to verify.
@@ -0,0 +1,23 @@
1
+ # Interface: IImmutableProofVerifyResponse
2
+
3
+ Response to verifying an immutable proof.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IImmutableProofVerification`](IImmutableProofVerification.md)
22
+
23
+ The response body.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofContexts
2
+
3
+ > **ImmutableProofContexts** = *typeof* [`ImmutableProofContexts`](../variables/ImmutableProofContexts.md)\[keyof *typeof* [`ImmutableProofContexts`](../variables/ImmutableProofContexts.md)\]
4
+
5
+ The contexts of immutable proof data.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofFailure
2
+
3
+ > **ImmutableProofFailure** = *typeof* [`ImmutableProofFailure`](../variables/ImmutableProofFailure.md)\[keyof *typeof* [`ImmutableProofFailure`](../variables/ImmutableProofFailure.md)\]
4
+
5
+ The failure reason of the proof.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofMetricIds
2
+
3
+ > **ImmutableProofMetricIds** = *typeof* [`ImmutableProofMetricIds`](../variables/ImmutableProofMetricIds.md)\[keyof *typeof* [`ImmutableProofMetricIds`](../variables/ImmutableProofMetricIds.md)\]
4
+
5
+ Union type of all immutable proof service metric ID string values.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofTopics
2
+
3
+ > **ImmutableProofTopics** = *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\[keyof *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\]
4
+
5
+ The topics for immutable proof event bus notifications.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofTypes
2
+
3
+ > **ImmutableProofTypes** = *typeof* [`ImmutableProofTypes`](../variables/ImmutableProofTypes.md)\[keyof *typeof* [`ImmutableProofTypes`](../variables/ImmutableProofTypes.md)\]
4
+
5
+ The types of immutable proof data.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledImmutableProof
2
+
3
+ > `const` **CompiledImmutableProof**: `ICompiledValidator` = `validate52`
4
+
5
+ Compiled validator for the ImmutableProof schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledImmutableProofCredential
2
+
3
+ > `const` **CompiledImmutableProofCredential**: `ICompiledValidator` = `validate53`
4
+
5
+ Compiled validator for the ImmutableProofCredential schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledImmutableProofDataIntegrity
2
+
3
+ > `const` **CompiledImmutableProofDataIntegrity**: `ICompiledValidator` = `validate54`
4
+
5
+ Compiled validator for the ImmutableProofDataIntegrity schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledImmutableProofFailure
2
+
3
+ > `const` **CompiledImmutableProofFailure**: `ICompiledValidator` = `validate57`
4
+
5
+ Compiled validator for the ImmutableProofFailure schema.
@@ -0,0 +1,5 @@
1
+ # Variable: CompiledImmutableProofVerification
2
+
3
+ > `const` **CompiledImmutableProofVerification**: `ICompiledValidator` = `validate56`
4
+
5
+ Compiled validator for the ImmutableProofVerification schema.
@@ -0,0 +1,43 @@
1
+ # Variable: ImmutableProofContexts
2
+
3
+ > `const` **ImmutableProofContexts**: `object`
4
+
5
+ The contexts of immutable proof data.
6
+
7
+ ## Type Declaration
8
+
9
+ ### Namespace {#namespace}
10
+
11
+ > `readonly` **Namespace**: `"https://schema.3sixty.global/immutable-proof/"` = `"https://schema.3sixty.global/immutable-proof/"`
12
+
13
+ The canonical RDF namespace URI for Immutable Proof.
14
+
15
+ ### Context {#context}
16
+
17
+ > `readonly` **Context**: `"https://schema.3sixty.global/immutable-proof/"` = `"https://schema.3sixty.global/immutable-proof/"`
18
+
19
+ The value to use in context for Immutable Proof.
20
+
21
+ ### JsonLdContext {#jsonldcontext}
22
+
23
+ > `readonly` **JsonLdContext**: `"https://schema.3sixty.global/immutable-proof/types.jsonld"` = `"https://schema.3sixty.global/immutable-proof/types.jsonld"`
24
+
25
+ The JSON-LD Context URL for Immutable Proof.
26
+
27
+ ### NamespaceCommon {#namespacecommon}
28
+
29
+ > `readonly` **NamespaceCommon**: `"https://schema.3sixty.global/common/"` = `"https://schema.3sixty.global/common/"`
30
+
31
+ The canonical RDF namespace URI for TWIN Common.
32
+
33
+ ### ContextCommon {#contextcommon}
34
+
35
+ > `readonly` **ContextCommon**: `"https://schema.3sixty.global/common/"` = `"https://schema.3sixty.global/common/"`
36
+
37
+ The value to use in JSON-LD context for TWIN Common.
38
+
39
+ ### JsonLdContextCommon {#jsonldcontextcommon}
40
+
41
+ > `readonly` **JsonLdContextCommon**: `"https://schema.3sixty.global/common/types.jsonld"` = `"https://schema.3sixty.global/common/types.jsonld"`
42
+
43
+ The JSON-LD Context URL for TWIN Common.
@@ -0,0 +1,31 @@
1
+ # Variable: ImmutableProofFailure
2
+
3
+ > `const` **ImmutableProofFailure**: `object`
4
+
5
+ The failure reason of the proof.
6
+
7
+ ## Type Declaration
8
+
9
+ ### NotIssued {#notissued}
10
+
11
+ > `readonly` **NotIssued**: `"notIssued"` = `"notIssued"`
12
+
13
+ Proof not yet issued.
14
+
15
+ ### ProofMissing {#proofmissing}
16
+
17
+ > `readonly` **ProofMissing**: `"proofMissing"` = `"proofMissing"`
18
+
19
+ Proof missing.
20
+
21
+ ### VerificationFailure {#verificationfailure}
22
+
23
+ > `readonly` **VerificationFailure**: `"verificationFailure"` = `"verificationFailure"`
24
+
25
+ Verification failure.
26
+
27
+ ### Revoked {#revoked}
28
+
29
+ > `readonly` **Revoked**: `"revoked"` = `"revoked"`
30
+
31
+ Revoked.
@@ -0,0 +1,43 @@
1
+ # Variable: ImmutableProofMetricIds
2
+
3
+ > `const` **ImmutableProofMetricIds**: `object`
4
+
5
+ Metric IDs for the immutable proof service.
6
+
7
+ ## Type Declaration
8
+
9
+ ### ProofsCreated {#proofscreated}
10
+
11
+ > `readonly` **ProofsCreated**: `"ip_proofs_created"` = `"ip_proofs_created"`
12
+
13
+ Number of proofs created.
14
+
15
+ ### VerificationsSucceeded {#verificationssucceeded}
16
+
17
+ > `readonly` **VerificationsSucceeded**: `"ip_verifications_succeeded"` = `"ip_verifications_succeeded"`
18
+
19
+ Number of proof verifications succeeded.
20
+
21
+ ### VerificationsFailed {#verificationsfailed}
22
+
23
+ > `readonly` **VerificationsFailed**: `"ip_verifications_failed"` = `"ip_verifications_failed"`
24
+
25
+ Number of proof verifications failed.
26
+
27
+ ### ProofsRemoved {#proofsremoved}
28
+
29
+ > `readonly` **ProofsRemoved**: `"ip_proofs_removed"` = `"ip_proofs_removed"`
30
+
31
+ Number of proofs removed.
32
+
33
+ ### NotarizationsRemoved {#notarizationsremoved}
34
+
35
+ > `readonly` **NotarizationsRemoved**: `"ip_notarizations_removed"` = `"ip_notarizations_removed"`
36
+
37
+ Number of notarizations removed.
38
+
39
+ ### ProofCompletionLag {#proofcompletionlag}
40
+
41
+ > `readonly` **ProofCompletionLag**: `"ip_proof_completion_lag"` = `"ip_proof_completion_lag"`
42
+
43
+ Time in milliseconds from a proof being requested to its notarization completing.
@@ -0,0 +1,5 @@
1
+ # Variable: ImmutableProofMetrics
2
+
3
+ > `const` **ImmutableProofMetrics**: `ITelemetryMetric`[]
4
+
5
+ Metrics registered by the immutable proof service.
@@ -0,0 +1,13 @@
1
+ # Variable: ImmutableProofTopics
2
+
3
+ > `const` **ImmutableProofTopics**: `object`
4
+
5
+ The topics for immutable proof event bus notifications.
6
+
7
+ ## Type Declaration
8
+
9
+ ### ProofCreated {#proofcreated}
10
+
11
+ > `readonly` **ProofCreated**: `"immutable-proof:proof-created"` = `"immutable-proof:proof-created"`
12
+
13
+ A proof was created.
@@ -0,0 +1,25 @@
1
+ # Variable: ImmutableProofTypes
2
+
3
+ > `const` **ImmutableProofTypes**: `object`
4
+
5
+ The types of immutable proof data.
6
+
7
+ ## Type Declaration
8
+
9
+ ### ImmutableProof {#immutableproof}
10
+
11
+ > `readonly` **ImmutableProof**: `"ImmutableProof"` = `"ImmutableProof"`
12
+
13
+ Represents Immutable Proof.
14
+
15
+ ### ImmutableProofVerification {#immutableproofverification}
16
+
17
+ > `readonly` **ImmutableProofVerification**: `"ImmutableProofVerification"` = `"ImmutableProofVerification"`
18
+
19
+ Represents Immutable Proof Verification.
20
+
21
+ ### ImmutableProofFailure {#immutableprooffailure}
22
+
23
+ > `readonly` **ImmutableProofFailure**: `"ImmutableProofFailure"` = `"ImmutableProofFailure"`
24
+
25
+ Represents Immutable Proof Failure.
@@ -0,0 +1,3 @@
1
+ {
2
+ "error": {}
3
+ }