@develit-services/bank 1.1.3 → 1.1.4
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/database/schema.cjs +2 -1
- package/dist/database/schema.d.cts +1 -2
- package/dist/database/schema.d.mts +1 -2
- package/dist/database/schema.d.ts +1 -2
- package/dist/database/schema.mjs +2 -1
- package/dist/export/worker.cjs +3 -3
- package/dist/export/worker.d.cts +21 -101
- package/dist/export/worker.d.mts +21 -101
- package/dist/export/worker.d.ts +21 -101
- package/dist/export/worker.mjs +3 -3
- package/dist/export/workflows.cjs +4 -3
- package/dist/export/workflows.mjs +4 -3
- package/dist/shared/{bank.BxbQdO7w.mjs → bank.B2q-mVzl.mjs} +1 -1
- package/dist/shared/{bank.32jmK0Fz.d.mts → bank.BP_yYGTT.d.mts} +1 -1
- package/dist/shared/{bank.f7ykgYdD.cjs → bank.BZgBHNO2.cjs} +1 -1
- package/dist/shared/{bank.B5nOIsGC.cjs → bank.BdXRtxv4.cjs} +25 -8
- package/dist/shared/{bank.4PAO2JEh.d.ts → bank.Bp4Ss72q.d.ts} +1 -1
- package/dist/shared/{bank.CfNPHwCT.d.cts → bank.CxL32wdh.d.cts} +108 -347
- package/dist/shared/{bank.CfNPHwCT.d.mts → bank.CxL32wdh.d.mts} +108 -347
- package/dist/shared/{bank.CfNPHwCT.d.ts → bank.CxL32wdh.d.ts} +108 -347
- package/dist/shared/{bank.DMsXwzJn.mjs → bank.DtYQpNaw.mjs} +25 -8
- package/dist/shared/{bank.B4xJAf0f.cjs → bank.Du_eLi7g.cjs} +1 -1
- package/dist/shared/{bank.rcoRRywt.mjs → bank.PgwVTzWA.mjs} +1 -1
- package/dist/shared/{bank.DIK8_f9k.d.cts → bank._cKBU-qa.d.cts} +1 -1
- package/dist/types.cjs +3 -2
- package/dist/types.d.cts +4 -5
- package/dist/types.d.mts +4 -5
- package/dist/types.d.ts +4 -5
- package/dist/types.mjs +3 -2
- package/package.json +4 -4
package/dist/database/schema.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('../shared/bank.
|
|
3
|
+
const database_schema = require('../shared/bank.BdXRtxv4.cjs');
|
|
4
4
|
require('@develit-io/backend-sdk');
|
|
5
5
|
require('drizzle-orm/sqlite-core');
|
|
6
6
|
require('date-fns');
|
|
@@ -10,6 +10,7 @@ require('drizzle-orm/relations');
|
|
|
10
10
|
require('drizzle-orm');
|
|
11
11
|
require('node:crypto');
|
|
12
12
|
require('drizzle-zod');
|
|
13
|
+
require('zod');
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.CxL32wdh.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
5
5
|
import '@develit-io/general-codes';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import 'drizzle-zod';
|
|
8
|
-
import 'zod/v4/core';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.CxL32wdh.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
5
5
|
import '@develit-io/general-codes';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import 'drizzle-zod';
|
|
8
|
-
import 'zod/v4/core';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { az as account, aA as accountCredentials, aB as batch, aC as ott, aD as payment, aE as paymentRelations, aF as paymentRequest, aG as paymentRequestRelations } from '../shared/bank.CxL32wdh.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
5
5
|
import '@develit-io/general-codes';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import 'drizzle-zod';
|
|
8
|
-
import 'zod/v4/core';
|
package/dist/database/schema.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { x as account, y as accountCredentials, z as batch, D as ott, E as payment, F as paymentRelations, G as paymentRequest, H as paymentRequestRelations } from '../shared/bank.
|
|
1
|
+
export { x as account, y as accountCredentials, z as batch, D as ott, E as payment, F as paymentRelations, G as paymentRequest, H as paymentRequestRelations } from '../shared/bank.DtYQpNaw.mjs';
|
|
2
2
|
import '@develit-io/backend-sdk';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import 'date-fns';
|
|
@@ -8,3 +8,4 @@ import 'drizzle-orm/relations';
|
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'node:crypto';
|
|
10
10
|
import 'drizzle-zod';
|
|
11
|
+
import 'zod';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
-
const database_schema = require('../shared/bank.
|
|
4
|
+
const database_schema = require('../shared/bank.BdXRtxv4.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
|
-
const mock_connector = require('../shared/bank.
|
|
8
|
+
const mock_connector = require('../shared/bank.Du_eLi7g.cjs');
|
|
9
9
|
require('jose');
|
|
10
10
|
const zod = require('zod');
|
|
11
11
|
const generalCodes = require('@develit-io/general-codes');
|
|
12
12
|
require('date-fns');
|
|
13
13
|
require('node:crypto');
|
|
14
|
-
const credentialsResolver = require('../shared/bank.
|
|
14
|
+
const credentialsResolver = require('../shared/bank.BZgBHNO2.cjs');
|
|
15
15
|
require('drizzle-orm/sqlite-core');
|
|
16
16
|
require('drizzle-orm/relations');
|
|
17
17
|
require('drizzle-zod');
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
2
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.CxL32wdh.cjs';
|
|
2
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank._cKBU-qa.cjs';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -9,7 +9,6 @@ import 'drizzle-orm/sqlite-core';
|
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
11
11
|
import 'drizzle-zod';
|
|
12
|
-
import 'zod/v4/core';
|
|
13
12
|
|
|
14
13
|
declare const sendBatchInputSchema: z.ZodObject<{
|
|
15
14
|
payments: z.ZodArray<z.ZodObject<{
|
|
@@ -3303,99 +3302,10 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
3303
3302
|
ZM: "ZM";
|
|
3304
3303
|
ZW: "ZW";
|
|
3305
3304
|
}>;
|
|
3306
|
-
number: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3307
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3308
|
-
iban: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3309
|
-
bankCode: z.ZodEnum<{
|
|
3310
|
-
5051: "5051";
|
|
3311
|
-
"0100": "0100";
|
|
3312
|
-
"0300": "0300";
|
|
3313
|
-
"0600": "0600";
|
|
3314
|
-
"0710": "0710";
|
|
3315
|
-
"0800": "0800";
|
|
3316
|
-
2010: "2010";
|
|
3317
|
-
2020: "2020";
|
|
3318
|
-
2030: "2030";
|
|
3319
|
-
2060: "2060";
|
|
3320
|
-
2070: "2070";
|
|
3321
|
-
2100: "2100";
|
|
3322
|
-
2200: "2200";
|
|
3323
|
-
2210: "2210";
|
|
3324
|
-
2220: "2220";
|
|
3325
|
-
2240: "2240";
|
|
3326
|
-
2250: "2250";
|
|
3327
|
-
2260: "2260";
|
|
3328
|
-
2310: "2310";
|
|
3329
|
-
2600: "2600";
|
|
3330
|
-
2700: "2700";
|
|
3331
|
-
3030: "3030";
|
|
3332
|
-
3050: "3050";
|
|
3333
|
-
3060: "3060";
|
|
3334
|
-
3500: "3500";
|
|
3335
|
-
4000: "4000";
|
|
3336
|
-
4300: "4300";
|
|
3337
|
-
5500: "5500";
|
|
3338
|
-
5400: "5400";
|
|
3339
|
-
5800: "5800";
|
|
3340
|
-
6000: "6000";
|
|
3341
|
-
6100: "6100";
|
|
3342
|
-
6200: "6200";
|
|
3343
|
-
6210: "6210";
|
|
3344
|
-
6300: "6300";
|
|
3345
|
-
6363: "6363";
|
|
3346
|
-
6700: "6700";
|
|
3347
|
-
6800: "6800";
|
|
3348
|
-
7940: "7940";
|
|
3349
|
-
7910: "7910";
|
|
3350
|
-
7950: "7950";
|
|
3351
|
-
7960: "7960";
|
|
3352
|
-
7980: "7980";
|
|
3353
|
-
7970: "7970";
|
|
3354
|
-
7990: "7990";
|
|
3355
|
-
8030: "8030";
|
|
3356
|
-
8040: "8040";
|
|
3357
|
-
8060: "8060";
|
|
3358
|
-
8090: "8090";
|
|
3359
|
-
8150: "8150";
|
|
3360
|
-
8190: "8190";
|
|
3361
|
-
8198: "8198";
|
|
3362
|
-
8200: "8200";
|
|
3363
|
-
8220: "8220";
|
|
3364
|
-
8230: "8230";
|
|
3365
|
-
8240: "8240";
|
|
3366
|
-
8250: "8250";
|
|
3367
|
-
8255: "8255";
|
|
3368
|
-
8265: "8265";
|
|
3369
|
-
8500: "8500";
|
|
3370
|
-
8610: "8610";
|
|
3371
|
-
}>;
|
|
3372
|
-
connectorKey: z.ZodEnum<{
|
|
3373
|
-
ERSTE: "ERSTE";
|
|
3374
|
-
FINBRICKS: "FINBRICKS";
|
|
3375
|
-
MOCK: "MOCK";
|
|
3376
|
-
CREDITAS: "CREDITAS";
|
|
3377
|
-
MOCK_COBS: "MOCK_COBS";
|
|
3378
|
-
FIO: "FIO";
|
|
3379
|
-
MONETA: "MONETA";
|
|
3380
|
-
DBU: "DBU";
|
|
3381
|
-
CSAS: "CSAS";
|
|
3382
|
-
AIRBANK: "AIRBANK";
|
|
3383
|
-
KB: "KB";
|
|
3384
|
-
CSOB: "CSOB";
|
|
3385
|
-
}>;
|
|
3386
|
-
status: z.ZodEnum<{
|
|
3387
|
-
AUTHORIZED: "AUTHORIZED";
|
|
3388
|
-
DISABLED: "DISABLED";
|
|
3389
|
-
EXPIRED: "EXPIRED";
|
|
3390
|
-
}>;
|
|
3391
|
-
bankRefId: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3392
3305
|
batchSizeLimit: z.ZodOptional<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>;
|
|
3393
3306
|
syncIntervalS: z.ZodOptional<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>;
|
|
3394
3307
|
lastSyncAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3395
3308
|
lastSyncMetadata: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3396
|
-
holderName: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3397
|
-
swiftBic: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3398
|
-
bicCor: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3399
3309
|
currency: z.ZodEnum<{
|
|
3400
3310
|
CZK: "CZK";
|
|
3401
3311
|
EUR: "EUR";
|
|
@@ -3451,18 +3361,28 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
3451
3361
|
MATIC: "MATIC";
|
|
3452
3362
|
AVAX: "AVAX";
|
|
3453
3363
|
}>;
|
|
3454
|
-
routingNumber: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3455
|
-
sortCode: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3456
|
-
clabe: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3457
|
-
bsb: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3458
|
-
brBankNumber: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3459
|
-
id: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3460
3364
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3461
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3462
3365
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3463
|
-
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3464
3366
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3465
|
-
|
|
3367
|
+
id: z.ZodString;
|
|
3368
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3369
|
+
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3370
|
+
deletedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3371
|
+
holderName: z.ZodString;
|
|
3372
|
+
number: z.ZodString;
|
|
3373
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3374
|
+
iban: z.ZodString;
|
|
3375
|
+
bankCode: z.ZodString;
|
|
3376
|
+
connectorKey: z.ZodString;
|
|
3377
|
+
status: z.ZodString;
|
|
3378
|
+
bankRefId: z.ZodString;
|
|
3379
|
+
swiftBic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3380
|
+
bicCor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3381
|
+
routingNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3382
|
+
sortCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3383
|
+
clabe: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3384
|
+
bsb: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3385
|
+
brBankNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3466
3386
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3467
3387
|
streetName: z.ZodOptional<z.ZodString>;
|
|
3468
3388
|
buildingNumber: z.ZodOptional<z.ZodString>;
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
2
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.CxL32wdh.mjs';
|
|
2
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.BP_yYGTT.mjs';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -9,7 +9,6 @@ import 'drizzle-orm/sqlite-core';
|
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
11
11
|
import 'drizzle-zod';
|
|
12
|
-
import 'zod/v4/core';
|
|
13
12
|
|
|
14
13
|
declare const sendBatchInputSchema: z.ZodObject<{
|
|
15
14
|
payments: z.ZodArray<z.ZodObject<{
|
|
@@ -3303,99 +3302,10 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
3303
3302
|
ZM: "ZM";
|
|
3304
3303
|
ZW: "ZW";
|
|
3305
3304
|
}>;
|
|
3306
|
-
number: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3307
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3308
|
-
iban: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3309
|
-
bankCode: z.ZodEnum<{
|
|
3310
|
-
5051: "5051";
|
|
3311
|
-
"0100": "0100";
|
|
3312
|
-
"0300": "0300";
|
|
3313
|
-
"0600": "0600";
|
|
3314
|
-
"0710": "0710";
|
|
3315
|
-
"0800": "0800";
|
|
3316
|
-
2010: "2010";
|
|
3317
|
-
2020: "2020";
|
|
3318
|
-
2030: "2030";
|
|
3319
|
-
2060: "2060";
|
|
3320
|
-
2070: "2070";
|
|
3321
|
-
2100: "2100";
|
|
3322
|
-
2200: "2200";
|
|
3323
|
-
2210: "2210";
|
|
3324
|
-
2220: "2220";
|
|
3325
|
-
2240: "2240";
|
|
3326
|
-
2250: "2250";
|
|
3327
|
-
2260: "2260";
|
|
3328
|
-
2310: "2310";
|
|
3329
|
-
2600: "2600";
|
|
3330
|
-
2700: "2700";
|
|
3331
|
-
3030: "3030";
|
|
3332
|
-
3050: "3050";
|
|
3333
|
-
3060: "3060";
|
|
3334
|
-
3500: "3500";
|
|
3335
|
-
4000: "4000";
|
|
3336
|
-
4300: "4300";
|
|
3337
|
-
5500: "5500";
|
|
3338
|
-
5400: "5400";
|
|
3339
|
-
5800: "5800";
|
|
3340
|
-
6000: "6000";
|
|
3341
|
-
6100: "6100";
|
|
3342
|
-
6200: "6200";
|
|
3343
|
-
6210: "6210";
|
|
3344
|
-
6300: "6300";
|
|
3345
|
-
6363: "6363";
|
|
3346
|
-
6700: "6700";
|
|
3347
|
-
6800: "6800";
|
|
3348
|
-
7940: "7940";
|
|
3349
|
-
7910: "7910";
|
|
3350
|
-
7950: "7950";
|
|
3351
|
-
7960: "7960";
|
|
3352
|
-
7980: "7980";
|
|
3353
|
-
7970: "7970";
|
|
3354
|
-
7990: "7990";
|
|
3355
|
-
8030: "8030";
|
|
3356
|
-
8040: "8040";
|
|
3357
|
-
8060: "8060";
|
|
3358
|
-
8090: "8090";
|
|
3359
|
-
8150: "8150";
|
|
3360
|
-
8190: "8190";
|
|
3361
|
-
8198: "8198";
|
|
3362
|
-
8200: "8200";
|
|
3363
|
-
8220: "8220";
|
|
3364
|
-
8230: "8230";
|
|
3365
|
-
8240: "8240";
|
|
3366
|
-
8250: "8250";
|
|
3367
|
-
8255: "8255";
|
|
3368
|
-
8265: "8265";
|
|
3369
|
-
8500: "8500";
|
|
3370
|
-
8610: "8610";
|
|
3371
|
-
}>;
|
|
3372
|
-
connectorKey: z.ZodEnum<{
|
|
3373
|
-
ERSTE: "ERSTE";
|
|
3374
|
-
FINBRICKS: "FINBRICKS";
|
|
3375
|
-
MOCK: "MOCK";
|
|
3376
|
-
CREDITAS: "CREDITAS";
|
|
3377
|
-
MOCK_COBS: "MOCK_COBS";
|
|
3378
|
-
FIO: "FIO";
|
|
3379
|
-
MONETA: "MONETA";
|
|
3380
|
-
DBU: "DBU";
|
|
3381
|
-
CSAS: "CSAS";
|
|
3382
|
-
AIRBANK: "AIRBANK";
|
|
3383
|
-
KB: "KB";
|
|
3384
|
-
CSOB: "CSOB";
|
|
3385
|
-
}>;
|
|
3386
|
-
status: z.ZodEnum<{
|
|
3387
|
-
AUTHORIZED: "AUTHORIZED";
|
|
3388
|
-
DISABLED: "DISABLED";
|
|
3389
|
-
EXPIRED: "EXPIRED";
|
|
3390
|
-
}>;
|
|
3391
|
-
bankRefId: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3392
3305
|
batchSizeLimit: z.ZodOptional<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>;
|
|
3393
3306
|
syncIntervalS: z.ZodOptional<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>;
|
|
3394
3307
|
lastSyncAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3395
3308
|
lastSyncMetadata: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3396
|
-
holderName: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3397
|
-
swiftBic: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3398
|
-
bicCor: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3399
3309
|
currency: z.ZodEnum<{
|
|
3400
3310
|
CZK: "CZK";
|
|
3401
3311
|
EUR: "EUR";
|
|
@@ -3451,18 +3361,28 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
3451
3361
|
MATIC: "MATIC";
|
|
3452
3362
|
AVAX: "AVAX";
|
|
3453
3363
|
}>;
|
|
3454
|
-
routingNumber: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3455
|
-
sortCode: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3456
|
-
clabe: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3457
|
-
bsb: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3458
|
-
brBankNumber: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3459
|
-
id: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3460
3364
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3461
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3462
3365
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3463
|
-
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3464
3366
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3465
|
-
|
|
3367
|
+
id: z.ZodString;
|
|
3368
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3369
|
+
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3370
|
+
deletedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3371
|
+
holderName: z.ZodString;
|
|
3372
|
+
number: z.ZodString;
|
|
3373
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3374
|
+
iban: z.ZodString;
|
|
3375
|
+
bankCode: z.ZodString;
|
|
3376
|
+
connectorKey: z.ZodString;
|
|
3377
|
+
status: z.ZodString;
|
|
3378
|
+
bankRefId: z.ZodString;
|
|
3379
|
+
swiftBic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3380
|
+
bicCor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3381
|
+
routingNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3382
|
+
sortCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3383
|
+
clabe: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3384
|
+
bsb: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3385
|
+
brBankNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3466
3386
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3467
3387
|
streetName: z.ZodOptional<z.ZodString>;
|
|
3468
3388
|
buildingNumber: z.ZodOptional<z.ZodString>;
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.
|
|
2
|
-
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.
|
|
1
|
+
import { B as BatchSelectType, P as PaymentRequestSelectType, A as AccountSelectType, a as PaymentSelectType, C as ConfigEnvironmentBank, t as tables, b as ConnectorKey, L as LastSyncMetadata, I as IBankConnector, c as PaymentType, d as CurrencyCode, H as HandleAuthorizationCallbackInput, e as HandleAuthorizationCallbackOutput } from '../shared/bank.CxL32wdh.js';
|
|
2
|
+
import { S as SendPaymentInput, a as SendPaymentOutput, b as SendPaymentSyncInput, c as SendPaymentSyncOutput, F as FinbricksSupportedBanksResponse } from '../shared/bank.Bp4Ss72q.js';
|
|
3
3
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
4
4
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
5
5
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
@@ -9,7 +9,6 @@ import 'drizzle-orm/sqlite-core';
|
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
11
11
|
import 'drizzle-zod';
|
|
12
|
-
import 'zod/v4/core';
|
|
13
12
|
|
|
14
13
|
declare const sendBatchInputSchema: z.ZodObject<{
|
|
15
14
|
payments: z.ZodArray<z.ZodObject<{
|
|
@@ -3303,99 +3302,10 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
3303
3302
|
ZM: "ZM";
|
|
3304
3303
|
ZW: "ZW";
|
|
3305
3304
|
}>;
|
|
3306
|
-
number: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3307
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3308
|
-
iban: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3309
|
-
bankCode: z.ZodEnum<{
|
|
3310
|
-
5051: "5051";
|
|
3311
|
-
"0100": "0100";
|
|
3312
|
-
"0300": "0300";
|
|
3313
|
-
"0600": "0600";
|
|
3314
|
-
"0710": "0710";
|
|
3315
|
-
"0800": "0800";
|
|
3316
|
-
2010: "2010";
|
|
3317
|
-
2020: "2020";
|
|
3318
|
-
2030: "2030";
|
|
3319
|
-
2060: "2060";
|
|
3320
|
-
2070: "2070";
|
|
3321
|
-
2100: "2100";
|
|
3322
|
-
2200: "2200";
|
|
3323
|
-
2210: "2210";
|
|
3324
|
-
2220: "2220";
|
|
3325
|
-
2240: "2240";
|
|
3326
|
-
2250: "2250";
|
|
3327
|
-
2260: "2260";
|
|
3328
|
-
2310: "2310";
|
|
3329
|
-
2600: "2600";
|
|
3330
|
-
2700: "2700";
|
|
3331
|
-
3030: "3030";
|
|
3332
|
-
3050: "3050";
|
|
3333
|
-
3060: "3060";
|
|
3334
|
-
3500: "3500";
|
|
3335
|
-
4000: "4000";
|
|
3336
|
-
4300: "4300";
|
|
3337
|
-
5500: "5500";
|
|
3338
|
-
5400: "5400";
|
|
3339
|
-
5800: "5800";
|
|
3340
|
-
6000: "6000";
|
|
3341
|
-
6100: "6100";
|
|
3342
|
-
6200: "6200";
|
|
3343
|
-
6210: "6210";
|
|
3344
|
-
6300: "6300";
|
|
3345
|
-
6363: "6363";
|
|
3346
|
-
6700: "6700";
|
|
3347
|
-
6800: "6800";
|
|
3348
|
-
7940: "7940";
|
|
3349
|
-
7910: "7910";
|
|
3350
|
-
7950: "7950";
|
|
3351
|
-
7960: "7960";
|
|
3352
|
-
7980: "7980";
|
|
3353
|
-
7970: "7970";
|
|
3354
|
-
7990: "7990";
|
|
3355
|
-
8030: "8030";
|
|
3356
|
-
8040: "8040";
|
|
3357
|
-
8060: "8060";
|
|
3358
|
-
8090: "8090";
|
|
3359
|
-
8150: "8150";
|
|
3360
|
-
8190: "8190";
|
|
3361
|
-
8198: "8198";
|
|
3362
|
-
8200: "8200";
|
|
3363
|
-
8220: "8220";
|
|
3364
|
-
8230: "8230";
|
|
3365
|
-
8240: "8240";
|
|
3366
|
-
8250: "8250";
|
|
3367
|
-
8255: "8255";
|
|
3368
|
-
8265: "8265";
|
|
3369
|
-
8500: "8500";
|
|
3370
|
-
8610: "8610";
|
|
3371
|
-
}>;
|
|
3372
|
-
connectorKey: z.ZodEnum<{
|
|
3373
|
-
ERSTE: "ERSTE";
|
|
3374
|
-
FINBRICKS: "FINBRICKS";
|
|
3375
|
-
MOCK: "MOCK";
|
|
3376
|
-
CREDITAS: "CREDITAS";
|
|
3377
|
-
MOCK_COBS: "MOCK_COBS";
|
|
3378
|
-
FIO: "FIO";
|
|
3379
|
-
MONETA: "MONETA";
|
|
3380
|
-
DBU: "DBU";
|
|
3381
|
-
CSAS: "CSAS";
|
|
3382
|
-
AIRBANK: "AIRBANK";
|
|
3383
|
-
KB: "KB";
|
|
3384
|
-
CSOB: "CSOB";
|
|
3385
|
-
}>;
|
|
3386
|
-
status: z.ZodEnum<{
|
|
3387
|
-
AUTHORIZED: "AUTHORIZED";
|
|
3388
|
-
DISABLED: "DISABLED";
|
|
3389
|
-
EXPIRED: "EXPIRED";
|
|
3390
|
-
}>;
|
|
3391
|
-
bankRefId: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3392
3305
|
batchSizeLimit: z.ZodOptional<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>;
|
|
3393
3306
|
syncIntervalS: z.ZodOptional<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>;
|
|
3394
3307
|
lastSyncAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3395
3308
|
lastSyncMetadata: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3396
|
-
holderName: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3397
|
-
swiftBic: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3398
|
-
bicCor: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3399
3309
|
currency: z.ZodEnum<{
|
|
3400
3310
|
CZK: "CZK";
|
|
3401
3311
|
EUR: "EUR";
|
|
@@ -3451,18 +3361,28 @@ declare const updateAccountInputSchema: z.ZodObject<{
|
|
|
3451
3361
|
MATIC: "MATIC";
|
|
3452
3362
|
AVAX: "AVAX";
|
|
3453
3363
|
}>;
|
|
3454
|
-
routingNumber: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3455
|
-
sortCode: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3456
|
-
clabe: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3457
|
-
bsb: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3458
|
-
brBankNumber: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3459
|
-
id: z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>;
|
|
3460
3364
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3461
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3462
3365
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3463
|
-
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodType<Buffer, unknown, z.core.$ZodTypeInternals<Buffer, unknown>>>>;
|
|
3464
3366
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3465
|
-
|
|
3367
|
+
id: z.ZodString;
|
|
3368
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3369
|
+
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3370
|
+
deletedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3371
|
+
holderName: z.ZodString;
|
|
3372
|
+
number: z.ZodString;
|
|
3373
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3374
|
+
iban: z.ZodString;
|
|
3375
|
+
bankCode: z.ZodString;
|
|
3376
|
+
connectorKey: z.ZodString;
|
|
3377
|
+
status: z.ZodString;
|
|
3378
|
+
bankRefId: z.ZodString;
|
|
3379
|
+
swiftBic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3380
|
+
bicCor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3381
|
+
routingNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3382
|
+
sortCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3383
|
+
clabe: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3384
|
+
bsb: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3385
|
+
brBankNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3466
3386
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3467
3387
|
streetName: z.ZodOptional<z.ZodString>;
|
|
3468
3388
|
buildingNumber: z.ZodOptional<z.ZodString>;
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { uuidv4, first, buildMultiFilterConditions as buildMultiFilterConditions$1, bankAccountMetadataSchema, structuredAddressSchema, workflowInstanceStatusSchema, develitWorker, createInternalError, action, service } from '@develit-io/backend-sdk';
|
|
2
|
-
import { v as tables, 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, k as accountInsertSchema, e as PAYMENT_REQUEST_STATUSES, q as isProcessedStatus, r as isTerminalStatus, w as getNonTerminalPaymentRequestsQuery } from '../shared/bank.
|
|
2
|
+
import { v as tables, 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, k as accountInsertSchema, e as PAYMENT_REQUEST_STATUSES, q as isProcessedStatus, r as isTerminalStatus, w as getNonTerminalPaymentRequestsQuery } from '../shared/bank.DtYQpNaw.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
|
-
import { j as initiateConnector, g as toIncomingPayment, d as assignAccount, t as toBatchedPayment, h as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from '../shared/bank.
|
|
6
|
+
import { j as initiateConnector, g as toIncomingPayment, d as assignAccount, t as toBatchedPayment, h as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from '../shared/bank.B2q-mVzl.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
10
10
|
import 'date-fns';
|
|
11
11
|
import 'node:crypto';
|
|
12
|
-
import { h as encrypt, d as createCredentialsResolver, e as updatePaymentRequestStatusCommand, a as getPaymentRequestsByBatchIdQuery, g as getBatchByIdQuery, u as upsertBatchCommand, i as importAesKey, f as createPaymentCommand, b as getAccountByIdQuery } from '../shared/bank.
|
|
12
|
+
import { h as encrypt, d as createCredentialsResolver, e as updatePaymentRequestStatusCommand, a as getPaymentRequestsByBatchIdQuery, g as getBatchByIdQuery, u as upsertBatchCommand, i as importAesKey, f as createPaymentCommand, b as getAccountByIdQuery } from '../shared/bank.PgwVTzWA.mjs';
|
|
13
13
|
import 'drizzle-orm/sqlite-core';
|
|
14
14
|
import 'drizzle-orm/relations';
|
|
15
15
|
import 'drizzle-zod';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
-
const database_schema = require('../shared/bank.
|
|
4
|
+
const database_schema = require('../shared/bank.BdXRtxv4.cjs');
|
|
5
5
|
const batchLifecycle = require('../shared/bank.NF8bZBy0.cjs');
|
|
6
|
-
const mock_connector = require('../shared/bank.
|
|
6
|
+
const mock_connector = require('../shared/bank.Du_eLi7g.cjs');
|
|
7
7
|
const drizzleOrm = require('drizzle-orm');
|
|
8
|
-
const credentialsResolver = require('../shared/bank.
|
|
8
|
+
const credentialsResolver = require('../shared/bank.BZgBHNO2.cjs');
|
|
9
9
|
const cloudflare_workers = require('cloudflare:workers');
|
|
10
10
|
const cloudflare_workflows = require('cloudflare:workflows');
|
|
11
11
|
const d1 = require('drizzle-orm/d1');
|
|
@@ -16,6 +16,7 @@ require('jose');
|
|
|
16
16
|
require('@develit-io/general-codes');
|
|
17
17
|
require('drizzle-orm/relations');
|
|
18
18
|
require('drizzle-zod');
|
|
19
|
+
require('zod');
|
|
19
20
|
|
|
20
21
|
const updateAccountLastSyncCommand = (db, {
|
|
21
22
|
lastSyncAt,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { first, uuidv4, asNonEmpty } from '@develit-io/backend-sdk';
|
|
2
|
-
import { v as tables, o as isPaymentCompleted } from '../shared/bank.
|
|
2
|
+
import { v as tables, o as isPaymentCompleted } from '../shared/bank.DtYQpNaw.mjs';
|
|
3
3
|
import { i as isBatchAuthorized, b as isBatchFailed, d as isBatchProcessing } from '../shared/bank.XqSw509X.mjs';
|
|
4
|
-
import { e as toBatchedPaymentFromPaymentRequest, i as toPreparedPayment, j as initiateConnector } from '../shared/bank.
|
|
4
|
+
import { e as toBatchedPaymentFromPaymentRequest, i as toPreparedPayment, j as initiateConnector } from '../shared/bank.B2q-mVzl.mjs';
|
|
5
5
|
import { eq, and, inArray } from 'drizzle-orm';
|
|
6
|
-
import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.
|
|
6
|
+
import { g as getBatchByIdQuery, a as getPaymentRequestsByBatchIdQuery, c as checksum, u as upsertBatchCommand, b as getAccountByIdQuery, d as createCredentialsResolver, e as updatePaymentRequestStatusCommand, f as createPaymentCommand } from '../shared/bank.PgwVTzWA.mjs';
|
|
7
7
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
8
8
|
import { NonRetryableError } from 'cloudflare:workflows';
|
|
9
9
|
import { drizzle } from 'drizzle-orm/d1';
|
|
@@ -14,6 +14,7 @@ import 'jose';
|
|
|
14
14
|
import '@develit-io/general-codes';
|
|
15
15
|
import 'drizzle-orm/relations';
|
|
16
16
|
import 'drizzle-zod';
|
|
17
|
+
import 'zod';
|
|
17
18
|
|
|
18
19
|
const updateAccountLastSyncCommand = (db, {
|
|
19
20
|
lastSyncAt,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { uuidv4, createInternalError, useResult } from '@develit-io/backend-sdk';
|
|
2
2
|
import { format, parseISO } from 'date-fns';
|
|
3
3
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
|
-
import './bank.
|
|
4
|
+
import './bank.DtYQpNaw.mjs';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import { importPKCS8, SignJWT } from 'jose';
|
|
7
7
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { d as CurrencyCode, O as BankCode, $ as CountryCode, P as PaymentRequestSelectType } from './bank.CxL32wdh.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
|
-
const database_schema = require('./bank.
|
|
4
|
+
const database_schema = require('./bank.BdXRtxv4.cjs');
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
6
|
require('date-fns');
|
|
7
7
|
require('jose');
|