@develit-services/bank 5.2.0 → 5.2.1
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 +2 -2
- package/dist/base.d.cts +343 -77
- package/dist/base.d.mts +343 -77
- package/dist/base.d.ts +343 -77
- package/dist/base.mjs +2 -2
- package/dist/database/schema.d.cts +2 -3
- package/dist/database/schema.d.mts +2 -3
- package/dist/database/schema.d.ts +2 -3
- package/dist/export/workflows.cjs +2 -2
- package/dist/export/workflows.mjs +2 -2
- package/dist/shared/{bank.BRD2WfnT.mjs → bank.5RiBQTe0.mjs} +1 -1
- package/dist/shared/{bank.DXU-wqnl.d.mts → bank.BuwSQL_7.d.mts} +9 -1
- package/dist/shared/{bank.BJTq7Qw9.d.cts → bank.CdkOsZE8.d.cts} +3083 -1217
- package/dist/shared/{bank.BJTq7Qw9.d.mts → bank.CdkOsZE8.d.mts} +3083 -1217
- package/dist/shared/{bank.BJTq7Qw9.d.ts → bank.CdkOsZE8.d.ts} +3083 -1217
- package/dist/shared/{bank.Bkxo76q4.mjs → bank.Cg2epnnD.mjs} +9 -3
- package/dist/shared/{bank.JAN0kymF.d.ts → bank.D__RVhfE.d.cts} +9 -1
- package/dist/shared/{bank.wFDtecu7.d.cts → bank.IAc8kIC-.d.ts} +9 -1
- package/dist/shared/{bank.BkctD4hR.cjs → bank.R64Uwo7k.cjs} +9 -3
- package/dist/shared/{bank.Bgz1SSIP.cjs → bank.d0MTVrcR.cjs} +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +341 -27
- package/dist/types.d.mts +341 -27
- package/dist/types.d.ts +341 -27
- package/dist/types.mjs +1 -1
- package/package.json +3 -3
package/dist/base.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, J as initiateConnector, o as isProcessedStatus, p as isTerminalStatus, L as getNonTerminalPaymentRequestsQuery, x as toIncomingPayment, N as calculateCzechIban, j as assignAccount, u as toBatchedPayment, y as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from './shared/bank.
|
|
2
|
+
import { G as tables, g as accountInsertSchema, H as relations, J as initiateConnector, o as isProcessedStatus, p as isTerminalStatus, L as getNonTerminalPaymentRequestsQuery, x as toIncomingPayment, N as calculateCzechIban, j as assignAccount, u as toBatchedPayment, y as toPaymentRequestInsert, a as FinbricksClient, F as FINBRICKS_ENDPOINTS } from './shared/bank.Cg2epnnD.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';
|
|
@@ -9,7 +9,7 @@ import { I as INSTRUCTION_PRIORITIES, C as CHARGE_BEARERS, g as PAYMENT_TYPES, b
|
|
|
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.5RiBQTe0.mjs';
|
|
13
13
|
import 'drizzle-orm/zod';
|
|
14
14
|
import 'drizzle-orm/sqlite-core';
|
|
15
15
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.
|
|
2
|
-
import 'drizzle-orm';
|
|
1
|
+
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.CdkOsZE8.cjs';
|
|
3
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
+
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-orm/zod';
|
|
7
|
-
import 'zod/v4/core';
|
|
8
7
|
import '@develit-io/backend-sdk';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.
|
|
2
|
-
import 'drizzle-orm';
|
|
1
|
+
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.CdkOsZE8.mjs';
|
|
3
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
+
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-orm/zod';
|
|
7
|
-
import 'zod/v4/core';
|
|
8
7
|
import '@develit-io/backend-sdk';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.
|
|
2
|
-
import 'drizzle-orm';
|
|
1
|
+
export { aB as account, aC as accountCredentials, aD as batch, aE as ott, aF as payment, aG as paymentRequest } from '../shared/bank.CdkOsZE8.js';
|
|
3
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
+
import 'drizzle-orm';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-orm/zod';
|
|
7
|
-
import 'zod/v4/core';
|
|
8
7
|
import '@develit-io/backend-sdk';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
-
const bank = require('../shared/bank.
|
|
4
|
+
const bank = require('../shared/bank.R64Uwo7k.cjs');
|
|
5
5
|
const batchLifecycle = require('../shared/bank.NF8bZBy0.cjs');
|
|
6
6
|
const drizzleOrm = require('drizzle-orm');
|
|
7
|
-
const credentialsResolver = require('../shared/bank.
|
|
7
|
+
const credentialsResolver = require('../shared/bank.d0MTVrcR.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 initiateConnector, m as isPaymentCompleted } from '../shared/bank.
|
|
2
|
+
import { G as tables, H as relations, v as toBatchedPaymentFromPaymentRequest, z as toPreparedPayment, J as initiateConnector, m as isPaymentCompleted } from '../shared/bank.Cg2epnnD.mjs';
|
|
3
3
|
import { i as isBatchAuthorized, b as isBatchFailed, d as isBatchProcessing } from '../shared/bank.XqSw509X.mjs';
|
|
4
4
|
import { eq, and, inArray } from 'drizzle-orm';
|
|
5
|
-
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.
|
|
5
|
+
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.5RiBQTe0.mjs';
|
|
6
6
|
import { WorkflowEntrypoint } from 'cloudflare:workers';
|
|
7
7
|
import { NonRetryableError } from 'cloudflare:workflows';
|
|
8
8
|
import { drizzle } from 'drizzle-orm/d1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.CdkOsZE8.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -444,6 +444,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
444
444
|
GW: "GW";
|
|
445
445
|
GY: "GY";
|
|
446
446
|
HT: "HT";
|
|
447
|
+
HK: "HK";
|
|
447
448
|
HN: "HN";
|
|
448
449
|
HU: "HU";
|
|
449
450
|
IS: "IS";
|
|
@@ -715,6 +716,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
715
716
|
GW: "GW";
|
|
716
717
|
GY: "GY";
|
|
717
718
|
HT: "HT";
|
|
719
|
+
HK: "HK";
|
|
718
720
|
HN: "HN";
|
|
719
721
|
HU: "HU";
|
|
720
722
|
IS: "IS";
|
|
@@ -1007,6 +1009,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1007
1009
|
GW: "GW";
|
|
1008
1010
|
GY: "GY";
|
|
1009
1011
|
HT: "HT";
|
|
1012
|
+
HK: "HK";
|
|
1010
1013
|
HN: "HN";
|
|
1011
1014
|
HU: "HU";
|
|
1012
1015
|
IS: "IS";
|
|
@@ -1278,6 +1281,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1278
1281
|
GW: "GW";
|
|
1279
1282
|
GY: "GY";
|
|
1280
1283
|
HT: "HT";
|
|
1284
|
+
HK: "HK";
|
|
1281
1285
|
HN: "HN";
|
|
1282
1286
|
HU: "HU";
|
|
1283
1287
|
IS: "IS";
|
|
@@ -1658,6 +1662,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1658
1662
|
GW: "GW";
|
|
1659
1663
|
GY: "GY";
|
|
1660
1664
|
HT: "HT";
|
|
1665
|
+
HK: "HK";
|
|
1661
1666
|
HN: "HN";
|
|
1662
1667
|
HU: "HU";
|
|
1663
1668
|
IS: "IS";
|
|
@@ -1929,6 +1934,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1929
1934
|
GW: "GW";
|
|
1930
1935
|
GY: "GY";
|
|
1931
1936
|
HT: "HT";
|
|
1937
|
+
HK: "HK";
|
|
1932
1938
|
HN: "HN";
|
|
1933
1939
|
HU: "HU";
|
|
1934
1940
|
IS: "IS";
|
|
@@ -2221,6 +2227,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2221
2227
|
GW: "GW";
|
|
2222
2228
|
GY: "GY";
|
|
2223
2229
|
HT: "HT";
|
|
2230
|
+
HK: "HK";
|
|
2224
2231
|
HN: "HN";
|
|
2225
2232
|
HU: "HU";
|
|
2226
2233
|
IS: "IS";
|
|
@@ -2492,6 +2499,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2492
2499
|
GW: "GW";
|
|
2493
2500
|
GY: "GY";
|
|
2494
2501
|
HT: "HT";
|
|
2502
|
+
HK: "HK";
|
|
2495
2503
|
HN: "HN";
|
|
2496
2504
|
HU: "HU";
|
|
2497
2505
|
IS: "IS";
|