@bfra.me/api-core 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{chunk-HKKQOEV3.js → chunk-4GZUUWYJ.js} +6 -1
- package/dist/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/package.json +23 -16
- package/CHANGELOG.md +0 -11
- package/dist/chunk-7NM3WYHE.js.map +0 -1
- package/dist/chunk-7QVYU63E.js.map +0 -1
- package/dist/chunk-HKKQOEV3.js.map +0 -1
- package/dist/errors/fetchError.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/index.js.map +0 -1
- package/dist/types.js.map +0 -1
- package/eslint.config.ts +0 -25
- package/test-utils/CHANGELOG.md +0 -11
- package/test-utils/datasets/real-world-apis.json +0 -8507
- package/test-utils/datasets/refresh-dataset +0 -336
- package/test-utils/definitions/alby.json +0 -5391
- package/test-utils/definitions/auth-quirks.json +0 -62
- package/test-utils/definitions/basiq.json +0 -104
- package/test-utils/definitions/metrotransit.json +0 -318
- package/test-utils/definitions/nested-defaults.json +0 -107
- package/test-utils/definitions/operationid-quirks.json +0 -36
- package/test-utils/definitions/optional-payload.json +0 -57
- package/test-utils/definitions/payloads.json +0 -58
- package/test-utils/definitions/response-title-quirks.json +0 -77
- package/test-utils/definitions/simple.json +0 -291
- package/test-utils/fetch-mock.ts +0 -81
- package/test-utils/fixtures/hello.jp.txt +0 -1
- package/test-utils/fixtures/hello.txt +0 -1
- package/test-utils/fixtures/owlbert-shrub.png +0 -0
- package/test-utils/fixtures/owlbert.png +0 -0
- package/test-utils/index.ts +0 -2
- package/test-utils/load-spec.ts +0 -8
- package/test-utils/node_modules/.bin/tsc +0 -17
- package/test-utils/node_modules/.bin/tsserver +0 -17
- package/test-utils/package.json +0 -20
- package/test-utils/sdks/README.md +0 -3
- package/test-utils/sdks/alby/README.md +0 -23
- package/test-utils/sdks/alby/package.json +0 -55
- package/test-utils/sdks/alby/src/index.ts +0 -18
- package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePatch.ts +0 -92
- package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePost.ts +0 -93
- package/test-utils/sdks/alby/src/schemas/AmqpExternalRuleResponse.ts +0 -143
- package/test-utils/sdks/alby/src/schemas/AmqpRulePatch.ts +0 -76
- package/test-utils/sdks/alby/src/schemas/AmqpRulePost.ts +0 -85
- package/test-utils/sdks/alby/src/schemas/AmqpRuleResponse.ts +0 -124
- package/test-utils/sdks/alby/src/schemas/AppPatch.ts +0 -68
- package/test-utils/sdks/alby/src/schemas/AppPkcs12.ts +0 -22
- package/test-utils/sdks/alby/src/schemas/AppPost.ts +0 -71
- package/test-utils/sdks/alby/src/schemas/AppResponse.ts +0 -69
- package/test-utils/sdks/alby/src/schemas/AwsAccessKeys.ts +0 -28
- package/test-utils/sdks/alby/src/schemas/AwsAccessKeysResponse.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/AwsAssumeRole.ts +0 -23
- package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePatch.ts +0 -90
- package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePost.ts +0 -103
- package/test-utils/sdks/alby/src/schemas/AwsKinesisRuleResponse.ts +0 -142
- package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePatch.ts +0 -90
- package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePost.ts +0 -90
- package/test-utils/sdks/alby/src/schemas/AwsLambdaRuleResponse.ts +0 -132
- package/test-utils/sdks/alby/src/schemas/AwsSqsRulePatch.ts +0 -86
- package/test-utils/sdks/alby/src/schemas/AwsSqsRulePost.ts +0 -98
- package/test-utils/sdks/alby/src/schemas/AwsSqsRuleResponse.ts +0 -137
- package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePatch.ts +0 -96
- package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePost.ts +0 -106
- package/test-utils/sdks/alby/src/schemas/AzureFunctionRuleResponse.ts +0 -145
- package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePatch.ts +0 -74
- package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePost.ts +0 -83
- package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRuleResponse.ts +0 -125
- package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdNamespacesNamespaceId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdQueuesQueueId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdRulesRuleId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/DeleteAppsId.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/Error.ts +0 -39
- package/test-utils/sdks/alby/src/schemas/GetAccountsAccountIdApps.ts +0 -29
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdKeys.ts +0 -29
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdNamespaces.ts +0 -29
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdQueues.ts +0 -29
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRules.ts +0 -29
- package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRulesRuleId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePatch.ts +0 -100
- package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePost.ts +0 -100
- package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRuleResponse.ts +0 -150
- package/test-utils/sdks/alby/src/schemas/HttpRulePatch.ts +0 -89
- package/test-utils/sdks/alby/src/schemas/HttpRulePost.ts +0 -100
- package/test-utils/sdks/alby/src/schemas/HttpRuleResponse.ts +0 -138
- package/test-utils/sdks/alby/src/schemas/IftttRulePatch.ts +0 -59
- package/test-utils/sdks/alby/src/schemas/IftttRulePost.ts +0 -62
- package/test-utils/sdks/alby/src/schemas/IftttRuleResponse.ts +0 -101
- package/test-utils/sdks/alby/src/schemas/KeyPatch.ts +0 -34
- package/test-utils/sdks/alby/src/schemas/KeyPost.ts +0 -39
- package/test-utils/sdks/alby/src/schemas/KeyResponse.ts +0 -63
- package/test-utils/sdks/alby/src/schemas/Me.ts +0 -98
- package/test-utils/sdks/alby/src/schemas/NamespacePatch.ts +0 -49
- package/test-utils/sdks/alby/src/schemas/NamespacePost.ts +0 -59
- package/test-utils/sdks/alby/src/schemas/NamespaceResponse.ts +0 -70
- package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdKeysKeyId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdNamespacesNamespaceId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdRulesRuleId.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/PatchAppsId.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/PostAccountsAccountIdApps.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeys.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeysKeyIdRevoke.ts +0 -26
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdNamespaces.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdQueues.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/PostAppsAppIdRules.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/PostAppsIdPkcs12.ts +0 -20
- package/test-utils/sdks/alby/src/schemas/Queue.ts +0 -43
- package/test-utils/sdks/alby/src/schemas/QueueResponse.ts +0 -185
- package/test-utils/sdks/alby/src/schemas/RulePatch.ts +0 -46
- package/test-utils/sdks/alby/src/schemas/RulePost.ts +0 -49
- package/test-utils/sdks/alby/src/schemas/RuleResponse.ts +0 -46
- package/test-utils/sdks/alby/src/schemas/RuleSource.ts +0 -30
- package/test-utils/sdks/alby/src/schemas/UnsupportedRuleResponse.ts +0 -98
- package/test-utils/sdks/alby/src/schemas/ZapierRulePatch.ts +0 -74
- package/test-utils/sdks/alby/src/schemas/ZapierRulePost.ts +0 -83
- package/test-utils/sdks/alby/src/schemas/ZapierRuleResponse.ts +0 -122
- package/test-utils/sdks/alby/src/schemas.ts +0 -77
- package/test-utils/sdks/alby/src/sdk.ts +0 -381
- package/test-utils/sdks/alby/src/types.ts +0 -84
- package/test-utils/sdks/alby/tsconfig.json +0 -12
- package/test-utils/sdks/metrotransit/README.md +0 -22
- package/test-utils/sdks/metrotransit/package.json +0 -55
- package/test-utils/sdks/metrotransit/src/index.ts +0 -12
- package/test-utils/sdks/metrotransit/src/schemas/Agency.ts +0 -19
- package/test-utils/sdks/metrotransit/src/schemas/AlertMessage.ts +0 -18
- package/test-utils/sdks/metrotransit/src/schemas/Departure.ts +0 -78
- package/test-utils/sdks/metrotransit/src/schemas/Direction.ts +0 -19
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripAgencies.ts +0 -12
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripDirectionsRouteId.ts +0 -28
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripRouteIdDirectionIdPlaceCode.ts +0 -30
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripRoutes.ts +0 -12
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopId.ts +0 -20
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopsRouteIdDirectionId.ts +0 -34
- package/test-utils/sdks/metrotransit/src/schemas/GetNextripVehiclesRouteId.ts +0 -28
- package/test-utils/sdks/metrotransit/src/schemas/NexTripResult.ts +0 -34
- package/test-utils/sdks/metrotransit/src/schemas/Place.ts +0 -21
- package/test-utils/sdks/metrotransit/src/schemas/ProblemDetails.ts +0 -40
- package/test-utils/sdks/metrotransit/src/schemas/Route.ts +0 -25
- package/test-utils/sdks/metrotransit/src/schemas/Stop.ts +0 -27
- package/test-utils/sdks/metrotransit/src/schemas/Vehicle.ts +0 -61
- package/test-utils/sdks/metrotransit/src/schemas.ts +0 -18
- package/test-utils/sdks/metrotransit/src/sdk.ts +0 -107
- package/test-utils/sdks/metrotransit/src/types.ts +0 -23
- package/test-utils/sdks/metrotransit/tsconfig.json +0 -12
- package/test-utils/sdks/operationid-quirks/README.md +0 -22
- package/test-utils/sdks/operationid-quirks/package.json +0 -50
- package/test-utils/sdks/operationid-quirks/src/index.ts +0 -9
- package/test-utils/sdks/operationid-quirks/src/sdk.ts +0 -107
- package/test-utils/sdks/operationid-quirks/tsconfig.json +0 -12
- package/test-utils/sdks/optional-payload/README.md +0 -14
- package/test-utils/sdks/optional-payload/package.json +0 -55
- package/test-utils/sdks/optional-payload/src/index.ts +0 -9
- package/test-utils/sdks/optional-payload/src/schemas/UpdatePetWithForm.ts +0 -35
- package/test-utils/sdks/optional-payload/src/schemas.ts +0 -2
- package/test-utils/sdks/optional-payload/src/sdk.ts +0 -82
- package/test-utils/sdks/optional-payload/src/types.ts +0 -5
- package/test-utils/sdks/optional-payload/tsconfig.json +0 -12
- package/test-utils/sdks/petstore/LICENSE +0 -97
- package/test-utils/sdks/petstore/README.md +0 -23
- package/test-utils/sdks/petstore/package.json +0 -56
- package/test-utils/sdks/petstore/src/index.ts +0 -17
- package/test-utils/sdks/petstore/src/schemas/ApiResponse.ts +0 -18
- package/test-utils/sdks/petstore/src/schemas/Category.ts +0 -15
- package/test-utils/sdks/petstore/src/schemas/CreateUsersWithArrayInput.ts +0 -10
- package/test-utils/sdks/petstore/src/schemas/CreateUsersWithListInput.ts +0 -10
- package/test-utils/sdks/petstore/src/schemas/DeleteOrder.ts +0 -22
- package/test-utils/sdks/petstore/src/schemas/DeletePet.ts +0 -31
- package/test-utils/sdks/petstore/src/schemas/DeleteUser.ts +0 -20
- package/test-utils/sdks/petstore/src/schemas/FindPetsByStatus.ts +0 -38
- package/test-utils/sdks/petstore/src/schemas/FindPetsByTags.ts +0 -32
- package/test-utils/sdks/petstore/src/schemas/GetInventory.ts +0 -13
- package/test-utils/sdks/petstore/src/schemas/GetOrderById.ts +0 -23
- package/test-utils/sdks/petstore/src/schemas/GetPetById.ts +0 -21
- package/test-utils/sdks/petstore/src/schemas/GetUserByName.ts +0 -20
- package/test-utils/sdks/petstore/src/schemas/LoginUser.ts +0 -32
- package/test-utils/sdks/petstore/src/schemas/Order.ts +0 -37
- package/test-utils/sdks/petstore/src/schemas/Pet.ts +0 -53
- package/test-utils/sdks/petstore/src/schemas/Tag.ts +0 -15
- package/test-utils/sdks/petstore/src/schemas/UpdatePetWithForm.ts +0 -35
- package/test-utils/sdks/petstore/src/schemas/UpdateUser.ts +0 -20
- package/test-utils/sdks/petstore/src/schemas/UploadFile.ts +0 -36
- package/test-utils/sdks/petstore/src/schemas/User.ts +0 -35
- package/test-utils/sdks/petstore/src/schemas.ts +0 -22
- package/test-utils/sdks/petstore/src/sdk.ts +0 -248
- package/test-utils/sdks/petstore/src/types.ts +0 -29
- package/test-utils/sdks/petstore/tsconfig.json +0 -12
- package/test-utils/sdks/readme/README.md +0 -23
- package/test-utils/sdks/readme/package.json +0 -55
- package/test-utils/sdks/readme/src/index.ts +0 -13
- package/test-utils/sdks/readme/src/schemas/Apply.ts +0 -61
- package/test-utils/sdks/readme/src/schemas/Category.ts +0 -24
- package/test-utils/sdks/readme/src/schemas/Changelog.ts +0 -36
- package/test-utils/sdks/readme/src/schemas/CondensedProjectData.ts +0 -25
- package/test-utils/sdks/readme/src/schemas/CreateCategory.ts +0 -21
- package/test-utils/sdks/readme/src/schemas/CreateCustomPage.ts +0 -22
- package/test-utils/sdks/readme/src/schemas/CreateDoc.ts +0 -40
- package/test-utils/sdks/readme/src/schemas/CreateVersion.ts +0 -33
- package/test-utils/sdks/readme/src/schemas/CustomPage.ts +0 -33
- package/test-utils/sdks/readme/src/schemas/DeleteApiSpecification.ts +0 -39
- package/test-utils/sdks/readme/src/schemas/DeleteCategory.ts +0 -37
- package/test-utils/sdks/readme/src/schemas/DeleteChangelog.ts +0 -20
- package/test-utils/sdks/readme/src/schemas/DeleteCustomPage.ts +0 -39
- package/test-utils/sdks/readme/src/schemas/DeleteDoc.ts +0 -53
- package/test-utils/sdks/readme/src/schemas/DeleteVersion.ts +0 -42
- package/test-utils/sdks/readme/src/schemas/DocSchemaPost.ts +0 -135
- package/test-utils/sdks/readme/src/schemas/DocSchemaPut.ts +0 -62
- package/test-utils/sdks/readme/src/schemas/DocSchemaResponse.ts +0 -54
- package/test-utils/sdks/readme/src/schemas/ErrorApikeyEmpty.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorApikeyMismatch.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorApikeyNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorCategoryInvalid.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorCategoryNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorCustompageInvalid.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorCustompageNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorDocInvalid.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorDocNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorRegistryNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecFileEmpty.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecIdDuplicate.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecIdInvalid.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalid.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalidSchema.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecTimeout.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorSpecVersionNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionCantDemoteStable.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionCantRemoveStable.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionDuplicate.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionEmpty.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionForkEmpty.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionForkNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/ErrorVersionNotfound.ts +0 -49
- package/test-utils/sdks/readme/src/schemas/GetApiRegistry.ts +0 -27
- package/test-utils/sdks/readme/src/schemas/GetApiSchema.ts +0 -10
- package/test-utils/sdks/readme/src/schemas/GetApiSpecification.ts +0 -74
- package/test-utils/sdks/readme/src/schemas/GetCategories.ts +0 -57
- package/test-utils/sdks/readme/src/schemas/GetCategory.ts +0 -37
- package/test-utils/sdks/readme/src/schemas/GetCategoryDocs.ts +0 -37
- package/test-utils/sdks/readme/src/schemas/GetChangelog.ts +0 -20
- package/test-utils/sdks/readme/src/schemas/GetChangelogs.ts +0 -43
- package/test-utils/sdks/readme/src/schemas/GetCustomPage.ts +0 -39
- package/test-utils/sdks/readme/src/schemas/GetCustomPages.ts +0 -60
- package/test-utils/sdks/readme/src/schemas/GetDoc.ts +0 -53
- package/test-utils/sdks/readme/src/schemas/GetOpenRoles.ts +0 -12
- package/test-utils/sdks/readme/src/schemas/GetProductionDoc.ts +0 -53
- package/test-utils/sdks/readme/src/schemas/GetProject.ts +0 -22
- package/test-utils/sdks/readme/src/schemas/GetVersion.ts +0 -42
- package/test-utils/sdks/readme/src/schemas/GetVersions.ts +0 -22
- package/test-utils/sdks/readme/src/schemas/JobOpening.ts +0 -52
- package/test-utils/sdks/readme/src/schemas/SearchDocs.ts +0 -53
- package/test-utils/sdks/readme/src/schemas/UpdateApiSpecification.ts +0 -67
- package/test-utils/sdks/readme/src/schemas/UpdateCategory.ts +0 -37
- package/test-utils/sdks/readme/src/schemas/UpdateChangelog.ts +0 -20
- package/test-utils/sdks/readme/src/schemas/UpdateCustomPage.ts +0 -39
- package/test-utils/sdks/readme/src/schemas/UpdateDoc.ts +0 -53
- package/test-utils/sdks/readme/src/schemas/UpdateVersion.ts +0 -42
- package/test-utils/sdks/readme/src/schemas/UploadApiSpecification.ts +0 -64
- package/test-utils/sdks/readme/src/schemas/Version.ts +0 -40
- package/test-utils/sdks/readme/src/schemas.ts +0 -70
- package/test-utils/sdks/readme/src/sdk.ts +0 -477
- package/test-utils/sdks/readme/src/types.ts +0 -120
- package/test-utils/sdks/readme/tsconfig.json +0 -12
- package/test-utils/sdks/response-title-quirks/README.md +0 -14
- package/test-utils/sdks/response-title-quirks/package.json +0 -55
- package/test-utils/sdks/response-title-quirks/src/index.ts +0 -9
- package/test-utils/sdks/response-title-quirks/src/schemas/GetAnything.ts +0 -60
- package/test-utils/sdks/response-title-quirks/src/schemas.ts +0 -2
- package/test-utils/sdks/response-title-quirks/src/sdk.ts +0 -76
- package/test-utils/sdks/response-title-quirks/src/types.ts +0 -5
- package/test-utils/sdks/response-title-quirks/tsconfig.json +0 -12
- package/test-utils/sdks/simple/README.md +0 -14
- package/test-utils/sdks/simple/package.json +0 -55
- package/test-utils/sdks/simple/src/index.ts +0 -10
- package/test-utils/sdks/simple/src/schemas/Category.ts +0 -15
- package/test-utils/sdks/simple/src/schemas/FindPetsByStatus.ts +0 -38
- package/test-utils/sdks/simple/src/schemas/Pet.ts +0 -53
- package/test-utils/sdks/simple/src/schemas/Tag.ts +0 -15
- package/test-utils/sdks/simple/src/schemas.ts +0 -5
- package/test-utils/sdks/simple/src/sdk.ts +0 -81
- package/test-utils/sdks/simple/src/types.ts +0 -8
- package/test-utils/sdks/simple/tsconfig.json +0 -12
- package/test-utils/sdks/star-trek/README.md +0 -22
- package/test-utils/sdks/star-trek/package.json +0 -55
- package/test-utils/sdks/star-trek/src/index.ts +0 -9
- package/test-utils/sdks/star-trek/src/schemas/AnimalBase.ts +0 -41
- package/test-utils/sdks/star-trek/src/schemas/AnimalBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/AnimalFull.ts +0 -41
- package/test-utils/sdks/star-trek/src/schemas/AnimalFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBase.ts +0 -27
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFull.ts +0 -32
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectType.ts +0 -36
- package/test-utils/sdks/star-trek/src/schemas/BloodType.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/BookBase.ts +0 -120
- package/test-utils/sdks/star-trek/src/schemas/BookBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionBase.ts +0 -51
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionFull.ts +0 -98
- package/test-utils/sdks/star-trek/src/schemas/BookCollectionFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/BookFull.ts +0 -182
- package/test-utils/sdks/star-trek/src/schemas/BookFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesBase.ts +0 -57
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesFull.ts +0 -81
- package/test-utils/sdks/star-trek/src/schemas/BookSeriesFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/CharacterBase.ts +0 -104
- package/test-utils/sdks/star-trek/src/schemas/CharacterBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/CharacterFull.ts +0 -152
- package/test-utils/sdks/star-trek/src/schemas/CharacterFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/CharacterHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/CharacterRelation.ts +0 -17
- package/test-utils/sdks/star-trek/src/schemas/CharacterSpecies.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBase.ts +0 -71
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFull.ts +0 -123
- package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBase.ts +0 -75
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFull.ts +0 -99
- package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/ComicStripBase.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/ComicStripBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ComicStripFull.ts +0 -85
- package/test-utils/sdks/star-trek/src/schemas/ComicStripFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/ComicsBase.ts +0 -75
- package/test-utils/sdks/star-trek/src/schemas/ComicsBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ComicsFull.ts +0 -127
- package/test-utils/sdks/star-trek/src/schemas/ComicsFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/CompanyBase.ts +0 -89
- package/test-utils/sdks/star-trek/src/schemas/CompanyBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/CompanyFull.ts +0 -89
- package/test-utils/sdks/star-trek/src/schemas/CompanyFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/CompanyHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/ConflictBase.ts +0 -49
- package/test-utils/sdks/star-trek/src/schemas/ConflictBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ConflictFull.ts +0 -78
- package/test-utils/sdks/star-trek/src/schemas/ConflictFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/ContentLanguage.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/ContentRating.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ContentRatingSystem.ts +0 -35
- package/test-utils/sdks/star-trek/src/schemas/Country.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/ElementBase.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/ElementBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ElementFull.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/ElementFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/EpisodeBase.ts +0 -82
- package/test-utils/sdks/star-trek/src/schemas/EpisodeBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/EpisodeFull.ts +0 -125
- package/test-utils/sdks/star-trek/src/schemas/EpisodeFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/Error.ts +0 -17
- package/test-utils/sdks/star-trek/src/schemas/FoodBase.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/FoodBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/FoodFull.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/FoodFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/Gender.ts +0 -11
- package/test-utils/sdks/star-trek/src/schemas/Genre.ts +0 -17
- package/test-utils/sdks/star-trek/src/schemas/GetAnimal.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetAnimalSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobject.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobjectSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetBook.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetBookSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetBookcollection.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetBookcollectionSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetBookseries.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetBookseriesSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetCharacter.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetCharacterSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetComiccollection.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetComiccollectionSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetComics.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetComicsSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetComicseries.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetComicseriesSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetComicstrip.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetComicstripSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetCompany.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetCompanySearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetConflict.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetConflictSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetElement.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetElementSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetEpisode.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetEpisodeSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetFood.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetFoodSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetLiterature.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetLiteratureSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetLocation.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetLocationSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetMagazine.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetMagazineSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetMagazineseries.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetMagazineseriesSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetMaterial.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetMaterialSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetMedicalcondition.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetMedicalconditionSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetMovie.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetMovieSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetOccupation.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetOccupationSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetOrganization.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetOrganizationSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetPerformer.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetPerformerSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetSeason.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetSeasonSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetSeries.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetSeriesSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetSoundtrack.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetSoundtrackSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraft.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclass.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclassSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetSpecies.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetSpeciesSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetStaff.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetStaffSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetTechnology.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetTechnologySearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetTitle.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetTitleSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcard.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcardSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeck.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeckSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcardset.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetTradingcardsetSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetVideogame.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetVideogameSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetVideorelease.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetVideoreleaseSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/GetWeapon.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/GetWeaponSearch.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/LiteratureBase.ts +0 -45
- package/test-utils/sdks/star-trek/src/schemas/LiteratureBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/LiteratureFull.ts +0 -45
- package/test-utils/sdks/star-trek/src/schemas/LiteratureFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/LocationBase.ts +0 -113
- package/test-utils/sdks/star-trek/src/schemas/LocationBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/LocationFull.ts +0 -113
- package/test-utils/sdks/star-trek/src/schemas/LocationFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/MagazineBase.ts +0 -53
- package/test-utils/sdks/star-trek/src/schemas/MagazineBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/MagazineFull.ts +0 -72
- package/test-utils/sdks/star-trek/src/schemas/MagazineFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBase.ts +0 -41
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFull.ts +0 -60
- package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/MaritalStatus.ts +0 -17
- package/test-utils/sdks/star-trek/src/schemas/MaterialBase.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/MaterialBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/MaterialFull.ts +0 -61
- package/test-utils/sdks/star-trek/src/schemas/MaterialFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBase.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFull.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/MovieBase.ts +0 -87
- package/test-utils/sdks/star-trek/src/schemas/MovieBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/MovieFull.ts +0 -139
- package/test-utils/sdks/star-trek/src/schemas/MovieFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/OccupationBase.ts +0 -33
- package/test-utils/sdks/star-trek/src/schemas/OccupationBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/OccupationFull.ts +0 -40
- package/test-utils/sdks/star-trek/src/schemas/OccupationFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/OrganizationBase.ts +0 -69
- package/test-utils/sdks/star-trek/src/schemas/OrganizationBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/OrganizationFull.ts +0 -76
- package/test-utils/sdks/star-trek/src/schemas/OrganizationFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/OrganizationHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/PerformerBase.ts +0 -98
- package/test-utils/sdks/star-trek/src/schemas/PerformerBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/PerformerFull.ts +0 -136
- package/test-utils/sdks/star-trek/src/schemas/PerformerFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/Platform.ts +0 -17
- package/test-utils/sdks/star-trek/src/schemas/PostAnimalSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostAstronomicalobjectSearch.ts +0 -53
- package/test-utils/sdks/star-trek/src/schemas/PostBookSearch.ts +0 -141
- package/test-utils/sdks/star-trek/src/schemas/PostBookcollectionSearch.ts +0 -85
- package/test-utils/sdks/star-trek/src/schemas/PostBookseriesSearch.ts +0 -83
- package/test-utils/sdks/star-trek/src/schemas/PostCharacterSearch.ts +0 -69
- package/test-utils/sdks/star-trek/src/schemas/PostComiccollectionSearch.ts +0 -89
- package/test-utils/sdks/star-trek/src/schemas/PostComicsSearch.ts +0 -93
- package/test-utils/sdks/star-trek/src/schemas/PostComicseriesSearch.ts +0 -93
- package/test-utils/sdks/star-trek/src/schemas/PostComicstripSearch.ts +0 -75
- package/test-utils/sdks/star-trek/src/schemas/PostCompanySearch.ts +0 -113
- package/test-utils/sdks/star-trek/src/schemas/PostConflictSearch.ts +0 -75
- package/test-utils/sdks/star-trek/src/schemas/PostElementSearch.ts +0 -77
- package/test-utils/sdks/star-trek/src/schemas/PostEpisodeSearch.ts +0 -113
- package/test-utils/sdks/star-trek/src/schemas/PostFoodSearch.ts +0 -85
- package/test-utils/sdks/star-trek/src/schemas/PostLiteratureSearch.ts +0 -69
- package/test-utils/sdks/star-trek/src/schemas/PostLocationSearch.ts +0 -137
- package/test-utils/sdks/star-trek/src/schemas/PostMagazineSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostMagazineseriesSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostMaterialSearch.ts +0 -85
- package/test-utils/sdks/star-trek/src/schemas/PostMedicalconditionSearch.ts +0 -49
- package/test-utils/sdks/star-trek/src/schemas/PostMovieSearch.ts +0 -75
- package/test-utils/sdks/star-trek/src/schemas/PostOccupationSearch.ts +0 -57
- package/test-utils/sdks/star-trek/src/schemas/PostOrganizationSearch.ts +0 -93
- package/test-utils/sdks/star-trek/src/schemas/PostPerformerSearch.ts +0 -133
- package/test-utils/sdks/star-trek/src/schemas/PostSeasonSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostSeriesSearch.ts +0 -89
- package/test-utils/sdks/star-trek/src/schemas/PostSoundtrackSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftSearch.ts +0 -45
- package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftclassSearch.ts +0 -53
- package/test-utils/sdks/star-trek/src/schemas/PostSpeciesSearch.ts +0 -93
- package/test-utils/sdks/star-trek/src/schemas/PostStaffSearch.ts +0 -301
- package/test-utils/sdks/star-trek/src/schemas/PostTechnologySearch.ts +0 -125
- package/test-utils/sdks/star-trek/src/schemas/PostTitleSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostTradingcardSearch.ts +0 -53
- package/test-utils/sdks/star-trek/src/schemas/PostTradingcarddeckSearch.ts +0 -49
- package/test-utils/sdks/star-trek/src/schemas/PostTradingcardsetSearch.ts +0 -119
- package/test-utils/sdks/star-trek/src/schemas/PostVideogameSearch.ts +0 -55
- package/test-utils/sdks/star-trek/src/schemas/PostVideoreleaseSearch.ts +0 -65
- package/test-utils/sdks/star-trek/src/schemas/PostWeaponSearch.ts +0 -73
- package/test-utils/sdks/star-trek/src/schemas/ProductionRunUnit.ts +0 -11
- package/test-utils/sdks/star-trek/src/schemas/Reference.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/ReferenceType.ts +0 -11
- package/test-utils/sdks/star-trek/src/schemas/ResponsePage.ts +0 -42
- package/test-utils/sdks/star-trek/src/schemas/ResponseSort.ts +0 -16
- package/test-utils/sdks/star-trek/src/schemas/ResponseSortClause.ts +0 -25
- package/test-utils/sdks/star-trek/src/schemas/ResponseSortDirection.ts +0 -11
- package/test-utils/sdks/star-trek/src/schemas/SeasonBase.ts +0 -32
- package/test-utils/sdks/star-trek/src/schemas/SeasonBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/SeasonFull.ts +0 -38
- package/test-utils/sdks/star-trek/src/schemas/SeasonFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/SeasonHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/SeriesBase.ts +0 -60
- package/test-utils/sdks/star-trek/src/schemas/SeriesBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/SeriesFull.ts +0 -72
- package/test-utils/sdks/star-trek/src/schemas/SeriesFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/SeriesHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackBase.ts +0 -30
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackFull.ts +0 -59
- package/test-utils/sdks/star-trek/src/schemas/SoundtrackFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftBase.ts +0 -39
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBase.ts +0 -48
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFull.ts +0 -60
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftFull.ts +0 -45
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/SpacecraftType.ts +0 -17
- package/test-utils/sdks/star-trek/src/schemas/SpeciesBase.ts +0 -73
- package/test-utils/sdks/star-trek/src/schemas/SpeciesBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/SpeciesFull.ts +0 -79
- package/test-utils/sdks/star-trek/src/schemas/SpeciesFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/SpeciesHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/StaffBase.ts +0 -266
- package/test-utils/sdks/star-trek/src/schemas/StaffBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/StaffFull.ts +0 -323
- package/test-utils/sdks/star-trek/src/schemas/StaffFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/StaffHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/TechnologyBase.ts +0 -101
- package/test-utils/sdks/star-trek/src/schemas/TechnologyBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/TechnologyFull.ts +0 -101
- package/test-utils/sdks/star-trek/src/schemas/TechnologyFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/TitleBase.ts +0 -41
- package/test-utils/sdks/star-trek/src/schemas/TitleBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/TitleFull.ts +0 -48
- package/test-utils/sdks/star-trek/src/schemas/TitleFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/TradingCardBase.ts +0 -38
- package/test-utils/sdks/star-trek/src/schemas/TradingCardBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBase.ts +0 -28
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFull.ts +0 -34
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/TradingCardFull.ts +0 -38
- package/test-utils/sdks/star-trek/src/schemas/TradingCardFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBase.ts +0 -62
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFull.ts +0 -86
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/TradingCardSetHeader.ts +0 -21
- package/test-utils/sdks/star-trek/src/schemas/VideoGameBase.ts +0 -48
- package/test-utils/sdks/star-trek/src/schemas/VideoGameBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/VideoGameFull.ts +0 -84
- package/test-utils/sdks/star-trek/src/schemas/VideoGameFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBase.ts +0 -127
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFormat.ts +0 -23
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFull.ts +0 -155
- package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas/WeaponBase.ts +0 -49
- package/test-utils/sdks/star-trek/src/schemas/WeaponBaseResponse.ts +0 -20
- package/test-utils/sdks/star-trek/src/schemas/WeaponFull.ts +0 -49
- package/test-utils/sdks/star-trek/src/schemas/WeaponFullResponse.ts +0 -12
- package/test-utils/sdks/star-trek/src/schemas.ts +0 -314
- package/test-utils/sdks/star-trek/src/sdk.ts +0 -1032
- package/test-utils/sdks/star-trek/src/types.ts +0 -490
- package/test-utils/sdks/star-trek/tsconfig.json +0 -12
- package/test-utils/tsconfig.json +0 -9
- package/tsconfig.eslint.json +0 -8
- package/tsconfig.json +0 -9
- package/tsup.config.ts +0 -31
@@ -1,20 +0,0 @@
|
|
1
|
-
const UpdateUser = {
|
2
|
-
"metadata": {
|
3
|
-
"allOf": [
|
4
|
-
{
|
5
|
-
"type": "object",
|
6
|
-
"properties": {
|
7
|
-
"username": {
|
8
|
-
"type": "string",
|
9
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
10
|
-
"description": "name that need to be updated"
|
11
|
-
}
|
12
|
-
},
|
13
|
-
"required": [
|
14
|
-
"username"
|
15
|
-
]
|
16
|
-
}
|
17
|
-
]
|
18
|
-
}
|
19
|
-
} as const;
|
20
|
-
export default UpdateUser
|
@@ -1,36 +0,0 @@
|
|
1
|
-
const UploadFile = {
|
2
|
-
"body": {
|
3
|
-
"type": "object",
|
4
|
-
"properties": {
|
5
|
-
"additionalMetadata": {
|
6
|
-
"description": "Additional data to pass to server",
|
7
|
-
"type": "string"
|
8
|
-
},
|
9
|
-
"file": {
|
10
|
-
"description": "file to upload",
|
11
|
-
"type": "string",
|
12
|
-
"format": "binary"
|
13
|
-
}
|
14
|
-
},
|
15
|
-
"$schema": "http://json-schema.org/draft-04/schema#"
|
16
|
-
},
|
17
|
-
"metadata": {
|
18
|
-
"allOf": [
|
19
|
-
{
|
20
|
-
"type": "object",
|
21
|
-
"properties": {
|
22
|
-
"petId": {
|
23
|
-
"type": "integer",
|
24
|
-
"format": "int64",
|
25
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
26
|
-
"description": "ID of pet to update"
|
27
|
-
}
|
28
|
-
},
|
29
|
-
"required": [
|
30
|
-
"petId"
|
31
|
-
]
|
32
|
-
}
|
33
|
-
]
|
34
|
-
}
|
35
|
-
} as const;
|
36
|
-
export default UploadFile
|
@@ -1,35 +0,0 @@
|
|
1
|
-
const User = {
|
2
|
-
"type": "object",
|
3
|
-
"properties": {
|
4
|
-
"id": {
|
5
|
-
"type": "integer",
|
6
|
-
"format": "int64"
|
7
|
-
},
|
8
|
-
"username": {
|
9
|
-
"type": "string"
|
10
|
-
},
|
11
|
-
"firstName": {
|
12
|
-
"type": "string"
|
13
|
-
},
|
14
|
-
"lastName": {
|
15
|
-
"type": "string"
|
16
|
-
},
|
17
|
-
"email": {
|
18
|
-
"type": "string"
|
19
|
-
},
|
20
|
-
"password": {
|
21
|
-
"type": "string"
|
22
|
-
},
|
23
|
-
"phone": {
|
24
|
-
"type": "string"
|
25
|
-
},
|
26
|
-
"userStatus": {
|
27
|
-
"type": "integer",
|
28
|
-
"format": "int32",
|
29
|
-
"description": "User Status"
|
30
|
-
}
|
31
|
-
},
|
32
|
-
"title": "User",
|
33
|
-
"x-readme-ref-name": "User"
|
34
|
-
} as const;
|
35
|
-
export default User
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import ApiResponse from './schemas/ApiResponse.js';
|
2
|
-
import Category from './schemas/Category.js';
|
3
|
-
import CreateUsersWithArrayInput from './schemas/CreateUsersWithArrayInput.js';
|
4
|
-
import CreateUsersWithListInput from './schemas/CreateUsersWithListInput.js';
|
5
|
-
import DeleteOrder from './schemas/DeleteOrder.js';
|
6
|
-
import DeletePet from './schemas/DeletePet.js';
|
7
|
-
import DeleteUser from './schemas/DeleteUser.js';
|
8
|
-
import FindPetsByStatus from './schemas/FindPetsByStatus.js';
|
9
|
-
import FindPetsByTags from './schemas/FindPetsByTags.js';
|
10
|
-
import GetInventory from './schemas/GetInventory.js';
|
11
|
-
import GetOrderById from './schemas/GetOrderById.js';
|
12
|
-
import GetPetById from './schemas/GetPetById.js';
|
13
|
-
import GetUserByName from './schemas/GetUserByName.js';
|
14
|
-
import LoginUser from './schemas/LoginUser.js';
|
15
|
-
import Order from './schemas/Order.js';
|
16
|
-
import Pet from './schemas/Pet.js';
|
17
|
-
import Tag from './schemas/Tag.js';
|
18
|
-
import UpdatePetWithForm from './schemas/UpdatePetWithForm.js';
|
19
|
-
import UpdateUser from './schemas/UpdateUser.js';
|
20
|
-
import UploadFile from './schemas/UploadFile.js';
|
21
|
-
import User from './schemas/User.js';
|
22
|
-
export { ApiResponse, Category, CreateUsersWithArrayInput, CreateUsersWithListInput, DeleteOrder, DeletePet, DeleteUser, FindPetsByStatus, FindPetsByTags, GetInventory, GetOrderById, GetPetById, GetUserByName, LoginUser, Order, Pet, Tag, UpdatePetWithForm, UpdateUser, UploadFile, User }
|
@@ -1,248 +0,0 @@
|
|
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/petstore.json';
|
5
|
-
|
6
|
-
export default class SDK {
|
7
|
-
core: APICore;
|
8
|
-
|
9
|
-
constructor() {
|
10
|
-
this.core = new APICore(definition, 'petstore/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
|
-
* Add a new pet to the store
|
75
|
-
*
|
76
|
-
*/
|
77
|
-
addPet(body: types.Pet): Promise<FetchResponse<number, unknown>> {
|
78
|
-
return this.core.fetch('/pet', 'post', body);
|
79
|
-
}
|
80
|
-
|
81
|
-
/**
|
82
|
-
* Update an existing pet
|
83
|
-
*
|
84
|
-
*/
|
85
|
-
updatePet(body: types.Pet): Promise<FetchResponse<number, unknown>> {
|
86
|
-
return this.core.fetch('/pet', 'put', body);
|
87
|
-
}
|
88
|
-
|
89
|
-
/**
|
90
|
-
* Multiple status values can be provided with comma separated strings
|
91
|
-
*
|
92
|
-
* @summary Finds Pets by status
|
93
|
-
*/
|
94
|
-
findPetsByStatus(metadata: types.FindPetsByStatusMetadataParam): Promise<FetchResponse<200, types.FindPetsByStatusResponse200>> {
|
95
|
-
return this.core.fetch('/pet/findByStatus', 'get', metadata);
|
96
|
-
}
|
97
|
-
|
98
|
-
/**
|
99
|
-
* Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for
|
100
|
-
* testing.
|
101
|
-
*
|
102
|
-
* @summary Finds Pets by tags
|
103
|
-
*/
|
104
|
-
findPetsByTags(metadata: types.FindPetsByTagsMetadataParam): Promise<FetchResponse<200, types.FindPetsByTagsResponse200>> {
|
105
|
-
return this.core.fetch('/pet/findByTags', 'get', metadata);
|
106
|
-
}
|
107
|
-
|
108
|
-
/**
|
109
|
-
* Returns a single pet
|
110
|
-
*
|
111
|
-
* @summary Find pet by ID
|
112
|
-
*/
|
113
|
-
getPetById(metadata: types.GetPetByIdMetadataParam): Promise<FetchResponse<200, types.Pet>> {
|
114
|
-
return this.core.fetch('/pet/{petId}', 'get', metadata);
|
115
|
-
}
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Updates a pet in the store with form data
|
119
|
-
*
|
120
|
-
*/
|
121
|
-
updatePetWithForm(body: types.UpdatePetWithFormFormDataParam, metadata: types.UpdatePetWithFormMetadataParam): Promise<FetchResponse<number, unknown>>;
|
122
|
-
updatePetWithForm(metadata: types.UpdatePetWithFormMetadataParam): Promise<FetchResponse<number, unknown>>;
|
123
|
-
updatePetWithForm(body?: types.UpdatePetWithFormFormDataParam | types.UpdatePetWithFormMetadataParam, metadata?: types.UpdatePetWithFormMetadataParam): Promise<FetchResponse<number, unknown>> {
|
124
|
-
return this.core.fetch('/pet/{petId}', 'post', body, metadata);
|
125
|
-
}
|
126
|
-
|
127
|
-
/**
|
128
|
-
* Deletes a pet
|
129
|
-
*
|
130
|
-
*/
|
131
|
-
deletePet(metadata: types.DeletePetMetadataParam): Promise<FetchResponse<number, unknown>> {
|
132
|
-
return this.core.fetch('/pet/{petId}', 'delete', metadata);
|
133
|
-
}
|
134
|
-
|
135
|
-
/**
|
136
|
-
* Uploads an image
|
137
|
-
*
|
138
|
-
*/
|
139
|
-
uploadFile(body: types.UploadFileBodyParam, metadata: types.UploadFileMetadataParam): Promise<FetchResponse<200, types.ApiResponse>>;
|
140
|
-
uploadFile(metadata: types.UploadFileMetadataParam): Promise<FetchResponse<200, types.ApiResponse>>;
|
141
|
-
uploadFile(body?: types.UploadFileBodyParam | types.UploadFileMetadataParam, metadata?: types.UploadFileMetadataParam): Promise<FetchResponse<200, types.ApiResponse>> {
|
142
|
-
return this.core.fetch('/pet/{petId}/uploadImage', 'post', body, metadata);
|
143
|
-
}
|
144
|
-
|
145
|
-
/**
|
146
|
-
* Returns a map of status codes to quantities
|
147
|
-
*
|
148
|
-
* @summary Returns pet inventories by status
|
149
|
-
*/
|
150
|
-
getInventory(): Promise<FetchResponse<200, types.GetInventoryResponse200>> {
|
151
|
-
return this.core.fetch('/store/inventory', 'get');
|
152
|
-
}
|
153
|
-
|
154
|
-
/**
|
155
|
-
* Place an order for a pet
|
156
|
-
*
|
157
|
-
*/
|
158
|
-
placeOrder(body: types.Order): Promise<FetchResponse<200, types.Order>> {
|
159
|
-
return this.core.fetch('/store/order', 'post', body);
|
160
|
-
}
|
161
|
-
|
162
|
-
/**
|
163
|
-
* For valid response try integer IDs with value >= 1 and <= 10. Other values will
|
164
|
-
* generated exceptions
|
165
|
-
*
|
166
|
-
* @summary Find purchase order by ID
|
167
|
-
*/
|
168
|
-
getOrderById(metadata: types.GetOrderByIdMetadataParam): Promise<FetchResponse<200, types.Order>> {
|
169
|
-
return this.core.fetch('/store/order/{orderId}', 'get', metadata);
|
170
|
-
}
|
171
|
-
|
172
|
-
/**
|
173
|
-
* For valid response try integer IDs with positive integer value. Negative or non-integer
|
174
|
-
* values will generate API errors
|
175
|
-
*
|
176
|
-
* @summary Delete purchase order by ID
|
177
|
-
*/
|
178
|
-
deleteOrder(metadata: types.DeleteOrderMetadataParam): Promise<FetchResponse<number, unknown>> {
|
179
|
-
return this.core.fetch('/store/order/{orderId}', 'delete', metadata);
|
180
|
-
}
|
181
|
-
|
182
|
-
/**
|
183
|
-
* This can only be done by the logged in user.
|
184
|
-
*
|
185
|
-
* @summary Create user
|
186
|
-
*/
|
187
|
-
createUser(body: types.User): Promise<FetchResponse<number, unknown>> {
|
188
|
-
return this.core.fetch('/user', 'post', body);
|
189
|
-
}
|
190
|
-
|
191
|
-
/**
|
192
|
-
* Creates list of users with given input array
|
193
|
-
*
|
194
|
-
*/
|
195
|
-
createUsersWithArrayInput(body: types.CreateUsersWithArrayInputBodyParam): Promise<FetchResponse<number, unknown>> {
|
196
|
-
return this.core.fetch('/user/createWithArray', 'post', body);
|
197
|
-
}
|
198
|
-
|
199
|
-
/**
|
200
|
-
* Creates list of users with given input array
|
201
|
-
*
|
202
|
-
*/
|
203
|
-
createUsersWithListInput(body: types.CreateUsersWithListInputBodyParam): Promise<FetchResponse<number, unknown>> {
|
204
|
-
return this.core.fetch('/user/createWithList', 'post', body);
|
205
|
-
}
|
206
|
-
|
207
|
-
/**
|
208
|
-
* Logs user into the system
|
209
|
-
*
|
210
|
-
*/
|
211
|
-
loginUser(metadata: types.LoginUserMetadataParam): Promise<FetchResponse<200, types.LoginUserResponse200>> {
|
212
|
-
return this.core.fetch('/user/login', 'get', metadata);
|
213
|
-
}
|
214
|
-
|
215
|
-
/**
|
216
|
-
* Logs out current logged in user session
|
217
|
-
*
|
218
|
-
*/
|
219
|
-
logoutUser(): Promise<FetchResponse<number, unknown>> {
|
220
|
-
return this.core.fetch('/user/logout', 'get');
|
221
|
-
}
|
222
|
-
|
223
|
-
/**
|
224
|
-
* Get user by user name
|
225
|
-
*
|
226
|
-
*/
|
227
|
-
getUserByName(metadata: types.GetUserByNameMetadataParam): Promise<FetchResponse<200, types.User>> {
|
228
|
-
return this.core.fetch('/user/{username}', 'get', metadata);
|
229
|
-
}
|
230
|
-
|
231
|
-
/**
|
232
|
-
* This can only be done by the logged in user.
|
233
|
-
*
|
234
|
-
* @summary Updated user
|
235
|
-
*/
|
236
|
-
updateUser(body: types.User, metadata: types.UpdateUserMetadataParam): Promise<FetchResponse<number, unknown>> {
|
237
|
-
return this.core.fetch('/user/{username}', 'put', body, metadata);
|
238
|
-
}
|
239
|
-
|
240
|
-
/**
|
241
|
-
* This can only be done by the logged in user.
|
242
|
-
*
|
243
|
-
* @summary Delete user
|
244
|
-
*/
|
245
|
-
deleteUser(metadata: types.DeleteUserMetadataParam): Promise<FetchResponse<number, unknown>> {
|
246
|
-
return this.core.fetch('/user/{username}', 'delete', metadata);
|
247
|
-
}
|
248
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import type { FromSchema } from '@readme/api-core/types';
|
2
|
-
import type * as schemas from './schemas.js';
|
3
|
-
|
4
|
-
export type ApiResponse = FromSchema<typeof schemas.ApiResponse>;
|
5
|
-
export type Category = FromSchema<typeof schemas.Category>;
|
6
|
-
export type CreateUsersWithArrayInputBodyParam = FromSchema<typeof schemas.CreateUsersWithArrayInput.body>;
|
7
|
-
export type CreateUsersWithListInputBodyParam = FromSchema<typeof schemas.CreateUsersWithListInput.body>;
|
8
|
-
export type DeleteOrderMetadataParam = FromSchema<typeof schemas.DeleteOrder.metadata>;
|
9
|
-
export type DeletePetMetadataParam = FromSchema<typeof schemas.DeletePet.metadata>;
|
10
|
-
export type DeleteUserMetadataParam = FromSchema<typeof schemas.DeleteUser.metadata>;
|
11
|
-
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
|
12
|
-
export type FindPetsByStatusResponse200 = FromSchema<typeof schemas.FindPetsByStatus.response['200']>;
|
13
|
-
export type FindPetsByTagsMetadataParam = FromSchema<typeof schemas.FindPetsByTags.metadata>;
|
14
|
-
export type FindPetsByTagsResponse200 = FromSchema<typeof schemas.FindPetsByTags.response['200']>;
|
15
|
-
export type GetInventoryResponse200 = FromSchema<typeof schemas.GetInventory.response['200']>;
|
16
|
-
export type GetOrderByIdMetadataParam = FromSchema<typeof schemas.GetOrderById.metadata>;
|
17
|
-
export type GetPetByIdMetadataParam = FromSchema<typeof schemas.GetPetById.metadata>;
|
18
|
-
export type GetUserByNameMetadataParam = FromSchema<typeof schemas.GetUserByName.metadata>;
|
19
|
-
export type LoginUserMetadataParam = FromSchema<typeof schemas.LoginUser.metadata>;
|
20
|
-
export type LoginUserResponse200 = FromSchema<typeof schemas.LoginUser.response['200']>;
|
21
|
-
export type Order = FromSchema<typeof schemas.Order>;
|
22
|
-
export type Pet = FromSchema<typeof schemas.Pet>;
|
23
|
-
export type Tag = FromSchema<typeof schemas.Tag>;
|
24
|
-
export type UpdatePetWithFormFormDataParam = FromSchema<typeof schemas.UpdatePetWithForm.formData>;
|
25
|
-
export type UpdatePetWithFormMetadataParam = FromSchema<typeof schemas.UpdatePetWithForm.metadata>;
|
26
|
-
export type UpdateUserMetadataParam = FromSchema<typeof schemas.UpdateUser.metadata>;
|
27
|
-
export type UploadFileBodyParam = FromSchema<typeof schemas.UploadFile.body>;
|
28
|
-
export type UploadFileMetadataParam = FromSchema<typeof schemas.UploadFile.metadata>;
|
29
|
-
export type User = FromSchema<typeof schemas.User>;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# `@api/readme`
|
2
|
-
|
3
|
-
This SDK was autogenerated by the [`api` SDK generator](https://api.readme.dev), powered by [ReadMe](https://readme.com) 🦉
|
4
|
-
|
5
|
-
## Example Usage 🚀
|
6
|
-
|
7
|
-
```js
|
8
|
-
import readme from '@api/readme';
|
9
|
-
|
10
|
-
readme.auth('username', 'password');
|
11
|
-
readme.getAPISpecification()
|
12
|
-
.then(({ data }) => console.log(data))
|
13
|
-
.catch(err => console.error(err));
|
14
|
-
```
|
15
|
-
|
16
|
-
<!---
|
17
|
-
|
18
|
-
Here's some additional info about the generated SDK:
|
19
|
-
|
20
|
-
`api` version: 7.0.0-mock
|
21
|
-
Generated at 2023-10-25T00:00:00.000Z
|
22
|
-
|
23
|
-
--->
|
@@ -1,55 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "@api/readme",
|
3
|
-
"version": "4.355.0",
|
4
|
-
"type": "module",
|
5
|
-
"main": "dist/index.cjs",
|
6
|
-
"types": "dist/index.d.cts",
|
7
|
-
"module": "dist/index.ts",
|
8
|
-
"exports": {
|
9
|
-
".": {
|
10
|
-
"import": "./dist/index.js",
|
11
|
-
"require": "./dist/index.cjs"
|
12
|
-
},
|
13
|
-
"./sdk": {
|
14
|
-
"import": "./dist/sdk.js",
|
15
|
-
"require": "./dist/sdk.cjs"
|
16
|
-
},
|
17
|
-
"./types": {
|
18
|
-
"import": "./dist/types.js",
|
19
|
-
"require": "./dist/types.cjs"
|
20
|
-
},
|
21
|
-
"./package.json": "./package.json"
|
22
|
-
},
|
23
|
-
"files": [
|
24
|
-
"dist",
|
25
|
-
"openapi.json"
|
26
|
-
],
|
27
|
-
"scripts": {
|
28
|
-
"lint": "tsc --noEmit"
|
29
|
-
},
|
30
|
-
"dependencies": {
|
31
|
-
"@readme/api-core": "file:../../../../../core"
|
32
|
-
},
|
33
|
-
"devDependencies": {
|
34
|
-
"tsup": "^7.2.0",
|
35
|
-
"typescript": "^5.2.2"
|
36
|
-
},
|
37
|
-
"tsup": {
|
38
|
-
"cjsInterop": true,
|
39
|
-
"clean": true,
|
40
|
-
"dts": true,
|
41
|
-
"entry": [
|
42
|
-
"./src/index.ts",
|
43
|
-
"./src/sdk.ts",
|
44
|
-
"./src/types.ts"
|
45
|
-
],
|
46
|
-
"format": [
|
47
|
-
"esm",
|
48
|
-
"cjs"
|
49
|
-
],
|
50
|
-
"minify": false,
|
51
|
-
"shims": true,
|
52
|
-
"sourcemap": true,
|
53
|
-
"splitting": true
|
54
|
-
}
|
55
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import SDK from './sdk.js';
|
2
|
-
|
3
|
-
/**
|
4
|
-
* ReadMe API 🦉
|
5
|
-
*
|
6
|
-
* Create beautiful product and API documentation with our developer friendly platform.
|
7
|
-
*
|
8
|
-
* @author API Support <support@readme.io>
|
9
|
-
* @see {@link https://docs.readme.com/main/docs/need-more-support}
|
10
|
-
*/
|
11
|
-
const createSDK = (() => { return new SDK(); })();
|
12
|
-
|
13
|
-
export default createSDK;
|
@@ -1,61 +0,0 @@
|
|
1
|
-
const Apply = {
|
2
|
-
"type": "object",
|
3
|
-
"properties": {
|
4
|
-
"name": {
|
5
|
-
"type": "string",
|
6
|
-
"minLength": 1,
|
7
|
-
"description": "Your full name",
|
8
|
-
"default": "Your Name"
|
9
|
-
},
|
10
|
-
"email": {
|
11
|
-
"type": "string",
|
12
|
-
"format": "email",
|
13
|
-
"description": "A valid email we can reach you at.",
|
14
|
-
"default": "you@example.com"
|
15
|
-
},
|
16
|
-
"job": {
|
17
|
-
"type": "string",
|
18
|
-
"description": "The job you're looking to apply for (https://readme.com/careers).",
|
19
|
-
"enum": [
|
20
|
-
"Front End Engineer",
|
21
|
-
"Full Stack Engineer",
|
22
|
-
"Head of Product",
|
23
|
-
"Head of Solutions Engineering",
|
24
|
-
"Product Designer"
|
25
|
-
],
|
26
|
-
"default": "Front End Engineer"
|
27
|
-
},
|
28
|
-
"pronouns": {
|
29
|
-
"type": "string",
|
30
|
-
"description": "Learn more at https://lgbtlifecenter.org/pronouns/"
|
31
|
-
},
|
32
|
-
"linkedin": {
|
33
|
-
"type": "string",
|
34
|
-
"format": "url",
|
35
|
-
"description": "What have you been up to the past few years?"
|
36
|
-
},
|
37
|
-
"github": {
|
38
|
-
"type": "string",
|
39
|
-
"description": "Or Bitbucket, Gitlab or anywhere else your code is hosted!",
|
40
|
-
"format": "url"
|
41
|
-
},
|
42
|
-
"coverLetter": {
|
43
|
-
"type": "string",
|
44
|
-
"format": "blob",
|
45
|
-
"description": "What should we know about you?"
|
46
|
-
},
|
47
|
-
"dontReallyApply": {
|
48
|
-
"type": "boolean",
|
49
|
-
"description": "Want to play with the API but not actually apply? Set this to true.",
|
50
|
-
"default": false
|
51
|
-
}
|
52
|
-
},
|
53
|
-
"required": [
|
54
|
-
"name",
|
55
|
-
"email",
|
56
|
-
"job"
|
57
|
-
],
|
58
|
-
"title": "apply",
|
59
|
-
"x-readme-ref-name": "apply"
|
60
|
-
} as const;
|
61
|
-
export default Apply
|
@@ -1,24 +0,0 @@
|
|
1
|
-
const Category = {
|
2
|
-
"type": "object",
|
3
|
-
"title": "category",
|
4
|
-
"x-readme-ref-name": "category",
|
5
|
-
"required": [
|
6
|
-
"title"
|
7
|
-
],
|
8
|
-
"properties": {
|
9
|
-
"title": {
|
10
|
-
"type": "string",
|
11
|
-
"description": "A short title for the category. This is what will show in the sidebar."
|
12
|
-
},
|
13
|
-
"type": {
|
14
|
-
"type": "string",
|
15
|
-
"enum": [
|
16
|
-
"reference",
|
17
|
-
"guide"
|
18
|
-
],
|
19
|
-
"default": "guide",
|
20
|
-
"description": "A category can be part of your reference or guide documentation, which is determined by this field."
|
21
|
-
}
|
22
|
-
}
|
23
|
-
} as const;
|
24
|
-
export default Category
|
@@ -1,36 +0,0 @@
|
|
1
|
-
const Changelog = {
|
2
|
-
"type": "object",
|
3
|
-
"properties": {
|
4
|
-
"title": {
|
5
|
-
"type": "string",
|
6
|
-
"description": "Title of the changelog."
|
7
|
-
},
|
8
|
-
"type": {
|
9
|
-
"type": "string",
|
10
|
-
"enum": [
|
11
|
-
"",
|
12
|
-
"added",
|
13
|
-
"fixed",
|
14
|
-
"improved",
|
15
|
-
"deprecated",
|
16
|
-
"removed"
|
17
|
-
]
|
18
|
-
},
|
19
|
-
"body": {
|
20
|
-
"type": "string",
|
21
|
-
"description": "Body content of the changelog."
|
22
|
-
},
|
23
|
-
"hidden": {
|
24
|
-
"type": "boolean",
|
25
|
-
"description": "Visibility of the changelog.",
|
26
|
-
"default": true
|
27
|
-
}
|
28
|
-
},
|
29
|
-
"required": [
|
30
|
-
"title",
|
31
|
-
"body"
|
32
|
-
],
|
33
|
-
"title": "changelog",
|
34
|
-
"x-readme-ref-name": "changelog"
|
35
|
-
} as const;
|
36
|
-
export default Changelog
|
@@ -1,25 +0,0 @@
|
|
1
|
-
const CondensedProjectData = {
|
2
|
-
"type": "object",
|
3
|
-
"properties": {
|
4
|
-
"name": {
|
5
|
-
"type": "string"
|
6
|
-
},
|
7
|
-
"subdomain": {
|
8
|
-
"type": "string"
|
9
|
-
},
|
10
|
-
"jwtSecret": {
|
11
|
-
"type": "string"
|
12
|
-
},
|
13
|
-
"baseUrl": {
|
14
|
-
"type": "string",
|
15
|
-
"format": "url",
|
16
|
-
"description": "The base URL for the project. If the project is not running under a custom domain, it will be `https://projectSubdomain.readme.io`, otherwise it can either be or `https://example.com` or, in the case of an enterprise child project `https://example.com/projectSubdomain`."
|
17
|
-
},
|
18
|
-
"plan": {
|
19
|
-
"type": "string"
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"title": "condensedProjectData",
|
23
|
-
"x-readme-ref-name": "condensedProjectData"
|
24
|
-
} as const;
|
25
|
-
export default CondensedProjectData
|
@@ -1,21 +0,0 @@
|
|
1
|
-
const CreateCategory = {
|
2
|
-
"metadata": {
|
3
|
-
"allOf": [
|
4
|
-
{
|
5
|
-
"type": "object",
|
6
|
-
"properties": {
|
7
|
-
"x-readme-version": {
|
8
|
-
"type": "string",
|
9
|
-
"examples": [
|
10
|
-
"v3.0"
|
11
|
-
],
|
12
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
13
|
-
"description": "Version number of your docs project, for example, v3.0. By default the main project version is used. To see all valid versions for your docs project call https://docs.readme.com/main/reference/version#getversions."
|
14
|
-
}
|
15
|
-
},
|
16
|
-
"required": []
|
17
|
-
}
|
18
|
-
]
|
19
|
-
}
|
20
|
-
} as const;
|
21
|
-
export default CreateCategory
|