@develit-services/bank 0.0.17 → 0.0.18
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.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 +2 -2
- package/dist/export/worker.d.cts +2 -2
- package/dist/export/worker.d.mts +2 -2
- package/dist/export/worker.d.ts +2 -2
- package/dist/export/worker.mjs +2 -2
- package/dist/shared/{bank.BTiCct5w.d.ts → bank.BkLncGmL.d.ts} +1 -1
- package/dist/shared/{bank.CYP8KnoM.d.cts → bank.BuNG2S8h.d.cts} +10 -10
- package/dist/shared/{bank.CYP8KnoM.d.mts → bank.BuNG2S8h.d.mts} +10 -10
- package/dist/shared/{bank.CYP8KnoM.d.ts → bank.BuNG2S8h.d.ts} +10 -10
- package/dist/shared/{bank.Bgq67An_.mjs → bank.C9jAvwna.mjs} +1 -1
- package/dist/shared/{bank.4vcryDK5.mjs → bank.CNpjRxvL.mjs} +1 -1
- package/dist/shared/{bank.C9Yr7ASx.cjs → bank.DQn99N-C.cjs} +1 -1
- package/dist/shared/{bank.DkD_K2Pp.d.mts → bank.DWVLVMDa.d.mts} +1 -1
- package/dist/shared/{bank.DnUXZU3A.d.cts → bank.DmypH3Au.d.cts} +1 -1
- package/dist/shared/{bank.Docz6If9.cjs → bank.P9gDUycr.cjs} +1 -1
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +4 -4
- package/dist/types.d.mts +4 -4
- package/dist/types.d.ts +4 -4
- package/dist/types.mjs +2 -2
- package/package.json +1 -1
package/dist/database/schema.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.BuNG2S8h.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.BuNG2S8h.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { c as batch, o as ott, d as payment, e as paymentRelations } from '../shared/bank.BuNG2S8h.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'zod';
|
package/dist/database/schema.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as batch, o as ott, p as payment, a as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { b as batch, o as ott, p as payment, a as paymentRelations } from '../shared/bank.C9jAvwna.mjs';
|
|
2
2
|
import '@develit-io/backend-sdk';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import 'drizzle-orm/relations';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
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.DQn99N-C.cjs');
|
|
7
7
|
const cloudflare_workers = require('cloudflare:workers');
|
|
8
8
|
const d1 = require('drizzle-orm/d1');
|
|
9
9
|
const zod = require('zod');
|
|
10
10
|
const generalCodes = require('@develit-io/general-codes');
|
|
11
|
-
const database_schema = require('../shared/bank.
|
|
11
|
+
const database_schema = require('../shared/bank.P9gDUycr.cjs');
|
|
12
12
|
require('jose');
|
|
13
13
|
const drizzleOrm = require('drizzle-orm');
|
|
14
14
|
const superjson = require('superjson');
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.
|
|
3
|
+
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.BuNG2S8h.cjs';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { C as ConfigEnvironmentBankAccount, I as IBankConnector, a as ConfigBankAccount, b as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.
|
|
7
|
+
import { C as ConfigEnvironmentBankAccount, I as IBankConnector, a as ConfigBankAccount, b as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.DmypH3Au.cjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.
|
|
3
|
+
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.BuNG2S8h.mjs';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { C as ConfigEnvironmentBankAccount, I as IBankConnector, a as ConfigBankAccount, b as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.
|
|
7
|
+
import { C as ConfigEnvironmentBankAccount, I as IBankConnector, a as ConfigBankAccount, b as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.DWVLVMDa.mjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.
|
|
3
|
+
import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.BuNG2S8h.js';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { C as ConfigEnvironmentBankAccount, I as IBankConnector, a as ConfigBankAccount, b as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.
|
|
7
|
+
import { C as ConfigEnvironmentBankAccount, I as IBankConnector, a as ConfigBankAccount, b as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.BkLncGmL.js';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.CNpjRxvL.mjs';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { drizzle } from 'drizzle-orm/d1';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
7
|
-
import { C as CONNECTOR_KEYS } from '../shared/bank.
|
|
7
|
+
import { C as CONNECTOR_KEYS } from '../shared/bank.C9jAvwna.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import { eq, and, inArray, desc, sql } from 'drizzle-orm';
|
|
10
10
|
import superjson from 'superjson';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Environment } from '@develit-io/backend-sdk';
|
|
2
2
|
import { BANK_CODES, CURRENCY_CODES, CODES } from '@develit-io/general-codes';
|
|
3
|
-
import { a as PaymentInsertType, t as tables } from './bank.
|
|
3
|
+
import { a as PaymentInsertType, t as tables } from './bank.BuNG2S8h.js';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
|
|
6
6
|
declare const PAYMENT_TYPES: readonly ["SEPA", "SWIFT", "IFSC", "DOMESTIC"];
|
|
@@ -771,12 +771,12 @@ declare const paymentRelations: drizzle_orm.Relations<"payment", {
|
|
|
771
771
|
}>;
|
|
772
772
|
|
|
773
773
|
declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
774
|
-
name: "
|
|
774
|
+
name: "ott";
|
|
775
775
|
schema: undefined;
|
|
776
776
|
columns: {
|
|
777
777
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
778
778
|
name: "one_time_token";
|
|
779
|
-
tableName: "
|
|
779
|
+
tableName: "ott";
|
|
780
780
|
dataType: "string";
|
|
781
781
|
columnType: "SQLiteText";
|
|
782
782
|
data: string;
|
|
@@ -795,7 +795,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
795
795
|
}>;
|
|
796
796
|
tokenType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
797
797
|
name: "token_type";
|
|
798
|
-
tableName: "
|
|
798
|
+
tableName: "ott";
|
|
799
799
|
dataType: "string";
|
|
800
800
|
columnType: "SQLiteText";
|
|
801
801
|
data: "ACCOUNT_AUTHORIZATION";
|
|
@@ -815,7 +815,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
815
815
|
}>;
|
|
816
816
|
connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
817
817
|
name: "connector_key";
|
|
818
|
-
tableName: "
|
|
818
|
+
tableName: "ott";
|
|
819
819
|
dataType: "string";
|
|
820
820
|
columnType: "SQLiteText";
|
|
821
821
|
data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
|
|
@@ -835,7 +835,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
835
835
|
}>;
|
|
836
836
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
837
837
|
name: "account_id";
|
|
838
|
-
tableName: "
|
|
838
|
+
tableName: "ott";
|
|
839
839
|
dataType: "string";
|
|
840
840
|
columnType: "SQLiteText";
|
|
841
841
|
data: string;
|
|
@@ -854,7 +854,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
854
854
|
}>;
|
|
855
855
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
856
856
|
name: "expires_at";
|
|
857
|
-
tableName: "
|
|
857
|
+
tableName: "ott";
|
|
858
858
|
dataType: "date";
|
|
859
859
|
columnType: "SQLiteTimestamp";
|
|
860
860
|
data: Date;
|
|
@@ -871,7 +871,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
871
871
|
}, {}, {}>;
|
|
872
872
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
873
873
|
name: "id";
|
|
874
|
-
tableName: "
|
|
874
|
+
tableName: "ott";
|
|
875
875
|
dataType: "string";
|
|
876
876
|
columnType: "SQLiteText";
|
|
877
877
|
data: string;
|
|
@@ -890,7 +890,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
890
890
|
}>;
|
|
891
891
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
892
892
|
name: "created_at";
|
|
893
|
-
tableName: "
|
|
893
|
+
tableName: "ott";
|
|
894
894
|
dataType: "date";
|
|
895
895
|
columnType: "SQLiteTimestamp";
|
|
896
896
|
data: Date;
|
|
@@ -907,7 +907,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
907
907
|
}, {}, {}>;
|
|
908
908
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
909
909
|
name: "updated_at";
|
|
910
|
-
tableName: "
|
|
910
|
+
tableName: "ott";
|
|
911
911
|
dataType: "date";
|
|
912
912
|
columnType: "SQLiteTimestamp";
|
|
913
913
|
data: Date;
|
|
@@ -924,7 +924,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
924
924
|
}, {}, {}>;
|
|
925
925
|
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
926
926
|
name: "deleted_at";
|
|
927
|
-
tableName: "
|
|
927
|
+
tableName: "ott";
|
|
928
928
|
dataType: "date";
|
|
929
929
|
columnType: "SQLiteTimestamp";
|
|
930
930
|
data: Date;
|
|
@@ -771,12 +771,12 @@ declare const paymentRelations: drizzle_orm.Relations<"payment", {
|
|
|
771
771
|
}>;
|
|
772
772
|
|
|
773
773
|
declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
774
|
-
name: "
|
|
774
|
+
name: "ott";
|
|
775
775
|
schema: undefined;
|
|
776
776
|
columns: {
|
|
777
777
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
778
778
|
name: "one_time_token";
|
|
779
|
-
tableName: "
|
|
779
|
+
tableName: "ott";
|
|
780
780
|
dataType: "string";
|
|
781
781
|
columnType: "SQLiteText";
|
|
782
782
|
data: string;
|
|
@@ -795,7 +795,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
795
795
|
}>;
|
|
796
796
|
tokenType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
797
797
|
name: "token_type";
|
|
798
|
-
tableName: "
|
|
798
|
+
tableName: "ott";
|
|
799
799
|
dataType: "string";
|
|
800
800
|
columnType: "SQLiteText";
|
|
801
801
|
data: "ACCOUNT_AUTHORIZATION";
|
|
@@ -815,7 +815,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
815
815
|
}>;
|
|
816
816
|
connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
817
817
|
name: "connector_key";
|
|
818
|
-
tableName: "
|
|
818
|
+
tableName: "ott";
|
|
819
819
|
dataType: "string";
|
|
820
820
|
columnType: "SQLiteText";
|
|
821
821
|
data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
|
|
@@ -835,7 +835,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
835
835
|
}>;
|
|
836
836
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
837
837
|
name: "account_id";
|
|
838
|
-
tableName: "
|
|
838
|
+
tableName: "ott";
|
|
839
839
|
dataType: "string";
|
|
840
840
|
columnType: "SQLiteText";
|
|
841
841
|
data: string;
|
|
@@ -854,7 +854,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
854
854
|
}>;
|
|
855
855
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
856
856
|
name: "expires_at";
|
|
857
|
-
tableName: "
|
|
857
|
+
tableName: "ott";
|
|
858
858
|
dataType: "date";
|
|
859
859
|
columnType: "SQLiteTimestamp";
|
|
860
860
|
data: Date;
|
|
@@ -871,7 +871,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
871
871
|
}, {}, {}>;
|
|
872
872
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
873
873
|
name: "id";
|
|
874
|
-
tableName: "
|
|
874
|
+
tableName: "ott";
|
|
875
875
|
dataType: "string";
|
|
876
876
|
columnType: "SQLiteText";
|
|
877
877
|
data: string;
|
|
@@ -890,7 +890,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
890
890
|
}>;
|
|
891
891
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
892
892
|
name: "created_at";
|
|
893
|
-
tableName: "
|
|
893
|
+
tableName: "ott";
|
|
894
894
|
dataType: "date";
|
|
895
895
|
columnType: "SQLiteTimestamp";
|
|
896
896
|
data: Date;
|
|
@@ -907,7 +907,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
907
907
|
}, {}, {}>;
|
|
908
908
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
909
909
|
name: "updated_at";
|
|
910
|
-
tableName: "
|
|
910
|
+
tableName: "ott";
|
|
911
911
|
dataType: "date";
|
|
912
912
|
columnType: "SQLiteTimestamp";
|
|
913
913
|
data: Date;
|
|
@@ -924,7 +924,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
924
924
|
}, {}, {}>;
|
|
925
925
|
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
926
926
|
name: "deleted_at";
|
|
927
|
-
tableName: "
|
|
927
|
+
tableName: "ott";
|
|
928
928
|
dataType: "date";
|
|
929
929
|
columnType: "SQLiteTimestamp";
|
|
930
930
|
data: Date;
|
|
@@ -771,12 +771,12 @@ declare const paymentRelations: drizzle_orm.Relations<"payment", {
|
|
|
771
771
|
}>;
|
|
772
772
|
|
|
773
773
|
declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
774
|
-
name: "
|
|
774
|
+
name: "ott";
|
|
775
775
|
schema: undefined;
|
|
776
776
|
columns: {
|
|
777
777
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
778
778
|
name: "one_time_token";
|
|
779
|
-
tableName: "
|
|
779
|
+
tableName: "ott";
|
|
780
780
|
dataType: "string";
|
|
781
781
|
columnType: "SQLiteText";
|
|
782
782
|
data: string;
|
|
@@ -795,7 +795,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
795
795
|
}>;
|
|
796
796
|
tokenType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
797
797
|
name: "token_type";
|
|
798
|
-
tableName: "
|
|
798
|
+
tableName: "ott";
|
|
799
799
|
dataType: "string";
|
|
800
800
|
columnType: "SQLiteText";
|
|
801
801
|
data: "ACCOUNT_AUTHORIZATION";
|
|
@@ -815,7 +815,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
815
815
|
}>;
|
|
816
816
|
connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
817
817
|
name: "connector_key";
|
|
818
|
-
tableName: "
|
|
818
|
+
tableName: "ott";
|
|
819
819
|
dataType: "string";
|
|
820
820
|
columnType: "SQLiteText";
|
|
821
821
|
data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
|
|
@@ -835,7 +835,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
835
835
|
}>;
|
|
836
836
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
837
837
|
name: "account_id";
|
|
838
|
-
tableName: "
|
|
838
|
+
tableName: "ott";
|
|
839
839
|
dataType: "string";
|
|
840
840
|
columnType: "SQLiteText";
|
|
841
841
|
data: string;
|
|
@@ -854,7 +854,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
854
854
|
}>;
|
|
855
855
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
856
856
|
name: "expires_at";
|
|
857
|
-
tableName: "
|
|
857
|
+
tableName: "ott";
|
|
858
858
|
dataType: "date";
|
|
859
859
|
columnType: "SQLiteTimestamp";
|
|
860
860
|
data: Date;
|
|
@@ -871,7 +871,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
871
871
|
}, {}, {}>;
|
|
872
872
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
873
873
|
name: "id";
|
|
874
|
-
tableName: "
|
|
874
|
+
tableName: "ott";
|
|
875
875
|
dataType: "string";
|
|
876
876
|
columnType: "SQLiteText";
|
|
877
877
|
data: string;
|
|
@@ -890,7 +890,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
890
890
|
}>;
|
|
891
891
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
892
892
|
name: "created_at";
|
|
893
|
-
tableName: "
|
|
893
|
+
tableName: "ott";
|
|
894
894
|
dataType: "date";
|
|
895
895
|
columnType: "SQLiteTimestamp";
|
|
896
896
|
data: Date;
|
|
@@ -907,7 +907,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
907
907
|
}, {}, {}>;
|
|
908
908
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
909
909
|
name: "updated_at";
|
|
910
|
-
tableName: "
|
|
910
|
+
tableName: "ott";
|
|
911
911
|
dataType: "date";
|
|
912
912
|
columnType: "SQLiteTimestamp";
|
|
913
913
|
data: Date;
|
|
@@ -924,7 +924,7 @@ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
924
924
|
}, {}, {}>;
|
|
925
925
|
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
926
926
|
name: "deleted_at";
|
|
927
|
-
tableName: "
|
|
927
|
+
tableName: "ott";
|
|
928
928
|
dataType: "date";
|
|
929
929
|
columnType: "SQLiteTimestamp";
|
|
930
930
|
data: Date;
|
|
@@ -68,7 +68,7 @@ const CONNECTOR_KEYS = [
|
|
|
68
68
|
];
|
|
69
69
|
const TOKEN_TYPES = ["ACCOUNT_AUTHORIZATION"];
|
|
70
70
|
|
|
71
|
-
const ott = sqliteTable("
|
|
71
|
+
const ott = sqliteTable("ott", {
|
|
72
72
|
...base,
|
|
73
73
|
oneTimeToken: text("one_time_token").notNull(),
|
|
74
74
|
tokenType: text("token_type", { enum: TOKEN_TYPES }).$type().notNull(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { uuidv4, useResult, createInternalError } from '@develit-io/backend-sdk';
|
|
2
|
-
import { s as schema, C as CONNECTOR_KEYS } from './bank.
|
|
2
|
+
import { s as schema, C as CONNECTOR_KEYS } from './bank.C9jAvwna.mjs';
|
|
3
3
|
import { and, eq } from 'drizzle-orm';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { COUNTRY_CODES_2, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
-
const database_schema = require('./bank.
|
|
4
|
+
const database_schema = require('./bank.P9gDUycr.cjs');
|
|
5
5
|
const drizzleOrm = require('drizzle-orm');
|
|
6
6
|
const zod = require('zod');
|
|
7
7
|
const generalCodes = require('@develit-io/general-codes');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Environment } from '@develit-io/backend-sdk';
|
|
2
2
|
import { BANK_CODES, CURRENCY_CODES, CODES } from '@develit-io/general-codes';
|
|
3
|
-
import { a as PaymentInsertType, t as tables } from './bank.
|
|
3
|
+
import { a as PaymentInsertType, t as tables } from './bank.BuNG2S8h.mjs';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
|
|
6
6
|
declare const PAYMENT_TYPES: readonly ["SEPA", "SWIFT", "IFSC", "DOMESTIC"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Environment } from '@develit-io/backend-sdk';
|
|
2
2
|
import { BANK_CODES, CURRENCY_CODES, CODES } from '@develit-io/general-codes';
|
|
3
|
-
import { a as PaymentInsertType, t as tables } from './bank.
|
|
3
|
+
import { a as PaymentInsertType, t as tables } from './bank.BuNG2S8h.cjs';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
|
|
6
6
|
declare const PAYMENT_TYPES: readonly ["SEPA", "SWIFT", "IFSC", "DOMESTIC"];
|
|
@@ -70,7 +70,7 @@ const CONNECTOR_KEYS = [
|
|
|
70
70
|
];
|
|
71
71
|
const TOKEN_TYPES = ["ACCOUNT_AUTHORIZATION"];
|
|
72
72
|
|
|
73
|
-
const ott = sqliteCore.sqliteTable("
|
|
73
|
+
const ott = sqliteCore.sqliteTable("ott", {
|
|
74
74
|
...backendSdk.base,
|
|
75
75
|
oneTimeToken: sqliteCore.text("one_time_token").notNull(),
|
|
76
76
|
tokenType: sqliteCore.text("token_type", { enum: TOKEN_TYPES }).$type().notNull(),
|
package/dist/types.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const db = require('./shared/bank.
|
|
4
|
-
const database_schema = require('./shared/bank.
|
|
3
|
+
const db = require('./shared/bank.DQn99N-C.cjs');
|
|
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');
|
|
7
7
|
require('drizzle-orm');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as CurrencyCode, d as BankCode, e as CountryCode, I as IBankConnector, b as ConnectorKey, A as AuthInput, f as IncomingPaymentMessage, P as PaymentPreparedInsertType, g as InitiatedBatch, h as InitiatedPayment, a as ConfigBankAccount, S as SyncLog, i as PaymentStatus, j as BatchStatus, k as BatchMetadata, l as Currency } from './shared/bank.
|
|
2
|
-
export { n as BATCH_STATUES, n as BATCH_STATUSES, B as BankAccountWithLastSync, v as CONNECTOR_KEYS, u as COUNTRY_CODES, C as ConfigEnvironmentBankAccount, O as OutgoingPaymentMessage, s as PAYMENT_DIRECTIONS, r as PAYMENT_STATUSES, o as PAYMENT_TYPES, t as PaymentDirection, m as PaymentFailedInsertType, q as PaymentType, T as TOKEN_TYPES, w as TokenType, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { t as tables, a as PaymentInsertType, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { c as CurrencyCode, d as BankCode, e as CountryCode, I as IBankConnector, b as ConnectorKey, A as AuthInput, f as IncomingPaymentMessage, P as PaymentPreparedInsertType, g as InitiatedBatch, h as InitiatedPayment, a as ConfigBankAccount, S as SyncLog, i as PaymentStatus, j as BatchStatus, k as BatchMetadata, l as Currency } from './shared/bank.DmypH3Au.cjs';
|
|
2
|
+
export { n as BATCH_STATUES, n as BATCH_STATUSES, B as BankAccountWithLastSync, v as CONNECTOR_KEYS, u as COUNTRY_CODES, C as ConfigEnvironmentBankAccount, O as OutgoingPaymentMessage, s as PAYMENT_DIRECTIONS, r as PAYMENT_STATUSES, o as PAYMENT_TYPES, t as PaymentDirection, m as PaymentFailedInsertType, q as PaymentType, T as TOKEN_TYPES, w as TokenType, p as paymentInitializedInsertType } from './shared/bank.DmypH3Au.cjs';
|
|
3
|
+
import { t as tables, a as PaymentInsertType, P as PaymentSelectType } from './shared/bank.BuNG2S8h.cjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.BuNG2S8h.cjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CJFy17-g.cjs';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as CurrencyCode, d as BankCode, e as CountryCode, I as IBankConnector, b as ConnectorKey, A as AuthInput, f as IncomingPaymentMessage, P as PaymentPreparedInsertType, g as InitiatedBatch, h as InitiatedPayment, a as ConfigBankAccount, S as SyncLog, i as PaymentStatus, j as BatchStatus, k as BatchMetadata, l as Currency } from './shared/bank.
|
|
2
|
-
export { n as BATCH_STATUES, n as BATCH_STATUSES, B as BankAccountWithLastSync, v as CONNECTOR_KEYS, u as COUNTRY_CODES, C as ConfigEnvironmentBankAccount, O as OutgoingPaymentMessage, s as PAYMENT_DIRECTIONS, r as PAYMENT_STATUSES, o as PAYMENT_TYPES, t as PaymentDirection, m as PaymentFailedInsertType, q as PaymentType, T as TOKEN_TYPES, w as TokenType, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { t as tables, a as PaymentInsertType, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { c as CurrencyCode, d as BankCode, e as CountryCode, I as IBankConnector, b as ConnectorKey, A as AuthInput, f as IncomingPaymentMessage, P as PaymentPreparedInsertType, g as InitiatedBatch, h as InitiatedPayment, a as ConfigBankAccount, S as SyncLog, i as PaymentStatus, j as BatchStatus, k as BatchMetadata, l as Currency } from './shared/bank.DWVLVMDa.mjs';
|
|
2
|
+
export { n as BATCH_STATUES, n as BATCH_STATUSES, B as BankAccountWithLastSync, v as CONNECTOR_KEYS, u as COUNTRY_CODES, C as ConfigEnvironmentBankAccount, O as OutgoingPaymentMessage, s as PAYMENT_DIRECTIONS, r as PAYMENT_STATUSES, o as PAYMENT_TYPES, t as PaymentDirection, m as PaymentFailedInsertType, q as PaymentType, T as TOKEN_TYPES, w as TokenType, p as paymentInitializedInsertType } from './shared/bank.DWVLVMDa.mjs';
|
|
3
|
+
import { t as tables, a as PaymentInsertType, P as PaymentSelectType } from './shared/bank.BuNG2S8h.mjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.BuNG2S8h.mjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CJFy17-g.mjs';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as CurrencyCode, d as BankCode, e as CountryCode, I as IBankConnector, b as ConnectorKey, A as AuthInput, f as IncomingPaymentMessage, P as PaymentPreparedInsertType, g as InitiatedBatch, h as InitiatedPayment, a as ConfigBankAccount, S as SyncLog, i as PaymentStatus, j as BatchStatus, k as BatchMetadata, l as Currency } from './shared/bank.
|
|
2
|
-
export { n as BATCH_STATUES, n as BATCH_STATUSES, B as BankAccountWithLastSync, v as CONNECTOR_KEYS, u as COUNTRY_CODES, C as ConfigEnvironmentBankAccount, O as OutgoingPaymentMessage, s as PAYMENT_DIRECTIONS, r as PAYMENT_STATUSES, o as PAYMENT_TYPES, t as PaymentDirection, m as PaymentFailedInsertType, q as PaymentType, T as TOKEN_TYPES, w as TokenType, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { t as tables, a as PaymentInsertType, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { c as CurrencyCode, d as BankCode, e as CountryCode, I as IBankConnector, b as ConnectorKey, A as AuthInput, f as IncomingPaymentMessage, P as PaymentPreparedInsertType, g as InitiatedBatch, h as InitiatedPayment, a as ConfigBankAccount, S as SyncLog, i as PaymentStatus, j as BatchStatus, k as BatchMetadata, l as Currency } from './shared/bank.BkLncGmL.js';
|
|
2
|
+
export { n as BATCH_STATUES, n as BATCH_STATUSES, B as BankAccountWithLastSync, v as CONNECTOR_KEYS, u as COUNTRY_CODES, C as ConfigEnvironmentBankAccount, O as OutgoingPaymentMessage, s as PAYMENT_DIRECTIONS, r as PAYMENT_STATUSES, o as PAYMENT_TYPES, t as PaymentDirection, m as PaymentFailedInsertType, q as PaymentType, T as TOKEN_TYPES, w as TokenType, p as paymentInitializedInsertType } from './shared/bank.BkLncGmL.js';
|
|
3
|
+
import { t as tables, a as PaymentInsertType, P as PaymentSelectType } from './shared/bank.BuNG2S8h.js';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.BuNG2S8h.js';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CJFy17-g.js';
|
package/dist/types.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.
|
|
2
|
-
export { C as CONNECTOR_KEYS, T as TOKEN_TYPES } 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.CNpjRxvL.mjs';
|
|
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';
|
|
5
5
|
import 'drizzle-orm';
|