@extrahorizon/javascript-sdk 8.12.0-dev-171-2fc7ff8 → 8.12.0-dev-172-6fb7e9f

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/errors.d.ts CHANGED
@@ -240,6 +240,8 @@ export declare class FirebaseConnectionError extends BadGatewayServerError {
240
240
  }
241
241
  export declare class ServiceUnavailableError extends ApiError {
242
242
  }
243
+ export declare class ServiceUnreachableError extends ServiceUnavailableError {
244
+ }
243
245
  export declare class OidcIdTokenError extends ServiceUnavailableError {
244
246
  }
245
247
  export declare class InvalidGrantError extends OAuth2LoginError {
@@ -270,6 +272,7 @@ export declare const OAuth2ErrorClassMap: {
270
272
  };
271
273
  export declare const ErrorClassMap: {
272
274
  1: typeof ServerError;
275
+ 4: typeof ServiceUnreachableError;
273
276
  10: typeof NoPermissionError;
274
277
  11: typeof RemoveFieldError;
275
278
  12: typeof IDFormatError;
@@ -779,6 +779,8 @@ class FirebaseConnectionError extends BadGatewayServerError {
779
779
  // 503 Service Unavailable Error
780
780
  class ServiceUnavailableError extends ApiError {
781
781
  }
782
+ class ServiceUnreachableError extends ServiceUnavailableError {
783
+ }
782
784
  class OidcIdTokenError extends ServiceUnavailableError {
783
785
  }
784
786
  // OAuth2Login Errors
@@ -866,6 +868,7 @@ const OAuth2ErrorClassMap = {
866
868
  };
867
869
  const ErrorClassMap = {
868
870
  1: ServerError,
871
+ 4: ServiceUnreachableError,
869
872
  10: NoPermissionError,
870
873
  11: RemoveFieldError,
871
874
  12: IDFormatError,
@@ -5652,7 +5655,7 @@ const templatesV2Service = (httpWithAuth) => {
5652
5655
  };
5653
5656
  };
5654
5657
 
5655
- const version = '8.12.0-dev-171-2fc7ff8';
5658
+ const version = '8.12.0-dev-172-6fb7e9f';
5656
5659
 
5657
5660
  /**
5658
5661
  * Create ExtraHorizon client.
@@ -5921,6 +5924,7 @@ exports.ResourceUnknownError = ResourceUnknownError;
5921
5924
  exports.ServerError = ServerError;
5922
5925
  exports.ServiceNotFoundError = ServiceNotFoundError;
5923
5926
  exports.ServiceUnavailableError = ServiceUnavailableError;
5927
+ exports.ServiceUnreachableError = ServiceUnreachableError;
5924
5928
  exports.StatusInUseError = StatusInUseError;
5925
5929
  exports.StripePaymentMethodError = StripePaymentMethodError;
5926
5930
  exports.StripeRequestError = StripeRequestError;
package/build/index.mjs CHANGED
@@ -749,6 +749,8 @@ class FirebaseConnectionError extends BadGatewayServerError {
749
749
  // 503 Service Unavailable Error
750
750
  class ServiceUnavailableError extends ApiError {
751
751
  }
752
+ class ServiceUnreachableError extends ServiceUnavailableError {
753
+ }
752
754
  class OidcIdTokenError extends ServiceUnavailableError {
753
755
  }
754
756
  // OAuth2Login Errors
@@ -836,6 +838,7 @@ const OAuth2ErrorClassMap = {
836
838
  };
837
839
  const ErrorClassMap = {
838
840
  1: ServerError,
841
+ 4: ServiceUnreachableError,
839
842
  10: NoPermissionError,
840
843
  11: RemoveFieldError,
841
844
  12: IDFormatError,
@@ -5622,7 +5625,7 @@ const templatesV2Service = (httpWithAuth) => {
5622
5625
  };
5623
5626
  };
5624
5627
 
5625
- const version = '8.12.0-dev-171-2fc7ff8';
5628
+ const version = '8.12.0-dev-172-6fb7e9f';
5626
5629
 
5627
5630
  /**
5628
5631
  * Create ExtraHorizon client.
@@ -5802,4 +5805,4 @@ const parseStoredCredentials = (fileContent) => exhCredentialsDecoder(fileConten
5802
5805
  .filter(line => line.length === 2)
5803
5806
  .reduce((memo, [key, value]) => ({ ...memo, [key]: value }), {}));
5804
5807
 
5805
- 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, LambdaInvocationError, 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 };
5808
+ 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, LambdaInvocationError, 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, ServiceUnreachableError, 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 };
@@ -240,6 +240,8 @@ export declare class FirebaseConnectionError extends BadGatewayServerError {
240
240
  }
241
241
  export declare class ServiceUnavailableError extends ApiError {
242
242
  }
243
+ export declare class ServiceUnreachableError extends ServiceUnavailableError {
244
+ }
243
245
  export declare class OidcIdTokenError extends ServiceUnavailableError {
244
246
  }
245
247
  export declare class InvalidGrantError extends OAuth2LoginError {
@@ -270,6 +272,7 @@ export declare const OAuth2ErrorClassMap: {
270
272
  };
271
273
  export declare const ErrorClassMap: {
272
274
  1: typeof ServerError;
275
+ 4: typeof ServiceUnreachableError;
273
276
  10: typeof NoPermissionError;
274
277
  11: typeof RemoveFieldError;
275
278
  12: typeof IDFormatError;
@@ -1 +1 @@
1
- export declare const version = "8.12.0-dev-171-2fc7ff8";
1
+ export declare const version = "8.12.0-dev-172-6fb7e9f";
@@ -1 +1 @@
1
- export declare const version = "8.12.0-dev-171-2fc7ff8";
1
+ export declare const version = "8.12.0-dev-172-6fb7e9f";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/javascript-sdk",
3
- "version": "8.12.0-dev-171-2fc7ff8",
3
+ "version": "8.12.0-dev-172-6fb7e9f",
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",