@develit-services/bank 0.7.9 → 0.7.10
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 +1 -1
- package/dist/export/worker.d.cts +5 -5
- package/dist/export/worker.d.mts +5 -5
- package/dist/export/worker.d.ts +5 -5
- package/dist/export/worker.mjs +1 -1
- package/dist/export/workflows.cjs +1 -1
- package/dist/export/workflows.mjs +1 -1
- package/dist/shared/{bank.BJ7LqYtJ.d.cts → bank.0qpz9IIt.d.cts} +4 -4
- package/dist/shared/{bank.BJ7LqYtJ.d.mts → bank.0qpz9IIt.d.mts} +4 -4
- package/dist/shared/{bank.BJ7LqYtJ.d.ts → bank.0qpz9IIt.d.ts} +4 -4
- package/dist/shared/{bank.Bbpgmcv1.cjs → bank.Ce-NBBw1.cjs} +4 -2
- package/dist/shared/{bank.CStkMDDC.mjs → bank.CeRbuycV.mjs} +4 -2
- 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 { aq as account, ar as accountCredentials, as as batch, at as ott, au as payment, av as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { aq as account, ar as accountCredentials, as as batch, at as ott, au as payment, av as paymentRelations } from '../shared/bank.0qpz9IIt.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aq as account, ar as accountCredentials, as as batch, at as ott, au as payment, av as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { aq as account, ar as accountCredentials, as as batch, at as ott, au as payment, av as paymentRelations } from '../shared/bank.0qpz9IIt.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aq as account, ar as accountCredentials, as as batch, at as ott, au as payment, av as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { aq as account, ar as accountCredentials, as as batch, at as ott, au as payment, av as paymentRelations } from '../shared/bank.0qpz9IIt.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -11,7 +11,7 @@ require('date-fns');
|
|
|
11
11
|
require('jose');
|
|
12
12
|
const drizzleOrm = require('drizzle-orm');
|
|
13
13
|
require('node:crypto');
|
|
14
|
-
const mock_connector = require('../shared/bank.
|
|
14
|
+
const mock_connector = require('../shared/bank.Ce-NBBw1.cjs');
|
|
15
15
|
require('../shared/bank.Cp0yvOdq.cjs');
|
|
16
16
|
require('drizzle-orm/relations');
|
|
17
17
|
require('drizzle-orm/sqlite-core');
|
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 } 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 } from '../shared/bank.0qpz9IIt.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 { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.COC0tqmL.cjs';
|
|
@@ -802,19 +802,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
802
802
|
}, z.core.$strip>;
|
|
803
803
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
804
804
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
805
|
-
FAILED: "FAILED";
|
|
806
805
|
OPEN: "OPEN";
|
|
807
806
|
PROCESSING: "PROCESSING";
|
|
808
807
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
809
808
|
SIGNED: "SIGNED";
|
|
810
809
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
811
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
812
810
|
FAILED: "FAILED";
|
|
811
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
813
812
|
OPEN: "OPEN";
|
|
814
813
|
PROCESSING: "PROCESSING";
|
|
815
814
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
816
815
|
SIGNED: "SIGNED";
|
|
817
816
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
817
|
+
FAILED: "FAILED";
|
|
818
818
|
}>>]>>;
|
|
819
819
|
}, z.core.$strip>;
|
|
820
820
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1059,14 +1059,14 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1059
1059
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1060
1060
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1061
1061
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1062
|
-
PREPARED: "PREPARED";
|
|
1063
1062
|
FAILED: "FAILED";
|
|
1063
|
+
PREPARED: "PREPARED";
|
|
1064
1064
|
PENDING: "PENDING";
|
|
1065
1065
|
COMPLETED: "COMPLETED";
|
|
1066
1066
|
CREATED: "CREATED";
|
|
1067
1067
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1068
|
-
PREPARED: "PREPARED";
|
|
1069
1068
|
FAILED: "FAILED";
|
|
1069
|
+
PREPARED: "PREPARED";
|
|
1070
1070
|
PENDING: "PENDING";
|
|
1071
1071
|
COMPLETED: "COMPLETED";
|
|
1072
1072
|
CREATED: "CREATED";
|
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 } 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 } from '../shared/bank.0qpz9IIt.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 { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.COC0tqmL.mjs';
|
|
@@ -802,19 +802,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
802
802
|
}, z.core.$strip>;
|
|
803
803
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
804
804
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
805
|
-
FAILED: "FAILED";
|
|
806
805
|
OPEN: "OPEN";
|
|
807
806
|
PROCESSING: "PROCESSING";
|
|
808
807
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
809
808
|
SIGNED: "SIGNED";
|
|
810
809
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
811
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
812
810
|
FAILED: "FAILED";
|
|
811
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
813
812
|
OPEN: "OPEN";
|
|
814
813
|
PROCESSING: "PROCESSING";
|
|
815
814
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
816
815
|
SIGNED: "SIGNED";
|
|
817
816
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
817
|
+
FAILED: "FAILED";
|
|
818
818
|
}>>]>>;
|
|
819
819
|
}, z.core.$strip>;
|
|
820
820
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1059,14 +1059,14 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1059
1059
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1060
1060
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1061
1061
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1062
|
-
PREPARED: "PREPARED";
|
|
1063
1062
|
FAILED: "FAILED";
|
|
1063
|
+
PREPARED: "PREPARED";
|
|
1064
1064
|
PENDING: "PENDING";
|
|
1065
1065
|
COMPLETED: "COMPLETED";
|
|
1066
1066
|
CREATED: "CREATED";
|
|
1067
1067
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1068
|
-
PREPARED: "PREPARED";
|
|
1069
1068
|
FAILED: "FAILED";
|
|
1069
|
+
PREPARED: "PREPARED";
|
|
1070
1070
|
PENDING: "PENDING";
|
|
1071
1071
|
COMPLETED: "COMPLETED";
|
|
1072
1072
|
CREATED: "CREATED";
|
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 } 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 } from '../shared/bank.0qpz9IIt.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 { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.COC0tqmL.js';
|
|
@@ -802,19 +802,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
802
802
|
}, z.core.$strip>;
|
|
803
803
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
804
804
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
805
|
-
FAILED: "FAILED";
|
|
806
805
|
OPEN: "OPEN";
|
|
807
806
|
PROCESSING: "PROCESSING";
|
|
808
807
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
809
808
|
SIGNED: "SIGNED";
|
|
810
809
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
811
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
812
810
|
FAILED: "FAILED";
|
|
811
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
813
812
|
OPEN: "OPEN";
|
|
814
813
|
PROCESSING: "PROCESSING";
|
|
815
814
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
816
815
|
SIGNED: "SIGNED";
|
|
817
816
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
817
|
+
FAILED: "FAILED";
|
|
818
818
|
}>>]>>;
|
|
819
819
|
}, z.core.$strip>;
|
|
820
820
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1059,14 +1059,14 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1059
1059
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1060
1060
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1061
1061
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1062
|
-
PREPARED: "PREPARED";
|
|
1063
1062
|
FAILED: "FAILED";
|
|
1063
|
+
PREPARED: "PREPARED";
|
|
1064
1064
|
PENDING: "PENDING";
|
|
1065
1065
|
COMPLETED: "COMPLETED";
|
|
1066
1066
|
CREATED: "CREATED";
|
|
1067
1067
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1068
|
-
PREPARED: "PREPARED";
|
|
1069
1068
|
FAILED: "FAILED";
|
|
1069
|
+
PREPARED: "PREPARED";
|
|
1070
1070
|
PENDING: "PENDING";
|
|
1071
1071
|
COMPLETED: "COMPLETED";
|
|
1072
1072
|
CREATED: "CREATED";
|
package/dist/export/worker.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import 'date-fns';
|
|
|
9
9
|
import 'jose';
|
|
10
10
|
import { eq, sql, and, inArray, asc, desc, gte, lte } from 'drizzle-orm';
|
|
11
11
|
import 'node:crypto';
|
|
12
|
-
import { i as initiateConnector, g as toIncomingPayment, d as assignAccount, t as toBatchedPayment } from '../shared/bank.
|
|
12
|
+
import { i as initiateConnector, g as toIncomingPayment, d as assignAccount, t as toBatchedPayment } from '../shared/bank.CeRbuycV.mjs';
|
|
13
13
|
import '../shared/bank.fIGTiPnp.mjs';
|
|
14
14
|
import 'drizzle-orm/relations';
|
|
15
15
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
4
|
const drizzle = require('../shared/bank.Bs7mkXbR.cjs');
|
|
5
5
|
const batchLifecycle = require('../shared/bank.Bg3Pdwm4.cjs');
|
|
6
|
-
const mock_connector = require('../shared/bank.
|
|
6
|
+
const mock_connector = require('../shared/bank.Ce-NBBw1.cjs');
|
|
7
7
|
const drizzleOrm = require('drizzle-orm');
|
|
8
8
|
const cloudflare_workers = require('cloudflare:workers');
|
|
9
9
|
const cloudflare_workflows = require('cloudflare:workflows');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { first, uuidv4, asNonEmpty } from '@develit-io/backend-sdk';
|
|
2
2
|
import { t as tables, g as getBatchByIdQuery, c as checksum, u as upsertBatchCommand, a as getAccountByIdQuery, b as createCredentialsResolver, d as createPaymentCommand } from '../shared/bank.CGIeLo8U.mjs';
|
|
3
3
|
import { f as isBatchSigned, a as isBatchFailed, c as isBatchOpen, g as isPaymentCompleted } from '../shared/bank.CbAwwIhZ.mjs';
|
|
4
|
-
import { h as toPreparedPayment, i as initiateConnector, f as toCompletedPayment } from '../shared/bank.
|
|
4
|
+
import { h as toPreparedPayment, i as initiateConnector, f as toCompletedPayment } from '../shared/bank.CeRbuycV.mjs';
|
|
5
5
|
import { eq } from 'drizzle-orm';
|
|
6
6
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
7
7
|
import { NonRetryableError } from 'cloudflare:workflows';
|
|
@@ -2629,7 +2629,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2629
2629
|
tableName: "batch";
|
|
2630
2630
|
dataType: "string";
|
|
2631
2631
|
columnType: "SQLiteText";
|
|
2632
|
-
data: "
|
|
2632
|
+
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
2633
2633
|
driverParam: string;
|
|
2634
2634
|
notNull: false;
|
|
2635
2635
|
hasDefault: false;
|
|
@@ -2642,7 +2642,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2642
2642
|
generated: undefined;
|
|
2643
2643
|
}, {}, {
|
|
2644
2644
|
length: number | undefined;
|
|
2645
|
-
$type: "
|
|
2645
|
+
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
2646
2646
|
}>;
|
|
2647
2647
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2648
2648
|
name: "status_reason";
|
|
@@ -3072,7 +3072,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3072
3072
|
tableName: "payment";
|
|
3073
3073
|
dataType: "string";
|
|
3074
3074
|
columnType: "SQLiteText";
|
|
3075
|
-
data: "
|
|
3075
|
+
data: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
3076
3076
|
driverParam: string;
|
|
3077
3077
|
notNull: true;
|
|
3078
3078
|
hasDefault: false;
|
|
@@ -3085,7 +3085,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3085
3085
|
generated: undefined;
|
|
3086
3086
|
}, {}, {
|
|
3087
3087
|
length: number | undefined;
|
|
3088
|
-
$type: "
|
|
3088
|
+
$type: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
3089
3089
|
}>;
|
|
3090
3090
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3091
3091
|
name: "status_reason";
|
|
@@ -2629,7 +2629,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2629
2629
|
tableName: "batch";
|
|
2630
2630
|
dataType: "string";
|
|
2631
2631
|
columnType: "SQLiteText";
|
|
2632
|
-
data: "
|
|
2632
|
+
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
2633
2633
|
driverParam: string;
|
|
2634
2634
|
notNull: false;
|
|
2635
2635
|
hasDefault: false;
|
|
@@ -2642,7 +2642,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2642
2642
|
generated: undefined;
|
|
2643
2643
|
}, {}, {
|
|
2644
2644
|
length: number | undefined;
|
|
2645
|
-
$type: "
|
|
2645
|
+
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
2646
2646
|
}>;
|
|
2647
2647
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2648
2648
|
name: "status_reason";
|
|
@@ -3072,7 +3072,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3072
3072
|
tableName: "payment";
|
|
3073
3073
|
dataType: "string";
|
|
3074
3074
|
columnType: "SQLiteText";
|
|
3075
|
-
data: "
|
|
3075
|
+
data: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
3076
3076
|
driverParam: string;
|
|
3077
3077
|
notNull: true;
|
|
3078
3078
|
hasDefault: false;
|
|
@@ -3085,7 +3085,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3085
3085
|
generated: undefined;
|
|
3086
3086
|
}, {}, {
|
|
3087
3087
|
length: number | undefined;
|
|
3088
|
-
$type: "
|
|
3088
|
+
$type: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
3089
3089
|
}>;
|
|
3090
3090
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3091
3091
|
name: "status_reason";
|
|
@@ -2629,7 +2629,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2629
2629
|
tableName: "batch";
|
|
2630
2630
|
dataType: "string";
|
|
2631
2631
|
columnType: "SQLiteText";
|
|
2632
|
-
data: "
|
|
2632
|
+
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
2633
2633
|
driverParam: string;
|
|
2634
2634
|
notNull: false;
|
|
2635
2635
|
hasDefault: false;
|
|
@@ -2642,7 +2642,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2642
2642
|
generated: undefined;
|
|
2643
2643
|
}, {}, {
|
|
2644
2644
|
length: number | undefined;
|
|
2645
|
-
$type: "
|
|
2645
|
+
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
2646
2646
|
}>;
|
|
2647
2647
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2648
2648
|
name: "status_reason";
|
|
@@ -3072,7 +3072,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3072
3072
|
tableName: "payment";
|
|
3073
3073
|
dataType: "string";
|
|
3074
3074
|
columnType: "SQLiteText";
|
|
3075
|
-
data: "
|
|
3075
|
+
data: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
3076
3076
|
driverParam: string;
|
|
3077
3077
|
notNull: true;
|
|
3078
3078
|
hasDefault: false;
|
|
@@ -3085,7 +3085,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3085
3085
|
generated: undefined;
|
|
3086
3086
|
}, {}, {
|
|
3087
3087
|
length: number | undefined;
|
|
3088
|
-
$type: "
|
|
3088
|
+
$type: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
3089
3089
|
}>;
|
|
3090
3090
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3091
3091
|
name: "status_reason";
|
|
@@ -1054,7 +1054,8 @@ const initiateConnector = async ({
|
|
|
1054
1054
|
secretName: "BANK_SERVICE_FINBRICKS_PRIVATE_KEY_PEM"
|
|
1055
1055
|
})).data?.secretValue || "",
|
|
1056
1056
|
REDIRECT_URI: env.REDIRECT_URI,
|
|
1057
|
-
connectedAccounts
|
|
1057
|
+
connectedAccounts,
|
|
1058
|
+
resolveCredentials
|
|
1058
1059
|
});
|
|
1059
1060
|
case "CSOB":
|
|
1060
1061
|
return new CsobConnector({
|
|
@@ -1064,7 +1065,8 @@ const initiateConnector = async ({
|
|
|
1064
1065
|
secretName: "BANK_SERVICE_FINBRICKS_PRIVATE_KEY_PEM"
|
|
1065
1066
|
})).data?.secretValue || "",
|
|
1066
1067
|
REDIRECT_URI: env.REDIRECT_URI,
|
|
1067
|
-
connectedAccounts
|
|
1068
|
+
connectedAccounts,
|
|
1069
|
+
resolveCredentials
|
|
1068
1070
|
});
|
|
1069
1071
|
case "DBU":
|
|
1070
1072
|
return new DbuConnector({
|
|
@@ -1052,7 +1052,8 @@ const initiateConnector = async ({
|
|
|
1052
1052
|
secretName: "BANK_SERVICE_FINBRICKS_PRIVATE_KEY_PEM"
|
|
1053
1053
|
})).data?.secretValue || "",
|
|
1054
1054
|
REDIRECT_URI: env.REDIRECT_URI,
|
|
1055
|
-
connectedAccounts
|
|
1055
|
+
connectedAccounts,
|
|
1056
|
+
resolveCredentials
|
|
1056
1057
|
});
|
|
1057
1058
|
case "CSOB":
|
|
1058
1059
|
return new CsobConnector({
|
|
@@ -1062,7 +1063,8 @@ const initiateConnector = async ({
|
|
|
1062
1063
|
secretName: "BANK_SERVICE_FINBRICKS_PRIVATE_KEY_PEM"
|
|
1063
1064
|
})).data?.secretValue || "",
|
|
1064
1065
|
REDIRECT_URI: env.REDIRECT_URI,
|
|
1065
|
-
connectedAccounts
|
|
1066
|
+
connectedAccounts,
|
|
1067
|
+
resolveCredentials
|
|
1066
1068
|
});
|
|
1067
1069
|
case "DBU":
|
|
1068
1070
|
return new DbuConnector({
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mock_connector = require('./shared/bank.
|
|
3
|
+
const mock_connector = require('./shared/bank.Ce-NBBw1.cjs');
|
|
4
4
|
const payment_schema = require('./shared/bank.IVhZ_RlH.cjs');
|
|
5
5
|
const batchLifecycle = require('./shared/bank.Bg3Pdwm4.cjs');
|
|
6
6
|
const generalCodes = require('@develit-io/general-codes');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, e as ConnectedAccount, f as CredentialsResolver, g as AccountCredentialsInsertType, h as AccountInsertType, i as BatchedPayment, j as InitiatedBatch, k as IncomingPayment, l as InitiatedPayment, A as AccountSelectType, m as ParsedBankPayment, n as PaymentStatus, o as BatchStatus, p as PaymentType, q as BatchMetadata, r as Currency, P as PaymentSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment } from './shared/bank.
|
|
2
|
-
export { w as ACCOUNT_STATUSES, x as AccountCredentialsPatchType, y as AccountCredentialsSelectType, z as AccountCredentialsUpdateType, D as AccountPatchType, E as AccountStatus, F as AccountUpdateType, G as BATCH_STATUES, G as BATCH_STATUSES, H as BankAccountWithLastSync, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CreatedBatch, V as CredentialsType, W as INSTRUCTION_PRIORITIES, X as InstructionPriority, L as LastSyncMetadata, Y as PAYMENT_DIRECTIONS, Z as PAYMENT_STATUSES, _ as PAYMENT_TYPES, $ as PaymentDirection, a0 as PaymentFailedInsertType, a1 as PaymentInsertType, a2 as PaymentLifecycle, a3 as PaymentPreparedInsertType, a4 as ProcessingBatch, a5 as ReadyToSignBatch, a6 as ResolvedCredentials, a7 as SignedBatch, a8 as TOKEN_TYPES, a9 as TokenType, aa as accountCredentialsInsertSchema, ab as accountCredentialsSelectSchema, ac as accountCredentialsUpdateSchema, ad as accountInsertSchema, ae as accountSelectSchema, af as accountUpdateSchema, ag as hasPaymentAccountAssigned, ah as isBatchCompleted, ai as isBatchFailed, aj as isBatchInitiated, ak as isBatchOpen, al as isBatchProcessing, am as isBatchReadyToSign, an as isBatchSigned, ao as isPaymentCompleted, ap as isPaymentPrepared } from './shared/bank.
|
|
1
|
+
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, e as ConnectedAccount, f as CredentialsResolver, g as AccountCredentialsInsertType, h as AccountInsertType, i as BatchedPayment, j as InitiatedBatch, k as IncomingPayment, l as InitiatedPayment, A as AccountSelectType, m as ParsedBankPayment, n as PaymentStatus, o as BatchStatus, p as PaymentType, q as BatchMetadata, r as Currency, P as PaymentSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment } from './shared/bank.0qpz9IIt.cjs';
|
|
2
|
+
export { w as ACCOUNT_STATUSES, x as AccountCredentialsPatchType, y as AccountCredentialsSelectType, z as AccountCredentialsUpdateType, D as AccountPatchType, E as AccountStatus, F as AccountUpdateType, G as BATCH_STATUES, G as BATCH_STATUSES, H as BankAccountWithLastSync, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CreatedBatch, V as CredentialsType, W as INSTRUCTION_PRIORITIES, X as InstructionPriority, L as LastSyncMetadata, Y as PAYMENT_DIRECTIONS, Z as PAYMENT_STATUSES, _ as PAYMENT_TYPES, $ as PaymentDirection, a0 as PaymentFailedInsertType, a1 as PaymentInsertType, a2 as PaymentLifecycle, a3 as PaymentPreparedInsertType, a4 as ProcessingBatch, a5 as ReadyToSignBatch, a6 as ResolvedCredentials, a7 as SignedBatch, a8 as TOKEN_TYPES, a9 as TokenType, aa as accountCredentialsInsertSchema, ab as accountCredentialsSelectSchema, ac as accountCredentialsUpdateSchema, ad as accountInsertSchema, ae as accountSelectSchema, af as accountUpdateSchema, ag as hasPaymentAccountAssigned, ah as isBatchCompleted, ai as isBatchFailed, aj as isBatchInitiated, ak as isBatchOpen, al as isBatchProcessing, am as isBatchReadyToSign, an as isBatchSigned, ao as isPaymentCompleted, ap as isPaymentPrepared } from './shared/bank.0qpz9IIt.cjs';
|
|
3
3
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.cjs';
|
|
4
4
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
5
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, e as ConnectedAccount, f as CredentialsResolver, g as AccountCredentialsInsertType, h as AccountInsertType, i as BatchedPayment, j as InitiatedBatch, k as IncomingPayment, l as InitiatedPayment, A as AccountSelectType, m as ParsedBankPayment, n as PaymentStatus, o as BatchStatus, p as PaymentType, q as BatchMetadata, r as Currency, P as PaymentSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment } from './shared/bank.
|
|
2
|
-
export { w as ACCOUNT_STATUSES, x as AccountCredentialsPatchType, y as AccountCredentialsSelectType, z as AccountCredentialsUpdateType, D as AccountPatchType, E as AccountStatus, F as AccountUpdateType, G as BATCH_STATUES, G as BATCH_STATUSES, H as BankAccountWithLastSync, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CreatedBatch, V as CredentialsType, W as INSTRUCTION_PRIORITIES, X as InstructionPriority, L as LastSyncMetadata, Y as PAYMENT_DIRECTIONS, Z as PAYMENT_STATUSES, _ as PAYMENT_TYPES, $ as PaymentDirection, a0 as PaymentFailedInsertType, a1 as PaymentInsertType, a2 as PaymentLifecycle, a3 as PaymentPreparedInsertType, a4 as ProcessingBatch, a5 as ReadyToSignBatch, a6 as ResolvedCredentials, a7 as SignedBatch, a8 as TOKEN_TYPES, a9 as TokenType, aa as accountCredentialsInsertSchema, ab as accountCredentialsSelectSchema, ac as accountCredentialsUpdateSchema, ad as accountInsertSchema, ae as accountSelectSchema, af as accountUpdateSchema, ag as hasPaymentAccountAssigned, ah as isBatchCompleted, ai as isBatchFailed, aj as isBatchInitiated, ak as isBatchOpen, al as isBatchProcessing, am as isBatchReadyToSign, an as isBatchSigned, ao as isPaymentCompleted, ap as isPaymentPrepared } from './shared/bank.
|
|
1
|
+
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, e as ConnectedAccount, f as CredentialsResolver, g as AccountCredentialsInsertType, h as AccountInsertType, i as BatchedPayment, j as InitiatedBatch, k as IncomingPayment, l as InitiatedPayment, A as AccountSelectType, m as ParsedBankPayment, n as PaymentStatus, o as BatchStatus, p as PaymentType, q as BatchMetadata, r as Currency, P as PaymentSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment } from './shared/bank.0qpz9IIt.mjs';
|
|
2
|
+
export { w as ACCOUNT_STATUSES, x as AccountCredentialsPatchType, y as AccountCredentialsSelectType, z as AccountCredentialsUpdateType, D as AccountPatchType, E as AccountStatus, F as AccountUpdateType, G as BATCH_STATUES, G as BATCH_STATUSES, H as BankAccountWithLastSync, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CreatedBatch, V as CredentialsType, W as INSTRUCTION_PRIORITIES, X as InstructionPriority, L as LastSyncMetadata, Y as PAYMENT_DIRECTIONS, Z as PAYMENT_STATUSES, _ as PAYMENT_TYPES, $ as PaymentDirection, a0 as PaymentFailedInsertType, a1 as PaymentInsertType, a2 as PaymentLifecycle, a3 as PaymentPreparedInsertType, a4 as ProcessingBatch, a5 as ReadyToSignBatch, a6 as ResolvedCredentials, a7 as SignedBatch, a8 as TOKEN_TYPES, a9 as TokenType, aa as accountCredentialsInsertSchema, ab as accountCredentialsSelectSchema, ac as accountCredentialsUpdateSchema, ad as accountInsertSchema, ae as accountSelectSchema, af as accountUpdateSchema, ag as hasPaymentAccountAssigned, ah as isBatchCompleted, ai as isBatchFailed, aj as isBatchInitiated, ak as isBatchOpen, al as isBatchProcessing, am as isBatchReadyToSign, an as isBatchSigned, ao as isPaymentCompleted, ap as isPaymentPrepared } from './shared/bank.0qpz9IIt.mjs';
|
|
3
3
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.mjs';
|
|
4
4
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
5
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, e as ConnectedAccount, f as CredentialsResolver, g as AccountCredentialsInsertType, h as AccountInsertType, i as BatchedPayment, j as InitiatedBatch, k as IncomingPayment, l as InitiatedPayment, A as AccountSelectType, m as ParsedBankPayment, n as PaymentStatus, o as BatchStatus, p as PaymentType, q as BatchMetadata, r as Currency, P as PaymentSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment } from './shared/bank.
|
|
2
|
-
export { w as ACCOUNT_STATUSES, x as AccountCredentialsPatchType, y as AccountCredentialsSelectType, z as AccountCredentialsUpdateType, D as AccountPatchType, E as AccountStatus, F as AccountUpdateType, G as BATCH_STATUES, G as BATCH_STATUSES, H as BankAccountWithLastSync, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CreatedBatch, V as CredentialsType, W as INSTRUCTION_PRIORITIES, X as InstructionPriority, L as LastSyncMetadata, Y as PAYMENT_DIRECTIONS, Z as PAYMENT_STATUSES, _ as PAYMENT_TYPES, $ as PaymentDirection, a0 as PaymentFailedInsertType, a1 as PaymentInsertType, a2 as PaymentLifecycle, a3 as PaymentPreparedInsertType, a4 as ProcessingBatch, a5 as ReadyToSignBatch, a6 as ResolvedCredentials, a7 as SignedBatch, a8 as TOKEN_TYPES, a9 as TokenType, aa as accountCredentialsInsertSchema, ab as accountCredentialsSelectSchema, ac as accountCredentialsUpdateSchema, ad as accountInsertSchema, ae as accountSelectSchema, af as accountUpdateSchema, ag as hasPaymentAccountAssigned, ah as isBatchCompleted, ai as isBatchFailed, aj as isBatchInitiated, ak as isBatchOpen, al as isBatchProcessing, am as isBatchReadyToSign, an as isBatchSigned, ao as isPaymentCompleted, ap as isPaymentPrepared } from './shared/bank.
|
|
1
|
+
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, e as ConnectedAccount, f as CredentialsResolver, g as AccountCredentialsInsertType, h as AccountInsertType, i as BatchedPayment, j as InitiatedBatch, k as IncomingPayment, l as InitiatedPayment, A as AccountSelectType, m as ParsedBankPayment, n as PaymentStatus, o as BatchStatus, p as PaymentType, q as BatchMetadata, r as Currency, P as PaymentSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment } from './shared/bank.0qpz9IIt.js';
|
|
2
|
+
export { w as ACCOUNT_STATUSES, x as AccountCredentialsPatchType, y as AccountCredentialsSelectType, z as AccountCredentialsUpdateType, D as AccountPatchType, E as AccountStatus, F as AccountUpdateType, G as BATCH_STATUES, G as BATCH_STATUSES, H as BankAccountWithLastSync, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CreatedBatch, V as CredentialsType, W as INSTRUCTION_PRIORITIES, X as InstructionPriority, L as LastSyncMetadata, Y as PAYMENT_DIRECTIONS, Z as PAYMENT_STATUSES, _ as PAYMENT_TYPES, $ as PaymentDirection, a0 as PaymentFailedInsertType, a1 as PaymentInsertType, a2 as PaymentLifecycle, a3 as PaymentPreparedInsertType, a4 as ProcessingBatch, a5 as ReadyToSignBatch, a6 as ResolvedCredentials, a7 as SignedBatch, a8 as TOKEN_TYPES, a9 as TokenType, aa as accountCredentialsInsertSchema, ab as accountCredentialsSelectSchema, ac as accountCredentialsUpdateSchema, ad as accountInsertSchema, ae as accountSelectSchema, af as accountUpdateSchema, ag as hasPaymentAccountAssigned, ah as isBatchCompleted, ai as isBatchFailed, aj as isBatchInitiated, ak as isBatchOpen, al as isBatchProcessing, am as isBatchReadyToSign, an as isBatchSigned, ao as isPaymentCompleted, ap as isPaymentPrepared } from './shared/bank.0qpz9IIt.js';
|
|
3
3
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.js';
|
|
4
4
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
5
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as assignAccount, e as batchTransform, s as signFinbricksJws, t as toBatchedPayment, f as toCompletedPayment, g as toIncomingPayment, h as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.
|
|
1
|
+
export { C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as assignAccount, e as batchTransform, s as signFinbricksJws, t as toBatchedPayment, f as toCompletedPayment, g as toIncomingPayment, h as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.CeRbuycV.mjs';
|
|
2
2
|
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, a as CONNECTOR_KEYS, b as COUNTRY_CODES, c as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, P as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, e as PAYMENT_TYPES, T as TOKEN_TYPES, f as accountCredentialsInsertSchema, g as accountCredentialsSelectSchema, h as accountCredentialsUpdateSchema, i as accountInsertSchema, j as accountSelectSchema, k as accountUpdateSchema, o as ottInsertSchema, l as ottSelectSchema, m as ottUpdateSchema } from './shared/bank.993UA65l.mjs';
|
|
3
3
|
export { h as hasPaymentAccountAssigned, i as isBatchCompleted, a as isBatchFailed, b as isBatchInitiated, c as isBatchOpen, d as isBatchProcessing, e as isBatchReadyToSign, f as isBatchSigned, g as isPaymentCompleted, j as isPaymentPrepared } from './shared/bank.CbAwwIhZ.mjs';
|
|
4
4
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|