@develit-services/bank 0.6.0 → 0.7.0
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.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/database/schema.mjs +1 -1
- package/dist/export/worker.cjs +1 -1
- package/dist/export/worker.d.cts +65 -317
- package/dist/export/worker.d.mts +65 -317
- package/dist/export/worker.d.ts +65 -317
- package/dist/export/worker.mjs +4 -4
- package/dist/export/workflows.cjs +1 -1
- package/dist/export/workflows.mjs +5 -5
- package/dist/export/wrangler.cjs +0 -6
- package/dist/export/wrangler.d.cts +1 -1
- package/dist/export/wrangler.d.mts +1 -1
- package/dist/export/wrangler.d.ts +1 -1
- package/dist/export/wrangler.mjs +0 -6
- package/dist/shared/{bank.Dpx6PvkA.mjs → bank.CbAwwIhZ.mjs} +1 -1
- package/dist/shared/{bank.BHU46soy.d.ts → bank.Coi0lSqK.d.cts} +1 -1
- package/dist/shared/{bank.BHU46soy.d.cts → bank.Coi0lSqK.d.mts} +1 -1
- package/dist/shared/{bank.BHU46soy.d.mts → bank.Coi0lSqK.d.ts} +1 -1
- package/dist/shared/{bank.BUSlmr6r.mjs → bank.DFIwAQqg.mjs} +1 -1
- package/dist/shared/{bank.qc8ALZwm.mjs → bank.DLWegh_f.mjs} +1 -1
- package/dist/shared/{bank.BJroS_i3.cjs → bank.DNHA-HFP.cjs} +2 -2
- package/dist/shared/{bank.B-ZnLUcL.mjs → bank.Dq27-5wD.mjs} +4 -4
- package/dist/shared/{bank.CsJuzqZH.d.cts → bank.Vj1x4v-K.d.cts} +691 -2176
- package/dist/shared/{bank.CsJuzqZH.d.mts → bank.Vj1x4v-K.d.mts} +691 -2176
- package/dist/shared/{bank.CsJuzqZH.d.ts → bank.Vj1x4v-K.d.ts} +691 -2176
- package/dist/shared/{bank.B51e8oDT.mjs → bank.pd7-Rbo-.mjs} +2 -2
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +26 -215
- package/dist/types.d.mts +26 -215
- package/dist/types.d.ts +26 -215
- package/dist/types.mjs +3 -3
- package/package.json +12 -14
- package/dist/shared/{bank.CDoYUKBx.d.cts → bank.BVIkpji3.d.cts} +2 -2
- package/dist/shared/{bank.CDoYUKBx.d.mts → bank.BVIkpji3.d.mts} +2 -2
- package/dist/shared/{bank.CDoYUKBx.d.ts → bank.BVIkpji3.d.ts} +2 -2
package/dist/export/wrangler.mjs
CHANGED
|
@@ -78,12 +78,6 @@ function defineBankServiceWrangler(config) {
|
|
|
78
78
|
...envCfg.vars,
|
|
79
79
|
ENVIRONMENT: envName
|
|
80
80
|
},
|
|
81
|
-
services: [
|
|
82
|
-
{
|
|
83
|
-
binding: "SECRETS_STORE",
|
|
84
|
-
service: `${project}-secrets-store-${envName}`
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
81
|
triggers: envs.local.triggers,
|
|
88
82
|
d1_databases: [
|
|
89
83
|
{
|
|
@@ -30,4 +30,4 @@ function isBatchFailed(batch) {
|
|
|
30
30
|
return "status" in batch && batch.status === "FAILED";
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { isBatchFailed as a, isBatchInitiated as b, isBatchOpen as c, isBatchProcessing as d, isBatchReadyToSign as e, isBatchSigned as f, isPaymentCompleted as g, hasPaymentAccountAssigned as h, isBatchCompleted as i, isPaymentPrepared as j };
|
|
@@ -45,4 +45,4 @@ interface BankServiceWranglerConfig {
|
|
|
45
45
|
interface BankServiceEnv extends BankEnv {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export type { BankServiceWranglerConfig as B,
|
|
48
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a, BankServiceEnvironmentConfig as b };
|
|
@@ -45,4 +45,4 @@ interface BankServiceWranglerConfig {
|
|
|
45
45
|
interface BankServiceEnv extends BankEnv {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export type { BankServiceWranglerConfig as B,
|
|
48
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a, BankServiceEnvironmentConfig as b };
|
|
@@ -45,4 +45,4 @@ interface BankServiceWranglerConfig {
|
|
|
45
45
|
interface BankServiceEnv extends BankEnv {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export type { BankServiceWranglerConfig as B,
|
|
48
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a, BankServiceEnvironmentConfig as b };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as account, p as accountCredentials, q as batch, r as ott, s as payment, t as paymentRelations } from './bank.
|
|
1
|
+
import { n as account, p as accountCredentials, q as batch, r as ott, s as payment, t as paymentRelations } from './bank.DLWegh_f.mjs';
|
|
2
2
|
|
|
3
3
|
const schema = {
|
|
4
4
|
__proto__: null,
|
|
@@ -165,4 +165,4 @@ const paymentRelations = relations(payment, ({ one }) => ({
|
|
|
165
165
|
batch: one(batch, { fields: [payment.batchId], references: [batch.id] })
|
|
166
166
|
}));
|
|
167
167
|
|
|
168
|
-
export { ACCOUNT_STATUSES as A, BATCH_STATUSES as B, CHARGE_BEARERS as C, INSTRUCTION_PRIORITIES as I,
|
|
168
|
+
export { ACCOUNT_STATUSES as A, BATCH_STATUSES as B, CHARGE_BEARERS as C, INSTRUCTION_PRIORITIES as I, PAYMENT_DIRECTIONS as P, TOKEN_TYPES as T, CONNECTOR_KEYS as a, COUNTRY_CODES as b, CREDENTIALS_TYPES as c, PAYMENT_STATUSES as d, PAYMENT_TYPES as e, accountCredentialsInsertSchema as f, accountCredentialsSelectSchema as g, accountCredentialsUpdateSchema as h, accountInsertSchema as i, accountSelectSchema as j, accountUpdateSchema as k, ottSelectSchema as l, ottUpdateSchema as m, account as n, ottInsertSchema as o, accountCredentials as p, batch as q, ott as r, payment as s, paymentRelations as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { uuidv4, useResult, createInternalError } from '@develit-io/backend-sdk';
|
|
2
2
|
import { format, parseISO } from 'date-fns';
|
|
3
3
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
|
-
import './bank.
|
|
4
|
+
import './bank.DLWegh_f.mjs';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import { importPKCS8, SignJWT } from 'jose';
|
|
7
7
|
import 'node:crypto';
|
|
@@ -1576,8 +1576,8 @@ class MockConnector extends IBankConnector {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
1578
|
async getAllAccountPayments({
|
|
1579
|
-
account,
|
|
1580
|
-
filter
|
|
1579
|
+
account: _account,
|
|
1580
|
+
filter: _filter
|
|
1581
1581
|
}) {
|
|
1582
1582
|
return [];
|
|
1583
1583
|
}
|
|
@@ -1592,4 +1592,4 @@ class MockConnector extends IBankConnector {
|
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
|
-
export { DbuConnector as D, ErsteConnector as E,
|
|
1595
|
+
export { DbuConnector as D, ErsteConnector as E, FINBRICKS_ENDPOINTS as F, IBankConnector as I, MockCobsConnector as M, FinbricksClient as a, FinbricksConnector as b, MockConnector as c, assignAccount as d, batchTransform as e, toCompletedPayment as f, toIncomingPayment as g, toPreparedPayment as h, initiateConnector as i, signFinbricksJws as s, toBatchedPayment as t, useFinbricksFetch as u };
|