@develit-services/bank 0.3.58 → 0.3.59
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.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/export/worker.cjs +2 -2
- package/dist/export/worker.d.cts +6 -6
- package/dist/export/worker.d.mts +6 -6
- package/dist/export/worker.d.ts +6 -6
- package/dist/export/worker.mjs +2 -2
- package/dist/export/workflows.cjs +2 -2
- package/dist/export/workflows.mjs +2 -2
- package/dist/shared/{bank.CxDAfjIN.cjs → bank.0IwqmnZ7.cjs} +1 -1
- package/dist/shared/{bank.B0eZO8Uk.d.cts → bank.BwXpqjVU.d.cts} +4 -4
- package/dist/shared/{bank.B0eZO8Uk.d.mts → bank.BwXpqjVU.d.mts} +4 -4
- package/dist/shared/{bank.B0eZO8Uk.d.ts → bank.BwXpqjVU.d.ts} +4 -4
- package/dist/shared/{bank.DZ0DVfgg.mjs → bank.CXcZewU9.mjs} +1 -1
- package/dist/shared/{bank.CVym33Hk.cjs → bank.Cg05BigT.cjs} +1 -1
- package/dist/shared/{bank.COvfOo72.mjs → bank.Dh6IUoHL.mjs} +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/types.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aa as account, ab as accountCredentials, a6 as batch, a9 as ott, a7 as payment, a8 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { aa as account, ab as accountCredentials, a6 as batch, a9 as ott, a7 as payment, a8 as paymentRelations } from '../shared/bank.BwXpqjVU.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aa as account, ab as accountCredentials, a6 as batch, a9 as ott, a7 as payment, a8 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { aa as account, ab as accountCredentials, a6 as batch, a9 as ott, a7 as payment, a8 as paymentRelations } from '../shared/bank.BwXpqjVU.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aa as account, ab as accountCredentials, a6 as batch, a9 as ott, a7 as payment, a8 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { aa as account, ab as accountCredentials, a6 as batch, a9 as ott, a7 as payment, a8 as paymentRelations } from '../shared/bank.BwXpqjVU.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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 drizzle = require('../shared/bank.
|
|
6
|
+
const drizzle = require('../shared/bank.0IwqmnZ7.cjs');
|
|
7
7
|
const zod = require('zod');
|
|
8
8
|
const database_schema = require('../shared/bank.BnDb4liE.cjs');
|
|
9
9
|
const generalCodes = require('@develit-io/general-codes');
|
|
@@ -11,7 +11,7 @@ require('date-fns');
|
|
|
11
11
|
const drizzleOrm = require('drizzle-orm');
|
|
12
12
|
require('jose');
|
|
13
13
|
require('node:crypto');
|
|
14
|
-
const encryption = require('../shared/bank.
|
|
14
|
+
const encryption = require('../shared/bank.Cg05BigT.cjs');
|
|
15
15
|
require('drizzle-orm/sqlite-core');
|
|
16
16
|
require('drizzle-orm/relations');
|
|
17
17
|
require('drizzle-zod');
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as BatchPayment, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as BatchPayment, c as BatchMetadata } from '../shared/bank.BwXpqjVU.cjs';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
@@ -1532,19 +1532,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1532
1532
|
}, z.core.$strip>;
|
|
1533
1533
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1534
1534
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1535
|
+
FAILED: "FAILED";
|
|
1535
1536
|
OPEN: "OPEN";
|
|
1536
1537
|
PROCESSING: "PROCESSING";
|
|
1537
1538
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1538
1539
|
SIGNED: "SIGNED";
|
|
1539
1540
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1540
|
-
FAILED: "FAILED";
|
|
1541
1541
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1542
|
+
FAILED: "FAILED";
|
|
1542
1543
|
OPEN: "OPEN";
|
|
1543
1544
|
PROCESSING: "PROCESSING";
|
|
1544
1545
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1545
1546
|
SIGNED: "SIGNED";
|
|
1546
1547
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1547
|
-
FAILED: "FAILED";
|
|
1548
1548
|
}>>]>>;
|
|
1549
1549
|
}, z.core.$strip>;
|
|
1550
1550
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1789,16 +1789,16 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1789
1789
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1790
1790
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1791
1791
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1792
|
-
FAILED: "FAILED";
|
|
1793
1792
|
PREPARED: "PREPARED";
|
|
1794
1793
|
INITIALIZED: "INITIALIZED";
|
|
1794
|
+
FAILED: "FAILED";
|
|
1795
1795
|
PENDING: "PENDING";
|
|
1796
1796
|
COMPLETED: "COMPLETED";
|
|
1797
1797
|
CREATED: "CREATED";
|
|
1798
1798
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1799
|
-
FAILED: "FAILED";
|
|
1800
1799
|
PREPARED: "PREPARED";
|
|
1801
1800
|
INITIALIZED: "INITIALIZED";
|
|
1801
|
+
FAILED: "FAILED";
|
|
1802
1802
|
PENDING: "PENDING";
|
|
1803
1803
|
COMPLETED: "COMPLETED";
|
|
1804
1804
|
CREATED: "CREATED";
|
|
@@ -2512,7 +2512,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2512
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2513
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2514
|
}): Promise<IRPCResponse<{
|
|
2515
|
-
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" |
|
|
2515
|
+
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2516
2516
|
id: string;
|
|
2517
2517
|
createdAt: Date | null;
|
|
2518
2518
|
updatedAt: Date | null;
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as BatchPayment, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as BatchPayment, c as BatchMetadata } from '../shared/bank.BwXpqjVU.mjs';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
@@ -1532,19 +1532,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1532
1532
|
}, z.core.$strip>;
|
|
1533
1533
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1534
1534
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1535
|
+
FAILED: "FAILED";
|
|
1535
1536
|
OPEN: "OPEN";
|
|
1536
1537
|
PROCESSING: "PROCESSING";
|
|
1537
1538
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1538
1539
|
SIGNED: "SIGNED";
|
|
1539
1540
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1540
|
-
FAILED: "FAILED";
|
|
1541
1541
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1542
|
+
FAILED: "FAILED";
|
|
1542
1543
|
OPEN: "OPEN";
|
|
1543
1544
|
PROCESSING: "PROCESSING";
|
|
1544
1545
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1545
1546
|
SIGNED: "SIGNED";
|
|
1546
1547
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1547
|
-
FAILED: "FAILED";
|
|
1548
1548
|
}>>]>>;
|
|
1549
1549
|
}, z.core.$strip>;
|
|
1550
1550
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1789,16 +1789,16 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1789
1789
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1790
1790
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1791
1791
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1792
|
-
FAILED: "FAILED";
|
|
1793
1792
|
PREPARED: "PREPARED";
|
|
1794
1793
|
INITIALIZED: "INITIALIZED";
|
|
1794
|
+
FAILED: "FAILED";
|
|
1795
1795
|
PENDING: "PENDING";
|
|
1796
1796
|
COMPLETED: "COMPLETED";
|
|
1797
1797
|
CREATED: "CREATED";
|
|
1798
1798
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1799
|
-
FAILED: "FAILED";
|
|
1800
1799
|
PREPARED: "PREPARED";
|
|
1801
1800
|
INITIALIZED: "INITIALIZED";
|
|
1801
|
+
FAILED: "FAILED";
|
|
1802
1802
|
PENDING: "PENDING";
|
|
1803
1803
|
COMPLETED: "COMPLETED";
|
|
1804
1804
|
CREATED: "CREATED";
|
|
@@ -2512,7 +2512,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2512
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2513
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2514
|
}): Promise<IRPCResponse<{
|
|
2515
|
-
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" |
|
|
2515
|
+
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2516
2516
|
id: string;
|
|
2517
2517
|
createdAt: Date | null;
|
|
2518
2518
|
updatedAt: Date | null;
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as BatchPayment, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as BatchPayment, c as BatchMetadata } from '../shared/bank.BwXpqjVU.js';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
@@ -1532,19 +1532,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1532
1532
|
}, z.core.$strip>;
|
|
1533
1533
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1534
1534
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1535
|
+
FAILED: "FAILED";
|
|
1535
1536
|
OPEN: "OPEN";
|
|
1536
1537
|
PROCESSING: "PROCESSING";
|
|
1537
1538
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1538
1539
|
SIGNED: "SIGNED";
|
|
1539
1540
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1540
|
-
FAILED: "FAILED";
|
|
1541
1541
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1542
|
+
FAILED: "FAILED";
|
|
1542
1543
|
OPEN: "OPEN";
|
|
1543
1544
|
PROCESSING: "PROCESSING";
|
|
1544
1545
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1545
1546
|
SIGNED: "SIGNED";
|
|
1546
1547
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1547
|
-
FAILED: "FAILED";
|
|
1548
1548
|
}>>]>>;
|
|
1549
1549
|
}, z.core.$strip>;
|
|
1550
1550
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1789,16 +1789,16 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1789
1789
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1790
1790
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1791
1791
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1792
|
-
FAILED: "FAILED";
|
|
1793
1792
|
PREPARED: "PREPARED";
|
|
1794
1793
|
INITIALIZED: "INITIALIZED";
|
|
1794
|
+
FAILED: "FAILED";
|
|
1795
1795
|
PENDING: "PENDING";
|
|
1796
1796
|
COMPLETED: "COMPLETED";
|
|
1797
1797
|
CREATED: "CREATED";
|
|
1798
1798
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1799
|
-
FAILED: "FAILED";
|
|
1800
1799
|
PREPARED: "PREPARED";
|
|
1801
1800
|
INITIALIZED: "INITIALIZED";
|
|
1801
|
+
FAILED: "FAILED";
|
|
1802
1802
|
PENDING: "PENDING";
|
|
1803
1803
|
COMPLETED: "COMPLETED";
|
|
1804
1804
|
CREATED: "CREATED";
|
|
@@ -2512,7 +2512,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2512
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2513
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2514
|
}): Promise<IRPCResponse<{
|
|
2515
|
-
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" |
|
|
2515
|
+
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2516
2516
|
id: string;
|
|
2517
2517
|
createdAt: Date | null;
|
|
2518
2518
|
updatedAt: Date | null;
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { uuidv4, first, bankAccountMetadataSchema, workflowInstanceStatusSchema, develitWorker, createInternalError, 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 } from '../shared/bank.
|
|
4
|
+
import { t as tables } from '../shared/bank.Dh6IUoHL.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { I as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, P as PAYMENT_TYPES, d as CONNECTOR_KEYS, B as BATCH_STATUSES, a as PAYMENT_STATUSES, b as PAYMENT_DIRECTIONS, f as accountInsertSchema } from '../shared/bank.BPxg79Tw.mjs';
|
|
7
7
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
@@ -9,7 +9,7 @@ import 'date-fns';
|
|
|
9
9
|
import { eq, sql, inArray, and, asc, desc, gte, lte } from 'drizzle-orm';
|
|
10
10
|
import 'jose';
|
|
11
11
|
import 'node:crypto';
|
|
12
|
-
import { f as encrypt, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, u as upsertBatchCommand, d as getBatchByIdQuery, c as createPaymentCommand, g as getAccountByIdQuery } from '../shared/bank.
|
|
12
|
+
import { f as encrypt, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, u as upsertBatchCommand, d as getBatchByIdQuery, c as createPaymentCommand, g as getAccountByIdQuery } from '../shared/bank.CXcZewU9.mjs';
|
|
13
13
|
import 'drizzle-orm/sqlite-core';
|
|
14
14
|
import 'drizzle-orm/relations';
|
|
15
15
|
import 'drizzle-zod';
|
|
@@ -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 drizzle = require('../shared/bank.
|
|
6
|
+
const drizzle = require('../shared/bank.0IwqmnZ7.cjs');
|
|
7
7
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
8
|
-
const encryption = require('../shared/bank.
|
|
8
|
+
const encryption = require('../shared/bank.Cg05BigT.cjs');
|
|
9
9
|
const drizzleOrm = require('drizzle-orm');
|
|
10
10
|
require('date-fns');
|
|
11
11
|
require('../shared/bank.BnDb4liE.cjs');
|
|
@@ -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 } from '../shared/bank.
|
|
4
|
+
import { t as tables } from '../shared/bank.Dh6IUoHL.mjs';
|
|
5
5
|
import { asNonEmpty, first } from '@develit-io/backend-sdk';
|
|
6
|
-
import { g as getAccountByIdQuery, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, c as createPaymentCommand, d as getBatchByIdQuery, e as checksum, u as upsertBatchCommand } from '../shared/bank.
|
|
6
|
+
import { g as getAccountByIdQuery, i as importAesKey, a as getCredentialsByAccountId, b as initiateConnector, c as createPaymentCommand, d as getBatchByIdQuery, e as checksum, u as upsertBatchCommand } from '../shared/bank.CXcZewU9.mjs';
|
|
7
7
|
import { eq } from 'drizzle-orm';
|
|
8
8
|
import 'date-fns';
|
|
9
9
|
import '../shared/bank.BPxg79Tw.mjs';
|
|
@@ -71,7 +71,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
71
71
|
tableName: "batch";
|
|
72
72
|
dataType: "string";
|
|
73
73
|
columnType: "SQLiteText";
|
|
74
|
-
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
74
|
+
data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
|
|
75
75
|
driverParam: string;
|
|
76
76
|
notNull: false;
|
|
77
77
|
hasDefault: false;
|
|
@@ -84,7 +84,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
84
84
|
generated: undefined;
|
|
85
85
|
}, {}, {
|
|
86
86
|
length: number | undefined;
|
|
87
|
-
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
87
|
+
$type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
|
|
88
88
|
}>;
|
|
89
89
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
90
90
|
name: "status_reason";
|
|
@@ -437,7 +437,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
437
437
|
tableName: "payment";
|
|
438
438
|
dataType: "string";
|
|
439
439
|
columnType: "SQLiteText";
|
|
440
|
-
data: "
|
|
440
|
+
data: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
441
441
|
driverParam: string;
|
|
442
442
|
notNull: true;
|
|
443
443
|
hasDefault: false;
|
|
@@ -450,7 +450,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
450
450
|
generated: undefined;
|
|
451
451
|
}, {}, {
|
|
452
452
|
length: number | undefined;
|
|
453
|
-
$type: "
|
|
453
|
+
$type: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
454
454
|
}>;
|
|
455
455
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
456
456
|
name: "status_reason";
|
|
@@ -71,7 +71,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
71
71
|
tableName: "batch";
|
|
72
72
|
dataType: "string";
|
|
73
73
|
columnType: "SQLiteText";
|
|
74
|
-
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
74
|
+
data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
|
|
75
75
|
driverParam: string;
|
|
76
76
|
notNull: false;
|
|
77
77
|
hasDefault: false;
|
|
@@ -84,7 +84,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
84
84
|
generated: undefined;
|
|
85
85
|
}, {}, {
|
|
86
86
|
length: number | undefined;
|
|
87
|
-
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
87
|
+
$type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
|
|
88
88
|
}>;
|
|
89
89
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
90
90
|
name: "status_reason";
|
|
@@ -437,7 +437,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
437
437
|
tableName: "payment";
|
|
438
438
|
dataType: "string";
|
|
439
439
|
columnType: "SQLiteText";
|
|
440
|
-
data: "
|
|
440
|
+
data: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
441
441
|
driverParam: string;
|
|
442
442
|
notNull: true;
|
|
443
443
|
hasDefault: false;
|
|
@@ -450,7 +450,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
450
450
|
generated: undefined;
|
|
451
451
|
}, {}, {
|
|
452
452
|
length: number | undefined;
|
|
453
|
-
$type: "
|
|
453
|
+
$type: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
454
454
|
}>;
|
|
455
455
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
456
456
|
name: "status_reason";
|
|
@@ -71,7 +71,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
71
71
|
tableName: "batch";
|
|
72
72
|
dataType: "string";
|
|
73
73
|
columnType: "SQLiteText";
|
|
74
|
-
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
74
|
+
data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
|
|
75
75
|
driverParam: string;
|
|
76
76
|
notNull: false;
|
|
77
77
|
hasDefault: false;
|
|
@@ -84,7 +84,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
84
84
|
generated: undefined;
|
|
85
85
|
}, {}, {
|
|
86
86
|
length: number | undefined;
|
|
87
|
-
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
87
|
+
$type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
|
|
88
88
|
}>;
|
|
89
89
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
90
90
|
name: "status_reason";
|
|
@@ -437,7 +437,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
437
437
|
tableName: "payment";
|
|
438
438
|
dataType: "string";
|
|
439
439
|
columnType: "SQLiteText";
|
|
440
|
-
data: "
|
|
440
|
+
data: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
441
441
|
driverParam: string;
|
|
442
442
|
notNull: true;
|
|
443
443
|
hasDefault: false;
|
|
@@ -450,7 +450,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
450
450
|
generated: undefined;
|
|
451
451
|
}, {}, {
|
|
452
452
|
length: number | undefined;
|
|
453
|
-
$type: "
|
|
453
|
+
$type: "PREPARED" | "INITIALIZED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
454
454
|
}>;
|
|
455
455
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
456
456
|
name: "status_reason";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as tables, F as FinbricksConnector, M as MockConnector, a as MockCobsConnector, E as ErsteConnector } from './bank.
|
|
1
|
+
import { t as tables, F as FinbricksConnector, M as MockConnector, a as MockCobsConnector, E as ErsteConnector } from './bank.Dh6IUoHL.mjs';
|
|
2
2
|
import { uuidv4 } from '@develit-io/backend-sdk';
|
|
3
3
|
import { eq } from 'drizzle-orm';
|
|
4
4
|
import 'date-fns';
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const drizzle = require('./shared/bank.
|
|
3
|
+
const drizzle = require('./shared/bank.0IwqmnZ7.cjs');
|
|
4
4
|
const database_schema = require('./shared/bank.BnDb4liE.cjs');
|
|
5
5
|
const generalCodes = require('@develit-io/general-codes');
|
|
6
6
|
require('@develit-io/backend-sdk');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { M as ACCOUNT_STATUSES, a4 as AccountCredentialsPatchType, a5 as AccountCredentialsSelectType, a3 as AccountCredentialsUpdateType, $ as AccountPatchType, N as AccountStatus, _ as AccountUpdateType, x as BATCH_STATUES, x as BATCH_STATUSES, R as BankAccountWithLastSync, w as BatchInsertType, b as BatchPayment, B as BatchSelectType, D as CHARGE_BEARERS, S as CONNECTOR_KEYS, Q as COUNTRY_CODES, T as CREDENTIALS_TYPES, E as ChargeBearer, C as ConfigEnvironmentBank, U as CredentialsType, F as INSTRUCTION_PRIORITIES, G as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, J as PAYMENT_DIRECTIONS, H as PAYMENT_STATUSES, y as PAYMENT_TYPES, K as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, v as PaymentInsertType, z as PaymentType, V as TOKEN_TYPES, W as TokenType, a0 as accountCredentialsInsertSchema, a2 as accountCredentialsSelectSchema, a1 as accountCredentialsUpdateSchema, X as accountInsertSchema, Z as accountSelectSchema, Y as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.BwXpqjVU.cjs';
|
|
2
|
+
export { M as ACCOUNT_STATUSES, a4 as AccountCredentialsPatchType, a5 as AccountCredentialsSelectType, a3 as AccountCredentialsUpdateType, $ as AccountPatchType, N as AccountStatus, _ as AccountUpdateType, x as BATCH_STATUES, x as BATCH_STATUSES, R as BankAccountWithLastSync, w as BatchInsertType, b as BatchPayment, B as BatchSelectType, D as CHARGE_BEARERS, S as CONNECTOR_KEYS, Q as COUNTRY_CODES, T as CREDENTIALS_TYPES, E as ChargeBearer, C as ConfigEnvironmentBank, U as CredentialsType, F as INSTRUCTION_PRIORITIES, G as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, J as PAYMENT_DIRECTIONS, H as PAYMENT_STATUSES, y as PAYMENT_TYPES, K as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, v as PaymentInsertType, z as PaymentType, V as TOKEN_TYPES, W as TokenType, a0 as accountCredentialsInsertSchema, a2 as accountCredentialsSelectSchema, a1 as accountCredentialsUpdateSchema, X as accountInsertSchema, Z as accountSelectSchema, Y as accountUpdateSchema } from './shared/bank.BwXpqjVU.cjs';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.Dh_H_5rC.cjs';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { M as ACCOUNT_STATUSES, a4 as AccountCredentialsPatchType, a5 as AccountCredentialsSelectType, a3 as AccountCredentialsUpdateType, $ as AccountPatchType, N as AccountStatus, _ as AccountUpdateType, x as BATCH_STATUES, x as BATCH_STATUSES, R as BankAccountWithLastSync, w as BatchInsertType, b as BatchPayment, B as BatchSelectType, D as CHARGE_BEARERS, S as CONNECTOR_KEYS, Q as COUNTRY_CODES, T as CREDENTIALS_TYPES, E as ChargeBearer, C as ConfigEnvironmentBank, U as CredentialsType, F as INSTRUCTION_PRIORITIES, G as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, J as PAYMENT_DIRECTIONS, H as PAYMENT_STATUSES, y as PAYMENT_TYPES, K as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, v as PaymentInsertType, z as PaymentType, V as TOKEN_TYPES, W as TokenType, a0 as accountCredentialsInsertSchema, a2 as accountCredentialsSelectSchema, a1 as accountCredentialsUpdateSchema, X as accountInsertSchema, Z as accountSelectSchema, Y as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.BwXpqjVU.mjs';
|
|
2
|
+
export { M as ACCOUNT_STATUSES, a4 as AccountCredentialsPatchType, a5 as AccountCredentialsSelectType, a3 as AccountCredentialsUpdateType, $ as AccountPatchType, N as AccountStatus, _ as AccountUpdateType, x as BATCH_STATUES, x as BATCH_STATUSES, R as BankAccountWithLastSync, w as BatchInsertType, b as BatchPayment, B as BatchSelectType, D as CHARGE_BEARERS, S as CONNECTOR_KEYS, Q as COUNTRY_CODES, T as CREDENTIALS_TYPES, E as ChargeBearer, C as ConfigEnvironmentBank, U as CredentialsType, F as INSTRUCTION_PRIORITIES, G as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, J as PAYMENT_DIRECTIONS, H as PAYMENT_STATUSES, y as PAYMENT_TYPES, K as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, v as PaymentInsertType, z as PaymentType, V as TOKEN_TYPES, W as TokenType, a0 as accountCredentialsInsertSchema, a2 as accountCredentialsSelectSchema, a1 as accountCredentialsUpdateSchema, X as accountInsertSchema, Z as accountSelectSchema, Y as accountUpdateSchema } from './shared/bank.BwXpqjVU.mjs';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.Dh_H_5rC.mjs';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { M as ACCOUNT_STATUSES, a4 as AccountCredentialsPatchType, a5 as AccountCredentialsSelectType, a3 as AccountCredentialsUpdateType, $ as AccountPatchType, N as AccountStatus, _ as AccountUpdateType, x as BATCH_STATUES, x as BATCH_STATUSES, R as BankAccountWithLastSync, w as BatchInsertType, b as BatchPayment, B as BatchSelectType, D as CHARGE_BEARERS, S as CONNECTOR_KEYS, Q as COUNTRY_CODES, T as CREDENTIALS_TYPES, E as ChargeBearer, C as ConfigEnvironmentBank, U as CredentialsType, F as INSTRUCTION_PRIORITIES, G as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, J as PAYMENT_DIRECTIONS, H as PAYMENT_STATUSES, y as PAYMENT_TYPES, K as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, v as PaymentInsertType, z as PaymentType, V as TOKEN_TYPES, W as TokenType, a0 as accountCredentialsInsertSchema, a2 as accountCredentialsSelectSchema, a1 as accountCredentialsUpdateSchema, X as accountInsertSchema, Z as accountSelectSchema, Y as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.BwXpqjVU.js';
|
|
2
|
+
export { M as ACCOUNT_STATUSES, a4 as AccountCredentialsPatchType, a5 as AccountCredentialsSelectType, a3 as AccountCredentialsUpdateType, $ as AccountPatchType, N as AccountStatus, _ as AccountUpdateType, x as BATCH_STATUES, x as BATCH_STATUSES, R as BankAccountWithLastSync, w as BatchInsertType, b as BatchPayment, B as BatchSelectType, D as CHARGE_BEARERS, S as CONNECTOR_KEYS, Q as COUNTRY_CODES, T as CREDENTIALS_TYPES, E as ChargeBearer, C as ConfigEnvironmentBank, U as CredentialsType, F as INSTRUCTION_PRIORITIES, G as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, J as PAYMENT_DIRECTIONS, H as PAYMENT_STATUSES, y as PAYMENT_TYPES, K as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, v as PaymentInsertType, z as PaymentType, V as TOKEN_TYPES, W as TokenType, a0 as accountCredentialsInsertSchema, a2 as accountCredentialsSelectSchema, a1 as accountCredentialsUpdateSchema, X as accountInsertSchema, Z as accountSelectSchema, Y as accountUpdateSchema } from './shared/bank.BwXpqjVU.js';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.Dh_H_5rC.js';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as ErsteConnector, c as FINBRICKS_ENDPOINTS, b as FinbricksClient, F as FinbricksConnector, I as IBankConnector, a as MockCobsConnector, M as MockConnector, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.
|
|
1
|
+
export { E as ErsteConnector, c as FINBRICKS_ENDPOINTS, b as FinbricksClient, F as FinbricksConnector, I as IBankConnector, a as MockCobsConnector, M as MockConnector, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.Dh6IUoHL.mjs';
|
|
2
2
|
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, d as CONNECTOR_KEYS, c as COUNTRY_CODES, e as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, b as PAYMENT_DIRECTIONS, a as PAYMENT_STATUSES, P as PAYMENT_TYPES, T as TOKEN_TYPES, i as accountCredentialsInsertSchema, k as accountCredentialsSelectSchema, j as accountCredentialsUpdateSchema, f as accountInsertSchema, h as accountSelectSchema, g as accountUpdateSchema, o as ottInsertSchema, m as ottSelectSchema, l as ottUpdateSchema } from './shared/bank.BPxg79Tw.mjs';
|
|
3
3
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
4
|
import '@develit-io/backend-sdk';
|