@bfra.me/api-core 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +18 -0
- package/README.md +18 -0
- package/dist/chunk-7NM3WYHE.js +32 -0
- package/dist/chunk-7NM3WYHE.js.map +1 -0
- package/dist/chunk-7QVYU63E.js +7 -0
- package/dist/chunk-7QVYU63E.js.map +1 -0
- package/dist/chunk-HKKQOEV3.js +786 -0
- package/dist/chunk-HKKQOEV3.js.map +1 -0
- package/dist/errors/fetchError.d.ts +13 -0
- package/dist/errors/fetchError.js +8 -0
- package/dist/errors/fetchError.js.map +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +105 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/index.d.ts +59 -0
- package/dist/lib/index.js +16 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/types.d.ts +22 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -0
- package/eslint.config.ts +25 -0
- package/package.json +67 -0
- package/src/errors/fetchError.ts +29 -0
- package/src/index.ts +134 -0
- package/src/lib/getJSONSchemaDefaults.ts +77 -0
- package/src/lib/index.ts +7 -0
- package/src/lib/parseResponse.ts +28 -0
- package/src/lib/prepareAuth.ts +107 -0
- package/src/lib/prepareParams.ts +439 -0
- package/src/lib/prepareServer.ts +52 -0
- package/src/types.ts +28 -0
- package/test-utils/CHANGELOG.md +11 -0
- package/test-utils/datasets/real-world-apis.json +8507 -0
- package/test-utils/datasets/refresh-dataset +336 -0
- package/test-utils/definitions/alby.json +5391 -0
- package/test-utils/definitions/auth-quirks.json +62 -0
- package/test-utils/definitions/basiq.json +104 -0
- package/test-utils/definitions/metrotransit.json +318 -0
- package/test-utils/definitions/nested-defaults.json +107 -0
- package/test-utils/definitions/operationid-quirks.json +36 -0
- package/test-utils/definitions/optional-payload.json +57 -0
- package/test-utils/definitions/payloads.json +58 -0
- package/test-utils/definitions/response-title-quirks.json +77 -0
- package/test-utils/definitions/simple.json +291 -0
- package/test-utils/fetch-mock.ts +81 -0
- package/test-utils/fixtures/hello.jp.txt +1 -0
- package/test-utils/fixtures/hello.txt +1 -0
- package/test-utils/fixtures/owlbert-shrub.png +0 -0
- package/test-utils/fixtures/owlbert.png +0 -0
- package/test-utils/index.ts +2 -0
- package/test-utils/load-spec.ts +8 -0
- package/test-utils/node_modules/.bin/tsc +17 -0
- package/test-utils/node_modules/.bin/tsserver +17 -0
- package/test-utils/package.json +20 -0
- package/test-utils/sdks/README.md +3 -0
- package/test-utils/sdks/alby/README.md +23 -0
- package/test-utils/sdks/alby/package.json +55 -0
- package/test-utils/sdks/alby/src/index.ts +18 -0
- package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePatch.ts +92 -0
- package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePost.ts +93 -0
- package/test-utils/sdks/alby/src/schemas/AmqpExternalRuleResponse.ts +143 -0
- package/test-utils/sdks/alby/src/schemas/AmqpRulePatch.ts +76 -0
- package/test-utils/sdks/alby/src/schemas/AmqpRulePost.ts +85 -0
- package/test-utils/sdks/alby/src/schemas/AmqpRuleResponse.ts +124 -0
- package/test-utils/sdks/alby/src/schemas/AppPatch.ts +68 -0
- package/test-utils/sdks/alby/src/schemas/AppPkcs12.ts +22 -0
- package/test-utils/sdks/alby/src/schemas/AppPost.ts +71 -0
- package/test-utils/sdks/alby/src/schemas/AppResponse.ts +69 -0
- package/test-utils/sdks/alby/src/schemas/AwsAccessKeys.ts +28 -0
- package/test-utils/sdks/alby/src/schemas/AwsAccessKeysResponse.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/AwsAssumeRole.ts +23 -0
- package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePatch.ts +90 -0
- package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePost.ts +103 -0
- package/test-utils/sdks/alby/src/schemas/AwsKinesisRuleResponse.ts +142 -0
- package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePatch.ts +90 -0
- package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePost.ts +90 -0
- package/test-utils/sdks/alby/src/schemas/AwsLambdaRuleResponse.ts +132 -0
- package/test-utils/sdks/alby/src/schemas/AwsSqsRulePatch.ts +86 -0
- package/test-utils/sdks/alby/src/schemas/AwsSqsRulePost.ts +98 -0
- package/test-utils/sdks/alby/src/schemas/AwsSqsRuleResponse.ts +137 -0
- package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePatch.ts +96 -0
- package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePost.ts +106 -0
- package/test-utils/sdks/alby/src/schemas/AzureFunctionRuleResponse.ts +145 -0
- package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePatch.ts +74 -0
- package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePost.ts +83 -0
- package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRuleResponse.ts +125 -0
- package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdNamespacesNamespaceId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdQueuesQueueId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdRulesRuleId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/DeleteAppsId.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/Error.ts +39 -0
- package/test-utils/sdks/alby/src/schemas/GetAccountsAccountIdApps.ts +29 -0
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdKeys.ts +29 -0
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdNamespaces.ts +29 -0
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdQueues.ts +29 -0
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRules.ts +29 -0
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRulesRuleId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePatch.ts +100 -0
- package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePost.ts +100 -0
- package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRuleResponse.ts +150 -0
- package/test-utils/sdks/alby/src/schemas/HttpRulePatch.ts +89 -0
- package/test-utils/sdks/alby/src/schemas/HttpRulePost.ts +100 -0
- package/test-utils/sdks/alby/src/schemas/HttpRuleResponse.ts +138 -0
- package/test-utils/sdks/alby/src/schemas/IftttRulePatch.ts +59 -0
- package/test-utils/sdks/alby/src/schemas/IftttRulePost.ts +62 -0
- package/test-utils/sdks/alby/src/schemas/IftttRuleResponse.ts +101 -0
- package/test-utils/sdks/alby/src/schemas/KeyPatch.ts +34 -0
- package/test-utils/sdks/alby/src/schemas/KeyPost.ts +39 -0
- package/test-utils/sdks/alby/src/schemas/KeyResponse.ts +63 -0
- package/test-utils/sdks/alby/src/schemas/Me.ts +98 -0
- package/test-utils/sdks/alby/src/schemas/NamespacePatch.ts +49 -0
- package/test-utils/sdks/alby/src/schemas/NamespacePost.ts +59 -0
- package/test-utils/sdks/alby/src/schemas/NamespaceResponse.ts +70 -0
- package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdKeysKeyId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdNamespacesNamespaceId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdRulesRuleId.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/PatchAppsId.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/PostAccountsAccountIdApps.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeys.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeysKeyIdRevoke.ts +26 -0
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdNamespaces.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdQueues.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdRules.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/PostAppsIdPkcs12.ts +20 -0
- package/test-utils/sdks/alby/src/schemas/Queue.ts +43 -0
- package/test-utils/sdks/alby/src/schemas/QueueResponse.ts +185 -0
- package/test-utils/sdks/alby/src/schemas/RulePatch.ts +46 -0
- package/test-utils/sdks/alby/src/schemas/RulePost.ts +49 -0
- package/test-utils/sdks/alby/src/schemas/RuleResponse.ts +46 -0
- package/test-utils/sdks/alby/src/schemas/RuleSource.ts +30 -0
- package/test-utils/sdks/alby/src/schemas/UnsupportedRuleResponse.ts +98 -0
- package/test-utils/sdks/alby/src/schemas/ZapierRulePatch.ts +74 -0
- package/test-utils/sdks/alby/src/schemas/ZapierRulePost.ts +83 -0
- package/test-utils/sdks/alby/src/schemas/ZapierRuleResponse.ts +122 -0
- package/test-utils/sdks/alby/src/schemas.ts +77 -0
- package/test-utils/sdks/alby/src/sdk.ts +381 -0
- package/test-utils/sdks/alby/src/types.ts +84 -0
- package/test-utils/sdks/alby/tsconfig.json +12 -0
- package/test-utils/sdks/metrotransit/README.md +22 -0
- package/test-utils/sdks/metrotransit/package.json +55 -0
- package/test-utils/sdks/metrotransit/src/index.ts +12 -0
- package/test-utils/sdks/metrotransit/src/schemas/Agency.ts +19 -0
- package/test-utils/sdks/metrotransit/src/schemas/AlertMessage.ts +18 -0
- package/test-utils/sdks/metrotransit/src/schemas/Departure.ts +78 -0
- package/test-utils/sdks/metrotransit/src/schemas/Direction.ts +19 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripAgencies.ts +12 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripDirectionsRouteId.ts +28 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripRouteIdDirectionIdPlaceCode.ts +30 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripRoutes.ts +12 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopId.ts +20 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopsRouteIdDirectionId.ts +34 -0
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripVehiclesRouteId.ts +28 -0
- package/test-utils/sdks/metrotransit/src/schemas/NexTripResult.ts +34 -0
- package/test-utils/sdks/metrotransit/src/schemas/Place.ts +21 -0
- package/test-utils/sdks/metrotransit/src/schemas/ProblemDetails.ts +40 -0
- package/test-utils/sdks/metrotransit/src/schemas/Route.ts +25 -0
- package/test-utils/sdks/metrotransit/src/schemas/Stop.ts +27 -0
- package/test-utils/sdks/metrotransit/src/schemas/Vehicle.ts +61 -0
- package/test-utils/sdks/metrotransit/src/schemas.ts +18 -0
- package/test-utils/sdks/metrotransit/src/sdk.ts +107 -0
- package/test-utils/sdks/metrotransit/src/types.ts +23 -0
- package/test-utils/sdks/metrotransit/tsconfig.json +12 -0
- package/test-utils/sdks/operationid-quirks/README.md +22 -0
- package/test-utils/sdks/operationid-quirks/package.json +50 -0
- package/test-utils/sdks/operationid-quirks/src/index.ts +9 -0
- package/test-utils/sdks/operationid-quirks/src/sdk.ts +107 -0
- package/test-utils/sdks/operationid-quirks/tsconfig.json +12 -0
- package/test-utils/sdks/optional-payload/README.md +14 -0
- package/test-utils/sdks/optional-payload/package.json +55 -0
- package/test-utils/sdks/optional-payload/src/index.ts +9 -0
- package/test-utils/sdks/optional-payload/src/schemas/UpdatePetWithForm.ts +35 -0
- package/test-utils/sdks/optional-payload/src/schemas.ts +2 -0
- package/test-utils/sdks/optional-payload/src/sdk.ts +82 -0
- package/test-utils/sdks/optional-payload/src/types.ts +5 -0
- package/test-utils/sdks/optional-payload/tsconfig.json +12 -0
- package/test-utils/sdks/petstore/LICENSE +97 -0
- package/test-utils/sdks/petstore/README.md +23 -0
- package/test-utils/sdks/petstore/package.json +56 -0
- package/test-utils/sdks/petstore/src/index.ts +17 -0
- package/test-utils/sdks/petstore/src/schemas/ApiResponse.ts +18 -0
- package/test-utils/sdks/petstore/src/schemas/Category.ts +15 -0
- package/test-utils/sdks/petstore/src/schemas/CreateUsersWithArrayInput.ts +10 -0
- package/test-utils/sdks/petstore/src/schemas/CreateUsersWithListInput.ts +10 -0
- package/test-utils/sdks/petstore/src/schemas/DeleteOrder.ts +22 -0
- package/test-utils/sdks/petstore/src/schemas/DeletePet.ts +31 -0
- package/test-utils/sdks/petstore/src/schemas/DeleteUser.ts +20 -0
- package/test-utils/sdks/petstore/src/schemas/FindPetsByStatus.ts +38 -0
- package/test-utils/sdks/petstore/src/schemas/FindPetsByTags.ts +32 -0
- package/test-utils/sdks/petstore/src/schemas/GetInventory.ts +13 -0
- package/test-utils/sdks/petstore/src/schemas/GetOrderById.ts +23 -0
- package/test-utils/sdks/petstore/src/schemas/GetPetById.ts +21 -0
- package/test-utils/sdks/petstore/src/schemas/GetUserByName.ts +20 -0
- package/test-utils/sdks/petstore/src/schemas/LoginUser.ts +32 -0
- package/test-utils/sdks/petstore/src/schemas/Order.ts +37 -0
- package/test-utils/sdks/petstore/src/schemas/Pet.ts +53 -0
- package/test-utils/sdks/petstore/src/schemas/Tag.ts +15 -0
- package/test-utils/sdks/petstore/src/schemas/UpdatePetWithForm.ts +35 -0
- package/test-utils/sdks/petstore/src/schemas/UpdateUser.ts +20 -0
- package/test-utils/sdks/petstore/src/schemas/UploadFile.ts +36 -0
- package/test-utils/sdks/petstore/src/schemas/User.ts +35 -0
- package/test-utils/sdks/petstore/src/schemas.ts +22 -0
- package/test-utils/sdks/petstore/src/sdk.ts +248 -0
- package/test-utils/sdks/petstore/src/types.ts +29 -0
- package/test-utils/sdks/petstore/tsconfig.json +12 -0
- package/test-utils/sdks/readme/README.md +23 -0
- package/test-utils/sdks/readme/package.json +55 -0
- package/test-utils/sdks/readme/src/index.ts +13 -0
- package/test-utils/sdks/readme/src/schemas/Apply.ts +61 -0
- package/test-utils/sdks/readme/src/schemas/Category.ts +24 -0
- package/test-utils/sdks/readme/src/schemas/Changelog.ts +36 -0
- package/test-utils/sdks/readme/src/schemas/CondensedProjectData.ts +25 -0
- package/test-utils/sdks/readme/src/schemas/CreateCategory.ts +21 -0
- package/test-utils/sdks/readme/src/schemas/CreateCustomPage.ts +22 -0
- package/test-utils/sdks/readme/src/schemas/CreateDoc.ts +40 -0
- package/test-utils/sdks/readme/src/schemas/CreateVersion.ts +33 -0
- package/test-utils/sdks/readme/src/schemas/CustomPage.ts +33 -0
- package/test-utils/sdks/readme/src/schemas/DeleteApiSpecification.ts +39 -0
- package/test-utils/sdks/readme/src/schemas/DeleteCategory.ts +37 -0
- package/test-utils/sdks/readme/src/schemas/DeleteChangelog.ts +20 -0
- package/test-utils/sdks/readme/src/schemas/DeleteCustomPage.ts +39 -0
- package/test-utils/sdks/readme/src/schemas/DeleteDoc.ts +53 -0
- package/test-utils/sdks/readme/src/schemas/DeleteVersion.ts +42 -0
- package/test-utils/sdks/readme/src/schemas/DocSchemaPost.ts +135 -0
- package/test-utils/sdks/readme/src/schemas/DocSchemaPut.ts +62 -0
- package/test-utils/sdks/readme/src/schemas/DocSchemaResponse.ts +54 -0
- package/test-utils/sdks/readme/src/schemas/ErrorApikeyEmpty.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorApikeyMismatch.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorApikeyNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorCategoryInvalid.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorCategoryNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorCustompageInvalid.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorCustompageNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorDocInvalid.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorDocNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorRegistryNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecFileEmpty.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecIdDuplicate.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecIdInvalid.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalid.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalidSchema.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecTimeout.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorSpecVersionNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionCantDemoteStable.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionCantRemoveStable.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionDuplicate.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionEmpty.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionForkEmpty.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionForkNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/ErrorVersionNotfound.ts +49 -0
- package/test-utils/sdks/readme/src/schemas/GetApiRegistry.ts +27 -0
- package/test-utils/sdks/readme/src/schemas/GetApiSchema.ts +10 -0
- package/test-utils/sdks/readme/src/schemas/GetApiSpecification.ts +74 -0
- package/test-utils/sdks/readme/src/schemas/GetCategories.ts +57 -0
- package/test-utils/sdks/readme/src/schemas/GetCategory.ts +37 -0
- package/test-utils/sdks/readme/src/schemas/GetCategoryDocs.ts +37 -0
- package/test-utils/sdks/readme/src/schemas/GetChangelog.ts +20 -0
- package/test-utils/sdks/readme/src/schemas/GetChangelogs.ts +43 -0
- package/test-utils/sdks/readme/src/schemas/GetCustomPage.ts +39 -0
- package/test-utils/sdks/readme/src/schemas/GetCustomPages.ts +60 -0
- package/test-utils/sdks/readme/src/schemas/GetDoc.ts +53 -0
- package/test-utils/sdks/readme/src/schemas/GetOpenRoles.ts +12 -0
- package/test-utils/sdks/readme/src/schemas/GetProductionDoc.ts +53 -0
- package/test-utils/sdks/readme/src/schemas/GetProject.ts +22 -0
- package/test-utils/sdks/readme/src/schemas/GetVersion.ts +42 -0
- package/test-utils/sdks/readme/src/schemas/GetVersions.ts +22 -0
- package/test-utils/sdks/readme/src/schemas/JobOpening.ts +52 -0
- package/test-utils/sdks/readme/src/schemas/SearchDocs.ts +53 -0
- package/test-utils/sdks/readme/src/schemas/UpdateApiSpecification.ts +67 -0
- package/test-utils/sdks/readme/src/schemas/UpdateCategory.ts +37 -0
- package/test-utils/sdks/readme/src/schemas/UpdateChangelog.ts +20 -0
- package/test-utils/sdks/readme/src/schemas/UpdateCustomPage.ts +39 -0
- package/test-utils/sdks/readme/src/schemas/UpdateDoc.ts +53 -0
- package/test-utils/sdks/readme/src/schemas/UpdateVersion.ts +42 -0
- package/test-utils/sdks/readme/src/schemas/UploadApiSpecification.ts +64 -0
- package/test-utils/sdks/readme/src/schemas/Version.ts +40 -0
- package/test-utils/sdks/readme/src/schemas.ts +70 -0
- package/test-utils/sdks/readme/src/sdk.ts +477 -0
- package/test-utils/sdks/readme/src/types.ts +120 -0
- package/test-utils/sdks/readme/tsconfig.json +12 -0
- package/test-utils/sdks/response-title-quirks/README.md +14 -0
- package/test-utils/sdks/response-title-quirks/package.json +55 -0
- package/test-utils/sdks/response-title-quirks/src/index.ts +9 -0
- package/test-utils/sdks/response-title-quirks/src/schemas/GetAnything.ts +60 -0
- package/test-utils/sdks/response-title-quirks/src/schemas.ts +2 -0
- package/test-utils/sdks/response-title-quirks/src/sdk.ts +76 -0
- package/test-utils/sdks/response-title-quirks/src/types.ts +5 -0
- package/test-utils/sdks/response-title-quirks/tsconfig.json +12 -0
- package/test-utils/sdks/simple/README.md +14 -0
- package/test-utils/sdks/simple/package.json +55 -0
- package/test-utils/sdks/simple/src/index.ts +10 -0
- package/test-utils/sdks/simple/src/schemas/Category.ts +15 -0
- package/test-utils/sdks/simple/src/schemas/FindPetsByStatus.ts +38 -0
- package/test-utils/sdks/simple/src/schemas/Pet.ts +53 -0
- package/test-utils/sdks/simple/src/schemas/Tag.ts +15 -0
- package/test-utils/sdks/simple/src/schemas.ts +5 -0
- package/test-utils/sdks/simple/src/sdk.ts +81 -0
- package/test-utils/sdks/simple/src/types.ts +8 -0
- package/test-utils/sdks/simple/tsconfig.json +12 -0
- package/test-utils/sdks/star-trek/README.md +22 -0
- package/test-utils/sdks/star-trek/package.json +55 -0
- package/test-utils/sdks/star-trek/src/index.ts +9 -0
- package/test-utils/sdks/star-trek/src/schemas/AnimalBase.ts +41 -0
- package/test-utils/sdks/star-trek/src/schemas/AnimalBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/AnimalFull.ts +41 -0
- package/test-utils/sdks/star-trek/src/schemas/AnimalFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBase.ts +27 -0
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFull.ts +32 -0
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectType.ts +36 -0
- package/test-utils/sdks/star-trek/src/schemas/BloodType.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/BookBase.ts +120 -0
- package/test-utils/sdks/star-trek/src/schemas/BookBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionBase.ts +51 -0
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionFull.ts +98 -0
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/BookFull.ts +182 -0
- package/test-utils/sdks/star-trek/src/schemas/BookFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesBase.ts +57 -0
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesFull.ts +81 -0
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterBase.ts +104 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterFull.ts +152 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterRelation.ts +17 -0
- package/test-utils/sdks/star-trek/src/schemas/CharacterSpecies.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBase.ts +71 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFull.ts +123 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBase.ts +75 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFull.ts +99 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicStripBase.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicStripBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicStripFull.ts +85 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicStripFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicsBase.ts +75 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicsBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicsFull.ts +127 -0
- package/test-utils/sdks/star-trek/src/schemas/ComicsFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/CompanyBase.ts +89 -0
- package/test-utils/sdks/star-trek/src/schemas/CompanyBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/CompanyFull.ts +89 -0
- package/test-utils/sdks/star-trek/src/schemas/CompanyFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/CompanyHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/ConflictBase.ts +49 -0
- package/test-utils/sdks/star-trek/src/schemas/ConflictBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ConflictFull.ts +78 -0
- package/test-utils/sdks/star-trek/src/schemas/ConflictFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/ContentLanguage.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/ContentRating.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ContentRatingSystem.ts +35 -0
- package/test-utils/sdks/star-trek/src/schemas/Country.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/ElementBase.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/ElementBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ElementFull.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/ElementFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/EpisodeBase.ts +82 -0
- package/test-utils/sdks/star-trek/src/schemas/EpisodeBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/EpisodeFull.ts +125 -0
- package/test-utils/sdks/star-trek/src/schemas/EpisodeFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/Error.ts +17 -0
- package/test-utils/sdks/star-trek/src/schemas/FoodBase.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/FoodBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/FoodFull.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/FoodFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/Gender.ts +11 -0
- package/test-utils/sdks/star-trek/src/schemas/Genre.ts +17 -0
- package/test-utils/sdks/star-trek/src/schemas/GetAnimal.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetAnimalSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobject.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobjectSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetBook.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetBookSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetBookcollection.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetBookcollectionSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetBookseries.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetBookseriesSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetCharacter.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetCharacterSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComiccollection.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComiccollectionSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComics.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComicsSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComicseries.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComicseriesSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComicstrip.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetComicstripSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetCompany.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetCompanySearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetConflict.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetConflictSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetElement.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetElementSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetEpisode.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetEpisodeSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetFood.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetFoodSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetLiterature.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetLiteratureSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetLocation.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetLocationSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMagazine.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMagazineSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMagazineseries.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMagazineseriesSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMaterial.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMaterialSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMedicalcondition.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMedicalconditionSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMovie.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetMovieSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetOccupation.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetOccupationSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetOrganization.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetOrganizationSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetPerformer.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetPerformerSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSeason.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSeasonSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSeries.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSeriesSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSoundtrack.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSoundtrackSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraft.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclass.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclassSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSpecies.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetSpeciesSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetStaff.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetStaffSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTechnology.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTechnologySearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTitle.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTitleSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcard.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcardSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeck.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeckSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcardset.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcardsetSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetVideogame.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetVideogameSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetVideorelease.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetVideoreleaseSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/GetWeapon.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/GetWeaponSearch.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/LiteratureBase.ts +45 -0
- package/test-utils/sdks/star-trek/src/schemas/LiteratureBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/LiteratureFull.ts +45 -0
- package/test-utils/sdks/star-trek/src/schemas/LiteratureFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/LocationBase.ts +113 -0
- package/test-utils/sdks/star-trek/src/schemas/LocationBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/LocationFull.ts +113 -0
- package/test-utils/sdks/star-trek/src/schemas/LocationFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineBase.ts +53 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineFull.ts +72 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBase.ts +41 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFull.ts +60 -0
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/MaritalStatus.ts +17 -0
- package/test-utils/sdks/star-trek/src/schemas/MaterialBase.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/MaterialBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/MaterialFull.ts +61 -0
- package/test-utils/sdks/star-trek/src/schemas/MaterialFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBase.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFull.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/MovieBase.ts +87 -0
- package/test-utils/sdks/star-trek/src/schemas/MovieBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/MovieFull.ts +139 -0
- package/test-utils/sdks/star-trek/src/schemas/MovieFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/OccupationBase.ts +33 -0
- package/test-utils/sdks/star-trek/src/schemas/OccupationBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/OccupationFull.ts +40 -0
- package/test-utils/sdks/star-trek/src/schemas/OccupationFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/OrganizationBase.ts +69 -0
- package/test-utils/sdks/star-trek/src/schemas/OrganizationBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/OrganizationFull.ts +76 -0
- package/test-utils/sdks/star-trek/src/schemas/OrganizationFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/OrganizationHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/PerformerBase.ts +98 -0
- package/test-utils/sdks/star-trek/src/schemas/PerformerBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/PerformerFull.ts +136 -0
- package/test-utils/sdks/star-trek/src/schemas/PerformerFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/Platform.ts +17 -0
- package/test-utils/sdks/star-trek/src/schemas/PostAnimalSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostAstronomicalobjectSearch.ts +53 -0
- package/test-utils/sdks/star-trek/src/schemas/PostBookSearch.ts +141 -0
- package/test-utils/sdks/star-trek/src/schemas/PostBookcollectionSearch.ts +85 -0
- package/test-utils/sdks/star-trek/src/schemas/PostBookseriesSearch.ts +83 -0
- package/test-utils/sdks/star-trek/src/schemas/PostCharacterSearch.ts +69 -0
- package/test-utils/sdks/star-trek/src/schemas/PostComiccollectionSearch.ts +89 -0
- package/test-utils/sdks/star-trek/src/schemas/PostComicsSearch.ts +93 -0
- package/test-utils/sdks/star-trek/src/schemas/PostComicseriesSearch.ts +93 -0
- package/test-utils/sdks/star-trek/src/schemas/PostComicstripSearch.ts +75 -0
- package/test-utils/sdks/star-trek/src/schemas/PostCompanySearch.ts +113 -0
- package/test-utils/sdks/star-trek/src/schemas/PostConflictSearch.ts +75 -0
- package/test-utils/sdks/star-trek/src/schemas/PostElementSearch.ts +77 -0
- package/test-utils/sdks/star-trek/src/schemas/PostEpisodeSearch.ts +113 -0
- package/test-utils/sdks/star-trek/src/schemas/PostFoodSearch.ts +85 -0
- package/test-utils/sdks/star-trek/src/schemas/PostLiteratureSearch.ts +69 -0
- package/test-utils/sdks/star-trek/src/schemas/PostLocationSearch.ts +137 -0
- package/test-utils/sdks/star-trek/src/schemas/PostMagazineSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostMagazineseriesSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostMaterialSearch.ts +85 -0
- package/test-utils/sdks/star-trek/src/schemas/PostMedicalconditionSearch.ts +49 -0
- package/test-utils/sdks/star-trek/src/schemas/PostMovieSearch.ts +75 -0
- package/test-utils/sdks/star-trek/src/schemas/PostOccupationSearch.ts +57 -0
- package/test-utils/sdks/star-trek/src/schemas/PostOrganizationSearch.ts +93 -0
- package/test-utils/sdks/star-trek/src/schemas/PostPerformerSearch.ts +133 -0
- package/test-utils/sdks/star-trek/src/schemas/PostSeasonSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostSeriesSearch.ts +89 -0
- package/test-utils/sdks/star-trek/src/schemas/PostSoundtrackSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftSearch.ts +45 -0
- package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftclassSearch.ts +53 -0
- package/test-utils/sdks/star-trek/src/schemas/PostSpeciesSearch.ts +93 -0
- package/test-utils/sdks/star-trek/src/schemas/PostStaffSearch.ts +301 -0
- package/test-utils/sdks/star-trek/src/schemas/PostTechnologySearch.ts +125 -0
- package/test-utils/sdks/star-trek/src/schemas/PostTitleSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostTradingcardSearch.ts +53 -0
- package/test-utils/sdks/star-trek/src/schemas/PostTradingcarddeckSearch.ts +49 -0
- package/test-utils/sdks/star-trek/src/schemas/PostTradingcardsetSearch.ts +119 -0
- package/test-utils/sdks/star-trek/src/schemas/PostVideogameSearch.ts +55 -0
- package/test-utils/sdks/star-trek/src/schemas/PostVideoreleaseSearch.ts +65 -0
- package/test-utils/sdks/star-trek/src/schemas/PostWeaponSearch.ts +73 -0
- package/test-utils/sdks/star-trek/src/schemas/ProductionRunUnit.ts +11 -0
- package/test-utils/sdks/star-trek/src/schemas/Reference.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/ReferenceType.ts +11 -0
- package/test-utils/sdks/star-trek/src/schemas/ResponsePage.ts +42 -0
- package/test-utils/sdks/star-trek/src/schemas/ResponseSort.ts +16 -0
- package/test-utils/sdks/star-trek/src/schemas/ResponseSortClause.ts +25 -0
- package/test-utils/sdks/star-trek/src/schemas/ResponseSortDirection.ts +11 -0
- package/test-utils/sdks/star-trek/src/schemas/SeasonBase.ts +32 -0
- package/test-utils/sdks/star-trek/src/schemas/SeasonBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/SeasonFull.ts +38 -0
- package/test-utils/sdks/star-trek/src/schemas/SeasonFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/SeasonHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/SeriesBase.ts +60 -0
- package/test-utils/sdks/star-trek/src/schemas/SeriesBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/SeriesFull.ts +72 -0
- package/test-utils/sdks/star-trek/src/schemas/SeriesFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/SeriesHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackBase.ts +30 -0
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackFull.ts +59 -0
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftBase.ts +39 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBase.ts +48 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFull.ts +60 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftFull.ts +45 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftType.ts +17 -0
- package/test-utils/sdks/star-trek/src/schemas/SpeciesBase.ts +73 -0
- package/test-utils/sdks/star-trek/src/schemas/SpeciesBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/SpeciesFull.ts +79 -0
- package/test-utils/sdks/star-trek/src/schemas/SpeciesFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/SpeciesHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/StaffBase.ts +266 -0
- package/test-utils/sdks/star-trek/src/schemas/StaffBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/StaffFull.ts +323 -0
- package/test-utils/sdks/star-trek/src/schemas/StaffFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/StaffHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/TechnologyBase.ts +101 -0
- package/test-utils/sdks/star-trek/src/schemas/TechnologyBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/TechnologyFull.ts +101 -0
- package/test-utils/sdks/star-trek/src/schemas/TechnologyFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/TitleBase.ts +41 -0
- package/test-utils/sdks/star-trek/src/schemas/TitleBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/TitleFull.ts +48 -0
- package/test-utils/sdks/star-trek/src/schemas/TitleFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardBase.ts +38 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBase.ts +28 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFull.ts +34 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardFull.ts +38 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBase.ts +62 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFull.ts +86 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetHeader.ts +21 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoGameBase.ts +48 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoGameBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoGameFull.ts +84 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoGameFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBase.ts +127 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFormat.ts +23 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFull.ts +155 -0
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas/WeaponBase.ts +49 -0
- package/test-utils/sdks/star-trek/src/schemas/WeaponBaseResponse.ts +20 -0
- package/test-utils/sdks/star-trek/src/schemas/WeaponFull.ts +49 -0
- package/test-utils/sdks/star-trek/src/schemas/WeaponFullResponse.ts +12 -0
- package/test-utils/sdks/star-trek/src/schemas.ts +314 -0
- package/test-utils/sdks/star-trek/src/sdk.ts +1032 -0
- package/test-utils/sdks/star-trek/src/types.ts +490 -0
- package/test-utils/sdks/star-trek/tsconfig.json +12 -0
- package/test-utils/tsconfig.json +9 -0
- package/tsconfig.eslint.json +8 -0
- package/tsconfig.json +9 -0
- package/tsup.config.ts +31 -0
@@ -0,0 +1,1032 @@
|
|
1
|
+
import type * as types from './types.js';
|
2
|
+
import type { ConfigOptions, FetchResponse } from '@readme/api-core/types';
|
3
|
+
import APICore from '@readme/api-core';
|
4
|
+
import definition from '@readme/oas-examples/3.0/json/star-trek.json';
|
5
|
+
|
6
|
+
export default class SDK {
|
7
|
+
core: APICore;
|
8
|
+
|
9
|
+
constructor() {
|
10
|
+
this.core = new APICore(definition, 'star-trek/1.0.0 (api/7.0.0-mock)');
|
11
|
+
}
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Optionally configure various options that the SDK allows.
|
15
|
+
*
|
16
|
+
* @param config Object of supported SDK options and toggles.
|
17
|
+
* @param config.timeout Override the default `fetch` request timeout of 30 seconds. This number
|
18
|
+
* should be represented in milliseconds.
|
19
|
+
*/
|
20
|
+
config(config: ConfigOptions) {
|
21
|
+
this.core.setConfig(config);
|
22
|
+
}
|
23
|
+
|
24
|
+
/**
|
25
|
+
* If the API you're using requires authentication you can supply the required credentials
|
26
|
+
* through this method and the library will magically determine how they should be used
|
27
|
+
* within your API request.
|
28
|
+
*
|
29
|
+
* With the exception of OpenID and MutualTLS, it supports all forms of authentication
|
30
|
+
* supported by the OpenAPI specification.
|
31
|
+
*
|
32
|
+
* @example <caption>HTTP Basic auth</caption>
|
33
|
+
* sdk.auth('username', 'password');
|
34
|
+
*
|
35
|
+
* @example <caption>Bearer tokens (HTTP or OAuth 2)</caption>
|
36
|
+
* sdk.auth('myBearerToken');
|
37
|
+
*
|
38
|
+
* @example <caption>API Keys</caption>
|
39
|
+
* sdk.auth('myApiKey');
|
40
|
+
*
|
41
|
+
* @see {@link https://spec.openapis.org/oas/v3.0.3#fixed-fields-22}
|
42
|
+
* @see {@link https://spec.openapis.org/oas/v3.1.0#fixed-fields-22}
|
43
|
+
* @param values Your auth credentials for the API; can specify up to two strings or numbers.
|
44
|
+
*/
|
45
|
+
auth(...values: string[] | number[]) {
|
46
|
+
this.core.setAuth(...values);
|
47
|
+
return this;
|
48
|
+
}
|
49
|
+
|
50
|
+
/**
|
51
|
+
* If the API you're using offers alternate server URLs, and server variables, you can tell
|
52
|
+
* the SDK which one to use with this method. To use it you can supply either one of the
|
53
|
+
* server URLs that are contained within the OpenAPI definition (along with any server
|
54
|
+
* variables), or you can pass it a fully qualified URL to use (that may or may not exist
|
55
|
+
* within the OpenAPI definition).
|
56
|
+
*
|
57
|
+
* @example <caption>Server URL with server variables</caption>
|
58
|
+
* sdk.server('https://{region}.api.example.com/{basePath}', {
|
59
|
+
* name: 'eu',
|
60
|
+
* basePath: 'v14',
|
61
|
+
* });
|
62
|
+
*
|
63
|
+
* @example <caption>Fully qualified server URL</caption>
|
64
|
+
* sdk.server('https://eu.api.example.com/v14');
|
65
|
+
*
|
66
|
+
* @param url Server URL
|
67
|
+
* @param variables An object of variables to replace into the server URL.
|
68
|
+
*/
|
69
|
+
server(url: string, variables = {}) {
|
70
|
+
this.core.setServer(url, variables);
|
71
|
+
}
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Retrival of a single animal
|
75
|
+
*
|
76
|
+
*/
|
77
|
+
getAnimal(metadata: types.GetAnimalMetadataParam): Promise<FetchResponse<200, types.AnimalFullResponse> | FetchResponse<number, types.Error>> {
|
78
|
+
return this.core.fetch('/animal', 'get', metadata);
|
79
|
+
}
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Pagination over animals
|
83
|
+
*
|
84
|
+
*/
|
85
|
+
getAnimalSearch(metadata?: types.GetAnimalSearchMetadataParam): Promise<FetchResponse<200, types.AnimalBaseResponse> | FetchResponse<number, types.Error>> {
|
86
|
+
return this.core.fetch('/animal/search', 'get', metadata);
|
87
|
+
}
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Searching animals
|
91
|
+
*
|
92
|
+
*/
|
93
|
+
postAnimalSearch(body?: types.PostAnimalSearchFormDataParam, metadata?: types.PostAnimalSearchMetadataParam): Promise<FetchResponse<200, types.AnimalBaseResponse>> {
|
94
|
+
return this.core.fetch('/animal/search', 'post', body, metadata);
|
95
|
+
}
|
96
|
+
|
97
|
+
/**
|
98
|
+
* Retrival of a single astronomical object
|
99
|
+
*
|
100
|
+
*/
|
101
|
+
getAstronomicalobject(metadata: types.GetAstronomicalobjectMetadataParam): Promise<FetchResponse<200, types.AstronomicalObjectFullResponse> | FetchResponse<number, types.Error>> {
|
102
|
+
return this.core.fetch('/astronomicalObject', 'get', metadata);
|
103
|
+
}
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Pagination over astronomical objects
|
107
|
+
*
|
108
|
+
*/
|
109
|
+
getAstronomicalobjectSearch(metadata?: types.GetAstronomicalobjectSearchMetadataParam): Promise<FetchResponse<200, types.AstronomicalObjectBaseResponse> | FetchResponse<number, types.Error>> {
|
110
|
+
return this.core.fetch('/astronomicalObject/search', 'get', metadata);
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Searching astronomical objects
|
115
|
+
*
|
116
|
+
*/
|
117
|
+
postAstronomicalobjectSearch(body?: types.PostAstronomicalobjectSearchFormDataParam, metadata?: types.PostAstronomicalobjectSearchMetadataParam): Promise<FetchResponse<200, types.AstronomicalObjectBaseResponse>> {
|
118
|
+
return this.core.fetch('/astronomicalObject/search', 'post', body, metadata);
|
119
|
+
}
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Retrival of a single book
|
123
|
+
*
|
124
|
+
*/
|
125
|
+
getBook(metadata: types.GetBookMetadataParam): Promise<FetchResponse<200, types.BookFullResponse> | FetchResponse<number, types.Error>> {
|
126
|
+
return this.core.fetch('/book', 'get', metadata);
|
127
|
+
}
|
128
|
+
|
129
|
+
/**
|
130
|
+
* Pagination over books
|
131
|
+
*
|
132
|
+
*/
|
133
|
+
getBookSearch(metadata?: types.GetBookSearchMetadataParam): Promise<FetchResponse<200, types.BookBaseResponse> | FetchResponse<number, types.Error>> {
|
134
|
+
return this.core.fetch('/book/search', 'get', metadata);
|
135
|
+
}
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Searching books
|
139
|
+
*
|
140
|
+
*/
|
141
|
+
postBookSearch(body?: types.PostBookSearchFormDataParam, metadata?: types.PostBookSearchMetadataParam): Promise<FetchResponse<200, types.BookBaseResponse>> {
|
142
|
+
return this.core.fetch('/book/search', 'post', body, metadata);
|
143
|
+
}
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Retrival of a single book collection
|
147
|
+
*
|
148
|
+
*/
|
149
|
+
getBookcollection(metadata: types.GetBookcollectionMetadataParam): Promise<FetchResponse<200, types.BookCollectionFullResponse> | FetchResponse<number, types.Error>> {
|
150
|
+
return this.core.fetch('/bookCollection', 'get', metadata);
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Pagination over book collections
|
155
|
+
*
|
156
|
+
*/
|
157
|
+
getBookcollectionSearch(metadata?: types.GetBookcollectionSearchMetadataParam): Promise<FetchResponse<200, types.BookCollectionBaseResponse> | FetchResponse<number, types.Error>> {
|
158
|
+
return this.core.fetch('/bookCollection/search', 'get', metadata);
|
159
|
+
}
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Searching book collections
|
163
|
+
*
|
164
|
+
*/
|
165
|
+
postBookcollectionSearch(body?: types.PostBookcollectionSearchFormDataParam, metadata?: types.PostBookcollectionSearchMetadataParam): Promise<FetchResponse<200, types.BookCollectionBaseResponse>> {
|
166
|
+
return this.core.fetch('/bookCollection/search', 'post', body, metadata);
|
167
|
+
}
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Retrival of a single book series
|
171
|
+
*
|
172
|
+
*/
|
173
|
+
getBookseries(metadata: types.GetBookseriesMetadataParam): Promise<FetchResponse<200, types.BookSeriesFullResponse> | FetchResponse<number, types.Error>> {
|
174
|
+
return this.core.fetch('/bookSeries', 'get', metadata);
|
175
|
+
}
|
176
|
+
|
177
|
+
/**
|
178
|
+
* Pagination over book series
|
179
|
+
*
|
180
|
+
*/
|
181
|
+
getBookseriesSearch(metadata?: types.GetBookseriesSearchMetadataParam): Promise<FetchResponse<200, types.BookSeriesBaseResponse> | FetchResponse<number, types.Error>> {
|
182
|
+
return this.core.fetch('/bookSeries/search', 'get', metadata);
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Searching book series
|
187
|
+
*
|
188
|
+
*/
|
189
|
+
postBookseriesSearch(body?: types.PostBookseriesSearchFormDataParam, metadata?: types.PostBookseriesSearchMetadataParam): Promise<FetchResponse<200, types.BookSeriesBaseResponse>> {
|
190
|
+
return this.core.fetch('/bookSeries/search', 'post', body, metadata);
|
191
|
+
}
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Retrival of a single character
|
195
|
+
*
|
196
|
+
*/
|
197
|
+
getCharacter(metadata: types.GetCharacterMetadataParam): Promise<FetchResponse<200, types.CharacterFullResponse> | FetchResponse<number, types.Error>> {
|
198
|
+
return this.core.fetch('/character', 'get', metadata);
|
199
|
+
}
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Pagination over characters
|
203
|
+
*
|
204
|
+
*/
|
205
|
+
getCharacterSearch(metadata?: types.GetCharacterSearchMetadataParam): Promise<FetchResponse<200, types.CharacterBaseResponse> | FetchResponse<number, types.Error>> {
|
206
|
+
return this.core.fetch('/character/search', 'get', metadata);
|
207
|
+
}
|
208
|
+
|
209
|
+
/**
|
210
|
+
* Searching characters
|
211
|
+
*
|
212
|
+
*/
|
213
|
+
postCharacterSearch(body?: types.PostCharacterSearchFormDataParam, metadata?: types.PostCharacterSearchMetadataParam): Promise<FetchResponse<200, types.CharacterBaseResponse>> {
|
214
|
+
return this.core.fetch('/character/search', 'post', body, metadata);
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Retrival of a single comics
|
219
|
+
*
|
220
|
+
*/
|
221
|
+
getComics(metadata: types.GetComicsMetadataParam): Promise<FetchResponse<200, types.ComicsFullResponse> | FetchResponse<number, types.Error>> {
|
222
|
+
return this.core.fetch('/comics', 'get', metadata);
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Pagination over comics
|
227
|
+
*
|
228
|
+
*/
|
229
|
+
getComicsSearch(metadata?: types.GetComicsSearchMetadataParam): Promise<FetchResponse<200, types.ComicsBaseResponse> | FetchResponse<number, types.Error>> {
|
230
|
+
return this.core.fetch('/comics/search', 'get', metadata);
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* Searching comics
|
235
|
+
*
|
236
|
+
*/
|
237
|
+
postComicsSearch(body?: types.PostComicsSearchFormDataParam, metadata?: types.PostComicsSearchMetadataParam): Promise<FetchResponse<200, types.ComicsBaseResponse>> {
|
238
|
+
return this.core.fetch('/comics/search', 'post', body, metadata);
|
239
|
+
}
|
240
|
+
|
241
|
+
/**
|
242
|
+
* Retrival of a single comic collection
|
243
|
+
*
|
244
|
+
*/
|
245
|
+
getComiccollection(metadata: types.GetComiccollectionMetadataParam): Promise<FetchResponse<200, types.ComicCollectionFullResponse> | FetchResponse<number, types.Error>> {
|
246
|
+
return this.core.fetch('/comicCollection', 'get', metadata);
|
247
|
+
}
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Pagination over comic collections
|
251
|
+
*
|
252
|
+
*/
|
253
|
+
getComiccollectionSearch(metadata?: types.GetComiccollectionSearchMetadataParam): Promise<FetchResponse<200, types.ComicCollectionBaseResponse> | FetchResponse<number, types.Error>> {
|
254
|
+
return this.core.fetch('/comicCollection/search', 'get', metadata);
|
255
|
+
}
|
256
|
+
|
257
|
+
/**
|
258
|
+
* Searching comic collections
|
259
|
+
*
|
260
|
+
*/
|
261
|
+
postComiccollectionSearch(body?: types.PostComiccollectionSearchFormDataParam, metadata?: types.PostComiccollectionSearchMetadataParam): Promise<FetchResponse<200, types.ComicCollectionBaseResponse>> {
|
262
|
+
return this.core.fetch('/comicCollection/search', 'post', body, metadata);
|
263
|
+
}
|
264
|
+
|
265
|
+
/**
|
266
|
+
* Retrival of a single comic series
|
267
|
+
*
|
268
|
+
*/
|
269
|
+
getComicseries(metadata: types.GetComicseriesMetadataParam): Promise<FetchResponse<200, types.ComicSeriesFullResponse> | FetchResponse<number, types.Error>> {
|
270
|
+
return this.core.fetch('/comicSeries', 'get', metadata);
|
271
|
+
}
|
272
|
+
|
273
|
+
/**
|
274
|
+
* Pagination over comic series
|
275
|
+
*
|
276
|
+
*/
|
277
|
+
getComicseriesSearch(metadata?: types.GetComicseriesSearchMetadataParam): Promise<FetchResponse<200, types.ComicSeriesBaseResponse> | FetchResponse<number, types.Error>> {
|
278
|
+
return this.core.fetch('/comicSeries/search', 'get', metadata);
|
279
|
+
}
|
280
|
+
|
281
|
+
/**
|
282
|
+
* Searching comic series
|
283
|
+
*
|
284
|
+
*/
|
285
|
+
postComicseriesSearch(body?: types.PostComicseriesSearchFormDataParam, metadata?: types.PostComicseriesSearchMetadataParam): Promise<FetchResponse<200, types.ComicSeriesBaseResponse>> {
|
286
|
+
return this.core.fetch('/comicSeries/search', 'post', body, metadata);
|
287
|
+
}
|
288
|
+
|
289
|
+
/**
|
290
|
+
* Retrival of a single comic strip
|
291
|
+
*
|
292
|
+
*/
|
293
|
+
getComicstrip(metadata: types.GetComicstripMetadataParam): Promise<FetchResponse<200, types.ComicStripFullResponse> | FetchResponse<number, types.Error>> {
|
294
|
+
return this.core.fetch('/comicStrip', 'get', metadata);
|
295
|
+
}
|
296
|
+
|
297
|
+
/**
|
298
|
+
* Pagination over comic strips
|
299
|
+
*
|
300
|
+
*/
|
301
|
+
getComicstripSearch(metadata?: types.GetComicstripSearchMetadataParam): Promise<FetchResponse<200, types.ComicStripBaseResponse> | FetchResponse<number, types.Error>> {
|
302
|
+
return this.core.fetch('/comicStrip/search', 'get', metadata);
|
303
|
+
}
|
304
|
+
|
305
|
+
/**
|
306
|
+
* Searching comic strips
|
307
|
+
*
|
308
|
+
*/
|
309
|
+
postComicstripSearch(body?: types.PostComicstripSearchFormDataParam, metadata?: types.PostComicstripSearchMetadataParam): Promise<FetchResponse<200, types.ComicStripBaseResponse>> {
|
310
|
+
return this.core.fetch('/comicStrip/search', 'post', body, metadata);
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Retrival of a single company
|
315
|
+
*
|
316
|
+
*/
|
317
|
+
getCompany(metadata: types.GetCompanyMetadataParam): Promise<FetchResponse<200, types.CompanyFullResponse> | FetchResponse<number, types.Error>> {
|
318
|
+
return this.core.fetch('/company', 'get', metadata);
|
319
|
+
}
|
320
|
+
|
321
|
+
/**
|
322
|
+
* Pagination over companies
|
323
|
+
*
|
324
|
+
*/
|
325
|
+
getCompanySearch(metadata?: types.GetCompanySearchMetadataParam): Promise<FetchResponse<200, types.CompanyBaseResponse> | FetchResponse<number, types.Error>> {
|
326
|
+
return this.core.fetch('/company/search', 'get', metadata);
|
327
|
+
}
|
328
|
+
|
329
|
+
/**
|
330
|
+
* Searching companies
|
331
|
+
*
|
332
|
+
*/
|
333
|
+
postCompanySearch(body?: types.PostCompanySearchFormDataParam, metadata?: types.PostCompanySearchMetadataParam): Promise<FetchResponse<200, types.CompanyBaseResponse>> {
|
334
|
+
return this.core.fetch('/company/search', 'post', body, metadata);
|
335
|
+
}
|
336
|
+
|
337
|
+
/**
|
338
|
+
* Retrival of a single conflict
|
339
|
+
*
|
340
|
+
*/
|
341
|
+
getConflict(metadata: types.GetConflictMetadataParam): Promise<FetchResponse<200, types.ConflictFullResponse> | FetchResponse<number, types.Error>> {
|
342
|
+
return this.core.fetch('/conflict', 'get', metadata);
|
343
|
+
}
|
344
|
+
|
345
|
+
/**
|
346
|
+
* Pagination over conflicts
|
347
|
+
*
|
348
|
+
*/
|
349
|
+
getConflictSearch(metadata?: types.GetConflictSearchMetadataParam): Promise<FetchResponse<200, types.ConflictBaseResponse> | FetchResponse<number, types.Error>> {
|
350
|
+
return this.core.fetch('/conflict/search', 'get', metadata);
|
351
|
+
}
|
352
|
+
|
353
|
+
/**
|
354
|
+
* Searching conflicts
|
355
|
+
*
|
356
|
+
*/
|
357
|
+
postConflictSearch(body?: types.PostConflictSearchFormDataParam, metadata?: types.PostConflictSearchMetadataParam): Promise<FetchResponse<200, types.ConflictBaseResponse>> {
|
358
|
+
return this.core.fetch('/conflict/search', 'post', body, metadata);
|
359
|
+
}
|
360
|
+
|
361
|
+
/**
|
362
|
+
* Retrival of a single element
|
363
|
+
*
|
364
|
+
*/
|
365
|
+
getElement(metadata: types.GetElementMetadataParam): Promise<FetchResponse<200, types.ElementFullResponse> | FetchResponse<number, types.Error>> {
|
366
|
+
return this.core.fetch('/element', 'get', metadata);
|
367
|
+
}
|
368
|
+
|
369
|
+
/**
|
370
|
+
* Pagination over elements
|
371
|
+
*
|
372
|
+
*/
|
373
|
+
getElementSearch(metadata?: types.GetElementSearchMetadataParam): Promise<FetchResponse<200, types.ElementBaseResponse> | FetchResponse<number, types.Error>> {
|
374
|
+
return this.core.fetch('/element/search', 'get', metadata);
|
375
|
+
}
|
376
|
+
|
377
|
+
/**
|
378
|
+
* Searching elements
|
379
|
+
*
|
380
|
+
*/
|
381
|
+
postElementSearch(body?: types.PostElementSearchFormDataParam, metadata?: types.PostElementSearchMetadataParam): Promise<FetchResponse<200, types.ElementBaseResponse>> {
|
382
|
+
return this.core.fetch('/element/search', 'post', body, metadata);
|
383
|
+
}
|
384
|
+
|
385
|
+
/**
|
386
|
+
* Retrival of a single episode
|
387
|
+
*
|
388
|
+
*/
|
389
|
+
getEpisode(metadata: types.GetEpisodeMetadataParam): Promise<FetchResponse<200, types.EpisodeFullResponse> | FetchResponse<number, types.Error>> {
|
390
|
+
return this.core.fetch('/episode', 'get', metadata);
|
391
|
+
}
|
392
|
+
|
393
|
+
/**
|
394
|
+
* Pagination over episodes
|
395
|
+
*
|
396
|
+
*/
|
397
|
+
getEpisodeSearch(metadata?: types.GetEpisodeSearchMetadataParam): Promise<FetchResponse<200, types.EpisodeBaseResponse> | FetchResponse<number, types.Error>> {
|
398
|
+
return this.core.fetch('/episode/search', 'get', metadata);
|
399
|
+
}
|
400
|
+
|
401
|
+
/**
|
402
|
+
* Searching episodes
|
403
|
+
*
|
404
|
+
*/
|
405
|
+
postEpisodeSearch(body?: types.PostEpisodeSearchFormDataParam, metadata?: types.PostEpisodeSearchMetadataParam): Promise<FetchResponse<200, types.EpisodeBaseResponse>> {
|
406
|
+
return this.core.fetch('/episode/search', 'post', body, metadata);
|
407
|
+
}
|
408
|
+
|
409
|
+
/**
|
410
|
+
* Retrival of a single food
|
411
|
+
*
|
412
|
+
*/
|
413
|
+
getFood(metadata: types.GetFoodMetadataParam): Promise<FetchResponse<200, types.FoodFullResponse> | FetchResponse<number, types.Error>> {
|
414
|
+
return this.core.fetch('/food', 'get', metadata);
|
415
|
+
}
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Pagination over foods
|
419
|
+
*
|
420
|
+
*/
|
421
|
+
getFoodSearch(metadata?: types.GetFoodSearchMetadataParam): Promise<FetchResponse<200, types.FoodBaseResponse> | FetchResponse<number, types.Error>> {
|
422
|
+
return this.core.fetch('/food/search', 'get', metadata);
|
423
|
+
}
|
424
|
+
|
425
|
+
/**
|
426
|
+
* Searching foods
|
427
|
+
*
|
428
|
+
*/
|
429
|
+
postFoodSearch(body?: types.PostFoodSearchFormDataParam, metadata?: types.PostFoodSearchMetadataParam): Promise<FetchResponse<200, types.FoodBaseResponse>> {
|
430
|
+
return this.core.fetch('/food/search', 'post', body, metadata);
|
431
|
+
}
|
432
|
+
|
433
|
+
/**
|
434
|
+
* Retrival of a single literature
|
435
|
+
*
|
436
|
+
*/
|
437
|
+
getLiterature(metadata: types.GetLiteratureMetadataParam): Promise<FetchResponse<200, types.LiteratureFullResponse> | FetchResponse<number, types.Error>> {
|
438
|
+
return this.core.fetch('/literature', 'get', metadata);
|
439
|
+
}
|
440
|
+
|
441
|
+
/**
|
442
|
+
* Pagination over literature
|
443
|
+
*
|
444
|
+
*/
|
445
|
+
getLiteratureSearch(metadata?: types.GetLiteratureSearchMetadataParam): Promise<FetchResponse<200, types.LiteratureBaseResponse> | FetchResponse<number, types.Error>> {
|
446
|
+
return this.core.fetch('/literature/search', 'get', metadata);
|
447
|
+
}
|
448
|
+
|
449
|
+
/**
|
450
|
+
* Searching literature
|
451
|
+
*
|
452
|
+
*/
|
453
|
+
postLiteratureSearch(body?: types.PostLiteratureSearchFormDataParam, metadata?: types.PostLiteratureSearchMetadataParam): Promise<FetchResponse<200, types.LiteratureBaseResponse>> {
|
454
|
+
return this.core.fetch('/literature/search', 'post', body, metadata);
|
455
|
+
}
|
456
|
+
|
457
|
+
/**
|
458
|
+
* Retrival of a single location
|
459
|
+
*
|
460
|
+
*/
|
461
|
+
getLocation(metadata: types.GetLocationMetadataParam): Promise<FetchResponse<200, types.LocationFullResponse> | FetchResponse<number, types.Error>> {
|
462
|
+
return this.core.fetch('/location', 'get', metadata);
|
463
|
+
}
|
464
|
+
|
465
|
+
/**
|
466
|
+
* Pagination over locations
|
467
|
+
*
|
468
|
+
*/
|
469
|
+
getLocationSearch(metadata?: types.GetLocationSearchMetadataParam): Promise<FetchResponse<200, types.LocationBaseResponse> | FetchResponse<number, types.Error>> {
|
470
|
+
return this.core.fetch('/location/search', 'get', metadata);
|
471
|
+
}
|
472
|
+
|
473
|
+
/**
|
474
|
+
* Searching locations
|
475
|
+
*
|
476
|
+
*/
|
477
|
+
postLocationSearch(body?: types.PostLocationSearchFormDataParam, metadata?: types.PostLocationSearchMetadataParam): Promise<FetchResponse<200, types.LocationBaseResponse>> {
|
478
|
+
return this.core.fetch('/location/search', 'post', body, metadata);
|
479
|
+
}
|
480
|
+
|
481
|
+
/**
|
482
|
+
* Retrival of a single magazine
|
483
|
+
*
|
484
|
+
*/
|
485
|
+
getMagazine(metadata: types.GetMagazineMetadataParam): Promise<FetchResponse<200, types.MagazineFullResponse> | FetchResponse<number, types.Error>> {
|
486
|
+
return this.core.fetch('/magazine', 'get', metadata);
|
487
|
+
}
|
488
|
+
|
489
|
+
/**
|
490
|
+
* Pagination over magazines
|
491
|
+
*
|
492
|
+
*/
|
493
|
+
getMagazineSearch(metadata?: types.GetMagazineSearchMetadataParam): Promise<FetchResponse<200, types.MagazineBaseResponse> | FetchResponse<number, types.Error>> {
|
494
|
+
return this.core.fetch('/magazine/search', 'get', metadata);
|
495
|
+
}
|
496
|
+
|
497
|
+
/**
|
498
|
+
* Searching magazines
|
499
|
+
*
|
500
|
+
*/
|
501
|
+
postMagazineSearch(body?: types.PostMagazineSearchFormDataParam, metadata?: types.PostMagazineSearchMetadataParam): Promise<FetchResponse<200, types.MagazineBaseResponse>> {
|
502
|
+
return this.core.fetch('/magazine/search', 'post', body, metadata);
|
503
|
+
}
|
504
|
+
|
505
|
+
/**
|
506
|
+
* Retrival of a single magazine series
|
507
|
+
*
|
508
|
+
*/
|
509
|
+
getMagazineseries(metadata: types.GetMagazineseriesMetadataParam): Promise<FetchResponse<200, types.MagazineSeriesFullResponse> | FetchResponse<number, types.Error>> {
|
510
|
+
return this.core.fetch('/magazineSeries', 'get', metadata);
|
511
|
+
}
|
512
|
+
|
513
|
+
/**
|
514
|
+
* Pagination over magazine series
|
515
|
+
*
|
516
|
+
*/
|
517
|
+
getMagazineseriesSearch(metadata?: types.GetMagazineseriesSearchMetadataParam): Promise<FetchResponse<200, types.MagazineSeriesBaseResponse> | FetchResponse<number, types.Error>> {
|
518
|
+
return this.core.fetch('/magazineSeries/search', 'get', metadata);
|
519
|
+
}
|
520
|
+
|
521
|
+
/**
|
522
|
+
* Searching magazine series
|
523
|
+
*
|
524
|
+
*/
|
525
|
+
postMagazineseriesSearch(body?: types.PostMagazineseriesSearchFormDataParam, metadata?: types.PostMagazineseriesSearchMetadataParam): Promise<FetchResponse<200, types.MagazineSeriesBaseResponse>> {
|
526
|
+
return this.core.fetch('/magazineSeries/search', 'post', body, metadata);
|
527
|
+
}
|
528
|
+
|
529
|
+
/**
|
530
|
+
* Retrival of a single material
|
531
|
+
*
|
532
|
+
*/
|
533
|
+
getMaterial(metadata: types.GetMaterialMetadataParam): Promise<FetchResponse<200, types.MaterialFullResponse> | FetchResponse<number, types.Error>> {
|
534
|
+
return this.core.fetch('/material', 'get', metadata);
|
535
|
+
}
|
536
|
+
|
537
|
+
/**
|
538
|
+
* Pagination over materials
|
539
|
+
*
|
540
|
+
*/
|
541
|
+
getMaterialSearch(metadata?: types.GetMaterialSearchMetadataParam): Promise<FetchResponse<200, types.MaterialBaseResponse> | FetchResponse<number, types.Error>> {
|
542
|
+
return this.core.fetch('/material/search', 'get', metadata);
|
543
|
+
}
|
544
|
+
|
545
|
+
/**
|
546
|
+
* Searching materials
|
547
|
+
*
|
548
|
+
*/
|
549
|
+
postMaterialSearch(body?: types.PostMaterialSearchFormDataParam, metadata?: types.PostMaterialSearchMetadataParam): Promise<FetchResponse<200, types.MaterialBaseResponse>> {
|
550
|
+
return this.core.fetch('/material/search', 'post', body, metadata);
|
551
|
+
}
|
552
|
+
|
553
|
+
/**
|
554
|
+
* Retrival of a single medical condition
|
555
|
+
*
|
556
|
+
*/
|
557
|
+
getMedicalcondition(metadata: types.GetMedicalconditionMetadataParam): Promise<FetchResponse<200, types.MedicalConditionFullResponse> | FetchResponse<number, types.Error>> {
|
558
|
+
return this.core.fetch('/medicalCondition', 'get', metadata);
|
559
|
+
}
|
560
|
+
|
561
|
+
/**
|
562
|
+
* Pagination over medical conditions
|
563
|
+
*
|
564
|
+
*/
|
565
|
+
getMedicalconditionSearch(metadata?: types.GetMedicalconditionSearchMetadataParam): Promise<FetchResponse<200, types.MedicalConditionBaseResponse> | FetchResponse<number, types.Error>> {
|
566
|
+
return this.core.fetch('/medicalCondition/search', 'get', metadata);
|
567
|
+
}
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Searching medical conditions
|
571
|
+
*
|
572
|
+
*/
|
573
|
+
postMedicalconditionSearch(body?: types.PostMedicalconditionSearchFormDataParam, metadata?: types.PostMedicalconditionSearchMetadataParam): Promise<FetchResponse<200, types.MedicalConditionBaseResponse>> {
|
574
|
+
return this.core.fetch('/medicalCondition/search', 'post', body, metadata);
|
575
|
+
}
|
576
|
+
|
577
|
+
/**
|
578
|
+
* Retrival of a single movie
|
579
|
+
*
|
580
|
+
*/
|
581
|
+
getMovie(metadata: types.GetMovieMetadataParam): Promise<FetchResponse<200, types.MovieFullResponse> | FetchResponse<number, types.Error>> {
|
582
|
+
return this.core.fetch('/movie', 'get', metadata);
|
583
|
+
}
|
584
|
+
|
585
|
+
/**
|
586
|
+
* Pagination over movies
|
587
|
+
*
|
588
|
+
*/
|
589
|
+
getMovieSearch(metadata?: types.GetMovieSearchMetadataParam): Promise<FetchResponse<200, types.MovieBaseResponse> | FetchResponse<number, types.Error>> {
|
590
|
+
return this.core.fetch('/movie/search', 'get', metadata);
|
591
|
+
}
|
592
|
+
|
593
|
+
/**
|
594
|
+
* Searching movies
|
595
|
+
*
|
596
|
+
*/
|
597
|
+
postMovieSearch(body?: types.PostMovieSearchFormDataParam, metadata?: types.PostMovieSearchMetadataParam): Promise<FetchResponse<200, types.MovieBaseResponse>> {
|
598
|
+
return this.core.fetch('/movie/search', 'post', body, metadata);
|
599
|
+
}
|
600
|
+
|
601
|
+
/**
|
602
|
+
* Retrival of a single occupation
|
603
|
+
*
|
604
|
+
*/
|
605
|
+
getOccupation(metadata: types.GetOccupationMetadataParam): Promise<FetchResponse<200, types.OccupationFullResponse> | FetchResponse<number, types.Error>> {
|
606
|
+
return this.core.fetch('/occupation', 'get', metadata);
|
607
|
+
}
|
608
|
+
|
609
|
+
/**
|
610
|
+
* Pagination over occupations
|
611
|
+
*
|
612
|
+
*/
|
613
|
+
getOccupationSearch(metadata?: types.GetOccupationSearchMetadataParam): Promise<FetchResponse<200, types.OccupationBaseResponse> | FetchResponse<number, types.Error>> {
|
614
|
+
return this.core.fetch('/occupation/search', 'get', metadata);
|
615
|
+
}
|
616
|
+
|
617
|
+
/**
|
618
|
+
* Searching occupations
|
619
|
+
*
|
620
|
+
*/
|
621
|
+
postOccupationSearch(body?: types.PostOccupationSearchFormDataParam, metadata?: types.PostOccupationSearchMetadataParam): Promise<FetchResponse<200, types.OccupationBaseResponse>> {
|
622
|
+
return this.core.fetch('/occupation/search', 'post', body, metadata);
|
623
|
+
}
|
624
|
+
|
625
|
+
/**
|
626
|
+
* Retrival of a single organization
|
627
|
+
*
|
628
|
+
*/
|
629
|
+
getOrganization(metadata: types.GetOrganizationMetadataParam): Promise<FetchResponse<200, types.OrganizationFullResponse> | FetchResponse<number, types.Error>> {
|
630
|
+
return this.core.fetch('/organization', 'get', metadata);
|
631
|
+
}
|
632
|
+
|
633
|
+
/**
|
634
|
+
* Pagination over organizations
|
635
|
+
*
|
636
|
+
*/
|
637
|
+
getOrganizationSearch(metadata?: types.GetOrganizationSearchMetadataParam): Promise<FetchResponse<200, types.OrganizationBaseResponse> | FetchResponse<number, types.Error>> {
|
638
|
+
return this.core.fetch('/organization/search', 'get', metadata);
|
639
|
+
}
|
640
|
+
|
641
|
+
/**
|
642
|
+
* Searching organizations
|
643
|
+
*
|
644
|
+
*/
|
645
|
+
postOrganizationSearch(body?: types.PostOrganizationSearchFormDataParam, metadata?: types.PostOrganizationSearchMetadataParam): Promise<FetchResponse<200, types.OrganizationBaseResponse>> {
|
646
|
+
return this.core.fetch('/organization/search', 'post', body, metadata);
|
647
|
+
}
|
648
|
+
|
649
|
+
/**
|
650
|
+
* Retrival of a single performer
|
651
|
+
*
|
652
|
+
*/
|
653
|
+
getPerformer(metadata: types.GetPerformerMetadataParam): Promise<FetchResponse<200, types.PerformerFullResponse> | FetchResponse<number, types.Error>> {
|
654
|
+
return this.core.fetch('/performer', 'get', metadata);
|
655
|
+
}
|
656
|
+
|
657
|
+
/**
|
658
|
+
* Pagination over performers
|
659
|
+
*
|
660
|
+
*/
|
661
|
+
getPerformerSearch(metadata?: types.GetPerformerSearchMetadataParam): Promise<FetchResponse<200, types.PerformerBaseResponse> | FetchResponse<number, types.Error>> {
|
662
|
+
return this.core.fetch('/performer/search', 'get', metadata);
|
663
|
+
}
|
664
|
+
|
665
|
+
/**
|
666
|
+
* Searching performers
|
667
|
+
*
|
668
|
+
*/
|
669
|
+
postPerformerSearch(body?: types.PostPerformerSearchFormDataParam, metadata?: types.PostPerformerSearchMetadataParam): Promise<FetchResponse<200, types.PerformerBaseResponse>> {
|
670
|
+
return this.core.fetch('/performer/search', 'post', body, metadata);
|
671
|
+
}
|
672
|
+
|
673
|
+
/**
|
674
|
+
* Retrival of a single season
|
675
|
+
*
|
676
|
+
*/
|
677
|
+
getSeason(metadata: types.GetSeasonMetadataParam): Promise<FetchResponse<200, types.SeasonFullResponse> | FetchResponse<number, types.Error>> {
|
678
|
+
return this.core.fetch('/season', 'get', metadata);
|
679
|
+
}
|
680
|
+
|
681
|
+
/**
|
682
|
+
* Pagination over seasons
|
683
|
+
*
|
684
|
+
*/
|
685
|
+
getSeasonSearch(metadata?: types.GetSeasonSearchMetadataParam): Promise<FetchResponse<200, types.SeasonBaseResponse> | FetchResponse<number, types.Error>> {
|
686
|
+
return this.core.fetch('/season/search', 'get', metadata);
|
687
|
+
}
|
688
|
+
|
689
|
+
/**
|
690
|
+
* Searching seasons
|
691
|
+
*
|
692
|
+
*/
|
693
|
+
postSeasonSearch(body?: types.PostSeasonSearchFormDataParam, metadata?: types.PostSeasonSearchMetadataParam): Promise<FetchResponse<200, types.SeasonBaseResponse>> {
|
694
|
+
return this.core.fetch('/season/search', 'post', body, metadata);
|
695
|
+
}
|
696
|
+
|
697
|
+
/**
|
698
|
+
* Retrival of a single series
|
699
|
+
*
|
700
|
+
*/
|
701
|
+
getSeries(metadata: types.GetSeriesMetadataParam): Promise<FetchResponse<200, types.SeriesFullResponse> | FetchResponse<number, types.Error>> {
|
702
|
+
return this.core.fetch('/series', 'get', metadata);
|
703
|
+
}
|
704
|
+
|
705
|
+
/**
|
706
|
+
* Pagination over series
|
707
|
+
*
|
708
|
+
*/
|
709
|
+
getSeriesSearch(metadata?: types.GetSeriesSearchMetadataParam): Promise<FetchResponse<200, types.SeriesBaseResponse> | FetchResponse<number, types.Error>> {
|
710
|
+
return this.core.fetch('/series/search', 'get', metadata);
|
711
|
+
}
|
712
|
+
|
713
|
+
/**
|
714
|
+
* Searching series
|
715
|
+
*
|
716
|
+
*/
|
717
|
+
postSeriesSearch(body?: types.PostSeriesSearchFormDataParam, metadata?: types.PostSeriesSearchMetadataParam): Promise<FetchResponse<200, types.SeriesBaseResponse>> {
|
718
|
+
return this.core.fetch('/series/search', 'post', body, metadata);
|
719
|
+
}
|
720
|
+
|
721
|
+
/**
|
722
|
+
* Retrival of a single soundtrack
|
723
|
+
*
|
724
|
+
*/
|
725
|
+
getSoundtrack(metadata: types.GetSoundtrackMetadataParam): Promise<FetchResponse<200, types.SoundtrackFullResponse> | FetchResponse<number, types.Error>> {
|
726
|
+
return this.core.fetch('/soundtrack', 'get', metadata);
|
727
|
+
}
|
728
|
+
|
729
|
+
/**
|
730
|
+
* Pagination over soundtracks
|
731
|
+
*
|
732
|
+
*/
|
733
|
+
getSoundtrackSearch(metadata?: types.GetSoundtrackSearchMetadataParam): Promise<FetchResponse<200, types.SoundtrackBaseResponse> | FetchResponse<number, types.Error>> {
|
734
|
+
return this.core.fetch('/soundtrack/search', 'get', metadata);
|
735
|
+
}
|
736
|
+
|
737
|
+
/**
|
738
|
+
* Searching soundtracks
|
739
|
+
*
|
740
|
+
*/
|
741
|
+
postSoundtrackSearch(body?: types.PostSoundtrackSearchFormDataParam, metadata?: types.PostSoundtrackSearchMetadataParam): Promise<FetchResponse<200, types.SoundtrackBaseResponse>> {
|
742
|
+
return this.core.fetch('/soundtrack/search', 'post', body, metadata);
|
743
|
+
}
|
744
|
+
|
745
|
+
/**
|
746
|
+
* Retrival of a single spacecraft
|
747
|
+
*
|
748
|
+
*/
|
749
|
+
getSpacecraft(metadata: types.GetSpacecraftMetadataParam): Promise<FetchResponse<200, types.SpacecraftFullResponse> | FetchResponse<number, types.Error>> {
|
750
|
+
return this.core.fetch('/spacecraft', 'get', metadata);
|
751
|
+
}
|
752
|
+
|
753
|
+
/**
|
754
|
+
* Pagination over spacecrafts
|
755
|
+
*
|
756
|
+
*/
|
757
|
+
getSpacecraftSearch(metadata?: types.GetSpacecraftSearchMetadataParam): Promise<FetchResponse<200, types.SpacecraftBaseResponse> | FetchResponse<number, types.Error>> {
|
758
|
+
return this.core.fetch('/spacecraft/search', 'get', metadata);
|
759
|
+
}
|
760
|
+
|
761
|
+
/**
|
762
|
+
* Searching spacecrafts
|
763
|
+
*
|
764
|
+
*/
|
765
|
+
postSpacecraftSearch(body?: types.PostSpacecraftSearchFormDataParam, metadata?: types.PostSpacecraftSearchMetadataParam): Promise<FetchResponse<200, types.SpacecraftBaseResponse>> {
|
766
|
+
return this.core.fetch('/spacecraft/search', 'post', body, metadata);
|
767
|
+
}
|
768
|
+
|
769
|
+
/**
|
770
|
+
* Retrival of a single spacecraft class
|
771
|
+
*
|
772
|
+
*/
|
773
|
+
getSpacecraftclass(metadata: types.GetSpacecraftclassMetadataParam): Promise<FetchResponse<200, types.SpacecraftClassFullResponse> | FetchResponse<number, types.Error>> {
|
774
|
+
return this.core.fetch('/spacecraftClass', 'get', metadata);
|
775
|
+
}
|
776
|
+
|
777
|
+
/**
|
778
|
+
* Pagination over spacecraft classes
|
779
|
+
*
|
780
|
+
*/
|
781
|
+
getSpacecraftclassSearch(metadata?: types.GetSpacecraftclassSearchMetadataParam): Promise<FetchResponse<200, types.SpacecraftClassBaseResponse> | FetchResponse<number, types.Error>> {
|
782
|
+
return this.core.fetch('/spacecraftClass/search', 'get', metadata);
|
783
|
+
}
|
784
|
+
|
785
|
+
/**
|
786
|
+
* Searching spacecraft classes
|
787
|
+
*
|
788
|
+
*/
|
789
|
+
postSpacecraftclassSearch(body?: types.PostSpacecraftclassSearchFormDataParam, metadata?: types.PostSpacecraftclassSearchMetadataParam): Promise<FetchResponse<200, types.SpacecraftClassBaseResponse>> {
|
790
|
+
return this.core.fetch('/spacecraftClass/search', 'post', body, metadata);
|
791
|
+
}
|
792
|
+
|
793
|
+
/**
|
794
|
+
* Retrival of a single species
|
795
|
+
*
|
796
|
+
*/
|
797
|
+
getSpecies(metadata: types.GetSpeciesMetadataParam): Promise<FetchResponse<200, types.SpeciesFullResponse> | FetchResponse<number, types.Error>> {
|
798
|
+
return this.core.fetch('/species', 'get', metadata);
|
799
|
+
}
|
800
|
+
|
801
|
+
/**
|
802
|
+
* Pagination over species
|
803
|
+
*
|
804
|
+
*/
|
805
|
+
getSpeciesSearch(metadata?: types.GetSpeciesSearchMetadataParam): Promise<FetchResponse<200, types.SpeciesBaseResponse> | FetchResponse<number, types.Error>> {
|
806
|
+
return this.core.fetch('/species/search', 'get', metadata);
|
807
|
+
}
|
808
|
+
|
809
|
+
/**
|
810
|
+
* Searching species
|
811
|
+
*
|
812
|
+
*/
|
813
|
+
postSpeciesSearch(body?: types.PostSpeciesSearchFormDataParam, metadata?: types.PostSpeciesSearchMetadataParam): Promise<FetchResponse<200, types.SpeciesBaseResponse>> {
|
814
|
+
return this.core.fetch('/species/search', 'post', body, metadata);
|
815
|
+
}
|
816
|
+
|
817
|
+
/**
|
818
|
+
* Retrival of a single staff
|
819
|
+
*
|
820
|
+
*/
|
821
|
+
getStaff(metadata: types.GetStaffMetadataParam): Promise<FetchResponse<200, types.StaffFullResponse> | FetchResponse<number, types.Error>> {
|
822
|
+
return this.core.fetch('/staff', 'get', metadata);
|
823
|
+
}
|
824
|
+
|
825
|
+
/**
|
826
|
+
* Pagination over staff
|
827
|
+
*
|
828
|
+
*/
|
829
|
+
getStaffSearch(metadata?: types.GetStaffSearchMetadataParam): Promise<FetchResponse<200, types.StaffBaseResponse> | FetchResponse<number, types.Error>> {
|
830
|
+
return this.core.fetch('/staff/search', 'get', metadata);
|
831
|
+
}
|
832
|
+
|
833
|
+
/**
|
834
|
+
* Searching staff
|
835
|
+
*
|
836
|
+
*/
|
837
|
+
postStaffSearch(body?: types.PostStaffSearchFormDataParam, metadata?: types.PostStaffSearchMetadataParam): Promise<FetchResponse<200, types.StaffBaseResponse>> {
|
838
|
+
return this.core.fetch('/staff/search', 'post', body, metadata);
|
839
|
+
}
|
840
|
+
|
841
|
+
/**
|
842
|
+
* Retrival of a single technology
|
843
|
+
*
|
844
|
+
*/
|
845
|
+
getTechnology(metadata: types.GetTechnologyMetadataParam): Promise<FetchResponse<200, types.TechnologyFullResponse> | FetchResponse<number, types.Error>> {
|
846
|
+
return this.core.fetch('/technology', 'get', metadata);
|
847
|
+
}
|
848
|
+
|
849
|
+
/**
|
850
|
+
* Pagination over technology
|
851
|
+
*
|
852
|
+
*/
|
853
|
+
getTechnologySearch(metadata?: types.GetTechnologySearchMetadataParam): Promise<FetchResponse<200, types.TechnologyBaseResponse> | FetchResponse<number, types.Error>> {
|
854
|
+
return this.core.fetch('/technology/search', 'get', metadata);
|
855
|
+
}
|
856
|
+
|
857
|
+
/**
|
858
|
+
* Searching technology
|
859
|
+
*
|
860
|
+
*/
|
861
|
+
postTechnologySearch(body?: types.PostTechnologySearchFormDataParam, metadata?: types.PostTechnologySearchMetadataParam): Promise<FetchResponse<200, types.TechnologyBaseResponse>> {
|
862
|
+
return this.core.fetch('/technology/search', 'post', body, metadata);
|
863
|
+
}
|
864
|
+
|
865
|
+
/**
|
866
|
+
* Retrival of a single title
|
867
|
+
*
|
868
|
+
*/
|
869
|
+
getTitle(metadata: types.GetTitleMetadataParam): Promise<FetchResponse<200, types.TitleFullResponse> | FetchResponse<number, types.Error>> {
|
870
|
+
return this.core.fetch('/title', 'get', metadata);
|
871
|
+
}
|
872
|
+
|
873
|
+
/**
|
874
|
+
* Pagination over titles
|
875
|
+
*
|
876
|
+
*/
|
877
|
+
getTitleSearch(metadata?: types.GetTitleSearchMetadataParam): Promise<FetchResponse<200, types.TitleBaseResponse> | FetchResponse<number, types.Error>> {
|
878
|
+
return this.core.fetch('/title/search', 'get', metadata);
|
879
|
+
}
|
880
|
+
|
881
|
+
/**
|
882
|
+
* Searching titles
|
883
|
+
*
|
884
|
+
*/
|
885
|
+
postTitleSearch(body?: types.PostTitleSearchFormDataParam, metadata?: types.PostTitleSearchMetadataParam): Promise<FetchResponse<200, types.TitleBaseResponse>> {
|
886
|
+
return this.core.fetch('/title/search', 'post', body, metadata);
|
887
|
+
}
|
888
|
+
|
889
|
+
/**
|
890
|
+
* Retrival of a single trading card
|
891
|
+
*
|
892
|
+
*/
|
893
|
+
getTradingcard(metadata: types.GetTradingcardMetadataParam): Promise<FetchResponse<200, types.TradingCardFullResponse> | FetchResponse<number, types.Error>> {
|
894
|
+
return this.core.fetch('/tradingCard', 'get', metadata);
|
895
|
+
}
|
896
|
+
|
897
|
+
/**
|
898
|
+
* Pagination over trading cards
|
899
|
+
*
|
900
|
+
*/
|
901
|
+
getTradingcardSearch(metadata?: types.GetTradingcardSearchMetadataParam): Promise<FetchResponse<200, types.TradingCardBaseResponse> | FetchResponse<number, types.Error>> {
|
902
|
+
return this.core.fetch('/tradingCard/search', 'get', metadata);
|
903
|
+
}
|
904
|
+
|
905
|
+
/**
|
906
|
+
* Searching trading cards
|
907
|
+
*
|
908
|
+
*/
|
909
|
+
postTradingcardSearch(body?: types.PostTradingcardSearchFormDataParam, metadata?: types.PostTradingcardSearchMetadataParam): Promise<FetchResponse<200, types.TradingCardBaseResponse>> {
|
910
|
+
return this.core.fetch('/tradingCard/search', 'post', body, metadata);
|
911
|
+
}
|
912
|
+
|
913
|
+
/**
|
914
|
+
* Retrival of a single trading card deck
|
915
|
+
*
|
916
|
+
*/
|
917
|
+
getTradingcarddeck(metadata: types.GetTradingcarddeckMetadataParam): Promise<FetchResponse<200, types.TradingCardDeckFullResponse> | FetchResponse<number, types.Error>> {
|
918
|
+
return this.core.fetch('/tradingCardDeck', 'get', metadata);
|
919
|
+
}
|
920
|
+
|
921
|
+
/**
|
922
|
+
* Pagination over trading card decks
|
923
|
+
*
|
924
|
+
*/
|
925
|
+
getTradingcarddeckSearch(metadata?: types.GetTradingcarddeckSearchMetadataParam): Promise<FetchResponse<200, types.TradingCardDeckBaseResponse> | FetchResponse<number, types.Error>> {
|
926
|
+
return this.core.fetch('/tradingCardDeck/search', 'get', metadata);
|
927
|
+
}
|
928
|
+
|
929
|
+
/**
|
930
|
+
* Searching trading card decks
|
931
|
+
*
|
932
|
+
*/
|
933
|
+
postTradingcarddeckSearch(body?: types.PostTradingcarddeckSearchFormDataParam, metadata?: types.PostTradingcarddeckSearchMetadataParam): Promise<FetchResponse<200, types.TradingCardDeckBaseResponse>> {
|
934
|
+
return this.core.fetch('/tradingCardDeck/search', 'post', body, metadata);
|
935
|
+
}
|
936
|
+
|
937
|
+
/**
|
938
|
+
* Retrival of a single trading card set
|
939
|
+
*
|
940
|
+
*/
|
941
|
+
getTradingcardset(metadata: types.GetTradingcardsetMetadataParam): Promise<FetchResponse<200, types.TradingCardSetFullResponse> | FetchResponse<number, types.Error>> {
|
942
|
+
return this.core.fetch('/tradingCardSet', 'get', metadata);
|
943
|
+
}
|
944
|
+
|
945
|
+
/**
|
946
|
+
* Pagination over trading card sets
|
947
|
+
*
|
948
|
+
*/
|
949
|
+
getTradingcardsetSearch(metadata?: types.GetTradingcardsetSearchMetadataParam): Promise<FetchResponse<200, types.TradingCardSetBaseResponse> | FetchResponse<number, types.Error>> {
|
950
|
+
return this.core.fetch('/tradingCardSet/search', 'get', metadata);
|
951
|
+
}
|
952
|
+
|
953
|
+
/**
|
954
|
+
* Searching trading card sets
|
955
|
+
*
|
956
|
+
*/
|
957
|
+
postTradingcardsetSearch(body?: types.PostTradingcardsetSearchFormDataParam, metadata?: types.PostTradingcardsetSearchMetadataParam): Promise<FetchResponse<200, types.TradingCardSetBaseResponse>> {
|
958
|
+
return this.core.fetch('/tradingCardSet/search', 'post', body, metadata);
|
959
|
+
}
|
960
|
+
|
961
|
+
/**
|
962
|
+
* Retrival of a single video game
|
963
|
+
*
|
964
|
+
*/
|
965
|
+
getVideogame(metadata: types.GetVideogameMetadataParam): Promise<FetchResponse<200, types.VideoGameFullResponse> | FetchResponse<number, types.Error>> {
|
966
|
+
return this.core.fetch('/videoGame', 'get', metadata);
|
967
|
+
}
|
968
|
+
|
969
|
+
/**
|
970
|
+
* Pagination over video games
|
971
|
+
*
|
972
|
+
*/
|
973
|
+
getVideogameSearch(metadata?: types.GetVideogameSearchMetadataParam): Promise<FetchResponse<200, types.VideoGameBaseResponse> | FetchResponse<number, types.Error>> {
|
974
|
+
return this.core.fetch('/videoGame/search', 'get', metadata);
|
975
|
+
}
|
976
|
+
|
977
|
+
/**
|
978
|
+
* Searching video games
|
979
|
+
*
|
980
|
+
*/
|
981
|
+
postVideogameSearch(body?: types.PostVideogameSearchFormDataParam, metadata?: types.PostVideogameSearchMetadataParam): Promise<FetchResponse<200, types.VideoGameBaseResponse>> {
|
982
|
+
return this.core.fetch('/videoGame/search', 'post', body, metadata);
|
983
|
+
}
|
984
|
+
|
985
|
+
/**
|
986
|
+
* Retrival of a single video release
|
987
|
+
*
|
988
|
+
*/
|
989
|
+
getVideorelease(metadata: types.GetVideoreleaseMetadataParam): Promise<FetchResponse<200, types.VideoReleaseFullResponse> | FetchResponse<number, types.Error>> {
|
990
|
+
return this.core.fetch('/videoRelease', 'get', metadata);
|
991
|
+
}
|
992
|
+
|
993
|
+
/**
|
994
|
+
* Pagination over video releases
|
995
|
+
*
|
996
|
+
*/
|
997
|
+
getVideoreleaseSearch(metadata?: types.GetVideoreleaseSearchMetadataParam): Promise<FetchResponse<200, types.VideoReleaseBaseResponse> | FetchResponse<number, types.Error>> {
|
998
|
+
return this.core.fetch('/videoRelease/search', 'get', metadata);
|
999
|
+
}
|
1000
|
+
|
1001
|
+
/**
|
1002
|
+
* Searching video releases
|
1003
|
+
*
|
1004
|
+
*/
|
1005
|
+
postVideoreleaseSearch(body?: types.PostVideoreleaseSearchFormDataParam, metadata?: types.PostVideoreleaseSearchMetadataParam): Promise<FetchResponse<200, types.VideoReleaseBaseResponse>> {
|
1006
|
+
return this.core.fetch('/videoRelease/search', 'post', body, metadata);
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
/**
|
1010
|
+
* Retrival of a single weapon
|
1011
|
+
*
|
1012
|
+
*/
|
1013
|
+
getWeapon(metadata: types.GetWeaponMetadataParam): Promise<FetchResponse<200, types.WeaponFullResponse> | FetchResponse<number, types.Error>> {
|
1014
|
+
return this.core.fetch('/weapon', 'get', metadata);
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
/**
|
1018
|
+
* Pagination over weapons
|
1019
|
+
*
|
1020
|
+
*/
|
1021
|
+
getWeaponSearch(metadata?: types.GetWeaponSearchMetadataParam): Promise<FetchResponse<200, types.WeaponBaseResponse> | FetchResponse<number, types.Error>> {
|
1022
|
+
return this.core.fetch('/weapon/search', 'get', metadata);
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
/**
|
1026
|
+
* Searching weapons
|
1027
|
+
*
|
1028
|
+
*/
|
1029
|
+
postWeaponSearch(body?: types.PostWeaponSearchFormDataParam, metadata?: types.PostWeaponSearchMetadataParam): Promise<FetchResponse<200, types.WeaponBaseResponse>> {
|
1030
|
+
return this.core.fetch('/weapon/search', 'post', body, metadata);
|
1031
|
+
}
|
1032
|
+
}
|