@truvity/sdk 0.31.7 → 0.35.1
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/ExtendedClient.d.ts +7 -1
- package/ExtendedClient.d.ts.map +1 -1
- package/ExtendedClient.js +20 -1
- package/ExtendedClient.js.map +1 -1
- package/api/errors/BadRequestError.d.ts +2 -1
- package/api/errors/BadRequestError.d.ts.map +1 -1
- package/api/errors/BadRequestError.js +2 -1
- package/api/errors/BadRequestError.js.map +1 -1
- package/api/errors/ConflictError.d.ts +2 -1
- package/api/errors/ConflictError.d.ts.map +1 -1
- package/api/errors/ConflictError.js +2 -1
- package/api/errors/ConflictError.js.map +1 -1
- package/api/errors/ForbiddenError.d.ts +2 -1
- package/api/errors/ForbiddenError.d.ts.map +1 -1
- package/api/errors/ForbiddenError.js +2 -1
- package/api/errors/ForbiddenError.js.map +1 -1
- package/api/errors/InternalServerError.d.ts +2 -1
- package/api/errors/InternalServerError.d.ts.map +1 -1
- package/api/errors/InternalServerError.js +2 -1
- package/api/errors/InternalServerError.js.map +1 -1
- package/api/errors/MethodNotAllowedError.d.ts +2 -1
- package/api/errors/MethodNotAllowedError.d.ts.map +1 -1
- package/api/errors/MethodNotAllowedError.js +2 -1
- package/api/errors/MethodNotAllowedError.js.map +1 -1
- package/api/errors/NotFoundError.d.ts +2 -1
- package/api/errors/NotFoundError.d.ts.map +1 -1
- package/api/errors/NotFoundError.js +2 -1
- package/api/errors/NotFoundError.js.map +1 -1
- package/api/errors/PreconditionFailedError.d.ts +2 -1
- package/api/errors/PreconditionFailedError.d.ts.map +1 -1
- package/api/errors/PreconditionFailedError.js +2 -1
- package/api/errors/PreconditionFailedError.js.map +1 -1
- package/api/errors/ServiceUnavailableError.d.ts +10 -0
- package/api/errors/ServiceUnavailableError.d.ts.map +1 -0
- package/api/errors/ServiceUnavailableError.js +53 -0
- package/api/errors/ServiceUnavailableError.js.map +1 -0
- package/api/errors/TooManyRequestsError.d.ts +2 -1
- package/api/errors/TooManyRequestsError.d.ts.map +1 -1
- package/api/errors/TooManyRequestsError.js +2 -1
- package/api/errors/TooManyRequestsError.js.map +1 -1
- package/api/errors/UnauthorizedError.d.ts +2 -1
- package/api/errors/UnauthorizedError.d.ts.map +1 -1
- package/api/errors/UnauthorizedError.js +2 -1
- package/api/errors/UnauthorizedError.js.map +1 -1
- package/api/errors/UnsupportedMediaTypeError.d.ts +2 -1
- package/api/errors/UnsupportedMediaTypeError.d.ts.map +1 -1
- package/api/errors/UnsupportedMediaTypeError.js +2 -1
- package/api/errors/UnsupportedMediaTypeError.js.map +1 -1
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.d.ts.map +1 -1
- package/api/errors/index.js +1 -0
- package/api/errors/index.js.map +1 -1
- package/api/resources/apiKeys/client/Client.d.ts +18 -9
- package/api/resources/apiKeys/client/Client.d.ts.map +1 -1
- package/api/resources/apiKeys/client/Client.js +205 -127
- package/api/resources/apiKeys/client/Client.js.map +1 -1
- package/api/resources/credentials/client/Client.d.ts +24 -12
- package/api/resources/credentials/client/Client.d.ts.map +1 -1
- package/api/resources/credentials/client/Client.js +267 -162
- package/api/resources/credentials/client/Client.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialInput.d.ts +4 -0
- package/api/resources/credentials/client/requests/CredentialInput.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialInput.js.map +1 -1
- package/api/resources/desk/client/Client.d.ts +4 -2
- package/api/resources/desk/client/Client.d.ts.map +1 -1
- package/api/resources/desk/client/Client.js +31 -16
- package/api/resources/desk/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/Client.d.ts +20 -11
- package/api/resources/didcommMessages/client/Client.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/Client.js +207 -129
- package/api/resources/didcommMessages/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +3 -3
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
- package/api/resources/dids/client/Client.d.ts +2 -1
- package/api/resources/dids/client/Client.d.ts.map +1 -1
- package/api/resources/dids/client/Client.js +22 -13
- package/api/resources/dids/client/Client.js.map +1 -1
- package/api/resources/drafts/client/Client.d.ts +57 -15
- package/api/resources/drafts/client/Client.d.ts.map +1 -1
- package/api/resources/drafts/client/Client.js +427 -168
- package/api/resources/drafts/client/Client.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftInput.d.ts +3 -3
- package/api/resources/drafts/client/requests/DraftInput.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftInput.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftIssue.d.ts +6 -2
- 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/DraftLatestIssueRequest.d.ts +44 -0
- package/api/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts.map +1 -0
- package/api/resources/drafts/client/requests/DraftLatestIssueRequest.js +6 -0
- package/api/resources/drafts/client/requests/DraftLatestIssueRequest.js.map +1 -0
- package/api/resources/drafts/client/requests/index.d.ts +1 -0
- package/api/resources/drafts/client/requests/index.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/index.js.map +1 -1
- package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts +12 -0
- package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts.map +1 -0
- package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.js +11 -0
- package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.js.map +1 -0
- package/api/resources/drafts/types/index.d.ts +1 -0
- package/api/resources/drafts/types/index.d.ts.map +1 -1
- package/api/resources/drafts/types/index.js +1 -0
- package/api/resources/drafts/types/index.js.map +1 -1
- package/api/resources/files/client/Client.d.ts +23 -13
- package/api/resources/files/client/Client.d.ts.map +1 -1
- package/api/resources/files/client/Client.js +244 -152
- package/api/resources/files/client/Client.js.map +1 -1
- package/api/resources/files/client/requests/FileInput.d.ts +2 -3
- package/api/resources/files/client/requests/FileInput.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileInput.js.map +1 -1
- package/api/resources/gdpr/client/Client.d.ts +2 -1
- package/api/resources/gdpr/client/Client.d.ts.map +1 -1
- package/api/resources/gdpr/client/Client.js +12 -6
- package/api/resources/gdpr/client/Client.js.map +1 -1
- package/api/resources/keys/client/Client.d.ts +26 -13
- package/api/resources/keys/client/Client.d.ts.map +1 -1
- package/api/resources/keys/client/Client.js +271 -166
- package/api/resources/keys/client/Client.js.map +1 -1
- package/api/resources/keys/client/requests/KeyGenerateInput.d.ts +1 -1
- package/api/resources/keys/client/requests/KeyGenerateInput.d.ts.map +1 -1
- package/api/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts +2 -2
- package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts.map +1 -1
- package/api/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
- package/api/resources/presentations/client/Client.d.ts +30 -16
- package/api/resources/presentations/client/Client.d.ts.map +1 -1
- package/api/resources/presentations/client/Client.js +300 -183
- package/api/resources/presentations/client/Client.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationExport.d.ts +1 -1
- package/api/resources/presentations/client/requests/PresentationExport.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationExport.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssue.d.ts +4 -4
- 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/types/ApiKeyBaseFilter.d.ts +27 -0
- package/api/types/ApiKeyBaseFilter.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilter.js +6 -0
- package/api/types/ApiKeyBaseFilter.js.map +1 -0
- package/api/types/ApiKeyBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/ApiKeyBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterAnnotationsItem.js +6 -0
- package/api/types/ApiKeyBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/ApiKeyBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/ApiKeyBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterCreatedAt.js +6 -0
- package/api/types/ApiKeyBaseFilterCreatedAt.js.map +1 -0
- package/api/types/ApiKeyBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/ApiKeyBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterDeletedAt.js +6 -0
- package/api/types/ApiKeyBaseFilterDeletedAt.js.map +1 -0
- package/api/types/ApiKeyBaseFilterEtag.d.ts +23 -0
- package/api/types/ApiKeyBaseFilterEtag.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterEtag.js +6 -0
- package/api/types/ApiKeyBaseFilterEtag.js.map +1 -0
- package/api/types/ApiKeyBaseFilterId.d.ts +23 -0
- package/api/types/ApiKeyBaseFilterId.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterId.js +6 -0
- package/api/types/ApiKeyBaseFilterId.js.map +1 -0
- package/api/types/ApiKeyBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/ApiKeyBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterLabelsItem.js +6 -0
- package/api/types/ApiKeyBaseFilterLabelsItem.js.map +1 -0
- package/api/types/ApiKeyBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/ApiKeyBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterModifiedAt.js +6 -0
- package/api/types/ApiKeyBaseFilterModifiedAt.js.map +1 -0
- package/api/types/ApiKeyBaseFilterRevision.d.ts +38 -0
- package/api/types/ApiKeyBaseFilterRevision.d.ts.map +1 -0
- package/api/types/ApiKeyBaseFilterRevision.js +6 -0
- package/api/types/ApiKeyBaseFilterRevision.js.map +1 -0
- package/api/types/ApiKeyFilter.d.ts +1 -19
- package/api/types/ApiKeyFilter.d.ts.map +1 -1
- package/api/types/ApiKeyFilter.js.map +1 -1
- package/api/types/ApiKeyFull.d.ts +2 -2
- package/api/types/ApiKeyFull.d.ts.map +1 -1
- package/api/types/ApiKeyFull.js.map +1 -1
- package/api/types/Credential.d.ts +9 -11
- package/api/types/Credential.d.ts.map +1 -1
- package/api/types/Credential.js.map +1 -1
- package/api/types/Credential11.d.ts +7 -7
- package/api/types/Credential11.d.ts.map +1 -1
- package/api/types/Credential11.js.map +1 -1
- package/api/types/CredentialBaseFilter.d.ts +27 -0
- package/api/types/CredentialBaseFilter.d.ts.map +1 -0
- package/api/types/CredentialBaseFilter.js +6 -0
- package/api/types/CredentialBaseFilter.js.map +1 -0
- package/api/types/CredentialBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/CredentialBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterAnnotationsItem.js +6 -0
- package/api/types/CredentialBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/CredentialBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/CredentialBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterCreatedAt.js +6 -0
- package/api/types/CredentialBaseFilterCreatedAt.js.map +1 -0
- package/api/types/CredentialBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/CredentialBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterDeletedAt.js +6 -0
- package/api/types/CredentialBaseFilterDeletedAt.js.map +1 -0
- package/api/types/CredentialBaseFilterEtag.d.ts +23 -0
- package/api/types/CredentialBaseFilterEtag.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterEtag.js +6 -0
- package/api/types/CredentialBaseFilterEtag.js.map +1 -0
- package/api/types/CredentialBaseFilterId.d.ts +23 -0
- package/api/types/CredentialBaseFilterId.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterId.js +6 -0
- package/api/types/CredentialBaseFilterId.js.map +1 -0
- package/api/types/CredentialBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/CredentialBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterLabelsItem.js +6 -0
- package/api/types/CredentialBaseFilterLabelsItem.js.map +1 -0
- package/api/types/CredentialBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/CredentialBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterModifiedAt.js +6 -0
- package/api/types/CredentialBaseFilterModifiedAt.js.map +1 -0
- package/api/types/CredentialBaseFilterRevision.d.ts +38 -0
- package/api/types/CredentialBaseFilterRevision.d.ts.map +1 -0
- package/api/types/CredentialBaseFilterRevision.js +6 -0
- package/api/types/CredentialBaseFilterRevision.js.map +1 -0
- package/api/types/CredentialFilter.d.ts +1 -19
- package/api/types/CredentialFilter.d.ts.map +1 -1
- package/api/types/CredentialFilter.js.map +1 -1
- package/api/types/CredentialFilterData.d.ts +1 -2
- package/api/types/CredentialFilterData.d.ts.map +1 -1
- package/api/types/CredentialFilterData.js.map +1 -1
- package/api/types/CredentialFilterDataDigestMultibase.d.ts +1 -7
- package/api/types/CredentialFilterDataDigestMultibase.d.ts.map +1 -1
- package/api/types/CredentialFilterDataDigestMultibase.js.map +1 -1
- package/api/types/CredentialProof.d.ts +2 -2
- package/api/types/CredentialProof.d.ts.map +1 -1
- package/api/types/CredentialProof.js.map +1 -1
- package/api/types/CredentialSortField.d.ts +1 -2
- package/api/types/CredentialSortField.d.ts.map +1 -1
- package/api/types/CredentialSortField.js +0 -1
- package/api/types/CredentialSortField.js.map +1 -1
- package/api/types/DidCommMessage.d.ts +3 -3
- package/api/types/DidCommMessage.d.ts.map +1 -1
- package/api/types/DidCommMessage.js.map +1 -1
- package/api/types/DidCommMessageSend.d.ts +7 -7
- package/api/types/DidCommMessageSend.d.ts.map +1 -1
- package/api/types/DidCommMessageSend.js.map +1 -1
- package/api/types/DidDocument.d.ts +6 -6
- package/api/types/DidDocument.d.ts.map +1 -1
- package/api/types/DidDocument.js.map +1 -1
- package/api/types/DidcommMessageBaseFilter.d.ts +27 -0
- package/api/types/DidcommMessageBaseFilter.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilter.js +6 -0
- package/api/types/DidcommMessageBaseFilter.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/DidcommMessageBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterAnnotationsItem.js +6 -0
- package/api/types/DidcommMessageBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/DidcommMessageBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterCreatedAt.js +6 -0
- package/api/types/DidcommMessageBaseFilterCreatedAt.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/DidcommMessageBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterDeletedAt.js +6 -0
- package/api/types/DidcommMessageBaseFilterDeletedAt.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterEtag.d.ts +23 -0
- package/api/types/DidcommMessageBaseFilterEtag.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterEtag.js +6 -0
- package/api/types/DidcommMessageBaseFilterEtag.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterId.d.ts +23 -0
- package/api/types/DidcommMessageBaseFilterId.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterId.js +6 -0
- package/api/types/DidcommMessageBaseFilterId.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/DidcommMessageBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterLabelsItem.js +6 -0
- package/api/types/DidcommMessageBaseFilterLabelsItem.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/DidcommMessageBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterModifiedAt.js +6 -0
- package/api/types/DidcommMessageBaseFilterModifiedAt.js.map +1 -0
- package/api/types/DidcommMessageBaseFilterRevision.d.ts +38 -0
- package/api/types/DidcommMessageBaseFilterRevision.d.ts.map +1 -0
- package/api/types/DidcommMessageBaseFilterRevision.js +6 -0
- package/api/types/DidcommMessageBaseFilterRevision.js.map +1 -0
- package/api/types/DidcommMessageFilter.d.ts +1 -19
- package/api/types/DidcommMessageFilter.d.ts.map +1 -1
- package/api/types/DidcommMessageFilter.js.map +1 -1
- package/api/types/Draft.d.ts +4 -4
- package/api/types/Draft.d.ts.map +1 -1
- package/api/types/Draft.js.map +1 -1
- package/api/types/DraftBaseFilter.d.ts +27 -0
- package/api/types/DraftBaseFilter.d.ts.map +1 -0
- package/api/types/DraftBaseFilter.js +6 -0
- package/api/types/DraftBaseFilter.js.map +1 -0
- package/api/types/DraftBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/DraftBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/DraftBaseFilterAnnotationsItem.js +6 -0
- package/api/types/DraftBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/DraftBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/DraftBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/DraftBaseFilterCreatedAt.js +6 -0
- package/api/types/DraftBaseFilterCreatedAt.js.map +1 -0
- package/api/types/DraftBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/DraftBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/DraftBaseFilterDeletedAt.js +6 -0
- package/api/types/DraftBaseFilterDeletedAt.js.map +1 -0
- package/api/types/DraftBaseFilterEtag.d.ts +23 -0
- package/api/types/DraftBaseFilterEtag.d.ts.map +1 -0
- package/api/types/DraftBaseFilterEtag.js +6 -0
- package/api/types/DraftBaseFilterEtag.js.map +1 -0
- package/api/types/DraftBaseFilterId.d.ts +23 -0
- package/api/types/DraftBaseFilterId.d.ts.map +1 -0
- package/api/types/DraftBaseFilterId.js +6 -0
- package/api/types/DraftBaseFilterId.js.map +1 -0
- package/api/types/DraftBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/DraftBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/DraftBaseFilterLabelsItem.js +6 -0
- package/api/types/DraftBaseFilterLabelsItem.js.map +1 -0
- package/api/types/DraftBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/DraftBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/DraftBaseFilterModifiedAt.js +6 -0
- package/api/types/DraftBaseFilterModifiedAt.js.map +1 -0
- package/api/types/DraftBaseFilterRevision.d.ts +38 -0
- package/api/types/DraftBaseFilterRevision.d.ts.map +1 -0
- package/api/types/DraftBaseFilterRevision.js +6 -0
- package/api/types/DraftBaseFilterRevision.js.map +1 -0
- package/api/types/DraftCreate.d.ts +2 -2
- package/api/types/DraftCreate.d.ts.map +1 -1
- package/api/types/DraftCreate.js.map +1 -1
- package/api/types/DraftEnumValue.d.ts +2 -2
- package/api/types/DraftEnumValue.d.ts.map +1 -1
- package/api/types/DraftEnumValue.js.map +1 -1
- package/api/types/DraftFieldBooleanValue.d.ts +2 -2
- package/api/types/DraftFieldBooleanValue.d.ts.map +1 -1
- package/api/types/DraftFieldBooleanValue.js.map +1 -1
- package/api/types/DraftFieldDateTimeValue.d.ts +2 -2
- package/api/types/DraftFieldDateTimeValue.d.ts.map +1 -1
- package/api/types/DraftFieldDateTimeValue.js.map +1 -1
- package/api/types/DraftFieldDateValue.d.ts +2 -2
- package/api/types/DraftFieldDateValue.d.ts.map +1 -1
- package/api/types/DraftFieldDateValue.js.map +1 -1
- package/api/types/DraftFieldFileValue.d.ts +2 -2
- package/api/types/DraftFieldFileValue.d.ts.map +1 -1
- package/api/types/DraftFieldFileValue.js.map +1 -1
- package/api/types/DraftFieldLinkValue.d.ts +2 -2
- package/api/types/DraftFieldLinkValue.d.ts.map +1 -1
- package/api/types/DraftFieldLinkValue.js.map +1 -1
- package/api/types/DraftFieldNumberValue.d.ts +2 -2
- package/api/types/DraftFieldNumberValue.d.ts.map +1 -1
- package/api/types/DraftFieldNumberValue.js.map +1 -1
- package/api/types/DraftFieldStringValue.d.ts +2 -2
- package/api/types/DraftFieldStringValue.d.ts.map +1 -1
- package/api/types/DraftFieldStringValue.js.map +1 -1
- package/api/types/DraftFieldStructValue.d.ts +6 -6
- package/api/types/DraftFieldStructValue.d.ts.map +1 -1
- package/api/types/DraftFieldStructValue.js.map +1 -1
- package/api/types/DraftFilter.d.ts +1 -19
- package/api/types/DraftFilter.d.ts.map +1 -1
- package/api/types/DraftFilter.js.map +1 -1
- package/api/types/DraftFilterData.d.ts +1 -1
- package/api/types/DraftFilterData.d.ts.map +1 -1
- package/api/types/DraftFilterData.js.map +1 -1
- package/api/types/DraftSchema.d.ts +11 -11
- package/api/types/DraftSchema.d.ts.map +1 -1
- package/api/types/DraftSchema.js.map +1 -1
- package/api/types/DraftUpdate.d.ts +0 -2
- package/api/types/DraftUpdate.d.ts.map +1 -1
- package/api/types/DraftUpdate.js.map +1 -1
- package/api/types/EcdsaSecp256K1VerificationKey2019.d.ts +6 -6
- package/api/types/EcdsaSecp256K1VerificationKey2019.d.ts.map +1 -1
- package/api/types/EcdsaSecp256K1VerificationKey2019.js.map +1 -1
- package/api/types/ErrorModel.d.ts +4 -4
- package/api/types/ErrorModel.d.ts.map +1 -1
- package/api/types/ErrorModel.js.map +1 -1
- package/api/types/FileBaseFilter.d.ts +27 -0
- package/api/types/FileBaseFilter.d.ts.map +1 -0
- package/api/types/FileBaseFilter.js +6 -0
- package/api/types/FileBaseFilter.js.map +1 -0
- package/api/types/FileBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/FileBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/FileBaseFilterAnnotationsItem.js +6 -0
- package/api/types/FileBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/FileBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/FileBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/FileBaseFilterCreatedAt.js +6 -0
- package/api/types/FileBaseFilterCreatedAt.js.map +1 -0
- package/api/types/FileBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/FileBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/FileBaseFilterDeletedAt.js +6 -0
- package/api/types/FileBaseFilterDeletedAt.js.map +1 -0
- package/api/types/FileBaseFilterEtag.d.ts +23 -0
- package/api/types/FileBaseFilterEtag.d.ts.map +1 -0
- package/api/types/FileBaseFilterEtag.js +6 -0
- package/api/types/FileBaseFilterEtag.js.map +1 -0
- package/api/types/FileBaseFilterId.d.ts +23 -0
- package/api/types/FileBaseFilterId.d.ts.map +1 -0
- package/api/types/FileBaseFilterId.js +6 -0
- package/api/types/FileBaseFilterId.js.map +1 -0
- package/api/types/FileBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/FileBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/FileBaseFilterLabelsItem.js +6 -0
- package/api/types/FileBaseFilterLabelsItem.js.map +1 -0
- package/api/types/FileBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/FileBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/FileBaseFilterModifiedAt.js +6 -0
- package/api/types/FileBaseFilterModifiedAt.js.map +1 -0
- package/api/types/FileBaseFilterRevision.d.ts +38 -0
- package/api/types/FileBaseFilterRevision.d.ts.map +1 -0
- package/api/types/FileBaseFilterRevision.js +6 -0
- package/api/types/FileBaseFilterRevision.js.map +1 -0
- package/api/types/FileFilter.d.ts +1 -19
- package/api/types/FileFilter.d.ts.map +1 -1
- package/api/types/FileFilter.js.map +1 -1
- package/api/types/FileFilterData.d.ts +0 -1
- package/api/types/FileFilterData.d.ts.map +1 -1
- package/api/types/FileFilterData.js.map +1 -1
- package/api/types/FileFilterDataDigestMultibase.d.ts +1 -7
- package/api/types/FileFilterDataDigestMultibase.d.ts.map +1 -1
- package/api/types/FileFilterDataDigestMultibase.js.map +1 -1
- package/api/types/FileSortField.d.ts +1 -2
- package/api/types/FileSortField.d.ts.map +1 -1
- package/api/types/FileSortField.js +0 -1
- package/api/types/FileSortField.js.map +1 -1
- package/api/types/File_.d.ts +7 -9
- package/api/types/File_.d.ts.map +1 -1
- package/api/types/File_.js.map +1 -1
- package/api/types/KeyBaseFilter.d.ts +27 -0
- package/api/types/KeyBaseFilter.d.ts.map +1 -0
- package/api/types/KeyBaseFilter.js +6 -0
- package/api/types/KeyBaseFilter.js.map +1 -0
- package/api/types/KeyBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/KeyBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/KeyBaseFilterAnnotationsItem.js +6 -0
- package/api/types/KeyBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/KeyBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/KeyBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/KeyBaseFilterCreatedAt.js +6 -0
- package/api/types/KeyBaseFilterCreatedAt.js.map +1 -0
- package/api/types/KeyBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/KeyBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/KeyBaseFilterDeletedAt.js +6 -0
- package/api/types/KeyBaseFilterDeletedAt.js.map +1 -0
- package/api/types/KeyBaseFilterEtag.d.ts +23 -0
- package/api/types/KeyBaseFilterEtag.d.ts.map +1 -0
- package/api/types/KeyBaseFilterEtag.js +6 -0
- package/api/types/KeyBaseFilterEtag.js.map +1 -0
- package/api/types/KeyBaseFilterId.d.ts +23 -0
- package/api/types/KeyBaseFilterId.d.ts.map +1 -0
- package/api/types/KeyBaseFilterId.js +6 -0
- package/api/types/KeyBaseFilterId.js.map +1 -0
- package/api/types/KeyBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/KeyBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/KeyBaseFilterLabelsItem.js +6 -0
- package/api/types/KeyBaseFilterLabelsItem.js.map +1 -0
- package/api/types/KeyBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/KeyBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/KeyBaseFilterModifiedAt.js +6 -0
- package/api/types/KeyBaseFilterModifiedAt.js.map +1 -0
- package/api/types/KeyBaseFilterRevision.d.ts +38 -0
- package/api/types/KeyBaseFilterRevision.d.ts.map +1 -0
- package/api/types/KeyBaseFilterRevision.js +6 -0
- package/api/types/KeyBaseFilterRevision.js.map +1 -0
- package/api/types/KeyFilter.d.ts +1 -19
- package/api/types/KeyFilter.d.ts.map +1 -1
- package/api/types/KeyFilter.js.map +1 -1
- package/api/types/KeyFilterData.d.ts +1 -1
- package/api/types/KeyFilterData.d.ts.map +1 -1
- package/api/types/KeyFilterData.js.map +1 -1
- package/api/types/KeyPublic.d.ts +20 -20
- package/api/types/KeyPublic.d.ts.map +1 -1
- package/api/types/KeyPublic.js.map +1 -1
- package/api/types/Presentation.d.ts +7 -9
- package/api/types/Presentation.d.ts.map +1 -1
- package/api/types/Presentation.js.map +1 -1
- package/api/types/PresentationBaseFilter.d.ts +27 -0
- package/api/types/PresentationBaseFilter.d.ts.map +1 -0
- package/api/types/PresentationBaseFilter.js +6 -0
- package/api/types/PresentationBaseFilter.js.map +1 -0
- package/api/types/PresentationBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/PresentationBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterAnnotationsItem.js +6 -0
- package/api/types/PresentationBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/PresentationBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/PresentationBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterCreatedAt.js +6 -0
- package/api/types/PresentationBaseFilterCreatedAt.js.map +1 -0
- package/api/types/PresentationBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/PresentationBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterDeletedAt.js +6 -0
- package/api/types/PresentationBaseFilterDeletedAt.js.map +1 -0
- package/api/types/PresentationBaseFilterEtag.d.ts +23 -0
- package/api/types/PresentationBaseFilterEtag.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterEtag.js +6 -0
- package/api/types/PresentationBaseFilterEtag.js.map +1 -0
- package/api/types/PresentationBaseFilterId.d.ts +23 -0
- package/api/types/PresentationBaseFilterId.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterId.js +6 -0
- package/api/types/PresentationBaseFilterId.js.map +1 -0
- package/api/types/PresentationBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/PresentationBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterLabelsItem.js +6 -0
- package/api/types/PresentationBaseFilterLabelsItem.js.map +1 -0
- package/api/types/PresentationBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/PresentationBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterModifiedAt.js +6 -0
- package/api/types/PresentationBaseFilterModifiedAt.js.map +1 -0
- package/api/types/PresentationBaseFilterRevision.d.ts +38 -0
- package/api/types/PresentationBaseFilterRevision.d.ts.map +1 -0
- package/api/types/PresentationBaseFilterRevision.js +6 -0
- package/api/types/PresentationBaseFilterRevision.js.map +1 -0
- package/api/types/PresentationFilter.d.ts +1 -19
- package/api/types/PresentationFilter.d.ts.map +1 -1
- package/api/types/PresentationFilter.js.map +1 -1
- package/api/types/PresentationFilterData.d.ts +1 -2
- package/api/types/PresentationFilterData.d.ts.map +1 -1
- package/api/types/PresentationFilterData.js.map +1 -1
- package/api/types/PresentationFilterDataDigestMultibase.d.ts +1 -7
- package/api/types/PresentationFilterDataDigestMultibase.d.ts.map +1 -1
- package/api/types/PresentationFilterDataDigestMultibase.js.map +1 -1
- package/api/types/PresentationSortField.d.ts +1 -2
- package/api/types/PresentationSortField.d.ts.map +1 -1
- package/api/types/PresentationSortField.js +0 -1
- package/api/types/PresentationSortField.js.map +1 -1
- package/api/types/ProblemBadRequest.d.ts +4 -4
- package/api/types/ProblemBadRequest.d.ts.map +1 -1
- package/api/types/ProblemBadRequest.js.map +1 -1
- package/api/types/ProblemBadRequestBlobEmptyData.d.ts +4 -4
- package/api/types/ProblemBadRequestBlobEmptyData.d.ts.map +1 -1
- package/api/types/ProblemBadRequestBlobEmptyData.js.map +1 -1
- package/api/types/ProblemBadRequestBlobInvalidJson.d.ts +4 -4
- package/api/types/ProblemBadRequestBlobInvalidJson.d.ts.map +1 -1
- package/api/types/ProblemBadRequestBlobInvalidJson.js.map +1 -1
- package/api/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts +4 -4
- package/api/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts.map +1 -1
- package/api/types/ProblemBadRequestHasNullUnicodeCharacter.js.map +1 -1
- package/api/types/ProblemBlobNotFound.d.ts +9 -9
- package/api/types/ProblemBlobNotFound.d.ts.map +1 -1
- package/api/types/ProblemBlobNotFound.js.map +1 -1
- package/api/types/ProblemConflict.d.ts +4 -4
- package/api/types/ProblemConflict.d.ts.map +1 -1
- package/api/types/ProblemConflict.js.map +1 -1
- package/api/types/ProblemConflictBlobRestoreInProgress.d.ts +4 -4
- package/api/types/ProblemConflictBlobRestoreInProgress.d.ts.map +1 -1
- package/api/types/ProblemConflictBlobRestoreInProgress.js.map +1 -1
- package/api/types/ProblemConflictResource.d.ts +4 -4
- package/api/types/ProblemConflictResource.d.ts.map +1 -1
- package/api/types/ProblemConflictResource.js.map +1 -1
- package/api/types/ProblemForbidden.d.ts +4 -4
- package/api/types/ProblemForbidden.d.ts.map +1 -1
- package/api/types/ProblemForbidden.js.map +1 -1
- package/api/types/ProblemInternalServerError.d.ts +6 -6
- package/api/types/ProblemInternalServerError.d.ts.map +1 -1
- package/api/types/ProblemInternalServerError.js.map +1 -1
- package/api/types/ProblemMethodNotAllowed.d.ts +4 -4
- package/api/types/ProblemMethodNotAllowed.d.ts.map +1 -1
- package/api/types/ProblemMethodNotAllowed.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedAlive.d.ts +4 -4
- package/api/types/ProblemMethodNotAllowedAlive.d.ts.map +1 -1
- package/api/types/ProblemMethodNotAllowedAlive.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedDeleted.d.ts +4 -4
- package/api/types/ProblemMethodNotAllowedDeleted.d.ts.map +1 -1
- package/api/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedRoute.d.ts +4 -4
- package/api/types/ProblemMethodNotAllowedRoute.d.ts.map +1 -1
- package/api/types/ProblemMethodNotAllowedRoute.js.map +1 -1
- package/api/types/ProblemNotFound.d.ts +4 -4
- package/api/types/ProblemNotFound.d.ts.map +1 -1
- package/api/types/ProblemNotFound.js.map +1 -1
- package/api/types/ProblemPreconditionFailed.d.ts +4 -4
- package/api/types/ProblemPreconditionFailed.d.ts.map +1 -1
- package/api/types/ProblemPreconditionFailed.js.map +1 -1
- package/api/types/ProblemPreconditionFailedBlob.d.ts +9 -9
- package/api/types/ProblemPreconditionFailedBlob.d.ts.map +1 -1
- package/api/types/ProblemPreconditionFailedBlob.js.map +1 -1
- package/api/types/ProblemPreconditionFailedResource.d.ts +5 -5
- package/api/types/ProblemPreconditionFailedResource.d.ts.map +1 -1
- package/api/types/ProblemPreconditionFailedResource.js.map +1 -1
- package/api/types/ProblemResourceNotFound.d.ts +9 -9
- package/api/types/ProblemResourceNotFound.d.ts.map +1 -1
- package/api/types/ProblemResourceNotFound.js.map +1 -1
- package/api/types/ProblemResourceRevisionNotFound.d.ts +5 -5
- package/api/types/ProblemResourceRevisionNotFound.d.ts.map +1 -1
- package/api/types/ProblemResourceRevisionNotFound.js.map +1 -1
- package/api/types/ProblemServiceUnavailable.d.ts +20 -0
- package/api/types/ProblemServiceUnavailable.d.ts.map +1 -0
- package/api/types/ProblemServiceUnavailable.js +6 -0
- package/api/types/ProblemServiceUnavailable.js.map +1 -0
- package/api/types/ProblemTooManyRequests.d.ts +4 -4
- package/api/types/ProblemTooManyRequests.d.ts.map +1 -1
- package/api/types/ProblemTooManyRequests.js.map +1 -1
- package/api/types/ProblemUnauthorized.d.ts +4 -4
- package/api/types/ProblemUnauthorized.d.ts.map +1 -1
- package/api/types/ProblemUnauthorized.js.map +1 -1
- package/api/types/ProblemUnsupportedMediaType.d.ts +4 -4
- package/api/types/ProblemUnsupportedMediaType.d.ts.map +1 -1
- package/api/types/ProblemUnsupportedMediaType.js.map +1 -1
- package/api/types/Resource.d.ts +11 -11
- package/api/types/Resource.d.ts.map +1 -1
- package/api/types/Resource.js.map +1 -1
- package/api/types/ResourceApiKey.d.ts +14 -14
- package/api/types/ResourceApiKey.d.ts.map +1 -1
- package/api/types/ResourceApiKey.js.map +1 -1
- package/api/types/ResourceApiKeyFull.d.ts +14 -14
- package/api/types/ResourceApiKeyFull.d.ts.map +1 -1
- package/api/types/ResourceApiKeyFull.js.map +1 -1
- package/api/types/ResourceCredential.d.ts +14 -14
- package/api/types/ResourceCredential.d.ts.map +1 -1
- package/api/types/ResourceCredential.js.map +1 -1
- package/api/types/ResourceDidCommMessage.d.ts +14 -14
- package/api/types/ResourceDidCommMessage.d.ts.map +1 -1
- package/api/types/ResourceDidCommMessage.js.map +1 -1
- package/api/types/ResourceDraft.d.ts +14 -14
- package/api/types/ResourceDraft.d.ts.map +1 -1
- package/api/types/ResourceDraft.js.map +1 -1
- package/api/types/ResourceFile.d.ts +14 -14
- package/api/types/ResourceFile.d.ts.map +1 -1
- package/api/types/ResourceFile.js.map +1 -1
- package/api/types/ResourceKeyPublic.d.ts +14 -14
- package/api/types/ResourceKeyPublic.d.ts.map +1 -1
- package/api/types/ResourceKeyPublic.js.map +1 -1
- package/api/types/ResourcePresentation.d.ts +14 -14
- package/api/types/ResourcePresentation.d.ts.map +1 -1
- package/api/types/ResourcePresentation.js.map +1 -1
- package/api/types/Service.d.ts +2 -2
- package/api/types/Service.d.ts.map +1 -1
- package/api/types/Service.js.map +1 -1
- package/api/types/ServiceUnavailableProblems.d.ts +14 -0
- package/api/types/ServiceUnavailableProblems.d.ts.map +1 -0
- package/api/types/ServiceUnavailableProblems.js +6 -0
- package/api/types/ServiceUnavailableProblems.js.map +1 -0
- package/api/types/VerificationMethodMultikey.d.ts +6 -6
- package/api/types/VerificationMethodMultikey.d.ts.map +1 -1
- package/api/types/VerificationMethodMultikey.js.map +1 -1
- package/api/types/index.d.ts +69 -71
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +69 -71
- package/api/types/index.js.map +1 -1
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/APIResponse.d.ts.map +1 -1
- package/core/fetcher/APIResponse.js.map +1 -1
- package/core/fetcher/Fetcher.d.ts.map +1 -1
- package/core/fetcher/Fetcher.js +7 -0
- package/core/fetcher/Fetcher.js.map +1 -1
- package/core/fetcher/Headers.d.ts +3 -0
- package/core/fetcher/Headers.d.ts.map +1 -0
- package/core/fetcher/Headers.js +85 -0
- package/core/fetcher/Headers.js.map +1 -0
- package/core/fetcher/HttpResponsePromise.d.ts +59 -0
- package/core/fetcher/HttpResponsePromise.d.ts.map +1 -0
- package/core/fetcher/HttpResponsePromise.js +104 -0
- package/core/fetcher/HttpResponsePromise.js.map +1 -0
- package/core/fetcher/RawResponse.d.ts +30 -0
- package/core/fetcher/RawResponse.d.ts.map +1 -0
- package/core/fetcher/RawResponse.js +45 -0
- package/core/fetcher/RawResponse.js.map +1 -0
- package/core/fetcher/index.d.ts +3 -0
- package/core/fetcher/index.d.ts.map +1 -1
- package/core/fetcher/index.js +7 -1
- package/core/fetcher/index.js.map +1 -1
- package/documents/credential/draft.d.ts.map +1 -1
- package/documents/credential/draft.js +0 -1
- package/documents/credential/draft.js.map +1 -1
- package/documents/credential/verifiable.d.ts.map +1 -1
- package/documents/credential/verifiable.js +1 -2
- package/documents/credential/verifiable.js.map +1 -1
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +0 -1
- package/documents/credential.js.map +1 -1
- package/documents/models.d.ts.map +1 -1
- package/documents/models.js +8 -24
- package/documents/models.js.map +1 -1
- package/documents/models.spec.js +18 -20
- package/documents/models.spec.js.map +1 -1
- package/documents/schemas.d.ts +0 -1
- package/documents/schemas.d.ts.map +1 -1
- package/documents/schemas.js +0 -1
- package/documents/schemas.js.map +1 -1
- package/documents/types.d.ts +0 -1
- package/documents/types.d.ts.map +1 -1
- package/documents/types.js.map +1 -1
- package/errors/TruvityError.d.ts +4 -1
- package/errors/TruvityError.d.ts.map +1 -1
- package/errors/TruvityError.js +4 -7
- package/errors/TruvityError.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/middlewares/csrf/csrf.d.ts +27 -0
- package/middlewares/csrf/csrf.d.ts.map +1 -0
- package/middlewares/csrf/csrf.js +88 -0
- package/middlewares/csrf/csrf.js.map +1 -0
- package/middlewares/csrf/csrf.spec.d.ts +2 -0
- package/middlewares/csrf/csrf.spec.d.ts.map +1 -0
- package/middlewares/csrf/csrf.spec.js +136 -0
- package/middlewares/csrf/csrf.spec.js.map +1 -0
- package/middlewares/csrf/index.d.ts +2 -0
- package/middlewares/csrf/index.d.ts.map +1 -0
- package/middlewares/csrf/index.js +18 -0
- package/middlewares/csrf/index.js.map +1 -0
- package/middlewares/index.d.ts +3 -0
- package/middlewares/index.d.ts.map +1 -0
- package/middlewares/index.js +19 -0
- package/middlewares/index.js.map +1 -0
- package/middlewares/middleware.d.ts +6 -0
- package/middlewares/middleware.d.ts.map +1 -0
- package/middlewares/middleware.js +17 -0
- package/middlewares/middleware.js.map +1 -0
- package/middlewares/middleware.spec.d.ts +9 -0
- package/middlewares/middleware.spec.d.ts.map +1 -0
- package/middlewares/middleware.spec.js +121 -0
- package/middlewares/middleware.spec.js.map +1 -0
- package/package.json +3 -2
- package/reference.md +86 -9
- package/serialization/resources/credentials/client/requests/CredentialInput.d.ts +1 -1
- package/serialization/resources/credentials/client/requests/CredentialInput.d.ts.map +1 -1
- package/serialization/resources/credentials/client/requests/CredentialInput.js.map +1 -1
- package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +1 -1
- package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts.map +1 -1
- package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.js +1 -1
- package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftInput.d.ts +1 -1
- package/serialization/resources/drafts/client/requests/DraftInput.d.ts.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftInput.js +1 -1
- package/serialization/resources/drafts/client/requests/DraftInput.js.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.d.ts +3 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.js +3 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.js.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts +20 -0
- package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts.map +1 -0
- package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.js +51 -0
- package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.js.map +1 -0
- package/serialization/resources/drafts/client/requests/index.d.ts +1 -0
- package/serialization/resources/drafts/client/requests/index.d.ts.map +1 -1
- package/serialization/resources/drafts/client/requests/index.js +3 -1
- package/serialization/resources/drafts/client/requests/index.js.map +1 -1
- package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts +11 -0
- package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.js +42 -0
- package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.js.map +1 -0
- package/serialization/resources/drafts/types/index.d.ts +1 -0
- package/serialization/resources/drafts/types/index.d.ts.map +1 -1
- package/serialization/resources/drafts/types/index.js +1 -0
- package/serialization/resources/drafts/types/index.js.map +1 -1
- package/serialization/resources/files/client/requests/FileInput.d.ts +1 -1
- package/serialization/resources/files/client/requests/FileInput.d.ts.map +1 -1
- package/serialization/resources/files/client/requests/FileInput.js +1 -1
- package/serialization/resources/files/client/requests/FileInput.js.map +1 -1
- package/serialization/resources/keys/client/requests/KeyGenerateInput.d.ts +1 -1
- package/serialization/resources/keys/client/requests/KeyGenerateInput.d.ts.map +1 -1
- package/serialization/resources/keys/client/requests/KeyGenerateInput.js +1 -1
- package/serialization/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
- package/serialization/resources/keys/client/requests/KeyImportSecretInput.d.ts +1 -1
- package/serialization/resources/keys/client/requests/KeyImportSecretInput.d.ts.map +1 -1
- package/serialization/resources/keys/client/requests/KeyImportSecretInput.js +1 -1
- package/serialization/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationExport.d.ts +1 -1
- package/serialization/resources/presentations/client/requests/PresentationExport.d.ts.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationExport.js +1 -1
- package/serialization/resources/presentations/client/requests/PresentationExport.js.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.js +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
- package/serialization/types/ApiKeyBaseFilter.d.ts +30 -0
- package/serialization/types/ApiKeyBaseFilter.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilter.js +61 -0
- package/serialization/types/ApiKeyBaseFilter.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/ApiKeyBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/ApiKeyBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/ApiKeyBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterCreatedAt.js +58 -0
- package/serialization/types/ApiKeyBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/ApiKeyBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterDeletedAt.js +62 -0
- package/serialization/types/ApiKeyBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterEtag.d.ts +27 -0
- package/serialization/types/ApiKeyBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterEtag.js +56 -0
- package/serialization/types/ApiKeyBaseFilterEtag.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterId.d.ts +27 -0
- package/serialization/types/ApiKeyBaseFilterId.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterId.js +56 -0
- package/serialization/types/ApiKeyBaseFilterId.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/ApiKeyBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterLabelsItem.js +56 -0
- package/serialization/types/ApiKeyBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/ApiKeyBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterModifiedAt.js +58 -0
- package/serialization/types/ApiKeyBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/ApiKeyBaseFilterRevision.d.ts +47 -0
- package/serialization/types/ApiKeyBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/ApiKeyBaseFilterRevision.js +66 -0
- package/serialization/types/ApiKeyBaseFilterRevision.js.map +1 -0
- package/serialization/types/ApiKeyFilter.d.ts +2 -20
- package/serialization/types/ApiKeyFilter.d.ts.map +1 -1
- package/serialization/types/ApiKeyFilter.js +2 -54
- package/serialization/types/ApiKeyFilter.js.map +1 -1
- package/serialization/types/ApiKeyFull.d.ts +1 -1
- package/serialization/types/ApiKeyFull.d.ts.map +1 -1
- package/serialization/types/ApiKeyFull.js +1 -1
- package/serialization/types/ApiKeyFull.js.map +1 -1
- package/serialization/types/Credential.d.ts +4 -5
- package/serialization/types/Credential.d.ts.map +1 -1
- package/serialization/types/Credential.js +4 -5
- package/serialization/types/Credential.js.map +1 -1
- package/serialization/types/Credential11.d.ts +4 -4
- package/serialization/types/Credential11.d.ts.map +1 -1
- package/serialization/types/Credential11.js +4 -4
- package/serialization/types/Credential11.js.map +1 -1
- package/serialization/types/CredentialBaseFilter.d.ts +30 -0
- package/serialization/types/CredentialBaseFilter.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilter.js +61 -0
- package/serialization/types/CredentialBaseFilter.js.map +1 -0
- package/serialization/types/CredentialBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/CredentialBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/CredentialBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/CredentialBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/CredentialBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterCreatedAt.js +58 -0
- package/serialization/types/CredentialBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/CredentialBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/CredentialBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterDeletedAt.js +62 -0
- package/serialization/types/CredentialBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/CredentialBaseFilterEtag.d.ts +27 -0
- package/serialization/types/CredentialBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterEtag.js +56 -0
- package/serialization/types/CredentialBaseFilterEtag.js.map +1 -0
- package/serialization/types/CredentialBaseFilterId.d.ts +27 -0
- package/serialization/types/CredentialBaseFilterId.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterId.js +56 -0
- package/serialization/types/CredentialBaseFilterId.js.map +1 -0
- package/serialization/types/CredentialBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/CredentialBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterLabelsItem.js +56 -0
- package/serialization/types/CredentialBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/CredentialBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/CredentialBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterModifiedAt.js +58 -0
- package/serialization/types/CredentialBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/CredentialBaseFilterRevision.d.ts +47 -0
- package/serialization/types/CredentialBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/CredentialBaseFilterRevision.js +66 -0
- package/serialization/types/CredentialBaseFilterRevision.js.map +1 -0
- package/serialization/types/CredentialFilter.d.ts +2 -20
- package/serialization/types/CredentialFilter.d.ts.map +1 -1
- package/serialization/types/CredentialFilter.js +2 -54
- package/serialization/types/CredentialFilter.js.map +1 -1
- package/serialization/types/CredentialFilterData.d.ts +2 -4
- package/serialization/types/CredentialFilterData.d.ts.map +1 -1
- package/serialization/types/CredentialFilterData.js +2 -4
- package/serialization/types/CredentialFilterData.js.map +1 -1
- package/serialization/types/CredentialFilterDataDigestMultibase.d.ts +1 -9
- package/serialization/types/CredentialFilterDataDigestMultibase.d.ts.map +1 -1
- package/serialization/types/CredentialFilterDataDigestMultibase.js +0 -4
- package/serialization/types/CredentialFilterDataDigestMultibase.js.map +1 -1
- package/serialization/types/CredentialProof.d.ts +1 -1
- package/serialization/types/CredentialProof.d.ts.map +1 -1
- package/serialization/types/CredentialProof.js +1 -1
- package/serialization/types/CredentialProof.js.map +1 -1
- package/serialization/types/CredentialSortField.d.ts +1 -1
- package/serialization/types/CredentialSortField.d.ts.map +1 -1
- package/serialization/types/CredentialSortField.js +0 -1
- package/serialization/types/CredentialSortField.js.map +1 -1
- package/serialization/types/DidCommMessage.d.ts +2 -2
- package/serialization/types/DidCommMessage.d.ts.map +1 -1
- package/serialization/types/DidCommMessage.js +2 -2
- package/serialization/types/DidCommMessage.js.map +1 -1
- package/serialization/types/DidCommMessageSend.d.ts +2 -2
- package/serialization/types/DidCommMessageSend.d.ts.map +1 -1
- package/serialization/types/DidCommMessageSend.js +2 -2
- package/serialization/types/DidCommMessageSend.js.map +1 -1
- package/serialization/types/DidDocument.d.ts +4 -4
- package/serialization/types/DidDocument.d.ts.map +1 -1
- package/serialization/types/DidDocument.js +4 -4
- package/serialization/types/DidDocument.js.map +1 -1
- package/serialization/types/DidcommMessageBaseFilter.d.ts +30 -0
- package/serialization/types/DidcommMessageBaseFilter.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilter.js +61 -0
- package/serialization/types/DidcommMessageBaseFilter.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/DidcommMessageBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/DidcommMessageBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/DidcommMessageBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterCreatedAt.js +58 -0
- package/serialization/types/DidcommMessageBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/DidcommMessageBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterDeletedAt.js +62 -0
- package/serialization/types/DidcommMessageBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterEtag.d.ts +27 -0
- package/serialization/types/DidcommMessageBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterEtag.js +56 -0
- package/serialization/types/DidcommMessageBaseFilterEtag.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterId.d.ts +27 -0
- package/serialization/types/DidcommMessageBaseFilterId.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterId.js +56 -0
- package/serialization/types/DidcommMessageBaseFilterId.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/DidcommMessageBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterLabelsItem.js +56 -0
- package/serialization/types/DidcommMessageBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/DidcommMessageBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterModifiedAt.js +58 -0
- package/serialization/types/DidcommMessageBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterRevision.d.ts +47 -0
- package/serialization/types/DidcommMessageBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/DidcommMessageBaseFilterRevision.js +66 -0
- package/serialization/types/DidcommMessageBaseFilterRevision.js.map +1 -0
- package/serialization/types/DidcommMessageFilter.d.ts +2 -20
- package/serialization/types/DidcommMessageFilter.d.ts.map +1 -1
- package/serialization/types/DidcommMessageFilter.js +2 -54
- package/serialization/types/DidcommMessageFilter.js.map +1 -1
- package/serialization/types/Draft.d.ts +3 -3
- package/serialization/types/Draft.d.ts.map +1 -1
- package/serialization/types/Draft.js +3 -3
- package/serialization/types/Draft.js.map +1 -1
- package/serialization/types/DraftBaseFilter.d.ts +30 -0
- package/serialization/types/DraftBaseFilter.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilter.js +61 -0
- package/serialization/types/DraftBaseFilter.js.map +1 -0
- package/serialization/types/DraftBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/DraftBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/DraftBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/DraftBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/DraftBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterCreatedAt.js +58 -0
- package/serialization/types/DraftBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/DraftBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/DraftBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterDeletedAt.js +62 -0
- package/serialization/types/DraftBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/DraftBaseFilterEtag.d.ts +27 -0
- package/serialization/types/DraftBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterEtag.js +56 -0
- package/serialization/types/DraftBaseFilterEtag.js.map +1 -0
- package/serialization/types/DraftBaseFilterId.d.ts +27 -0
- package/serialization/types/DraftBaseFilterId.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterId.js +56 -0
- package/serialization/types/DraftBaseFilterId.js.map +1 -0
- package/serialization/types/DraftBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/DraftBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterLabelsItem.js +56 -0
- package/serialization/types/DraftBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/DraftBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/DraftBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterModifiedAt.js +58 -0
- package/serialization/types/DraftBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/DraftBaseFilterRevision.d.ts +47 -0
- package/serialization/types/DraftBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/DraftBaseFilterRevision.js +66 -0
- package/serialization/types/DraftBaseFilterRevision.js.map +1 -0
- package/serialization/types/DraftCreate.d.ts +2 -2
- package/serialization/types/DraftCreate.d.ts.map +1 -1
- package/serialization/types/DraftCreate.js +2 -2
- package/serialization/types/DraftCreate.js.map +1 -1
- package/serialization/types/DraftEnumValue.d.ts +1 -1
- package/serialization/types/DraftEnumValue.d.ts.map +1 -1
- package/serialization/types/DraftEnumValue.js +1 -1
- package/serialization/types/DraftEnumValue.js.map +1 -1
- package/serialization/types/DraftFieldBooleanValue.d.ts +1 -1
- package/serialization/types/DraftFieldBooleanValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldBooleanValue.js +1 -1
- package/serialization/types/DraftFieldBooleanValue.js.map +1 -1
- package/serialization/types/DraftFieldDateTimeValue.d.ts +1 -1
- package/serialization/types/DraftFieldDateTimeValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldDateTimeValue.js +1 -1
- package/serialization/types/DraftFieldDateTimeValue.js.map +1 -1
- package/serialization/types/DraftFieldDateValue.d.ts +1 -1
- package/serialization/types/DraftFieldDateValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldDateValue.js +1 -1
- package/serialization/types/DraftFieldDateValue.js.map +1 -1
- package/serialization/types/DraftFieldFileValue.d.ts +1 -1
- package/serialization/types/DraftFieldFileValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldFileValue.js +1 -1
- package/serialization/types/DraftFieldFileValue.js.map +1 -1
- package/serialization/types/DraftFieldLinkValue.d.ts +1 -1
- package/serialization/types/DraftFieldLinkValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldLinkValue.js +1 -1
- package/serialization/types/DraftFieldLinkValue.js.map +1 -1
- package/serialization/types/DraftFieldNumberValue.d.ts +1 -1
- package/serialization/types/DraftFieldNumberValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldNumberValue.js +1 -1
- package/serialization/types/DraftFieldNumberValue.js.map +1 -1
- package/serialization/types/DraftFieldStringValue.d.ts +1 -1
- package/serialization/types/DraftFieldStringValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldStringValue.js +1 -1
- package/serialization/types/DraftFieldStringValue.js.map +1 -1
- package/serialization/types/DraftFieldStructValue.d.ts +3 -3
- package/serialization/types/DraftFieldStructValue.d.ts.map +1 -1
- package/serialization/types/DraftFieldStructValue.js +3 -3
- package/serialization/types/DraftFieldStructValue.js.map +1 -1
- package/serialization/types/DraftFilter.d.ts +2 -20
- package/serialization/types/DraftFilter.d.ts.map +1 -1
- package/serialization/types/DraftFilter.js +2 -54
- package/serialization/types/DraftFilter.js.map +1 -1
- package/serialization/types/DraftFilterData.d.ts +2 -2
- package/serialization/types/DraftFilterData.d.ts.map +1 -1
- package/serialization/types/DraftFilterData.js +2 -2
- package/serialization/types/DraftFilterData.js.map +1 -1
- package/serialization/types/DraftSchema.d.ts +2 -2
- package/serialization/types/DraftSchema.d.ts.map +1 -1
- package/serialization/types/DraftSchema.js +2 -2
- package/serialization/types/DraftSchema.js.map +1 -1
- package/serialization/types/DraftUpdate.d.ts +0 -2
- package/serialization/types/DraftUpdate.d.ts.map +1 -1
- package/serialization/types/DraftUpdate.js +0 -2
- package/serialization/types/DraftUpdate.js.map +1 -1
- package/serialization/types/EcdsaSecp256K1VerificationKey2019.d.ts +3 -3
- package/serialization/types/EcdsaSecp256K1VerificationKey2019.d.ts.map +1 -1
- package/serialization/types/EcdsaSecp256K1VerificationKey2019.js +3 -3
- package/serialization/types/EcdsaSecp256K1VerificationKey2019.js.map +1 -1
- package/serialization/types/ErrorModel.d.ts +2 -2
- package/serialization/types/ErrorModel.d.ts.map +1 -1
- package/serialization/types/ErrorModel.js +2 -2
- package/serialization/types/ErrorModel.js.map +1 -1
- package/serialization/types/FileBaseFilter.d.ts +30 -0
- package/serialization/types/FileBaseFilter.d.ts.map +1 -0
- package/serialization/types/FileBaseFilter.js +61 -0
- package/serialization/types/FileBaseFilter.js.map +1 -0
- package/serialization/types/FileBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/FileBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/FileBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/FileBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/FileBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterCreatedAt.js +58 -0
- package/serialization/types/FileBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/FileBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/FileBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterDeletedAt.js +62 -0
- package/serialization/types/FileBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/FileBaseFilterEtag.d.ts +27 -0
- package/serialization/types/FileBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterEtag.js +56 -0
- package/serialization/types/FileBaseFilterEtag.js.map +1 -0
- package/serialization/types/FileBaseFilterId.d.ts +27 -0
- package/serialization/types/FileBaseFilterId.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterId.js +56 -0
- package/serialization/types/FileBaseFilterId.js.map +1 -0
- package/serialization/types/FileBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/FileBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterLabelsItem.js +56 -0
- package/serialization/types/FileBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/FileBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/FileBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterModifiedAt.js +58 -0
- package/serialization/types/FileBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/FileBaseFilterRevision.d.ts +47 -0
- package/serialization/types/FileBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/FileBaseFilterRevision.js +66 -0
- package/serialization/types/FileBaseFilterRevision.js.map +1 -0
- package/serialization/types/FileFilter.d.ts +2 -20
- package/serialization/types/FileFilter.d.ts.map +1 -1
- package/serialization/types/FileFilter.js +2 -54
- package/serialization/types/FileFilter.js.map +1 -1
- package/serialization/types/FileFilterData.d.ts +0 -2
- package/serialization/types/FileFilterData.d.ts.map +1 -1
- package/serialization/types/FileFilterData.js +0 -2
- package/serialization/types/FileFilterData.js.map +1 -1
- package/serialization/types/FileFilterDataDigestMultibase.d.ts +1 -9
- package/serialization/types/FileFilterDataDigestMultibase.d.ts.map +1 -1
- package/serialization/types/FileFilterDataDigestMultibase.js +0 -4
- package/serialization/types/FileFilterDataDigestMultibase.js.map +1 -1
- package/serialization/types/FileSortField.d.ts +1 -1
- package/serialization/types/FileSortField.d.ts.map +1 -1
- package/serialization/types/FileSortField.js +0 -1
- package/serialization/types/FileSortField.js.map +1 -1
- package/serialization/types/File_.d.ts +3 -4
- package/serialization/types/File_.d.ts.map +1 -1
- package/serialization/types/File_.js +3 -4
- package/serialization/types/File_.js.map +1 -1
- package/serialization/types/KeyBaseFilter.d.ts +30 -0
- package/serialization/types/KeyBaseFilter.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilter.js +61 -0
- package/serialization/types/KeyBaseFilter.js.map +1 -0
- package/serialization/types/KeyBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/KeyBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/KeyBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/KeyBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/KeyBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterCreatedAt.js +58 -0
- package/serialization/types/KeyBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/KeyBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/KeyBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterDeletedAt.js +62 -0
- package/serialization/types/KeyBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/KeyBaseFilterEtag.d.ts +27 -0
- package/serialization/types/KeyBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterEtag.js +56 -0
- package/serialization/types/KeyBaseFilterEtag.js.map +1 -0
- package/serialization/types/KeyBaseFilterId.d.ts +27 -0
- package/serialization/types/KeyBaseFilterId.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterId.js +56 -0
- package/serialization/types/KeyBaseFilterId.js.map +1 -0
- package/serialization/types/KeyBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/KeyBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterLabelsItem.js +56 -0
- package/serialization/types/KeyBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/KeyBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/KeyBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterModifiedAt.js +58 -0
- package/serialization/types/KeyBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/KeyBaseFilterRevision.d.ts +47 -0
- package/serialization/types/KeyBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/KeyBaseFilterRevision.js +66 -0
- package/serialization/types/KeyBaseFilterRevision.js.map +1 -0
- package/serialization/types/KeyFilter.d.ts +2 -20
- package/serialization/types/KeyFilter.d.ts.map +1 -1
- package/serialization/types/KeyFilter.js +2 -54
- package/serialization/types/KeyFilter.js.map +1 -1
- package/serialization/types/KeyFilterData.d.ts +2 -2
- package/serialization/types/KeyFilterData.d.ts.map +1 -1
- package/serialization/types/KeyFilterData.js +2 -2
- package/serialization/types/KeyFilterData.js.map +1 -1
- package/serialization/types/KeyPublic.d.ts +3 -3
- package/serialization/types/KeyPublic.d.ts.map +1 -1
- package/serialization/types/KeyPublic.js +3 -3
- package/serialization/types/KeyPublic.js.map +1 -1
- package/serialization/types/Presentation.d.ts +2 -3
- package/serialization/types/Presentation.d.ts.map +1 -1
- package/serialization/types/Presentation.js +2 -3
- package/serialization/types/Presentation.js.map +1 -1
- package/serialization/types/PresentationBaseFilter.d.ts +30 -0
- package/serialization/types/PresentationBaseFilter.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilter.js +61 -0
- package/serialization/types/PresentationBaseFilter.js.map +1 -0
- package/serialization/types/PresentationBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/PresentationBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/PresentationBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/PresentationBaseFilterCreatedAt.d.ts +31 -0
- package/serialization/types/PresentationBaseFilterCreatedAt.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterCreatedAt.js +58 -0
- package/serialization/types/PresentationBaseFilterCreatedAt.js.map +1 -0
- package/serialization/types/PresentationBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/PresentationBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterDeletedAt.js +62 -0
- package/serialization/types/PresentationBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/PresentationBaseFilterEtag.d.ts +27 -0
- package/serialization/types/PresentationBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterEtag.js +56 -0
- package/serialization/types/PresentationBaseFilterEtag.js.map +1 -0
- package/serialization/types/PresentationBaseFilterId.d.ts +27 -0
- package/serialization/types/PresentationBaseFilterId.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterId.js +56 -0
- package/serialization/types/PresentationBaseFilterId.js.map +1 -0
- package/serialization/types/PresentationBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/PresentationBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterLabelsItem.js +56 -0
- package/serialization/types/PresentationBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/PresentationBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/PresentationBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterModifiedAt.js +58 -0
- package/serialization/types/PresentationBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/PresentationBaseFilterRevision.d.ts +47 -0
- package/serialization/types/PresentationBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/PresentationBaseFilterRevision.js +66 -0
- package/serialization/types/PresentationBaseFilterRevision.js.map +1 -0
- package/serialization/types/PresentationFilter.d.ts +2 -20
- package/serialization/types/PresentationFilter.d.ts.map +1 -1
- package/serialization/types/PresentationFilter.js +2 -54
- package/serialization/types/PresentationFilter.js.map +1 -1
- package/serialization/types/PresentationFilterData.d.ts +2 -4
- package/serialization/types/PresentationFilterData.d.ts.map +1 -1
- package/serialization/types/PresentationFilterData.js +2 -4
- package/serialization/types/PresentationFilterData.js.map +1 -1
- package/serialization/types/PresentationFilterDataDigestMultibase.d.ts +1 -9
- package/serialization/types/PresentationFilterDataDigestMultibase.d.ts.map +1 -1
- package/serialization/types/PresentationFilterDataDigestMultibase.js +0 -4
- package/serialization/types/PresentationFilterDataDigestMultibase.js.map +1 -1
- package/serialization/types/PresentationSortField.d.ts +1 -1
- package/serialization/types/PresentationSortField.d.ts.map +1 -1
- package/serialization/types/PresentationSortField.js +0 -1
- package/serialization/types/PresentationSortField.js.map +1 -1
- package/serialization/types/ProblemBadRequest.d.ts +2 -2
- package/serialization/types/ProblemBadRequest.d.ts.map +1 -1
- package/serialization/types/ProblemBadRequest.js +2 -2
- package/serialization/types/ProblemBadRequest.js.map +1 -1
- package/serialization/types/ProblemBadRequestBlobEmptyData.d.ts +2 -2
- package/serialization/types/ProblemBadRequestBlobEmptyData.d.ts.map +1 -1
- package/serialization/types/ProblemBadRequestBlobEmptyData.js +2 -2
- package/serialization/types/ProblemBadRequestBlobEmptyData.js.map +1 -1
- package/serialization/types/ProblemBadRequestBlobInvalidJson.d.ts +2 -2
- package/serialization/types/ProblemBadRequestBlobInvalidJson.d.ts.map +1 -1
- package/serialization/types/ProblemBadRequestBlobInvalidJson.js +2 -2
- package/serialization/types/ProblemBadRequestBlobInvalidJson.js.map +1 -1
- package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts +2 -2
- package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts.map +1 -1
- package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.js +2 -2
- package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.js.map +1 -1
- package/serialization/types/ProblemBlobNotFound.d.ts +4 -4
- package/serialization/types/ProblemBlobNotFound.d.ts.map +1 -1
- package/serialization/types/ProblemBlobNotFound.js +4 -4
- package/serialization/types/ProblemBlobNotFound.js.map +1 -1
- package/serialization/types/ProblemConflict.d.ts +2 -2
- package/serialization/types/ProblemConflict.d.ts.map +1 -1
- package/serialization/types/ProblemConflict.js +2 -2
- package/serialization/types/ProblemConflict.js.map +1 -1
- package/serialization/types/ProblemConflictBlobRestoreInProgress.d.ts +2 -2
- package/serialization/types/ProblemConflictBlobRestoreInProgress.d.ts.map +1 -1
- package/serialization/types/ProblemConflictBlobRestoreInProgress.js +2 -2
- package/serialization/types/ProblemConflictBlobRestoreInProgress.js.map +1 -1
- package/serialization/types/ProblemConflictResource.d.ts +2 -2
- package/serialization/types/ProblemConflictResource.d.ts.map +1 -1
- package/serialization/types/ProblemConflictResource.js +2 -2
- package/serialization/types/ProblemConflictResource.js.map +1 -1
- package/serialization/types/ProblemForbidden.d.ts +2 -2
- package/serialization/types/ProblemForbidden.d.ts.map +1 -1
- package/serialization/types/ProblemForbidden.js +2 -2
- package/serialization/types/ProblemForbidden.js.map +1 -1
- package/serialization/types/ProblemInternalServerError.d.ts +3 -3
- package/serialization/types/ProblemInternalServerError.d.ts.map +1 -1
- package/serialization/types/ProblemInternalServerError.js +3 -3
- package/serialization/types/ProblemInternalServerError.js.map +1 -1
- package/serialization/types/ProblemMethodNotAllowed.d.ts +2 -2
- package/serialization/types/ProblemMethodNotAllowed.d.ts.map +1 -1
- package/serialization/types/ProblemMethodNotAllowed.js +2 -2
- package/serialization/types/ProblemMethodNotAllowed.js.map +1 -1
- package/serialization/types/ProblemMethodNotAllowedAlive.d.ts +2 -2
- package/serialization/types/ProblemMethodNotAllowedAlive.d.ts.map +1 -1
- package/serialization/types/ProblemMethodNotAllowedAlive.js +2 -2
- package/serialization/types/ProblemMethodNotAllowedAlive.js.map +1 -1
- package/serialization/types/ProblemMethodNotAllowedDeleted.d.ts +2 -2
- package/serialization/types/ProblemMethodNotAllowedDeleted.d.ts.map +1 -1
- package/serialization/types/ProblemMethodNotAllowedDeleted.js +2 -2
- package/serialization/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
- package/serialization/types/ProblemMethodNotAllowedRoute.d.ts +2 -2
- package/serialization/types/ProblemMethodNotAllowedRoute.d.ts.map +1 -1
- package/serialization/types/ProblemMethodNotAllowedRoute.js +2 -2
- package/serialization/types/ProblemMethodNotAllowedRoute.js.map +1 -1
- package/serialization/types/ProblemNotFound.d.ts +2 -2
- package/serialization/types/ProblemNotFound.d.ts.map +1 -1
- package/serialization/types/ProblemNotFound.js +2 -2
- package/serialization/types/ProblemNotFound.js.map +1 -1
- package/serialization/types/ProblemPreconditionFailed.d.ts +2 -2
- package/serialization/types/ProblemPreconditionFailed.d.ts.map +1 -1
- package/serialization/types/ProblemPreconditionFailed.js +2 -2
- package/serialization/types/ProblemPreconditionFailed.js.map +1 -1
- package/serialization/types/ProblemPreconditionFailedBlob.d.ts +4 -4
- package/serialization/types/ProblemPreconditionFailedBlob.d.ts.map +1 -1
- package/serialization/types/ProblemPreconditionFailedBlob.js +4 -4
- package/serialization/types/ProblemPreconditionFailedBlob.js.map +1 -1
- package/serialization/types/ProblemPreconditionFailedResource.d.ts +4 -4
- package/serialization/types/ProblemPreconditionFailedResource.d.ts.map +1 -1
- package/serialization/types/ProblemPreconditionFailedResource.js +4 -4
- package/serialization/types/ProblemPreconditionFailedResource.js.map +1 -1
- package/serialization/types/ProblemResourceNotFound.d.ts +4 -4
- package/serialization/types/ProblemResourceNotFound.d.ts.map +1 -1
- package/serialization/types/ProblemResourceNotFound.js +4 -4
- package/serialization/types/ProblemResourceNotFound.js.map +1 -1
- package/serialization/types/ProblemResourceRevisionNotFound.d.ts +4 -4
- package/serialization/types/ProblemResourceRevisionNotFound.d.ts.map +1 -1
- package/serialization/types/ProblemResourceRevisionNotFound.js +4 -4
- package/serialization/types/ProblemResourceRevisionNotFound.js.map +1 -1
- package/serialization/types/ProblemServiceUnavailable.d.ts +18 -0
- package/serialization/types/ProblemServiceUnavailable.d.ts.map +1 -0
- package/serialization/types/ProblemServiceUnavailable.js +49 -0
- package/serialization/types/ProblemServiceUnavailable.js.map +1 -0
- package/serialization/types/ProblemTooManyRequests.d.ts +2 -2
- package/serialization/types/ProblemTooManyRequests.d.ts.map +1 -1
- package/serialization/types/ProblemTooManyRequests.js +2 -2
- package/serialization/types/ProblemTooManyRequests.js.map +1 -1
- package/serialization/types/ProblemUnauthorized.d.ts +2 -2
- package/serialization/types/ProblemUnauthorized.d.ts.map +1 -1
- package/serialization/types/ProblemUnauthorized.js +2 -2
- package/serialization/types/ProblemUnauthorized.js.map +1 -1
- package/serialization/types/ProblemUnsupportedMediaType.d.ts +2 -2
- package/serialization/types/ProblemUnsupportedMediaType.d.ts.map +1 -1
- package/serialization/types/ProblemUnsupportedMediaType.js +2 -2
- package/serialization/types/ProblemUnsupportedMediaType.js.map +1 -1
- package/serialization/types/Resource.d.ts +6 -6
- package/serialization/types/Resource.d.ts.map +1 -1
- package/serialization/types/Resource.js +6 -6
- package/serialization/types/Resource.js.map +1 -1
- package/serialization/types/ResourceApiKey.d.ts +8 -8
- package/serialization/types/ResourceApiKey.d.ts.map +1 -1
- package/serialization/types/ResourceApiKey.js +8 -8
- package/serialization/types/ResourceApiKey.js.map +1 -1
- package/serialization/types/ResourceApiKeyFull.d.ts +8 -8
- package/serialization/types/ResourceApiKeyFull.d.ts.map +1 -1
- package/serialization/types/ResourceApiKeyFull.js +8 -8
- package/serialization/types/ResourceApiKeyFull.js.map +1 -1
- package/serialization/types/ResourceCredential.d.ts +8 -8
- package/serialization/types/ResourceCredential.d.ts.map +1 -1
- package/serialization/types/ResourceCredential.js +8 -8
- package/serialization/types/ResourceCredential.js.map +1 -1
- package/serialization/types/ResourceDidCommMessage.d.ts +8 -8
- package/serialization/types/ResourceDidCommMessage.d.ts.map +1 -1
- package/serialization/types/ResourceDidCommMessage.js +8 -8
- package/serialization/types/ResourceDidCommMessage.js.map +1 -1
- package/serialization/types/ResourceDraft.d.ts +8 -8
- package/serialization/types/ResourceDraft.d.ts.map +1 -1
- package/serialization/types/ResourceDraft.js +8 -8
- package/serialization/types/ResourceDraft.js.map +1 -1
- package/serialization/types/ResourceFile.d.ts +8 -8
- package/serialization/types/ResourceFile.d.ts.map +1 -1
- package/serialization/types/ResourceFile.js +8 -8
- package/serialization/types/ResourceFile.js.map +1 -1
- package/serialization/types/ResourceKeyPublic.d.ts +8 -8
- package/serialization/types/ResourceKeyPublic.d.ts.map +1 -1
- package/serialization/types/ResourceKeyPublic.js +8 -8
- package/serialization/types/ResourceKeyPublic.js.map +1 -1
- package/serialization/types/ResourcePresentation.d.ts +8 -8
- package/serialization/types/ResourcePresentation.d.ts.map +1 -1
- package/serialization/types/ResourcePresentation.js +8 -8
- package/serialization/types/ResourcePresentation.js.map +1 -1
- package/serialization/types/Service.d.ts +1 -1
- package/serialization/types/Service.d.ts.map +1 -1
- package/serialization/types/Service.js +1 -1
- package/serialization/types/Service.js.map +1 -1
- package/serialization/types/ServiceUnavailableProblems.d.ts +15 -0
- package/serialization/types/ServiceUnavailableProblems.d.ts.map +1 -0
- package/serialization/types/ServiceUnavailableProblems.js +50 -0
- package/serialization/types/ServiceUnavailableProblems.js.map +1 -0
- package/serialization/types/VerificationMethodMultikey.d.ts +3 -3
- package/serialization/types/VerificationMethodMultikey.d.ts.map +1 -1
- package/serialization/types/VerificationMethodMultikey.js +3 -3
- package/serialization/types/VerificationMethodMultikey.js.map +1 -1
- package/serialization/types/index.d.ts +69 -71
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +69 -71
- package/serialization/types/index.js.map +1 -1
- package/api/types/ApiKeyFilterAnnotationsItem.d.ts +0 -20
- package/api/types/ApiKeyFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/ApiKeyFilterAnnotationsItem.js +0 -6
- package/api/types/ApiKeyFilterAnnotationsItem.js.map +0 -1
- package/api/types/ApiKeyFilterCreatedAt.d.ts +0 -26
- package/api/types/ApiKeyFilterCreatedAt.d.ts.map +0 -1
- package/api/types/ApiKeyFilterCreatedAt.js +0 -6
- package/api/types/ApiKeyFilterCreatedAt.js.map +0 -1
- package/api/types/ApiKeyFilterDeletedAt.d.ts +0 -32
- package/api/types/ApiKeyFilterDeletedAt.d.ts.map +0 -1
- package/api/types/ApiKeyFilterDeletedAt.js +0 -6
- package/api/types/ApiKeyFilterDeletedAt.js.map +0 -1
- package/api/types/ApiKeyFilterEtag.d.ts +0 -23
- package/api/types/ApiKeyFilterEtag.d.ts.map +0 -1
- package/api/types/ApiKeyFilterEtag.js +0 -6
- package/api/types/ApiKeyFilterEtag.js.map +0 -1
- package/api/types/ApiKeyFilterId.d.ts +0 -23
- package/api/types/ApiKeyFilterId.d.ts.map +0 -1
- package/api/types/ApiKeyFilterId.js +0 -6
- package/api/types/ApiKeyFilterId.js.map +0 -1
- package/api/types/ApiKeyFilterLabelsItem.d.ts +0 -20
- package/api/types/ApiKeyFilterLabelsItem.d.ts.map +0 -1
- package/api/types/ApiKeyFilterLabelsItem.js +0 -6
- package/api/types/ApiKeyFilterLabelsItem.js.map +0 -1
- package/api/types/ApiKeyFilterModifiedAt.d.ts +0 -26
- package/api/types/ApiKeyFilterModifiedAt.d.ts.map +0 -1
- package/api/types/ApiKeyFilterModifiedAt.js +0 -6
- package/api/types/ApiKeyFilterModifiedAt.js.map +0 -1
- package/api/types/ApiKeyFilterRevision.d.ts +0 -38
- package/api/types/ApiKeyFilterRevision.d.ts.map +0 -1
- package/api/types/ApiKeyFilterRevision.js +0 -6
- package/api/types/ApiKeyFilterRevision.js.map +0 -1
- package/api/types/CredentialFilterAnnotationsItem.d.ts +0 -20
- package/api/types/CredentialFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/CredentialFilterAnnotationsItem.js +0 -6
- package/api/types/CredentialFilterAnnotationsItem.js.map +0 -1
- package/api/types/CredentialFilterCreatedAt.d.ts +0 -26
- package/api/types/CredentialFilterCreatedAt.d.ts.map +0 -1
- package/api/types/CredentialFilterCreatedAt.js +0 -6
- package/api/types/CredentialFilterCreatedAt.js.map +0 -1
- package/api/types/CredentialFilterDataMultihash.d.ts +0 -26
- package/api/types/CredentialFilterDataMultihash.d.ts.map +0 -1
- package/api/types/CredentialFilterDataMultihash.js +0 -6
- package/api/types/CredentialFilterDataMultihash.js.map +0 -1
- package/api/types/CredentialFilterDeletedAt.d.ts +0 -32
- package/api/types/CredentialFilterDeletedAt.d.ts.map +0 -1
- package/api/types/CredentialFilterDeletedAt.js +0 -6
- package/api/types/CredentialFilterDeletedAt.js.map +0 -1
- package/api/types/CredentialFilterEtag.d.ts +0 -23
- package/api/types/CredentialFilterEtag.d.ts.map +0 -1
- package/api/types/CredentialFilterEtag.js +0 -6
- package/api/types/CredentialFilterEtag.js.map +0 -1
- package/api/types/CredentialFilterId.d.ts +0 -23
- package/api/types/CredentialFilterId.d.ts.map +0 -1
- package/api/types/CredentialFilterId.js +0 -6
- package/api/types/CredentialFilterId.js.map +0 -1
- package/api/types/CredentialFilterLabelsItem.d.ts +0 -20
- package/api/types/CredentialFilterLabelsItem.d.ts.map +0 -1
- package/api/types/CredentialFilterLabelsItem.js +0 -6
- package/api/types/CredentialFilterLabelsItem.js.map +0 -1
- package/api/types/CredentialFilterModifiedAt.d.ts +0 -26
- package/api/types/CredentialFilterModifiedAt.d.ts.map +0 -1
- package/api/types/CredentialFilterModifiedAt.js +0 -6
- package/api/types/CredentialFilterModifiedAt.js.map +0 -1
- package/api/types/CredentialFilterRevision.d.ts +0 -38
- package/api/types/CredentialFilterRevision.d.ts.map +0 -1
- package/api/types/CredentialFilterRevision.js +0 -6
- package/api/types/CredentialFilterRevision.js.map +0 -1
- package/api/types/DidcommMessageFilterAnnotationsItem.d.ts +0 -20
- package/api/types/DidcommMessageFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterAnnotationsItem.js +0 -6
- package/api/types/DidcommMessageFilterAnnotationsItem.js.map +0 -1
- package/api/types/DidcommMessageFilterCreatedAt.d.ts +0 -26
- package/api/types/DidcommMessageFilterCreatedAt.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterCreatedAt.js +0 -6
- package/api/types/DidcommMessageFilterCreatedAt.js.map +0 -1
- package/api/types/DidcommMessageFilterDeletedAt.d.ts +0 -32
- package/api/types/DidcommMessageFilterDeletedAt.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterDeletedAt.js +0 -6
- package/api/types/DidcommMessageFilterDeletedAt.js.map +0 -1
- package/api/types/DidcommMessageFilterEtag.d.ts +0 -23
- package/api/types/DidcommMessageFilterEtag.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterEtag.js +0 -6
- package/api/types/DidcommMessageFilterEtag.js.map +0 -1
- package/api/types/DidcommMessageFilterId.d.ts +0 -23
- package/api/types/DidcommMessageFilterId.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterId.js +0 -6
- package/api/types/DidcommMessageFilterId.js.map +0 -1
- package/api/types/DidcommMessageFilterLabelsItem.d.ts +0 -20
- package/api/types/DidcommMessageFilterLabelsItem.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterLabelsItem.js +0 -6
- package/api/types/DidcommMessageFilterLabelsItem.js.map +0 -1
- package/api/types/DidcommMessageFilterModifiedAt.d.ts +0 -26
- package/api/types/DidcommMessageFilterModifiedAt.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterModifiedAt.js +0 -6
- package/api/types/DidcommMessageFilterModifiedAt.js.map +0 -1
- package/api/types/DidcommMessageFilterRevision.d.ts +0 -38
- package/api/types/DidcommMessageFilterRevision.d.ts.map +0 -1
- package/api/types/DidcommMessageFilterRevision.js +0 -6
- package/api/types/DidcommMessageFilterRevision.js.map +0 -1
- package/api/types/DraftFilterAnnotationsItem.d.ts +0 -20
- package/api/types/DraftFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/DraftFilterAnnotationsItem.js +0 -6
- package/api/types/DraftFilterAnnotationsItem.js.map +0 -1
- package/api/types/DraftFilterCreatedAt.d.ts +0 -26
- package/api/types/DraftFilterCreatedAt.d.ts.map +0 -1
- package/api/types/DraftFilterCreatedAt.js +0 -6
- package/api/types/DraftFilterCreatedAt.js.map +0 -1
- package/api/types/DraftFilterDeletedAt.d.ts +0 -32
- package/api/types/DraftFilterDeletedAt.d.ts.map +0 -1
- package/api/types/DraftFilterDeletedAt.js +0 -6
- package/api/types/DraftFilterDeletedAt.js.map +0 -1
- package/api/types/DraftFilterEtag.d.ts +0 -23
- package/api/types/DraftFilterEtag.d.ts.map +0 -1
- package/api/types/DraftFilterEtag.js +0 -6
- package/api/types/DraftFilterEtag.js.map +0 -1
- package/api/types/DraftFilterId.d.ts +0 -23
- package/api/types/DraftFilterId.d.ts.map +0 -1
- package/api/types/DraftFilterId.js +0 -6
- package/api/types/DraftFilterId.js.map +0 -1
- package/api/types/DraftFilterLabelsItem.d.ts +0 -20
- package/api/types/DraftFilterLabelsItem.d.ts.map +0 -1
- package/api/types/DraftFilterLabelsItem.js +0 -6
- package/api/types/DraftFilterLabelsItem.js.map +0 -1
- package/api/types/DraftFilterModifiedAt.d.ts +0 -26
- package/api/types/DraftFilterModifiedAt.d.ts.map +0 -1
- package/api/types/DraftFilterModifiedAt.js +0 -6
- package/api/types/DraftFilterModifiedAt.js.map +0 -1
- package/api/types/DraftFilterRevision.d.ts +0 -38
- package/api/types/DraftFilterRevision.d.ts.map +0 -1
- package/api/types/DraftFilterRevision.js +0 -6
- package/api/types/DraftFilterRevision.js.map +0 -1
- package/api/types/EqualMultihash.d.ts +0 -11
- package/api/types/EqualMultihash.d.ts.map +0 -1
- package/api/types/EqualMultihash.js +0 -6
- package/api/types/EqualMultihash.js.map +0 -1
- package/api/types/FileFilterAnnotationsItem.d.ts +0 -20
- package/api/types/FileFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/FileFilterAnnotationsItem.js +0 -6
- package/api/types/FileFilterAnnotationsItem.js.map +0 -1
- package/api/types/FileFilterCreatedAt.d.ts +0 -26
- package/api/types/FileFilterCreatedAt.d.ts.map +0 -1
- package/api/types/FileFilterCreatedAt.js +0 -6
- package/api/types/FileFilterCreatedAt.js.map +0 -1
- package/api/types/FileFilterDataMultihash.d.ts +0 -26
- package/api/types/FileFilterDataMultihash.d.ts.map +0 -1
- package/api/types/FileFilterDataMultihash.js +0 -6
- package/api/types/FileFilterDataMultihash.js.map +0 -1
- package/api/types/FileFilterDeletedAt.d.ts +0 -32
- package/api/types/FileFilterDeletedAt.d.ts.map +0 -1
- package/api/types/FileFilterDeletedAt.js +0 -6
- package/api/types/FileFilterDeletedAt.js.map +0 -1
- package/api/types/FileFilterEtag.d.ts +0 -23
- package/api/types/FileFilterEtag.d.ts.map +0 -1
- package/api/types/FileFilterEtag.js +0 -6
- package/api/types/FileFilterEtag.js.map +0 -1
- package/api/types/FileFilterId.d.ts +0 -23
- package/api/types/FileFilterId.d.ts.map +0 -1
- package/api/types/FileFilterId.js +0 -6
- package/api/types/FileFilterId.js.map +0 -1
- package/api/types/FileFilterLabelsItem.d.ts +0 -20
- package/api/types/FileFilterLabelsItem.d.ts.map +0 -1
- package/api/types/FileFilterLabelsItem.js +0 -6
- package/api/types/FileFilterLabelsItem.js.map +0 -1
- package/api/types/FileFilterModifiedAt.d.ts +0 -26
- package/api/types/FileFilterModifiedAt.d.ts.map +0 -1
- package/api/types/FileFilterModifiedAt.js +0 -6
- package/api/types/FileFilterModifiedAt.js.map +0 -1
- package/api/types/FileFilterRevision.d.ts +0 -38
- package/api/types/FileFilterRevision.d.ts.map +0 -1
- package/api/types/FileFilterRevision.js +0 -6
- package/api/types/FileFilterRevision.js.map +0 -1
- package/api/types/InMultihash.d.ts +0 -11
- package/api/types/InMultihash.d.ts.map +0 -1
- package/api/types/InMultihash.js +0 -6
- package/api/types/InMultihash.js.map +0 -1
- package/api/types/IsNotNullDigestMultibase.d.ts +0 -9
- package/api/types/IsNotNullDigestMultibase.d.ts.map +0 -1
- package/api/types/IsNotNullDigestMultibase.js +0 -6
- package/api/types/IsNotNullDigestMultibase.js.map +0 -1
- package/api/types/IsNotNullMultihash.d.ts +0 -9
- package/api/types/IsNotNullMultihash.d.ts.map +0 -1
- package/api/types/IsNotNullMultihash.js +0 -6
- package/api/types/IsNotNullMultihash.js.map +0 -1
- package/api/types/IsNullDigestMultibase.d.ts +0 -9
- package/api/types/IsNullDigestMultibase.d.ts.map +0 -1
- package/api/types/IsNullDigestMultibase.js +0 -6
- package/api/types/IsNullDigestMultibase.js.map +0 -1
- package/api/types/IsNullMultihash.d.ts +0 -9
- package/api/types/IsNullMultihash.d.ts.map +0 -1
- package/api/types/IsNullMultihash.js +0 -6
- package/api/types/IsNullMultihash.js.map +0 -1
- package/api/types/KeyFilterAnnotationsItem.d.ts +0 -20
- package/api/types/KeyFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/KeyFilterAnnotationsItem.js +0 -6
- package/api/types/KeyFilterAnnotationsItem.js.map +0 -1
- package/api/types/KeyFilterCreatedAt.d.ts +0 -26
- package/api/types/KeyFilterCreatedAt.d.ts.map +0 -1
- package/api/types/KeyFilterCreatedAt.js +0 -6
- package/api/types/KeyFilterCreatedAt.js.map +0 -1
- package/api/types/KeyFilterDeletedAt.d.ts +0 -32
- package/api/types/KeyFilterDeletedAt.d.ts.map +0 -1
- package/api/types/KeyFilterDeletedAt.js +0 -6
- package/api/types/KeyFilterDeletedAt.js.map +0 -1
- package/api/types/KeyFilterEtag.d.ts +0 -23
- package/api/types/KeyFilterEtag.d.ts.map +0 -1
- package/api/types/KeyFilterEtag.js +0 -6
- package/api/types/KeyFilterEtag.js.map +0 -1
- package/api/types/KeyFilterId.d.ts +0 -23
- package/api/types/KeyFilterId.d.ts.map +0 -1
- package/api/types/KeyFilterId.js +0 -6
- package/api/types/KeyFilterId.js.map +0 -1
- package/api/types/KeyFilterLabelsItem.d.ts +0 -20
- package/api/types/KeyFilterLabelsItem.d.ts.map +0 -1
- package/api/types/KeyFilterLabelsItem.js +0 -6
- package/api/types/KeyFilterLabelsItem.js.map +0 -1
- package/api/types/KeyFilterModifiedAt.d.ts +0 -26
- package/api/types/KeyFilterModifiedAt.d.ts.map +0 -1
- package/api/types/KeyFilterModifiedAt.js +0 -6
- package/api/types/KeyFilterModifiedAt.js.map +0 -1
- package/api/types/KeyFilterRevision.d.ts +0 -38
- package/api/types/KeyFilterRevision.d.ts.map +0 -1
- package/api/types/KeyFilterRevision.js +0 -6
- package/api/types/KeyFilterRevision.js.map +0 -1
- package/api/types/NotEqualMultihash.d.ts +0 -11
- package/api/types/NotEqualMultihash.d.ts.map +0 -1
- package/api/types/NotEqualMultihash.js +0 -6
- package/api/types/NotEqualMultihash.js.map +0 -1
- package/api/types/NotInMultihash.d.ts +0 -11
- package/api/types/NotInMultihash.d.ts.map +0 -1
- package/api/types/NotInMultihash.js +0 -6
- package/api/types/NotInMultihash.js.map +0 -1
- package/api/types/PresentationFilterAnnotationsItem.d.ts +0 -20
- package/api/types/PresentationFilterAnnotationsItem.d.ts.map +0 -1
- package/api/types/PresentationFilterAnnotationsItem.js +0 -6
- package/api/types/PresentationFilterAnnotationsItem.js.map +0 -1
- package/api/types/PresentationFilterCreatedAt.d.ts +0 -26
- package/api/types/PresentationFilterCreatedAt.d.ts.map +0 -1
- package/api/types/PresentationFilterCreatedAt.js +0 -6
- package/api/types/PresentationFilterCreatedAt.js.map +0 -1
- package/api/types/PresentationFilterDataMultihash.d.ts +0 -26
- package/api/types/PresentationFilterDataMultihash.d.ts.map +0 -1
- package/api/types/PresentationFilterDataMultihash.js +0 -6
- package/api/types/PresentationFilterDataMultihash.js.map +0 -1
- package/api/types/PresentationFilterDeletedAt.d.ts +0 -32
- package/api/types/PresentationFilterDeletedAt.d.ts.map +0 -1
- package/api/types/PresentationFilterDeletedAt.js +0 -6
- package/api/types/PresentationFilterDeletedAt.js.map +0 -1
- package/api/types/PresentationFilterEtag.d.ts +0 -23
- package/api/types/PresentationFilterEtag.d.ts.map +0 -1
- package/api/types/PresentationFilterEtag.js +0 -6
- package/api/types/PresentationFilterEtag.js.map +0 -1
- package/api/types/PresentationFilterId.d.ts +0 -23
- package/api/types/PresentationFilterId.d.ts.map +0 -1
- package/api/types/PresentationFilterId.js +0 -6
- package/api/types/PresentationFilterId.js.map +0 -1
- package/api/types/PresentationFilterLabelsItem.d.ts +0 -20
- package/api/types/PresentationFilterLabelsItem.d.ts.map +0 -1
- package/api/types/PresentationFilterLabelsItem.js +0 -6
- package/api/types/PresentationFilterLabelsItem.js.map +0 -1
- package/api/types/PresentationFilterModifiedAt.d.ts +0 -26
- package/api/types/PresentationFilterModifiedAt.d.ts.map +0 -1
- package/api/types/PresentationFilterModifiedAt.js +0 -6
- package/api/types/PresentationFilterModifiedAt.js.map +0 -1
- package/api/types/PresentationFilterRevision.d.ts +0 -38
- package/api/types/PresentationFilterRevision.d.ts.map +0 -1
- package/api/types/PresentationFilterRevision.js +0 -6
- package/api/types/PresentationFilterRevision.js.map +0 -1
- package/documents/credential/unknown.spec.d.ts +0 -2
- package/documents/credential/unknown.spec.d.ts.map +0 -1
- package/documents/credential/unknown.spec.js +0 -115
- package/documents/credential/unknown.spec.js.map +0 -1
- package/serialization/types/ApiKeyFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/ApiKeyFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterAnnotationsItem.js +0 -56
- package/serialization/types/ApiKeyFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/ApiKeyFilterCreatedAt.d.ts +0 -31
- package/serialization/types/ApiKeyFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterCreatedAt.js +0 -58
- package/serialization/types/ApiKeyFilterCreatedAt.js.map +0 -1
- package/serialization/types/ApiKeyFilterDeletedAt.d.ts +0 -39
- package/serialization/types/ApiKeyFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterDeletedAt.js +0 -62
- package/serialization/types/ApiKeyFilterDeletedAt.js.map +0 -1
- package/serialization/types/ApiKeyFilterEtag.d.ts +0 -27
- package/serialization/types/ApiKeyFilterEtag.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterEtag.js +0 -56
- package/serialization/types/ApiKeyFilterEtag.js.map +0 -1
- package/serialization/types/ApiKeyFilterId.d.ts +0 -27
- package/serialization/types/ApiKeyFilterId.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterId.js +0 -56
- package/serialization/types/ApiKeyFilterId.js.map +0 -1
- package/serialization/types/ApiKeyFilterLabelsItem.d.ts +0 -27
- package/serialization/types/ApiKeyFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterLabelsItem.js +0 -56
- package/serialization/types/ApiKeyFilterLabelsItem.js.map +0 -1
- package/serialization/types/ApiKeyFilterModifiedAt.d.ts +0 -31
- package/serialization/types/ApiKeyFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterModifiedAt.js +0 -58
- package/serialization/types/ApiKeyFilterModifiedAt.js.map +0 -1
- package/serialization/types/ApiKeyFilterRevision.d.ts +0 -47
- package/serialization/types/ApiKeyFilterRevision.d.ts.map +0 -1
- package/serialization/types/ApiKeyFilterRevision.js +0 -66
- package/serialization/types/ApiKeyFilterRevision.js.map +0 -1
- package/serialization/types/CredentialFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/CredentialFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/CredentialFilterAnnotationsItem.js +0 -56
- package/serialization/types/CredentialFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/CredentialFilterCreatedAt.d.ts +0 -31
- package/serialization/types/CredentialFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/CredentialFilterCreatedAt.js +0 -58
- package/serialization/types/CredentialFilterCreatedAt.js.map +0 -1
- package/serialization/types/CredentialFilterDataMultihash.d.ts +0 -35
- package/serialization/types/CredentialFilterDataMultihash.d.ts.map +0 -1
- package/serialization/types/CredentialFilterDataMultihash.js +0 -60
- package/serialization/types/CredentialFilterDataMultihash.js.map +0 -1
- package/serialization/types/CredentialFilterDeletedAt.d.ts +0 -39
- package/serialization/types/CredentialFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/CredentialFilterDeletedAt.js +0 -62
- package/serialization/types/CredentialFilterDeletedAt.js.map +0 -1
- package/serialization/types/CredentialFilterEtag.d.ts +0 -27
- package/serialization/types/CredentialFilterEtag.d.ts.map +0 -1
- package/serialization/types/CredentialFilterEtag.js +0 -56
- package/serialization/types/CredentialFilterEtag.js.map +0 -1
- package/serialization/types/CredentialFilterId.d.ts +0 -27
- package/serialization/types/CredentialFilterId.d.ts.map +0 -1
- package/serialization/types/CredentialFilterId.js +0 -56
- package/serialization/types/CredentialFilterId.js.map +0 -1
- package/serialization/types/CredentialFilterLabelsItem.d.ts +0 -27
- package/serialization/types/CredentialFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/CredentialFilterLabelsItem.js +0 -56
- package/serialization/types/CredentialFilterLabelsItem.js.map +0 -1
- package/serialization/types/CredentialFilterModifiedAt.d.ts +0 -31
- package/serialization/types/CredentialFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/CredentialFilterModifiedAt.js +0 -58
- package/serialization/types/CredentialFilterModifiedAt.js.map +0 -1
- package/serialization/types/CredentialFilterRevision.d.ts +0 -47
- package/serialization/types/CredentialFilterRevision.d.ts.map +0 -1
- package/serialization/types/CredentialFilterRevision.js +0 -66
- package/serialization/types/CredentialFilterRevision.js.map +0 -1
- package/serialization/types/DidcommMessageFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/DidcommMessageFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterAnnotationsItem.js +0 -56
- package/serialization/types/DidcommMessageFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/DidcommMessageFilterCreatedAt.d.ts +0 -31
- package/serialization/types/DidcommMessageFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterCreatedAt.js +0 -58
- package/serialization/types/DidcommMessageFilterCreatedAt.js.map +0 -1
- package/serialization/types/DidcommMessageFilterDeletedAt.d.ts +0 -39
- package/serialization/types/DidcommMessageFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterDeletedAt.js +0 -62
- package/serialization/types/DidcommMessageFilterDeletedAt.js.map +0 -1
- package/serialization/types/DidcommMessageFilterEtag.d.ts +0 -27
- package/serialization/types/DidcommMessageFilterEtag.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterEtag.js +0 -56
- package/serialization/types/DidcommMessageFilterEtag.js.map +0 -1
- package/serialization/types/DidcommMessageFilterId.d.ts +0 -27
- package/serialization/types/DidcommMessageFilterId.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterId.js +0 -56
- package/serialization/types/DidcommMessageFilterId.js.map +0 -1
- package/serialization/types/DidcommMessageFilterLabelsItem.d.ts +0 -27
- package/serialization/types/DidcommMessageFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterLabelsItem.js +0 -56
- package/serialization/types/DidcommMessageFilterLabelsItem.js.map +0 -1
- package/serialization/types/DidcommMessageFilterModifiedAt.d.ts +0 -31
- package/serialization/types/DidcommMessageFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterModifiedAt.js +0 -58
- package/serialization/types/DidcommMessageFilterModifiedAt.js.map +0 -1
- package/serialization/types/DidcommMessageFilterRevision.d.ts +0 -47
- package/serialization/types/DidcommMessageFilterRevision.d.ts.map +0 -1
- package/serialization/types/DidcommMessageFilterRevision.js +0 -66
- package/serialization/types/DidcommMessageFilterRevision.js.map +0 -1
- package/serialization/types/DraftFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/DraftFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/DraftFilterAnnotationsItem.js +0 -56
- package/serialization/types/DraftFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/DraftFilterCreatedAt.d.ts +0 -31
- package/serialization/types/DraftFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/DraftFilterCreatedAt.js +0 -58
- package/serialization/types/DraftFilterCreatedAt.js.map +0 -1
- package/serialization/types/DraftFilterDeletedAt.d.ts +0 -39
- package/serialization/types/DraftFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/DraftFilterDeletedAt.js +0 -62
- package/serialization/types/DraftFilterDeletedAt.js.map +0 -1
- package/serialization/types/DraftFilterEtag.d.ts +0 -27
- package/serialization/types/DraftFilterEtag.d.ts.map +0 -1
- package/serialization/types/DraftFilterEtag.js +0 -56
- package/serialization/types/DraftFilterEtag.js.map +0 -1
- package/serialization/types/DraftFilterId.d.ts +0 -27
- package/serialization/types/DraftFilterId.d.ts.map +0 -1
- package/serialization/types/DraftFilterId.js +0 -56
- package/serialization/types/DraftFilterId.js.map +0 -1
- package/serialization/types/DraftFilterLabelsItem.d.ts +0 -27
- package/serialization/types/DraftFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/DraftFilterLabelsItem.js +0 -56
- package/serialization/types/DraftFilterLabelsItem.js.map +0 -1
- package/serialization/types/DraftFilterModifiedAt.d.ts +0 -31
- package/serialization/types/DraftFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/DraftFilterModifiedAt.js +0 -58
- package/serialization/types/DraftFilterModifiedAt.js.map +0 -1
- package/serialization/types/DraftFilterRevision.d.ts +0 -47
- package/serialization/types/DraftFilterRevision.d.ts.map +0 -1
- package/serialization/types/DraftFilterRevision.js +0 -66
- package/serialization/types/DraftFilterRevision.js.map +0 -1
- package/serialization/types/EqualMultihash.d.ts +0 -13
- package/serialization/types/EqualMultihash.d.ts.map +0 -1
- package/serialization/types/EqualMultihash.js +0 -44
- package/serialization/types/EqualMultihash.js.map +0 -1
- package/serialization/types/FileFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/FileFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/FileFilterAnnotationsItem.js +0 -56
- package/serialization/types/FileFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/FileFilterCreatedAt.d.ts +0 -31
- package/serialization/types/FileFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/FileFilterCreatedAt.js +0 -58
- package/serialization/types/FileFilterCreatedAt.js.map +0 -1
- package/serialization/types/FileFilterDataMultihash.d.ts +0 -35
- package/serialization/types/FileFilterDataMultihash.d.ts.map +0 -1
- package/serialization/types/FileFilterDataMultihash.js +0 -60
- package/serialization/types/FileFilterDataMultihash.js.map +0 -1
- package/serialization/types/FileFilterDeletedAt.d.ts +0 -39
- package/serialization/types/FileFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/FileFilterDeletedAt.js +0 -62
- package/serialization/types/FileFilterDeletedAt.js.map +0 -1
- package/serialization/types/FileFilterEtag.d.ts +0 -27
- package/serialization/types/FileFilterEtag.d.ts.map +0 -1
- package/serialization/types/FileFilterEtag.js +0 -56
- package/serialization/types/FileFilterEtag.js.map +0 -1
- package/serialization/types/FileFilterId.d.ts +0 -27
- package/serialization/types/FileFilterId.d.ts.map +0 -1
- package/serialization/types/FileFilterId.js +0 -56
- package/serialization/types/FileFilterId.js.map +0 -1
- package/serialization/types/FileFilterLabelsItem.d.ts +0 -27
- package/serialization/types/FileFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/FileFilterLabelsItem.js +0 -56
- package/serialization/types/FileFilterLabelsItem.js.map +0 -1
- package/serialization/types/FileFilterModifiedAt.d.ts +0 -31
- package/serialization/types/FileFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/FileFilterModifiedAt.js +0 -58
- package/serialization/types/FileFilterModifiedAt.js.map +0 -1
- package/serialization/types/FileFilterRevision.d.ts +0 -47
- package/serialization/types/FileFilterRevision.d.ts.map +0 -1
- package/serialization/types/FileFilterRevision.js +0 -66
- package/serialization/types/FileFilterRevision.js.map +0 -1
- package/serialization/types/InMultihash.d.ts +0 -13
- package/serialization/types/InMultihash.d.ts.map +0 -1
- package/serialization/types/InMultihash.js +0 -44
- package/serialization/types/InMultihash.js.map +0 -1
- package/serialization/types/IsNotNullDigestMultibase.d.ts +0 -12
- package/serialization/types/IsNotNullDigestMultibase.d.ts.map +0 -1
- package/serialization/types/IsNotNullDigestMultibase.js +0 -42
- package/serialization/types/IsNotNullDigestMultibase.js.map +0 -1
- package/serialization/types/IsNotNullMultihash.d.ts +0 -12
- package/serialization/types/IsNotNullMultihash.d.ts.map +0 -1
- package/serialization/types/IsNotNullMultihash.js +0 -42
- package/serialization/types/IsNotNullMultihash.js.map +0 -1
- package/serialization/types/IsNullDigestMultibase.d.ts +0 -12
- package/serialization/types/IsNullDigestMultibase.d.ts.map +0 -1
- package/serialization/types/IsNullDigestMultibase.js +0 -42
- package/serialization/types/IsNullDigestMultibase.js.map +0 -1
- package/serialization/types/IsNullMultihash.d.ts +0 -12
- package/serialization/types/IsNullMultihash.d.ts.map +0 -1
- package/serialization/types/IsNullMultihash.js +0 -42
- package/serialization/types/IsNullMultihash.js.map +0 -1
- package/serialization/types/KeyFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/KeyFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/KeyFilterAnnotationsItem.js +0 -56
- package/serialization/types/KeyFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/KeyFilterCreatedAt.d.ts +0 -31
- package/serialization/types/KeyFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/KeyFilterCreatedAt.js +0 -58
- package/serialization/types/KeyFilterCreatedAt.js.map +0 -1
- package/serialization/types/KeyFilterDeletedAt.d.ts +0 -39
- package/serialization/types/KeyFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/KeyFilterDeletedAt.js +0 -62
- package/serialization/types/KeyFilterDeletedAt.js.map +0 -1
- package/serialization/types/KeyFilterEtag.d.ts +0 -27
- package/serialization/types/KeyFilterEtag.d.ts.map +0 -1
- package/serialization/types/KeyFilterEtag.js +0 -56
- package/serialization/types/KeyFilterEtag.js.map +0 -1
- package/serialization/types/KeyFilterId.d.ts +0 -27
- package/serialization/types/KeyFilterId.d.ts.map +0 -1
- package/serialization/types/KeyFilterId.js +0 -56
- package/serialization/types/KeyFilterId.js.map +0 -1
- package/serialization/types/KeyFilterLabelsItem.d.ts +0 -27
- package/serialization/types/KeyFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/KeyFilterLabelsItem.js +0 -56
- package/serialization/types/KeyFilterLabelsItem.js.map +0 -1
- package/serialization/types/KeyFilterModifiedAt.d.ts +0 -31
- package/serialization/types/KeyFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/KeyFilterModifiedAt.js +0 -58
- package/serialization/types/KeyFilterModifiedAt.js.map +0 -1
- package/serialization/types/KeyFilterRevision.d.ts +0 -47
- package/serialization/types/KeyFilterRevision.d.ts.map +0 -1
- package/serialization/types/KeyFilterRevision.js +0 -66
- package/serialization/types/KeyFilterRevision.js.map +0 -1
- package/serialization/types/NotEqualMultihash.d.ts +0 -13
- package/serialization/types/NotEqualMultihash.d.ts.map +0 -1
- package/serialization/types/NotEqualMultihash.js +0 -44
- package/serialization/types/NotEqualMultihash.js.map +0 -1
- package/serialization/types/NotInMultihash.d.ts +0 -13
- package/serialization/types/NotInMultihash.d.ts.map +0 -1
- package/serialization/types/NotInMultihash.js +0 -44
- package/serialization/types/NotInMultihash.js.map +0 -1
- package/serialization/types/PresentationFilterAnnotationsItem.d.ts +0 -27
- package/serialization/types/PresentationFilterAnnotationsItem.d.ts.map +0 -1
- package/serialization/types/PresentationFilterAnnotationsItem.js +0 -56
- package/serialization/types/PresentationFilterAnnotationsItem.js.map +0 -1
- package/serialization/types/PresentationFilterCreatedAt.d.ts +0 -31
- package/serialization/types/PresentationFilterCreatedAt.d.ts.map +0 -1
- package/serialization/types/PresentationFilterCreatedAt.js +0 -58
- package/serialization/types/PresentationFilterCreatedAt.js.map +0 -1
- package/serialization/types/PresentationFilterDataMultihash.d.ts +0 -35
- package/serialization/types/PresentationFilterDataMultihash.d.ts.map +0 -1
- package/serialization/types/PresentationFilterDataMultihash.js +0 -60
- package/serialization/types/PresentationFilterDataMultihash.js.map +0 -1
- package/serialization/types/PresentationFilterDeletedAt.d.ts +0 -39
- package/serialization/types/PresentationFilterDeletedAt.d.ts.map +0 -1
- package/serialization/types/PresentationFilterDeletedAt.js +0 -62
- package/serialization/types/PresentationFilterDeletedAt.js.map +0 -1
- package/serialization/types/PresentationFilterEtag.d.ts +0 -27
- package/serialization/types/PresentationFilterEtag.d.ts.map +0 -1
- package/serialization/types/PresentationFilterEtag.js +0 -56
- package/serialization/types/PresentationFilterEtag.js.map +0 -1
- package/serialization/types/PresentationFilterId.d.ts +0 -27
- package/serialization/types/PresentationFilterId.d.ts.map +0 -1
- package/serialization/types/PresentationFilterId.js +0 -56
- package/serialization/types/PresentationFilterId.js.map +0 -1
- package/serialization/types/PresentationFilterLabelsItem.d.ts +0 -27
- package/serialization/types/PresentationFilterLabelsItem.d.ts.map +0 -1
- package/serialization/types/PresentationFilterLabelsItem.js +0 -56
- package/serialization/types/PresentationFilterLabelsItem.js.map +0 -1
- package/serialization/types/PresentationFilterModifiedAt.d.ts +0 -31
- package/serialization/types/PresentationFilterModifiedAt.d.ts.map +0 -1
- package/serialization/types/PresentationFilterModifiedAt.js +0 -58
- package/serialization/types/PresentationFilterModifiedAt.js.map +0 -1
- package/serialization/types/PresentationFilterRevision.d.ts +0 -47
- package/serialization/types/PresentationFilterRevision.d.ts.map +0 -1
- package/serialization/types/PresentationFilterRevision.js +0 -66
- package/serialization/types/PresentationFilterRevision.js.map +0 -1
|
@@ -94,13 +94,16 @@ class Keys {
|
|
|
94
94
|
* })
|
|
95
95
|
*/
|
|
96
96
|
keyGenerate(request, requestOptions) {
|
|
97
|
+
return core.HttpResponsePromise.fromPromise(this.__keyGenerate(request, requestOptions));
|
|
98
|
+
}
|
|
99
|
+
__keyGenerate(request, requestOptions) {
|
|
97
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
101
|
var _a, _b, _c;
|
|
99
102
|
const { idempotencyKey } = request, _body = __rest(request, ["idempotencyKey"]);
|
|
100
103
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
101
104
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'keys/generate'),
|
|
102
105
|
method: 'POST',
|
|
103
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
106
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
104
107
|
contentType: 'application/json',
|
|
105
108
|
requestType: 'json',
|
|
106
109
|
body: serializers.KeyGenerateInput.jsonOrThrow(_body, {
|
|
@@ -112,12 +115,15 @@ class Keys {
|
|
|
112
115
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
113
116
|
});
|
|
114
117
|
if (_response.ok) {
|
|
115
|
-
return
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
return {
|
|
119
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
120
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
121
|
+
allowUnrecognizedUnionMembers: true,
|
|
122
|
+
allowUnrecognizedEnumValues: true,
|
|
123
|
+
breadcrumbsPrefix: ['response'],
|
|
124
|
+
}),
|
|
125
|
+
rawResponse: _response.rawResponse,
|
|
126
|
+
};
|
|
121
127
|
}
|
|
122
128
|
if (_response.error.reason === 'status-code') {
|
|
123
129
|
switch (_response.error.statusCode) {
|
|
@@ -127,46 +133,47 @@ class Keys {
|
|
|
127
133
|
allowUnrecognizedUnionMembers: true,
|
|
128
134
|
allowUnrecognizedEnumValues: true,
|
|
129
135
|
breadcrumbsPrefix: ['response'],
|
|
130
|
-
}));
|
|
136
|
+
}), _response.rawResponse);
|
|
131
137
|
case 401:
|
|
132
138
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
133
139
|
unrecognizedObjectKeys: 'passthrough',
|
|
134
140
|
allowUnrecognizedUnionMembers: true,
|
|
135
141
|
allowUnrecognizedEnumValues: true,
|
|
136
142
|
breadcrumbsPrefix: ['response'],
|
|
137
|
-
}));
|
|
143
|
+
}), _response.rawResponse);
|
|
138
144
|
case 403:
|
|
139
145
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
140
146
|
unrecognizedObjectKeys: 'passthrough',
|
|
141
147
|
allowUnrecognizedUnionMembers: true,
|
|
142
148
|
allowUnrecognizedEnumValues: true,
|
|
143
149
|
breadcrumbsPrefix: ['response'],
|
|
144
|
-
}));
|
|
150
|
+
}), _response.rawResponse);
|
|
145
151
|
case 415:
|
|
146
152
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
147
153
|
unrecognizedObjectKeys: 'passthrough',
|
|
148
154
|
allowUnrecognizedUnionMembers: true,
|
|
149
155
|
allowUnrecognizedEnumValues: true,
|
|
150
156
|
breadcrumbsPrefix: ['response'],
|
|
151
|
-
}));
|
|
157
|
+
}), _response.rawResponse);
|
|
152
158
|
case 429:
|
|
153
159
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
154
160
|
unrecognizedObjectKeys: 'passthrough',
|
|
155
161
|
allowUnrecognizedUnionMembers: true,
|
|
156
162
|
allowUnrecognizedEnumValues: true,
|
|
157
163
|
breadcrumbsPrefix: ['response'],
|
|
158
|
-
}));
|
|
164
|
+
}), _response.rawResponse);
|
|
159
165
|
case 500:
|
|
160
166
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
161
167
|
unrecognizedObjectKeys: 'passthrough',
|
|
162
168
|
allowUnrecognizedUnionMembers: true,
|
|
163
169
|
allowUnrecognizedEnumValues: true,
|
|
164
170
|
breadcrumbsPrefix: ['response'],
|
|
165
|
-
}));
|
|
171
|
+
}), _response.rawResponse);
|
|
166
172
|
default:
|
|
167
173
|
throw new errors.TruvityError({
|
|
168
174
|
statusCode: _response.error.statusCode,
|
|
169
175
|
body: _response.error.body,
|
|
176
|
+
rawResponse: _response.rawResponse,
|
|
170
177
|
});
|
|
171
178
|
}
|
|
172
179
|
}
|
|
@@ -175,12 +182,14 @@ class Keys {
|
|
|
175
182
|
throw new errors.TruvityError({
|
|
176
183
|
statusCode: _response.error.statusCode,
|
|
177
184
|
body: _response.error.rawBody,
|
|
185
|
+
rawResponse: _response.rawResponse,
|
|
178
186
|
});
|
|
179
187
|
case 'timeout':
|
|
180
188
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/generate.');
|
|
181
189
|
case 'unknown':
|
|
182
190
|
throw new errors.TruvityError({
|
|
183
191
|
message: _response.error.errorMessage,
|
|
192
|
+
rawResponse: _response.rawResponse,
|
|
184
193
|
});
|
|
185
194
|
}
|
|
186
195
|
});
|
|
@@ -281,13 +290,16 @@ class Keys {
|
|
|
281
290
|
* })
|
|
282
291
|
*/
|
|
283
292
|
keyImport(request, requestOptions) {
|
|
293
|
+
return core.HttpResponsePromise.fromPromise(this.__keyImport(request, requestOptions));
|
|
294
|
+
}
|
|
295
|
+
__keyImport(request, requestOptions) {
|
|
284
296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
285
297
|
var _a, _b, _c;
|
|
286
298
|
const { idempotencyKey } = request, _body = __rest(request, ["idempotencyKey"]);
|
|
287
299
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
288
300
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'keys/import'),
|
|
289
301
|
method: 'POST',
|
|
290
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
302
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
291
303
|
contentType: 'application/json',
|
|
292
304
|
requestType: 'json',
|
|
293
305
|
body: serializers.KeyImportSecretInput.jsonOrThrow(_body, {
|
|
@@ -299,12 +311,15 @@ class Keys {
|
|
|
299
311
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
300
312
|
});
|
|
301
313
|
if (_response.ok) {
|
|
302
|
-
return
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
314
|
+
return {
|
|
315
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
316
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
317
|
+
allowUnrecognizedUnionMembers: true,
|
|
318
|
+
allowUnrecognizedEnumValues: true,
|
|
319
|
+
breadcrumbsPrefix: ['response'],
|
|
320
|
+
}),
|
|
321
|
+
rawResponse: _response.rawResponse,
|
|
322
|
+
};
|
|
308
323
|
}
|
|
309
324
|
if (_response.error.reason === 'status-code') {
|
|
310
325
|
switch (_response.error.statusCode) {
|
|
@@ -314,46 +329,47 @@ class Keys {
|
|
|
314
329
|
allowUnrecognizedUnionMembers: true,
|
|
315
330
|
allowUnrecognizedEnumValues: true,
|
|
316
331
|
breadcrumbsPrefix: ['response'],
|
|
317
|
-
}));
|
|
332
|
+
}), _response.rawResponse);
|
|
318
333
|
case 401:
|
|
319
334
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
320
335
|
unrecognizedObjectKeys: 'passthrough',
|
|
321
336
|
allowUnrecognizedUnionMembers: true,
|
|
322
337
|
allowUnrecognizedEnumValues: true,
|
|
323
338
|
breadcrumbsPrefix: ['response'],
|
|
324
|
-
}));
|
|
339
|
+
}), _response.rawResponse);
|
|
325
340
|
case 403:
|
|
326
341
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
327
342
|
unrecognizedObjectKeys: 'passthrough',
|
|
328
343
|
allowUnrecognizedUnionMembers: true,
|
|
329
344
|
allowUnrecognizedEnumValues: true,
|
|
330
345
|
breadcrumbsPrefix: ['response'],
|
|
331
|
-
}));
|
|
346
|
+
}), _response.rawResponse);
|
|
332
347
|
case 415:
|
|
333
348
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
334
349
|
unrecognizedObjectKeys: 'passthrough',
|
|
335
350
|
allowUnrecognizedUnionMembers: true,
|
|
336
351
|
allowUnrecognizedEnumValues: true,
|
|
337
352
|
breadcrumbsPrefix: ['response'],
|
|
338
|
-
}));
|
|
353
|
+
}), _response.rawResponse);
|
|
339
354
|
case 429:
|
|
340
355
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
341
356
|
unrecognizedObjectKeys: 'passthrough',
|
|
342
357
|
allowUnrecognizedUnionMembers: true,
|
|
343
358
|
allowUnrecognizedEnumValues: true,
|
|
344
359
|
breadcrumbsPrefix: ['response'],
|
|
345
|
-
}));
|
|
360
|
+
}), _response.rawResponse);
|
|
346
361
|
case 500:
|
|
347
362
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
348
363
|
unrecognizedObjectKeys: 'passthrough',
|
|
349
364
|
allowUnrecognizedUnionMembers: true,
|
|
350
365
|
allowUnrecognizedEnumValues: true,
|
|
351
366
|
breadcrumbsPrefix: ['response'],
|
|
352
|
-
}));
|
|
367
|
+
}), _response.rawResponse);
|
|
353
368
|
default:
|
|
354
369
|
throw new errors.TruvityError({
|
|
355
370
|
statusCode: _response.error.statusCode,
|
|
356
371
|
body: _response.error.body,
|
|
372
|
+
rawResponse: _response.rawResponse,
|
|
357
373
|
});
|
|
358
374
|
}
|
|
359
375
|
}
|
|
@@ -362,12 +378,14 @@ class Keys {
|
|
|
362
378
|
throw new errors.TruvityError({
|
|
363
379
|
statusCode: _response.error.statusCode,
|
|
364
380
|
body: _response.error.rawBody,
|
|
381
|
+
rawResponse: _response.rawResponse,
|
|
365
382
|
});
|
|
366
383
|
case 'timeout':
|
|
367
384
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/import.');
|
|
368
385
|
case 'unknown':
|
|
369
386
|
throw new errors.TruvityError({
|
|
370
387
|
message: _response.error.errorMessage,
|
|
388
|
+
rawResponse: _response.rawResponse,
|
|
371
389
|
});
|
|
372
390
|
}
|
|
373
391
|
});
|
|
@@ -388,13 +406,16 @@ class Keys {
|
|
|
388
406
|
* @example
|
|
389
407
|
* await client.keys.keySearch()
|
|
390
408
|
*/
|
|
391
|
-
keySearch() {
|
|
409
|
+
keySearch(request = {}, requestOptions) {
|
|
410
|
+
return core.HttpResponsePromise.fromPromise(this.__keySearch(request, requestOptions));
|
|
411
|
+
}
|
|
412
|
+
__keySearch() {
|
|
392
413
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
393
414
|
var _a, _b, _c;
|
|
394
415
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
395
416
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'keys/search'),
|
|
396
417
|
method: 'POST',
|
|
397
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
418
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
398
419
|
contentType: 'application/json',
|
|
399
420
|
requestType: 'json',
|
|
400
421
|
body: serializers.KeySearchRequest.jsonOrThrow(request, {
|
|
@@ -406,12 +427,15 @@ class Keys {
|
|
|
406
427
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
407
428
|
});
|
|
408
429
|
if (_response.ok) {
|
|
409
|
-
return
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
430
|
+
return {
|
|
431
|
+
data: serializers.ListKeyPublic.parseOrThrow(_response.body, {
|
|
432
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
433
|
+
allowUnrecognizedUnionMembers: true,
|
|
434
|
+
allowUnrecognizedEnumValues: true,
|
|
435
|
+
breadcrumbsPrefix: ['response'],
|
|
436
|
+
}),
|
|
437
|
+
rawResponse: _response.rawResponse,
|
|
438
|
+
};
|
|
415
439
|
}
|
|
416
440
|
if (_response.error.reason === 'status-code') {
|
|
417
441
|
switch (_response.error.statusCode) {
|
|
@@ -421,46 +445,47 @@ class Keys {
|
|
|
421
445
|
allowUnrecognizedUnionMembers: true,
|
|
422
446
|
allowUnrecognizedEnumValues: true,
|
|
423
447
|
breadcrumbsPrefix: ['response'],
|
|
424
|
-
}));
|
|
448
|
+
}), _response.rawResponse);
|
|
425
449
|
case 401:
|
|
426
450
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
427
451
|
unrecognizedObjectKeys: 'passthrough',
|
|
428
452
|
allowUnrecognizedUnionMembers: true,
|
|
429
453
|
allowUnrecognizedEnumValues: true,
|
|
430
454
|
breadcrumbsPrefix: ['response'],
|
|
431
|
-
}));
|
|
455
|
+
}), _response.rawResponse);
|
|
432
456
|
case 403:
|
|
433
457
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
434
458
|
unrecognizedObjectKeys: 'passthrough',
|
|
435
459
|
allowUnrecognizedUnionMembers: true,
|
|
436
460
|
allowUnrecognizedEnumValues: true,
|
|
437
461
|
breadcrumbsPrefix: ['response'],
|
|
438
|
-
}));
|
|
462
|
+
}), _response.rawResponse);
|
|
439
463
|
case 415:
|
|
440
464
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
441
465
|
unrecognizedObjectKeys: 'passthrough',
|
|
442
466
|
allowUnrecognizedUnionMembers: true,
|
|
443
467
|
allowUnrecognizedEnumValues: true,
|
|
444
468
|
breadcrumbsPrefix: ['response'],
|
|
445
|
-
}));
|
|
469
|
+
}), _response.rawResponse);
|
|
446
470
|
case 429:
|
|
447
471
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
448
472
|
unrecognizedObjectKeys: 'passthrough',
|
|
449
473
|
allowUnrecognizedUnionMembers: true,
|
|
450
474
|
allowUnrecognizedEnumValues: true,
|
|
451
475
|
breadcrumbsPrefix: ['response'],
|
|
452
|
-
}));
|
|
476
|
+
}), _response.rawResponse);
|
|
453
477
|
case 500:
|
|
454
478
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
455
479
|
unrecognizedObjectKeys: 'passthrough',
|
|
456
480
|
allowUnrecognizedUnionMembers: true,
|
|
457
481
|
allowUnrecognizedEnumValues: true,
|
|
458
482
|
breadcrumbsPrefix: ['response'],
|
|
459
|
-
}));
|
|
483
|
+
}), _response.rawResponse);
|
|
460
484
|
default:
|
|
461
485
|
throw new errors.TruvityError({
|
|
462
486
|
statusCode: _response.error.statusCode,
|
|
463
487
|
body: _response.error.body,
|
|
488
|
+
rawResponse: _response.rawResponse,
|
|
464
489
|
});
|
|
465
490
|
}
|
|
466
491
|
}
|
|
@@ -469,12 +494,14 @@ class Keys {
|
|
|
469
494
|
throw new errors.TruvityError({
|
|
470
495
|
statusCode: _response.error.statusCode,
|
|
471
496
|
body: _response.error.rawBody,
|
|
497
|
+
rawResponse: _response.rawResponse,
|
|
472
498
|
});
|
|
473
499
|
case 'timeout':
|
|
474
500
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/search.');
|
|
475
501
|
case 'unknown':
|
|
476
502
|
throw new errors.TruvityError({
|
|
477
503
|
message: _response.error.errorMessage,
|
|
504
|
+
rawResponse: _response.rawResponse,
|
|
478
505
|
});
|
|
479
506
|
}
|
|
480
507
|
});
|
|
@@ -496,14 +523,17 @@ class Keys {
|
|
|
496
523
|
* @example
|
|
497
524
|
* await client.keys.keyLatest("id")
|
|
498
525
|
*/
|
|
499
|
-
keyLatest(
|
|
526
|
+
keyLatest(id, request = {}, requestOptions) {
|
|
527
|
+
return core.HttpResponsePromise.fromPromise(this.__keyLatest(id, request, requestOptions));
|
|
528
|
+
}
|
|
529
|
+
__keyLatest(id_1) {
|
|
500
530
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
501
531
|
var _a, _b, _c;
|
|
502
532
|
const { ifNoneMatch } = request;
|
|
503
533
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
504
534
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}`),
|
|
505
535
|
method: 'GET',
|
|
506
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
536
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
507
537
|
contentType: 'application/json',
|
|
508
538
|
requestType: 'json',
|
|
509
539
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -511,12 +541,15 @@ class Keys {
|
|
|
511
541
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
512
542
|
});
|
|
513
543
|
if (_response.ok) {
|
|
514
|
-
return
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
544
|
+
return {
|
|
545
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
546
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
547
|
+
allowUnrecognizedUnionMembers: true,
|
|
548
|
+
allowUnrecognizedEnumValues: true,
|
|
549
|
+
breadcrumbsPrefix: ['response'],
|
|
550
|
+
}),
|
|
551
|
+
rawResponse: _response.rawResponse,
|
|
552
|
+
};
|
|
520
553
|
}
|
|
521
554
|
if (_response.error.reason === 'status-code') {
|
|
522
555
|
switch (_response.error.statusCode) {
|
|
@@ -526,46 +559,47 @@ class Keys {
|
|
|
526
559
|
allowUnrecognizedUnionMembers: true,
|
|
527
560
|
allowUnrecognizedEnumValues: true,
|
|
528
561
|
breadcrumbsPrefix: ['response'],
|
|
529
|
-
}));
|
|
562
|
+
}), _response.rawResponse);
|
|
530
563
|
case 401:
|
|
531
564
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
532
565
|
unrecognizedObjectKeys: 'passthrough',
|
|
533
566
|
allowUnrecognizedUnionMembers: true,
|
|
534
567
|
allowUnrecognizedEnumValues: true,
|
|
535
568
|
breadcrumbsPrefix: ['response'],
|
|
536
|
-
}));
|
|
569
|
+
}), _response.rawResponse);
|
|
537
570
|
case 403:
|
|
538
571
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
539
572
|
unrecognizedObjectKeys: 'passthrough',
|
|
540
573
|
allowUnrecognizedUnionMembers: true,
|
|
541
574
|
allowUnrecognizedEnumValues: true,
|
|
542
575
|
breadcrumbsPrefix: ['response'],
|
|
543
|
-
}));
|
|
576
|
+
}), _response.rawResponse);
|
|
544
577
|
case 404:
|
|
545
578
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
546
579
|
unrecognizedObjectKeys: 'passthrough',
|
|
547
580
|
allowUnrecognizedUnionMembers: true,
|
|
548
581
|
allowUnrecognizedEnumValues: true,
|
|
549
582
|
breadcrumbsPrefix: ['response'],
|
|
550
|
-
}));
|
|
583
|
+
}), _response.rawResponse);
|
|
551
584
|
case 429:
|
|
552
585
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
553
586
|
unrecognizedObjectKeys: 'passthrough',
|
|
554
587
|
allowUnrecognizedUnionMembers: true,
|
|
555
588
|
allowUnrecognizedEnumValues: true,
|
|
556
589
|
breadcrumbsPrefix: ['response'],
|
|
557
|
-
}));
|
|
590
|
+
}), _response.rawResponse);
|
|
558
591
|
case 500:
|
|
559
592
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
560
593
|
unrecognizedObjectKeys: 'passthrough',
|
|
561
594
|
allowUnrecognizedUnionMembers: true,
|
|
562
595
|
allowUnrecognizedEnumValues: true,
|
|
563
596
|
breadcrumbsPrefix: ['response'],
|
|
564
|
-
}));
|
|
597
|
+
}), _response.rawResponse);
|
|
565
598
|
default:
|
|
566
599
|
throw new errors.TruvityError({
|
|
567
600
|
statusCode: _response.error.statusCode,
|
|
568
601
|
body: _response.error.body,
|
|
602
|
+
rawResponse: _response.rawResponse,
|
|
569
603
|
});
|
|
570
604
|
}
|
|
571
605
|
}
|
|
@@ -574,12 +608,14 @@ class Keys {
|
|
|
574
608
|
throw new errors.TruvityError({
|
|
575
609
|
statusCode: _response.error.statusCode,
|
|
576
610
|
body: _response.error.rawBody,
|
|
611
|
+
rawResponse: _response.rawResponse,
|
|
577
612
|
});
|
|
578
613
|
case 'timeout':
|
|
579
614
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /keys/{id}.');
|
|
580
615
|
case 'unknown':
|
|
581
616
|
throw new errors.TruvityError({
|
|
582
617
|
message: _response.error.errorMessage,
|
|
618
|
+
rawResponse: _response.rawResponse,
|
|
583
619
|
});
|
|
584
620
|
}
|
|
585
621
|
});
|
|
@@ -607,13 +643,16 @@ class Keys {
|
|
|
607
643
|
* })
|
|
608
644
|
*/
|
|
609
645
|
keyDelete(id, request, requestOptions) {
|
|
646
|
+
return core.HttpResponsePromise.fromPromise(this.__keyDelete(id, request, requestOptions));
|
|
647
|
+
}
|
|
648
|
+
__keyDelete(id, request, requestOptions) {
|
|
610
649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
611
650
|
var _a, _b, _c;
|
|
612
651
|
const { idempotencyKey, ifMatch } = request;
|
|
613
652
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
614
653
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}`),
|
|
615
654
|
method: 'DELETE',
|
|
616
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
655
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
617
656
|
contentType: 'application/json',
|
|
618
657
|
requestType: 'json',
|
|
619
658
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -621,7 +660,7 @@ class Keys {
|
|
|
621
660
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
622
661
|
});
|
|
623
662
|
if (_response.ok) {
|
|
624
|
-
return;
|
|
663
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
625
664
|
}
|
|
626
665
|
if (_response.error.reason === 'status-code') {
|
|
627
666
|
switch (_response.error.statusCode) {
|
|
@@ -631,60 +670,61 @@ class Keys {
|
|
|
631
670
|
allowUnrecognizedUnionMembers: true,
|
|
632
671
|
allowUnrecognizedEnumValues: true,
|
|
633
672
|
breadcrumbsPrefix: ['response'],
|
|
634
|
-
}));
|
|
673
|
+
}), _response.rawResponse);
|
|
635
674
|
case 401:
|
|
636
675
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
637
676
|
unrecognizedObjectKeys: 'passthrough',
|
|
638
677
|
allowUnrecognizedUnionMembers: true,
|
|
639
678
|
allowUnrecognizedEnumValues: true,
|
|
640
679
|
breadcrumbsPrefix: ['response'],
|
|
641
|
-
}));
|
|
680
|
+
}), _response.rawResponse);
|
|
642
681
|
case 403:
|
|
643
682
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
644
683
|
unrecognizedObjectKeys: 'passthrough',
|
|
645
684
|
allowUnrecognizedUnionMembers: true,
|
|
646
685
|
allowUnrecognizedEnumValues: true,
|
|
647
686
|
breadcrumbsPrefix: ['response'],
|
|
648
|
-
}));
|
|
687
|
+
}), _response.rawResponse);
|
|
649
688
|
case 404:
|
|
650
689
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
651
690
|
unrecognizedObjectKeys: 'passthrough',
|
|
652
691
|
allowUnrecognizedUnionMembers: true,
|
|
653
692
|
allowUnrecognizedEnumValues: true,
|
|
654
693
|
breadcrumbsPrefix: ['response'],
|
|
655
|
-
}));
|
|
694
|
+
}), _response.rawResponse);
|
|
656
695
|
case 405:
|
|
657
696
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
658
697
|
unrecognizedObjectKeys: 'passthrough',
|
|
659
698
|
allowUnrecognizedUnionMembers: true,
|
|
660
699
|
allowUnrecognizedEnumValues: true,
|
|
661
700
|
breadcrumbsPrefix: ['response'],
|
|
662
|
-
}));
|
|
701
|
+
}), _response.rawResponse);
|
|
663
702
|
case 412:
|
|
664
703
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
665
704
|
unrecognizedObjectKeys: 'passthrough',
|
|
666
705
|
allowUnrecognizedUnionMembers: true,
|
|
667
706
|
allowUnrecognizedEnumValues: true,
|
|
668
707
|
breadcrumbsPrefix: ['response'],
|
|
669
|
-
}));
|
|
708
|
+
}), _response.rawResponse);
|
|
670
709
|
case 429:
|
|
671
710
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
672
711
|
unrecognizedObjectKeys: 'passthrough',
|
|
673
712
|
allowUnrecognizedUnionMembers: true,
|
|
674
713
|
allowUnrecognizedEnumValues: true,
|
|
675
714
|
breadcrumbsPrefix: ['response'],
|
|
676
|
-
}));
|
|
715
|
+
}), _response.rawResponse);
|
|
677
716
|
case 500:
|
|
678
717
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
679
718
|
unrecognizedObjectKeys: 'passthrough',
|
|
680
719
|
allowUnrecognizedUnionMembers: true,
|
|
681
720
|
allowUnrecognizedEnumValues: true,
|
|
682
721
|
breadcrumbsPrefix: ['response'],
|
|
683
|
-
}));
|
|
722
|
+
}), _response.rawResponse);
|
|
684
723
|
default:
|
|
685
724
|
throw new errors.TruvityError({
|
|
686
725
|
statusCode: _response.error.statusCode,
|
|
687
726
|
body: _response.error.body,
|
|
727
|
+
rawResponse: _response.rawResponse,
|
|
688
728
|
});
|
|
689
729
|
}
|
|
690
730
|
}
|
|
@@ -693,12 +733,14 @@ class Keys {
|
|
|
693
733
|
throw new errors.TruvityError({
|
|
694
734
|
statusCode: _response.error.statusCode,
|
|
695
735
|
body: _response.error.rawBody,
|
|
736
|
+
rawResponse: _response.rawResponse,
|
|
696
737
|
});
|
|
697
738
|
case 'timeout':
|
|
698
739
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling DELETE /keys/{id}.');
|
|
699
740
|
case 'unknown':
|
|
700
741
|
throw new errors.TruvityError({
|
|
701
742
|
message: _response.error.errorMessage,
|
|
743
|
+
rawResponse: _response.rawResponse,
|
|
702
744
|
});
|
|
703
745
|
}
|
|
704
746
|
});
|
|
@@ -730,13 +772,16 @@ class Keys {
|
|
|
730
772
|
* })
|
|
731
773
|
*/
|
|
732
774
|
keyUpdateAnnotations(id, request, requestOptions) {
|
|
775
|
+
return core.HttpResponsePromise.fromPromise(this.__keyUpdateAnnotations(id, request, requestOptions));
|
|
776
|
+
}
|
|
777
|
+
__keyUpdateAnnotations(id, request, requestOptions) {
|
|
733
778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
734
779
|
var _a, _b, _c;
|
|
735
780
|
const { idempotencyKey, ifMatch } = request, _body = __rest(request, ["idempotencyKey", "ifMatch"]);
|
|
736
781
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
737
782
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/annotations`),
|
|
738
783
|
method: 'PATCH',
|
|
739
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
784
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
740
785
|
contentType: 'application/json',
|
|
741
786
|
requestType: 'json',
|
|
742
787
|
body: serializers.KeyUpdateAnnotationsInput.jsonOrThrow(_body, {
|
|
@@ -748,12 +793,15 @@ class Keys {
|
|
|
748
793
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
749
794
|
});
|
|
750
795
|
if (_response.ok) {
|
|
751
|
-
return
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
796
|
+
return {
|
|
797
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
798
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
799
|
+
allowUnrecognizedUnionMembers: true,
|
|
800
|
+
allowUnrecognizedEnumValues: true,
|
|
801
|
+
breadcrumbsPrefix: ['response'],
|
|
802
|
+
}),
|
|
803
|
+
rawResponse: _response.rawResponse,
|
|
804
|
+
};
|
|
757
805
|
}
|
|
758
806
|
if (_response.error.reason === 'status-code') {
|
|
759
807
|
switch (_response.error.statusCode) {
|
|
@@ -763,67 +811,68 @@ class Keys {
|
|
|
763
811
|
allowUnrecognizedUnionMembers: true,
|
|
764
812
|
allowUnrecognizedEnumValues: true,
|
|
765
813
|
breadcrumbsPrefix: ['response'],
|
|
766
|
-
}));
|
|
814
|
+
}), _response.rawResponse);
|
|
767
815
|
case 401:
|
|
768
816
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
769
817
|
unrecognizedObjectKeys: 'passthrough',
|
|
770
818
|
allowUnrecognizedUnionMembers: true,
|
|
771
819
|
allowUnrecognizedEnumValues: true,
|
|
772
820
|
breadcrumbsPrefix: ['response'],
|
|
773
|
-
}));
|
|
821
|
+
}), _response.rawResponse);
|
|
774
822
|
case 403:
|
|
775
823
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
776
824
|
unrecognizedObjectKeys: 'passthrough',
|
|
777
825
|
allowUnrecognizedUnionMembers: true,
|
|
778
826
|
allowUnrecognizedEnumValues: true,
|
|
779
827
|
breadcrumbsPrefix: ['response'],
|
|
780
|
-
}));
|
|
828
|
+
}), _response.rawResponse);
|
|
781
829
|
case 404:
|
|
782
830
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
783
831
|
unrecognizedObjectKeys: 'passthrough',
|
|
784
832
|
allowUnrecognizedUnionMembers: true,
|
|
785
833
|
allowUnrecognizedEnumValues: true,
|
|
786
834
|
breadcrumbsPrefix: ['response'],
|
|
787
|
-
}));
|
|
835
|
+
}), _response.rawResponse);
|
|
788
836
|
case 405:
|
|
789
837
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
790
838
|
unrecognizedObjectKeys: 'passthrough',
|
|
791
839
|
allowUnrecognizedUnionMembers: true,
|
|
792
840
|
allowUnrecognizedEnumValues: true,
|
|
793
841
|
breadcrumbsPrefix: ['response'],
|
|
794
|
-
}));
|
|
842
|
+
}), _response.rawResponse);
|
|
795
843
|
case 412:
|
|
796
844
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
797
845
|
unrecognizedObjectKeys: 'passthrough',
|
|
798
846
|
allowUnrecognizedUnionMembers: true,
|
|
799
847
|
allowUnrecognizedEnumValues: true,
|
|
800
848
|
breadcrumbsPrefix: ['response'],
|
|
801
|
-
}));
|
|
849
|
+
}), _response.rawResponse);
|
|
802
850
|
case 415:
|
|
803
851
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
804
852
|
unrecognizedObjectKeys: 'passthrough',
|
|
805
853
|
allowUnrecognizedUnionMembers: true,
|
|
806
854
|
allowUnrecognizedEnumValues: true,
|
|
807
855
|
breadcrumbsPrefix: ['response'],
|
|
808
|
-
}));
|
|
856
|
+
}), _response.rawResponse);
|
|
809
857
|
case 429:
|
|
810
858
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
811
859
|
unrecognizedObjectKeys: 'passthrough',
|
|
812
860
|
allowUnrecognizedUnionMembers: true,
|
|
813
861
|
allowUnrecognizedEnumValues: true,
|
|
814
862
|
breadcrumbsPrefix: ['response'],
|
|
815
|
-
}));
|
|
863
|
+
}), _response.rawResponse);
|
|
816
864
|
case 500:
|
|
817
865
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
818
866
|
unrecognizedObjectKeys: 'passthrough',
|
|
819
867
|
allowUnrecognizedUnionMembers: true,
|
|
820
868
|
allowUnrecognizedEnumValues: true,
|
|
821
869
|
breadcrumbsPrefix: ['response'],
|
|
822
|
-
}));
|
|
870
|
+
}), _response.rawResponse);
|
|
823
871
|
default:
|
|
824
872
|
throw new errors.TruvityError({
|
|
825
873
|
statusCode: _response.error.statusCode,
|
|
826
874
|
body: _response.error.body,
|
|
875
|
+
rawResponse: _response.rawResponse,
|
|
827
876
|
});
|
|
828
877
|
}
|
|
829
878
|
}
|
|
@@ -832,12 +881,14 @@ class Keys {
|
|
|
832
881
|
throw new errors.TruvityError({
|
|
833
882
|
statusCode: _response.error.statusCode,
|
|
834
883
|
body: _response.error.rawBody,
|
|
884
|
+
rawResponse: _response.rawResponse,
|
|
835
885
|
});
|
|
836
886
|
case 'timeout':
|
|
837
887
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /keys/{id}/annotations.');
|
|
838
888
|
case 'unknown':
|
|
839
889
|
throw new errors.TruvityError({
|
|
840
890
|
message: _response.error.errorMessage,
|
|
891
|
+
rawResponse: _response.rawResponse,
|
|
841
892
|
});
|
|
842
893
|
}
|
|
843
894
|
});
|
|
@@ -853,6 +904,9 @@ class Keys {
|
|
|
853
904
|
* @throws {@link Truvity.InternalServerError}
|
|
854
905
|
*/
|
|
855
906
|
credentialSign(id, request, requestOptions) {
|
|
907
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialSign(id, request, requestOptions));
|
|
908
|
+
}
|
|
909
|
+
__credentialSign(id, request, requestOptions) {
|
|
856
910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
857
911
|
var _a, _b, _c;
|
|
858
912
|
const { didMethod, body: _body } = request;
|
|
@@ -866,7 +920,7 @@ class Keys {
|
|
|
866
920
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
867
921
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/credentials/sign`),
|
|
868
922
|
method: 'POST',
|
|
869
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
923
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
870
924
|
contentType: 'application/json',
|
|
871
925
|
queryParameters: _queryParams,
|
|
872
926
|
requestType: 'json',
|
|
@@ -880,7 +934,7 @@ class Keys {
|
|
|
880
934
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
881
935
|
});
|
|
882
936
|
if (_response.ok) {
|
|
883
|
-
return _response.body;
|
|
937
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
884
938
|
}
|
|
885
939
|
if (_response.error.reason === 'status-code') {
|
|
886
940
|
switch (_response.error.statusCode) {
|
|
@@ -890,53 +944,54 @@ class Keys {
|
|
|
890
944
|
allowUnrecognizedUnionMembers: true,
|
|
891
945
|
allowUnrecognizedEnumValues: true,
|
|
892
946
|
breadcrumbsPrefix: ['response'],
|
|
893
|
-
}));
|
|
947
|
+
}), _response.rawResponse);
|
|
894
948
|
case 401:
|
|
895
949
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
896
950
|
unrecognizedObjectKeys: 'passthrough',
|
|
897
951
|
allowUnrecognizedUnionMembers: true,
|
|
898
952
|
allowUnrecognizedEnumValues: true,
|
|
899
953
|
breadcrumbsPrefix: ['response'],
|
|
900
|
-
}));
|
|
954
|
+
}), _response.rawResponse);
|
|
901
955
|
case 403:
|
|
902
956
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
903
957
|
unrecognizedObjectKeys: 'passthrough',
|
|
904
958
|
allowUnrecognizedUnionMembers: true,
|
|
905
959
|
allowUnrecognizedEnumValues: true,
|
|
906
960
|
breadcrumbsPrefix: ['response'],
|
|
907
|
-
}));
|
|
961
|
+
}), _response.rawResponse);
|
|
908
962
|
case 404:
|
|
909
963
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
910
964
|
unrecognizedObjectKeys: 'passthrough',
|
|
911
965
|
allowUnrecognizedUnionMembers: true,
|
|
912
966
|
allowUnrecognizedEnumValues: true,
|
|
913
967
|
breadcrumbsPrefix: ['response'],
|
|
914
|
-
}));
|
|
968
|
+
}), _response.rawResponse);
|
|
915
969
|
case 405:
|
|
916
970
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
917
971
|
unrecognizedObjectKeys: 'passthrough',
|
|
918
972
|
allowUnrecognizedUnionMembers: true,
|
|
919
973
|
allowUnrecognizedEnumValues: true,
|
|
920
974
|
breadcrumbsPrefix: ['response'],
|
|
921
|
-
}));
|
|
975
|
+
}), _response.rawResponse);
|
|
922
976
|
case 429:
|
|
923
977
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
924
978
|
unrecognizedObjectKeys: 'passthrough',
|
|
925
979
|
allowUnrecognizedUnionMembers: true,
|
|
926
980
|
allowUnrecognizedEnumValues: true,
|
|
927
981
|
breadcrumbsPrefix: ['response'],
|
|
928
|
-
}));
|
|
982
|
+
}), _response.rawResponse);
|
|
929
983
|
case 500:
|
|
930
984
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
931
985
|
unrecognizedObjectKeys: 'passthrough',
|
|
932
986
|
allowUnrecognizedUnionMembers: true,
|
|
933
987
|
allowUnrecognizedEnumValues: true,
|
|
934
988
|
breadcrumbsPrefix: ['response'],
|
|
935
|
-
}));
|
|
989
|
+
}), _response.rawResponse);
|
|
936
990
|
default:
|
|
937
991
|
throw new errors.TruvityError({
|
|
938
992
|
statusCode: _response.error.statusCode,
|
|
939
993
|
body: _response.error.body,
|
|
994
|
+
rawResponse: _response.rawResponse,
|
|
940
995
|
});
|
|
941
996
|
}
|
|
942
997
|
}
|
|
@@ -945,12 +1000,14 @@ class Keys {
|
|
|
945
1000
|
throw new errors.TruvityError({
|
|
946
1001
|
statusCode: _response.error.statusCode,
|
|
947
1002
|
body: _response.error.rawBody,
|
|
1003
|
+
rawResponse: _response.rawResponse,
|
|
948
1004
|
});
|
|
949
1005
|
case 'timeout':
|
|
950
1006
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/{id}/credentials/sign.');
|
|
951
1007
|
case 'unknown':
|
|
952
1008
|
throw new errors.TruvityError({
|
|
953
1009
|
message: _response.error.errorMessage,
|
|
1010
|
+
rawResponse: _response.rawResponse,
|
|
954
1011
|
});
|
|
955
1012
|
}
|
|
956
1013
|
});
|
|
@@ -966,6 +1023,9 @@ class Keys {
|
|
|
966
1023
|
* @throws {@link Truvity.InternalServerError}
|
|
967
1024
|
*/
|
|
968
1025
|
didCommMessageSign(id, request, requestOptions) {
|
|
1026
|
+
return core.HttpResponsePromise.fromPromise(this.__didCommMessageSign(id, request, requestOptions));
|
|
1027
|
+
}
|
|
1028
|
+
__didCommMessageSign(id, request, requestOptions) {
|
|
969
1029
|
return __awaiter(this, void 0, void 0, function* () {
|
|
970
1030
|
var _a, _b, _c;
|
|
971
1031
|
const { didMethod, body: _body } = request;
|
|
@@ -979,7 +1039,7 @@ class Keys {
|
|
|
979
1039
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
980
1040
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/didcomm-messages/sign`),
|
|
981
1041
|
method: 'POST',
|
|
982
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1042
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
983
1043
|
contentType: 'application/json',
|
|
984
1044
|
queryParameters: _queryParams,
|
|
985
1045
|
requestType: 'json',
|
|
@@ -993,7 +1053,7 @@ class Keys {
|
|
|
993
1053
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
994
1054
|
});
|
|
995
1055
|
if (_response.ok) {
|
|
996
|
-
return _response.body;
|
|
1056
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
997
1057
|
}
|
|
998
1058
|
if (_response.error.reason === 'status-code') {
|
|
999
1059
|
switch (_response.error.statusCode) {
|
|
@@ -1003,53 +1063,54 @@ class Keys {
|
|
|
1003
1063
|
allowUnrecognizedUnionMembers: true,
|
|
1004
1064
|
allowUnrecognizedEnumValues: true,
|
|
1005
1065
|
breadcrumbsPrefix: ['response'],
|
|
1006
|
-
}));
|
|
1066
|
+
}), _response.rawResponse);
|
|
1007
1067
|
case 401:
|
|
1008
1068
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1009
1069
|
unrecognizedObjectKeys: 'passthrough',
|
|
1010
1070
|
allowUnrecognizedUnionMembers: true,
|
|
1011
1071
|
allowUnrecognizedEnumValues: true,
|
|
1012
1072
|
breadcrumbsPrefix: ['response'],
|
|
1013
|
-
}));
|
|
1073
|
+
}), _response.rawResponse);
|
|
1014
1074
|
case 403:
|
|
1015
1075
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1016
1076
|
unrecognizedObjectKeys: 'passthrough',
|
|
1017
1077
|
allowUnrecognizedUnionMembers: true,
|
|
1018
1078
|
allowUnrecognizedEnumValues: true,
|
|
1019
1079
|
breadcrumbsPrefix: ['response'],
|
|
1020
|
-
}));
|
|
1080
|
+
}), _response.rawResponse);
|
|
1021
1081
|
case 404:
|
|
1022
1082
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1023
1083
|
unrecognizedObjectKeys: 'passthrough',
|
|
1024
1084
|
allowUnrecognizedUnionMembers: true,
|
|
1025
1085
|
allowUnrecognizedEnumValues: true,
|
|
1026
1086
|
breadcrumbsPrefix: ['response'],
|
|
1027
|
-
}));
|
|
1087
|
+
}), _response.rawResponse);
|
|
1028
1088
|
case 405:
|
|
1029
1089
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
1030
1090
|
unrecognizedObjectKeys: 'passthrough',
|
|
1031
1091
|
allowUnrecognizedUnionMembers: true,
|
|
1032
1092
|
allowUnrecognizedEnumValues: true,
|
|
1033
1093
|
breadcrumbsPrefix: ['response'],
|
|
1034
|
-
}));
|
|
1094
|
+
}), _response.rawResponse);
|
|
1035
1095
|
case 429:
|
|
1036
1096
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1037
1097
|
unrecognizedObjectKeys: 'passthrough',
|
|
1038
1098
|
allowUnrecognizedUnionMembers: true,
|
|
1039
1099
|
allowUnrecognizedEnumValues: true,
|
|
1040
1100
|
breadcrumbsPrefix: ['response'],
|
|
1041
|
-
}));
|
|
1101
|
+
}), _response.rawResponse);
|
|
1042
1102
|
case 500:
|
|
1043
1103
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1044
1104
|
unrecognizedObjectKeys: 'passthrough',
|
|
1045
1105
|
allowUnrecognizedUnionMembers: true,
|
|
1046
1106
|
allowUnrecognizedEnumValues: true,
|
|
1047
1107
|
breadcrumbsPrefix: ['response'],
|
|
1048
|
-
}));
|
|
1108
|
+
}), _response.rawResponse);
|
|
1049
1109
|
default:
|
|
1050
1110
|
throw new errors.TruvityError({
|
|
1051
1111
|
statusCode: _response.error.statusCode,
|
|
1052
1112
|
body: _response.error.body,
|
|
1113
|
+
rawResponse: _response.rawResponse,
|
|
1053
1114
|
});
|
|
1054
1115
|
}
|
|
1055
1116
|
}
|
|
@@ -1058,12 +1119,14 @@ class Keys {
|
|
|
1058
1119
|
throw new errors.TruvityError({
|
|
1059
1120
|
statusCode: _response.error.statusCode,
|
|
1060
1121
|
body: _response.error.rawBody,
|
|
1122
|
+
rawResponse: _response.rawResponse,
|
|
1061
1123
|
});
|
|
1062
1124
|
case 'timeout':
|
|
1063
1125
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/{id}/didcomm-messages/sign.');
|
|
1064
1126
|
case 'unknown':
|
|
1065
1127
|
throw new errors.TruvityError({
|
|
1066
1128
|
message: _response.error.errorMessage,
|
|
1129
|
+
rawResponse: _response.rawResponse,
|
|
1067
1130
|
});
|
|
1068
1131
|
}
|
|
1069
1132
|
});
|
|
@@ -1095,13 +1158,16 @@ class Keys {
|
|
|
1095
1158
|
* })
|
|
1096
1159
|
*/
|
|
1097
1160
|
keyUpdateLabels(id, request, requestOptions) {
|
|
1161
|
+
return core.HttpResponsePromise.fromPromise(this.__keyUpdateLabels(id, request, requestOptions));
|
|
1162
|
+
}
|
|
1163
|
+
__keyUpdateLabels(id, request, requestOptions) {
|
|
1098
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1099
1165
|
var _a, _b, _c;
|
|
1100
1166
|
const { idempotencyKey, ifMatch } = request, _body = __rest(request, ["idempotencyKey", "ifMatch"]);
|
|
1101
1167
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1102
1168
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/labels`),
|
|
1103
1169
|
method: 'PATCH',
|
|
1104
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1170
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1105
1171
|
contentType: 'application/json',
|
|
1106
1172
|
requestType: 'json',
|
|
1107
1173
|
body: serializers.KeyUpdateLabelsInput.jsonOrThrow(_body, {
|
|
@@ -1113,12 +1179,15 @@ class Keys {
|
|
|
1113
1179
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1114
1180
|
});
|
|
1115
1181
|
if (_response.ok) {
|
|
1116
|
-
return
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1182
|
+
return {
|
|
1183
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
1184
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1185
|
+
allowUnrecognizedUnionMembers: true,
|
|
1186
|
+
allowUnrecognizedEnumValues: true,
|
|
1187
|
+
breadcrumbsPrefix: ['response'],
|
|
1188
|
+
}),
|
|
1189
|
+
rawResponse: _response.rawResponse,
|
|
1190
|
+
};
|
|
1122
1191
|
}
|
|
1123
1192
|
if (_response.error.reason === 'status-code') {
|
|
1124
1193
|
switch (_response.error.statusCode) {
|
|
@@ -1128,67 +1197,68 @@ class Keys {
|
|
|
1128
1197
|
allowUnrecognizedUnionMembers: true,
|
|
1129
1198
|
allowUnrecognizedEnumValues: true,
|
|
1130
1199
|
breadcrumbsPrefix: ['response'],
|
|
1131
|
-
}));
|
|
1200
|
+
}), _response.rawResponse);
|
|
1132
1201
|
case 401:
|
|
1133
1202
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1134
1203
|
unrecognizedObjectKeys: 'passthrough',
|
|
1135
1204
|
allowUnrecognizedUnionMembers: true,
|
|
1136
1205
|
allowUnrecognizedEnumValues: true,
|
|
1137
1206
|
breadcrumbsPrefix: ['response'],
|
|
1138
|
-
}));
|
|
1207
|
+
}), _response.rawResponse);
|
|
1139
1208
|
case 403:
|
|
1140
1209
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1141
1210
|
unrecognizedObjectKeys: 'passthrough',
|
|
1142
1211
|
allowUnrecognizedUnionMembers: true,
|
|
1143
1212
|
allowUnrecognizedEnumValues: true,
|
|
1144
1213
|
breadcrumbsPrefix: ['response'],
|
|
1145
|
-
}));
|
|
1214
|
+
}), _response.rawResponse);
|
|
1146
1215
|
case 404:
|
|
1147
1216
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1148
1217
|
unrecognizedObjectKeys: 'passthrough',
|
|
1149
1218
|
allowUnrecognizedUnionMembers: true,
|
|
1150
1219
|
allowUnrecognizedEnumValues: true,
|
|
1151
1220
|
breadcrumbsPrefix: ['response'],
|
|
1152
|
-
}));
|
|
1221
|
+
}), _response.rawResponse);
|
|
1153
1222
|
case 405:
|
|
1154
1223
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
1155
1224
|
unrecognizedObjectKeys: 'passthrough',
|
|
1156
1225
|
allowUnrecognizedUnionMembers: true,
|
|
1157
1226
|
allowUnrecognizedEnumValues: true,
|
|
1158
1227
|
breadcrumbsPrefix: ['response'],
|
|
1159
|
-
}));
|
|
1228
|
+
}), _response.rawResponse);
|
|
1160
1229
|
case 412:
|
|
1161
1230
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
1162
1231
|
unrecognizedObjectKeys: 'passthrough',
|
|
1163
1232
|
allowUnrecognizedUnionMembers: true,
|
|
1164
1233
|
allowUnrecognizedEnumValues: true,
|
|
1165
1234
|
breadcrumbsPrefix: ['response'],
|
|
1166
|
-
}));
|
|
1235
|
+
}), _response.rawResponse);
|
|
1167
1236
|
case 415:
|
|
1168
1237
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
1169
1238
|
unrecognizedObjectKeys: 'passthrough',
|
|
1170
1239
|
allowUnrecognizedUnionMembers: true,
|
|
1171
1240
|
allowUnrecognizedEnumValues: true,
|
|
1172
1241
|
breadcrumbsPrefix: ['response'],
|
|
1173
|
-
}));
|
|
1242
|
+
}), _response.rawResponse);
|
|
1174
1243
|
case 429:
|
|
1175
1244
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1176
1245
|
unrecognizedObjectKeys: 'passthrough',
|
|
1177
1246
|
allowUnrecognizedUnionMembers: true,
|
|
1178
1247
|
allowUnrecognizedEnumValues: true,
|
|
1179
1248
|
breadcrumbsPrefix: ['response'],
|
|
1180
|
-
}));
|
|
1249
|
+
}), _response.rawResponse);
|
|
1181
1250
|
case 500:
|
|
1182
1251
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1183
1252
|
unrecognizedObjectKeys: 'passthrough',
|
|
1184
1253
|
allowUnrecognizedUnionMembers: true,
|
|
1185
1254
|
allowUnrecognizedEnumValues: true,
|
|
1186
1255
|
breadcrumbsPrefix: ['response'],
|
|
1187
|
-
}));
|
|
1256
|
+
}), _response.rawResponse);
|
|
1188
1257
|
default:
|
|
1189
1258
|
throw new errors.TruvityError({
|
|
1190
1259
|
statusCode: _response.error.statusCode,
|
|
1191
1260
|
body: _response.error.body,
|
|
1261
|
+
rawResponse: _response.rawResponse,
|
|
1192
1262
|
});
|
|
1193
1263
|
}
|
|
1194
1264
|
}
|
|
@@ -1197,12 +1267,14 @@ class Keys {
|
|
|
1197
1267
|
throw new errors.TruvityError({
|
|
1198
1268
|
statusCode: _response.error.statusCode,
|
|
1199
1269
|
body: _response.error.rawBody,
|
|
1270
|
+
rawResponse: _response.rawResponse,
|
|
1200
1271
|
});
|
|
1201
1272
|
case 'timeout':
|
|
1202
1273
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /keys/{id}/labels.');
|
|
1203
1274
|
case 'unknown':
|
|
1204
1275
|
throw new errors.TruvityError({
|
|
1205
1276
|
message: _response.error.errorMessage,
|
|
1277
|
+
rawResponse: _response.rawResponse,
|
|
1206
1278
|
});
|
|
1207
1279
|
}
|
|
1208
1280
|
});
|
|
@@ -1218,6 +1290,9 @@ class Keys {
|
|
|
1218
1290
|
* @throws {@link Truvity.InternalServerError}
|
|
1219
1291
|
*/
|
|
1220
1292
|
presentationSign(id, request, requestOptions) {
|
|
1293
|
+
return core.HttpResponsePromise.fromPromise(this.__presentationSign(id, request, requestOptions));
|
|
1294
|
+
}
|
|
1295
|
+
__presentationSign(id, request, requestOptions) {
|
|
1221
1296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1222
1297
|
var _a, _b, _c;
|
|
1223
1298
|
const { didMethod, body: _body } = request;
|
|
@@ -1231,7 +1306,7 @@ class Keys {
|
|
|
1231
1306
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1232
1307
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/presentations/sign`),
|
|
1233
1308
|
method: 'POST',
|
|
1234
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1309
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1235
1310
|
contentType: 'application/json',
|
|
1236
1311
|
queryParameters: _queryParams,
|
|
1237
1312
|
requestType: 'json',
|
|
@@ -1245,7 +1320,7 @@ class Keys {
|
|
|
1245
1320
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1246
1321
|
});
|
|
1247
1322
|
if (_response.ok) {
|
|
1248
|
-
return _response.body;
|
|
1323
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1249
1324
|
}
|
|
1250
1325
|
if (_response.error.reason === 'status-code') {
|
|
1251
1326
|
switch (_response.error.statusCode) {
|
|
@@ -1255,53 +1330,54 @@ class Keys {
|
|
|
1255
1330
|
allowUnrecognizedUnionMembers: true,
|
|
1256
1331
|
allowUnrecognizedEnumValues: true,
|
|
1257
1332
|
breadcrumbsPrefix: ['response'],
|
|
1258
|
-
}));
|
|
1333
|
+
}), _response.rawResponse);
|
|
1259
1334
|
case 401:
|
|
1260
1335
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1261
1336
|
unrecognizedObjectKeys: 'passthrough',
|
|
1262
1337
|
allowUnrecognizedUnionMembers: true,
|
|
1263
1338
|
allowUnrecognizedEnumValues: true,
|
|
1264
1339
|
breadcrumbsPrefix: ['response'],
|
|
1265
|
-
}));
|
|
1340
|
+
}), _response.rawResponse);
|
|
1266
1341
|
case 403:
|
|
1267
1342
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1268
1343
|
unrecognizedObjectKeys: 'passthrough',
|
|
1269
1344
|
allowUnrecognizedUnionMembers: true,
|
|
1270
1345
|
allowUnrecognizedEnumValues: true,
|
|
1271
1346
|
breadcrumbsPrefix: ['response'],
|
|
1272
|
-
}));
|
|
1347
|
+
}), _response.rawResponse);
|
|
1273
1348
|
case 404:
|
|
1274
1349
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1275
1350
|
unrecognizedObjectKeys: 'passthrough',
|
|
1276
1351
|
allowUnrecognizedUnionMembers: true,
|
|
1277
1352
|
allowUnrecognizedEnumValues: true,
|
|
1278
1353
|
breadcrumbsPrefix: ['response'],
|
|
1279
|
-
}));
|
|
1354
|
+
}), _response.rawResponse);
|
|
1280
1355
|
case 405:
|
|
1281
1356
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
1282
1357
|
unrecognizedObjectKeys: 'passthrough',
|
|
1283
1358
|
allowUnrecognizedUnionMembers: true,
|
|
1284
1359
|
allowUnrecognizedEnumValues: true,
|
|
1285
1360
|
breadcrumbsPrefix: ['response'],
|
|
1286
|
-
}));
|
|
1361
|
+
}), _response.rawResponse);
|
|
1287
1362
|
case 429:
|
|
1288
1363
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1289
1364
|
unrecognizedObjectKeys: 'passthrough',
|
|
1290
1365
|
allowUnrecognizedUnionMembers: true,
|
|
1291
1366
|
allowUnrecognizedEnumValues: true,
|
|
1292
1367
|
breadcrumbsPrefix: ['response'],
|
|
1293
|
-
}));
|
|
1368
|
+
}), _response.rawResponse);
|
|
1294
1369
|
case 500:
|
|
1295
1370
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1296
1371
|
unrecognizedObjectKeys: 'passthrough',
|
|
1297
1372
|
allowUnrecognizedUnionMembers: true,
|
|
1298
1373
|
allowUnrecognizedEnumValues: true,
|
|
1299
1374
|
breadcrumbsPrefix: ['response'],
|
|
1300
|
-
}));
|
|
1375
|
+
}), _response.rawResponse);
|
|
1301
1376
|
default:
|
|
1302
1377
|
throw new errors.TruvityError({
|
|
1303
1378
|
statusCode: _response.error.statusCode,
|
|
1304
1379
|
body: _response.error.body,
|
|
1380
|
+
rawResponse: _response.rawResponse,
|
|
1305
1381
|
});
|
|
1306
1382
|
}
|
|
1307
1383
|
}
|
|
@@ -1310,12 +1386,14 @@ class Keys {
|
|
|
1310
1386
|
throw new errors.TruvityError({
|
|
1311
1387
|
statusCode: _response.error.statusCode,
|
|
1312
1388
|
body: _response.error.rawBody,
|
|
1389
|
+
rawResponse: _response.rawResponse,
|
|
1313
1390
|
});
|
|
1314
1391
|
case 'timeout':
|
|
1315
1392
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/{id}/presentations/sign.');
|
|
1316
1393
|
case 'unknown':
|
|
1317
1394
|
throw new errors.TruvityError({
|
|
1318
1395
|
message: _response.error.errorMessage,
|
|
1396
|
+
rawResponse: _response.rawResponse,
|
|
1319
1397
|
});
|
|
1320
1398
|
}
|
|
1321
1399
|
});
|
|
@@ -1343,13 +1421,16 @@ class Keys {
|
|
|
1343
1421
|
* })
|
|
1344
1422
|
*/
|
|
1345
1423
|
keyRestore(id, request, requestOptions) {
|
|
1424
|
+
return core.HttpResponsePromise.fromPromise(this.__keyRestore(id, request, requestOptions));
|
|
1425
|
+
}
|
|
1426
|
+
__keyRestore(id, request, requestOptions) {
|
|
1346
1427
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1347
1428
|
var _a, _b, _c;
|
|
1348
1429
|
const { idempotencyKey, ifMatch } = request;
|
|
1349
1430
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1350
1431
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/restore`),
|
|
1351
1432
|
method: 'POST',
|
|
1352
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1433
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1353
1434
|
contentType: 'application/json',
|
|
1354
1435
|
requestType: 'json',
|
|
1355
1436
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1357,12 +1438,15 @@ class Keys {
|
|
|
1357
1438
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1358
1439
|
});
|
|
1359
1440
|
if (_response.ok) {
|
|
1360
|
-
return
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1441
|
+
return {
|
|
1442
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
1443
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1444
|
+
allowUnrecognizedUnionMembers: true,
|
|
1445
|
+
allowUnrecognizedEnumValues: true,
|
|
1446
|
+
breadcrumbsPrefix: ['response'],
|
|
1447
|
+
}),
|
|
1448
|
+
rawResponse: _response.rawResponse,
|
|
1449
|
+
};
|
|
1366
1450
|
}
|
|
1367
1451
|
if (_response.error.reason === 'status-code') {
|
|
1368
1452
|
switch (_response.error.statusCode) {
|
|
@@ -1372,60 +1456,61 @@ class Keys {
|
|
|
1372
1456
|
allowUnrecognizedUnionMembers: true,
|
|
1373
1457
|
allowUnrecognizedEnumValues: true,
|
|
1374
1458
|
breadcrumbsPrefix: ['response'],
|
|
1375
|
-
}));
|
|
1459
|
+
}), _response.rawResponse);
|
|
1376
1460
|
case 401:
|
|
1377
1461
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1378
1462
|
unrecognizedObjectKeys: 'passthrough',
|
|
1379
1463
|
allowUnrecognizedUnionMembers: true,
|
|
1380
1464
|
allowUnrecognizedEnumValues: true,
|
|
1381
1465
|
breadcrumbsPrefix: ['response'],
|
|
1382
|
-
}));
|
|
1466
|
+
}), _response.rawResponse);
|
|
1383
1467
|
case 403:
|
|
1384
1468
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1385
1469
|
unrecognizedObjectKeys: 'passthrough',
|
|
1386
1470
|
allowUnrecognizedUnionMembers: true,
|
|
1387
1471
|
allowUnrecognizedEnumValues: true,
|
|
1388
1472
|
breadcrumbsPrefix: ['response'],
|
|
1389
|
-
}));
|
|
1473
|
+
}), _response.rawResponse);
|
|
1390
1474
|
case 404:
|
|
1391
1475
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1392
1476
|
unrecognizedObjectKeys: 'passthrough',
|
|
1393
1477
|
allowUnrecognizedUnionMembers: true,
|
|
1394
1478
|
allowUnrecognizedEnumValues: true,
|
|
1395
1479
|
breadcrumbsPrefix: ['response'],
|
|
1396
|
-
}));
|
|
1480
|
+
}), _response.rawResponse);
|
|
1397
1481
|
case 405:
|
|
1398
1482
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
1399
1483
|
unrecognizedObjectKeys: 'passthrough',
|
|
1400
1484
|
allowUnrecognizedUnionMembers: true,
|
|
1401
1485
|
allowUnrecognizedEnumValues: true,
|
|
1402
1486
|
breadcrumbsPrefix: ['response'],
|
|
1403
|
-
}));
|
|
1487
|
+
}), _response.rawResponse);
|
|
1404
1488
|
case 412:
|
|
1405
1489
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
1406
1490
|
unrecognizedObjectKeys: 'passthrough',
|
|
1407
1491
|
allowUnrecognizedUnionMembers: true,
|
|
1408
1492
|
allowUnrecognizedEnumValues: true,
|
|
1409
1493
|
breadcrumbsPrefix: ['response'],
|
|
1410
|
-
}));
|
|
1494
|
+
}), _response.rawResponse);
|
|
1411
1495
|
case 429:
|
|
1412
1496
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1413
1497
|
unrecognizedObjectKeys: 'passthrough',
|
|
1414
1498
|
allowUnrecognizedUnionMembers: true,
|
|
1415
1499
|
allowUnrecognizedEnumValues: true,
|
|
1416
1500
|
breadcrumbsPrefix: ['response'],
|
|
1417
|
-
}));
|
|
1501
|
+
}), _response.rawResponse);
|
|
1418
1502
|
case 500:
|
|
1419
1503
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1420
1504
|
unrecognizedObjectKeys: 'passthrough',
|
|
1421
1505
|
allowUnrecognizedUnionMembers: true,
|
|
1422
1506
|
allowUnrecognizedEnumValues: true,
|
|
1423
1507
|
breadcrumbsPrefix: ['response'],
|
|
1424
|
-
}));
|
|
1508
|
+
}), _response.rawResponse);
|
|
1425
1509
|
default:
|
|
1426
1510
|
throw new errors.TruvityError({
|
|
1427
1511
|
statusCode: _response.error.statusCode,
|
|
1428
1512
|
body: _response.error.body,
|
|
1513
|
+
rawResponse: _response.rawResponse,
|
|
1429
1514
|
});
|
|
1430
1515
|
}
|
|
1431
1516
|
}
|
|
@@ -1434,12 +1519,14 @@ class Keys {
|
|
|
1434
1519
|
throw new errors.TruvityError({
|
|
1435
1520
|
statusCode: _response.error.statusCode,
|
|
1436
1521
|
body: _response.error.rawBody,
|
|
1522
|
+
rawResponse: _response.rawResponse,
|
|
1437
1523
|
});
|
|
1438
1524
|
case 'timeout':
|
|
1439
1525
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /keys/{id}/restore.');
|
|
1440
1526
|
case 'unknown':
|
|
1441
1527
|
throw new errors.TruvityError({
|
|
1442
1528
|
message: _response.error.errorMessage,
|
|
1529
|
+
rawResponse: _response.rawResponse,
|
|
1443
1530
|
});
|
|
1444
1531
|
}
|
|
1445
1532
|
});
|
|
@@ -1461,14 +1548,17 @@ class Keys {
|
|
|
1461
1548
|
* @example
|
|
1462
1549
|
* await client.keys.keyHistory("id")
|
|
1463
1550
|
*/
|
|
1464
|
-
keyHistory(
|
|
1551
|
+
keyHistory(id, request = {}, requestOptions) {
|
|
1552
|
+
return core.HttpResponsePromise.fromPromise(this.__keyHistory(id, request, requestOptions));
|
|
1553
|
+
}
|
|
1554
|
+
__keyHistory(id_1) {
|
|
1465
1555
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
1466
1556
|
var _a, _b, _c;
|
|
1467
1557
|
const { ifNoneMatch } = request;
|
|
1468
1558
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1469
1559
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/revisions`),
|
|
1470
1560
|
method: 'GET',
|
|
1471
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1561
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1472
1562
|
contentType: 'application/json',
|
|
1473
1563
|
requestType: 'json',
|
|
1474
1564
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1476,12 +1566,15 @@ class Keys {
|
|
|
1476
1566
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1477
1567
|
});
|
|
1478
1568
|
if (_response.ok) {
|
|
1479
|
-
return
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1569
|
+
return {
|
|
1570
|
+
data: serializers.ListKeyPublic.parseOrThrow(_response.body, {
|
|
1571
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1572
|
+
allowUnrecognizedUnionMembers: true,
|
|
1573
|
+
allowUnrecognizedEnumValues: true,
|
|
1574
|
+
breadcrumbsPrefix: ['response'],
|
|
1575
|
+
}),
|
|
1576
|
+
rawResponse: _response.rawResponse,
|
|
1577
|
+
};
|
|
1485
1578
|
}
|
|
1486
1579
|
if (_response.error.reason === 'status-code') {
|
|
1487
1580
|
switch (_response.error.statusCode) {
|
|
@@ -1491,46 +1584,47 @@ class Keys {
|
|
|
1491
1584
|
allowUnrecognizedUnionMembers: true,
|
|
1492
1585
|
allowUnrecognizedEnumValues: true,
|
|
1493
1586
|
breadcrumbsPrefix: ['response'],
|
|
1494
|
-
}));
|
|
1587
|
+
}), _response.rawResponse);
|
|
1495
1588
|
case 401:
|
|
1496
1589
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1497
1590
|
unrecognizedObjectKeys: 'passthrough',
|
|
1498
1591
|
allowUnrecognizedUnionMembers: true,
|
|
1499
1592
|
allowUnrecognizedEnumValues: true,
|
|
1500
1593
|
breadcrumbsPrefix: ['response'],
|
|
1501
|
-
}));
|
|
1594
|
+
}), _response.rawResponse);
|
|
1502
1595
|
case 403:
|
|
1503
1596
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1504
1597
|
unrecognizedObjectKeys: 'passthrough',
|
|
1505
1598
|
allowUnrecognizedUnionMembers: true,
|
|
1506
1599
|
allowUnrecognizedEnumValues: true,
|
|
1507
1600
|
breadcrumbsPrefix: ['response'],
|
|
1508
|
-
}));
|
|
1601
|
+
}), _response.rawResponse);
|
|
1509
1602
|
case 404:
|
|
1510
1603
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1511
1604
|
unrecognizedObjectKeys: 'passthrough',
|
|
1512
1605
|
allowUnrecognizedUnionMembers: true,
|
|
1513
1606
|
allowUnrecognizedEnumValues: true,
|
|
1514
1607
|
breadcrumbsPrefix: ['response'],
|
|
1515
|
-
}));
|
|
1608
|
+
}), _response.rawResponse);
|
|
1516
1609
|
case 429:
|
|
1517
1610
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1518
1611
|
unrecognizedObjectKeys: 'passthrough',
|
|
1519
1612
|
allowUnrecognizedUnionMembers: true,
|
|
1520
1613
|
allowUnrecognizedEnumValues: true,
|
|
1521
1614
|
breadcrumbsPrefix: ['response'],
|
|
1522
|
-
}));
|
|
1615
|
+
}), _response.rawResponse);
|
|
1523
1616
|
case 500:
|
|
1524
1617
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1525
1618
|
unrecognizedObjectKeys: 'passthrough',
|
|
1526
1619
|
allowUnrecognizedUnionMembers: true,
|
|
1527
1620
|
allowUnrecognizedEnumValues: true,
|
|
1528
1621
|
breadcrumbsPrefix: ['response'],
|
|
1529
|
-
}));
|
|
1622
|
+
}), _response.rawResponse);
|
|
1530
1623
|
default:
|
|
1531
1624
|
throw new errors.TruvityError({
|
|
1532
1625
|
statusCode: _response.error.statusCode,
|
|
1533
1626
|
body: _response.error.body,
|
|
1627
|
+
rawResponse: _response.rawResponse,
|
|
1534
1628
|
});
|
|
1535
1629
|
}
|
|
1536
1630
|
}
|
|
@@ -1539,12 +1633,14 @@ class Keys {
|
|
|
1539
1633
|
throw new errors.TruvityError({
|
|
1540
1634
|
statusCode: _response.error.statusCode,
|
|
1541
1635
|
body: _response.error.rawBody,
|
|
1636
|
+
rawResponse: _response.rawResponse,
|
|
1542
1637
|
});
|
|
1543
1638
|
case 'timeout':
|
|
1544
1639
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /keys/{id}/revisions.');
|
|
1545
1640
|
case 'unknown':
|
|
1546
1641
|
throw new errors.TruvityError({
|
|
1547
1642
|
message: _response.error.errorMessage,
|
|
1643
|
+
rawResponse: _response.rawResponse,
|
|
1548
1644
|
});
|
|
1549
1645
|
}
|
|
1550
1646
|
});
|
|
@@ -1567,14 +1663,17 @@ class Keys {
|
|
|
1567
1663
|
* @example
|
|
1568
1664
|
* await client.keys.keyRevision("id", 1)
|
|
1569
1665
|
*/
|
|
1570
|
-
keyRevision(
|
|
1666
|
+
keyRevision(id, revision, request = {}, requestOptions) {
|
|
1667
|
+
return core.HttpResponsePromise.fromPromise(this.__keyRevision(id, revision, request, requestOptions));
|
|
1668
|
+
}
|
|
1669
|
+
__keyRevision(id_1, revision_1) {
|
|
1571
1670
|
return __awaiter(this, arguments, void 0, function* (id, revision, request = {}, requestOptions) {
|
|
1572
1671
|
var _a, _b, _c;
|
|
1573
1672
|
const { ifNoneMatch } = request;
|
|
1574
1673
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1575
1674
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
|
|
1576
1675
|
method: 'GET',
|
|
1577
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1676
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1578
1677
|
contentType: 'application/json',
|
|
1579
1678
|
requestType: 'json',
|
|
1580
1679
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1582,12 +1681,15 @@ class Keys {
|
|
|
1582
1681
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1583
1682
|
});
|
|
1584
1683
|
if (_response.ok) {
|
|
1585
|
-
return
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1684
|
+
return {
|
|
1685
|
+
data: serializers.ResourceKeyPublic.parseOrThrow(_response.body, {
|
|
1686
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1687
|
+
allowUnrecognizedUnionMembers: true,
|
|
1688
|
+
allowUnrecognizedEnumValues: true,
|
|
1689
|
+
breadcrumbsPrefix: ['response'],
|
|
1690
|
+
}),
|
|
1691
|
+
rawResponse: _response.rawResponse,
|
|
1692
|
+
};
|
|
1591
1693
|
}
|
|
1592
1694
|
if (_response.error.reason === 'status-code') {
|
|
1593
1695
|
switch (_response.error.statusCode) {
|
|
@@ -1597,46 +1699,47 @@ class Keys {
|
|
|
1597
1699
|
allowUnrecognizedUnionMembers: true,
|
|
1598
1700
|
allowUnrecognizedEnumValues: true,
|
|
1599
1701
|
breadcrumbsPrefix: ['response'],
|
|
1600
|
-
}));
|
|
1702
|
+
}), _response.rawResponse);
|
|
1601
1703
|
case 401:
|
|
1602
1704
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1603
1705
|
unrecognizedObjectKeys: 'passthrough',
|
|
1604
1706
|
allowUnrecognizedUnionMembers: true,
|
|
1605
1707
|
allowUnrecognizedEnumValues: true,
|
|
1606
1708
|
breadcrumbsPrefix: ['response'],
|
|
1607
|
-
}));
|
|
1709
|
+
}), _response.rawResponse);
|
|
1608
1710
|
case 403:
|
|
1609
1711
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1610
1712
|
unrecognizedObjectKeys: 'passthrough',
|
|
1611
1713
|
allowUnrecognizedUnionMembers: true,
|
|
1612
1714
|
allowUnrecognizedEnumValues: true,
|
|
1613
1715
|
breadcrumbsPrefix: ['response'],
|
|
1614
|
-
}));
|
|
1716
|
+
}), _response.rawResponse);
|
|
1615
1717
|
case 404:
|
|
1616
1718
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1617
1719
|
unrecognizedObjectKeys: 'passthrough',
|
|
1618
1720
|
allowUnrecognizedUnionMembers: true,
|
|
1619
1721
|
allowUnrecognizedEnumValues: true,
|
|
1620
1722
|
breadcrumbsPrefix: ['response'],
|
|
1621
|
-
}));
|
|
1723
|
+
}), _response.rawResponse);
|
|
1622
1724
|
case 429:
|
|
1623
1725
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1624
1726
|
unrecognizedObjectKeys: 'passthrough',
|
|
1625
1727
|
allowUnrecognizedUnionMembers: true,
|
|
1626
1728
|
allowUnrecognizedEnumValues: true,
|
|
1627
1729
|
breadcrumbsPrefix: ['response'],
|
|
1628
|
-
}));
|
|
1730
|
+
}), _response.rawResponse);
|
|
1629
1731
|
case 500:
|
|
1630
1732
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1631
1733
|
unrecognizedObjectKeys: 'passthrough',
|
|
1632
1734
|
allowUnrecognizedUnionMembers: true,
|
|
1633
1735
|
allowUnrecognizedEnumValues: true,
|
|
1634
1736
|
breadcrumbsPrefix: ['response'],
|
|
1635
|
-
}));
|
|
1737
|
+
}), _response.rawResponse);
|
|
1636
1738
|
default:
|
|
1637
1739
|
throw new errors.TruvityError({
|
|
1638
1740
|
statusCode: _response.error.statusCode,
|
|
1639
1741
|
body: _response.error.body,
|
|
1742
|
+
rawResponse: _response.rawResponse,
|
|
1640
1743
|
});
|
|
1641
1744
|
}
|
|
1642
1745
|
}
|
|
@@ -1645,12 +1748,14 @@ class Keys {
|
|
|
1645
1748
|
throw new errors.TruvityError({
|
|
1646
1749
|
statusCode: _response.error.statusCode,
|
|
1647
1750
|
body: _response.error.rawBody,
|
|
1751
|
+
rawResponse: _response.rawResponse,
|
|
1648
1752
|
});
|
|
1649
1753
|
case 'timeout':
|
|
1650
1754
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /keys/{id}/revisions/{revision}.');
|
|
1651
1755
|
case 'unknown':
|
|
1652
1756
|
throw new errors.TruvityError({
|
|
1653
1757
|
message: _response.error.errorMessage,
|
|
1758
|
+
rawResponse: _response.rawResponse,
|
|
1654
1759
|
});
|
|
1655
1760
|
}
|
|
1656
1761
|
});
|