@develit-services/bank 6.2.1 → 6.2.3
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/base.cjs +2 -2
- package/dist/base.d.cts +19 -17
- package/dist/base.d.mts +19 -17
- package/dist/base.d.ts +19 -17
- package/dist/base.mjs +2 -2
- package/dist/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/export/workflows.cjs +2 -2
- package/dist/export/workflows.mjs +2 -2
- package/dist/shared/{bank.BE4BJCuX.d.cts → bank.BBNHHD0v.d.mts} +1 -1
- package/dist/shared/{bank.B720-BP-.d.ts → bank.BO2rCT2t.d.ts} +1 -1
- package/dist/shared/{bank.B5yr_YIB.d.cts → bank.C7zoSV8F.d.cts} +3 -3
- package/dist/shared/{bank.B5yr_YIB.d.mts → bank.C7zoSV8F.d.mts} +3 -3
- package/dist/shared/{bank.B5yr_YIB.d.ts → bank.C7zoSV8F.d.ts} +3 -3
- package/dist/shared/{bank.CGuCPc4G.mjs → bank.CKCnWQLL.mjs} +15 -1
- package/dist/shared/{bank.CeQZODQ2.cjs → bank.D2wQhxnG.cjs} +15 -1
- package/dist/shared/{bank.CQHw4fZp.cjs → bank.DbgMfSN7.cjs} +11 -1
- package/dist/shared/{bank.DtfSqAaY.d.mts → bank.Dtw4Amqo.d.cts} +1 -1
- package/dist/shared/{bank.Tt5XZ2jk.mjs → bank.LqYb0QU1.mjs} +12 -2
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +4 -4
- package/dist/types.d.mts +4 -4
- package/dist/types.d.ts +4 -4
- package/dist/types.mjs +1 -1
- package/package.json +1 -1
package/dist/base.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
-
const paymentDirection = require('./shared/bank.
|
|
4
|
+
const paymentDirection = require('./shared/bank.D2wQhxnG.cjs');
|
|
5
5
|
const drizzleOrm = require('drizzle-orm');
|
|
6
6
|
const cloudflare_workers = require('cloudflare:workers');
|
|
7
7
|
const d1 = require('drizzle-orm/d1');
|
|
8
8
|
require('jose');
|
|
9
|
-
const bank = require('./shared/bank.
|
|
9
|
+
const bank = require('./shared/bank.DbgMfSN7.cjs');
|
|
10
10
|
const zod = require('zod');
|
|
11
11
|
const database_schema = require('./shared/bank.Ca3jzmIb.cjs');
|
|
12
12
|
const generalCodes = require('@develit-io/general-codes');
|
package/dist/base.d.cts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { t as tables, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.C7zoSV8F.cjs';
|
|
4
|
+
import { BatchSelectType, PaymentRequestSelectType, AccountSelectType, PaymentSelectType, LastSyncMetadata, ConnectorConfig, ConnectorKey, ConfigEnvironmentBank, IBankConnector, PaymentType, CurrencyCode } from './types.cjs';
|
|
5
|
+
import { a as SendPaymentOutput, c as SendPaymentSyncOutput } from './shared/bank.Dtw4Amqo.cjs';
|
|
6
|
+
import { SendPaymentInput, SendPaymentSyncInput, FinbricksSupportedBanksResponse } from './types.cjs';
|
|
5
7
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
6
8
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
9
|
import { z } from 'zod';
|
|
@@ -2699,9 +2701,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2699
2701
|
limit: z.ZodNumber;
|
|
2700
2702
|
sort: z.ZodObject<{
|
|
2701
2703
|
column: z.ZodEnum<{
|
|
2702
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
2703
2704
|
createdAt: "createdAt";
|
|
2704
2705
|
updatedAt: "updatedAt";
|
|
2706
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
2705
2707
|
}>;
|
|
2706
2708
|
direction: z.ZodEnum<{
|
|
2707
2709
|
asc: "asc";
|
|
@@ -2711,15 +2713,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2711
2713
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2712
2714
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2713
2715
|
AUTHORIZED: "AUTHORIZED";
|
|
2716
|
+
COMPLETED: "COMPLETED";
|
|
2714
2717
|
PROCESSING: "PROCESSING";
|
|
2715
2718
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2716
|
-
COMPLETED: "COMPLETED";
|
|
2717
2719
|
FAILED: "FAILED";
|
|
2718
2720
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2719
2721
|
AUTHORIZED: "AUTHORIZED";
|
|
2722
|
+
COMPLETED: "COMPLETED";
|
|
2720
2723
|
PROCESSING: "PROCESSING";
|
|
2721
2724
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2722
|
-
COMPLETED: "COMPLETED";
|
|
2723
2725
|
FAILED: "FAILED";
|
|
2724
2726
|
}>>]>>;
|
|
2725
2727
|
}, z.core.$strip>;
|
|
@@ -2825,9 +2827,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2825
2827
|
limit: z.ZodNumber;
|
|
2826
2828
|
sort: z.ZodObject<{
|
|
2827
2829
|
column: z.ZodEnum<{
|
|
2830
|
+
amount: "amount";
|
|
2828
2831
|
createdAt: "createdAt";
|
|
2829
2832
|
updatedAt: "updatedAt";
|
|
2830
|
-
amount: "amount";
|
|
2831
2833
|
}>;
|
|
2832
2834
|
direction: z.ZodEnum<{
|
|
2833
2835
|
asc: "asc";
|
|
@@ -2956,20 +2958,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2956
2958
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2957
2959
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2958
2960
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2959
|
-
PROCESSING: "PROCESSING";
|
|
2960
|
-
PENDING: "PENDING";
|
|
2961
2961
|
BOOKED: "BOOKED";
|
|
2962
|
-
CANCELLED: "CANCELLED";
|
|
2963
2962
|
REJECTED: "REJECTED";
|
|
2963
|
+
PENDING: "PENDING";
|
|
2964
|
+
PROCESSING: "PROCESSING";
|
|
2965
|
+
CANCELLED: "CANCELLED";
|
|
2964
2966
|
SCHEDULED: "SCHEDULED";
|
|
2965
2967
|
HOLD: "HOLD";
|
|
2966
2968
|
INFO: "INFO";
|
|
2967
2969
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2968
|
-
PROCESSING: "PROCESSING";
|
|
2969
|
-
PENDING: "PENDING";
|
|
2970
2970
|
BOOKED: "BOOKED";
|
|
2971
|
-
CANCELLED: "CANCELLED";
|
|
2972
2971
|
REJECTED: "REJECTED";
|
|
2972
|
+
PENDING: "PENDING";
|
|
2973
|
+
PROCESSING: "PROCESSING";
|
|
2974
|
+
CANCELLED: "CANCELLED";
|
|
2973
2975
|
SCHEDULED: "SCHEDULED";
|
|
2974
2976
|
HOLD: "HOLD";
|
|
2975
2977
|
INFO: "INFO";
|
|
@@ -3892,9 +3894,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3892
3894
|
limit: z.ZodNumber;
|
|
3893
3895
|
sort: z.ZodObject<{
|
|
3894
3896
|
column: z.ZodEnum<{
|
|
3897
|
+
amount: "amount";
|
|
3895
3898
|
createdAt: "createdAt";
|
|
3896
3899
|
updatedAt: "updatedAt";
|
|
3897
|
-
amount: "amount";
|
|
3898
3900
|
}>;
|
|
3899
3901
|
direction: z.ZodEnum<{
|
|
3900
3902
|
asc: "asc";
|
|
@@ -3903,20 +3905,20 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3903
3905
|
}, z.core.$strip>;
|
|
3904
3906
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3905
3907
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3908
|
+
OPENED: "OPENED";
|
|
3906
3909
|
AUTHORIZED: "AUTHORIZED";
|
|
3907
3910
|
COMPLETED: "COMPLETED";
|
|
3908
3911
|
BOOKED: "BOOKED";
|
|
3909
|
-
REJECTED: "REJECTED";
|
|
3910
|
-
OPENED: "OPENED";
|
|
3911
3912
|
SETTLED: "SETTLED";
|
|
3913
|
+
REJECTED: "REJECTED";
|
|
3912
3914
|
CLOSED: "CLOSED";
|
|
3913
3915
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3916
|
+
OPENED: "OPENED";
|
|
3914
3917
|
AUTHORIZED: "AUTHORIZED";
|
|
3915
3918
|
COMPLETED: "COMPLETED";
|
|
3916
3919
|
BOOKED: "BOOKED";
|
|
3917
|
-
REJECTED: "REJECTED";
|
|
3918
|
-
OPENED: "OPENED";
|
|
3919
3920
|
SETTLED: "SETTLED";
|
|
3921
|
+
REJECTED: "REJECTED";
|
|
3920
3922
|
CLOSED: "CLOSED";
|
|
3921
3923
|
}>>]>>;
|
|
3922
3924
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/base.d.mts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { t as tables, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.C7zoSV8F.mjs';
|
|
4
|
+
import { BatchSelectType, PaymentRequestSelectType, AccountSelectType, PaymentSelectType, LastSyncMetadata, ConnectorConfig, ConnectorKey, ConfigEnvironmentBank, IBankConnector, PaymentType, CurrencyCode } from './types.mjs';
|
|
5
|
+
import { a as SendPaymentOutput, c as SendPaymentSyncOutput } from './shared/bank.BBNHHD0v.mjs';
|
|
6
|
+
import { SendPaymentInput, SendPaymentSyncInput, FinbricksSupportedBanksResponse } from './types.mjs';
|
|
5
7
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
6
8
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
9
|
import { z } from 'zod';
|
|
@@ -2699,9 +2701,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2699
2701
|
limit: z.ZodNumber;
|
|
2700
2702
|
sort: z.ZodObject<{
|
|
2701
2703
|
column: z.ZodEnum<{
|
|
2702
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
2703
2704
|
createdAt: "createdAt";
|
|
2704
2705
|
updatedAt: "updatedAt";
|
|
2706
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
2705
2707
|
}>;
|
|
2706
2708
|
direction: z.ZodEnum<{
|
|
2707
2709
|
asc: "asc";
|
|
@@ -2711,15 +2713,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2711
2713
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2712
2714
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2713
2715
|
AUTHORIZED: "AUTHORIZED";
|
|
2716
|
+
COMPLETED: "COMPLETED";
|
|
2714
2717
|
PROCESSING: "PROCESSING";
|
|
2715
2718
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2716
|
-
COMPLETED: "COMPLETED";
|
|
2717
2719
|
FAILED: "FAILED";
|
|
2718
2720
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2719
2721
|
AUTHORIZED: "AUTHORIZED";
|
|
2722
|
+
COMPLETED: "COMPLETED";
|
|
2720
2723
|
PROCESSING: "PROCESSING";
|
|
2721
2724
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2722
|
-
COMPLETED: "COMPLETED";
|
|
2723
2725
|
FAILED: "FAILED";
|
|
2724
2726
|
}>>]>>;
|
|
2725
2727
|
}, z.core.$strip>;
|
|
@@ -2825,9 +2827,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2825
2827
|
limit: z.ZodNumber;
|
|
2826
2828
|
sort: z.ZodObject<{
|
|
2827
2829
|
column: z.ZodEnum<{
|
|
2830
|
+
amount: "amount";
|
|
2828
2831
|
createdAt: "createdAt";
|
|
2829
2832
|
updatedAt: "updatedAt";
|
|
2830
|
-
amount: "amount";
|
|
2831
2833
|
}>;
|
|
2832
2834
|
direction: z.ZodEnum<{
|
|
2833
2835
|
asc: "asc";
|
|
@@ -2956,20 +2958,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2956
2958
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2957
2959
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2958
2960
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2959
|
-
PROCESSING: "PROCESSING";
|
|
2960
|
-
PENDING: "PENDING";
|
|
2961
2961
|
BOOKED: "BOOKED";
|
|
2962
|
-
CANCELLED: "CANCELLED";
|
|
2963
2962
|
REJECTED: "REJECTED";
|
|
2963
|
+
PENDING: "PENDING";
|
|
2964
|
+
PROCESSING: "PROCESSING";
|
|
2965
|
+
CANCELLED: "CANCELLED";
|
|
2964
2966
|
SCHEDULED: "SCHEDULED";
|
|
2965
2967
|
HOLD: "HOLD";
|
|
2966
2968
|
INFO: "INFO";
|
|
2967
2969
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2968
|
-
PROCESSING: "PROCESSING";
|
|
2969
|
-
PENDING: "PENDING";
|
|
2970
2970
|
BOOKED: "BOOKED";
|
|
2971
|
-
CANCELLED: "CANCELLED";
|
|
2972
2971
|
REJECTED: "REJECTED";
|
|
2972
|
+
PENDING: "PENDING";
|
|
2973
|
+
PROCESSING: "PROCESSING";
|
|
2974
|
+
CANCELLED: "CANCELLED";
|
|
2973
2975
|
SCHEDULED: "SCHEDULED";
|
|
2974
2976
|
HOLD: "HOLD";
|
|
2975
2977
|
INFO: "INFO";
|
|
@@ -3892,9 +3894,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3892
3894
|
limit: z.ZodNumber;
|
|
3893
3895
|
sort: z.ZodObject<{
|
|
3894
3896
|
column: z.ZodEnum<{
|
|
3897
|
+
amount: "amount";
|
|
3895
3898
|
createdAt: "createdAt";
|
|
3896
3899
|
updatedAt: "updatedAt";
|
|
3897
|
-
amount: "amount";
|
|
3898
3900
|
}>;
|
|
3899
3901
|
direction: z.ZodEnum<{
|
|
3900
3902
|
asc: "asc";
|
|
@@ -3903,20 +3905,20 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3903
3905
|
}, z.core.$strip>;
|
|
3904
3906
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3905
3907
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3908
|
+
OPENED: "OPENED";
|
|
3906
3909
|
AUTHORIZED: "AUTHORIZED";
|
|
3907
3910
|
COMPLETED: "COMPLETED";
|
|
3908
3911
|
BOOKED: "BOOKED";
|
|
3909
|
-
REJECTED: "REJECTED";
|
|
3910
|
-
OPENED: "OPENED";
|
|
3911
3912
|
SETTLED: "SETTLED";
|
|
3913
|
+
REJECTED: "REJECTED";
|
|
3912
3914
|
CLOSED: "CLOSED";
|
|
3913
3915
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3916
|
+
OPENED: "OPENED";
|
|
3914
3917
|
AUTHORIZED: "AUTHORIZED";
|
|
3915
3918
|
COMPLETED: "COMPLETED";
|
|
3916
3919
|
BOOKED: "BOOKED";
|
|
3917
|
-
REJECTED: "REJECTED";
|
|
3918
|
-
OPENED: "OPENED";
|
|
3919
3920
|
SETTLED: "SETTLED";
|
|
3921
|
+
REJECTED: "REJECTED";
|
|
3920
3922
|
CLOSED: "CLOSED";
|
|
3921
3923
|
}>>]>>;
|
|
3922
3924
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { t as tables, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.C7zoSV8F.js';
|
|
4
|
+
import { BatchSelectType, PaymentRequestSelectType, AccountSelectType, PaymentSelectType, LastSyncMetadata, ConnectorConfig, ConnectorKey, ConfigEnvironmentBank, IBankConnector, PaymentType, CurrencyCode } from './types.js';
|
|
5
|
+
import { a as SendPaymentOutput, c as SendPaymentSyncOutput } from './shared/bank.BO2rCT2t.js';
|
|
6
|
+
import { SendPaymentInput, SendPaymentSyncInput, FinbricksSupportedBanksResponse } from './types.js';
|
|
5
7
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
6
8
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
9
|
import { z } from 'zod';
|
|
@@ -2699,9 +2701,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2699
2701
|
limit: z.ZodNumber;
|
|
2700
2702
|
sort: z.ZodObject<{
|
|
2701
2703
|
column: z.ZodEnum<{
|
|
2702
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
2703
2704
|
createdAt: "createdAt";
|
|
2704
2705
|
updatedAt: "updatedAt";
|
|
2706
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
2705
2707
|
}>;
|
|
2706
2708
|
direction: z.ZodEnum<{
|
|
2707
2709
|
asc: "asc";
|
|
@@ -2711,15 +2713,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2711
2713
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2712
2714
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2713
2715
|
AUTHORIZED: "AUTHORIZED";
|
|
2716
|
+
COMPLETED: "COMPLETED";
|
|
2714
2717
|
PROCESSING: "PROCESSING";
|
|
2715
2718
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2716
|
-
COMPLETED: "COMPLETED";
|
|
2717
2719
|
FAILED: "FAILED";
|
|
2718
2720
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2719
2721
|
AUTHORIZED: "AUTHORIZED";
|
|
2722
|
+
COMPLETED: "COMPLETED";
|
|
2720
2723
|
PROCESSING: "PROCESSING";
|
|
2721
2724
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2722
|
-
COMPLETED: "COMPLETED";
|
|
2723
2725
|
FAILED: "FAILED";
|
|
2724
2726
|
}>>]>>;
|
|
2725
2727
|
}, z.core.$strip>;
|
|
@@ -2825,9 +2827,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2825
2827
|
limit: z.ZodNumber;
|
|
2826
2828
|
sort: z.ZodObject<{
|
|
2827
2829
|
column: z.ZodEnum<{
|
|
2830
|
+
amount: "amount";
|
|
2828
2831
|
createdAt: "createdAt";
|
|
2829
2832
|
updatedAt: "updatedAt";
|
|
2830
|
-
amount: "amount";
|
|
2831
2833
|
}>;
|
|
2832
2834
|
direction: z.ZodEnum<{
|
|
2833
2835
|
asc: "asc";
|
|
@@ -2956,20 +2958,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2956
2958
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2957
2959
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2958
2960
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2959
|
-
PROCESSING: "PROCESSING";
|
|
2960
|
-
PENDING: "PENDING";
|
|
2961
2961
|
BOOKED: "BOOKED";
|
|
2962
|
-
CANCELLED: "CANCELLED";
|
|
2963
2962
|
REJECTED: "REJECTED";
|
|
2963
|
+
PENDING: "PENDING";
|
|
2964
|
+
PROCESSING: "PROCESSING";
|
|
2965
|
+
CANCELLED: "CANCELLED";
|
|
2964
2966
|
SCHEDULED: "SCHEDULED";
|
|
2965
2967
|
HOLD: "HOLD";
|
|
2966
2968
|
INFO: "INFO";
|
|
2967
2969
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2968
|
-
PROCESSING: "PROCESSING";
|
|
2969
|
-
PENDING: "PENDING";
|
|
2970
2970
|
BOOKED: "BOOKED";
|
|
2971
|
-
CANCELLED: "CANCELLED";
|
|
2972
2971
|
REJECTED: "REJECTED";
|
|
2972
|
+
PENDING: "PENDING";
|
|
2973
|
+
PROCESSING: "PROCESSING";
|
|
2974
|
+
CANCELLED: "CANCELLED";
|
|
2973
2975
|
SCHEDULED: "SCHEDULED";
|
|
2974
2976
|
HOLD: "HOLD";
|
|
2975
2977
|
INFO: "INFO";
|
|
@@ -3892,9 +3894,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3892
3894
|
limit: z.ZodNumber;
|
|
3893
3895
|
sort: z.ZodObject<{
|
|
3894
3896
|
column: z.ZodEnum<{
|
|
3897
|
+
amount: "amount";
|
|
3895
3898
|
createdAt: "createdAt";
|
|
3896
3899
|
updatedAt: "updatedAt";
|
|
3897
|
-
amount: "amount";
|
|
3898
3900
|
}>;
|
|
3899
3901
|
direction: z.ZodEnum<{
|
|
3900
3902
|
asc: "asc";
|
|
@@ -3903,20 +3905,20 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3903
3905
|
}, z.core.$strip>;
|
|
3904
3906
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3905
3907
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3908
|
+
OPENED: "OPENED";
|
|
3906
3909
|
AUTHORIZED: "AUTHORIZED";
|
|
3907
3910
|
COMPLETED: "COMPLETED";
|
|
3908
3911
|
BOOKED: "BOOKED";
|
|
3909
|
-
REJECTED: "REJECTED";
|
|
3910
|
-
OPENED: "OPENED";
|
|
3911
3912
|
SETTLED: "SETTLED";
|
|
3913
|
+
REJECTED: "REJECTED";
|
|
3912
3914
|
CLOSED: "CLOSED";
|
|
3913
3915
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3916
|
+
OPENED: "OPENED";
|
|
3914
3917
|
AUTHORIZED: "AUTHORIZED";
|
|
3915
3918
|
COMPLETED: "COMPLETED";
|
|
3916
3919
|
BOOKED: "BOOKED";
|
|
3917
|
-
REJECTED: "REJECTED";
|
|
3918
|
-
OPENED: "OPENED";
|
|
3919
3920
|
SETTLED: "SETTLED";
|
|
3921
|
+
REJECTED: "REJECTED";
|
|
3920
3922
|
CLOSED: "CLOSED";
|
|
3921
3923
|
}>>]>>;
|
|
3922
3924
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/base.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { uuidv4, first, buildMultiFilterConditions as buildMultiFilterConditions$1, bankAccountMetadataSchema, structuredAddressSchema, workflowInstanceStatusSchema, develitWorker, createInternalError, action, service } from '@develit-io/backend-sdk';
|
|
2
|
-
import { G as tables, g as accountInsertSchema, H as relations, o as isProcessedStatus, p as isTerminalStatus, N as getNonTerminalPaymentRequestsQuery, x as toIncomingPayment, O as calculateCzechIban, j as assignAccount, u as toBatchedPayment, y as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from './shared/bank.
|
|
2
|
+
import { G as tables, g as accountInsertSchema, H as relations, o as isProcessedStatus, p as isTerminalStatus, N as getNonTerminalPaymentRequestsQuery, x as toIncomingPayment, O as calculateCzechIban, j as assignAccount, u as toBatchedPayment, y as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from './shared/bank.CKCnWQLL.mjs';
|
|
3
3
|
import { eq, sql, and, like, asc, desc, inArray, gte, lte, isNull, count } from 'drizzle-orm';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { drizzle } from 'drizzle-orm/d1';
|
|
6
6
|
import 'jose';
|
|
7
|
-
import { h as encrypt, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, a as getPaymentRequestsByBatchIdQuery, g as getBatchByIdQuery, u as upsertBatchCommand, j as importAesKey, f as createPaymentCommand, b as getAccountByIdQuery } from './shared/bank.
|
|
7
|
+
import { h as encrypt, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, a as getPaymentRequestsByBatchIdQuery, g as getBatchByIdQuery, u as upsertBatchCommand, j as importAesKey, f as createPaymentCommand, b as getAccountByIdQuery } from './shared/bank.LqYb0QU1.mjs';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { I as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, g as PAYMENT_TYPES, b as CONNECTOR_KEYS, a as BATCH_STATUSES, f as PAYMENT_STATUSES, P as PAYMENT_DIRECTIONS, e as PAYMENT_REQUEST_STATUSES } from './shared/bank.BT7HayCV.mjs';
|
|
10
10
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.
|
|
1
|
+
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.C7zoSV8F.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.
|
|
1
|
+
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.C7zoSV8F.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.
|
|
1
|
+
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.C7zoSV8F.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
-
const paymentDirection = require('../shared/bank.
|
|
4
|
+
const paymentDirection = require('../shared/bank.D2wQhxnG.cjs');
|
|
5
5
|
const batchLifecycle = require('../shared/bank.NF8bZBy0.cjs');
|
|
6
6
|
const drizzleOrm = require('drizzle-orm');
|
|
7
|
-
const bank = require('../shared/bank.
|
|
7
|
+
const bank = require('../shared/bank.DbgMfSN7.cjs');
|
|
8
8
|
const cloudflare_workers = require('cloudflare:workers');
|
|
9
9
|
const cloudflare_workflows = require('cloudflare:workflows');
|
|
10
10
|
const d1 = require('drizzle-orm/d1');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { first, uuidv4, asNonEmpty } from '@develit-io/backend-sdk';
|
|
2
|
-
import { G as tables, H as relations, v as toBatchedPaymentFromPaymentRequest, z as toPreparedPayment, J as extractErrorDetails, m as isPaymentCompleted } from '../shared/bank.
|
|
2
|
+
import { G as tables, H as relations, v as toBatchedPaymentFromPaymentRequest, z as toPreparedPayment, J as extractErrorDetails, m as isPaymentCompleted } from '../shared/bank.CKCnWQLL.mjs';
|
|
3
3
|
import { i as isBatchAuthorized, b as isBatchFailed, d as isBatchProcessing } from '../shared/bank.XqSw509X.mjs';
|
|
4
4
|
import { sql, and, eq, inArray } from 'drizzle-orm';
|
|
5
|
-
import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.
|
|
5
|
+
import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.LqYb0QU1.mjs';
|
|
6
6
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
7
7
|
import { NonRetryableError } from 'cloudflare:workflows';
|
|
8
8
|
import { drizzle } from 'drizzle-orm/d1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.C7zoSV8F.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.C7zoSV8F.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -3280,7 +3280,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3280
3280
|
name: string;
|
|
3281
3281
|
tableName: "batch";
|
|
3282
3282
|
dataType: "string enum";
|
|
3283
|
-
data: "AUTHORIZED" | "
|
|
3283
|
+
data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
|
|
3284
3284
|
driverParam: string;
|
|
3285
3285
|
notNull: false;
|
|
3286
3286
|
hasDefault: false;
|
|
@@ -3656,7 +3656,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3656
3656
|
name: string;
|
|
3657
3657
|
tableName: "payment";
|
|
3658
3658
|
dataType: "string enum";
|
|
3659
|
-
data: "
|
|
3659
|
+
data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3660
3660
|
driverParam: string;
|
|
3661
3661
|
notNull: true;
|
|
3662
3662
|
hasDefault: false;
|
|
@@ -4160,7 +4160,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4160
4160
|
name: string;
|
|
4161
4161
|
tableName: "payment_request";
|
|
4162
4162
|
dataType: "string enum";
|
|
4163
|
-
data: "
|
|
4163
|
+
data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
|
|
4164
4164
|
driverParam: string;
|
|
4165
4165
|
notNull: true;
|
|
4166
4166
|
hasDefault: false;
|
|
@@ -3280,7 +3280,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3280
3280
|
name: string;
|
|
3281
3281
|
tableName: "batch";
|
|
3282
3282
|
dataType: "string enum";
|
|
3283
|
-
data: "AUTHORIZED" | "
|
|
3283
|
+
data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
|
|
3284
3284
|
driverParam: string;
|
|
3285
3285
|
notNull: false;
|
|
3286
3286
|
hasDefault: false;
|
|
@@ -3656,7 +3656,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3656
3656
|
name: string;
|
|
3657
3657
|
tableName: "payment";
|
|
3658
3658
|
dataType: "string enum";
|
|
3659
|
-
data: "
|
|
3659
|
+
data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3660
3660
|
driverParam: string;
|
|
3661
3661
|
notNull: true;
|
|
3662
3662
|
hasDefault: false;
|
|
@@ -4160,7 +4160,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4160
4160
|
name: string;
|
|
4161
4161
|
tableName: "payment_request";
|
|
4162
4162
|
dataType: "string enum";
|
|
4163
|
-
data: "
|
|
4163
|
+
data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
|
|
4164
4164
|
driverParam: string;
|
|
4165
4165
|
notNull: true;
|
|
4166
4166
|
hasDefault: false;
|
|
@@ -3280,7 +3280,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3280
3280
|
name: string;
|
|
3281
3281
|
tableName: "batch";
|
|
3282
3282
|
dataType: "string enum";
|
|
3283
|
-
data: "AUTHORIZED" | "
|
|
3283
|
+
data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
|
|
3284
3284
|
driverParam: string;
|
|
3285
3285
|
notNull: false;
|
|
3286
3286
|
hasDefault: false;
|
|
@@ -3656,7 +3656,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3656
3656
|
name: string;
|
|
3657
3657
|
tableName: "payment";
|
|
3658
3658
|
dataType: "string enum";
|
|
3659
|
-
data: "
|
|
3659
|
+
data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3660
3660
|
driverParam: string;
|
|
3661
3661
|
notNull: true;
|
|
3662
3662
|
hasDefault: false;
|
|
@@ -4160,7 +4160,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4160
4160
|
name: string;
|
|
4161
4161
|
tableName: "payment_request";
|
|
4162
4162
|
dataType: "string enum";
|
|
4163
|
-
data: "
|
|
4163
|
+
data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
|
|
4164
4164
|
driverParam: string;
|
|
4165
4165
|
notNull: true;
|
|
4166
4166
|
hasDefault: false;
|
|
@@ -1224,7 +1224,12 @@ class FinbricksConnector extends IBankConnector {
|
|
|
1224
1224
|
...creditorAddress && { postalAddress: creditorAddress }
|
|
1225
1225
|
},
|
|
1226
1226
|
...creditorAgent && { creditorAgent },
|
|
1227
|
-
...unstructured && {
|
|
1227
|
+
...unstructured && {
|
|
1228
|
+
remittanceInformation: {
|
|
1229
|
+
unstructured,
|
|
1230
|
+
...payment.vs && { structured: { reference: payment.vs } }
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1228
1233
|
instructionPriority: toFinbricksForeignPriority(
|
|
1229
1234
|
payment.instructionPriority
|
|
1230
1235
|
),
|
|
@@ -1481,6 +1486,15 @@ class FinbricksConnector extends IBankConnector {
|
|
|
1481
1486
|
describeFinbricksFailure("fetch payment status", error)
|
|
1482
1487
|
);
|
|
1483
1488
|
}
|
|
1489
|
+
if (response.resultCode === "OPENED") {
|
|
1490
|
+
console.log("[Finbricks] Payment still OPENED", {
|
|
1491
|
+
provider: this.PROVIDER,
|
|
1492
|
+
merchantTransactionId: paymentId,
|
|
1493
|
+
finalBankStatus: response.finalBankStatus,
|
|
1494
|
+
instructionPriority: response.instructionPriority,
|
|
1495
|
+
transactionRecoveryUrl: response.transactionRecoveryUrl
|
|
1496
|
+
});
|
|
1497
|
+
}
|
|
1484
1498
|
return mapFinbricksTransactionStatus(response.resultCode);
|
|
1485
1499
|
}
|
|
1486
1500
|
parseAuthorizationCallback(callbackUrl) {
|
|
@@ -1226,7 +1226,12 @@ class FinbricksConnector extends IBankConnector {
|
|
|
1226
1226
|
...creditorAddress && { postalAddress: creditorAddress }
|
|
1227
1227
|
},
|
|
1228
1228
|
...creditorAgent && { creditorAgent },
|
|
1229
|
-
...unstructured && {
|
|
1229
|
+
...unstructured && {
|
|
1230
|
+
remittanceInformation: {
|
|
1231
|
+
unstructured,
|
|
1232
|
+
...payment.vs && { structured: { reference: payment.vs } }
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1230
1235
|
instructionPriority: toFinbricksForeignPriority(
|
|
1231
1236
|
payment.instructionPriority
|
|
1232
1237
|
),
|
|
@@ -1483,6 +1488,15 @@ class FinbricksConnector extends IBankConnector {
|
|
|
1483
1488
|
describeFinbricksFailure("fetch payment status", error)
|
|
1484
1489
|
);
|
|
1485
1490
|
}
|
|
1491
|
+
if (response.resultCode === "OPENED") {
|
|
1492
|
+
console.log("[Finbricks] Payment still OPENED", {
|
|
1493
|
+
provider: this.PROVIDER,
|
|
1494
|
+
merchantTransactionId: paymentId,
|
|
1495
|
+
finalBankStatus: response.finalBankStatus,
|
|
1496
|
+
instructionPriority: response.instructionPriority,
|
|
1497
|
+
transactionRecoveryUrl: response.transactionRecoveryUrl
|
|
1498
|
+
});
|
|
1499
|
+
}
|
|
1486
1500
|
return mapFinbricksTransactionStatus(response.resultCode);
|
|
1487
1501
|
}
|
|
1488
1502
|
parseAuthorizationCallback(callbackUrl) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
|
-
const paymentDirection = require('./bank.
|
|
4
|
+
const paymentDirection = require('./bank.D2wQhxnG.cjs');
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
6
|
require('./bank.Ca3jzmIb.cjs');
|
|
7
7
|
require('date-fns');
|
|
@@ -214,6 +214,16 @@ class MonetaConnector extends paymentDirection.FinbricksConnector {
|
|
|
214
214
|
buildEndToEndId(payment) {
|
|
215
215
|
return paymentDirection.buildEndToEndId(payment, { separator: "" });
|
|
216
216
|
}
|
|
217
|
+
async initiateForeignPayment(payment) {
|
|
218
|
+
if (!payment.vs) {
|
|
219
|
+
throw backendSdk.createInternalError(null, {
|
|
220
|
+
status: 422,
|
|
221
|
+
code: "VALID-B-020",
|
|
222
|
+
message: "MONETA requires a variable symbol on foreign payments (sent as remittanceInformation.structured). Add the VS and retry."
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
return super.initiateForeignPayment(payment);
|
|
226
|
+
}
|
|
217
227
|
}
|
|
218
228
|
|
|
219
229
|
const initiateConnector = async ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.C7zoSV8F.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { sql, and, eq, isNull } from 'drizzle-orm';
|
|
2
|
-
import { G as tables, b as FinbricksConnector, L as buildEndToEndId, c as MockConnector, D as DbuConnector, C as CsobConnector, K as KBConnector, M as MockCobsConnector, E as ErsteConnector } from './bank.
|
|
3
|
-
import { uuidv4 } from '@develit-io/backend-sdk';
|
|
2
|
+
import { G as tables, b as FinbricksConnector, L as buildEndToEndId, c as MockConnector, D as DbuConnector, C as CsobConnector, K as KBConnector, M as MockCobsConnector, E as ErsteConnector } from './bank.CKCnWQLL.mjs';
|
|
3
|
+
import { uuidv4, createInternalError } from '@develit-io/backend-sdk';
|
|
4
4
|
import './bank.BT7HayCV.mjs';
|
|
5
5
|
import 'date-fns';
|
|
6
6
|
import 'jose';
|
|
@@ -212,6 +212,16 @@ class MonetaConnector extends FinbricksConnector {
|
|
|
212
212
|
buildEndToEndId(payment) {
|
|
213
213
|
return buildEndToEndId(payment, { separator: "" });
|
|
214
214
|
}
|
|
215
|
+
async initiateForeignPayment(payment) {
|
|
216
|
+
if (!payment.vs) {
|
|
217
|
+
throw createInternalError(null, {
|
|
218
|
+
status: 422,
|
|
219
|
+
code: "VALID-B-020",
|
|
220
|
+
message: "MONETA requires a variable symbol on foreign payments (sent as remittanceInformation.structured). Add the VS and retry."
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
return super.initiateForeignPayment(payment);
|
|
224
|
+
}
|
|
215
225
|
}
|
|
216
226
|
|
|
217
227
|
const initiateConnector = async ({
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const paymentDirection = require('./shared/bank.
|
|
3
|
+
const paymentDirection = require('./shared/bank.D2wQhxnG.cjs');
|
|
4
4
|
const database_schema = require('./shared/bank.Ca3jzmIb.cjs');
|
|
5
5
|
const batchLifecycle = require('./shared/bank.NF8bZBy0.cjs');
|
|
6
6
|
const generalCodes = require('@develit-io/general-codes');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BankAccountMetadata, BaseEvent } from '@develit-io/backend-sdk';
|
|
2
|
-
import { I as IBankConnector, b as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
3
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.
|
|
4
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
5
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
2
|
+
import { I as IBankConnector, b as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.C7zoSV8F.cjs';
|
|
3
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.C7zoSV8F.cjs';
|
|
4
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.Dtw4Amqo.cjs';
|
|
5
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.Dtw4Amqo.cjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
8
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BankAccountMetadata, BaseEvent } from '@develit-io/backend-sdk';
|
|
2
|
-
import { I as IBankConnector, b as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
3
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.
|
|
4
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
5
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
2
|
+
import { I as IBankConnector, b as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.C7zoSV8F.mjs';
|
|
3
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.C7zoSV8F.mjs';
|
|
4
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BBNHHD0v.mjs';
|
|
5
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.BBNHHD0v.mjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
8
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BankAccountMetadata, BaseEvent } from '@develit-io/backend-sdk';
|
|
2
|
-
import { I as IBankConnector, b as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
3
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.
|
|
4
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
5
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
2
|
+
import { I as IBankConnector, b as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.C7zoSV8F.js';
|
|
3
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.C7zoSV8F.js';
|
|
4
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BO2rCT2t.js';
|
|
5
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.BO2rCT2t.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
8
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BASE_TERMINAL_STATUSES, C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as accountCredentialsInsertSchema, e as accountCredentialsSelectSchema, f as accountCredentialsUpdateSchema, g as accountInsertSchema, h as accountSelectSchema, i as accountUpdateSchema, j as assignAccount, k as dbuAccountConfigSchema, l as hasPaymentAccountAssigned, m as isPaymentCompleted, n as isPendingStatus, o as isProcessedStatus, p as isTerminalStatus, q as ottInsertSchema, r as ottSelectSchema, s as ottUpdateSchema, t as signFinbricksJws, u as toBatchedPayment, v as toBatchedPaymentFromPaymentRequest, w as toCompletedPayment, x as toIncomingPayment, y as toPaymentRequestInsert, z as toPreparedPayment, A as useFinbricksFetch } from './shared/bank.
|
|
1
|
+
export { B as BASE_TERMINAL_STATUSES, C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as accountCredentialsInsertSchema, e as accountCredentialsSelectSchema, f as accountCredentialsUpdateSchema, g as accountInsertSchema, h as accountSelectSchema, i as accountUpdateSchema, j as assignAccount, k as dbuAccountConfigSchema, l as hasPaymentAccountAssigned, m as isPaymentCompleted, n as isPendingStatus, o as isProcessedStatus, p as isTerminalStatus, q as ottInsertSchema, r as ottSelectSchema, s as ottUpdateSchema, t as signFinbricksJws, u as toBatchedPayment, v as toBatchedPaymentFromPaymentRequest, w as toCompletedPayment, x as toIncomingPayment, y as toPaymentRequestInsert, z as toPreparedPayment, A as useFinbricksFetch } from './shared/bank.CKCnWQLL.mjs';
|
|
2
2
|
export { A as ACCOUNT_STATUSES, B as BATCH_MODES, a as BATCH_STATUES, a as BATCH_STATUSES, C as CHARGE_BEARERS, b as CONNECTOR_KEYS, c as COUNTRY_CODES, d as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, P as PAYMENT_DIRECTIONS, e as PAYMENT_REQUEST_STATUSES, f as PAYMENT_STATUSES, g as PAYMENT_TYPES, T as TOKEN_TYPES } from './shared/bank.BT7HayCV.mjs';
|
|
3
3
|
export { i as isBatchAuthorized, a as isBatchCompleted, b as isBatchFailed, c as isBatchInitiated, d as isBatchProcessing, e as isBatchReadyToSign } from './shared/bank.XqSw509X.mjs';
|
|
4
4
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|