@develit-services/bank 0.3.49 → 0.3.50
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 +3 -7
- package/dist/export/worker.d.cts +8 -10
- package/dist/export/worker.d.mts +8 -10
- package/dist/export/worker.d.ts +8 -10
- package/dist/export/worker.mjs +3 -7
- package/dist/shared/{bank.CF4oNDZH.d.cts → bank.CG0gMBFx.d.cts} +4 -4
- package/dist/shared/{bank.CF4oNDZH.d.mts → bank.CG0gMBFx.d.mts} +4 -4
- package/dist/shared/{bank.CF4oNDZH.d.ts → bank.CG0gMBFx.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.CG0gMBFx.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.CG0gMBFx.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.CG0gMBFx.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -407,10 +407,8 @@ const updateAccountInputSchema = zod.z.object({
|
|
|
407
407
|
});
|
|
408
408
|
|
|
409
409
|
const getBankAccountsInputSchema = zod.z.object({
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
batchCounts: zod.z.boolean().optional()
|
|
413
|
-
}).optional()
|
|
410
|
+
includeWorkflow: zod.z.boolean().optional(),
|
|
411
|
+
includeBatchCounts: zod.z.boolean().optional()
|
|
414
412
|
});
|
|
415
413
|
|
|
416
414
|
const disconnectAccountInputSchema = zod.z.object({
|
|
@@ -1013,10 +1011,8 @@ let BankServiceBase = class extends backendSdk.develitWorker(cloudflare_workers.
|
|
|
1013
1011
|
return this.handleAction(
|
|
1014
1012
|
{ data: input, schema: getBankAccountsInputSchema },
|
|
1015
1013
|
{ successMessage: "Bank accounts retrieved successfully" },
|
|
1016
|
-
async ({
|
|
1014
|
+
async ({ includeWorkflow, includeBatchCounts }) => {
|
|
1017
1015
|
const accounts = await this._getAccounts();
|
|
1018
|
-
const includeWorkflow = includes?.workflow ?? true;
|
|
1019
|
-
const includeBatchCounts = includes?.batchCounts ?? false;
|
|
1020
1016
|
const accountsWithOptionalFields = await Promise.all(
|
|
1021
1017
|
accounts.map(async (a) => {
|
|
1022
1018
|
const result = {
|
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.CG0gMBFx.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";
|
|
1534
1535
|
OPEN: "OPEN";
|
|
1535
1536
|
PROCESSING: "PROCESSING";
|
|
1536
1537
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1537
1538
|
SIGNED: "SIGNED";
|
|
1538
1539
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1539
|
-
FAILED: "FAILED";
|
|
1540
1540
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1541
|
+
FAILED: "FAILED";
|
|
1541
1542
|
OPEN: "OPEN";
|
|
1542
1543
|
PROCESSING: "PROCESSING";
|
|
1543
1544
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1544
1545
|
SIGNED: "SIGNED";
|
|
1545
1546
|
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";
|
|
1792
1791
|
PREPARED: "PREPARED";
|
|
1793
1792
|
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";
|
|
1799
1798
|
PREPARED: "PREPARED";
|
|
1800
1799
|
INITIALIZED: "INITIALIZED";
|
|
1800
|
+
FAILED: "FAILED";
|
|
1801
1801
|
PENDING: "PENDING";
|
|
1802
1802
|
COMPLETED: "COMPLETED";
|
|
1803
1803
|
CREATED: "CREATED";
|
|
@@ -2395,10 +2395,8 @@ type UpdateAccountInput = z.infer<typeof updateAccountInputSchema>;
|
|
|
2395
2395
|
type UpdateAccountOutput = AccountSelectType;
|
|
2396
2396
|
|
|
2397
2397
|
declare const getBankAccountsInputSchema: z.ZodObject<{
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
batchCounts: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
-
}, z.core.$strip>>;
|
|
2398
|
+
includeWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
2399
|
+
includeBatchCounts: z.ZodOptional<z.ZodBoolean>;
|
|
2402
2400
|
}, z.core.$strip>;
|
|
2403
2401
|
type GetBankAccountsInput = z.infer<typeof getBankAccountsInputSchema>;
|
|
2404
2402
|
type WorkflowInfo = {
|
|
@@ -2512,7 +2510,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2510
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2511
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2512
|
}): Promise<IRPCResponse<{
|
|
2515
|
-
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" |
|
|
2513
|
+
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2516
2514
|
id: string;
|
|
2517
2515
|
createdAt: Date | null;
|
|
2518
2516
|
updatedAt: Date | 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.CG0gMBFx.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";
|
|
1534
1535
|
OPEN: "OPEN";
|
|
1535
1536
|
PROCESSING: "PROCESSING";
|
|
1536
1537
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1537
1538
|
SIGNED: "SIGNED";
|
|
1538
1539
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1539
|
-
FAILED: "FAILED";
|
|
1540
1540
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1541
|
+
FAILED: "FAILED";
|
|
1541
1542
|
OPEN: "OPEN";
|
|
1542
1543
|
PROCESSING: "PROCESSING";
|
|
1543
1544
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1544
1545
|
SIGNED: "SIGNED";
|
|
1545
1546
|
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";
|
|
1792
1791
|
PREPARED: "PREPARED";
|
|
1793
1792
|
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";
|
|
1799
1798
|
PREPARED: "PREPARED";
|
|
1800
1799
|
INITIALIZED: "INITIALIZED";
|
|
1800
|
+
FAILED: "FAILED";
|
|
1801
1801
|
PENDING: "PENDING";
|
|
1802
1802
|
COMPLETED: "COMPLETED";
|
|
1803
1803
|
CREATED: "CREATED";
|
|
@@ -2395,10 +2395,8 @@ type UpdateAccountInput = z.infer<typeof updateAccountInputSchema>;
|
|
|
2395
2395
|
type UpdateAccountOutput = AccountSelectType;
|
|
2396
2396
|
|
|
2397
2397
|
declare const getBankAccountsInputSchema: z.ZodObject<{
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
batchCounts: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
-
}, z.core.$strip>>;
|
|
2398
|
+
includeWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
2399
|
+
includeBatchCounts: z.ZodOptional<z.ZodBoolean>;
|
|
2402
2400
|
}, z.core.$strip>;
|
|
2403
2401
|
type GetBankAccountsInput = z.infer<typeof getBankAccountsInputSchema>;
|
|
2404
2402
|
type WorkflowInfo = {
|
|
@@ -2512,7 +2510,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2510
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2511
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2512
|
}): Promise<IRPCResponse<{
|
|
2515
|
-
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" |
|
|
2513
|
+
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2516
2514
|
id: string;
|
|
2517
2515
|
createdAt: Date | null;
|
|
2518
2516
|
updatedAt: Date | 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.CG0gMBFx.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";
|
|
1534
1535
|
OPEN: "OPEN";
|
|
1535
1536
|
PROCESSING: "PROCESSING";
|
|
1536
1537
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1537
1538
|
SIGNED: "SIGNED";
|
|
1538
1539
|
SIGNATURE_FAILED: "SIGNATURE_FAILED";
|
|
1539
|
-
FAILED: "FAILED";
|
|
1540
1540
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1541
|
+
FAILED: "FAILED";
|
|
1541
1542
|
OPEN: "OPEN";
|
|
1542
1543
|
PROCESSING: "PROCESSING";
|
|
1543
1544
|
READY_TO_SIGN: "READY_TO_SIGN";
|
|
1544
1545
|
SIGNED: "SIGNED";
|
|
1545
1546
|
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";
|
|
1792
1791
|
PREPARED: "PREPARED";
|
|
1793
1792
|
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";
|
|
1799
1798
|
PREPARED: "PREPARED";
|
|
1800
1799
|
INITIALIZED: "INITIALIZED";
|
|
1800
|
+
FAILED: "FAILED";
|
|
1801
1801
|
PENDING: "PENDING";
|
|
1802
1802
|
COMPLETED: "COMPLETED";
|
|
1803
1803
|
CREATED: "CREATED";
|
|
@@ -2395,10 +2395,8 @@ type UpdateAccountInput = z.infer<typeof updateAccountInputSchema>;
|
|
|
2395
2395
|
type UpdateAccountOutput = AccountSelectType;
|
|
2396
2396
|
|
|
2397
2397
|
declare const getBankAccountsInputSchema: z.ZodObject<{
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
batchCounts: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
-
}, z.core.$strip>>;
|
|
2398
|
+
includeWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
2399
|
+
includeBatchCounts: z.ZodOptional<z.ZodBoolean>;
|
|
2402
2400
|
}, z.core.$strip>;
|
|
2403
2401
|
type GetBankAccountsInput = z.infer<typeof getBankAccountsInputSchema>;
|
|
2404
2402
|
type WorkflowInfo = {
|
|
@@ -2512,7 +2510,7 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2512
2510
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2513
2511
|
paymentsToBatch: SendPaymentInput[];
|
|
2514
2512
|
}): Promise<IRPCResponse<{
|
|
2515
|
-
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" |
|
|
2513
|
+
status: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED" | null;
|
|
2516
2514
|
id: string;
|
|
2517
2515
|
createdAt: Date | null;
|
|
2518
2516
|
updatedAt: Date | null;
|
package/dist/export/worker.mjs
CHANGED
|
@@ -405,10 +405,8 @@ const updateAccountInputSchema = z.object({
|
|
|
405
405
|
});
|
|
406
406
|
|
|
407
407
|
const getBankAccountsInputSchema = z.object({
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
batchCounts: z.boolean().optional()
|
|
411
|
-
}).optional()
|
|
408
|
+
includeWorkflow: z.boolean().optional(),
|
|
409
|
+
includeBatchCounts: z.boolean().optional()
|
|
412
410
|
});
|
|
413
411
|
|
|
414
412
|
const disconnectAccountInputSchema = z.object({
|
|
@@ -1011,10 +1009,8 @@ let BankServiceBase = class extends develitWorker(WorkerEntrypoint) {
|
|
|
1011
1009
|
return this.handleAction(
|
|
1012
1010
|
{ data: input, schema: getBankAccountsInputSchema },
|
|
1013
1011
|
{ successMessage: "Bank accounts retrieved successfully" },
|
|
1014
|
-
async ({
|
|
1012
|
+
async ({ includeWorkflow, includeBatchCounts }) => {
|
|
1015
1013
|
const accounts = await this._getAccounts();
|
|
1016
|
-
const includeWorkflow = includes?.workflow ?? true;
|
|
1017
|
-
const includeBatchCounts = includes?.batchCounts ?? false;
|
|
1018
1014
|
const accountsWithOptionalFields = await Promise.all(
|
|
1019
1015
|
accounts.map(async (a) => {
|
|
1020
1016
|
const result = {
|
|
@@ -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: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
74
|
+
data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_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: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
87
|
+
$type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_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: "PREPARED" | "INITIALIZED" | "FAILED" | "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: "PREPARED" | "INITIALIZED" | "FAILED" | "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: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
74
|
+
data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_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: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
87
|
+
$type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_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: "PREPARED" | "INITIALIZED" | "FAILED" | "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: "PREPARED" | "INITIALIZED" | "FAILED" | "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: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
74
|
+
data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_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: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED"
|
|
87
|
+
$type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_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: "PREPARED" | "INITIALIZED" | "FAILED" | "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: "PREPARED" | "INITIALIZED" | "FAILED" | "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.CG0gMBFx.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.CG0gMBFx.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.CG0gMBFx.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.CG0gMBFx.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.CG0gMBFx.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.CG0gMBFx.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';
|