@fern-api/venus-api-sdk 0.22.4 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +270 -0
- package/dist/cjs/BaseClient.d.ts +18 -6
- package/dist/cjs/BaseClient.js +59 -0
- package/dist/cjs/Client.d.ts +41 -18
- package/dist/cjs/Client.js +120 -18
- package/dist/cjs/api/client/healthHealthGet.d.ts +19 -0
- package/dist/cjs/api/client/healthHealthGet.js +55 -0
- package/dist/cjs/api/client/index.d.ts +2 -0
- package/dist/cjs/api/client/index.js +38 -0
- package/dist/cjs/api/client/metricsMetricsGet.d.ts +19 -0
- package/dist/cjs/api/client/metricsMetricsGet.js +55 -0
- package/dist/cjs/api/index.d.ts +2 -0
- package/dist/cjs/api/index.js +2 -0
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +31 -49
- package/dist/cjs/api/resources/apiKeys/client/Client.js +99 -113
- package/dist/cjs/api/resources/apiKeys/client/create.d.ts +11 -15
- package/dist/cjs/api/resources/apiKeys/client/create.js +11 -20
- package/dist/cjs/api/resources/apiKeys/client/getTokenMetadata.d.ts +11 -15
- package/dist/cjs/api/resources/apiKeys/client/getTokenMetadata.js +11 -20
- package/dist/cjs/api/resources/apiKeys/client/getTokensForOrganization.d.ts +11 -15
- package/dist/cjs/api/resources/apiKeys/client/getTokensForOrganization.js +11 -20
- package/dist/cjs/api/resources/apiKeys/client/requests/CreateApiKeyRequest.d.ts +4 -11
- package/dist/cjs/api/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.ts +1 -6
- package/dist/cjs/api/resources/apiKeys/client/requests/GetTokensForOrganizationApiKeysOrganizationOrganizationIdGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.ts +1 -6
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.ts +9 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/client/revokeToken.d.ts +11 -15
- package/dist/cjs/api/resources/apiKeys/client/revokeToken.js +11 -20
- package/dist/cjs/api/resources/apiKeys/client/revokeTokenById.d.ts +11 -15
- package/dist/cjs/api/resources/apiKeys/client/revokeTokenById.js +11 -20
- package/dist/cjs/api/resources/apiKeys/index.d.ts +0 -1
- package/dist/cjs/api/resources/apiKeys/index.js +0 -1
- package/dist/cjs/api/resources/auth/client/Client.d.ts +60 -0
- package/dist/cjs/api/resources/auth/client/Client.js +305 -0
- package/dist/cjs/api/resources/auth/client/getAutopilotToken.d.ts +25 -0
- package/dist/cjs/api/resources/auth/client/getAutopilotToken.js +66 -0
- package/dist/cjs/api/resources/auth/client/getJwt.d.ts +25 -0
- package/dist/cjs/api/resources/auth/client/getJwt.js +66 -0
- package/dist/cjs/api/resources/auth/client/getOrgForGithubOwner.d.ts +25 -0
- package/dist/cjs/api/resources/auth/client/getOrgForGithubOwner.js +66 -0
- package/dist/cjs/api/resources/auth/client/index.d.ts +4 -0
- package/dist/cjs/api/resources/auth/client/index.js +43 -0
- package/dist/cjs/api/resources/auth/client/requests/GetAutopilotTokenRequest.d.ts +10 -0
- package/dist/cjs/api/resources/auth/client/requests/GetJwtRequest.d.ts +9 -0
- package/dist/cjs/api/resources/auth/client/requests/GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/auth/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/auth/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/auth/index.d.ts +1 -0
- package/dist/cjs/api/resources/{commons → auth}/index.js +1 -1
- package/dist/cjs/api/resources/index.d.ts +2 -6
- package/dist/cjs/api/resources/index.js +3 -7
- package/dist/cjs/api/resources/organization/client/Client.d.ts +81 -50
- package/dist/cjs/api/resources/organization/client/Client.js +416 -210
- package/dist/cjs/api/resources/organization/client/addUser.d.ts +11 -15
- package/dist/cjs/api/resources/organization/client/addUser.js +11 -20
- package/dist/cjs/api/resources/organization/client/create.d.ts +11 -15
- package/dist/cjs/api/resources/organization/client/create.js +11 -20
- package/dist/cjs/api/resources/organization/client/delete.d.ts +11 -15
- package/dist/cjs/api/resources/organization/client/delete.js +11 -20
- package/dist/cjs/api/resources/organization/client/get.d.ts +11 -10
- package/dist/cjs/api/resources/organization/client/get.js +11 -10
- package/dist/cjs/api/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +11 -10
- package/dist/cjs/api/resources/organization/client/getMyOrganizationFromScopedToken.js +11 -10
- package/dist/cjs/api/resources/organization/client/getOrgIdsByPostmanTeamId.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/getOrgIdsByPostmanTeamId.js +66 -0
- package/dist/cjs/api/resources/organization/client/getOrgIdsFromToken.d.ts +6 -6
- package/dist/cjs/api/resources/organization/client/getOrgIdsFromToken.js +5 -5
- package/dist/cjs/api/resources/organization/client/getPostmanTeamIdByOrgId.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/getPostmanTeamIdByOrgId.js +66 -0
- package/dist/cjs/api/resources/organization/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/organization/client/index.js +3 -1
- package/dist/cjs/api/resources/organization/client/inviteUser.d.ts +11 -15
- package/dist/cjs/api/resources/organization/client/inviteUser.js +11 -20
- package/dist/cjs/api/resources/organization/client/isMember.d.ts +12 -6
- package/dist/cjs/api/resources/organization/client/isMember.js +16 -5
- package/dist/cjs/api/resources/organization/client/removeUser.d.ts +11 -15
- package/dist/cjs/api/resources/organization/client/removeUser.js +11 -20
- package/dist/cjs/api/resources/organization/client/requests/AddUserToOrgRequest.d.ts +2 -3
- package/dist/cjs/api/resources/organization/client/requests/CreateOrganizationRequest.d.ts +7 -17
- package/dist/cjs/api/resources/organization/client/requests/DeleteOrganizationsOrgIdDeleteRequest.d.ts +9 -0
- package/dist/cjs/api/resources/organization/client/requests/GetMyOrganizationFromScopedTokenOrganizationsMyselfPostRequest.d.ts +7 -0
- package/dist/cjs/api/resources/organization/client/requests/GetOrgIdsByPostmanTeamIdOrganizationsPostmanTeamPostmanTeamIdGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/organization/client/requests/GetOrganizationsOrgIdGetRequest.d.ts +10 -0
- package/dist/cjs/api/resources/organization/client/requests/GetPostmanTeamIdByOrgIdOrganizationsOrgIdPostmanTeamIdGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/organization/client/requests/InviteUserToOrgRequest.d.ts +1 -2
- package/dist/cjs/api/resources/organization/client/requests/IsMemberOrganizationsBelongsToOrganizationOrganizationIdPostRequest.d.ts +9 -0
- package/dist/cjs/api/resources/organization/client/requests/RemoveUserFromOrgRequest.d.ts +1 -2
- package/dist/cjs/api/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +21 -33
- package/dist/cjs/api/resources/organization/client/requests/index.d.ts +6 -2
- package/dist/cjs/api/resources/organization/client/update.d.ts +11 -10
- package/dist/cjs/api/resources/organization/client/update.js +11 -10
- package/dist/cjs/api/resources/organization/index.d.ts +0 -1
- package/dist/cjs/api/resources/organization/index.js +0 -1
- package/dist/cjs/api/resources/registry/client/Client.d.ts +16 -17
- package/dist/cjs/api/resources/registry/client/Client.js +51 -55
- package/dist/cjs/api/resources/registry/client/generateRegistryTokens.d.ts +11 -15
- package/dist/cjs/api/resources/registry/client/generateRegistryTokens.js +11 -20
- package/dist/cjs/api/resources/registry/client/hasRegistryPermission.d.ts +11 -15
- package/dist/cjs/api/resources/registry/client/hasRegistryPermission.js +11 -20
- package/dist/cjs/api/resources/registry/client/requests/CheckRegistryPermissionRequest.d.ts +3 -3
- package/dist/cjs/api/resources/registry/client/requests/GenerateRegistryTokensRequest.d.ts +1 -2
- package/dist/cjs/api/resources/registry/client/requests/RevokeTokenRequest.d.ts +1 -2
- package/dist/cjs/api/resources/registry/client/revokeToken.d.ts +11 -15
- package/dist/cjs/api/resources/registry/client/revokeToken.js +11 -20
- package/dist/cjs/api/resources/registry/index.d.ts +0 -1
- package/dist/cjs/api/resources/registry/index.js +0 -1
- package/dist/cjs/api/resources/user/client/Client.d.ts +15 -16
- package/dist/cjs/api/resources/user/client/Client.js +77 -38
- package/dist/cjs/api/resources/user/client/getMyOrganizations.d.ts +12 -6
- package/dist/cjs/api/resources/user/client/getMyOrganizations.js +16 -5
- package/dist/cjs/api/resources/user/client/getMyself.d.ts +6 -6
- package/dist/cjs/api/resources/user/client/getMyself.js +5 -5
- package/dist/cjs/api/resources/user/client/linkAccounts.d.ts +12 -6
- package/dist/cjs/api/resources/user/client/linkAccounts.js +16 -5
- package/dist/{esm/api/resources/user/client/requests/GetUserOrganizationsRequest.d.mts → cjs/api/resources/user/client/requests/GetMyOrganizationsUsersOrganizationsGetRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/user/client/requests/LinkAccountsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/user/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/user/index.d.ts +0 -1
- package/dist/cjs/api/resources/user/index.js +0 -1
- package/dist/cjs/api/types/Active.d.ts +1 -0
- package/dist/cjs/api/types/CreateOrganizationResponse.d.ts +3 -0
- package/dist/cjs/api/types/CreateTokenResponse.d.ts +14 -0
- package/dist/cjs/api/types/Expired.d.ts +1 -0
- package/dist/cjs/api/types/HttpValidationError.d.ts +4 -0
- package/dist/cjs/api/types/JwtResponse.d.ts +18 -0
- package/dist/cjs/api/{resources/organization/types → types}/LightweightUser.d.ts +2 -2
- package/dist/cjs/api/types/LinkAccountsResponse.d.ts +4 -0
- package/dist/cjs/api/types/Maven.d.ts +4 -0
- package/dist/cjs/api/types/Maven.js +3 -0
- package/dist/cjs/api/types/MavenRegistryToken.js +3 -0
- package/dist/cjs/api/types/Npm.d.ts +3 -0
- package/dist/cjs/api/types/Npm.js +3 -0
- package/dist/cjs/api/types/NpmRegistryToken.js +3 -0
- package/dist/cjs/api/types/Organization.d.ts +22 -0
- package/dist/cjs/api/types/Organization.js +3 -0
- package/dist/cjs/api/types/OrganizationsPage.d.ts +4 -0
- package/dist/cjs/api/types/OrganizationsPage.js +3 -0
- package/dist/cjs/api/types/Pypi.d.ts +4 -0
- package/dist/cjs/api/types/Pypi.js +3 -0
- package/dist/cjs/api/types/PypiRegistryToken.js +3 -0
- package/dist/cjs/api/types/RegistryToken.d.ts +13 -0
- package/dist/cjs/api/types/RegistryToken.js +3 -0
- package/dist/cjs/api/types/RegistryTokens.d.ts +6 -0
- package/dist/cjs/api/types/RegistryTokens.js +3 -0
- package/dist/cjs/api/types/Revoked.d.ts +1 -0
- package/dist/cjs/api/types/Revoked.js +3 -0
- package/dist/cjs/api/types/TokenMetadata.d.ts +24 -0
- package/dist/cjs/api/types/TokenMetadata.js +3 -0
- package/dist/cjs/api/types/TokenStatus.d.ts +20 -0
- package/dist/cjs/api/types/TokenStatus.js +3 -0
- package/dist/cjs/api/types/User.d.ts +6 -0
- package/dist/cjs/api/types/User.js +3 -0
- package/dist/cjs/api/types/ValidationError.d.ts +8 -0
- package/dist/cjs/api/types/ValidationError.js +3 -0
- package/dist/cjs/api/types/ValidationErrorLocItem.d.ts +1 -0
- package/dist/cjs/api/types/ValidationErrorLocItem.js +3 -0
- package/dist/cjs/api/types/index.d.ts +24 -0
- package/dist/cjs/api/{resources/registry/types → types}/index.js +19 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +76 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +4 -1
- package/dist/cjs/core/auth/BearerToken.d.ts +3 -1
- package/dist/cjs/core/auth/BearerToken.js +7 -6
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +1 -0
- package/dist/cjs/core/auth/index.js +3 -1
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +6 -7
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/cjs/core/fetcher/Fetcher.d.ts +10 -4
- package/dist/cjs/core/fetcher/Fetcher.js +210 -10
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/cjs/core/fetcher/getRequestBody.js +4 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +18 -4
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/cjs/core/fetcher/makeRequest.js +0 -2
- package/dist/cjs/core/fetcher/requestWithRetries.js +0 -9
- package/dist/cjs/core/fetcher/signals.d.ts +1 -7
- package/dist/cjs/core/fetcher/signals.js +0 -12
- package/dist/cjs/core/headers.d.ts +2 -2
- package/dist/cjs/core/headers.js +6 -4
- package/dist/cjs/core/index.d.ts +1 -0
- package/dist/cjs/core/index.js +2 -1
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/{serialization/resources/commons → core/logging}/index.js +1 -1
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/runtime/runtime.js +11 -10
- package/dist/cjs/core/schemas/Schema.d.ts +1 -0
- package/dist/cjs/core/schemas/Schema.js +1 -0
- package/dist/cjs/core/schemas/builders/object/object.js +34 -3
- package/dist/cjs/core/schemas/builders/primitives/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/primitives/index.js +3 -1
- package/dist/cjs/core/schemas/builders/primitives/never.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/never.js +14 -0
- package/dist/cjs/core/url/join.js +0 -1
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +3 -3
- package/dist/cjs/index.js +7 -5
- package/dist/cjs/serialization/index.d.ts +1 -0
- package/dist/cjs/serialization/index.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/client/getTokensForOrganization.d.ts +3 -13
- package/dist/cjs/serialization/resources/apiKeys/client/getTokensForOrganization.js +2 -33
- package/dist/cjs/serialization/resources/apiKeys/client/index.d.ts +0 -4
- package/dist/cjs/serialization/resources/apiKeys/client/index.js +1 -5
- package/dist/cjs/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.d.ts +5 -6
- package/dist/cjs/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.js +3 -4
- package/dist/cjs/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.ts +2 -2
- package/dist/cjs/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.ts +2 -2
- package/dist/cjs/serialization/resources/apiKeys/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/apiKeys/index.js +0 -1
- package/dist/cjs/serialization/resources/auth/client/getOrgForGithubOwner.d.ts +6 -0
- package/dist/cjs/serialization/resources/{commons/types/UserId.js → auth/client/getOrgForGithubOwner.js} +2 -2
- package/dist/cjs/serialization/resources/auth/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/auth/client/index.js +41 -0
- package/dist/cjs/serialization/resources/auth/client/requests/GetAutopilotTokenRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/auth/client/requests/GetAutopilotTokenRequest.js +42 -0
- package/dist/cjs/serialization/resources/auth/client/requests/GetJwtRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/auth/client/requests/GetJwtRequest.js +41 -0
- package/dist/cjs/serialization/resources/auth/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/auth/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/auth/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/{commons/types → auth}/index.js +1 -2
- package/dist/cjs/serialization/resources/index.d.ts +3 -6
- package/dist/cjs/serialization/resources/index.js +4 -7
- package/dist/cjs/serialization/resources/organization/client/getOrgIdsFromToken.d.ts +2 -4
- package/dist/cjs/serialization/resources/organization/client/getOrgIdsFromToken.js +1 -2
- package/dist/cjs/serialization/resources/organization/client/getPostmanTeamIdByOrgId.d.ts +6 -0
- package/dist/cjs/serialization/resources/{apiKeys/types/TokenId.js → organization/client/getPostmanTeamIdByOrgId.js} +2 -2
- package/dist/cjs/serialization/resources/organization/client/index.d.ts +1 -8
- package/dist/cjs/serialization/resources/organization/client/index.js +2 -9
- package/dist/cjs/serialization/resources/organization/client/requests/AddUserToOrgRequest.d.ts +4 -6
- package/dist/cjs/serialization/resources/organization/client/requests/AddUserToOrgRequest.js +2 -4
- package/dist/cjs/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.ts +9 -8
- package/dist/cjs/serialization/resources/organization/client/requests/CreateOrganizationRequest.js +7 -6
- package/dist/cjs/serialization/resources/organization/client/requests/InviteUserToOrgRequest.d.ts +3 -4
- package/dist/cjs/serialization/resources/organization/client/requests/InviteUserToOrgRequest.js +1 -2
- package/dist/cjs/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.d.ts +3 -4
- package/dist/cjs/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.js +1 -2
- package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +19 -18
- package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +17 -16
- package/dist/cjs/serialization/resources/organization/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/organization/index.js +0 -1
- package/dist/cjs/serialization/resources/registry/client/hasRegistryPermission.d.ts +0 -11
- package/dist/cjs/serialization/resources/registry/client/hasRegistryPermission.js +1 -32
- package/dist/cjs/serialization/resources/registry/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/registry/client/index.js +1 -3
- package/dist/cjs/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.d.ts +5 -6
- package/dist/cjs/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.js +3 -4
- package/dist/cjs/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.d.ts +3 -4
- package/dist/cjs/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.js +1 -2
- package/dist/cjs/serialization/resources/registry/client/requests/RevokeTokenRequest.d.ts +3 -4
- package/dist/cjs/serialization/resources/registry/client/requests/RevokeTokenRequest.js +1 -2
- package/dist/cjs/serialization/resources/registry/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/registry/index.js +0 -1
- package/dist/cjs/serialization/resources/user/client/index.d.ts +1 -0
- package/dist/cjs/{api/resources/commons/types → serialization/resources/user/client}/index.js +1 -2
- package/dist/cjs/serialization/resources/user/client/requests/LinkAccountsRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/user/{types → client/requests}/LinkAccountsRequest.js +2 -3
- package/dist/cjs/serialization/resources/user/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/user/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/user/index.d.ts +1 -1
- package/dist/cjs/serialization/resources/user/index.js +1 -1
- package/dist/cjs/serialization/types/Active.d.ts +7 -0
- package/dist/cjs/serialization/{resources/commons/types/OrganizationId.js → types/Active.js} +3 -3
- package/dist/cjs/serialization/types/CreateOrganizationResponse.d.ts +9 -0
- package/dist/cjs/serialization/{resources/organization/types → types}/CreateOrganizationResponse.js +2 -3
- package/dist/cjs/serialization/types/CreateTokenResponse.d.ts +10 -0
- package/dist/cjs/serialization/{resources/apiKeys/types → types}/CreateTokenResponse.js +2 -3
- package/dist/cjs/serialization/types/Expired.d.ts +7 -0
- package/dist/cjs/serialization/types/Expired.js +39 -0
- package/dist/cjs/serialization/types/HttpValidationError.d.ts +10 -0
- package/dist/cjs/serialization/types/HttpValidationError.js +42 -0
- package/dist/cjs/serialization/types/JwtResponse.d.ts +10 -0
- package/dist/cjs/serialization/types/JwtResponse.js +42 -0
- package/dist/cjs/serialization/types/LightweightUser.d.ts +12 -0
- package/dist/cjs/serialization/{resources/organization/types → types}/LightweightUser.js +3 -3
- package/dist/cjs/serialization/types/LinkAccountsResponse.d.ts +10 -0
- package/dist/cjs/serialization/{resources/user/types → types}/LinkAccountsResponse.js +2 -3
- package/dist/cjs/serialization/types/Maven.d.ts +10 -0
- package/dist/cjs/serialization/types/Maven.js +42 -0
- package/dist/cjs/serialization/types/MavenRegistryToken.d.ts +10 -0
- package/dist/cjs/serialization/{resources/registry/types → types}/MavenRegistryToken.js +1 -1
- package/dist/cjs/serialization/types/Npm.d.ts +9 -0
- package/dist/cjs/serialization/types/Npm.js +41 -0
- package/dist/cjs/serialization/types/NpmRegistryToken.d.ts +9 -0
- package/dist/cjs/serialization/{resources/registry/types → types}/NpmRegistryToken.js +1 -1
- package/dist/cjs/serialization/{resources/organization/types → types}/Organization.d.ts +7 -7
- package/dist/cjs/serialization/{resources/organization/types → types}/Organization.js +4 -4
- package/dist/cjs/serialization/types/OrganizationsPage.d.ts +10 -0
- package/dist/cjs/serialization/{resources/user/types → types}/OrganizationsPage.js +3 -4
- package/dist/cjs/serialization/types/Pypi.d.ts +10 -0
- package/dist/cjs/serialization/types/Pypi.js +42 -0
- package/dist/cjs/serialization/types/PypiRegistryToken.d.ts +10 -0
- package/dist/cjs/serialization/{resources/registry/types → types}/PypiRegistryToken.js +1 -1
- package/dist/cjs/serialization/types/RegistryToken.d.ts +19 -0
- package/dist/cjs/serialization/{resources/registry/types → types}/RegistryToken.js +7 -7
- package/dist/cjs/serialization/{resources/registry/types → types}/RegistryTokens.d.ts +4 -4
- package/dist/cjs/serialization/{resources/registry/types → types}/RegistryTokens.js +1 -1
- package/dist/cjs/serialization/types/Revoked.d.ts +7 -0
- package/dist/cjs/serialization/types/Revoked.js +39 -0
- package/dist/cjs/serialization/types/TokenMetadata.d.ts +14 -0
- package/dist/cjs/serialization/{resources/apiKeys/types → types}/TokenMetadata.js +4 -6
- package/dist/cjs/serialization/types/TokenStatus.d.ts +19 -0
- package/dist/cjs/serialization/{resources/apiKeys/types → types}/TokenStatus.js +7 -4
- package/dist/cjs/serialization/types/User.d.ts +12 -0
- package/dist/cjs/serialization/{resources/user/types → types}/User.js +4 -5
- package/dist/cjs/serialization/types/ValidationError.d.ts +14 -0
- package/dist/cjs/serialization/types/ValidationError.js +46 -0
- package/dist/cjs/serialization/types/ValidationErrorLocItem.d.ts +7 -0
- package/dist/cjs/serialization/types/ValidationErrorLocItem.js +39 -0
- package/dist/cjs/serialization/types/index.d.ts +24 -0
- package/dist/cjs/serialization/{resources/registry/types → types}/index.js +19 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +18 -6
- package/dist/esm/BaseClient.mjs +24 -1
- package/dist/esm/Client.d.mts +41 -18
- package/dist/esm/Client.mjs +119 -17
- package/dist/esm/api/client/healthHealthGet.d.mts +19 -0
- package/dist/esm/api/client/healthHealthGet.mjs +19 -0
- package/dist/esm/api/client/index.d.mts +2 -0
- package/dist/esm/api/client/index.mjs +2 -0
- package/dist/esm/api/client/metricsMetricsGet.d.mts +19 -0
- package/dist/esm/api/client/metricsMetricsGet.mjs +19 -0
- package/dist/esm/api/index.d.mts +2 -0
- package/dist/esm/api/index.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/client/Client.d.mts +31 -49
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +98 -112
- package/dist/esm/api/resources/apiKeys/client/create.d.mts +11 -15
- package/dist/esm/api/resources/apiKeys/client/create.mjs +11 -20
- package/dist/esm/api/resources/apiKeys/client/getTokenMetadata.d.mts +11 -15
- package/dist/esm/api/resources/apiKeys/client/getTokenMetadata.mjs +11 -20
- package/dist/esm/api/resources/apiKeys/client/getTokensForOrganization.d.mts +11 -15
- package/dist/esm/api/resources/apiKeys/client/getTokensForOrganization.mjs +11 -20
- package/dist/esm/api/resources/apiKeys/client/requests/CreateApiKeyRequest.d.mts +4 -11
- package/dist/esm/api/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.mts +1 -6
- package/dist/esm/api/resources/apiKeys/client/requests/GetTokensForOrganizationApiKeysOrganizationOrganizationIdGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.mts +1 -6
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.mts +9 -0
- package/dist/esm/api/resources/apiKeys/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/client/revokeToken.d.mts +11 -15
- package/dist/esm/api/resources/apiKeys/client/revokeToken.mjs +11 -20
- package/dist/esm/api/resources/apiKeys/client/revokeTokenById.d.mts +11 -15
- package/dist/esm/api/resources/apiKeys/client/revokeTokenById.mjs +11 -20
- package/dist/esm/api/resources/apiKeys/index.d.mts +0 -1
- package/dist/esm/api/resources/apiKeys/index.mjs +0 -1
- package/dist/esm/api/resources/auth/client/Client.d.mts +60 -0
- package/dist/esm/api/resources/auth/client/Client.mjs +268 -0
- package/dist/esm/api/resources/auth/client/getAutopilotToken.d.mts +25 -0
- package/dist/esm/api/resources/auth/client/getAutopilotToken.mjs +30 -0
- package/dist/esm/api/resources/auth/client/getJwt.d.mts +25 -0
- package/dist/esm/api/resources/auth/client/getJwt.mjs +30 -0
- package/dist/esm/api/resources/auth/client/getOrgForGithubOwner.d.mts +25 -0
- package/dist/esm/api/resources/auth/client/getOrgForGithubOwner.mjs +30 -0
- package/dist/esm/api/resources/auth/client/index.d.mts +4 -0
- package/dist/esm/api/resources/auth/client/index.mjs +4 -0
- package/dist/esm/api/resources/auth/client/requests/GetAutopilotTokenRequest.d.mts +10 -0
- package/dist/esm/api/resources/auth/client/requests/GetJwtRequest.d.mts +9 -0
- package/dist/esm/api/resources/auth/client/requests/GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/auth/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/auth/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/auth/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -6
- package/dist/esm/api/resources/index.mjs +2 -6
- package/dist/esm/api/resources/organization/client/Client.d.mts +81 -50
- package/dist/esm/api/resources/organization/client/Client.mjs +415 -209
- package/dist/esm/api/resources/organization/client/addUser.d.mts +11 -15
- package/dist/esm/api/resources/organization/client/addUser.mjs +11 -20
- package/dist/esm/api/resources/organization/client/create.d.mts +11 -15
- package/dist/esm/api/resources/organization/client/create.mjs +11 -20
- package/dist/esm/api/resources/organization/client/delete.d.mts +11 -15
- package/dist/esm/api/resources/organization/client/delete.mjs +11 -20
- package/dist/esm/api/resources/organization/client/get.d.mts +11 -10
- package/dist/esm/api/resources/organization/client/get.mjs +11 -10
- package/dist/esm/api/resources/organization/client/getMyOrganizationFromScopedToken.d.mts +11 -10
- package/dist/esm/api/resources/organization/client/getMyOrganizationFromScopedToken.mjs +11 -10
- package/dist/esm/api/resources/organization/client/getOrgIdsByPostmanTeamId.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/getOrgIdsByPostmanTeamId.mjs +30 -0
- package/dist/esm/api/resources/organization/client/getOrgIdsFromToken.d.mts +6 -6
- package/dist/esm/api/resources/organization/client/getOrgIdsFromToken.mjs +5 -5
- package/dist/esm/api/resources/organization/client/getPostmanTeamIdByOrgId.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/getPostmanTeamIdByOrgId.mjs +30 -0
- package/dist/esm/api/resources/organization/client/index.d.mts +2 -0
- package/dist/esm/api/resources/organization/client/index.mjs +2 -0
- package/dist/esm/api/resources/organization/client/inviteUser.d.mts +11 -15
- package/dist/esm/api/resources/organization/client/inviteUser.mjs +11 -20
- package/dist/esm/api/resources/organization/client/isMember.d.mts +12 -6
- package/dist/esm/api/resources/organization/client/isMember.mjs +16 -5
- package/dist/esm/api/resources/organization/client/removeUser.d.mts +11 -15
- package/dist/esm/api/resources/organization/client/removeUser.mjs +11 -20
- package/dist/esm/api/resources/organization/client/requests/AddUserToOrgRequest.d.mts +2 -3
- package/dist/esm/api/resources/organization/client/requests/CreateOrganizationRequest.d.mts +7 -17
- package/dist/esm/api/resources/organization/client/requests/DeleteOrganizationsOrgIdDeleteRequest.d.mts +9 -0
- package/dist/esm/api/resources/organization/client/requests/GetMyOrganizationFromScopedTokenOrganizationsMyselfPostRequest.d.mts +7 -0
- package/dist/esm/api/resources/organization/client/requests/GetOrgIdsByPostmanTeamIdOrganizationsPostmanTeamPostmanTeamIdGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/organization/client/requests/GetOrganizationsOrgIdGetRequest.d.mts +10 -0
- package/dist/esm/api/resources/organization/client/requests/GetPostmanTeamIdByOrgIdOrganizationsOrgIdPostmanTeamIdGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/organization/client/requests/InviteUserToOrgRequest.d.mts +1 -2
- package/dist/esm/api/resources/organization/client/requests/IsMemberOrganizationsBelongsToOrganizationOrganizationIdPostRequest.d.mts +9 -0
- package/dist/esm/api/resources/organization/client/requests/RemoveUserFromOrgRequest.d.mts +1 -2
- package/dist/esm/api/resources/organization/client/requests/UpdateOrganizationRequest.d.mts +21 -33
- package/dist/esm/api/resources/organization/client/requests/index.d.mts +6 -2
- package/dist/esm/api/resources/organization/client/update.d.mts +11 -10
- package/dist/esm/api/resources/organization/client/update.mjs +11 -10
- package/dist/esm/api/resources/organization/index.d.mts +0 -1
- package/dist/esm/api/resources/organization/index.mjs +0 -1
- package/dist/esm/api/resources/registry/client/Client.d.mts +16 -17
- package/dist/esm/api/resources/registry/client/Client.mjs +50 -54
- package/dist/esm/api/resources/registry/client/generateRegistryTokens.d.mts +11 -15
- package/dist/esm/api/resources/registry/client/generateRegistryTokens.mjs +11 -20
- package/dist/esm/api/resources/registry/client/hasRegistryPermission.d.mts +11 -15
- package/dist/esm/api/resources/registry/client/hasRegistryPermission.mjs +11 -20
- package/dist/esm/api/resources/registry/client/requests/CheckRegistryPermissionRequest.d.mts +3 -3
- package/dist/esm/api/resources/registry/client/requests/GenerateRegistryTokensRequest.d.mts +1 -2
- package/dist/esm/api/resources/registry/client/requests/RevokeTokenRequest.d.mts +1 -2
- package/dist/esm/api/resources/registry/client/revokeToken.d.mts +11 -15
- package/dist/esm/api/resources/registry/client/revokeToken.mjs +11 -20
- package/dist/esm/api/resources/registry/index.d.mts +0 -1
- package/dist/esm/api/resources/registry/index.mjs +0 -1
- package/dist/esm/api/resources/user/client/Client.d.mts +15 -16
- package/dist/esm/api/resources/user/client/Client.mjs +76 -37
- package/dist/esm/api/resources/user/client/getMyOrganizations.d.mts +12 -6
- package/dist/esm/api/resources/user/client/getMyOrganizations.mjs +16 -5
- package/dist/esm/api/resources/user/client/getMyself.d.mts +6 -6
- package/dist/esm/api/resources/user/client/getMyself.mjs +5 -5
- package/dist/esm/api/resources/user/client/linkAccounts.d.mts +12 -6
- package/dist/esm/api/resources/user/client/linkAccounts.mjs +16 -5
- package/dist/{cjs/api/resources/user/client/requests/GetUserOrganizationsRequest.d.ts → esm/api/resources/user/client/requests/GetMyOrganizationsUsersOrganizationsGetRequest.d.mts} +1 -1
- package/dist/esm/api/resources/user/client/requests/LinkAccountsRequest.d.mts +9 -0
- package/dist/esm/api/resources/user/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/user/index.d.mts +0 -1
- package/dist/esm/api/resources/user/index.mjs +0 -1
- package/dist/esm/api/types/Active.d.mts +1 -0
- package/dist/esm/api/types/CreateOrganizationResponse.d.mts +3 -0
- package/dist/esm/api/types/CreateTokenResponse.d.mts +14 -0
- package/dist/esm/api/types/Expired.d.mts +1 -0
- package/dist/esm/api/types/HttpValidationError.d.mts +4 -0
- package/dist/esm/api/types/JwtResponse.d.mts +18 -0
- package/dist/esm/api/{resources/organization/types → types}/LightweightUser.d.mts +2 -2
- package/dist/esm/api/types/LinkAccountsResponse.d.mts +4 -0
- package/dist/esm/api/types/Maven.d.mts +4 -0
- package/dist/esm/api/types/Maven.mjs +2 -0
- package/dist/esm/api/types/MavenRegistryToken.mjs +2 -0
- package/dist/esm/api/types/Npm.d.mts +3 -0
- package/dist/esm/api/types/Npm.mjs +2 -0
- package/dist/esm/api/types/NpmRegistryToken.mjs +2 -0
- package/dist/esm/api/types/Organization.d.mts +22 -0
- package/dist/esm/api/types/Organization.mjs +2 -0
- package/dist/esm/api/types/OrganizationsPage.d.mts +4 -0
- package/dist/esm/api/types/OrganizationsPage.mjs +2 -0
- package/dist/esm/api/types/Pypi.d.mts +4 -0
- package/dist/esm/api/types/Pypi.mjs +2 -0
- package/dist/esm/api/types/PypiRegistryToken.mjs +2 -0
- package/dist/esm/api/types/RegistryToken.d.mts +13 -0
- package/dist/esm/api/types/RegistryToken.mjs +2 -0
- package/dist/esm/api/types/RegistryTokens.d.mts +6 -0
- package/dist/esm/api/types/RegistryTokens.mjs +2 -0
- package/dist/esm/api/types/Revoked.d.mts +1 -0
- package/dist/esm/api/types/Revoked.mjs +2 -0
- package/dist/esm/api/types/TokenMetadata.d.mts +24 -0
- package/dist/esm/api/types/TokenMetadata.mjs +2 -0
- package/dist/esm/api/types/TokenStatus.d.mts +20 -0
- package/dist/esm/api/types/TokenStatus.mjs +2 -0
- package/dist/esm/api/types/User.d.mts +6 -0
- package/dist/esm/api/types/User.mjs +2 -0
- package/dist/esm/api/types/ValidationError.d.mts +8 -0
- package/dist/esm/api/types/ValidationError.mjs +2 -0
- package/dist/esm/api/types/ValidationErrorLocItem.d.mts +1 -0
- package/dist/esm/api/types/ValidationErrorLocItem.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +24 -0
- package/dist/esm/api/types/index.mjs +24 -0
- package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
- package/dist/esm/auth/BearerAuthProvider.mjs +39 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +4 -1
- package/dist/esm/core/auth/BearerToken.d.mts +3 -1
- package/dist/esm/core/auth/BearerToken.mjs +7 -6
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +1 -0
- package/dist/esm/core/auth/index.mjs +1 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +6 -7
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
- package/dist/esm/core/fetcher/Fetcher.d.mts +10 -4
- package/dist/esm/core/fetcher/Fetcher.mjs +210 -10
- package/dist/esm/core/fetcher/getRequestBody.d.mts +1 -1
- package/dist/esm/core/fetcher/getRequestBody.mjs +4 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +18 -4
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +0 -2
- package/dist/esm/core/fetcher/requestWithRetries.mjs +0 -9
- package/dist/esm/core/fetcher/signals.d.mts +1 -7
- package/dist/esm/core/fetcher/signals.mjs +0 -12
- package/dist/esm/core/headers.d.mts +2 -2
- package/dist/esm/core/headers.mjs +6 -4
- package/dist/esm/core/index.d.mts +1 -0
- package/dist/esm/core/index.mjs +1 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/runtime/runtime.mjs +11 -10
- package/dist/esm/core/schemas/Schema.d.mts +1 -0
- package/dist/esm/core/schemas/Schema.mjs +1 -0
- package/dist/esm/core/schemas/builders/object/object.mjs +34 -3
- package/dist/esm/core/schemas/builders/primitives/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/primitives/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/primitives/never.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/never.mjs +11 -0
- package/dist/esm/core/url/join.mjs +0 -1
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +3 -3
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/serialization/index.d.mts +1 -0
- package/dist/esm/serialization/index.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/client/getTokensForOrganization.d.mts +3 -13
- package/dist/esm/serialization/resources/apiKeys/client/getTokensForOrganization.mjs +1 -32
- package/dist/esm/serialization/resources/apiKeys/client/index.d.mts +0 -4
- package/dist/esm/serialization/resources/apiKeys/client/index.mjs +0 -4
- package/dist/esm/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.d.mts +5 -6
- package/dist/esm/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.mjs +3 -4
- package/dist/esm/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.mts +2 -2
- package/dist/esm/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.mts +2 -2
- package/dist/esm/serialization/resources/apiKeys/index.d.mts +0 -1
- package/dist/esm/serialization/resources/apiKeys/index.mjs +0 -1
- package/dist/esm/serialization/resources/auth/client/getOrgForGithubOwner.d.mts +6 -0
- package/dist/esm/serialization/resources/{commons/types/OrganizationId.mjs → auth/client/getOrgForGithubOwner.mjs} +1 -1
- package/dist/esm/serialization/resources/auth/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/auth/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/auth/client/requests/GetAutopilotTokenRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/auth/client/requests/GetAutopilotTokenRequest.mjs +6 -0
- package/dist/esm/serialization/resources/auth/client/requests/GetJwtRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/auth/client/requests/GetJwtRequest.mjs +5 -0
- package/dist/esm/serialization/resources/auth/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/auth/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/auth/index.d.mts +1 -0
- package/dist/esm/serialization/resources/auth/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +3 -6
- package/dist/esm/serialization/resources/index.mjs +3 -6
- package/dist/esm/serialization/resources/organization/client/getOrgIdsFromToken.d.mts +2 -4
- package/dist/esm/serialization/resources/organization/client/getOrgIdsFromToken.mjs +1 -2
- package/dist/esm/serialization/resources/organization/client/getPostmanTeamIdByOrgId.d.mts +6 -0
- package/dist/esm/serialization/resources/{apiKeys/types/TokenId.mjs → organization/client/getPostmanTeamIdByOrgId.mjs} +1 -1
- package/dist/esm/serialization/resources/organization/client/index.d.mts +1 -8
- package/dist/esm/serialization/resources/organization/client/index.mjs +1 -8
- package/dist/esm/serialization/resources/organization/client/requests/AddUserToOrgRequest.d.mts +4 -6
- package/dist/esm/serialization/resources/organization/client/requests/AddUserToOrgRequest.mjs +2 -4
- package/dist/esm/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.mts +9 -8
- package/dist/esm/serialization/resources/organization/client/requests/CreateOrganizationRequest.mjs +7 -6
- package/dist/esm/serialization/resources/organization/client/requests/InviteUserToOrgRequest.d.mts +3 -4
- package/dist/esm/serialization/resources/organization/client/requests/InviteUserToOrgRequest.mjs +1 -2
- package/dist/esm/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.d.mts +3 -4
- package/dist/esm/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.mjs +1 -2
- package/dist/esm/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.mts +19 -18
- package/dist/esm/serialization/resources/organization/client/requests/UpdateOrganizationRequest.mjs +17 -16
- package/dist/esm/serialization/resources/organization/index.d.mts +0 -1
- package/dist/esm/serialization/resources/organization/index.mjs +0 -1
- package/dist/esm/serialization/resources/registry/client/hasRegistryPermission.d.mts +0 -11
- package/dist/esm/serialization/resources/registry/client/hasRegistryPermission.mjs +0 -31
- package/dist/esm/serialization/resources/registry/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/registry/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.d.mts +5 -6
- package/dist/esm/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.mjs +3 -4
- package/dist/esm/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.d.mts +3 -4
- package/dist/esm/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.mjs +1 -2
- package/dist/esm/serialization/resources/registry/client/requests/RevokeTokenRequest.d.mts +3 -4
- package/dist/esm/serialization/resources/registry/client/requests/RevokeTokenRequest.mjs +1 -2
- package/dist/esm/serialization/resources/registry/index.d.mts +0 -1
- package/dist/esm/serialization/resources/registry/index.mjs +0 -1
- package/dist/esm/serialization/resources/user/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/user/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/user/client/requests/LinkAccountsRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/user/{types → client/requests}/LinkAccountsRequest.mjs +2 -3
- package/dist/esm/serialization/resources/user/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/user/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/user/index.d.mts +1 -1
- package/dist/esm/serialization/resources/user/index.mjs +1 -1
- package/dist/esm/serialization/types/Active.d.mts +7 -0
- package/dist/esm/serialization/types/Active.mjs +3 -0
- package/dist/esm/serialization/types/CreateOrganizationResponse.d.mts +9 -0
- package/dist/esm/serialization/types/CreateOrganizationResponse.mjs +5 -0
- package/dist/esm/serialization/types/CreateTokenResponse.d.mts +10 -0
- package/dist/esm/serialization/{resources/apiKeys/types → types}/CreateTokenResponse.mjs +2 -3
- package/dist/esm/serialization/types/Expired.d.mts +7 -0
- package/dist/esm/serialization/types/Expired.mjs +3 -0
- package/dist/esm/serialization/types/HttpValidationError.d.mts +10 -0
- package/dist/esm/serialization/types/HttpValidationError.mjs +6 -0
- package/dist/esm/serialization/types/JwtResponse.d.mts +10 -0
- package/dist/esm/serialization/types/JwtResponse.mjs +6 -0
- package/dist/esm/serialization/types/LightweightUser.d.mts +12 -0
- package/dist/esm/serialization/{resources/organization/types → types}/LightweightUser.mjs +3 -3
- package/dist/esm/serialization/types/LinkAccountsResponse.d.mts +10 -0
- package/dist/esm/serialization/{resources/user/types → types}/LinkAccountsResponse.mjs +2 -3
- package/dist/esm/serialization/types/Maven.d.mts +10 -0
- package/dist/esm/serialization/types/Maven.mjs +6 -0
- package/dist/esm/serialization/types/MavenRegistryToken.d.mts +10 -0
- package/dist/esm/serialization/{resources/registry/types → types}/MavenRegistryToken.mjs +1 -1
- package/dist/esm/serialization/types/Npm.d.mts +9 -0
- package/dist/esm/serialization/types/Npm.mjs +5 -0
- package/dist/esm/serialization/types/NpmRegistryToken.d.mts +9 -0
- package/dist/esm/serialization/{resources/registry/types → types}/NpmRegistryToken.mjs +1 -1
- package/dist/esm/serialization/{resources/organization/types → types}/Organization.d.mts +7 -7
- package/dist/esm/serialization/{resources/organization/types → types}/Organization.mjs +4 -4
- package/dist/esm/serialization/types/OrganizationsPage.d.mts +10 -0
- package/dist/esm/serialization/types/OrganizationsPage.mjs +6 -0
- package/dist/esm/serialization/types/Pypi.d.mts +10 -0
- package/dist/esm/serialization/types/Pypi.mjs +6 -0
- package/dist/esm/serialization/types/PypiRegistryToken.d.mts +10 -0
- package/dist/esm/serialization/{resources/registry/types → types}/PypiRegistryToken.mjs +1 -1
- package/dist/esm/serialization/types/RegistryToken.d.mts +19 -0
- package/dist/esm/serialization/types/RegistryToken.mjs +15 -0
- package/dist/esm/serialization/{resources/registry/types → types}/RegistryTokens.d.mts +4 -4
- package/dist/esm/serialization/{resources/registry/types → types}/RegistryTokens.mjs +1 -1
- package/dist/esm/serialization/types/Revoked.d.mts +7 -0
- package/dist/esm/serialization/types/Revoked.mjs +3 -0
- package/dist/esm/serialization/types/TokenMetadata.d.mts +14 -0
- package/dist/esm/serialization/types/TokenMetadata.mjs +10 -0
- package/dist/esm/serialization/types/TokenStatus.d.mts +19 -0
- package/dist/esm/serialization/types/TokenStatus.mjs +15 -0
- package/dist/esm/serialization/types/User.d.mts +12 -0
- package/dist/esm/serialization/{resources/user/types → types}/User.mjs +4 -5
- package/dist/esm/serialization/types/ValidationError.d.mts +14 -0
- package/dist/esm/serialization/types/ValidationError.mjs +10 -0
- package/dist/esm/serialization/types/ValidationErrorLocItem.d.mts +7 -0
- package/dist/esm/serialization/types/ValidationErrorLocItem.mjs +3 -0
- package/dist/esm/serialization/types/index.d.mts +24 -0
- package/dist/esm/serialization/types/index.mjs +24 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +8 -3
- package/reference.md +1530 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateTokenResponse.d.ts +0 -12
- package/dist/cjs/api/resources/apiKeys/types/TokenId.d.ts +0 -5
- package/dist/cjs/api/resources/apiKeys/types/TokenMetadata.d.ts +0 -19
- package/dist/cjs/api/resources/apiKeys/types/TokenStatus.d.ts +0 -29
- package/dist/cjs/api/resources/apiKeys/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/apiKeys/types/index.js +0 -20
- package/dist/cjs/api/resources/commons/index.d.ts +0 -1
- package/dist/cjs/api/resources/commons/types/OrganizationId.d.ts +0 -1
- package/dist/cjs/api/resources/commons/types/UserId.d.ts +0 -1
- package/dist/cjs/api/resources/commons/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/organization/client/requests/GetMyOrganizationFromScopedToken.d.ts +0 -7
- package/dist/cjs/api/resources/organization/client/requests/GetOrganizationRequest.d.ts +0 -7
- package/dist/cjs/api/resources/organization/types/CreateOrganizationResponse.d.ts +0 -9
- package/dist/cjs/api/resources/organization/types/Organization.d.ts +0 -34
- package/dist/cjs/api/resources/organization/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/organization/types/index.js +0 -19
- package/dist/cjs/api/resources/registry/types/RegistryToken.d.ts +0 -13
- package/dist/cjs/api/resources/registry/types/RegistryTokens.d.ts +0 -6
- package/dist/cjs/api/resources/registry/types/index.d.ts +0 -5
- package/dist/cjs/api/resources/user/types/LinkAccountsRequest.d.ts +0 -4
- package/dist/cjs/api/resources/user/types/LinkAccountsResponse.d.ts +0 -5
- package/dist/cjs/api/resources/user/types/OrganizationsPage.d.ts +0 -5
- package/dist/cjs/api/resources/user/types/User.d.ts +0 -7
- package/dist/cjs/api/resources/user/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/user/types/index.js +0 -20
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/cjs/environments.d.ts +0 -4
- package/dist/cjs/environments.js +0 -7
- package/dist/cjs/serialization/resources/apiKeys/client/create.d.ts +0 -13
- package/dist/cjs/serialization/resources/apiKeys/client/create.js +0 -69
- package/dist/cjs/serialization/resources/apiKeys/client/getTokenMetadata.d.ts +0 -13
- package/dist/cjs/serialization/resources/apiKeys/client/getTokenMetadata.js +0 -69
- package/dist/cjs/serialization/resources/apiKeys/client/revokeToken.d.ts +0 -13
- package/dist/cjs/serialization/resources/apiKeys/client/revokeToken.js +0 -69
- package/dist/cjs/serialization/resources/apiKeys/client/revokeTokenById.d.ts +0 -13
- package/dist/cjs/serialization/resources/apiKeys/client/revokeTokenById.js +0 -69
- package/dist/cjs/serialization/resources/apiKeys/types/CreateTokenResponse.d.ts +0 -11
- package/dist/cjs/serialization/resources/apiKeys/types/TokenId.d.ts +0 -7
- package/dist/cjs/serialization/resources/apiKeys/types/TokenMetadata.d.ts +0 -16
- package/dist/cjs/serialization/resources/apiKeys/types/TokenStatus.d.ts +0 -16
- package/dist/cjs/serialization/resources/apiKeys/types/index.d.ts +0 -4
- package/dist/cjs/serialization/resources/apiKeys/types/index.js +0 -20
- package/dist/cjs/serialization/resources/commons/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/commons/types/OrganizationId.d.ts +0 -7
- package/dist/cjs/serialization/resources/commons/types/UserId.d.ts +0 -7
- package/dist/cjs/serialization/resources/commons/types/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/organization/client/addUser.d.ts +0 -13
- package/dist/cjs/serialization/resources/organization/client/addUser.js +0 -69
- package/dist/cjs/serialization/resources/organization/client/create.d.ts +0 -13
- package/dist/cjs/serialization/resources/organization/client/create.js +0 -69
- package/dist/cjs/serialization/resources/organization/client/delete.d.ts +0 -13
- package/dist/cjs/serialization/resources/organization/client/delete.js +0 -69
- package/dist/cjs/serialization/resources/organization/client/get.d.ts +0 -10
- package/dist/cjs/serialization/resources/organization/client/get.js +0 -66
- package/dist/cjs/serialization/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +0 -10
- package/dist/cjs/serialization/resources/organization/client/getMyOrganizationFromScopedToken.js +0 -66
- package/dist/cjs/serialization/resources/organization/client/inviteUser.d.ts +0 -13
- package/dist/cjs/serialization/resources/organization/client/inviteUser.js +0 -69
- package/dist/cjs/serialization/resources/organization/client/removeUser.d.ts +0 -13
- package/dist/cjs/serialization/resources/organization/client/removeUser.js +0 -69
- package/dist/cjs/serialization/resources/organization/client/update.d.ts +0 -10
- package/dist/cjs/serialization/resources/organization/client/update.js +0 -66
- package/dist/cjs/serialization/resources/organization/types/CreateOrganizationResponse.d.ts +0 -10
- package/dist/cjs/serialization/resources/organization/types/LightweightUser.d.ts +0 -12
- package/dist/cjs/serialization/resources/organization/types/index.d.ts +0 -3
- package/dist/cjs/serialization/resources/organization/types/index.js +0 -19
- package/dist/cjs/serialization/resources/registry/client/generateRegistryTokens.d.ts +0 -13
- package/dist/cjs/serialization/resources/registry/client/generateRegistryTokens.js +0 -69
- package/dist/cjs/serialization/resources/registry/client/revokeToken.d.ts +0 -13
- package/dist/cjs/serialization/resources/registry/client/revokeToken.js +0 -69
- package/dist/cjs/serialization/resources/registry/types/MavenRegistryToken.d.ts +0 -10
- package/dist/cjs/serialization/resources/registry/types/NpmRegistryToken.d.ts +0 -9
- package/dist/cjs/serialization/resources/registry/types/PypiRegistryToken.d.ts +0 -10
- package/dist/cjs/serialization/resources/registry/types/RegistryToken.d.ts +0 -19
- package/dist/cjs/serialization/resources/registry/types/index.d.ts +0 -5
- package/dist/cjs/serialization/resources/user/types/LinkAccountsRequest.d.ts +0 -10
- package/dist/cjs/serialization/resources/user/types/LinkAccountsResponse.d.ts +0 -11
- package/dist/cjs/serialization/resources/user/types/OrganizationsPage.d.ts +0 -11
- package/dist/cjs/serialization/resources/user/types/User.d.ts +0 -13
- package/dist/cjs/serialization/resources/user/types/index.d.ts +0 -4
- package/dist/cjs/serialization/resources/user/types/index.js +0 -20
- package/dist/esm/api/resources/apiKeys/types/CreateTokenResponse.d.mts +0 -12
- package/dist/esm/api/resources/apiKeys/types/TokenId.d.mts +0 -5
- package/dist/esm/api/resources/apiKeys/types/TokenMetadata.d.mts +0 -19
- package/dist/esm/api/resources/apiKeys/types/TokenStatus.d.mts +0 -29
- package/dist/esm/api/resources/apiKeys/types/index.d.mts +0 -4
- package/dist/esm/api/resources/apiKeys/types/index.mjs +0 -4
- package/dist/esm/api/resources/commons/index.d.mts +0 -1
- package/dist/esm/api/resources/commons/index.mjs +0 -1
- package/dist/esm/api/resources/commons/types/OrganizationId.d.mts +0 -1
- package/dist/esm/api/resources/commons/types/UserId.d.mts +0 -1
- package/dist/esm/api/resources/commons/types/index.d.mts +0 -2
- package/dist/esm/api/resources/commons/types/index.mjs +0 -2
- package/dist/esm/api/resources/organization/client/requests/GetMyOrganizationFromScopedToken.d.mts +0 -7
- package/dist/esm/api/resources/organization/client/requests/GetOrganizationRequest.d.mts +0 -7
- package/dist/esm/api/resources/organization/types/CreateOrganizationResponse.d.mts +0 -9
- package/dist/esm/api/resources/organization/types/Organization.d.mts +0 -34
- package/dist/esm/api/resources/organization/types/index.d.mts +0 -3
- package/dist/esm/api/resources/organization/types/index.mjs +0 -3
- package/dist/esm/api/resources/registry/types/RegistryToken.d.mts +0 -13
- package/dist/esm/api/resources/registry/types/RegistryTokens.d.mts +0 -6
- package/dist/esm/api/resources/registry/types/index.d.mts +0 -5
- package/dist/esm/api/resources/registry/types/index.mjs +0 -5
- package/dist/esm/api/resources/user/types/LinkAccountsRequest.d.mts +0 -4
- package/dist/esm/api/resources/user/types/LinkAccountsResponse.d.mts +0 -5
- package/dist/esm/api/resources/user/types/OrganizationsPage.d.mts +0 -5
- package/dist/esm/api/resources/user/types/User.d.mts +0 -7
- package/dist/esm/api/resources/user/types/index.d.mts +0 -4
- package/dist/esm/api/resources/user/types/index.mjs +0 -4
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
- package/dist/esm/environments.d.mts +0 -4
- package/dist/esm/environments.mjs +0 -4
- package/dist/esm/serialization/resources/apiKeys/client/create.d.mts +0 -13
- package/dist/esm/serialization/resources/apiKeys/client/create.mjs +0 -33
- package/dist/esm/serialization/resources/apiKeys/client/getTokenMetadata.d.mts +0 -13
- package/dist/esm/serialization/resources/apiKeys/client/getTokenMetadata.mjs +0 -33
- package/dist/esm/serialization/resources/apiKeys/client/revokeToken.d.mts +0 -13
- package/dist/esm/serialization/resources/apiKeys/client/revokeToken.mjs +0 -33
- package/dist/esm/serialization/resources/apiKeys/client/revokeTokenById.d.mts +0 -13
- package/dist/esm/serialization/resources/apiKeys/client/revokeTokenById.mjs +0 -33
- package/dist/esm/serialization/resources/apiKeys/types/CreateTokenResponse.d.mts +0 -11
- package/dist/esm/serialization/resources/apiKeys/types/TokenId.d.mts +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/TokenMetadata.d.mts +0 -16
- package/dist/esm/serialization/resources/apiKeys/types/TokenMetadata.mjs +0 -12
- package/dist/esm/serialization/resources/apiKeys/types/TokenStatus.d.mts +0 -16
- package/dist/esm/serialization/resources/apiKeys/types/TokenStatus.mjs +0 -12
- package/dist/esm/serialization/resources/apiKeys/types/index.d.mts +0 -4
- package/dist/esm/serialization/resources/apiKeys/types/index.mjs +0 -4
- package/dist/esm/serialization/resources/commons/index.d.mts +0 -1
- package/dist/esm/serialization/resources/commons/index.mjs +0 -1
- package/dist/esm/serialization/resources/commons/types/OrganizationId.d.mts +0 -7
- package/dist/esm/serialization/resources/commons/types/UserId.d.mts +0 -7
- package/dist/esm/serialization/resources/commons/types/UserId.mjs +0 -3
- package/dist/esm/serialization/resources/commons/types/index.d.mts +0 -2
- package/dist/esm/serialization/resources/commons/types/index.mjs +0 -2
- package/dist/esm/serialization/resources/organization/client/addUser.d.mts +0 -13
- package/dist/esm/serialization/resources/organization/client/addUser.mjs +0 -33
- package/dist/esm/serialization/resources/organization/client/create.d.mts +0 -13
- package/dist/esm/serialization/resources/organization/client/create.mjs +0 -33
- package/dist/esm/serialization/resources/organization/client/delete.d.mts +0 -13
- package/dist/esm/serialization/resources/organization/client/delete.mjs +0 -33
- package/dist/esm/serialization/resources/organization/client/get.d.mts +0 -10
- package/dist/esm/serialization/resources/organization/client/get.mjs +0 -30
- package/dist/esm/serialization/resources/organization/client/getMyOrganizationFromScopedToken.d.mts +0 -10
- package/dist/esm/serialization/resources/organization/client/getMyOrganizationFromScopedToken.mjs +0 -30
- package/dist/esm/serialization/resources/organization/client/inviteUser.d.mts +0 -13
- package/dist/esm/serialization/resources/organization/client/inviteUser.mjs +0 -33
- package/dist/esm/serialization/resources/organization/client/removeUser.d.mts +0 -13
- package/dist/esm/serialization/resources/organization/client/removeUser.mjs +0 -33
- package/dist/esm/serialization/resources/organization/client/update.d.mts +0 -10
- package/dist/esm/serialization/resources/organization/client/update.mjs +0 -30
- package/dist/esm/serialization/resources/organization/types/CreateOrganizationResponse.d.mts +0 -10
- package/dist/esm/serialization/resources/organization/types/CreateOrganizationResponse.mjs +0 -6
- package/dist/esm/serialization/resources/organization/types/LightweightUser.d.mts +0 -12
- package/dist/esm/serialization/resources/organization/types/index.d.mts +0 -3
- package/dist/esm/serialization/resources/organization/types/index.mjs +0 -3
- package/dist/esm/serialization/resources/registry/client/generateRegistryTokens.d.mts +0 -13
- package/dist/esm/serialization/resources/registry/client/generateRegistryTokens.mjs +0 -33
- package/dist/esm/serialization/resources/registry/client/revokeToken.d.mts +0 -13
- package/dist/esm/serialization/resources/registry/client/revokeToken.mjs +0 -33
- package/dist/esm/serialization/resources/registry/types/MavenRegistryToken.d.mts +0 -10
- package/dist/esm/serialization/resources/registry/types/NpmRegistryToken.d.mts +0 -9
- package/dist/esm/serialization/resources/registry/types/PypiRegistryToken.d.mts +0 -10
- package/dist/esm/serialization/resources/registry/types/RegistryToken.d.mts +0 -19
- package/dist/esm/serialization/resources/registry/types/RegistryToken.mjs +0 -15
- package/dist/esm/serialization/resources/registry/types/index.d.mts +0 -5
- package/dist/esm/serialization/resources/registry/types/index.mjs +0 -5
- package/dist/esm/serialization/resources/user/types/LinkAccountsRequest.d.mts +0 -10
- package/dist/esm/serialization/resources/user/types/LinkAccountsResponse.d.mts +0 -11
- package/dist/esm/serialization/resources/user/types/OrganizationsPage.d.mts +0 -11
- package/dist/esm/serialization/resources/user/types/OrganizationsPage.mjs +0 -7
- package/dist/esm/serialization/resources/user/types/User.d.mts +0 -13
- package/dist/esm/serialization/resources/user/types/index.d.mts +0 -4
- package/dist/esm/serialization/resources/user/types/index.mjs +0 -4
- /package/dist/cjs/api/resources/apiKeys/{types/CreateTokenResponse.js → client/requests/GetTokensForOrganizationApiKeysOrganizationOrganizationIdGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/{types/TokenId.js → client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.js} +0 -0
- /package/dist/cjs/api/resources/{apiKeys/types/TokenMetadata.js → auth/client/requests/GetAutopilotTokenRequest.js} +0 -0
- /package/dist/cjs/api/resources/{apiKeys/types/TokenStatus.js → auth/client/requests/GetJwtRequest.js} +0 -0
- /package/dist/cjs/api/resources/{commons/types/OrganizationId.js → auth/client/requests/GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{commons/types/UserId.js → organization/client/requests/DeleteOrganizationsOrgIdDeleteRequest.js} +0 -0
- /package/dist/cjs/api/resources/organization/client/requests/{GetMyOrganizationFromScopedToken.js → GetMyOrganizationFromScopedTokenOrganizationsMyselfPostRequest.js} +0 -0
- /package/dist/cjs/api/resources/organization/client/requests/{GetOrganizationRequest.js → GetOrgIdsByPostmanTeamIdOrganizationsPostmanTeamPostmanTeamIdGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/organization/{types/CreateOrganizationResponse.js → client/requests/GetOrganizationsOrgIdGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/organization/{types/LightweightUser.js → client/requests/GetPostmanTeamIdByOrgIdOrganizationsOrgIdPostmanTeamIdGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/organization/{types/Organization.js → client/requests/IsMemberOrganizationsBelongsToOrganizationOrganizationIdPostRequest.js} +0 -0
- /package/dist/cjs/api/resources/{registry/types/MavenRegistryToken.js → user/client/requests/GetMyOrganizationsUsersOrganizationsGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/user/{types → client/requests}/LinkAccountsRequest.js +0 -0
- /package/dist/cjs/api/{resources/registry/types/NpmRegistryToken.js → types/Active.js} +0 -0
- /package/dist/cjs/api/{resources/registry/types/PypiRegistryToken.js → types/CreateOrganizationResponse.js} +0 -0
- /package/dist/cjs/api/{resources/registry/types/RegistryToken.js → types/CreateTokenResponse.js} +0 -0
- /package/dist/cjs/api/{resources/registry/types/RegistryTokens.js → types/Expired.js} +0 -0
- /package/dist/cjs/api/{resources/user/client/requests/GetUserOrganizationsRequest.js → types/HttpValidationError.js} +0 -0
- /package/dist/cjs/api/{resources/user/types/LinkAccountsResponse.js → types/JwtResponse.js} +0 -0
- /package/dist/cjs/api/{resources/user/types/OrganizationsPage.js → types/LightweightUser.js} +0 -0
- /package/dist/cjs/api/{resources/user/types/User.js → types/LinkAccountsResponse.js} +0 -0
- /package/dist/cjs/api/{resources/registry/types → types}/MavenRegistryToken.d.ts +0 -0
- /package/dist/cjs/api/{resources/registry/types → types}/NpmRegistryToken.d.ts +0 -0
- /package/dist/cjs/api/{resources/registry/types → types}/PypiRegistryToken.d.ts +0 -0
- /package/dist/esm/api/resources/apiKeys/{types/CreateTokenResponse.mjs → client/requests/GetTokensForOrganizationApiKeysOrganizationOrganizationIdGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/{types/TokenId.mjs → client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{apiKeys/types/TokenMetadata.mjs → auth/client/requests/GetAutopilotTokenRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{apiKeys/types/TokenStatus.mjs → auth/client/requests/GetJwtRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{commons/types/OrganizationId.mjs → auth/client/requests/GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{commons/types/UserId.mjs → organization/client/requests/DeleteOrganizationsOrgIdDeleteRequest.mjs} +0 -0
- /package/dist/esm/api/resources/organization/client/requests/{GetMyOrganizationFromScopedToken.mjs → GetMyOrganizationFromScopedTokenOrganizationsMyselfPostRequest.mjs} +0 -0
- /package/dist/esm/api/resources/organization/client/requests/{GetOrganizationRequest.mjs → GetOrgIdsByPostmanTeamIdOrganizationsPostmanTeamPostmanTeamIdGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/organization/{types/CreateOrganizationResponse.mjs → client/requests/GetOrganizationsOrgIdGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/organization/{types/LightweightUser.mjs → client/requests/GetPostmanTeamIdByOrgIdOrganizationsOrgIdPostmanTeamIdGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/organization/{types/Organization.mjs → client/requests/IsMemberOrganizationsBelongsToOrganizationOrganizationIdPostRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{registry/types/MavenRegistryToken.mjs → user/client/requests/GetMyOrganizationsUsersOrganizationsGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/user/{types → client/requests}/LinkAccountsRequest.mjs +0 -0
- /package/dist/esm/api/{resources/registry/types/NpmRegistryToken.mjs → types/Active.mjs} +0 -0
- /package/dist/esm/api/{resources/registry/types/PypiRegistryToken.mjs → types/CreateOrganizationResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/registry/types/RegistryToken.mjs → types/CreateTokenResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/registry/types/RegistryTokens.mjs → types/Expired.mjs} +0 -0
- /package/dist/esm/api/{resources/user/client/requests/GetUserOrganizationsRequest.mjs → types/HttpValidationError.mjs} +0 -0
- /package/dist/esm/api/{resources/user/types/LinkAccountsResponse.mjs → types/JwtResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/user/types/OrganizationsPage.mjs → types/LightweightUser.mjs} +0 -0
- /package/dist/esm/api/{resources/user/types/User.mjs → types/LinkAccountsResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/registry/types → types}/MavenRegistryToken.d.mts +0 -0
- /package/dist/esm/api/{resources/registry/types → types}/NpmRegistryToken.d.mts +0 -0
- /package/dist/esm/api/{resources/registry/types → types}/PypiRegistryToken.d.mts +0 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.AuthClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
50
|
+
const serializers = __importStar(require("../../../../serialization/index.js"));
|
|
51
|
+
const FernApi = __importStar(require("../../../index.js"));
|
|
52
|
+
class AuthClient {
|
|
53
|
+
constructor(options) {
|
|
54
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Look up the Fern organization ID for a GitHub owner.
|
|
58
|
+
* This endpoint is unauthenticated and used by Fiddle to look up the
|
|
59
|
+
* centralized protected GitHub orgs mapping.
|
|
60
|
+
*
|
|
61
|
+
* @param {FernApi.GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest} request
|
|
62
|
+
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.auth.getOrgForGithubOwner({
|
|
66
|
+
* githubOwner: "github_owner"
|
|
67
|
+
* })
|
|
68
|
+
*/
|
|
69
|
+
getOrgForGithubOwner(request, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__getOrgForGithubOwner(request, requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__getOrgForGithubOwner(request, requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
75
|
+
const { githubOwner } = request;
|
|
76
|
+
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
77
|
+
const _response = yield core.fetcher({
|
|
78
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `auth/github-owner/${core.url.encodePathParam(githubOwner)}/org`),
|
|
79
|
+
method: "GET",
|
|
80
|
+
headers: _headers,
|
|
81
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
82
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
83
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
84
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
85
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
86
|
+
logging: this._options.logging,
|
|
87
|
+
});
|
|
88
|
+
if (_response.ok) {
|
|
89
|
+
return {
|
|
90
|
+
data: {
|
|
91
|
+
ok: true,
|
|
92
|
+
body: serializers.auth.getOrgForGithubOwner.Response.parseOrThrow(_response.body, {
|
|
93
|
+
unrecognizedObjectKeys: "passthrough",
|
|
94
|
+
allowUnrecognizedUnionMembers: true,
|
|
95
|
+
allowUnrecognizedEnumValues: true,
|
|
96
|
+
skipValidation: true,
|
|
97
|
+
breadcrumbsPrefix: ["response"],
|
|
98
|
+
}),
|
|
99
|
+
headers: _response.headers,
|
|
100
|
+
rawResponse: _response.rawResponse,
|
|
101
|
+
},
|
|
102
|
+
rawResponse: _response.rawResponse,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
if (_response.error.reason === "status-code") {
|
|
106
|
+
switch (_response.error.statusCode) {
|
|
107
|
+
case 422:
|
|
108
|
+
return {
|
|
109
|
+
data: {
|
|
110
|
+
ok: false,
|
|
111
|
+
error: FernApi.auth.getOrgForGithubOwner.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
112
|
+
unrecognizedObjectKeys: "passthrough",
|
|
113
|
+
allowUnrecognizedUnionMembers: true,
|
|
114
|
+
allowUnrecognizedEnumValues: true,
|
|
115
|
+
skipValidation: true,
|
|
116
|
+
breadcrumbsPrefix: ["response"],
|
|
117
|
+
})),
|
|
118
|
+
rawResponse: _response.rawResponse,
|
|
119
|
+
},
|
|
120
|
+
rawResponse: _response.rawResponse,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return {
|
|
125
|
+
data: {
|
|
126
|
+
ok: false,
|
|
127
|
+
error: FernApi.auth.getOrgForGithubOwner.Error._unknown(_response.error),
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
129
|
+
},
|
|
130
|
+
rawResponse: _response.rawResponse,
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Exchange an autopilot token for a short-lived JWT scoped to an organization.
|
|
136
|
+
* This endpoint is used by automated systems (like Fiddle) to get org-scoped tokens.
|
|
137
|
+
* If a GitHub owner is provided and is in the protected GitHub orgs mapping,
|
|
138
|
+
* the organization ID must match the allowed org for that GitHub owner.
|
|
139
|
+
* The returned token is identical to tokens from getJwt and can be used the same way.
|
|
140
|
+
*
|
|
141
|
+
* @param {FernApi.GetAutopilotTokenRequest} request
|
|
142
|
+
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.auth.getAutopilotToken({
|
|
146
|
+
* organizationId: "organizationId"
|
|
147
|
+
* })
|
|
148
|
+
*/
|
|
149
|
+
getAutopilotToken(request, requestOptions) {
|
|
150
|
+
return core.HttpResponsePromise.fromPromise(this.__getAutopilotToken(request, requestOptions));
|
|
151
|
+
}
|
|
152
|
+
__getAutopilotToken(request, requestOptions) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
155
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
156
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
157
|
+
const _response = yield core.fetcher({
|
|
158
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "auth/autopilot-token"),
|
|
159
|
+
method: "POST",
|
|
160
|
+
headers: _headers,
|
|
161
|
+
contentType: "application/json",
|
|
162
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
163
|
+
requestType: "json",
|
|
164
|
+
body: serializers.GetAutopilotTokenRequest.jsonOrThrow(request, {
|
|
165
|
+
unrecognizedObjectKeys: "strip",
|
|
166
|
+
omitUndefined: true,
|
|
167
|
+
}),
|
|
168
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
169
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
170
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
171
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
172
|
+
logging: this._options.logging,
|
|
173
|
+
});
|
|
174
|
+
if (_response.ok) {
|
|
175
|
+
return {
|
|
176
|
+
data: {
|
|
177
|
+
ok: true,
|
|
178
|
+
body: serializers.JwtResponse.parseOrThrow(_response.body, {
|
|
179
|
+
unrecognizedObjectKeys: "passthrough",
|
|
180
|
+
allowUnrecognizedUnionMembers: true,
|
|
181
|
+
allowUnrecognizedEnumValues: true,
|
|
182
|
+
skipValidation: true,
|
|
183
|
+
breadcrumbsPrefix: ["response"],
|
|
184
|
+
}),
|
|
185
|
+
headers: _response.headers,
|
|
186
|
+
rawResponse: _response.rawResponse,
|
|
187
|
+
},
|
|
188
|
+
rawResponse: _response.rawResponse,
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
if (_response.error.reason === "status-code") {
|
|
192
|
+
switch (_response.error.statusCode) {
|
|
193
|
+
case 422:
|
|
194
|
+
return {
|
|
195
|
+
data: {
|
|
196
|
+
ok: false,
|
|
197
|
+
error: FernApi.auth.getAutopilotToken.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
198
|
+
unrecognizedObjectKeys: "passthrough",
|
|
199
|
+
allowUnrecognizedUnionMembers: true,
|
|
200
|
+
allowUnrecognizedEnumValues: true,
|
|
201
|
+
skipValidation: true,
|
|
202
|
+
breadcrumbsPrefix: ["response"],
|
|
203
|
+
})),
|
|
204
|
+
rawResponse: _response.rawResponse,
|
|
205
|
+
},
|
|
206
|
+
rawResponse: _response.rawResponse,
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
return {
|
|
211
|
+
data: {
|
|
212
|
+
ok: false,
|
|
213
|
+
error: FernApi.auth.getAutopilotToken.Error._unknown(_response.error),
|
|
214
|
+
rawResponse: _response.rawResponse,
|
|
215
|
+
},
|
|
216
|
+
rawResponse: _response.rawResponse,
|
|
217
|
+
};
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Exchange a user token for a short-lived JWT scoped to an organization.
|
|
222
|
+
* The user must be a member of the specified organization.
|
|
223
|
+
* The JWT can be used to authenticate requests to other services.
|
|
224
|
+
*
|
|
225
|
+
* @param {FernApi.GetJwtRequest} request
|
|
226
|
+
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* await client.auth.getJwt({
|
|
230
|
+
* organizationId: "organizationId"
|
|
231
|
+
* })
|
|
232
|
+
*/
|
|
233
|
+
getJwt(request, requestOptions) {
|
|
234
|
+
return core.HttpResponsePromise.fromPromise(this.__getJwt(request, requestOptions));
|
|
235
|
+
}
|
|
236
|
+
__getJwt(request, requestOptions) {
|
|
237
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
238
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
239
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
240
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
241
|
+
const _response = yield core.fetcher({
|
|
242
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "auth/jwt"),
|
|
243
|
+
method: "POST",
|
|
244
|
+
headers: _headers,
|
|
245
|
+
contentType: "application/json",
|
|
246
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
247
|
+
requestType: "json",
|
|
248
|
+
body: serializers.GetJwtRequest.jsonOrThrow(request, {
|
|
249
|
+
unrecognizedObjectKeys: "strip",
|
|
250
|
+
omitUndefined: true,
|
|
251
|
+
}),
|
|
252
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
253
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
254
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
255
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
256
|
+
logging: this._options.logging,
|
|
257
|
+
});
|
|
258
|
+
if (_response.ok) {
|
|
259
|
+
return {
|
|
260
|
+
data: {
|
|
261
|
+
ok: true,
|
|
262
|
+
body: serializers.JwtResponse.parseOrThrow(_response.body, {
|
|
263
|
+
unrecognizedObjectKeys: "passthrough",
|
|
264
|
+
allowUnrecognizedUnionMembers: true,
|
|
265
|
+
allowUnrecognizedEnumValues: true,
|
|
266
|
+
skipValidation: true,
|
|
267
|
+
breadcrumbsPrefix: ["response"],
|
|
268
|
+
}),
|
|
269
|
+
headers: _response.headers,
|
|
270
|
+
rawResponse: _response.rawResponse,
|
|
271
|
+
},
|
|
272
|
+
rawResponse: _response.rawResponse,
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
if (_response.error.reason === "status-code") {
|
|
276
|
+
switch (_response.error.statusCode) {
|
|
277
|
+
case 422:
|
|
278
|
+
return {
|
|
279
|
+
data: {
|
|
280
|
+
ok: false,
|
|
281
|
+
error: FernApi.auth.getJwt.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
282
|
+
unrecognizedObjectKeys: "passthrough",
|
|
283
|
+
allowUnrecognizedUnionMembers: true,
|
|
284
|
+
allowUnrecognizedEnumValues: true,
|
|
285
|
+
skipValidation: true,
|
|
286
|
+
breadcrumbsPrefix: ["response"],
|
|
287
|
+
})),
|
|
288
|
+
rawResponse: _response.rawResponse,
|
|
289
|
+
},
|
|
290
|
+
rawResponse: _response.rawResponse,
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return {
|
|
295
|
+
data: {
|
|
296
|
+
ok: false,
|
|
297
|
+
error: FernApi.auth.getJwt.Error._unknown(_response.error),
|
|
298
|
+
rawResponse: _response.rawResponse,
|
|
299
|
+
},
|
|
300
|
+
rawResponse: _response.rawResponse,
|
|
301
|
+
};
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
exports.AuthClient = AuthClient;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.js";
|
|
2
|
+
import * as FernApi from "../../../index.js";
|
|
3
|
+
export type Error = FernApi.auth.getAutopilotToken.Error.UnprocessableEntityError | FernApi.auth.getAutopilotToken.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernApi.auth.getAutopilotToken.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.auth.getAutopilotToken.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.auth.getAutopilotToken.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernApi.auth.getAutopilotToken.Error, visitor: FernApi.auth.getAutopilotToken.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const FernApi = __importStar(require("../../../index.js"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
unprocessableEntityError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
statusCode: 422,
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return FernApi.auth.getAutopilotToken.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_unknown: (fetcherError) => {
|
|
50
|
+
return {
|
|
51
|
+
statusCode: undefined,
|
|
52
|
+
content: fetcherError,
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return FernApi.auth.getAutopilotToken.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_visit: (value, visitor) => {
|
|
59
|
+
switch (value.statusCode) {
|
|
60
|
+
case 422:
|
|
61
|
+
return visitor.unprocessableEntityError(value.content);
|
|
62
|
+
default:
|
|
63
|
+
return visitor._other(value.content);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.js";
|
|
2
|
+
import * as FernApi from "../../../index.js";
|
|
3
|
+
export type Error = FernApi.auth.getJwt.Error.UnprocessableEntityError | FernApi.auth.getJwt.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernApi.auth.getJwt.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.auth.getJwt.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.auth.getJwt.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernApi.auth.getJwt.Error, visitor: FernApi.auth.getJwt.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const FernApi = __importStar(require("../../../index.js"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
unprocessableEntityError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
statusCode: 422,
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return FernApi.auth.getJwt.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_unknown: (fetcherError) => {
|
|
50
|
+
return {
|
|
51
|
+
statusCode: undefined,
|
|
52
|
+
content: fetcherError,
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return FernApi.auth.getJwt.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_visit: (value, visitor) => {
|
|
59
|
+
switch (value.statusCode) {
|
|
60
|
+
case 422:
|
|
61
|
+
return visitor.unprocessableEntityError(value.content);
|
|
62
|
+
default:
|
|
63
|
+
return visitor._other(value.content);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.js";
|
|
2
|
+
import * as FernApi from "../../../index.js";
|
|
3
|
+
export type Error = FernApi.auth.getOrgForGithubOwner.Error.UnprocessableEntityError | FernApi.auth.getOrgForGithubOwner.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernApi.auth.getOrgForGithubOwner.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.auth.getOrgForGithubOwner.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.auth.getOrgForGithubOwner.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernApi.auth.getOrgForGithubOwner.Error, visitor: FernApi.auth.getOrgForGithubOwner.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const FernApi = __importStar(require("../../../index.js"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
unprocessableEntityError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
statusCode: 422,
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return FernApi.auth.getOrgForGithubOwner.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_unknown: (fetcherError) => {
|
|
50
|
+
return {
|
|
51
|
+
statusCode: undefined,
|
|
52
|
+
content: fetcherError,
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return FernApi.auth.getOrgForGithubOwner.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_visit: (value, visitor) => {
|
|
59
|
+
switch (value.statusCode) {
|
|
60
|
+
case 422:
|
|
61
|
+
return visitor.unprocessableEntityError(value.content);
|
|
62
|
+
default:
|
|
63
|
+
return visitor._other(value.content);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.getOrgForGithubOwner = exports.getJwt = exports.getAutopilotToken = void 0;
|
|
40
|
+
exports.getAutopilotToken = __importStar(require("./getAutopilotToken.js"));
|
|
41
|
+
exports.getJwt = __importStar(require("./getJwt.js"));
|
|
42
|
+
exports.getOrgForGithubOwner = __importStar(require("./getOrgForGithubOwner.js"));
|
|
43
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { GetAutopilotTokenRequest } from "./GetAutopilotTokenRequest.js";
|
|
2
|
+
export type { GetJwtRequest } from "./GetJwtRequest.js";
|
|
3
|
+
export type { GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest } from "./GetOrgForGithubOwnerAuthGithubOwnerGithubOwnerOrgGetRequest.js";
|