@develit-services/bank 5.2.0 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -1,14 +1,13 @@
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';
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.CdkOsZE8.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.CdkOsZE8.js';
3
+ import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.IAc8kIC-.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.IAc8kIC-.js';
5
5
  import { z } from 'zod';
6
6
  import { BaseEvent } from '@develit-io/backend-sdk';
7
7
  import * as drizzle_orm_zod from 'drizzle-orm/zod';
8
- import * as drizzle_orm from 'drizzle-orm';
9
8
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
10
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
11
- import 'zod/v4/core';
10
+ import 'drizzle-orm';
12
11
 
13
12
  type FinbricksProvider = 'KB' | 'ERSTE' | 'CSOB' | 'MOCK_COBS' | 'CREDITAS' | 'FIO' | 'MONETA' | 'AIRBANK' | 'CSAS';
14
13
  declare const FINBRICKS_TRANSACTION_STATUSES: readonly ["OPENED", "AUTHORIZED", "COMPLETED", "BOOKED", "SETTLED", "REJECTED", "CLOSED"];
@@ -741,13 +740,118 @@ declare const ottInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
741
740
  identity: undefined;
742
741
  generated: undefined;
743
742
  }, {}>;
744
- id: drizzle_orm.IsPrimaryKey<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
745
- createdAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"created_at">>;
746
- createdBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>>;
747
- updatedAt: drizzle_orm.HasDefault<drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"updated_at">>>;
748
- updatedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>>;
749
- deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
750
- deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
743
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
744
+ name: string;
745
+ tableName: "ott";
746
+ dataType: "string";
747
+ data: string;
748
+ driverParam: string;
749
+ notNull: true;
750
+ hasDefault: false;
751
+ isPrimaryKey: true;
752
+ isAutoincrement: false;
753
+ hasRuntimeDefault: false;
754
+ enumValues: [string, ...string[]];
755
+ baseColumn: never;
756
+ identity: undefined;
757
+ generated: undefined;
758
+ }, {}>;
759
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
760
+ name: string;
761
+ tableName: "ott";
762
+ dataType: "object date";
763
+ data: Date;
764
+ driverParam: number;
765
+ notNull: false;
766
+ hasDefault: true;
767
+ isPrimaryKey: false;
768
+ isAutoincrement: false;
769
+ hasRuntimeDefault: false;
770
+ enumValues: undefined;
771
+ baseColumn: never;
772
+ identity: undefined;
773
+ generated: undefined;
774
+ }, {}>;
775
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
776
+ name: string;
777
+ tableName: "ott";
778
+ dataType: "string";
779
+ data: string;
780
+ driverParam: string;
781
+ notNull: false;
782
+ hasDefault: true;
783
+ isPrimaryKey: false;
784
+ isAutoincrement: false;
785
+ hasRuntimeDefault: false;
786
+ enumValues: [string, ...string[]];
787
+ baseColumn: never;
788
+ identity: undefined;
789
+ generated: undefined;
790
+ }, {}>;
791
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
792
+ name: string;
793
+ tableName: "ott";
794
+ dataType: "object date";
795
+ data: Date;
796
+ driverParam: number;
797
+ notNull: false;
798
+ hasDefault: true;
799
+ isPrimaryKey: false;
800
+ isAutoincrement: false;
801
+ hasRuntimeDefault: false;
802
+ enumValues: undefined;
803
+ baseColumn: never;
804
+ identity: undefined;
805
+ generated: undefined;
806
+ }, {}>;
807
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
808
+ name: string;
809
+ tableName: "ott";
810
+ dataType: "string";
811
+ data: string;
812
+ driverParam: string;
813
+ notNull: false;
814
+ hasDefault: true;
815
+ isPrimaryKey: false;
816
+ isAutoincrement: false;
817
+ hasRuntimeDefault: false;
818
+ enumValues: [string, ...string[]];
819
+ baseColumn: never;
820
+ identity: undefined;
821
+ generated: undefined;
822
+ }, {}>;
823
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
824
+ name: string;
825
+ tableName: "ott";
826
+ dataType: "object date";
827
+ data: Date;
828
+ driverParam: number;
829
+ notNull: false;
830
+ hasDefault: true;
831
+ isPrimaryKey: false;
832
+ isAutoincrement: false;
833
+ hasRuntimeDefault: false;
834
+ enumValues: undefined;
835
+ baseColumn: never;
836
+ identity: undefined;
837
+ generated: undefined;
838
+ }, {}>;
839
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
840
+ name: string;
841
+ tableName: "ott";
842
+ dataType: "string";
843
+ data: string;
844
+ driverParam: string;
845
+ notNull: false;
846
+ hasDefault: true;
847
+ isPrimaryKey: false;
848
+ isAutoincrement: false;
849
+ hasRuntimeDefault: false;
850
+ enumValues: [string, ...string[]];
851
+ baseColumn: never;
852
+ identity: undefined;
853
+ generated: undefined;
854
+ }, {}>;
751
855
  }, undefined, undefined>;
752
856
  declare const ottUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
753
857
  oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -814,13 +918,118 @@ declare const ottUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
814
918
  identity: undefined;
815
919
  generated: undefined;
816
920
  }, {}>;
817
- id: drizzle_orm.IsPrimaryKey<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
818
- createdAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"created_at">>;
819
- createdBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>>;
820
- updatedAt: drizzle_orm.HasDefault<drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"updated_at">>>;
821
- updatedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>>;
822
- deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
823
- deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
921
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
922
+ name: string;
923
+ tableName: "ott";
924
+ dataType: "string";
925
+ data: string;
926
+ driverParam: string;
927
+ notNull: true;
928
+ hasDefault: false;
929
+ isPrimaryKey: true;
930
+ isAutoincrement: false;
931
+ hasRuntimeDefault: false;
932
+ enumValues: [string, ...string[]];
933
+ baseColumn: never;
934
+ identity: undefined;
935
+ generated: undefined;
936
+ }, {}>;
937
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
938
+ name: string;
939
+ tableName: "ott";
940
+ dataType: "object date";
941
+ data: Date;
942
+ driverParam: number;
943
+ notNull: false;
944
+ hasDefault: true;
945
+ isPrimaryKey: false;
946
+ isAutoincrement: false;
947
+ hasRuntimeDefault: false;
948
+ enumValues: undefined;
949
+ baseColumn: never;
950
+ identity: undefined;
951
+ generated: undefined;
952
+ }, {}>;
953
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
954
+ name: string;
955
+ tableName: "ott";
956
+ dataType: "string";
957
+ data: string;
958
+ driverParam: string;
959
+ notNull: false;
960
+ hasDefault: true;
961
+ isPrimaryKey: false;
962
+ isAutoincrement: false;
963
+ hasRuntimeDefault: false;
964
+ enumValues: [string, ...string[]];
965
+ baseColumn: never;
966
+ identity: undefined;
967
+ generated: undefined;
968
+ }, {}>;
969
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
970
+ name: string;
971
+ tableName: "ott";
972
+ dataType: "object date";
973
+ data: Date;
974
+ driverParam: number;
975
+ notNull: false;
976
+ hasDefault: true;
977
+ isPrimaryKey: false;
978
+ isAutoincrement: false;
979
+ hasRuntimeDefault: false;
980
+ enumValues: undefined;
981
+ baseColumn: never;
982
+ identity: undefined;
983
+ generated: undefined;
984
+ }, {}>;
985
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
986
+ name: string;
987
+ tableName: "ott";
988
+ dataType: "string";
989
+ data: string;
990
+ driverParam: string;
991
+ notNull: false;
992
+ hasDefault: true;
993
+ isPrimaryKey: false;
994
+ isAutoincrement: false;
995
+ hasRuntimeDefault: false;
996
+ enumValues: [string, ...string[]];
997
+ baseColumn: never;
998
+ identity: undefined;
999
+ generated: undefined;
1000
+ }, {}>;
1001
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1002
+ name: string;
1003
+ tableName: "ott";
1004
+ dataType: "object date";
1005
+ data: Date;
1006
+ driverParam: number;
1007
+ notNull: false;
1008
+ hasDefault: true;
1009
+ isPrimaryKey: false;
1010
+ isAutoincrement: false;
1011
+ hasRuntimeDefault: false;
1012
+ enumValues: undefined;
1013
+ baseColumn: never;
1014
+ identity: undefined;
1015
+ generated: undefined;
1016
+ }, {}>;
1017
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1018
+ name: string;
1019
+ tableName: "ott";
1020
+ dataType: "string";
1021
+ data: string;
1022
+ driverParam: string;
1023
+ notNull: false;
1024
+ hasDefault: true;
1025
+ isPrimaryKey: false;
1026
+ isAutoincrement: false;
1027
+ hasRuntimeDefault: false;
1028
+ enumValues: [string, ...string[]];
1029
+ baseColumn: never;
1030
+ identity: undefined;
1031
+ generated: undefined;
1032
+ }, {}>;
824
1033
  }, undefined, undefined>;
825
1034
  declare const ottSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
826
1035
  oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -887,13 +1096,118 @@ declare const ottSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
887
1096
  identity: undefined;
888
1097
  generated: undefined;
889
1098
  }, {}>;
890
- id: drizzle_orm.IsPrimaryKey<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
891
- createdAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"created_at">>;
892
- createdBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>>;
893
- updatedAt: drizzle_orm.HasDefault<drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"updated_at">>>;
894
- updatedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>>;
895
- deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
896
- deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
1099
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
1100
+ name: string;
1101
+ tableName: "ott";
1102
+ dataType: "string";
1103
+ data: string;
1104
+ driverParam: string;
1105
+ notNull: true;
1106
+ hasDefault: false;
1107
+ isPrimaryKey: true;
1108
+ isAutoincrement: false;
1109
+ hasRuntimeDefault: false;
1110
+ enumValues: [string, ...string[]];
1111
+ baseColumn: never;
1112
+ identity: undefined;
1113
+ generated: undefined;
1114
+ }, {}>;
1115
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1116
+ name: string;
1117
+ tableName: "ott";
1118
+ dataType: "object date";
1119
+ data: Date;
1120
+ driverParam: number;
1121
+ notNull: false;
1122
+ hasDefault: true;
1123
+ isPrimaryKey: false;
1124
+ isAutoincrement: false;
1125
+ hasRuntimeDefault: false;
1126
+ enumValues: undefined;
1127
+ baseColumn: never;
1128
+ identity: undefined;
1129
+ generated: undefined;
1130
+ }, {}>;
1131
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1132
+ name: string;
1133
+ tableName: "ott";
1134
+ dataType: "string";
1135
+ data: string;
1136
+ driverParam: string;
1137
+ notNull: false;
1138
+ hasDefault: true;
1139
+ isPrimaryKey: false;
1140
+ isAutoincrement: false;
1141
+ hasRuntimeDefault: false;
1142
+ enumValues: [string, ...string[]];
1143
+ baseColumn: never;
1144
+ identity: undefined;
1145
+ generated: undefined;
1146
+ }, {}>;
1147
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1148
+ name: string;
1149
+ tableName: "ott";
1150
+ dataType: "object date";
1151
+ data: Date;
1152
+ driverParam: number;
1153
+ notNull: false;
1154
+ hasDefault: true;
1155
+ isPrimaryKey: false;
1156
+ isAutoincrement: false;
1157
+ hasRuntimeDefault: false;
1158
+ enumValues: undefined;
1159
+ baseColumn: never;
1160
+ identity: undefined;
1161
+ generated: undefined;
1162
+ }, {}>;
1163
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1164
+ name: string;
1165
+ tableName: "ott";
1166
+ dataType: "string";
1167
+ data: string;
1168
+ driverParam: string;
1169
+ notNull: false;
1170
+ hasDefault: true;
1171
+ isPrimaryKey: false;
1172
+ isAutoincrement: false;
1173
+ hasRuntimeDefault: false;
1174
+ enumValues: [string, ...string[]];
1175
+ baseColumn: never;
1176
+ identity: undefined;
1177
+ generated: undefined;
1178
+ }, {}>;
1179
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1180
+ name: string;
1181
+ tableName: "ott";
1182
+ dataType: "object date";
1183
+ data: Date;
1184
+ driverParam: number;
1185
+ notNull: false;
1186
+ hasDefault: true;
1187
+ isPrimaryKey: false;
1188
+ isAutoincrement: false;
1189
+ hasRuntimeDefault: false;
1190
+ enumValues: undefined;
1191
+ baseColumn: never;
1192
+ identity: undefined;
1193
+ generated: undefined;
1194
+ }, {}>;
1195
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1196
+ name: string;
1197
+ tableName: "ott";
1198
+ dataType: "string";
1199
+ data: string;
1200
+ driverParam: string;
1201
+ notNull: false;
1202
+ hasDefault: true;
1203
+ isPrimaryKey: false;
1204
+ isAutoincrement: false;
1205
+ hasRuntimeDefault: false;
1206
+ enumValues: [string, ...string[]];
1207
+ baseColumn: never;
1208
+ identity: undefined;
1209
+ generated: undefined;
1210
+ }, {}>;
897
1211
  }, undefined, undefined>;
898
1212
 
899
1213
  type OneTimeTokenInsertType = Omit<z.infer<typeof ottInsertSchema>, 'id'> & {
package/dist/types.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BASE_TERMINAL_STATUSES, C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as accountCredentialsInsertSchema, e as accountCredentialsSelectSchema, f as accountCredentialsUpdateSchema, g as accountInsertSchema, h as accountSelectSchema, i as accountUpdateSchema, j as assignAccount, k as dbuAccountConfigSchema, l as hasPaymentAccountAssigned, m as isPaymentCompleted, n as isPendingStatus, o as isProcessedStatus, p as isTerminalStatus, q as ottInsertSchema, r as ottSelectSchema, s as ottUpdateSchema, t as signFinbricksJws, u as toBatchedPayment, v as toBatchedPaymentFromPaymentRequest, w as toCompletedPayment, x as toIncomingPayment, y as toPaymentRequestInsert, z as toPreparedPayment, A as useFinbricksFetch } from './shared/bank.Bkxo76q4.mjs';
1
+ export { B as BASE_TERMINAL_STATUSES, C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as accountCredentialsInsertSchema, e as accountCredentialsSelectSchema, f as accountCredentialsUpdateSchema, g as accountInsertSchema, h as accountSelectSchema, i as accountUpdateSchema, j as assignAccount, k as dbuAccountConfigSchema, l as hasPaymentAccountAssigned, m as isPaymentCompleted, n as isPendingStatus, o as isProcessedStatus, p as isTerminalStatus, q as ottInsertSchema, r as ottSelectSchema, s as ottUpdateSchema, t as signFinbricksJws, u as toBatchedPayment, v as toBatchedPaymentFromPaymentRequest, w as toCompletedPayment, x as toIncomingPayment, y as toPaymentRequestInsert, z as toPreparedPayment, A as useFinbricksFetch } from './shared/bank.Cg2epnnD.mjs';
2
2
  export { A as ACCOUNT_STATUSES, B as BATCH_MODES, a as BATCH_STATUES, a as BATCH_STATUSES, C as CHARGE_BEARERS, b as CONNECTOR_KEYS, c as COUNTRY_CODES, d as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, P as PAYMENT_DIRECTIONS, e as PAYMENT_REQUEST_STATUSES, f as PAYMENT_STATUSES, g as PAYMENT_TYPES, T as TOKEN_TYPES } from './shared/bank.BzDNLxB_.mjs';
3
3
  export { i as isBatchAuthorized, a as isBatchCompleted, b as isBatchFailed, c as isBatchInitiated, d as isBatchProcessing, e as isBatchReadyToSign } from './shared/bank.XqSw509X.mjs';
4
4
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -57,8 +57,8 @@
57
57
  "jose": "^6.1.3"
58
58
  },
59
59
  "peerDependencies": {
60
- "@develit-io/backend-sdk": "^11.0.2",
61
- "@develit-io/general-codes": "^1.19.0",
60
+ "@develit-io/backend-sdk": "^12.2.1",
61
+ "@develit-io/general-codes": "^1.19.2",
62
62
  "drizzle-orm": "^1.0.0-rc.1",
63
63
  "zod": "^4.1.13",
64
64
  "@develit-io/platform-sdk": "^4.7.2"