@develit-services/bank 3.0.0 → 4.0.0
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 +2 -2
- package/dist/database/schema.d.mts +2 -2
- package/dist/database/schema.d.ts +2 -2
- package/dist/export/worker.cjs +3 -3
- package/dist/export/worker.d.cts +16 -16
- package/dist/export/worker.d.mts +16 -16
- package/dist/export/worker.d.ts +16 -16
- package/dist/export/worker.mjs +3 -3
- package/dist/export/workflows.cjs +3 -3
- package/dist/export/workflows.mjs +3 -3
- package/dist/export/wrangler.cjs +8 -22
- package/dist/export/wrangler.d.cts +3 -3
- package/dist/export/wrangler.d.mts +3 -3
- package/dist/export/wrangler.d.ts +3 -3
- package/dist/export/wrangler.mjs +8 -22
- package/dist/shared/{bank.pU2vSCUr.cjs → bank.1DaJXkX5.cjs} +10 -10
- package/dist/shared/{bank.BanqNaZK.d.cts → bank.BGZ_RQHW.d.cts} +1 -1
- package/dist/shared/{bank.CVCyY-qU.d.cts → bank.BXMgOZmB.d.cts} +10 -10
- package/dist/shared/{bank.CVCyY-qU.d.mts → bank.BXMgOZmB.d.mts} +10 -10
- package/dist/shared/{bank.CVCyY-qU.d.ts → bank.BXMgOZmB.d.ts} +10 -10
- package/dist/shared/{bank.C6sLje8B.d.ts → bank.BydmpvCs.d.cts} +19 -28
- package/dist/shared/{bank.C6sLje8B.d.cts → bank.BydmpvCs.d.mts} +19 -28
- package/dist/shared/{bank.C6sLje8B.d.mts → bank.BydmpvCs.d.ts} +19 -28
- package/dist/shared/{bank.OSj3Smwv.cjs → bank.C3FUz-p6.cjs} +1 -1
- package/dist/shared/{bank.SoKDxQxH.d.ts → bank.CVlQjnAl.d.ts} +1 -1
- package/dist/shared/{bank.CTFqGRuY.mjs → bank.Cwbl-Mjn.mjs} +1 -1
- package/dist/shared/{bank.DOlM7clW.d.mts → bank.DDoo3Iz3.d.mts} +1 -1
- package/dist/shared/{bank.ByesVuDp.mjs → bank.lJOMYeVw.mjs} +1 -1
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +9 -9
- package/dist/types.d.mts +9 -9
- package/dist/types.d.ts +9 -9
- package/dist/types.mjs +2 -2
- package/package.json +1 -2
|
@@ -7,7 +7,7 @@ const zod = require('zod');
|
|
|
7
7
|
const generalCodes = require('@develit-io/general-codes');
|
|
8
8
|
const database_schema = require('./bank.9Yw4KHyl.cjs');
|
|
9
9
|
const drizzleOrm = require('drizzle-orm');
|
|
10
|
-
const
|
|
10
|
+
const zod$1 = require('drizzle-orm/zod');
|
|
11
11
|
require('node:crypto');
|
|
12
12
|
|
|
13
13
|
const relations = drizzleOrm.defineRelations(database_schema.schema, (r) => ({
|
|
@@ -2407,23 +2407,23 @@ class MockConnector extends IBankConnector {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
2410
|
-
const accountInsertSchema =
|
|
2410
|
+
const accountInsertSchema = zod$1.createInsertSchema(database_schema.account, {
|
|
2411
2411
|
address: () => backendSdk.structuredAddressSchema.optional()
|
|
2412
2412
|
});
|
|
2413
|
-
const accountUpdateSchema =
|
|
2413
|
+
const accountUpdateSchema = zod$1.createUpdateSchema(database_schema.account, {
|
|
2414
2414
|
address: () => backendSdk.structuredAddressSchema.optional()
|
|
2415
2415
|
});
|
|
2416
|
-
const accountSelectSchema =
|
|
2416
|
+
const accountSelectSchema = zod$1.createSelectSchema(database_schema.account, {
|
|
2417
2417
|
address: () => backendSdk.structuredAddressSchema.nullable()
|
|
2418
2418
|
});
|
|
2419
2419
|
|
|
2420
|
-
const accountCredentialsInsertSchema =
|
|
2421
|
-
const accountCredentialsUpdateSchema =
|
|
2422
|
-
const accountCredentialsSelectSchema =
|
|
2420
|
+
const accountCredentialsInsertSchema = zod$1.createInsertSchema(database_schema.accountCredentials);
|
|
2421
|
+
const accountCredentialsUpdateSchema = zod$1.createUpdateSchema(database_schema.accountCredentials);
|
|
2422
|
+
const accountCredentialsSelectSchema = zod$1.createSelectSchema(database_schema.accountCredentials);
|
|
2423
2423
|
|
|
2424
|
-
const ottInsertSchema =
|
|
2425
|
-
const ottUpdateSchema =
|
|
2426
|
-
const ottSelectSchema =
|
|
2424
|
+
const ottInsertSchema = zod$1.createInsertSchema(database_schema.ott);
|
|
2425
|
+
const ottUpdateSchema = zod$1.createUpdateSchema(database_schema.ott);
|
|
2426
|
+
const ottSelectSchema = zod$1.createSelectSchema(database_schema.ott);
|
|
2427
2427
|
|
|
2428
2428
|
exports.CsobConnector = CsobConnector;
|
|
2429
2429
|
exports.DbuConnector = DbuConnector;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.BXMgOZmB.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -4,7 +4,7 @@ import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
|
4
4
|
import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
|
|
5
5
|
import * as zod from 'zod';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import * as
|
|
7
|
+
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
8
|
import * as zod_v4_core from 'zod/v4/core';
|
|
9
9
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
10
10
|
import { BankAccountMetadata } from '@develit-io/backend-sdk';
|
|
@@ -306,7 +306,7 @@ declare abstract class IBankConnector {
|
|
|
306
306
|
}>;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
declare const accountCredentialsInsertSchema:
|
|
309
|
+
declare const accountCredentialsInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
310
310
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
311
311
|
name: string;
|
|
312
312
|
tableName: "account_credentials";
|
|
@@ -395,7 +395,7 @@ declare const accountCredentialsInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
395
395
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
396
396
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
397
397
|
}, undefined, undefined>;
|
|
398
|
-
declare const accountCredentialsUpdateSchema:
|
|
398
|
+
declare const accountCredentialsUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
399
399
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
400
400
|
name: string;
|
|
401
401
|
tableName: "account_credentials";
|
|
@@ -484,7 +484,7 @@ declare const accountCredentialsUpdateSchema: drizzle_zod.BuildSchema<"update",
|
|
|
484
484
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
485
485
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
486
486
|
}, undefined, undefined>;
|
|
487
|
-
declare const accountCredentialsSelectSchema:
|
|
487
|
+
declare const accountCredentialsSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
488
488
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
489
489
|
name: string;
|
|
490
490
|
tableName: "account_credentials";
|
|
@@ -581,7 +581,7 @@ type AccountCredentialsUpdateType = z.infer<typeof accountCredentialsInsertSchem
|
|
|
581
581
|
type AccountCredentialsPatchType = z.infer<typeof accountCredentialsUpdateSchema>;
|
|
582
582
|
type AccountCredentialsSelectType = z.infer<typeof accountCredentialsSelectSchema>;
|
|
583
583
|
|
|
584
|
-
declare const accountInsertSchema:
|
|
584
|
+
declare const accountInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
585
585
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
586
586
|
name: string;
|
|
587
587
|
tableName: "account";
|
|
@@ -1028,7 +1028,7 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
1028
1028
|
}>>;
|
|
1029
1029
|
}, zod_v4_core.$strip>>;
|
|
1030
1030
|
}, undefined>;
|
|
1031
|
-
declare const accountUpdateSchema:
|
|
1031
|
+
declare const accountUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
1032
1032
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1033
1033
|
name: string;
|
|
1034
1034
|
tableName: "account";
|
|
@@ -1475,7 +1475,7 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
1475
1475
|
}>>;
|
|
1476
1476
|
}, zod_v4_core.$strip>>;
|
|
1477
1477
|
}, undefined>;
|
|
1478
|
-
declare const accountSelectSchema:
|
|
1478
|
+
declare const accountSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
1479
1479
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1480
1480
|
name: string;
|
|
1481
1481
|
tableName: "account";
|
|
@@ -2125,7 +2125,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2125
2125
|
name: string;
|
|
2126
2126
|
tableName: "batch";
|
|
2127
2127
|
dataType: "string enum";
|
|
2128
|
-
data: "AUTHORIZED" | "
|
|
2128
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2129
2129
|
driverParam: string;
|
|
2130
2130
|
notNull: false;
|
|
2131
2131
|
hasDefault: false;
|
|
@@ -2396,7 +2396,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
tableName: "payment";
|
|
2398
2398
|
dataType: "string enum";
|
|
2399
|
-
data: "
|
|
2399
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
2400
2400
|
driverParam: string;
|
|
2401
2401
|
notNull: true;
|
|
2402
2402
|
hasDefault: false;
|
|
@@ -2795,7 +2795,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2795
2795
|
name: string;
|
|
2796
2796
|
tableName: "payment_request";
|
|
2797
2797
|
dataType: "string enum";
|
|
2798
|
-
data: "AUTHORIZED" | "
|
|
2798
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
2799
2799
|
driverParam: string;
|
|
2800
2800
|
notNull: true;
|
|
2801
2801
|
hasDefault: false;
|
|
@@ -4,7 +4,7 @@ import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
|
4
4
|
import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
|
|
5
5
|
import * as zod from 'zod';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import * as
|
|
7
|
+
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
8
|
import * as zod_v4_core from 'zod/v4/core';
|
|
9
9
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
10
10
|
import { BankAccountMetadata } from '@develit-io/backend-sdk';
|
|
@@ -306,7 +306,7 @@ declare abstract class IBankConnector {
|
|
|
306
306
|
}>;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
declare const accountCredentialsInsertSchema:
|
|
309
|
+
declare const accountCredentialsInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
310
310
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
311
311
|
name: string;
|
|
312
312
|
tableName: "account_credentials";
|
|
@@ -395,7 +395,7 @@ declare const accountCredentialsInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
395
395
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
396
396
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
397
397
|
}, undefined, undefined>;
|
|
398
|
-
declare const accountCredentialsUpdateSchema:
|
|
398
|
+
declare const accountCredentialsUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
399
399
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
400
400
|
name: string;
|
|
401
401
|
tableName: "account_credentials";
|
|
@@ -484,7 +484,7 @@ declare const accountCredentialsUpdateSchema: drizzle_zod.BuildSchema<"update",
|
|
|
484
484
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
485
485
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
486
486
|
}, undefined, undefined>;
|
|
487
|
-
declare const accountCredentialsSelectSchema:
|
|
487
|
+
declare const accountCredentialsSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
488
488
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
489
489
|
name: string;
|
|
490
490
|
tableName: "account_credentials";
|
|
@@ -581,7 +581,7 @@ type AccountCredentialsUpdateType = z.infer<typeof accountCredentialsInsertSchem
|
|
|
581
581
|
type AccountCredentialsPatchType = z.infer<typeof accountCredentialsUpdateSchema>;
|
|
582
582
|
type AccountCredentialsSelectType = z.infer<typeof accountCredentialsSelectSchema>;
|
|
583
583
|
|
|
584
|
-
declare const accountInsertSchema:
|
|
584
|
+
declare const accountInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
585
585
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
586
586
|
name: string;
|
|
587
587
|
tableName: "account";
|
|
@@ -1028,7 +1028,7 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
1028
1028
|
}>>;
|
|
1029
1029
|
}, zod_v4_core.$strip>>;
|
|
1030
1030
|
}, undefined>;
|
|
1031
|
-
declare const accountUpdateSchema:
|
|
1031
|
+
declare const accountUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
1032
1032
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1033
1033
|
name: string;
|
|
1034
1034
|
tableName: "account";
|
|
@@ -1475,7 +1475,7 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
1475
1475
|
}>>;
|
|
1476
1476
|
}, zod_v4_core.$strip>>;
|
|
1477
1477
|
}, undefined>;
|
|
1478
|
-
declare const accountSelectSchema:
|
|
1478
|
+
declare const accountSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
1479
1479
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1480
1480
|
name: string;
|
|
1481
1481
|
tableName: "account";
|
|
@@ -2125,7 +2125,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2125
2125
|
name: string;
|
|
2126
2126
|
tableName: "batch";
|
|
2127
2127
|
dataType: "string enum";
|
|
2128
|
-
data: "AUTHORIZED" | "
|
|
2128
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2129
2129
|
driverParam: string;
|
|
2130
2130
|
notNull: false;
|
|
2131
2131
|
hasDefault: false;
|
|
@@ -2396,7 +2396,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
tableName: "payment";
|
|
2398
2398
|
dataType: "string enum";
|
|
2399
|
-
data: "
|
|
2399
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
2400
2400
|
driverParam: string;
|
|
2401
2401
|
notNull: true;
|
|
2402
2402
|
hasDefault: false;
|
|
@@ -2795,7 +2795,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2795
2795
|
name: string;
|
|
2796
2796
|
tableName: "payment_request";
|
|
2797
2797
|
dataType: "string enum";
|
|
2798
|
-
data: "AUTHORIZED" | "
|
|
2798
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
2799
2799
|
driverParam: string;
|
|
2800
2800
|
notNull: true;
|
|
2801
2801
|
hasDefault: false;
|
|
@@ -4,7 +4,7 @@ import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
|
4
4
|
import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
|
|
5
5
|
import * as zod from 'zod';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import * as
|
|
7
|
+
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
8
|
import * as zod_v4_core from 'zod/v4/core';
|
|
9
9
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
10
10
|
import { BankAccountMetadata } from '@develit-io/backend-sdk';
|
|
@@ -306,7 +306,7 @@ declare abstract class IBankConnector {
|
|
|
306
306
|
}>;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
declare const accountCredentialsInsertSchema:
|
|
309
|
+
declare const accountCredentialsInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
310
310
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
311
311
|
name: string;
|
|
312
312
|
tableName: "account_credentials";
|
|
@@ -395,7 +395,7 @@ declare const accountCredentialsInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
395
395
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
396
396
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
397
397
|
}, undefined, undefined>;
|
|
398
|
-
declare const accountCredentialsUpdateSchema:
|
|
398
|
+
declare const accountCredentialsUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
399
399
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
400
400
|
name: string;
|
|
401
401
|
tableName: "account_credentials";
|
|
@@ -484,7 +484,7 @@ declare const accountCredentialsUpdateSchema: drizzle_zod.BuildSchema<"update",
|
|
|
484
484
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
485
485
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
486
486
|
}, undefined, undefined>;
|
|
487
|
-
declare const accountCredentialsSelectSchema:
|
|
487
|
+
declare const accountCredentialsSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
488
488
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
489
489
|
name: string;
|
|
490
490
|
tableName: "account_credentials";
|
|
@@ -581,7 +581,7 @@ type AccountCredentialsUpdateType = z.infer<typeof accountCredentialsInsertSchem
|
|
|
581
581
|
type AccountCredentialsPatchType = z.infer<typeof accountCredentialsUpdateSchema>;
|
|
582
582
|
type AccountCredentialsSelectType = z.infer<typeof accountCredentialsSelectSchema>;
|
|
583
583
|
|
|
584
|
-
declare const accountInsertSchema:
|
|
584
|
+
declare const accountInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
585
585
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
586
586
|
name: string;
|
|
587
587
|
tableName: "account";
|
|
@@ -1028,7 +1028,7 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
1028
1028
|
}>>;
|
|
1029
1029
|
}, zod_v4_core.$strip>>;
|
|
1030
1030
|
}, undefined>;
|
|
1031
|
-
declare const accountUpdateSchema:
|
|
1031
|
+
declare const accountUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
1032
1032
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1033
1033
|
name: string;
|
|
1034
1034
|
tableName: "account";
|
|
@@ -1475,7 +1475,7 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
1475
1475
|
}>>;
|
|
1476
1476
|
}, zod_v4_core.$strip>>;
|
|
1477
1477
|
}, undefined>;
|
|
1478
|
-
declare const accountSelectSchema:
|
|
1478
|
+
declare const accountSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
1479
1479
|
countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1480
1480
|
name: string;
|
|
1481
1481
|
tableName: "account";
|
|
@@ -2125,7 +2125,7 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2125
2125
|
name: string;
|
|
2126
2126
|
tableName: "batch";
|
|
2127
2127
|
dataType: "string enum";
|
|
2128
|
-
data: "AUTHORIZED" | "
|
|
2128
|
+
data: "AUTHORIZED" | "PROCESSING" | "READY_TO_SIGN" | "COMPLETED" | "FAILED";
|
|
2129
2129
|
driverParam: string;
|
|
2130
2130
|
notNull: false;
|
|
2131
2131
|
hasDefault: false;
|
|
@@ -2396,7 +2396,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
tableName: "payment";
|
|
2398
2398
|
dataType: "string enum";
|
|
2399
|
-
data: "
|
|
2399
|
+
data: "PROCESSING" | "PENDING" | "BOOKED" | "CANCELLED" | "REJECTED" | "SCHEDULED" | "HOLD" | "INFO";
|
|
2400
2400
|
driverParam: string;
|
|
2401
2401
|
notNull: true;
|
|
2402
2402
|
hasDefault: false;
|
|
@@ -2795,7 +2795,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2795
2795
|
name: string;
|
|
2796
2796
|
tableName: "payment_request";
|
|
2797
2797
|
dataType: "string enum";
|
|
2798
|
-
data: "AUTHORIZED" | "
|
|
2798
|
+
data: "AUTHORIZED" | "COMPLETED" | "BOOKED" | "REJECTED" | "OPENED" | "SETTLED" | "CLOSED";
|
|
2799
2799
|
driverParam: string;
|
|
2800
2800
|
notNull: true;
|
|
2801
2801
|
hasDefault: false;
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max_batch_timeout?: number;
|
|
5
|
-
};
|
|
6
|
-
triggers: {
|
|
7
|
-
crons: string[];
|
|
8
|
-
};
|
|
9
|
-
kv: {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
queues: {
|
|
13
|
-
producers: {
|
|
14
|
-
bus: {
|
|
15
|
-
binding: string;
|
|
16
|
-
queue: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
interface BankServiceWranglerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
name: string;
|
|
20
4
|
vars: {
|
|
5
|
+
VERSION: string;
|
|
21
6
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
22
7
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
23
8
|
ERSTE_ACCOUNTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts';
|
|
@@ -30,21 +15,27 @@ interface BankServiceEnvironmentConfig {
|
|
|
30
15
|
DBUCS_APPLICATION_CODE: string;
|
|
31
16
|
DBUCS_TX_AUTH_URI: string;
|
|
32
17
|
REDIRECT_URI: string;
|
|
18
|
+
[key: string]: string | boolean;
|
|
19
|
+
};
|
|
20
|
+
triggers: {
|
|
21
|
+
crons: string[];
|
|
33
22
|
};
|
|
34
|
-
customVars?: Record<string, string>;
|
|
35
|
-
}
|
|
36
|
-
interface BankServiceWranglerConfig {
|
|
37
|
-
project: string;
|
|
38
|
-
name: string;
|
|
39
23
|
d1: {
|
|
40
24
|
id: string;
|
|
41
25
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
kv: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
queues: {
|
|
30
|
+
producers: {
|
|
31
|
+
bus: {
|
|
32
|
+
binding: string;
|
|
33
|
+
queue: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
47
38
|
interface BankServiceEnv extends BankEnv {
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
export type { BankServiceWranglerConfig as B, BankServiceEnv as a
|
|
41
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a };
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max_batch_timeout?: number;
|
|
5
|
-
};
|
|
6
|
-
triggers: {
|
|
7
|
-
crons: string[];
|
|
8
|
-
};
|
|
9
|
-
kv: {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
queues: {
|
|
13
|
-
producers: {
|
|
14
|
-
bus: {
|
|
15
|
-
binding: string;
|
|
16
|
-
queue: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
interface BankServiceWranglerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
name: string;
|
|
20
4
|
vars: {
|
|
5
|
+
VERSION: string;
|
|
21
6
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
22
7
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
23
8
|
ERSTE_ACCOUNTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts';
|
|
@@ -30,21 +15,27 @@ interface BankServiceEnvironmentConfig {
|
|
|
30
15
|
DBUCS_APPLICATION_CODE: string;
|
|
31
16
|
DBUCS_TX_AUTH_URI: string;
|
|
32
17
|
REDIRECT_URI: string;
|
|
18
|
+
[key: string]: string | boolean;
|
|
19
|
+
};
|
|
20
|
+
triggers: {
|
|
21
|
+
crons: string[];
|
|
33
22
|
};
|
|
34
|
-
customVars?: Record<string, string>;
|
|
35
|
-
}
|
|
36
|
-
interface BankServiceWranglerConfig {
|
|
37
|
-
project: string;
|
|
38
|
-
name: string;
|
|
39
23
|
d1: {
|
|
40
24
|
id: string;
|
|
41
25
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
kv: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
queues: {
|
|
30
|
+
producers: {
|
|
31
|
+
bus: {
|
|
32
|
+
binding: string;
|
|
33
|
+
queue: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
47
38
|
interface BankServiceEnv extends BankEnv {
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
export type { BankServiceWranglerConfig as B, BankServiceEnv as a
|
|
41
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a };
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max_batch_timeout?: number;
|
|
5
|
-
};
|
|
6
|
-
triggers: {
|
|
7
|
-
crons: string[];
|
|
8
|
-
};
|
|
9
|
-
kv: {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
queues: {
|
|
13
|
-
producers: {
|
|
14
|
-
bus: {
|
|
15
|
-
binding: string;
|
|
16
|
-
queue: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
interface BankServiceWranglerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
name: string;
|
|
20
4
|
vars: {
|
|
5
|
+
VERSION: string;
|
|
21
6
|
ERSTE_AUTH_URI: 'https://webapi.developers.erstegroup.com/api/csas/sandbox/v1/sandbox-idp';
|
|
22
7
|
ERSTE_PAYMENTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v1/payments';
|
|
23
8
|
ERSTE_ACCOUNTS_URI: 'https://webapi.developers.erstegroup.com/api/csas/public/sandbox/v3/accounts';
|
|
@@ -30,21 +15,27 @@ interface BankServiceEnvironmentConfig {
|
|
|
30
15
|
DBUCS_APPLICATION_CODE: string;
|
|
31
16
|
DBUCS_TX_AUTH_URI: string;
|
|
32
17
|
REDIRECT_URI: string;
|
|
18
|
+
[key: string]: string | boolean;
|
|
19
|
+
};
|
|
20
|
+
triggers: {
|
|
21
|
+
crons: string[];
|
|
33
22
|
};
|
|
34
|
-
customVars?: Record<string, string>;
|
|
35
|
-
}
|
|
36
|
-
interface BankServiceWranglerConfig {
|
|
37
|
-
project: string;
|
|
38
|
-
name: string;
|
|
39
23
|
d1: {
|
|
40
24
|
id: string;
|
|
41
25
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
kv: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
queues: {
|
|
30
|
+
producers: {
|
|
31
|
+
bus: {
|
|
32
|
+
binding: string;
|
|
33
|
+
queue: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
47
38
|
interface BankServiceEnv extends BankEnv {
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
export type { BankServiceWranglerConfig as B, BankServiceEnv as a
|
|
41
|
+
export type { BankServiceWranglerConfig as B, BankServiceEnv as a };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
|
-
const ott_zod = require('./bank.
|
|
4
|
+
const ott_zod = require('./bank.1DaJXkX5.cjs');
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
6
|
require('./bank.9Yw4KHyl.cjs');
|
|
7
7
|
require('date-fns');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.BXMgOZmB.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -5,7 +5,7 @@ import { z } from 'zod';
|
|
|
5
5
|
import { CURRENCY_CODES } from '@develit-io/general-codes';
|
|
6
6
|
import { s as schema, e as PAYMENT_REQUEST_STATUSES, h as account, i as accountCredentials, o as ott } from './bank.BzDNLxB_.mjs';
|
|
7
7
|
import { defineRelations, and, not, inArray, isNull } from 'drizzle-orm';
|
|
8
|
-
import { createInsertSchema, createUpdateSchema, createSelectSchema } from 'drizzle-zod';
|
|
8
|
+
import { createInsertSchema, createUpdateSchema, createSelectSchema } from 'drizzle-orm/zod';
|
|
9
9
|
import 'node:crypto';
|
|
10
10
|
|
|
11
11
|
const relations = defineRelations(schema, (r) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.BXMgOZmB.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const ott_zod = require('./shared/bank.
|
|
3
|
+
const ott_zod = require('./shared/bank.1DaJXkX5.cjs');
|
|
4
4
|
const database_schema = require('./shared/bank.9Yw4KHyl.cjs');
|
|
5
5
|
const batchLifecycle = require('./shared/bank.NF8bZBy0.cjs');
|
|
6
6
|
const generalCodes = require('@develit-io/general-codes');
|
|
@@ -9,7 +9,7 @@ require('date-fns');
|
|
|
9
9
|
require('jose');
|
|
10
10
|
require('zod');
|
|
11
11
|
require('drizzle-orm');
|
|
12
|
-
require('drizzle-zod');
|
|
12
|
+
require('drizzle-orm/zod');
|
|
13
13
|
require('node:crypto');
|
|
14
14
|
require('drizzle-orm/sqlite-core');
|
|
15
15
|
|
package/dist/types.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, c as ConnectorKey, g as ConnectedAccount, d as PaymentType, h as CredentialsResolver, i as AccountCredentialsInsertType, j as AccountInsertType, k as BatchedPayment, l as InitiatedBatch, m as IncomingPayment, n as InitiatedPayment, A as AccountSelectType, o as ParsedBankPayment, p as PaymentRequestStatus, q as AuthorizationCallbackResult, r as BatchMetadata, s as Currency, a as PaymentSelectType, P as PaymentRequestSelectType, u as AccountAssignedPayment, v as PreparedPayment, w as CompletedPayment, x as PaymentRequestInsertType } from './shared/bank.BXMgOZmB.cjs';
|
|
2
|
+
export { y as ACCOUNT_STATUSES, z as AccountCredentialsPatchType, D as AccountCredentialsSelectType, E as AccountCredentialsUpdateType, F as AccountPatchType, G as AccountStatus, J as AccountUpdateType, K as AuthorizedBatch, M as BATCH_MODES, N as BATCH_STATUES, N as BATCH_STATUSES, O as BankAccountWithLastSync, Q as BankCode, R as BatchInsertType, S as BatchLifecycle, T as BatchMode, U as BatchPayment, B as BatchSelectType, V as BatchStatus, W as CHARGE_BEARERS, X as CONNECTOR_KEYS, Y as COUNTRY_CODES, Z as CREDENTIALS_TYPES, _ as ChargeBearer, $ as CompletedBatch, b as ConfigEnvironmentBank, C as ConnectorConfig, a0 as CountryCode, a1 as CredentialsType, e as CurrencyCode, a2 as INSTRUCTION_PRIORITIES, a3 as InstructionPriority, L as LastSyncMetadata, a4 as PAYMENT_DIRECTIONS, a5 as PAYMENT_REQUEST_STATUSES, a6 as PAYMENT_STATUSES, a7 as PAYMENT_TYPES, a8 as PaymentDirection, a9 as PaymentFailedInsertType, aa as PaymentInsertType, ab as PaymentLifecycle, ac as PaymentPreparedInsertType, ad as PaymentStatus, ae as ProcessingBatch, af as ReadyToSignBatch, ag as ResolvedCredentials, ah as TOKEN_TYPES, ai as TokenType, aj as accountCredentialsInsertSchema, ak as accountCredentialsSelectSchema, al as accountCredentialsUpdateSchema, am as accountInsertSchema, an as accountSelectSchema, ao as accountUpdateSchema, ap as hasPaymentAccountAssigned, aq as isBatchAuthorized, ar as isBatchCompleted, as as isBatchFailed, at as isBatchInitiated, au as isBatchProcessing, av as isBatchReadyToSign, aw as isPaymentCompleted, ax as isPendingStatus, ay as isProcessedStatus, az as isTerminalStatus } from './shared/bank.BXMgOZmB.cjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BGZ_RQHW.cjs';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.BGZ_RQHW.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
export { a as BankServiceEnv,
|
|
6
|
+
export { a as BankServiceEnv, B as BankServiceWranglerConfig } from './shared/bank.BydmpvCs.cjs';
|
|
7
7
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
8
|
-
import * as
|
|
8
|
+
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
9
9
|
import * as drizzle_orm from 'drizzle-orm';
|
|
10
10
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
11
11
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
@@ -673,7 +673,7 @@ type BankPaymentRequestEvent = BaseEvent & {
|
|
|
673
673
|
paymentRequest: PaymentRequestSelectType;
|
|
674
674
|
};
|
|
675
675
|
|
|
676
|
-
declare const ottInsertSchema:
|
|
676
|
+
declare const ottInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
677
677
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
678
678
|
name: string;
|
|
679
679
|
tableName: "ott";
|
|
@@ -746,7 +746,7 @@ declare const ottInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
746
746
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
747
747
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
748
748
|
}, undefined, undefined>;
|
|
749
|
-
declare const ottUpdateSchema:
|
|
749
|
+
declare const ottUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
750
750
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
751
751
|
name: string;
|
|
752
752
|
tableName: "ott";
|
|
@@ -819,7 +819,7 @@ declare const ottUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
819
819
|
deletedAt: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
820
820
|
deletedBy: drizzle_orm.HasDefault<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>>;
|
|
821
821
|
}, undefined, undefined>;
|
|
822
|
-
declare const ottSelectSchema:
|
|
822
|
+
declare const ottSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
823
823
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
824
824
|
name: string;
|
|
825
825
|
tableName: "ott";
|