@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
|
@@ -95,15 +95,21 @@ class Credentials {
|
|
|
95
95
|
* })
|
|
96
96
|
*/
|
|
97
97
|
credentialImport(request, requestOptions) {
|
|
98
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialImport(request, requestOptions));
|
|
99
|
+
}
|
|
100
|
+
__credentialImport(request, requestOptions) {
|
|
98
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
99
102
|
var _a, _b, _c;
|
|
100
|
-
const { blobId, idempotencyKey } = request, _body = __rest(request, ["blobId", "idempotencyKey"]);
|
|
103
|
+
const { blobId, draftId, idempotencyKey } = request, _body = __rest(request, ["blobId", "draftId", "idempotencyKey"]);
|
|
101
104
|
const _queryParams = {};
|
|
102
105
|
_queryParams['blob_id'] = blobId;
|
|
106
|
+
if (draftId != null) {
|
|
107
|
+
_queryParams['draft_id'] = draftId;
|
|
108
|
+
}
|
|
103
109
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
104
110
|
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, 'credentials/import'),
|
|
105
111
|
method: 'POST',
|
|
106
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
112
|
+
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),
|
|
107
113
|
contentType: 'application/json',
|
|
108
114
|
queryParameters: _queryParams,
|
|
109
115
|
requestType: 'json',
|
|
@@ -116,12 +122,15 @@ class Credentials {
|
|
|
116
122
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
117
123
|
});
|
|
118
124
|
if (_response.ok) {
|
|
119
|
-
return
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
return {
|
|
126
|
+
data: serializers.ResourceCredential.parseOrThrow(_response.body, {
|
|
127
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
128
|
+
allowUnrecognizedUnionMembers: true,
|
|
129
|
+
allowUnrecognizedEnumValues: true,
|
|
130
|
+
breadcrumbsPrefix: ['response'],
|
|
131
|
+
}),
|
|
132
|
+
rawResponse: _response.rawResponse,
|
|
133
|
+
};
|
|
125
134
|
}
|
|
126
135
|
if (_response.error.reason === 'status-code') {
|
|
127
136
|
switch (_response.error.statusCode) {
|
|
@@ -131,53 +140,54 @@ class Credentials {
|
|
|
131
140
|
allowUnrecognizedUnionMembers: true,
|
|
132
141
|
allowUnrecognizedEnumValues: true,
|
|
133
142
|
breadcrumbsPrefix: ['response'],
|
|
134
|
-
}));
|
|
143
|
+
}), _response.rawResponse);
|
|
135
144
|
case 401:
|
|
136
145
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
137
146
|
unrecognizedObjectKeys: 'passthrough',
|
|
138
147
|
allowUnrecognizedUnionMembers: true,
|
|
139
148
|
allowUnrecognizedEnumValues: true,
|
|
140
149
|
breadcrumbsPrefix: ['response'],
|
|
141
|
-
}));
|
|
150
|
+
}), _response.rawResponse);
|
|
142
151
|
case 403:
|
|
143
152
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
144
153
|
unrecognizedObjectKeys: 'passthrough',
|
|
145
154
|
allowUnrecognizedUnionMembers: true,
|
|
146
155
|
allowUnrecognizedEnumValues: true,
|
|
147
156
|
breadcrumbsPrefix: ['response'],
|
|
148
|
-
}));
|
|
157
|
+
}), _response.rawResponse);
|
|
149
158
|
case 404:
|
|
150
159
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
151
160
|
unrecognizedObjectKeys: 'passthrough',
|
|
152
161
|
allowUnrecognizedUnionMembers: true,
|
|
153
162
|
allowUnrecognizedEnumValues: true,
|
|
154
163
|
breadcrumbsPrefix: ['response'],
|
|
155
|
-
}));
|
|
164
|
+
}), _response.rawResponse);
|
|
156
165
|
case 415:
|
|
157
166
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
158
167
|
unrecognizedObjectKeys: 'passthrough',
|
|
159
168
|
allowUnrecognizedUnionMembers: true,
|
|
160
169
|
allowUnrecognizedEnumValues: true,
|
|
161
170
|
breadcrumbsPrefix: ['response'],
|
|
162
|
-
}));
|
|
171
|
+
}), _response.rawResponse);
|
|
163
172
|
case 429:
|
|
164
173
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
165
174
|
unrecognizedObjectKeys: 'passthrough',
|
|
166
175
|
allowUnrecognizedUnionMembers: true,
|
|
167
176
|
allowUnrecognizedEnumValues: true,
|
|
168
177
|
breadcrumbsPrefix: ['response'],
|
|
169
|
-
}));
|
|
178
|
+
}), _response.rawResponse);
|
|
170
179
|
case 500:
|
|
171
180
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
172
181
|
unrecognizedObjectKeys: 'passthrough',
|
|
173
182
|
allowUnrecognizedUnionMembers: true,
|
|
174
183
|
allowUnrecognizedEnumValues: true,
|
|
175
184
|
breadcrumbsPrefix: ['response'],
|
|
176
|
-
}));
|
|
185
|
+
}), _response.rawResponse);
|
|
177
186
|
default:
|
|
178
187
|
throw new errors.TruvityError({
|
|
179
188
|
statusCode: _response.error.statusCode,
|
|
180
189
|
body: _response.error.body,
|
|
190
|
+
rawResponse: _response.rawResponse,
|
|
181
191
|
});
|
|
182
192
|
}
|
|
183
193
|
}
|
|
@@ -186,12 +196,14 @@ class Credentials {
|
|
|
186
196
|
throw new errors.TruvityError({
|
|
187
197
|
statusCode: _response.error.statusCode,
|
|
188
198
|
body: _response.error.rawBody,
|
|
199
|
+
rawResponse: _response.rawResponse,
|
|
189
200
|
});
|
|
190
201
|
case 'timeout':
|
|
191
202
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /credentials/import.');
|
|
192
203
|
case 'unknown':
|
|
193
204
|
throw new errors.TruvityError({
|
|
194
205
|
message: _response.error.errorMessage,
|
|
206
|
+
rawResponse: _response.rawResponse,
|
|
195
207
|
});
|
|
196
208
|
}
|
|
197
209
|
});
|
|
@@ -212,13 +224,16 @@ class Credentials {
|
|
|
212
224
|
* @example
|
|
213
225
|
* await client.credentials.credentialSearch()
|
|
214
226
|
*/
|
|
215
|
-
credentialSearch() {
|
|
227
|
+
credentialSearch(request = {}, requestOptions) {
|
|
228
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialSearch(request, requestOptions));
|
|
229
|
+
}
|
|
230
|
+
__credentialSearch() {
|
|
216
231
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
217
232
|
var _a, _b, _c;
|
|
218
233
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
219
234
|
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, 'credentials/search'),
|
|
220
235
|
method: 'POST',
|
|
221
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
236
|
+
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),
|
|
222
237
|
contentType: 'application/json',
|
|
223
238
|
requestType: 'json',
|
|
224
239
|
body: serializers.CredentialSearchRequest.jsonOrThrow(request, {
|
|
@@ -230,12 +245,15 @@ class Credentials {
|
|
|
230
245
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
231
246
|
});
|
|
232
247
|
if (_response.ok) {
|
|
233
|
-
return
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
248
|
+
return {
|
|
249
|
+
data: serializers.ListCredential.parseOrThrow(_response.body, {
|
|
250
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
251
|
+
allowUnrecognizedUnionMembers: true,
|
|
252
|
+
allowUnrecognizedEnumValues: true,
|
|
253
|
+
breadcrumbsPrefix: ['response'],
|
|
254
|
+
}),
|
|
255
|
+
rawResponse: _response.rawResponse,
|
|
256
|
+
};
|
|
239
257
|
}
|
|
240
258
|
if (_response.error.reason === 'status-code') {
|
|
241
259
|
switch (_response.error.statusCode) {
|
|
@@ -245,46 +263,47 @@ class Credentials {
|
|
|
245
263
|
allowUnrecognizedUnionMembers: true,
|
|
246
264
|
allowUnrecognizedEnumValues: true,
|
|
247
265
|
breadcrumbsPrefix: ['response'],
|
|
248
|
-
}));
|
|
266
|
+
}), _response.rawResponse);
|
|
249
267
|
case 401:
|
|
250
268
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
251
269
|
unrecognizedObjectKeys: 'passthrough',
|
|
252
270
|
allowUnrecognizedUnionMembers: true,
|
|
253
271
|
allowUnrecognizedEnumValues: true,
|
|
254
272
|
breadcrumbsPrefix: ['response'],
|
|
255
|
-
}));
|
|
273
|
+
}), _response.rawResponse);
|
|
256
274
|
case 403:
|
|
257
275
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
258
276
|
unrecognizedObjectKeys: 'passthrough',
|
|
259
277
|
allowUnrecognizedUnionMembers: true,
|
|
260
278
|
allowUnrecognizedEnumValues: true,
|
|
261
279
|
breadcrumbsPrefix: ['response'],
|
|
262
|
-
}));
|
|
280
|
+
}), _response.rawResponse);
|
|
263
281
|
case 415:
|
|
264
282
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
265
283
|
unrecognizedObjectKeys: 'passthrough',
|
|
266
284
|
allowUnrecognizedUnionMembers: true,
|
|
267
285
|
allowUnrecognizedEnumValues: true,
|
|
268
286
|
breadcrumbsPrefix: ['response'],
|
|
269
|
-
}));
|
|
287
|
+
}), _response.rawResponse);
|
|
270
288
|
case 429:
|
|
271
289
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
272
290
|
unrecognizedObjectKeys: 'passthrough',
|
|
273
291
|
allowUnrecognizedUnionMembers: true,
|
|
274
292
|
allowUnrecognizedEnumValues: true,
|
|
275
293
|
breadcrumbsPrefix: ['response'],
|
|
276
|
-
}));
|
|
294
|
+
}), _response.rawResponse);
|
|
277
295
|
case 500:
|
|
278
296
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
279
297
|
unrecognizedObjectKeys: 'passthrough',
|
|
280
298
|
allowUnrecognizedUnionMembers: true,
|
|
281
299
|
allowUnrecognizedEnumValues: true,
|
|
282
300
|
breadcrumbsPrefix: ['response'],
|
|
283
|
-
}));
|
|
301
|
+
}), _response.rawResponse);
|
|
284
302
|
default:
|
|
285
303
|
throw new errors.TruvityError({
|
|
286
304
|
statusCode: _response.error.statusCode,
|
|
287
305
|
body: _response.error.body,
|
|
306
|
+
rawResponse: _response.rawResponse,
|
|
288
307
|
});
|
|
289
308
|
}
|
|
290
309
|
}
|
|
@@ -293,12 +312,14 @@ class Credentials {
|
|
|
293
312
|
throw new errors.TruvityError({
|
|
294
313
|
statusCode: _response.error.statusCode,
|
|
295
314
|
body: _response.error.rawBody,
|
|
315
|
+
rawResponse: _response.rawResponse,
|
|
296
316
|
});
|
|
297
317
|
case 'timeout':
|
|
298
318
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /credentials/search.');
|
|
299
319
|
case 'unknown':
|
|
300
320
|
throw new errors.TruvityError({
|
|
301
321
|
message: _response.error.errorMessage,
|
|
322
|
+
rawResponse: _response.rawResponse,
|
|
302
323
|
});
|
|
303
324
|
}
|
|
304
325
|
});
|
|
@@ -324,14 +345,17 @@ class Credentials {
|
|
|
324
345
|
* @example
|
|
325
346
|
* await client.credentials.credentialUpload()
|
|
326
347
|
*/
|
|
327
|
-
credentialUpload() {
|
|
348
|
+
credentialUpload(request = {}, requestOptions) {
|
|
349
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialUpload(request, requestOptions));
|
|
350
|
+
}
|
|
351
|
+
__credentialUpload() {
|
|
328
352
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
329
353
|
var _a, _b, _c;
|
|
330
354
|
const { idempotencyKey } = request;
|
|
331
355
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
332
356
|
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, 'credentials/upload'),
|
|
333
357
|
method: 'POST',
|
|
334
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
358
|
+
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),
|
|
335
359
|
contentType: 'application/json',
|
|
336
360
|
requestType: 'json',
|
|
337
361
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -339,12 +363,15 @@ class Credentials {
|
|
|
339
363
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
340
364
|
});
|
|
341
365
|
if (_response.ok) {
|
|
342
|
-
return
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
366
|
+
return {
|
|
367
|
+
data: serializers.UploadResponse.parseOrThrow(_response.body, {
|
|
368
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
369
|
+
allowUnrecognizedUnionMembers: true,
|
|
370
|
+
allowUnrecognizedEnumValues: true,
|
|
371
|
+
breadcrumbsPrefix: ['response'],
|
|
372
|
+
}),
|
|
373
|
+
rawResponse: _response.rawResponse,
|
|
374
|
+
};
|
|
348
375
|
}
|
|
349
376
|
if (_response.error.reason === 'status-code') {
|
|
350
377
|
switch (_response.error.statusCode) {
|
|
@@ -354,39 +381,40 @@ class Credentials {
|
|
|
354
381
|
allowUnrecognizedUnionMembers: true,
|
|
355
382
|
allowUnrecognizedEnumValues: true,
|
|
356
383
|
breadcrumbsPrefix: ['response'],
|
|
357
|
-
}));
|
|
384
|
+
}), _response.rawResponse);
|
|
358
385
|
case 401:
|
|
359
386
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
360
387
|
unrecognizedObjectKeys: 'passthrough',
|
|
361
388
|
allowUnrecognizedUnionMembers: true,
|
|
362
389
|
allowUnrecognizedEnumValues: true,
|
|
363
390
|
breadcrumbsPrefix: ['response'],
|
|
364
|
-
}));
|
|
391
|
+
}), _response.rawResponse);
|
|
365
392
|
case 403:
|
|
366
393
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
367
394
|
unrecognizedObjectKeys: 'passthrough',
|
|
368
395
|
allowUnrecognizedUnionMembers: true,
|
|
369
396
|
allowUnrecognizedEnumValues: true,
|
|
370
397
|
breadcrumbsPrefix: ['response'],
|
|
371
|
-
}));
|
|
398
|
+
}), _response.rawResponse);
|
|
372
399
|
case 429:
|
|
373
400
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
374
401
|
unrecognizedObjectKeys: 'passthrough',
|
|
375
402
|
allowUnrecognizedUnionMembers: true,
|
|
376
403
|
allowUnrecognizedEnumValues: true,
|
|
377
404
|
breadcrumbsPrefix: ['response'],
|
|
378
|
-
}));
|
|
405
|
+
}), _response.rawResponse);
|
|
379
406
|
case 500:
|
|
380
407
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
381
408
|
unrecognizedObjectKeys: 'passthrough',
|
|
382
409
|
allowUnrecognizedUnionMembers: true,
|
|
383
410
|
allowUnrecognizedEnumValues: true,
|
|
384
411
|
breadcrumbsPrefix: ['response'],
|
|
385
|
-
}));
|
|
412
|
+
}), _response.rawResponse);
|
|
386
413
|
default:
|
|
387
414
|
throw new errors.TruvityError({
|
|
388
415
|
statusCode: _response.error.statusCode,
|
|
389
416
|
body: _response.error.body,
|
|
417
|
+
rawResponse: _response.rawResponse,
|
|
390
418
|
});
|
|
391
419
|
}
|
|
392
420
|
}
|
|
@@ -395,12 +423,14 @@ class Credentials {
|
|
|
395
423
|
throw new errors.TruvityError({
|
|
396
424
|
statusCode: _response.error.statusCode,
|
|
397
425
|
body: _response.error.rawBody,
|
|
426
|
+
rawResponse: _response.rawResponse,
|
|
398
427
|
});
|
|
399
428
|
case 'timeout':
|
|
400
429
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /credentials/upload.');
|
|
401
430
|
case 'unknown':
|
|
402
431
|
throw new errors.TruvityError({
|
|
403
432
|
message: _response.error.errorMessage,
|
|
433
|
+
rawResponse: _response.rawResponse,
|
|
404
434
|
});
|
|
405
435
|
}
|
|
406
436
|
});
|
|
@@ -422,14 +452,17 @@ class Credentials {
|
|
|
422
452
|
* @example
|
|
423
453
|
* await client.credentials.credentialLatest("id")
|
|
424
454
|
*/
|
|
425
|
-
credentialLatest(
|
|
455
|
+
credentialLatest(id, request = {}, requestOptions) {
|
|
456
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialLatest(id, request, requestOptions));
|
|
457
|
+
}
|
|
458
|
+
__credentialLatest(id_1) {
|
|
426
459
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
427
460
|
var _a, _b, _c;
|
|
428
461
|
const { ifNoneMatch } = request;
|
|
429
462
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
430
463
|
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, `credentials/${encodeURIComponent(id)}`),
|
|
431
464
|
method: 'GET',
|
|
432
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
465
|
+
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),
|
|
433
466
|
contentType: 'application/json',
|
|
434
467
|
requestType: 'json',
|
|
435
468
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -437,12 +470,15 @@ class Credentials {
|
|
|
437
470
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
438
471
|
});
|
|
439
472
|
if (_response.ok) {
|
|
440
|
-
return
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
473
|
+
return {
|
|
474
|
+
data: serializers.ResourceCredential.parseOrThrow(_response.body, {
|
|
475
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
476
|
+
allowUnrecognizedUnionMembers: true,
|
|
477
|
+
allowUnrecognizedEnumValues: true,
|
|
478
|
+
breadcrumbsPrefix: ['response'],
|
|
479
|
+
}),
|
|
480
|
+
rawResponse: _response.rawResponse,
|
|
481
|
+
};
|
|
446
482
|
}
|
|
447
483
|
if (_response.error.reason === 'status-code') {
|
|
448
484
|
switch (_response.error.statusCode) {
|
|
@@ -452,46 +488,47 @@ class Credentials {
|
|
|
452
488
|
allowUnrecognizedUnionMembers: true,
|
|
453
489
|
allowUnrecognizedEnumValues: true,
|
|
454
490
|
breadcrumbsPrefix: ['response'],
|
|
455
|
-
}));
|
|
491
|
+
}), _response.rawResponse);
|
|
456
492
|
case 401:
|
|
457
493
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
458
494
|
unrecognizedObjectKeys: 'passthrough',
|
|
459
495
|
allowUnrecognizedUnionMembers: true,
|
|
460
496
|
allowUnrecognizedEnumValues: true,
|
|
461
497
|
breadcrumbsPrefix: ['response'],
|
|
462
|
-
}));
|
|
498
|
+
}), _response.rawResponse);
|
|
463
499
|
case 403:
|
|
464
500
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
465
501
|
unrecognizedObjectKeys: 'passthrough',
|
|
466
502
|
allowUnrecognizedUnionMembers: true,
|
|
467
503
|
allowUnrecognizedEnumValues: true,
|
|
468
504
|
breadcrumbsPrefix: ['response'],
|
|
469
|
-
}));
|
|
505
|
+
}), _response.rawResponse);
|
|
470
506
|
case 404:
|
|
471
507
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
472
508
|
unrecognizedObjectKeys: 'passthrough',
|
|
473
509
|
allowUnrecognizedUnionMembers: true,
|
|
474
510
|
allowUnrecognizedEnumValues: true,
|
|
475
511
|
breadcrumbsPrefix: ['response'],
|
|
476
|
-
}));
|
|
512
|
+
}), _response.rawResponse);
|
|
477
513
|
case 429:
|
|
478
514
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
479
515
|
unrecognizedObjectKeys: 'passthrough',
|
|
480
516
|
allowUnrecognizedUnionMembers: true,
|
|
481
517
|
allowUnrecognizedEnumValues: true,
|
|
482
518
|
breadcrumbsPrefix: ['response'],
|
|
483
|
-
}));
|
|
519
|
+
}), _response.rawResponse);
|
|
484
520
|
case 500:
|
|
485
521
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
486
522
|
unrecognizedObjectKeys: 'passthrough',
|
|
487
523
|
allowUnrecognizedUnionMembers: true,
|
|
488
524
|
allowUnrecognizedEnumValues: true,
|
|
489
525
|
breadcrumbsPrefix: ['response'],
|
|
490
|
-
}));
|
|
526
|
+
}), _response.rawResponse);
|
|
491
527
|
default:
|
|
492
528
|
throw new errors.TruvityError({
|
|
493
529
|
statusCode: _response.error.statusCode,
|
|
494
530
|
body: _response.error.body,
|
|
531
|
+
rawResponse: _response.rawResponse,
|
|
495
532
|
});
|
|
496
533
|
}
|
|
497
534
|
}
|
|
@@ -500,12 +537,14 @@ class Credentials {
|
|
|
500
537
|
throw new errors.TruvityError({
|
|
501
538
|
statusCode: _response.error.statusCode,
|
|
502
539
|
body: _response.error.rawBody,
|
|
540
|
+
rawResponse: _response.rawResponse,
|
|
503
541
|
});
|
|
504
542
|
case 'timeout':
|
|
505
543
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /credentials/{id}.');
|
|
506
544
|
case 'unknown':
|
|
507
545
|
throw new errors.TruvityError({
|
|
508
546
|
message: _response.error.errorMessage,
|
|
547
|
+
rawResponse: _response.rawResponse,
|
|
509
548
|
});
|
|
510
549
|
}
|
|
511
550
|
});
|
|
@@ -533,13 +572,16 @@ class Credentials {
|
|
|
533
572
|
* })
|
|
534
573
|
*/
|
|
535
574
|
credentialDelete(id, request, requestOptions) {
|
|
575
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialDelete(id, request, requestOptions));
|
|
576
|
+
}
|
|
577
|
+
__credentialDelete(id, request, requestOptions) {
|
|
536
578
|
return __awaiter(this, void 0, void 0, function* () {
|
|
537
579
|
var _a, _b, _c;
|
|
538
580
|
const { idempotencyKey, ifMatch } = request;
|
|
539
581
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
540
582
|
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, `credentials/${encodeURIComponent(id)}`),
|
|
541
583
|
method: 'DELETE',
|
|
542
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
584
|
+
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),
|
|
543
585
|
contentType: 'application/json',
|
|
544
586
|
requestType: 'json',
|
|
545
587
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -547,7 +589,7 @@ class Credentials {
|
|
|
547
589
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
548
590
|
});
|
|
549
591
|
if (_response.ok) {
|
|
550
|
-
return;
|
|
592
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
551
593
|
}
|
|
552
594
|
if (_response.error.reason === 'status-code') {
|
|
553
595
|
switch (_response.error.statusCode) {
|
|
@@ -557,60 +599,61 @@ class Credentials {
|
|
|
557
599
|
allowUnrecognizedUnionMembers: true,
|
|
558
600
|
allowUnrecognizedEnumValues: true,
|
|
559
601
|
breadcrumbsPrefix: ['response'],
|
|
560
|
-
}));
|
|
602
|
+
}), _response.rawResponse);
|
|
561
603
|
case 401:
|
|
562
604
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
563
605
|
unrecognizedObjectKeys: 'passthrough',
|
|
564
606
|
allowUnrecognizedUnionMembers: true,
|
|
565
607
|
allowUnrecognizedEnumValues: true,
|
|
566
608
|
breadcrumbsPrefix: ['response'],
|
|
567
|
-
}));
|
|
609
|
+
}), _response.rawResponse);
|
|
568
610
|
case 403:
|
|
569
611
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
570
612
|
unrecognizedObjectKeys: 'passthrough',
|
|
571
613
|
allowUnrecognizedUnionMembers: true,
|
|
572
614
|
allowUnrecognizedEnumValues: true,
|
|
573
615
|
breadcrumbsPrefix: ['response'],
|
|
574
|
-
}));
|
|
616
|
+
}), _response.rawResponse);
|
|
575
617
|
case 404:
|
|
576
618
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
577
619
|
unrecognizedObjectKeys: 'passthrough',
|
|
578
620
|
allowUnrecognizedUnionMembers: true,
|
|
579
621
|
allowUnrecognizedEnumValues: true,
|
|
580
622
|
breadcrumbsPrefix: ['response'],
|
|
581
|
-
}));
|
|
623
|
+
}), _response.rawResponse);
|
|
582
624
|
case 405:
|
|
583
625
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
584
626
|
unrecognizedObjectKeys: 'passthrough',
|
|
585
627
|
allowUnrecognizedUnionMembers: true,
|
|
586
628
|
allowUnrecognizedEnumValues: true,
|
|
587
629
|
breadcrumbsPrefix: ['response'],
|
|
588
|
-
}));
|
|
630
|
+
}), _response.rawResponse);
|
|
589
631
|
case 412:
|
|
590
632
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
591
633
|
unrecognizedObjectKeys: 'passthrough',
|
|
592
634
|
allowUnrecognizedUnionMembers: true,
|
|
593
635
|
allowUnrecognizedEnumValues: true,
|
|
594
636
|
breadcrumbsPrefix: ['response'],
|
|
595
|
-
}));
|
|
637
|
+
}), _response.rawResponse);
|
|
596
638
|
case 429:
|
|
597
639
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
598
640
|
unrecognizedObjectKeys: 'passthrough',
|
|
599
641
|
allowUnrecognizedUnionMembers: true,
|
|
600
642
|
allowUnrecognizedEnumValues: true,
|
|
601
643
|
breadcrumbsPrefix: ['response'],
|
|
602
|
-
}));
|
|
644
|
+
}), _response.rawResponse);
|
|
603
645
|
case 500:
|
|
604
646
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
605
647
|
unrecognizedObjectKeys: 'passthrough',
|
|
606
648
|
allowUnrecognizedUnionMembers: true,
|
|
607
649
|
allowUnrecognizedEnumValues: true,
|
|
608
650
|
breadcrumbsPrefix: ['response'],
|
|
609
|
-
}));
|
|
651
|
+
}), _response.rawResponse);
|
|
610
652
|
default:
|
|
611
653
|
throw new errors.TruvityError({
|
|
612
654
|
statusCode: _response.error.statusCode,
|
|
613
655
|
body: _response.error.body,
|
|
656
|
+
rawResponse: _response.rawResponse,
|
|
614
657
|
});
|
|
615
658
|
}
|
|
616
659
|
}
|
|
@@ -619,12 +662,14 @@ class Credentials {
|
|
|
619
662
|
throw new errors.TruvityError({
|
|
620
663
|
statusCode: _response.error.statusCode,
|
|
621
664
|
body: _response.error.rawBody,
|
|
665
|
+
rawResponse: _response.rawResponse,
|
|
622
666
|
});
|
|
623
667
|
case 'timeout':
|
|
624
668
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling DELETE /credentials/{id}.');
|
|
625
669
|
case 'unknown':
|
|
626
670
|
throw new errors.TruvityError({
|
|
627
671
|
message: _response.error.errorMessage,
|
|
672
|
+
rawResponse: _response.rawResponse,
|
|
628
673
|
});
|
|
629
674
|
}
|
|
630
675
|
});
|
|
@@ -656,13 +701,16 @@ class Credentials {
|
|
|
656
701
|
* })
|
|
657
702
|
*/
|
|
658
703
|
credentialUpdateAnnotations(id, request, requestOptions) {
|
|
704
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialUpdateAnnotations(id, request, requestOptions));
|
|
705
|
+
}
|
|
706
|
+
__credentialUpdateAnnotations(id, request, requestOptions) {
|
|
659
707
|
return __awaiter(this, void 0, void 0, function* () {
|
|
660
708
|
var _a, _b, _c;
|
|
661
709
|
const { idempotencyKey, ifMatch } = request, _body = __rest(request, ["idempotencyKey", "ifMatch"]);
|
|
662
710
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
663
711
|
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, `credentials/${encodeURIComponent(id)}/annotations`),
|
|
664
712
|
method: 'PATCH',
|
|
665
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
713
|
+
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),
|
|
666
714
|
contentType: 'application/json',
|
|
667
715
|
requestType: 'json',
|
|
668
716
|
body: serializers.CredentialUpdateAnnotationsInput.jsonOrThrow(_body, {
|
|
@@ -674,12 +722,15 @@ class Credentials {
|
|
|
674
722
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
675
723
|
});
|
|
676
724
|
if (_response.ok) {
|
|
677
|
-
return
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
725
|
+
return {
|
|
726
|
+
data: serializers.ResourceCredential.parseOrThrow(_response.body, {
|
|
727
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
728
|
+
allowUnrecognizedUnionMembers: true,
|
|
729
|
+
allowUnrecognizedEnumValues: true,
|
|
730
|
+
breadcrumbsPrefix: ['response'],
|
|
731
|
+
}),
|
|
732
|
+
rawResponse: _response.rawResponse,
|
|
733
|
+
};
|
|
683
734
|
}
|
|
684
735
|
if (_response.error.reason === 'status-code') {
|
|
685
736
|
switch (_response.error.statusCode) {
|
|
@@ -689,67 +740,68 @@ class Credentials {
|
|
|
689
740
|
allowUnrecognizedUnionMembers: true,
|
|
690
741
|
allowUnrecognizedEnumValues: true,
|
|
691
742
|
breadcrumbsPrefix: ['response'],
|
|
692
|
-
}));
|
|
743
|
+
}), _response.rawResponse);
|
|
693
744
|
case 401:
|
|
694
745
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
695
746
|
unrecognizedObjectKeys: 'passthrough',
|
|
696
747
|
allowUnrecognizedUnionMembers: true,
|
|
697
748
|
allowUnrecognizedEnumValues: true,
|
|
698
749
|
breadcrumbsPrefix: ['response'],
|
|
699
|
-
}));
|
|
750
|
+
}), _response.rawResponse);
|
|
700
751
|
case 403:
|
|
701
752
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
702
753
|
unrecognizedObjectKeys: 'passthrough',
|
|
703
754
|
allowUnrecognizedUnionMembers: true,
|
|
704
755
|
allowUnrecognizedEnumValues: true,
|
|
705
756
|
breadcrumbsPrefix: ['response'],
|
|
706
|
-
}));
|
|
757
|
+
}), _response.rawResponse);
|
|
707
758
|
case 404:
|
|
708
759
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
709
760
|
unrecognizedObjectKeys: 'passthrough',
|
|
710
761
|
allowUnrecognizedUnionMembers: true,
|
|
711
762
|
allowUnrecognizedEnumValues: true,
|
|
712
763
|
breadcrumbsPrefix: ['response'],
|
|
713
|
-
}));
|
|
764
|
+
}), _response.rawResponse);
|
|
714
765
|
case 405:
|
|
715
766
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
716
767
|
unrecognizedObjectKeys: 'passthrough',
|
|
717
768
|
allowUnrecognizedUnionMembers: true,
|
|
718
769
|
allowUnrecognizedEnumValues: true,
|
|
719
770
|
breadcrumbsPrefix: ['response'],
|
|
720
|
-
}));
|
|
771
|
+
}), _response.rawResponse);
|
|
721
772
|
case 412:
|
|
722
773
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
723
774
|
unrecognizedObjectKeys: 'passthrough',
|
|
724
775
|
allowUnrecognizedUnionMembers: true,
|
|
725
776
|
allowUnrecognizedEnumValues: true,
|
|
726
777
|
breadcrumbsPrefix: ['response'],
|
|
727
|
-
}));
|
|
778
|
+
}), _response.rawResponse);
|
|
728
779
|
case 415:
|
|
729
780
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
730
781
|
unrecognizedObjectKeys: 'passthrough',
|
|
731
782
|
allowUnrecognizedUnionMembers: true,
|
|
732
783
|
allowUnrecognizedEnumValues: true,
|
|
733
784
|
breadcrumbsPrefix: ['response'],
|
|
734
|
-
}));
|
|
785
|
+
}), _response.rawResponse);
|
|
735
786
|
case 429:
|
|
736
787
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
737
788
|
unrecognizedObjectKeys: 'passthrough',
|
|
738
789
|
allowUnrecognizedUnionMembers: true,
|
|
739
790
|
allowUnrecognizedEnumValues: true,
|
|
740
791
|
breadcrumbsPrefix: ['response'],
|
|
741
|
-
}));
|
|
792
|
+
}), _response.rawResponse);
|
|
742
793
|
case 500:
|
|
743
794
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
744
795
|
unrecognizedObjectKeys: 'passthrough',
|
|
745
796
|
allowUnrecognizedUnionMembers: true,
|
|
746
797
|
allowUnrecognizedEnumValues: true,
|
|
747
798
|
breadcrumbsPrefix: ['response'],
|
|
748
|
-
}));
|
|
799
|
+
}), _response.rawResponse);
|
|
749
800
|
default:
|
|
750
801
|
throw new errors.TruvityError({
|
|
751
802
|
statusCode: _response.error.statusCode,
|
|
752
803
|
body: _response.error.body,
|
|
804
|
+
rawResponse: _response.rawResponse,
|
|
753
805
|
});
|
|
754
806
|
}
|
|
755
807
|
}
|
|
@@ -758,12 +810,14 @@ class Credentials {
|
|
|
758
810
|
throw new errors.TruvityError({
|
|
759
811
|
statusCode: _response.error.statusCode,
|
|
760
812
|
body: _response.error.rawBody,
|
|
813
|
+
rawResponse: _response.rawResponse,
|
|
761
814
|
});
|
|
762
815
|
case 'timeout':
|
|
763
816
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /credentials/{id}/annotations.');
|
|
764
817
|
case 'unknown':
|
|
765
818
|
throw new errors.TruvityError({
|
|
766
819
|
message: _response.error.errorMessage,
|
|
820
|
+
rawResponse: _response.rawResponse,
|
|
767
821
|
});
|
|
768
822
|
}
|
|
769
823
|
});
|
|
@@ -795,13 +849,16 @@ class Credentials {
|
|
|
795
849
|
* })
|
|
796
850
|
*/
|
|
797
851
|
credentialUpdateLabels(id, request, requestOptions) {
|
|
852
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialUpdateLabels(id, request, requestOptions));
|
|
853
|
+
}
|
|
854
|
+
__credentialUpdateLabels(id, request, requestOptions) {
|
|
798
855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
799
856
|
var _a, _b, _c;
|
|
800
857
|
const { idempotencyKey, ifMatch } = request, _body = __rest(request, ["idempotencyKey", "ifMatch"]);
|
|
801
858
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
802
859
|
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, `credentials/${encodeURIComponent(id)}/labels`),
|
|
803
860
|
method: 'PATCH',
|
|
804
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
861
|
+
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),
|
|
805
862
|
contentType: 'application/json',
|
|
806
863
|
requestType: 'json',
|
|
807
864
|
body: serializers.CredentialUpdateLabelsInput.jsonOrThrow(_body, {
|
|
@@ -813,12 +870,15 @@ class Credentials {
|
|
|
813
870
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
814
871
|
});
|
|
815
872
|
if (_response.ok) {
|
|
816
|
-
return
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
873
|
+
return {
|
|
874
|
+
data: serializers.ResourceCredential.parseOrThrow(_response.body, {
|
|
875
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
876
|
+
allowUnrecognizedUnionMembers: true,
|
|
877
|
+
allowUnrecognizedEnumValues: true,
|
|
878
|
+
breadcrumbsPrefix: ['response'],
|
|
879
|
+
}),
|
|
880
|
+
rawResponse: _response.rawResponse,
|
|
881
|
+
};
|
|
822
882
|
}
|
|
823
883
|
if (_response.error.reason === 'status-code') {
|
|
824
884
|
switch (_response.error.statusCode) {
|
|
@@ -828,67 +888,68 @@ class Credentials {
|
|
|
828
888
|
allowUnrecognizedUnionMembers: true,
|
|
829
889
|
allowUnrecognizedEnumValues: true,
|
|
830
890
|
breadcrumbsPrefix: ['response'],
|
|
831
|
-
}));
|
|
891
|
+
}), _response.rawResponse);
|
|
832
892
|
case 401:
|
|
833
893
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
834
894
|
unrecognizedObjectKeys: 'passthrough',
|
|
835
895
|
allowUnrecognizedUnionMembers: true,
|
|
836
896
|
allowUnrecognizedEnumValues: true,
|
|
837
897
|
breadcrumbsPrefix: ['response'],
|
|
838
|
-
}));
|
|
898
|
+
}), _response.rawResponse);
|
|
839
899
|
case 403:
|
|
840
900
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
841
901
|
unrecognizedObjectKeys: 'passthrough',
|
|
842
902
|
allowUnrecognizedUnionMembers: true,
|
|
843
903
|
allowUnrecognizedEnumValues: true,
|
|
844
904
|
breadcrumbsPrefix: ['response'],
|
|
845
|
-
}));
|
|
905
|
+
}), _response.rawResponse);
|
|
846
906
|
case 404:
|
|
847
907
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
848
908
|
unrecognizedObjectKeys: 'passthrough',
|
|
849
909
|
allowUnrecognizedUnionMembers: true,
|
|
850
910
|
allowUnrecognizedEnumValues: true,
|
|
851
911
|
breadcrumbsPrefix: ['response'],
|
|
852
|
-
}));
|
|
912
|
+
}), _response.rawResponse);
|
|
853
913
|
case 405:
|
|
854
914
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
855
915
|
unrecognizedObjectKeys: 'passthrough',
|
|
856
916
|
allowUnrecognizedUnionMembers: true,
|
|
857
917
|
allowUnrecognizedEnumValues: true,
|
|
858
918
|
breadcrumbsPrefix: ['response'],
|
|
859
|
-
}));
|
|
919
|
+
}), _response.rawResponse);
|
|
860
920
|
case 412:
|
|
861
921
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
862
922
|
unrecognizedObjectKeys: 'passthrough',
|
|
863
923
|
allowUnrecognizedUnionMembers: true,
|
|
864
924
|
allowUnrecognizedEnumValues: true,
|
|
865
925
|
breadcrumbsPrefix: ['response'],
|
|
866
|
-
}));
|
|
926
|
+
}), _response.rawResponse);
|
|
867
927
|
case 415:
|
|
868
928
|
throw new Truvity.UnsupportedMediaTypeError(serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {
|
|
869
929
|
unrecognizedObjectKeys: 'passthrough',
|
|
870
930
|
allowUnrecognizedUnionMembers: true,
|
|
871
931
|
allowUnrecognizedEnumValues: true,
|
|
872
932
|
breadcrumbsPrefix: ['response'],
|
|
873
|
-
}));
|
|
933
|
+
}), _response.rawResponse);
|
|
874
934
|
case 429:
|
|
875
935
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
876
936
|
unrecognizedObjectKeys: 'passthrough',
|
|
877
937
|
allowUnrecognizedUnionMembers: true,
|
|
878
938
|
allowUnrecognizedEnumValues: true,
|
|
879
939
|
breadcrumbsPrefix: ['response'],
|
|
880
|
-
}));
|
|
940
|
+
}), _response.rawResponse);
|
|
881
941
|
case 500:
|
|
882
942
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
883
943
|
unrecognizedObjectKeys: 'passthrough',
|
|
884
944
|
allowUnrecognizedUnionMembers: true,
|
|
885
945
|
allowUnrecognizedEnumValues: true,
|
|
886
946
|
breadcrumbsPrefix: ['response'],
|
|
887
|
-
}));
|
|
947
|
+
}), _response.rawResponse);
|
|
888
948
|
default:
|
|
889
949
|
throw new errors.TruvityError({
|
|
890
950
|
statusCode: _response.error.statusCode,
|
|
891
951
|
body: _response.error.body,
|
|
952
|
+
rawResponse: _response.rawResponse,
|
|
892
953
|
});
|
|
893
954
|
}
|
|
894
955
|
}
|
|
@@ -897,12 +958,14 @@ class Credentials {
|
|
|
897
958
|
throw new errors.TruvityError({
|
|
898
959
|
statusCode: _response.error.statusCode,
|
|
899
960
|
body: _response.error.rawBody,
|
|
961
|
+
rawResponse: _response.rawResponse,
|
|
900
962
|
});
|
|
901
963
|
case 'timeout':
|
|
902
964
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /credentials/{id}/labels.');
|
|
903
965
|
case 'unknown':
|
|
904
966
|
throw new errors.TruvityError({
|
|
905
967
|
message: _response.error.errorMessage,
|
|
968
|
+
rawResponse: _response.rawResponse,
|
|
906
969
|
});
|
|
907
970
|
}
|
|
908
971
|
});
|
|
@@ -930,13 +993,16 @@ class Credentials {
|
|
|
930
993
|
* })
|
|
931
994
|
*/
|
|
932
995
|
credentialRestore(id, request, requestOptions) {
|
|
996
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialRestore(id, request, requestOptions));
|
|
997
|
+
}
|
|
998
|
+
__credentialRestore(id, request, requestOptions) {
|
|
933
999
|
return __awaiter(this, void 0, void 0, function* () {
|
|
934
1000
|
var _a, _b, _c;
|
|
935
1001
|
const { idempotencyKey, ifMatch } = request;
|
|
936
1002
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
937
1003
|
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, `credentials/${encodeURIComponent(id)}/restore`),
|
|
938
1004
|
method: 'POST',
|
|
939
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1005
|
+
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),
|
|
940
1006
|
contentType: 'application/json',
|
|
941
1007
|
requestType: 'json',
|
|
942
1008
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -944,12 +1010,15 @@ class Credentials {
|
|
|
944
1010
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
945
1011
|
});
|
|
946
1012
|
if (_response.ok) {
|
|
947
|
-
return
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
1013
|
+
return {
|
|
1014
|
+
data: serializers.ResourceCredential.parseOrThrow(_response.body, {
|
|
1015
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1016
|
+
allowUnrecognizedUnionMembers: true,
|
|
1017
|
+
allowUnrecognizedEnumValues: true,
|
|
1018
|
+
breadcrumbsPrefix: ['response'],
|
|
1019
|
+
}),
|
|
1020
|
+
rawResponse: _response.rawResponse,
|
|
1021
|
+
};
|
|
953
1022
|
}
|
|
954
1023
|
if (_response.error.reason === 'status-code') {
|
|
955
1024
|
switch (_response.error.statusCode) {
|
|
@@ -959,60 +1028,61 @@ class Credentials {
|
|
|
959
1028
|
allowUnrecognizedUnionMembers: true,
|
|
960
1029
|
allowUnrecognizedEnumValues: true,
|
|
961
1030
|
breadcrumbsPrefix: ['response'],
|
|
962
|
-
}));
|
|
1031
|
+
}), _response.rawResponse);
|
|
963
1032
|
case 401:
|
|
964
1033
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
965
1034
|
unrecognizedObjectKeys: 'passthrough',
|
|
966
1035
|
allowUnrecognizedUnionMembers: true,
|
|
967
1036
|
allowUnrecognizedEnumValues: true,
|
|
968
1037
|
breadcrumbsPrefix: ['response'],
|
|
969
|
-
}));
|
|
1038
|
+
}), _response.rawResponse);
|
|
970
1039
|
case 403:
|
|
971
1040
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
972
1041
|
unrecognizedObjectKeys: 'passthrough',
|
|
973
1042
|
allowUnrecognizedUnionMembers: true,
|
|
974
1043
|
allowUnrecognizedEnumValues: true,
|
|
975
1044
|
breadcrumbsPrefix: ['response'],
|
|
976
|
-
}));
|
|
1045
|
+
}), _response.rawResponse);
|
|
977
1046
|
case 404:
|
|
978
1047
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
979
1048
|
unrecognizedObjectKeys: 'passthrough',
|
|
980
1049
|
allowUnrecognizedUnionMembers: true,
|
|
981
1050
|
allowUnrecognizedEnumValues: true,
|
|
982
1051
|
breadcrumbsPrefix: ['response'],
|
|
983
|
-
}));
|
|
1052
|
+
}), _response.rawResponse);
|
|
984
1053
|
case 405:
|
|
985
1054
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
986
1055
|
unrecognizedObjectKeys: 'passthrough',
|
|
987
1056
|
allowUnrecognizedUnionMembers: true,
|
|
988
1057
|
allowUnrecognizedEnumValues: true,
|
|
989
1058
|
breadcrumbsPrefix: ['response'],
|
|
990
|
-
}));
|
|
1059
|
+
}), _response.rawResponse);
|
|
991
1060
|
case 412:
|
|
992
1061
|
throw new Truvity.PreconditionFailedError(serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {
|
|
993
1062
|
unrecognizedObjectKeys: 'passthrough',
|
|
994
1063
|
allowUnrecognizedUnionMembers: true,
|
|
995
1064
|
allowUnrecognizedEnumValues: true,
|
|
996
1065
|
breadcrumbsPrefix: ['response'],
|
|
997
|
-
}));
|
|
1066
|
+
}), _response.rawResponse);
|
|
998
1067
|
case 429:
|
|
999
1068
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1000
1069
|
unrecognizedObjectKeys: 'passthrough',
|
|
1001
1070
|
allowUnrecognizedUnionMembers: true,
|
|
1002
1071
|
allowUnrecognizedEnumValues: true,
|
|
1003
1072
|
breadcrumbsPrefix: ['response'],
|
|
1004
|
-
}));
|
|
1073
|
+
}), _response.rawResponse);
|
|
1005
1074
|
case 500:
|
|
1006
1075
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1007
1076
|
unrecognizedObjectKeys: 'passthrough',
|
|
1008
1077
|
allowUnrecognizedUnionMembers: true,
|
|
1009
1078
|
allowUnrecognizedEnumValues: true,
|
|
1010
1079
|
breadcrumbsPrefix: ['response'],
|
|
1011
|
-
}));
|
|
1080
|
+
}), _response.rawResponse);
|
|
1012
1081
|
default:
|
|
1013
1082
|
throw new errors.TruvityError({
|
|
1014
1083
|
statusCode: _response.error.statusCode,
|
|
1015
1084
|
body: _response.error.body,
|
|
1085
|
+
rawResponse: _response.rawResponse,
|
|
1016
1086
|
});
|
|
1017
1087
|
}
|
|
1018
1088
|
}
|
|
@@ -1021,12 +1091,14 @@ class Credentials {
|
|
|
1021
1091
|
throw new errors.TruvityError({
|
|
1022
1092
|
statusCode: _response.error.statusCode,
|
|
1023
1093
|
body: _response.error.rawBody,
|
|
1094
|
+
rawResponse: _response.rawResponse,
|
|
1024
1095
|
});
|
|
1025
1096
|
case 'timeout':
|
|
1026
1097
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /credentials/{id}/restore.');
|
|
1027
1098
|
case 'unknown':
|
|
1028
1099
|
throw new errors.TruvityError({
|
|
1029
1100
|
message: _response.error.errorMessage,
|
|
1101
|
+
rawResponse: _response.rawResponse,
|
|
1030
1102
|
});
|
|
1031
1103
|
}
|
|
1032
1104
|
});
|
|
@@ -1048,14 +1120,17 @@ class Credentials {
|
|
|
1048
1120
|
* @example
|
|
1049
1121
|
* await client.credentials.credentialHistory("id")
|
|
1050
1122
|
*/
|
|
1051
|
-
credentialHistory(
|
|
1123
|
+
credentialHistory(id, request = {}, requestOptions) {
|
|
1124
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialHistory(id, request, requestOptions));
|
|
1125
|
+
}
|
|
1126
|
+
__credentialHistory(id_1) {
|
|
1052
1127
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
1053
1128
|
var _a, _b, _c;
|
|
1054
1129
|
const { ifNoneMatch } = request;
|
|
1055
1130
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1056
1131
|
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, `credentials/${encodeURIComponent(id)}/revisions`),
|
|
1057
1132
|
method: 'GET',
|
|
1058
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1133
|
+
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),
|
|
1059
1134
|
contentType: 'application/json',
|
|
1060
1135
|
requestType: 'json',
|
|
1061
1136
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1063,12 +1138,15 @@ class Credentials {
|
|
|
1063
1138
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1064
1139
|
});
|
|
1065
1140
|
if (_response.ok) {
|
|
1066
|
-
return
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1141
|
+
return {
|
|
1142
|
+
data: serializers.ListCredential.parseOrThrow(_response.body, {
|
|
1143
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1144
|
+
allowUnrecognizedUnionMembers: true,
|
|
1145
|
+
allowUnrecognizedEnumValues: true,
|
|
1146
|
+
breadcrumbsPrefix: ['response'],
|
|
1147
|
+
}),
|
|
1148
|
+
rawResponse: _response.rawResponse,
|
|
1149
|
+
};
|
|
1072
1150
|
}
|
|
1073
1151
|
if (_response.error.reason === 'status-code') {
|
|
1074
1152
|
switch (_response.error.statusCode) {
|
|
@@ -1078,46 +1156,47 @@ class Credentials {
|
|
|
1078
1156
|
allowUnrecognizedUnionMembers: true,
|
|
1079
1157
|
allowUnrecognizedEnumValues: true,
|
|
1080
1158
|
breadcrumbsPrefix: ['response'],
|
|
1081
|
-
}));
|
|
1159
|
+
}), _response.rawResponse);
|
|
1082
1160
|
case 401:
|
|
1083
1161
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1084
1162
|
unrecognizedObjectKeys: 'passthrough',
|
|
1085
1163
|
allowUnrecognizedUnionMembers: true,
|
|
1086
1164
|
allowUnrecognizedEnumValues: true,
|
|
1087
1165
|
breadcrumbsPrefix: ['response'],
|
|
1088
|
-
}));
|
|
1166
|
+
}), _response.rawResponse);
|
|
1089
1167
|
case 403:
|
|
1090
1168
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1091
1169
|
unrecognizedObjectKeys: 'passthrough',
|
|
1092
1170
|
allowUnrecognizedUnionMembers: true,
|
|
1093
1171
|
allowUnrecognizedEnumValues: true,
|
|
1094
1172
|
breadcrumbsPrefix: ['response'],
|
|
1095
|
-
}));
|
|
1173
|
+
}), _response.rawResponse);
|
|
1096
1174
|
case 404:
|
|
1097
1175
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1098
1176
|
unrecognizedObjectKeys: 'passthrough',
|
|
1099
1177
|
allowUnrecognizedUnionMembers: true,
|
|
1100
1178
|
allowUnrecognizedEnumValues: true,
|
|
1101
1179
|
breadcrumbsPrefix: ['response'],
|
|
1102
|
-
}));
|
|
1180
|
+
}), _response.rawResponse);
|
|
1103
1181
|
case 429:
|
|
1104
1182
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1105
1183
|
unrecognizedObjectKeys: 'passthrough',
|
|
1106
1184
|
allowUnrecognizedUnionMembers: true,
|
|
1107
1185
|
allowUnrecognizedEnumValues: true,
|
|
1108
1186
|
breadcrumbsPrefix: ['response'],
|
|
1109
|
-
}));
|
|
1187
|
+
}), _response.rawResponse);
|
|
1110
1188
|
case 500:
|
|
1111
1189
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1112
1190
|
unrecognizedObjectKeys: 'passthrough',
|
|
1113
1191
|
allowUnrecognizedUnionMembers: true,
|
|
1114
1192
|
allowUnrecognizedEnumValues: true,
|
|
1115
1193
|
breadcrumbsPrefix: ['response'],
|
|
1116
|
-
}));
|
|
1194
|
+
}), _response.rawResponse);
|
|
1117
1195
|
default:
|
|
1118
1196
|
throw new errors.TruvityError({
|
|
1119
1197
|
statusCode: _response.error.statusCode,
|
|
1120
1198
|
body: _response.error.body,
|
|
1199
|
+
rawResponse: _response.rawResponse,
|
|
1121
1200
|
});
|
|
1122
1201
|
}
|
|
1123
1202
|
}
|
|
@@ -1126,12 +1205,14 @@ class Credentials {
|
|
|
1126
1205
|
throw new errors.TruvityError({
|
|
1127
1206
|
statusCode: _response.error.statusCode,
|
|
1128
1207
|
body: _response.error.rawBody,
|
|
1208
|
+
rawResponse: _response.rawResponse,
|
|
1129
1209
|
});
|
|
1130
1210
|
case 'timeout':
|
|
1131
1211
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /credentials/{id}/revisions.');
|
|
1132
1212
|
case 'unknown':
|
|
1133
1213
|
throw new errors.TruvityError({
|
|
1134
1214
|
message: _response.error.errorMessage,
|
|
1215
|
+
rawResponse: _response.rawResponse,
|
|
1135
1216
|
});
|
|
1136
1217
|
}
|
|
1137
1218
|
});
|
|
@@ -1154,14 +1235,17 @@ class Credentials {
|
|
|
1154
1235
|
* @example
|
|
1155
1236
|
* await client.credentials.credentialRevision("id", 1)
|
|
1156
1237
|
*/
|
|
1157
|
-
credentialRevision(
|
|
1238
|
+
credentialRevision(id, revision, request = {}, requestOptions) {
|
|
1239
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialRevision(id, revision, request, requestOptions));
|
|
1240
|
+
}
|
|
1241
|
+
__credentialRevision(id_1, revision_1) {
|
|
1158
1242
|
return __awaiter(this, arguments, void 0, function* (id, revision, request = {}, requestOptions) {
|
|
1159
1243
|
var _a, _b, _c;
|
|
1160
1244
|
const { ifNoneMatch } = request;
|
|
1161
1245
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1162
1246
|
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, `credentials/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
|
|
1163
1247
|
method: 'GET',
|
|
1164
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1248
|
+
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),
|
|
1165
1249
|
contentType: 'application/json',
|
|
1166
1250
|
requestType: 'json',
|
|
1167
1251
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1169,12 +1253,15 @@ class Credentials {
|
|
|
1169
1253
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1170
1254
|
});
|
|
1171
1255
|
if (_response.ok) {
|
|
1172
|
-
return
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1256
|
+
return {
|
|
1257
|
+
data: serializers.ResourceCredential.parseOrThrow(_response.body, {
|
|
1258
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1259
|
+
allowUnrecognizedUnionMembers: true,
|
|
1260
|
+
allowUnrecognizedEnumValues: true,
|
|
1261
|
+
breadcrumbsPrefix: ['response'],
|
|
1262
|
+
}),
|
|
1263
|
+
rawResponse: _response.rawResponse,
|
|
1264
|
+
};
|
|
1178
1265
|
}
|
|
1179
1266
|
if (_response.error.reason === 'status-code') {
|
|
1180
1267
|
switch (_response.error.statusCode) {
|
|
@@ -1184,46 +1271,47 @@ class Credentials {
|
|
|
1184
1271
|
allowUnrecognizedUnionMembers: true,
|
|
1185
1272
|
allowUnrecognizedEnumValues: true,
|
|
1186
1273
|
breadcrumbsPrefix: ['response'],
|
|
1187
|
-
}));
|
|
1274
|
+
}), _response.rawResponse);
|
|
1188
1275
|
case 401:
|
|
1189
1276
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1190
1277
|
unrecognizedObjectKeys: 'passthrough',
|
|
1191
1278
|
allowUnrecognizedUnionMembers: true,
|
|
1192
1279
|
allowUnrecognizedEnumValues: true,
|
|
1193
1280
|
breadcrumbsPrefix: ['response'],
|
|
1194
|
-
}));
|
|
1281
|
+
}), _response.rawResponse);
|
|
1195
1282
|
case 403:
|
|
1196
1283
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1197
1284
|
unrecognizedObjectKeys: 'passthrough',
|
|
1198
1285
|
allowUnrecognizedUnionMembers: true,
|
|
1199
1286
|
allowUnrecognizedEnumValues: true,
|
|
1200
1287
|
breadcrumbsPrefix: ['response'],
|
|
1201
|
-
}));
|
|
1288
|
+
}), _response.rawResponse);
|
|
1202
1289
|
case 404:
|
|
1203
1290
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1204
1291
|
unrecognizedObjectKeys: 'passthrough',
|
|
1205
1292
|
allowUnrecognizedUnionMembers: true,
|
|
1206
1293
|
allowUnrecognizedEnumValues: true,
|
|
1207
1294
|
breadcrumbsPrefix: ['response'],
|
|
1208
|
-
}));
|
|
1295
|
+
}), _response.rawResponse);
|
|
1209
1296
|
case 429:
|
|
1210
1297
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1211
1298
|
unrecognizedObjectKeys: 'passthrough',
|
|
1212
1299
|
allowUnrecognizedUnionMembers: true,
|
|
1213
1300
|
allowUnrecognizedEnumValues: true,
|
|
1214
1301
|
breadcrumbsPrefix: ['response'],
|
|
1215
|
-
}));
|
|
1302
|
+
}), _response.rawResponse);
|
|
1216
1303
|
case 500:
|
|
1217
1304
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1218
1305
|
unrecognizedObjectKeys: 'passthrough',
|
|
1219
1306
|
allowUnrecognizedUnionMembers: true,
|
|
1220
1307
|
allowUnrecognizedEnumValues: true,
|
|
1221
1308
|
breadcrumbsPrefix: ['response'],
|
|
1222
|
-
}));
|
|
1309
|
+
}), _response.rawResponse);
|
|
1223
1310
|
default:
|
|
1224
1311
|
throw new errors.TruvityError({
|
|
1225
1312
|
statusCode: _response.error.statusCode,
|
|
1226
1313
|
body: _response.error.body,
|
|
1314
|
+
rawResponse: _response.rawResponse,
|
|
1227
1315
|
});
|
|
1228
1316
|
}
|
|
1229
1317
|
}
|
|
@@ -1232,12 +1320,14 @@ class Credentials {
|
|
|
1232
1320
|
throw new errors.TruvityError({
|
|
1233
1321
|
statusCode: _response.error.statusCode,
|
|
1234
1322
|
body: _response.error.rawBody,
|
|
1323
|
+
rawResponse: _response.rawResponse,
|
|
1235
1324
|
});
|
|
1236
1325
|
case 'timeout':
|
|
1237
1326
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /credentials/{id}/revisions/{revision}.');
|
|
1238
1327
|
case 'unknown':
|
|
1239
1328
|
throw new errors.TruvityError({
|
|
1240
1329
|
message: _response.error.errorMessage,
|
|
1330
|
+
rawResponse: _response.rawResponse,
|
|
1241
1331
|
});
|
|
1242
1332
|
}
|
|
1243
1333
|
});
|
|
@@ -1251,14 +1341,17 @@ class Credentials {
|
|
|
1251
1341
|
* @throws {@link Truvity.TooManyRequestsError}
|
|
1252
1342
|
* @throws {@link Truvity.InternalServerError}
|
|
1253
1343
|
*/
|
|
1254
|
-
credentialDownload(
|
|
1344
|
+
credentialDownload(id, revision, request = {}, requestOptions) {
|
|
1345
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialDownload(id, revision, request, requestOptions));
|
|
1346
|
+
}
|
|
1347
|
+
__credentialDownload(id_1, revision_1) {
|
|
1255
1348
|
return __awaiter(this, arguments, void 0, function* (id, revision, request = {}, requestOptions) {
|
|
1256
1349
|
var _a, _b, _c;
|
|
1257
1350
|
const { ifNoneMatch } = request;
|
|
1258
1351
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1259
1352
|
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, `credentials/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
|
|
1260
1353
|
method: 'GET',
|
|
1261
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1354
|
+
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),
|
|
1262
1355
|
contentType: 'application/json',
|
|
1263
1356
|
requestType: 'json',
|
|
1264
1357
|
responseType: 'streaming',
|
|
@@ -1267,7 +1360,7 @@ class Credentials {
|
|
|
1267
1360
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1268
1361
|
});
|
|
1269
1362
|
if (_response.ok) {
|
|
1270
|
-
return _response.body;
|
|
1363
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1271
1364
|
}
|
|
1272
1365
|
if (_response.error.reason === 'status-code') {
|
|
1273
1366
|
switch (_response.error.statusCode) {
|
|
@@ -1277,46 +1370,47 @@ class Credentials {
|
|
|
1277
1370
|
allowUnrecognizedUnionMembers: true,
|
|
1278
1371
|
allowUnrecognizedEnumValues: true,
|
|
1279
1372
|
breadcrumbsPrefix: ['response'],
|
|
1280
|
-
}));
|
|
1373
|
+
}), _response.rawResponse);
|
|
1281
1374
|
case 401:
|
|
1282
1375
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1283
1376
|
unrecognizedObjectKeys: 'passthrough',
|
|
1284
1377
|
allowUnrecognizedUnionMembers: true,
|
|
1285
1378
|
allowUnrecognizedEnumValues: true,
|
|
1286
1379
|
breadcrumbsPrefix: ['response'],
|
|
1287
|
-
}));
|
|
1380
|
+
}), _response.rawResponse);
|
|
1288
1381
|
case 403:
|
|
1289
1382
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1290
1383
|
unrecognizedObjectKeys: 'passthrough',
|
|
1291
1384
|
allowUnrecognizedUnionMembers: true,
|
|
1292
1385
|
allowUnrecognizedEnumValues: true,
|
|
1293
1386
|
breadcrumbsPrefix: ['response'],
|
|
1294
|
-
}));
|
|
1387
|
+
}), _response.rawResponse);
|
|
1295
1388
|
case 404:
|
|
1296
1389
|
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1297
1390
|
unrecognizedObjectKeys: 'passthrough',
|
|
1298
1391
|
allowUnrecognizedUnionMembers: true,
|
|
1299
1392
|
allowUnrecognizedEnumValues: true,
|
|
1300
1393
|
breadcrumbsPrefix: ['response'],
|
|
1301
|
-
}));
|
|
1394
|
+
}), _response.rawResponse);
|
|
1302
1395
|
case 429:
|
|
1303
1396
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1304
1397
|
unrecognizedObjectKeys: 'passthrough',
|
|
1305
1398
|
allowUnrecognizedUnionMembers: true,
|
|
1306
1399
|
allowUnrecognizedEnumValues: true,
|
|
1307
1400
|
breadcrumbsPrefix: ['response'],
|
|
1308
|
-
}));
|
|
1401
|
+
}), _response.rawResponse);
|
|
1309
1402
|
case 500:
|
|
1310
1403
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1311
1404
|
unrecognizedObjectKeys: 'passthrough',
|
|
1312
1405
|
allowUnrecognizedUnionMembers: true,
|
|
1313
1406
|
allowUnrecognizedEnumValues: true,
|
|
1314
1407
|
breadcrumbsPrefix: ['response'],
|
|
1315
|
-
}));
|
|
1408
|
+
}), _response.rawResponse);
|
|
1316
1409
|
default:
|
|
1317
1410
|
throw new errors.TruvityError({
|
|
1318
1411
|
statusCode: _response.error.statusCode,
|
|
1319
1412
|
body: _response.error.body,
|
|
1413
|
+
rawResponse: _response.rawResponse,
|
|
1320
1414
|
});
|
|
1321
1415
|
}
|
|
1322
1416
|
}
|
|
@@ -1325,12 +1419,14 @@ class Credentials {
|
|
|
1325
1419
|
throw new errors.TruvityError({
|
|
1326
1420
|
statusCode: _response.error.statusCode,
|
|
1327
1421
|
body: _response.error.rawBody,
|
|
1422
|
+
rawResponse: _response.rawResponse,
|
|
1328
1423
|
});
|
|
1329
1424
|
case 'timeout':
|
|
1330
1425
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /credentials/{id}/revisions/{revision}/download.');
|
|
1331
1426
|
case 'unknown':
|
|
1332
1427
|
throw new errors.TruvityError({
|
|
1333
1428
|
message: _response.error.errorMessage,
|
|
1429
|
+
rawResponse: _response.rawResponse,
|
|
1334
1430
|
});
|
|
1335
1431
|
}
|
|
1336
1432
|
});
|
|
@@ -1351,12 +1447,15 @@ class Credentials {
|
|
|
1351
1447
|
* await client.credentials.credentialVerify("id")
|
|
1352
1448
|
*/
|
|
1353
1449
|
credentialVerify(id, requestOptions) {
|
|
1450
|
+
return core.HttpResponsePromise.fromPromise(this.__credentialVerify(id, requestOptions));
|
|
1451
|
+
}
|
|
1452
|
+
__credentialVerify(id, requestOptions) {
|
|
1354
1453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1355
1454
|
var _a, _b, _c;
|
|
1356
1455
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1357
1456
|
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, `credentials/${encodeURIComponent(id)}/verify`),
|
|
1358
1457
|
method: 'GET',
|
|
1359
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1458
|
+
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),
|
|
1360
1459
|
contentType: 'application/json',
|
|
1361
1460
|
requestType: 'json',
|
|
1362
1461
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1364,12 +1463,15 @@ class Credentials {
|
|
|
1364
1463
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1365
1464
|
});
|
|
1366
1465
|
if (_response.ok) {
|
|
1367
|
-
return
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1466
|
+
return {
|
|
1467
|
+
data: serializers.CredentialVerify.parseOrThrow(_response.body, {
|
|
1468
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1469
|
+
allowUnrecognizedUnionMembers: true,
|
|
1470
|
+
allowUnrecognizedEnumValues: true,
|
|
1471
|
+
breadcrumbsPrefix: ['response'],
|
|
1472
|
+
}),
|
|
1473
|
+
rawResponse: _response.rawResponse,
|
|
1474
|
+
};
|
|
1373
1475
|
}
|
|
1374
1476
|
if (_response.error.reason === 'status-code') {
|
|
1375
1477
|
switch (_response.error.statusCode) {
|
|
@@ -1379,39 +1481,40 @@ class Credentials {
|
|
|
1379
1481
|
allowUnrecognizedUnionMembers: true,
|
|
1380
1482
|
allowUnrecognizedEnumValues: true,
|
|
1381
1483
|
breadcrumbsPrefix: ['response'],
|
|
1382
|
-
}));
|
|
1484
|
+
}), _response.rawResponse);
|
|
1383
1485
|
case 401:
|
|
1384
1486
|
throw new Truvity.UnauthorizedError(serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {
|
|
1385
1487
|
unrecognizedObjectKeys: 'passthrough',
|
|
1386
1488
|
allowUnrecognizedUnionMembers: true,
|
|
1387
1489
|
allowUnrecognizedEnumValues: true,
|
|
1388
1490
|
breadcrumbsPrefix: ['response'],
|
|
1389
|
-
}));
|
|
1491
|
+
}), _response.rawResponse);
|
|
1390
1492
|
case 403:
|
|
1391
1493
|
throw new Truvity.ForbiddenError(serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {
|
|
1392
1494
|
unrecognizedObjectKeys: 'passthrough',
|
|
1393
1495
|
allowUnrecognizedUnionMembers: true,
|
|
1394
1496
|
allowUnrecognizedEnumValues: true,
|
|
1395
1497
|
breadcrumbsPrefix: ['response'],
|
|
1396
|
-
}));
|
|
1498
|
+
}), _response.rawResponse);
|
|
1397
1499
|
case 429:
|
|
1398
1500
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1399
1501
|
unrecognizedObjectKeys: 'passthrough',
|
|
1400
1502
|
allowUnrecognizedUnionMembers: true,
|
|
1401
1503
|
allowUnrecognizedEnumValues: true,
|
|
1402
1504
|
breadcrumbsPrefix: ['response'],
|
|
1403
|
-
}));
|
|
1505
|
+
}), _response.rawResponse);
|
|
1404
1506
|
case 500:
|
|
1405
1507
|
throw new Truvity.InternalServerError(serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {
|
|
1406
1508
|
unrecognizedObjectKeys: 'passthrough',
|
|
1407
1509
|
allowUnrecognizedUnionMembers: true,
|
|
1408
1510
|
allowUnrecognizedEnumValues: true,
|
|
1409
1511
|
breadcrumbsPrefix: ['response'],
|
|
1410
|
-
}));
|
|
1512
|
+
}), _response.rawResponse);
|
|
1411
1513
|
default:
|
|
1412
1514
|
throw new errors.TruvityError({
|
|
1413
1515
|
statusCode: _response.error.statusCode,
|
|
1414
1516
|
body: _response.error.body,
|
|
1517
|
+
rawResponse: _response.rawResponse,
|
|
1415
1518
|
});
|
|
1416
1519
|
}
|
|
1417
1520
|
}
|
|
@@ -1420,12 +1523,14 @@ class Credentials {
|
|
|
1420
1523
|
throw new errors.TruvityError({
|
|
1421
1524
|
statusCode: _response.error.statusCode,
|
|
1422
1525
|
body: _response.error.rawBody,
|
|
1526
|
+
rawResponse: _response.rawResponse,
|
|
1423
1527
|
});
|
|
1424
1528
|
case 'timeout':
|
|
1425
1529
|
throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /credentials/{id}/verify.');
|
|
1426
1530
|
case 'unknown':
|
|
1427
1531
|
throw new errors.TruvityError({
|
|
1428
1532
|
message: _response.error.errorMessage,
|
|
1533
|
+
rawResponse: _response.rawResponse,
|
|
1429
1534
|
});
|
|
1430
1535
|
}
|
|
1431
1536
|
});
|