@develit-services/bank 3.0.1 → 4.0.0
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.d.cts +16 -16
- package/dist/export/worker.d.mts +16 -16
- package/dist/export/worker.d.ts +16 -16
- package/dist/export/wrangler.cjs +8 -22
- package/dist/export/wrangler.d.cts +3 -3
- package/dist/export/wrangler.d.mts +3 -3
- package/dist/export/wrangler.d.ts +3 -3
- package/dist/export/wrangler.mjs +8 -22
- package/dist/shared/{bank.BUgy8rcb.d.mts → bank.BGZ_RQHW.d.cts} +1 -1
- package/dist/shared/{bank.DR02_AJ7.d.cts → bank.BXMgOZmB.d.cts} +3 -3
- package/dist/shared/{bank.DR02_AJ7.d.mts → bank.BXMgOZmB.d.mts} +3 -3
- package/dist/shared/{bank.DR02_AJ7.d.ts → bank.BXMgOZmB.d.ts} +3 -3
- package/dist/shared/{bank.C6sLje8B.d.ts → bank.BydmpvCs.d.cts} +19 -28
- package/dist/shared/{bank.C6sLje8B.d.cts → bank.BydmpvCs.d.mts} +19 -28
- package/dist/shared/{bank.C6sLje8B.d.mts → bank.BydmpvCs.d.ts} +19 -28
- package/dist/shared/{bank.2M66Yx-J.d.ts → bank.CVlQjnAl.d.ts} +1 -1
- package/dist/shared/{bank.CVPVkitI.d.cts → bank.DDoo3Iz3.d.mts} +1 -1
- package/dist/types.d.cts +5 -5
- package/dist/types.d.mts +5 -5
- package/dist/types.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aA as account, aB as accountCredentials, aC as batch, aD as ott, aE as payment, aF as paymentRequest } from '../shared/bank.
|
|
1
|
+
export { aA as account, aB as accountCredentials, aC as batch, aD as ott, aE as payment, aF as paymentRequest } from '../shared/bank.BXMgOZmB.cjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aA as account, aB as accountCredentials, aC as batch, aD as ott, aE as payment, aF as paymentRequest } from '../shared/bank.
|
|
1
|
+
export { aA as account, aB as accountCredentials, aC as batch, aD as ott, aE as payment, aF as paymentRequest } from '../shared/bank.BXMgOZmB.mjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aA as account, aB as accountCredentials, aC as batch, aD as ott, aE as payment, aF as paymentRequest } from '../shared/bank.
|
|
1
|
+
export { aA as account, aB as accountCredentials, aC as batch, aD as ott, aE as payment, aF as paymentRequest } from '../shared/bank.BXMgOZmB.js';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as drizzle_orm from 'drizzle-orm';
|
|
2
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, b as ConfigEnvironmentBank, t as tables, c as ConnectorKey, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
3
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
2
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, b as ConfigEnvironmentBank, t as tables, c as ConnectorKey, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from '../shared/bank.BXMgOZmB.cjs';
|
|
3
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.BGZ_RQHW.cjs';
|
|
4
4
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
6
6
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -2703,15 +2703,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2703
2703
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2704
2704
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2705
2705
|
AUTHORIZED: "AUTHORIZED";
|
|
2706
|
-
COMPLETED: "COMPLETED";
|
|
2707
2706
|
PROCESSING: "PROCESSING";
|
|
2708
2707
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2708
|
+
COMPLETED: "COMPLETED";
|
|
2709
2709
|
FAILED: "FAILED";
|
|
2710
2710
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2711
2711
|
AUTHORIZED: "AUTHORIZED";
|
|
2712
|
-
COMPLETED: "COMPLETED";
|
|
2713
2712
|
PROCESSING: "PROCESSING";
|
|
2714
2713
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2714
|
+
COMPLETED: "COMPLETED";
|
|
2715
2715
|
FAILED: "FAILED";
|
|
2716
2716
|
}>>]>>;
|
|
2717
2717
|
}, z.core.$strip>;
|
|
@@ -2817,9 +2817,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2817
2817
|
limit: z.ZodNumber;
|
|
2818
2818
|
sort: z.ZodObject<{
|
|
2819
2819
|
column: z.ZodEnum<{
|
|
2820
|
-
amount: "amount";
|
|
2821
2820
|
createdAt: "createdAt";
|
|
2822
2821
|
updatedAt: "updatedAt";
|
|
2822
|
+
amount: "amount";
|
|
2823
2823
|
}>;
|
|
2824
2824
|
direction: z.ZodEnum<{
|
|
2825
2825
|
asc: "asc";
|
|
@@ -2948,20 +2948,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2948
2948
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2949
2949
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2950
2950
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2951
|
-
BOOKED: "BOOKED";
|
|
2952
|
-
REJECTED: "REJECTED";
|
|
2953
|
-
PENDING: "PENDING";
|
|
2954
2951
|
PROCESSING: "PROCESSING";
|
|
2952
|
+
PENDING: "PENDING";
|
|
2953
|
+
BOOKED: "BOOKED";
|
|
2955
2954
|
CANCELLED: "CANCELLED";
|
|
2955
|
+
REJECTED: "REJECTED";
|
|
2956
2956
|
SCHEDULED: "SCHEDULED";
|
|
2957
2957
|
HOLD: "HOLD";
|
|
2958
2958
|
INFO: "INFO";
|
|
2959
2959
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2960
|
-
BOOKED: "BOOKED";
|
|
2961
|
-
REJECTED: "REJECTED";
|
|
2962
|
-
PENDING: "PENDING";
|
|
2963
2960
|
PROCESSING: "PROCESSING";
|
|
2961
|
+
PENDING: "PENDING";
|
|
2962
|
+
BOOKED: "BOOKED";
|
|
2964
2963
|
CANCELLED: "CANCELLED";
|
|
2964
|
+
REJECTED: "REJECTED";
|
|
2965
2965
|
SCHEDULED: "SCHEDULED";
|
|
2966
2966
|
HOLD: "HOLD";
|
|
2967
2967
|
INFO: "INFO";
|
|
@@ -3585,9 +3585,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3585
3585
|
limit: z.ZodNumber;
|
|
3586
3586
|
sort: z.ZodObject<{
|
|
3587
3587
|
column: z.ZodEnum<{
|
|
3588
|
-
amount: "amount";
|
|
3589
3588
|
createdAt: "createdAt";
|
|
3590
3589
|
updatedAt: "updatedAt";
|
|
3590
|
+
amount: "amount";
|
|
3591
3591
|
}>;
|
|
3592
3592
|
direction: z.ZodEnum<{
|
|
3593
3593
|
asc: "asc";
|
|
@@ -3596,20 +3596,20 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3596
3596
|
}, z.core.$strip>;
|
|
3597
3597
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3598
3598
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3599
|
-
OPENED: "OPENED";
|
|
3600
3599
|
AUTHORIZED: "AUTHORIZED";
|
|
3601
3600
|
COMPLETED: "COMPLETED";
|
|
3602
3601
|
BOOKED: "BOOKED";
|
|
3603
|
-
SETTLED: "SETTLED";
|
|
3604
3602
|
REJECTED: "REJECTED";
|
|
3603
|
+
OPENED: "OPENED";
|
|
3604
|
+
SETTLED: "SETTLED";
|
|
3605
3605
|
CLOSED: "CLOSED";
|
|
3606
3606
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3607
|
-
OPENED: "OPENED";
|
|
3608
3607
|
AUTHORIZED: "AUTHORIZED";
|
|
3609
3608
|
COMPLETED: "COMPLETED";
|
|
3610
3609
|
BOOKED: "BOOKED";
|
|
3611
|
-
SETTLED: "SETTLED";
|
|
3612
3610
|
REJECTED: "REJECTED";
|
|
3611
|
+
OPENED: "OPENED";
|
|
3612
|
+
SETTLED: "SETTLED";
|
|
3613
3613
|
CLOSED: "CLOSED";
|
|
3614
3614
|
}>>]>>;
|
|
3615
3615
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as drizzle_orm from 'drizzle-orm';
|
|
2
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, b as ConfigEnvironmentBank, t as tables, c as ConnectorKey, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
3
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
2
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, b as ConfigEnvironmentBank, t as tables, c as ConnectorKey, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from '../shared/bank.BXMgOZmB.mjs';
|
|
3
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.DDoo3Iz3.mjs';
|
|
4
4
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
6
6
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -2703,15 +2703,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2703
2703
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2704
2704
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2705
2705
|
AUTHORIZED: "AUTHORIZED";
|
|
2706
|
-
COMPLETED: "COMPLETED";
|
|
2707
2706
|
PROCESSING: "PROCESSING";
|
|
2708
2707
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2708
|
+
COMPLETED: "COMPLETED";
|
|
2709
2709
|
FAILED: "FAILED";
|
|
2710
2710
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2711
2711
|
AUTHORIZED: "AUTHORIZED";
|
|
2712
|
-
COMPLETED: "COMPLETED";
|
|
2713
2712
|
PROCESSING: "PROCESSING";
|
|
2714
2713
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2714
|
+
COMPLETED: "COMPLETED";
|
|
2715
2715
|
FAILED: "FAILED";
|
|
2716
2716
|
}>>]>>;
|
|
2717
2717
|
}, z.core.$strip>;
|
|
@@ -2817,9 +2817,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2817
2817
|
limit: z.ZodNumber;
|
|
2818
2818
|
sort: z.ZodObject<{
|
|
2819
2819
|
column: z.ZodEnum<{
|
|
2820
|
-
amount: "amount";
|
|
2821
2820
|
createdAt: "createdAt";
|
|
2822
2821
|
updatedAt: "updatedAt";
|
|
2822
|
+
amount: "amount";
|
|
2823
2823
|
}>;
|
|
2824
2824
|
direction: z.ZodEnum<{
|
|
2825
2825
|
asc: "asc";
|
|
@@ -2948,20 +2948,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2948
2948
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2949
2949
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2950
2950
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2951
|
-
BOOKED: "BOOKED";
|
|
2952
|
-
REJECTED: "REJECTED";
|
|
2953
|
-
PENDING: "PENDING";
|
|
2954
2951
|
PROCESSING: "PROCESSING";
|
|
2952
|
+
PENDING: "PENDING";
|
|
2953
|
+
BOOKED: "BOOKED";
|
|
2955
2954
|
CANCELLED: "CANCELLED";
|
|
2955
|
+
REJECTED: "REJECTED";
|
|
2956
2956
|
SCHEDULED: "SCHEDULED";
|
|
2957
2957
|
HOLD: "HOLD";
|
|
2958
2958
|
INFO: "INFO";
|
|
2959
2959
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2960
|
-
BOOKED: "BOOKED";
|
|
2961
|
-
REJECTED: "REJECTED";
|
|
2962
|
-
PENDING: "PENDING";
|
|
2963
2960
|
PROCESSING: "PROCESSING";
|
|
2961
|
+
PENDING: "PENDING";
|
|
2962
|
+
BOOKED: "BOOKED";
|
|
2964
2963
|
CANCELLED: "CANCELLED";
|
|
2964
|
+
REJECTED: "REJECTED";
|
|
2965
2965
|
SCHEDULED: "SCHEDULED";
|
|
2966
2966
|
HOLD: "HOLD";
|
|
2967
2967
|
INFO: "INFO";
|
|
@@ -3585,9 +3585,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3585
3585
|
limit: z.ZodNumber;
|
|
3586
3586
|
sort: z.ZodObject<{
|
|
3587
3587
|
column: z.ZodEnum<{
|
|
3588
|
-
amount: "amount";
|
|
3589
3588
|
createdAt: "createdAt";
|
|
3590
3589
|
updatedAt: "updatedAt";
|
|
3590
|
+
amount: "amount";
|
|
3591
3591
|
}>;
|
|
3592
3592
|
direction: z.ZodEnum<{
|
|
3593
3593
|
asc: "asc";
|
|
@@ -3596,20 +3596,20 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3596
3596
|
}, z.core.$strip>;
|
|
3597
3597
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3598
3598
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3599
|
-
OPENED: "OPENED";
|
|
3600
3599
|
AUTHORIZED: "AUTHORIZED";
|
|
3601
3600
|
COMPLETED: "COMPLETED";
|
|
3602
3601
|
BOOKED: "BOOKED";
|
|
3603
|
-
SETTLED: "SETTLED";
|
|
3604
3602
|
REJECTED: "REJECTED";
|
|
3603
|
+
OPENED: "OPENED";
|
|
3604
|
+
SETTLED: "SETTLED";
|
|
3605
3605
|
CLOSED: "CLOSED";
|
|
3606
3606
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3607
|
-
OPENED: "OPENED";
|
|
3608
3607
|
AUTHORIZED: "AUTHORIZED";
|
|
3609
3608
|
COMPLETED: "COMPLETED";
|
|
3610
3609
|
BOOKED: "BOOKED";
|
|
3611
|
-
SETTLED: "SETTLED";
|
|
3612
3610
|
REJECTED: "REJECTED";
|
|
3611
|
+
OPENED: "OPENED";
|
|
3612
|
+
SETTLED: "SETTLED";
|
|
3613
3613
|
CLOSED: "CLOSED";
|
|
3614
3614
|
}>>]>>;
|
|
3615
3615
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as drizzle_orm from 'drizzle-orm';
|
|
2
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, b as ConfigEnvironmentBank, t as tables, c as ConnectorKey, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
3
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
2
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, b as ConfigEnvironmentBank, t as tables, c as ConnectorKey, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from '../shared/bank.BXMgOZmB.js';
|
|
3
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.CVlQjnAl.js';
|
|
4
4
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
6
6
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -2703,15 +2703,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2703
2703
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2704
2704
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2705
2705
|
AUTHORIZED: "AUTHORIZED";
|
|
2706
|
-
COMPLETED: "COMPLETED";
|
|
2707
2706
|
PROCESSING: "PROCESSING";
|
|
2708
2707
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2708
|
+
COMPLETED: "COMPLETED";
|
|
2709
2709
|
FAILED: "FAILED";
|
|
2710
2710
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2711
2711
|
AUTHORIZED: "AUTHORIZED";
|
|
2712
|
-
COMPLETED: "COMPLETED";
|
|
2713
2712
|
PROCESSING: "PROCESSING";
|
|
2714
2713
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2714
|
+
COMPLETED: "COMPLETED";
|
|
2715
2715
|
FAILED: "FAILED";
|
|
2716
2716
|
}>>]>>;
|
|
2717
2717
|
}, z.core.$strip>;
|
|
@@ -2817,9 +2817,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2817
2817
|
limit: z.ZodNumber;
|
|
2818
2818
|
sort: z.ZodObject<{
|
|
2819
2819
|
column: z.ZodEnum<{
|
|
2820
|
-
amount: "amount";
|
|
2821
2820
|
createdAt: "createdAt";
|
|
2822
2821
|
updatedAt: "updatedAt";
|
|
2822
|
+
amount: "amount";
|
|
2823
2823
|
}>;
|
|
2824
2824
|
direction: z.ZodEnum<{
|
|
2825
2825
|
asc: "asc";
|
|
@@ -2948,20 +2948,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2948
2948
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2949
2949
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2950
2950
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2951
|
-
BOOKED: "BOOKED";
|
|
2952
|
-
REJECTED: "REJECTED";
|
|
2953
|
-
PENDING: "PENDING";
|
|
2954
2951
|
PROCESSING: "PROCESSING";
|
|
2952
|
+
PENDING: "PENDING";
|
|
2953
|
+
BOOKED: "BOOKED";
|
|
2955
2954
|
CANCELLED: "CANCELLED";
|
|
2955
|
+
REJECTED: "REJECTED";
|
|
2956
2956
|
SCHEDULED: "SCHEDULED";
|
|
2957
2957
|
HOLD: "HOLD";
|
|
2958
2958
|
INFO: "INFO";
|
|
2959
2959
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2960
|
-
BOOKED: "BOOKED";
|
|
2961
|
-
REJECTED: "REJECTED";
|
|
2962
|
-
PENDING: "PENDING";
|
|
2963
2960
|
PROCESSING: "PROCESSING";
|
|
2961
|
+
PENDING: "PENDING";
|
|
2962
|
+
BOOKED: "BOOKED";
|
|
2964
2963
|
CANCELLED: "CANCELLED";
|
|
2964
|
+
REJECTED: "REJECTED";
|
|
2965
2965
|
SCHEDULED: "SCHEDULED";
|
|
2966
2966
|
HOLD: "HOLD";
|
|
2967
2967
|
INFO: "INFO";
|
|
@@ -3585,9 +3585,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3585
3585
|
limit: z.ZodNumber;
|
|
3586
3586
|
sort: z.ZodObject<{
|
|
3587
3587
|
column: z.ZodEnum<{
|
|
3588
|
-
amount: "amount";
|
|
3589
3588
|
createdAt: "createdAt";
|
|
3590
3589
|
updatedAt: "updatedAt";
|
|
3590
|
+
amount: "amount";
|
|
3591
3591
|
}>;
|
|
3592
3592
|
direction: z.ZodEnum<{
|
|
3593
3593
|
asc: "asc";
|
|
@@ -3596,20 +3596,20 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3596
3596
|
}, z.core.$strip>;
|
|
3597
3597
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3598
3598
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3599
|
-
OPENED: "OPENED";
|
|
3600
3599
|
AUTHORIZED: "AUTHORIZED";
|
|
3601
3600
|
COMPLETED: "COMPLETED";
|
|
3602
3601
|
BOOKED: "BOOKED";
|
|
3603
|
-
SETTLED: "SETTLED";
|
|
3604
3602
|
REJECTED: "REJECTED";
|
|
3603
|
+
OPENED: "OPENED";
|
|
3604
|
+
SETTLED: "SETTLED";
|
|
3605
3605
|
CLOSED: "CLOSED";
|
|
3606
3606
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3607
|
-
OPENED: "OPENED";
|
|
3608
3607
|
AUTHORIZED: "AUTHORIZED";
|
|
3609
3608
|
COMPLETED: "COMPLETED";
|
|
3610
3609
|
BOOKED: "BOOKED";
|
|
3611
|
-
SETTLED: "SETTLED";
|
|
3612
3610
|
REJECTED: "REJECTED";
|
|
3611
|
+
OPENED: "OPENED";
|
|
3612
|
+
SETTLED: "SETTLED";
|
|
3613
3613
|
CLOSED: "CLOSED";
|
|
3614
3614
|
}>>]>>;
|
|
3615
3615
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
package/dist/export/wrangler.cjs
CHANGED
|
@@ -3,16 +3,15 @@
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
4
|
|
|
5
5
|
function defineBankServiceWrangler(config) {
|
|
6
|
-
const { project, name, d1,
|
|
6
|
+
const { project, name, vars, d1, triggers, kv, queues } = config;
|
|
7
7
|
const base = {
|
|
8
8
|
...backendSdk.composeWranglerBase({
|
|
9
9
|
project,
|
|
10
10
|
name
|
|
11
11
|
}),
|
|
12
12
|
vars: {
|
|
13
|
-
|
|
14
|
-
...
|
|
15
|
-
ENVIRONMENT: "localhost"
|
|
13
|
+
ENVIRONMENT: "localhost",
|
|
14
|
+
...vars
|
|
16
15
|
},
|
|
17
16
|
services: [
|
|
18
17
|
{
|
|
@@ -20,11 +19,11 @@ function defineBankServiceWrangler(config) {
|
|
|
20
19
|
service: `${project}-secrets-store`
|
|
21
20
|
}
|
|
22
21
|
],
|
|
23
|
-
triggers
|
|
22
|
+
triggers,
|
|
24
23
|
kv_namespaces: [
|
|
25
24
|
{
|
|
26
25
|
binding: "BANK_KV",
|
|
27
|
-
id:
|
|
26
|
+
id: kv.id
|
|
28
27
|
}
|
|
29
28
|
],
|
|
30
29
|
d1_databases: [
|
|
@@ -60,29 +59,16 @@ function defineBankServiceWrangler(config) {
|
|
|
60
59
|
queues: {
|
|
61
60
|
producers: [
|
|
62
61
|
{
|
|
63
|
-
binding:
|
|
64
|
-
queue: `${project}-${
|
|
62
|
+
binding: queues.producers.bus.binding,
|
|
63
|
+
queue: `${project}-${queues.producers.bus.queue}`
|
|
65
64
|
},
|
|
66
65
|
{
|
|
67
66
|
binding: "NOTIFICATIONS_QUEUE",
|
|
68
67
|
queue: `${project}-notifications`
|
|
69
68
|
}
|
|
70
69
|
]
|
|
71
|
-
}
|
|
72
|
-
env: {}
|
|
70
|
+
}
|
|
73
71
|
};
|
|
74
|
-
for (const [envName, envCfg] of Object.entries(envs).filter(
|
|
75
|
-
([key]) => key !== "local"
|
|
76
|
-
)) {
|
|
77
|
-
base.env[envName] = {
|
|
78
|
-
vars: {
|
|
79
|
-
...envCfg.customVars,
|
|
80
|
-
...envCfg.vars,
|
|
81
|
-
ENVIRONMENT: envName
|
|
82
|
-
},
|
|
83
|
-
triggers: envs.local.triggers
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
72
|
return base;
|
|
87
73
|
}
|
|
88
74
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BankServiceWranglerConfig } from '../shared/bank.
|
|
1
|
+
import { B as BankServiceWranglerConfig } from '../shared/bank.BydmpvCs.cjs';
|
|
2
2
|
|
|
3
3
|
declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
4
4
|
vars: {
|
|
5
|
-
|
|
5
|
+
VERSION: string;
|
|
6
6
|
ERSTE_AUTH_URI: "https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp";
|
|
7
7
|
ERSTE_PAYMENTS_URI: "https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments";
|
|
8
8
|
ERSTE_ACCOUNTS_URI: "https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts";
|
|
@@ -15,6 +15,7 @@ declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
|
15
15
|
DBUCS_APPLICATION_CODE: string;
|
|
16
16
|
DBUCS_TX_AUTH_URI: string;
|
|
17
17
|
REDIRECT_URI: string;
|
|
18
|
+
ENVIRONMENT: string;
|
|
18
19
|
};
|
|
19
20
|
services: {
|
|
20
21
|
binding: string;
|
|
@@ -57,7 +58,6 @@ declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
|
57
58
|
queue: string;
|
|
58
59
|
}[];
|
|
59
60
|
};
|
|
60
|
-
env: Record<string, unknown>;
|
|
61
61
|
$schema: string;
|
|
62
62
|
name: string;
|
|
63
63
|
main: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BankServiceWranglerConfig } from '../shared/bank.
|
|
1
|
+
import { B as BankServiceWranglerConfig } from '../shared/bank.BydmpvCs.mjs';
|
|
2
2
|
|
|
3
3
|
declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
4
4
|
vars: {
|
|
5
|
-
|
|
5
|
+
VERSION: string;
|
|
6
6
|
ERSTE_AUTH_URI: "https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp";
|
|
7
7
|
ERSTE_PAYMENTS_URI: "https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments";
|
|
8
8
|
ERSTE_ACCOUNTS_URI: "https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts";
|
|
@@ -15,6 +15,7 @@ declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
|
15
15
|
DBUCS_APPLICATION_CODE: string;
|
|
16
16
|
DBUCS_TX_AUTH_URI: string;
|
|
17
17
|
REDIRECT_URI: string;
|
|
18
|
+
ENVIRONMENT: string;
|
|
18
19
|
};
|
|
19
20
|
services: {
|
|
20
21
|
binding: string;
|
|
@@ -57,7 +58,6 @@ declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
|
57
58
|
queue: string;
|
|
58
59
|
}[];
|
|
59
60
|
};
|
|
60
|
-
env: Record<string, unknown>;
|
|
61
61
|
$schema: string;
|
|
62
62
|
name: string;
|
|
63
63
|
main: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BankServiceWranglerConfig } from '../shared/bank.
|
|
1
|
+
import { B as BankServiceWranglerConfig } from '../shared/bank.BydmpvCs.js';
|
|
2
2
|
|
|
3
3
|
declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
4
4
|
vars: {
|
|
5
|
-
|
|
5
|
+
VERSION: string;
|
|
6
6
|
ERSTE_AUTH_URI: "https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp";
|
|
7
7
|
ERSTE_PAYMENTS_URI: "https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments";
|
|
8
8
|
ERSTE_ACCOUNTS_URI: "https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts";
|
|
@@ -15,6 +15,7 @@ declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
|
15
15
|
DBUCS_APPLICATION_CODE: string;
|
|
16
16
|
DBUCS_TX_AUTH_URI: string;
|
|
17
17
|
REDIRECT_URI: string;
|
|
18
|
+
ENVIRONMENT: string;
|
|
18
19
|
};
|
|
19
20
|
services: {
|
|
20
21
|
binding: string;
|
|
@@ -57,7 +58,6 @@ declare function defineBankServiceWrangler(config: BankServiceWranglerConfig): {
|
|
|
57
58
|
queue: string;
|
|
58
59
|
}[];
|
|
59
60
|
};
|
|
60
|
-
env: Record<string, unknown>;
|
|
61
61
|
$schema: string;
|
|
62
62
|
name: string;
|
|
63
63
|
main: string;
|
package/dist/export/wrangler.mjs
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { composeWranglerBase } from '@develit-io/backend-sdk';
|
|
2
2
|
|
|
3
3
|
function defineBankServiceWrangler(config) {
|
|
4
|
-
const { project, name, d1,
|
|
4
|
+
const { project, name, vars, d1, triggers, kv, queues } = config;
|
|
5
5
|
const base = {
|
|
6
6
|
...composeWranglerBase({
|
|
7
7
|
project,
|
|
8
8
|
name
|
|
9
9
|
}),
|
|
10
10
|
vars: {
|
|
11
|
-
|
|
12
|
-
...
|
|
13
|
-
ENVIRONMENT: "localhost"
|
|
11
|
+
ENVIRONMENT: "localhost",
|
|
12
|
+
...vars
|
|
14
13
|
},
|
|
15
14
|
services: [
|
|
16
15
|
{
|
|
@@ -18,11 +17,11 @@ function defineBankServiceWrangler(config) {
|
|
|
18
17
|
service: `${project}-secrets-store`
|
|
19
18
|
}
|
|
20
19
|
],
|
|
21
|
-
triggers
|
|
20
|
+
triggers,
|
|
22
21
|
kv_namespaces: [
|
|
23
22
|
{
|
|
24
23
|
binding: "BANK_KV",
|
|
25
|
-
id:
|
|
24
|
+
id: kv.id
|
|
26
25
|
}
|
|
27
26
|
],
|
|
28
27
|
d1_databases: [
|
|
@@ -58,29 +57,16 @@ function defineBankServiceWrangler(config) {
|
|
|
58
57
|
queues: {
|
|
59
58
|
producers: [
|
|
60
59
|
{
|
|
61
|
-
binding:
|
|
62
|
-
queue: `${project}-${
|
|
60
|
+
binding: queues.producers.bus.binding,
|
|
61
|
+
queue: `${project}-${queues.producers.bus.queue}`
|
|
63
62
|
},
|
|
64
63
|
{
|
|
65
64
|
binding: "NOTIFICATIONS_QUEUE",
|
|
66
65
|
queue: `${project}-notifications`
|
|
67
66
|
}
|
|
68
67
|
]
|
|
69
|
-
}
|
|
70
|
-
env: {}
|
|
68
|
+
}
|
|
71
69
|
};
|
|
72
|
-
for (const [envName, envCfg] of Object.entries(envs).filter(
|
|
73
|
-
([key]) => key !== "local"
|
|
74
|
-
)) {
|
|
75
|
-
base.env[envName] = {
|
|
76
|
-
vars: {
|
|
77
|
-
...envCfg.customVars,
|
|
78
|
-
...envCfg.vars,
|
|
79
|
-
ENVIRONMENT: envName
|
|
80
|
-
},
|
|
81
|
-
triggers: envs.local.triggers
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
70
|
return base;
|
|
85
71
|
}
|
|
86
72
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.BXMgOZmB.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -2125,7 +2125,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2125
2125
|
name: string;
|
|
2126
2126
|
tableName: "batch";
|
|
2127
2127
|
dataType: "string enum";
|
|
2128
|
-
data: "AUTHORIZED" | "
|
|
2128
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2129
2129
|
driverParam: string;
|
|
2130
2130
|
notNull: false;
|
|
2131
2131
|
hasDefault: false;
|
|
@@ -2396,7 +2396,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
tableName: "payment";
|
|
2398
2398
|
dataType: "string enum";
|
|
2399
|
-
data: "
|
|
2399
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
2400
2400
|
driverParam: string;
|
|
2401
2401
|
notNull: true;
|
|
2402
2402
|
hasDefault: false;
|
|
@@ -2795,7 +2795,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2795
2795
|
name: string;
|
|
2796
2796
|
tableName: "payment_request";
|
|
2797
2797
|
dataType: "string enum";
|
|
2798
|
-
data: "
|
|
2798
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
2799
2799
|
driverParam: string;
|
|
2800
2800
|
notNull: true;
|
|
2801
2801
|
hasDefault: false;
|
|
@@ -2125,7 +2125,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2125
2125
|
name: string;
|
|
2126
2126
|
tableName: "batch";
|
|
2127
2127
|
dataType: "string enum";
|
|
2128
|
-
data: "AUTHORIZED" | "
|
|
2128
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2129
2129
|
driverParam: string;
|
|
2130
2130
|
notNull: false;
|
|
2131
2131
|
hasDefault: false;
|
|
@@ -2396,7 +2396,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
tableName: "payment";
|
|
2398
2398
|
dataType: "string enum";
|
|
2399
|
-
data: "
|
|
2399
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
2400
2400
|
driverParam: string;
|
|
2401
2401
|
notNull: true;
|
|
2402
2402
|
hasDefault: false;
|
|
@@ -2795,7 +2795,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2795
2795
|
name: string;
|
|
2796
2796
|
tableName: "payment_request";
|
|
2797
2797
|
dataType: "string enum";
|
|
2798
|
-
data: "
|
|
2798
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
2799
2799
|
driverParam: string;
|
|
2800
2800
|
notNull: true;
|
|
2801
2801
|
hasDefault: false;
|
|
@@ -2125,7 +2125,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2125
2125
|
name: string;
|
|
2126
2126
|
tableName: "batch";
|
|
2127
2127
|
dataType: "string enum";
|
|
2128
|
-
data: "AUTHORIZED" | "
|
|
2128
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2129
2129
|
driverParam: string;
|
|
2130
2130
|
notNull: false;
|
|
2131
2131
|
hasDefault: false;
|
|
@@ -2396,7 +2396,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
tableName: "payment";
|
|
2398
2398
|
dataType: "string enum";
|
|
2399
|
-
data: "
|
|
2399
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
2400
2400
|
driverParam: string;
|
|
2401
2401
|
notNull: true;
|
|
2402
2402
|
hasDefault: false;
|
|
@@ -2795,7 +2795,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2795
2795
|
name: string;
|
|
2796
2796
|
tableName: "payment_request";
|
|
2797
2797
|
dataType: "string enum";
|
|
2798
|
-
data: "
|
|
2798
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
2799
2799
|
driverParam: string;
|
|
2800
2800
|
notNull: true;
|
|
2801
2801
|
hasDefault: false;
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max_batch_timeout?: number;
|
|
5
|
-
};
|
|
6
|
-
triggers: {
|
|
7
|
-
crons: string[];
|
|
8
|
-
};
|
|
9
|
-
kv: {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
queues: {
|
|
13
|
-
producers: {
|
|
14
|
-
bus: {
|
|
15
|
-
binding: string;
|
|
16
|
-
queue: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
interface BankServiceWranglerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
name: string;
|
|
20
4
|
vars: {
|
|
5
|
+
VERSION: string;
|
|
21
6
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
22
7
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
23
8
|
ERSTE_ACCOUNTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts';
|
|
@@ -30,21 +15,27 @@ interface BankServiceEnvironmentConfig {
|
|
|
30
15
|
DBUCS_APPLICATION_CODE: string;
|
|
31
16
|
DBUCS_TX_AUTH_URI: string;
|
|
32
17
|
REDIRECT_URI: string;
|
|
18
|
+
[key: string]: string | boolean;
|
|
19
|
+
};
|
|
20
|
+
triggers: {
|
|
21
|
+
crons: string[];
|
|
33
22
|
};
|
|
34
|
-
customVars?: Record<string, string>;
|
|
35
|
-
}
|
|
36
|
-
interface BankServiceWranglerConfig {
|
|
37
|
-
project: string;
|
|
38
|
-
name: string;
|
|
39
23
|
d1: {
|
|
40
24
|
id: string;
|
|
41
25
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
kv: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
queues: {
|
|
30
|
+
producers: {
|
|
31
|
+
bus: {
|
|
32
|
+
binding: string;
|
|
33
|
+
queue: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
47
38
|
interface BankServiceEnv extends BankEnv {
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
export type { BankServiceWranglerConfig as B, BankServiceEnv as a
|
|
41
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a };
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max_batch_timeout?: number;
|
|
5
|
-
};
|
|
6
|
-
triggers: {
|
|
7
|
-
crons: string[];
|
|
8
|
-
};
|
|
9
|
-
kv: {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
queues: {
|
|
13
|
-
producers: {
|
|
14
|
-
bus: {
|
|
15
|
-
binding: string;
|
|
16
|
-
queue: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
interface BankServiceWranglerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
name: string;
|
|
20
4
|
vars: {
|
|
5
|
+
VERSION: string;
|
|
21
6
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
22
7
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
23
8
|
ERSTE_ACCOUNTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts';
|
|
@@ -30,21 +15,27 @@ interface BankServiceEnvironmentConfig {
|
|
|
30
15
|
DBUCS_APPLICATION_CODE: string;
|
|
31
16
|
DBUCS_TX_AUTH_URI: string;
|
|
32
17
|
REDIRECT_URI: string;
|
|
18
|
+
[key: string]: string | boolean;
|
|
19
|
+
};
|
|
20
|
+
triggers: {
|
|
21
|
+
crons: string[];
|
|
33
22
|
};
|
|
34
|
-
customVars?: Record<string, string>;
|
|
35
|
-
}
|
|
36
|
-
interface BankServiceWranglerConfig {
|
|
37
|
-
project: string;
|
|
38
|
-
name: string;
|
|
39
23
|
d1: {
|
|
40
24
|
id: string;
|
|
41
25
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
kv: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
queues: {
|
|
30
|
+
producers: {
|
|
31
|
+
bus: {
|
|
32
|
+
binding: string;
|
|
33
|
+
queue: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
47
38
|
interface BankServiceEnv extends BankEnv {
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
export type { BankServiceWranglerConfig as B, BankServiceEnv as a
|
|
41
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a };
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max_batch_timeout?: number;
|
|
5
|
-
};
|
|
6
|
-
triggers: {
|
|
7
|
-
crons: string[];
|
|
8
|
-
};
|
|
9
|
-
kv: {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
queues: {
|
|
13
|
-
producers: {
|
|
14
|
-
bus: {
|
|
15
|
-
binding: string;
|
|
16
|
-
queue: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
interface BankServiceWranglerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
name: string;
|
|
20
4
|
vars: {
|
|
5
|
+
VERSION: string;
|
|
21
6
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
22
7
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
23
8
|
ERSTE_ACCOUNTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts';
|
|
@@ -30,21 +15,27 @@ interface BankServiceEnvironmentConfig {
|
|
|
30
15
|
DBUCS_APPLICATION_CODE: string;
|
|
31
16
|
DBUCS_TX_AUTH_URI: string;
|
|
32
17
|
REDIRECT_URI: string;
|
|
18
|
+
[key: string]: string | boolean;
|
|
19
|
+
};
|
|
20
|
+
triggers: {
|
|
21
|
+
crons: string[];
|
|
33
22
|
};
|
|
34
|
-
customVars?: Record<string, string>;
|
|
35
|
-
}
|
|
36
|
-
interface BankServiceWranglerConfig {
|
|
37
|
-
project: string;
|
|
38
|
-
name: string;
|
|
39
23
|
d1: {
|
|
40
24
|
id: string;
|
|
41
25
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
kv: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
queues: {
|
|
30
|
+
producers: {
|
|
31
|
+
bus: {
|
|
32
|
+
binding: string;
|
|
33
|
+
queue: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
47
38
|
interface BankServiceEnv extends BankEnv {
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
export type { BankServiceWranglerConfig as B, BankServiceEnv as a
|
|
41
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.BXMgOZmB.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.BXMgOZmB.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } 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, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.BXMgOZmB.cjs';
|
|
2
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } from './shared/bank.BXMgOZmB.cjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BGZ_RQHW.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, b as SendPaymentSyncInput } from './shared/bank.BGZ_RQHW.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
export { a as BankServiceEnv,
|
|
6
|
+
export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.BydmpvCs.cjs';
|
|
7
7
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
8
8
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
9
9
|
import * as drizzle_orm from 'drizzle-orm';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } 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, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.BXMgOZmB.mjs';
|
|
2
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } from './shared/bank.BXMgOZmB.mjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.DDoo3Iz3.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, b as SendPaymentSyncInput } from './shared/bank.DDoo3Iz3.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
export { a as BankServiceEnv,
|
|
6
|
+
export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.BydmpvCs.mjs';
|
|
7
7
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
8
8
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
9
9
|
import * as drizzle_orm from 'drizzle-orm';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } 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, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.BXMgOZmB.js';
|
|
2
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } from './shared/bank.BXMgOZmB.js';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.CVlQjnAl.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, b as SendPaymentSyncInput } from './shared/bank.CVlQjnAl.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
export { a as BankServiceEnv,
|
|
6
|
+
export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.BydmpvCs.js';
|
|
7
7
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
8
8
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
9
9
|
import * as drizzle_orm from 'drizzle-orm';
|