@develit-services/bank 0.0.34 → 0.0.36
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 +1 -1
- package/dist/database/schema.mjs +1 -1
- package/dist/export/worker.cjs +2 -2
- package/dist/export/worker.d.cts +1 -1
- package/dist/export/worker.d.mts +1 -1
- package/dist/export/worker.d.ts +1 -1
- package/dist/export/worker.mjs +2 -2
- package/dist/shared/{bank.D4BlThGx.cjs → bank.BCFCsGc4.cjs} +29 -8
- package/dist/shared/{bank.-qiBc98X.d.mts → bank.BmcSkaZh.d.mts} +1 -2
- package/dist/shared/{bank._5C74-4K.d.cts → bank.CELgdPJI.d.cts} +1 -2
- package/dist/shared/{bank.BRiDHyNf.d.ts → bank.C_BFyEi4.d.ts} +1 -2
- package/dist/shared/{bank.ClfukJ-T.mjs → bank.ClhW343d.mjs} +29 -8
- package/dist/shared/{bank.De_ddIjl.mjs → bank.UaH89pIW.mjs} +1 -1
- package/dist/shared/{bank.BVW0vOQS.cjs → bank.mZ26nAqL.cjs} +1 -1
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/types.mjs +2 -2
- package/package.json +1 -1
package/dist/database/schema.cjs
CHANGED
package/dist/database/schema.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { y as account, z as accountCredentials, r as batch, x as ott, v as payment, w as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { y as account, z as accountCredentials, r as batch, x as ott, v as payment, w as paymentRelations } from '../shared/bank.ClhW343d.mjs';
|
|
2
2
|
import '@develit-io/backend-sdk';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import 'drizzle-orm';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -5,12 +5,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
6
|
const cloudflare_workers = require('cloudflare:workers');
|
|
7
7
|
const d1 = require('drizzle-orm/d1');
|
|
8
|
-
const database_schema = require('../shared/bank.
|
|
8
|
+
const database_schema = require('../shared/bank.BCFCsGc4.cjs');
|
|
9
9
|
require('jose');
|
|
10
10
|
const generalCodes = require('@develit-io/general-codes');
|
|
11
11
|
const zod = require('zod');
|
|
12
12
|
const drizzleOrm = require('drizzle-orm');
|
|
13
|
-
const mockCobs_connector = require('../shared/bank.
|
|
13
|
+
const mockCobs_connector = require('../shared/bank.mZ26nAqL.cjs');
|
|
14
14
|
require('drizzle-orm/sqlite-core');
|
|
15
15
|
require('drizzle-zod');
|
|
16
16
|
require('date-fns');
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.e_XSg9KV.cjs';
|
|
6
|
-
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.
|
|
6
|
+
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.CELgdPJI.cjs';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.e_XSg9KV.mjs';
|
|
6
|
-
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank
|
|
6
|
+
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.BmcSkaZh.mjs';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.e_XSg9KV.js';
|
|
6
|
-
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.
|
|
6
|
+
import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.C_BFyEi4.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { uuidv4, develitWorker, createInternalError, first, RPCResponse, action, service } from '@develit-io/backend-sdk';
|
|
2
2
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
3
3
|
import { drizzle } from 'drizzle-orm/d1';
|
|
4
|
-
import { t as tables, F as FinbricksConnector, M as MockConnector, E as ErsteConnector, P as PAYMENT_TYPES, e as CONNECTOR_KEYS, B as BATCH_STATUSES, c as PAYMENT_STATUSES, d as PAYMENT_DIRECTIONS, q as getPaymentDirection } from '../shared/bank.
|
|
4
|
+
import { t as tables, F as FinbricksConnector, M as MockConnector, E as ErsteConnector, P as PAYMENT_TYPES, e as CONNECTOR_KEYS, B as BATCH_STATUSES, c as PAYMENT_STATUSES, d as PAYMENT_DIRECTIONS, q as getPaymentDirection } from '../shared/bank.ClhW343d.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { eq, inArray, and, sql, asc, desc, gte, lte } from 'drizzle-orm';
|
|
9
|
-
import { M as MockCobsConnector } from '../shared/bank.
|
|
9
|
+
import { M as MockCobsConnector } from '../shared/bank.UaH89pIW.mjs';
|
|
10
10
|
import 'drizzle-orm/sqlite-core';
|
|
11
11
|
import 'drizzle-zod';
|
|
12
12
|
import 'date-fns';
|
|
@@ -421,7 +421,11 @@ class FinbricksConnector extends IBankConnector {
|
|
|
421
421
|
direction: "OUTGOING",
|
|
422
422
|
paymentType: "DOMESTIC",
|
|
423
423
|
status: "PREPARED",
|
|
424
|
-
initiatedAt: /* @__PURE__ */ new Date()
|
|
424
|
+
initiatedAt: /* @__PURE__ */ new Date(),
|
|
425
|
+
accountId: this.connectedAccounts.find(
|
|
426
|
+
(acc) => acc.iban === payment.debtorIban
|
|
427
|
+
).id,
|
|
428
|
+
connectorKey: this.PROVIDER
|
|
425
429
|
};
|
|
426
430
|
}
|
|
427
431
|
async initiateBatchFromPayments({
|
|
@@ -504,7 +508,14 @@ class FinbricksConnector extends IBankConnector {
|
|
|
504
508
|
}
|
|
505
509
|
return {
|
|
506
510
|
authorizationUrl: response.redirectUrl,
|
|
507
|
-
payment: {
|
|
511
|
+
payment: {
|
|
512
|
+
...payment,
|
|
513
|
+
status: "INITIALIZED",
|
|
514
|
+
accountId: this.connectedAccounts.find(
|
|
515
|
+
(acc) => acc.iban === payment.debtorIban
|
|
516
|
+
).id,
|
|
517
|
+
connectorKey: this.PROVIDER
|
|
518
|
+
}
|
|
508
519
|
};
|
|
509
520
|
}
|
|
510
521
|
async initiateSinglePayment(payment) {
|
|
@@ -761,7 +772,11 @@ class ErsteConnector extends IBankConnector {
|
|
|
761
772
|
direction: "OUTGOING",
|
|
762
773
|
paymentType: "DOMESTIC",
|
|
763
774
|
status: "PREPARED",
|
|
764
|
-
initiatedAt: /* @__PURE__ */ new Date()
|
|
775
|
+
initiatedAt: /* @__PURE__ */ new Date(),
|
|
776
|
+
accountId: this.connectedAccounts.find(
|
|
777
|
+
(acc) => acc.iban === payment.debtorIban
|
|
778
|
+
).id,
|
|
779
|
+
connectorKey: "ERSTE"
|
|
765
780
|
};
|
|
766
781
|
}
|
|
767
782
|
async initiateBatchFromPayments({
|
|
@@ -946,7 +961,11 @@ class MockConnector extends IBankConnector {
|
|
|
946
961
|
direction: "OUTGOING",
|
|
947
962
|
paymentType: "DOMESTIC",
|
|
948
963
|
status: "PREPARED",
|
|
949
|
-
initiatedAt: /* @__PURE__ */ new Date()
|
|
964
|
+
initiatedAt: /* @__PURE__ */ new Date(),
|
|
965
|
+
accountId: this.connectedAccounts.find(
|
|
966
|
+
(acc) => acc.iban === payment.debtorIban
|
|
967
|
+
).id,
|
|
968
|
+
connectorKey: "MOCK"
|
|
950
969
|
};
|
|
951
970
|
}
|
|
952
971
|
async initiateSinglePayment(payment) {
|
|
@@ -964,10 +983,12 @@ class MockConnector extends IBankConnector {
|
|
|
964
983
|
return {
|
|
965
984
|
id: backendSdk.uuidv4(),
|
|
966
985
|
authorizationUrls: ["http://mock.com"],
|
|
967
|
-
payments: payments.map(
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
986
|
+
payments: payments.map(
|
|
987
|
+
(payment) => ({
|
|
988
|
+
...payment,
|
|
989
|
+
status: "INITIALIZED"
|
|
990
|
+
})
|
|
991
|
+
)
|
|
971
992
|
};
|
|
972
993
|
}
|
|
973
994
|
async getAllAccountPayments({
|
|
@@ -115,8 +115,7 @@ declare abstract class IBankConnector {
|
|
|
115
115
|
}): Promise<BatchStatus>;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
}
|
|
118
|
+
type IncomingPaymentMessage = Omit<PaymentInsertType, 'accountId' | 'connectorKey'>;
|
|
120
119
|
interface OutgoingPaymentMessage extends PaymentInsertType {
|
|
121
120
|
}
|
|
122
121
|
|
|
@@ -115,8 +115,7 @@ declare abstract class IBankConnector {
|
|
|
115
115
|
}): Promise<BatchStatus>;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
}
|
|
118
|
+
type IncomingPaymentMessage = Omit<PaymentInsertType, 'accountId' | 'connectorKey'>;
|
|
120
119
|
interface OutgoingPaymentMessage extends PaymentInsertType {
|
|
121
120
|
}
|
|
122
121
|
|
|
@@ -115,8 +115,7 @@ declare abstract class IBankConnector {
|
|
|
115
115
|
}): Promise<BatchStatus>;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
}
|
|
118
|
+
type IncomingPaymentMessage = Omit<PaymentInsertType, 'accountId' | 'connectorKey'>;
|
|
120
119
|
interface OutgoingPaymentMessage extends PaymentInsertType {
|
|
121
120
|
}
|
|
122
121
|
|
|
@@ -419,7 +419,11 @@ class FinbricksConnector extends IBankConnector {
|
|
|
419
419
|
direction: "OUTGOING",
|
|
420
420
|
paymentType: "DOMESTIC",
|
|
421
421
|
status: "PREPARED",
|
|
422
|
-
initiatedAt: /* @__PURE__ */ new Date()
|
|
422
|
+
initiatedAt: /* @__PURE__ */ new Date(),
|
|
423
|
+
accountId: this.connectedAccounts.find(
|
|
424
|
+
(acc) => acc.iban === payment.debtorIban
|
|
425
|
+
).id,
|
|
426
|
+
connectorKey: this.PROVIDER
|
|
423
427
|
};
|
|
424
428
|
}
|
|
425
429
|
async initiateBatchFromPayments({
|
|
@@ -502,7 +506,14 @@ class FinbricksConnector extends IBankConnector {
|
|
|
502
506
|
}
|
|
503
507
|
return {
|
|
504
508
|
authorizationUrl: response.redirectUrl,
|
|
505
|
-
payment: {
|
|
509
|
+
payment: {
|
|
510
|
+
...payment,
|
|
511
|
+
status: "INITIALIZED",
|
|
512
|
+
accountId: this.connectedAccounts.find(
|
|
513
|
+
(acc) => acc.iban === payment.debtorIban
|
|
514
|
+
).id,
|
|
515
|
+
connectorKey: this.PROVIDER
|
|
516
|
+
}
|
|
506
517
|
};
|
|
507
518
|
}
|
|
508
519
|
async initiateSinglePayment(payment) {
|
|
@@ -759,7 +770,11 @@ class ErsteConnector extends IBankConnector {
|
|
|
759
770
|
direction: "OUTGOING",
|
|
760
771
|
paymentType: "DOMESTIC",
|
|
761
772
|
status: "PREPARED",
|
|
762
|
-
initiatedAt: /* @__PURE__ */ new Date()
|
|
773
|
+
initiatedAt: /* @__PURE__ */ new Date(),
|
|
774
|
+
accountId: this.connectedAccounts.find(
|
|
775
|
+
(acc) => acc.iban === payment.debtorIban
|
|
776
|
+
).id,
|
|
777
|
+
connectorKey: "ERSTE"
|
|
763
778
|
};
|
|
764
779
|
}
|
|
765
780
|
async initiateBatchFromPayments({
|
|
@@ -944,7 +959,11 @@ class MockConnector extends IBankConnector {
|
|
|
944
959
|
direction: "OUTGOING",
|
|
945
960
|
paymentType: "DOMESTIC",
|
|
946
961
|
status: "PREPARED",
|
|
947
|
-
initiatedAt: /* @__PURE__ */ new Date()
|
|
962
|
+
initiatedAt: /* @__PURE__ */ new Date(),
|
|
963
|
+
accountId: this.connectedAccounts.find(
|
|
964
|
+
(acc) => acc.iban === payment.debtorIban
|
|
965
|
+
).id,
|
|
966
|
+
connectorKey: "MOCK"
|
|
948
967
|
};
|
|
949
968
|
}
|
|
950
969
|
async initiateSinglePayment(payment) {
|
|
@@ -962,10 +981,12 @@ class MockConnector extends IBankConnector {
|
|
|
962
981
|
return {
|
|
963
982
|
id: uuidv4(),
|
|
964
983
|
authorizationUrls: ["http://mock.com"],
|
|
965
|
-
payments: payments.map(
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
984
|
+
payments: payments.map(
|
|
985
|
+
(payment) => ({
|
|
986
|
+
...payment,
|
|
987
|
+
status: "INITIALIZED"
|
|
988
|
+
})
|
|
989
|
+
)
|
|
969
990
|
};
|
|
970
991
|
}
|
|
971
992
|
async getAllAccountPayments({
|
package/dist/types.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('./shared/bank.
|
|
4
|
-
const mockCobs_connector = require('./shared/bank.
|
|
3
|
+
const database_schema = require('./shared/bank.BCFCsGc4.cjs');
|
|
4
|
+
const mockCobs_connector = require('./shared/bank.mZ26nAqL.cjs');
|
|
5
5
|
const generalCodes = require('@develit-io/general-codes');
|
|
6
6
|
require('@develit-io/backend-sdk');
|
|
7
7
|
require('drizzle-orm/sqlite-core');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export { w as ACCOUNT_STATUSES, U as AccountCredentialsPatchType, V as AccountCredentialsSelectType, S as AccountCredentialsUpdateType, M as AccountPatchType, x as AccountStatus, L as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, z as BankAccountWithLastSync, D as CONNECTOR_KEYS, y as COUNTRY_CODES, E as CREDENTIALS_TYPES, C as ConfigEnvironmentBank, F as CredentialsType, O as OutgoingPaymentMessage, u as PAYMENT_DIRECTIONS, t as PAYMENT_STATUSES, r as PAYMENT_TYPES, v as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, G as TokenType, N as accountCredentialsInsertSchema, R as accountCredentialsSelectSchema, Q as accountCredentialsUpdateSchema, H as accountInsertSchema, K as accountSelectSchema, J as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.CELgdPJI.cjs';
|
|
2
|
+
export { w as ACCOUNT_STATUSES, U as AccountCredentialsPatchType, V as AccountCredentialsSelectType, S as AccountCredentialsUpdateType, M as AccountPatchType, x as AccountStatus, L as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, z as BankAccountWithLastSync, D as CONNECTOR_KEYS, y as COUNTRY_CODES, E as CREDENTIALS_TYPES, C as ConfigEnvironmentBank, F as CredentialsType, O as OutgoingPaymentMessage, u as PAYMENT_DIRECTIONS, t as PAYMENT_STATUSES, r as PAYMENT_TYPES, v as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, G as TokenType, N as accountCredentialsInsertSchema, R as accountCredentialsSelectSchema, Q as accountCredentialsUpdateSchema, H as accountInsertSchema, K as accountSelectSchema, J as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.CELgdPJI.cjs';
|
|
3
3
|
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.e_XSg9KV.cjs';
|
|
4
4
|
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.e_XSg9KV.cjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank
|
|
2
|
-
export { w as ACCOUNT_STATUSES, U as AccountCredentialsPatchType, V as AccountCredentialsSelectType, S as AccountCredentialsUpdateType, M as AccountPatchType, x as AccountStatus, L as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, z as BankAccountWithLastSync, D as CONNECTOR_KEYS, y as COUNTRY_CODES, E as CREDENTIALS_TYPES, C as ConfigEnvironmentBank, F as CredentialsType, O as OutgoingPaymentMessage, u as PAYMENT_DIRECTIONS, t as PAYMENT_STATUSES, r as PAYMENT_TYPES, v as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, G as TokenType, N as accountCredentialsInsertSchema, R as accountCredentialsSelectSchema, Q as accountCredentialsUpdateSchema, H as accountInsertSchema, K as accountSelectSchema, J as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.BmcSkaZh.mjs';
|
|
2
|
+
export { w as ACCOUNT_STATUSES, U as AccountCredentialsPatchType, V as AccountCredentialsSelectType, S as AccountCredentialsUpdateType, M as AccountPatchType, x as AccountStatus, L as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, z as BankAccountWithLastSync, D as CONNECTOR_KEYS, y as COUNTRY_CODES, E as CREDENTIALS_TYPES, C as ConfigEnvironmentBank, F as CredentialsType, O as OutgoingPaymentMessage, u as PAYMENT_DIRECTIONS, t as PAYMENT_STATUSES, r as PAYMENT_TYPES, v as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, G as TokenType, N as accountCredentialsInsertSchema, R as accountCredentialsSelectSchema, Q as accountCredentialsUpdateSchema, H as accountInsertSchema, K as accountSelectSchema, J as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.BmcSkaZh.mjs';
|
|
3
3
|
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.e_XSg9KV.mjs';
|
|
4
4
|
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.e_XSg9KV.mjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export { w as ACCOUNT_STATUSES, U as AccountCredentialsPatchType, V as AccountCredentialsSelectType, S as AccountCredentialsUpdateType, M as AccountPatchType, x as AccountStatus, L as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, z as BankAccountWithLastSync, D as CONNECTOR_KEYS, y as COUNTRY_CODES, E as CREDENTIALS_TYPES, C as ConfigEnvironmentBank, F as CredentialsType, O as OutgoingPaymentMessage, u as PAYMENT_DIRECTIONS, t as PAYMENT_STATUSES, r as PAYMENT_TYPES, v as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, G as TokenType, N as accountCredentialsInsertSchema, R as accountCredentialsSelectSchema, Q as accountCredentialsUpdateSchema, H as accountInsertSchema, K as accountSelectSchema, J as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.C_BFyEi4.js';
|
|
2
|
+
export { w as ACCOUNT_STATUSES, U as AccountCredentialsPatchType, V as AccountCredentialsSelectType, S as AccountCredentialsUpdateType, M as AccountPatchType, x as AccountStatus, L as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, z as BankAccountWithLastSync, D as CONNECTOR_KEYS, y as COUNTRY_CODES, E as CREDENTIALS_TYPES, C as ConfigEnvironmentBank, F as CredentialsType, O as OutgoingPaymentMessage, u as PAYMENT_DIRECTIONS, t as PAYMENT_STATUSES, r as PAYMENT_TYPES, v as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, G as TokenType, N as accountCredentialsInsertSchema, R as accountCredentialsSelectSchema, Q as accountCredentialsUpdateSchema, H as accountInsertSchema, K as accountSelectSchema, J as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.C_BFyEi4.js';
|
|
3
3
|
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.e_XSg9KV.js';
|
|
4
4
|
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.e_XSg9KV.js';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
package/dist/types.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, e as CONNECTOR_KEYS, C as COUNTRY_CODES, f as CREDENTIALS_TYPES, E as ErsteConnector, b as FINBRICKS_ENDPOINTS, a as FinbricksClient, F as FinbricksConnector, I as IBankConnector, M as MockConnector, d as PAYMENT_DIRECTIONS, c as PAYMENT_STATUSES, P as PAYMENT_TYPES, T as TOKEN_TYPES, j as accountCredentialsInsertSchema, l as accountCredentialsSelectSchema, k as accountCredentialsUpdateSchema, g as accountInsertSchema, i as accountSelectSchema, h as accountUpdateSchema, o as ottInsertSchema, n as ottSelectSchema, m as ottUpdateSchema, p as paymentInsertTypeZod, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.
|
|
2
|
-
export { M as MockCobsConnector } from './shared/bank.
|
|
1
|
+
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, e as CONNECTOR_KEYS, C as COUNTRY_CODES, f as CREDENTIALS_TYPES, E as ErsteConnector, b as FINBRICKS_ENDPOINTS, a as FinbricksClient, F as FinbricksConnector, I as IBankConnector, M as MockConnector, d as PAYMENT_DIRECTIONS, c as PAYMENT_STATUSES, P as PAYMENT_TYPES, T as TOKEN_TYPES, j as accountCredentialsInsertSchema, l as accountCredentialsSelectSchema, k as accountCredentialsUpdateSchema, g as accountInsertSchema, i as accountSelectSchema, h as accountUpdateSchema, o as ottInsertSchema, n as ottSelectSchema, m as ottUpdateSchema, p as paymentInsertTypeZod, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.ClhW343d.mjs';
|
|
2
|
+
export { M as MockCobsConnector } from './shared/bank.UaH89pIW.mjs';
|
|
3
3
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
5
5
|
import 'drizzle-orm/sqlite-core';
|