@extrahorizon/javascript-sdk 8.9.0-dev-140-d9dfc1d → 8.9.0-dev-141-b21be6e
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/build/index.cjs.js +5 -1
- package/build/index.mjs +5 -2
- package/build/types/errors.d.ts +3 -0
- package/build/types/version.d.ts +1 -1
- package/package.json +1 -1
package/build/index.cjs.js
CHANGED
|
@@ -753,6 +753,8 @@ class NotFoundError extends ApiError {
|
|
|
753
753
|
}
|
|
754
754
|
class ResourceUnknownError extends NotFoundError {
|
|
755
755
|
}
|
|
756
|
+
class ServiceNotFoundError extends NotFoundError {
|
|
757
|
+
}
|
|
756
758
|
class NoConfiguredAppStoreProduct extends NotFoundError {
|
|
757
759
|
}
|
|
758
760
|
// 500 Server Error
|
|
@@ -927,6 +929,7 @@ const ErrorClassMap = {
|
|
|
927
929
|
414: StatusInUseError,
|
|
928
930
|
415: LockedDocumentError,
|
|
929
931
|
801: DefaultLocalizationMissingError,
|
|
932
|
+
903: ServiceNotFoundError,
|
|
930
933
|
1002: LocalizationKeyMissingError,
|
|
931
934
|
1003: TemplateFillingError,
|
|
932
935
|
1004: TemplateSyntaxError,
|
|
@@ -5610,7 +5613,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5610
5613
|
};
|
|
5611
5614
|
};
|
|
5612
5615
|
|
|
5613
|
-
const version = '8.9.0-dev-
|
|
5616
|
+
const version = '8.9.0-dev-141-b21be6e';
|
|
5614
5617
|
|
|
5615
5618
|
/**
|
|
5616
5619
|
* Create ExtraHorizon client.
|
|
@@ -5876,6 +5879,7 @@ exports.RequestAbortedError = RequestAbortedError;
|
|
|
5876
5879
|
exports.ResourceAlreadyExistsError = ResourceAlreadyExistsError;
|
|
5877
5880
|
exports.ResourceUnknownError = ResourceUnknownError;
|
|
5878
5881
|
exports.ServerError = ServerError;
|
|
5882
|
+
exports.ServiceNotFoundError = ServiceNotFoundError;
|
|
5879
5883
|
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
5880
5884
|
exports.StatusInUseError = StatusInUseError;
|
|
5881
5885
|
exports.StripePaymentMethodError = StripePaymentMethodError;
|
package/build/index.mjs
CHANGED
|
@@ -723,6 +723,8 @@ class NotFoundError extends ApiError {
|
|
|
723
723
|
}
|
|
724
724
|
class ResourceUnknownError extends NotFoundError {
|
|
725
725
|
}
|
|
726
|
+
class ServiceNotFoundError extends NotFoundError {
|
|
727
|
+
}
|
|
726
728
|
class NoConfiguredAppStoreProduct extends NotFoundError {
|
|
727
729
|
}
|
|
728
730
|
// 500 Server Error
|
|
@@ -897,6 +899,7 @@ const ErrorClassMap = {
|
|
|
897
899
|
414: StatusInUseError,
|
|
898
900
|
415: LockedDocumentError,
|
|
899
901
|
801: DefaultLocalizationMissingError,
|
|
902
|
+
903: ServiceNotFoundError,
|
|
900
903
|
1002: LocalizationKeyMissingError,
|
|
901
904
|
1003: TemplateFillingError,
|
|
902
905
|
1004: TemplateSyntaxError,
|
|
@@ -5580,7 +5583,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5580
5583
|
};
|
|
5581
5584
|
};
|
|
5582
5585
|
|
|
5583
|
-
const version = '8.9.0-dev-
|
|
5586
|
+
const version = '8.9.0-dev-141-b21be6e';
|
|
5584
5587
|
|
|
5585
5588
|
/**
|
|
5586
5589
|
* Create ExtraHorizon client.
|
|
@@ -5760,4 +5763,4 @@ const parseStoredCredentials = (fileContent) => exhCredentialsDecoder(fileConten
|
|
|
5760
5763
|
.filter(line => line.length === 2)
|
|
5761
5764
|
.reduce((memo, [key, value]) => ({ ...memo, [key]: value }), {}));
|
|
5762
5765
|
|
|
5763
|
-
export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidTokenError, JSONSchemaType, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PasswordError, PaymentIntentCreationSchemaPaymentMethodType, PaymentIntentCreationSchemaSetupPaymentMethodReuse, PinCodesNotEnabledError, PlayStoreTransactionAlreadyLinked, ProfileActivity, ProfileAlreadyExistsError, QueuedMailStatus, RefreshTokenExpiredError, RefreshTokenUnknownError, RemoveFieldError, RequestAbortedError, ResourceAlreadyExistsError, ResourceUnknownError, Results, ServerError, ServiceUnavailableError, StatusInUseError, StripePaymentMethodError, StripeRequestError, SubscriptionEntitlementSource, SubscriptionEntitlementStatus, SubscriptionEntitlementStatusCategory, SubscriptionEventSource, SubscriptionEventType, SupportedLanguageCodes, TaskStatus, TemplateFillingError, TemplateResolvingError, TemplateSyntaxError, TokenNotDeleteableError, TokenPermission, TooManyFailedAttemptsError, UnauthorizedClientError, UnauthorizedError, UnauthorizedTokenError, UnknownReceiptTransactionError, UnsupportedGrantError, UnsupportedGrantTypeError, UnsupportedResponseTypeError, UserNotAuthenticatedError, createClient, createOAuth1Client, createOAuth2Client, createProxyClient, findAllGeneric, findAllIterator, getMockSdkOAuth2 as getMockSdk, getMockSdkOAuth1, getMockSdkOAuth2, getMockSdkProxy, parseGlobalPermissions, parseStoredCredentials, recursiveMap, rqlBuilder, rqlParser };
|
|
5766
|
+
export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidTokenError, JSONSchemaType, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PasswordError, PaymentIntentCreationSchemaPaymentMethodType, PaymentIntentCreationSchemaSetupPaymentMethodReuse, PinCodesNotEnabledError, PlayStoreTransactionAlreadyLinked, ProfileActivity, ProfileAlreadyExistsError, QueuedMailStatus, RefreshTokenExpiredError, RefreshTokenUnknownError, RemoveFieldError, RequestAbortedError, ResourceAlreadyExistsError, ResourceUnknownError, Results, ServerError, ServiceNotFoundError, ServiceUnavailableError, StatusInUseError, StripePaymentMethodError, StripeRequestError, SubscriptionEntitlementSource, SubscriptionEntitlementStatus, SubscriptionEntitlementStatusCategory, SubscriptionEventSource, SubscriptionEventType, SupportedLanguageCodes, TaskStatus, TemplateFillingError, TemplateResolvingError, TemplateSyntaxError, TokenNotDeleteableError, TokenPermission, TooManyFailedAttemptsError, UnauthorizedClientError, UnauthorizedError, UnauthorizedTokenError, UnknownReceiptTransactionError, UnsupportedGrantError, UnsupportedGrantTypeError, UnsupportedResponseTypeError, UserNotAuthenticatedError, createClient, createOAuth1Client, createOAuth2Client, createProxyClient, findAllGeneric, findAllIterator, getMockSdkOAuth2 as getMockSdk, getMockSdkOAuth1, getMockSdkOAuth2, getMockSdkProxy, parseGlobalPermissions, parseStoredCredentials, recursiveMap, rqlBuilder, rqlParser };
|
package/build/types/errors.d.ts
CHANGED
|
@@ -219,6 +219,8 @@ export declare class NotFoundError extends ApiError {
|
|
|
219
219
|
}
|
|
220
220
|
export declare class ResourceUnknownError extends NotFoundError {
|
|
221
221
|
}
|
|
222
|
+
export declare class ServiceNotFoundError extends NotFoundError {
|
|
223
|
+
}
|
|
222
224
|
export declare class NoConfiguredAppStoreProduct extends NotFoundError {
|
|
223
225
|
}
|
|
224
226
|
export declare class ServerError extends ApiError {
|
|
@@ -331,6 +333,7 @@ export declare const ErrorClassMap: {
|
|
|
331
333
|
414: typeof StatusInUseError;
|
|
332
334
|
415: typeof LockedDocumentError;
|
|
333
335
|
801: typeof DefaultLocalizationMissingError;
|
|
336
|
+
903: typeof ServiceNotFoundError;
|
|
334
337
|
1002: typeof LocalizationKeyMissingError;
|
|
335
338
|
1003: typeof TemplateFillingError;
|
|
336
339
|
1004: typeof TemplateSyntaxError;
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.9.0-dev-
|
|
1
|
+
export declare const version = "8.9.0-dev-141-b21be6e";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.9.0-dev-
|
|
3
|
+
"version": "8.9.0-dev-141-b21be6e",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|