@truvity/sdk 0.28.2 → 0.28.4
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/api/resources/apiKeys/client/Client.d.ts +8 -7
- package/api/resources/apiKeys/client/Client.d.ts.map +1 -1
- package/api/resources/apiKeys/client/Client.js +23 -15
- package/api/resources/apiKeys/client/Client.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js.map +1 -1
- package/api/resources/credentials/client/Client.d.ts +5 -3
- package/api/resources/credentials/client/Client.d.ts.map +1 -1
- package/api/resources/credentials/client/Client.js +29 -13
- package/api/resources/credentials/client/Client.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialDeleteRequest.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialDeleteRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialInput.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialInput.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialRestoreRequest.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialRestoreRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialUploadRequest.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialUploadRequest.js.map +1 -1
- package/api/resources/desk/client/Client.js +2 -2
- package/api/resources/desk/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/Client.d.ts +10 -7
- package/api/resources/didcommMessages/client/Client.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/Client.js +38 -14
- package/api/resources/didcommMessages/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +8 -8
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageDeleteRequest.d.ts +8 -8
- package/api/resources/didcommMessages/client/requests/DidcommMessageDeleteRequest.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageRestoreRequest.d.ts +8 -8
- package/api/resources/didcommMessages/client/requests/DidcommMessageRestoreRequest.js.map +1 -1
- package/api/resources/dids/client/Client.js +1 -1
- package/api/resources/dids/client/Client.js.map +1 -1
- package/api/resources/drafts/client/Client.d.ts +5 -3
- package/api/resources/drafts/client/Client.d.ts.map +1 -1
- package/api/resources/drafts/client/Client.js +29 -13
- package/api/resources/drafts/client/Client.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftCreateRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftCreateRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftDeleteRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftDeleteRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftExport.d.ts +2 -2
- package/api/resources/drafts/client/requests/DraftExport.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftExport.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftIssue.d.ts +5 -4
- package/api/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftIssue.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftRestoreRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftRestoreRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftUpdateRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftUpdateRequest.js.map +1 -1
- package/api/resources/drafts/index.d.ts +1 -0
- package/api/resources/drafts/index.d.ts.map +1 -1
- package/api/resources/drafts/index.js +1 -0
- package/api/resources/drafts/index.js.map +1 -1
- package/api/resources/drafts/types/DraftIssueDidMethod.d.ts +12 -0
- package/api/resources/drafts/types/DraftIssueDidMethod.d.ts.map +1 -0
- package/api/resources/drafts/types/DraftIssueDidMethod.js +11 -0
- package/api/resources/drafts/types/DraftIssueDidMethod.js.map +1 -0
- package/api/resources/drafts/types/index.d.ts +2 -0
- package/api/resources/drafts/types/index.d.ts.map +1 -0
- package/api/resources/drafts/types/index.js +18 -0
- package/api/resources/drafts/types/index.js.map +1 -0
- package/api/resources/files/client/Client.d.ts +3 -1
- package/api/resources/files/client/Client.d.ts.map +1 -1
- package/api/resources/files/client/Client.js +27 -11
- package/api/resources/files/client/Client.js.map +1 -1
- package/api/resources/files/client/requests/FileCreateRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileCreateRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileDeleteRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileDeleteRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileRestoreRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileRestoreRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileUpdateRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileUpdateRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileUploadRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileUploadRequest.js.map +1 -1
- package/api/resources/gdpr/client/Client.js +1 -1
- package/api/resources/gdpr/client/Client.js.map +1 -1
- package/api/resources/index.d.ts +6 -3
- package/api/resources/index.d.ts.map +1 -1
- package/api/resources/index.js +7 -4
- package/api/resources/index.js.map +1 -1
- package/api/resources/keys/client/Client.d.ts +8 -8
- package/api/resources/keys/client/Client.d.ts.map +1 -1
- package/api/resources/keys/client/Client.js +48 -20
- package/api/resources/keys/client/Client.js.map +1 -1
- package/api/resources/keys/client/requests/CredentialSignRequest.d.ts +3 -2
- package/api/resources/keys/client/requests/CredentialSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/CredentialSignRequest.js.map +1 -1
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts +3 -2
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.js.map +1 -1
- package/api/resources/keys/client/requests/KeyDeleteRequest.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyDeleteRequest.js.map +1 -1
- package/api/resources/keys/client/requests/KeyGenerateInput.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyInput.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyRestoreRequest.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyRestoreRequest.js.map +1 -1
- package/api/resources/keys/client/requests/PresentationSignRequest.d.ts +3 -2
- package/api/resources/keys/client/requests/PresentationSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/PresentationSignRequest.js.map +1 -1
- package/api/resources/keys/index.d.ts +1 -0
- package/api/resources/keys/index.d.ts.map +1 -1
- package/api/resources/keys/index.js +1 -0
- package/api/resources/keys/index.js.map +1 -1
- package/api/resources/keys/types/CredentialSignRequestDidMethod.d.ts +12 -0
- package/api/resources/keys/types/CredentialSignRequestDidMethod.d.ts.map +1 -0
- package/api/resources/keys/types/CredentialSignRequestDidMethod.js +11 -0
- package/api/resources/keys/types/CredentialSignRequestDidMethod.js.map +1 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts +12 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts.map +1 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.js +11 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.js.map +1 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.d.ts +12 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.d.ts.map +1 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.js +11 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.js.map +1 -0
- package/api/resources/keys/types/index.d.ts +4 -0
- package/api/resources/keys/types/index.d.ts.map +1 -0
- package/api/resources/keys/types/index.js +20 -0
- package/api/resources/keys/types/index.js.map +1 -0
- package/api/resources/presentations/client/Client.d.ts +9 -6
- package/api/resources/presentations/client/Client.d.ts.map +1 -1
- package/api/resources/presentations/client/Client.js +42 -18
- package/api/resources/presentations/client/Client.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationDeleteRequest.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationDeleteRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationInput.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationInput.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssue.d.ts +2 -1
- package/api/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationRestoreRequest.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationRestoreRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationUploadRequest.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationUploadRequest.js.map +1 -1
- package/api/resources/presentations/index.d.ts +1 -0
- package/api/resources/presentations/index.d.ts.map +1 -1
- package/api/resources/presentations/index.js +1 -0
- package/api/resources/presentations/index.js.map +1 -1
- package/api/resources/presentations/types/PresentationIssueDidMethod.d.ts +12 -0
- package/api/resources/presentations/types/PresentationIssueDidMethod.d.ts.map +1 -0
- package/api/resources/presentations/types/PresentationIssueDidMethod.js +11 -0
- package/api/resources/presentations/types/PresentationIssueDidMethod.js.map +1 -0
- package/api/resources/presentations/types/index.d.ts +2 -0
- package/api/resources/presentations/types/index.d.ts.map +1 -0
- package/api/resources/presentations/types/index.js +18 -0
- package/api/resources/presentations/types/index.js.map +1 -0
- package/api/types/Credential.d.ts +2 -2
- package/api/types/Credential.d.ts.map +1 -1
- package/api/types/Credential.js.map +1 -1
- package/api/types/Credential11.d.ts +1 -1
- package/api/types/Credential11.d.ts.map +1 -1
- package/api/types/Credential11.js.map +1 -1
- package/api/types/Draft.d.ts +5 -1
- package/api/types/Draft.d.ts.map +1 -1
- package/api/types/Draft.js.map +1 -1
- package/api/types/DraftCreate.d.ts +3 -0
- package/api/types/DraftCreate.d.ts.map +1 -1
- package/api/types/DraftCreate.js.map +1 -1
- package/api/types/DraftFieldBooleanValue.d.ts +1 -1
- package/api/types/DraftFieldBooleanValue.d.ts.map +1 -1
- package/api/types/DraftFieldBooleanValue.js.map +1 -1
- package/api/types/DraftFieldDateTimeValue.d.ts +1 -1
- package/api/types/DraftFieldDateTimeValue.d.ts.map +1 -1
- package/api/types/DraftFieldDateTimeValue.js.map +1 -1
- package/api/types/DraftFieldDateValue.d.ts +1 -1
- package/api/types/DraftFieldDateValue.d.ts.map +1 -1
- package/api/types/DraftFieldDateValue.js.map +1 -1
- package/api/types/DraftFieldFileValue.d.ts +1 -1
- package/api/types/DraftFieldFileValue.d.ts.map +1 -1
- package/api/types/DraftFieldFileValue.js.map +1 -1
- package/api/types/DraftFieldLinkValue.d.ts +1 -1
- package/api/types/DraftFieldLinkValue.d.ts.map +1 -1
- package/api/types/DraftFieldLinkValue.js.map +1 -1
- package/api/types/DraftFieldNumberValue.d.ts +1 -1
- package/api/types/DraftFieldNumberValue.d.ts.map +1 -1
- package/api/types/DraftFieldNumberValue.js.map +1 -1
- package/api/types/DraftFieldStringValue.d.ts +1 -1
- package/api/types/DraftFieldStringValue.d.ts.map +1 -1
- package/api/types/DraftFieldStringValue.js.map +1 -1
- package/api/types/DraftFieldStructValue.d.ts +2 -1
- package/api/types/DraftFieldStructValue.d.ts.map +1 -1
- package/api/types/DraftFieldStructValue.js.map +1 -1
- package/api/types/DraftFieldStructValueFieldsItem.d.ts +1 -1
- package/api/types/DraftFieldStructValueFieldsItem.js.map +1 -1
- package/api/types/DraftMeta.d.ts +3 -3
- package/api/types/DraftMeta.d.ts.map +1 -1
- package/api/types/DraftMeta.js.map +1 -1
- package/api/types/DraftSchema.d.ts +18 -16
- package/api/types/DraftSchema.d.ts.map +1 -1
- package/api/types/DraftSchema.js.map +1 -1
- package/api/types/DraftSchemaFieldsItem.d.ts +1 -1
- package/api/types/DraftSchemaFieldsItem.js.map +1 -1
- package/api/types/EqualKeyType.d.ts +2 -1
- package/api/types/EqualKeyType.d.ts.map +1 -1
- package/api/types/EqualKeyType.js.map +1 -1
- package/api/types/EqualKeyTypeValue.d.ts +13 -0
- package/api/types/EqualKeyTypeValue.d.ts.map +1 -0
- package/api/types/EqualKeyTypeValue.js +12 -0
- package/api/types/EqualKeyTypeValue.js.map +1 -0
- package/api/types/InKeyType.d.ts +2 -1
- package/api/types/InKeyType.d.ts.map +1 -1
- package/api/types/InKeyType.js.map +1 -1
- package/api/types/InKeyTypeValuesItem.d.ts +31 -0
- package/api/types/InKeyTypeValuesItem.d.ts.map +1 -0
- package/api/types/InKeyTypeValuesItem.js +12 -0
- package/api/types/InKeyTypeValuesItem.js.map +1 -0
- package/api/types/KeyGenerate.d.ts +8 -8
- package/api/types/KeyGenerate.d.ts.map +1 -1
- package/api/types/KeyGenerate.js.map +1 -1
- package/api/types/KeyGenerateType.d.ts +31 -0
- package/api/types/KeyGenerateType.d.ts.map +1 -0
- package/api/types/KeyGenerateType.js +12 -0
- package/api/types/KeyGenerateType.js.map +1 -0
- package/api/types/KeyPublic.d.ts +7 -7
- package/api/types/KeyPublic.d.ts.map +1 -1
- package/api/types/KeyPublic.js.map +1 -1
- package/api/types/KeyPublicType.d.ts +31 -0
- package/api/types/KeyPublicType.d.ts.map +1 -0
- package/api/types/KeyPublicType.js +12 -0
- package/api/types/KeyPublicType.js.map +1 -0
- package/api/types/NotEqualKeyType.d.ts +2 -1
- package/api/types/NotEqualKeyType.d.ts.map +1 -1
- package/api/types/NotEqualKeyType.js.map +1 -1
- package/api/types/NotEqualKeyTypeValue.d.ts +13 -0
- package/api/types/NotEqualKeyTypeValue.d.ts.map +1 -0
- package/api/types/NotEqualKeyTypeValue.js +12 -0
- package/api/types/NotEqualKeyTypeValue.js.map +1 -0
- package/api/types/NotInKeyType.d.ts +2 -1
- package/api/types/NotInKeyType.d.ts.map +1 -1
- package/api/types/NotInKeyType.js.map +1 -1
- package/api/types/NotInKeyTypeValuesItem.d.ts +31 -0
- package/api/types/NotInKeyTypeValuesItem.d.ts.map +1 -0
- package/api/types/NotInKeyTypeValuesItem.js +12 -0
- package/api/types/NotInKeyTypeValuesItem.js.map +1 -0
- package/api/types/ProblemMethodNotAllowedAlive.d.ts +1 -1
- package/api/types/ProblemMethodNotAllowedAlive.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedDeleted.d.ts +1 -1
- package/api/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
- package/api/types/ProblemPreconditionFailedBlob.d.ts +1 -1
- package/api/types/ProblemPreconditionFailedBlob.js.map +1 -1
- package/api/types/ProblemResourceNotFound.d.ts +1 -1
- package/api/types/ProblemResourceNotFound.js.map +1 -1
- package/api/types/index.d.ts +6 -0
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +6 -0
- package/api/types/index.js.map +1 -1
- package/documents/credential/flavor.d.ts.map +1 -1
- package/documents/credential/flavor.js +1 -0
- package/documents/credential/flavor.js.map +1 -1
- package/documents/credential/flavor.spec.js +2 -0
- package/documents/credential/flavor.spec.js.map +1 -1
- package/documents/credential/unknown.d.ts +4 -0
- package/documents/credential/unknown.d.ts.map +1 -1
- package/documents/credential/unknown.js +8 -0
- package/documents/credential/unknown.js.map +1 -1
- package/documents/credential.d.ts +4 -0
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +8 -0
- package/documents/credential.js.map +1 -1
- package/documents/presentation.d.ts +4 -0
- package/documents/presentation.d.ts.map +1 -1
- package/documents/presentation.js +8 -0
- package/documents/presentation.js.map +1 -1
- package/documents/types.d.ts +1 -0
- package/documents/types.d.ts.map +1 -1
- package/documents/types.js.map +1 -1
- package/package.json +1 -1
- package/reference.md +34 -38
- package/serialization/resources/drafts/client/requests/DraftIssue.d.ts +2 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.js +2 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.js.map +1 -1
- package/serialization/resources/drafts/index.d.ts +1 -0
- package/serialization/resources/drafts/index.d.ts.map +1 -1
- package/serialization/resources/drafts/index.js +1 -0
- package/serialization/resources/drafts/index.js.map +1 -1
- package/serialization/resources/drafts/types/DraftIssueDidMethod.d.ts +11 -0
- package/serialization/resources/drafts/types/DraftIssueDidMethod.d.ts.map +1 -0
- package/serialization/resources/drafts/types/DraftIssueDidMethod.js +32 -0
- package/serialization/resources/drafts/types/DraftIssueDidMethod.js.map +1 -0
- package/serialization/resources/drafts/types/index.d.ts +2 -0
- package/serialization/resources/drafts/types/index.d.ts.map +1 -0
- package/serialization/resources/drafts/types/index.js +18 -0
- package/serialization/resources/drafts/types/index.js.map +1 -0
- package/serialization/resources/index.d.ts +6 -3
- package/serialization/resources/index.d.ts.map +1 -1
- package/serialization/resources/index.js +7 -4
- package/serialization/resources/index.js.map +1 -1
- package/serialization/resources/keys/index.d.ts +1 -0
- package/serialization/resources/keys/index.d.ts.map +1 -1
- package/serialization/resources/keys/index.js +1 -0
- package/serialization/resources/keys/index.js.map +1 -1
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.d.ts +11 -0
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.js +32 -0
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.js.map +1 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts +11 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.js +32 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.js.map +1 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.d.ts +11 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.js +32 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.js.map +1 -0
- package/serialization/resources/keys/types/index.d.ts +4 -0
- package/serialization/resources/keys/types/index.d.ts.map +1 -0
- package/serialization/resources/keys/types/index.js +20 -0
- package/serialization/resources/keys/types/index.js.map +1 -0
- package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts +2 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.js +2 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
- package/serialization/resources/presentations/index.d.ts +1 -0
- package/serialization/resources/presentations/index.d.ts.map +1 -1
- package/serialization/resources/presentations/index.js +1 -0
- package/serialization/resources/presentations/index.js.map +1 -1
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.d.ts +11 -0
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.d.ts.map +1 -0
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.js +32 -0
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.js.map +1 -0
- package/serialization/resources/presentations/types/index.d.ts +2 -0
- package/serialization/resources/presentations/types/index.d.ts.map +1 -0
- package/serialization/resources/presentations/types/index.js +18 -0
- package/serialization/resources/presentations/types/index.js.map +1 -0
- package/serialization/types/EqualKeyType.d.ts +2 -1
- package/serialization/types/EqualKeyType.d.ts.map +1 -1
- package/serialization/types/EqualKeyType.js +2 -1
- package/serialization/types/EqualKeyType.js.map +1 -1
- package/serialization/types/EqualKeyTypeValue.d.ts +11 -0
- package/serialization/types/EqualKeyTypeValue.d.ts.map +1 -0
- package/serialization/types/EqualKeyTypeValue.js +32 -0
- package/serialization/types/EqualKeyTypeValue.js.map +1 -0
- package/serialization/types/InKeyType.d.ts +2 -1
- package/serialization/types/InKeyType.d.ts.map +1 -1
- package/serialization/types/InKeyType.js +2 -1
- package/serialization/types/InKeyType.js.map +1 -1
- package/serialization/types/InKeyTypeValuesItem.d.ts +11 -0
- package/serialization/types/InKeyTypeValuesItem.d.ts.map +1 -0
- package/serialization/types/InKeyTypeValuesItem.js +32 -0
- package/serialization/types/InKeyTypeValuesItem.js.map +1 -0
- package/serialization/types/KeyGenerate.d.ts +2 -1
- package/serialization/types/KeyGenerate.d.ts.map +1 -1
- package/serialization/types/KeyGenerate.js +2 -1
- package/serialization/types/KeyGenerate.js.map +1 -1
- package/serialization/types/KeyGenerateType.d.ts +11 -0
- package/serialization/types/KeyGenerateType.d.ts.map +1 -0
- package/serialization/types/KeyGenerateType.js +32 -0
- package/serialization/types/KeyGenerateType.js.map +1 -0
- package/serialization/types/KeyPublic.d.ts +2 -1
- package/serialization/types/KeyPublic.d.ts.map +1 -1
- package/serialization/types/KeyPublic.js +2 -1
- package/serialization/types/KeyPublic.js.map +1 -1
- package/serialization/types/KeyPublicType.d.ts +11 -0
- package/serialization/types/KeyPublicType.d.ts.map +1 -0
- package/serialization/types/KeyPublicType.js +32 -0
- package/serialization/types/KeyPublicType.js.map +1 -0
- package/serialization/types/NotEqualKeyType.d.ts +2 -1
- package/serialization/types/NotEqualKeyType.d.ts.map +1 -1
- package/serialization/types/NotEqualKeyType.js +2 -1
- package/serialization/types/NotEqualKeyType.js.map +1 -1
- package/serialization/types/NotEqualKeyTypeValue.d.ts +11 -0
- package/serialization/types/NotEqualKeyTypeValue.d.ts.map +1 -0
- package/serialization/types/NotEqualKeyTypeValue.js +32 -0
- package/serialization/types/NotEqualKeyTypeValue.js.map +1 -0
- package/serialization/types/NotInKeyType.d.ts +2 -1
- package/serialization/types/NotInKeyType.d.ts.map +1 -1
- package/serialization/types/NotInKeyType.js +2 -1
- package/serialization/types/NotInKeyType.js.map +1 -1
- package/serialization/types/NotInKeyTypeValuesItem.d.ts +11 -0
- package/serialization/types/NotInKeyTypeValuesItem.d.ts.map +1 -0
- package/serialization/types/NotInKeyTypeValuesItem.js +32 -0
- package/serialization/types/NotInKeyTypeValuesItem.js.map +1 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +6 -0
- package/serialization/types/index.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftFieldStructValue.js","sourceRoot":"","sources":["../../../src/api/types/DraftFieldStructValue.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * Struct field representation.\n */\nexport interface DraftFieldStructValue {\n /** Field name */\n name: string;\n fields?: Truvity.DraftFieldStructValueFieldsItem[];\n /** The namespace of the vocabulary. */\n vocabNamespace: string;\n /** The name of the vocabulary. */\n vocabName: string;\n /** Determine whether the field values should be an array. */\n isArray?: boolean;\n notEmpty?: boolean;\n /** The human-readable name of the field can be used to display the field in the UI. */\n title?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"DraftFieldStructValue.js","sourceRoot":"","sources":["../../../src/api/types/DraftFieldStructValue.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * Struct field representation.\n */\nexport interface DraftFieldStructValue {\n /** Field name. */\n name: string;\n /** A list of claim definitions. */\n fields?: Truvity.DraftFieldStructValueFieldsItem[];\n /** The namespace of the vocabulary. */\n vocabNamespace: string;\n /** The name of the vocabulary. */\n vocabName: string;\n /** Determine whether the field values should be an array. */\n isArray?: boolean;\n notEmpty?: boolean;\n /** The human-readable name of the field can be used to display the field in the UI. */\n title?: string;\n}\n"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Truvity from '../index';
|
|
5
5
|
/**
|
|
6
|
-
* A list of
|
|
6
|
+
* A list of claim definitions.
|
|
7
7
|
*/
|
|
8
8
|
export declare type DraftFieldStructValueFieldsItem = Truvity.DraftFieldStructValueFieldsItem.Boolean | Truvity.DraftFieldStructValueFieldsItem.Date_ | Truvity.DraftFieldStructValueFieldsItem.Datetime | Truvity.DraftFieldStructValueFieldsItem.File_ | Truvity.DraftFieldStructValueFieldsItem.Link | Truvity.DraftFieldStructValueFieldsItem.Number | Truvity.DraftFieldStructValueFieldsItem.String | Truvity.DraftFieldStructValueFieldsItem.Struct;
|
|
9
9
|
export declare namespace DraftFieldStructValueFieldsItem {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftFieldStructValueFieldsItem.js","sourceRoot":"","sources":["../../../src/api/types/DraftFieldStructValueFieldsItem.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * A list of
|
|
1
|
+
{"version":3,"file":"DraftFieldStructValueFieldsItem.js","sourceRoot":"","sources":["../../../src/api/types/DraftFieldStructValueFieldsItem.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * A list of claim definitions.\n */\nexport type DraftFieldStructValueFieldsItem =\n | Truvity.DraftFieldStructValueFieldsItem.Boolean\n | Truvity.DraftFieldStructValueFieldsItem.Date_\n | Truvity.DraftFieldStructValueFieldsItem.Datetime\n | Truvity.DraftFieldStructValueFieldsItem.File_\n | Truvity.DraftFieldStructValueFieldsItem.Link\n | Truvity.DraftFieldStructValueFieldsItem.Number\n | Truvity.DraftFieldStructValueFieldsItem.String\n | Truvity.DraftFieldStructValueFieldsItem.Struct;\n\nexport declare namespace DraftFieldStructValueFieldsItem {\n interface Boolean extends Truvity.DraftFieldBooleanValue {\n kind: 'BOOLEAN';\n }\n\n interface Date_ extends Truvity.DraftFieldDateValue {\n kind: 'DATE';\n }\n\n interface Datetime extends Truvity.DraftFieldDateTimeValue {\n kind: 'DATETIME';\n }\n\n interface File_ extends Truvity.DraftFieldFileValue {\n kind: 'FILE';\n }\n\n interface Link extends Truvity.DraftFieldLinkValue {\n kind: 'LINK';\n }\n\n interface Number extends Truvity.DraftFieldNumberValue {\n kind: 'NUMBER';\n }\n\n interface String extends Truvity.DraftFieldStringValue {\n kind: 'STRING';\n }\n\n interface Struct extends Truvity.DraftFieldStructValue {\n kind: 'STRUCT';\n }\n}\n"]}
|
package/api/types/DraftMeta.d.ts
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Metadata for a draft with common properties.
|
|
6
6
|
*/
|
|
7
7
|
export interface DraftMeta {
|
|
8
|
-
/**
|
|
8
|
+
/** An entity about which [claims](https://www.w3.org/TR/vc-data-model/#dfn-claims) are made. */
|
|
9
9
|
subject?: string;
|
|
10
|
-
/**
|
|
10
|
+
/** The date and time the issued credential is valid from. */
|
|
11
11
|
validFrom?: Date;
|
|
12
|
-
/**
|
|
12
|
+
/** The date and time the issued credential valid until. */
|
|
13
13
|
validUntil?: Date;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=DraftMeta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftMeta.d.ts","sourceRoot":"","sources":["../../../src/api/types/DraftMeta.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB,
|
|
1
|
+
{"version":3,"file":"DraftMeta.d.ts","sourceRoot":"","sources":["../../../src/api/types/DraftMeta.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB,gGAAgG;IAChG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftMeta.js","sourceRoot":"","sources":["../../../src/api/types/DraftMeta.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * Metadata for a draft with common properties.\n */\nexport interface DraftMeta {\n /**
|
|
1
|
+
{"version":3,"file":"DraftMeta.js","sourceRoot":"","sources":["../../../src/api/types/DraftMeta.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * Metadata for a draft with common properties.\n */\nexport interface DraftMeta {\n /** An entity about which [claims](https://www.w3.org/TR/vc-data-model/#dfn-claims) are made. */\n subject?: string;\n /** The date and time the issued credential is valid from. */\n validFrom?: Date;\n /** The date and time the issued credential valid until. */\n validUntil?: Date;\n}\n"]}
|
|
@@ -6,31 +6,33 @@ import * as Truvity from '../index';
|
|
|
6
6
|
* A schema for a Draft.
|
|
7
7
|
*/
|
|
8
8
|
export interface DraftSchema {
|
|
9
|
+
/** A list of claim definitions. */
|
|
9
10
|
fields?: Truvity.DraftSchemaFieldsItem[];
|
|
10
11
|
/**
|
|
11
12
|
* The JSON-LD vocabulary namespace is used to define the `@id`of the generated vocabulary, which identifies
|
|
12
13
|
* the semantics of the credential claims.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
15
|
+
* The final `@id` is resolved as `<vocab_namespace>#<vocab_name>`.
|
|
16
|
+
* For example: `https://www.w3.org/2018/credentials#VerifiableCredential`.
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* It's important to carefully select the namespace for vocabularies, as it can impact whether counterparties
|
|
19
|
+
* will trust the issued credentials or not.
|
|
19
20
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* A common practice is to dedicate a specific web page on the company's website for the vocabulary.
|
|
22
|
+
* This page not only semantically binds the vocabulary with the company but may also contain documentation
|
|
23
|
+
* for developers, explaining the meaning of fields and how they should be processed.
|
|
23
24
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
25
|
+
* The aforementioned web page can be served on a subdomain (e.g., `https://vocabulary.my-company.com`)
|
|
26
|
+
* or on a specific pathname (e.g., `https://my-company.com/vocabulary`).
|
|
26
27
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
28
|
+
* Keep in mind that to issue and verify a VC, the URI of the `vocab_namespace` might not need to be resolvable.
|
|
29
|
+
* However, this could decrease the discoverability of the semantics and the further adoption of the vocabularies.
|
|
29
30
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
31
|
+
* A few examples:
|
|
32
|
+
*
|
|
33
|
+
* - https://vocabulary.uncefact.org
|
|
34
|
+
* - https://w3id.org/traceability
|
|
35
|
+
* - https://www.w3.org/2018/credentials
|
|
34
36
|
*/
|
|
35
37
|
vocabNamespace: string;
|
|
36
38
|
/**
|
|
@@ -39,7 +41,7 @@ export interface DraftSchema {
|
|
|
39
41
|
* Vocabularies are used to logically group related data, representing composite information.
|
|
40
42
|
* It's important to ensure that the vocabulary name is unique within the `vocab_namespace`.
|
|
41
43
|
*
|
|
42
|
-
*
|
|
44
|
+
* A few examples: `BillOfLading`, `BankAccount`.
|
|
43
45
|
*/
|
|
44
46
|
vocabName: string;
|
|
45
47
|
/** A list of additional terms that will be added to the root type property of the credential. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftSchema.d.ts","sourceRoot":"","sources":["../../../src/api/types/DraftSchema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC,qBAAqB,EAAE,CAAC;IACzC
|
|
1
|
+
{"version":3,"file":"DraftSchema.d.ts","sourceRoot":"","sources":["../../../src/api/types/DraftSchema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,mCAAmC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC,qBAAqB,EAAE,CAAC;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;;;;OAOG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftSchema.js","sourceRoot":"","sources":["../../../src/api/types/DraftSchema.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * A schema for a Draft.\n */\nexport interface DraftSchema {\n fields?: Truvity.DraftSchemaFieldsItem[];\n /**\n * The JSON-LD vocabulary namespace is used to define the `@id`of the generated vocabulary, which identifies\n * the semantics of the credential claims.\n *\n *
|
|
1
|
+
{"version":3,"file":"DraftSchema.js","sourceRoot":"","sources":["../../../src/api/types/DraftSchema.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * A schema for a Draft.\n */\nexport interface DraftSchema {\n /** A list of claim definitions. */\n fields?: Truvity.DraftSchemaFieldsItem[];\n /**\n * The JSON-LD vocabulary namespace is used to define the `@id`of the generated vocabulary, which identifies\n * the semantics of the credential claims.\n *\n * The final `@id` is resolved as `<vocab_namespace>#<vocab_name>`.\n * For example: `https://www.w3.org/2018/credentials#VerifiableCredential`.\n *\n * It's important to carefully select the namespace for vocabularies, as it can impact whether counterparties\n * will trust the issued credentials or not.\n *\n * A common practice is to dedicate a specific web page on the company's website for the vocabulary.\n * This page not only semantically binds the vocabulary with the company but may also contain documentation\n * for developers, explaining the meaning of fields and how they should be processed.\n *\n * The aforementioned web page can be served on a subdomain (e.g., `https://vocabulary.my-company.com`)\n * or on a specific pathname (e.g., `https://my-company.com/vocabulary`).\n *\n * Keep in mind that to issue and verify a VC, the URI of the `vocab_namespace` might not need to be resolvable.\n * However, this could decrease the discoverability of the semantics and the further adoption of the vocabularies.\n *\n * A few examples:\n *\n * - https://vocabulary.uncefact.org\n * - https://w3id.org/traceability\n * - https://www.w3.org/2018/credentials\n */\n vocabNamespace: string;\n /**\n * The name of the JSON-LD vocabulary that will be generated from the `fields` definitions.\n * A vocabulary is a user-defined dictionary that consolidates various claims under a single name.\n * Vocabularies are used to logically group related data, representing composite information.\n * It's important to ensure that the vocabulary name is unique within the `vocab_namespace`.\n *\n * A few examples: `BillOfLading`, `BankAccount`.\n */\n vocabName: string;\n /** A list of additional terms that will be added to the root type property of the credential. */\n vcType?: string[];\n}\n"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Truvity from '../index';
|
|
5
5
|
/**
|
|
6
|
-
* A list of
|
|
6
|
+
* A list of claim definitions.
|
|
7
7
|
*/
|
|
8
8
|
export declare type DraftSchemaFieldsItem = Truvity.DraftSchemaFieldsItem.Boolean | Truvity.DraftSchemaFieldsItem.Date_ | Truvity.DraftSchemaFieldsItem.Datetime | Truvity.DraftSchemaFieldsItem.File_ | Truvity.DraftSchemaFieldsItem.Link | Truvity.DraftSchemaFieldsItem.Number | Truvity.DraftSchemaFieldsItem.String | Truvity.DraftSchemaFieldsItem.Struct;
|
|
9
9
|
export declare namespace DraftSchemaFieldsItem {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftSchemaFieldsItem.js","sourceRoot":"","sources":["../../../src/api/types/DraftSchemaFieldsItem.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * A list of
|
|
1
|
+
{"version":3,"file":"DraftSchemaFieldsItem.js","sourceRoot":"","sources":["../../../src/api/types/DraftSchemaFieldsItem.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * A list of claim definitions.\n */\nexport type DraftSchemaFieldsItem =\n | Truvity.DraftSchemaFieldsItem.Boolean\n | Truvity.DraftSchemaFieldsItem.Date_\n | Truvity.DraftSchemaFieldsItem.Datetime\n | Truvity.DraftSchemaFieldsItem.File_\n | Truvity.DraftSchemaFieldsItem.Link\n | Truvity.DraftSchemaFieldsItem.Number\n | Truvity.DraftSchemaFieldsItem.String\n | Truvity.DraftSchemaFieldsItem.Struct;\n\nexport declare namespace DraftSchemaFieldsItem {\n interface Boolean extends Truvity.DraftFieldBooleanValue {\n kind: 'BOOLEAN';\n }\n\n interface Date_ extends Truvity.DraftFieldDateValue {\n kind: 'DATE';\n }\n\n interface Datetime extends Truvity.DraftFieldDateTimeValue {\n kind: 'DATETIME';\n }\n\n interface File_ extends Truvity.DraftFieldFileValue {\n kind: 'FILE';\n }\n\n interface Link extends Truvity.DraftFieldLinkValue {\n kind: 'LINK';\n }\n\n interface Number extends Truvity.DraftFieldNumberValue {\n kind: 'NUMBER';\n }\n\n interface String extends Truvity.DraftFieldStringValue {\n kind: 'STRING';\n }\n\n interface Struct extends Truvity.DraftFieldStructValue {\n kind: 'STRUCT';\n }\n}\n"]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Truvity from '../index';
|
|
4
5
|
/**
|
|
5
6
|
* EQUAL operator looks for values that are equal to the given value.
|
|
6
7
|
*/
|
|
7
8
|
export interface EqualKeyType {
|
|
8
9
|
/** The value to compare against. */
|
|
9
|
-
value:
|
|
10
|
+
value: Truvity.EqualKeyTypeValue;
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=EqualKeyType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EqualKeyType.d.ts","sourceRoot":"","sources":["../../../src/api/types/EqualKeyType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,oCAAoC;IACpC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"EqualKeyType.d.ts","sourceRoot":"","sources":["../../../src/api/types/EqualKeyType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,oCAAoC;IACpC,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;CACpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EqualKeyType.js","sourceRoot":"","sources":["../../../src/api/types/EqualKeyType.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * EQUAL operator looks for values that are equal to the given value.\n */\nexport interface EqualKeyType {\n /** The value to compare against. */\n value:
|
|
1
|
+
{"version":3,"file":"EqualKeyType.js","sourceRoot":"","sources":["../../../src/api/types/EqualKeyType.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * EQUAL operator looks for values that are equal to the given value.\n */\nexport interface EqualKeyType {\n /** The value to compare against. */\n value: Truvity.EqualKeyTypeValue;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The value to compare against.
|
|
6
|
+
*/
|
|
7
|
+
export declare type EqualKeyTypeValue = 'ED25519' | 'P256' | 'P384';
|
|
8
|
+
export declare const EqualKeyTypeValue: {
|
|
9
|
+
readonly Ed25519: "ED25519";
|
|
10
|
+
readonly P256: "P256";
|
|
11
|
+
readonly P384: "P384";
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=EqualKeyTypeValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EqualKeyTypeValue.d.ts","sourceRoot":"","sources":["../../../src/api/types/EqualKeyTypeValue.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,oBAAY,iBAAiB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EqualKeyTypeValue = void 0;
|
|
7
|
+
exports.EqualKeyTypeValue = {
|
|
8
|
+
Ed25519: 'ED25519',
|
|
9
|
+
P256: 'P256',
|
|
10
|
+
P384: 'P384',
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=EqualKeyTypeValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EqualKeyTypeValue.js","sourceRoot":"","sources":["../../../src/api/types/EqualKeyTypeValue.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAOU,QAAA,iBAAiB,GAAG;IAC7B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The value to compare against.\n */\nexport type EqualKeyTypeValue = 'ED25519' | 'P256' | 'P384';\n\nexport const EqualKeyTypeValue = {\n Ed25519: 'ED25519',\n P256: 'P256',\n P384: 'P384',\n} as const;\n"]}
|
package/api/types/InKeyType.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Truvity from '../index';
|
|
4
5
|
/**
|
|
5
6
|
* IN operator looks for values that are in the given list of values.
|
|
6
7
|
*/
|
|
7
8
|
export interface InKeyType {
|
|
8
9
|
/** The values to compare against. */
|
|
9
|
-
values:
|
|
10
|
+
values: Truvity.InKeyTypeValuesItem[];
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=InKeyType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InKeyType.d.ts","sourceRoot":"","sources":["../../../src/api/types/InKeyType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB,qCAAqC;IACrC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"InKeyType.d.ts","sourceRoot":"","sources":["../../../src/api/types/InKeyType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC,mBAAmB,EAAE,CAAC;CACzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InKeyType.js","sourceRoot":"","sources":["../../../src/api/types/InKeyType.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * IN operator looks for values that are in the given list of values.\n */\nexport interface InKeyType {\n /** The values to compare against. */\n values:
|
|
1
|
+
{"version":3,"file":"InKeyType.js","sourceRoot":"","sources":["../../../src/api/types/InKeyType.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * IN operator looks for values that are in the given list of values.\n */\nexport interface InKeyType {\n /** The values to compare against. */\n values: Truvity.InKeyTypeValuesItem[];\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The specification of asymmetric key-pair.
|
|
6
|
+
*
|
|
7
|
+
* | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |
|
|
8
|
+
* | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |
|
|
9
|
+
* | ED25519 | OKP | Ed25519 | | | ed25519 | |
|
|
10
|
+
* | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |
|
|
11
|
+
* | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |
|
|
12
|
+
*
|
|
13
|
+
* Useful third-party documentation:
|
|
14
|
+
*
|
|
15
|
+
* - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).
|
|
16
|
+
* - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)
|
|
17
|
+
* - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)
|
|
18
|
+
* - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)
|
|
19
|
+
* - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)
|
|
20
|
+
* - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).
|
|
21
|
+
* - [SEC2](https://www.secg.org/sec2-v2.pdf).
|
|
22
|
+
* - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)
|
|
23
|
+
* .
|
|
24
|
+
*/
|
|
25
|
+
export declare type InKeyTypeValuesItem = 'ED25519' | 'P256' | 'P384';
|
|
26
|
+
export declare const InKeyTypeValuesItem: {
|
|
27
|
+
readonly Ed25519: "ED25519";
|
|
28
|
+
readonly P256: "P256";
|
|
29
|
+
readonly P384: "P384";
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=InKeyTypeValuesItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InKeyTypeValuesItem.d.ts","sourceRoot":"","sources":["../../../src/api/types/InKeyTypeValuesItem.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,mBAAmB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9D,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InKeyTypeValuesItem = void 0;
|
|
7
|
+
exports.InKeyTypeValuesItem = {
|
|
8
|
+
Ed25519: 'ED25519',
|
|
9
|
+
P256: 'P256',
|
|
10
|
+
P384: 'P384',
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=InKeyTypeValuesItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InKeyTypeValuesItem.js","sourceRoot":"","sources":["../../../src/api/types/InKeyTypeValuesItem.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAyBU,QAAA,mBAAmB,GAAG;IAC/B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The specification of asymmetric key-pair.\n *\n * | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |\n * | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |\n * | ED25519 | OKP | Ed25519 | | | ed25519 | |\n * | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |\n * | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |\n *\n * Useful third-party documentation:\n *\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).\n * - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)\n * - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)\n * - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)\n * - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).\n * - [SEC2](https://www.secg.org/sec2-v2.pdf).\n * - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)\n * .\n */\nexport type InKeyTypeValuesItem = 'ED25519' | 'P256' | 'P384';\n\nexport const InKeyTypeValuesItem = {\n Ed25519: 'ED25519',\n P256: 'P256',\n P384: 'P384',\n} as const;\n"]}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Truvity from '../index';
|
|
4
5
|
/**
|
|
5
|
-
* The
|
|
6
|
+
* The Key generation request.
|
|
6
7
|
*/
|
|
7
8
|
export interface KeyGenerate {
|
|
8
9
|
/**
|
|
9
10
|
* The specification of asymmetric key-pair.
|
|
10
11
|
*
|
|
11
|
-
* | Truvity
|
|
12
|
-
* |
|
|
13
|
-
* | ED25519
|
|
14
|
-
* | P256
|
|
15
|
-
* | P384
|
|
16
|
-
* | SECP256K1 | EC | secp256k1 | | secp256k1 | secp256k1 | ECC_SECG_P256K1 |
|
|
12
|
+
* | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |
|
|
13
|
+
* | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |
|
|
14
|
+
* | ED25519 | OKP | Ed25519 | | | ed25519 | |
|
|
15
|
+
* | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |
|
|
16
|
+
* | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |
|
|
17
17
|
*
|
|
18
18
|
* Useful third-party documentation:
|
|
19
19
|
*
|
|
@@ -27,6 +27,6 @@ export interface KeyGenerate {
|
|
|
27
27
|
* - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)
|
|
28
28
|
* .
|
|
29
29
|
*/
|
|
30
|
-
type?:
|
|
30
|
+
type?: Truvity.KeyGenerateType;
|
|
31
31
|
}
|
|
32
32
|
//# sourceMappingURL=KeyGenerate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyGenerate.d.ts","sourceRoot":"","sources":["../../../src/api/types/KeyGenerate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB
|
|
1
|
+
{"version":3,"file":"KeyGenerate.d.ts","sourceRoot":"","sources":["../../../src/api/types/KeyGenerate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC;CAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyGenerate.js","sourceRoot":"","sources":["../../../src/api/types/KeyGenerate.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The
|
|
1
|
+
{"version":3,"file":"KeyGenerate.js","sourceRoot":"","sources":["../../../src/api/types/KeyGenerate.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * The Key generation request.\n */\nexport interface KeyGenerate {\n /**\n * The specification of asymmetric key-pair.\n *\n * | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |\n * | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |\n * | ED25519 | OKP | Ed25519 | | | ed25519 | |\n * | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |\n * | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |\n *\n * Useful third-party documentation:\n *\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).\n * - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)\n * - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)\n * - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)\n * - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).\n * - [SEC2](https://www.secg.org/sec2-v2.pdf).\n * - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)\n * .\n */\n type?: Truvity.KeyGenerateType;\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The specification of asymmetric key-pair.
|
|
6
|
+
*
|
|
7
|
+
* | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |
|
|
8
|
+
* | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |
|
|
9
|
+
* | ED25519 | OKP | Ed25519 | | | ed25519 | |
|
|
10
|
+
* | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |
|
|
11
|
+
* | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |
|
|
12
|
+
*
|
|
13
|
+
* Useful third-party documentation:
|
|
14
|
+
*
|
|
15
|
+
* - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).
|
|
16
|
+
* - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)
|
|
17
|
+
* - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)
|
|
18
|
+
* - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)
|
|
19
|
+
* - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)
|
|
20
|
+
* - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).
|
|
21
|
+
* - [SEC2](https://www.secg.org/sec2-v2.pdf).
|
|
22
|
+
* - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)
|
|
23
|
+
* .
|
|
24
|
+
*/
|
|
25
|
+
export declare type KeyGenerateType = 'ED25519' | 'P256' | 'P384';
|
|
26
|
+
export declare const KeyGenerateType: {
|
|
27
|
+
readonly Ed25519: "ED25519";
|
|
28
|
+
readonly P256: "P256";
|
|
29
|
+
readonly P384: "P384";
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=KeyGenerateType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyGenerateType.d.ts","sourceRoot":"","sources":["../../../src/api/types/KeyGenerateType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1D,eAAO,MAAM,eAAe;;;;CAIlB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.KeyGenerateType = void 0;
|
|
7
|
+
exports.KeyGenerateType = {
|
|
8
|
+
Ed25519: 'ED25519',
|
|
9
|
+
P256: 'P256',
|
|
10
|
+
P384: 'P384',
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=KeyGenerateType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyGenerateType.js","sourceRoot":"","sources":["../../../src/api/types/KeyGenerateType.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAyBU,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The specification of asymmetric key-pair.\n *\n * | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |\n * | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |\n * | ED25519 | OKP | Ed25519 | | | ed25519 | |\n * | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |\n * | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |\n *\n * Useful third-party documentation:\n *\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).\n * - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)\n * - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)\n * - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)\n * - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).\n * - [SEC2](https://www.secg.org/sec2-v2.pdf).\n * - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)\n * .\n */\nexport type KeyGenerateType = 'ED25519' | 'P256' | 'P384';\n\nexport const KeyGenerateType = {\n Ed25519: 'ED25519',\n P256: 'P256',\n P384: 'P384',\n} as const;\n"]}
|
package/api/types/KeyPublic.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Truvity from '../index';
|
|
4
5
|
/**
|
|
5
6
|
* Public Key according to - [Verifiable Credential Data Integrity 1.0 - 2.3.1 Verification Methods](https://www.w3.org/TR/vc-data-integrity/#verification-methods).
|
|
6
7
|
*/
|
|
@@ -8,12 +9,11 @@ export interface KeyPublic {
|
|
|
8
9
|
/**
|
|
9
10
|
* The specification of asymmetric key-pair.
|
|
10
11
|
*
|
|
11
|
-
* | Truvity
|
|
12
|
-
* |
|
|
13
|
-
* | ED25519
|
|
14
|
-
* | P256
|
|
15
|
-
* | P384
|
|
16
|
-
* | SECP256K1 | EC | secp256k1 | | secp256k1 | secp256k1 | ECC_SECG_P256K1 |
|
|
12
|
+
* | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |
|
|
13
|
+
* | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |
|
|
14
|
+
* | ED25519 | OKP | Ed25519 | | | ed25519 | |
|
|
15
|
+
* | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |
|
|
16
|
+
* | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |
|
|
17
17
|
*
|
|
18
18
|
* Useful third-party documentation:
|
|
19
19
|
*
|
|
@@ -27,7 +27,7 @@ export interface KeyPublic {
|
|
|
27
27
|
* - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)
|
|
28
28
|
* .
|
|
29
29
|
*/
|
|
30
|
-
type:
|
|
30
|
+
type: Truvity.KeyPublicType;
|
|
31
31
|
/**
|
|
32
32
|
* Public key in Multibase format.
|
|
33
33
|
* The related specifications: - IETF Draft [The Multibase Data Format](https://datatracker.ietf.org/doc/html/draft-multiformats-multibase) - GitHub Repository [github.com/multiformats/multibase](https://github.com/multiformats/multibase) - [Decentralized Identifiers (DIDs) v1.0](https://www.w3.org/TR/did-core/) - [Verifiable Credential Data Integrity 1.0](https://www.w3.org/TR/vc-data-integrity/) - [Section 2.4 Multibase](https://www.w3.org/TR/vc-data-integrity/#multibase-0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyPublic.d.ts","sourceRoot":"","sources":["../../../src/api/types/KeyPublic.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB
|
|
1
|
+
{"version":3,"file":"KeyPublic.d.ts","sourceRoot":"","sources":["../../../src/api/types/KeyPublic.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC;IAC5B;;;;;OAKG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyPublic.js","sourceRoot":"","sources":["../../../src/api/types/KeyPublic.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * Public Key according to - [Verifiable Credential Data Integrity 1.0 - 2.3.1 Verification Methods](https://www.w3.org/TR/vc-data-integrity/#verification-methods).\n */\nexport interface KeyPublic {\n /**\n * The specification of asymmetric key-pair.\n *\n * | Truvity
|
|
1
|
+
{"version":3,"file":"KeyPublic.js","sourceRoot":"","sources":["../../../src/api/types/KeyPublic.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * Public Key according to - [Verifiable Credential Data Integrity 1.0 - 2.3.1 Verification Methods](https://www.w3.org/TR/vc-data-integrity/#verification-methods).\n */\nexport interface KeyPublic {\n /**\n * The specification of asymmetric key-pair.\n *\n * | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |\n * | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |\n * | ED25519 | OKP | Ed25519 | | | ed25519 | |\n * | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |\n * | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |\n *\n * Useful third-party documentation:\n *\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).\n * - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)\n * - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)\n * - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)\n * - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).\n * - [SEC2](https://www.secg.org/sec2-v2.pdf).\n * - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)\n * .\n */\n type: Truvity.KeyPublicType;\n /**\n * Public key in Multibase format.\n * The related specifications: - IETF Draft [The Multibase Data Format](https://datatracker.ietf.org/doc/html/draft-multiformats-multibase) - GitHub Repository [github.com/multiformats/multibase](https://github.com/multiformats/multibase) - [Decentralized Identifiers (DIDs) v1.0](https://www.w3.org/TR/did-core/) - [Verifiable Credential Data Integrity 1.0](https://www.w3.org/TR/vc-data-integrity/) - [Section 2.4 Multibase](https://www.w3.org/TR/vc-data-integrity/#multibase-0)\n * This representation widely used in SSI specifications and format.\n * .\n */\n publicKeyMultibase: string;\n /** Public key in PEM-encoded PKIX format. */\n publicKeyPem: string;\n /**\n * Public key in JWK format.\n * Take a look [RFC 7517](https://datatracker.ietf.org/doc/html/rfc7517).\n */\n publicKeyJwk: string;\n /** Public key in Base58-encoded format. */\n publicKeyBase58?: string;\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The specification of asymmetric key-pair.
|
|
6
|
+
*
|
|
7
|
+
* | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |
|
|
8
|
+
* | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |
|
|
9
|
+
* | ED25519 | OKP | Ed25519 | | | ed25519 | |
|
|
10
|
+
* | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |
|
|
11
|
+
* | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |
|
|
12
|
+
*
|
|
13
|
+
* Useful third-party documentation:
|
|
14
|
+
*
|
|
15
|
+
* - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).
|
|
16
|
+
* - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)
|
|
17
|
+
* - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)
|
|
18
|
+
* - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)
|
|
19
|
+
* - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)
|
|
20
|
+
* - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).
|
|
21
|
+
* - [SEC2](https://www.secg.org/sec2-v2.pdf).
|
|
22
|
+
* - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)
|
|
23
|
+
* .
|
|
24
|
+
*/
|
|
25
|
+
export declare type KeyPublicType = 'ED25519' | 'P256' | 'P384';
|
|
26
|
+
export declare const KeyPublicType: {
|
|
27
|
+
readonly Ed25519: "ED25519";
|
|
28
|
+
readonly P256: "P256";
|
|
29
|
+
readonly P384: "P384";
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=KeyPublicType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyPublicType.d.ts","sourceRoot":"","sources":["../../../src/api/types/KeyPublicType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAExD,eAAO,MAAM,aAAa;;;;CAIhB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.KeyPublicType = void 0;
|
|
7
|
+
exports.KeyPublicType = {
|
|
8
|
+
Ed25519: 'ED25519',
|
|
9
|
+
P256: 'P256',
|
|
10
|
+
P384: 'P384',
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=KeyPublicType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyPublicType.js","sourceRoot":"","sources":["../../../src/api/types/KeyPublicType.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAyBU,QAAA,aAAa,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The specification of asymmetric key-pair.\n *\n * | Truvity | JWX - KeyType | JWX - Curve | FIPS | SEC2 | OpenSSL | AWS KMS |\n * | ------- | ------------- | ----------- | ----- | --------- | ---------- | ------------- |\n * | ED25519 | OKP | Ed25519 | | | ed25519 | |\n * | P256 | EC | P-256 | P-256 | secp256r1 | prime256v1 | ECC_NIST_P256 |\n * | P384 | EC | P-384 | P-384 | secp384r1 | secp384r1 | ECC_NIST_P384 |\n *\n * Useful third-party documentation:\n *\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).\n * - [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)\n * - [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)\n * - [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)\n * - [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)\n * - [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).\n * - [SEC2](https://www.secg.org/sec2-v2.pdf).\n * - [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)\n * .\n */\nexport type KeyPublicType = 'ED25519' | 'P256' | 'P384';\n\nexport const KeyPublicType = {\n Ed25519: 'ED25519',\n P256: 'P256',\n P384: 'P384',\n} as const;\n"]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Truvity from '../index';
|
|
4
5
|
/**
|
|
5
6
|
* NOT_EQUAL operator looks for values that are not equal to the given value.
|
|
6
7
|
*/
|
|
7
8
|
export interface NotEqualKeyType {
|
|
8
9
|
/** The value to compare against. */
|
|
9
|
-
value:
|
|
10
|
+
value: Truvity.NotEqualKeyTypeValue;
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=NotEqualKeyType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotEqualKeyType.d.ts","sourceRoot":"","sources":["../../../src/api/types/NotEqualKeyType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,oCAAoC;IACpC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NotEqualKeyType.d.ts","sourceRoot":"","sources":["../../../src/api/types/NotEqualKeyType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,oCAAoC;IACpC,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotEqualKeyType.js","sourceRoot":"","sources":["../../../src/api/types/NotEqualKeyType.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * NOT_EQUAL operator looks for values that are not equal to the given value.\n */\nexport interface NotEqualKeyType {\n /** The value to compare against. */\n value:
|
|
1
|
+
{"version":3,"file":"NotEqualKeyType.js","sourceRoot":"","sources":["../../../src/api/types/NotEqualKeyType.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../index';\n\n/**\n * NOT_EQUAL operator looks for values that are not equal to the given value.\n */\nexport interface NotEqualKeyType {\n /** The value to compare against. */\n value: Truvity.NotEqualKeyTypeValue;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The value to compare against.
|
|
6
|
+
*/
|
|
7
|
+
export declare type NotEqualKeyTypeValue = 'ED25519' | 'P256' | 'P384';
|
|
8
|
+
export declare const NotEqualKeyTypeValue: {
|
|
9
|
+
readonly Ed25519: "ED25519";
|
|
10
|
+
readonly P256: "P256";
|
|
11
|
+
readonly P384: "P384";
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=NotEqualKeyTypeValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotEqualKeyTypeValue.d.ts","sourceRoot":"","sources":["../../../src/api/types/NotEqualKeyTypeValue.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,oBAAY,oBAAoB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/D,eAAO,MAAM,oBAAoB;;;;CAIvB,CAAC"}
|