@develit-services/bank 0.3.42 → 0.3.44
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.cjs +1 -1
- 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/database/schema.mjs +1 -1
- package/dist/export/worker.cjs +3 -3
- package/dist/export/worker.d.cts +1 -1
- package/dist/export/worker.d.mts +1 -1
- package/dist/export/worker.d.ts +1 -1
- package/dist/export/worker.mjs +3 -3
- package/dist/export/workflows.cjs +3 -3
- package/dist/export/workflows.mjs +4 -4
- package/dist/shared/{bank.HlxUqlDv.cjs → bank.C335-raZ.cjs} +5 -4
- package/dist/shared/{bank.BQXTsTfX.mjs → bank.Cj-oB02_.mjs} +3 -2
- package/dist/shared/{bank.BUuz9ahr.cjs → bank.ClRIj2Ma.cjs} +1 -1
- package/dist/shared/{bank.xrXNjWCo.d.cts → bank.D8wUOeOK.d.cts} +3 -2
- package/dist/shared/{bank.xrXNjWCo.d.mts → bank.D8wUOeOK.d.mts} +3 -2
- package/dist/shared/{bank.xrXNjWCo.d.ts → bank.D8wUOeOK.d.ts} +3 -2
- package/dist/shared/{bank.7e-LCMJ-.mjs → bank.DFRS9oN5.mjs} +5 -4
- package/dist/shared/{bank.DokzI07s.mjs → bank.DhPfZ6b_.mjs} +1 -1
- package/dist/shared/{bank.Dc6O7-dN.cjs → bank.DwyrLcKu.cjs} +3 -2
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +8 -5
- package/dist/types.d.mts +8 -5
- package/dist/types.d.ts +8 -5
- package/dist/types.mjs +2 -2
- package/package.json +1 -1
package/dist/database/schema.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.D8wUOeOK.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.D8wUOeOK.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.D8wUOeOK.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
package/dist/database/schema.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { y as account, z as accountCredentials, r as batch, x as ott, v as payment, w as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { y as account, z as accountCredentials, r as batch, x as ott, v as payment, w as paymentRelations } from '../shared/bank.DFRS9oN5.mjs';
|
|
2
2
|
import '@develit-io/backend-sdk';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import 'date-fns';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
4
|
const cloudflare_workers = require('cloudflare:workers');
|
|
5
5
|
const d1 = require('drizzle-orm/d1');
|
|
6
|
-
const database_schema = require('../shared/bank.
|
|
6
|
+
const database_schema = require('../shared/bank.C335-raZ.cjs');
|
|
7
7
|
require('jose');
|
|
8
8
|
const generalCodes = require('@develit-io/general-codes');
|
|
9
9
|
const zod = require('zod');
|
|
10
|
-
const processBatch_workflow = require('../shared/bank.
|
|
10
|
+
const processBatch_workflow = require('../shared/bank.DwyrLcKu.cjs');
|
|
11
11
|
const drizzleOrm = require('drizzle-orm');
|
|
12
12
|
require('drizzle-orm/sqlite-core');
|
|
13
13
|
require('date-fns');
|
|
@@ -15,7 +15,7 @@ require('drizzle-zod');
|
|
|
15
15
|
require('drizzle-orm/relations');
|
|
16
16
|
require('node:crypto');
|
|
17
17
|
require('cloudflare:workflows');
|
|
18
|
-
require('../shared/bank.
|
|
18
|
+
require('../shared/bank.ClRIj2Ma.cjs');
|
|
19
19
|
|
|
20
20
|
const upsertAccountCommand = (db, { account }) => {
|
|
21
21
|
const id = account.id || backendSdk.uuidv4();
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, I as IBankConnector, a as ConnectorKey, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, I as IBankConnector, a as ConnectorKey, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.D8wUOeOK.cjs';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, I as IBankConnector, a as ConnectorKey, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, I as IBankConnector, a as ConnectorKey, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.D8wUOeOK.mjs';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, I as IBankConnector, a as ConnectorKey, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, I as IBankConnector, a as ConnectorKey, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.D8wUOeOK.js';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { uuidv4, bankAccountMetadataSchema, workflowInstanceStatusSchema, develitWorker, createInternalError, first, action, service } from '@develit-io/backend-sdk';
|
|
2
2
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
3
3
|
import { drizzle } from 'drizzle-orm/d1';
|
|
4
|
-
import { t as tables, c as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, P as PAYMENT_TYPES, g as CONNECTOR_KEYS, B as BATCH_STATUSES, d as PAYMENT_STATUSES, e as PAYMENT_DIRECTIONS, i as accountInsertSchema, M as MockConnector, F as FinbricksConnector, E as ErsteConnector } from '../shared/bank.
|
|
4
|
+
import { t as tables, c as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, P as PAYMENT_TYPES, g as CONNECTOR_KEYS, B as BATCH_STATUSES, d as PAYMENT_STATUSES, e as PAYMENT_DIRECTIONS, i as accountInsertSchema, M as MockConnector, F as FinbricksConnector, E as ErsteConnector } from '../shared/bank.DFRS9oN5.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { e as encrypt, P as PROCESS_BATCH_WORKFLOW_EVENTS, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, u as upsertBatchCommand, c as createPaymentCommand, g as getAccountByIdQuery } from '../shared/bank.
|
|
8
|
+
import { e as encrypt, P as PROCESS_BATCH_WORKFLOW_EVENTS, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, u as upsertBatchCommand, c as createPaymentCommand, g as getAccountByIdQuery } from '../shared/bank.Cj-oB02_.mjs';
|
|
9
9
|
import { eq, inArray, and, sql, asc, desc, gte, lte } from 'drizzle-orm';
|
|
10
10
|
import 'drizzle-orm/sqlite-core';
|
|
11
11
|
import 'date-fns';
|
|
@@ -13,7 +13,7 @@ import 'drizzle-zod';
|
|
|
13
13
|
import 'drizzle-orm/relations';
|
|
14
14
|
import 'node:crypto';
|
|
15
15
|
import 'cloudflare:workflows';
|
|
16
|
-
import '../shared/bank.
|
|
16
|
+
import '../shared/bank.DhPfZ6b_.mjs';
|
|
17
17
|
|
|
18
18
|
const upsertAccountCommand = (db, { account }) => {
|
|
19
19
|
const id = account.id || uuidv4();
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
const cloudflare_workers = require('cloudflare:workers');
|
|
4
4
|
const cloudflare_workflows = require('cloudflare:workflows');
|
|
5
5
|
const d1 = require('drizzle-orm/d1');
|
|
6
|
-
const database_schema = require('../shared/bank.
|
|
6
|
+
const database_schema = require('../shared/bank.C335-raZ.cjs');
|
|
7
7
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
8
|
-
const processBatch_workflow = require('../shared/bank.
|
|
8
|
+
const processBatch_workflow = require('../shared/bank.DwyrLcKu.cjs');
|
|
9
9
|
const drizzleOrm = require('drizzle-orm');
|
|
10
10
|
require('drizzle-orm/sqlite-core');
|
|
11
11
|
require('date-fns');
|
|
@@ -14,7 +14,7 @@ require('@develit-io/general-codes');
|
|
|
14
14
|
require('drizzle-zod');
|
|
15
15
|
require('drizzle-orm/relations');
|
|
16
16
|
require('node:crypto');
|
|
17
|
-
require('../shared/bank.
|
|
17
|
+
require('../shared/bank.ClRIj2Ma.cjs');
|
|
18
18
|
|
|
19
19
|
const updateAccountLastSyncCommand = (db, {
|
|
20
20
|
lastSyncAt,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
2
2
|
import { NonRetryableError } from 'cloudflare:workflows';
|
|
3
3
|
import { drizzle } from 'drizzle-orm/d1';
|
|
4
|
-
import { t as tables } from '../shared/bank.
|
|
4
|
+
import { t as tables } from '../shared/bank.DFRS9oN5.mjs';
|
|
5
5
|
import { asNonEmpty } from '@develit-io/backend-sdk';
|
|
6
|
-
import { g as getAccountByIdQuery, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, c as createPaymentCommand } from '../shared/bank.
|
|
7
|
-
export { B as BankProcessBatch } from '../shared/bank.
|
|
6
|
+
import { g as getAccountByIdQuery, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, c as createPaymentCommand } from '../shared/bank.Cj-oB02_.mjs';
|
|
7
|
+
export { B as BankProcessBatch } from '../shared/bank.Cj-oB02_.mjs';
|
|
8
8
|
import { eq } from 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/sqlite-core';
|
|
10
10
|
import 'date-fns';
|
|
@@ -13,7 +13,7 @@ import '@develit-io/general-codes';
|
|
|
13
13
|
import 'drizzle-zod';
|
|
14
14
|
import 'drizzle-orm/relations';
|
|
15
15
|
import 'node:crypto';
|
|
16
|
-
import '../shared/bank.
|
|
16
|
+
import '../shared/bank.DhPfZ6b_.mjs';
|
|
17
17
|
|
|
18
18
|
const updateAccountLastSyncCommand = (db, {
|
|
19
19
|
lastSyncAt,
|
|
@@ -272,7 +272,7 @@ class FinbricksConnector extends IBankConnector {
|
|
|
272
272
|
paymentProvider: this.PROVIDER,
|
|
273
273
|
scope: "AISP_PISP",
|
|
274
274
|
// finbricks automatically adds the clientId to the callbackUrl
|
|
275
|
-
callbackUrl: `${this.finbricks.REDIRECT_URI}?ott=${ott}`
|
|
275
|
+
callbackUrl: `${this.finbricks.REDIRECT_URI}?type=auth&ott=${ott}`
|
|
276
276
|
};
|
|
277
277
|
const [response, error] = await backendSdk.useResult(
|
|
278
278
|
this.finbricks.request({
|
|
@@ -446,9 +446,9 @@ class FinbricksConnector extends IBankConnector {
|
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
448
|
async initiateBatchFromPayments({
|
|
449
|
+
batchId,
|
|
449
450
|
payments
|
|
450
451
|
}) {
|
|
451
|
-
const batchId = backendSdk.uuidv4();
|
|
452
452
|
const authorizedClient = this.connectedAccounts.find(
|
|
453
453
|
(acc) => acc.iban === payments[0].debtorIban
|
|
454
454
|
);
|
|
@@ -465,7 +465,7 @@ class FinbricksConnector extends IBankConnector {
|
|
|
465
465
|
merchantId: this.finbricks.MERCHANT_ID,
|
|
466
466
|
debtorAccountIban: payments[0].debtorIban,
|
|
467
467
|
clientId: authorizedClient.token,
|
|
468
|
-
callbackUrl:
|
|
468
|
+
callbackUrl: `${this.finbricks.REDIRECT_URI}?type=batch&batchId=${batchId}`,
|
|
469
469
|
merchantBatchId: batchId
|
|
470
470
|
},
|
|
471
471
|
payments: payments.map((p) => ({
|
|
@@ -858,10 +858,10 @@ class ErsteConnector extends IBankConnector {
|
|
|
858
858
|
};
|
|
859
859
|
}
|
|
860
860
|
async initiateBatchFromPayments({
|
|
861
|
+
batchId,
|
|
861
862
|
payments
|
|
862
863
|
}) {
|
|
863
864
|
const allRefIds = payments.map((payment) => payment.bankRefId);
|
|
864
|
-
const batchId = backendSdk.uuidv4();
|
|
865
865
|
if (allRefIds.length === 0) {
|
|
866
866
|
throw backendSdk.createInternalError(null, {
|
|
867
867
|
message: "No valid payments to include in batch",
|
|
@@ -1076,6 +1076,7 @@ class MockConnector extends IBankConnector {
|
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
1078
1078
|
async initiateBatchFromPayments({
|
|
1079
|
+
batchId,
|
|
1079
1080
|
payments
|
|
1080
1081
|
}) {
|
|
1081
1082
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as tables, F as FinbricksConnector, M as MockConnector, E as ErsteConnector } from './bank.
|
|
1
|
+
import { t as tables, F as FinbricksConnector, M as MockConnector, E as ErsteConnector } from './bank.DFRS9oN5.mjs';
|
|
2
2
|
import { uuidv4, first } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { NonRetryableError } from 'cloudflare:workflows';
|
|
@@ -7,7 +7,7 @@ import { eq } from 'drizzle-orm';
|
|
|
7
7
|
import 'jose';
|
|
8
8
|
import '@develit-io/general-codes';
|
|
9
9
|
import { createHash } from 'node:crypto';
|
|
10
|
-
import { M as MockCobsConnector } from './bank.
|
|
10
|
+
import { M as MockCobsConnector } from './bank.DhPfZ6b_.mjs';
|
|
11
11
|
|
|
12
12
|
const createPaymentCommand = (db, { payment }) => {
|
|
13
13
|
return {
|
|
@@ -317,6 +317,7 @@ class BankProcessBatch extends WorkflowEntrypoint {
|
|
|
317
317
|
]
|
|
318
318
|
});
|
|
319
319
|
const result = await connector.initiateBatchFromPayments({
|
|
320
|
+
batchId: batch.id,
|
|
320
321
|
payments: preparedPayments
|
|
321
322
|
});
|
|
322
323
|
const {
|
|
@@ -1654,8 +1654,9 @@ declare abstract class IBankConnector {
|
|
|
1654
1654
|
accounts: AccountInsertType[];
|
|
1655
1655
|
}>;
|
|
1656
1656
|
abstract listAccounts(): Promise<AccountInsertType[]>;
|
|
1657
|
-
abstract preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
1658
|
-
abstract initiateBatchFromPayments({ payments, }: {
|
|
1657
|
+
abstract preparePayment(batchId: string, payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
1658
|
+
abstract initiateBatchFromPayments({ batchId, payments, }: {
|
|
1659
|
+
batchId: string;
|
|
1659
1660
|
payments: PaymentPreparedInsertType[];
|
|
1660
1661
|
}): Promise<InitiatedBatch>;
|
|
1661
1662
|
abstract initiateSEPAPayment(payment: IncomingPaymentMessage): Promise<InitiatedPayment>;
|
|
@@ -1654,8 +1654,9 @@ declare abstract class IBankConnector {
|
|
|
1654
1654
|
accounts: AccountInsertType[];
|
|
1655
1655
|
}>;
|
|
1656
1656
|
abstract listAccounts(): Promise<AccountInsertType[]>;
|
|
1657
|
-
abstract preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
1658
|
-
abstract initiateBatchFromPayments({ payments, }: {
|
|
1657
|
+
abstract preparePayment(batchId: string, payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
1658
|
+
abstract initiateBatchFromPayments({ batchId, payments, }: {
|
|
1659
|
+
batchId: string;
|
|
1659
1660
|
payments: PaymentPreparedInsertType[];
|
|
1660
1661
|
}): Promise<InitiatedBatch>;
|
|
1661
1662
|
abstract initiateSEPAPayment(payment: IncomingPaymentMessage): Promise<InitiatedPayment>;
|
|
@@ -1654,8 +1654,9 @@ declare abstract class IBankConnector {
|
|
|
1654
1654
|
accounts: AccountInsertType[];
|
|
1655
1655
|
}>;
|
|
1656
1656
|
abstract listAccounts(): Promise<AccountInsertType[]>;
|
|
1657
|
-
abstract preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
1658
|
-
abstract initiateBatchFromPayments({ payments, }: {
|
|
1657
|
+
abstract preparePayment(batchId: string, payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
1658
|
+
abstract initiateBatchFromPayments({ batchId, payments, }: {
|
|
1659
|
+
batchId: string;
|
|
1659
1660
|
payments: PaymentPreparedInsertType[];
|
|
1660
1661
|
}): Promise<InitiatedBatch>;
|
|
1661
1662
|
abstract initiateSEPAPayment(payment: IncomingPaymentMessage): Promise<InitiatedPayment>;
|
|
@@ -270,7 +270,7 @@ class FinbricksConnector extends IBankConnector {
|
|
|
270
270
|
paymentProvider: this.PROVIDER,
|
|
271
271
|
scope: "AISP_PISP",
|
|
272
272
|
// finbricks automatically adds the clientId to the callbackUrl
|
|
273
|
-
callbackUrl: `${this.finbricks.REDIRECT_URI}?ott=${ott}`
|
|
273
|
+
callbackUrl: `${this.finbricks.REDIRECT_URI}?type=auth&ott=${ott}`
|
|
274
274
|
};
|
|
275
275
|
const [response, error] = await useResult(
|
|
276
276
|
this.finbricks.request({
|
|
@@ -444,9 +444,9 @@ class FinbricksConnector extends IBankConnector {
|
|
|
444
444
|
};
|
|
445
445
|
}
|
|
446
446
|
async initiateBatchFromPayments({
|
|
447
|
+
batchId,
|
|
447
448
|
payments
|
|
448
449
|
}) {
|
|
449
|
-
const batchId = uuidv4();
|
|
450
450
|
const authorizedClient = this.connectedAccounts.find(
|
|
451
451
|
(acc) => acc.iban === payments[0].debtorIban
|
|
452
452
|
);
|
|
@@ -463,7 +463,7 @@ class FinbricksConnector extends IBankConnector {
|
|
|
463
463
|
merchantId: this.finbricks.MERCHANT_ID,
|
|
464
464
|
debtorAccountIban: payments[0].debtorIban,
|
|
465
465
|
clientId: authorizedClient.token,
|
|
466
|
-
callbackUrl:
|
|
466
|
+
callbackUrl: `${this.finbricks.REDIRECT_URI}?type=batch&batchId=${batchId}`,
|
|
467
467
|
merchantBatchId: batchId
|
|
468
468
|
},
|
|
469
469
|
payments: payments.map((p) => ({
|
|
@@ -856,10 +856,10 @@ class ErsteConnector extends IBankConnector {
|
|
|
856
856
|
};
|
|
857
857
|
}
|
|
858
858
|
async initiateBatchFromPayments({
|
|
859
|
+
batchId,
|
|
859
860
|
payments
|
|
860
861
|
}) {
|
|
861
862
|
const allRefIds = payments.map((payment) => payment.bankRefId);
|
|
862
|
-
const batchId = uuidv4();
|
|
863
863
|
if (allRefIds.length === 0) {
|
|
864
864
|
throw createInternalError(null, {
|
|
865
865
|
message: "No valid payments to include in batch",
|
|
@@ -1074,6 +1074,7 @@ class MockConnector extends IBankConnector {
|
|
|
1074
1074
|
};
|
|
1075
1075
|
}
|
|
1076
1076
|
async initiateBatchFromPayments({
|
|
1077
|
+
batchId,
|
|
1077
1078
|
payments
|
|
1078
1079
|
}) {
|
|
1079
1080
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('./bank.
|
|
3
|
+
const database_schema = require('./bank.C335-raZ.cjs');
|
|
4
4
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
5
5
|
const cloudflare_workers = require('cloudflare:workers');
|
|
6
6
|
const cloudflare_workflows = require('cloudflare:workflows');
|
|
@@ -9,7 +9,7 @@ const drizzleOrm = require('drizzle-orm');
|
|
|
9
9
|
require('jose');
|
|
10
10
|
require('@develit-io/general-codes');
|
|
11
11
|
const node_crypto = require('node:crypto');
|
|
12
|
-
const mockCobs_connector = require('./bank.
|
|
12
|
+
const mockCobs_connector = require('./bank.ClRIj2Ma.cjs');
|
|
13
13
|
|
|
14
14
|
const createPaymentCommand = (db, { payment }) => {
|
|
15
15
|
return {
|
|
@@ -319,6 +319,7 @@ class BankProcessBatch extends cloudflare_workers.WorkflowEntrypoint {
|
|
|
319
319
|
]
|
|
320
320
|
});
|
|
321
321
|
const result = await connector.initiateBatchFromPayments({
|
|
322
|
+
batchId: batch.id,
|
|
322
323
|
payments: preparedPayments
|
|
323
324
|
});
|
|
324
325
|
const {
|
package/dist/types.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('./shared/bank.
|
|
4
|
-
const mockCobs_connector = require('./shared/bank.
|
|
3
|
+
const database_schema = require('./shared/bank.C335-raZ.cjs');
|
|
4
|
+
const mockCobs_connector = require('./shared/bank.ClRIj2Ma.cjs');
|
|
5
5
|
const generalCodes = require('@develit-io/general-codes');
|
|
6
6
|
require('@develit-io/backend-sdk');
|
|
7
7
|
require('drizzle-orm/sqlite-core');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.D8wUOeOK.cjs';
|
|
2
|
+
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.D8wUOeOK.cjs';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.cjs';
|
|
@@ -48,7 +48,8 @@ declare class ErsteConnector extends IBankConnector {
|
|
|
48
48
|
}): Promise<string>;
|
|
49
49
|
listAccounts(): Promise<[]>;
|
|
50
50
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
51
|
-
initiateBatchFromPayments({ payments, }: {
|
|
51
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
52
|
+
batchId: string;
|
|
52
53
|
payments: PaymentPreparedInsertType[];
|
|
53
54
|
}): Promise<InitiatedBatch>;
|
|
54
55
|
initiateSinglePayment(): Promise<InitiatedPayment>;
|
|
@@ -477,7 +478,8 @@ declare abstract class FinbricksConnector extends IBankConnector {
|
|
|
477
478
|
}): Promise<FinbricksAccount[]>;
|
|
478
479
|
listAccounts(): Promise<AccountInsertType[]>;
|
|
479
480
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
480
|
-
initiateBatchFromPayments({ payments, }: {
|
|
481
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
482
|
+
batchId: string;
|
|
481
483
|
payments: PaymentPreparedInsertType[];
|
|
482
484
|
}): Promise<InitiatedBatch>;
|
|
483
485
|
initiateForeignPayment(payment: IncomingPaymentMessage): Promise<InitiatedPayment>;
|
|
@@ -519,7 +521,8 @@ declare class MockConnector extends IBankConnector {
|
|
|
519
521
|
}>;
|
|
520
522
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
521
523
|
initiateSinglePayment(payment: PaymentPreparedInsertType): Promise<InitiatedPayment>;
|
|
522
|
-
initiateBatchFromPayments({ payments, }: {
|
|
524
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
525
|
+
batchId: string;
|
|
523
526
|
payments: IncomingPaymentMessage[];
|
|
524
527
|
}): Promise<InitiatedBatch>;
|
|
525
528
|
getAllAccountPayments({ db, }: {
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.D8wUOeOK.mjs';
|
|
2
|
+
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.D8wUOeOK.mjs';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.mjs';
|
|
@@ -48,7 +48,8 @@ declare class ErsteConnector extends IBankConnector {
|
|
|
48
48
|
}): Promise<string>;
|
|
49
49
|
listAccounts(): Promise<[]>;
|
|
50
50
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
51
|
-
initiateBatchFromPayments({ payments, }: {
|
|
51
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
52
|
+
batchId: string;
|
|
52
53
|
payments: PaymentPreparedInsertType[];
|
|
53
54
|
}): Promise<InitiatedBatch>;
|
|
54
55
|
initiateSinglePayment(): Promise<InitiatedPayment>;
|
|
@@ -477,7 +478,8 @@ declare abstract class FinbricksConnector extends IBankConnector {
|
|
|
477
478
|
}): Promise<FinbricksAccount[]>;
|
|
478
479
|
listAccounts(): Promise<AccountInsertType[]>;
|
|
479
480
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
480
|
-
initiateBatchFromPayments({ payments, }: {
|
|
481
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
482
|
+
batchId: string;
|
|
481
483
|
payments: PaymentPreparedInsertType[];
|
|
482
484
|
}): Promise<InitiatedBatch>;
|
|
483
485
|
initiateForeignPayment(payment: IncomingPaymentMessage): Promise<InitiatedPayment>;
|
|
@@ -519,7 +521,8 @@ declare class MockConnector extends IBankConnector {
|
|
|
519
521
|
}>;
|
|
520
522
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
521
523
|
initiateSinglePayment(payment: PaymentPreparedInsertType): Promise<InitiatedPayment>;
|
|
522
|
-
initiateBatchFromPayments({ payments, }: {
|
|
524
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
525
|
+
batchId: string;
|
|
523
526
|
payments: IncomingPaymentMessage[];
|
|
524
527
|
}): Promise<InitiatedBatch>;
|
|
525
528
|
getAllAccountPayments({ db, }: {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.D8wUOeOK.js';
|
|
2
|
+
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.D8wUOeOK.js';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.js';
|
|
@@ -48,7 +48,8 @@ declare class ErsteConnector extends IBankConnector {
|
|
|
48
48
|
}): Promise<string>;
|
|
49
49
|
listAccounts(): Promise<[]>;
|
|
50
50
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
51
|
-
initiateBatchFromPayments({ payments, }: {
|
|
51
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
52
|
+
batchId: string;
|
|
52
53
|
payments: PaymentPreparedInsertType[];
|
|
53
54
|
}): Promise<InitiatedBatch>;
|
|
54
55
|
initiateSinglePayment(): Promise<InitiatedPayment>;
|
|
@@ -477,7 +478,8 @@ declare abstract class FinbricksConnector extends IBankConnector {
|
|
|
477
478
|
}): Promise<FinbricksAccount[]>;
|
|
478
479
|
listAccounts(): Promise<AccountInsertType[]>;
|
|
479
480
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
480
|
-
initiateBatchFromPayments({ payments, }: {
|
|
481
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
482
|
+
batchId: string;
|
|
481
483
|
payments: PaymentPreparedInsertType[];
|
|
482
484
|
}): Promise<InitiatedBatch>;
|
|
483
485
|
initiateForeignPayment(payment: IncomingPaymentMessage): Promise<InitiatedPayment>;
|
|
@@ -519,7 +521,8 @@ declare class MockConnector extends IBankConnector {
|
|
|
519
521
|
}>;
|
|
520
522
|
preparePayment(payment: IncomingPaymentMessage): Promise<PaymentPreparedInsertType>;
|
|
521
523
|
initiateSinglePayment(payment: PaymentPreparedInsertType): Promise<InitiatedPayment>;
|
|
522
|
-
initiateBatchFromPayments({ payments, }: {
|
|
524
|
+
initiateBatchFromPayments({ batchId, payments, }: {
|
|
525
|
+
batchId: string;
|
|
523
526
|
payments: IncomingPaymentMessage[];
|
|
524
527
|
}): Promise<InitiatedBatch>;
|
|
525
528
|
getAllAccountPayments({ db, }: {
|
package/dist/types.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, g as CONNECTOR_KEYS, f as COUNTRY_CODES, h as CREDENTIALS_TYPES, E as ErsteConnector, b as FINBRICKS_ENDPOINTS, a as FinbricksClient, F as FinbricksConnector, I as IBankConnector, c as INSTRUCTION_PRIORITIES, M as MockConnector, e as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, P as PAYMENT_TYPES, T as TOKEN_TYPES, l as accountCredentialsInsertSchema, n as accountCredentialsSelectSchema, m as accountCredentialsUpdateSchema, i as accountInsertSchema, k as accountSelectSchema, j as accountUpdateSchema, o as ottInsertSchema, q as ottSelectSchema, p as ottUpdateSchema, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.
|
|
2
|
-
export { M as MockCobsConnector } from './shared/bank.
|
|
1
|
+
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, g as CONNECTOR_KEYS, f as COUNTRY_CODES, h as CREDENTIALS_TYPES, E as ErsteConnector, b as FINBRICKS_ENDPOINTS, a as FinbricksClient, F as FinbricksConnector, I as IBankConnector, c as INSTRUCTION_PRIORITIES, M as MockConnector, e as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, P as PAYMENT_TYPES, T as TOKEN_TYPES, l as accountCredentialsInsertSchema, n as accountCredentialsSelectSchema, m as accountCredentialsUpdateSchema, i as accountInsertSchema, k as accountSelectSchema, j as accountUpdateSchema, o as ottInsertSchema, q as ottSelectSchema, p as ottUpdateSchema, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.DFRS9oN5.mjs';
|
|
2
|
+
export { M as MockCobsConnector } from './shared/bank.DhPfZ6b_.mjs';
|
|
3
3
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
5
5
|
import 'drizzle-orm/sqlite-core';
|