@amohamud23/notihub 1.1.61 → 1.1.62
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/index.cjs +2 -0
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
DocumentNotFoundException: () => DocumentNotFoundException,
|
|
24
24
|
ErrorCode: () => errorcodes_exports,
|
|
25
|
+
ParameterStoreClient: () => ParameterStoreClient_default,
|
|
25
26
|
TABLES: () => TABLES,
|
|
26
27
|
addMonths: () => addMonths,
|
|
27
28
|
formatResponse: () => formatResponse,
|
|
@@ -2070,6 +2071,7 @@ var InvalidDate = "4011";
|
|
|
2070
2071
|
0 && (module.exports = {
|
|
2071
2072
|
DocumentNotFoundException,
|
|
2072
2073
|
ErrorCode,
|
|
2074
|
+
ParameterStoreClient,
|
|
2073
2075
|
TABLES,
|
|
2074
2076
|
addMonths,
|
|
2075
2077
|
formatResponse,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Response as Response$1 } from 'express';
|
|
2
|
+
import { SSMClient } from '@aws-sdk/client-ssm';
|
|
2
3
|
|
|
3
4
|
type CreateNotiRequestBody = {
|
|
4
5
|
customerId: string;
|
|
@@ -794,6 +795,13 @@ declare const TABLES: {
|
|
|
794
795
|
PaymentSession: typeof PaymentSession;
|
|
795
796
|
};
|
|
796
797
|
|
|
798
|
+
declare class ParameterStore {
|
|
799
|
+
ssmClient: SSMClient;
|
|
800
|
+
constructor();
|
|
801
|
+
getParameter(paramName: string, withDecryption?: boolean): Promise<string>;
|
|
802
|
+
}
|
|
803
|
+
declare const _default: ParameterStore;
|
|
804
|
+
|
|
797
805
|
declare const DocumentNotFound = "4001";
|
|
798
806
|
declare const UserNotFound = "4002";
|
|
799
807
|
declare const CustomerNotFound = "4003";
|
|
@@ -817,4 +825,4 @@ declare namespace errorcodes {
|
|
|
817
825
|
export { errorcodes_CustomerNotFound as CustomerNotFound, errorcodes_DocumentNotFound as DocumentNotFound, errorcodes_InvalidDate as InvalidDate, errorcodes_InvalidEmail as InvalidEmail, errorcodes_InvalidName as InvalidName, errorcodes_InvalidPassword as InvalidPassword, errorcodes_InvalidPhoneNumber as InvalidPhoneNumber, errorcodes_InvalidPushToken as InvalidPushToken, errorcodes_UserNotFound as UserNotFound };
|
|
818
826
|
}
|
|
819
827
|
|
|
820
|
-
export { type CreateNotiRequestBody, type CreateSubscriptionRequestBody, type CreateUserRequestBody, type DBMetaData, DocumentNotFoundException, errorcodes as ErrorCode, type ICreateCustomerRequestBody, type ICreateNotiRequestBody, type INotiHubCustomer, type INotiHubCustomerMetadata, type INotiHubCustomerMinified, type INotiHubImage, type INotiHubNotification, type INotiHubNotificationStats, type INotiHubPaymentSession, type INotiHubStats, type INotiHubStatsHistory, type INotiHubStripeSubscription, type INotiHubSubscription, type INotiHubSubscriptionActivity, type INotiHubUser, type INotiHubUserView, type INotiType, type INotiTypeStats, type IUserSubscribeNotifier, type IUserSubscription, type NotiHubTypes, type Response, TABLES, addMonths, formatResponse, getDate, getDateFormat, handleError, handleSuccess };
|
|
828
|
+
export { type CreateNotiRequestBody, type CreateSubscriptionRequestBody, type CreateUserRequestBody, type DBMetaData, DocumentNotFoundException, errorcodes as ErrorCode, type ICreateCustomerRequestBody, type ICreateNotiRequestBody, type INotiHubCustomer, type INotiHubCustomerMetadata, type INotiHubCustomerMinified, type INotiHubImage, type INotiHubNotification, type INotiHubNotificationStats, type INotiHubPaymentSession, type INotiHubStats, type INotiHubStatsHistory, type INotiHubStripeSubscription, type INotiHubSubscription, type INotiHubSubscriptionActivity, type INotiHubUser, type INotiHubUserView, type INotiType, type INotiTypeStats, type IUserSubscribeNotifier, type IUserSubscription, type NotiHubTypes, _default as ParameterStoreClient, type Response, TABLES, addMonths, formatResponse, getDate, getDateFormat, handleError, handleSuccess };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Response as Response$1 } from 'express';
|
|
2
|
+
import { SSMClient } from '@aws-sdk/client-ssm';
|
|
2
3
|
|
|
3
4
|
type CreateNotiRequestBody = {
|
|
4
5
|
customerId: string;
|
|
@@ -794,6 +795,13 @@ declare const TABLES: {
|
|
|
794
795
|
PaymentSession: typeof PaymentSession;
|
|
795
796
|
};
|
|
796
797
|
|
|
798
|
+
declare class ParameterStore {
|
|
799
|
+
ssmClient: SSMClient;
|
|
800
|
+
constructor();
|
|
801
|
+
getParameter(paramName: string, withDecryption?: boolean): Promise<string>;
|
|
802
|
+
}
|
|
803
|
+
declare const _default: ParameterStore;
|
|
804
|
+
|
|
797
805
|
declare const DocumentNotFound = "4001";
|
|
798
806
|
declare const UserNotFound = "4002";
|
|
799
807
|
declare const CustomerNotFound = "4003";
|
|
@@ -817,4 +825,4 @@ declare namespace errorcodes {
|
|
|
817
825
|
export { errorcodes_CustomerNotFound as CustomerNotFound, errorcodes_DocumentNotFound as DocumentNotFound, errorcodes_InvalidDate as InvalidDate, errorcodes_InvalidEmail as InvalidEmail, errorcodes_InvalidName as InvalidName, errorcodes_InvalidPassword as InvalidPassword, errorcodes_InvalidPhoneNumber as InvalidPhoneNumber, errorcodes_InvalidPushToken as InvalidPushToken, errorcodes_UserNotFound as UserNotFound };
|
|
818
826
|
}
|
|
819
827
|
|
|
820
|
-
export { type CreateNotiRequestBody, type CreateSubscriptionRequestBody, type CreateUserRequestBody, type DBMetaData, DocumentNotFoundException, errorcodes as ErrorCode, type ICreateCustomerRequestBody, type ICreateNotiRequestBody, type INotiHubCustomer, type INotiHubCustomerMetadata, type INotiHubCustomerMinified, type INotiHubImage, type INotiHubNotification, type INotiHubNotificationStats, type INotiHubPaymentSession, type INotiHubStats, type INotiHubStatsHistory, type INotiHubStripeSubscription, type INotiHubSubscription, type INotiHubSubscriptionActivity, type INotiHubUser, type INotiHubUserView, type INotiType, type INotiTypeStats, type IUserSubscribeNotifier, type IUserSubscription, type NotiHubTypes, type Response, TABLES, addMonths, formatResponse, getDate, getDateFormat, handleError, handleSuccess };
|
|
828
|
+
export { type CreateNotiRequestBody, type CreateSubscriptionRequestBody, type CreateUserRequestBody, type DBMetaData, DocumentNotFoundException, errorcodes as ErrorCode, type ICreateCustomerRequestBody, type ICreateNotiRequestBody, type INotiHubCustomer, type INotiHubCustomerMetadata, type INotiHubCustomerMinified, type INotiHubImage, type INotiHubNotification, type INotiHubNotificationStats, type INotiHubPaymentSession, type INotiHubStats, type INotiHubStatsHistory, type INotiHubStripeSubscription, type INotiHubSubscription, type INotiHubSubscriptionActivity, type INotiHubUser, type INotiHubUserView, type INotiType, type INotiTypeStats, type IUserSubscribeNotifier, type IUserSubscription, type NotiHubTypes, _default as ParameterStoreClient, type Response, TABLES, addMonths, formatResponse, getDate, getDateFormat, handleError, handleSuccess };
|
package/dist/index.js
CHANGED