@extrahorizon/javascript-sdk 8.14.0-dev-194-4c830f8 → 8.14.0-dev-196-5b15a56

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
@@ -48,6 +48,8 @@ export declare class BadRequestError extends ApiError {
48
48
  }
49
49
  export declare class ResourceAlreadyExistsError extends BadRequestError {
50
50
  }
51
+ export declare class InvalidRqlError extends BadRequestError {
52
+ }
51
53
  export declare class IllegalArgumentError extends BadRequestError {
52
54
  }
53
55
  export declare class ApplicationUnknownError extends BadRequestError {
@@ -281,6 +283,7 @@ export declare const ErrorClassMap: {
281
283
  15: typeof FieldFormatError;
282
284
  16: typeof ResourceUnknownError;
283
285
  17: typeof ResourceAlreadyExistsError;
286
+ 19: typeof InvalidRqlError;
284
287
  22: typeof BodyFormatError;
285
288
  26: typeof IllegalArgumentError;
286
289
  27: typeof IllegalStateError;
@@ -563,6 +563,8 @@ class BadRequestError extends ApiError {
563
563
  }
564
564
  class ResourceAlreadyExistsError extends BadRequestError {
565
565
  }
566
+ class InvalidRqlError extends BadRequestError {
567
+ }
566
568
  class IllegalArgumentError extends BadRequestError {
567
569
  }
568
570
  class ApplicationUnknownError extends BadRequestError {
@@ -877,6 +879,7 @@ const ErrorClassMap = {
877
879
  15: FieldFormatError,
878
880
  16: ResourceUnknownError,
879
881
  17: ResourceAlreadyExistsError,
882
+ 19: InvalidRqlError,
880
883
  22: BodyFormatError,
881
884
  26: IllegalArgumentError,
882
885
  27: IllegalStateError,
@@ -5693,7 +5696,7 @@ const templatesV2Service = (httpWithAuth) => {
5693
5696
  };
5694
5697
  };
5695
5698
 
5696
- const version = '8.14.0-dev-194-4c830f8';
5699
+ const version = '8.14.0-dev-196-5b15a56';
5697
5700
 
5698
5701
  /**
5699
5702
  * Create ExtraHorizon client.
@@ -5918,6 +5921,7 @@ exports.InvalidPKCEError = InvalidPKCEError;
5918
5921
  exports.InvalidPresenceTokenError = InvalidPresenceTokenError;
5919
5922
  exports.InvalidReceiptDataError = InvalidReceiptDataError;
5920
5923
  exports.InvalidRequestError = InvalidRequestError;
5924
+ exports.InvalidRqlError = InvalidRqlError;
5921
5925
  exports.InvalidTokenError = InvalidTokenError;
5922
5926
  exports.LambdaInvocationError = LambdaInvocationError;
5923
5927
  exports.LocalizationKeyMissingError = LocalizationKeyMissingError;
package/build/index.mjs CHANGED
@@ -533,6 +533,8 @@ class BadRequestError extends ApiError {
533
533
  }
534
534
  class ResourceAlreadyExistsError extends BadRequestError {
535
535
  }
536
+ class InvalidRqlError extends BadRequestError {
537
+ }
536
538
  class IllegalArgumentError extends BadRequestError {
537
539
  }
538
540
  class ApplicationUnknownError extends BadRequestError {
@@ -847,6 +849,7 @@ const ErrorClassMap = {
847
849
  15: FieldFormatError,
848
850
  16: ResourceUnknownError,
849
851
  17: ResourceAlreadyExistsError,
852
+ 19: InvalidRqlError,
850
853
  22: BodyFormatError,
851
854
  26: IllegalArgumentError,
852
855
  27: IllegalStateError,
@@ -5663,7 +5666,7 @@ const templatesV2Service = (httpWithAuth) => {
5663
5666
  };
5664
5667
  };
5665
5668
 
5666
- const version = '8.14.0-dev-194-4c830f8';
5669
+ const version = '8.14.0-dev-196-5b15a56';
5667
5670
 
5668
5671
  /**
5669
5672
  * Create ExtraHorizon client.
@@ -5843,4 +5846,4 @@ const parseStoredCredentials = (fileContent) => exhCredentialsDecoder(fileConten
5843
5846
  .filter(line => line.length === 2)
5844
5847
  .reduce((memo, [key, value]) => ({ ...memo, [key]: value }), {}));
5845
5848
 
5846
- 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 };
5849
+ 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, InvalidRqlError, 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 };
@@ -127,7 +127,6 @@ export interface MailsService {
127
127
  *
128
128
  * Permission | Scope | Effect
129
129
  * - | - | -
130
- * none | | Send mails to your own email address
131
130
  * none | `staff enlistment` | Send any mail to your patients or send a template mail based on pre-configured allowed templates to any email address.
132
131
  * `SEND_MAILS` | `global` | Send mails to any email address
133
132
  * @throws {NotActivatedError}
@@ -48,6 +48,8 @@ export declare class BadRequestError extends ApiError {
48
48
  }
49
49
  export declare class ResourceAlreadyExistsError extends BadRequestError {
50
50
  }
51
+ export declare class InvalidRqlError extends BadRequestError {
52
+ }
51
53
  export declare class IllegalArgumentError extends BadRequestError {
52
54
  }
53
55
  export declare class ApplicationUnknownError extends BadRequestError {
@@ -281,6 +283,7 @@ export declare const ErrorClassMap: {
281
283
  15: typeof FieldFormatError;
282
284
  16: typeof ResourceUnknownError;
283
285
  17: typeof ResourceAlreadyExistsError;
286
+ 19: typeof InvalidRqlError;
284
287
  22: typeof BodyFormatError;
285
288
  26: typeof IllegalArgumentError;
286
289
  27: typeof IllegalStateError;
@@ -127,7 +127,6 @@ export interface MailsService {
127
127
  *
128
128
  * Permission | Scope | Effect
129
129
  * - | - | -
130
- * none | | Send mails to your own email address
131
130
  * none | `staff enlistment` | Send any mail to your patients or send a template mail based on pre-configured allowed templates to any email address.
132
131
  * `SEND_MAILS` | `global` | Send mails to any email address
133
132
  * @throws {NotActivatedError}
@@ -1 +1 @@
1
- export declare const version = "8.14.0-dev-194-4c830f8";
1
+ export declare const version = "8.14.0-dev-196-5b15a56";
@@ -1 +1 @@
1
- export declare const version = "8.14.0-dev-194-4c830f8";
1
+ export declare const version = "8.14.0-dev-196-5b15a56";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/javascript-sdk",
3
- "version": "8.14.0-dev-194-4c830f8",
3
+ "version": "8.14.0-dev-196-5b15a56",
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",