@develit-services/bank 0.7.6 → 0.7.7

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.
@@ -1,4 +1,4 @@
1
- export { ao as account, ap as accountCredentials, aq as batch, ar as ott, as as payment, at as paymentRelations } from '../shared/bank.pHEoRWpm.cjs';
1
+ export { ao as account, ap as accountCredentials, aq as batch, ar as ott, as as payment, at as paymentRelations } from '../shared/bank.CJAPmWGK.cjs';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import '@develit-io/backend-sdk';
@@ -1,4 +1,4 @@
1
- export { ao as account, ap as accountCredentials, aq as batch, ar as ott, as as payment, at as paymentRelations } from '../shared/bank.pHEoRWpm.mjs';
1
+ export { ao as account, ap as accountCredentials, aq as batch, ar as ott, as as payment, at as paymentRelations } from '../shared/bank.CJAPmWGK.mjs';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import '@develit-io/backend-sdk';
@@ -1,4 +1,4 @@
1
- export { ao as account, ap as accountCredentials, aq as batch, ar as ott, as as payment, at as paymentRelations } from '../shared/bank.pHEoRWpm.js';
1
+ export { ao as account, ap as accountCredentials, aq as batch, ar as ott, as as payment, at as paymentRelations } from '../shared/bank.CJAPmWGK.js';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import '@develit-io/backend-sdk';
@@ -1,7 +1,7 @@
1
- import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector } from '../shared/bank.pHEoRWpm.cjs';
1
+ import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector } from '../shared/bank.CJAPmWGK.cjs';
2
2
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
3
3
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
4
- import { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.BVIkpji3.cjs';
4
+ import { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.COC0tqmL.cjs';
5
5
  import { WorkerEntrypoint } from 'cloudflare:workers';
6
6
  import { DrizzleD1Database } from 'drizzle-orm/d1';
7
7
  import { z } from 'zod';
@@ -417,6 +417,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
417
417
  UA: "UA";
418
418
  AE: "AE";
419
419
  GB: "GB";
420
+ US: "US";
420
421
  UZ: "UZ";
421
422
  VU: "VU";
422
423
  VE: "VE";
@@ -746,6 +747,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
746
747
  UA: "UA";
747
748
  AE: "AE";
748
749
  GB: "GB";
750
+ US: "US";
749
751
  UZ: "UZ";
750
752
  VU: "VU";
751
753
  VE: "VE";
@@ -796,19 +798,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
796
798
  }, z.core.$strip>;
797
799
  filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
798
800
  filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
799
- FAILED: "FAILED";
800
801
  OPEN: "OPEN";
801
802
  PROCESSING: "PROCESSING";
802
803
  READY_TO_SIGN: "READY_TO_SIGN";
803
804
  SIGNED: "SIGNED";
804
805
  SIGNATURE_FAILED: "SIGNATURE_FAILED";
805
- }>, z.ZodArray<z.ZodEnum<{
806
806
  FAILED: "FAILED";
807
+ }>, z.ZodArray<z.ZodEnum<{
807
808
  OPEN: "OPEN";
808
809
  PROCESSING: "PROCESSING";
809
810
  READY_TO_SIGN: "READY_TO_SIGN";
810
811
  SIGNED: "SIGNED";
811
812
  SIGNATURE_FAILED: "SIGNATURE_FAILED";
813
+ FAILED: "FAILED";
812
814
  }>>]>>;
813
815
  }, z.core.$strip>;
814
816
  type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
@@ -1053,14 +1055,14 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1053
1055
  filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
1054
1056
  filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
1055
1057
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1056
- PREPARED: "PREPARED";
1057
1058
  FAILED: "FAILED";
1059
+ PREPARED: "PREPARED";
1058
1060
  PENDING: "PENDING";
1059
1061
  COMPLETED: "COMPLETED";
1060
1062
  CREATED: "CREATED";
1061
1063
  }>, z.ZodArray<z.ZodEnum<{
1062
- PREPARED: "PREPARED";
1063
1064
  FAILED: "FAILED";
1065
+ PREPARED: "PREPARED";
1064
1066
  PENDING: "PENDING";
1065
1067
  COMPLETED: "COMPLETED";
1066
1068
  CREATED: "CREATED";
@@ -1,7 +1,7 @@
1
- import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector } from '../shared/bank.pHEoRWpm.mjs';
1
+ import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector } from '../shared/bank.CJAPmWGK.mjs';
2
2
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
3
3
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
4
- import { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.BVIkpji3.mjs';
4
+ import { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.COC0tqmL.mjs';
5
5
  import { WorkerEntrypoint } from 'cloudflare:workers';
6
6
  import { DrizzleD1Database } from 'drizzle-orm/d1';
7
7
  import { z } from 'zod';
@@ -417,6 +417,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
417
417
  UA: "UA";
418
418
  AE: "AE";
419
419
  GB: "GB";
420
+ US: "US";
420
421
  UZ: "UZ";
421
422
  VU: "VU";
422
423
  VE: "VE";
@@ -746,6 +747,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
746
747
  UA: "UA";
747
748
  AE: "AE";
748
749
  GB: "GB";
750
+ US: "US";
749
751
  UZ: "UZ";
750
752
  VU: "VU";
751
753
  VE: "VE";
@@ -796,19 +798,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
796
798
  }, z.core.$strip>;
797
799
  filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
798
800
  filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
799
- FAILED: "FAILED";
800
801
  OPEN: "OPEN";
801
802
  PROCESSING: "PROCESSING";
802
803
  READY_TO_SIGN: "READY_TO_SIGN";
803
804
  SIGNED: "SIGNED";
804
805
  SIGNATURE_FAILED: "SIGNATURE_FAILED";
805
- }>, z.ZodArray<z.ZodEnum<{
806
806
  FAILED: "FAILED";
807
+ }>, z.ZodArray<z.ZodEnum<{
807
808
  OPEN: "OPEN";
808
809
  PROCESSING: "PROCESSING";
809
810
  READY_TO_SIGN: "READY_TO_SIGN";
810
811
  SIGNED: "SIGNED";
811
812
  SIGNATURE_FAILED: "SIGNATURE_FAILED";
813
+ FAILED: "FAILED";
812
814
  }>>]>>;
813
815
  }, z.core.$strip>;
814
816
  type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
@@ -1053,14 +1055,14 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1053
1055
  filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
1054
1056
  filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
1055
1057
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1056
- PREPARED: "PREPARED";
1057
1058
  FAILED: "FAILED";
1059
+ PREPARED: "PREPARED";
1058
1060
  PENDING: "PENDING";
1059
1061
  COMPLETED: "COMPLETED";
1060
1062
  CREATED: "CREATED";
1061
1063
  }>, z.ZodArray<z.ZodEnum<{
1062
- PREPARED: "PREPARED";
1063
1064
  FAILED: "FAILED";
1065
+ PREPARED: "PREPARED";
1064
1066
  PENDING: "PENDING";
1065
1067
  COMPLETED: "COMPLETED";
1066
1068
  CREATED: "CREATED";
@@ -1,7 +1,7 @@
1
- import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector } from '../shared/bank.pHEoRWpm.js';
1
+ import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector } from '../shared/bank.CJAPmWGK.js';
2
2
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
3
3
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
4
- import { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.BVIkpji3.js';
4
+ import { S as SendPaymentInput, a as SendPaymentOutput } from '../shared/bank.COC0tqmL.js';
5
5
  import { WorkerEntrypoint } from 'cloudflare:workers';
6
6
  import { DrizzleD1Database } from 'drizzle-orm/d1';
7
7
  import { z } from 'zod';
@@ -417,6 +417,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
417
417
  UA: "UA";
418
418
  AE: "AE";
419
419
  GB: "GB";
420
+ US: "US";
420
421
  UZ: "UZ";
421
422
  VU: "VU";
422
423
  VE: "VE";
@@ -746,6 +747,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
746
747
  UA: "UA";
747
748
  AE: "AE";
748
749
  GB: "GB";
750
+ US: "US";
749
751
  UZ: "UZ";
750
752
  VU: "VU";
751
753
  VE: "VE";
@@ -796,19 +798,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
796
798
  }, z.core.$strip>;
797
799
  filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
798
800
  filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
799
- FAILED: "FAILED";
800
801
  OPEN: "OPEN";
801
802
  PROCESSING: "PROCESSING";
802
803
  READY_TO_SIGN: "READY_TO_SIGN";
803
804
  SIGNED: "SIGNED";
804
805
  SIGNATURE_FAILED: "SIGNATURE_FAILED";
805
- }>, z.ZodArray<z.ZodEnum<{
806
806
  FAILED: "FAILED";
807
+ }>, z.ZodArray<z.ZodEnum<{
807
808
  OPEN: "OPEN";
808
809
  PROCESSING: "PROCESSING";
809
810
  READY_TO_SIGN: "READY_TO_SIGN";
810
811
  SIGNED: "SIGNED";
811
812
  SIGNATURE_FAILED: "SIGNATURE_FAILED";
813
+ FAILED: "FAILED";
812
814
  }>>]>>;
813
815
  }, z.core.$strip>;
814
816
  type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
@@ -1053,14 +1055,14 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1053
1055
  filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
1054
1056
  filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
1055
1057
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1056
- PREPARED: "PREPARED";
1057
1058
  FAILED: "FAILED";
1059
+ PREPARED: "PREPARED";
1058
1060
  PENDING: "PENDING";
1059
1061
  COMPLETED: "COMPLETED";
1060
1062
  CREATED: "CREATED";
1061
1063
  }>, z.ZodArray<z.ZodEnum<{
1062
- PREPARED: "PREPARED";
1063
1064
  FAILED: "FAILED";
1065
+ PREPARED: "PREPARED";
1064
1066
  PENDING: "PENDING";
1065
1067
  COMPLETED: "COMPLETED";
1066
1068
  CREATED: "CREATED";
@@ -2623,7 +2623,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2623
2623
  tableName: "batch";
2624
2624
  dataType: "string";
2625
2625
  columnType: "SQLiteText";
2626
- data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2626
+ data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
2627
2627
  driverParam: string;
2628
2628
  notNull: false;
2629
2629
  hasDefault: false;
@@ -2636,7 +2636,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2636
2636
  generated: undefined;
2637
2637
  }, {}, {
2638
2638
  length: number | undefined;
2639
- $type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2639
+ $type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
2640
2640
  }>;
2641
2641
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2642
2642
  name: "status_reason";
@@ -3066,7 +3066,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3066
3066
  tableName: "payment";
3067
3067
  dataType: "string";
3068
3068
  columnType: "SQLiteText";
3069
- data: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3069
+ data: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
3070
3070
  driverParam: string;
3071
3071
  notNull: true;
3072
3072
  hasDefault: false;
@@ -3079,7 +3079,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3079
3079
  generated: undefined;
3080
3080
  }, {}, {
3081
3081
  length: number | undefined;
3082
- $type: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3082
+ $type: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
3083
3083
  }>;
3084
3084
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3085
3085
  name: "status_reason";
@@ -2623,7 +2623,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2623
2623
  tableName: "batch";
2624
2624
  dataType: "string";
2625
2625
  columnType: "SQLiteText";
2626
- data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2626
+ data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
2627
2627
  driverParam: string;
2628
2628
  notNull: false;
2629
2629
  hasDefault: false;
@@ -2636,7 +2636,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2636
2636
  generated: undefined;
2637
2637
  }, {}, {
2638
2638
  length: number | undefined;
2639
- $type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2639
+ $type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
2640
2640
  }>;
2641
2641
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2642
2642
  name: "status_reason";
@@ -3066,7 +3066,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3066
3066
  tableName: "payment";
3067
3067
  dataType: "string";
3068
3068
  columnType: "SQLiteText";
3069
- data: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3069
+ data: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
3070
3070
  driverParam: string;
3071
3071
  notNull: true;
3072
3072
  hasDefault: false;
@@ -3079,7 +3079,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3079
3079
  generated: undefined;
3080
3080
  }, {}, {
3081
3081
  length: number | undefined;
3082
- $type: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3082
+ $type: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
3083
3083
  }>;
3084
3084
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3085
3085
  name: "status_reason";
@@ -2623,7 +2623,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2623
2623
  tableName: "batch";
2624
2624
  dataType: "string";
2625
2625
  columnType: "SQLiteText";
2626
- data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2626
+ data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
2627
2627
  driverParam: string;
2628
2628
  notNull: false;
2629
2629
  hasDefault: false;
@@ -2636,7 +2636,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2636
2636
  generated: undefined;
2637
2637
  }, {}, {
2638
2638
  length: number | undefined;
2639
- $type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2639
+ $type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
2640
2640
  }>;
2641
2641
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2642
2642
  name: "status_reason";
@@ -3066,7 +3066,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3066
3066
  tableName: "payment";
3067
3067
  dataType: "string";
3068
3068
  columnType: "SQLiteText";
3069
- data: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3069
+ data: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
3070
3070
  driverParam: string;
3071
3071
  notNull: true;
3072
3072
  hasDefault: false;
@@ -3079,7 +3079,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3079
3079
  generated: undefined;
3080
3080
  }, {}, {
3081
3081
  length: number | undefined;
3082
- $type: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3082
+ $type: "FAILED" | "PREPARED" | "PENDING" | "COMPLETED" | "CREATED";
3083
3083
  }>;
3084
3084
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3085
3085
  name: "status_reason";
@@ -393,6 +393,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
393
393
  UA: "UA";
394
394
  AE: "AE";
395
395
  GB: "GB";
396
+ US: "US";
396
397
  UZ: "UZ";
397
398
  VU: "VU";
398
399
  VE: "VE";
@@ -722,6 +723,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
722
723
  UA: "UA";
723
724
  AE: "AE";
724
725
  GB: "GB";
726
+ US: "US";
725
727
  UZ: "UZ";
726
728
  VU: "VU";
727
729
  VE: "VE";
@@ -393,6 +393,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
393
393
  UA: "UA";
394
394
  AE: "AE";
395
395
  GB: "GB";
396
+ US: "US";
396
397
  UZ: "UZ";
397
398
  VU: "VU";
398
399
  VE: "VE";
@@ -722,6 +723,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
722
723
  UA: "UA";
723
724
  AE: "AE";
724
725
  GB: "GB";
726
+ US: "US";
725
727
  UZ: "UZ";
726
728
  VU: "VU";
727
729
  VE: "VE";
@@ -393,6 +393,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
393
393
  UA: "UA";
394
394
  AE: "AE";
395
395
  GB: "GB";
396
+ US: "US";
396
397
  UZ: "UZ";
397
398
  VU: "VU";
398
399
  VE: "VE";
@@ -722,6 +723,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
722
723
  UA: "UA";
723
724
  AE: "AE";
724
725
  GB: "GB";
726
+ US: "US";
725
727
  UZ: "UZ";
726
728
  VU: "VU";
727
729
  VE: "VE";
package/dist/types.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.pHEoRWpm.cjs';
2
- export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.pHEoRWpm.cjs';
1
+ import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.CJAPmWGK.cjs';
2
+ export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.CJAPmWGK.cjs';
3
3
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.cjs';
4
4
  import { BaseEvent } from '@develit-io/backend-sdk';
5
5
  import * as drizzle_zod from 'drizzle-zod';
6
6
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
7
7
  import { z } from 'zod';
8
- import { S as SendPaymentInput } from './shared/bank.BVIkpji3.cjs';
8
+ import { S as SendPaymentInput } from './shared/bank.COC0tqmL.cjs';
9
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
10
10
  import 'drizzle-orm';
11
11
 
package/dist/types.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.pHEoRWpm.mjs';
2
- export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.pHEoRWpm.mjs';
1
+ import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.CJAPmWGK.mjs';
2
+ export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.CJAPmWGK.mjs';
3
3
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.mjs';
4
4
  import { BaseEvent } from '@develit-io/backend-sdk';
5
5
  import * as drizzle_zod from 'drizzle-zod';
6
6
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
7
7
  import { z } from 'zod';
8
- import { S as SendPaymentInput } from './shared/bank.BVIkpji3.mjs';
8
+ import { S as SendPaymentInput } from './shared/bank.COC0tqmL.mjs';
9
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
10
10
  import 'drizzle-orm';
11
11
 
package/dist/types.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.pHEoRWpm.js';
2
- export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.pHEoRWpm.js';
1
+ import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.CJAPmWGK.js';
2
+ export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.CJAPmWGK.js';
3
3
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.js';
4
4
  import { BaseEvent } from '@develit-io/backend-sdk';
5
5
  import * as drizzle_zod from 'drizzle-zod';
6
6
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
7
7
  import { z } from 'zod';
8
- import { S as SendPaymentInput } from './shared/bank.BVIkpji3.js';
8
+ import { S as SendPaymentInput } from './shared/bank.COC0tqmL.js';
9
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
10
10
  import 'drizzle-orm';
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
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.8.1",
59
+ "@develit-io/backend-sdk": "^9.10.3",
60
60
  "@develit-io/general-codes": "^1.15.0",
61
61
  "drizzle-orm": "^0.45.0",
62
62
  "drizzle-zod": "^0.8.3",