@develit-services/bank 5.2.0 → 5.2.2
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/base.cjs +2 -2
- package/dist/base.d.cts +342 -76
- package/dist/base.d.mts +342 -76
- package/dist/base.d.ts +342 -76
- package/dist/base.mjs +2 -2
- package/dist/database/schema.d.cts +2 -3
- package/dist/database/schema.d.mts +2 -3
- package/dist/database/schema.d.ts +2 -3
- package/dist/export/workflows.cjs +119 -193
- package/dist/export/workflows.mjs +119 -193
- package/dist/shared/{bank.BRD2WfnT.mjs → bank.5RiBQTe0.mjs} +1 -1
- package/dist/shared/{bank.DXU-wqnl.d.mts → bank.BuwSQL_7.d.mts} +9 -1
- package/dist/shared/{bank.BJTq7Qw9.d.cts → bank.CdkOsZE8.d.cts} +3083 -1217
- package/dist/shared/{bank.BJTq7Qw9.d.mts → bank.CdkOsZE8.d.mts} +3083 -1217
- package/dist/shared/{bank.BJTq7Qw9.d.ts → bank.CdkOsZE8.d.ts} +3083 -1217
- package/dist/shared/{bank.Bkxo76q4.mjs → bank.Cg2epnnD.mjs} +9 -3
- package/dist/shared/{bank.JAN0kymF.d.ts → bank.D__RVhfE.d.cts} +9 -1
- package/dist/shared/{bank.wFDtecu7.d.cts → bank.IAc8kIC-.d.ts} +9 -1
- package/dist/shared/{bank.BkctD4hR.cjs → bank.R64Uwo7k.cjs} +9 -3
- package/dist/shared/{bank.Bgz1SSIP.cjs → bank.d0MTVrcR.cjs} +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +341 -27
- package/dist/types.d.mts +341 -27
- package/dist/types.d.ts +341 -27
- package/dist/types.mjs +1 -1
- package/package.json +3 -3
|
@@ -2289,13 +2289,19 @@ class MockConnector extends IBankConnector {
|
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
2291
|
const accountInsertSchema = createInsertSchema(account, {
|
|
2292
|
-
address: () => structuredAddressSchema.optional()
|
|
2292
|
+
address: () => structuredAddressSchema.optional(),
|
|
2293
|
+
lastSyncMetadata: () => z.custom().optional(),
|
|
2294
|
+
connectorConfig: () => z.custom().optional()
|
|
2293
2295
|
});
|
|
2294
2296
|
const accountUpdateSchema = createUpdateSchema(account, {
|
|
2295
|
-
address: () => structuredAddressSchema.optional()
|
|
2297
|
+
address: () => structuredAddressSchema.optional(),
|
|
2298
|
+
lastSyncMetadata: () => z.custom().optional(),
|
|
2299
|
+
connectorConfig: () => z.custom().optional()
|
|
2296
2300
|
});
|
|
2297
2301
|
const accountSelectSchema = createSelectSchema(account, {
|
|
2298
|
-
address: () => structuredAddressSchema.nullable()
|
|
2302
|
+
address: () => structuredAddressSchema.nullable(),
|
|
2303
|
+
lastSyncMetadata: () => z.custom().nullable(),
|
|
2304
|
+
connectorConfig: () => z.custom().nullable()
|
|
2299
2305
|
});
|
|
2300
2306
|
|
|
2301
2307
|
const accountCredentialsInsertSchema = createInsertSchema(accountCredentials);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.CdkOsZE8.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -444,6 +444,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
444
444
|
GW: "GW";
|
|
445
445
|
GY: "GY";
|
|
446
446
|
HT: "HT";
|
|
447
|
+
HK: "HK";
|
|
447
448
|
HN: "HN";
|
|
448
449
|
HU: "HU";
|
|
449
450
|
IS: "IS";
|
|
@@ -715,6 +716,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
715
716
|
GW: "GW";
|
|
716
717
|
GY: "GY";
|
|
717
718
|
HT: "HT";
|
|
719
|
+
HK: "HK";
|
|
718
720
|
HN: "HN";
|
|
719
721
|
HU: "HU";
|
|
720
722
|
IS: "IS";
|
|
@@ -1007,6 +1009,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1007
1009
|
GW: "GW";
|
|
1008
1010
|
GY: "GY";
|
|
1009
1011
|
HT: "HT";
|
|
1012
|
+
HK: "HK";
|
|
1010
1013
|
HN: "HN";
|
|
1011
1014
|
HU: "HU";
|
|
1012
1015
|
IS: "IS";
|
|
@@ -1278,6 +1281,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1278
1281
|
GW: "GW";
|
|
1279
1282
|
GY: "GY";
|
|
1280
1283
|
HT: "HT";
|
|
1284
|
+
HK: "HK";
|
|
1281
1285
|
HN: "HN";
|
|
1282
1286
|
HU: "HU";
|
|
1283
1287
|
IS: "IS";
|
|
@@ -1658,6 +1662,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1658
1662
|
GW: "GW";
|
|
1659
1663
|
GY: "GY";
|
|
1660
1664
|
HT: "HT";
|
|
1665
|
+
HK: "HK";
|
|
1661
1666
|
HN: "HN";
|
|
1662
1667
|
HU: "HU";
|
|
1663
1668
|
IS: "IS";
|
|
@@ -1929,6 +1934,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1929
1934
|
GW: "GW";
|
|
1930
1935
|
GY: "GY";
|
|
1931
1936
|
HT: "HT";
|
|
1937
|
+
HK: "HK";
|
|
1932
1938
|
HN: "HN";
|
|
1933
1939
|
HU: "HU";
|
|
1934
1940
|
IS: "IS";
|
|
@@ -2221,6 +2227,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2221
2227
|
GW: "GW";
|
|
2222
2228
|
GY: "GY";
|
|
2223
2229
|
HT: "HT";
|
|
2230
|
+
HK: "HK";
|
|
2224
2231
|
HN: "HN";
|
|
2225
2232
|
HU: "HU";
|
|
2226
2233
|
IS: "IS";
|
|
@@ -2492,6 +2499,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2492
2499
|
GW: "GW";
|
|
2493
2500
|
GY: "GY";
|
|
2494
2501
|
HT: "HT";
|
|
2502
|
+
HK: "HK";
|
|
2495
2503
|
HN: "HN";
|
|
2496
2504
|
HU: "HU";
|
|
2497
2505
|
IS: "IS";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, R as BankCode, a1 as CountryCode, P as PaymentRequestSelectType } from './bank.CdkOsZE8.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -444,6 +444,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
444
444
|
GW: "GW";
|
|
445
445
|
GY: "GY";
|
|
446
446
|
HT: "HT";
|
|
447
|
+
HK: "HK";
|
|
447
448
|
HN: "HN";
|
|
448
449
|
HU: "HU";
|
|
449
450
|
IS: "IS";
|
|
@@ -715,6 +716,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
715
716
|
GW: "GW";
|
|
716
717
|
GY: "GY";
|
|
717
718
|
HT: "HT";
|
|
719
|
+
HK: "HK";
|
|
718
720
|
HN: "HN";
|
|
719
721
|
HU: "HU";
|
|
720
722
|
IS: "IS";
|
|
@@ -1007,6 +1009,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1007
1009
|
GW: "GW";
|
|
1008
1010
|
GY: "GY";
|
|
1009
1011
|
HT: "HT";
|
|
1012
|
+
HK: "HK";
|
|
1010
1013
|
HN: "HN";
|
|
1011
1014
|
HU: "HU";
|
|
1012
1015
|
IS: "IS";
|
|
@@ -1278,6 +1281,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1278
1281
|
GW: "GW";
|
|
1279
1282
|
GY: "GY";
|
|
1280
1283
|
HT: "HT";
|
|
1284
|
+
HK: "HK";
|
|
1281
1285
|
HN: "HN";
|
|
1282
1286
|
HU: "HU";
|
|
1283
1287
|
IS: "IS";
|
|
@@ -1658,6 +1662,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1658
1662
|
GW: "GW";
|
|
1659
1663
|
GY: "GY";
|
|
1660
1664
|
HT: "HT";
|
|
1665
|
+
HK: "HK";
|
|
1661
1666
|
HN: "HN";
|
|
1662
1667
|
HU: "HU";
|
|
1663
1668
|
IS: "IS";
|
|
@@ -1929,6 +1934,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1929
1934
|
GW: "GW";
|
|
1930
1935
|
GY: "GY";
|
|
1931
1936
|
HT: "HT";
|
|
1937
|
+
HK: "HK";
|
|
1932
1938
|
HN: "HN";
|
|
1933
1939
|
HU: "HU";
|
|
1934
1940
|
IS: "IS";
|
|
@@ -2221,6 +2227,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2221
2227
|
GW: "GW";
|
|
2222
2228
|
GY: "GY";
|
|
2223
2229
|
HT: "HT";
|
|
2230
|
+
HK: "HK";
|
|
2224
2231
|
HN: "HN";
|
|
2225
2232
|
HU: "HU";
|
|
2226
2233
|
IS: "IS";
|
|
@@ -2492,6 +2499,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2492
2499
|
GW: "GW";
|
|
2493
2500
|
GY: "GY";
|
|
2494
2501
|
HT: "HT";
|
|
2502
|
+
HK: "HK";
|
|
2495
2503
|
HN: "HN";
|
|
2496
2504
|
HU: "HU";
|
|
2497
2505
|
IS: "IS";
|
|
@@ -2291,13 +2291,19 @@ class MockConnector extends IBankConnector {
|
|
|
2291
2291
|
}
|
|
2292
2292
|
|
|
2293
2293
|
const accountInsertSchema = zod$1.createInsertSchema(database_schema.account, {
|
|
2294
|
-
address: () => backendSdk.structuredAddressSchema.optional()
|
|
2294
|
+
address: () => backendSdk.structuredAddressSchema.optional(),
|
|
2295
|
+
lastSyncMetadata: () => zod.z.custom().optional(),
|
|
2296
|
+
connectorConfig: () => zod.z.custom().optional()
|
|
2295
2297
|
});
|
|
2296
2298
|
const accountUpdateSchema = zod$1.createUpdateSchema(database_schema.account, {
|
|
2297
|
-
address: () => backendSdk.structuredAddressSchema.optional()
|
|
2299
|
+
address: () => backendSdk.structuredAddressSchema.optional(),
|
|
2300
|
+
lastSyncMetadata: () => zod.z.custom().optional(),
|
|
2301
|
+
connectorConfig: () => zod.z.custom().optional()
|
|
2298
2302
|
});
|
|
2299
2303
|
const accountSelectSchema = zod$1.createSelectSchema(database_schema.account, {
|
|
2300
|
-
address: () => backendSdk.structuredAddressSchema.nullable()
|
|
2304
|
+
address: () => backendSdk.structuredAddressSchema.nullable(),
|
|
2305
|
+
lastSyncMetadata: () => zod.z.custom().nullable(),
|
|
2306
|
+
connectorConfig: () => zod.z.custom().nullable()
|
|
2301
2307
|
});
|
|
2302
2308
|
|
|
2303
2309
|
const accountCredentialsInsertSchema = zod$1.createInsertSchema(database_schema.accountCredentials);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
|
-
const bank = require('./bank.
|
|
4
|
+
const bank = require('./bank.R64Uwo7k.cjs');
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
6
|
require('./bank.9Yw4KHyl.cjs');
|
|
7
7
|
require('date-fns');
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const bank = require('./shared/bank.
|
|
3
|
+
const bank = require('./shared/bank.R64Uwo7k.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');
|
package/dist/types.d.cts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { I as IBankConnector, b 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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA 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, b 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.CdkOsZE8.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 BASE_TERMINAL_STATUSES, N as BATCH_MODES, O as BATCH_STATUES, O as BATCH_STATUSES, Q as BankAccountWithLastSync, R as BankCode, S as BatchInsertType, T as BatchLifecycle, U as BatchMode, V as BatchPayment, B as BatchSelectType, W as BatchStatus, X as CHARGE_BEARERS, Y as CONNECTOR_KEYS, Z as COUNTRY_CODES, _ as CREDENTIALS_TYPES, $ as ChargeBearer, a0 as CompletedBatch, c as ConfigEnvironmentBank, C as ConnectorConfig, a1 as CountryCode, a2 as CredentialsType, e as CurrencyCode, a3 as INSTRUCTION_PRIORITIES, a4 as InstructionPriority, L as LastSyncMetadata, a5 as PAYMENT_DIRECTIONS, a6 as PAYMENT_REQUEST_STATUSES, a7 as PAYMENT_STATUSES, a8 as PAYMENT_TYPES, a9 as PaymentDirection, aa as PaymentFailedInsertType, ab as PaymentInsertType, ac as PaymentLifecycle, ad as PaymentPreparedInsertType, ae as PaymentStatus, af as ProcessingBatch, ag as ReadyToSignBatch, ah as ResolvedCredentials, ai as TOKEN_TYPES, aj as TokenType, ak as accountCredentialsInsertSchema, al as accountCredentialsSelectSchema, am as accountCredentialsUpdateSchema, an as accountInsertSchema, ao as accountSelectSchema, ap as accountUpdateSchema, aq as hasPaymentAccountAssigned, ar as isBatchAuthorized, as as isBatchCompleted, at as isBatchFailed, au as isBatchInitiated, av as isBatchProcessing, aw as isBatchReadyToSign, ax as isPaymentCompleted, ay as isPendingStatus, az as isProcessedStatus, aA as isTerminalStatus } from './shared/bank.CdkOsZE8.cjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.D__RVhfE.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.D__RVhfE.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_orm_zod from 'drizzle-orm/zod';
|
|
8
|
-
import * as drizzle_orm from 'drizzle-orm';
|
|
9
8
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
10
9
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
11
|
-
import '
|
|
10
|
+
import 'drizzle-orm';
|
|
12
11
|
|
|
13
12
|
type FinbricksProvider = 'KB' | 'ERSTE' | 'CSOB' | 'MOCK_COBS' | 'CREDITAS' | 'FIO' | 'MONETA' | 'AIRBANK' | 'CSAS';
|
|
14
13
|
declare const FINBRICKS_TRANSACTION_STATUSES: readonly ["OPENED", "AUTHORIZED", "COMPLETED", "BOOKED", "SETTLED", "REJECTED", "CLOSED"];
|
|
@@ -741,13 +740,118 @@ declare const ottInsertSchema: drizzle_orm_zod.BuildSchema<"insert", {
|
|
|
741
740
|
identity: undefined;
|
|
742
741
|
generated: undefined;
|
|
743
742
|
}, {}>;
|
|
744
|
-
id:
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
743
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
744
|
+
name: string;
|
|
745
|
+
tableName: "ott";
|
|
746
|
+
dataType: "string";
|
|
747
|
+
data: string;
|
|
748
|
+
driverParam: string;
|
|
749
|
+
notNull: true;
|
|
750
|
+
hasDefault: false;
|
|
751
|
+
isPrimaryKey: true;
|
|
752
|
+
isAutoincrement: false;
|
|
753
|
+
hasRuntimeDefault: false;
|
|
754
|
+
enumValues: [string, ...string[]];
|
|
755
|
+
baseColumn: never;
|
|
756
|
+
identity: undefined;
|
|
757
|
+
generated: undefined;
|
|
758
|
+
}, {}>;
|
|
759
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
760
|
+
name: string;
|
|
761
|
+
tableName: "ott";
|
|
762
|
+
dataType: "object date";
|
|
763
|
+
data: Date;
|
|
764
|
+
driverParam: number;
|
|
765
|
+
notNull: false;
|
|
766
|
+
hasDefault: true;
|
|
767
|
+
isPrimaryKey: false;
|
|
768
|
+
isAutoincrement: false;
|
|
769
|
+
hasRuntimeDefault: false;
|
|
770
|
+
enumValues: undefined;
|
|
771
|
+
baseColumn: never;
|
|
772
|
+
identity: undefined;
|
|
773
|
+
generated: undefined;
|
|
774
|
+
}, {}>;
|
|
775
|
+
createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
776
|
+
name: string;
|
|
777
|
+
tableName: "ott";
|
|
778
|
+
dataType: "string";
|
|
779
|
+
data: string;
|
|
780
|
+
driverParam: string;
|
|
781
|
+
notNull: false;
|
|
782
|
+
hasDefault: true;
|
|
783
|
+
isPrimaryKey: false;
|
|
784
|
+
isAutoincrement: false;
|
|
785
|
+
hasRuntimeDefault: false;
|
|
786
|
+
enumValues: [string, ...string[]];
|
|
787
|
+
baseColumn: never;
|
|
788
|
+
identity: undefined;
|
|
789
|
+
generated: undefined;
|
|
790
|
+
}, {}>;
|
|
791
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
792
|
+
name: string;
|
|
793
|
+
tableName: "ott";
|
|
794
|
+
dataType: "object date";
|
|
795
|
+
data: Date;
|
|
796
|
+
driverParam: number;
|
|
797
|
+
notNull: false;
|
|
798
|
+
hasDefault: true;
|
|
799
|
+
isPrimaryKey: false;
|
|
800
|
+
isAutoincrement: false;
|
|
801
|
+
hasRuntimeDefault: false;
|
|
802
|
+
enumValues: undefined;
|
|
803
|
+
baseColumn: never;
|
|
804
|
+
identity: undefined;
|
|
805
|
+
generated: undefined;
|
|
806
|
+
}, {}>;
|
|
807
|
+
updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
808
|
+
name: string;
|
|
809
|
+
tableName: "ott";
|
|
810
|
+
dataType: "string";
|
|
811
|
+
data: string;
|
|
812
|
+
driverParam: string;
|
|
813
|
+
notNull: false;
|
|
814
|
+
hasDefault: true;
|
|
815
|
+
isPrimaryKey: false;
|
|
816
|
+
isAutoincrement: false;
|
|
817
|
+
hasRuntimeDefault: false;
|
|
818
|
+
enumValues: [string, ...string[]];
|
|
819
|
+
baseColumn: never;
|
|
820
|
+
identity: undefined;
|
|
821
|
+
generated: undefined;
|
|
822
|
+
}, {}>;
|
|
823
|
+
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
824
|
+
name: string;
|
|
825
|
+
tableName: "ott";
|
|
826
|
+
dataType: "object date";
|
|
827
|
+
data: Date;
|
|
828
|
+
driverParam: number;
|
|
829
|
+
notNull: false;
|
|
830
|
+
hasDefault: true;
|
|
831
|
+
isPrimaryKey: false;
|
|
832
|
+
isAutoincrement: false;
|
|
833
|
+
hasRuntimeDefault: false;
|
|
834
|
+
enumValues: undefined;
|
|
835
|
+
baseColumn: never;
|
|
836
|
+
identity: undefined;
|
|
837
|
+
generated: undefined;
|
|
838
|
+
}, {}>;
|
|
839
|
+
deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
840
|
+
name: string;
|
|
841
|
+
tableName: "ott";
|
|
842
|
+
dataType: "string";
|
|
843
|
+
data: string;
|
|
844
|
+
driverParam: string;
|
|
845
|
+
notNull: false;
|
|
846
|
+
hasDefault: true;
|
|
847
|
+
isPrimaryKey: false;
|
|
848
|
+
isAutoincrement: false;
|
|
849
|
+
hasRuntimeDefault: false;
|
|
850
|
+
enumValues: [string, ...string[]];
|
|
851
|
+
baseColumn: never;
|
|
852
|
+
identity: undefined;
|
|
853
|
+
generated: undefined;
|
|
854
|
+
}, {}>;
|
|
751
855
|
}, undefined, undefined>;
|
|
752
856
|
declare const ottUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
753
857
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
@@ -814,13 +918,118 @@ declare const ottUpdateSchema: drizzle_orm_zod.BuildSchema<"update", {
|
|
|
814
918
|
identity: undefined;
|
|
815
919
|
generated: undefined;
|
|
816
920
|
}, {}>;
|
|
817
|
-
id:
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
921
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
922
|
+
name: string;
|
|
923
|
+
tableName: "ott";
|
|
924
|
+
dataType: "string";
|
|
925
|
+
data: string;
|
|
926
|
+
driverParam: string;
|
|
927
|
+
notNull: true;
|
|
928
|
+
hasDefault: false;
|
|
929
|
+
isPrimaryKey: true;
|
|
930
|
+
isAutoincrement: false;
|
|
931
|
+
hasRuntimeDefault: false;
|
|
932
|
+
enumValues: [string, ...string[]];
|
|
933
|
+
baseColumn: never;
|
|
934
|
+
identity: undefined;
|
|
935
|
+
generated: undefined;
|
|
936
|
+
}, {}>;
|
|
937
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
938
|
+
name: string;
|
|
939
|
+
tableName: "ott";
|
|
940
|
+
dataType: "object date";
|
|
941
|
+
data: Date;
|
|
942
|
+
driverParam: number;
|
|
943
|
+
notNull: false;
|
|
944
|
+
hasDefault: true;
|
|
945
|
+
isPrimaryKey: false;
|
|
946
|
+
isAutoincrement: false;
|
|
947
|
+
hasRuntimeDefault: false;
|
|
948
|
+
enumValues: undefined;
|
|
949
|
+
baseColumn: never;
|
|
950
|
+
identity: undefined;
|
|
951
|
+
generated: undefined;
|
|
952
|
+
}, {}>;
|
|
953
|
+
createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
954
|
+
name: string;
|
|
955
|
+
tableName: "ott";
|
|
956
|
+
dataType: "string";
|
|
957
|
+
data: string;
|
|
958
|
+
driverParam: string;
|
|
959
|
+
notNull: false;
|
|
960
|
+
hasDefault: true;
|
|
961
|
+
isPrimaryKey: false;
|
|
962
|
+
isAutoincrement: false;
|
|
963
|
+
hasRuntimeDefault: false;
|
|
964
|
+
enumValues: [string, ...string[]];
|
|
965
|
+
baseColumn: never;
|
|
966
|
+
identity: undefined;
|
|
967
|
+
generated: undefined;
|
|
968
|
+
}, {}>;
|
|
969
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
970
|
+
name: string;
|
|
971
|
+
tableName: "ott";
|
|
972
|
+
dataType: "object date";
|
|
973
|
+
data: Date;
|
|
974
|
+
driverParam: number;
|
|
975
|
+
notNull: false;
|
|
976
|
+
hasDefault: true;
|
|
977
|
+
isPrimaryKey: false;
|
|
978
|
+
isAutoincrement: false;
|
|
979
|
+
hasRuntimeDefault: false;
|
|
980
|
+
enumValues: undefined;
|
|
981
|
+
baseColumn: never;
|
|
982
|
+
identity: undefined;
|
|
983
|
+
generated: undefined;
|
|
984
|
+
}, {}>;
|
|
985
|
+
updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
986
|
+
name: string;
|
|
987
|
+
tableName: "ott";
|
|
988
|
+
dataType: "string";
|
|
989
|
+
data: string;
|
|
990
|
+
driverParam: string;
|
|
991
|
+
notNull: false;
|
|
992
|
+
hasDefault: true;
|
|
993
|
+
isPrimaryKey: false;
|
|
994
|
+
isAutoincrement: false;
|
|
995
|
+
hasRuntimeDefault: false;
|
|
996
|
+
enumValues: [string, ...string[]];
|
|
997
|
+
baseColumn: never;
|
|
998
|
+
identity: undefined;
|
|
999
|
+
generated: undefined;
|
|
1000
|
+
}, {}>;
|
|
1001
|
+
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1002
|
+
name: string;
|
|
1003
|
+
tableName: "ott";
|
|
1004
|
+
dataType: "object date";
|
|
1005
|
+
data: Date;
|
|
1006
|
+
driverParam: number;
|
|
1007
|
+
notNull: false;
|
|
1008
|
+
hasDefault: true;
|
|
1009
|
+
isPrimaryKey: false;
|
|
1010
|
+
isAutoincrement: false;
|
|
1011
|
+
hasRuntimeDefault: false;
|
|
1012
|
+
enumValues: undefined;
|
|
1013
|
+
baseColumn: never;
|
|
1014
|
+
identity: undefined;
|
|
1015
|
+
generated: undefined;
|
|
1016
|
+
}, {}>;
|
|
1017
|
+
deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1018
|
+
name: string;
|
|
1019
|
+
tableName: "ott";
|
|
1020
|
+
dataType: "string";
|
|
1021
|
+
data: string;
|
|
1022
|
+
driverParam: string;
|
|
1023
|
+
notNull: false;
|
|
1024
|
+
hasDefault: true;
|
|
1025
|
+
isPrimaryKey: false;
|
|
1026
|
+
isAutoincrement: false;
|
|
1027
|
+
hasRuntimeDefault: false;
|
|
1028
|
+
enumValues: [string, ...string[]];
|
|
1029
|
+
baseColumn: never;
|
|
1030
|
+
identity: undefined;
|
|
1031
|
+
generated: undefined;
|
|
1032
|
+
}, {}>;
|
|
824
1033
|
}, undefined, undefined>;
|
|
825
1034
|
declare const ottSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
826
1035
|
oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
@@ -887,13 +1096,118 @@ declare const ottSelectSchema: drizzle_orm_zod.BuildSchema<"select", {
|
|
|
887
1096
|
identity: undefined;
|
|
888
1097
|
generated: undefined;
|
|
889
1098
|
}, {}>;
|
|
890
|
-
id:
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
1099
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1100
|
+
name: string;
|
|
1101
|
+
tableName: "ott";
|
|
1102
|
+
dataType: "string";
|
|
1103
|
+
data: string;
|
|
1104
|
+
driverParam: string;
|
|
1105
|
+
notNull: true;
|
|
1106
|
+
hasDefault: false;
|
|
1107
|
+
isPrimaryKey: true;
|
|
1108
|
+
isAutoincrement: false;
|
|
1109
|
+
hasRuntimeDefault: false;
|
|
1110
|
+
enumValues: [string, ...string[]];
|
|
1111
|
+
baseColumn: never;
|
|
1112
|
+
identity: undefined;
|
|
1113
|
+
generated: undefined;
|
|
1114
|
+
}, {}>;
|
|
1115
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1116
|
+
name: string;
|
|
1117
|
+
tableName: "ott";
|
|
1118
|
+
dataType: "object date";
|
|
1119
|
+
data: Date;
|
|
1120
|
+
driverParam: number;
|
|
1121
|
+
notNull: false;
|
|
1122
|
+
hasDefault: true;
|
|
1123
|
+
isPrimaryKey: false;
|
|
1124
|
+
isAutoincrement: false;
|
|
1125
|
+
hasRuntimeDefault: false;
|
|
1126
|
+
enumValues: undefined;
|
|
1127
|
+
baseColumn: never;
|
|
1128
|
+
identity: undefined;
|
|
1129
|
+
generated: undefined;
|
|
1130
|
+
}, {}>;
|
|
1131
|
+
createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1132
|
+
name: string;
|
|
1133
|
+
tableName: "ott";
|
|
1134
|
+
dataType: "string";
|
|
1135
|
+
data: string;
|
|
1136
|
+
driverParam: string;
|
|
1137
|
+
notNull: false;
|
|
1138
|
+
hasDefault: true;
|
|
1139
|
+
isPrimaryKey: false;
|
|
1140
|
+
isAutoincrement: false;
|
|
1141
|
+
hasRuntimeDefault: false;
|
|
1142
|
+
enumValues: [string, ...string[]];
|
|
1143
|
+
baseColumn: never;
|
|
1144
|
+
identity: undefined;
|
|
1145
|
+
generated: undefined;
|
|
1146
|
+
}, {}>;
|
|
1147
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1148
|
+
name: string;
|
|
1149
|
+
tableName: "ott";
|
|
1150
|
+
dataType: "object date";
|
|
1151
|
+
data: Date;
|
|
1152
|
+
driverParam: number;
|
|
1153
|
+
notNull: false;
|
|
1154
|
+
hasDefault: true;
|
|
1155
|
+
isPrimaryKey: false;
|
|
1156
|
+
isAutoincrement: false;
|
|
1157
|
+
hasRuntimeDefault: false;
|
|
1158
|
+
enumValues: undefined;
|
|
1159
|
+
baseColumn: never;
|
|
1160
|
+
identity: undefined;
|
|
1161
|
+
generated: undefined;
|
|
1162
|
+
}, {}>;
|
|
1163
|
+
updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1164
|
+
name: string;
|
|
1165
|
+
tableName: "ott";
|
|
1166
|
+
dataType: "string";
|
|
1167
|
+
data: string;
|
|
1168
|
+
driverParam: string;
|
|
1169
|
+
notNull: false;
|
|
1170
|
+
hasDefault: true;
|
|
1171
|
+
isPrimaryKey: false;
|
|
1172
|
+
isAutoincrement: false;
|
|
1173
|
+
hasRuntimeDefault: false;
|
|
1174
|
+
enumValues: [string, ...string[]];
|
|
1175
|
+
baseColumn: never;
|
|
1176
|
+
identity: undefined;
|
|
1177
|
+
generated: undefined;
|
|
1178
|
+
}, {}>;
|
|
1179
|
+
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1180
|
+
name: string;
|
|
1181
|
+
tableName: "ott";
|
|
1182
|
+
dataType: "object date";
|
|
1183
|
+
data: Date;
|
|
1184
|
+
driverParam: number;
|
|
1185
|
+
notNull: false;
|
|
1186
|
+
hasDefault: true;
|
|
1187
|
+
isPrimaryKey: false;
|
|
1188
|
+
isAutoincrement: false;
|
|
1189
|
+
hasRuntimeDefault: false;
|
|
1190
|
+
enumValues: undefined;
|
|
1191
|
+
baseColumn: never;
|
|
1192
|
+
identity: undefined;
|
|
1193
|
+
generated: undefined;
|
|
1194
|
+
}, {}>;
|
|
1195
|
+
deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1196
|
+
name: string;
|
|
1197
|
+
tableName: "ott";
|
|
1198
|
+
dataType: "string";
|
|
1199
|
+
data: string;
|
|
1200
|
+
driverParam: string;
|
|
1201
|
+
notNull: false;
|
|
1202
|
+
hasDefault: true;
|
|
1203
|
+
isPrimaryKey: false;
|
|
1204
|
+
isAutoincrement: false;
|
|
1205
|
+
hasRuntimeDefault: false;
|
|
1206
|
+
enumValues: [string, ...string[]];
|
|
1207
|
+
baseColumn: never;
|
|
1208
|
+
identity: undefined;
|
|
1209
|
+
generated: undefined;
|
|
1210
|
+
}, {}>;
|
|
897
1211
|
}, undefined, undefined>;
|
|
898
1212
|
|
|
899
1213
|
type OneTimeTokenInsertType = Omit<z.infer<typeof ottInsertSchema>, 'id'> & {
|