@develit-services/bank 0.4.2 → 0.5.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/export/wrangler.cjs +2 -2
- 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 +2 -2
- package/dist/shared/{bank.BJvgLwyZ.d.cts → bank.BHU46soy.d.cts} +8 -0
- package/dist/shared/{bank.BJvgLwyZ.d.mts → bank.BHU46soy.d.mts} +8 -0
- package/dist/shared/{bank.BJvgLwyZ.d.ts → bank.BHU46soy.d.ts} +8 -0
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/export/wrangler.cjs
CHANGED
|
@@ -54,8 +54,8 @@ function defineBankServiceWrangler(config) {
|
|
|
54
54
|
queue: `${project}-payments-ready-to-batch`
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
binding:
|
|
58
|
-
queue: `${project}
|
|
57
|
+
binding: envs.local.queues.producers.bus.binding,
|
|
58
|
+
queue: `${project}-${envs.local.queues.producers.bus.queue}`
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
binding: "NOTIFICATIONS_QUEUE",
|
package/dist/export/wrangler.mjs
CHANGED
|
@@ -52,8 +52,8 @@ function defineBankServiceWrangler(config) {
|
|
|
52
52
|
queue: `${project}-payments-ready-to-batch`
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
binding:
|
|
56
|
-
queue: `${project}
|
|
55
|
+
binding: envs.local.queues.producers.bus.binding,
|
|
56
|
+
queue: `${project}-${envs.local.queues.producers.bus.queue}`
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
binding: "NOTIFICATIONS_QUEUE",
|
|
@@ -12,6 +12,14 @@ interface BankServiceEnvironmentConfig {
|
|
|
12
12
|
d1: {
|
|
13
13
|
id: string;
|
|
14
14
|
};
|
|
15
|
+
queues: {
|
|
16
|
+
producers: {
|
|
17
|
+
bus: {
|
|
18
|
+
binding: string;
|
|
19
|
+
queue: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
15
23
|
vars: {
|
|
16
24
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
17
25
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
@@ -12,6 +12,14 @@ interface BankServiceEnvironmentConfig {
|
|
|
12
12
|
d1: {
|
|
13
13
|
id: string;
|
|
14
14
|
};
|
|
15
|
+
queues: {
|
|
16
|
+
producers: {
|
|
17
|
+
bus: {
|
|
18
|
+
binding: string;
|
|
19
|
+
queue: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
15
23
|
vars: {
|
|
16
24
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
17
25
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
@@ -12,6 +12,14 @@ interface BankServiceEnvironmentConfig {
|
|
|
12
12
|
d1: {
|
|
13
13
|
id: string;
|
|
14
14
|
};
|
|
15
|
+
queues: {
|
|
16
|
+
producers: {
|
|
17
|
+
bus: {
|
|
18
|
+
binding: string;
|
|
19
|
+
queue: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
15
23
|
vars: {
|
|
16
24
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
17
25
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
package/dist/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IBankConnector, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, b as BatchedPayment, g as InitiatedBatch, h as IncomingPayment, i as InitiatedPayment, A as AccountSelectType, j as ParsedBankPayment, k as PaymentStatus, l as BatchStatus, c as BatchMetadata, m as CurrencyCode, n as BankCode, o as CountryCode, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, r as PreparedPayment, s as CompletedPayment } from './shared/bank.CsJuzqZH.cjs';
|
|
2
2
|
export { O as ACCOUNT_STATUSES, a5 as AccountCredentialsPatchType, a6 as AccountCredentialsSelectType, a4 as AccountCredentialsUpdateType, a0 as AccountPatchType, Q as AccountStatus, $ as AccountUpdateType, z as BATCH_STATUES, z as BATCH_STATUSES, S as BankAccountWithLastSync, x as BatchInsertType, ag as BatchLifecycle, y as BatchPayment, B as BatchSelectType, F as CHARGE_BEARERS, T as CONNECTOR_KEYS, R as COUNTRY_CODES, U as CREDENTIALS_TYPES, G as ChargeBearer, af as CompletedBatch, C as ConfigEnvironmentBank, ab as CreatedBatch, V as CredentialsType, H as INSTRUCTION_PRIORITIES, J as InstructionPriority, L as LastSyncMetadata, M as PAYMENT_DIRECTIONS, K as PAYMENT_STATUSES, D as PAYMENT_TYPES, N as PaymentDirection, u as PaymentFailedInsertType, w as PaymentInsertType, a7 as PaymentLifecycle, v as PaymentPreparedInsertType, E as PaymentType, ae as ProcessingBatch, ac as ReadyToSignBatch, ad as SignedBatch, W as TOKEN_TYPES, X as TokenType, a1 as accountCredentialsInsertSchema, a3 as accountCredentialsSelectSchema, a2 as accountCredentialsUpdateSchema, Y as accountInsertSchema, _ as accountSelectSchema, Z as accountUpdateSchema, a8 as hasPaymentAccountAssigned, al as isBatchCompleted, an as isBatchFailed, ah as isBatchInitiated, am as isBatchOpen, ak as isBatchProcessing, ai as isBatchReadyToSign, aj as isBatchSigned, aa as isPaymentCompleted, a9 as isPaymentPrepared } from './shared/bank.CsJuzqZH.cjs';
|
|
3
|
-
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.
|
|
3
|
+
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BHU46soy.cjs';
|
|
4
4
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
5
|
import * as drizzle_zod from 'drizzle-zod';
|
|
6
6
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IBankConnector, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, b as BatchedPayment, g as InitiatedBatch, h as IncomingPayment, i as InitiatedPayment, A as AccountSelectType, j as ParsedBankPayment, k as PaymentStatus, l as BatchStatus, c as BatchMetadata, m as CurrencyCode, n as BankCode, o as CountryCode, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, r as PreparedPayment, s as CompletedPayment } from './shared/bank.CsJuzqZH.mjs';
|
|
2
2
|
export { O as ACCOUNT_STATUSES, a5 as AccountCredentialsPatchType, a6 as AccountCredentialsSelectType, a4 as AccountCredentialsUpdateType, a0 as AccountPatchType, Q as AccountStatus, $ as AccountUpdateType, z as BATCH_STATUES, z as BATCH_STATUSES, S as BankAccountWithLastSync, x as BatchInsertType, ag as BatchLifecycle, y as BatchPayment, B as BatchSelectType, F as CHARGE_BEARERS, T as CONNECTOR_KEYS, R as COUNTRY_CODES, U as CREDENTIALS_TYPES, G as ChargeBearer, af as CompletedBatch, C as ConfigEnvironmentBank, ab as CreatedBatch, V as CredentialsType, H as INSTRUCTION_PRIORITIES, J as InstructionPriority, L as LastSyncMetadata, M as PAYMENT_DIRECTIONS, K as PAYMENT_STATUSES, D as PAYMENT_TYPES, N as PaymentDirection, u as PaymentFailedInsertType, w as PaymentInsertType, a7 as PaymentLifecycle, v as PaymentPreparedInsertType, E as PaymentType, ae as ProcessingBatch, ac as ReadyToSignBatch, ad as SignedBatch, W as TOKEN_TYPES, X as TokenType, a1 as accountCredentialsInsertSchema, a3 as accountCredentialsSelectSchema, a2 as accountCredentialsUpdateSchema, Y as accountInsertSchema, _ as accountSelectSchema, Z as accountUpdateSchema, a8 as hasPaymentAccountAssigned, al as isBatchCompleted, an as isBatchFailed, ah as isBatchInitiated, am as isBatchOpen, ak as isBatchProcessing, ai as isBatchReadyToSign, aj as isBatchSigned, aa as isPaymentCompleted, a9 as isPaymentPrepared } from './shared/bank.CsJuzqZH.mjs';
|
|
3
|
-
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.
|
|
3
|
+
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BHU46soy.mjs';
|
|
4
4
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
5
|
import * as drizzle_zod from 'drizzle-zod';
|
|
6
6
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IBankConnector, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, b as BatchedPayment, g as InitiatedBatch, h as IncomingPayment, i as InitiatedPayment, A as AccountSelectType, j as ParsedBankPayment, k as PaymentStatus, l as BatchStatus, c as BatchMetadata, m as CurrencyCode, n as BankCode, o as CountryCode, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, r as PreparedPayment, s as CompletedPayment } from './shared/bank.CsJuzqZH.js';
|
|
2
2
|
export { O as ACCOUNT_STATUSES, a5 as AccountCredentialsPatchType, a6 as AccountCredentialsSelectType, a4 as AccountCredentialsUpdateType, a0 as AccountPatchType, Q as AccountStatus, $ as AccountUpdateType, z as BATCH_STATUES, z as BATCH_STATUSES, S as BankAccountWithLastSync, x as BatchInsertType, ag as BatchLifecycle, y as BatchPayment, B as BatchSelectType, F as CHARGE_BEARERS, T as CONNECTOR_KEYS, R as COUNTRY_CODES, U as CREDENTIALS_TYPES, G as ChargeBearer, af as CompletedBatch, C as ConfigEnvironmentBank, ab as CreatedBatch, V as CredentialsType, H as INSTRUCTION_PRIORITIES, J as InstructionPriority, L as LastSyncMetadata, M as PAYMENT_DIRECTIONS, K as PAYMENT_STATUSES, D as PAYMENT_TYPES, N as PaymentDirection, u as PaymentFailedInsertType, w as PaymentInsertType, a7 as PaymentLifecycle, v as PaymentPreparedInsertType, E as PaymentType, ae as ProcessingBatch, ac as ReadyToSignBatch, ad as SignedBatch, W as TOKEN_TYPES, X as TokenType, a1 as accountCredentialsInsertSchema, a3 as accountCredentialsSelectSchema, a2 as accountCredentialsUpdateSchema, Y as accountInsertSchema, _ as accountSelectSchema, Z as accountUpdateSchema, a8 as hasPaymentAccountAssigned, al as isBatchCompleted, an as isBatchFailed, ah as isBatchInitiated, am as isBatchOpen, ak as isBatchProcessing, ai as isBatchReadyToSign, aj as isBatchSigned, aa as isPaymentCompleted, a9 as isPaymentPrepared } from './shared/bank.CsJuzqZH.js';
|
|
3
|
-
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.
|
|
3
|
+
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BHU46soy.js';
|
|
4
4
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
5
|
import * as drizzle_zod from 'drizzle-zod';
|
|
6
6
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|