@develit-services/bank 0.1.8 → 0.1.9
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 -4
- package/dist/export/worker.d.cts +16 -16
- package/dist/export/worker.d.mts +16 -16
- package/dist/export/worker.d.ts +16 -16
- package/dist/export/worker.mjs +3 -4
- package/dist/export/workflows.cjs +3 -3
- package/dist/export/workflows.mjs +3 -3
- package/dist/shared/{bank.pT49Hbb4.cjs → bank.-FurAs09.cjs} +2 -2
- package/dist/shared/{bank.DulU-rr_.mjs → bank.BvXwHpBp.mjs} +1 -1
- package/dist/shared/{bank.DSVzOCrh.d.cts → bank.CRVH1wUH.d.cts} +7 -7
- package/dist/shared/{bank.DCTBX1dp.d.ts → bank.Ckn_klvT.d.ts} +7 -7
- package/dist/shared/{bank.BFGDv0oC.d.cts → bank.CsvBtQib.d.cts} +8 -8
- package/dist/shared/{bank.BFGDv0oC.d.mts → bank.CsvBtQib.d.mts} +8 -8
- package/dist/shared/{bank.BFGDv0oC.d.ts → bank.CsvBtQib.d.ts} +8 -8
- package/dist/shared/{bank.B_nwGY5X.mjs → bank.DTdKHhGd.mjs} +2 -2
- package/dist/shared/{bank.CrRs_x0N.d.mts → bank.DouutABZ.d.mts} +7 -7
- package/dist/shared/{bank.DHj3MnQJ.mjs → bank.W4h6Dlzi.mjs} +2 -2
- package/dist/shared/{bank.DrMnskU2.cjs → bank.tLe0jhjo.cjs} +1 -1
- package/dist/shared/{bank.YNS7gdPU.cjs → bank.z4VxSea3.cjs} +1 -1
- package/dist/types.cjs +2 -2
- 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 +2 -2
- package/package.json +1 -1
package/dist/database/schema.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.CsvBtQib.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.CsvBtQib.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.CsvBtQib.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'zod';
|
package/dist/database/schema.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as account, G as accountCredentials, w as batch, z as ott, x as payment, y as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { D as account, G as accountCredentials, w as batch, z as ott, x as payment, y as paymentRelations } from '../shared/bank.W4h6Dlzi.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,17 +3,17 @@
|
|
|
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.tLe0jhjo.cjs');
|
|
7
7
|
require('jose');
|
|
8
8
|
const generalCodes = require('@develit-io/general-codes');
|
|
9
9
|
const zod = require('zod');
|
|
10
|
-
const bank = require('../shared/bank.
|
|
10
|
+
const bank = require('../shared/bank.-FurAs09.cjs');
|
|
11
11
|
const drizzleOrm = require('drizzle-orm');
|
|
12
12
|
require('drizzle-orm/sqlite-core');
|
|
13
13
|
require('date-fns');
|
|
14
14
|
require('drizzle-zod');
|
|
15
15
|
require('drizzle-orm/relations');
|
|
16
|
-
require('../shared/bank.
|
|
16
|
+
require('../shared/bank.z4VxSea3.cjs');
|
|
17
17
|
|
|
18
18
|
const upsertAccountCommand = (db, { account }) => {
|
|
19
19
|
const id = account.id || backendSdk.uuidv4();
|
|
@@ -1113,7 +1113,6 @@ let BankServiceBase = class extends backendSdk.develitWorker(cloudflare_workers.
|
|
|
1113
1113
|
}
|
|
1114
1114
|
return {
|
|
1115
1115
|
...a,
|
|
1116
|
-
bankCode: a.bankCode,
|
|
1117
1116
|
workflow: status ? {
|
|
1118
1117
|
instanceId: a.id,
|
|
1119
1118
|
details: status
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
|
2
2
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
-
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.
|
|
6
|
-
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.
|
|
5
|
+
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.CsvBtQib.cjs';
|
|
6
|
+
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.CRVH1wUH.cjs';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import * as drizzle_zod from 'drizzle-zod';
|
|
9
9
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
@@ -1538,21 +1538,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1538
1538
|
}, z.core.$strip>;
|
|
1539
1539
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1540
1540
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1541
|
+
PREPARED: "PREPARED";
|
|
1542
|
+
FAILED: "FAILED";
|
|
1543
|
+
COMPLETED: "COMPLETED";
|
|
1541
1544
|
OPEN: "OPEN";
|
|
1542
1545
|
PROCESSING: "PROCESSING";
|
|
1543
1546
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1544
1547
|
WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
|
|
1548
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1545
1549
|
PREPARED: "PREPARED";
|
|
1546
|
-
COMPLETED: "COMPLETED";
|
|
1547
1550
|
FAILED: "FAILED";
|
|
1548
|
-
|
|
1551
|
+
COMPLETED: "COMPLETED";
|
|
1549
1552
|
OPEN: "OPEN";
|
|
1550
1553
|
PROCESSING: "PROCESSING";
|
|
1551
1554
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1552
1555
|
WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
|
|
1553
|
-
PREPARED: "PREPARED";
|
|
1554
|
-
COMPLETED: "COMPLETED";
|
|
1555
|
-
FAILED: "FAILED";
|
|
1556
1556
|
}>>]>>;
|
|
1557
1557
|
}, z.core.$strip>;
|
|
1558
1558
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1581,9 +1581,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1581
1581
|
limit: z.ZodNumber;
|
|
1582
1582
|
sort: z.ZodObject<{
|
|
1583
1583
|
column: z.ZodEnum<{
|
|
1584
|
+
amount: "amount";
|
|
1584
1585
|
createdAt: "createdAt";
|
|
1585
1586
|
updatedAt: "updatedAt";
|
|
1586
|
-
amount: "amount";
|
|
1587
1587
|
}>;
|
|
1588
1588
|
direction: z.ZodEnum<{
|
|
1589
1589
|
asc: "asc";
|
|
@@ -1712,17 +1712,17 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1712
1712
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1713
1713
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1714
1714
|
PREPARED: "PREPARED";
|
|
1715
|
-
COMPLETED: "COMPLETED";
|
|
1716
|
-
FAILED: "FAILED";
|
|
1717
1715
|
INITIALIZED: "INITIALIZED";
|
|
1716
|
+
FAILED: "FAILED";
|
|
1718
1717
|
PENDING: "PENDING";
|
|
1718
|
+
COMPLETED: "COMPLETED";
|
|
1719
1719
|
CREATED: "CREATED";
|
|
1720
1720
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1721
1721
|
PREPARED: "PREPARED";
|
|
1722
|
-
COMPLETED: "COMPLETED";
|
|
1723
|
-
FAILED: "FAILED";
|
|
1724
1722
|
INITIALIZED: "INITIALIZED";
|
|
1723
|
+
FAILED: "FAILED";
|
|
1725
1724
|
PENDING: "PENDING";
|
|
1725
|
+
COMPLETED: "COMPLETED";
|
|
1726
1726
|
CREATED: "CREATED";
|
|
1727
1727
|
}>>]>>;
|
|
1728
1728
|
}, z.core.$strip>;
|
|
@@ -1862,14 +1862,14 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
1862
1862
|
tableName: "account";
|
|
1863
1863
|
dataType: "string";
|
|
1864
1864
|
columnType: "SQLiteText";
|
|
1865
|
-
data:
|
|
1865
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1866
1866
|
driverParam: string;
|
|
1867
1867
|
notNull: true;
|
|
1868
1868
|
hasDefault: false;
|
|
1869
1869
|
isPrimaryKey: false;
|
|
1870
1870
|
isAutoincrement: false;
|
|
1871
1871
|
hasRuntimeDefault: false;
|
|
1872
|
-
enumValues: [
|
|
1872
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1873
1873
|
baseColumn: never;
|
|
1874
1874
|
identity: undefined;
|
|
1875
1875
|
generated: undefined;
|
|
@@ -2291,7 +2291,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2291
2291
|
expiresAt: Date | undefined;
|
|
2292
2292
|
number: string;
|
|
2293
2293
|
iban: string;
|
|
2294
|
-
bankCode:
|
|
2294
|
+
bankCode: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
2295
2295
|
connectorKey: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
|
|
2296
2296
|
status: "AUTHORIZED" | "DISABLED" | "EXPIRED";
|
|
2297
2297
|
bankRefId: string;
|
|
@@ -2333,7 +2333,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2333
2333
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2334
2334
|
paymentsToBatch: SendPaymentInput[];
|
|
2335
2335
|
}): Promise<IRPCResponse<{
|
|
2336
|
-
status: "
|
|
2336
|
+
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | null;
|
|
2337
2337
|
id: string;
|
|
2338
2338
|
createdAt: Date | null;
|
|
2339
2339
|
updatedAt: Date | null;
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
|
2
2
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
-
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.
|
|
6
|
-
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.
|
|
5
|
+
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.CsvBtQib.mjs';
|
|
6
|
+
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.DouutABZ.mjs';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import * as drizzle_zod from 'drizzle-zod';
|
|
9
9
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
@@ -1538,21 +1538,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1538
1538
|
}, z.core.$strip>;
|
|
1539
1539
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1540
1540
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1541
|
+
PREPARED: "PREPARED";
|
|
1542
|
+
FAILED: "FAILED";
|
|
1543
|
+
COMPLETED: "COMPLETED";
|
|
1541
1544
|
OPEN: "OPEN";
|
|
1542
1545
|
PROCESSING: "PROCESSING";
|
|
1543
1546
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1544
1547
|
WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
|
|
1548
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1545
1549
|
PREPARED: "PREPARED";
|
|
1546
|
-
COMPLETED: "COMPLETED";
|
|
1547
1550
|
FAILED: "FAILED";
|
|
1548
|
-
|
|
1551
|
+
COMPLETED: "COMPLETED";
|
|
1549
1552
|
OPEN: "OPEN";
|
|
1550
1553
|
PROCESSING: "PROCESSING";
|
|
1551
1554
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1552
1555
|
WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
|
|
1553
|
-
PREPARED: "PREPARED";
|
|
1554
|
-
COMPLETED: "COMPLETED";
|
|
1555
|
-
FAILED: "FAILED";
|
|
1556
1556
|
}>>]>>;
|
|
1557
1557
|
}, z.core.$strip>;
|
|
1558
1558
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1581,9 +1581,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1581
1581
|
limit: z.ZodNumber;
|
|
1582
1582
|
sort: z.ZodObject<{
|
|
1583
1583
|
column: z.ZodEnum<{
|
|
1584
|
+
amount: "amount";
|
|
1584
1585
|
createdAt: "createdAt";
|
|
1585
1586
|
updatedAt: "updatedAt";
|
|
1586
|
-
amount: "amount";
|
|
1587
1587
|
}>;
|
|
1588
1588
|
direction: z.ZodEnum<{
|
|
1589
1589
|
asc: "asc";
|
|
@@ -1712,17 +1712,17 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1712
1712
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1713
1713
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1714
1714
|
PREPARED: "PREPARED";
|
|
1715
|
-
COMPLETED: "COMPLETED";
|
|
1716
|
-
FAILED: "FAILED";
|
|
1717
1715
|
INITIALIZED: "INITIALIZED";
|
|
1716
|
+
FAILED: "FAILED";
|
|
1718
1717
|
PENDING: "PENDING";
|
|
1718
|
+
COMPLETED: "COMPLETED";
|
|
1719
1719
|
CREATED: "CREATED";
|
|
1720
1720
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1721
1721
|
PREPARED: "PREPARED";
|
|
1722
|
-
COMPLETED: "COMPLETED";
|
|
1723
|
-
FAILED: "FAILED";
|
|
1724
1722
|
INITIALIZED: "INITIALIZED";
|
|
1723
|
+
FAILED: "FAILED";
|
|
1725
1724
|
PENDING: "PENDING";
|
|
1725
|
+
COMPLETED: "COMPLETED";
|
|
1726
1726
|
CREATED: "CREATED";
|
|
1727
1727
|
}>>]>>;
|
|
1728
1728
|
}, z.core.$strip>;
|
|
@@ -1862,14 +1862,14 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
1862
1862
|
tableName: "account";
|
|
1863
1863
|
dataType: "string";
|
|
1864
1864
|
columnType: "SQLiteText";
|
|
1865
|
-
data:
|
|
1865
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1866
1866
|
driverParam: string;
|
|
1867
1867
|
notNull: true;
|
|
1868
1868
|
hasDefault: false;
|
|
1869
1869
|
isPrimaryKey: false;
|
|
1870
1870
|
isAutoincrement: false;
|
|
1871
1871
|
hasRuntimeDefault: false;
|
|
1872
|
-
enumValues: [
|
|
1872
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1873
1873
|
baseColumn: never;
|
|
1874
1874
|
identity: undefined;
|
|
1875
1875
|
generated: undefined;
|
|
@@ -2291,7 +2291,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2291
2291
|
expiresAt: Date | undefined;
|
|
2292
2292
|
number: string;
|
|
2293
2293
|
iban: string;
|
|
2294
|
-
bankCode:
|
|
2294
|
+
bankCode: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
2295
2295
|
connectorKey: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
|
|
2296
2296
|
status: "AUTHORIZED" | "DISABLED" | "EXPIRED";
|
|
2297
2297
|
bankRefId: string;
|
|
@@ -2333,7 +2333,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2333
2333
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2334
2334
|
paymentsToBatch: SendPaymentInput[];
|
|
2335
2335
|
}): Promise<IRPCResponse<{
|
|
2336
|
-
status: "
|
|
2336
|
+
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | null;
|
|
2337
2337
|
id: string;
|
|
2338
2338
|
createdAt: Date | null;
|
|
2339
2339
|
updatedAt: Date | null;
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
|
2
2
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
-
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.
|
|
6
|
-
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.
|
|
5
|
+
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.CsvBtQib.js';
|
|
6
|
+
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.Ckn_klvT.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import * as drizzle_zod from 'drizzle-zod';
|
|
9
9
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
@@ -1538,21 +1538,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1538
1538
|
}, z.core.$strip>;
|
|
1539
1539
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1540
1540
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1541
|
+
PREPARED: "PREPARED";
|
|
1542
|
+
FAILED: "FAILED";
|
|
1543
|
+
COMPLETED: "COMPLETED";
|
|
1541
1544
|
OPEN: "OPEN";
|
|
1542
1545
|
PROCESSING: "PROCESSING";
|
|
1543
1546
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1544
1547
|
WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
|
|
1548
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1545
1549
|
PREPARED: "PREPARED";
|
|
1546
|
-
COMPLETED: "COMPLETED";
|
|
1547
1550
|
FAILED: "FAILED";
|
|
1548
|
-
|
|
1551
|
+
COMPLETED: "COMPLETED";
|
|
1549
1552
|
OPEN: "OPEN";
|
|
1550
1553
|
PROCESSING: "PROCESSING";
|
|
1551
1554
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1552
1555
|
WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
|
|
1553
|
-
PREPARED: "PREPARED";
|
|
1554
|
-
COMPLETED: "COMPLETED";
|
|
1555
|
-
FAILED: "FAILED";
|
|
1556
1556
|
}>>]>>;
|
|
1557
1557
|
}, z.core.$strip>;
|
|
1558
1558
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1581,9 +1581,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1581
1581
|
limit: z.ZodNumber;
|
|
1582
1582
|
sort: z.ZodObject<{
|
|
1583
1583
|
column: z.ZodEnum<{
|
|
1584
|
+
amount: "amount";
|
|
1584
1585
|
createdAt: "createdAt";
|
|
1585
1586
|
updatedAt: "updatedAt";
|
|
1586
|
-
amount: "amount";
|
|
1587
1587
|
}>;
|
|
1588
1588
|
direction: z.ZodEnum<{
|
|
1589
1589
|
asc: "asc";
|
|
@@ -1712,17 +1712,17 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1712
1712
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1713
1713
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1714
1714
|
PREPARED: "PREPARED";
|
|
1715
|
-
COMPLETED: "COMPLETED";
|
|
1716
|
-
FAILED: "FAILED";
|
|
1717
1715
|
INITIALIZED: "INITIALIZED";
|
|
1716
|
+
FAILED: "FAILED";
|
|
1718
1717
|
PENDING: "PENDING";
|
|
1718
|
+
COMPLETED: "COMPLETED";
|
|
1719
1719
|
CREATED: "CREATED";
|
|
1720
1720
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1721
1721
|
PREPARED: "PREPARED";
|
|
1722
|
-
COMPLETED: "COMPLETED";
|
|
1723
|
-
FAILED: "FAILED";
|
|
1724
1722
|
INITIALIZED: "INITIALIZED";
|
|
1723
|
+
FAILED: "FAILED";
|
|
1725
1724
|
PENDING: "PENDING";
|
|
1725
|
+
COMPLETED: "COMPLETED";
|
|
1726
1726
|
CREATED: "CREATED";
|
|
1727
1727
|
}>>]>>;
|
|
1728
1728
|
}, z.core.$strip>;
|
|
@@ -1862,14 +1862,14 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
1862
1862
|
tableName: "account";
|
|
1863
1863
|
dataType: "string";
|
|
1864
1864
|
columnType: "SQLiteText";
|
|
1865
|
-
data:
|
|
1865
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1866
1866
|
driverParam: string;
|
|
1867
1867
|
notNull: true;
|
|
1868
1868
|
hasDefault: false;
|
|
1869
1869
|
isPrimaryKey: false;
|
|
1870
1870
|
isAutoincrement: false;
|
|
1871
1871
|
hasRuntimeDefault: false;
|
|
1872
|
-
enumValues: [
|
|
1872
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1873
1873
|
baseColumn: never;
|
|
1874
1874
|
identity: undefined;
|
|
1875
1875
|
generated: undefined;
|
|
@@ -2291,7 +2291,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2291
2291
|
expiresAt: Date | undefined;
|
|
2292
2292
|
number: string;
|
|
2293
2293
|
iban: string;
|
|
2294
|
-
bankCode:
|
|
2294
|
+
bankCode: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
2295
2295
|
connectorKey: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
|
|
2296
2296
|
status: "AUTHORIZED" | "DISABLED" | "EXPIRED";
|
|
2297
2297
|
bankRefId: string;
|
|
@@ -2333,7 +2333,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2333
2333
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2334
2334
|
paymentsToBatch: SendPaymentInput[];
|
|
2335
2335
|
}): Promise<IRPCResponse<{
|
|
2336
|
-
status: "
|
|
2336
|
+
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | null;
|
|
2337
2337
|
id: string;
|
|
2338
2338
|
createdAt: Date | null;
|
|
2339
2339
|
updatedAt: Date | null;
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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, v as getPaymentDirection, 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, v as getPaymentDirection, M as MockConnector, F as FinbricksConnector, E as ErsteConnector } from '../shared/bank.W4h6Dlzi.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { a as getPaymentsByBankRefIdsQuery, u as updatePaymentCommand, c as createPaymentCommand, b as updateAccountLastSyncCommand, g as getCredentialsByAccountId, i as initiateConnector } from '../shared/bank.
|
|
8
|
+
import { a as getPaymentsByBankRefIdsQuery, u as updatePaymentCommand, c as createPaymentCommand, b as updateAccountLastSyncCommand, g as getCredentialsByAccountId, i as initiateConnector } from '../shared/bank.DTdKHhGd.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';
|
|
12
12
|
import 'drizzle-zod';
|
|
13
13
|
import 'drizzle-orm/relations';
|
|
14
|
-
import '../shared/bank.
|
|
14
|
+
import '../shared/bank.BvXwHpBp.mjs';
|
|
15
15
|
|
|
16
16
|
const upsertAccountCommand = (db, { account }) => {
|
|
17
17
|
const id = account.id || uuidv4();
|
|
@@ -1111,7 +1111,6 @@ let BankServiceBase = class extends develitWorker(WorkerEntrypoint) {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
return {
|
|
1113
1113
|
...a,
|
|
1114
|
-
bankCode: a.bankCode,
|
|
1115
1114
|
workflow: status ? {
|
|
1116
1115
|
instanceId: a.id,
|
|
1117
1116
|
details: status
|
|
@@ -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.tLe0jhjo.cjs');
|
|
7
7
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
8
|
-
const bank = require('../shared/bank.
|
|
8
|
+
const bank = require('../shared/bank.-FurAs09.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('zod');
|
|
|
14
14
|
require('jose');
|
|
15
15
|
require('drizzle-zod');
|
|
16
16
|
require('drizzle-orm/relations');
|
|
17
|
-
require('../shared/bank.
|
|
17
|
+
require('../shared/bank.z4VxSea3.cjs');
|
|
18
18
|
|
|
19
19
|
const getAccountByIdQuery = async (db, { accountId }) => {
|
|
20
20
|
return await db.select().from(database_schema.tables.account).where(drizzleOrm.eq(database_schema.tables.account.id, accountId)).get();
|
|
@@ -1,9 +1,9 @@
|
|
|
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, v as getPaymentDirection } from '../shared/bank.
|
|
4
|
+
import { t as tables, v as getPaymentDirection } from '../shared/bank.W4h6Dlzi.mjs';
|
|
5
5
|
import { asNonEmpty } from '@develit-io/backend-sdk';
|
|
6
|
-
import { g as getCredentialsByAccountId, i as initiateConnector, a as getPaymentsByBankRefIdsQuery, u as updatePaymentCommand, c as createPaymentCommand, b as updateAccountLastSyncCommand } from '../shared/bank.
|
|
6
|
+
import { g as getCredentialsByAccountId, i as initiateConnector, a as getPaymentsByBankRefIdsQuery, u as updatePaymentCommand, c as createPaymentCommand, b as updateAccountLastSyncCommand } from '../shared/bank.DTdKHhGd.mjs';
|
|
7
7
|
import { eq } from 'drizzle-orm';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'date-fns';
|
|
@@ -12,7 +12,7 @@ import 'zod';
|
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'drizzle-zod';
|
|
14
14
|
import 'drizzle-orm/relations';
|
|
15
|
-
import '../shared/bank.
|
|
15
|
+
import '../shared/bank.BvXwHpBp.mjs';
|
|
16
16
|
|
|
17
17
|
const getAccountByIdQuery = async (db, { accountId }) => {
|
|
18
18
|
return await db.select().from(tables.account).where(eq(tables.account.id, accountId)).get();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('./bank.
|
|
3
|
+
const database_schema = require('./bank.tLe0jhjo.cjs');
|
|
4
4
|
const drizzleOrm = require('drizzle-orm');
|
|
5
|
-
const mockCobs_connector = require('./bank.
|
|
5
|
+
const mockCobs_connector = require('./bank.z4VxSea3.cjs');
|
|
6
6
|
require('jose');
|
|
7
7
|
require('@develit-io/general-codes');
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Environment } from '@develit-io/backend-sdk';
|
|
2
2
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
3
|
-
import { a as PaymentInsertType, t as tables } from './bank.
|
|
3
|
+
import { a as PaymentInsertType, t as tables } from './bank.CsvBtQib.cjs';
|
|
4
4
|
import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as drizzle_zod from 'drizzle-zod';
|
|
@@ -171,14 +171,14 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
171
171
|
tableName: "account";
|
|
172
172
|
dataType: "string";
|
|
173
173
|
columnType: "SQLiteText";
|
|
174
|
-
data:
|
|
174
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
175
175
|
driverParam: string;
|
|
176
176
|
notNull: true;
|
|
177
177
|
hasDefault: false;
|
|
178
178
|
isPrimaryKey: false;
|
|
179
179
|
isAutoincrement: false;
|
|
180
180
|
hasRuntimeDefault: false;
|
|
181
|
-
enumValues: [
|
|
181
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
182
182
|
baseColumn: never;
|
|
183
183
|
identity: undefined;
|
|
184
184
|
generated: undefined;
|
|
@@ -619,14 +619,14 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
619
619
|
tableName: "account";
|
|
620
620
|
dataType: "string";
|
|
621
621
|
columnType: "SQLiteText";
|
|
622
|
-
data:
|
|
622
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
623
623
|
driverParam: string;
|
|
624
624
|
notNull: true;
|
|
625
625
|
hasDefault: false;
|
|
626
626
|
isPrimaryKey: false;
|
|
627
627
|
isAutoincrement: false;
|
|
628
628
|
hasRuntimeDefault: false;
|
|
629
|
-
enumValues: [
|
|
629
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
630
630
|
baseColumn: never;
|
|
631
631
|
identity: undefined;
|
|
632
632
|
generated: undefined;
|
|
@@ -1067,14 +1067,14 @@ declare const accountSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1067
1067
|
tableName: "account";
|
|
1068
1068
|
dataType: "string";
|
|
1069
1069
|
columnType: "SQLiteText";
|
|
1070
|
-
data:
|
|
1070
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1071
1071
|
driverParam: string;
|
|
1072
1072
|
notNull: true;
|
|
1073
1073
|
hasDefault: false;
|
|
1074
1074
|
isPrimaryKey: false;
|
|
1075
1075
|
isAutoincrement: false;
|
|
1076
1076
|
hasRuntimeDefault: false;
|
|
1077
|
-
enumValues: [
|
|
1077
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1078
1078
|
baseColumn: never;
|
|
1079
1079
|
identity: undefined;
|
|
1080
1080
|
generated: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Environment } from '@develit-io/backend-sdk';
|
|
2
2
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
3
|
-
import { a as PaymentInsertType, t as tables } from './bank.
|
|
3
|
+
import { a as PaymentInsertType, t as tables } from './bank.CsvBtQib.js';
|
|
4
4
|
import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as drizzle_zod from 'drizzle-zod';
|
|
@@ -171,14 +171,14 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
171
171
|
tableName: "account";
|
|
172
172
|
dataType: "string";
|
|
173
173
|
columnType: "SQLiteText";
|
|
174
|
-
data:
|
|
174
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
175
175
|
driverParam: string;
|
|
176
176
|
notNull: true;
|
|
177
177
|
hasDefault: false;
|
|
178
178
|
isPrimaryKey: false;
|
|
179
179
|
isAutoincrement: false;
|
|
180
180
|
hasRuntimeDefault: false;
|
|
181
|
-
enumValues: [
|
|
181
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
182
182
|
baseColumn: never;
|
|
183
183
|
identity: undefined;
|
|
184
184
|
generated: undefined;
|
|
@@ -619,14 +619,14 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
619
619
|
tableName: "account";
|
|
620
620
|
dataType: "string";
|
|
621
621
|
columnType: "SQLiteText";
|
|
622
|
-
data:
|
|
622
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
623
623
|
driverParam: string;
|
|
624
624
|
notNull: true;
|
|
625
625
|
hasDefault: false;
|
|
626
626
|
isPrimaryKey: false;
|
|
627
627
|
isAutoincrement: false;
|
|
628
628
|
hasRuntimeDefault: false;
|
|
629
|
-
enumValues: [
|
|
629
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
630
630
|
baseColumn: never;
|
|
631
631
|
identity: undefined;
|
|
632
632
|
generated: undefined;
|
|
@@ -1067,14 +1067,14 @@ declare const accountSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1067
1067
|
tableName: "account";
|
|
1068
1068
|
dataType: "string";
|
|
1069
1069
|
columnType: "SQLiteText";
|
|
1070
|
-
data:
|
|
1070
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1071
1071
|
driverParam: string;
|
|
1072
1072
|
notNull: true;
|
|
1073
1073
|
hasDefault: false;
|
|
1074
1074
|
isPrimaryKey: false;
|
|
1075
1075
|
isAutoincrement: false;
|
|
1076
1076
|
hasRuntimeDefault: false;
|
|
1077
|
-
enumValues: [
|
|
1077
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1078
1078
|
baseColumn: never;
|
|
1079
1079
|
identity: undefined;
|
|
1080
1080
|
generated: undefined;
|
|
@@ -83,10 +83,10 @@ declare const paymentInsertTypeZod: z.ZodObject<{
|
|
|
83
83
|
}>;
|
|
84
84
|
status: z.ZodEnum<{
|
|
85
85
|
PREPARED: "PREPARED";
|
|
86
|
-
COMPLETED: "COMPLETED";
|
|
87
|
-
FAILED: "FAILED";
|
|
88
86
|
INITIALIZED: "INITIALIZED";
|
|
87
|
+
FAILED: "FAILED";
|
|
89
88
|
PENDING: "PENDING";
|
|
89
|
+
COMPLETED: "COMPLETED";
|
|
90
90
|
CREATED: "CREATED";
|
|
91
91
|
}>;
|
|
92
92
|
batchId: z.ZodString;
|
|
@@ -166,7 +166,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
166
166
|
tableName: "batch";
|
|
167
167
|
dataType: "string";
|
|
168
168
|
columnType: "SQLiteText";
|
|
169
|
-
data: "
|
|
169
|
+
data: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING";
|
|
170
170
|
driverParam: string;
|
|
171
171
|
notNull: false;
|
|
172
172
|
hasDefault: false;
|
|
@@ -179,7 +179,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
179
179
|
generated: undefined;
|
|
180
180
|
}, {}, {
|
|
181
181
|
length: number | undefined;
|
|
182
|
-
$type: "
|
|
182
|
+
$type: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING";
|
|
183
183
|
}>;
|
|
184
184
|
payments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
185
185
|
name: "payments";
|
|
@@ -475,7 +475,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
475
475
|
tableName: "payment";
|
|
476
476
|
dataType: "string";
|
|
477
477
|
columnType: "SQLiteText";
|
|
478
|
-
data: "PREPARED" | "
|
|
478
|
+
data: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
479
479
|
driverParam: string;
|
|
480
480
|
notNull: true;
|
|
481
481
|
hasDefault: false;
|
|
@@ -488,7 +488,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
488
488
|
generated: undefined;
|
|
489
489
|
}, {}, {
|
|
490
490
|
length: number | undefined;
|
|
491
|
-
$type: "PREPARED" | "
|
|
491
|
+
$type: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
492
492
|
}>;
|
|
493
493
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
494
494
|
name: "status_reason";
|
|
@@ -991,14 +991,14 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
991
991
|
tableName: "account";
|
|
992
992
|
dataType: "string";
|
|
993
993
|
columnType: "SQLiteText";
|
|
994
|
-
data:
|
|
994
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
995
995
|
driverParam: string;
|
|
996
996
|
notNull: true;
|
|
997
997
|
hasDefault: false;
|
|
998
998
|
isPrimaryKey: false;
|
|
999
999
|
isAutoincrement: false;
|
|
1000
1000
|
hasRuntimeDefault: false;
|
|
1001
|
-
enumValues: [
|
|
1001
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1002
1002
|
baseColumn: never;
|
|
1003
1003
|
identity: undefined;
|
|
1004
1004
|
generated: undefined;
|
|
@@ -83,10 +83,10 @@ declare const paymentInsertTypeZod: z.ZodObject<{
|
|
|
83
83
|
}>;
|
|
84
84
|
status: z.ZodEnum<{
|
|
85
85
|
PREPARED: "PREPARED";
|
|
86
|
-
COMPLETED: "COMPLETED";
|
|
87
|
-
FAILED: "FAILED";
|
|
88
86
|
INITIALIZED: "INITIALIZED";
|
|
87
|
+
FAILED: "FAILED";
|
|
89
88
|
PENDING: "PENDING";
|
|
89
|
+
COMPLETED: "COMPLETED";
|
|
90
90
|
CREATED: "CREATED";
|
|
91
91
|
}>;
|
|
92
92
|
batchId: z.ZodString;
|
|
@@ -166,7 +166,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
166
166
|
tableName: "batch";
|
|
167
167
|
dataType: "string";
|
|
168
168
|
columnType: "SQLiteText";
|
|
169
|
-
data: "
|
|
169
|
+
data: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING";
|
|
170
170
|
driverParam: string;
|
|
171
171
|
notNull: false;
|
|
172
172
|
hasDefault: false;
|
|
@@ -179,7 +179,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
179
179
|
generated: undefined;
|
|
180
180
|
}, {}, {
|
|
181
181
|
length: number | undefined;
|
|
182
|
-
$type: "
|
|
182
|
+
$type: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING";
|
|
183
183
|
}>;
|
|
184
184
|
payments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
185
185
|
name: "payments";
|
|
@@ -475,7 +475,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
475
475
|
tableName: "payment";
|
|
476
476
|
dataType: "string";
|
|
477
477
|
columnType: "SQLiteText";
|
|
478
|
-
data: "PREPARED" | "
|
|
478
|
+
data: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
479
479
|
driverParam: string;
|
|
480
480
|
notNull: true;
|
|
481
481
|
hasDefault: false;
|
|
@@ -488,7 +488,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
488
488
|
generated: undefined;
|
|
489
489
|
}, {}, {
|
|
490
490
|
length: number | undefined;
|
|
491
|
-
$type: "PREPARED" | "
|
|
491
|
+
$type: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
492
492
|
}>;
|
|
493
493
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
494
494
|
name: "status_reason";
|
|
@@ -991,14 +991,14 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
991
991
|
tableName: "account";
|
|
992
992
|
dataType: "string";
|
|
993
993
|
columnType: "SQLiteText";
|
|
994
|
-
data:
|
|
994
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
995
995
|
driverParam: string;
|
|
996
996
|
notNull: true;
|
|
997
997
|
hasDefault: false;
|
|
998
998
|
isPrimaryKey: false;
|
|
999
999
|
isAutoincrement: false;
|
|
1000
1000
|
hasRuntimeDefault: false;
|
|
1001
|
-
enumValues: [
|
|
1001
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1002
1002
|
baseColumn: never;
|
|
1003
1003
|
identity: undefined;
|
|
1004
1004
|
generated: undefined;
|
|
@@ -83,10 +83,10 @@ declare const paymentInsertTypeZod: z.ZodObject<{
|
|
|
83
83
|
}>;
|
|
84
84
|
status: z.ZodEnum<{
|
|
85
85
|
PREPARED: "PREPARED";
|
|
86
|
-
COMPLETED: "COMPLETED";
|
|
87
|
-
FAILED: "FAILED";
|
|
88
86
|
INITIALIZED: "INITIALIZED";
|
|
87
|
+
FAILED: "FAILED";
|
|
89
88
|
PENDING: "PENDING";
|
|
89
|
+
COMPLETED: "COMPLETED";
|
|
90
90
|
CREATED: "CREATED";
|
|
91
91
|
}>;
|
|
92
92
|
batchId: z.ZodString;
|
|
@@ -166,7 +166,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
166
166
|
tableName: "batch";
|
|
167
167
|
dataType: "string";
|
|
168
168
|
columnType: "SQLiteText";
|
|
169
|
-
data: "
|
|
169
|
+
data: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING";
|
|
170
170
|
driverParam: string;
|
|
171
171
|
notNull: false;
|
|
172
172
|
hasDefault: false;
|
|
@@ -179,7 +179,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
179
179
|
generated: undefined;
|
|
180
180
|
}, {}, {
|
|
181
181
|
length: number | undefined;
|
|
182
|
-
$type: "
|
|
182
|
+
$type: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING";
|
|
183
183
|
}>;
|
|
184
184
|
payments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
185
185
|
name: "payments";
|
|
@@ -475,7 +475,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
475
475
|
tableName: "payment";
|
|
476
476
|
dataType: "string";
|
|
477
477
|
columnType: "SQLiteText";
|
|
478
|
-
data: "PREPARED" | "
|
|
478
|
+
data: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
479
479
|
driverParam: string;
|
|
480
480
|
notNull: true;
|
|
481
481
|
hasDefault: false;
|
|
@@ -488,7 +488,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
488
488
|
generated: undefined;
|
|
489
489
|
}, {}, {
|
|
490
490
|
length: number | undefined;
|
|
491
|
-
$type: "PREPARED" | "
|
|
491
|
+
$type: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
492
492
|
}>;
|
|
493
493
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
494
494
|
name: "status_reason";
|
|
@@ -991,14 +991,14 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
991
991
|
tableName: "account";
|
|
992
992
|
dataType: "string";
|
|
993
993
|
columnType: "SQLiteText";
|
|
994
|
-
data:
|
|
994
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
995
995
|
driverParam: string;
|
|
996
996
|
notNull: true;
|
|
997
997
|
hasDefault: false;
|
|
998
998
|
isPrimaryKey: false;
|
|
999
999
|
isAutoincrement: false;
|
|
1000
1000
|
hasRuntimeDefault: false;
|
|
1001
|
-
enumValues: [
|
|
1001
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1002
1002
|
baseColumn: never;
|
|
1003
1003
|
identity: undefined;
|
|
1004
1004
|
generated: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
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.W4h6Dlzi.mjs';
|
|
2
2
|
import { eq, inArray } from 'drizzle-orm';
|
|
3
|
-
import { M as MockCobsConnector } from './bank.
|
|
3
|
+
import { M as MockCobsConnector } from './bank.BvXwHpBp.mjs';
|
|
4
4
|
import 'jose';
|
|
5
5
|
import '@develit-io/general-codes';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Environment } from '@develit-io/backend-sdk';
|
|
2
2
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
3
|
-
import { a as PaymentInsertType, t as tables } from './bank.
|
|
3
|
+
import { a as PaymentInsertType, t as tables } from './bank.CsvBtQib.mjs';
|
|
4
4
|
import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as drizzle_zod from 'drizzle-zod';
|
|
@@ -171,14 +171,14 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
171
171
|
tableName: "account";
|
|
172
172
|
dataType: "string";
|
|
173
173
|
columnType: "SQLiteText";
|
|
174
|
-
data:
|
|
174
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
175
175
|
driverParam: string;
|
|
176
176
|
notNull: true;
|
|
177
177
|
hasDefault: false;
|
|
178
178
|
isPrimaryKey: false;
|
|
179
179
|
isAutoincrement: false;
|
|
180
180
|
hasRuntimeDefault: false;
|
|
181
|
-
enumValues: [
|
|
181
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
182
182
|
baseColumn: never;
|
|
183
183
|
identity: undefined;
|
|
184
184
|
generated: undefined;
|
|
@@ -619,14 +619,14 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
619
619
|
tableName: "account";
|
|
620
620
|
dataType: "string";
|
|
621
621
|
columnType: "SQLiteText";
|
|
622
|
-
data:
|
|
622
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
623
623
|
driverParam: string;
|
|
624
624
|
notNull: true;
|
|
625
625
|
hasDefault: false;
|
|
626
626
|
isPrimaryKey: false;
|
|
627
627
|
isAutoincrement: false;
|
|
628
628
|
hasRuntimeDefault: false;
|
|
629
|
-
enumValues: [
|
|
629
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
630
630
|
baseColumn: never;
|
|
631
631
|
identity: undefined;
|
|
632
632
|
generated: undefined;
|
|
@@ -1067,14 +1067,14 @@ declare const accountSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1067
1067
|
tableName: "account";
|
|
1068
1068
|
dataType: "string";
|
|
1069
1069
|
columnType: "SQLiteText";
|
|
1070
|
-
data:
|
|
1070
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1071
1071
|
driverParam: string;
|
|
1072
1072
|
notNull: true;
|
|
1073
1073
|
hasDefault: false;
|
|
1074
1074
|
isPrimaryKey: false;
|
|
1075
1075
|
isAutoincrement: false;
|
|
1076
1076
|
hasRuntimeDefault: false;
|
|
1077
|
-
enumValues: [
|
|
1077
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1078
1078
|
baseColumn: never;
|
|
1079
1079
|
identity: undefined;
|
|
1080
1080
|
generated: undefined;
|
|
@@ -2,7 +2,7 @@ import { uuidv4, useResult, createInternalError, bankAccount, base } from '@deve
|
|
|
2
2
|
import { sqliteTable, integer, text, unique, real } from 'drizzle-orm/sqlite-core';
|
|
3
3
|
import { format, parseISO } from 'date-fns';
|
|
4
4
|
import { and, eq } from 'drizzle-orm';
|
|
5
|
-
import { COUNTRY_CODES_2, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
5
|
+
import { COUNTRY_CODES_2, CURRENCY_CODES, BANK_CODES } from '@develit-io/general-codes';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { importPKCS8, SignJWT } from 'jose';
|
|
8
8
|
import { createInsertSchema, createUpdateSchema, createSelectSchema } from 'drizzle-zod';
|
|
@@ -1171,7 +1171,7 @@ const account = sqliteTable(
|
|
|
1171
1171
|
...bankAccount,
|
|
1172
1172
|
number: text("number").notNull(),
|
|
1173
1173
|
iban: text("iban").notNull(),
|
|
1174
|
-
bankCode: text("bank_code").notNull(),
|
|
1174
|
+
bankCode: text("bank_code", { enum: BANK_CODES }).notNull(),
|
|
1175
1175
|
connectorKey: text("connector_key", {
|
|
1176
1176
|
enum: CONNECTOR_KEYS
|
|
1177
1177
|
}).$type().notNull(),
|
|
@@ -1173,7 +1173,7 @@ const account = sqliteCore.sqliteTable(
|
|
|
1173
1173
|
...backendSdk.bankAccount,
|
|
1174
1174
|
number: sqliteCore.text("number").notNull(),
|
|
1175
1175
|
iban: sqliteCore.text("iban").notNull(),
|
|
1176
|
-
bankCode: sqliteCore.text("bank_code").notNull(),
|
|
1176
|
+
bankCode: sqliteCore.text("bank_code", { enum: generalCodes.BANK_CODES }).notNull(),
|
|
1177
1177
|
connectorKey: sqliteCore.text("connector_key", {
|
|
1178
1178
|
enum: CONNECTOR_KEYS
|
|
1179
1179
|
}).$type().notNull(),
|
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.tLe0jhjo.cjs');
|
|
4
|
+
const mockCobs_connector = require('./shared/bank.z4VxSea3.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,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.CRVH1wUH.cjs';
|
|
2
|
+
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.CRVH1wUH.cjs';
|
|
3
|
+
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.CsvBtQib.cjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.CsvBtQib.cjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.cjs';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.DouutABZ.mjs';
|
|
2
|
+
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.DouutABZ.mjs';
|
|
3
|
+
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.CsvBtQib.mjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.CsvBtQib.mjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.mjs';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.Ckn_klvT.js';
|
|
2
|
+
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.Ckn_klvT.js';
|
|
3
|
+
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.CsvBtQib.js';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.CsvBtQib.js';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.js';
|
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, r as ottSelectSchema, q as ottUpdateSchema, p as paymentInsertTypeZod, 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, r as ottSelectSchema, q as ottUpdateSchema, p as paymentInsertTypeZod, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.W4h6Dlzi.mjs';
|
|
2
|
+
export { M as MockCobsConnector } from './shared/bank.BvXwHpBp.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';
|