@extrahorizon/javascript-sdk 8.14.0 → 8.14.1
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/CHANGELOG.md +6 -0
- package/build/errors.d.ts +33 -0
- package/build/index.cjs.js +45 -1
- package/build/index.mjs +35 -2
- package/build/types/errors.d.ts +33 -0
- package/build/types/version.d.ts +1 -1
- package/build/version.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [8.14.1]
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Bumped Axios version to resolve vulnerability warnings (vulnerable code was not in use)
|
|
12
|
+
- Exported the missing error types for the Task Service
|
|
13
|
+
|
|
8
14
|
## [8.14.0]
|
|
9
15
|
|
|
10
16
|
### Added
|
package/build/errors.d.ts
CHANGED
|
@@ -156,8 +156,30 @@ export declare class RefreshTokenUnknownError extends BadRequestError {
|
|
|
156
156
|
}
|
|
157
157
|
export declare class RefreshTokenExpiredError extends BadRequestError {
|
|
158
158
|
}
|
|
159
|
+
export declare class InvalidFunctionCodeError extends BadRequestError {
|
|
160
|
+
}
|
|
161
|
+
export declare class InvalidFunctionParameterError extends BadRequestError {
|
|
162
|
+
}
|
|
163
|
+
export declare class ConcurrentExecutionLimitError extends BadRequestError {
|
|
164
|
+
}
|
|
165
|
+
export declare class TimeLimitExceedsDirectExecutionMaximumError extends BadRequestError {
|
|
166
|
+
}
|
|
159
167
|
export declare class LambdaInvocationError extends BadRequestError {
|
|
160
168
|
}
|
|
169
|
+
export declare class LambdaRuntimeError extends BadRequestError {
|
|
170
|
+
}
|
|
171
|
+
export declare class InvalidFunctionNameError extends BadRequestError {
|
|
172
|
+
}
|
|
173
|
+
export declare class NoTaskLogsFoundError extends BadRequestError {
|
|
174
|
+
}
|
|
175
|
+
export declare class InvalidApiFunctionResultError extends BadRequestError {
|
|
176
|
+
}
|
|
177
|
+
export declare class TimeLimitExceedsApiFunctionMaximumError extends BadRequestError {
|
|
178
|
+
}
|
|
179
|
+
export declare class ConcurrentApiFunctionLimitError extends BadRequestError {
|
|
180
|
+
}
|
|
181
|
+
export declare class NoApiRequestLogsFoundError extends BadRequestError {
|
|
182
|
+
}
|
|
161
183
|
export declare class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
162
184
|
notificationId?: string;
|
|
163
185
|
errors?: NotificationV2Error[];
|
|
@@ -346,7 +368,18 @@ export declare const ErrorClassMap: {
|
|
|
346
368
|
1003: typeof TemplateFillingError;
|
|
347
369
|
1004: typeof TemplateSyntaxError;
|
|
348
370
|
1005: typeof TemplateResolvingError;
|
|
371
|
+
1401: typeof InvalidFunctionCodeError;
|
|
372
|
+
1402: typeof InvalidFunctionParameterError;
|
|
373
|
+
1403: typeof ConcurrentExecutionLimitError;
|
|
374
|
+
1404: typeof TimeLimitExceedsDirectExecutionMaximumError;
|
|
349
375
|
1405: typeof LambdaInvocationError;
|
|
376
|
+
1406: typeof LambdaRuntimeError;
|
|
377
|
+
1407: typeof InvalidFunctionNameError;
|
|
378
|
+
1408: typeof NoTaskLogsFoundError;
|
|
379
|
+
1409: typeof InvalidApiFunctionResultError;
|
|
380
|
+
1411: typeof TimeLimitExceedsApiFunctionMaximumError;
|
|
381
|
+
1412: typeof ConcurrentApiFunctionLimitError;
|
|
382
|
+
1413: typeof NoApiRequestLogsFoundError;
|
|
350
383
|
2605: typeof InvalidTokenError;
|
|
351
384
|
2606: typeof UnauthorizedTokenError;
|
|
352
385
|
2607: typeof TokenNotDeleteableError;
|
package/build/index.cjs.js
CHANGED
|
@@ -675,8 +675,30 @@ class RefreshTokenUnknownError extends BadRequestError {
|
|
|
675
675
|
}
|
|
676
676
|
class RefreshTokenExpiredError extends BadRequestError {
|
|
677
677
|
}
|
|
678
|
+
class InvalidFunctionCodeError extends BadRequestError {
|
|
679
|
+
}
|
|
680
|
+
class InvalidFunctionParameterError extends BadRequestError {
|
|
681
|
+
}
|
|
682
|
+
class ConcurrentExecutionLimitError extends BadRequestError {
|
|
683
|
+
}
|
|
684
|
+
class TimeLimitExceedsDirectExecutionMaximumError extends BadRequestError {
|
|
685
|
+
}
|
|
678
686
|
class LambdaInvocationError extends BadRequestError {
|
|
679
687
|
}
|
|
688
|
+
class LambdaRuntimeError extends BadRequestError {
|
|
689
|
+
}
|
|
690
|
+
class InvalidFunctionNameError extends BadRequestError {
|
|
691
|
+
}
|
|
692
|
+
class NoTaskLogsFoundError extends BadRequestError {
|
|
693
|
+
}
|
|
694
|
+
class InvalidApiFunctionResultError extends BadRequestError {
|
|
695
|
+
}
|
|
696
|
+
class TimeLimitExceedsApiFunctionMaximumError extends BadRequestError {
|
|
697
|
+
}
|
|
698
|
+
class ConcurrentApiFunctionLimitError extends BadRequestError {
|
|
699
|
+
}
|
|
700
|
+
class NoApiRequestLogsFoundError extends BadRequestError {
|
|
701
|
+
}
|
|
680
702
|
class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
681
703
|
constructor(apiError) {
|
|
682
704
|
super(apiError);
|
|
@@ -942,7 +964,18 @@ const ErrorClassMap = {
|
|
|
942
964
|
1003: TemplateFillingError,
|
|
943
965
|
1004: TemplateSyntaxError,
|
|
944
966
|
1005: TemplateResolvingError,
|
|
967
|
+
1401: InvalidFunctionCodeError,
|
|
968
|
+
1402: InvalidFunctionParameterError,
|
|
969
|
+
1403: ConcurrentExecutionLimitError,
|
|
970
|
+
1404: TimeLimitExceedsDirectExecutionMaximumError,
|
|
945
971
|
1405: LambdaInvocationError,
|
|
972
|
+
1406: LambdaRuntimeError,
|
|
973
|
+
1407: InvalidFunctionNameError,
|
|
974
|
+
1408: NoTaskLogsFoundError,
|
|
975
|
+
1409: InvalidApiFunctionResultError,
|
|
976
|
+
1411: TimeLimitExceedsApiFunctionMaximumError,
|
|
977
|
+
1412: ConcurrentApiFunctionLimitError,
|
|
978
|
+
1413: NoApiRequestLogsFoundError,
|
|
946
979
|
2605: InvalidTokenError,
|
|
947
980
|
2606: UnauthorizedTokenError,
|
|
948
981
|
2607: TokenNotDeleteableError,
|
|
@@ -5735,7 +5768,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5735
5768
|
};
|
|
5736
5769
|
};
|
|
5737
5770
|
|
|
5738
|
-
const version = '8.14.
|
|
5771
|
+
const version = '8.14.1';
|
|
5739
5772
|
|
|
5740
5773
|
/**
|
|
5741
5774
|
* Create ExtraHorizon client.
|
|
@@ -5932,6 +5965,8 @@ exports.BadGatewayServerError = BadGatewayServerError;
|
|
|
5932
5965
|
exports.BadRequestError = BadRequestError;
|
|
5933
5966
|
exports.BodyFormatError = BodyFormatError;
|
|
5934
5967
|
exports.CallbackNotValidError = CallbackNotValidError;
|
|
5968
|
+
exports.ConcurrentApiFunctionLimitError = ConcurrentApiFunctionLimitError;
|
|
5969
|
+
exports.ConcurrentExecutionLimitError = ConcurrentExecutionLimitError;
|
|
5935
5970
|
exports.DefaultLocalizationMissingError = DefaultLocalizationMissingError;
|
|
5936
5971
|
exports.DisabledForOidcUsersError = DisabledForOidcUsersError;
|
|
5937
5972
|
exports.DuplicateRequestError = DuplicateRequestError;
|
|
@@ -5950,8 +5985,12 @@ exports.IDFormatError = IDFormatError;
|
|
|
5950
5985
|
exports.IllegalArgumentError = IllegalArgumentError;
|
|
5951
5986
|
exports.IllegalStateError = IllegalStateError;
|
|
5952
5987
|
exports.IncorrectPinCodeError = IncorrectPinCodeError;
|
|
5988
|
+
exports.InvalidApiFunctionResultError = InvalidApiFunctionResultError;
|
|
5953
5989
|
exports.InvalidClientError = InvalidClientError;
|
|
5954
5990
|
exports.InvalidCurrencyForProductPrice = InvalidCurrencyForProductPrice;
|
|
5991
|
+
exports.InvalidFunctionCodeError = InvalidFunctionCodeError;
|
|
5992
|
+
exports.InvalidFunctionNameError = InvalidFunctionNameError;
|
|
5993
|
+
exports.InvalidFunctionParameterError = InvalidFunctionParameterError;
|
|
5955
5994
|
exports.InvalidGrantError = InvalidGrantError;
|
|
5956
5995
|
exports.InvalidMfaCodeError = InvalidMfaCodeError;
|
|
5957
5996
|
exports.InvalidMfaTokenError = InvalidMfaTokenError;
|
|
@@ -5963,6 +6002,7 @@ exports.InvalidRequestError = InvalidRequestError;
|
|
|
5963
6002
|
exports.InvalidRqlError = InvalidRqlError;
|
|
5964
6003
|
exports.InvalidTokenError = InvalidTokenError;
|
|
5965
6004
|
exports.LambdaInvocationError = LambdaInvocationError;
|
|
6005
|
+
exports.LambdaRuntimeError = LambdaRuntimeError;
|
|
5966
6006
|
exports.LocalizationKeyMissingError = LocalizationKeyMissingError;
|
|
5967
6007
|
exports.LockedDocumentError = LockedDocumentError;
|
|
5968
6008
|
exports.LoginFreezeError = LoginFreezeError;
|
|
@@ -5974,10 +6014,12 @@ exports.MissingRequiredFieldsError = MissingRequiredFieldsError;
|
|
|
5974
6014
|
exports.NewMFARequiredError = NewMFARequiredError;
|
|
5975
6015
|
exports.NewPasswordHashUnknownError = NewPasswordHashUnknownError;
|
|
5976
6016
|
exports.NewPasswordPinCodeUnknownError = NewPasswordPinCodeUnknownError;
|
|
6017
|
+
exports.NoApiRequestLogsFoundError = NoApiRequestLogsFoundError;
|
|
5977
6018
|
exports.NoConfiguredAppStoreProduct = NoConfiguredAppStoreProduct;
|
|
5978
6019
|
exports.NoConfiguredPlayStoreProduct = NoConfiguredPlayStoreProduct;
|
|
5979
6020
|
exports.NoMatchingPlayStoreLinkedSubscription = NoMatchingPlayStoreLinkedSubscription;
|
|
5980
6021
|
exports.NoPermissionError = NoPermissionError;
|
|
6022
|
+
exports.NoTaskLogsFoundError = NoTaskLogsFoundError;
|
|
5981
6023
|
exports.NotActivatedError = NotActivatedError;
|
|
5982
6024
|
exports.NotEnoughMfaMethodsError = NotEnoughMfaMethodsError;
|
|
5983
6025
|
exports.NotFoundError = NotFoundError;
|
|
@@ -6012,6 +6054,8 @@ exports.StripeRequestError = StripeRequestError;
|
|
|
6012
6054
|
exports.TemplateFillingError = TemplateFillingError;
|
|
6013
6055
|
exports.TemplateResolvingError = TemplateResolvingError;
|
|
6014
6056
|
exports.TemplateSyntaxError = TemplateSyntaxError;
|
|
6057
|
+
exports.TimeLimitExceedsApiFunctionMaximumError = TimeLimitExceedsApiFunctionMaximumError;
|
|
6058
|
+
exports.TimeLimitExceedsDirectExecutionMaximumError = TimeLimitExceedsDirectExecutionMaximumError;
|
|
6015
6059
|
exports.TokenNotDeleteableError = TokenNotDeleteableError;
|
|
6016
6060
|
exports.TooManyFailedAttemptsError = TooManyFailedAttemptsError;
|
|
6017
6061
|
exports.UnauthorizedClientError = UnauthorizedClientError;
|
package/build/index.mjs
CHANGED
|
@@ -645,8 +645,30 @@ class RefreshTokenUnknownError extends BadRequestError {
|
|
|
645
645
|
}
|
|
646
646
|
class RefreshTokenExpiredError extends BadRequestError {
|
|
647
647
|
}
|
|
648
|
+
class InvalidFunctionCodeError extends BadRequestError {
|
|
649
|
+
}
|
|
650
|
+
class InvalidFunctionParameterError extends BadRequestError {
|
|
651
|
+
}
|
|
652
|
+
class ConcurrentExecutionLimitError extends BadRequestError {
|
|
653
|
+
}
|
|
654
|
+
class TimeLimitExceedsDirectExecutionMaximumError extends BadRequestError {
|
|
655
|
+
}
|
|
648
656
|
class LambdaInvocationError extends BadRequestError {
|
|
649
657
|
}
|
|
658
|
+
class LambdaRuntimeError extends BadRequestError {
|
|
659
|
+
}
|
|
660
|
+
class InvalidFunctionNameError extends BadRequestError {
|
|
661
|
+
}
|
|
662
|
+
class NoTaskLogsFoundError extends BadRequestError {
|
|
663
|
+
}
|
|
664
|
+
class InvalidApiFunctionResultError extends BadRequestError {
|
|
665
|
+
}
|
|
666
|
+
class TimeLimitExceedsApiFunctionMaximumError extends BadRequestError {
|
|
667
|
+
}
|
|
668
|
+
class ConcurrentApiFunctionLimitError extends BadRequestError {
|
|
669
|
+
}
|
|
670
|
+
class NoApiRequestLogsFoundError extends BadRequestError {
|
|
671
|
+
}
|
|
650
672
|
class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
651
673
|
constructor(apiError) {
|
|
652
674
|
super(apiError);
|
|
@@ -912,7 +934,18 @@ const ErrorClassMap = {
|
|
|
912
934
|
1003: TemplateFillingError,
|
|
913
935
|
1004: TemplateSyntaxError,
|
|
914
936
|
1005: TemplateResolvingError,
|
|
937
|
+
1401: InvalidFunctionCodeError,
|
|
938
|
+
1402: InvalidFunctionParameterError,
|
|
939
|
+
1403: ConcurrentExecutionLimitError,
|
|
940
|
+
1404: TimeLimitExceedsDirectExecutionMaximumError,
|
|
915
941
|
1405: LambdaInvocationError,
|
|
942
|
+
1406: LambdaRuntimeError,
|
|
943
|
+
1407: InvalidFunctionNameError,
|
|
944
|
+
1408: NoTaskLogsFoundError,
|
|
945
|
+
1409: InvalidApiFunctionResultError,
|
|
946
|
+
1411: TimeLimitExceedsApiFunctionMaximumError,
|
|
947
|
+
1412: ConcurrentApiFunctionLimitError,
|
|
948
|
+
1413: NoApiRequestLogsFoundError,
|
|
916
949
|
2605: InvalidTokenError,
|
|
917
950
|
2606: UnauthorizedTokenError,
|
|
918
951
|
2607: TokenNotDeleteableError,
|
|
@@ -5705,7 +5738,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5705
5738
|
};
|
|
5706
5739
|
};
|
|
5707
5740
|
|
|
5708
|
-
const version = '8.14.
|
|
5741
|
+
const version = '8.14.1';
|
|
5709
5742
|
|
|
5710
5743
|
/**
|
|
5711
5744
|
* Create ExtraHorizon client.
|
|
@@ -5885,4 +5918,4 @@ const parseStoredCredentials = (fileContent) => exhCredentialsDecoder(fileConten
|
|
|
5885
5918
|
.filter(line => line.length === 2)
|
|
5886
5919
|
.reduce((memo, [key, value]) => ({ ...memo, [key]: value }), {}));
|
|
5887
5920
|
|
|
5888
|
-
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, PKCECodeMethods, 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 };
|
|
5921
|
+
export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, ConcurrentApiFunctionLimitError, ConcurrentExecutionLimitError, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidApiFunctionResultError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidFunctionCodeError, InvalidFunctionNameError, InvalidFunctionParameterError, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidRqlError, InvalidTokenError, JSONSchemaType, LambdaInvocationError, LambdaRuntimeError, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoApiRequestLogsFoundError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NoTaskLogsFoundError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PKCECodeMethods, 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, TimeLimitExceedsApiFunctionMaximumError, TimeLimitExceedsDirectExecutionMaximumError, 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
|
@@ -156,8 +156,30 @@ export declare class RefreshTokenUnknownError extends BadRequestError {
|
|
|
156
156
|
}
|
|
157
157
|
export declare class RefreshTokenExpiredError extends BadRequestError {
|
|
158
158
|
}
|
|
159
|
+
export declare class InvalidFunctionCodeError extends BadRequestError {
|
|
160
|
+
}
|
|
161
|
+
export declare class InvalidFunctionParameterError extends BadRequestError {
|
|
162
|
+
}
|
|
163
|
+
export declare class ConcurrentExecutionLimitError extends BadRequestError {
|
|
164
|
+
}
|
|
165
|
+
export declare class TimeLimitExceedsDirectExecutionMaximumError extends BadRequestError {
|
|
166
|
+
}
|
|
159
167
|
export declare class LambdaInvocationError extends BadRequestError {
|
|
160
168
|
}
|
|
169
|
+
export declare class LambdaRuntimeError extends BadRequestError {
|
|
170
|
+
}
|
|
171
|
+
export declare class InvalidFunctionNameError extends BadRequestError {
|
|
172
|
+
}
|
|
173
|
+
export declare class NoTaskLogsFoundError extends BadRequestError {
|
|
174
|
+
}
|
|
175
|
+
export declare class InvalidApiFunctionResultError extends BadRequestError {
|
|
176
|
+
}
|
|
177
|
+
export declare class TimeLimitExceedsApiFunctionMaximumError extends BadRequestError {
|
|
178
|
+
}
|
|
179
|
+
export declare class ConcurrentApiFunctionLimitError extends BadRequestError {
|
|
180
|
+
}
|
|
181
|
+
export declare class NoApiRequestLogsFoundError extends BadRequestError {
|
|
182
|
+
}
|
|
161
183
|
export declare class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
162
184
|
notificationId?: string;
|
|
163
185
|
errors?: NotificationV2Error[];
|
|
@@ -346,7 +368,18 @@ export declare const ErrorClassMap: {
|
|
|
346
368
|
1003: typeof TemplateFillingError;
|
|
347
369
|
1004: typeof TemplateSyntaxError;
|
|
348
370
|
1005: typeof TemplateResolvingError;
|
|
371
|
+
1401: typeof InvalidFunctionCodeError;
|
|
372
|
+
1402: typeof InvalidFunctionParameterError;
|
|
373
|
+
1403: typeof ConcurrentExecutionLimitError;
|
|
374
|
+
1404: typeof TimeLimitExceedsDirectExecutionMaximumError;
|
|
349
375
|
1405: typeof LambdaInvocationError;
|
|
376
|
+
1406: typeof LambdaRuntimeError;
|
|
377
|
+
1407: typeof InvalidFunctionNameError;
|
|
378
|
+
1408: typeof NoTaskLogsFoundError;
|
|
379
|
+
1409: typeof InvalidApiFunctionResultError;
|
|
380
|
+
1411: typeof TimeLimitExceedsApiFunctionMaximumError;
|
|
381
|
+
1412: typeof ConcurrentApiFunctionLimitError;
|
|
382
|
+
1413: typeof NoApiRequestLogsFoundError;
|
|
350
383
|
2605: typeof InvalidTokenError;
|
|
351
384
|
2606: typeof UnauthorizedTokenError;
|
|
352
385
|
2607: typeof TokenNotDeleteableError;
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.14.
|
|
1
|
+
export declare const version = "8.14.1";
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.14.
|
|
1
|
+
export declare const version = "8.14.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.14.
|
|
3
|
+
"version": "8.14.1",
|
|
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",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"axios": "0.
|
|
35
|
+
"axios": "0.33.0",
|
|
36
36
|
"buffer": "6.0.3",
|
|
37
37
|
"fflate": "0.8.2",
|
|
38
38
|
"form-data": "4.0.6",
|