@develit-services/bank 0.3.1 → 0.3.3

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.
@@ -7,7 +7,7 @@ const database_schema = require('../shared/bank.CpcK1Dse.cjs');
7
7
  require('jose');
8
8
  const generalCodes = require('@develit-io/general-codes');
9
9
  const zod = require('zod');
10
- const processBatch_workflow = require('../shared/bank.CIJDq7GL.cjs');
10
+ const processBatch_workflow = require('../shared/bank.wqkNncOE.cjs');
11
11
  const drizzleOrm = require('drizzle-orm');
12
12
  require('drizzle-orm/sqlite-core');
13
13
  require('date-fns');
@@ -429,7 +429,7 @@ let BankServiceBase = class extends backendSdk.develitWorker(cloudflare_workers.
429
429
  }
430
430
  const accounts = await this._getAccounts();
431
431
  const accountsForConnector = accounts.filter(
432
- (acc) => acc.connectorKey === connectorKey
432
+ (acc) => acc.connectorKey === connectorKey && acc.status !== "DISABLED"
433
433
  );
434
434
  const encryptionKey = await processBatch_workflow.importAesKey(this.env.ENCRYPTION_KEY);
435
435
  const accountsWithCredentials = await Promise.all(
@@ -1569,7 +1569,10 @@ declare const processBatchOutputSchema: z.ZodObject<{
1569
1569
  waiting: "waiting";
1570
1570
  waitingForPause: "waitingForPause";
1571
1571
  }>;
1572
- error: z.ZodOptional<z.ZodString>;
1572
+ error: z.ZodOptional<z.ZodObject<{
1573
+ message: z.ZodString;
1574
+ name: z.ZodOptional<z.ZodString>;
1575
+ }, z.core.$strip>>;
1573
1576
  output: z.ZodOptional<z.ZodUnknown>;
1574
1577
  }, z.core.$strip>;
1575
1578
  }, z.core.$strip>;
@@ -1594,7 +1597,10 @@ declare const processBatchStatusOutputSchema: z.ZodObject<{
1594
1597
  waiting: "waiting";
1595
1598
  waitingForPause: "waitingForPause";
1596
1599
  }>;
1597
- error: z.ZodOptional<z.ZodString>;
1600
+ error: z.ZodOptional<z.ZodObject<{
1601
+ message: z.ZodString;
1602
+ name: z.ZodOptional<z.ZodString>;
1603
+ }, z.core.$strip>>;
1598
1604
  output: z.ZodOptional<z.ZodUnknown>;
1599
1605
  }, z.core.$strip>;
1600
1606
  }, z.core.$strip>;
@@ -1619,7 +1625,10 @@ declare const processBatchRestartOutputSchema: z.ZodObject<{
1619
1625
  waiting: "waiting";
1620
1626
  waitingForPause: "waitingForPause";
1621
1627
  }>;
1622
- error: z.ZodOptional<z.ZodString>;
1628
+ error: z.ZodOptional<z.ZodObject<{
1629
+ message: z.ZodString;
1630
+ name: z.ZodOptional<z.ZodString>;
1631
+ }, z.core.$strip>>;
1623
1632
  output: z.ZodOptional<z.ZodUnknown>;
1624
1633
  }, z.core.$strip>;
1625
1634
  }, z.core.$strip>;
@@ -1815,7 +1824,10 @@ declare const syncAccountOutputSchema: z.ZodObject<{
1815
1824
  waiting: "waiting";
1816
1825
  waitingForPause: "waitingForPause";
1817
1826
  }>;
1818
- error: z.ZodOptional<z.ZodString>;
1827
+ error: z.ZodOptional<z.ZodObject<{
1828
+ message: z.ZodString;
1829
+ name: z.ZodOptional<z.ZodString>;
1830
+ }, z.core.$strip>>;
1819
1831
  output: z.ZodOptional<z.ZodUnknown>;
1820
1832
  }, z.core.$strip>;
1821
1833
  }, z.core.$strip>;
@@ -1840,7 +1852,10 @@ declare const syncAccountStatusOutputSchema: z.ZodObject<{
1840
1852
  waiting: "waiting";
1841
1853
  waitingForPause: "waitingForPause";
1842
1854
  }>;
1843
- error: z.ZodOptional<z.ZodString>;
1855
+ error: z.ZodOptional<z.ZodObject<{
1856
+ message: z.ZodString;
1857
+ name: z.ZodOptional<z.ZodString>;
1858
+ }, z.core.$strip>>;
1844
1859
  output: z.ZodOptional<z.ZodUnknown>;
1845
1860
  }, z.core.$strip>;
1846
1861
  }, z.core.$strip>;
@@ -1865,7 +1880,10 @@ declare const syncAccountRestartOutputSchema: z.ZodObject<{
1865
1880
  waiting: "waiting";
1866
1881
  waitingForPause: "waitingForPause";
1867
1882
  }>;
1868
- error: z.ZodOptional<z.ZodString>;
1883
+ error: z.ZodOptional<z.ZodObject<{
1884
+ message: z.ZodString;
1885
+ name: z.ZodOptional<z.ZodString>;
1886
+ }, z.core.$strip>>;
1869
1887
  output: z.ZodOptional<z.ZodUnknown>;
1870
1888
  }, z.core.$strip>;
1871
1889
  }, z.core.$strip>;
@@ -1569,7 +1569,10 @@ declare const processBatchOutputSchema: z.ZodObject<{
1569
1569
  waiting: "waiting";
1570
1570
  waitingForPause: "waitingForPause";
1571
1571
  }>;
1572
- error: z.ZodOptional<z.ZodString>;
1572
+ error: z.ZodOptional<z.ZodObject<{
1573
+ message: z.ZodString;
1574
+ name: z.ZodOptional<z.ZodString>;
1575
+ }, z.core.$strip>>;
1573
1576
  output: z.ZodOptional<z.ZodUnknown>;
1574
1577
  }, z.core.$strip>;
1575
1578
  }, z.core.$strip>;
@@ -1594,7 +1597,10 @@ declare const processBatchStatusOutputSchema: z.ZodObject<{
1594
1597
  waiting: "waiting";
1595
1598
  waitingForPause: "waitingForPause";
1596
1599
  }>;
1597
- error: z.ZodOptional<z.ZodString>;
1600
+ error: z.ZodOptional<z.ZodObject<{
1601
+ message: z.ZodString;
1602
+ name: z.ZodOptional<z.ZodString>;
1603
+ }, z.core.$strip>>;
1598
1604
  output: z.ZodOptional<z.ZodUnknown>;
1599
1605
  }, z.core.$strip>;
1600
1606
  }, z.core.$strip>;
@@ -1619,7 +1625,10 @@ declare const processBatchRestartOutputSchema: z.ZodObject<{
1619
1625
  waiting: "waiting";
1620
1626
  waitingForPause: "waitingForPause";
1621
1627
  }>;
1622
- error: z.ZodOptional<z.ZodString>;
1628
+ error: z.ZodOptional<z.ZodObject<{
1629
+ message: z.ZodString;
1630
+ name: z.ZodOptional<z.ZodString>;
1631
+ }, z.core.$strip>>;
1623
1632
  output: z.ZodOptional<z.ZodUnknown>;
1624
1633
  }, z.core.$strip>;
1625
1634
  }, z.core.$strip>;
@@ -1815,7 +1824,10 @@ declare const syncAccountOutputSchema: z.ZodObject<{
1815
1824
  waiting: "waiting";
1816
1825
  waitingForPause: "waitingForPause";
1817
1826
  }>;
1818
- error: z.ZodOptional<z.ZodString>;
1827
+ error: z.ZodOptional<z.ZodObject<{
1828
+ message: z.ZodString;
1829
+ name: z.ZodOptional<z.ZodString>;
1830
+ }, z.core.$strip>>;
1819
1831
  output: z.ZodOptional<z.ZodUnknown>;
1820
1832
  }, z.core.$strip>;
1821
1833
  }, z.core.$strip>;
@@ -1840,7 +1852,10 @@ declare const syncAccountStatusOutputSchema: z.ZodObject<{
1840
1852
  waiting: "waiting";
1841
1853
  waitingForPause: "waitingForPause";
1842
1854
  }>;
1843
- error: z.ZodOptional<z.ZodString>;
1855
+ error: z.ZodOptional<z.ZodObject<{
1856
+ message: z.ZodString;
1857
+ name: z.ZodOptional<z.ZodString>;
1858
+ }, z.core.$strip>>;
1844
1859
  output: z.ZodOptional<z.ZodUnknown>;
1845
1860
  }, z.core.$strip>;
1846
1861
  }, z.core.$strip>;
@@ -1865,7 +1880,10 @@ declare const syncAccountRestartOutputSchema: z.ZodObject<{
1865
1880
  waiting: "waiting";
1866
1881
  waitingForPause: "waitingForPause";
1867
1882
  }>;
1868
- error: z.ZodOptional<z.ZodString>;
1883
+ error: z.ZodOptional<z.ZodObject<{
1884
+ message: z.ZodString;
1885
+ name: z.ZodOptional<z.ZodString>;
1886
+ }, z.core.$strip>>;
1869
1887
  output: z.ZodOptional<z.ZodUnknown>;
1870
1888
  }, z.core.$strip>;
1871
1889
  }, z.core.$strip>;
@@ -1569,7 +1569,10 @@ declare const processBatchOutputSchema: z.ZodObject<{
1569
1569
  waiting: "waiting";
1570
1570
  waitingForPause: "waitingForPause";
1571
1571
  }>;
1572
- error: z.ZodOptional<z.ZodString>;
1572
+ error: z.ZodOptional<z.ZodObject<{
1573
+ message: z.ZodString;
1574
+ name: z.ZodOptional<z.ZodString>;
1575
+ }, z.core.$strip>>;
1573
1576
  output: z.ZodOptional<z.ZodUnknown>;
1574
1577
  }, z.core.$strip>;
1575
1578
  }, z.core.$strip>;
@@ -1594,7 +1597,10 @@ declare const processBatchStatusOutputSchema: z.ZodObject<{
1594
1597
  waiting: "waiting";
1595
1598
  waitingForPause: "waitingForPause";
1596
1599
  }>;
1597
- error: z.ZodOptional<z.ZodString>;
1600
+ error: z.ZodOptional<z.ZodObject<{
1601
+ message: z.ZodString;
1602
+ name: z.ZodOptional<z.ZodString>;
1603
+ }, z.core.$strip>>;
1598
1604
  output: z.ZodOptional<z.ZodUnknown>;
1599
1605
  }, z.core.$strip>;
1600
1606
  }, z.core.$strip>;
@@ -1619,7 +1625,10 @@ declare const processBatchRestartOutputSchema: z.ZodObject<{
1619
1625
  waiting: "waiting";
1620
1626
  waitingForPause: "waitingForPause";
1621
1627
  }>;
1622
- error: z.ZodOptional<z.ZodString>;
1628
+ error: z.ZodOptional<z.ZodObject<{
1629
+ message: z.ZodString;
1630
+ name: z.ZodOptional<z.ZodString>;
1631
+ }, z.core.$strip>>;
1623
1632
  output: z.ZodOptional<z.ZodUnknown>;
1624
1633
  }, z.core.$strip>;
1625
1634
  }, z.core.$strip>;
@@ -1815,7 +1824,10 @@ declare const syncAccountOutputSchema: z.ZodObject<{
1815
1824
  waiting: "waiting";
1816
1825
  waitingForPause: "waitingForPause";
1817
1826
  }>;
1818
- error: z.ZodOptional<z.ZodString>;
1827
+ error: z.ZodOptional<z.ZodObject<{
1828
+ message: z.ZodString;
1829
+ name: z.ZodOptional<z.ZodString>;
1830
+ }, z.core.$strip>>;
1819
1831
  output: z.ZodOptional<z.ZodUnknown>;
1820
1832
  }, z.core.$strip>;
1821
1833
  }, z.core.$strip>;
@@ -1840,7 +1852,10 @@ declare const syncAccountStatusOutputSchema: z.ZodObject<{
1840
1852
  waiting: "waiting";
1841
1853
  waitingForPause: "waitingForPause";
1842
1854
  }>;
1843
- error: z.ZodOptional<z.ZodString>;
1855
+ error: z.ZodOptional<z.ZodObject<{
1856
+ message: z.ZodString;
1857
+ name: z.ZodOptional<z.ZodString>;
1858
+ }, z.core.$strip>>;
1844
1859
  output: z.ZodOptional<z.ZodUnknown>;
1845
1860
  }, z.core.$strip>;
1846
1861
  }, z.core.$strip>;
@@ -1865,7 +1880,10 @@ declare const syncAccountRestartOutputSchema: z.ZodObject<{
1865
1880
  waiting: "waiting";
1866
1881
  waitingForPause: "waitingForPause";
1867
1882
  }>;
1868
- error: z.ZodOptional<z.ZodString>;
1883
+ error: z.ZodOptional<z.ZodObject<{
1884
+ message: z.ZodString;
1885
+ name: z.ZodOptional<z.ZodString>;
1886
+ }, z.core.$strip>>;
1869
1887
  output: z.ZodOptional<z.ZodUnknown>;
1870
1888
  }, z.core.$strip>;
1871
1889
  }, z.core.$strip>;
@@ -5,7 +5,7 @@ import { t as tables, c as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, P as PAY
5
5
  import 'jose';
6
6
  import { CURRENCY_CODES } from '@develit-io/general-codes';
7
7
  import { z } from 'zod';
8
- import { e as encrypt, P as PROCESS_BATCH_WORKFLOW_EVENTS, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, u as upsertBatchCommand, c as createPaymentCommand, g as getAccountByIdQuery } from '../shared/bank.mZtcXaJo.mjs';
8
+ import { e as encrypt, P as PROCESS_BATCH_WORKFLOW_EVENTS, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, u as upsertBatchCommand, c as createPaymentCommand, g as getAccountByIdQuery } from '../shared/bank.BX43jn5k.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';
@@ -427,7 +427,7 @@ let BankServiceBase = class extends develitWorker(WorkerEntrypoint) {
427
427
  }
428
428
  const accounts = await this._getAccounts();
429
429
  const accountsForConnector = accounts.filter(
430
- (acc) => acc.connectorKey === connectorKey
430
+ (acc) => acc.connectorKey === connectorKey && acc.status !== "DISABLED"
431
431
  );
432
432
  const encryptionKey = await importAesKey(this.env.ENCRYPTION_KEY);
433
433
  const accountsWithCredentials = await Promise.all(
@@ -5,7 +5,7 @@ const cloudflare_workflows = require('cloudflare:workflows');
5
5
  const d1 = require('drizzle-orm/d1');
6
6
  const database_schema = require('../shared/bank.CpcK1Dse.cjs');
7
7
  const backendSdk = require('@develit-io/backend-sdk');
8
- const processBatch_workflow = require('../shared/bank.CIJDq7GL.cjs');
8
+ const processBatch_workflow = require('../shared/bank.wqkNncOE.cjs');
9
9
  const drizzleOrm = require('drizzle-orm');
10
10
  require('drizzle-orm/sqlite-core');
11
11
  require('date-fns');
@@ -39,7 +39,7 @@ function pushToQueue(queue, message) {
39
39
  }))
40
40
  );
41
41
  }
42
- class BankSyncAccountPaymentsWorkflow extends cloudflare_workers.WorkflowEntrypoint {
42
+ class BankSyncAccountPayments extends cloudflare_workers.WorkflowEntrypoint {
43
43
  async run(event, step) {
44
44
  const { accountId } = event.payload;
45
45
  const db = d1.drizzle(this.env.BANK_D1, { schema: database_schema.tables });
@@ -164,5 +164,5 @@ class BankSyncAccountPaymentsWorkflow extends cloudflare_workers.WorkflowEntrypo
164
164
  }
165
165
  }
166
166
 
167
- exports.BankProcessBatchWorkflow = processBatch_workflow.BankProcessBatchWorkflow;
168
- exports.BankSyncAccountPaymentsWorkflow = BankSyncAccountPaymentsWorkflow;
167
+ exports.BankProcessBatch = processBatch_workflow.BankProcessBatch;
168
+ exports.BankSyncAccountPayments = BankSyncAccountPayments;
@@ -3,15 +3,15 @@ import { WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from 'cloudflare:work
3
3
  type Params$1 = {
4
4
  accountId: string;
5
5
  };
6
- declare class BankSyncAccountPaymentsWorkflow extends WorkflowEntrypoint<BankEnv, Params$1> {
6
+ declare class BankSyncAccountPayments extends WorkflowEntrypoint<BankEnv, Params$1> {
7
7
  run(event: WorkflowEvent<Params$1>, step: WorkflowStep): Promise<void>;
8
8
  }
9
9
 
10
10
  type Params = {
11
11
  batchId: string;
12
12
  };
13
- declare class BankProcessBatchWorkflow extends WorkflowEntrypoint<BankEnv, Params> {
13
+ declare class BankProcessBatch extends WorkflowEntrypoint<BankEnv, Params> {
14
14
  run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
15
15
  }
16
16
 
17
- export { BankProcessBatchWorkflow, BankSyncAccountPaymentsWorkflow };
17
+ export { BankProcessBatch, BankSyncAccountPayments };
@@ -3,15 +3,15 @@ import { WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from 'cloudflare:work
3
3
  type Params$1 = {
4
4
  accountId: string;
5
5
  };
6
- declare class BankSyncAccountPaymentsWorkflow extends WorkflowEntrypoint<BankEnv, Params$1> {
6
+ declare class BankSyncAccountPayments extends WorkflowEntrypoint<BankEnv, Params$1> {
7
7
  run(event: WorkflowEvent<Params$1>, step: WorkflowStep): Promise<void>;
8
8
  }
9
9
 
10
10
  type Params = {
11
11
  batchId: string;
12
12
  };
13
- declare class BankProcessBatchWorkflow extends WorkflowEntrypoint<BankEnv, Params> {
13
+ declare class BankProcessBatch extends WorkflowEntrypoint<BankEnv, Params> {
14
14
  run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
15
15
  }
16
16
 
17
- export { BankProcessBatchWorkflow, BankSyncAccountPaymentsWorkflow };
17
+ export { BankProcessBatch, BankSyncAccountPayments };
@@ -3,15 +3,15 @@ import { WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from 'cloudflare:work
3
3
  type Params$1 = {
4
4
  accountId: string;
5
5
  };
6
- declare class BankSyncAccountPaymentsWorkflow extends WorkflowEntrypoint<BankEnv, Params$1> {
6
+ declare class BankSyncAccountPayments extends WorkflowEntrypoint<BankEnv, Params$1> {
7
7
  run(event: WorkflowEvent<Params$1>, step: WorkflowStep): Promise<void>;
8
8
  }
9
9
 
10
10
  type Params = {
11
11
  batchId: string;
12
12
  };
13
- declare class BankProcessBatchWorkflow extends WorkflowEntrypoint<BankEnv, Params> {
13
+ declare class BankProcessBatch extends WorkflowEntrypoint<BankEnv, Params> {
14
14
  run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
15
15
  }
16
16
 
17
- export { BankProcessBatchWorkflow, BankSyncAccountPaymentsWorkflow };
17
+ export { BankProcessBatch, BankSyncAccountPayments };
@@ -3,8 +3,8 @@ import { NonRetryableError } from 'cloudflare:workflows';
3
3
  import { drizzle } from 'drizzle-orm/d1';
4
4
  import { t as tables } from '../shared/bank.lZMrqjVR.mjs';
5
5
  import { asNonEmpty } from '@develit-io/backend-sdk';
6
- import { g as getAccountByIdQuery, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, c as createPaymentCommand } from '../shared/bank.mZtcXaJo.mjs';
7
- export { B as BankProcessBatchWorkflow } from '../shared/bank.mZtcXaJo.mjs';
6
+ import { g as getAccountByIdQuery, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, c as createPaymentCommand } from '../shared/bank.BX43jn5k.mjs';
7
+ export { B as BankProcessBatch } from '../shared/bank.BX43jn5k.mjs';
8
8
  import { eq } from 'drizzle-orm';
9
9
  import 'drizzle-orm/sqlite-core';
10
10
  import 'date-fns';
@@ -38,7 +38,7 @@ function pushToQueue(queue, message) {
38
38
  }))
39
39
  );
40
40
  }
41
- class BankSyncAccountPaymentsWorkflow extends WorkflowEntrypoint {
41
+ class BankSyncAccountPayments extends WorkflowEntrypoint {
42
42
  async run(event, step) {
43
43
  const { accountId } = event.payload;
44
44
  const db = drizzle(this.env.BANK_D1, { schema: tables });
@@ -163,4 +163,4 @@ class BankSyncAccountPaymentsWorkflow extends WorkflowEntrypoint {
163
163
  }
164
164
  }
165
165
 
166
- export { BankSyncAccountPaymentsWorkflow };
166
+ export { BankSyncAccountPayments };
@@ -39,12 +39,12 @@ function defineBankServiceWrangler(config) {
39
39
  {
40
40
  name: `${project}-bank-sync-account-payments`,
41
41
  binding: "SYNC_ACCOUNT_PAYMENTS_WORKFLOW",
42
- class_name: "BankSyncAccountPaymentsWorkflow"
42
+ class_name: "BankSyncAccountPayments"
43
43
  },
44
44
  {
45
45
  name: `${project}-bank-process-batch`,
46
46
  binding: "PROCESS_BATCH_WORKFLOW",
47
- class_name: "BankProcessBatchWorkflow"
47
+ class_name: "BankProcessBatch"
48
48
  }
49
49
  ],
50
50
  queues: {
@@ -37,12 +37,12 @@ function defineBankServiceWrangler(config) {
37
37
  {
38
38
  name: `${project}-bank-sync-account-payments`,
39
39
  binding: "SYNC_ACCOUNT_PAYMENTS_WORKFLOW",
40
- class_name: "BankSyncAccountPaymentsWorkflow"
40
+ class_name: "BankSyncAccountPayments"
41
41
  },
42
42
  {
43
43
  name: `${project}-bank-process-batch`,
44
44
  binding: "PROCESS_BATCH_WORKFLOW",
45
- class_name: "BankProcessBatchWorkflow"
45
+ class_name: "BankProcessBatch"
46
46
  }
47
47
  ],
48
48
  queues: {
@@ -185,7 +185,7 @@ function pushToQueue(queue, message) {
185
185
  }))
186
186
  );
187
187
  }
188
- class BankProcessBatchWorkflow extends WorkflowEntrypoint {
188
+ class BankProcessBatch extends WorkflowEntrypoint {
189
189
  async run(event, step) {
190
190
  const { batchId } = event.payload;
191
191
  const db = drizzle(this.env.BANK_D1, { schema: tables });
@@ -388,4 +388,4 @@ class BankProcessBatchWorkflow extends WorkflowEntrypoint {
388
388
  }
389
389
  }
390
390
 
391
- export { BankProcessBatchWorkflow as B, PROCESS_BATCH_WORKFLOW_EVENTS as P, getCredentialsByAccountId as a, initiateConnector as b, createPaymentCommand as c, encrypt as e, getAccountByIdQuery as g, importAesKey as i, upsertBatchCommand as u };
391
+ export { BankProcessBatch as B, PROCESS_BATCH_WORKFLOW_EVENTS as P, getCredentialsByAccountId as a, initiateConnector as b, createPaymentCommand as c, encrypt as e, getAccountByIdQuery as g, importAesKey as i, upsertBatchCommand as u };
@@ -187,7 +187,7 @@ function pushToQueue(queue, message) {
187
187
  }))
188
188
  );
189
189
  }
190
- class BankProcessBatchWorkflow extends cloudflare_workers.WorkflowEntrypoint {
190
+ class BankProcessBatch extends cloudflare_workers.WorkflowEntrypoint {
191
191
  async run(event, step) {
192
192
  const { batchId } = event.payload;
193
193
  const db = d1.drizzle(this.env.BANK_D1, { schema: database_schema.tables });
@@ -390,7 +390,7 @@ class BankProcessBatchWorkflow extends cloudflare_workers.WorkflowEntrypoint {
390
390
  }
391
391
  }
392
392
 
393
- exports.BankProcessBatchWorkflow = BankProcessBatchWorkflow;
393
+ exports.BankProcessBatch = BankProcessBatch;
394
394
  exports.PROCESS_BATCH_WORKFLOW_EVENTS = PROCESS_BATCH_WORKFLOW_EVENTS;
395
395
  exports.createPaymentCommand = createPaymentCommand;
396
396
  exports.encrypt = encrypt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {