@develit-services/bank 5.0.0 → 5.0.1

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/base.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, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.Do1KUeDr.cjs';
3
- import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.C-edstpR.cjs';
2
+ import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.BJTq7Qw9.cjs';
3
+ import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.wFDtecu7.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";
2706
2707
  PROCESSING: "PROCESSING";
2707
2708
  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";
2712
2713
  PROCESSING: "PROCESSING";
2713
2714
  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";
2820
2821
  createdAt: "createdAt";
2821
2822
  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
- PROCESSING: "PROCESSING";
2952
- PENDING: "PENDING";
2953
2951
  BOOKED: "BOOKED";
2954
- CANCELLED: "CANCELLED";
2955
2952
  REJECTED: "REJECTED";
2953
+ PENDING: "PENDING";
2954
+ PROCESSING: "PROCESSING";
2955
+ CANCELLED: "CANCELLED";
2956
2956
  SCHEDULED: "SCHEDULED";
2957
2957
  HOLD: "HOLD";
2958
2958
  INFO: "INFO";
2959
2959
  }>, z.ZodArray<z.ZodEnum<{
2960
- PROCESSING: "PROCESSING";
2961
- PENDING: "PENDING";
2962
2960
  BOOKED: "BOOKED";
2963
- CANCELLED: "CANCELLED";
2964
2961
  REJECTED: "REJECTED";
2962
+ PENDING: "PENDING";
2963
+ PROCESSING: "PROCESSING";
2964
+ CANCELLED: "CANCELLED";
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";
3588
3589
  createdAt: "createdAt";
3589
3590
  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";
3599
3600
  AUTHORIZED: "AUTHORIZED";
3600
3601
  COMPLETED: "COMPLETED";
3601
3602
  BOOKED: "BOOKED";
3602
- REJECTED: "REJECTED";
3603
- OPENED: "OPENED";
3604
3603
  SETTLED: "SETTLED";
3604
+ REJECTED: "REJECTED";
3605
3605
  CLOSED: "CLOSED";
3606
3606
  }>, z.ZodArray<z.ZodEnum<{
3607
+ OPENED: "OPENED";
3607
3608
  AUTHORIZED: "AUTHORIZED";
3608
3609
  COMPLETED: "COMPLETED";
3609
3610
  BOOKED: "BOOKED";
3610
- REJECTED: "REJECTED";
3611
- OPENED: "OPENED";
3612
3611
  SETTLED: "SETTLED";
3612
+ REJECTED: "REJECTED";
3613
3613
  CLOSED: "CLOSED";
3614
3614
  }>>]>>;
3615
3615
  filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
package/dist/base.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, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.Do1KUeDr.mjs';
3
- import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.C6BQDtpF.mjs';
2
+ import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.BJTq7Qw9.mjs';
3
+ import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.DXU-wqnl.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";
2706
2707
  PROCESSING: "PROCESSING";
2707
2708
  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";
2712
2713
  PROCESSING: "PROCESSING";
2713
2714
  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";
2820
2821
  createdAt: "createdAt";
2821
2822
  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
- PROCESSING: "PROCESSING";
2952
- PENDING: "PENDING";
2953
2951
  BOOKED: "BOOKED";
2954
- CANCELLED: "CANCELLED";
2955
2952
  REJECTED: "REJECTED";
2953
+ PENDING: "PENDING";
2954
+ PROCESSING: "PROCESSING";
2955
+ CANCELLED: "CANCELLED";
2956
2956
  SCHEDULED: "SCHEDULED";
2957
2957
  HOLD: "HOLD";
2958
2958
  INFO: "INFO";
2959
2959
  }>, z.ZodArray<z.ZodEnum<{
2960
- PROCESSING: "PROCESSING";
2961
- PENDING: "PENDING";
2962
2960
  BOOKED: "BOOKED";
2963
- CANCELLED: "CANCELLED";
2964
2961
  REJECTED: "REJECTED";
2962
+ PENDING: "PENDING";
2963
+ PROCESSING: "PROCESSING";
2964
+ CANCELLED: "CANCELLED";
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";
3588
3589
  createdAt: "createdAt";
3589
3590
  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";
3599
3600
  AUTHORIZED: "AUTHORIZED";
3600
3601
  COMPLETED: "COMPLETED";
3601
3602
  BOOKED: "BOOKED";
3602
- REJECTED: "REJECTED";
3603
- OPENED: "OPENED";
3604
3603
  SETTLED: "SETTLED";
3604
+ REJECTED: "REJECTED";
3605
3605
  CLOSED: "CLOSED";
3606
3606
  }>, z.ZodArray<z.ZodEnum<{
3607
+ OPENED: "OPENED";
3607
3608
  AUTHORIZED: "AUTHORIZED";
3608
3609
  COMPLETED: "COMPLETED";
3609
3610
  BOOKED: "BOOKED";
3610
- REJECTED: "REJECTED";
3611
- OPENED: "OPENED";
3612
3611
  SETTLED: "SETTLED";
3612
+ REJECTED: "REJECTED";
3613
3613
  CLOSED: "CLOSED";
3614
3614
  }>>]>>;
3615
3615
  filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
package/dist/base.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, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.Do1KUeDr.js';
3
- import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.pZQAWlIB.js';
2
+ import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.BJTq7Qw9.js';
3
+ import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.JAN0kymF.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";
2706
2707
  PROCESSING: "PROCESSING";
2707
2708
  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";
2712
2713
  PROCESSING: "PROCESSING";
2713
2714
  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";
2820
2821
  createdAt: "createdAt";
2821
2822
  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
- PROCESSING: "PROCESSING";
2952
- PENDING: "PENDING";
2953
2951
  BOOKED: "BOOKED";
2954
- CANCELLED: "CANCELLED";
2955
2952
  REJECTED: "REJECTED";
2953
+ PENDING: "PENDING";
2954
+ PROCESSING: "PROCESSING";
2955
+ CANCELLED: "CANCELLED";
2956
2956
  SCHEDULED: "SCHEDULED";
2957
2957
  HOLD: "HOLD";
2958
2958
  INFO: "INFO";
2959
2959
  }>, z.ZodArray<z.ZodEnum<{
2960
- PROCESSING: "PROCESSING";
2961
- PENDING: "PENDING";
2962
2960
  BOOKED: "BOOKED";
2963
- CANCELLED: "CANCELLED";
2964
2961
  REJECTED: "REJECTED";
2962
+ PENDING: "PENDING";
2963
+ PROCESSING: "PROCESSING";
2964
+ CANCELLED: "CANCELLED";
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";
3588
3589
  createdAt: "createdAt";
3589
3590
  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";
3599
3600
  AUTHORIZED: "AUTHORIZED";
3600
3601
  COMPLETED: "COMPLETED";
3601
3602
  BOOKED: "BOOKED";
3602
- REJECTED: "REJECTED";
3603
- OPENED: "OPENED";
3604
3603
  SETTLED: "SETTLED";
3604
+ REJECTED: "REJECTED";
3605
3605
  CLOSED: "CLOSED";
3606
3606
  }>, z.ZodArray<z.ZodEnum<{
3607
+ OPENED: "OPENED";
3607
3608
  AUTHORIZED: "AUTHORIZED";
3608
3609
  COMPLETED: "COMPLETED";
3609
3610
  BOOKED: "BOOKED";
3610
- REJECTED: "REJECTED";
3611
- OPENED: "OPENED";
3612
3611
  SETTLED: "SETTLED";
3612
+ REJECTED: "REJECTED";
3613
3613
  CLOSED: "CLOSED";
3614
3614
  }>>]>>;
3615
3615
  filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1,4 +1,4 @@
1
- export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.Do1KUeDr.cjs';
1
+ export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.BJTq7Qw9.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 { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.Do1KUeDr.mjs';
1
+ export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.BJTq7Qw9.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 { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.Do1KUeDr.js';
1
+ export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.BJTq7Qw9.js';
2
2
  import 'drizzle-orm';
3
3
  import 'drizzle-orm/sqlite-core';
4
4
  import '@develit-io/general-codes';
package/dist/service.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  const serviceConfig = require('@develit-io/platform-sdk/service-config');
4
4
 
5
5
  const BANK_SERVICE_BINDINGS = {
6
- SECRETS_STORE: { kind: "service", target: "secrets-store" },
6
+ SECRETS_STORE: { kind: "service", target: "secrets-store", bare: true },
7
7
  BANK_KV: { kind: "kv", suffix: "bank" },
8
8
  BANK_D1: { kind: "d1", suffix: "bank" },
9
9
  QUEUE_BUS_QUEUE: { kind: "queueProducer", suffix: "queue-bus" },
@@ -23,6 +23,7 @@ declare const BANK_SERVICE_BINDINGS: {
23
23
  readonly SECRETS_STORE: {
24
24
  readonly kind: "service";
25
25
  readonly target: "secrets-store";
26
+ readonly bare: true;
26
27
  };
27
28
  readonly BANK_KV: {
28
29
  readonly kind: "kv";
@@ -62,6 +63,7 @@ declare const baseBankServiceConfig: (project: string, version: string, options?
62
63
  readonly SECRETS_STORE: {
63
64
  readonly kind: "service";
64
65
  readonly target: "secrets-store";
66
+ readonly bare: true;
65
67
  };
66
68
  readonly BANK_KV: {
67
69
  readonly kind: "kv";
@@ -100,6 +102,7 @@ declare const baseBankServiceConfig: (project: string, version: string, options?
100
102
  readonly SECRETS_STORE: {
101
103
  readonly kind: "service";
102
104
  readonly target: "secrets-store";
105
+ readonly bare: true;
103
106
  };
104
107
  readonly BANK_KV: {
105
108
  readonly kind: "kv";
@@ -142,6 +145,7 @@ declare function bankServiceConfig(project: string, version: string, options?: P
142
145
  readonly SECRETS_STORE: {
143
146
  readonly kind: "service";
144
147
  readonly target: "secrets-store";
148
+ readonly bare: true;
145
149
  };
146
150
  readonly BANK_KV: {
147
151
  readonly kind: "kv";
@@ -182,6 +186,7 @@ declare function bankServiceConfig(project: string, version: string, options?: P
182
186
  readonly SECRETS_STORE: {
183
187
  readonly kind: "service";
184
188
  readonly target: "secrets-store";
189
+ readonly bare: true;
185
190
  };
186
191
  readonly BANK_KV: {
187
192
  readonly kind: "kv";
@@ -23,6 +23,7 @@ declare const BANK_SERVICE_BINDINGS: {
23
23
  readonly SECRETS_STORE: {
24
24
  readonly kind: "service";
25
25
  readonly target: "secrets-store";
26
+ readonly bare: true;
26
27
  };
27
28
  readonly BANK_KV: {
28
29
  readonly kind: "kv";
@@ -62,6 +63,7 @@ declare const baseBankServiceConfig: (project: string, version: string, options?
62
63
  readonly SECRETS_STORE: {
63
64
  readonly kind: "service";
64
65
  readonly target: "secrets-store";
66
+ readonly bare: true;
65
67
  };
66
68
  readonly BANK_KV: {
67
69
  readonly kind: "kv";
@@ -100,6 +102,7 @@ declare const baseBankServiceConfig: (project: string, version: string, options?
100
102
  readonly SECRETS_STORE: {
101
103
  readonly kind: "service";
102
104
  readonly target: "secrets-store";
105
+ readonly bare: true;
103
106
  };
104
107
  readonly BANK_KV: {
105
108
  readonly kind: "kv";
@@ -142,6 +145,7 @@ declare function bankServiceConfig(project: string, version: string, options?: P
142
145
  readonly SECRETS_STORE: {
143
146
  readonly kind: "service";
144
147
  readonly target: "secrets-store";
148
+ readonly bare: true;
145
149
  };
146
150
  readonly BANK_KV: {
147
151
  readonly kind: "kv";
@@ -182,6 +186,7 @@ declare function bankServiceConfig(project: string, version: string, options?: P
182
186
  readonly SECRETS_STORE: {
183
187
  readonly kind: "service";
184
188
  readonly target: "secrets-store";
189
+ readonly bare: true;
185
190
  };
186
191
  readonly BANK_KV: {
187
192
  readonly kind: "kv";
package/dist/service.d.ts CHANGED
@@ -23,6 +23,7 @@ declare const BANK_SERVICE_BINDINGS: {
23
23
  readonly SECRETS_STORE: {
24
24
  readonly kind: "service";
25
25
  readonly target: "secrets-store";
26
+ readonly bare: true;
26
27
  };
27
28
  readonly BANK_KV: {
28
29
  readonly kind: "kv";
@@ -62,6 +63,7 @@ declare const baseBankServiceConfig: (project: string, version: string, options?
62
63
  readonly SECRETS_STORE: {
63
64
  readonly kind: "service";
64
65
  readonly target: "secrets-store";
66
+ readonly bare: true;
65
67
  };
66
68
  readonly BANK_KV: {
67
69
  readonly kind: "kv";
@@ -100,6 +102,7 @@ declare const baseBankServiceConfig: (project: string, version: string, options?
100
102
  readonly SECRETS_STORE: {
101
103
  readonly kind: "service";
102
104
  readonly target: "secrets-store";
105
+ readonly bare: true;
103
106
  };
104
107
  readonly BANK_KV: {
105
108
  readonly kind: "kv";
@@ -142,6 +145,7 @@ declare function bankServiceConfig(project: string, version: string, options?: P
142
145
  readonly SECRETS_STORE: {
143
146
  readonly kind: "service";
144
147
  readonly target: "secrets-store";
148
+ readonly bare: true;
145
149
  };
146
150
  readonly BANK_KV: {
147
151
  readonly kind: "kv";
@@ -182,6 +186,7 @@ declare function bankServiceConfig(project: string, version: string, options?: P
182
186
  readonly SECRETS_STORE: {
183
187
  readonly kind: "service";
184
188
  readonly target: "secrets-store";
189
+ readonly bare: true;
185
190
  };
186
191
  readonly BANK_KV: {
187
192
  readonly kind: "kv";
package/dist/service.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createTypedServiceConfigFactory, configKeyFor } from '@develit-io/platform-sdk/service-config';
2
2
 
3
3
  const BANK_SERVICE_BINDINGS = {
4
- SECRETS_STORE: { kind: "service", target: "secrets-store" },
4
+ SECRETS_STORE: { kind: "service", target: "secrets-store", bare: true },
5
5
  BANK_KV: { kind: "kv", suffix: "bank" },
6
6
  BANK_D1: { kind: "d1", suffix: "bank" },
7
7
  QUEUE_BUS_QUEUE: { kind: "queueProducer", suffix: "queue-bus" },
@@ -2144,7 +2144,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2144
2144
  name: string;
2145
2145
  tableName: "batch";
2146
2146
  dataType: "string enum";
2147
- data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2147
+ data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2148
2148
  driverParam: string;
2149
2149
  notNull: false;
2150
2150
  hasDefault: false;
@@ -2415,7 +2415,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2415
2415
  name: string;
2416
2416
  tableName: "payment";
2417
2417
  dataType: "string enum";
2418
- data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
2418
+ data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
2419
2419
  driverParam: string;
2420
2420
  notNull: true;
2421
2421
  hasDefault: false;
@@ -2814,7 +2814,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2814
2814
  name: string;
2815
2815
  tableName: "payment_request";
2816
2816
  dataType: "string enum";
2817
- data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
2817
+ data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2818
2818
  driverParam: string;
2819
2819
  notNull: true;
2820
2820
  hasDefault: false;
@@ -2144,7 +2144,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2144
2144
  name: string;
2145
2145
  tableName: "batch";
2146
2146
  dataType: "string enum";
2147
- data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2147
+ data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2148
2148
  driverParam: string;
2149
2149
  notNull: false;
2150
2150
  hasDefault: false;
@@ -2415,7 +2415,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2415
2415
  name: string;
2416
2416
  tableName: "payment";
2417
2417
  dataType: "string enum";
2418
- data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
2418
+ data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
2419
2419
  driverParam: string;
2420
2420
  notNull: true;
2421
2421
  hasDefault: false;
@@ -2814,7 +2814,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2814
2814
  name: string;
2815
2815
  tableName: "payment_request";
2816
2816
  dataType: "string enum";
2817
- data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
2817
+ data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2818
2818
  driverParam: string;
2819
2819
  notNull: true;
2820
2820
  hasDefault: false;
@@ -2144,7 +2144,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2144
2144
  name: string;
2145
2145
  tableName: "batch";
2146
2146
  dataType: "string enum";
2147
- data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2147
+ data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2148
2148
  driverParam: string;
2149
2149
  notNull: false;
2150
2150
  hasDefault: false;
@@ -2415,7 +2415,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2415
2415
  name: string;
2416
2416
  tableName: "payment";
2417
2417
  dataType: "string enum";
2418
- data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
2418
+ data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
2419
2419
  driverParam: string;
2420
2420
  notNull: true;
2421
2421
  hasDefault: false;
@@ -2814,7 +2814,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2814
2814
  name: string;
2815
2815
  tableName: "payment_request";
2816
2816
  dataType: "string enum";
2817
- data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
2817
+ data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2818
2818
  driverParam: string;
2819
2819
  notNull: true;
2820
2820
  hasDefault: false;
@@ -1,4 +1,4 @@
1
- import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.Do1KUeDr.cjs';
1
+ import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.BJTq7Qw9.mjs';
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, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.Do1KUeDr.js';
1
+ import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.BJTq7Qw9.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, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.Do1KUeDr.mjs';
1
+ import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.BJTq7Qw9.cjs';
2
2
  import { z } from 'zod';
3
3
 
4
4
  type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
package/dist/types.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as IBankConnector, b 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.Do1KUeDr.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.Do1KUeDr.cjs';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.C-edstpR.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.C-edstpR.cjs';
1
+ import { I as IBankConnector, b 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.BJTq7Qw9.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.BJTq7Qw9.cjs';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.wFDtecu7.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.wFDtecu7.cjs';
5
5
  import { z } from 'zod';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
package/dist/types.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as IBankConnector, b 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.Do1KUeDr.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.Do1KUeDr.mjs';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.C6BQDtpF.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.C6BQDtpF.mjs';
1
+ import { I as IBankConnector, b 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.BJTq7Qw9.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.BJTq7Qw9.mjs';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.DXU-wqnl.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.DXU-wqnl.mjs';
5
5
  import { z } from 'zod';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as IBankConnector, b 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.Do1KUeDr.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.Do1KUeDr.js';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.pZQAWlIB.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.pZQAWlIB.js';
1
+ import { I as IBankConnector, b 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.BJTq7Qw9.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.BJTq7Qw9.js';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.JAN0kymF.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.JAN0kymF.js';
5
5
  import { z } from 'zod';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -61,6 +61,6 @@
61
61
  "@develit-io/general-codes": "^1.19.0",
62
62
  "drizzle-orm": "^1.0.0-rc.1",
63
63
  "zod": "^4.1.13",
64
- "@develit-io/platform-sdk": "^4.1.1"
64
+ "@develit-io/platform-sdk": "^4.7.2"
65
65
  }
66
66
  }