@truvity/sdk 0.0.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/Client.d.ts +25 -0
- package/Client.js +22 -0
- package/api/errors/BadRequestError.d.ts +8 -0
- package/api/errors/BadRequestError.js +41 -0
- package/api/errors/ForbiddenError.d.ts +8 -0
- package/api/errors/ForbiddenError.js +41 -0
- package/api/errors/InternalServerError.d.ts +8 -0
- package/api/errors/InternalServerError.js +41 -0
- package/api/errors/NotFoundError.d.ts +7 -0
- package/api/errors/NotFoundError.js +41 -0
- package/api/errors/UnauthorizedError.d.ts +8 -0
- package/api/errors/UnauthorizedError.js +41 -0
- package/api/errors/index.d.ts +5 -0
- package/api/errors/index.js +21 -0
- package/api/index.d.ts +3 -0
- package/api/index.js +19 -0
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +33 -0
- package/api/resources/owners/client/Client.d.ts +124 -0
- package/api/resources/owners/client/Client.js +711 -0
- package/api/resources/owners/client/index.d.ts +1 -0
- package/api/resources/owners/client/index.js +17 -0
- package/api/resources/owners/client/requests/OwnerCreateRequest.d.ts +38 -0
- package/api/resources/owners/client/requests/OwnerCreateRequest.js +5 -0
- package/api/resources/owners/client/requests/OwnerDeleteRequest.d.ts +49 -0
- package/api/resources/owners/client/requests/OwnerDeleteRequest.js +5 -0
- package/api/resources/owners/client/requests/OwnerHistoryRequest.d.ts +27 -0
- package/api/resources/owners/client/requests/OwnerHistoryRequest.js +5 -0
- package/api/resources/owners/client/requests/OwnerLatestRequest.d.ts +27 -0
- package/api/resources/owners/client/requests/OwnerLatestRequest.js +5 -0
- package/api/resources/owners/client/requests/OwnerRevisionRequest.d.ts +27 -0
- package/api/resources/owners/client/requests/OwnerRevisionRequest.js +5 -0
- package/api/resources/owners/client/requests/OwnerSearch.d.ts +14 -0
- package/api/resources/owners/client/requests/OwnerSearch.js +5 -0
- package/api/resources/owners/client/requests/OwnerUpdateRequest.d.ts +57 -0
- package/api/resources/owners/client/requests/OwnerUpdateRequest.js +5 -0
- package/api/resources/owners/client/requests/index.d.ts +7 -0
- package/api/resources/owners/client/requests/index.js +2 -0
- package/api/resources/owners/index.d.ts +1 -0
- package/api/resources/owners/index.js +17 -0
- package/api/resources/pets/client/Client.d.ts +133 -0
- package/api/resources/pets/client/Client.js +861 -0
- package/api/resources/pets/client/index.d.ts +1 -0
- package/api/resources/pets/client/index.js +17 -0
- package/api/resources/pets/client/requests/PetCreateRequest.d.ts +38 -0
- package/api/resources/pets/client/requests/PetCreateRequest.js +5 -0
- package/api/resources/pets/client/requests/PetDeleteRequest.d.ts +49 -0
- package/api/resources/pets/client/requests/PetDeleteRequest.js +5 -0
- package/api/resources/pets/client/requests/PetDownloadRequest.d.ts +23 -0
- package/api/resources/pets/client/requests/PetDownloadRequest.js +5 -0
- package/api/resources/pets/client/requests/PetHistoryRequest.d.ts +27 -0
- package/api/resources/pets/client/requests/PetHistoryRequest.js +5 -0
- package/api/resources/pets/client/requests/PetLatestRequest.d.ts +27 -0
- package/api/resources/pets/client/requests/PetLatestRequest.js +5 -0
- package/api/resources/pets/client/requests/PetRevisionRequest.d.ts +27 -0
- package/api/resources/pets/client/requests/PetRevisionRequest.js +5 -0
- package/api/resources/pets/client/requests/PetSearch.d.ts +14 -0
- package/api/resources/pets/client/requests/PetSearch.js +5 -0
- package/api/resources/pets/client/requests/PetUpdateRequest.d.ts +56 -0
- package/api/resources/pets/client/requests/PetUpdateRequest.js +5 -0
- package/api/resources/pets/client/requests/UploadRequest.d.ts +31 -0
- package/api/resources/pets/client/requests/UploadRequest.js +5 -0
- package/api/resources/pets/client/requests/index.d.ts +9 -0
- package/api/resources/pets/client/requests/index.js +2 -0
- package/api/resources/pets/index.d.ts +1 -0
- package/api/resources/pets/index.js +17 -0
- package/api/types/AnnotationValue.d.ts +7 -0
- package/api/types/AnnotationValue.js +5 -0
- package/api/types/Annotations.d.ts +11 -0
- package/api/types/Annotations.js +5 -0
- package/api/types/BadRequestErrorBody.d.ts +16 -0
- package/api/types/BadRequestErrorBody.js +5 -0
- package/api/types/BlobId.d.ts +8 -0
- package/api/types/BlobId.js +5 -0
- package/api/types/Checksum.d.ts +22 -0
- package/api/types/Checksum.js +5 -0
- package/api/types/ChecksumAlgorithm.d.ts +13 -0
- package/api/types/ChecksumAlgorithm.js +12 -0
- package/api/types/ChecksumCrc32.d.ts +10 -0
- package/api/types/ChecksumCrc32.js +5 -0
- package/api/types/ChecksumCrc32C.d.ts +10 -0
- package/api/types/ChecksumCrc32C.js +5 -0
- package/api/types/ChecksumSha1.d.ts +10 -0
- package/api/types/ChecksumSha1.js +5 -0
- package/api/types/ChecksumSha256.d.ts +10 -0
- package/api/types/ChecksumSha256.js +5 -0
- package/api/types/ContentType.d.ts +7 -0
- package/api/types/ContentType.js +5 -0
- package/api/types/Download.d.ts +7 -0
- package/api/types/Download.js +5 -0
- package/api/types/ETag.d.ts +14 -0
- package/api/types/ETag.js +5 -0
- package/api/types/FilterId.d.ts +22 -0
- package/api/types/FilterId.js +5 -0
- package/api/types/FilterIdEqual.d.ts +10 -0
- package/api/types/FilterIdEqual.js +5 -0
- package/api/types/FilterIdIn.d.ts +10 -0
- package/api/types/FilterIdIn.js +5 -0
- package/api/types/FilterIdNotEqual.d.ts +10 -0
- package/api/types/FilterIdNotEqual.js +5 -0
- package/api/types/FilterIdNotIn.d.ts +10 -0
- package/api/types/FilterIdNotIn.js +5 -0
- package/api/types/FilterInteger.d.ts +31 -0
- package/api/types/FilterInteger.js +5 -0
- package/api/types/FilterIntegerBetween.d.ts +12 -0
- package/api/types/FilterIntegerBetween.js +5 -0
- package/api/types/FilterIntegerEqual.d.ts +10 -0
- package/api/types/FilterIntegerEqual.js +5 -0
- package/api/types/FilterIntegerGreaterThan.d.ts +10 -0
- package/api/types/FilterIntegerGreaterThan.js +5 -0
- package/api/types/FilterIntegerGreaterThanOrEqual.d.ts +10 -0
- package/api/types/FilterIntegerGreaterThanOrEqual.js +5 -0
- package/api/types/FilterIntegerLessThan.d.ts +10 -0
- package/api/types/FilterIntegerLessThan.js +5 -0
- package/api/types/FilterIntegerLessThanOrEqual.d.ts +10 -0
- package/api/types/FilterIntegerLessThanOrEqual.js +5 -0
- package/api/types/FilterIntegerNotEqual.d.ts +10 -0
- package/api/types/FilterIntegerNotEqual.js +5 -0
- package/api/types/FilterString.d.ts +16 -0
- package/api/types/FilterString.js +5 -0
- package/api/types/FilterStringEqual.d.ts +10 -0
- package/api/types/FilterStringEqual.js +5 -0
- package/api/types/FilterStringNotEqual.d.ts +10 -0
- package/api/types/FilterStringNotEqual.js +5 -0
- package/api/types/FilterTimestamp.d.ts +31 -0
- package/api/types/FilterTimestamp.js +5 -0
- package/api/types/FilterTimestampBetween.d.ts +12 -0
- package/api/types/FilterTimestampBetween.js +5 -0
- package/api/types/FilterTimestampEqual.d.ts +10 -0
- package/api/types/FilterTimestampEqual.js +5 -0
- package/api/types/FilterTimestampGreaterThan.d.ts +10 -0
- package/api/types/FilterTimestampGreaterThan.js +5 -0
- package/api/types/FilterTimestampGreaterThanOrEqual.d.ts +10 -0
- package/api/types/FilterTimestampGreaterThanOrEqual.js +5 -0
- package/api/types/FilterTimestampIsNotNull.d.ts +8 -0
- package/api/types/FilterTimestampIsNotNull.js +5 -0
- package/api/types/FilterTimestampIsNull.d.ts +8 -0
- package/api/types/FilterTimestampIsNull.js +5 -0
- package/api/types/FilterTimestampLessThan.d.ts +10 -0
- package/api/types/FilterTimestampLessThan.js +5 -0
- package/api/types/FilterTimestampLessThanOrEqual.d.ts +10 -0
- package/api/types/FilterTimestampLessThanOrEqual.js +5 -0
- package/api/types/FilterTimestampNotEqual.d.ts +10 -0
- package/api/types/FilterTimestampNotEqual.js +5 -0
- package/api/types/FilterTimestampOptional.d.ts +38 -0
- package/api/types/FilterTimestampOptional.js +5 -0
- package/api/types/HashCrc32.d.ts +7 -0
- package/api/types/HashCrc32.js +5 -0
- package/api/types/HashCrc32C.d.ts +7 -0
- package/api/types/HashCrc32C.js +5 -0
- package/api/types/HashSha1.d.ts +7 -0
- package/api/types/HashSha1.js +5 -0
- package/api/types/HashSha256.d.ts +7 -0
- package/api/types/HashSha256.js +5 -0
- package/api/types/HttpMethod.d.ts +18 -0
- package/api/types/HttpMethod.js +17 -0
- package/api/types/HttpRequestPart.d.ts +13 -0
- package/api/types/HttpRequestPart.js +12 -0
- package/api/types/LabelValue.d.ts +7 -0
- package/api/types/LabelValue.js +5 -0
- package/api/types/Labels.d.ts +12 -0
- package/api/types/Labels.js +5 -0
- package/api/types/Owner.d.ts +12 -0
- package/api/types/Owner.js +5 -0
- package/api/types/OwnerField.d.ts +19 -0
- package/api/types/OwnerField.js +18 -0
- package/api/types/OwnerFilter.d.ts +18 -0
- package/api/types/OwnerFilter.js +5 -0
- package/api/types/OwnerFilterData.d.ts +8 -0
- package/api/types/OwnerFilterData.js +5 -0
- package/api/types/OwnerInput.d.ts +14 -0
- package/api/types/OwnerInput.js +5 -0
- package/api/types/OwnerList.d.ts +10 -0
- package/api/types/OwnerList.js +5 -0
- package/api/types/OwnerResource.d.ts +19 -0
- package/api/types/OwnerResource.js +5 -0
- package/api/types/OwnerSort.d.ts +11 -0
- package/api/types/OwnerSort.js +5 -0
- package/api/types/Pet.d.ts +14 -0
- package/api/types/Pet.js +5 -0
- package/api/types/PetField.d.ts +20 -0
- package/api/types/PetField.js +19 -0
- package/api/types/PetFilter.d.ts +18 -0
- package/api/types/PetFilter.js +5 -0
- package/api/types/PetFilterData.d.ts +9 -0
- package/api/types/PetFilterData.js +5 -0
- package/api/types/PetInput.d.ts +13 -0
- package/api/types/PetInput.js +5 -0
- package/api/types/PetList.d.ts +10 -0
- package/api/types/PetList.js +5 -0
- package/api/types/PetResource.d.ts +19 -0
- package/api/types/PetResource.js +5 -0
- package/api/types/PetSort.d.ts +11 -0
- package/api/types/PetSort.js +5 -0
- package/api/types/ProblemBodyContent.d.ts +23 -0
- package/api/types/ProblemBodyContent.js +5 -0
- package/api/types/ProblemForbidden.d.ts +23 -0
- package/api/types/ProblemForbidden.js +5 -0
- package/api/types/ProblemInternalServerError.d.ts +23 -0
- package/api/types/ProblemInternalServerError.js +5 -0
- package/api/types/ProblemNotFoundBlob.d.ts +24 -0
- package/api/types/ProblemNotFoundBlob.js +5 -0
- package/api/types/ProblemNotFoundResource.d.ts +24 -0
- package/api/types/ProblemNotFoundResource.js +5 -0
- package/api/types/ProblemNotFoundRevision.d.ts +24 -0
- package/api/types/ProblemNotFoundRevision.js +5 -0
- package/api/types/ProblemNullUnicode.d.ts +25 -0
- package/api/types/ProblemNullUnicode.js +5 -0
- package/api/types/ProblemResourceConflict.d.ts +25 -0
- package/api/types/ProblemResourceConflict.js +5 -0
- package/api/types/ProblemResourceMethodNotAllowed.d.ts +26 -0
- package/api/types/ProblemResourceMethodNotAllowed.js +5 -0
- package/api/types/ProblemUnauthorized.d.ts +23 -0
- package/api/types/ProblemUnauthorized.js +5 -0
- package/api/types/ProblemUnsupportedMediaType.d.ts +24 -0
- package/api/types/ProblemUnsupportedMediaType.js +5 -0
- package/api/types/ProblemValidation.d.ts +25 -0
- package/api/types/ProblemValidation.js +5 -0
- package/api/types/RequestedETag.d.ts +12 -0
- package/api/types/RequestedETag.js +5 -0
- package/api/types/RequestedRevision.d.ts +12 -0
- package/api/types/RequestedRevision.js +5 -0
- package/api/types/Resource.d.ts +33 -0
- package/api/types/Resource.js +5 -0
- package/api/types/ResourceId.d.ts +8 -0
- package/api/types/ResourceId.js +5 -0
- package/api/types/ResourceKind.d.ts +11 -0
- package/api/types/ResourceKind.js +5 -0
- package/api/types/ResourceName.d.ts +7 -0
- package/api/types/ResourceName.js +5 -0
- package/api/types/ResourceVersion.d.ts +8 -0
- package/api/types/ResourceVersion.js +5 -0
- package/api/types/Revision.d.ts +7 -0
- package/api/types/Revision.js +5 -0
- package/api/types/SortOrder.d.ts +11 -0
- package/api/types/SortOrder.js +10 -0
- package/api/types/Species.d.ts +13 -0
- package/api/types/Species.js +11 -0
- package/api/types/Timestamp.d.ts +7 -0
- package/api/types/Timestamp.js +5 -0
- package/api/types/UploadResponse.d.ts +13 -0
- package/api/types/UploadResponse.js +5 -0
- package/api/types/Uri.d.ts +12 -0
- package/api/types/Uri.js +5 -0
- package/api/types/UriReference.d.ts +7 -0
- package/api/types/UriReference.js +5 -0
- package/api/types/ValidationError.d.ts +14 -0
- package/api/types/ValidationError.js +5 -0
- package/api/types/index.d.ts +91 -0
- package/api/types/index.js +107 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +35 -0
- package/core/fetcher/Fetcher.js +164 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +12 -0
- package/core/fetcher/index.d.ts +5 -0
- package/core/fetcher/index.js +9 -0
- package/core/index.d.ts +3 -0
- package/core/index.js +32 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +8 -0
- package/core/runtime/runtime.js +82 -0
- package/core/schemas/Schema.d.ts +81 -0
- package/core/schemas/Schema.js +21 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +63 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +39 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +13 -0
- package/core/schemas/builders/index.js +29 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +36 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +68 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +258 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +16 -0
- package/core/schemas/builders/object/types.d.ts +26 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +106 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +53 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +10 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +141 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +7 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +14 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +18 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +7 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +16 -0
- package/dist/Client.d.ts +25 -0
- package/dist/Client.js +22 -0
- package/dist/api/errors/BadRequestError.d.ts +8 -0
- package/dist/api/errors/BadRequestError.js +41 -0
- package/dist/api/errors/ForbiddenError.d.ts +8 -0
- package/dist/api/errors/ForbiddenError.js +41 -0
- package/dist/api/errors/InternalServerError.d.ts +8 -0
- package/dist/api/errors/InternalServerError.js +41 -0
- package/dist/api/errors/NotFoundError.d.ts +7 -0
- package/dist/api/errors/NotFoundError.js +41 -0
- package/dist/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/api/errors/UnauthorizedError.js +41 -0
- package/dist/api/errors/index.d.ts +5 -0
- package/dist/api/errors/index.js +21 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +19 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +33 -0
- package/dist/api/resources/owners/client/Client.d.ts +124 -0
- package/dist/api/resources/owners/client/Client.js +711 -0
- package/dist/api/resources/owners/client/index.d.ts +1 -0
- package/dist/api/resources/owners/client/index.js +17 -0
- package/dist/api/resources/owners/client/requests/OwnerCreateRequest.d.ts +38 -0
- package/dist/api/resources/owners/client/requests/OwnerCreateRequest.js +5 -0
- package/dist/api/resources/owners/client/requests/OwnerDeleteRequest.d.ts +49 -0
- package/dist/api/resources/owners/client/requests/OwnerDeleteRequest.js +5 -0
- package/dist/api/resources/owners/client/requests/OwnerHistoryRequest.d.ts +27 -0
- package/dist/api/resources/owners/client/requests/OwnerHistoryRequest.js +5 -0
- package/dist/api/resources/owners/client/requests/OwnerLatestRequest.d.ts +27 -0
- package/dist/api/resources/owners/client/requests/OwnerLatestRequest.js +5 -0
- package/dist/api/resources/owners/client/requests/OwnerRevisionRequest.d.ts +27 -0
- package/dist/api/resources/owners/client/requests/OwnerRevisionRequest.js +5 -0
- package/dist/api/resources/owners/client/requests/OwnerSearch.d.ts +14 -0
- package/dist/api/resources/owners/client/requests/OwnerSearch.js +5 -0
- package/dist/api/resources/owners/client/requests/OwnerUpdateRequest.d.ts +57 -0
- package/dist/api/resources/owners/client/requests/OwnerUpdateRequest.js +5 -0
- package/dist/api/resources/owners/client/requests/index.d.ts +7 -0
- package/dist/api/resources/owners/client/requests/index.js +2 -0
- package/dist/api/resources/owners/index.d.ts +1 -0
- package/dist/api/resources/owners/index.js +17 -0
- package/dist/api/resources/pets/client/Client.d.ts +133 -0
- package/dist/api/resources/pets/client/Client.js +861 -0
- package/dist/api/resources/pets/client/index.d.ts +1 -0
- package/dist/api/resources/pets/client/index.js +17 -0
- package/dist/api/resources/pets/client/requests/PetCreateRequest.d.ts +38 -0
- package/dist/api/resources/pets/client/requests/PetCreateRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/PetDeleteRequest.d.ts +49 -0
- package/dist/api/resources/pets/client/requests/PetDeleteRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/PetDownloadRequest.d.ts +23 -0
- package/dist/api/resources/pets/client/requests/PetDownloadRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/PetHistoryRequest.d.ts +27 -0
- package/dist/api/resources/pets/client/requests/PetHistoryRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/PetLatestRequest.d.ts +27 -0
- package/dist/api/resources/pets/client/requests/PetLatestRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/PetRevisionRequest.d.ts +27 -0
- package/dist/api/resources/pets/client/requests/PetRevisionRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/PetSearch.d.ts +14 -0
- package/dist/api/resources/pets/client/requests/PetSearch.js +5 -0
- package/dist/api/resources/pets/client/requests/PetUpdateRequest.d.ts +56 -0
- package/dist/api/resources/pets/client/requests/PetUpdateRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/UploadRequest.d.ts +31 -0
- package/dist/api/resources/pets/client/requests/UploadRequest.js +5 -0
- package/dist/api/resources/pets/client/requests/index.d.ts +9 -0
- package/dist/api/resources/pets/client/requests/index.js +2 -0
- package/dist/api/resources/pets/index.d.ts +1 -0
- package/dist/api/resources/pets/index.js +17 -0
- package/dist/api/types/AnnotationValue.d.ts +7 -0
- package/dist/api/types/AnnotationValue.js +5 -0
- package/dist/api/types/Annotations.d.ts +11 -0
- package/dist/api/types/Annotations.js +5 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +16 -0
- package/dist/api/types/BadRequestErrorBody.js +5 -0
- package/dist/api/types/BlobId.d.ts +8 -0
- package/dist/api/types/BlobId.js +5 -0
- package/dist/api/types/Checksum.d.ts +22 -0
- package/dist/api/types/Checksum.js +5 -0
- package/dist/api/types/ChecksumAlgorithm.d.ts +13 -0
- package/dist/api/types/ChecksumAlgorithm.js +12 -0
- package/dist/api/types/ChecksumCrc32.d.ts +10 -0
- package/dist/api/types/ChecksumCrc32.js +5 -0
- package/dist/api/types/ChecksumCrc32C.d.ts +10 -0
- package/dist/api/types/ChecksumCrc32C.js +5 -0
- package/dist/api/types/ChecksumSha1.d.ts +10 -0
- package/dist/api/types/ChecksumSha1.js +5 -0
- package/dist/api/types/ChecksumSha256.d.ts +10 -0
- package/dist/api/types/ChecksumSha256.js +5 -0
- package/dist/api/types/ContentType.d.ts +7 -0
- package/dist/api/types/ContentType.js +5 -0
- package/dist/api/types/Download.d.ts +7 -0
- package/dist/api/types/Download.js +5 -0
- package/dist/api/types/ETag.d.ts +14 -0
- package/dist/api/types/ETag.js +5 -0
- package/dist/api/types/FilterId.d.ts +22 -0
- package/dist/api/types/FilterId.js +5 -0
- package/dist/api/types/FilterIdEqual.d.ts +10 -0
- package/dist/api/types/FilterIdEqual.js +5 -0
- package/dist/api/types/FilterIdIn.d.ts +10 -0
- package/dist/api/types/FilterIdIn.js +5 -0
- package/dist/api/types/FilterIdNotEqual.d.ts +10 -0
- package/dist/api/types/FilterIdNotEqual.js +5 -0
- package/dist/api/types/FilterIdNotIn.d.ts +10 -0
- package/dist/api/types/FilterIdNotIn.js +5 -0
- package/dist/api/types/FilterInteger.d.ts +31 -0
- package/dist/api/types/FilterInteger.js +5 -0
- package/dist/api/types/FilterIntegerBetween.d.ts +12 -0
- package/dist/api/types/FilterIntegerBetween.js +5 -0
- package/dist/api/types/FilterIntegerEqual.d.ts +10 -0
- package/dist/api/types/FilterIntegerEqual.js +5 -0
- package/dist/api/types/FilterIntegerGreaterThan.d.ts +10 -0
- package/dist/api/types/FilterIntegerGreaterThan.js +5 -0
- package/dist/api/types/FilterIntegerGreaterThanOrEqual.d.ts +10 -0
- package/dist/api/types/FilterIntegerGreaterThanOrEqual.js +5 -0
- package/dist/api/types/FilterIntegerLessThan.d.ts +10 -0
- package/dist/api/types/FilterIntegerLessThan.js +5 -0
- package/dist/api/types/FilterIntegerLessThanOrEqual.d.ts +10 -0
- package/dist/api/types/FilterIntegerLessThanOrEqual.js +5 -0
- package/dist/api/types/FilterIntegerNotEqual.d.ts +10 -0
- package/dist/api/types/FilterIntegerNotEqual.js +5 -0
- package/dist/api/types/FilterString.d.ts +16 -0
- package/dist/api/types/FilterString.js +5 -0
- package/dist/api/types/FilterStringEqual.d.ts +10 -0
- package/dist/api/types/FilterStringEqual.js +5 -0
- package/dist/api/types/FilterStringNotEqual.d.ts +10 -0
- package/dist/api/types/FilterStringNotEqual.js +5 -0
- package/dist/api/types/FilterTimestamp.d.ts +31 -0
- package/dist/api/types/FilterTimestamp.js +5 -0
- package/dist/api/types/FilterTimestampBetween.d.ts +12 -0
- package/dist/api/types/FilterTimestampBetween.js +5 -0
- package/dist/api/types/FilterTimestampEqual.d.ts +10 -0
- package/dist/api/types/FilterTimestampEqual.js +5 -0
- package/dist/api/types/FilterTimestampGreaterThan.d.ts +10 -0
- package/dist/api/types/FilterTimestampGreaterThan.js +5 -0
- package/dist/api/types/FilterTimestampGreaterThanOrEqual.d.ts +10 -0
- package/dist/api/types/FilterTimestampGreaterThanOrEqual.js +5 -0
- package/dist/api/types/FilterTimestampIsNotNull.d.ts +8 -0
- package/dist/api/types/FilterTimestampIsNotNull.js +5 -0
- package/dist/api/types/FilterTimestampIsNull.d.ts +8 -0
- package/dist/api/types/FilterTimestampIsNull.js +5 -0
- package/dist/api/types/FilterTimestampLessThan.d.ts +10 -0
- package/dist/api/types/FilterTimestampLessThan.js +5 -0
- package/dist/api/types/FilterTimestampLessThanOrEqual.d.ts +10 -0
- package/dist/api/types/FilterTimestampLessThanOrEqual.js +5 -0
- package/dist/api/types/FilterTimestampNotEqual.d.ts +10 -0
- package/dist/api/types/FilterTimestampNotEqual.js +5 -0
- package/dist/api/types/FilterTimestampOptional.d.ts +38 -0
- package/dist/api/types/FilterTimestampOptional.js +5 -0
- package/dist/api/types/HashCrc32.d.ts +7 -0
- package/dist/api/types/HashCrc32.js +5 -0
- package/dist/api/types/HashCrc32C.d.ts +7 -0
- package/dist/api/types/HashCrc32C.js +5 -0
- package/dist/api/types/HashSha1.d.ts +7 -0
- package/dist/api/types/HashSha1.js +5 -0
- package/dist/api/types/HashSha256.d.ts +7 -0
- package/dist/api/types/HashSha256.js +5 -0
- package/dist/api/types/HttpMethod.d.ts +18 -0
- package/dist/api/types/HttpMethod.js +17 -0
- package/dist/api/types/HttpRequestPart.d.ts +13 -0
- package/dist/api/types/HttpRequestPart.js +12 -0
- package/dist/api/types/LabelValue.d.ts +7 -0
- package/dist/api/types/LabelValue.js +5 -0
- package/dist/api/types/Labels.d.ts +12 -0
- package/dist/api/types/Labels.js +5 -0
- package/dist/api/types/Owner.d.ts +12 -0
- package/dist/api/types/Owner.js +5 -0
- package/dist/api/types/OwnerField.d.ts +19 -0
- package/dist/api/types/OwnerField.js +18 -0
- package/dist/api/types/OwnerFilter.d.ts +18 -0
- package/dist/api/types/OwnerFilter.js +5 -0
- package/dist/api/types/OwnerFilterData.d.ts +8 -0
- package/dist/api/types/OwnerFilterData.js +5 -0
- package/dist/api/types/OwnerInput.d.ts +14 -0
- package/dist/api/types/OwnerInput.js +5 -0
- package/dist/api/types/OwnerList.d.ts +10 -0
- package/dist/api/types/OwnerList.js +5 -0
- package/dist/api/types/OwnerResource.d.ts +19 -0
- package/dist/api/types/OwnerResource.js +5 -0
- package/dist/api/types/OwnerSort.d.ts +11 -0
- package/dist/api/types/OwnerSort.js +5 -0
- package/dist/api/types/Pet.d.ts +14 -0
- package/dist/api/types/Pet.js +5 -0
- package/dist/api/types/PetField.d.ts +20 -0
- package/dist/api/types/PetField.js +19 -0
- package/dist/api/types/PetFilter.d.ts +18 -0
- package/dist/api/types/PetFilter.js +5 -0
- package/dist/api/types/PetFilterData.d.ts +9 -0
- package/dist/api/types/PetFilterData.js +5 -0
- package/dist/api/types/PetInput.d.ts +13 -0
- package/dist/api/types/PetInput.js +5 -0
- package/dist/api/types/PetList.d.ts +10 -0
- package/dist/api/types/PetList.js +5 -0
- package/dist/api/types/PetResource.d.ts +19 -0
- package/dist/api/types/PetResource.js +5 -0
- package/dist/api/types/PetSort.d.ts +11 -0
- package/dist/api/types/PetSort.js +5 -0
- package/dist/api/types/ProblemBodyContent.d.ts +23 -0
- package/dist/api/types/ProblemBodyContent.js +5 -0
- package/dist/api/types/ProblemForbidden.d.ts +23 -0
- package/dist/api/types/ProblemForbidden.js +5 -0
- package/dist/api/types/ProblemInternalServerError.d.ts +23 -0
- package/dist/api/types/ProblemInternalServerError.js +5 -0
- package/dist/api/types/ProblemNotFoundBlob.d.ts +24 -0
- package/dist/api/types/ProblemNotFoundBlob.js +5 -0
- package/dist/api/types/ProblemNotFoundResource.d.ts +24 -0
- package/dist/api/types/ProblemNotFoundResource.js +5 -0
- package/dist/api/types/ProblemNotFoundRevision.d.ts +24 -0
- package/dist/api/types/ProblemNotFoundRevision.js +5 -0
- package/dist/api/types/ProblemNullUnicode.d.ts +25 -0
- package/dist/api/types/ProblemNullUnicode.js +5 -0
- package/dist/api/types/ProblemResourceConflict.d.ts +25 -0
- package/dist/api/types/ProblemResourceConflict.js +5 -0
- package/dist/api/types/ProblemResourceMethodNotAllowed.d.ts +26 -0
- package/dist/api/types/ProblemResourceMethodNotAllowed.js +5 -0
- package/dist/api/types/ProblemUnauthorized.d.ts +23 -0
- package/dist/api/types/ProblemUnauthorized.js +5 -0
- package/dist/api/types/ProblemUnsupportedMediaType.d.ts +24 -0
- package/dist/api/types/ProblemUnsupportedMediaType.js +5 -0
- package/dist/api/types/ProblemValidation.d.ts +25 -0
- package/dist/api/types/ProblemValidation.js +5 -0
- package/dist/api/types/RequestedETag.d.ts +12 -0
- package/dist/api/types/RequestedETag.js +5 -0
- package/dist/api/types/RequestedRevision.d.ts +12 -0
- package/dist/api/types/RequestedRevision.js +5 -0
- package/dist/api/types/Resource.d.ts +33 -0
- package/dist/api/types/Resource.js +5 -0
- package/dist/api/types/ResourceId.d.ts +8 -0
- package/dist/api/types/ResourceId.js +5 -0
- package/dist/api/types/ResourceKind.d.ts +11 -0
- package/dist/api/types/ResourceKind.js +5 -0
- package/dist/api/types/ResourceName.d.ts +7 -0
- package/dist/api/types/ResourceName.js +5 -0
- package/dist/api/types/ResourceVersion.d.ts +8 -0
- package/dist/api/types/ResourceVersion.js +5 -0
- package/dist/api/types/Revision.d.ts +7 -0
- package/dist/api/types/Revision.js +5 -0
- package/dist/api/types/SortOrder.d.ts +11 -0
- package/dist/api/types/SortOrder.js +10 -0
- package/dist/api/types/Species.d.ts +13 -0
- package/dist/api/types/Species.js +11 -0
- package/dist/api/types/Timestamp.d.ts +7 -0
- package/dist/api/types/Timestamp.js +5 -0
- package/dist/api/types/UploadResponse.d.ts +13 -0
- package/dist/api/types/UploadResponse.js +5 -0
- package/dist/api/types/Uri.d.ts +12 -0
- package/dist/api/types/Uri.js +5 -0
- package/dist/api/types/UriReference.d.ts +7 -0
- package/dist/api/types/UriReference.js +5 -0
- package/dist/api/types/ValidationError.d.ts +14 -0
- package/dist/api/types/ValidationError.js +5 -0
- package/dist/api/types/index.d.ts +91 -0
- package/dist/api/types/index.js +107 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +35 -0
- package/dist/core/fetcher/Fetcher.js +164 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +12 -0
- package/dist/core/fetcher/index.d.ts +5 -0
- package/dist/core/fetcher/index.js +9 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +32 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +8 -0
- package/dist/core/runtime/runtime.js +82 -0
- package/dist/core/schemas/Schema.d.ts +81 -0
- package/dist/core/schemas/Schema.js +21 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +63 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +39 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +13 -0
- package/dist/core/schemas/builders/index.js +29 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +36 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +68 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +258 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +16 -0
- package/dist/core/schemas/builders/object/types.d.ts +26 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +106 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +53 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +10 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +141 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +7 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +14 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +18 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +7 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +16 -0
- package/dist/environments.d.ts +7 -0
- package/dist/environments.js +9 -0
- package/dist/errors/TruvityError.d.ts +12 -0
- package/dist/errors/TruvityError.js +32 -0
- package/dist/errors/TruvityTimeoutError.d.ts +6 -0
- package/dist/errors/TruvityTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +34 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +4 -0
- package/dist/serialization/resources/index.js +33 -0
- package/dist/serialization/resources/owners/client/index.d.ts +1 -0
- package/dist/serialization/resources/owners/client/index.js +17 -0
- package/dist/serialization/resources/owners/client/requests/OwnerSearch.d.ts +13 -0
- package/dist/serialization/resources/owners/client/requests/OwnerSearch.js +47 -0
- package/dist/serialization/resources/owners/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/owners/client/requests/index.js +5 -0
- package/dist/serialization/resources/owners/index.d.ts +1 -0
- package/dist/serialization/resources/owners/index.js +17 -0
- package/dist/serialization/resources/pets/client/index.d.ts +1 -0
- package/dist/serialization/resources/pets/client/index.js +17 -0
- package/dist/serialization/resources/pets/client/requests/PetSearch.d.ts +13 -0
- package/dist/serialization/resources/pets/client/requests/PetSearch.js +47 -0
- package/dist/serialization/resources/pets/client/requests/UploadRequest.d.ts +12 -0
- package/dist/serialization/resources/pets/client/requests/UploadRequest.js +42 -0
- package/dist/serialization/resources/pets/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/pets/client/requests/index.js +7 -0
- package/dist/serialization/resources/pets/index.d.ts +1 -0
- package/dist/serialization/resources/pets/index.js +17 -0
- package/dist/serialization/types/AnnotationValue.d.ts +10 -0
- package/dist/serialization/types/AnnotationValue.js +31 -0
- package/dist/serialization/types/Annotations.d.ts +10 -0
- package/dist/serialization/types/Annotations.js +40 -0
- package/dist/serialization/types/BadRequestErrorBody.d.ts +19 -0
- package/dist/serialization/types/BadRequestErrorBody.js +49 -0
- package/dist/serialization/types/BlobId.d.ts +10 -0
- package/dist/serialization/types/BlobId.js +31 -0
- package/dist/serialization/types/Checksum.d.ts +22 -0
- package/dist/serialization/types/Checksum.js +50 -0
- package/dist/serialization/types/ChecksumAlgorithm.d.ts +10 -0
- package/dist/serialization/types/ChecksumAlgorithm.js +31 -0
- package/dist/serialization/types/ChecksumCrc32.d.ts +12 -0
- package/dist/serialization/types/ChecksumCrc32.js +42 -0
- package/dist/serialization/types/ChecksumCrc32C.d.ts +12 -0
- package/dist/serialization/types/ChecksumCrc32C.js +42 -0
- package/dist/serialization/types/ChecksumSha1.d.ts +12 -0
- package/dist/serialization/types/ChecksumSha1.js +42 -0
- package/dist/serialization/types/ChecksumSha256.d.ts +12 -0
- package/dist/serialization/types/ChecksumSha256.js +42 -0
- package/dist/serialization/types/ContentType.d.ts +10 -0
- package/dist/serialization/types/ContentType.js +31 -0
- package/dist/serialization/types/Download.d.ts +10 -0
- package/dist/serialization/types/Download.js +31 -0
- package/dist/serialization/types/ETag.d.ts +10 -0
- package/dist/serialization/types/ETag.js +31 -0
- package/dist/serialization/types/FilterId.d.ts +22 -0
- package/dist/serialization/types/FilterId.js +50 -0
- package/dist/serialization/types/FilterIdEqual.d.ts +12 -0
- package/dist/serialization/types/FilterIdEqual.js +33 -0
- package/dist/serialization/types/FilterIdIn.d.ts +12 -0
- package/dist/serialization/types/FilterIdIn.js +33 -0
- package/dist/serialization/types/FilterIdNotEqual.d.ts +12 -0
- package/dist/serialization/types/FilterIdNotEqual.js +33 -0
- package/dist/serialization/types/FilterIdNotIn.d.ts +12 -0
- package/dist/serialization/types/FilterIdNotIn.js +33 -0
- package/dist/serialization/types/FilterInteger.d.ts +31 -0
- package/dist/serialization/types/FilterInteger.js +53 -0
- package/dist/serialization/types/FilterIntegerBetween.d.ts +13 -0
- package/dist/serialization/types/FilterIntegerBetween.js +34 -0
- package/dist/serialization/types/FilterIntegerEqual.d.ts +12 -0
- package/dist/serialization/types/FilterIntegerEqual.js +33 -0
- package/dist/serialization/types/FilterIntegerGreaterThan.d.ts +12 -0
- package/dist/serialization/types/FilterIntegerGreaterThan.js +33 -0
- package/dist/serialization/types/FilterIntegerGreaterThanOrEqual.d.ts +12 -0
- package/dist/serialization/types/FilterIntegerGreaterThanOrEqual.js +33 -0
- package/dist/serialization/types/FilterIntegerLessThan.d.ts +12 -0
- package/dist/serialization/types/FilterIntegerLessThan.js +33 -0
- package/dist/serialization/types/FilterIntegerLessThanOrEqual.d.ts +12 -0
- package/dist/serialization/types/FilterIntegerLessThanOrEqual.js +33 -0
- package/dist/serialization/types/FilterIntegerNotEqual.d.ts +12 -0
- package/dist/serialization/types/FilterIntegerNotEqual.js +33 -0
- package/dist/serialization/types/FilterString.d.ts +16 -0
- package/dist/serialization/types/FilterString.js +48 -0
- package/dist/serialization/types/FilterStringEqual.d.ts +12 -0
- package/dist/serialization/types/FilterStringEqual.js +33 -0
- package/dist/serialization/types/FilterStringNotEqual.d.ts +12 -0
- package/dist/serialization/types/FilterStringNotEqual.js +33 -0
- package/dist/serialization/types/FilterTimestamp.d.ts +31 -0
- package/dist/serialization/types/FilterTimestamp.js +53 -0
- package/dist/serialization/types/FilterTimestampBetween.d.ts +13 -0
- package/dist/serialization/types/FilterTimestampBetween.js +34 -0
- package/dist/serialization/types/FilterTimestampEqual.d.ts +12 -0
- package/dist/serialization/types/FilterTimestampEqual.js +33 -0
- package/dist/serialization/types/FilterTimestampGreaterThan.d.ts +12 -0
- package/dist/serialization/types/FilterTimestampGreaterThan.js +33 -0
- package/dist/serialization/types/FilterTimestampGreaterThanOrEqual.d.ts +12 -0
- package/dist/serialization/types/FilterTimestampGreaterThanOrEqual.js +33 -0
- package/dist/serialization/types/FilterTimestampIsNotNull.d.ts +11 -0
- package/dist/serialization/types/FilterTimestampIsNotNull.js +31 -0
- package/dist/serialization/types/FilterTimestampIsNull.d.ts +11 -0
- package/dist/serialization/types/FilterTimestampIsNull.js +31 -0
- package/dist/serialization/types/FilterTimestampLessThan.d.ts +12 -0
- package/dist/serialization/types/FilterTimestampLessThan.js +33 -0
- package/dist/serialization/types/FilterTimestampLessThanOrEqual.d.ts +12 -0
- package/dist/serialization/types/FilterTimestampLessThanOrEqual.js +33 -0
- package/dist/serialization/types/FilterTimestampNotEqual.d.ts +12 -0
- package/dist/serialization/types/FilterTimestampNotEqual.js +33 -0
- package/dist/serialization/types/FilterTimestampOptional.d.ts +37 -0
- package/dist/serialization/types/FilterTimestampOptional.js +55 -0
- package/dist/serialization/types/HashCrc32.d.ts +10 -0
- package/dist/serialization/types/HashCrc32.js +31 -0
- package/dist/serialization/types/HashCrc32C.d.ts +10 -0
- package/dist/serialization/types/HashCrc32C.js +31 -0
- package/dist/serialization/types/HashSha1.d.ts +10 -0
- package/dist/serialization/types/HashSha1.js +31 -0
- package/dist/serialization/types/HashSha256.d.ts +10 -0
- package/dist/serialization/types/HashSha256.js +31 -0
- package/dist/serialization/types/HttpMethod.d.ts +10 -0
- package/dist/serialization/types/HttpMethod.js +31 -0
- package/dist/serialization/types/HttpRequestPart.d.ts +10 -0
- package/dist/serialization/types/HttpRequestPart.js +31 -0
- package/dist/serialization/types/LabelValue.d.ts +10 -0
- package/dist/serialization/types/LabelValue.js +31 -0
- package/dist/serialization/types/Labels.d.ts +10 -0
- package/dist/serialization/types/Labels.js +40 -0
- package/dist/serialization/types/Owner.d.ts +13 -0
- package/dist/serialization/types/Owner.js +34 -0
- package/dist/serialization/types/OwnerField.d.ts +10 -0
- package/dist/serialization/types/OwnerField.js +42 -0
- package/dist/serialization/types/OwnerFilter.d.ts +20 -0
- package/dist/serialization/types/OwnerFilter.js +50 -0
- package/dist/serialization/types/OwnerFilterData.d.ts +13 -0
- package/dist/serialization/types/OwnerFilterData.js +43 -0
- package/dist/serialization/types/OwnerInput.d.ts +14 -0
- package/dist/serialization/types/OwnerInput.js +44 -0
- package/dist/serialization/types/OwnerList.d.ts +12 -0
- package/dist/serialization/types/OwnerList.js +42 -0
- package/dist/serialization/types/OwnerResource.d.ts +21 -0
- package/dist/serialization/types/OwnerResource.js +51 -0
- package/dist/serialization/types/OwnerSort.d.ts +13 -0
- package/dist/serialization/types/OwnerSort.js +43 -0
- package/dist/serialization/types/Pet.d.ts +14 -0
- package/dist/serialization/types/Pet.js +44 -0
- package/dist/serialization/types/PetField.d.ts +10 -0
- package/dist/serialization/types/PetField.js +43 -0
- package/dist/serialization/types/PetFilter.d.ts +20 -0
- package/dist/serialization/types/PetFilter.js +50 -0
- package/dist/serialization/types/PetFilterData.d.ts +14 -0
- package/dist/serialization/types/PetFilterData.js +44 -0
- package/dist/serialization/types/PetInput.d.ts +13 -0
- package/dist/serialization/types/PetInput.js +43 -0
- package/dist/serialization/types/PetList.d.ts +12 -0
- package/dist/serialization/types/PetList.js +42 -0
- package/dist/serialization/types/PetResource.d.ts +21 -0
- package/dist/serialization/types/PetResource.js +51 -0
- package/dist/serialization/types/PetSort.d.ts +13 -0
- package/dist/serialization/types/PetSort.js +43 -0
- package/dist/serialization/types/ProblemBodyContent.d.ts +16 -0
- package/dist/serialization/types/ProblemBodyContent.js +46 -0
- package/dist/serialization/types/ProblemForbidden.d.ts +16 -0
- package/dist/serialization/types/ProblemForbidden.js +46 -0
- package/dist/serialization/types/ProblemInternalServerError.d.ts +16 -0
- package/dist/serialization/types/ProblemInternalServerError.js +46 -0
- package/dist/serialization/types/ProblemNotFoundBlob.d.ts +17 -0
- package/dist/serialization/types/ProblemNotFoundBlob.js +47 -0
- package/dist/serialization/types/ProblemNotFoundResource.d.ts +17 -0
- package/dist/serialization/types/ProblemNotFoundResource.js +47 -0
- package/dist/serialization/types/ProblemNotFoundRevision.d.ts +17 -0
- package/dist/serialization/types/ProblemNotFoundRevision.js +47 -0
- package/dist/serialization/types/ProblemNullUnicode.d.ts +17 -0
- package/dist/serialization/types/ProblemNullUnicode.js +47 -0
- package/dist/serialization/types/ProblemResourceConflict.d.ts +18 -0
- package/dist/serialization/types/ProblemResourceConflict.js +48 -0
- package/dist/serialization/types/ProblemResourceMethodNotAllowed.d.ts +19 -0
- package/dist/serialization/types/ProblemResourceMethodNotAllowed.js +49 -0
- package/dist/serialization/types/ProblemUnauthorized.d.ts +16 -0
- package/dist/serialization/types/ProblemUnauthorized.js +46 -0
- package/dist/serialization/types/ProblemUnsupportedMediaType.d.ts +17 -0
- package/dist/serialization/types/ProblemUnsupportedMediaType.js +47 -0
- package/dist/serialization/types/ProblemValidation.d.ts +18 -0
- package/dist/serialization/types/ProblemValidation.js +48 -0
- package/dist/serialization/types/RequestedETag.d.ts +14 -0
- package/dist/serialization/types/RequestedETag.js +44 -0
- package/dist/serialization/types/RequestedRevision.d.ts +14 -0
- package/dist/serialization/types/RequestedRevision.js +44 -0
- package/dist/serialization/types/Resource.d.ts +20 -0
- package/dist/serialization/types/Resource.js +50 -0
- package/dist/serialization/types/ResourceId.d.ts +10 -0
- package/dist/serialization/types/ResourceId.js +31 -0
- package/dist/serialization/types/ResourceKind.d.ts +13 -0
- package/dist/serialization/types/ResourceKind.js +43 -0
- package/dist/serialization/types/ResourceName.d.ts +10 -0
- package/dist/serialization/types/ResourceName.js +31 -0
- package/dist/serialization/types/ResourceVersion.d.ts +10 -0
- package/dist/serialization/types/ResourceVersion.js +31 -0
- package/dist/serialization/types/Revision.d.ts +10 -0
- package/dist/serialization/types/Revision.js +31 -0
- package/dist/serialization/types/SortOrder.d.ts +10 -0
- package/dist/serialization/types/SortOrder.js +31 -0
- package/dist/serialization/types/Species.d.ts +10 -0
- package/dist/serialization/types/Species.js +35 -0
- package/dist/serialization/types/Timestamp.d.ts +10 -0
- package/dist/serialization/types/Timestamp.js +31 -0
- package/dist/serialization/types/UploadResponse.d.ts +15 -0
- package/dist/serialization/types/UploadResponse.js +45 -0
- package/dist/serialization/types/Uri.d.ts +10 -0
- package/dist/serialization/types/Uri.js +31 -0
- package/dist/serialization/types/UriReference.d.ts +10 -0
- package/dist/serialization/types/UriReference.js +31 -0
- package/dist/serialization/types/ValidationError.d.ts +14 -0
- package/dist/serialization/types/ValidationError.js +46 -0
- package/dist/serialization/types/index.d.ts +91 -0
- package/dist/serialization/types/index.js +107 -0
- package/environments.d.ts +7 -0
- package/environments.js +9 -0
- package/errors/TruvityError.d.ts +12 -0
- package/errors/TruvityError.js +32 -0
- package/errors/TruvityTimeoutError.d.ts +6 -0
- package/errors/TruvityTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -0
- package/index.js +34 -0
- package/jest.config.js +5 -0
- package/package.json +31 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/resources/index.d.ts +4 -0
- package/serialization/resources/index.js +33 -0
- package/serialization/resources/owners/client/index.d.ts +1 -0
- package/serialization/resources/owners/client/index.js +17 -0
- package/serialization/resources/owners/client/requests/OwnerSearch.d.ts +13 -0
- package/serialization/resources/owners/client/requests/OwnerSearch.js +47 -0
- package/serialization/resources/owners/client/requests/index.d.ts +1 -0
- package/serialization/resources/owners/client/requests/index.js +5 -0
- package/serialization/resources/owners/index.d.ts +1 -0
- package/serialization/resources/owners/index.js +17 -0
- package/serialization/resources/pets/client/index.d.ts +1 -0
- package/serialization/resources/pets/client/index.js +17 -0
- package/serialization/resources/pets/client/requests/PetSearch.d.ts +13 -0
- package/serialization/resources/pets/client/requests/PetSearch.js +47 -0
- package/serialization/resources/pets/client/requests/UploadRequest.d.ts +12 -0
- package/serialization/resources/pets/client/requests/UploadRequest.js +42 -0
- package/serialization/resources/pets/client/requests/index.d.ts +2 -0
- package/serialization/resources/pets/client/requests/index.js +7 -0
- package/serialization/resources/pets/index.d.ts +1 -0
- package/serialization/resources/pets/index.js +17 -0
- package/serialization/types/AnnotationValue.d.ts +10 -0
- package/serialization/types/AnnotationValue.js +31 -0
- package/serialization/types/Annotations.d.ts +10 -0
- package/serialization/types/Annotations.js +40 -0
- package/serialization/types/BadRequestErrorBody.d.ts +19 -0
- package/serialization/types/BadRequestErrorBody.js +49 -0
- package/serialization/types/BlobId.d.ts +10 -0
- package/serialization/types/BlobId.js +31 -0
- package/serialization/types/Checksum.d.ts +22 -0
- package/serialization/types/Checksum.js +50 -0
- package/serialization/types/ChecksumAlgorithm.d.ts +10 -0
- package/serialization/types/ChecksumAlgorithm.js +31 -0
- package/serialization/types/ChecksumCrc32.d.ts +12 -0
- package/serialization/types/ChecksumCrc32.js +42 -0
- package/serialization/types/ChecksumCrc32C.d.ts +12 -0
- package/serialization/types/ChecksumCrc32C.js +42 -0
- package/serialization/types/ChecksumSha1.d.ts +12 -0
- package/serialization/types/ChecksumSha1.js +42 -0
- package/serialization/types/ChecksumSha256.d.ts +12 -0
- package/serialization/types/ChecksumSha256.js +42 -0
- package/serialization/types/ContentType.d.ts +10 -0
- package/serialization/types/ContentType.js +31 -0
- package/serialization/types/Download.d.ts +10 -0
- package/serialization/types/Download.js +31 -0
- package/serialization/types/ETag.d.ts +10 -0
- package/serialization/types/ETag.js +31 -0
- package/serialization/types/FilterId.d.ts +22 -0
- package/serialization/types/FilterId.js +50 -0
- package/serialization/types/FilterIdEqual.d.ts +12 -0
- package/serialization/types/FilterIdEqual.js +33 -0
- package/serialization/types/FilterIdIn.d.ts +12 -0
- package/serialization/types/FilterIdIn.js +33 -0
- package/serialization/types/FilterIdNotEqual.d.ts +12 -0
- package/serialization/types/FilterIdNotEqual.js +33 -0
- package/serialization/types/FilterIdNotIn.d.ts +12 -0
- package/serialization/types/FilterIdNotIn.js +33 -0
- package/serialization/types/FilterInteger.d.ts +31 -0
- package/serialization/types/FilterInteger.js +53 -0
- package/serialization/types/FilterIntegerBetween.d.ts +13 -0
- package/serialization/types/FilterIntegerBetween.js +34 -0
- package/serialization/types/FilterIntegerEqual.d.ts +12 -0
- package/serialization/types/FilterIntegerEqual.js +33 -0
- package/serialization/types/FilterIntegerGreaterThan.d.ts +12 -0
- package/serialization/types/FilterIntegerGreaterThan.js +33 -0
- package/serialization/types/FilterIntegerGreaterThanOrEqual.d.ts +12 -0
- package/serialization/types/FilterIntegerGreaterThanOrEqual.js +33 -0
- package/serialization/types/FilterIntegerLessThan.d.ts +12 -0
- package/serialization/types/FilterIntegerLessThan.js +33 -0
- package/serialization/types/FilterIntegerLessThanOrEqual.d.ts +12 -0
- package/serialization/types/FilterIntegerLessThanOrEqual.js +33 -0
- package/serialization/types/FilterIntegerNotEqual.d.ts +12 -0
- package/serialization/types/FilterIntegerNotEqual.js +33 -0
- package/serialization/types/FilterString.d.ts +16 -0
- package/serialization/types/FilterString.js +48 -0
- package/serialization/types/FilterStringEqual.d.ts +12 -0
- package/serialization/types/FilterStringEqual.js +33 -0
- package/serialization/types/FilterStringNotEqual.d.ts +12 -0
- package/serialization/types/FilterStringNotEqual.js +33 -0
- package/serialization/types/FilterTimestamp.d.ts +31 -0
- package/serialization/types/FilterTimestamp.js +53 -0
- package/serialization/types/FilterTimestampBetween.d.ts +13 -0
- package/serialization/types/FilterTimestampBetween.js +34 -0
- package/serialization/types/FilterTimestampEqual.d.ts +12 -0
- package/serialization/types/FilterTimestampEqual.js +33 -0
- package/serialization/types/FilterTimestampGreaterThan.d.ts +12 -0
- package/serialization/types/FilterTimestampGreaterThan.js +33 -0
- package/serialization/types/FilterTimestampGreaterThanOrEqual.d.ts +12 -0
- package/serialization/types/FilterTimestampGreaterThanOrEqual.js +33 -0
- package/serialization/types/FilterTimestampIsNotNull.d.ts +11 -0
- package/serialization/types/FilterTimestampIsNotNull.js +31 -0
- package/serialization/types/FilterTimestampIsNull.d.ts +11 -0
- package/serialization/types/FilterTimestampIsNull.js +31 -0
- package/serialization/types/FilterTimestampLessThan.d.ts +12 -0
- package/serialization/types/FilterTimestampLessThan.js +33 -0
- package/serialization/types/FilterTimestampLessThanOrEqual.d.ts +12 -0
- package/serialization/types/FilterTimestampLessThanOrEqual.js +33 -0
- package/serialization/types/FilterTimestampNotEqual.d.ts +12 -0
- package/serialization/types/FilterTimestampNotEqual.js +33 -0
- package/serialization/types/FilterTimestampOptional.d.ts +37 -0
- package/serialization/types/FilterTimestampOptional.js +55 -0
- package/serialization/types/HashCrc32.d.ts +10 -0
- package/serialization/types/HashCrc32.js +31 -0
- package/serialization/types/HashCrc32C.d.ts +10 -0
- package/serialization/types/HashCrc32C.js +31 -0
- package/serialization/types/HashSha1.d.ts +10 -0
- package/serialization/types/HashSha1.js +31 -0
- package/serialization/types/HashSha256.d.ts +10 -0
- package/serialization/types/HashSha256.js +31 -0
- package/serialization/types/HttpMethod.d.ts +10 -0
- package/serialization/types/HttpMethod.js +31 -0
- package/serialization/types/HttpRequestPart.d.ts +10 -0
- package/serialization/types/HttpRequestPart.js +31 -0
- package/serialization/types/LabelValue.d.ts +10 -0
- package/serialization/types/LabelValue.js +31 -0
- package/serialization/types/Labels.d.ts +10 -0
- package/serialization/types/Labels.js +40 -0
- package/serialization/types/Owner.d.ts +13 -0
- package/serialization/types/Owner.js +34 -0
- package/serialization/types/OwnerField.d.ts +10 -0
- package/serialization/types/OwnerField.js +42 -0
- package/serialization/types/OwnerFilter.d.ts +20 -0
- package/serialization/types/OwnerFilter.js +50 -0
- package/serialization/types/OwnerFilterData.d.ts +13 -0
- package/serialization/types/OwnerFilterData.js +43 -0
- package/serialization/types/OwnerInput.d.ts +14 -0
- package/serialization/types/OwnerInput.js +44 -0
- package/serialization/types/OwnerList.d.ts +12 -0
- package/serialization/types/OwnerList.js +42 -0
- package/serialization/types/OwnerResource.d.ts +21 -0
- package/serialization/types/OwnerResource.js +51 -0
- package/serialization/types/OwnerSort.d.ts +13 -0
- package/serialization/types/OwnerSort.js +43 -0
- package/serialization/types/Pet.d.ts +14 -0
- package/serialization/types/Pet.js +44 -0
- package/serialization/types/PetField.d.ts +10 -0
- package/serialization/types/PetField.js +43 -0
- package/serialization/types/PetFilter.d.ts +20 -0
- package/serialization/types/PetFilter.js +50 -0
- package/serialization/types/PetFilterData.d.ts +14 -0
- package/serialization/types/PetFilterData.js +44 -0
- package/serialization/types/PetInput.d.ts +13 -0
- package/serialization/types/PetInput.js +43 -0
- package/serialization/types/PetList.d.ts +12 -0
- package/serialization/types/PetList.js +42 -0
- package/serialization/types/PetResource.d.ts +21 -0
- package/serialization/types/PetResource.js +51 -0
- package/serialization/types/PetSort.d.ts +13 -0
- package/serialization/types/PetSort.js +43 -0
- package/serialization/types/ProblemBodyContent.d.ts +16 -0
- package/serialization/types/ProblemBodyContent.js +46 -0
- package/serialization/types/ProblemForbidden.d.ts +16 -0
- package/serialization/types/ProblemForbidden.js +46 -0
- package/serialization/types/ProblemInternalServerError.d.ts +16 -0
- package/serialization/types/ProblemInternalServerError.js +46 -0
- package/serialization/types/ProblemNotFoundBlob.d.ts +17 -0
- package/serialization/types/ProblemNotFoundBlob.js +47 -0
- package/serialization/types/ProblemNotFoundResource.d.ts +17 -0
- package/serialization/types/ProblemNotFoundResource.js +47 -0
- package/serialization/types/ProblemNotFoundRevision.d.ts +17 -0
- package/serialization/types/ProblemNotFoundRevision.js +47 -0
- package/serialization/types/ProblemNullUnicode.d.ts +17 -0
- package/serialization/types/ProblemNullUnicode.js +47 -0
- package/serialization/types/ProblemResourceConflict.d.ts +18 -0
- package/serialization/types/ProblemResourceConflict.js +48 -0
- package/serialization/types/ProblemResourceMethodNotAllowed.d.ts +19 -0
- package/serialization/types/ProblemResourceMethodNotAllowed.js +49 -0
- package/serialization/types/ProblemUnauthorized.d.ts +16 -0
- package/serialization/types/ProblemUnauthorized.js +46 -0
- package/serialization/types/ProblemUnsupportedMediaType.d.ts +17 -0
- package/serialization/types/ProblemUnsupportedMediaType.js +47 -0
- package/serialization/types/ProblemValidation.d.ts +18 -0
- package/serialization/types/ProblemValidation.js +48 -0
- package/serialization/types/RequestedETag.d.ts +14 -0
- package/serialization/types/RequestedETag.js +44 -0
- package/serialization/types/RequestedRevision.d.ts +14 -0
- package/serialization/types/RequestedRevision.js +44 -0
- package/serialization/types/Resource.d.ts +20 -0
- package/serialization/types/Resource.js +50 -0
- package/serialization/types/ResourceId.d.ts +10 -0
- package/serialization/types/ResourceId.js +31 -0
- package/serialization/types/ResourceKind.d.ts +13 -0
- package/serialization/types/ResourceKind.js +43 -0
- package/serialization/types/ResourceName.d.ts +10 -0
- package/serialization/types/ResourceName.js +31 -0
- package/serialization/types/ResourceVersion.d.ts +10 -0
- package/serialization/types/ResourceVersion.js +31 -0
- package/serialization/types/Revision.d.ts +10 -0
- package/serialization/types/Revision.js +31 -0
- package/serialization/types/SortOrder.d.ts +10 -0
- package/serialization/types/SortOrder.js +31 -0
- package/serialization/types/Species.d.ts +10 -0
- package/serialization/types/Species.js +35 -0
- package/serialization/types/Timestamp.d.ts +10 -0
- package/serialization/types/Timestamp.js +31 -0
- package/serialization/types/UploadResponse.d.ts +15 -0
- package/serialization/types/UploadResponse.js +45 -0
- package/serialization/types/Uri.d.ts +10 -0
- package/serialization/types/Uri.js +31 -0
- package/serialization/types/UriReference.d.ts +10 -0
- package/serialization/types/UriReference.js +31 -0
- package/serialization/types/ValidationError.d.ts +14 -0
- package/serialization/types/ValidationError.js +46 -0
- package/serialization/types/index.d.ts +91 -0
- package/serialization/types/index.js +107 -0
- package/tests/client.test.ts +11 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../..";
|
|
5
|
+
import * as Truvity from "../../../../../api";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const UploadRequest: core.serialization.Schema<serializers.UploadRequest.Raw, Omit<Truvity.UploadRequest, "idempotencyKey">>;
|
|
8
|
+
export declare namespace UploadRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
checksum?: serializers.Checksum.Raw | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UploadRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../../core"));
|
|
40
|
+
exports.UploadRequest = core.serialization.object({
|
|
41
|
+
checksum: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Checksum; })).optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadRequest = exports.PetSearch = void 0;
|
|
4
|
+
var PetSearch_1 = require("./PetSearch");
|
|
5
|
+
Object.defineProperty(exports, "PetSearch", { enumerable: true, get: function () { return PetSearch_1.PetSearch; } });
|
|
6
|
+
var UploadRequest_1 = require("./UploadRequest");
|
|
7
|
+
Object.defineProperty(exports, "UploadRequest", { enumerable: true, get: function () { return UploadRequest_1.UploadRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const AnnotationValue: core.serialization.Schema<serializers.AnnotationValue.Raw, Truvity.AnnotationValue>;
|
|
8
|
+
export declare namespace AnnotationValue {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.AnnotationValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.AnnotationValue = core.serialization.string();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Annotations: core.serialization.Schema<serializers.Annotations.Raw, Truvity.Annotations>;
|
|
8
|
+
export declare namespace Annotations {
|
|
9
|
+
type Raw = Record<string, serializers.AnnotationValue.Raw>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Annotations = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Annotations = core.serialization.record(core.serialization.string(), core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AnnotationValue; })));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BadRequestErrorBody: core.serialization.Schema<serializers.BadRequestErrorBody.Raw, Truvity.BadRequestErrorBody>;
|
|
8
|
+
export declare namespace BadRequestErrorBody {
|
|
9
|
+
type Raw = BadRequestErrorBody.BadRequestBodyContent | BadRequestErrorBody.BadRequestHasNullUnicodeCharacter | BadRequestErrorBody.BadRequestValidation;
|
|
10
|
+
interface BadRequestBodyContent extends serializers.ProblemBodyContent.Raw {
|
|
11
|
+
type: "/bad-request/body-content";
|
|
12
|
+
}
|
|
13
|
+
interface BadRequestHasNullUnicodeCharacter extends serializers.ProblemNullUnicode.Raw {
|
|
14
|
+
type: "/bad-request/has-null-unicode-character";
|
|
15
|
+
}
|
|
16
|
+
interface BadRequestValidation extends serializers.ProblemValidation.Raw {
|
|
17
|
+
type: "/bad-request/validation";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.BadRequestErrorBody = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.BadRequestErrorBody = core.serialization
|
|
41
|
+
.union("type", {
|
|
42
|
+
"/bad-request/body-content": core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProblemBodyContent; })),
|
|
43
|
+
"/bad-request/has-null-unicode-character": core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProblemNullUnicode; })),
|
|
44
|
+
"/bad-request/validation": core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProblemValidation; })),
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BlobId: core.serialization.Schema<serializers.BlobId.Raw, Truvity.BlobId>;
|
|
8
|
+
export declare namespace BlobId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.BlobId = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.BlobId = core.serialization.string();
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Checksum: core.serialization.Schema<serializers.Checksum.Raw, Truvity.Checksum>;
|
|
8
|
+
export declare namespace Checksum {
|
|
9
|
+
type Raw = Checksum.Crc32 | Checksum.Crc32C | Checksum.Sha1 | Checksum.Sha256;
|
|
10
|
+
interface Crc32 extends serializers.ChecksumCrc32.Raw {
|
|
11
|
+
algorithm: "CRC32";
|
|
12
|
+
}
|
|
13
|
+
interface Crc32C extends serializers.ChecksumCrc32C.Raw {
|
|
14
|
+
algorithm: "CRC32C";
|
|
15
|
+
}
|
|
16
|
+
interface Sha1 extends serializers.ChecksumSha1.Raw {
|
|
17
|
+
algorithm: "SHA1";
|
|
18
|
+
}
|
|
19
|
+
interface Sha256 extends serializers.ChecksumSha256.Raw {
|
|
20
|
+
algorithm: "SHA256";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Checksum = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Checksum = core.serialization
|
|
41
|
+
.union("algorithm", {
|
|
42
|
+
CRC32: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChecksumCrc32; })),
|
|
43
|
+
CRC32C: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChecksumCrc32C; })),
|
|
44
|
+
SHA1: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChecksumSha1; })),
|
|
45
|
+
SHA256: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChecksumSha256; })),
|
|
46
|
+
})
|
|
47
|
+
.transform({
|
|
48
|
+
transform: (value) => value,
|
|
49
|
+
untransform: (value) => value,
|
|
50
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChecksumAlgorithm: core.serialization.Schema<serializers.ChecksumAlgorithm.Raw, Truvity.ChecksumAlgorithm>;
|
|
8
|
+
export declare namespace ChecksumAlgorithm {
|
|
9
|
+
type Raw = "CRC32" | "CRC32C" | "SHA1" | "SHA256";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ChecksumAlgorithm = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ChecksumAlgorithm = core.serialization.enum_(["CRC32", "CRC32C", "SHA1", "SHA256"]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChecksumCrc32: core.serialization.ObjectSchema<serializers.ChecksumCrc32.Raw, Truvity.ChecksumCrc32>;
|
|
8
|
+
export declare namespace ChecksumCrc32 {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: serializers.HashCrc32.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ChecksumCrc32 = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ChecksumCrc32 = core.serialization.object({
|
|
41
|
+
value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).HashCrc32; })),
|
|
42
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChecksumCrc32C: core.serialization.ObjectSchema<serializers.ChecksumCrc32C.Raw, Truvity.ChecksumCrc32C>;
|
|
8
|
+
export declare namespace ChecksumCrc32C {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: serializers.HashCrc32C.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ChecksumCrc32C = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ChecksumCrc32C = core.serialization.object({
|
|
41
|
+
value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).HashCrc32C; })),
|
|
42
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChecksumSha1: core.serialization.ObjectSchema<serializers.ChecksumSha1.Raw, Truvity.ChecksumSha1>;
|
|
8
|
+
export declare namespace ChecksumSha1 {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: serializers.HashSha1.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ChecksumSha1 = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ChecksumSha1 = core.serialization.object({
|
|
41
|
+
value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).HashSha1; })),
|
|
42
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Truvity from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChecksumSha256: core.serialization.ObjectSchema<serializers.ChecksumSha256.Raw, Truvity.ChecksumSha256>;
|
|
8
|
+
export declare namespace ChecksumSha256 {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: serializers.HashSha256.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ChecksumSha256 = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ChecksumSha256 = core.serialization.object({
|
|
41
|
+
value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).HashSha256; })),
|
|
42
|
+
});
|