@develit-services/bank 1.1.6 → 1.1.7
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/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/worker.cjs +1 -1
- package/dist/export/worker.d.cts +14 -14
- package/dist/export/worker.d.mts +14 -14
- package/dist/export/worker.d.ts +14 -14
- package/dist/export/worker.mjs +1 -1
- package/dist/export/workflows.cjs +2 -2
- package/dist/export/workflows.mjs +2 -2
- package/dist/shared/{bank.Dixx8Oti.cjs → bank.CKtCVDQI.cjs} +4 -2
- package/dist/shared/{bank.BIGFf9v6.d.mts → bank.DCFpapec.d.cts} +1 -1
- package/dist/shared/{bank.DZTpZAaJ.mjs → bank.DW4baqPr.mjs} +4 -2
- package/dist/shared/{bank.OlRpAE2r.d.cts → bank.DffXtMaE.d.cts} +6 -6
- package/dist/shared/{bank.OlRpAE2r.d.mts → bank.DffXtMaE.d.mts} +6 -6
- package/dist/shared/{bank.OlRpAE2r.d.ts → bank.DffXtMaE.d.ts} +6 -6
- package/dist/shared/{bank.CB3KXGFO.d.ts → bank.GB5jJbtl.d.ts} +1 -1
- package/dist/shared/{bank.GznwQuu7.d.cts → bank.okndj9_R.d.mts} +1 -1
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.DffXtMaE.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.DffXtMaE.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.DffXtMaE.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const database_schema = require('../shared/bank.BgSk2k9D.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
|
-
const mock_connector = require('../shared/bank.
|
|
8
|
+
const mock_connector = require('../shared/bank.CKtCVDQI.cjs');
|
|
9
9
|
require('jose');
|
|
10
10
|
const zod = require('zod');
|
|
11
11
|
const generalCodes = require('@develit-io/general-codes');
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
2
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.DffXtMaE.cjs';
|
|
2
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.DCFpapec.cjs';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -2702,15 +2702,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2702
2702
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2703
2703
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2704
2704
|
AUTHORIZED: "AUTHORIZED";
|
|
2705
|
-
COMPLETED: "COMPLETED";
|
|
2706
2705
|
PROCESSING: "PROCESSING";
|
|
2707
2706
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2707
|
+
COMPLETED: "COMPLETED";
|
|
2708
2708
|
FAILED: "FAILED";
|
|
2709
2709
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2710
2710
|
AUTHORIZED: "AUTHORIZED";
|
|
2711
|
-
COMPLETED: "COMPLETED";
|
|
2712
2711
|
PROCESSING: "PROCESSING";
|
|
2713
2712
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2713
|
+
COMPLETED: "COMPLETED";
|
|
2714
2714
|
FAILED: "FAILED";
|
|
2715
2715
|
}>>]>>;
|
|
2716
2716
|
}, z.core.$strip>;
|
|
@@ -2947,20 +2947,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2947
2947
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2948
2948
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2949
2949
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2950
|
-
BOOKED: "BOOKED";
|
|
2951
|
-
REJECTED: "REJECTED";
|
|
2952
|
-
PENDING: "PENDING";
|
|
2953
2950
|
PROCESSING: "PROCESSING";
|
|
2951
|
+
PENDING: "PENDING";
|
|
2952
|
+
BOOKED: "BOOKED";
|
|
2954
2953
|
CANCELLED: "CANCELLED";
|
|
2954
|
+
REJECTED: "REJECTED";
|
|
2955
2955
|
SCHEDULED: "SCHEDULED";
|
|
2956
2956
|
HOLD: "HOLD";
|
|
2957
2957
|
INFO: "INFO";
|
|
2958
2958
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2959
|
-
BOOKED: "BOOKED";
|
|
2960
|
-
REJECTED: "REJECTED";
|
|
2961
|
-
PENDING: "PENDING";
|
|
2962
2959
|
PROCESSING: "PROCESSING";
|
|
2960
|
+
PENDING: "PENDING";
|
|
2961
|
+
BOOKED: "BOOKED";
|
|
2963
2962
|
CANCELLED: "CANCELLED";
|
|
2963
|
+
REJECTED: "REJECTED";
|
|
2964
2964
|
SCHEDULED: "SCHEDULED";
|
|
2965
2965
|
HOLD: "HOLD";
|
|
2966
2966
|
INFO: "INFO";
|
|
@@ -3746,19 +3746,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3746
3746
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3747
3747
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3748
3748
|
AUTHORIZED: "AUTHORIZED";
|
|
3749
|
-
OPENED: "OPENED";
|
|
3750
3749
|
COMPLETED: "COMPLETED";
|
|
3751
3750
|
BOOKED: "BOOKED";
|
|
3752
|
-
SETTLED: "SETTLED";
|
|
3753
3751
|
REJECTED: "REJECTED";
|
|
3752
|
+
OPENED: "OPENED";
|
|
3753
|
+
SETTLED: "SETTLED";
|
|
3754
3754
|
CLOSED: "CLOSED";
|
|
3755
3755
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3756
3756
|
AUTHORIZED: "AUTHORIZED";
|
|
3757
|
-
OPENED: "OPENED";
|
|
3758
3757
|
COMPLETED: "COMPLETED";
|
|
3759
3758
|
BOOKED: "BOOKED";
|
|
3760
|
-
SETTLED: "SETTLED";
|
|
3761
3759
|
REJECTED: "REJECTED";
|
|
3760
|
+
OPENED: "OPENED";
|
|
3761
|
+
SETTLED: "SETTLED";
|
|
3762
3762
|
CLOSED: "CLOSED";
|
|
3763
3763
|
}>>]>>;
|
|
3764
3764
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
2
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.DffXtMaE.mjs';
|
|
2
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.okndj9_R.mjs';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -2702,15 +2702,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2702
2702
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2703
2703
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2704
2704
|
AUTHORIZED: "AUTHORIZED";
|
|
2705
|
-
COMPLETED: "COMPLETED";
|
|
2706
2705
|
PROCESSING: "PROCESSING";
|
|
2707
2706
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2707
|
+
COMPLETED: "COMPLETED";
|
|
2708
2708
|
FAILED: "FAILED";
|
|
2709
2709
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2710
2710
|
AUTHORIZED: "AUTHORIZED";
|
|
2711
|
-
COMPLETED: "COMPLETED";
|
|
2712
2711
|
PROCESSING: "PROCESSING";
|
|
2713
2712
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2713
|
+
COMPLETED: "COMPLETED";
|
|
2714
2714
|
FAILED: "FAILED";
|
|
2715
2715
|
}>>]>>;
|
|
2716
2716
|
}, z.core.$strip>;
|
|
@@ -2947,20 +2947,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2947
2947
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2948
2948
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2949
2949
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2950
|
-
BOOKED: "BOOKED";
|
|
2951
|
-
REJECTED: "REJECTED";
|
|
2952
|
-
PENDING: "PENDING";
|
|
2953
2950
|
PROCESSING: "PROCESSING";
|
|
2951
|
+
PENDING: "PENDING";
|
|
2952
|
+
BOOKED: "BOOKED";
|
|
2954
2953
|
CANCELLED: "CANCELLED";
|
|
2954
|
+
REJECTED: "REJECTED";
|
|
2955
2955
|
SCHEDULED: "SCHEDULED";
|
|
2956
2956
|
HOLD: "HOLD";
|
|
2957
2957
|
INFO: "INFO";
|
|
2958
2958
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2959
|
-
BOOKED: "BOOKED";
|
|
2960
|
-
REJECTED: "REJECTED";
|
|
2961
|
-
PENDING: "PENDING";
|
|
2962
2959
|
PROCESSING: "PROCESSING";
|
|
2960
|
+
PENDING: "PENDING";
|
|
2961
|
+
BOOKED: "BOOKED";
|
|
2963
2962
|
CANCELLED: "CANCELLED";
|
|
2963
|
+
REJECTED: "REJECTED";
|
|
2964
2964
|
SCHEDULED: "SCHEDULED";
|
|
2965
2965
|
HOLD: "HOLD";
|
|
2966
2966
|
INFO: "INFO";
|
|
@@ -3746,19 +3746,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3746
3746
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3747
3747
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3748
3748
|
AUTHORIZED: "AUTHORIZED";
|
|
3749
|
-
OPENED: "OPENED";
|
|
3750
3749
|
COMPLETED: "COMPLETED";
|
|
3751
3750
|
BOOKED: "BOOKED";
|
|
3752
|
-
SETTLED: "SETTLED";
|
|
3753
3751
|
REJECTED: "REJECTED";
|
|
3752
|
+
OPENED: "OPENED";
|
|
3753
|
+
SETTLED: "SETTLED";
|
|
3754
3754
|
CLOSED: "CLOSED";
|
|
3755
3755
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3756
3756
|
AUTHORIZED: "AUTHORIZED";
|
|
3757
|
-
OPENED: "OPENED";
|
|
3758
3757
|
COMPLETED: "COMPLETED";
|
|
3759
3758
|
BOOKED: "BOOKED";
|
|
3760
|
-
SETTLED: "SETTLED";
|
|
3761
3759
|
REJECTED: "REJECTED";
|
|
3760
|
+
OPENED: "OPENED";
|
|
3761
|
+
SETTLED: "SETTLED";
|
|
3762
3762
|
CLOSED: "CLOSED";
|
|
3763
3763
|
}>>]>>;
|
|
3764
3764
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
2
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.DffXtMaE.js';
|
|
2
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.GB5jJbtl.js';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -2702,15 +2702,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2702
2702
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2703
2703
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2704
2704
|
AUTHORIZED: "AUTHORIZED";
|
|
2705
|
-
COMPLETED: "COMPLETED";
|
|
2706
2705
|
PROCESSING: "PROCESSING";
|
|
2707
2706
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2707
|
+
COMPLETED: "COMPLETED";
|
|
2708
2708
|
FAILED: "FAILED";
|
|
2709
2709
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2710
2710
|
AUTHORIZED: "AUTHORIZED";
|
|
2711
|
-
COMPLETED: "COMPLETED";
|
|
2712
2711
|
PROCESSING: "PROCESSING";
|
|
2713
2712
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2713
|
+
COMPLETED: "COMPLETED";
|
|
2714
2714
|
FAILED: "FAILED";
|
|
2715
2715
|
}>>]>>;
|
|
2716
2716
|
}, z.core.$strip>;
|
|
@@ -2947,20 +2947,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2947
2947
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2948
2948
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2949
2949
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2950
|
-
BOOKED: "BOOKED";
|
|
2951
|
-
REJECTED: "REJECTED";
|
|
2952
|
-
PENDING: "PENDING";
|
|
2953
2950
|
PROCESSING: "PROCESSING";
|
|
2951
|
+
PENDING: "PENDING";
|
|
2952
|
+
BOOKED: "BOOKED";
|
|
2954
2953
|
CANCELLED: "CANCELLED";
|
|
2954
|
+
REJECTED: "REJECTED";
|
|
2955
2955
|
SCHEDULED: "SCHEDULED";
|
|
2956
2956
|
HOLD: "HOLD";
|
|
2957
2957
|
INFO: "INFO";
|
|
2958
2958
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2959
|
-
BOOKED: "BOOKED";
|
|
2960
|
-
REJECTED: "REJECTED";
|
|
2961
|
-
PENDING: "PENDING";
|
|
2962
2959
|
PROCESSING: "PROCESSING";
|
|
2960
|
+
PENDING: "PENDING";
|
|
2961
|
+
BOOKED: "BOOKED";
|
|
2963
2962
|
CANCELLED: "CANCELLED";
|
|
2963
|
+
REJECTED: "REJECTED";
|
|
2964
2964
|
SCHEDULED: "SCHEDULED";
|
|
2965
2965
|
HOLD: "HOLD";
|
|
2966
2966
|
INFO: "INFO";
|
|
@@ -3746,19 +3746,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3746
3746
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3747
3747
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3748
3748
|
AUTHORIZED: "AUTHORIZED";
|
|
3749
|
-
OPENED: "OPENED";
|
|
3750
3749
|
COMPLETED: "COMPLETED";
|
|
3751
3750
|
BOOKED: "BOOKED";
|
|
3752
|
-
SETTLED: "SETTLED";
|
|
3753
3751
|
REJECTED: "REJECTED";
|
|
3752
|
+
OPENED: "OPENED";
|
|
3753
|
+
SETTLED: "SETTLED";
|
|
3754
3754
|
CLOSED: "CLOSED";
|
|
3755
3755
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3756
3756
|
AUTHORIZED: "AUTHORIZED";
|
|
3757
|
-
OPENED: "OPENED";
|
|
3758
3757
|
COMPLETED: "COMPLETED";
|
|
3759
3758
|
BOOKED: "BOOKED";
|
|
3760
|
-
SETTLED: "SETTLED";
|
|
3761
3759
|
REJECTED: "REJECTED";
|
|
3760
|
+
OPENED: "OPENED";
|
|
3761
|
+
SETTLED: "SETTLED";
|
|
3762
3762
|
CLOSED: "CLOSED";
|
|
3763
3763
|
}>>]>>;
|
|
3764
3764
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/export/worker.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { v as tables, I as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, g as PAY
|
|
|
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
|
-
import { j as initiateConnector, g as toIncomingPayment, d as assignAccount, t as toBatchedPayment, h as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from '../shared/bank.
|
|
6
|
+
import { j as initiateConnector, g as toIncomingPayment, d as assignAccount, t as toBatchedPayment, h as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from '../shared/bank.DW4baqPr.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
4
|
const database_schema = require('../shared/bank.BgSk2k9D.cjs');
|
|
5
5
|
const batchLifecycle = require('../shared/bank.NF8bZBy0.cjs');
|
|
6
|
-
const mock_connector = require('../shared/bank.
|
|
6
|
+
const mock_connector = require('../shared/bank.CKtCVDQI.cjs');
|
|
7
7
|
const drizzleOrm = require('drizzle-orm');
|
|
8
8
|
const credentialsResolver = require('../shared/bank.BA7TdO2v.cjs');
|
|
9
9
|
const cloudflare_workers = require('cloudflare:workers');
|
|
@@ -316,7 +316,7 @@ class BankSyncAccountPayments extends cloudflare_workers.WorkflowEntrypoint {
|
|
|
316
316
|
"fetch bank payments",
|
|
317
317
|
{
|
|
318
318
|
retries: { limit: 5, delay: 2e3, backoff: "constant" },
|
|
319
|
-
timeout: "
|
|
319
|
+
timeout: "60 seconds"
|
|
320
320
|
},
|
|
321
321
|
async () => {
|
|
322
322
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { first, uuidv4, asNonEmpty } from '@develit-io/backend-sdk';
|
|
2
2
|
import { v as tables, o as isPaymentCompleted } from '../shared/bank.B5s4U2l_.mjs';
|
|
3
3
|
import { i as isBatchAuthorized, b as isBatchFailed, d as isBatchProcessing } from '../shared/bank.XqSw509X.mjs';
|
|
4
|
-
import { e as toBatchedPaymentFromPaymentRequest, i as toPreparedPayment, j as initiateConnector } from '../shared/bank.
|
|
4
|
+
import { e as toBatchedPaymentFromPaymentRequest, i as toPreparedPayment, j as initiateConnector } from '../shared/bank.DW4baqPr.mjs';
|
|
5
5
|
import { eq, and, inArray } from 'drizzle-orm';
|
|
6
6
|
import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.Bv1uIGoZ.mjs';
|
|
7
7
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
@@ -314,7 +314,7 @@ class BankSyncAccountPayments extends WorkflowEntrypoint {
|
|
|
314
314
|
"fetch bank payments",
|
|
315
315
|
{
|
|
316
316
|
retries: { limit: 5, delay: 2e3, backoff: "constant" },
|
|
317
|
-
timeout: "
|
|
317
|
+
timeout: "60 seconds"
|
|
318
318
|
},
|
|
319
319
|
async () => {
|
|
320
320
|
try {
|
|
@@ -1674,6 +1674,8 @@ class DbuConnector extends IBankConnector {
|
|
|
1674
1674
|
filter
|
|
1675
1675
|
}) {
|
|
1676
1676
|
try {
|
|
1677
|
+
const dateFrom = dateFns.format(filter.dateFrom, "yyyy-MM-dd");
|
|
1678
|
+
const dateTo = dateFns.format(filter.dateTo || /* @__PURE__ */ new Date(), "yyyy-MM-dd");
|
|
1677
1679
|
const allPayments = [];
|
|
1678
1680
|
let offset = 0;
|
|
1679
1681
|
const limit = 10;
|
|
@@ -1691,8 +1693,8 @@ class DbuConnector extends IBankConnector {
|
|
|
1691
1693
|
// 'filter.mainAccount': account.number!,
|
|
1692
1694
|
// Date filtering
|
|
1693
1695
|
"filter.idAccount": account.bankRefId,
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
+
"filter.validFromStart": dateFrom,
|
|
1697
|
+
"filter.validFromEnd": dateTo,
|
|
1696
1698
|
// Pagination parameters
|
|
1697
1699
|
offset: offset.toString(),
|
|
1698
1700
|
limit: limit.toString()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.DffXtMaE.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -1672,6 +1672,8 @@ class DbuConnector extends IBankConnector {
|
|
|
1672
1672
|
filter
|
|
1673
1673
|
}) {
|
|
1674
1674
|
try {
|
|
1675
|
+
const dateFrom = format(filter.dateFrom, "yyyy-MM-dd");
|
|
1676
|
+
const dateTo = format(filter.dateTo || /* @__PURE__ */ new Date(), "yyyy-MM-dd");
|
|
1675
1677
|
const allPayments = [];
|
|
1676
1678
|
let offset = 0;
|
|
1677
1679
|
const limit = 10;
|
|
@@ -1689,8 +1691,8 @@ class DbuConnector extends IBankConnector {
|
|
|
1689
1691
|
// 'filter.mainAccount': account.number!,
|
|
1690
1692
|
// Date filtering
|
|
1691
1693
|
"filter.idAccount": account.bankRefId,
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
+
"filter.validFromStart": dateFrom,
|
|
1695
|
+
"filter.validFromEnd": dateTo,
|
|
1694
1696
|
// Pagination parameters
|
|
1695
1697
|
offset: offset.toString(),
|
|
1696
1698
|
limit: limit.toString()
|
|
@@ -2814,7 +2814,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2814
2814
|
tableName: "batch";
|
|
2815
2815
|
dataType: "string";
|
|
2816
2816
|
columnType: "SQLiteText";
|
|
2817
|
-
data: "AUTHORIZED" | "
|
|
2817
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2818
2818
|
driverParam: string;
|
|
2819
2819
|
notNull: false;
|
|
2820
2820
|
hasDefault: false;
|
|
@@ -2827,7 +2827,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2827
2827
|
generated: undefined;
|
|
2828
2828
|
}, {}, {
|
|
2829
2829
|
length: number | undefined;
|
|
2830
|
-
$type: "AUTHORIZED" | "
|
|
2830
|
+
$type: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2831
2831
|
}>;
|
|
2832
2832
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2833
2833
|
name: "status_reason";
|
|
@@ -3258,7 +3258,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3258
3258
|
tableName: "payment";
|
|
3259
3259
|
dataType: "string";
|
|
3260
3260
|
columnType: "SQLiteText";
|
|
3261
|
-
data: "
|
|
3261
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3262
3262
|
driverParam: string;
|
|
3263
3263
|
notNull: true;
|
|
3264
3264
|
hasDefault: false;
|
|
@@ -3271,7 +3271,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3271
3271
|
generated: undefined;
|
|
3272
3272
|
}, {}, {
|
|
3273
3273
|
length: number | undefined;
|
|
3274
|
-
$type: "
|
|
3274
|
+
$type: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3275
3275
|
}>;
|
|
3276
3276
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3277
3277
|
name: "status_reason";
|
|
@@ -3852,7 +3852,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3852
3852
|
tableName: "payment_request";
|
|
3853
3853
|
dataType: "string";
|
|
3854
3854
|
columnType: "SQLiteText";
|
|
3855
|
-
data: "AUTHORIZED" | "
|
|
3855
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
3856
3856
|
driverParam: string;
|
|
3857
3857
|
notNull: true;
|
|
3858
3858
|
hasDefault: false;
|
|
@@ -3865,7 +3865,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3865
3865
|
generated: undefined;
|
|
3866
3866
|
}, {}, {
|
|
3867
3867
|
length: number | undefined;
|
|
3868
|
-
$type: "AUTHORIZED" | "
|
|
3868
|
+
$type: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
3869
3869
|
}>;
|
|
3870
3870
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3871
3871
|
name: "status_reason";
|
|
@@ -2814,7 +2814,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2814
2814
|
tableName: "batch";
|
|
2815
2815
|
dataType: "string";
|
|
2816
2816
|
columnType: "SQLiteText";
|
|
2817
|
-
data: "AUTHORIZED" | "
|
|
2817
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2818
2818
|
driverParam: string;
|
|
2819
2819
|
notNull: false;
|
|
2820
2820
|
hasDefault: false;
|
|
@@ -2827,7 +2827,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2827
2827
|
generated: undefined;
|
|
2828
2828
|
}, {}, {
|
|
2829
2829
|
length: number | undefined;
|
|
2830
|
-
$type: "AUTHORIZED" | "
|
|
2830
|
+
$type: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2831
2831
|
}>;
|
|
2832
2832
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2833
2833
|
name: "status_reason";
|
|
@@ -3258,7 +3258,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3258
3258
|
tableName: "payment";
|
|
3259
3259
|
dataType: "string";
|
|
3260
3260
|
columnType: "SQLiteText";
|
|
3261
|
-
data: "
|
|
3261
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3262
3262
|
driverParam: string;
|
|
3263
3263
|
notNull: true;
|
|
3264
3264
|
hasDefault: false;
|
|
@@ -3271,7 +3271,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3271
3271
|
generated: undefined;
|
|
3272
3272
|
}, {}, {
|
|
3273
3273
|
length: number | undefined;
|
|
3274
|
-
$type: "
|
|
3274
|
+
$type: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3275
3275
|
}>;
|
|
3276
3276
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3277
3277
|
name: "status_reason";
|
|
@@ -3852,7 +3852,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3852
3852
|
tableName: "payment_request";
|
|
3853
3853
|
dataType: "string";
|
|
3854
3854
|
columnType: "SQLiteText";
|
|
3855
|
-
data: "AUTHORIZED" | "
|
|
3855
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
3856
3856
|
driverParam: string;
|
|
3857
3857
|
notNull: true;
|
|
3858
3858
|
hasDefault: false;
|
|
@@ -3865,7 +3865,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3865
3865
|
generated: undefined;
|
|
3866
3866
|
}, {}, {
|
|
3867
3867
|
length: number | undefined;
|
|
3868
|
-
$type: "AUTHORIZED" | "
|
|
3868
|
+
$type: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
3869
3869
|
}>;
|
|
3870
3870
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3871
3871
|
name: "status_reason";
|
|
@@ -2814,7 +2814,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2814
2814
|
tableName: "batch";
|
|
2815
2815
|
dataType: "string";
|
|
2816
2816
|
columnType: "SQLiteText";
|
|
2817
|
-
data: "AUTHORIZED" | "
|
|
2817
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2818
2818
|
driverParam: string;
|
|
2819
2819
|
notNull: false;
|
|
2820
2820
|
hasDefault: false;
|
|
@@ -2827,7 +2827,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2827
2827
|
generated: undefined;
|
|
2828
2828
|
}, {}, {
|
|
2829
2829
|
length: number | undefined;
|
|
2830
|
-
$type: "AUTHORIZED" | "
|
|
2830
|
+
$type: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2831
2831
|
}>;
|
|
2832
2832
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2833
2833
|
name: "status_reason";
|
|
@@ -3258,7 +3258,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3258
3258
|
tableName: "payment";
|
|
3259
3259
|
dataType: "string";
|
|
3260
3260
|
columnType: "SQLiteText";
|
|
3261
|
-
data: "
|
|
3261
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3262
3262
|
driverParam: string;
|
|
3263
3263
|
notNull: true;
|
|
3264
3264
|
hasDefault: false;
|
|
@@ -3271,7 +3271,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3271
3271
|
generated: undefined;
|
|
3272
3272
|
}, {}, {
|
|
3273
3273
|
length: number | undefined;
|
|
3274
|
-
$type: "
|
|
3274
|
+
$type: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
3275
3275
|
}>;
|
|
3276
3276
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3277
3277
|
name: "status_reason";
|
|
@@ -3852,7 +3852,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3852
3852
|
tableName: "payment_request";
|
|
3853
3853
|
dataType: "string";
|
|
3854
3854
|
columnType: "SQLiteText";
|
|
3855
|
-
data: "AUTHORIZED" | "
|
|
3855
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
3856
3856
|
driverParam: string;
|
|
3857
3857
|
notNull: true;
|
|
3858
3858
|
hasDefault: false;
|
|
@@ -3865,7 +3865,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3865
3865
|
generated: undefined;
|
|
3866
3866
|
}, {}, {
|
|
3867
3867
|
length: number | undefined;
|
|
3868
|
-
$type: "AUTHORIZED" | "
|
|
3868
|
+
$type: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
3869
3869
|
}>;
|
|
3870
3870
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3871
3871
|
name: "status_reason";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.DffXtMaE.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.DffXtMaE.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mock_connector = require('./shared/bank.
|
|
3
|
+
const mock_connector = require('./shared/bank.CKtCVDQI.cjs');
|
|
4
4
|
const database_schema = require('./shared/bank.BgSk2k9D.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,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
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.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DffXtMaE.cjs';
|
|
2
|
+
export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DffXtMaE.cjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.DCFpapec.cjs';
|
|
4
|
+
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.DCFpapec.cjs';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CVJosema.cjs';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
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.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DffXtMaE.mjs';
|
|
2
|
+
export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DffXtMaE.mjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.okndj9_R.mjs';
|
|
4
|
+
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.okndj9_R.mjs';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CVJosema.mjs';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
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.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DffXtMaE.js';
|
|
2
|
+
export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DffXtMaE.js';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.GB5jJbtl.js';
|
|
4
|
+
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.GB5jJbtl.js';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CVJosema.js';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { 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 assignAccount, s as signFinbricksJws, t as toBatchedPayment, e as toBatchedPaymentFromPaymentRequest, f as toCompletedPayment, g as toIncomingPayment, h as toPaymentRequestInsert, i as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.
|
|
1
|
+
export { 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 assignAccount, s as signFinbricksJws, t as toBatchedPayment, e as toBatchedPaymentFromPaymentRequest, f as toCompletedPayment, g as toIncomingPayment, h as toPaymentRequestInsert, i as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.DW4baqPr.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, h as accountCredentialsInsertSchema, i as accountCredentialsSelectSchema, j as accountCredentialsUpdateSchema, k as accountInsertSchema, l as accountSelectSchema, m as accountUpdateSchema, n as hasPaymentAccountAssigned, o as isPaymentCompleted, p as isPendingStatus, q as isProcessedStatus, r as isTerminalStatus, s as ottInsertSchema, t as ottSelectSchema, u as ottUpdateSchema } from './shared/bank.B5s4U2l_.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';
|