@develit-services/bank 0.0.22 → 0.0.23
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/export/worker.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
|
-
const db = require('../shared/bank.
|
|
6
|
+
const db = require('../shared/bank.Ql9pV2Nn.cjs');
|
|
7
7
|
const cloudflare_workers = require('cloudflare:workers');
|
|
8
8
|
const d1 = require('drizzle-orm/d1');
|
|
9
9
|
const zod = require('zod');
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { uuidv4, useResult, createInternalError, develitWorker, first, RPCResponse, action, service } from '@develit-io/backend-sdk';
|
|
2
|
-
import { P as PAYMENT_TYPES, t as tables, F as FinbricksConnector, M as MockConnector, a as MockCobsConnector, E as ErsteConnector, g as getPaymentDirection } from '../shared/bank.
|
|
2
|
+
import { P as PAYMENT_TYPES, t as tables, F as FinbricksConnector, M as MockConnector, a as MockCobsConnector, E as ErsteConnector, g as getPaymentDirection } from '../shared/bank.C_0Iw0vw.mjs';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { drizzle } from 'drizzle-orm/d1';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -497,7 +497,9 @@ class FinbricksConnector extends IBankConnector {
|
|
|
497
497
|
endpoint: FINBRICKS_ENDPOINTS.ACCOUNT_TRANSACTIONS,
|
|
498
498
|
query: {
|
|
499
499
|
merchantId: this.finbricks.MERCHANT_ID,
|
|
500
|
-
|
|
500
|
+
// TODO: Desperate times require desperate solution. Don't forget to remove this.
|
|
501
|
+
clientId: "d32a83cf-d352-41f3-96d7-4d2961336ddc",
|
|
502
|
+
// clientId: this._clientIds[this.PROVIDER],
|
|
501
503
|
paymentProvider: this.PROVIDER,
|
|
502
504
|
bankAccountId: account.identification.number,
|
|
503
505
|
dateFrom,
|
|
@@ -499,7 +499,9 @@ class FinbricksConnector extends IBankConnector {
|
|
|
499
499
|
endpoint: FINBRICKS_ENDPOINTS.ACCOUNT_TRANSACTIONS,
|
|
500
500
|
query: {
|
|
501
501
|
merchantId: this.finbricks.MERCHANT_ID,
|
|
502
|
-
|
|
502
|
+
// TODO: Desperate times require desperate solution. Don't forget to remove this.
|
|
503
|
+
clientId: "d32a83cf-d352-41f3-96d7-4d2961336ddc",
|
|
504
|
+
// clientId: this._clientIds[this.PROVIDER],
|
|
503
505
|
paymentProvider: this.PROVIDER,
|
|
504
506
|
bankAccountId: account.identification.number,
|
|
505
507
|
dateFrom,
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const db = require('./shared/bank.
|
|
3
|
+
const db = require('./shared/bank.Ql9pV2Nn.cjs');
|
|
4
4
|
const database_schema = require('./shared/bank.P9gDUycr.cjs');
|
|
5
5
|
const generalCodes = require('@develit-io/general-codes');
|
|
6
6
|
require('@develit-io/backend-sdk');
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BATCH_STATUES, B as BATCH_STATUSES, C as COUNTRY_CODES, E as ErsteConnector, c as FINBRICKS_ENDPOINTS, b as FinbricksClient, F as FinbricksConnector, I as IBankConnector, a as MockCobsConnector, M as MockConnector, e as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, P as PAYMENT_TYPES, p as paymentInsertTypeZod, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.
|
|
1
|
+
export { B as BATCH_STATUES, B as BATCH_STATUSES, C as COUNTRY_CODES, E as ErsteConnector, c as FINBRICKS_ENDPOINTS, b as FinbricksClient, F as FinbricksConnector, I as IBankConnector, a as MockCobsConnector, M as MockConnector, e as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, P as PAYMENT_TYPES, p as paymentInsertTypeZod, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.C_0Iw0vw.mjs';
|
|
2
2
|
export { C as CONNECTOR_KEYS, T as TOKEN_TYPES } from './shared/bank.C9jAvwna.mjs';
|
|
3
3
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
4
|
import '@develit-io/backend-sdk';
|