@develit-services/bank 0.8.15 → 0.8.16

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.
@@ -5,7 +5,7 @@ const drizzle = require('../shared/bank.Cev1E9sk.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.DxK5hIgy.cjs');
8
+ const mock_connector = require('../shared/bank.C75Z9vML.cjs');
9
9
  require('jose');
10
10
  const zod = require('zod');
11
11
  const paymentRequest_schema = require('../shared/bank.BBXoZ5QU.cjs');
@@ -1727,9 +1727,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1727
1727
  limit: z.ZodNumber;
1728
1728
  sort: z.ZodObject<{
1729
1729
  column: z.ZodEnum<{
1730
- amount: "amount";
1731
1730
  createdAt: "createdAt";
1732
1731
  updatedAt: "updatedAt";
1732
+ amount: "amount";
1733
1733
  }>;
1734
1734
  direction: z.ZodEnum<{
1735
1735
  asc: "asc";
@@ -2592,9 +2592,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
2592
2592
  limit: z.ZodNumber;
2593
2593
  sort: z.ZodObject<{
2594
2594
  column: z.ZodEnum<{
2595
- amount: "amount";
2596
2595
  createdAt: "createdAt";
2597
2596
  updatedAt: "updatedAt";
2597
+ amount: "amount";
2598
2598
  }>;
2599
2599
  direction: z.ZodEnum<{
2600
2600
  asc: "asc";
@@ -1727,9 +1727,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1727
1727
  limit: z.ZodNumber;
1728
1728
  sort: z.ZodObject<{
1729
1729
  column: z.ZodEnum<{
1730
- amount: "amount";
1731
1730
  createdAt: "createdAt";
1732
1731
  updatedAt: "updatedAt";
1732
+ amount: "amount";
1733
1733
  }>;
1734
1734
  direction: z.ZodEnum<{
1735
1735
  asc: "asc";
@@ -2592,9 +2592,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
2592
2592
  limit: z.ZodNumber;
2593
2593
  sort: z.ZodObject<{
2594
2594
  column: z.ZodEnum<{
2595
- amount: "amount";
2596
2595
  createdAt: "createdAt";
2597
2596
  updatedAt: "updatedAt";
2597
+ amount: "amount";
2598
2598
  }>;
2599
2599
  direction: z.ZodEnum<{
2600
2600
  asc: "asc";
@@ -1727,9 +1727,9 @@ declare const getPaymentsInputSchema: z.ZodObject<{
1727
1727
  limit: z.ZodNumber;
1728
1728
  sort: z.ZodObject<{
1729
1729
  column: z.ZodEnum<{
1730
- amount: "amount";
1731
1730
  createdAt: "createdAt";
1732
1731
  updatedAt: "updatedAt";
1732
+ amount: "amount";
1733
1733
  }>;
1734
1734
  direction: z.ZodEnum<{
1735
1735
  asc: "asc";
@@ -2592,9 +2592,9 @@ declare const getPaymentRequestsInputSchema: z.ZodObject<{
2592
2592
  limit: z.ZodNumber;
2593
2593
  sort: z.ZodObject<{
2594
2594
  column: z.ZodEnum<{
2595
- amount: "amount";
2596
2595
  createdAt: "createdAt";
2597
2596
  updatedAt: "updatedAt";
2597
+ amount: "amount";
2598
2598
  }>;
2599
2599
  direction: z.ZodEnum<{
2600
2600
  asc: "asc";
@@ -3,7 +3,7 @@ import { t as tables, h as encrypt, d as createCredentialsResolver, e as updateP
3
3
  import { eq, sql, and, like, asc, desc, inArray, gte, lte, isNull, count, not } 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.tjCvxaMD.mjs';
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.B6dkPRYF.mjs';
7
7
  import 'jose';
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, k as accountInsertSchema, e as PAYMENT_REQUEST_STATUSES } from '../shared/bank.CXBeULUL.mjs';
@@ -3,7 +3,7 @@
3
3
  const backendSdk = require('@develit-io/backend-sdk');
4
4
  const drizzle = require('../shared/bank.Cev1E9sk.cjs');
5
5
  const batchLifecycle = require('../shared/bank.BsIiXsFH.cjs');
6
- const mock_connector = require('../shared/bank.DxK5hIgy.cjs');
6
+ const mock_connector = require('../shared/bank.C75Z9vML.cjs');
7
7
  const drizzleOrm = require('drizzle-orm');
8
8
  const cloudflare_workers = require('cloudflare:workers');
9
9
  const cloudflare_workflows = require('cloudflare:workflows');
@@ -1,7 +1,7 @@
1
1
  import { first, uuidv4, asNonEmpty } from '@develit-io/backend-sdk';
2
2
  import { t as tables, 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.xB9eTN77.mjs';
3
3
  import { i as isBatchAuthorized, b as isBatchFailed, d as isBatchProcessing, f as isPaymentCompleted } from '../shared/bank.vz1uqEYa.mjs';
4
- import { e as toBatchedPaymentFromPaymentRequest, i as toPreparedPayment, j as initiateConnector } from '../shared/bank.tjCvxaMD.mjs';
4
+ import { e as toBatchedPaymentFromPaymentRequest, i as toPreparedPayment, j as initiateConnector } from '../shared/bank.B6dkPRYF.mjs';
5
5
  import { eq, and, inArray } from 'drizzle-orm';
6
6
  import { WorkflowEntrypoint } from 'cloudflare:workers';
7
7
  import { NonRetryableError } from 'cloudflare:workflows';
@@ -1542,7 +1542,8 @@ class DbuConnector extends IBankConnector {
1542
1542
  varSymbol: payment.vs,
1543
1543
  specSymbol: payment.ss,
1544
1544
  constSymbol: payment.ks,
1545
- uniqueExternalId: payment.id
1545
+ uniqueExternalId: payment.id,
1546
+ standardPaymentFallback: "N"
1546
1547
  };
1547
1548
  const response = await this.makeRequest(
1548
1549
  "/required-transactions/instant-payments",
@@ -1544,7 +1544,8 @@ class DbuConnector extends IBankConnector {
1544
1544
  varSymbol: payment.vs,
1545
1545
  specSymbol: payment.ss,
1546
1546
  constSymbol: payment.ks,
1547
- uniqueExternalId: payment.id
1547
+ uniqueExternalId: payment.id,
1548
+ standardPaymentFallback: "N"
1548
1549
  };
1549
1550
  const response = await this.makeRequest(
1550
1551
  "/required-transactions/instant-payments",
package/dist/types.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const mock_connector = require('./shared/bank.DxK5hIgy.cjs');
3
+ const mock_connector = require('./shared/bank.C75Z9vML.cjs');
4
4
  const paymentRequest_schema = require('./shared/bank.BBXoZ5QU.cjs');
5
5
  const batchLifecycle = require('./shared/bank.BsIiXsFH.cjs');
6
6
  const generalCodes = require('@develit-io/general-codes');
package/dist/types.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as assignAccount, s as signFinbricksJws, t as toBatchedPayment, e as toBatchedPaymentFromPaymentRequest, f as toCompletedPayment, g as toIncomingPayment, h as toPaymentRequestInsert, i as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.tjCvxaMD.mjs';
1
+ export { C as CsobConnector, D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, K as KBConnector, M as MockCobsConnector, c as MockConnector, d as assignAccount, s as signFinbricksJws, t as toBatchedPayment, e as toBatchedPaymentFromPaymentRequest, f as toCompletedPayment, g as toIncomingPayment, h as toPaymentRequestInsert, i as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.B6dkPRYF.mjs';
2
2
  export { A as ACCOUNT_STATUSES, B as BATCH_MODES, a as BATCH_STATUES, a as BATCH_STATUSES, C as CHARGE_BEARERS, b as CONNECTOR_KEYS, c as COUNTRY_CODES, d as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, P as PAYMENT_DIRECTIONS, e as PAYMENT_REQUEST_STATUSES, f as PAYMENT_STATUSES, g as PAYMENT_TYPES, T as TOKEN_TYPES, h as accountCredentialsInsertSchema, i as accountCredentialsSelectSchema, j as accountCredentialsUpdateSchema, k as accountInsertSchema, l as accountSelectSchema, m as accountUpdateSchema, o as ottInsertSchema, n as ottSelectSchema, p as ottUpdateSchema } from './shared/bank.CXBeULUL.mjs';
3
3
  export { h as hasPaymentAccountAssigned, i as isBatchAuthorized, a as isBatchCompleted, b as isBatchFailed, c as isBatchInitiated, d as isBatchProcessing, e as isBatchReadyToSign, f as isPaymentCompleted } from './shared/bank.vz1uqEYa.mjs';
4
4
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "0.8.15",
3
+ "version": "0.8.16",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {