@develit-services/bank 0.0.9 → 0.0.10
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/@types.d.cts +4 -4
- package/dist/@types.d.mts +4 -4
- package/dist/@types.d.ts +4 -4
- 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 +422 -422
- package/dist/export/worker.d.cts +6 -4
- package/dist/export/worker.d.mts +6 -4
- package/dist/export/worker.d.ts +6 -4
- package/dist/export/worker.mjs +422 -422
- package/dist/shared/{bank.BYxCT5rk.d.ts → bank.D1VhQbrS.d.ts} +1 -1
- package/dist/shared/{bank.BULPVep1.d.cts → bank.DrgcXMkG.d.cts} +1 -1
- package/dist/shared/{bank.CBNQZ5Pd.d.ts → bank.dxpKOn1t.d.cts} +6 -6
- package/dist/shared/{bank.CBNQZ5Pd.d.cts → bank.dxpKOn1t.d.mts} +6 -6
- package/dist/shared/{bank.CBNQZ5Pd.d.mts → bank.dxpKOn1t.d.ts} +6 -6
- package/dist/shared/{bank.Dxfp5h5B.d.mts → bank.yLyF54-_.d.mts} +1 -1
- package/package.json +1 -1
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.dxpKOn1t.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.DrgcXMkG.cjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
@@ -210,10 +210,10 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
210
210
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
211
211
|
paymentsToBatch: SendPaymentInput[];
|
|
212
212
|
}): Promise<IRPCResponse<{
|
|
213
|
+
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | null;
|
|
213
214
|
batchPaymentInitiatedAt: Date | null;
|
|
214
215
|
authorizationUrls: string | string[] | null;
|
|
215
216
|
accountId: string | null;
|
|
216
|
-
status: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
217
217
|
payments: PaymentInsertType[];
|
|
218
218
|
metadata: object | null;
|
|
219
219
|
id: string;
|
|
@@ -235,7 +235,9 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
235
235
|
getBankAccounts(): Promise<IRPCResponse<ConfigBankAccount[]>>;
|
|
236
236
|
getBatches(input: GetBatchesInput): Promise<IRPCResponse<GetBatchesOutput>>;
|
|
237
237
|
}
|
|
238
|
-
declare function defineBankService(
|
|
238
|
+
declare function defineBankService({ configAccounts, }: {
|
|
239
|
+
configAccounts: ConfigEnvironmentBankAccount;
|
|
240
|
+
}): new (ctx: ExecutionContext, env: BankEnv) => BankServiceBase;
|
|
239
241
|
|
|
240
242
|
declare const _default: new (ctx: ExecutionContext, env: BankEnv) => WorkerEntrypoint<BankEnv>;
|
|
241
243
|
|
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.dxpKOn1t.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.yLyF54-_.mjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
@@ -210,10 +210,10 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
210
210
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
211
211
|
paymentsToBatch: SendPaymentInput[];
|
|
212
212
|
}): Promise<IRPCResponse<{
|
|
213
|
+
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | null;
|
|
213
214
|
batchPaymentInitiatedAt: Date | null;
|
|
214
215
|
authorizationUrls: string | string[] | null;
|
|
215
216
|
accountId: string | null;
|
|
216
|
-
status: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
217
217
|
payments: PaymentInsertType[];
|
|
218
218
|
metadata: object | null;
|
|
219
219
|
id: string;
|
|
@@ -235,7 +235,9 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
235
235
|
getBankAccounts(): Promise<IRPCResponse<ConfigBankAccount[]>>;
|
|
236
236
|
getBatches(input: GetBatchesInput): Promise<IRPCResponse<GetBatchesOutput>>;
|
|
237
237
|
}
|
|
238
|
-
declare function defineBankService(
|
|
238
|
+
declare function defineBankService({ configAccounts, }: {
|
|
239
|
+
configAccounts: ConfigEnvironmentBankAccount;
|
|
240
|
+
}): new (ctx: ExecutionContext, env: BankEnv) => BankServiceBase;
|
|
239
241
|
|
|
240
242
|
declare const _default: new (ctx: ExecutionContext, env: BankEnv) => WorkerEntrypoint<BankEnv>;
|
|
241
243
|
|
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.dxpKOn1t.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.D1VhQbrS.js';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
@@ -210,10 +210,10 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
210
210
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
211
211
|
paymentsToBatch: SendPaymentInput[];
|
|
212
212
|
}): Promise<IRPCResponse<{
|
|
213
|
+
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | null;
|
|
213
214
|
batchPaymentInitiatedAt: Date | null;
|
|
214
215
|
authorizationUrls: string | string[] | null;
|
|
215
216
|
accountId: string | null;
|
|
216
|
-
status: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
217
217
|
payments: PaymentInsertType[];
|
|
218
218
|
metadata: object | null;
|
|
219
219
|
id: string;
|
|
@@ -235,7 +235,9 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
235
235
|
getBankAccounts(): Promise<IRPCResponse<ConfigBankAccount[]>>;
|
|
236
236
|
getBatches(input: GetBatchesInput): Promise<IRPCResponse<GetBatchesOutput>>;
|
|
237
237
|
}
|
|
238
|
-
declare function defineBankService(
|
|
238
|
+
declare function defineBankService({ configAccounts, }: {
|
|
239
|
+
configAccounts: ConfigEnvironmentBankAccount;
|
|
240
|
+
}): new (ctx: ExecutionContext, env: BankEnv) => BankServiceBase;
|
|
239
241
|
|
|
240
242
|
declare const _default: new (ctx: ExecutionContext, env: BankEnv) => WorkerEntrypoint<BankEnv>;
|
|
241
243
|
|