@develit-services/bank 0.3.48 → 0.3.49
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/export/worker.cjs +5 -1
- package/dist/export/worker.d.cts +10 -10
- package/dist/export/worker.d.mts +10 -10
- package/dist/export/worker.d.ts +10 -10
- package/dist/export/worker.mjs +5 -1
- package/dist/shared/{bank.CG0gMBFx.d.cts → bank.CF4oNDZH.d.cts} +4 -4
- package/dist/shared/{bank.CG0gMBFx.d.mts → bank.CF4oNDZH.d.mts} +4 -4
- package/dist/shared/{bank.CG0gMBFx.d.ts → bank.CF4oNDZH.d.ts} +4 -4
- package/dist/types.d.cts +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.CF4oNDZH.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.CF4oNDZH.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.
|
|
1
|
+
export { a9 as account, aa as accountCredentials, a5 as batch, a8 as ott, a6 as payment, a7 as paymentRelations } from '../shared/bank.CF4oNDZH.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -1019,7 +1019,11 @@ let BankServiceBase = class extends backendSdk.develitWorker(cloudflare_workers.
|
|
|
1019
1019
|
const includeBatchCounts = includes?.batchCounts ?? false;
|
|
1020
1020
|
const accountsWithOptionalFields = await Promise.all(
|
|
1021
1021
|
accounts.map(async (a) => {
|
|
1022
|
-
const result = {
|
|
1022
|
+
const result = {
|
|
1023
|
+
...a,
|
|
1024
|
+
workflow: null,
|
|
1025
|
+
batches: null
|
|
1026
|
+
};
|
|
1023
1027
|
if (includeWorkflow) {
|
|
1024
1028
|
let status;
|
|
1025
1029
|
try {
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.CF4oNDZH.cjs';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
@@ -1531,19 +1531,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1531
1531
|
}, z.core.$strip>;
|
|
1532
1532
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1533
1533
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1534
|
-
FAILED: "FAILED";
|
|
1535
1534
|
OPEN: "OPEN";
|
|
1536
1535
|
PROCESSING: "PROCESSING";
|
|
1537
1536
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1538
1537
|
SIGNED: "SIGNED";
|
|
1539
1538
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1540
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1541
1539
|
FAILED: "FAILED";
|
|
1540
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1542
1541
|
OPEN: "OPEN";
|
|
1543
1542
|
PROCESSING: "PROCESSING";
|
|
1544
1543
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1545
1544
|
SIGNED: "SIGNED";
|
|
1546
1545
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1546
|
+
FAILED: "FAILED";
|
|
1547
1547
|
}>>]>>;
|
|
1548
1548
|
}, z.core.$strip>;
|
|
1549
1549
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1788,16 +1788,16 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1788
1788
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1789
1789
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1790
1790
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1791
|
+
FAILED: "FAILED";
|
|
1791
1792
|
PREPARED: "PREPARED";
|
|
1792
1793
|
INITIALIZED: "INITIALIZED";
|
|
1793
|
-
FAILED: "FAILED";
|
|
1794
1794
|
PENDING: "PENDING";
|
|
1795
1795
|
COMPLETED: "COMPLETED";
|
|
1796
1796
|
CREATED: "CREATED";
|
|
1797
1797
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1798
|
+
FAILED: "FAILED";
|
|
1798
1799
|
PREPARED: "PREPARED";
|
|
1799
1800
|
INITIALIZED: "INITIALIZED";
|
|
1800
|
-
FAILED: "FAILED";
|
|
1801
1801
|
PENDING: "PENDING";
|
|
1802
1802
|
COMPLETED: "COMPLETED";
|
|
1803
1803
|
CREATED: "CREATED";
|
|
@@ -2410,10 +2410,10 @@ type BatchCounts = {
|
|
|
2410
2410
|
openCount: number;
|
|
2411
2411
|
readyToSignCount: number;
|
|
2412
2412
|
failedCount: number;
|
|
2413
|
-
};
|
|
2413
|
+
} | null;
|
|
2414
2414
|
type AccountWithOptionalFields = AccountSelectType & {
|
|
2415
|
-
workflow
|
|
2416
|
-
batches
|
|
2415
|
+
workflow: WorkflowInfo;
|
|
2416
|
+
batches: BatchCounts;
|
|
2417
2417
|
};
|
|
2418
2418
|
type GetBankAccountsOutput = {
|
|
2419
2419
|
accounts: AccountWithOptionalFields[];
|
|
@@ -2512,14 +2512,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2512
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2513
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2514
|
}): Promise<IRPCResponse<{
|
|
2515
|
+
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED" | null;
|
|
2515
2516
|
id: string;
|
|
2516
2517
|
createdAt: Date | null;
|
|
2517
2518
|
updatedAt: Date | null;
|
|
2518
2519
|
deletedAt: Date | null;
|
|
2520
|
+
accountId: string | null;
|
|
2519
2521
|
batchPaymentInitiatedAt: Date | null;
|
|
2520
2522
|
authorizationUrls: string[] | null;
|
|
2521
|
-
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2522
|
-
accountId: string | null;
|
|
2523
2523
|
statusReason: string | null;
|
|
2524
2524
|
payments: PaymentInsertType[];
|
|
2525
2525
|
metadata: BatchMetadata | null;
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.CF4oNDZH.mjs';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
@@ -1531,19 +1531,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1531
1531
|
}, z.core.$strip>;
|
|
1532
1532
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1533
1533
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1534
|
-
FAILED: "FAILED";
|
|
1535
1534
|
OPEN: "OPEN";
|
|
1536
1535
|
PROCESSING: "PROCESSING";
|
|
1537
1536
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1538
1537
|
SIGNED: "SIGNED";
|
|
1539
1538
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1540
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1541
1539
|
FAILED: "FAILED";
|
|
1540
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1542
1541
|
OPEN: "OPEN";
|
|
1543
1542
|
PROCESSING: "PROCESSING";
|
|
1544
1543
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1545
1544
|
SIGNED: "SIGNED";
|
|
1546
1545
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1546
|
+
FAILED: "FAILED";
|
|
1547
1547
|
}>>]>>;
|
|
1548
1548
|
}, z.core.$strip>;
|
|
1549
1549
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1788,16 +1788,16 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1788
1788
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1789
1789
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1790
1790
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1791
|
+
FAILED: "FAILED";
|
|
1791
1792
|
PREPARED: "PREPARED";
|
|
1792
1793
|
INITIALIZED: "INITIALIZED";
|
|
1793
|
-
FAILED: "FAILED";
|
|
1794
1794
|
PENDING: "PENDING";
|
|
1795
1795
|
COMPLETED: "COMPLETED";
|
|
1796
1796
|
CREATED: "CREATED";
|
|
1797
1797
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1798
|
+
FAILED: "FAILED";
|
|
1798
1799
|
PREPARED: "PREPARED";
|
|
1799
1800
|
INITIALIZED: "INITIALIZED";
|
|
1800
|
-
FAILED: "FAILED";
|
|
1801
1801
|
PENDING: "PENDING";
|
|
1802
1802
|
COMPLETED: "COMPLETED";
|
|
1803
1803
|
CREATED: "CREATED";
|
|
@@ -2410,10 +2410,10 @@ type BatchCounts = {
|
|
|
2410
2410
|
openCount: number;
|
|
2411
2411
|
readyToSignCount: number;
|
|
2412
2412
|
failedCount: number;
|
|
2413
|
-
};
|
|
2413
|
+
} | null;
|
|
2414
2414
|
type AccountWithOptionalFields = AccountSelectType & {
|
|
2415
|
-
workflow
|
|
2416
|
-
batches
|
|
2415
|
+
workflow: WorkflowInfo;
|
|
2416
|
+
batches: BatchCounts;
|
|
2417
2417
|
};
|
|
2418
2418
|
type GetBankAccountsOutput = {
|
|
2419
2419
|
accounts: AccountWithOptionalFields[];
|
|
@@ -2512,14 +2512,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2512
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2513
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2514
|
}): Promise<IRPCResponse<{
|
|
2515
|
+
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED" | null;
|
|
2515
2516
|
id: string;
|
|
2516
2517
|
createdAt: Date | null;
|
|
2517
2518
|
updatedAt: Date | null;
|
|
2518
2519
|
deletedAt: Date | null;
|
|
2520
|
+
accountId: string | null;
|
|
2519
2521
|
batchPaymentInitiatedAt: Date | null;
|
|
2520
2522
|
authorizationUrls: string[] | null;
|
|
2521
|
-
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2522
|
-
accountId: string | null;
|
|
2523
2523
|
statusReason: string | null;
|
|
2524
2524
|
payments: PaymentInsertType[];
|
|
2525
2525
|
metadata: BatchMetadata | null;
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.
|
|
1
|
+
import { A as AccountSelectType, P as PaymentSelectType, B as BatchSelectType, L as LastSyncMetadata, C as ConfigEnvironmentBank, t as tables, a as ConnectorKey, I as IBankConnector, b as PaymentInsertType, c as BatchMetadata } from '../shared/bank.CF4oNDZH.js';
|
|
2
2
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkflowInstanceStatus, IRPCResponse } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
@@ -1531,19 +1531,19 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1531
1531
|
}, z.core.$strip>;
|
|
1532
1532
|
filterBatchAccountId: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodArray<z.ZodUUID>]>>;
|
|
1533
1533
|
filterBatchStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1534
|
-
FAILED: "FAILED";
|
|
1535
1534
|
OPEN: "OPEN";
|
|
1536
1535
|
PROCESSING: "PROCESSING";
|
|
1537
1536
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1538
1537
|
SIGNED: "SIGNED";
|
|
1539
1538
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1540
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1541
1539
|
FAILED: "FAILED";
|
|
1540
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1542
1541
|
OPEN: "OPEN";
|
|
1543
1542
|
PROCESSING: "PROCESSING";
|
|
1544
1543
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1545
1544
|
SIGNED: "SIGNED";
|
|
1546
1545
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1546
|
+
FAILED: "FAILED";
|
|
1547
1547
|
}>>]>>;
|
|
1548
1548
|
}, z.core.$strip>;
|
|
1549
1549
|
type GetBatchesInput = z.input<typeof getBatchesInputSchema>;
|
|
@@ -1788,16 +1788,16 @@ declare const getPaymentsInputSchema: z.ZodObject<{
|
|
|
1788
1788
|
filterPaymentDateFrom: z.ZodOptional<z.ZodDate>;
|
|
1789
1789
|
filterPaymentDateTo: z.ZodOptional<z.ZodDate>;
|
|
1790
1790
|
filterPaymentStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1791
|
+
FAILED: "FAILED";
|
|
1791
1792
|
PREPARED: "PREPARED";
|
|
1792
1793
|
INITIALIZED: "INITIALIZED";
|
|
1793
|
-
FAILED: "FAILED";
|
|
1794
1794
|
PENDING: "PENDING";
|
|
1795
1795
|
COMPLETED: "COMPLETED";
|
|
1796
1796
|
CREATED: "CREATED";
|
|
1797
1797
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1798
|
+
FAILED: "FAILED";
|
|
1798
1799
|
PREPARED: "PREPARED";
|
|
1799
1800
|
INITIALIZED: "INITIALIZED";
|
|
1800
|
-
FAILED: "FAILED";
|
|
1801
1801
|
PENDING: "PENDING";
|
|
1802
1802
|
COMPLETED: "COMPLETED";
|
|
1803
1803
|
CREATED: "CREATED";
|
|
@@ -2410,10 +2410,10 @@ type BatchCounts = {
|
|
|
2410
2410
|
openCount: number;
|
|
2411
2411
|
readyToSignCount: number;
|
|
2412
2412
|
failedCount: number;
|
|
2413
|
-
};
|
|
2413
|
+
} | null;
|
|
2414
2414
|
type AccountWithOptionalFields = AccountSelectType & {
|
|
2415
|
-
workflow
|
|
2416
|
-
batches
|
|
2415
|
+
workflow: WorkflowInfo;
|
|
2416
|
+
batches: BatchCounts;
|
|
2417
2417
|
};
|
|
2418
2418
|
type GetBankAccountsOutput = {
|
|
2419
2419
|
accounts: AccountWithOptionalFields[];
|
|
@@ -2512,14 +2512,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2512
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2513
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2514
|
}): Promise<IRPCResponse<{
|
|
2515
|
+
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED" | null;
|
|
2515
2516
|
id: string;
|
|
2516
2517
|
createdAt: Date | null;
|
|
2517
2518
|
updatedAt: Date | null;
|
|
2518
2519
|
deletedAt: Date | null;
|
|
2520
|
+
accountId: string | null;
|
|
2519
2521
|
batchPaymentInitiatedAt: Date | null;
|
|
2520
2522
|
authorizationUrls: string[] | null;
|
|
2521
|
-
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2522
|
-
accountId: string | null;
|
|
2523
2523
|
statusReason: string | null;
|
|
2524
2524
|
payments: PaymentInsertType[];
|
|
2525
2525
|
metadata: BatchMetadata | null;
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1017,7 +1017,11 @@ let BankServiceBase = class extends develitWorker(WorkerEntrypoint) {
|
|
|
1017
1017
|
const includeBatchCounts = includes?.batchCounts ?? false;
|
|
1018
1018
|
const accountsWithOptionalFields = await Promise.all(
|
|
1019
1019
|
accounts.map(async (a) => {
|
|
1020
|
-
const result = {
|
|
1020
|
+
const result = {
|
|
1021
|
+
...a,
|
|
1022
|
+
workflow: null,
|
|
1023
|
+
batches: null
|
|
1024
|
+
};
|
|
1021
1025
|
if (includeWorkflow) {
|
|
1022
1026
|
let status;
|
|
1023
1027
|
try {
|
|
@@ -71,7 +71,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
71
71
|
tableName: "batch";
|
|
72
72
|
dataType: "string";
|
|
73
73
|
columnType: "SQLiteText";
|
|
74
|
-
data: "
|
|
74
|
+
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
75
75
|
driverParam: string;
|
|
76
76
|
notNull: false;
|
|
77
77
|
hasDefault: false;
|
|
@@ -84,7 +84,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
84
84
|
generated: undefined;
|
|
85
85
|
}, {}, {
|
|
86
86
|
length: number | undefined;
|
|
87
|
-
$type: "
|
|
87
|
+
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
88
88
|
}>;
|
|
89
89
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
90
90
|
name: "status_reason";
|
|
@@ -418,7 +418,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
418
418
|
tableName: "payment";
|
|
419
419
|
dataType: "string";
|
|
420
420
|
columnType: "SQLiteText";
|
|
421
|
-
data: "
|
|
421
|
+
data: "FAILED" | "PREPARED" | "INITIALIZED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
422
422
|
driverParam: string;
|
|
423
423
|
notNull: true;
|
|
424
424
|
hasDefault: false;
|
|
@@ -431,7 +431,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
431
431
|
generated: undefined;
|
|
432
432
|
}, {}, {
|
|
433
433
|
length: number | undefined;
|
|
434
|
-
$type: "
|
|
434
|
+
$type: "FAILED" | "PREPARED" | "INITIALIZED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
435
435
|
}>;
|
|
436
436
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
437
437
|
name: "status_reason";
|
|
@@ -71,7 +71,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
71
71
|
tableName: "batch";
|
|
72
72
|
dataType: "string";
|
|
73
73
|
columnType: "SQLiteText";
|
|
74
|
-
data: "
|
|
74
|
+
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
75
75
|
driverParam: string;
|
|
76
76
|
notNull: false;
|
|
77
77
|
hasDefault: false;
|
|
@@ -84,7 +84,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
84
84
|
generated: undefined;
|
|
85
85
|
}, {}, {
|
|
86
86
|
length: number | undefined;
|
|
87
|
-
$type: "
|
|
87
|
+
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
88
88
|
}>;
|
|
89
89
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
90
90
|
name: "status_reason";
|
|
@@ -418,7 +418,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
418
418
|
tableName: "payment";
|
|
419
419
|
dataType: "string";
|
|
420
420
|
columnType: "SQLiteText";
|
|
421
|
-
data: "
|
|
421
|
+
data: "FAILED" | "PREPARED" | "INITIALIZED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
422
422
|
driverParam: string;
|
|
423
423
|
notNull: true;
|
|
424
424
|
hasDefault: false;
|
|
@@ -431,7 +431,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
431
431
|
generated: undefined;
|
|
432
432
|
}, {}, {
|
|
433
433
|
length: number | undefined;
|
|
434
|
-
$type: "
|
|
434
|
+
$type: "FAILED" | "PREPARED" | "INITIALIZED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
435
435
|
}>;
|
|
436
436
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
437
437
|
name: "status_reason";
|
|
@@ -71,7 +71,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
71
71
|
tableName: "batch";
|
|
72
72
|
dataType: "string";
|
|
73
73
|
columnType: "SQLiteText";
|
|
74
|
-
data: "
|
|
74
|
+
data: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
75
75
|
driverParam: string;
|
|
76
76
|
notNull: false;
|
|
77
77
|
hasDefault: false;
|
|
@@ -84,7 +84,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
84
84
|
generated: undefined;
|
|
85
85
|
}, {}, {
|
|
86
86
|
length: number | undefined;
|
|
87
|
-
$type: "
|
|
87
|
+
$type: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | "FAILED";
|
|
88
88
|
}>;
|
|
89
89
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
90
90
|
name: "status_reason";
|
|
@@ -418,7 +418,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
418
418
|
tableName: "payment";
|
|
419
419
|
dataType: "string";
|
|
420
420
|
columnType: "SQLiteText";
|
|
421
|
-
data: "
|
|
421
|
+
data: "FAILED" | "PREPARED" | "INITIALIZED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
422
422
|
driverParam: string;
|
|
423
423
|
notNull: true;
|
|
424
424
|
hasDefault: false;
|
|
@@ -431,7 +431,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
431
431
|
generated: undefined;
|
|
432
432
|
}, {}, {
|
|
433
433
|
length: number | undefined;
|
|
434
|
-
$type: "
|
|
434
|
+
$type: "FAILED" | "PREPARED" | "INITIALIZED" | "PENDING" | "COMPLETED" | "CREATED";
|
|
435
435
|
}>;
|
|
436
436
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
437
437
|
name: "status_reason";
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.CF4oNDZH.cjs';
|
|
2
|
+
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.CF4oNDZH.cjs';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.Dh_H_5rC.cjs';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.CF4oNDZH.mjs';
|
|
2
|
+
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.CF4oNDZH.mjs';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.Dh_H_5rC.mjs';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.
|
|
2
|
-
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, d as IncomingPaymentMessage, e as InitiatedPayment, a as ConnectorKey, f as ConnectedAccount, g as AccountCredentialsInsertType, h as AccountInsertType, i as PaymentPreparedInsertType, j as InitiatedBatch, c as BatchMetadata, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as CurrencyCode, o as BankCode, p as CountryCode, q as AuthInput, t as tables, r as Currency, P as PaymentSelectType } from './shared/bank.CF4oNDZH.js';
|
|
2
|
+
export { K as ACCOUNT_STATUSES, a3 as AccountCredentialsPatchType, a4 as AccountCredentialsSelectType, a2 as AccountCredentialsUpdateType, _ as AccountPatchType, M as AccountStatus, Z as AccountUpdateType, w as BATCH_STATUES, w as BATCH_STATUSES, Q as BankAccountWithLastSync, v as BatchInsertType, B as BatchSelectType, z as CHARGE_BEARERS, R as CONNECTOR_KEYS, N as COUNTRY_CODES, S as CREDENTIALS_TYPES, D as ChargeBearer, C as ConfigEnvironmentBank, T as CredentialsType, E as INSTRUCTION_PRIORITIES, F as InstructionPriority, L as LastSyncMetadata, O as OutgoingPaymentMessage, H as PAYMENT_DIRECTIONS, G as PAYMENT_STATUSES, x as PAYMENT_TYPES, J as PaymentDirection, s as PaymentFailedInsertType, u as PaymentInitializedInsertType, b as PaymentInsertType, y as PaymentType, U as TOKEN_TYPES, V as TokenType, $ as accountCredentialsInsertSchema, a1 as accountCredentialsSelectSchema, a0 as accountCredentialsUpdateSchema, W as accountInsertSchema, Y as accountSelectSchema, X as accountUpdateSchema } from './shared/bank.CF4oNDZH.js';
|
|
3
3
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.Dh_H_5rC.js';
|