@develit-services/bank 0.0.6 → 0.0.7
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.d.cts +3 -3
- package/dist/export/worker.d.mts +3 -3
- package/dist/export/worker.d.ts +3 -3
- package/dist/export/wrangler.cjs +1 -2
- package/dist/export/wrangler.d.cts +0 -1
- package/dist/export/wrangler.d.mts +0 -1
- package/dist/export/wrangler.d.ts +0 -1
- package/dist/export/wrangler.mjs +1 -2
- package/dist/shared/{bank.DmLulSzu.d.cts → bank.C28GtA5s.d.cts} +1 -1
- package/dist/shared/{bank.dxpKOn1t.d.mts → bank.CBNQZ5Pd.d.cts} +6 -6
- package/dist/shared/{bank.dxpKOn1t.d.ts → bank.CBNQZ5Pd.d.mts} +6 -6
- package/dist/shared/{bank.dxpKOn1t.d.cts → bank.CBNQZ5Pd.d.ts} +6 -6
- package/dist/shared/{bank.DqT4zUJn.d.mts → bank.LCrZu9Ic.d.mts} +1 -1
- package/dist/shared/{bank.B72_bFlr.d.ts → bank.atHmEWmc.d.ts} +1 -1
- package/package.json +1 -1
package/dist/@types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, A as AuthInput, e as IncomingPaymentMessage, P as PaymentPreparedInsertType, f as InitiatedBatch, g as InitiatedPayment, C as ConfigBankAccount, S as SyncLog, h as BatchMetadata, i as Currency } from './shared/bank.
|
|
2
|
-
export { k as BATCH_STATUES, k as BATCH_STATUSES, l as BatchStatus, t as COUNTRY_CODES, O as OutgoingPaymentMessage, r as PAYMENT_DIRECTIONS, o as PAYMENT_STATUSES, m as PAYMENT_TYPES, s as PaymentDirection, j as PaymentFailedInsertType, q as PaymentStatus, n as PaymentType, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { t as tables, a as PaymentInsertType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, P as PaymentSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, A as AuthInput, e as IncomingPaymentMessage, P as PaymentPreparedInsertType, f as InitiatedBatch, g as InitiatedPayment, C as ConfigBankAccount, S as SyncLog, h as BatchMetadata, i as Currency } from './shared/bank.C28GtA5s.cjs';
|
|
2
|
+
export { k as BATCH_STATUES, k as BATCH_STATUSES, l as BatchStatus, t as COUNTRY_CODES, O as OutgoingPaymentMessage, r as PAYMENT_DIRECTIONS, o as PAYMENT_STATUSES, m as PAYMENT_TYPES, s as PaymentDirection, j as PaymentFailedInsertType, q as PaymentStatus, n as PaymentType, p as paymentInitializedInsertType } from './shared/bank.C28GtA5s.cjs';
|
|
3
|
+
import { t as tables, a as PaymentInsertType } from './shared/bank.CBNQZ5Pd.cjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, P as PaymentSelectType, p as paymentInsertTypeZod } from './shared/bank.CBNQZ5Pd.cjs';
|
|
5
5
|
import { Environment } 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.DxGqqFhD.cjs';
|
package/dist/@types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, A as AuthInput, e as IncomingPaymentMessage, P as PaymentPreparedInsertType, f as InitiatedBatch, g as InitiatedPayment, C as ConfigBankAccount, S as SyncLog, h as BatchMetadata, i as Currency } from './shared/bank.
|
|
2
|
-
export { k as BATCH_STATUES, k as BATCH_STATUSES, l as BatchStatus, t as COUNTRY_CODES, O as OutgoingPaymentMessage, r as PAYMENT_DIRECTIONS, o as PAYMENT_STATUSES, m as PAYMENT_TYPES, s as PaymentDirection, j as PaymentFailedInsertType, q as PaymentStatus, n as PaymentType, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { t as tables, a as PaymentInsertType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, P as PaymentSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, A as AuthInput, e as IncomingPaymentMessage, P as PaymentPreparedInsertType, f as InitiatedBatch, g as InitiatedPayment, C as ConfigBankAccount, S as SyncLog, h as BatchMetadata, i as Currency } from './shared/bank.LCrZu9Ic.mjs';
|
|
2
|
+
export { k as BATCH_STATUES, k as BATCH_STATUSES, l as BatchStatus, t as COUNTRY_CODES, O as OutgoingPaymentMessage, r as PAYMENT_DIRECTIONS, o as PAYMENT_STATUSES, m as PAYMENT_TYPES, s as PaymentDirection, j as PaymentFailedInsertType, q as PaymentStatus, n as PaymentType, p as paymentInitializedInsertType } from './shared/bank.LCrZu9Ic.mjs';
|
|
3
|
+
import { t as tables, a as PaymentInsertType } from './shared/bank.CBNQZ5Pd.mjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, P as PaymentSelectType, p as paymentInsertTypeZod } from './shared/bank.CBNQZ5Pd.mjs';
|
|
5
5
|
import { Environment } 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.DxGqqFhD.mjs';
|
package/dist/@types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, A as AuthInput, e as IncomingPaymentMessage, P as PaymentPreparedInsertType, f as InitiatedBatch, g as InitiatedPayment, C as ConfigBankAccount, S as SyncLog, h as BatchMetadata, i as Currency } from './shared/bank.
|
|
2
|
-
export { k as BATCH_STATUES, k as BATCH_STATUSES, l as BatchStatus, t as COUNTRY_CODES, O as OutgoingPaymentMessage, r as PAYMENT_DIRECTIONS, o as PAYMENT_STATUSES, m as PAYMENT_TYPES, s as PaymentDirection, j as PaymentFailedInsertType, q as PaymentStatus, n as PaymentType, p as paymentInitializedInsertType } from './shared/bank.
|
|
3
|
-
import { t as tables, a as PaymentInsertType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, P as PaymentSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { b as CurrencyCode, c as BankCode, d as CountryCode, I as IBankConnector, a as ConnectorKey, A as AuthInput, e as IncomingPaymentMessage, P as PaymentPreparedInsertType, f as InitiatedBatch, g as InitiatedPayment, C as ConfigBankAccount, S as SyncLog, h as BatchMetadata, i as Currency } from './shared/bank.atHmEWmc.js';
|
|
2
|
+
export { k as BATCH_STATUES, k as BATCH_STATUSES, l as BatchStatus, t as COUNTRY_CODES, O as OutgoingPaymentMessage, r as PAYMENT_DIRECTIONS, o as PAYMENT_STATUSES, m as PAYMENT_TYPES, s as PaymentDirection, j as PaymentFailedInsertType, q as PaymentStatus, n as PaymentType, p as paymentInitializedInsertType } from './shared/bank.atHmEWmc.js';
|
|
3
|
+
import { t as tables, a as PaymentInsertType } from './shared/bank.CBNQZ5Pd.js';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, P as PaymentSelectType, p as paymentInsertTypeZod } from './shared/bank.CBNQZ5Pd.js';
|
|
5
5
|
import { Environment } 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.DxGqqFhD.js';
|
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.CBNQZ5Pd.cjs';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { I as IBankConnector, C as ConfigBankAccount, a as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.
|
|
7
|
+
import { I as IBankConnector, C as ConfigBankAccount, a as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.C28GtA5s.cjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
@@ -209,10 +209,10 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
209
209
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
210
210
|
paymentsToBatch: SendPaymentInput[];
|
|
211
211
|
}): Promise<IRPCResponse<{
|
|
212
|
-
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | null;
|
|
213
212
|
batchPaymentInitiatedAt: Date | null;
|
|
214
213
|
authorizationUrls: string | string[] | null;
|
|
215
214
|
accountId: string | null;
|
|
215
|
+
status: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
216
216
|
payments: PaymentInsertType[];
|
|
217
217
|
metadata: object | null;
|
|
218
218
|
id: string;
|
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.CBNQZ5Pd.mjs';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { I as IBankConnector, C as ConfigBankAccount, a as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.
|
|
7
|
+
import { I as IBankConnector, C as ConfigBankAccount, a as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.LCrZu9Ic.mjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
@@ -209,10 +209,10 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
209
209
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
210
210
|
paymentsToBatch: SendPaymentInput[];
|
|
211
211
|
}): Promise<IRPCResponse<{
|
|
212
|
-
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | null;
|
|
213
212
|
batchPaymentInitiatedAt: Date | null;
|
|
214
213
|
authorizationUrls: string | string[] | null;
|
|
215
214
|
accountId: string | null;
|
|
215
|
+
status: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
216
216
|
payments: PaymentInsertType[];
|
|
217
217
|
metadata: object | null;
|
|
218
218
|
id: string;
|
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.CBNQZ5Pd.js';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { I as IBankConnector, C as ConfigBankAccount, a as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.
|
|
7
|
+
import { I as IBankConnector, C as ConfigBankAccount, a as ConnectorKey, B as BankAccountWithLastSync } from '../shared/bank.atHmEWmc.js';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'drizzle-orm';
|
|
10
10
|
import '@develit-io/general-codes';
|
|
@@ -209,10 +209,10 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
209
209
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
210
210
|
paymentsToBatch: SendPaymentInput[];
|
|
211
211
|
}): Promise<IRPCResponse<{
|
|
212
|
-
status: "PREPARED" | "FAILED" | "COMPLETED" | "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | null;
|
|
213
212
|
batchPaymentInitiatedAt: Date | null;
|
|
214
213
|
authorizationUrls: string | string[] | null;
|
|
215
214
|
accountId: string | null;
|
|
215
|
+
status: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
216
216
|
payments: PaymentInsertType[];
|
|
217
217
|
metadata: object | null;
|
|
218
218
|
id: string;
|
package/dist/export/wrangler.cjs
CHANGED
package/dist/export/wrangler.mjs
CHANGED
|
@@ -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.CBNQZ5Pd.cjs';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
|
|
6
6
|
declare const PAYMENT_TYPES: readonly ["SEPA", "SWIFT", "IFSC", "DOMESTIC"];
|
|
@@ -82,10 +82,10 @@ declare const paymentInsertTypeZod: z.ZodObject<{
|
|
|
82
82
|
}>;
|
|
83
83
|
status: z.ZodEnum<{
|
|
84
84
|
PREPARED: "PREPARED";
|
|
85
|
-
|
|
85
|
+
COMPLETED: "COMPLETED";
|
|
86
86
|
FAILED: "FAILED";
|
|
87
|
+
INITIALIZED: "INITIALIZED";
|
|
87
88
|
PENDING: "PENDING";
|
|
88
|
-
COMPLETED: "COMPLETED";
|
|
89
89
|
CREATED: "CREATED";
|
|
90
90
|
}>;
|
|
91
91
|
batchId: z.ZodString;
|
|
@@ -163,7 +163,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
163
163
|
tableName: "batch";
|
|
164
164
|
dataType: "string";
|
|
165
165
|
columnType: "SQLiteText";
|
|
166
|
-
data: "
|
|
166
|
+
data: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED";
|
|
167
167
|
driverParam: string;
|
|
168
168
|
notNull: false;
|
|
169
169
|
hasDefault: false;
|
|
@@ -176,7 +176,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
176
176
|
generated: undefined;
|
|
177
177
|
}, {}, {
|
|
178
178
|
length: number | undefined;
|
|
179
|
-
$type: "
|
|
179
|
+
$type: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED";
|
|
180
180
|
}>;
|
|
181
181
|
payments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
182
182
|
name: "payments";
|
|
@@ -414,7 +414,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
414
414
|
tableName: "payment";
|
|
415
415
|
dataType: "string";
|
|
416
416
|
columnType: "SQLiteText";
|
|
417
|
-
data: "PREPARED" | "
|
|
417
|
+
data: "PREPARED" | "COMPLETED" | "FAILED" | "INITIALIZED" | "PENDING" | "CREATED";
|
|
418
418
|
driverParam: string;
|
|
419
419
|
notNull: true;
|
|
420
420
|
hasDefault: false;
|
|
@@ -427,7 +427,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
427
427
|
generated: undefined;
|
|
428
428
|
}, {}, {
|
|
429
429
|
length: number | undefined;
|
|
430
|
-
$type: "PREPARED" | "
|
|
430
|
+
$type: "PREPARED" | "COMPLETED" | "FAILED" | "INITIALIZED" | "PENDING" | "CREATED";
|
|
431
431
|
}>;
|
|
432
432
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
433
433
|
name: "status_reason";
|
|
@@ -82,10 +82,10 @@ declare const paymentInsertTypeZod: z.ZodObject<{
|
|
|
82
82
|
}>;
|
|
83
83
|
status: z.ZodEnum<{
|
|
84
84
|
PREPARED: "PREPARED";
|
|
85
|
-
|
|
85
|
+
COMPLETED: "COMPLETED";
|
|
86
86
|
FAILED: "FAILED";
|
|
87
|
+
INITIALIZED: "INITIALIZED";
|
|
87
88
|
PENDING: "PENDING";
|
|
88
|
-
COMPLETED: "COMPLETED";
|
|
89
89
|
CREATED: "CREATED";
|
|
90
90
|
}>;
|
|
91
91
|
batchId: z.ZodString;
|
|
@@ -163,7 +163,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
163
163
|
tableName: "batch";
|
|
164
164
|
dataType: "string";
|
|
165
165
|
columnType: "SQLiteText";
|
|
166
|
-
data: "
|
|
166
|
+
data: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED";
|
|
167
167
|
driverParam: string;
|
|
168
168
|
notNull: false;
|
|
169
169
|
hasDefault: false;
|
|
@@ -176,7 +176,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
176
176
|
generated: undefined;
|
|
177
177
|
}, {}, {
|
|
178
178
|
length: number | undefined;
|
|
179
|
-
$type: "
|
|
179
|
+
$type: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED";
|
|
180
180
|
}>;
|
|
181
181
|
payments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
182
182
|
name: "payments";
|
|
@@ -414,7 +414,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
414
414
|
tableName: "payment";
|
|
415
415
|
dataType: "string";
|
|
416
416
|
columnType: "SQLiteText";
|
|
417
|
-
data: "PREPARED" | "
|
|
417
|
+
data: "PREPARED" | "COMPLETED" | "FAILED" | "INITIALIZED" | "PENDING" | "CREATED";
|
|
418
418
|
driverParam: string;
|
|
419
419
|
notNull: true;
|
|
420
420
|
hasDefault: false;
|
|
@@ -427,7 +427,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
427
427
|
generated: undefined;
|
|
428
428
|
}, {}, {
|
|
429
429
|
length: number | undefined;
|
|
430
|
-
$type: "PREPARED" | "
|
|
430
|
+
$type: "PREPARED" | "COMPLETED" | "FAILED" | "INITIALIZED" | "PENDING" | "CREATED";
|
|
431
431
|
}>;
|
|
432
432
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
433
433
|
name: "status_reason";
|
|
@@ -82,10 +82,10 @@ declare const paymentInsertTypeZod: z.ZodObject<{
|
|
|
82
82
|
}>;
|
|
83
83
|
status: z.ZodEnum<{
|
|
84
84
|
PREPARED: "PREPARED";
|
|
85
|
-
|
|
85
|
+
COMPLETED: "COMPLETED";
|
|
86
86
|
FAILED: "FAILED";
|
|
87
|
+
INITIALIZED: "INITIALIZED";
|
|
87
88
|
PENDING: "PENDING";
|
|
88
|
-
COMPLETED: "COMPLETED";
|
|
89
89
|
CREATED: "CREATED";
|
|
90
90
|
}>;
|
|
91
91
|
batchId: z.ZodString;
|
|
@@ -163,7 +163,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
163
163
|
tableName: "batch";
|
|
164
164
|
dataType: "string";
|
|
165
165
|
columnType: "SQLiteText";
|
|
166
|
-
data: "
|
|
166
|
+
data: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED";
|
|
167
167
|
driverParam: string;
|
|
168
168
|
notNull: false;
|
|
169
169
|
hasDefault: false;
|
|
@@ -176,7 +176,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
176
176
|
generated: undefined;
|
|
177
177
|
}, {}, {
|
|
178
178
|
length: number | undefined;
|
|
179
|
-
$type: "
|
|
179
|
+
$type: "OPEN" | "WAITING_FOR_PROCESSING" | "PROCESSING" | "READY_TO_SIGN" | "PREPARED" | "COMPLETED" | "FAILED";
|
|
180
180
|
}>;
|
|
181
181
|
payments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
182
182
|
name: "payments";
|
|
@@ -414,7 +414,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
414
414
|
tableName: "payment";
|
|
415
415
|
dataType: "string";
|
|
416
416
|
columnType: "SQLiteText";
|
|
417
|
-
data: "PREPARED" | "
|
|
417
|
+
data: "PREPARED" | "COMPLETED" | "FAILED" | "INITIALIZED" | "PENDING" | "CREATED";
|
|
418
418
|
driverParam: string;
|
|
419
419
|
notNull: true;
|
|
420
420
|
hasDefault: false;
|
|
@@ -427,7 +427,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
427
427
|
generated: undefined;
|
|
428
428
|
}, {}, {
|
|
429
429
|
length: number | undefined;
|
|
430
|
-
$type: "PREPARED" | "
|
|
430
|
+
$type: "PREPARED" | "COMPLETED" | "FAILED" | "INITIALIZED" | "PENDING" | "CREATED";
|
|
431
431
|
}>;
|
|
432
432
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
433
433
|
name: "status_reason";
|
|
@@ -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.CBNQZ5Pd.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.CBNQZ5Pd.js';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
5
|
|
|
6
6
|
declare const PAYMENT_TYPES: readonly ["SEPA", "SWIFT", "IFSC", "DOMESTIC"];
|