@develit-services/bank 4.4.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.
@@ -0,0 +1,227 @@
1
+ import * as _develit_io_platform_sdk from '@develit-io/platform-sdk';
2
+ import { Deployment } from '@develit-io/platform-sdk';
3
+ import { BindingsFromDescriptor } from '@develit-io/platform-sdk/service-config';
4
+
5
+ interface BankServiceVariables {
6
+ ERSTE_AUTH_URI: string;
7
+ ERSTE_PAYMENTS_URI: string;
8
+ ERSTE_ACCOUNTS_URI: string;
9
+ FINBRICKS_BASE_URI: string;
10
+ FINBRICKS_MERCHANT_ID: string;
11
+ CRON_PAYMENT_STATUSES: string;
12
+ CRON_SYNC_WORKFLOW_HEARTBEAT: string;
13
+ BANK_AUTH_RECIPIENT: string;
14
+ DBUCS_BASE_URI: string;
15
+ DBUCS_USERNAME: string;
16
+ DBUCS_APPLICATION_CODE: string;
17
+ DBUCS_TX_AUTH_URI: string;
18
+ REDIRECT_URI: string;
19
+ SYNC_WORKFLOW_RESET_AFTER_ITERATIONS: string;
20
+ [key: string]: string | number | boolean;
21
+ }
22
+ declare const BANK_SERVICE_BINDINGS: {
23
+ readonly SECRETS_STORE: {
24
+ readonly kind: "service";
25
+ readonly target: "secrets-store";
26
+ readonly bare: true;
27
+ };
28
+ readonly BANK_KV: {
29
+ readonly kind: "kv";
30
+ readonly suffix: "bank";
31
+ };
32
+ readonly BANK_D1: {
33
+ readonly kind: "d1";
34
+ readonly suffix: "bank";
35
+ };
36
+ readonly QUEUE_BUS_QUEUE: {
37
+ readonly kind: "queueProducer";
38
+ readonly suffix: "queue-bus";
39
+ };
40
+ readonly NOTIFICATIONS_QUEUE: {
41
+ readonly kind: "queueProducer";
42
+ readonly suffix: "notifications";
43
+ };
44
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
45
+ readonly kind: "workflow";
46
+ readonly class: "BankSyncAccountPayments";
47
+ readonly suffix: "bank-sync-account-payments";
48
+ readonly limits: {
49
+ readonly steps: 25000;
50
+ };
51
+ };
52
+ readonly PROCESS_BATCH_WORKFLOW: {
53
+ readonly kind: "workflow";
54
+ readonly class: "BankProcessBatch";
55
+ readonly suffix: "bank-process-batch";
56
+ };
57
+ readonly DBU_CBS_BACKOFFICE_DEV: {
58
+ readonly kind: "vpc";
59
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
60
+ };
61
+ };
62
+ declare const baseBankServiceConfig: (project: string, version: string, options?: _develit_io_platform_sdk.ServiceConfigOptions<BankServiceVariables, _develit_io_platform_sdk.MiniflareIds<{
63
+ readonly SECRETS_STORE: {
64
+ readonly kind: "service";
65
+ readonly target: "secrets-store";
66
+ readonly bare: true;
67
+ };
68
+ readonly BANK_KV: {
69
+ readonly kind: "kv";
70
+ readonly suffix: "bank";
71
+ };
72
+ readonly BANK_D1: {
73
+ readonly kind: "d1";
74
+ readonly suffix: "bank";
75
+ };
76
+ readonly QUEUE_BUS_QUEUE: {
77
+ readonly kind: "queueProducer";
78
+ readonly suffix: "queue-bus";
79
+ };
80
+ readonly NOTIFICATIONS_QUEUE: {
81
+ readonly kind: "queueProducer";
82
+ readonly suffix: "notifications";
83
+ };
84
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
85
+ readonly kind: "workflow";
86
+ readonly class: "BankSyncAccountPayments";
87
+ readonly suffix: "bank-sync-account-payments";
88
+ readonly limits: {
89
+ readonly steps: 25000;
90
+ };
91
+ };
92
+ readonly PROCESS_BATCH_WORKFLOW: {
93
+ readonly kind: "workflow";
94
+ readonly class: "BankProcessBatch";
95
+ readonly suffix: "bank-process-batch";
96
+ };
97
+ readonly DBU_CBS_BACKOFFICE_DEV: {
98
+ readonly kind: "vpc";
99
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
100
+ };
101
+ }>> | undefined) => _develit_io_platform_sdk.ServiceConfigWithBindings<BankServiceVariables, {
102
+ readonly SECRETS_STORE: {
103
+ readonly kind: "service";
104
+ readonly target: "secrets-store";
105
+ readonly bare: true;
106
+ };
107
+ readonly BANK_KV: {
108
+ readonly kind: "kv";
109
+ readonly suffix: "bank";
110
+ };
111
+ readonly BANK_D1: {
112
+ readonly kind: "d1";
113
+ readonly suffix: "bank";
114
+ };
115
+ readonly QUEUE_BUS_QUEUE: {
116
+ readonly kind: "queueProducer";
117
+ readonly suffix: "queue-bus";
118
+ };
119
+ readonly NOTIFICATIONS_QUEUE: {
120
+ readonly kind: "queueProducer";
121
+ readonly suffix: "notifications";
122
+ };
123
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
124
+ readonly kind: "workflow";
125
+ readonly class: "BankSyncAccountPayments";
126
+ readonly suffix: "bank-sync-account-payments";
127
+ readonly limits: {
128
+ readonly steps: 25000;
129
+ };
130
+ };
131
+ readonly PROCESS_BATCH_WORKFLOW: {
132
+ readonly kind: "workflow";
133
+ readonly class: "BankProcessBatch";
134
+ readonly suffix: "bank-process-batch";
135
+ };
136
+ readonly DBU_CBS_BACKOFFICE_DEV: {
137
+ readonly kind: "vpc";
138
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
139
+ };
140
+ }, readonly []>;
141
+ declare function bankServiceConfig(project: string, version: string, options?: Parameters<typeof baseBankServiceConfig>[2]): ((deployment: Deployment, bindings: BindingsFromDescriptor<typeof BANK_SERVICE_BINDINGS>) => {
142
+ resourceName: "bank";
143
+ variables: BankServiceVariables;
144
+ bindings: BindingsFromDescriptor<{
145
+ readonly SECRETS_STORE: {
146
+ readonly kind: "service";
147
+ readonly target: "secrets-store";
148
+ readonly bare: true;
149
+ };
150
+ readonly BANK_KV: {
151
+ readonly kind: "kv";
152
+ readonly suffix: "bank";
153
+ };
154
+ readonly BANK_D1: {
155
+ readonly kind: "d1";
156
+ readonly suffix: "bank";
157
+ };
158
+ readonly QUEUE_BUS_QUEUE: {
159
+ readonly kind: "queueProducer";
160
+ readonly suffix: "queue-bus";
161
+ };
162
+ readonly NOTIFICATIONS_QUEUE: {
163
+ readonly kind: "queueProducer";
164
+ readonly suffix: "notifications";
165
+ };
166
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
167
+ readonly kind: "workflow";
168
+ readonly class: "BankSyncAccountPayments";
169
+ readonly suffix: "bank-sync-account-payments";
170
+ readonly limits: {
171
+ readonly steps: 25000;
172
+ };
173
+ };
174
+ readonly PROCESS_BATCH_WORKFLOW: {
175
+ readonly kind: "workflow";
176
+ readonly class: "BankProcessBatch";
177
+ readonly suffix: "bank-process-batch";
178
+ };
179
+ readonly DBU_CBS_BACKOFFICE_DEV: {
180
+ readonly kind: "vpc";
181
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
182
+ };
183
+ }>;
184
+ crons: string[];
185
+ }) & _develit_io_platform_sdk.ServiceConfigWithBindings<BankServiceVariables, {
186
+ readonly SECRETS_STORE: {
187
+ readonly kind: "service";
188
+ readonly target: "secrets-store";
189
+ readonly bare: true;
190
+ };
191
+ readonly BANK_KV: {
192
+ readonly kind: "kv";
193
+ readonly suffix: "bank";
194
+ };
195
+ readonly BANK_D1: {
196
+ readonly kind: "d1";
197
+ readonly suffix: "bank";
198
+ };
199
+ readonly QUEUE_BUS_QUEUE: {
200
+ readonly kind: "queueProducer";
201
+ readonly suffix: "queue-bus";
202
+ };
203
+ readonly NOTIFICATIONS_QUEUE: {
204
+ readonly kind: "queueProducer";
205
+ readonly suffix: "notifications";
206
+ };
207
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
208
+ readonly kind: "workflow";
209
+ readonly class: "BankSyncAccountPayments";
210
+ readonly suffix: "bank-sync-account-payments";
211
+ readonly limits: {
212
+ readonly steps: 25000;
213
+ };
214
+ };
215
+ readonly PROCESS_BATCH_WORKFLOW: {
216
+ readonly kind: "workflow";
217
+ readonly class: "BankProcessBatch";
218
+ readonly suffix: "bank-process-batch";
219
+ };
220
+ readonly DBU_CBS_BACKOFFICE_DEV: {
221
+ readonly kind: "vpc";
222
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
223
+ };
224
+ }, readonly []>;
225
+
226
+ export { BANK_SERVICE_BINDINGS, bankServiceConfig };
227
+ export type { BankServiceVariables };
@@ -0,0 +1,227 @@
1
+ import * as _develit_io_platform_sdk from '@develit-io/platform-sdk';
2
+ import { Deployment } from '@develit-io/platform-sdk';
3
+ import { BindingsFromDescriptor } from '@develit-io/platform-sdk/service-config';
4
+
5
+ interface BankServiceVariables {
6
+ ERSTE_AUTH_URI: string;
7
+ ERSTE_PAYMENTS_URI: string;
8
+ ERSTE_ACCOUNTS_URI: string;
9
+ FINBRICKS_BASE_URI: string;
10
+ FINBRICKS_MERCHANT_ID: string;
11
+ CRON_PAYMENT_STATUSES: string;
12
+ CRON_SYNC_WORKFLOW_HEARTBEAT: string;
13
+ BANK_AUTH_RECIPIENT: string;
14
+ DBUCS_BASE_URI: string;
15
+ DBUCS_USERNAME: string;
16
+ DBUCS_APPLICATION_CODE: string;
17
+ DBUCS_TX_AUTH_URI: string;
18
+ REDIRECT_URI: string;
19
+ SYNC_WORKFLOW_RESET_AFTER_ITERATIONS: string;
20
+ [key: string]: string | number | boolean;
21
+ }
22
+ declare const BANK_SERVICE_BINDINGS: {
23
+ readonly SECRETS_STORE: {
24
+ readonly kind: "service";
25
+ readonly target: "secrets-store";
26
+ readonly bare: true;
27
+ };
28
+ readonly BANK_KV: {
29
+ readonly kind: "kv";
30
+ readonly suffix: "bank";
31
+ };
32
+ readonly BANK_D1: {
33
+ readonly kind: "d1";
34
+ readonly suffix: "bank";
35
+ };
36
+ readonly QUEUE_BUS_QUEUE: {
37
+ readonly kind: "queueProducer";
38
+ readonly suffix: "queue-bus";
39
+ };
40
+ readonly NOTIFICATIONS_QUEUE: {
41
+ readonly kind: "queueProducer";
42
+ readonly suffix: "notifications";
43
+ };
44
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
45
+ readonly kind: "workflow";
46
+ readonly class: "BankSyncAccountPayments";
47
+ readonly suffix: "bank-sync-account-payments";
48
+ readonly limits: {
49
+ readonly steps: 25000;
50
+ };
51
+ };
52
+ readonly PROCESS_BATCH_WORKFLOW: {
53
+ readonly kind: "workflow";
54
+ readonly class: "BankProcessBatch";
55
+ readonly suffix: "bank-process-batch";
56
+ };
57
+ readonly DBU_CBS_BACKOFFICE_DEV: {
58
+ readonly kind: "vpc";
59
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
60
+ };
61
+ };
62
+ declare const baseBankServiceConfig: (project: string, version: string, options?: _develit_io_platform_sdk.ServiceConfigOptions<BankServiceVariables, _develit_io_platform_sdk.MiniflareIds<{
63
+ readonly SECRETS_STORE: {
64
+ readonly kind: "service";
65
+ readonly target: "secrets-store";
66
+ readonly bare: true;
67
+ };
68
+ readonly BANK_KV: {
69
+ readonly kind: "kv";
70
+ readonly suffix: "bank";
71
+ };
72
+ readonly BANK_D1: {
73
+ readonly kind: "d1";
74
+ readonly suffix: "bank";
75
+ };
76
+ readonly QUEUE_BUS_QUEUE: {
77
+ readonly kind: "queueProducer";
78
+ readonly suffix: "queue-bus";
79
+ };
80
+ readonly NOTIFICATIONS_QUEUE: {
81
+ readonly kind: "queueProducer";
82
+ readonly suffix: "notifications";
83
+ };
84
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
85
+ readonly kind: "workflow";
86
+ readonly class: "BankSyncAccountPayments";
87
+ readonly suffix: "bank-sync-account-payments";
88
+ readonly limits: {
89
+ readonly steps: 25000;
90
+ };
91
+ };
92
+ readonly PROCESS_BATCH_WORKFLOW: {
93
+ readonly kind: "workflow";
94
+ readonly class: "BankProcessBatch";
95
+ readonly suffix: "bank-process-batch";
96
+ };
97
+ readonly DBU_CBS_BACKOFFICE_DEV: {
98
+ readonly kind: "vpc";
99
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
100
+ };
101
+ }>> | undefined) => _develit_io_platform_sdk.ServiceConfigWithBindings<BankServiceVariables, {
102
+ readonly SECRETS_STORE: {
103
+ readonly kind: "service";
104
+ readonly target: "secrets-store";
105
+ readonly bare: true;
106
+ };
107
+ readonly BANK_KV: {
108
+ readonly kind: "kv";
109
+ readonly suffix: "bank";
110
+ };
111
+ readonly BANK_D1: {
112
+ readonly kind: "d1";
113
+ readonly suffix: "bank";
114
+ };
115
+ readonly QUEUE_BUS_QUEUE: {
116
+ readonly kind: "queueProducer";
117
+ readonly suffix: "queue-bus";
118
+ };
119
+ readonly NOTIFICATIONS_QUEUE: {
120
+ readonly kind: "queueProducer";
121
+ readonly suffix: "notifications";
122
+ };
123
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
124
+ readonly kind: "workflow";
125
+ readonly class: "BankSyncAccountPayments";
126
+ readonly suffix: "bank-sync-account-payments";
127
+ readonly limits: {
128
+ readonly steps: 25000;
129
+ };
130
+ };
131
+ readonly PROCESS_BATCH_WORKFLOW: {
132
+ readonly kind: "workflow";
133
+ readonly class: "BankProcessBatch";
134
+ readonly suffix: "bank-process-batch";
135
+ };
136
+ readonly DBU_CBS_BACKOFFICE_DEV: {
137
+ readonly kind: "vpc";
138
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
139
+ };
140
+ }, readonly []>;
141
+ declare function bankServiceConfig(project: string, version: string, options?: Parameters<typeof baseBankServiceConfig>[2]): ((deployment: Deployment, bindings: BindingsFromDescriptor<typeof BANK_SERVICE_BINDINGS>) => {
142
+ resourceName: "bank";
143
+ variables: BankServiceVariables;
144
+ bindings: BindingsFromDescriptor<{
145
+ readonly SECRETS_STORE: {
146
+ readonly kind: "service";
147
+ readonly target: "secrets-store";
148
+ readonly bare: true;
149
+ };
150
+ readonly BANK_KV: {
151
+ readonly kind: "kv";
152
+ readonly suffix: "bank";
153
+ };
154
+ readonly BANK_D1: {
155
+ readonly kind: "d1";
156
+ readonly suffix: "bank";
157
+ };
158
+ readonly QUEUE_BUS_QUEUE: {
159
+ readonly kind: "queueProducer";
160
+ readonly suffix: "queue-bus";
161
+ };
162
+ readonly NOTIFICATIONS_QUEUE: {
163
+ readonly kind: "queueProducer";
164
+ readonly suffix: "notifications";
165
+ };
166
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
167
+ readonly kind: "workflow";
168
+ readonly class: "BankSyncAccountPayments";
169
+ readonly suffix: "bank-sync-account-payments";
170
+ readonly limits: {
171
+ readonly steps: 25000;
172
+ };
173
+ };
174
+ readonly PROCESS_BATCH_WORKFLOW: {
175
+ readonly kind: "workflow";
176
+ readonly class: "BankProcessBatch";
177
+ readonly suffix: "bank-process-batch";
178
+ };
179
+ readonly DBU_CBS_BACKOFFICE_DEV: {
180
+ readonly kind: "vpc";
181
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
182
+ };
183
+ }>;
184
+ crons: string[];
185
+ }) & _develit_io_platform_sdk.ServiceConfigWithBindings<BankServiceVariables, {
186
+ readonly SECRETS_STORE: {
187
+ readonly kind: "service";
188
+ readonly target: "secrets-store";
189
+ readonly bare: true;
190
+ };
191
+ readonly BANK_KV: {
192
+ readonly kind: "kv";
193
+ readonly suffix: "bank";
194
+ };
195
+ readonly BANK_D1: {
196
+ readonly kind: "d1";
197
+ readonly suffix: "bank";
198
+ };
199
+ readonly QUEUE_BUS_QUEUE: {
200
+ readonly kind: "queueProducer";
201
+ readonly suffix: "queue-bus";
202
+ };
203
+ readonly NOTIFICATIONS_QUEUE: {
204
+ readonly kind: "queueProducer";
205
+ readonly suffix: "notifications";
206
+ };
207
+ readonly SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
208
+ readonly kind: "workflow";
209
+ readonly class: "BankSyncAccountPayments";
210
+ readonly suffix: "bank-sync-account-payments";
211
+ readonly limits: {
212
+ readonly steps: 25000;
213
+ };
214
+ };
215
+ readonly PROCESS_BATCH_WORKFLOW: {
216
+ readonly kind: "workflow";
217
+ readonly class: "BankProcessBatch";
218
+ readonly suffix: "bank-process-batch";
219
+ };
220
+ readonly DBU_CBS_BACKOFFICE_DEV: {
221
+ readonly kind: "vpc";
222
+ readonly serviceId: "019c2962-172c-75a2-a000-b76e246d25d7";
223
+ };
224
+ }, readonly []>;
225
+
226
+ export { BANK_SERVICE_BINDINGS, bankServiceConfig };
227
+ export type { BankServiceVariables };
@@ -0,0 +1,37 @@
1
+ import { createTypedServiceConfigFactory, configKeyFor } from '@develit-io/platform-sdk/service-config';
2
+
3
+ const BANK_SERVICE_BINDINGS = {
4
+ SECRETS_STORE: { kind: "service", target: "secrets-store", bare: true },
5
+ BANK_KV: { kind: "kv", suffix: "bank" },
6
+ BANK_D1: { kind: "d1", suffix: "bank" },
7
+ QUEUE_BUS_QUEUE: { kind: "queueProducer", suffix: "queue-bus" },
8
+ NOTIFICATIONS_QUEUE: { kind: "queueProducer", suffix: "notifications" },
9
+ SYNC_ACCOUNT_PAYMENTS_WORKFLOW: {
10
+ kind: "workflow",
11
+ class: "BankSyncAccountPayments",
12
+ suffix: "bank-sync-account-payments",
13
+ limits: { steps: 25e3 }
14
+ },
15
+ PROCESS_BATCH_WORKFLOW: {
16
+ kind: "workflow",
17
+ class: "BankProcessBatch",
18
+ suffix: "bank-process-batch"
19
+ },
20
+ DBU_CBS_BACKOFFICE_DEV: {
21
+ kind: "vpc",
22
+ serviceId: "019c2962-172c-75a2-a000-b76e246d25d7"
23
+ }
24
+ };
25
+ const baseBankServiceConfig = createTypedServiceConfigFactory()(BANK_SERVICE_BINDINGS);
26
+ function bankServiceConfig(project, version, options) {
27
+ const config = baseBankServiceConfig(project, version, options);
28
+ const callable = (deployment, bindings) => ({
29
+ resourceName: "bank",
30
+ variables: config.vars[configKeyFor(deployment.environment)],
31
+ bindings,
32
+ crons: config.triggers.crons[configKeyFor(deployment.environment)]
33
+ });
34
+ return Object.assign(callable, config);
35
+ }
36
+
37
+ export { BANK_SERVICE_BINDINGS, bankServiceConfig };
@@ -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" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2817
+ data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2818
2818
  driverParam: string;
2819
2819
  notNull: true;
2820
2820
  hasDefault: false;
@@ -3526,4 +3526,4 @@ type ParsedBankPayment = {
3526
3526
  type BatchPayment = Omit<PaymentInsertType, 'bankRefId'>;
3527
3527
 
3528
3528
  export { IBankConnector as I, BASE_TERMINAL_STATUSES as M, BATCH_MODES as N, BATCH_STATUSES as O, CHARGE_BEARERS as X, CONNECTOR_KEYS as Y, COUNTRY_CODES as Z, CREDENTIALS_TYPES as _, INSTRUCTION_PRIORITIES as a3, PAYMENT_DIRECTIONS as a5, PAYMENT_REQUEST_STATUSES as a6, PAYMENT_STATUSES as a7, PAYMENT_TYPES as a8, isTerminalStatus as aA, account as aB, accountCredentials as aC, batch as aD, ott as aE, payment as aF, paymentRequest as aG, TOKEN_TYPES as ai, accountCredentialsInsertSchema as ak, accountCredentialsSelectSchema as al, accountCredentialsUpdateSchema as am, accountInsertSchema as an, accountSelectSchema as ao, accountUpdateSchema as ap, hasPaymentAccountAssigned as aq, isBatchAuthorized as ar, isBatchCompleted as as, isBatchFailed as at, isBatchInitiated as au, isBatchProcessing as av, isBatchReadyToSign as aw, isPaymentCompleted as ax, isPendingStatus as ay, isProcessedStatus as az, tables as t, ACCOUNT_STATUSES as y };
3529
- export type { ChargeBearer as $, AccountSelectType as A, BatchSelectType as B, ConnectorConfig as C, AccountCredentialsSelectType as D, AccountCredentialsUpdateType as E, AccountPatchType as F, AccountStatus as G, HandleAuthorizationCallbackInput as H, AccountUpdateType as J, AuthorizedBatch as K, LastSyncMetadata as L, PaymentRequestSelectType as P, BankAccountWithLastSync as Q, BankCode as R, BatchInsertType as S, BatchLifecycle as T, BatchMode as U, BatchPayment as V, BatchStatus as W, PaymentSelectType as a, CompletedBatch as a0, CountryCode as a1, CredentialsType as a2, InstructionPriority as a4, PaymentDirection as a9, PaymentFailedInsertType as aa, PaymentInsertType as ab, PaymentLifecycle as ac, PaymentPreparedInsertType as ad, PaymentStatus as ae, ProcessingBatch as af, ReadyToSignBatch as ag, ResolvedCredentials as ah, TokenType as aj, ConfigEnvironmentBank as b, ConnectorKey as c, PaymentType as d, CurrencyCode as e, HandleAuthorizationCallbackOutput as f, ConnectedAccount as g, CredentialsResolver as h, AccountCredentialsInsertType as i, AccountInsertType as j, BatchedPayment as k, InitiatedBatch as l, IncomingPayment as m, InitiatedPayment as n, ParsedBankPayment as o, PaymentRequestStatus as p, AuthorizationCallbackResult as q, BatchMetadata as r, Currency as s, AccountAssignedPayment as u, PreparedPayment as v, CompletedPayment as w, PaymentRequestInsertType as x, AccountCredentialsPatchType as z };
3529
+ export type { ChargeBearer as $, AccountSelectType as A, BatchSelectType as B, ConnectorConfig as C, AccountCredentialsSelectType as D, AccountCredentialsUpdateType as E, AccountPatchType as F, AccountStatus as G, HandleAuthorizationCallbackInput as H, AccountUpdateType as J, AuthorizedBatch as K, LastSyncMetadata as L, PaymentRequestSelectType as P, BankAccountWithLastSync as Q, BankCode as R, BatchInsertType as S, BatchLifecycle as T, BatchMode as U, BatchPayment as V, BatchStatus as W, PaymentSelectType as a, CompletedBatch as a0, CountryCode as a1, CredentialsType as a2, InstructionPriority as a4, PaymentDirection as a9, PaymentFailedInsertType as aa, PaymentInsertType as ab, PaymentLifecycle as ac, PaymentPreparedInsertType as ad, PaymentStatus as ae, ProcessingBatch as af, ReadyToSignBatch as ag, ResolvedCredentials as ah, TokenType as aj, ConnectorKey as b, ConfigEnvironmentBank as c, PaymentType as d, CurrencyCode as e, HandleAuthorizationCallbackOutput as f, ConnectedAccount as g, CredentialsResolver as h, AccountCredentialsInsertType as i, AccountInsertType as j, BatchedPayment as k, InitiatedBatch as l, IncomingPayment as m, InitiatedPayment as n, ParsedBankPayment as o, PaymentRequestStatus as p, AuthorizationCallbackResult as q, BatchMetadata as r, Currency as s, AccountAssignedPayment as u, PreparedPayment as v, CompletedPayment as w, PaymentRequestInsertType as x, AccountCredentialsPatchType as z };
@@ -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" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2817
+ data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2818
2818
  driverParam: string;
2819
2819
  notNull: true;
2820
2820
  hasDefault: false;
@@ -3526,4 +3526,4 @@ type ParsedBankPayment = {
3526
3526
  type BatchPayment = Omit<PaymentInsertType, 'bankRefId'>;
3527
3527
 
3528
3528
  export { IBankConnector as I, BASE_TERMINAL_STATUSES as M, BATCH_MODES as N, BATCH_STATUSES as O, CHARGE_BEARERS as X, CONNECTOR_KEYS as Y, COUNTRY_CODES as Z, CREDENTIALS_TYPES as _, INSTRUCTION_PRIORITIES as a3, PAYMENT_DIRECTIONS as a5, PAYMENT_REQUEST_STATUSES as a6, PAYMENT_STATUSES as a7, PAYMENT_TYPES as a8, isTerminalStatus as aA, account as aB, accountCredentials as aC, batch as aD, ott as aE, payment as aF, paymentRequest as aG, TOKEN_TYPES as ai, accountCredentialsInsertSchema as ak, accountCredentialsSelectSchema as al, accountCredentialsUpdateSchema as am, accountInsertSchema as an, accountSelectSchema as ao, accountUpdateSchema as ap, hasPaymentAccountAssigned as aq, isBatchAuthorized as ar, isBatchCompleted as as, isBatchFailed as at, isBatchInitiated as au, isBatchProcessing as av, isBatchReadyToSign as aw, isPaymentCompleted as ax, isPendingStatus as ay, isProcessedStatus as az, tables as t, ACCOUNT_STATUSES as y };
3529
- export type { ChargeBearer as $, AccountSelectType as A, BatchSelectType as B, ConnectorConfig as C, AccountCredentialsSelectType as D, AccountCredentialsUpdateType as E, AccountPatchType as F, AccountStatus as G, HandleAuthorizationCallbackInput as H, AccountUpdateType as J, AuthorizedBatch as K, LastSyncMetadata as L, PaymentRequestSelectType as P, BankAccountWithLastSync as Q, BankCode as R, BatchInsertType as S, BatchLifecycle as T, BatchMode as U, BatchPayment as V, BatchStatus as W, PaymentSelectType as a, CompletedBatch as a0, CountryCode as a1, CredentialsType as a2, InstructionPriority as a4, PaymentDirection as a9, PaymentFailedInsertType as aa, PaymentInsertType as ab, PaymentLifecycle as ac, PaymentPreparedInsertType as ad, PaymentStatus as ae, ProcessingBatch as af, ReadyToSignBatch as ag, ResolvedCredentials as ah, TokenType as aj, ConfigEnvironmentBank as b, ConnectorKey as c, PaymentType as d, CurrencyCode as e, HandleAuthorizationCallbackOutput as f, ConnectedAccount as g, CredentialsResolver as h, AccountCredentialsInsertType as i, AccountInsertType as j, BatchedPayment as k, InitiatedBatch as l, IncomingPayment as m, InitiatedPayment as n, ParsedBankPayment as o, PaymentRequestStatus as p, AuthorizationCallbackResult as q, BatchMetadata as r, Currency as s, AccountAssignedPayment as u, PreparedPayment as v, CompletedPayment as w, PaymentRequestInsertType as x, AccountCredentialsPatchType as z };
3529
+ export type { ChargeBearer as $, AccountSelectType as A, BatchSelectType as B, ConnectorConfig as C, AccountCredentialsSelectType as D, AccountCredentialsUpdateType as E, AccountPatchType as F, AccountStatus as G, HandleAuthorizationCallbackInput as H, AccountUpdateType as J, AuthorizedBatch as K, LastSyncMetadata as L, PaymentRequestSelectType as P, BankAccountWithLastSync as Q, BankCode as R, BatchInsertType as S, BatchLifecycle as T, BatchMode as U, BatchPayment as V, BatchStatus as W, PaymentSelectType as a, CompletedBatch as a0, CountryCode as a1, CredentialsType as a2, InstructionPriority as a4, PaymentDirection as a9, PaymentFailedInsertType as aa, PaymentInsertType as ab, PaymentLifecycle as ac, PaymentPreparedInsertType as ad, PaymentStatus as ae, ProcessingBatch as af, ReadyToSignBatch as ag, ResolvedCredentials as ah, TokenType as aj, ConnectorKey as b, ConfigEnvironmentBank as c, PaymentType as d, CurrencyCode as e, HandleAuthorizationCallbackOutput as f, ConnectedAccount as g, CredentialsResolver as h, AccountCredentialsInsertType as i, AccountInsertType as j, BatchedPayment as k, InitiatedBatch as l, IncomingPayment as m, InitiatedPayment as n, ParsedBankPayment as o, PaymentRequestStatus as p, AuthorizationCallbackResult as q, BatchMetadata as r, Currency as s, AccountAssignedPayment as u, PreparedPayment as v, CompletedPayment as w, PaymentRequestInsertType as x, AccountCredentialsPatchType as z };
@@ -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" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2817
+ data: "OPENED" | "AUTHORIZED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
2818
2818
  driverParam: string;
2819
2819
  notNull: true;
2820
2820
  hasDefault: false;
@@ -3526,4 +3526,4 @@ type ParsedBankPayment = {
3526
3526
  type BatchPayment = Omit<PaymentInsertType, 'bankRefId'>;
3527
3527
 
3528
3528
  export { IBankConnector as I, BASE_TERMINAL_STATUSES as M, BATCH_MODES as N, BATCH_STATUSES as O, CHARGE_BEARERS as X, CONNECTOR_KEYS as Y, COUNTRY_CODES as Z, CREDENTIALS_TYPES as _, INSTRUCTION_PRIORITIES as a3, PAYMENT_DIRECTIONS as a5, PAYMENT_REQUEST_STATUSES as a6, PAYMENT_STATUSES as a7, PAYMENT_TYPES as a8, isTerminalStatus as aA, account as aB, accountCredentials as aC, batch as aD, ott as aE, payment as aF, paymentRequest as aG, TOKEN_TYPES as ai, accountCredentialsInsertSchema as ak, accountCredentialsSelectSchema as al, accountCredentialsUpdateSchema as am, accountInsertSchema as an, accountSelectSchema as ao, accountUpdateSchema as ap, hasPaymentAccountAssigned as aq, isBatchAuthorized as ar, isBatchCompleted as as, isBatchFailed as at, isBatchInitiated as au, isBatchProcessing as av, isBatchReadyToSign as aw, isPaymentCompleted as ax, isPendingStatus as ay, isProcessedStatus as az, tables as t, ACCOUNT_STATUSES as y };
3529
- export type { ChargeBearer as $, AccountSelectType as A, BatchSelectType as B, ConnectorConfig as C, AccountCredentialsSelectType as D, AccountCredentialsUpdateType as E, AccountPatchType as F, AccountStatus as G, HandleAuthorizationCallbackInput as H, AccountUpdateType as J, AuthorizedBatch as K, LastSyncMetadata as L, PaymentRequestSelectType as P, BankAccountWithLastSync as Q, BankCode as R, BatchInsertType as S, BatchLifecycle as T, BatchMode as U, BatchPayment as V, BatchStatus as W, PaymentSelectType as a, CompletedBatch as a0, CountryCode as a1, CredentialsType as a2, InstructionPriority as a4, PaymentDirection as a9, PaymentFailedInsertType as aa, PaymentInsertType as ab, PaymentLifecycle as ac, PaymentPreparedInsertType as ad, PaymentStatus as ae, ProcessingBatch as af, ReadyToSignBatch as ag, ResolvedCredentials as ah, TokenType as aj, ConfigEnvironmentBank as b, ConnectorKey as c, PaymentType as d, CurrencyCode as e, HandleAuthorizationCallbackOutput as f, ConnectedAccount as g, CredentialsResolver as h, AccountCredentialsInsertType as i, AccountInsertType as j, BatchedPayment as k, InitiatedBatch as l, IncomingPayment as m, InitiatedPayment as n, ParsedBankPayment as o, PaymentRequestStatus as p, AuthorizationCallbackResult as q, BatchMetadata as r, Currency as s, AccountAssignedPayment as u, PreparedPayment as v, CompletedPayment as w, PaymentRequestInsertType as x, AccountCredentialsPatchType as z };
3529
+ export type { ChargeBearer as $, AccountSelectType as A, BatchSelectType as B, ConnectorConfig as C, AccountCredentialsSelectType as D, AccountCredentialsUpdateType as E, AccountPatchType as F, AccountStatus as G, HandleAuthorizationCallbackInput as H, AccountUpdateType as J, AuthorizedBatch as K, LastSyncMetadata as L, PaymentRequestSelectType as P, BankAccountWithLastSync as Q, BankCode as R, BatchInsertType as S, BatchLifecycle as T, BatchMode as U, BatchPayment as V, BatchStatus as W, PaymentSelectType as a, CompletedBatch as a0, CountryCode as a1, CredentialsType as a2, InstructionPriority as a4, PaymentDirection as a9, PaymentFailedInsertType as aa, PaymentInsertType as ab, PaymentLifecycle as ac, PaymentPreparedInsertType as ad, PaymentStatus as ae, ProcessingBatch as af, ReadyToSignBatch as ag, ResolvedCredentials as ah, TokenType as aj, ConnectorKey as b, ConfigEnvironmentBank as c, PaymentType as d, CurrencyCode as e, HandleAuthorizationCallbackOutput as f, ConnectedAccount as g, CredentialsResolver as h, AccountCredentialsInsertType as i, AccountInsertType as j, BatchedPayment as k, InitiatedBatch as l, IncomingPayment as m, InitiatedPayment as n, ParsedBankPayment as o, PaymentRequestStatus as p, AuthorizationCallbackResult as q, BatchMetadata as r, Currency as s, AccountAssignedPayment as u, PreparedPayment as v, CompletedPayment as w, PaymentRequestInsertType as x, AccountCredentialsPatchType as z };
@@ -1,4 +1,4 @@
1
- import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.BCqBwSKC.mjs';
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.BCqBwSKC.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.BCqBwSKC.cjs';
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,9 +1,8 @@
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.BCqBwSKC.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, b 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.BCqBwSKC.cjs';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.mHFTrKBv.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.mHFTrKBv.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
- export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.DyZBd2qL.cjs';
7
6
  import { BaseEvent } from '@develit-io/backend-sdk';
8
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
9
8
  import * as drizzle_orm from 'drizzle-orm';
package/dist/types.d.mts CHANGED
@@ -1,9 +1,8 @@
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.BCqBwSKC.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, b 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.BCqBwSKC.mjs';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BnCJmT6k.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.BnCJmT6k.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
- export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.DyZBd2qL.mjs';
7
6
  import { BaseEvent } from '@develit-io/backend-sdk';
8
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
9
8
  import * as drizzle_orm from 'drizzle-orm';
package/dist/types.d.ts CHANGED
@@ -1,9 +1,8 @@
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.BCqBwSKC.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, b 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.BCqBwSKC.js';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BmX_IG66.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.BmX_IG66.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
- export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.DyZBd2qL.js';
7
6
  import { BaseEvent } from '@develit-io/backend-sdk';
8
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
9
8
  import * as drizzle_orm from 'drizzle-orm';