@develit-services/bank 1.1.7 → 1.1.8

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.
@@ -965,6 +965,7 @@ declare const accountInsertSchema: z.ZodObject<{
965
965
  city: z.ZodOptional<z.ZodString>;
966
966
  postalCode: z.ZodOptional<z.ZodString>;
967
967
  countryCode: z.ZodOptional<z.ZodEnum<{
968
+ IM: "IM";
968
969
  AF: "AF";
969
970
  AL: "AL";
970
971
  DZ: "DZ";
@@ -1053,7 +1054,6 @@ declare const accountInsertSchema: z.ZodObject<{
1053
1054
  IR: "IR";
1054
1055
  IQ: "IQ";
1055
1056
  IE: "IE";
1056
- IM: "IM";
1057
1057
  IL: "IL";
1058
1058
  IT: "IT";
1059
1059
  CI: "CI";
@@ -1562,6 +1562,7 @@ declare const accountUpdateSchema: z.ZodObject<{
1562
1562
  city: z.ZodOptional<z.ZodString>;
1563
1563
  postalCode: z.ZodOptional<z.ZodString>;
1564
1564
  countryCode: z.ZodOptional<z.ZodEnum<{
1565
+ IM: "IM";
1565
1566
  AF: "AF";
1566
1567
  AL: "AL";
1567
1568
  DZ: "DZ";
@@ -1650,7 +1651,6 @@ declare const accountUpdateSchema: z.ZodObject<{
1650
1651
  IR: "IR";
1651
1652
  IQ: "IQ";
1652
1653
  IE: "IE";
1653
- IM: "IM";
1654
1654
  IL: "IL";
1655
1655
  IT: "IT";
1656
1656
  CI: "CI";
@@ -2159,6 +2159,7 @@ declare const accountSelectSchema: z.ZodObject<{
2159
2159
  city: z.ZodOptional<z.ZodString>;
2160
2160
  postalCode: z.ZodOptional<z.ZodString>;
2161
2161
  countryCode: z.ZodOptional<z.ZodEnum<{
2162
+ IM: "IM";
2162
2163
  AF: "AF";
2163
2164
  AL: "AL";
2164
2165
  DZ: "DZ";
@@ -2247,7 +2248,6 @@ declare const accountSelectSchema: z.ZodObject<{
2247
2248
  IR: "IR";
2248
2249
  IQ: "IQ";
2249
2250
  IE: "IE";
2250
- IM: "IM";
2251
2251
  IL: "IL";
2252
2252
  IT: "IT";
2253
2253
  CI: "CI";
@@ -2814,7 +2814,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2814
2814
  tableName: "batch";
2815
2815
  dataType: "string";
2816
2816
  columnType: "SQLiteText";
2817
- data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2817
+ data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2818
2818
  driverParam: string;
2819
2819
  notNull: false;
2820
2820
  hasDefault: false;
@@ -2827,7 +2827,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2827
2827
  generated: undefined;
2828
2828
  }, {}, {
2829
2829
  length: number | undefined;
2830
- $type: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2830
+ $type: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2831
2831
  }>;
2832
2832
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2833
2833
  name: "status_reason";
@@ -3258,7 +3258,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3258
3258
  tableName: "payment";
3259
3259
  dataType: "string";
3260
3260
  columnType: "SQLiteText";
3261
- data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
3261
+ data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
3262
3262
  driverParam: string;
3263
3263
  notNull: true;
3264
3264
  hasDefault: false;
@@ -3271,7 +3271,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3271
3271
  generated: undefined;
3272
3272
  }, {}, {
3273
3273
  length: number | undefined;
3274
- $type: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
3274
+ $type: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
3275
3275
  }>;
3276
3276
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3277
3277
  name: "status_reason";
@@ -3852,7 +3852,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3852
3852
  tableName: "payment_request";
3853
3853
  dataType: "string";
3854
3854
  columnType: "SQLiteText";
3855
- data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
3855
+ data: "AUTHORIZED" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
3856
3856
  driverParam: string;
3857
3857
  notNull: true;
3858
3858
  hasDefault: false;
@@ -3865,7 +3865,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3865
3865
  generated: undefined;
3866
3866
  }, {}, {
3867
3867
  length: number | undefined;
3868
- $type: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
3868
+ $type: "AUTHORIZED" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
3869
3869
  }>;
3870
3870
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3871
3871
  name: "status_reason";
@@ -965,6 +965,7 @@ declare const accountInsertSchema: z.ZodObject<{
965
965
  city: z.ZodOptional<z.ZodString>;
966
966
  postalCode: z.ZodOptional<z.ZodString>;
967
967
  countryCode: z.ZodOptional<z.ZodEnum<{
968
+ IM: "IM";
968
969
  AF: "AF";
969
970
  AL: "AL";
970
971
  DZ: "DZ";
@@ -1053,7 +1054,6 @@ declare const accountInsertSchema: z.ZodObject<{
1053
1054
  IR: "IR";
1054
1055
  IQ: "IQ";
1055
1056
  IE: "IE";
1056
- IM: "IM";
1057
1057
  IL: "IL";
1058
1058
  IT: "IT";
1059
1059
  CI: "CI";
@@ -1562,6 +1562,7 @@ declare const accountUpdateSchema: z.ZodObject<{
1562
1562
  city: z.ZodOptional<z.ZodString>;
1563
1563
  postalCode: z.ZodOptional<z.ZodString>;
1564
1564
  countryCode: z.ZodOptional<z.ZodEnum<{
1565
+ IM: "IM";
1565
1566
  AF: "AF";
1566
1567
  AL: "AL";
1567
1568
  DZ: "DZ";
@@ -1650,7 +1651,6 @@ declare const accountUpdateSchema: z.ZodObject<{
1650
1651
  IR: "IR";
1651
1652
  IQ: "IQ";
1652
1653
  IE: "IE";
1653
- IM: "IM";
1654
1654
  IL: "IL";
1655
1655
  IT: "IT";
1656
1656
  CI: "CI";
@@ -2159,6 +2159,7 @@ declare const accountSelectSchema: z.ZodObject<{
2159
2159
  city: z.ZodOptional<z.ZodString>;
2160
2160
  postalCode: z.ZodOptional<z.ZodString>;
2161
2161
  countryCode: z.ZodOptional<z.ZodEnum<{
2162
+ IM: "IM";
2162
2163
  AF: "AF";
2163
2164
  AL: "AL";
2164
2165
  DZ: "DZ";
@@ -2247,7 +2248,6 @@ declare const accountSelectSchema: z.ZodObject<{
2247
2248
  IR: "IR";
2248
2249
  IQ: "IQ";
2249
2250
  IE: "IE";
2250
- IM: "IM";
2251
2251
  IL: "IL";
2252
2252
  IT: "IT";
2253
2253
  CI: "CI";
@@ -2814,7 +2814,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2814
2814
  tableName: "batch";
2815
2815
  dataType: "string";
2816
2816
  columnType: "SQLiteText";
2817
- data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2817
+ data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2818
2818
  driverParam: string;
2819
2819
  notNull: false;
2820
2820
  hasDefault: false;
@@ -2827,7 +2827,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2827
2827
  generated: undefined;
2828
2828
  }, {}, {
2829
2829
  length: number | undefined;
2830
- $type: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2830
+ $type: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2831
2831
  }>;
2832
2832
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2833
2833
  name: "status_reason";
@@ -3258,7 +3258,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3258
3258
  tableName: "payment";
3259
3259
  dataType: "string";
3260
3260
  columnType: "SQLiteText";
3261
- data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
3261
+ data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
3262
3262
  driverParam: string;
3263
3263
  notNull: true;
3264
3264
  hasDefault: false;
@@ -3271,7 +3271,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3271
3271
  generated: undefined;
3272
3272
  }, {}, {
3273
3273
  length: number | undefined;
3274
- $type: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
3274
+ $type: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
3275
3275
  }>;
3276
3276
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3277
3277
  name: "status_reason";
@@ -3852,7 +3852,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3852
3852
  tableName: "payment_request";
3853
3853
  dataType: "string";
3854
3854
  columnType: "SQLiteText";
3855
- data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
3855
+ data: "AUTHORIZED" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
3856
3856
  driverParam: string;
3857
3857
  notNull: true;
3858
3858
  hasDefault: false;
@@ -3865,7 +3865,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3865
3865
  generated: undefined;
3866
3866
  }, {}, {
3867
3867
  length: number | undefined;
3868
- $type: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
3868
+ $type: "AUTHORIZED" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
3869
3869
  }>;
3870
3870
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3871
3871
  name: "status_reason";
@@ -965,6 +965,7 @@ declare const accountInsertSchema: z.ZodObject<{
965
965
  city: z.ZodOptional<z.ZodString>;
966
966
  postalCode: z.ZodOptional<z.ZodString>;
967
967
  countryCode: z.ZodOptional<z.ZodEnum<{
968
+ IM: "IM";
968
969
  AF: "AF";
969
970
  AL: "AL";
970
971
  DZ: "DZ";
@@ -1053,7 +1054,6 @@ declare const accountInsertSchema: z.ZodObject<{
1053
1054
  IR: "IR";
1054
1055
  IQ: "IQ";
1055
1056
  IE: "IE";
1056
- IM: "IM";
1057
1057
  IL: "IL";
1058
1058
  IT: "IT";
1059
1059
  CI: "CI";
@@ -1562,6 +1562,7 @@ declare const accountUpdateSchema: z.ZodObject<{
1562
1562
  city: z.ZodOptional<z.ZodString>;
1563
1563
  postalCode: z.ZodOptional<z.ZodString>;
1564
1564
  countryCode: z.ZodOptional<z.ZodEnum<{
1565
+ IM: "IM";
1565
1566
  AF: "AF";
1566
1567
  AL: "AL";
1567
1568
  DZ: "DZ";
@@ -1650,7 +1651,6 @@ declare const accountUpdateSchema: z.ZodObject<{
1650
1651
  IR: "IR";
1651
1652
  IQ: "IQ";
1652
1653
  IE: "IE";
1653
- IM: "IM";
1654
1654
  IL: "IL";
1655
1655
  IT: "IT";
1656
1656
  CI: "CI";
@@ -2159,6 +2159,7 @@ declare const accountSelectSchema: z.ZodObject<{
2159
2159
  city: z.ZodOptional<z.ZodString>;
2160
2160
  postalCode: z.ZodOptional<z.ZodString>;
2161
2161
  countryCode: z.ZodOptional<z.ZodEnum<{
2162
+ IM: "IM";
2162
2163
  AF: "AF";
2163
2164
  AL: "AL";
2164
2165
  DZ: "DZ";
@@ -2247,7 +2248,6 @@ declare const accountSelectSchema: z.ZodObject<{
2247
2248
  IR: "IR";
2248
2249
  IQ: "IQ";
2249
2250
  IE: "IE";
2250
- IM: "IM";
2251
2251
  IL: "IL";
2252
2252
  IT: "IT";
2253
2253
  CI: "CI";
@@ -2814,7 +2814,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2814
2814
  tableName: "batch";
2815
2815
  dataType: "string";
2816
2816
  columnType: "SQLiteText";
2817
- data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2817
+ data: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2818
2818
  driverParam: string;
2819
2819
  notNull: false;
2820
2820
  hasDefault: false;
@@ -2827,7 +2827,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2827
2827
  generated: undefined;
2828
2828
  }, {}, {
2829
2829
  length: number | undefined;
2830
- $type: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
2830
+ $type: "AUTHORIZED" | "COMPLETED" | "PROCESSING" | "READY_TO_SIGN" | "FAILED";
2831
2831
  }>;
2832
2832
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2833
2833
  name: "status_reason";
@@ -3258,7 +3258,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3258
3258
  tableName: "payment";
3259
3259
  dataType: "string";
3260
3260
  columnType: "SQLiteText";
3261
- data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
3261
+ data: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
3262
3262
  driverParam: string;
3263
3263
  notNull: true;
3264
3264
  hasDefault: false;
@@ -3271,7 +3271,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3271
3271
  generated: undefined;
3272
3272
  }, {}, {
3273
3273
  length: number | undefined;
3274
- $type: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
3274
+ $type: "BOOKED" | "REJECTED" | "PENDING" | "PROCESSING" | "CANCELLED" | "SCHEDULED" | "HOLD" | "INFO";
3275
3275
  }>;
3276
3276
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3277
3277
  name: "status_reason";
@@ -3852,7 +3852,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3852
3852
  tableName: "payment_request";
3853
3853
  dataType: "string";
3854
3854
  columnType: "SQLiteText";
3855
- data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
3855
+ data: "AUTHORIZED" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
3856
3856
  driverParam: string;
3857
3857
  notNull: true;
3858
3858
  hasDefault: false;
@@ -3865,7 +3865,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3865
3865
  generated: undefined;
3866
3866
  }, {}, {
3867
3867
  length: number | undefined;
3868
- $type: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
3868
+ $type: "AUTHORIZED" | "OPENED" | "COMPLETED" | "BOOKED" | "SETTLED" | "REJECTED" | "CLOSED";
3869
3869
  }>;
3870
3870
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3871
3871
  name: "status_reason";
package/dist/types.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DffXtMaE.cjs';
2
- export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DffXtMaE.cjs';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.DCFpapec.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.DCFpapec.cjs';
1
+ import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DM5EnFq5.cjs';
2
+ export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DM5EnFq5.cjs';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.B9kMhPfR.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.B9kMhPfR.cjs';
5
5
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CVJosema.cjs';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_zod from 'drizzle-zod';
package/dist/types.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DffXtMaE.mjs';
2
- export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DffXtMaE.mjs';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.okndj9_R.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.okndj9_R.mjs';
1
+ import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DM5EnFq5.mjs';
2
+ export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DM5EnFq5.mjs';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BC1_9f64.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.BC1_9f64.mjs';
5
5
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CVJosema.mjs';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_zod from 'drizzle-zod';
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DffXtMaE.js';
2
- export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DffXtMaE.js';
3
- import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.GB5jJbtl.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.GB5jJbtl.js';
1
+ import { I as IBankConnector, b as ConnectorKey, f as ConnectedAccount, c as PaymentType, g as CredentialsResolver, h as AccountCredentialsInsertType, i as AccountInsertType, j as BatchedPayment, k as InitiatedBatch, l as IncomingPayment, m as InitiatedPayment, A as AccountSelectType, n as ParsedBankPayment, o as PaymentRequestStatus, p as AuthorizationCallbackResult, q as BatchMetadata, r as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, s as AccountAssignedPayment, u as PreparedPayment, v as CompletedPayment, w as PaymentRequestInsertType } from './shared/bank.DM5EnFq5.js';
2
+ export { x as ACCOUNT_STATUSES, y as AccountCredentialsPatchType, z as AccountCredentialsSelectType, D as AccountCredentialsUpdateType, E as AccountPatchType, F as AccountStatus, G as AccountUpdateType, J as AuthorizedBatch, K as BATCH_MODES, M as BATCH_STATUES, M as BATCH_STATUSES, N as BankAccountWithLastSync, O as BankCode, Q as BatchInsertType, R as BatchLifecycle, S as BatchMode, T as BatchPayment, B as BatchSelectType, U as BatchStatus, V as CHARGE_BEARERS, W as CONNECTOR_KEYS, X as COUNTRY_CODES, Y as CREDENTIALS_TYPES, Z as ChargeBearer, _ as CompletedBatch, C as ConfigEnvironmentBank, $ as CountryCode, a0 as CredentialsType, d as CurrencyCode, a1 as INSTRUCTION_PRIORITIES, a2 as InstructionPriority, L as LastSyncMetadata, a3 as PAYMENT_DIRECTIONS, a4 as PAYMENT_REQUEST_STATUSES, a5 as PAYMENT_STATUSES, a6 as PAYMENT_TYPES, a7 as PaymentDirection, a8 as PaymentFailedInsertType, a9 as PaymentInsertType, aa as PaymentLifecycle, ab as PaymentPreparedInsertType, ac as PaymentStatus, ad as ProcessingBatch, ae as ReadyToSignBatch, af as ResolvedCredentials, ag as TOKEN_TYPES, ah as TokenType, ai as accountCredentialsInsertSchema, aj as accountCredentialsSelectSchema, ak as accountCredentialsUpdateSchema, al as accountInsertSchema, am as accountSelectSchema, an as accountUpdateSchema, ao as hasPaymentAccountAssigned, ap as isBatchAuthorized, aq as isBatchCompleted, ar as isBatchFailed, as as isBatchInitiated, at as isBatchProcessing, au as isBatchReadyToSign, av as isPaymentCompleted, aw as isPendingStatus, ax as isProcessedStatus, ay as isTerminalStatus } from './shared/bank.DM5EnFq5.js';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.C92qNguc.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.C92qNguc.js';
5
5
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CVJosema.js';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_zod from 'drizzle-zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -56,7 +56,7 @@
56
56
  "jose": "^6.1.3"
57
57
  },
58
58
  "peerDependencies": {
59
- "@develit-io/backend-sdk": "^9.11.9",
59
+ "@develit-io/backend-sdk": "^10.0.2",
60
60
  "@develit-io/general-codes": "^1.19.0",
61
61
  "drizzle-orm": "^0.45.0",
62
62
  "drizzle-zod": "^0.8.3",