diff --git a/lib/apis/APIsApi.ts b/lib/apis/APIsApi.ts index aa572be..0deb229 100644 --- a/lib/apis/APIsApi.ts +++ b/lib/apis/APIsApi.ts @@ -13,7 +13,7 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { AddAPIsRequest, Api, @@ -21,7 +21,7 @@ import type { ErrorResponse, SuccessResponse, UpdateAPIApplicationsRequest, -} from '../models/index'; +} from '../models/index.js'; import { AddAPIsRequestFromJSON, AddAPIsRequestToJSON, @@ -35,7 +35,7 @@ import { SuccessResponseToJSON, UpdateAPIApplicationsRequestFromJSON, UpdateAPIApplicationsRequestToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface AddAPIsOperationRequest { addAPIsRequest: AddAPIsRequest; diff --git a/lib/apis/ApplicationsApi.ts b/lib/apis/ApplicationsApi.ts index f4452ea..fc4f84f 100644 --- a/lib/apis/ApplicationsApi.ts +++ b/lib/apis/ApplicationsApi.ts @@ -13,7 +13,7 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { CreateApplicationRequest, CreateApplicationResponse, @@ -21,7 +21,7 @@ import type { GetApplicationResponse, GetApplicationsResponse, UpdateApplicationRequest, -} from '../models/index'; +} from '../models/index.js'; import { CreateApplicationRequestFromJSON, CreateApplicationRequestToJSON, @@ -35,7 +35,7 @@ import { GetApplicationsResponseToJSON, UpdateApplicationRequestFromJSON, UpdateApplicationRequestToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface CreateApplicationOperationRequest { createApplicationRequest?: CreateApplicationRequest; diff --git a/lib/apis/BusinessApi.ts b/lib/apis/BusinessApi.ts index 77eafc3..bcef4fd 100644 --- a/lib/apis/BusinessApi.ts +++ b/lib/apis/BusinessApi.ts @@ -13,17 +13,17 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { ErrorResponse, SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { ErrorResponseFromJSON, ErrorResponseToJSON, SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface GetBusinessRequest { code: string; diff --git a/lib/apis/CallbacksApi.ts b/lib/apis/CallbacksApi.ts index c481c19..580291b 100644 --- a/lib/apis/CallbacksApi.ts +++ b/lib/apis/CallbacksApi.ts @@ -13,7 +13,7 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { ErrorResponse, LogoutRedirectUrls, @@ -21,7 +21,7 @@ import type { ReplaceLogoutRedirectURLsRequest, ReplaceRedirectCallbackURLsRequest, SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { ErrorResponseFromJSON, ErrorResponseToJSON, @@ -35,7 +35,7 @@ import { ReplaceRedirectCallbackURLsRequestToJSON, SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface AddLogoutRedirectURLsRequest { appId: string; diff --git a/lib/apis/ConnectedAppsApi.ts b/lib/apis/ConnectedAppsApi.ts index 69e3963..7c3a643 100644 --- a/lib/apis/ConnectedAppsApi.ts +++ b/lib/apis/ConnectedAppsApi.ts @@ -13,13 +13,13 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { ConnectedAppsAccessToken, ConnectedAppsAuthUrl, ErrorResponse, SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { ConnectedAppsAccessTokenFromJSON, ConnectedAppsAccessTokenToJSON, @@ -29,7 +29,7 @@ import { ErrorResponseToJSON, SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface GetConnectedAppAuthUrlRequest { keyCodeRef: string; diff --git a/lib/apis/EnvironmentsApi.ts b/lib/apis/EnvironmentsApi.ts index cc900d0..738791b 100644 --- a/lib/apis/EnvironmentsApi.ts +++ b/lib/apis/EnvironmentsApi.ts @@ -13,13 +13,13 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { ErrorResponse, GetEnvironmentFeatureFlagsResponse, SuccessResponse, UpdateEnvironementFeatureFlagOverrideRequest, -} from '../models/index'; +} from '../models/index.js'; import { ErrorResponseFromJSON, ErrorResponseToJSON, @@ -29,7 +29,7 @@ import { SuccessResponseToJSON, UpdateEnvironementFeatureFlagOverrideRequestFromJSON, UpdateEnvironementFeatureFlagOverrideRequestToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface DeleteEnvironementFeatureFlagOverrideRequest { featureFlagKey: string; diff --git a/lib/apis/FeatureFlagsApi.ts b/lib/apis/FeatureFlagsApi.ts index eafdb0e..45a9804 100644 --- a/lib/apis/FeatureFlagsApi.ts +++ b/lib/apis/FeatureFlagsApi.ts @@ -13,12 +13,12 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { CreateFeatureFlagRequest, ErrorResponse, SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { CreateFeatureFlagRequestFromJSON, CreateFeatureFlagRequestToJSON, @@ -26,7 +26,7 @@ import { ErrorResponseToJSON, SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface CreateFeatureFlagOperationRequest { createFeatureFlagRequest: CreateFeatureFlagRequest; diff --git a/lib/apis/IndustriesApi.ts b/lib/apis/IndustriesApi.ts index fdd5223..bf0236b 100644 --- a/lib/apis/IndustriesApi.ts +++ b/lib/apis/IndustriesApi.ts @@ -13,14 +13,14 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface GetIndustriesRequest { industryKey?: string; diff --git a/lib/apis/OAuthApi.ts b/lib/apis/OAuthApi.ts index 432b450..fe8daa3 100644 --- a/lib/apis/OAuthApi.ts +++ b/lib/apis/OAuthApi.ts @@ -13,13 +13,13 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { TokenErrorResponse, TokenIntrospect, UserProfile, UserProfileV2, -} from '../models/index'; +} from '../models/index.js'; import { TokenErrorResponseFromJSON, TokenErrorResponseToJSON, @@ -29,7 +29,7 @@ import { UserProfileToJSON, UserProfileV2FromJSON, UserProfileV2ToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface TokenIntrospectionRequest { token?: string; diff --git a/lib/apis/OrganizationsApi.ts b/lib/apis/OrganizationsApi.ts index d43e0a6..aec2501 100644 --- a/lib/apis/OrganizationsApi.ts +++ b/lib/apis/OrganizationsApi.ts @@ -13,7 +13,7 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { AddOrganizationUsersRequest, AddOrganizationUsersResponse, @@ -32,7 +32,7 @@ import type { UpdateOrganizationRequest, UpdateOrganizationUsersRequest, UpdateOrganizationUsersResponse, -} from '../models/index'; +} from '../models/index.js'; import { AddOrganizationUsersRequestFromJSON, AddOrganizationUsersRequestToJSON, @@ -68,7 +68,7 @@ import { UpdateOrganizationUsersRequestToJSON, UpdateOrganizationUsersResponseFromJSON, UpdateOrganizationUsersResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface AddOrganizationUsersOperationRequest { orgCode: string; diff --git a/lib/apis/PermissionsApi.ts b/lib/apis/PermissionsApi.ts index 81f92e6..928a4ea 100644 --- a/lib/apis/PermissionsApi.ts +++ b/lib/apis/PermissionsApi.ts @@ -13,12 +13,12 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { CreatePermissionRequest, ErrorResponse, SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { CreatePermissionRequestFromJSON, CreatePermissionRequestToJSON, @@ -26,7 +26,7 @@ import { ErrorResponseToJSON, SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface CreatePermissionOperationRequest { createPermissionRequest?: CreatePermissionRequest; diff --git a/lib/apis/RolesApi.ts b/lib/apis/RolesApi.ts index c93521e..b915891 100644 --- a/lib/apis/RolesApi.ts +++ b/lib/apis/RolesApi.ts @@ -13,7 +13,7 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { CreateRoleRequest, ErrorResponse, @@ -23,7 +23,7 @@ import type { UpdateRolePermissionsRequest, UpdateRolePermissionsResponse, UpdateRolesRequest, -} from '../models/index'; +} from '../models/index.js'; import { CreateRoleRequestFromJSON, CreateRoleRequestToJSON, @@ -41,7 +41,7 @@ import { UpdateRolePermissionsResponseToJSON, UpdateRolesRequestFromJSON, UpdateRolesRequestToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface CreateRoleOperationRequest { createRoleRequest?: CreateRoleRequest; diff --git a/lib/apis/SubscribersApi.ts b/lib/apis/SubscribersApi.ts index f3e3039..93efea2 100644 --- a/lib/apis/SubscribersApi.ts +++ b/lib/apis/SubscribersApi.ts @@ -13,13 +13,13 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { CreateSubscriberSuccessResponse, ErrorResponse, GetSubscriberResponse, GetSubscribersResponse, -} from '../models/index'; +} from '../models/index.js'; import { CreateSubscriberSuccessResponseFromJSON, CreateSubscriberSuccessResponseToJSON, @@ -29,7 +29,7 @@ import { GetSubscriberResponseToJSON, GetSubscribersResponseFromJSON, GetSubscribersResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface CreateSubscriberRequest { firstName: string; diff --git a/lib/apis/TimezonesApi.ts b/lib/apis/TimezonesApi.ts index bb3f4cc..aa9f3c5 100644 --- a/lib/apis/TimezonesApi.ts +++ b/lib/apis/TimezonesApi.ts @@ -13,14 +13,14 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { SuccessResponse, -} from '../models/index'; +} from '../models/index.js'; import { SuccessResponseFromJSON, SuccessResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface GetTimezonesRequest { timezoneKey?: string; diff --git a/lib/apis/UsersApi.ts b/lib/apis/UsersApi.ts index 64a01b3..60801df 100644 --- a/lib/apis/UsersApi.ts +++ b/lib/apis/UsersApi.ts @@ -13,7 +13,7 @@ */ -import * as runtime from '../runtime'; +import * as runtime from '../runtime.js'; import type { CreateUserRequest, CreateUserResponse, @@ -22,7 +22,7 @@ import type { UpdateUserRequest, User, UsersResponse, -} from '../models/index'; +} from '../models/index.js'; import { CreateUserRequestFromJSON, CreateUserRequestToJSON, @@ -38,7 +38,7 @@ import { UserToJSON, UsersResponseFromJSON, UsersResponseToJSON, -} from '../models/index'; +} from '../models/index.js'; export interface CreateUserOperationRequest { createUserRequest?: CreateUserRequest; diff --git a/lib/apis/index.ts b/lib/apis/index.ts index 3283e93..c1dfa05 100644 --- a/lib/apis/index.ts +++ b/lib/apis/index.ts @@ -1,17 +1,17 @@ /* tslint:disable */ /* eslint-disable */ -export * from './APIsApi'; -export * from './ApplicationsApi'; -export * from './BusinessApi'; -export * from './CallbacksApi'; -export * from './ConnectedAppsApi'; -export * from './EnvironmentsApi'; -export * from './FeatureFlagsApi'; -export * from './IndustriesApi'; -export * from './OAuthApi'; -export * from './OrganizationsApi'; -export * from './PermissionsApi'; -export * from './RolesApi'; -export * from './SubscribersApi'; -export * from './TimezonesApi'; -export * from './UsersApi'; +export * from './APIsApi.js'; +export * from './ApplicationsApi.js'; +export * from './BusinessApi.js'; +export * from './CallbacksApi.js'; +export * from './ConnectedAppsApi.js'; +export * from './EnvironmentsApi.js'; +export * from './FeatureFlagsApi.js'; +export * from './IndustriesApi.js'; +export * from './OAuthApi.js'; +export * from './OrganizationsApi.js'; +export * from './PermissionsApi.js'; +export * from './RolesApi.js'; +export * from './SubscribersApi.js'; +export * from './TimezonesApi.js'; +export * from './UsersApi.js'; diff --git a/lib/index.ts b/lib/index.ts index dc90680..cd45b4a 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,6 +1,6 @@ /* tslint:disable */ /* eslint-disable */ -export * from './runtime'; -export * from './apis'; -export * from './models'; -export * from './sdk'; +export * from './runtime.js'; +export * from './apis/index.js'; +export * from './models/index.js'; +export * from './sdk/index.js'; diff --git a/lib/models/AddAPIsRequest.ts b/lib/models/AddAPIsRequest.ts index 21cd099..28ebd47 100644 --- a/lib/models/AddAPIsRequest.ts +++ b/lib/models/AddAPIsRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/AddOrganizationUsersRequest.ts b/lib/models/AddOrganizationUsersRequest.ts index f99cda2..686f1e6 100644 --- a/lib/models/AddOrganizationUsersRequest.ts +++ b/lib/models/AddOrganizationUsersRequest.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { AddOrganizationUsersRequestUsersInner } from './AddOrganizationUsersRequestUsersInner'; +import { exists, mapValues } from '../runtime.js'; +import type { AddOrganizationUsersRequestUsersInner } from './AddOrganizationUsersRequestUsersInner.js'; import { AddOrganizationUsersRequestUsersInnerFromJSON, AddOrganizationUsersRequestUsersInnerFromJSONTyped, AddOrganizationUsersRequestUsersInnerToJSON, -} from './AddOrganizationUsersRequestUsersInner'; +} from './AddOrganizationUsersRequestUsersInner.js'; /** * diff --git a/lib/models/AddOrganizationUsersRequestUsersInner.ts b/lib/models/AddOrganizationUsersRequestUsersInner.ts index 1a82f2b..d13eceb 100644 --- a/lib/models/AddOrganizationUsersRequestUsersInner.ts +++ b/lib/models/AddOrganizationUsersRequestUsersInner.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/AddOrganizationUsersResponse.ts b/lib/models/AddOrganizationUsersResponse.ts index 35c63ce..40f5fa4 100644 --- a/lib/models/AddOrganizationUsersResponse.ts +++ b/lib/models/AddOrganizationUsersResponse.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Api.ts b/lib/models/Api.ts index ab0b7a5..ecc24d5 100644 --- a/lib/models/Api.ts +++ b/lib/models/Api.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { ApiApplicationsInner } from './ApiApplicationsInner'; +import { exists, mapValues } from '../runtime.js'; +import type { ApiApplicationsInner } from './ApiApplicationsInner.js'; import { ApiApplicationsInnerFromJSON, ApiApplicationsInnerFromJSONTyped, ApiApplicationsInnerToJSON, -} from './ApiApplicationsInner'; +} from './ApiApplicationsInner.js'; /** * diff --git a/lib/models/ApiApplicationsInner.ts b/lib/models/ApiApplicationsInner.ts index fa66129..0729c4e 100644 --- a/lib/models/ApiApplicationsInner.ts +++ b/lib/models/ApiApplicationsInner.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/ApiResult.ts b/lib/models/ApiResult.ts index 87a2a88..4151dec 100644 --- a/lib/models/ApiResult.ts +++ b/lib/models/ApiResult.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Apis.ts b/lib/models/Apis.ts index e4614a6..a228632 100644 --- a/lib/models/Apis.ts +++ b/lib/models/Apis.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Applications.ts b/lib/models/Applications.ts index e726a40..bf634ed 100644 --- a/lib/models/Applications.ts +++ b/lib/models/Applications.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/ConnectedAppsAccessToken.ts b/lib/models/ConnectedAppsAccessToken.ts index c15b56f..c676e74 100644 --- a/lib/models/ConnectedAppsAccessToken.ts +++ b/lib/models/ConnectedAppsAccessToken.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/ConnectedAppsAuthUrl.ts b/lib/models/ConnectedAppsAuthUrl.ts index 6c13dd8..4d094e8 100644 --- a/lib/models/ConnectedAppsAuthUrl.ts +++ b/lib/models/ConnectedAppsAuthUrl.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateApplicationRequest.ts b/lib/models/CreateApplicationRequest.ts index 844168f..43fde5a 100644 --- a/lib/models/CreateApplicationRequest.ts +++ b/lib/models/CreateApplicationRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateApplicationResponse.ts b/lib/models/CreateApplicationResponse.ts index ddda9f1..e047645 100644 --- a/lib/models/CreateApplicationResponse.ts +++ b/lib/models/CreateApplicationResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { CreateApplicationResponseApplication } from './CreateApplicationResponseApplication'; +import { exists, mapValues } from '../runtime.js'; +import type { CreateApplicationResponseApplication } from './CreateApplicationResponseApplication.js'; import { CreateApplicationResponseApplicationFromJSON, CreateApplicationResponseApplicationFromJSONTyped, CreateApplicationResponseApplicationToJSON, -} from './CreateApplicationResponseApplication'; +} from './CreateApplicationResponseApplication.js'; /** * diff --git a/lib/models/CreateApplicationResponseApplication.ts b/lib/models/CreateApplicationResponseApplication.ts index d23e4fb..5fbb0b2 100644 --- a/lib/models/CreateApplicationResponseApplication.ts +++ b/lib/models/CreateApplicationResponseApplication.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateFeatureFlagRequest.ts b/lib/models/CreateFeatureFlagRequest.ts index 876afcb..3297d48 100644 --- a/lib/models/CreateFeatureFlagRequest.ts +++ b/lib/models/CreateFeatureFlagRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateOrganizationRequest.ts b/lib/models/CreateOrganizationRequest.ts index 555a741..8137f77 100644 --- a/lib/models/CreateOrganizationRequest.ts +++ b/lib/models/CreateOrganizationRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateOrganizationResponse.ts b/lib/models/CreateOrganizationResponse.ts index febb4a6..38a0713 100644 --- a/lib/models/CreateOrganizationResponse.ts +++ b/lib/models/CreateOrganizationResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { CreateOrganizationResponseOrganization } from './CreateOrganizationResponseOrganization'; +import { exists, mapValues } from '../runtime.js'; +import type { CreateOrganizationResponseOrganization } from './CreateOrganizationResponseOrganization.js'; import { CreateOrganizationResponseOrganizationFromJSON, CreateOrganizationResponseOrganizationFromJSONTyped, CreateOrganizationResponseOrganizationToJSON, -} from './CreateOrganizationResponseOrganization'; +} from './CreateOrganizationResponseOrganization.js'; /** * diff --git a/lib/models/CreateOrganizationResponseOrganization.ts b/lib/models/CreateOrganizationResponseOrganization.ts index 738d70e..062226a 100644 --- a/lib/models/CreateOrganizationResponseOrganization.ts +++ b/lib/models/CreateOrganizationResponseOrganization.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateOrganizationUserPermissionRequest.ts b/lib/models/CreateOrganizationUserPermissionRequest.ts index 13843bb..d75d28d 100644 --- a/lib/models/CreateOrganizationUserPermissionRequest.ts +++ b/lib/models/CreateOrganizationUserPermissionRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateOrganizationUserRoleRequest.ts b/lib/models/CreateOrganizationUserRoleRequest.ts index a65cf3a..c1663e3 100644 --- a/lib/models/CreateOrganizationUserRoleRequest.ts +++ b/lib/models/CreateOrganizationUserRoleRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreatePermissionRequest.ts b/lib/models/CreatePermissionRequest.ts index 939840f..901b89b 100644 --- a/lib/models/CreatePermissionRequest.ts +++ b/lib/models/CreatePermissionRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateRoleRequest.ts b/lib/models/CreateRoleRequest.ts index 05de8fc..5f635f2 100644 --- a/lib/models/CreateRoleRequest.ts +++ b/lib/models/CreateRoleRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateSubscriberSuccessResponse.ts b/lib/models/CreateSubscriberSuccessResponse.ts index 19a03a7..057cd52 100644 --- a/lib/models/CreateSubscriberSuccessResponse.ts +++ b/lib/models/CreateSubscriberSuccessResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { CreateSubscriberSuccessResponseSubscriber } from './CreateSubscriberSuccessResponseSubscriber'; +import { exists, mapValues } from '../runtime.js'; +import type { CreateSubscriberSuccessResponseSubscriber } from './CreateSubscriberSuccessResponseSubscriber.js'; import { CreateSubscriberSuccessResponseSubscriberFromJSON, CreateSubscriberSuccessResponseSubscriberFromJSONTyped, CreateSubscriberSuccessResponseSubscriberToJSON, -} from './CreateSubscriberSuccessResponseSubscriber'; +} from './CreateSubscriberSuccessResponseSubscriber.js'; /** * diff --git a/lib/models/CreateSubscriberSuccessResponseSubscriber.ts b/lib/models/CreateSubscriberSuccessResponseSubscriber.ts index 30e0c44..619ed15 100644 --- a/lib/models/CreateSubscriberSuccessResponseSubscriber.ts +++ b/lib/models/CreateSubscriberSuccessResponseSubscriber.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/CreateUserRequest.ts b/lib/models/CreateUserRequest.ts index de19dd1..8852224 100644 --- a/lib/models/CreateUserRequest.ts +++ b/lib/models/CreateUserRequest.ts @@ -12,19 +12,19 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { CreateUserRequestIdentitiesInner } from './CreateUserRequestIdentitiesInner'; +import { exists, mapValues } from '../runtime.js'; +import type { CreateUserRequestIdentitiesInner } from './CreateUserRequestIdentitiesInner.js'; import { CreateUserRequestIdentitiesInnerFromJSON, CreateUserRequestIdentitiesInnerFromJSONTyped, CreateUserRequestIdentitiesInnerToJSON, -} from './CreateUserRequestIdentitiesInner'; -import type { CreateUserRequestProfile } from './CreateUserRequestProfile'; +} from './CreateUserRequestIdentitiesInner.js'; +import type { CreateUserRequestProfile } from './CreateUserRequestProfile.js'; import { CreateUserRequestProfileFromJSON, CreateUserRequestProfileFromJSONTyped, CreateUserRequestProfileToJSON, -} from './CreateUserRequestProfile'; +} from './CreateUserRequestProfile.js'; /** * diff --git a/lib/models/CreateUserRequestIdentitiesInner.ts b/lib/models/CreateUserRequestIdentitiesInner.ts index 6dea027..684fdb8 100644 --- a/lib/models/CreateUserRequestIdentitiesInner.ts +++ b/lib/models/CreateUserRequestIdentitiesInner.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { CreateUserRequestIdentitiesInnerDetails } from './CreateUserRequestIdentitiesInnerDetails'; +import { exists, mapValues } from '../runtime.js'; +import type { CreateUserRequestIdentitiesInnerDetails } from './CreateUserRequestIdentitiesInnerDetails.js'; import { CreateUserRequestIdentitiesInnerDetailsFromJSON, CreateUserRequestIdentitiesInnerDetailsFromJSONTyped, CreateUserRequestIdentitiesInnerDetailsToJSON, -} from './CreateUserRequestIdentitiesInnerDetails'; +} from './CreateUserRequestIdentitiesInnerDetails.js'; /** * The result of the user creation operation. diff --git a/lib/models/CreateUserRequestIdentitiesInnerDetails.ts b/lib/models/CreateUserRequestIdentitiesInnerDetails.ts index 01f5336..7777fff 100644 --- a/lib/models/CreateUserRequestIdentitiesInnerDetails.ts +++ b/lib/models/CreateUserRequestIdentitiesInnerDetails.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * Additional details required to create the user. * @export diff --git a/lib/models/CreateUserRequestProfile.ts b/lib/models/CreateUserRequestProfile.ts index fbf3730..e7b26e7 100644 --- a/lib/models/CreateUserRequestProfile.ts +++ b/lib/models/CreateUserRequestProfile.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * Basic information required to create a user. * @export diff --git a/lib/models/CreateUserResponse.ts b/lib/models/CreateUserResponse.ts index ac5366a..80e32e4 100644 --- a/lib/models/CreateUserResponse.ts +++ b/lib/models/CreateUserResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { UserIdentity } from './UserIdentity'; +import { exists, mapValues } from '../runtime.js'; +import type { UserIdentity } from './UserIdentity.js'; import { UserIdentityFromJSON, UserIdentityFromJSONTyped, UserIdentityToJSON, -} from './UserIdentity'; +} from './UserIdentity.js'; /** * diff --git a/lib/models/ErrorResponse.ts b/lib/models/ErrorResponse.ts index f1e030c..59b55fa 100644 --- a/lib/models/ErrorResponse.ts +++ b/lib/models/ErrorResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { ModelError } from './ModelError'; +import { exists, mapValues } from '../runtime.js'; +import type { ModelError } from './ModelError.js'; import { ModelErrorFromJSON, ModelErrorFromJSONTyped, ModelErrorToJSON, -} from './ModelError'; +} from './ModelError.js'; /** * diff --git a/lib/models/GetApplicationResponse.ts b/lib/models/GetApplicationResponse.ts index a9260fa..22df996 100644 --- a/lib/models/GetApplicationResponse.ts +++ b/lib/models/GetApplicationResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { GetApplicationResponseApplication } from './GetApplicationResponseApplication'; +import { exists, mapValues } from '../runtime.js'; +import type { GetApplicationResponseApplication } from './GetApplicationResponseApplication.js'; import { GetApplicationResponseApplicationFromJSON, GetApplicationResponseApplicationFromJSONTyped, GetApplicationResponseApplicationToJSON, -} from './GetApplicationResponseApplication'; +} from './GetApplicationResponseApplication.js'; /** * diff --git a/lib/models/GetApplicationResponseApplication.ts b/lib/models/GetApplicationResponseApplication.ts index ce1876e..730d48b 100644 --- a/lib/models/GetApplicationResponseApplication.ts +++ b/lib/models/GetApplicationResponseApplication.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/GetApplicationsResponse.ts b/lib/models/GetApplicationsResponse.ts index 4bd617f..ce8dd8d 100644 --- a/lib/models/GetApplicationsResponse.ts +++ b/lib/models/GetApplicationsResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { Applications } from './Applications'; +import { exists, mapValues } from '../runtime.js'; +import type { Applications } from './Applications.js'; import { ApplicationsFromJSON, ApplicationsFromJSONTyped, ApplicationsToJSON, -} from './Applications'; +} from './Applications.js'; /** * diff --git a/lib/models/GetEnvironmentFeatureFlagsResponse.ts b/lib/models/GetEnvironmentFeatureFlagsResponse.ts index d9eebbc..ff19dab 100644 --- a/lib/models/GetEnvironmentFeatureFlagsResponse.ts +++ b/lib/models/GetEnvironmentFeatureFlagsResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { GetOrganizationFeatureFlagsResponseFeatureFlagsValue } from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue'; +import { exists, mapValues } from '../runtime.js'; +import type { GetOrganizationFeatureFlagsResponseFeatureFlagsValue } from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue.js'; import { GetOrganizationFeatureFlagsResponseFeatureFlagsValueFromJSON, GetOrganizationFeatureFlagsResponseFeatureFlagsValueFromJSONTyped, GetOrganizationFeatureFlagsResponseFeatureFlagsValueToJSON, -} from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue'; +} from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue.js'; /** * diff --git a/lib/models/GetOrganizationFeatureFlagsResponse.ts b/lib/models/GetOrganizationFeatureFlagsResponse.ts index dbcc572..5b42b49 100644 --- a/lib/models/GetOrganizationFeatureFlagsResponse.ts +++ b/lib/models/GetOrganizationFeatureFlagsResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { GetOrganizationFeatureFlagsResponseFeatureFlagsValue } from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue'; +import { exists, mapValues } from '../runtime.js'; +import type { GetOrganizationFeatureFlagsResponseFeatureFlagsValue } from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue.js'; import { GetOrganizationFeatureFlagsResponseFeatureFlagsValueFromJSON, GetOrganizationFeatureFlagsResponseFeatureFlagsValueFromJSONTyped, GetOrganizationFeatureFlagsResponseFeatureFlagsValueToJSON, -} from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue'; +} from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue.js'; /** * diff --git a/lib/models/GetOrganizationFeatureFlagsResponseFeatureFlagsValue.ts b/lib/models/GetOrganizationFeatureFlagsResponseFeatureFlagsValue.ts index 30a8ca9..c40b2b1 100644 --- a/lib/models/GetOrganizationFeatureFlagsResponseFeatureFlagsValue.ts +++ b/lib/models/GetOrganizationFeatureFlagsResponseFeatureFlagsValue.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/GetOrganizationUsersResponse.ts b/lib/models/GetOrganizationUsersResponse.ts index 6fcd11f..e0281d6 100644 --- a/lib/models/GetOrganizationUsersResponse.ts +++ b/lib/models/GetOrganizationUsersResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { OrganizationUser } from './OrganizationUser'; +import { exists, mapValues } from '../runtime.js'; +import type { OrganizationUser } from './OrganizationUser.js'; import { OrganizationUserFromJSON, OrganizationUserFromJSONTyped, OrganizationUserToJSON, -} from './OrganizationUser'; +} from './OrganizationUser.js'; /** * diff --git a/lib/models/GetOrganizationsResponse.ts b/lib/models/GetOrganizationsResponse.ts index ef3a3f9..48745d5 100644 --- a/lib/models/GetOrganizationsResponse.ts +++ b/lib/models/GetOrganizationsResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { Organization } from './Organization'; +import { exists, mapValues } from '../runtime.js'; +import type { Organization } from './Organization.js'; import { OrganizationFromJSON, OrganizationFromJSONTyped, OrganizationToJSON, -} from './Organization'; +} from './Organization.js'; /** * diff --git a/lib/models/GetOrganizationsUserPermissionsResponse.ts b/lib/models/GetOrganizationsUserPermissionsResponse.ts index 98d0486..9897c9d 100644 --- a/lib/models/GetOrganizationsUserPermissionsResponse.ts +++ b/lib/models/GetOrganizationsUserPermissionsResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { OrganizationUserPermission } from './OrganizationUserPermission'; +import { exists, mapValues } from '../runtime.js'; +import type { OrganizationUserPermission } from './OrganizationUserPermission.js'; import { OrganizationUserPermissionFromJSON, OrganizationUserPermissionFromJSONTyped, OrganizationUserPermissionToJSON, -} from './OrganizationUserPermission'; +} from './OrganizationUserPermission.js'; /** * diff --git a/lib/models/GetOrganizationsUserRolesResponse.ts b/lib/models/GetOrganizationsUserRolesResponse.ts index 3792cd5..7ec2734 100644 --- a/lib/models/GetOrganizationsUserRolesResponse.ts +++ b/lib/models/GetOrganizationsUserRolesResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { OrganizationUserRole } from './OrganizationUserRole'; +import { exists, mapValues } from '../runtime.js'; +import type { OrganizationUserRole } from './OrganizationUserRole.js'; import { OrganizationUserRoleFromJSON, OrganizationUserRoleFromJSONTyped, OrganizationUserRoleToJSON, -} from './OrganizationUserRole'; +} from './OrganizationUserRole.js'; /** * diff --git a/lib/models/GetRedirectCallbackUrlsResponse.ts b/lib/models/GetRedirectCallbackUrlsResponse.ts index b189b04..ec1270b 100644 --- a/lib/models/GetRedirectCallbackUrlsResponse.ts +++ b/lib/models/GetRedirectCallbackUrlsResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { RedirectCallbackUrls } from './RedirectCallbackUrls'; +import { exists, mapValues } from '../runtime.js'; +import type { RedirectCallbackUrls } from './RedirectCallbackUrls.js'; import { RedirectCallbackUrlsFromJSON, RedirectCallbackUrlsFromJSONTyped, RedirectCallbackUrlsToJSON, -} from './RedirectCallbackUrls'; +} from './RedirectCallbackUrls.js'; /** * diff --git a/lib/models/GetRolesResponse.ts b/lib/models/GetRolesResponse.ts index d95fa36..e1612d3 100644 --- a/lib/models/GetRolesResponse.ts +++ b/lib/models/GetRolesResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { Roles } from './Roles'; +import { exists, mapValues } from '../runtime.js'; +import type { Roles } from './Roles.js'; import { RolesFromJSON, RolesFromJSONTyped, RolesToJSON, -} from './Roles'; +} from './Roles.js'; /** * diff --git a/lib/models/GetSubscriberResponse.ts b/lib/models/GetSubscriberResponse.ts index 355601e..1cd02ac 100644 --- a/lib/models/GetSubscriberResponse.ts +++ b/lib/models/GetSubscriberResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { Subscriber } from './Subscriber'; +import { exists, mapValues } from '../runtime.js'; +import type { Subscriber } from './Subscriber.js'; import { SubscriberFromJSON, SubscriberFromJSONTyped, SubscriberToJSON, -} from './Subscriber'; +} from './Subscriber.js'; /** * diff --git a/lib/models/GetSubscribersResponse.ts b/lib/models/GetSubscribersResponse.ts index e80d4e6..e31b1df 100644 --- a/lib/models/GetSubscribersResponse.ts +++ b/lib/models/GetSubscribersResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { SubscribersSubscriber } from './SubscribersSubscriber'; +import { exists, mapValues } from '../runtime.js'; +import type { SubscribersSubscriber } from './SubscribersSubscriber.js'; import { SubscribersSubscriberFromJSON, SubscribersSubscriberFromJSONTyped, SubscribersSubscriberToJSON, -} from './SubscribersSubscriber'; +} from './SubscribersSubscriber.js'; /** * diff --git a/lib/models/LogoutRedirectUrls.ts b/lib/models/LogoutRedirectUrls.ts index 35b973b..88b6da5 100644 --- a/lib/models/LogoutRedirectUrls.ts +++ b/lib/models/LogoutRedirectUrls.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/ModelError.ts b/lib/models/ModelError.ts index e0fc1ac..eee2ac2 100644 --- a/lib/models/ModelError.ts +++ b/lib/models/ModelError.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Organization.ts b/lib/models/Organization.ts index 7a06143..cea9b72 100644 --- a/lib/models/Organization.ts +++ b/lib/models/Organization.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/OrganizationUser.ts b/lib/models/OrganizationUser.ts index a878502..dbf1904 100644 --- a/lib/models/OrganizationUser.ts +++ b/lib/models/OrganizationUser.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/OrganizationUserPermission.ts b/lib/models/OrganizationUserPermission.ts index d520e29..1d3c8d1 100644 --- a/lib/models/OrganizationUserPermission.ts +++ b/lib/models/OrganizationUserPermission.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/OrganizationUserRole.ts b/lib/models/OrganizationUserRole.ts index 96cb8fb..2322c16 100644 --- a/lib/models/OrganizationUserRole.ts +++ b/lib/models/OrganizationUserRole.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Permissions.ts b/lib/models/Permissions.ts index 7aecf6f..2efd3c2 100644 --- a/lib/models/Permissions.ts +++ b/lib/models/Permissions.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/RedirectCallbackUrls.ts b/lib/models/RedirectCallbackUrls.ts index 244f534..c2d5af9 100644 --- a/lib/models/RedirectCallbackUrls.ts +++ b/lib/models/RedirectCallbackUrls.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/ReplaceLogoutRedirectURLsRequest.ts b/lib/models/ReplaceLogoutRedirectURLsRequest.ts index d9c3b9f..990e056 100644 --- a/lib/models/ReplaceLogoutRedirectURLsRequest.ts +++ b/lib/models/ReplaceLogoutRedirectURLsRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/ReplaceRedirectCallbackURLsRequest.ts b/lib/models/ReplaceRedirectCallbackURLsRequest.ts index 9bedf72..28831eb 100644 --- a/lib/models/ReplaceRedirectCallbackURLsRequest.ts +++ b/lib/models/ReplaceRedirectCallbackURLsRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Role.ts b/lib/models/Role.ts index 5039d48..18a0204 100644 --- a/lib/models/Role.ts +++ b/lib/models/Role.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Roles.ts b/lib/models/Roles.ts index 724ee60..3f33676 100644 --- a/lib/models/Roles.ts +++ b/lib/models/Roles.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/RolesPermissionResponseInner.ts b/lib/models/RolesPermissionResponseInner.ts index 19b0e52..6ddeefd 100644 --- a/lib/models/RolesPermissionResponseInner.ts +++ b/lib/models/RolesPermissionResponseInner.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/Subscriber.ts b/lib/models/Subscriber.ts index 8fd7d15..2c6f6fe 100644 --- a/lib/models/Subscriber.ts +++ b/lib/models/Subscriber.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/SubscribersSubscriber.ts b/lib/models/SubscribersSubscriber.ts index dc933d9..3bdac4f 100644 --- a/lib/models/SubscribersSubscriber.ts +++ b/lib/models/SubscribersSubscriber.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/SuccessResponse.ts b/lib/models/SuccessResponse.ts index 1b52a88..7248813 100644 --- a/lib/models/SuccessResponse.ts +++ b/lib/models/SuccessResponse.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/TokenErrorResponse.ts b/lib/models/TokenErrorResponse.ts index 0f33cca..a313583 100644 --- a/lib/models/TokenErrorResponse.ts +++ b/lib/models/TokenErrorResponse.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/TokenIntrospect.ts b/lib/models/TokenIntrospect.ts index 9349aa1..f4fda33 100644 --- a/lib/models/TokenIntrospect.ts +++ b/lib/models/TokenIntrospect.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateAPIApplicationsRequest.ts b/lib/models/UpdateAPIApplicationsRequest.ts index 02ecc63..2c87e5d 100644 --- a/lib/models/UpdateAPIApplicationsRequest.ts +++ b/lib/models/UpdateAPIApplicationsRequest.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { UpdateAPIApplicationsRequestApplicationsInner } from './UpdateAPIApplicationsRequestApplicationsInner'; +import { exists, mapValues } from '../runtime.js'; +import type { UpdateAPIApplicationsRequestApplicationsInner } from './UpdateAPIApplicationsRequestApplicationsInner.js'; import { UpdateAPIApplicationsRequestApplicationsInnerFromJSON, UpdateAPIApplicationsRequestApplicationsInnerFromJSONTyped, UpdateAPIApplicationsRequestApplicationsInnerToJSON, -} from './UpdateAPIApplicationsRequestApplicationsInner'; +} from './UpdateAPIApplicationsRequestApplicationsInner.js'; /** * diff --git a/lib/models/UpdateAPIApplicationsRequestApplicationsInner.ts b/lib/models/UpdateAPIApplicationsRequestApplicationsInner.ts index 14c0377..7d99fc2 100644 --- a/lib/models/UpdateAPIApplicationsRequestApplicationsInner.ts +++ b/lib/models/UpdateAPIApplicationsRequestApplicationsInner.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateApplicationRequest.ts b/lib/models/UpdateApplicationRequest.ts index ced5b2a..bfbd416 100644 --- a/lib/models/UpdateApplicationRequest.ts +++ b/lib/models/UpdateApplicationRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateEnvironementFeatureFlagOverrideRequest.ts b/lib/models/UpdateEnvironementFeatureFlagOverrideRequest.ts index a16db24..a03e75f 100644 --- a/lib/models/UpdateEnvironementFeatureFlagOverrideRequest.ts +++ b/lib/models/UpdateEnvironementFeatureFlagOverrideRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateOrganizationRequest.ts b/lib/models/UpdateOrganizationRequest.ts index 0c99e6b..4fd2708 100644 --- a/lib/models/UpdateOrganizationRequest.ts +++ b/lib/models/UpdateOrganizationRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateOrganizationUsersRequest.ts b/lib/models/UpdateOrganizationUsersRequest.ts index f0c8e9e..63e3fca 100644 --- a/lib/models/UpdateOrganizationUsersRequest.ts +++ b/lib/models/UpdateOrganizationUsersRequest.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { UpdateOrganizationUsersRequestUsersInner } from './UpdateOrganizationUsersRequestUsersInner'; +import { exists, mapValues } from '../runtime.js'; +import type { UpdateOrganizationUsersRequestUsersInner } from './UpdateOrganizationUsersRequestUsersInner.js'; import { UpdateOrganizationUsersRequestUsersInnerFromJSON, UpdateOrganizationUsersRequestUsersInnerFromJSONTyped, UpdateOrganizationUsersRequestUsersInnerToJSON, -} from './UpdateOrganizationUsersRequestUsersInner'; +} from './UpdateOrganizationUsersRequestUsersInner.js'; /** * diff --git a/lib/models/UpdateOrganizationUsersRequestUsersInner.ts b/lib/models/UpdateOrganizationUsersRequestUsersInner.ts index b88f61a..979eefd 100644 --- a/lib/models/UpdateOrganizationUsersRequestUsersInner.ts +++ b/lib/models/UpdateOrganizationUsersRequestUsersInner.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateOrganizationUsersResponse.ts b/lib/models/UpdateOrganizationUsersResponse.ts index abb2d15..fa9418d 100644 --- a/lib/models/UpdateOrganizationUsersResponse.ts +++ b/lib/models/UpdateOrganizationUsersResponse.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateRolePermissionsRequest.ts b/lib/models/UpdateRolePermissionsRequest.ts index fbc0a98..ccee992 100644 --- a/lib/models/UpdateRolePermissionsRequest.ts +++ b/lib/models/UpdateRolePermissionsRequest.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { UpdateRolePermissionsRequestPermissionsInner } from './UpdateRolePermissionsRequestPermissionsInner'; +import { exists, mapValues } from '../runtime.js'; +import type { UpdateRolePermissionsRequestPermissionsInner } from './UpdateRolePermissionsRequestPermissionsInner.js'; import { UpdateRolePermissionsRequestPermissionsInnerFromJSON, UpdateRolePermissionsRequestPermissionsInnerFromJSONTyped, UpdateRolePermissionsRequestPermissionsInnerToJSON, -} from './UpdateRolePermissionsRequestPermissionsInner'; +} from './UpdateRolePermissionsRequestPermissionsInner.js'; /** * diff --git a/lib/models/UpdateRolePermissionsRequestPermissionsInner.ts b/lib/models/UpdateRolePermissionsRequestPermissionsInner.ts index 9a46ada..0be1ffc 100644 --- a/lib/models/UpdateRolePermissionsRequestPermissionsInner.ts +++ b/lib/models/UpdateRolePermissionsRequestPermissionsInner.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateRolePermissionsResponse.ts b/lib/models/UpdateRolePermissionsResponse.ts index 693e112..cdadfaa 100644 --- a/lib/models/UpdateRolePermissionsResponse.ts +++ b/lib/models/UpdateRolePermissionsResponse.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateRolesRequest.ts b/lib/models/UpdateRolesRequest.ts index 0a3dc62..3fae8b0 100644 --- a/lib/models/UpdateRolesRequest.ts +++ b/lib/models/UpdateRolesRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UpdateUserRequest.ts b/lib/models/UpdateUserRequest.ts index 79e7641..1ab8155 100644 --- a/lib/models/UpdateUserRequest.ts +++ b/lib/models/UpdateUserRequest.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/User.ts b/lib/models/User.ts index 6392de6..55b1cdf 100644 --- a/lib/models/User.ts +++ b/lib/models/User.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UserIdentity.ts b/lib/models/UserIdentity.ts index 9febdf5..9682530 100644 --- a/lib/models/UserIdentity.ts +++ b/lib/models/UserIdentity.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { UserIdentityResult } from './UserIdentityResult'; +import { exists, mapValues } from '../runtime.js'; +import type { UserIdentityResult } from './UserIdentityResult.js'; import { UserIdentityResultFromJSON, UserIdentityResultFromJSONTyped, UserIdentityResultToJSON, -} from './UserIdentityResult'; +} from './UserIdentityResult.js'; /** * diff --git a/lib/models/UserIdentityResult.ts b/lib/models/UserIdentityResult.ts index fbf6cc5..55cbf90 100644 --- a/lib/models/UserIdentityResult.ts +++ b/lib/models/UserIdentityResult.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * The result of the user creation operation. * @export diff --git a/lib/models/UserProfile.ts b/lib/models/UserProfile.ts index ba5c4e0..5c8bde3 100644 --- a/lib/models/UserProfile.ts +++ b/lib/models/UserProfile.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UserProfileV2.ts b/lib/models/UserProfileV2.ts index c9df068..7c0aec9 100644 --- a/lib/models/UserProfileV2.ts +++ b/lib/models/UserProfileV2.ts @@ -12,7 +12,7 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; +import { exists, mapValues } from '../runtime.js'; /** * * @export diff --git a/lib/models/UsersResponse.ts b/lib/models/UsersResponse.ts index 35018f2..b9f601c 100644 --- a/lib/models/UsersResponse.ts +++ b/lib/models/UsersResponse.ts @@ -12,13 +12,13 @@ * Do not edit the class manually. */ -import { exists, mapValues } from '../runtime'; -import type { User } from './User'; +import { exists, mapValues } from '../runtime.js'; +import type { User } from './User.js'; import { UserFromJSON, UserFromJSONTyped, UserToJSON, -} from './User'; +} from './User.js'; /** * diff --git a/lib/models/index.ts b/lib/models/index.ts index 72f62a1..23da87b 100644 --- a/lib/models/index.ts +++ b/lib/models/index.ts @@ -1,83 +1,83 @@ /* tslint:disable */ /* eslint-disable */ -export * from './AddAPIsRequest'; -export * from './AddOrganizationUsersRequest'; -export * from './AddOrganizationUsersRequestUsersInner'; -export * from './AddOrganizationUsersResponse'; -export * from './Api'; -export * from './ApiApplicationsInner'; -export * from './ApiResult'; -export * from './Apis'; -export * from './Applications'; -export * from './ConnectedAppsAccessToken'; -export * from './ConnectedAppsAuthUrl'; -export * from './CreateApplicationRequest'; -export * from './CreateApplicationResponse'; -export * from './CreateApplicationResponseApplication'; -export * from './CreateFeatureFlagRequest'; -export * from './CreateOrganizationRequest'; -export * from './CreateOrganizationResponse'; -export * from './CreateOrganizationResponseOrganization'; -export * from './CreateOrganizationUserPermissionRequest'; -export * from './CreateOrganizationUserRoleRequest'; -export * from './CreatePermissionRequest'; -export * from './CreateRoleRequest'; -export * from './CreateSubscriberSuccessResponse'; -export * from './CreateSubscriberSuccessResponseSubscriber'; -export * from './CreateUserRequest'; -export * from './CreateUserRequestIdentitiesInner'; -export * from './CreateUserRequestIdentitiesInnerDetails'; -export * from './CreateUserRequestProfile'; -export * from './CreateUserResponse'; -export * from './ErrorResponse'; -export * from './GetApplicationResponse'; -export * from './GetApplicationResponseApplication'; -export * from './GetApplicationsResponse'; -export * from './GetEnvironmentFeatureFlagsResponse'; -export * from './GetOrganizationFeatureFlagsResponse'; -export * from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue'; -export * from './GetOrganizationUsersResponse'; -export * from './GetOrganizationsResponse'; -export * from './GetOrganizationsUserPermissionsResponse'; -export * from './GetOrganizationsUserRolesResponse'; -export * from './GetRedirectCallbackUrlsResponse'; -export * from './GetRolesResponse'; -export * from './GetSubscriberResponse'; -export * from './GetSubscribersResponse'; -export * from './LogoutRedirectUrls'; -export * from './ModelError'; -export * from './Organization'; -export * from './OrganizationUser'; -export * from './OrganizationUserPermission'; -export * from './OrganizationUserRole'; -export * from './Permissions'; -export * from './RedirectCallbackUrls'; -export * from './ReplaceLogoutRedirectURLsRequest'; -export * from './ReplaceRedirectCallbackURLsRequest'; -export * from './Role'; -export * from './Roles'; -export * from './RolesPermissionResponseInner'; -export * from './Subscriber'; -export * from './SubscribersSubscriber'; -export * from './SuccessResponse'; -export * from './TokenErrorResponse'; -export * from './TokenIntrospect'; -export * from './UpdateAPIApplicationsRequest'; -export * from './UpdateAPIApplicationsRequestApplicationsInner'; -export * from './UpdateApplicationRequest'; -export * from './UpdateEnvironementFeatureFlagOverrideRequest'; -export * from './UpdateOrganizationRequest'; -export * from './UpdateOrganizationUsersRequest'; -export * from './UpdateOrganizationUsersRequestUsersInner'; -export * from './UpdateOrganizationUsersResponse'; -export * from './UpdateRolePermissionsRequest'; -export * from './UpdateRolePermissionsRequestPermissionsInner'; -export * from './UpdateRolePermissionsResponse'; -export * from './UpdateRolesRequest'; -export * from './UpdateUserRequest'; -export * from './User'; -export * from './UserIdentity'; -export * from './UserIdentityResult'; -export * from './UserProfile'; -export * from './UserProfileV2'; -export * from './UsersResponse'; +export * from './AddAPIsRequest.js'; +export * from './AddOrganizationUsersRequest.js'; +export * from './AddOrganizationUsersRequestUsersInner.js'; +export * from './AddOrganizationUsersResponse.js'; +export * from './Api.js'; +export * from './ApiApplicationsInner.js'; +export * from './ApiResult.js'; +export * from './Apis.js'; +export * from './Applications.js'; +export * from './ConnectedAppsAccessToken.js'; +export * from './ConnectedAppsAuthUrl.js'; +export * from './CreateApplicationRequest.js'; +export * from './CreateApplicationResponse.js'; +export * from './CreateApplicationResponseApplication.js'; +export * from './CreateFeatureFlagRequest.js'; +export * from './CreateOrganizationRequest.js'; +export * from './CreateOrganizationResponse.js'; +export * from './CreateOrganizationResponseOrganization.js'; +export * from './CreateOrganizationUserPermissionRequest.js'; +export * from './CreateOrganizationUserRoleRequest.js'; +export * from './CreatePermissionRequest.js'; +export * from './CreateRoleRequest.js'; +export * from './CreateSubscriberSuccessResponse.js'; +export * from './CreateSubscriberSuccessResponseSubscriber.js'; +export * from './CreateUserRequest.js'; +export * from './CreateUserRequestIdentitiesInner.js'; +export * from './CreateUserRequestIdentitiesInnerDetails.js'; +export * from './CreateUserRequestProfile.js'; +export * from './CreateUserResponse.js'; +export * from './ErrorResponse.js'; +export * from './GetApplicationResponse.js'; +export * from './GetApplicationResponseApplication.js'; +export * from './GetApplicationsResponse.js'; +export * from './GetEnvironmentFeatureFlagsResponse.js'; +export * from './GetOrganizationFeatureFlagsResponse.js'; +export * from './GetOrganizationFeatureFlagsResponseFeatureFlagsValue.js'; +export * from './GetOrganizationUsersResponse.js'; +export * from './GetOrganizationsResponse.js'; +export * from './GetOrganizationsUserPermissionsResponse.js'; +export * from './GetOrganizationsUserRolesResponse.js'; +export * from './GetRedirectCallbackUrlsResponse.js'; +export * from './GetRolesResponse.js'; +export * from './GetSubscriberResponse.js'; +export * from './GetSubscribersResponse.js'; +export * from './LogoutRedirectUrls.js'; +export * from './ModelError.js'; +export * from './Organization.js'; +export * from './OrganizationUser.js'; +export * from './OrganizationUserPermission.js'; +export * from './OrganizationUserRole.js'; +export * from './Permissions.js'; +export * from './RedirectCallbackUrls.js'; +export * from './ReplaceLogoutRedirectURLsRequest.js'; +export * from './ReplaceRedirectCallbackURLsRequest.js'; +export * from './Role.js'; +export * from './Roles.js'; +export * from './RolesPermissionResponseInner.js'; +export * from './Subscriber.js'; +export * from './SubscribersSubscriber.js'; +export * from './SuccessResponse.js'; +export * from './TokenErrorResponse.js'; +export * from './TokenIntrospect.js'; +export * from './UpdateAPIApplicationsRequest.js'; +export * from './UpdateAPIApplicationsRequestApplicationsInner.js'; +export * from './UpdateApplicationRequest.js'; +export * from './UpdateEnvironementFeatureFlagOverrideRequest.js'; +export * from './UpdateOrganizationRequest.js'; +export * from './UpdateOrganizationUsersRequest.js'; +export * from './UpdateOrganizationUsersRequestUsersInner.js'; +export * from './UpdateOrganizationUsersResponse.js'; +export * from './UpdateRolePermissionsRequest.js'; +export * from './UpdateRolePermissionsRequestPermissionsInner.js'; +export * from './UpdateRolePermissionsResponse.js'; +export * from './UpdateRolesRequest.js'; +export * from './UpdateUserRequest.js'; +export * from './User.js'; +export * from './UserIdentity.js'; +export * from './UserIdentityResult.js'; +export * from './UserProfile.js'; +export * from './UserProfileV2.js'; +export * from './UsersResponse.js'; diff --git a/lib/sdk/clients/browser/authcode-with-pkce.ts b/lib/sdk/clients/browser/authcode-with-pkce.ts index 4bfba24..3bd8f30 100644 --- a/lib/sdk/clients/browser/authcode-with-pkce.ts +++ b/lib/sdk/clients/browser/authcode-with-pkce.ts @@ -1,20 +1,20 @@ -import { BrowserSessionManager } from '../../session-managers'; -import { AuthCodeWithPKCE } from '../../oauth2-flows'; -import * as utilities from '../../utilities'; +import { BrowserSessionManager } from '../../session-managers/index.js'; +import { AuthCodeWithPKCE } from '../../oauth2-flows/index.js'; +import * as utilities from '../../utilities/index.js'; import type { UserType, ClaimTokenType, GetFlagType, FlagType, -} from '../../utilities'; +} from '../../utilities/index.js'; import type { CreateOrgURLOptions, RegisterURLOptions, LoginURLOptions, PKCEClientOptions, -} from '../types'; +} from '../types.js'; const createAuthCodeWithPKCEClient = (options: PKCEClientOptions) => { const { featureFlags, tokenClaims } = utilities; diff --git a/lib/sdk/clients/browser/index.ts b/lib/sdk/clients/browser/index.ts index 37ef12f..74c12be 100644 --- a/lib/sdk/clients/browser/index.ts +++ b/lib/sdk/clients/browser/index.ts @@ -1,6 +1,6 @@ -import createAuthCodeWithPKCEClient from './authcode-with-pkce'; -import { isBrowserEnvironment } from '../../environment'; -import type { PKCEClientOptions } from '../types'; +import createAuthCodeWithPKCEClient from './authcode-with-pkce.js'; +import { isBrowserEnvironment } from '../../environment.js'; +import type { PKCEClientOptions } from '../types.js'; export const createKindeBrowserClient = (options: PKCEClientOptions) => { if (!isBrowserEnvironment()) { diff --git a/lib/sdk/clients/index.ts b/lib/sdk/clients/index.ts index e9782a0..a2ab1ad 100644 --- a/lib/sdk/clients/index.ts +++ b/lib/sdk/clients/index.ts @@ -1,3 +1,3 @@ -export * from './browser'; -export * from './server'; -export * from './types'; +export * from './browser/index.js'; +export * from './server/index.js'; +export * from './types.js'; diff --git a/lib/sdk/clients/server/authorization-code.ts b/lib/sdk/clients/server/authorization-code.ts index 7d4408e..d32da90 100644 --- a/lib/sdk/clients/server/authorization-code.ts +++ b/lib/sdk/clients/server/authorization-code.ts @@ -1,14 +1,14 @@ -import { AuthorizationCode, AuthCodeWithPKCE } from '../../oauth2-flows'; -import { type SessionManager } from '../../session-managers'; -import type { UserType } from '../../utilities'; -import * as utilities from '../../utilities'; +import { AuthorizationCode, AuthCodeWithPKCE } from '../../oauth2-flows/index.js'; +import { type SessionManager } from '../../session-managers/index.js'; +import type { UserType } from '../../utilities/index.js'; +import * as utilities from '../../utilities/index.js'; import type { CreateOrgURLOptions, RegisterURLOptions, LoginURLOptions, ACClientOptions, -} from '../types'; +} from '../types.js'; const createAuthorizationCodeClient = ( options: ACClientOptions, diff --git a/lib/sdk/clients/server/client-credentials.ts b/lib/sdk/clients/server/client-credentials.ts index 43670b8..dec0c73 100644 --- a/lib/sdk/clients/server/client-credentials.ts +++ b/lib/sdk/clients/server/client-credentials.ts @@ -1,7 +1,7 @@ -import { type SessionManager } from '../../session-managers'; -import { ClientCredentials } from '../../oauth2-flows'; -import type { CCClientOptions } from '../types'; -import * as utilities from '../../utilities'; +import { type SessionManager } from '../../session-managers/index.js'; +import { ClientCredentials } from '../../oauth2-flows/index.js'; +import type { CCClientOptions } from '../types.js'; +import * as utilities from '../../utilities/index.js'; const createCCClient = (options: CCClientOptions) => { const client = new ClientCredentials(options); diff --git a/lib/sdk/clients/server/index.ts b/lib/sdk/clients/server/index.ts index b82534f..b828737 100644 --- a/lib/sdk/clients/server/index.ts +++ b/lib/sdk/clients/server/index.ts @@ -1,7 +1,7 @@ -import createAuthCodeClient from './authorization-code'; -import { isNodeEnvironment } from '../../environment'; -import createCCClient from './client-credentials'; -import { GrantType } from '../../oauth2-flows'; +import createAuthCodeClient from './authorization-code.js'; +import { isNodeEnvironment } from '../../environment.js'; +import createCCClient from './client-credentials.js'; +import { GrantType } from '../../oauth2-flows/index.js'; import type { CCClient, @@ -9,7 +9,7 @@ import type { PKCEClientOptions, ACClientOptions, CCClientOptions, -} from '../types'; +} from '../types.js'; type Options = T extends GrantType.PKCE ? PKCEClientOptions : T extends GrantType.AUTHORIZATION_CODE ? ACClientOptions : T extends GrantType.CLIENT_CREDENTIALS ? CCClientOptions : never; type Client = T extends PKCEClientOptions ? ACClient : T extends ACClientOptions ? ACClient : T extends CCClientOptions ? CCClient : never; diff --git a/lib/sdk/clients/types.ts b/lib/sdk/clients/types.ts index 40e7baa..7aeb539 100644 --- a/lib/sdk/clients/types.ts +++ b/lib/sdk/clients/types.ts @@ -1,11 +1,11 @@ -import { type default as createAuthCodeClient } from './server/authorization-code'; -import { type default as createCCClient } from './server/client-credentials'; +import { type default as createAuthCodeClient } from './server/authorization-code.js'; +import { type default as createCCClient } from './server/client-credentials.js'; import type { ClientCredentialsOptions, AuthorizationCodeOptions, AuthURLOptions, -} from '../oauth2-flows'; +} from '../oauth2-flows/index.js'; export interface PKCEClientOptions extends AuthorizationCodeOptions {} export interface CCClientOptions extends ClientCredentialsOptions {} diff --git a/lib/sdk/index.ts b/lib/sdk/index.ts index 3683d7d..2f05f94 100644 --- a/lib/sdk/index.ts +++ b/lib/sdk/index.ts @@ -1,4 +1,4 @@ -export * from './session-managers/types'; -export * from './oauth2-flows/types'; -export * from './utilities/types'; -export * from './clients'; +export * from './session-managers/types.js'; +export * from './oauth2-flows/types.js'; +export * from './utilities/types.js'; +export * from './clients/index.js'; diff --git a/lib/sdk/oauth2-flows/AuthCodeAbstract.ts b/lib/sdk/oauth2-flows/AuthCodeAbstract.ts index a6abdca..94af728 100644 --- a/lib/sdk/oauth2-flows/AuthCodeAbstract.ts +++ b/lib/sdk/oauth2-flows/AuthCodeAbstract.ts @@ -1,15 +1,15 @@ -import { type SessionManager } from '../session-managers'; -import { isNodeEnvironment } from '../environment'; -import type { UserType } from '../utilities'; -import * as utilities from '../utilities'; -import { getSDKHeader } from '../version'; +import { type SessionManager } from '../session-managers/index.js'; +import { isNodeEnvironment } from '../environment.js'; +import type { UserType } from '../utilities/index.js'; +import * as utilities from '../utilities/index.js'; +import { getSDKHeader } from '../version.js'; import type { OAuth2CodeExchangeErrorResponse, OAuth2CodeExchangeResponse, AuthorizationCodeOptions, AuthURLOptions, -} from './types'; +} from './types.js'; /** * Abstract class provides contract (methods) for classes implementing OAuth2.0 flows diff --git a/lib/sdk/oauth2-flows/AuthCodeWithPKCE.ts b/lib/sdk/oauth2-flows/AuthCodeWithPKCE.ts index c899554..6faeb24 100644 --- a/lib/sdk/oauth2-flows/AuthCodeWithPKCE.ts +++ b/lib/sdk/oauth2-flows/AuthCodeWithPKCE.ts @@ -1,17 +1,17 @@ -import { isBrowserEnvironment } from '../environment'; -import { AuthCodeAbstract } from './AuthCodeAbstract'; -import * as utilities from '../utilities'; +import { isBrowserEnvironment } from '../environment.js'; +import { AuthCodeAbstract } from './AuthCodeAbstract.js'; +import * as utilities from '../utilities/index.js'; import { type BrowserSessionManager, type SessionManager, -} from '../session-managers'; +} from '../session-managers/index.js'; import type { OAuth2CodeExchangeResponse, AuthURLOptions, AuthorizationCodeOptions, -} from './types'; +} from './types.js'; /** * Class provides implementation for the authorization code with PKCE extension diff --git a/lib/sdk/oauth2-flows/AuthorizationCode.ts b/lib/sdk/oauth2-flows/AuthorizationCode.ts index be970ca..ac7981a 100644 --- a/lib/sdk/oauth2-flows/AuthorizationCode.ts +++ b/lib/sdk/oauth2-flows/AuthorizationCode.ts @@ -1,12 +1,12 @@ -import { type SessionManager } from '../session-managers'; -import { AuthCodeAbstract } from './AuthCodeAbstract'; -import * as utilities from '../utilities'; +import { type SessionManager } from '../session-managers/index.js'; +import { AuthCodeAbstract } from './AuthCodeAbstract.js'; +import * as utilities from '../utilities/index.js'; import type { OAuth2CodeExchangeResponse, AuthorizationCodeOptions, AuthURLOptions, -} from './types'; +} from './types.js'; /** * Class provides implementation for the authorization code OAuth2.0 flow. diff --git a/lib/sdk/oauth2-flows/ClientCredentials.ts b/lib/sdk/oauth2-flows/ClientCredentials.ts index 1ee4297..5d2080b 100644 --- a/lib/sdk/oauth2-flows/ClientCredentials.ts +++ b/lib/sdk/oauth2-flows/ClientCredentials.ts @@ -1,12 +1,12 @@ -import { type SessionManager } from '../session-managers'; -import * as utilities from '../utilities'; -import { getSDKHeader } from '../version'; +import { type SessionManager } from '../session-managers/index.js'; +import * as utilities from '../utilities/index.js'; +import { getSDKHeader } from '../version.js'; import type { OAuth2CCTokenErrorResponse, ClientCredentialsOptions, OAuth2CCTokenResponse, -} from './types'; +} from './types.js'; /** * Class provides implementation for the client credentials OAuth2.0 flow. diff --git a/lib/sdk/oauth2-flows/index.ts b/lib/sdk/oauth2-flows/index.ts index 840fe8f..28781b8 100644 --- a/lib/sdk/oauth2-flows/index.ts +++ b/lib/sdk/oauth2-flows/index.ts @@ -1,4 +1,4 @@ -export { ClientCredentials } from './ClientCredentials'; -export { AuthorizationCode } from './AuthorizationCode'; -export { AuthCodeWithPKCE } from './AuthCodeWithPKCE'; -export * from './types'; +export { ClientCredentials } from './ClientCredentials.js'; +export { AuthorizationCode } from './AuthorizationCode.js'; +export { AuthCodeWithPKCE } from './AuthCodeWithPKCE.js'; +export * from './types.js'; diff --git a/lib/sdk/session-managers/BrowserSessionManager.ts b/lib/sdk/session-managers/BrowserSessionManager.ts index 057ef9b..a84921c 100644 --- a/lib/sdk/session-managers/BrowserSessionManager.ts +++ b/lib/sdk/session-managers/BrowserSessionManager.ts @@ -1,5 +1,5 @@ -import { isBrowserEnvironment } from '../environment'; -import { type SessionManager } from './types'; +import { isBrowserEnvironment } from '../environment.js'; +import { type SessionManager } from './types.js'; /** * Provides a session manager implementation for the browser. diff --git a/lib/sdk/session-managers/index.ts b/lib/sdk/session-managers/index.ts index 78a4dbb..8463be9 100644 --- a/lib/sdk/session-managers/index.ts +++ b/lib/sdk/session-managers/index.ts @@ -1,2 +1,2 @@ -export { BrowserSessionManager } from './BrowserSessionManager'; -export * from './types'; +export { BrowserSessionManager } from './BrowserSessionManager.js'; +export * from './types.js'; diff --git a/lib/sdk/utilities/code-challenge.ts b/lib/sdk/utilities/code-challenge.ts index 12f83bc..dd7574a 100644 --- a/lib/sdk/utilities/code-challenge.ts +++ b/lib/sdk/utilities/code-challenge.ts @@ -1,4 +1,4 @@ -import { generateRandomString } from './random-string'; +import { generateRandomString } from './random-string.js'; import { subtle } from 'uncrypto'; /** diff --git a/lib/sdk/utilities/feature-flags.ts b/lib/sdk/utilities/feature-flags.ts index 5730810..fd2a1d6 100644 --- a/lib/sdk/utilities/feature-flags.ts +++ b/lib/sdk/utilities/feature-flags.ts @@ -1,12 +1,12 @@ -import { type SessionManager } from '../session-managers'; -import { getClaimValue } from './token-claims'; +import { type SessionManager } from '../session-managers/index.js'; +import { getClaimValue } from './token-claims.js'; import { type FeatureFlags, type GetFlagType, type FlagType, FlagDataType, -} from './types'; +} from './types.js'; /** * Method extracts the provided feature flag from the access token in the diff --git a/lib/sdk/utilities/index.ts b/lib/sdk/utilities/index.ts index cd85239..bcb0515 100644 --- a/lib/sdk/utilities/index.ts +++ b/lib/sdk/utilities/index.ts @@ -1,10 +1,10 @@ -import * as featureFlags from './feature-flags'; -import * as tokenClaims from './token-claims'; +import * as featureFlags from './feature-flags.js'; +import * as tokenClaims from './token-claims.js'; export { featureFlags, tokenClaims }; -export * from './feature-flags'; -export * from './code-challenge'; -export * from './random-string'; -export * from './token-claims'; -export * from './token-utils'; -export * from './types'; +export * from './feature-flags.js'; +export * from './code-challenge.js'; +export * from './random-string.js'; +export * from './token-claims.js'; +export * from './token-utils.js'; +export * from './types.js'; diff --git a/lib/sdk/utilities/token-claims.ts b/lib/sdk/utilities/token-claims.ts index 3b8a0f4..ccb1e2d 100644 --- a/lib/sdk/utilities/token-claims.ts +++ b/lib/sdk/utilities/token-claims.ts @@ -1,6 +1,6 @@ -import { type SessionManager } from '../session-managers'; -import { isTokenExpired } from './token-utils'; -import { type ClaimTokenType } from './types'; +import { type SessionManager } from '../session-managers/index.js'; +import { isTokenExpired } from './token-utils.js'; +import { type ClaimTokenType } from './types.js'; /** * Method extracts the provided claim from the provided token type in the diff --git a/lib/sdk/utilities/token-utils.ts b/lib/sdk/utilities/token-utils.ts index ac3bf01..f174ced 100644 --- a/lib/sdk/utilities/token-utils.ts +++ b/lib/sdk/utilities/token-utils.ts @@ -1,5 +1,5 @@ -import type { TokenCollection, UserType, TokenType } from './types'; -import { type SessionManager } from '../session-managers'; +import type { TokenCollection, UserType, TokenType } from './types.js'; +import { type SessionManager } from '../session-managers/index.js'; /** * Parses a provided JWT token to extract the payload segment of said diff --git a/lib/sdk/version.ts b/lib/sdk/version.ts index af94245..bd5793e 100644 --- a/lib/sdk/version.ts +++ b/lib/sdk/version.ts @@ -5,7 +5,7 @@ * file. */ -import { type SDKHeaderOverrideOptions } from './oauth2-flows'; +import { type SDKHeaderOverrideOptions } from './oauth2-flows/index.js'; export const SDK_VERSION = 'SDK_VERSION_PLACEHOLDER' as const; diff --git a/package-cjs.json b/package-cjs.json new file mode 100644 index 0000000..5bbefff --- /dev/null +++ b/package-cjs.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} diff --git a/package-esm.json b/package-esm.json new file mode 100644 index 0000000..3dbc1ca --- /dev/null +++ b/package-esm.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} diff --git a/package.json b/package.json index 0ed784d..128d2da 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,29 @@ { "name": "@kinde-oss/kinde-typescript-sdk", - "version": "2.1.0", + "version": "2.2.0", "description": "Kinde Typescript SDK", "main": "dist-cjs/index.js", "module": "dist/index.js", - "types": "dist/types", + "types": "dist/types/index.d.ts", "files": [ "dist", "dist-cjs" ], "exports": { ".": { - "require": "./dist-cjs/index.js", - "import": "./dist/index.js" + "require": { + "types": "./dist-cjs/types/index.d.ts", + "default": "./dist-cjs/index.js" + }, + "import":{ + "types": "./dist/types/index.d.ts", + "default": "./dist/index.js" + } } }, "scripts": { "build": "tsc && tsc -p tsconfig.cjs.json", - "postbuild": "node sdk-version.js clean", + "postbuild": "node sdk-version.js clean && ncp ./package-cjs.json ./dist-cjs/package.json && ncp ./package-esm.json ./dist/package.json", "prebuild": "node sdk-version.js && rimraf dist dist-cjs", "lint": "eslint .", "lint:fix": "eslint --fix .", @@ -57,6 +63,7 @@ "jest-environment-jsdom": "^29.5.0", "jsdom": "^22.0.0", "lint-staged": "^13.2.2", + "ncp": "^2.0.0", "prettier": "^2.8.8", "rimraf": "^5.0.1", "ts-jest": "^29.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bdb3674..6dba7a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,6 +58,9 @@ devDependencies: lint-staged: specifier: ^13.2.2 version: 13.2.2 + ncp: + specifier: ^2.0.0 + version: 2.0.0 prettier: specifier: ^2.8.8 version: 2.8.8 @@ -3506,6 +3509,11 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true + /ncp@2.0.0: + resolution: {integrity: sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==} + hasBin: true + dev: true + /node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} dev: true