@develit-services/bank 0.3.41 → 0.3.43
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.mjs +1 -1
- package/dist/export/worker.cjs +4 -4
- package/dist/export/worker.d.cts +4 -4
- package/dist/export/worker.d.mts +4 -4
- package/dist/export/worker.d.ts +4 -4
- package/dist/export/worker.mjs +4 -4
- package/dist/export/workflows.cjs +3 -3
- package/dist/export/workflows.mjs +4 -4
- package/dist/shared/{bank.HlxUqlDv.cjs → bank.CLF9wee9.cjs} +2 -2
- package/dist/shared/{bank.DokzI07s.mjs → bank.CNtiZSem.mjs} +1 -1
- package/dist/shared/{bank.BQXTsTfX.mjs → bank.CUU0Daxj.mjs} +2 -2
- package/dist/shared/{bank.Dc6O7-dN.cjs → bank.ChffLgyT.cjs} +2 -2
- package/dist/shared/{bank.BUuz9ahr.cjs → bank.DfE0M5H3.cjs} +1 -1
- package/dist/shared/{bank.7e-LCMJ-.mjs → bank.YiArmBW2.mjs} +2 -2
- package/dist/types.cjs +2 -2
- package/dist/types.mjs +2 -2
- package/package.json +1 -1
package/dist/database/schema.cjs
CHANGED
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.YiArmBW2.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.CLF9wee9.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.ChffLgyT.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.DfE0M5H3.cjs');
|
|
19
19
|
|
|
20
20
|
const upsertAccountCommand = (db, { account }) => {
|
|
21
21
|
const id = account.id || backendSdk.uuidv4();
|
|
@@ -694,7 +694,7 @@ let BankServiceBase = class extends backendSdk.develitWorker(cloudflare_workers.
|
|
|
694
694
|
accountId: acc.id
|
|
695
695
|
});
|
|
696
696
|
const availableBatch = openBatches.find(
|
|
697
|
-
(batch) => batch.payments.length
|
|
697
|
+
(batch) => batch.payments.length < acc.batchSizeLimit
|
|
698
698
|
);
|
|
699
699
|
this.log({
|
|
700
700
|
message: availableBatch ? `\u{1F504} Found existing OPEN batches for account ${acc.id}, merging ${availableBatch.payments.length} existing + ${newPayments.length} new payments` : `\u2728 Creating new batch for account ${acc.id} with ${newPayments.length} payments`
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1518,9 +1518,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1518
1518
|
limit: z.ZodNumber;
|
|
1519
1519
|
sort: z.ZodObject<{
|
|
1520
1520
|
column: z.ZodEnum<{
|
|
1521
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1522
1521
|
createdAt: "createdAt";
|
|
1523
1522
|
updatedAt: "updatedAt";
|
|
1523
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1524
1524
|
}>;
|
|
1525
1525
|
direction: z.ZodEnum<{
|
|
1526
1526
|
asc: "asc";
|
|
@@ -1644,7 +1644,7 @@ type ProcessBatchRestartOutput = z.infer<typeof processBatchRestartOutputSchema>
|
|
|
1644
1644
|
|
|
1645
1645
|
declare const processBatchEventInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1646
1646
|
batchId: z.ZodUUID;
|
|
1647
|
-
eventType: z.ZodLiteral<
|
|
1647
|
+
eventType: z.ZodLiteral<"batch-authorized">;
|
|
1648
1648
|
payload: z.ZodObject<{
|
|
1649
1649
|
authorized: z.ZodBoolean;
|
|
1650
1650
|
}, z.core.$strip>;
|
|
@@ -2468,14 +2468,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2468
2468
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2469
2469
|
paymentsToBatch: SendPaymentInput[];
|
|
2470
2470
|
}): Promise<IRPCResponse<{
|
|
2471
|
-
batchPaymentInitiatedAt: Date | null;
|
|
2472
|
-
authorizationUrls: string[] | null;
|
|
2473
2471
|
status: "OPEN" | "FULL" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED" | null;
|
|
2474
2472
|
id: string;
|
|
2475
2473
|
createdAt: Date | null;
|
|
2476
2474
|
updatedAt: Date | null;
|
|
2477
2475
|
deletedAt: Date | null;
|
|
2478
2476
|
accountId: string | null;
|
|
2477
|
+
batchPaymentInitiatedAt: Date | null;
|
|
2478
|
+
authorizationUrls: string[] | null;
|
|
2479
2479
|
payments: PaymentInsertType[];
|
|
2480
2480
|
metadata: BatchMetadata | null;
|
|
2481
2481
|
paymentsChecksum: string | null;
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1518,9 +1518,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1518
1518
|
limit: z.ZodNumber;
|
|
1519
1519
|
sort: z.ZodObject<{
|
|
1520
1520
|
column: z.ZodEnum<{
|
|
1521
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1522
1521
|
createdAt: "createdAt";
|
|
1523
1522
|
updatedAt: "updatedAt";
|
|
1523
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1524
1524
|
}>;
|
|
1525
1525
|
direction: z.ZodEnum<{
|
|
1526
1526
|
asc: "asc";
|
|
@@ -1644,7 +1644,7 @@ type ProcessBatchRestartOutput = z.infer<typeof processBatchRestartOutputSchema>
|
|
|
1644
1644
|
|
|
1645
1645
|
declare const processBatchEventInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1646
1646
|
batchId: z.ZodUUID;
|
|
1647
|
-
eventType: z.ZodLiteral<
|
|
1647
|
+
eventType: z.ZodLiteral<"batch-authorized">;
|
|
1648
1648
|
payload: z.ZodObject<{
|
|
1649
1649
|
authorized: z.ZodBoolean;
|
|
1650
1650
|
}, z.core.$strip>;
|
|
@@ -2468,14 +2468,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2468
2468
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2469
2469
|
paymentsToBatch: SendPaymentInput[];
|
|
2470
2470
|
}): Promise<IRPCResponse<{
|
|
2471
|
-
batchPaymentInitiatedAt: Date | null;
|
|
2472
|
-
authorizationUrls: string[] | null;
|
|
2473
2471
|
status: "OPEN" | "FULL" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED" | null;
|
|
2474
2472
|
id: string;
|
|
2475
2473
|
createdAt: Date | null;
|
|
2476
2474
|
updatedAt: Date | null;
|
|
2477
2475
|
deletedAt: Date | null;
|
|
2478
2476
|
accountId: string | null;
|
|
2477
|
+
batchPaymentInitiatedAt: Date | null;
|
|
2478
|
+
authorizationUrls: string[] | null;
|
|
2479
2479
|
payments: PaymentInsertType[];
|
|
2480
2480
|
metadata: BatchMetadata | null;
|
|
2481
2481
|
paymentsChecksum: string | null;
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1518,9 +1518,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1518
1518
|
limit: z.ZodNumber;
|
|
1519
1519
|
sort: z.ZodObject<{
|
|
1520
1520
|
column: z.ZodEnum<{
|
|
1521
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1522
1521
|
createdAt: "createdAt";
|
|
1523
1522
|
updatedAt: "updatedAt";
|
|
1523
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1524
1524
|
}>;
|
|
1525
1525
|
direction: z.ZodEnum<{
|
|
1526
1526
|
asc: "asc";
|
|
@@ -1644,7 +1644,7 @@ type ProcessBatchRestartOutput = z.infer<typeof processBatchRestartOutputSchema>
|
|
|
1644
1644
|
|
|
1645
1645
|
declare const processBatchEventInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1646
1646
|
batchId: z.ZodUUID;
|
|
1647
|
-
eventType: z.ZodLiteral<
|
|
1647
|
+
eventType: z.ZodLiteral<"batch-authorized">;
|
|
1648
1648
|
payload: z.ZodObject<{
|
|
1649
1649
|
authorized: z.ZodBoolean;
|
|
1650
1650
|
}, z.core.$strip>;
|
|
@@ -2468,14 +2468,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2468
2468
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2469
2469
|
paymentsToBatch: SendPaymentInput[];
|
|
2470
2470
|
}): Promise<IRPCResponse<{
|
|
2471
|
-
batchPaymentInitiatedAt: Date | null;
|
|
2472
|
-
authorizationUrls: string[] | null;
|
|
2473
2471
|
status: "OPEN" | "FULL" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED" | null;
|
|
2474
2472
|
id: string;
|
|
2475
2473
|
createdAt: Date | null;
|
|
2476
2474
|
updatedAt: Date | null;
|
|
2477
2475
|
deletedAt: Date | null;
|
|
2478
2476
|
accountId: string | null;
|
|
2477
|
+
batchPaymentInitiatedAt: Date | null;
|
|
2478
|
+
authorizationUrls: string[] | null;
|
|
2479
2479
|
payments: PaymentInsertType[];
|
|
2480
2480
|
metadata: BatchMetadata | null;
|
|
2481
2481
|
paymentsChecksum: string | null;
|
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.YiArmBW2.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.CUU0Daxj.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.CNtiZSem.mjs';
|
|
17
17
|
|
|
18
18
|
const upsertAccountCommand = (db, { account }) => {
|
|
19
19
|
const id = account.id || uuidv4();
|
|
@@ -692,7 +692,7 @@ let BankServiceBase = class extends develitWorker(WorkerEntrypoint) {
|
|
|
692
692
|
accountId: acc.id
|
|
693
693
|
});
|
|
694
694
|
const availableBatch = openBatches.find(
|
|
695
|
-
(batch) => batch.payments.length
|
|
695
|
+
(batch) => batch.payments.length < acc.batchSizeLimit
|
|
696
696
|
);
|
|
697
697
|
this.log({
|
|
698
698
|
message: availableBatch ? `\u{1F504} Found existing OPEN batches for account ${acc.id}, merging ${availableBatch.payments.length} existing + ${newPayments.length} new payments` : `\u2728 Creating new batch for account ${acc.id} with ${newPayments.length} payments`
|
|
@@ -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.CLF9wee9.cjs');
|
|
7
7
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
8
|
-
const processBatch_workflow = require('../shared/bank.
|
|
8
|
+
const processBatch_workflow = require('../shared/bank.ChffLgyT.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.DfE0M5H3.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.YiArmBW2.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.CUU0Daxj.mjs';
|
|
7
|
+
export { B as BankProcessBatch } from '../shared/bank.CUU0Daxj.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.CNtiZSem.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({
|
|
@@ -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) => ({
|
|
@@ -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.YiArmBW2.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.CNtiZSem.mjs';
|
|
11
11
|
|
|
12
12
|
const createPaymentCommand = (db, { payment }) => {
|
|
13
13
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('./bank.
|
|
3
|
+
const database_schema = require('./bank.CLF9wee9.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.DfE0M5H3.cjs');
|
|
13
13
|
|
|
14
14
|
const createPaymentCommand = (db, { payment }) => {
|
|
15
15
|
return {
|
|
@@ -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({
|
|
@@ -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) => ({
|
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.CLF9wee9.cjs');
|
|
4
|
+
const mockCobs_connector = require('./shared/bank.DfE0M5H3.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.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.YiArmBW2.mjs';
|
|
2
|
+
export { M as MockCobsConnector } from './shared/bank.CNtiZSem.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';
|