@develit-services/bank 1.1.2 → 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 +33 -113
- package/dist/export/worker.d.mts +33 -113
- package/dist/export/worker.d.ts +33 -113
- 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.yUQZ6PWV.d.cts → 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.5WIfKLgm.d.ts → bank.Bp4Ss72q.d.ts} +1 -1
- package/dist/shared/{bank.BECp1kh0.d.mts → bank.CxL32wdh.d.cts} +114 -353
- package/dist/shared/{bank.BECp1kh0.d.ts → bank.CxL32wdh.d.mts} +114 -353
- package/dist/shared/{bank.BECp1kh0.d.cts → bank.CxL32wdh.d.ts} +114 -353
- 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.CX7-ohgB.d.mts → 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<{
|
|
@@ -2703,15 +2702,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2703
2702
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2704
2703
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2705
2704
|
AUTHORIZED: "AUTHORIZED";
|
|
2706
|
-
COMPLETED: "COMPLETED";
|
|
2707
2705
|
PROCESSING: "PROCESSING";
|
|
2708
2706
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2707
|
+
COMPLETED: "COMPLETED";
|
|
2709
2708
|
FAILED: "FAILED";
|
|
2710
2709
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2711
2710
|
AUTHORIZED: "AUTHORIZED";
|
|
2712
|
-
COMPLETED: "COMPLETED";
|
|
2713
2711
|
PROCESSING: "PROCESSING";
|
|
2714
2712
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2713
|
+
COMPLETED: "COMPLETED";
|
|
2715
2714
|
FAILED: "FAILED";
|
|
2716
2715
|
}>>]>>;
|
|
2717
2716
|
}, z.core.$strip>;
|
|
@@ -2948,20 +2947,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2948
2947
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2949
2948
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2950
2949
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2951
|
-
BOOKED: "BOOKED";
|
|
2952
|
-
REJECTED: "REJECTED";
|
|
2953
2950
|
PENDING: "PENDING";
|
|
2954
2951
|
PROCESSING: "PROCESSING";
|
|
2952
|
+
BOOKED: "BOOKED";
|
|
2955
2953
|
CANCELLED: "CANCELLED";
|
|
2954
|
+
REJECTED: "REJECTED";
|
|
2956
2955
|
SCHEDULED: "SCHEDULED";
|
|
2957
2956
|
HOLD: "HOLD";
|
|
2958
2957
|
INFO: "INFO";
|
|
2959
2958
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2960
|
-
BOOKED: "BOOKED";
|
|
2961
|
-
REJECTED: "REJECTED";
|
|
2962
2959
|
PENDING: "PENDING";
|
|
2963
2960
|
PROCESSING: "PROCESSING";
|
|
2961
|
+
BOOKED: "BOOKED";
|
|
2964
2962
|
CANCELLED: "CANCELLED";
|
|
2963
|
+
REJECTED: "REJECTED";
|
|
2965
2964
|
SCHEDULED: "SCHEDULED";
|
|
2966
2965
|
HOLD: "HOLD";
|
|
2967
2966
|
INFO: "INFO";
|
|
@@ -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>;
|
|
@@ -3747,19 +3667,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3747
3667
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3748
3668
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3749
3669
|
AUTHORIZED: "AUTHORIZED";
|
|
3750
|
-
OPENED: "OPENED";
|
|
3751
|
-
COMPLETED: "COMPLETED";
|
|
3752
3670
|
BOOKED: "BOOKED";
|
|
3753
|
-
SETTLED: "SETTLED";
|
|
3754
3671
|
REJECTED: "REJECTED";
|
|
3672
|
+
COMPLETED: "COMPLETED";
|
|
3673
|
+
OPENED: "OPENED";
|
|
3674
|
+
SETTLED: "SETTLED";
|
|
3755
3675
|
CLOSED: "CLOSED";
|
|
3756
3676
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3757
3677
|
AUTHORIZED: "AUTHORIZED";
|
|
3758
|
-
OPENED: "OPENED";
|
|
3759
|
-
COMPLETED: "COMPLETED";
|
|
3760
3678
|
BOOKED: "BOOKED";
|
|
3761
|
-
SETTLED: "SETTLED";
|
|
3762
3679
|
REJECTED: "REJECTED";
|
|
3680
|
+
COMPLETED: "COMPLETED";
|
|
3681
|
+
OPENED: "OPENED";
|
|
3682
|
+
SETTLED: "SETTLED";
|
|
3763
3683
|
CLOSED: "CLOSED";
|
|
3764
3684
|
}>>]>>;
|
|
3765
3685
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
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<{
|
|
@@ -2703,15 +2702,15 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
2703
2702
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
2704
2703
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2705
2704
|
AUTHORIZED: "AUTHORIZED";
|
|
2706
|
-
COMPLETED: "COMPLETED";
|
|
2707
2705
|
PROCESSING: "PROCESSING";
|
|
2708
2706
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2707
|
+
COMPLETED: "COMPLETED";
|
|
2709
2708
|
FAILED: "FAILED";
|
|
2710
2709
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2711
2710
|
AUTHORIZED: "AUTHORIZED";
|
|
2712
|
-
COMPLETED: "COMPLETED";
|
|
2713
2711
|
PROCESSING: "PROCESSING";
|
|
2714
2712
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
2713
|
+
COMPLETED: "COMPLETED";
|
|
2715
2714
|
FAILED: "FAILED";
|
|
2716
2715
|
}>>]>>;
|
|
2717
2716
|
}, z.core.$strip>;
|
|
@@ -2948,20 +2947,20 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
2948
2947
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
2949
2948
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
2950
2949
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2951
|
-
BOOKED: "BOOKED";
|
|
2952
|
-
REJECTED: "REJECTED";
|
|
2953
2950
|
PENDING: "PENDING";
|
|
2954
2951
|
PROCESSING: "PROCESSING";
|
|
2952
|
+
BOOKED: "BOOKED";
|
|
2955
2953
|
CANCELLED: "CANCELLED";
|
|
2954
|
+
REJECTED: "REJECTED";
|
|
2956
2955
|
SCHEDULED: "SCHEDULED";
|
|
2957
2956
|
HOLD: "HOLD";
|
|
2958
2957
|
INFO: "INFO";
|
|
2959
2958
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2960
|
-
BOOKED: "BOOKED";
|
|
2961
|
-
REJECTED: "REJECTED";
|
|
2962
2959
|
PENDING: "PENDING";
|
|
2963
2960
|
PROCESSING: "PROCESSING";
|
|
2961
|
+
BOOKED: "BOOKED";
|
|
2964
2962
|
CANCELLED: "CANCELLED";
|
|
2963
|
+
REJECTED: "REJECTED";
|
|
2965
2964
|
SCHEDULED: "SCHEDULED";
|
|
2966
2965
|
HOLD: "HOLD";
|
|
2967
2966
|
INFO: "INFO";
|
|
@@ -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>;
|
|
@@ -3747,19 +3667,19 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
|
|
|
3747
3667
|
filterAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
3748
3668
|
filterStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3749
3669
|
AUTHORIZED: "AUTHORIZED";
|
|
3750
|
-
OPENED: "OPENED";
|
|
3751
|
-
COMPLETED: "COMPLETED";
|
|
3752
3670
|
BOOKED: "BOOKED";
|
|
3753
|
-
SETTLED: "SETTLED";
|
|
3754
3671
|
REJECTED: "REJECTED";
|
|
3672
|
+
COMPLETED: "COMPLETED";
|
|
3673
|
+
OPENED: "OPENED";
|
|
3674
|
+
SETTLED: "SETTLED";
|
|
3755
3675
|
CLOSED: "CLOSED";
|
|
3756
3676
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3757
3677
|
AUTHORIZED: "AUTHORIZED";
|
|
3758
|
-
OPENED: "OPENED";
|
|
3759
|
-
COMPLETED: "COMPLETED";
|
|
3760
3678
|
BOOKED: "BOOKED";
|
|
3761
|
-
SETTLED: "SETTLED";
|
|
3762
3679
|
REJECTED: "REJECTED";
|
|
3680
|
+
COMPLETED: "COMPLETED";
|
|
3681
|
+
OPENED: "OPENED";
|
|
3682
|
+
SETTLED: "SETTLED";
|
|
3763
3683
|
CLOSED: "CLOSED";
|
|
3764
3684
|
}>>]>>;
|
|
3765
3685
|
filterPaymentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|