@develit-services/bank 6.2.2 → 6.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/base.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  const backendSdk = require('@develit-io/backend-sdk');
4
- const paymentDirection = require('./shared/bank.Z1R7hzNr.cjs');
4
+ const paymentDirection = require('./shared/bank.D2wQhxnG.cjs');
5
5
  const drizzleOrm = require('drizzle-orm');
6
6
  const cloudflare_workers = require('cloudflare:workers');
7
7
  const d1 = require('drizzle-orm/d1');
8
8
  require('jose');
9
- const bank = require('./shared/bank.D1KOxBVA.cjs');
9
+ const bank = require('./shared/bank.DbgMfSN7.cjs');
10
10
  const zod = require('zod');
11
11
  const database_schema = require('./shared/bank.Ca3jzmIb.cjs');
12
12
  const generalCodes = require('@develit-io/general-codes');
package/dist/base.d.cts CHANGED
@@ -1,7 +1,9 @@
1
1
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
3
- import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.DIx4G38W.cjs';
4
- import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.Cyzcnl1W.cjs';
3
+ import { t as tables, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.C7zoSV8F.cjs';
4
+ import { BatchSelectType, PaymentRequestSelectType, AccountSelectType, PaymentSelectType, LastSyncMetadata, ConnectorConfig, ConnectorKey, ConfigEnvironmentBank, IBankConnector, PaymentType, CurrencyCode } from './types.cjs';
5
+ import { a as SendPaymentOutput, c as SendPaymentSyncOutput } from './shared/bank.Dtw4Amqo.cjs';
6
+ import { SendPaymentInput, SendPaymentSyncInput, FinbricksSupportedBanksResponse } from './types.cjs';
5
7
  import { WorkerEntrypoint } from 'cloudflare:workers';
6
8
  import { DrizzleD1Database } from 'drizzle-orm/d1';
7
9
  import { z } from 'zod';
@@ -164,7 +166,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
164
166
  city: z.ZodOptional<z.ZodString>;
165
167
  postalCode: z.ZodOptional<z.ZodString>;
166
168
  countryCode: z.ZodOptional<z.ZodEnum<{
167
- IM: "IM";
168
169
  AF: "AF";
169
170
  AL: "AL";
170
171
  DZ: "DZ";
@@ -254,6 +255,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
254
255
  IR: "IR";
255
256
  IQ: "IQ";
256
257
  IE: "IE";
258
+ IM: "IM";
257
259
  IL: "IL";
258
260
  IT: "IT";
259
261
  CI: "CI";
@@ -436,7 +438,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
436
438
  AVAX: "AVAX";
437
439
  }>>;
438
440
  countryCode: z.ZodOptional<z.ZodEnum<{
439
- IM: "IM";
440
441
  AF: "AF";
441
442
  AL: "AL";
442
443
  DZ: "DZ";
@@ -526,6 +527,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
526
527
  IR: "IR";
527
528
  IQ: "IQ";
528
529
  IE: "IE";
530
+ IM: "IM";
529
531
  IL: "IL";
530
532
  IT: "IT";
531
533
  CI: "CI";
@@ -729,7 +731,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
729
731
  city: z.ZodOptional<z.ZodString>;
730
732
  postalCode: z.ZodOptional<z.ZodString>;
731
733
  countryCode: z.ZodOptional<z.ZodEnum<{
732
- IM: "IM";
733
734
  AF: "AF";
734
735
  AL: "AL";
735
736
  DZ: "DZ";
@@ -819,6 +820,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
819
820
  IR: "IR";
820
821
  IQ: "IQ";
821
822
  IE: "IE";
823
+ IM: "IM";
822
824
  IL: "IL";
823
825
  IT: "IT";
824
826
  CI: "CI";
@@ -1001,7 +1003,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
1001
1003
  AVAX: "AVAX";
1002
1004
  }>>;
1003
1005
  countryCode: z.ZodOptional<z.ZodEnum<{
1004
- IM: "IM";
1005
1006
  AF: "AF";
1006
1007
  AL: "AL";
1007
1008
  DZ: "DZ";
@@ -1091,6 +1092,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
1091
1092
  IR: "IR";
1092
1093
  IQ: "IQ";
1093
1094
  IE: "IE";
1095
+ IM: "IM";
1094
1096
  IL: "IL";
1095
1097
  IT: "IT";
1096
1098
  CI: "CI";
@@ -1262,7 +1264,6 @@ declare const authorizeAccountInputSchema: z.ZodObject<{
1262
1264
  city: z.ZodOptional<z.ZodString>;
1263
1265
  postalCode: z.ZodOptional<z.ZodString>;
1264
1266
  countryCode: z.ZodOptional<z.ZodEnum<{
1265
- IM: "IM";
1266
1267
  AF: "AF";
1267
1268
  AL: "AL";
1268
1269
  DZ: "DZ";
@@ -1352,6 +1353,7 @@ declare const authorizeAccountInputSchema: z.ZodObject<{
1352
1353
  IR: "IR";
1353
1354
  IQ: "IQ";
1354
1355
  IE: "IE";
1356
+ IM: "IM";
1355
1357
  IL: "IL";
1356
1358
  IT: "IT";
1357
1359
  CI: "CI";
@@ -1618,7 +1620,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1618
1620
  city: z.ZodOptional<z.ZodString>;
1619
1621
  postalCode: z.ZodOptional<z.ZodString>;
1620
1622
  countryCode: z.ZodOptional<z.ZodEnum<{
1621
- IM: "IM";
1622
1623
  AF: "AF";
1623
1624
  AL: "AL";
1624
1625
  DZ: "DZ";
@@ -1708,6 +1709,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1708
1709
  IR: "IR";
1709
1710
  IQ: "IQ";
1710
1711
  IE: "IE";
1712
+ IM: "IM";
1711
1713
  IL: "IL";
1712
1714
  IT: "IT";
1713
1715
  CI: "CI";
@@ -1890,7 +1892,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1890
1892
  AVAX: "AVAX";
1891
1893
  }>>;
1892
1894
  countryCode: z.ZodOptional<z.ZodEnum<{
1893
- IM: "IM";
1894
1895
  AF: "AF";
1895
1896
  AL: "AL";
1896
1897
  DZ: "DZ";
@@ -1980,6 +1981,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1980
1981
  IR: "IR";
1981
1982
  IQ: "IQ";
1982
1983
  IE: "IE";
1984
+ IM: "IM";
1983
1985
  IL: "IL";
1984
1986
  IT: "IT";
1985
1987
  CI: "CI";
@@ -2183,7 +2185,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2183
2185
  city: z.ZodOptional<z.ZodString>;
2184
2186
  postalCode: z.ZodOptional<z.ZodString>;
2185
2187
  countryCode: z.ZodOptional<z.ZodEnum<{
2186
- IM: "IM";
2187
2188
  AF: "AF";
2188
2189
  AL: "AL";
2189
2190
  DZ: "DZ";
@@ -2273,6 +2274,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2273
2274
  IR: "IR";
2274
2275
  IQ: "IQ";
2275
2276
  IE: "IE";
2277
+ IM: "IM";
2276
2278
  IL: "IL";
2277
2279
  IT: "IT";
2278
2280
  CI: "CI";
@@ -2455,7 +2457,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2455
2457
  AVAX: "AVAX";
2456
2458
  }>>;
2457
2459
  countryCode: z.ZodOptional<z.ZodEnum<{
2458
- IM: "IM";
2459
2460
  AF: "AF";
2460
2461
  AL: "AL";
2461
2462
  DZ: "DZ";
@@ -2545,6 +2546,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2545
2546
  IR: "IR";
2546
2547
  IQ: "IQ";
2547
2548
  IE: "IE";
2549
+ IM: "IM";
2548
2550
  IL: "IL";
2549
2551
  IT: "IT";
2550
2552
  CI: "CI";
@@ -2958,8 +2960,8 @@ declare const getPaymentsInputSchema: z.ZodObject<{
2958
2960
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2959
2961
  BOOKED: "BOOKED";
2960
2962
  REJECTED: "REJECTED";
2961
- PROCESSING: "PROCESSING";
2962
2963
  PENDING: "PENDING";
2964
+ PROCESSING: "PROCESSING";
2963
2965
  CANCELLED: "CANCELLED";
2964
2966
  SCHEDULED: "SCHEDULED";
2965
2967
  HOLD: "HOLD";
@@ -2967,8 +2969,8 @@ declare const getPaymentsInputSchema: z.ZodObject<{
2967
2969
  }>, z.ZodArray<z.ZodEnum<{
2968
2970
  BOOKED: "BOOKED";
2969
2971
  REJECTED: "REJECTED";
2970
- PROCESSING: "PROCESSING";
2971
2972
  PENDING: "PENDING";
2973
+ PROCESSING: "PROCESSING";
2972
2974
  CANCELLED: "CANCELLED";
2973
2975
  SCHEDULED: "SCHEDULED";
2974
2976
  HOLD: "HOLD";
@@ -3626,7 +3628,6 @@ declare const updateAccountInputSchema: z.ZodObject<{
3626
3628
  city: z.ZodOptional<z.ZodString>;
3627
3629
  postalCode: z.ZodOptional<z.ZodString>;
3628
3630
  countryCode: z.ZodOptional<z.ZodEnum<{
3629
- IM: "IM";
3630
3631
  AF: "AF";
3631
3632
  AL: "AL";
3632
3633
  DZ: "DZ";
@@ -3716,6 +3717,7 @@ declare const updateAccountInputSchema: z.ZodObject<{
3716
3717
  IR: "IR";
3717
3718
  IQ: "IQ";
3718
3719
  IE: "IE";
3720
+ IM: "IM";
3719
3721
  IL: "IL";
3720
3722
  IT: "IT";
3721
3723
  CI: "CI";
package/dist/base.d.mts CHANGED
@@ -1,7 +1,9 @@
1
1
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
3
- import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.DIx4G38W.mjs';
4
- import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.DZJ7E0st.mjs';
3
+ import { t as tables, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.C7zoSV8F.mjs';
4
+ import { BatchSelectType, PaymentRequestSelectType, AccountSelectType, PaymentSelectType, LastSyncMetadata, ConnectorConfig, ConnectorKey, ConfigEnvironmentBank, IBankConnector, PaymentType, CurrencyCode } from './types.mjs';
5
+ import { a as SendPaymentOutput, c as SendPaymentSyncOutput } from './shared/bank.BBNHHD0v.mjs';
6
+ import { SendPaymentInput, SendPaymentSyncInput, FinbricksSupportedBanksResponse } from './types.mjs';
5
7
  import { WorkerEntrypoint } from 'cloudflare:workers';
6
8
  import { DrizzleD1Database } from 'drizzle-orm/d1';
7
9
  import { z } from 'zod';
@@ -164,7 +166,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
164
166
  city: z.ZodOptional<z.ZodString>;
165
167
  postalCode: z.ZodOptional<z.ZodString>;
166
168
  countryCode: z.ZodOptional<z.ZodEnum<{
167
- IM: "IM";
168
169
  AF: "AF";
169
170
  AL: "AL";
170
171
  DZ: "DZ";
@@ -254,6 +255,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
254
255
  IR: "IR";
255
256
  IQ: "IQ";
256
257
  IE: "IE";
258
+ IM: "IM";
257
259
  IL: "IL";
258
260
  IT: "IT";
259
261
  CI: "CI";
@@ -436,7 +438,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
436
438
  AVAX: "AVAX";
437
439
  }>>;
438
440
  countryCode: z.ZodOptional<z.ZodEnum<{
439
- IM: "IM";
440
441
  AF: "AF";
441
442
  AL: "AL";
442
443
  DZ: "DZ";
@@ -526,6 +527,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
526
527
  IR: "IR";
527
528
  IQ: "IQ";
528
529
  IE: "IE";
530
+ IM: "IM";
529
531
  IL: "IL";
530
532
  IT: "IT";
531
533
  CI: "CI";
@@ -729,7 +731,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
729
731
  city: z.ZodOptional<z.ZodString>;
730
732
  postalCode: z.ZodOptional<z.ZodString>;
731
733
  countryCode: z.ZodOptional<z.ZodEnum<{
732
- IM: "IM";
733
734
  AF: "AF";
734
735
  AL: "AL";
735
736
  DZ: "DZ";
@@ -819,6 +820,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
819
820
  IR: "IR";
820
821
  IQ: "IQ";
821
822
  IE: "IE";
823
+ IM: "IM";
822
824
  IL: "IL";
823
825
  IT: "IT";
824
826
  CI: "CI";
@@ -1001,7 +1003,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
1001
1003
  AVAX: "AVAX";
1002
1004
  }>>;
1003
1005
  countryCode: z.ZodOptional<z.ZodEnum<{
1004
- IM: "IM";
1005
1006
  AF: "AF";
1006
1007
  AL: "AL";
1007
1008
  DZ: "DZ";
@@ -1091,6 +1092,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
1091
1092
  IR: "IR";
1092
1093
  IQ: "IQ";
1093
1094
  IE: "IE";
1095
+ IM: "IM";
1094
1096
  IL: "IL";
1095
1097
  IT: "IT";
1096
1098
  CI: "CI";
@@ -1262,7 +1264,6 @@ declare const authorizeAccountInputSchema: z.ZodObject<{
1262
1264
  city: z.ZodOptional<z.ZodString>;
1263
1265
  postalCode: z.ZodOptional<z.ZodString>;
1264
1266
  countryCode: z.ZodOptional<z.ZodEnum<{
1265
- IM: "IM";
1266
1267
  AF: "AF";
1267
1268
  AL: "AL";
1268
1269
  DZ: "DZ";
@@ -1352,6 +1353,7 @@ declare const authorizeAccountInputSchema: z.ZodObject<{
1352
1353
  IR: "IR";
1353
1354
  IQ: "IQ";
1354
1355
  IE: "IE";
1356
+ IM: "IM";
1355
1357
  IL: "IL";
1356
1358
  IT: "IT";
1357
1359
  CI: "CI";
@@ -1618,7 +1620,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1618
1620
  city: z.ZodOptional<z.ZodString>;
1619
1621
  postalCode: z.ZodOptional<z.ZodString>;
1620
1622
  countryCode: z.ZodOptional<z.ZodEnum<{
1621
- IM: "IM";
1622
1623
  AF: "AF";
1623
1624
  AL: "AL";
1624
1625
  DZ: "DZ";
@@ -1708,6 +1709,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1708
1709
  IR: "IR";
1709
1710
  IQ: "IQ";
1710
1711
  IE: "IE";
1712
+ IM: "IM";
1711
1713
  IL: "IL";
1712
1714
  IT: "IT";
1713
1715
  CI: "CI";
@@ -1890,7 +1892,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1890
1892
  AVAX: "AVAX";
1891
1893
  }>>;
1892
1894
  countryCode: z.ZodOptional<z.ZodEnum<{
1893
- IM: "IM";
1894
1895
  AF: "AF";
1895
1896
  AL: "AL";
1896
1897
  DZ: "DZ";
@@ -1980,6 +1981,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1980
1981
  IR: "IR";
1981
1982
  IQ: "IQ";
1982
1983
  IE: "IE";
1984
+ IM: "IM";
1983
1985
  IL: "IL";
1984
1986
  IT: "IT";
1985
1987
  CI: "CI";
@@ -2183,7 +2185,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2183
2185
  city: z.ZodOptional<z.ZodString>;
2184
2186
  postalCode: z.ZodOptional<z.ZodString>;
2185
2187
  countryCode: z.ZodOptional<z.ZodEnum<{
2186
- IM: "IM";
2187
2188
  AF: "AF";
2188
2189
  AL: "AL";
2189
2190
  DZ: "DZ";
@@ -2273,6 +2274,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2273
2274
  IR: "IR";
2274
2275
  IQ: "IQ";
2275
2276
  IE: "IE";
2277
+ IM: "IM";
2276
2278
  IL: "IL";
2277
2279
  IT: "IT";
2278
2280
  CI: "CI";
@@ -2455,7 +2457,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2455
2457
  AVAX: "AVAX";
2456
2458
  }>>;
2457
2459
  countryCode: z.ZodOptional<z.ZodEnum<{
2458
- IM: "IM";
2459
2460
  AF: "AF";
2460
2461
  AL: "AL";
2461
2462
  DZ: "DZ";
@@ -2545,6 +2546,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2545
2546
  IR: "IR";
2546
2547
  IQ: "IQ";
2547
2548
  IE: "IE";
2549
+ IM: "IM";
2548
2550
  IL: "IL";
2549
2551
  IT: "IT";
2550
2552
  CI: "CI";
@@ -2958,8 +2960,8 @@ declare const getPaymentsInputSchema: z.ZodObject<{
2958
2960
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2959
2961
  BOOKED: "BOOKED";
2960
2962
  REJECTED: "REJECTED";
2961
- PROCESSING: "PROCESSING";
2962
2963
  PENDING: "PENDING";
2964
+ PROCESSING: "PROCESSING";
2963
2965
  CANCELLED: "CANCELLED";
2964
2966
  SCHEDULED: "SCHEDULED";
2965
2967
  HOLD: "HOLD";
@@ -2967,8 +2969,8 @@ declare const getPaymentsInputSchema: z.ZodObject<{
2967
2969
  }>, z.ZodArray<z.ZodEnum<{
2968
2970
  BOOKED: "BOOKED";
2969
2971
  REJECTED: "REJECTED";
2970
- PROCESSING: "PROCESSING";
2971
2972
  PENDING: "PENDING";
2973
+ PROCESSING: "PROCESSING";
2972
2974
  CANCELLED: "CANCELLED";
2973
2975
  SCHEDULED: "SCHEDULED";
2974
2976
  HOLD: "HOLD";
@@ -3626,7 +3628,6 @@ declare const updateAccountInputSchema: z.ZodObject<{
3626
3628
  city: z.ZodOptional<z.ZodString>;
3627
3629
  postalCode: z.ZodOptional<z.ZodString>;
3628
3630
  countryCode: z.ZodOptional<z.ZodEnum<{
3629
- IM: "IM";
3630
3631
  AF: "AF";
3631
3632
  AL: "AL";
3632
3633
  DZ: "DZ";
@@ -3716,6 +3717,7 @@ declare const updateAccountInputSchema: z.ZodObject<{
3716
3717
  IR: "IR";
3717
3718
  IQ: "IQ";
3718
3719
  IE: "IE";
3720
+ IM: "IM";
3719
3721
  IL: "IL";
3720
3722
  IT: "IT";
3721
3723
  CI: "CI";
package/dist/base.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
3
- import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, L as LastSyncMetadata, C as ConnectorConfig, t as tables, b as ConnectorKey, c as ConfigEnvironmentBank, I as IBankConnector, d as PaymentType, e as CurrencyCode, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.DIx4G38W.js';
4
- import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from './shared/bank.a661MsjV.js';
3
+ import { t as tables, H as HandleAuthorizationCallbackInput, f as HandleAuthorizationCallbackOutput } from './shared/bank.C7zoSV8F.js';
4
+ import { BatchSelectType, PaymentRequestSelectType, AccountSelectType, PaymentSelectType, LastSyncMetadata, ConnectorConfig, ConnectorKey, ConfigEnvironmentBank, IBankConnector, PaymentType, CurrencyCode } from './types.js';
5
+ import { a as SendPaymentOutput, c as SendPaymentSyncOutput } from './shared/bank.BO2rCT2t.js';
6
+ import { SendPaymentInput, SendPaymentSyncInput, FinbricksSupportedBanksResponse } from './types.js';
5
7
  import { WorkerEntrypoint } from 'cloudflare:workers';
6
8
  import { DrizzleD1Database } from 'drizzle-orm/d1';
7
9
  import { z } from 'zod';
@@ -164,7 +166,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
164
166
  city: z.ZodOptional<z.ZodString>;
165
167
  postalCode: z.ZodOptional<z.ZodString>;
166
168
  countryCode: z.ZodOptional<z.ZodEnum<{
167
- IM: "IM";
168
169
  AF: "AF";
169
170
  AL: "AL";
170
171
  DZ: "DZ";
@@ -254,6 +255,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
254
255
  IR: "IR";
255
256
  IQ: "IQ";
256
257
  IE: "IE";
258
+ IM: "IM";
257
259
  IL: "IL";
258
260
  IT: "IT";
259
261
  CI: "CI";
@@ -436,7 +438,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
436
438
  AVAX: "AVAX";
437
439
  }>>;
438
440
  countryCode: z.ZodOptional<z.ZodEnum<{
439
- IM: "IM";
440
441
  AF: "AF";
441
442
  AL: "AL";
442
443
  DZ: "DZ";
@@ -526,6 +527,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
526
527
  IR: "IR";
527
528
  IQ: "IQ";
528
529
  IE: "IE";
530
+ IM: "IM";
529
531
  IL: "IL";
530
532
  IT: "IT";
531
533
  CI: "CI";
@@ -729,7 +731,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
729
731
  city: z.ZodOptional<z.ZodString>;
730
732
  postalCode: z.ZodOptional<z.ZodString>;
731
733
  countryCode: z.ZodOptional<z.ZodEnum<{
732
- IM: "IM";
733
734
  AF: "AF";
734
735
  AL: "AL";
735
736
  DZ: "DZ";
@@ -819,6 +820,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
819
820
  IR: "IR";
820
821
  IQ: "IQ";
821
822
  IE: "IE";
823
+ IM: "IM";
822
824
  IL: "IL";
823
825
  IT: "IT";
824
826
  CI: "CI";
@@ -1001,7 +1003,6 @@ declare const sendBatchInputSchema: z.ZodObject<{
1001
1003
  AVAX: "AVAX";
1002
1004
  }>>;
1003
1005
  countryCode: z.ZodOptional<z.ZodEnum<{
1004
- IM: "IM";
1005
1006
  AF: "AF";
1006
1007
  AL: "AL";
1007
1008
  DZ: "DZ";
@@ -1091,6 +1092,7 @@ declare const sendBatchInputSchema: z.ZodObject<{
1091
1092
  IR: "IR";
1092
1093
  IQ: "IQ";
1093
1094
  IE: "IE";
1095
+ IM: "IM";
1094
1096
  IL: "IL";
1095
1097
  IT: "IT";
1096
1098
  CI: "CI";
@@ -1262,7 +1264,6 @@ declare const authorizeAccountInputSchema: z.ZodObject<{
1262
1264
  city: z.ZodOptional<z.ZodString>;
1263
1265
  postalCode: z.ZodOptional<z.ZodString>;
1264
1266
  countryCode: z.ZodOptional<z.ZodEnum<{
1265
- IM: "IM";
1266
1267
  AF: "AF";
1267
1268
  AL: "AL";
1268
1269
  DZ: "DZ";
@@ -1352,6 +1353,7 @@ declare const authorizeAccountInputSchema: z.ZodObject<{
1352
1353
  IR: "IR";
1353
1354
  IQ: "IQ";
1354
1355
  IE: "IE";
1356
+ IM: "IM";
1355
1357
  IL: "IL";
1356
1358
  IT: "IT";
1357
1359
  CI: "CI";
@@ -1618,7 +1620,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1618
1620
  city: z.ZodOptional<z.ZodString>;
1619
1621
  postalCode: z.ZodOptional<z.ZodString>;
1620
1622
  countryCode: z.ZodOptional<z.ZodEnum<{
1621
- IM: "IM";
1622
1623
  AF: "AF";
1623
1624
  AL: "AL";
1624
1625
  DZ: "DZ";
@@ -1708,6 +1709,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1708
1709
  IR: "IR";
1709
1710
  IQ: "IQ";
1710
1711
  IE: "IE";
1712
+ IM: "IM";
1711
1713
  IL: "IL";
1712
1714
  IT: "IT";
1713
1715
  CI: "CI";
@@ -1890,7 +1892,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1890
1892
  AVAX: "AVAX";
1891
1893
  }>>;
1892
1894
  countryCode: z.ZodOptional<z.ZodEnum<{
1893
- IM: "IM";
1894
1895
  AF: "AF";
1895
1896
  AL: "AL";
1896
1897
  DZ: "DZ";
@@ -1980,6 +1981,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
1980
1981
  IR: "IR";
1981
1982
  IQ: "IQ";
1982
1983
  IE: "IE";
1984
+ IM: "IM";
1983
1985
  IL: "IL";
1984
1986
  IT: "IT";
1985
1987
  CI: "CI";
@@ -2183,7 +2185,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2183
2185
  city: z.ZodOptional<z.ZodString>;
2184
2186
  postalCode: z.ZodOptional<z.ZodString>;
2185
2187
  countryCode: z.ZodOptional<z.ZodEnum<{
2186
- IM: "IM";
2187
2188
  AF: "AF";
2188
2189
  AL: "AL";
2189
2190
  DZ: "DZ";
@@ -2273,6 +2274,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2273
2274
  IR: "IR";
2274
2275
  IQ: "IQ";
2275
2276
  IE: "IE";
2277
+ IM: "IM";
2276
2278
  IL: "IL";
2277
2279
  IT: "IT";
2278
2280
  CI: "CI";
@@ -2455,7 +2457,6 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2455
2457
  AVAX: "AVAX";
2456
2458
  }>>;
2457
2459
  countryCode: z.ZodOptional<z.ZodEnum<{
2458
- IM: "IM";
2459
2460
  AF: "AF";
2460
2461
  AL: "AL";
2461
2462
  DZ: "DZ";
@@ -2545,6 +2546,7 @@ declare const simulateDepositInputSchema: z.ZodObject<{
2545
2546
  IR: "IR";
2546
2547
  IQ: "IQ";
2547
2548
  IE: "IE";
2549
+ IM: "IM";
2548
2550
  IL: "IL";
2549
2551
  IT: "IT";
2550
2552
  CI: "CI";
@@ -2958,8 +2960,8 @@ declare const getPaymentsInputSchema: z.ZodObject<{
2958
2960
  filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2959
2961
  BOOKED: "BOOKED";
2960
2962
  REJECTED: "REJECTED";
2961
- PROCESSING: "PROCESSING";
2962
2963
  PENDING: "PENDING";
2964
+ PROCESSING: "PROCESSING";
2963
2965
  CANCELLED: "CANCELLED";
2964
2966
  SCHEDULED: "SCHEDULED";
2965
2967
  HOLD: "HOLD";
@@ -2967,8 +2969,8 @@ declare const getPaymentsInputSchema: z.ZodObject<{
2967
2969
  }>, z.ZodArray<z.ZodEnum<{
2968
2970
  BOOKED: "BOOKED";
2969
2971
  REJECTED: "REJECTED";
2970
- PROCESSING: "PROCESSING";
2971
2972
  PENDING: "PENDING";
2973
+ PROCESSING: "PROCESSING";
2972
2974
  CANCELLED: "CANCELLED";
2973
2975
  SCHEDULED: "SCHEDULED";
2974
2976
  HOLD: "HOLD";
@@ -3626,7 +3628,6 @@ declare const updateAccountInputSchema: z.ZodObject<{
3626
3628
  city: z.ZodOptional<z.ZodString>;
3627
3629
  postalCode: z.ZodOptional<z.ZodString>;
3628
3630
  countryCode: z.ZodOptional<z.ZodEnum<{
3629
- IM: "IM";
3630
3631
  AF: "AF";
3631
3632
  AL: "AL";
3632
3633
  DZ: "DZ";
@@ -3716,6 +3717,7 @@ declare const updateAccountInputSchema: z.ZodObject<{
3716
3717
  IR: "IR";
3717
3718
  IQ: "IQ";
3718
3719
  IE: "IE";
3720
+ IM: "IM";
3719
3721
  IL: "IL";
3720
3722
  IT: "IT";
3721
3723
  CI: "CI";
package/dist/base.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { uuidv4, first, buildMultiFilterConditions as buildMultiFilterConditions$1, bankAccountMetadataSchema, structuredAddressSchema, workflowInstanceStatusSchema, develitWorker, createInternalError, action, service } from '@develit-io/backend-sdk';
2
- import { G as tables, g as accountInsertSchema, H as relations, o as isProcessedStatus, p as isTerminalStatus, N as getNonTerminalPaymentRequestsQuery, x as toIncomingPayment, O as calculateCzechIban, j as assignAccount, u as toBatchedPayment, y as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from './shared/bank.N9K_wiwt.mjs';
2
+ import { G as tables, g as accountInsertSchema, H as relations, o as isProcessedStatus, p as isTerminalStatus, N as getNonTerminalPaymentRequestsQuery, x as toIncomingPayment, O as calculateCzechIban, j as assignAccount, u as toBatchedPayment, y as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from './shared/bank.CKCnWQLL.mjs';
3
3
  import { eq, sql, and, like, asc, desc, inArray, gte, lte, isNull, count } from 'drizzle-orm';
4
4
  import { WorkerEntrypoint } from 'cloudflare:workers';
5
5
  import { drizzle } from 'drizzle-orm/d1';
6
6
  import 'jose';
7
- import { h as encrypt, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, a as getPaymentRequestsByBatchIdQuery, g as getBatchByIdQuery, u as upsertBatchCommand, j as importAesKey, f as createPaymentCommand, b as getAccountByIdQuery } from './shared/bank.4ljYMHJL.mjs';
7
+ import { h as encrypt, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, a as getPaymentRequestsByBatchIdQuery, g as getBatchByIdQuery, u as upsertBatchCommand, j as importAesKey, f as createPaymentCommand, b as getAccountByIdQuery } from './shared/bank.LqYb0QU1.mjs';
8
8
  import { z } from 'zod';
9
9
  import { I as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, g as PAYMENT_TYPES, b as CONNECTOR_KEYS, a as BATCH_STATUSES, f as PAYMENT_STATUSES, P as PAYMENT_DIRECTIONS, e as PAYMENT_REQUEST_STATUSES } from './shared/bank.BT7HayCV.mjs';
10
10
  import { CURRENCY_CODES } from '@develit-io/general-codes';
@@ -1,4 +1,4 @@
1
- export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.DIx4G38W.cjs';
1
+ export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.C7zoSV8F.cjs';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import '@develit-io/general-codes';
@@ -1,4 +1,4 @@
1
- export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.DIx4G38W.mjs';
1
+ export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.C7zoSV8F.mjs';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import '@develit-io/general-codes';
@@ -1,4 +1,4 @@
1
- export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.DIx4G38W.js';
1
+ export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.C7zoSV8F.js';
2
2
  import 'drizzle-orm/sqlite-core';
3
3
  import 'drizzle-orm';
4
4
  import '@develit-io/general-codes';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const backendSdk = require('@develit-io/backend-sdk');
4
- const paymentDirection = require('../shared/bank.Z1R7hzNr.cjs');
4
+ const paymentDirection = require('../shared/bank.D2wQhxnG.cjs');
5
5
  const batchLifecycle = require('../shared/bank.NF8bZBy0.cjs');
6
6
  const drizzleOrm = require('drizzle-orm');
7
- const bank = require('../shared/bank.D1KOxBVA.cjs');
7
+ const bank = require('../shared/bank.DbgMfSN7.cjs');
8
8
  const cloudflare_workers = require('cloudflare:workers');
9
9
  const cloudflare_workflows = require('cloudflare:workflows');
10
10
  const d1 = require('drizzle-orm/d1');
@@ -1,8 +1,8 @@
1
1
  import { first, uuidv4, asNonEmpty } from '@develit-io/backend-sdk';
2
- import { G as tables, H as relations, v as toBatchedPaymentFromPaymentRequest, z as toPreparedPayment, J as extractErrorDetails, m as isPaymentCompleted } from '../shared/bank.N9K_wiwt.mjs';
2
+ import { G as tables, H as relations, v as toBatchedPaymentFromPaymentRequest, z as toPreparedPayment, J as extractErrorDetails, m as isPaymentCompleted } from '../shared/bank.CKCnWQLL.mjs';
3
3
  import { i as isBatchAuthorized, b as isBatchFailed, d as isBatchProcessing } from '../shared/bank.XqSw509X.mjs';
4
4
  import { sql, and, eq, inArray } from 'drizzle-orm';
5
- import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.4ljYMHJL.mjs';
5
+ import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, i as initiateConnector, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.LqYb0QU1.mjs';
6
6
  import { WorkflowEntrypoint } from 'cloudflare:workers';
7
7
  import { NonRetryableError } from 'cloudflare:workflows';
8
8
  import { drizzle } from 'drizzle-orm/d1';