@develit-services/bank 0.1.4 → 0.1.5

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.
Files changed (30) hide show
  1. package/dist/database/schema.cjs +1 -1
  2. package/dist/database/schema.d.cts +1 -1
  3. package/dist/database/schema.d.mts +1 -1
  4. package/dist/database/schema.d.ts +1 -1
  5. package/dist/database/schema.mjs +1 -1
  6. package/dist/export/worker.cjs +3 -3
  7. package/dist/export/worker.d.cts +73 -73
  8. package/dist/export/worker.d.mts +73 -73
  9. package/dist/export/worker.d.ts +73 -73
  10. package/dist/export/worker.mjs +4 -4
  11. package/dist/export/workflows.cjs +3 -3
  12. package/dist/export/workflows.mjs +3 -3
  13. package/dist/shared/{bank._ilV3SSc.cjs → bank.BcCfzRPi.cjs} +1 -1
  14. package/dist/shared/{bank.BVoTAfMF.mjs → bank.C4V6vvM1.mjs} +2 -2
  15. package/dist/shared/{bank._W3dtG8P.d.ts → bank.CKFLzN49.d.mts} +172 -172
  16. package/dist/shared/{bank.DV-Kvdzh.d.cts → bank.CRz5Du_I.d.cts} +172 -172
  17. package/dist/shared/{bank.b_ehHCuG.d.mts → bank.ClVtgYqT.d.ts} +172 -172
  18. package/dist/shared/{bank.DC5Hk4UF.mjs → bank.D2ZeOkyc.mjs} +1 -1
  19. package/dist/shared/{bank.CgiMSTo7.d.ts → bank.DpCeuDbj.d.cts} +63 -63
  20. package/dist/shared/{bank.CgiMSTo7.d.cts → bank.DpCeuDbj.d.mts} +63 -63
  21. package/dist/shared/{bank.CgiMSTo7.d.mts → bank.DpCeuDbj.d.ts} +63 -63
  22. package/dist/shared/{bank.DN3pRw5j.cjs → bank.PDmcU0T-.cjs} +3 -0
  23. package/dist/shared/{bank.DTMwkDFH.cjs → bank.aQ9BdSZH.cjs} +2 -2
  24. package/dist/shared/{bank.Buq4PwHY.mjs → bank.xIMAnZ4v.mjs} +3 -0
  25. package/dist/types.cjs +2 -2
  26. package/dist/types.d.cts +4 -4
  27. package/dist/types.d.mts +4 -4
  28. package/dist/types.d.ts +4 -4
  29. package/dist/types.mjs +2 -2
  30. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const database_schema = require('../shared/bank.DN3pRw5j.cjs');
3
+ const database_schema = require('../shared/bank.PDmcU0T-.cjs');
4
4
  require('@develit-io/backend-sdk');
5
5
  require('drizzle-orm/sqlite-core');
6
6
  require('date-fns');
@@ -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.CgiMSTo7.cjs';
1
+ export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.DpCeuDbj.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.CgiMSTo7.mjs';
1
+ export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.DpCeuDbj.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.CgiMSTo7.js';
1
+ export { f as account, g as accountCredentials, c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.DpCeuDbj.js';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import 'zod';
@@ -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.Buq4PwHY.mjs';
1
+ export { D as account, G as accountCredentials, w as batch, z as ott, x as payment, y as paymentRelations } from '../shared/bank.xIMAnZ4v.mjs';
2
2
  import '@develit-io/backend-sdk';
3
3
  import 'drizzle-orm/sqlite-core';
4
4
  import 'date-fns';
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- const export_workflows = require('../shared/bank.DTMwkDFH.cjs');
3
+ const export_workflows = require('../shared/bank.aQ9BdSZH.cjs');
4
4
  const backendSdk = require('@develit-io/backend-sdk');
5
5
  const cloudflare_workers = require('cloudflare:workers');
6
6
  const d1 = require('drizzle-orm/d1');
7
- const database_schema = require('../shared/bank.DN3pRw5j.cjs');
7
+ const database_schema = require('../shared/bank.PDmcU0T-.cjs');
8
8
  require('jose');
9
9
  const generalCodes = require('@develit-io/general-codes');
10
10
  const zod = require('zod');
11
11
  const drizzleOrm = require('drizzle-orm');
12
12
  require('cloudflare:workflows');
13
- require('../shared/bank._ilV3SSc.cjs');
13
+ require('../shared/bank.BcCfzRPi.cjs');
14
14
  require('drizzle-orm/sqlite-core');
15
15
  require('date-fns');
16
16
  require('drizzle-zod');
@@ -3,8 +3,8 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
3
3
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
4
4
  import { WorkerEntrypoint } from 'cloudflare:workers';
5
5
  import { DrizzleD1Database } from 'drizzle-orm/d1';
6
- import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.CgiMSTo7.cjs';
7
- import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.DV-Kvdzh.cjs';
6
+ import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.DpCeuDbj.cjs';
7
+ import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.CRz5Du_I.cjs';
8
8
  import { z } from 'zod';
9
9
  import * as drizzle_zod from 'drizzle-zod';
10
10
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
@@ -1539,21 +1539,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
1539
1539
  }, z.core.$strip>;
1540
1540
  filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
1541
1541
  filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1542
+ PREPARED: "PREPARED";
1543
+ FAILED: "FAILED";
1544
+ COMPLETED: "COMPLETED";
1542
1545
  OPEN: "OPEN";
1543
1546
  PROCESSING: "PROCESSING";
1544
1547
  READY_TO_SIGN: "READY_TO_SIGN";
1545
1548
  WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
1549
+ }>, z.ZodArray<z.ZodEnum<{
1546
1550
  PREPARED: "PREPARED";
1547
- COMPLETED: "COMPLETED";
1548
1551
  FAILED: "FAILED";
1549
- }>, z.ZodArray<z.ZodEnum<{
1552
+ COMPLETED: "COMPLETED";
1550
1553
  OPEN: "OPEN";
1551
1554
  PROCESSING: "PROCESSING";
1552
1555
  READY_TO_SIGN: "READY_TO_SIGN";
1553
1556
  WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
1554
- PREPARED: "PREPARED";
1555
- COMPLETED: "COMPLETED";
1556
- FAILED: "FAILED";
1557
1557
  }>>]>>;
1558
1558
  }, z.core.$strip>;
1559
1559
  type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
@@ -1713,17 +1713,17 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1713
1713
  filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
1714
1714
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1715
1715
  PREPARED: "PREPARED";
1716
- COMPLETED: "COMPLETED";
1717
- FAILED: "FAILED";
1718
1716
  INITIALIZED: "INITIALIZED";
1717
+ FAILED: "FAILED";
1719
1718
  PENDING: "PENDING";
1719
+ COMPLETED: "COMPLETED";
1720
1720
  CREATED: "CREATED";
1721
1721
  }>, z.ZodArray<z.ZodEnum<{
1722
1722
  PREPARED: "PREPARED";
1723
- COMPLETED: "COMPLETED";
1724
- FAILED: "FAILED";
1725
1723
  INITIALIZED: "INITIALIZED";
1724
+ FAILED: "FAILED";
1726
1725
  PENDING: "PENDING";
1726
+ COMPLETED: "COMPLETED";
1727
1727
  CREATED: "CREATED";
1728
1728
  }>>]>>;
1729
1729
  }, z.core.$strip>;
@@ -1820,6 +1820,63 @@ type SyncAccountTerminateOutput = z.infer<typeof syncAccountTerminateOutputSchem
1820
1820
 
1821
1821
  declare const updateAccountInputSchema: z.ZodObject<{
1822
1822
  account: drizzle_zod.BuildSchema<"insert", {
1823
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
1824
+ name: "number";
1825
+ tableName: "account";
1826
+ dataType: "string";
1827
+ columnType: "SQLiteText";
1828
+ data: string;
1829
+ driverParam: string;
1830
+ notNull: true;
1831
+ hasDefault: false;
1832
+ isPrimaryKey: false;
1833
+ isAutoincrement: false;
1834
+ hasRuntimeDefault: false;
1835
+ enumValues: [string, ...string[]];
1836
+ baseColumn: never;
1837
+ identity: undefined;
1838
+ generated: undefined;
1839
+ }, {}, {
1840
+ length: number | undefined;
1841
+ }>;
1842
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1843
+ name: "iban";
1844
+ tableName: "account";
1845
+ dataType: "string";
1846
+ columnType: "SQLiteText";
1847
+ data: string;
1848
+ driverParam: string;
1849
+ notNull: true;
1850
+ hasDefault: false;
1851
+ isPrimaryKey: false;
1852
+ isAutoincrement: false;
1853
+ hasRuntimeDefault: false;
1854
+ enumValues: [string, ...string[]];
1855
+ baseColumn: never;
1856
+ identity: undefined;
1857
+ generated: undefined;
1858
+ }, {}, {
1859
+ length: number | undefined;
1860
+ }>;
1861
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1862
+ name: "bank_code";
1863
+ tableName: "account";
1864
+ dataType: "string";
1865
+ columnType: "SQLiteText";
1866
+ data: string;
1867
+ driverParam: string;
1868
+ notNull: true;
1869
+ hasDefault: false;
1870
+ isPrimaryKey: false;
1871
+ isAutoincrement: false;
1872
+ hasRuntimeDefault: false;
1873
+ enumValues: [string, ...string[]];
1874
+ baseColumn: never;
1875
+ identity: undefined;
1876
+ generated: undefined;
1877
+ }, {}, {
1878
+ length: number | undefined;
1879
+ }>;
1823
1880
  connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
1824
1881
  name: "connector_key";
1825
1882
  tableName: "account";
@@ -1949,63 +2006,6 @@ declare const updateAccountInputSchema: z.ZodObject<{
1949
2006
  }, {}, {
1950
2007
  length: number | undefined;
1951
2008
  }>;
1952
- number: drizzle_orm_sqlite_core.SQLiteColumn<{
1953
- name: "number";
1954
- tableName: "account";
1955
- dataType: "string";
1956
- columnType: "SQLiteText";
1957
- data: string;
1958
- driverParam: string;
1959
- notNull: false;
1960
- hasDefault: false;
1961
- isPrimaryKey: false;
1962
- isAutoincrement: false;
1963
- hasRuntimeDefault: false;
1964
- enumValues: [string, ...string[]];
1965
- baseColumn: never;
1966
- identity: undefined;
1967
- generated: undefined;
1968
- }, {}, {
1969
- length: number | undefined;
1970
- }>;
1971
- bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1972
- name: "bank_code";
1973
- tableName: "account";
1974
- dataType: "string";
1975
- columnType: "SQLiteText";
1976
- 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";
1977
- driverParam: string;
1978
- notNull: false;
1979
- hasDefault: false;
1980
- isPrimaryKey: false;
1981
- isAutoincrement: false;
1982
- hasRuntimeDefault: false;
1983
- 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")[]];
1984
- baseColumn: never;
1985
- identity: undefined;
1986
- generated: undefined;
1987
- }, {}, {
1988
- length: number | undefined;
1989
- }>;
1990
- iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1991
- name: "iban";
1992
- tableName: "account";
1993
- dataType: "string";
1994
- columnType: "SQLiteText";
1995
- data: string;
1996
- driverParam: string;
1997
- notNull: false;
1998
- hasDefault: false;
1999
- isPrimaryKey: false;
2000
- isAutoincrement: false;
2001
- hasRuntimeDefault: false;
2002
- enumValues: [string, ...string[]];
2003
- baseColumn: never;
2004
- identity: undefined;
2005
- generated: undefined;
2006
- }, {}, {
2007
- length: number | undefined;
2008
- }>;
2009
2009
  address: drizzle_orm_sqlite_core.SQLiteColumn<{
2010
2010
  name: "address";
2011
2011
  tableName: "account";
@@ -2290,6 +2290,9 @@ declare class BankServiceBase extends BankServiceBase_base {
2290
2290
  constructor(ctx: ExecutionContext, env: BankEnv, config: ConfigEnvironmentBank);
2291
2291
  _getAccounts(): Promise<{
2292
2292
  expiresAt: Date | undefined;
2293
+ number: string;
2294
+ iban: string;
2295
+ bankCode: string;
2293
2296
  connectorKey: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
2294
2297
  status: "AUTHORIZED" | "DISABLED" | "EXPIRED";
2295
2298
  bankRefId: string;
@@ -2297,9 +2300,6 @@ declare class BankServiceBase extends BankServiceBase_base {
2297
2300
  syncIntervalS: number;
2298
2301
  lastSyncedAt: Date | null;
2299
2302
  holderName: string;
2300
- number: string | null;
2301
- 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" | null;
2302
- iban: string | null;
2303
2303
  address: string | null;
2304
2304
  swiftBic: string | null;
2305
2305
  bicCor: string | null;
@@ -2334,14 +2334,14 @@ declare class BankServiceBase extends BankServiceBase_base {
2334
2334
  addPaymentsToBatch({ paymentsToBatch, }: {
2335
2335
  paymentsToBatch: SendPaymentInput[];
2336
2336
  }): Promise<IRPCResponse<{
2337
- status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | "PREPARED" | "COMPLETED" | "FAILED" | null;
2338
2337
  id: string;
2339
2338
  createdAt: Date | null;
2340
2339
  updatedAt: Date | null;
2341
2340
  deletedAt: Date | null;
2342
- accountId: string | null;
2341
+ status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | null;
2343
2342
  batchPaymentInitiatedAt: Date | null;
2344
2343
  authorizationUrls: string | string[] | null;
2344
+ accountId: string | null;
2345
2345
  payments: PaymentInsertType[];
2346
2346
  metadata: object | null;
2347
2347
  }[] | undefined>>;
@@ -3,8 +3,8 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
3
3
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
4
4
  import { WorkerEntrypoint } from 'cloudflare:workers';
5
5
  import { DrizzleD1Database } from 'drizzle-orm/d1';
6
- import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.CgiMSTo7.mjs';
7
- import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.b_ehHCuG.mjs';
6
+ import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.DpCeuDbj.mjs';
7
+ import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.CKFLzN49.mjs';
8
8
  import { z } from 'zod';
9
9
  import * as drizzle_zod from 'drizzle-zod';
10
10
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
@@ -1539,21 +1539,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
1539
1539
  }, z.core.$strip>;
1540
1540
  filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
1541
1541
  filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1542
+ PREPARED: "PREPARED";
1543
+ FAILED: "FAILED";
1544
+ COMPLETED: "COMPLETED";
1542
1545
  OPEN: "OPEN";
1543
1546
  PROCESSING: "PROCESSING";
1544
1547
  READY_TO_SIGN: "READY_TO_SIGN";
1545
1548
  WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
1549
+ }>, z.ZodArray<z.ZodEnum<{
1546
1550
  PREPARED: "PREPARED";
1547
- COMPLETED: "COMPLETED";
1548
1551
  FAILED: "FAILED";
1549
- }>, z.ZodArray<z.ZodEnum<{
1552
+ COMPLETED: "COMPLETED";
1550
1553
  OPEN: "OPEN";
1551
1554
  PROCESSING: "PROCESSING";
1552
1555
  READY_TO_SIGN: "READY_TO_SIGN";
1553
1556
  WAITING_FOR_PROCESSING: "WAITING_FOR_PROCESSING";
1554
- PREPARED: "PREPARED";
1555
- COMPLETED: "COMPLETED";
1556
- FAILED: "FAILED";
1557
1557
  }>>]>>;
1558
1558
  }, z.core.$strip>;
1559
1559
  type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
@@ -1713,17 +1713,17 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1713
1713
  filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
1714
1714
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1715
1715
  PREPARED: "PREPARED";
1716
- COMPLETED: "COMPLETED";
1717
- FAILED: "FAILED";
1718
1716
  INITIALIZED: "INITIALIZED";
1717
+ FAILED: "FAILED";
1719
1718
  PENDING: "PENDING";
1719
+ COMPLETED: "COMPLETED";
1720
1720
  CREATED: "CREATED";
1721
1721
  }>, z.ZodArray<z.ZodEnum<{
1722
1722
  PREPARED: "PREPARED";
1723
- COMPLETED: "COMPLETED";
1724
- FAILED: "FAILED";
1725
1723
  INITIALIZED: "INITIALIZED";
1724
+ FAILED: "FAILED";
1726
1725
  PENDING: "PENDING";
1726
+ COMPLETED: "COMPLETED";
1727
1727
  CREATED: "CREATED";
1728
1728
  }>>]>>;
1729
1729
  }, z.core.$strip>;
@@ -1820,6 +1820,63 @@ type SyncAccountTerminateOutput = z.infer<typeof syncAccountTerminateOutputSchem
1820
1820
 
1821
1821
  declare const updateAccountInputSchema: z.ZodObject<{
1822
1822
  account: drizzle_zod.BuildSchema<"insert", {
1823
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
1824
+ name: "number";
1825
+ tableName: "account";
1826
+ dataType: "string";
1827
+ columnType: "SQLiteText";
1828
+ data: string;
1829
+ driverParam: string;
1830
+ notNull: true;
1831
+ hasDefault: false;
1832
+ isPrimaryKey: false;
1833
+ isAutoincrement: false;
1834
+ hasRuntimeDefault: false;
1835
+ enumValues: [string, ...string[]];
1836
+ baseColumn: never;
1837
+ identity: undefined;
1838
+ generated: undefined;
1839
+ }, {}, {
1840
+ length: number | undefined;
1841
+ }>;
1842
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1843
+ name: "iban";
1844
+ tableName: "account";
1845
+ dataType: "string";
1846
+ columnType: "SQLiteText";
1847
+ data: string;
1848
+ driverParam: string;
1849
+ notNull: true;
1850
+ hasDefault: false;
1851
+ isPrimaryKey: false;
1852
+ isAutoincrement: false;
1853
+ hasRuntimeDefault: false;
1854
+ enumValues: [string, ...string[]];
1855
+ baseColumn: never;
1856
+ identity: undefined;
1857
+ generated: undefined;
1858
+ }, {}, {
1859
+ length: number | undefined;
1860
+ }>;
1861
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1862
+ name: "bank_code";
1863
+ tableName: "account";
1864
+ dataType: "string";
1865
+ columnType: "SQLiteText";
1866
+ data: string;
1867
+ driverParam: string;
1868
+ notNull: true;
1869
+ hasDefault: false;
1870
+ isPrimaryKey: false;
1871
+ isAutoincrement: false;
1872
+ hasRuntimeDefault: false;
1873
+ enumValues: [string, ...string[]];
1874
+ baseColumn: never;
1875
+ identity: undefined;
1876
+ generated: undefined;
1877
+ }, {}, {
1878
+ length: number | undefined;
1879
+ }>;
1823
1880
  connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
1824
1881
  name: "connector_key";
1825
1882
  tableName: "account";
@@ -1949,63 +2006,6 @@ declare const updateAccountInputSchema: z.ZodObject<{
1949
2006
  }, {}, {
1950
2007
  length: number | undefined;
1951
2008
  }>;
1952
- number: drizzle_orm_sqlite_core.SQLiteColumn<{
1953
- name: "number";
1954
- tableName: "account";
1955
- dataType: "string";
1956
- columnType: "SQLiteText";
1957
- data: string;
1958
- driverParam: string;
1959
- notNull: false;
1960
- hasDefault: false;
1961
- isPrimaryKey: false;
1962
- isAutoincrement: false;
1963
- hasRuntimeDefault: false;
1964
- enumValues: [string, ...string[]];
1965
- baseColumn: never;
1966
- identity: undefined;
1967
- generated: undefined;
1968
- }, {}, {
1969
- length: number | undefined;
1970
- }>;
1971
- bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1972
- name: "bank_code";
1973
- tableName: "account";
1974
- dataType: "string";
1975
- columnType: "SQLiteText";
1976
- 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";
1977
- driverParam: string;
1978
- notNull: false;
1979
- hasDefault: false;
1980
- isPrimaryKey: false;
1981
- isAutoincrement: false;
1982
- hasRuntimeDefault: false;
1983
- 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")[]];
1984
- baseColumn: never;
1985
- identity: undefined;
1986
- generated: undefined;
1987
- }, {}, {
1988
- length: number | undefined;
1989
- }>;
1990
- iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1991
- name: "iban";
1992
- tableName: "account";
1993
- dataType: "string";
1994
- columnType: "SQLiteText";
1995
- data: string;
1996
- driverParam: string;
1997
- notNull: false;
1998
- hasDefault: false;
1999
- isPrimaryKey: false;
2000
- isAutoincrement: false;
2001
- hasRuntimeDefault: false;
2002
- enumValues: [string, ...string[]];
2003
- baseColumn: never;
2004
- identity: undefined;
2005
- generated: undefined;
2006
- }, {}, {
2007
- length: number | undefined;
2008
- }>;
2009
2009
  address: drizzle_orm_sqlite_core.SQLiteColumn<{
2010
2010
  name: "address";
2011
2011
  tableName: "account";
@@ -2290,6 +2290,9 @@ declare class BankServiceBase extends BankServiceBase_base {
2290
2290
  constructor(ctx: ExecutionContext, env: BankEnv, config: ConfigEnvironmentBank);
2291
2291
  _getAccounts(): Promise<{
2292
2292
  expiresAt: Date | undefined;
2293
+ number: string;
2294
+ iban: string;
2295
+ bankCode: string;
2293
2296
  connectorKey: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
2294
2297
  status: "AUTHORIZED" | "DISABLED" | "EXPIRED";
2295
2298
  bankRefId: string;
@@ -2297,9 +2300,6 @@ declare class BankServiceBase extends BankServiceBase_base {
2297
2300
  syncIntervalS: number;
2298
2301
  lastSyncedAt: Date | null;
2299
2302
  holderName: string;
2300
- number: string | null;
2301
- 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" | null;
2302
- iban: string | null;
2303
2303
  address: string | null;
2304
2304
  swiftBic: string | null;
2305
2305
  bicCor: string | null;
@@ -2334,14 +2334,14 @@ declare class BankServiceBase extends BankServiceBase_base {
2334
2334
  addPaymentsToBatch({ paymentsToBatch, }: {
2335
2335
  paymentsToBatch: SendPaymentInput[];
2336
2336
  }): Promise<IRPCResponse<{
2337
- status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | "PREPARED" | "COMPLETED" | "FAILED" | null;
2338
2337
  id: string;
2339
2338
  createdAt: Date | null;
2340
2339
  updatedAt: Date | null;
2341
2340
  deletedAt: Date | null;
2342
- accountId: string | null;
2341
+ status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | null;
2343
2342
  batchPaymentInitiatedAt: Date | null;
2344
2343
  authorizationUrls: string | string[] | null;
2344
+ accountId: string | null;
2345
2345
  payments: PaymentInsertType[];
2346
2346
  metadata: object | null;
2347
2347
  }[] | undefined>>;