@etainabl/nodejs-sdk 1.3.179 → 1.3.181
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/dist/esm/{chunk-2N3MHFXC.js → chunk-4QSQRVYQ.js} +2 -2
- package/dist/esm/{chunk-PLDDJCW6.js → chunk-G3PMV62Z.js} +3 -16
- package/dist/esm/{chunk-MOHFNRAW.js → chunk-MCSCBMNG.js} +2 -2
- package/dist/esm/{chunk-WZHLTH2I.js → chunk-YCRW5ZB7.js} +2 -2
- package/dist/esm/{dist-es-5JWI4CRR.js → dist-es-4VSEUPMG.js} +2 -2
- package/dist/esm/{dist-es-LLOEQMJI.js → dist-es-5G2D4IRG.js} +2 -2
- package/dist/esm/{dist-es-YSZAYJCN.js → dist-es-6PYQFA7S.js} +3 -3
- package/dist/esm/{dist-es-JPDE6SED.js → dist-es-O7YXE2TO.js} +2 -2
- package/dist/esm/{dist-es-YMAKE32J.js → dist-es-RVUNLU7U.js} +5 -5
- package/dist/esm/{dist-es-MHVHZTM3.js → dist-es-UEBBJXWA.js} +2 -2
- package/dist/esm/{dist-es-MCMK7LMC.js → dist-es-XS4DOSVC.js} +10 -10
- package/dist/esm/{event-streams-XQKMMN5Z.js → event-streams-OE4R7Y65.js} +2 -2
- package/dist/esm/index.js +5300 -59006
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{loadSso-G7F52TGQ.js → loadSso-3FHKR3DN.js} +4 -4
- package/dist/esm/{sso-oidc-45CVA5J4.js → sso-oidc-EORQ3JVU.js} +4 -4
- package/dist/esm/{sts-FE6UEDK6.js → sts-VPLY2J63.js} +4 -4
- package/dist/index.d.cts +15 -2
- package/dist/index.d.ts +15 -2
- package/dist/index.js +19464 -73162
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- /package/dist/esm/{chunk-2N3MHFXC.js.map → chunk-4QSQRVYQ.js.map} +0 -0
- /package/dist/esm/{chunk-PLDDJCW6.js.map → chunk-G3PMV62Z.js.map} +0 -0
- /package/dist/esm/{chunk-MOHFNRAW.js.map → chunk-MCSCBMNG.js.map} +0 -0
- /package/dist/esm/{chunk-WZHLTH2I.js.map → chunk-YCRW5ZB7.js.map} +0 -0
- /package/dist/esm/{dist-es-5JWI4CRR.js.map → dist-es-4VSEUPMG.js.map} +0 -0
- /package/dist/esm/{dist-es-LLOEQMJI.js.map → dist-es-5G2D4IRG.js.map} +0 -0
- /package/dist/esm/{dist-es-YSZAYJCN.js.map → dist-es-6PYQFA7S.js.map} +0 -0
- /package/dist/esm/{dist-es-JPDE6SED.js.map → dist-es-O7YXE2TO.js.map} +0 -0
- /package/dist/esm/{dist-es-YMAKE32J.js.map → dist-es-RVUNLU7U.js.map} +0 -0
- /package/dist/esm/{dist-es-MHVHZTM3.js.map → dist-es-UEBBJXWA.js.map} +0 -0
- /package/dist/esm/{dist-es-MCMK7LMC.js.map → dist-es-XS4DOSVC.js.map} +0 -0
- /package/dist/esm/{event-streams-XQKMMN5Z.js.map → event-streams-OE4R7Y65.js.map} +0 -0
- /package/dist/esm/{loadSso-G7F52TGQ.js.map → loadSso-3FHKR3DN.js.map} +0 -0
- /package/dist/esm/{sso-oidc-45CVA5J4.js.map → sso-oidc-EORQ3JVU.js.map} +0 -0
- /package/dist/esm/{sts-FE6UEDK6.js.map → sts-VPLY2J63.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseJsonErrorBody,
|
|
13
13
|
requestBuilder,
|
|
14
14
|
take
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YCRW5ZB7.js";
|
|
16
16
|
import {
|
|
17
17
|
AwsSdkSigV4Signer,
|
|
18
18
|
Client,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
resolveRetryConfig,
|
|
68
68
|
resolveUserAgentConfig,
|
|
69
69
|
withBaseException
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-4QSQRVYQ.js";
|
|
71
71
|
import {
|
|
72
72
|
loadConfig,
|
|
73
73
|
parseUrl
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
import "./chunk-CRX53WMM.js";
|
|
90
90
|
import "./chunk-UZGMBQZB.js";
|
|
91
91
|
import "./chunk-IX2LY325.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-G3PMV62Z.js";
|
|
93
93
|
|
|
94
94
|
// node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js
|
|
95
95
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -659,4 +659,4 @@ export {
|
|
|
659
659
|
GetRoleCredentialsCommand,
|
|
660
660
|
SSOClient
|
|
661
661
|
};
|
|
662
|
-
//# sourceMappingURL=loadSso-
|
|
662
|
+
//# sourceMappingURL=loadSso-3FHKR3DN.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
parseJsonErrorBody,
|
|
14
14
|
requestBuilder,
|
|
15
15
|
take
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YCRW5ZB7.js";
|
|
17
17
|
import {
|
|
18
18
|
AwsSdkSigV4Signer,
|
|
19
19
|
Client,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
resolveRetryConfig,
|
|
69
69
|
resolveUserAgentConfig,
|
|
70
70
|
withBaseException
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-4QSQRVYQ.js";
|
|
72
72
|
import {
|
|
73
73
|
loadConfig,
|
|
74
74
|
parseUrl
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
import "./chunk-CRX53WMM.js";
|
|
92
92
|
import "./chunk-UZGMBQZB.js";
|
|
93
93
|
import "./chunk-IX2LY325.js";
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-G3PMV62Z.js";
|
|
95
95
|
|
|
96
96
|
// node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
97
97
|
var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -829,4 +829,4 @@ export {
|
|
|
829
829
|
UnsupportedGrantTypeException,
|
|
830
830
|
Client as __Client
|
|
831
831
|
};
|
|
832
|
-
//# sourceMappingURL=sso-oidc-
|
|
832
|
+
//# sourceMappingURL=sso-oidc-EORQ3JVU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseXmlBody,
|
|
3
3
|
parseXmlErrorBody
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MCSCBMNG.js";
|
|
5
5
|
import {
|
|
6
6
|
parseRfc3339DateTimeWithOffset
|
|
7
7
|
} from "./chunk-YLT3BSXS.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
resolveRetryConfig,
|
|
68
68
|
resolveUserAgentConfig,
|
|
69
69
|
withBaseException
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-4QSQRVYQ.js";
|
|
71
71
|
import {
|
|
72
72
|
loadConfig,
|
|
73
73
|
parseUrl
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
setCredentialFeature
|
|
93
93
|
} from "./chunk-UZGMBQZB.js";
|
|
94
94
|
import "./chunk-IX2LY325.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-G3PMV62Z.js";
|
|
96
96
|
|
|
97
97
|
// node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
98
98
|
var defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -1166,4 +1166,4 @@ export {
|
|
|
1166
1166
|
getDefaultRoleAssumer2 as getDefaultRoleAssumer,
|
|
1167
1167
|
getDefaultRoleAssumerWithWebIdentity2 as getDefaultRoleAssumerWithWebIdentity
|
|
1168
1168
|
};
|
|
1169
|
-
//# sourceMappingURL=sts-
|
|
1169
|
+
//# sourceMappingURL=sts-VPLY2J63.js.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1454,6 +1454,7 @@ interface NotificationTemplate<ID = string, DateType = Date | string> {
|
|
|
1454
1454
|
route?: NotificationTemplateRoute;
|
|
1455
1455
|
icon?: string;
|
|
1456
1456
|
config?: Map<string, NotificationTemplateConfig> | Record<string, NotificationTemplateConfig>;
|
|
1457
|
+
active: boolean;
|
|
1457
1458
|
createdAt?: DateType;
|
|
1458
1459
|
updatedAt?: DateType;
|
|
1459
1460
|
}
|
|
@@ -1973,7 +1974,7 @@ declare const _default$4: (options: EmailTemplateOptions) => string;
|
|
|
1973
1974
|
interface NotificationEmailOptions {
|
|
1974
1975
|
title: string;
|
|
1975
1976
|
message: string;
|
|
1976
|
-
severity?:
|
|
1977
|
+
severity?: NotificationTemplateSeverity;
|
|
1977
1978
|
category?: string;
|
|
1978
1979
|
userName?: string;
|
|
1979
1980
|
actions?: Array<{
|
|
@@ -2024,11 +2025,23 @@ type SendNotificationParams<T extends NotificationType> = {
|
|
|
2024
2025
|
declare function sendNotificationMessage<T extends NotificationType>({ eventName, context, input, options }: SendNotificationParams<T>): Promise<{
|
|
2025
2026
|
messageId: string;
|
|
2026
2027
|
}>;
|
|
2028
|
+
type SendNotificationBatchParams<T extends NotificationType> = {
|
|
2029
|
+
messages: Array<{
|
|
2030
|
+
eventName: T;
|
|
2031
|
+
context: NotificationContextMap[T];
|
|
2032
|
+
input: SendNotificationMessageInput<T>;
|
|
2033
|
+
}>;
|
|
2034
|
+
options?: SendNotificationMessageOptions;
|
|
2035
|
+
};
|
|
2036
|
+
declare function sendNotificationMessageBatch<T extends NotificationType>({ messages, options }: SendNotificationBatchParams<T>): Promise<{
|
|
2037
|
+
messageIds: string[];
|
|
2038
|
+
}>;
|
|
2027
2039
|
|
|
2028
2040
|
declare const notificationQueue_createNotificationMessage: typeof createNotificationMessage;
|
|
2029
2041
|
declare const notificationQueue_sendNotificationMessage: typeof sendNotificationMessage;
|
|
2042
|
+
declare const notificationQueue_sendNotificationMessageBatch: typeof sendNotificationMessageBatch;
|
|
2030
2043
|
declare namespace notificationQueue {
|
|
2031
|
-
export { notificationQueue_createNotificationMessage as createNotificationMessage, notificationQueue_sendNotificationMessage as sendNotificationMessage };
|
|
2044
|
+
export { notificationQueue_createNotificationMessage as createNotificationMessage, notificationQueue_sendNotificationMessage as sendNotificationMessage, notificationQueue_sendNotificationMessageBatch as sendNotificationMessageBatch };
|
|
2032
2045
|
}
|
|
2033
2046
|
|
|
2034
2047
|
interface ConsumptionData {
|
package/dist/index.d.ts
CHANGED
|
@@ -1454,6 +1454,7 @@ interface NotificationTemplate<ID = string, DateType = Date | string> {
|
|
|
1454
1454
|
route?: NotificationTemplateRoute;
|
|
1455
1455
|
icon?: string;
|
|
1456
1456
|
config?: Map<string, NotificationTemplateConfig> | Record<string, NotificationTemplateConfig>;
|
|
1457
|
+
active: boolean;
|
|
1457
1458
|
createdAt?: DateType;
|
|
1458
1459
|
updatedAt?: DateType;
|
|
1459
1460
|
}
|
|
@@ -1973,7 +1974,7 @@ declare const _default$4: (options: EmailTemplateOptions) => string;
|
|
|
1973
1974
|
interface NotificationEmailOptions {
|
|
1974
1975
|
title: string;
|
|
1975
1976
|
message: string;
|
|
1976
|
-
severity?:
|
|
1977
|
+
severity?: NotificationTemplateSeverity;
|
|
1977
1978
|
category?: string;
|
|
1978
1979
|
userName?: string;
|
|
1979
1980
|
actions?: Array<{
|
|
@@ -2024,11 +2025,23 @@ type SendNotificationParams<T extends NotificationType> = {
|
|
|
2024
2025
|
declare function sendNotificationMessage<T extends NotificationType>({ eventName, context, input, options }: SendNotificationParams<T>): Promise<{
|
|
2025
2026
|
messageId: string;
|
|
2026
2027
|
}>;
|
|
2028
|
+
type SendNotificationBatchParams<T extends NotificationType> = {
|
|
2029
|
+
messages: Array<{
|
|
2030
|
+
eventName: T;
|
|
2031
|
+
context: NotificationContextMap[T];
|
|
2032
|
+
input: SendNotificationMessageInput<T>;
|
|
2033
|
+
}>;
|
|
2034
|
+
options?: SendNotificationMessageOptions;
|
|
2035
|
+
};
|
|
2036
|
+
declare function sendNotificationMessageBatch<T extends NotificationType>({ messages, options }: SendNotificationBatchParams<T>): Promise<{
|
|
2037
|
+
messageIds: string[];
|
|
2038
|
+
}>;
|
|
2027
2039
|
|
|
2028
2040
|
declare const notificationQueue_createNotificationMessage: typeof createNotificationMessage;
|
|
2029
2041
|
declare const notificationQueue_sendNotificationMessage: typeof sendNotificationMessage;
|
|
2042
|
+
declare const notificationQueue_sendNotificationMessageBatch: typeof sendNotificationMessageBatch;
|
|
2030
2043
|
declare namespace notificationQueue {
|
|
2031
|
-
export { notificationQueue_createNotificationMessage as createNotificationMessage, notificationQueue_sendNotificationMessage as sendNotificationMessage };
|
|
2044
|
+
export { notificationQueue_createNotificationMessage as createNotificationMessage, notificationQueue_sendNotificationMessage as sendNotificationMessage, notificationQueue_sendNotificationMessageBatch as sendNotificationMessageBatch };
|
|
2032
2045
|
}
|
|
2033
2046
|
|
|
2034
2047
|
interface ConsumptionData {
|