@paykit-sdk/monnify 1.0.0 → 1.0.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/dist/index.js +248 -4176
- package/dist/index.mjs +249 -4177
- package/dist/monnify-provider.d.mts +9 -3
- package/dist/monnify-provider.d.ts +9 -3
- package/dist/monnify-provider.js +248 -4176
- package/dist/monnify-provider.mjs +249 -4177
- package/dist/utils/mapper.d.mts +15 -6
- package/dist/utils/mapper.d.ts +15 -6
- package/dist/utils/mapper.js +33 -4084
- package/dist/utils/mapper.mjs +32 -4083
- package/package.json +8 -9
package/dist/utils/mapper.d.mts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StandardWebhookEventType, Checkout, Payment, Refund } from '@paykit-sdk/core';
|
|
2
2
|
|
|
3
|
-
declare const monnifyToPaykitEventMap: Record<string, string | null | ((eventData: Record<string, unknown>) =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
declare const monnifyToPaykitEventMap: Record<string, string | null | ((eventData: Record<string, unknown>) => StandardWebhookEventType)>;
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
declare const Checkout$inboundSchema: (data: Record<string, any>) => Checkout;
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
declare const Payment$inboundSchema: (data: Record<string, any>) => Payment;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
declare const Refund$inboundSchema: (data: Record<string, any>) => Refund;
|
|
7
16
|
|
|
8
|
-
export {
|
|
17
|
+
export { Checkout$inboundSchema, Payment$inboundSchema, Refund$inboundSchema, monnifyToPaykitEventMap };
|
package/dist/utils/mapper.d.ts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StandardWebhookEventType, Checkout, Payment, Refund } from '@paykit-sdk/core';
|
|
2
2
|
|
|
3
|
-
declare const monnifyToPaykitEventMap: Record<string, string | null | ((eventData: Record<string, unknown>) =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
declare const monnifyToPaykitEventMap: Record<string, string | null | ((eventData: Record<string, unknown>) => StandardWebhookEventType)>;
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
declare const Checkout$inboundSchema: (data: Record<string, any>) => Checkout;
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
declare const Payment$inboundSchema: (data: Record<string, any>) => Payment;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
declare const Refund$inboundSchema: (data: Record<string, any>) => Refund;
|
|
7
16
|
|
|
8
|
-
export {
|
|
17
|
+
export { Checkout$inboundSchema, Payment$inboundSchema, Refund$inboundSchema, monnifyToPaykitEventMap };
|