@develit-services/bank 0.8.8 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/schema.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 +27 -22
- package/dist/export/worker.d.mts +27 -22
- package/dist/export/worker.d.ts +27 -22
- package/dist/export/worker.mjs +1 -1
- package/dist/shared/{bank.DRTuKO8S.d.ts → bank.CHQ3VSEh.d.ts} +1 -1
- package/dist/shared/{bank.CAVvvZZO.d.mts → bank.CwuH4spB.d.mts} +1 -1
- package/dist/shared/{bank.B-NJB8GB.d.cts → bank.pgyk4j94.d.cts} +6 -6
- package/dist/shared/{bank.B-NJB8GB.d.mts → bank.pgyk4j94.d.mts} +6 -6
- package/dist/shared/{bank.B-NJB8GB.d.ts → bank.pgyk4j94.d.ts} +6 -6
- package/dist/shared/{bank.BzobShUU.d.cts → bank.vPWD7Ce4.d.cts} +1 -1
- package/dist/types.d.cts +4 -4
- package/dist/types.d.mts +4 -4
- package/dist/types.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { as as account, at as accountCredentials, au as batch, av as ott, aw as payment, ax as paymentRelations, ay as paymentRequest, az as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { as as account, at as accountCredentials, au as batch, av as ott, aw as payment, ax as paymentRelations, ay as paymentRequest, az as paymentRequestRelations } from '../shared/bank.pgyk4j94.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 { as as account, at as accountCredentials, au as batch, av as ott, aw as payment, ax as paymentRelations, ay as paymentRequest, az as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { as as account, at as accountCredentials, au as batch, av as ott, aw as payment, ax as paymentRelations, ay as paymentRequest, az as paymentRequestRelations } from '../shared/bank.pgyk4j94.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 { as as account, at as accountCredentials, au as batch, av as ott, aw as payment, ax as paymentRelations, ay as paymentRequest, az as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { as as account, at as accountCredentials, au as batch, av as ott, aw as payment, ax as paymentRelations, ay as paymentRequest, az as paymentRequestRelations } from '../shared/bank.pgyk4j94.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
|
@@ -482,7 +482,7 @@ const getPaymentsInputSchema = zod.z.object({
|
|
|
482
482
|
[ALLOWED_PAYMENT_FILTERS.FROM]: zod.z.date().optional(),
|
|
483
483
|
[ALLOWED_PAYMENT_FILTERS.TO]: zod.z.date().optional(),
|
|
484
484
|
[ALLOWED_PAYMENT_FILTERS.STATUS]: zod.z.union([zod.z.enum(paymentRequest_schema.PAYMENT_STATUSES), zod.z.enum(paymentRequest_schema.PAYMENT_STATUSES).array()]).optional(),
|
|
485
|
-
[ALLOWED_PAYMENT_FILTERS.PAYMENT_TYPE]: zod.z.enum(paymentRequest_schema.PAYMENT_TYPES).optional(),
|
|
485
|
+
[ALLOWED_PAYMENT_FILTERS.PAYMENT_TYPE]: zod.z.union([zod.z.enum(paymentRequest_schema.PAYMENT_TYPES), zod.z.enum(paymentRequest_schema.PAYMENT_TYPES).array()]).optional(),
|
|
486
486
|
[ALLOWED_PAYMENT_FILTERS.MIN_AMOUNT]: zod.z.number().positive().optional(),
|
|
487
487
|
[ALLOWED_PAYMENT_FILTERS.MAX_AMOUNT]: zod.z.number().positive().optional(),
|
|
488
488
|
[ALLOWED_PAYMENT_FILTERS.VARIABLE_SYMBOL]: zod.z.string().regex(/^\d{1,10}$/).optional(),
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, a as PaymentRequestSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, I as IBankConnector, c as PaymentType, d as CurrencyCode } from '../shared/bank.
|
|
2
|
-
import { P as PaymentQueueMessage, S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, a as PaymentRequestSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, I as IBankConnector, c as PaymentType, d as CurrencyCode } from '../shared/bank.pgyk4j94.cjs';
|
|
2
|
+
import { P as PaymentQueueMessage, S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.vPWD7Ce4.cjs';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -832,21 +832,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
832
832
|
}, z.core.$strip>;
|
|
833
833
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
834
834
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
835
|
+
SIGNED: "SIGNED";
|
|
836
|
+
COMPLETED: "COMPLETED";
|
|
837
|
+
FAILED: "FAILED";
|
|
835
838
|
OPEN: "OPEN";
|
|
836
839
|
PROCESSING: "PROCESSING";
|
|
837
840
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
838
|
-
SIGNED: "SIGNED";
|
|
839
841
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
840
|
-
FAILED: "FAILED";
|
|
841
|
-
COMPLETED: "COMPLETED";
|
|
842
842
|
}>, z.ZodArray<z.ZodEnum<{
|
|
843
|
+
SIGNED: "SIGNED";
|
|
844
|
+
COMPLETED: "COMPLETED";
|
|
845
|
+
FAILED: "FAILED";
|
|
843
846
|
OPEN: "OPEN";
|
|
844
847
|
PROCESSING: "PROCESSING";
|
|
845
848
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
846
|
-
SIGNED: "SIGNED";
|
|
847
849
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
848
|
-
FAILED: "FAILED";
|
|
849
|
-
COMPLETED: "COMPLETED";
|
|
850
850
|
}>>]>>;
|
|
851
851
|
}, z.core.$strip>;
|
|
852
852
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1092,26 +1092,31 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1092
1092
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1093
1093
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1094
1094
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1095
|
-
SIGNED: "SIGNED";
|
|
1096
|
-
FAILED: "FAILED";
|
|
1097
|
-
COMPLETED: "COMPLETED";
|
|
1098
1095
|
CREATED: "CREATED";
|
|
1099
1096
|
PREPARED: "PREPARED";
|
|
1100
|
-
PENDING: "PENDING";
|
|
1101
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1102
1097
|
SIGNED: "SIGNED";
|
|
1103
|
-
|
|
1098
|
+
PENDING: "PENDING";
|
|
1104
1099
|
COMPLETED: "COMPLETED";
|
|
1100
|
+
FAILED: "FAILED";
|
|
1101
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1105
1102
|
CREATED: "CREATED";
|
|
1106
1103
|
PREPARED: "PREPARED";
|
|
1104
|
+
SIGNED: "SIGNED";
|
|
1107
1105
|
PENDING: "PENDING";
|
|
1106
|
+
COMPLETED: "COMPLETED";
|
|
1107
|
+
FAILED: "FAILED";
|
|
1108
1108
|
}>>]>>;
|
|
1109
|
-
filterPaymentType: z.ZodOptional<z.ZodEnum<{
|
|
1109
|
+
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1110
1110
|
SEPA: "SEPA";
|
|
1111
1111
|
SWIFT: "SWIFT";
|
|
1112
1112
|
DOMESTIC: "DOMESTIC";
|
|
1113
1113
|
UNKNOWN: "UNKNOWN";
|
|
1114
|
-
}
|
|
1114
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1115
|
+
SEPA: "SEPA";
|
|
1116
|
+
SWIFT: "SWIFT";
|
|
1117
|
+
DOMESTIC: "DOMESTIC";
|
|
1118
|
+
UNKNOWN: "UNKNOWN";
|
|
1119
|
+
}>>]>>;
|
|
1115
1120
|
filterPaymentMinAmount: z.ZodOptional<z.ZodNumber>;
|
|
1116
1121
|
filterPaymentMaxAmount: z.ZodOptional<z.ZodNumber>;
|
|
1117
1122
|
filterPaymentVariableSymbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1837,19 +1842,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
1837
1842
|
}, z.core.$strip>;
|
|
1838
1843
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1839
1844
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1840
|
-
SIGNED: "SIGNED";
|
|
1841
|
-
FAILED: "FAILED";
|
|
1842
|
-
COMPLETED: "COMPLETED";
|
|
1843
1845
|
CREATED: "CREATED";
|
|
1844
1846
|
PREPARED: "PREPARED";
|
|
1845
|
-
PENDING: "PENDING";
|
|
1846
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1847
1847
|
SIGNED: "SIGNED";
|
|
1848
|
-
|
|
1848
|
+
PENDING: "PENDING";
|
|
1849
1849
|
COMPLETED: "COMPLETED";
|
|
1850
|
+
FAILED: "FAILED";
|
|
1851
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1850
1852
|
CREATED: "CREATED";
|
|
1851
1853
|
PREPARED: "PREPARED";
|
|
1854
|
+
SIGNED: "SIGNED";
|
|
1852
1855
|
PENDING: "PENDING";
|
|
1856
|
+
COMPLETED: "COMPLETED";
|
|
1857
|
+
FAILED: "FAILED";
|
|
1853
1858
|
}>>]>>;
|
|
1854
1859
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1855
1860
|
SEPA: "SEPA";
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, a as PaymentRequestSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, I as IBankConnector, c as PaymentType, d as CurrencyCode } from '../shared/bank.
|
|
2
|
-
import { P as PaymentQueueMessage, S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, a as PaymentRequestSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, I as IBankConnector, c as PaymentType, d as CurrencyCode } from '../shared/bank.pgyk4j94.mjs';
|
|
2
|
+
import { P as PaymentQueueMessage, S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.CwuH4spB.mjs';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -832,21 +832,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
832
832
|
}, z.core.$strip>;
|
|
833
833
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
834
834
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
835
|
+
SIGNED: "SIGNED";
|
|
836
|
+
COMPLETED: "COMPLETED";
|
|
837
|
+
FAILED: "FAILED";
|
|
835
838
|
OPEN: "OPEN";
|
|
836
839
|
PROCESSING: "PROCESSING";
|
|
837
840
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
838
|
-
SIGNED: "SIGNED";
|
|
839
841
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
840
|
-
FAILED: "FAILED";
|
|
841
|
-
COMPLETED: "COMPLETED";
|
|
842
842
|
}>, z.ZodArray<z.ZodEnum<{
|
|
843
|
+
SIGNED: "SIGNED";
|
|
844
|
+
COMPLETED: "COMPLETED";
|
|
845
|
+
FAILED: "FAILED";
|
|
843
846
|
OPEN: "OPEN";
|
|
844
847
|
PROCESSING: "PROCESSING";
|
|
845
848
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
846
|
-
SIGNED: "SIGNED";
|
|
847
849
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
848
|
-
FAILED: "FAILED";
|
|
849
|
-
COMPLETED: "COMPLETED";
|
|
850
850
|
}>>]>>;
|
|
851
851
|
}, z.core.$strip>;
|
|
852
852
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1092,26 +1092,31 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1092
1092
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1093
1093
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1094
1094
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1095
|
-
SIGNED: "SIGNED";
|
|
1096
|
-
FAILED: "FAILED";
|
|
1097
|
-
COMPLETED: "COMPLETED";
|
|
1098
1095
|
CREATED: "CREATED";
|
|
1099
1096
|
PREPARED: "PREPARED";
|
|
1100
|
-
PENDING: "PENDING";
|
|
1101
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1102
1097
|
SIGNED: "SIGNED";
|
|
1103
|
-
|
|
1098
|
+
PENDING: "PENDING";
|
|
1104
1099
|
COMPLETED: "COMPLETED";
|
|
1100
|
+
FAILED: "FAILED";
|
|
1101
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1105
1102
|
CREATED: "CREATED";
|
|
1106
1103
|
PREPARED: "PREPARED";
|
|
1104
|
+
SIGNED: "SIGNED";
|
|
1107
1105
|
PENDING: "PENDING";
|
|
1106
|
+
COMPLETED: "COMPLETED";
|
|
1107
|
+
FAILED: "FAILED";
|
|
1108
1108
|
}>>]>>;
|
|
1109
|
-
filterPaymentType: z.ZodOptional<z.ZodEnum<{
|
|
1109
|
+
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1110
1110
|
SEPA: "SEPA";
|
|
1111
1111
|
SWIFT: "SWIFT";
|
|
1112
1112
|
DOMESTIC: "DOMESTIC";
|
|
1113
1113
|
UNKNOWN: "UNKNOWN";
|
|
1114
|
-
}
|
|
1114
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1115
|
+
SEPA: "SEPA";
|
|
1116
|
+
SWIFT: "SWIFT";
|
|
1117
|
+
DOMESTIC: "DOMESTIC";
|
|
1118
|
+
UNKNOWN: "UNKNOWN";
|
|
1119
|
+
}>>]>>;
|
|
1115
1120
|
filterPaymentMinAmount: z.ZodOptional<z.ZodNumber>;
|
|
1116
1121
|
filterPaymentMaxAmount: z.ZodOptional<z.ZodNumber>;
|
|
1117
1122
|
filterPaymentVariableSymbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1837,19 +1842,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
1837
1842
|
}, z.core.$strip>;
|
|
1838
1843
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1839
1844
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1840
|
-
SIGNED: "SIGNED";
|
|
1841
|
-
FAILED: "FAILED";
|
|
1842
|
-
COMPLETED: "COMPLETED";
|
|
1843
1845
|
CREATED: "CREATED";
|
|
1844
1846
|
PREPARED: "PREPARED";
|
|
1845
|
-
PENDING: "PENDING";
|
|
1846
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1847
1847
|
SIGNED: "SIGNED";
|
|
1848
|
-
|
|
1848
|
+
PENDING: "PENDING";
|
|
1849
1849
|
COMPLETED: "COMPLETED";
|
|
1850
|
+
FAILED: "FAILED";
|
|
1851
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1850
1852
|
CREATED: "CREATED";
|
|
1851
1853
|
PREPARED: "PREPARED";
|
|
1854
|
+
SIGNED: "SIGNED";
|
|
1852
1855
|
PENDING: "PENDING";
|
|
1856
|
+
COMPLETED: "COMPLETED";
|
|
1857
|
+
FAILED: "FAILED";
|
|
1853
1858
|
}>>]>>;
|
|
1854
1859
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1855
1860
|
SEPA: "SEPA";
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, a as PaymentRequestSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, I as IBankConnector, c as PaymentType, d as CurrencyCode } from '../shared/bank.
|
|
2
|
-
import { P as PaymentQueueMessage, S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, a as PaymentRequestSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, I as IBankConnector, c as PaymentType, d as CurrencyCode } from '../shared/bank.pgyk4j94.js';
|
|
2
|
+
import { P as PaymentQueueMessage, S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.CHQ3VSEh.js';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -832,21 +832,21 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
832
832
|
}, z.core.$strip>;
|
|
833
833
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
834
834
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
835
|
+
SIGNED: "SIGNED";
|
|
836
|
+
COMPLETED: "COMPLETED";
|
|
837
|
+
FAILED: "FAILED";
|
|
835
838
|
OPEN: "OPEN";
|
|
836
839
|
PROCESSING: "PROCESSING";
|
|
837
840
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
838
|
-
SIGNED: "SIGNED";
|
|
839
841
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
840
|
-
FAILED: "FAILED";
|
|
841
|
-
COMPLETED: "COMPLETED";
|
|
842
842
|
}>, z.ZodArray<z.ZodEnum<{
|
|
843
|
+
SIGNED: "SIGNED";
|
|
844
|
+
COMPLETED: "COMPLETED";
|
|
845
|
+
FAILED: "FAILED";
|
|
843
846
|
OPEN: "OPEN";
|
|
844
847
|
PROCESSING: "PROCESSING";
|
|
845
848
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
846
|
-
SIGNED: "SIGNED";
|
|
847
849
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
848
|
-
FAILED: "FAILED";
|
|
849
|
-
COMPLETED: "COMPLETED";
|
|
850
850
|
}>>]>>;
|
|
851
851
|
}, z.core.$strip>;
|
|
852
852
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1092,26 +1092,31 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1092
1092
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1093
1093
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1094
1094
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1095
|
-
SIGNED: "SIGNED";
|
|
1096
|
-
FAILED: "FAILED";
|
|
1097
|
-
COMPLETED: "COMPLETED";
|
|
1098
1095
|
CREATED: "CREATED";
|
|
1099
1096
|
PREPARED: "PREPARED";
|
|
1100
|
-
PENDING: "PENDING";
|
|
1101
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1102
1097
|
SIGNED: "SIGNED";
|
|
1103
|
-
|
|
1098
|
+
PENDING: "PENDING";
|
|
1104
1099
|
COMPLETED: "COMPLETED";
|
|
1100
|
+
FAILED: "FAILED";
|
|
1101
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1105
1102
|
CREATED: "CREATED";
|
|
1106
1103
|
PREPARED: "PREPARED";
|
|
1104
|
+
SIGNED: "SIGNED";
|
|
1107
1105
|
PENDING: "PENDING";
|
|
1106
|
+
COMPLETED: "COMPLETED";
|
|
1107
|
+
FAILED: "FAILED";
|
|
1108
1108
|
}>>]>>;
|
|
1109
|
-
filterPaymentType: z.ZodOptional<z.ZodEnum<{
|
|
1109
|
+
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1110
1110
|
SEPA: "SEPA";
|
|
1111
1111
|
SWIFT: "SWIFT";
|
|
1112
1112
|
DOMESTIC: "DOMESTIC";
|
|
1113
1113
|
UNKNOWN: "UNKNOWN";
|
|
1114
|
-
}
|
|
1114
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1115
|
+
SEPA: "SEPA";
|
|
1116
|
+
SWIFT: "SWIFT";
|
|
1117
|
+
DOMESTIC: "DOMESTIC";
|
|
1118
|
+
UNKNOWN: "UNKNOWN";
|
|
1119
|
+
}>>]>>;
|
|
1115
1120
|
filterPaymentMinAmount: z.ZodOptional<z.ZodNumber>;
|
|
1116
1121
|
filterPaymentMaxAmount: z.ZodOptional<z.ZodNumber>;
|
|
1117
1122
|
filterPaymentVariableSymbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1837,19 +1842,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
1837
1842
|
}, z.core.$strip>;
|
|
1838
1843
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1839
1844
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1840
|
-
SIGNED: "SIGNED";
|
|
1841
|
-
FAILED: "FAILED";
|
|
1842
|
-
COMPLETED: "COMPLETED";
|
|
1843
1845
|
CREATED: "CREATED";
|
|
1844
1846
|
PREPARED: "PREPARED";
|
|
1845
|
-
PENDING: "PENDING";
|
|
1846
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1847
1847
|
SIGNED: "SIGNED";
|
|
1848
|
-
|
|
1848
|
+
PENDING: "PENDING";
|
|
1849
1849
|
COMPLETED: "COMPLETED";
|
|
1850
|
+
FAILED: "FAILED";
|
|
1851
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1850
1852
|
CREATED: "CREATED";
|
|
1851
1853
|
PREPARED: "PREPARED";
|
|
1854
|
+
SIGNED: "SIGNED";
|
|
1852
1855
|
PENDING: "PENDING";
|
|
1856
|
+
COMPLETED: "COMPLETED";
|
|
1857
|
+
FAILED: "FAILED";
|
|
1853
1858
|
}>>]>>;
|
|
1854
1859
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1855
1860
|
SEPA: "SEPA";
|
package/dist/export/worker.mjs
CHANGED
|
@@ -480,7 +480,7 @@ const getPaymentsInputSchema = z.object({
|
|
|
480
480
|
[ALLOWED_PAYMENT_FILTERS.FROM]: z.date().optional(),
|
|
481
481
|
[ALLOWED_PAYMENT_FILTERS.TO]: z.date().optional(),
|
|
482
482
|
[ALLOWED_PAYMENT_FILTERS.STATUS]: z.union([z.enum(PAYMENT_STATUSES), z.enum(PAYMENT_STATUSES).array()]).optional(),
|
|
483
|
-
[ALLOWED_PAYMENT_FILTERS.PAYMENT_TYPE]: z.enum(PAYMENT_TYPES).optional(),
|
|
483
|
+
[ALLOWED_PAYMENT_FILTERS.PAYMENT_TYPE]: z.union([z.enum(PAYMENT_TYPES), z.enum(PAYMENT_TYPES).array()]).optional(),
|
|
484
484
|
[ALLOWED_PAYMENT_FILTERS.MIN_AMOUNT]: z.number().positive().optional(),
|
|
485
485
|
[ALLOWED_PAYMENT_FILTERS.MAX_AMOUNT]: z.number().positive().optional(),
|
|
486
486
|
[ALLOWED_PAYMENT_FILTERS.VARIABLE_SYMBOL]: z.string().regex(/^\d{1,10}$/).optional(),
|
|
@@ -2636,7 +2636,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2636
2636
|
tableName: "batch";
|
|
2637
2637
|
dataType: "string";
|
|
2638
2638
|
columnType: "SQLiteText";
|
|
2639
|
-
data: "
|
|
2639
|
+
data: "SIGNED" | "COMPLETED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2640
2640
|
driverParam: string;
|
|
2641
2641
|
notNull: false;
|
|
2642
2642
|
hasDefault: false;
|
|
@@ -2649,7 +2649,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2649
2649
|
generated: undefined;
|
|
2650
2650
|
}, {}, {
|
|
2651
2651
|
length: number | undefined;
|
|
2652
|
-
$type: "
|
|
2652
|
+
$type: "SIGNED" | "COMPLETED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2653
2653
|
}>;
|
|
2654
2654
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2655
2655
|
name: "status_reason";
|
|
@@ -3060,7 +3060,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3060
3060
|
tableName: "payment";
|
|
3061
3061
|
dataType: "string";
|
|
3062
3062
|
columnType: "SQLiteText";
|
|
3063
|
-
data: "
|
|
3063
|
+
data: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3064
3064
|
driverParam: string;
|
|
3065
3065
|
notNull: true;
|
|
3066
3066
|
hasDefault: false;
|
|
@@ -3073,7 +3073,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3073
3073
|
generated: undefined;
|
|
3074
3074
|
}, {}, {
|
|
3075
3075
|
length: number | undefined;
|
|
3076
|
-
$type: "
|
|
3076
|
+
$type: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3077
3077
|
}>;
|
|
3078
3078
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3079
3079
|
name: "status_reason";
|
|
@@ -3654,7 +3654,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3654
3654
|
tableName: "payment_request";
|
|
3655
3655
|
dataType: "string";
|
|
3656
3656
|
columnType: "SQLiteText";
|
|
3657
|
-
data: "
|
|
3657
|
+
data: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3658
3658
|
driverParam: string;
|
|
3659
3659
|
notNull: true;
|
|
3660
3660
|
hasDefault: false;
|
|
@@ -3667,7 +3667,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3667
3667
|
generated: undefined;
|
|
3668
3668
|
}, {}, {
|
|
3669
3669
|
length: number | undefined;
|
|
3670
|
-
$type: "
|
|
3670
|
+
$type: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3671
3671
|
}>;
|
|
3672
3672
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3673
3673
|
name: "status_reason";
|
|
@@ -2636,7 +2636,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2636
2636
|
tableName: "batch";
|
|
2637
2637
|
dataType: "string";
|
|
2638
2638
|
columnType: "SQLiteText";
|
|
2639
|
-
data: "
|
|
2639
|
+
data: "SIGNED" | "COMPLETED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2640
2640
|
driverParam: string;
|
|
2641
2641
|
notNull: false;
|
|
2642
2642
|
hasDefault: false;
|
|
@@ -2649,7 +2649,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2649
2649
|
generated: undefined;
|
|
2650
2650
|
}, {}, {
|
|
2651
2651
|
length: number | undefined;
|
|
2652
|
-
$type: "
|
|
2652
|
+
$type: "SIGNED" | "COMPLETED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2653
2653
|
}>;
|
|
2654
2654
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2655
2655
|
name: "status_reason";
|
|
@@ -3060,7 +3060,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3060
3060
|
tableName: "payment";
|
|
3061
3061
|
dataType: "string";
|
|
3062
3062
|
columnType: "SQLiteText";
|
|
3063
|
-
data: "
|
|
3063
|
+
data: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3064
3064
|
driverParam: string;
|
|
3065
3065
|
notNull: true;
|
|
3066
3066
|
hasDefault: false;
|
|
@@ -3073,7 +3073,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3073
3073
|
generated: undefined;
|
|
3074
3074
|
}, {}, {
|
|
3075
3075
|
length: number | undefined;
|
|
3076
|
-
$type: "
|
|
3076
|
+
$type: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3077
3077
|
}>;
|
|
3078
3078
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3079
3079
|
name: "status_reason";
|
|
@@ -3654,7 +3654,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3654
3654
|
tableName: "payment_request";
|
|
3655
3655
|
dataType: "string";
|
|
3656
3656
|
columnType: "SQLiteText";
|
|
3657
|
-
data: "
|
|
3657
|
+
data: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3658
3658
|
driverParam: string;
|
|
3659
3659
|
notNull: true;
|
|
3660
3660
|
hasDefault: false;
|
|
@@ -3667,7 +3667,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3667
3667
|
generated: undefined;
|
|
3668
3668
|
}, {}, {
|
|
3669
3669
|
length: number | undefined;
|
|
3670
|
-
$type: "
|
|
3670
|
+
$type: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3671
3671
|
}>;
|
|
3672
3672
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3673
3673
|
name: "status_reason";
|
|
@@ -2636,7 +2636,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2636
2636
|
tableName: "batch";
|
|
2637
2637
|
dataType: "string";
|
|
2638
2638
|
columnType: "SQLiteText";
|
|
2639
|
-
data: "
|
|
2639
|
+
data: "SIGNED" | "COMPLETED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2640
2640
|
driverParam: string;
|
|
2641
2641
|
notNull: false;
|
|
2642
2642
|
hasDefault: false;
|
|
@@ -2649,7 +2649,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2649
2649
|
generated: undefined;
|
|
2650
2650
|
}, {}, {
|
|
2651
2651
|
length: number | undefined;
|
|
2652
|
-
$type: "
|
|
2652
|
+
$type: "SIGNED" | "COMPLETED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2653
2653
|
}>;
|
|
2654
2654
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2655
2655
|
name: "status_reason";
|
|
@@ -3060,7 +3060,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3060
3060
|
tableName: "payment";
|
|
3061
3061
|
dataType: "string";
|
|
3062
3062
|
columnType: "SQLiteText";
|
|
3063
|
-
data: "
|
|
3063
|
+
data: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3064
3064
|
driverParam: string;
|
|
3065
3065
|
notNull: true;
|
|
3066
3066
|
hasDefault: false;
|
|
@@ -3073,7 +3073,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3073
3073
|
generated: undefined;
|
|
3074
3074
|
}, {}, {
|
|
3075
3075
|
length: number | undefined;
|
|
3076
|
-
$type: "
|
|
3076
|
+
$type: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3077
3077
|
}>;
|
|
3078
3078
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3079
3079
|
name: "status_reason";
|
|
@@ -3654,7 +3654,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3654
3654
|
tableName: "payment_request";
|
|
3655
3655
|
dataType: "string";
|
|
3656
3656
|
columnType: "SQLiteText";
|
|
3657
|
-
data: "
|
|
3657
|
+
data: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3658
3658
|
driverParam: string;
|
|
3659
3659
|
notNull: true;
|
|
3660
3660
|
hasDefault: false;
|
|
@@ -3667,7 +3667,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3667
3667
|
generated: undefined;
|
|
3668
3668
|
}, {}, {
|
|
3669
3669
|
length: number | undefined;
|
|
3670
|
-
$type: "
|
|
3670
|
+
$type: "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
3671
3671
|
}>;
|
|
3672
3672
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3673
3673
|
name: "status_reason";
|
package/dist/types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, e as ConnectedAccount, c as PaymentType, 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 BatchMetadata, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, a as PaymentRequestSelectType, s as PreparedPayment, u as CompletedPayment, v as PaymentRequestInsertType } 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 BankCode, K as BatchInsertType, M as BatchLifecycle, N as BatchPayment, B as BatchSelectType, O as CHARGE_BEARERS, Q as CONNECTOR_KEYS, R as COUNTRY_CODES, S as CREDENTIALS_TYPES, T as ChargeBearer, U as CompletedBatch, C as ConfigEnvironmentBank, V as CountryCode, W as CreatedBatch, X as CredentialsType, d as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, P as PaymentQueueMessage, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, e as ConnectedAccount, c as PaymentType, 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 BatchMetadata, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, a as PaymentRequestSelectType, s as PreparedPayment, u as CompletedPayment, v as PaymentRequestInsertType } from './shared/bank.pgyk4j94.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 BankCode, K as BatchInsertType, M as BatchLifecycle, N as BatchPayment, B as BatchSelectType, O as CHARGE_BEARERS, Q as CONNECTOR_KEYS, R as COUNTRY_CODES, S as CREDENTIALS_TYPES, T as ChargeBearer, U as CompletedBatch, C as ConfigEnvironmentBank, V as CountryCode, W as CreatedBatch, X as CredentialsType, d as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.pgyk4j94.cjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.vPWD7Ce4.cjs';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, P as PaymentQueueMessage, b as SendPaymentSyncInput } from './shared/bank.vPWD7Ce4.cjs';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BP_3WMIF.cjs';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, e as ConnectedAccount, c as PaymentType, 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 BatchMetadata, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, a as PaymentRequestSelectType, s as PreparedPayment, u as CompletedPayment, v as PaymentRequestInsertType } 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 BankCode, K as BatchInsertType, M as BatchLifecycle, N as BatchPayment, B as BatchSelectType, O as CHARGE_BEARERS, Q as CONNECTOR_KEYS, R as COUNTRY_CODES, S as CREDENTIALS_TYPES, T as ChargeBearer, U as CompletedBatch, C as ConfigEnvironmentBank, V as CountryCode, W as CreatedBatch, X as CredentialsType, d as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, P as PaymentQueueMessage, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, e as ConnectedAccount, c as PaymentType, 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 BatchMetadata, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, a as PaymentRequestSelectType, s as PreparedPayment, u as CompletedPayment, v as PaymentRequestInsertType } from './shared/bank.pgyk4j94.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 BankCode, K as BatchInsertType, M as BatchLifecycle, N as BatchPayment, B as BatchSelectType, O as CHARGE_BEARERS, Q as CONNECTOR_KEYS, R as COUNTRY_CODES, S as CREDENTIALS_TYPES, T as ChargeBearer, U as CompletedBatch, C as ConfigEnvironmentBank, V as CountryCode, W as CreatedBatch, X as CredentialsType, d as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.pgyk4j94.mjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.CwuH4spB.mjs';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, P as PaymentQueueMessage, b as SendPaymentSyncInput } from './shared/bank.CwuH4spB.mjs';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BP_3WMIF.mjs';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, e as ConnectedAccount, c as PaymentType, 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 BatchMetadata, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, a as PaymentRequestSelectType, s as PreparedPayment, u as CompletedPayment, v as PaymentRequestInsertType } 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 BankCode, K as BatchInsertType, M as BatchLifecycle, N as BatchPayment, B as BatchSelectType, O as CHARGE_BEARERS, Q as CONNECTOR_KEYS, R as COUNTRY_CODES, S as CREDENTIALS_TYPES, T as ChargeBearer, U as CompletedBatch, C as ConfigEnvironmentBank, V as CountryCode, W as CreatedBatch, X as CredentialsType, d as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, P as PaymentQueueMessage, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, e as ConnectedAccount, c as PaymentType, 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 BatchMetadata, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, a as PaymentRequestSelectType, s as PreparedPayment, u as CompletedPayment, v as PaymentRequestInsertType } from './shared/bank.pgyk4j94.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 BankCode, K as BatchInsertType, M as BatchLifecycle, N as BatchPayment, B as BatchSelectType, O as CHARGE_BEARERS, Q as CONNECTOR_KEYS, R as COUNTRY_CODES, S as CREDENTIALS_TYPES, T as ChargeBearer, U as CompletedBatch, C as ConfigEnvironmentBank, V as CountryCode, W as CreatedBatch, X as CredentialsType, d as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.pgyk4j94.js';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.CHQ3VSEh.js';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, P as PaymentQueueMessage, b as SendPaymentSyncInput } from './shared/bank.CHQ3VSEh.js';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BP_3WMIF.js';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|