@develit-services/ledger 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/database/schema.mjs +2 -2
- package/dist/export/worker.d.cts +5 -4
- package/dist/export/worker.d.mts +5 -4
- package/dist/export/worker.d.ts +5 -4
- package/dist/export/worker.mjs +2 -2
- package/dist/export/wrangler.d.cts +1 -1
- package/dist/export/wrangler.d.mts +1 -1
- package/dist/export/wrangler.d.ts +1 -1
- package/dist/shared/{ledger.CvKXXw9R.mjs → ledger.149a0ags.mjs} +2 -2
- package/dist/shared/{ledger.DHX1YtaC.d.ts → ledger.Bombc2Sm.d.ts} +5 -5
- package/dist/shared/{ledger.B9-7wKL6.d.cts → ledger.C63GL8Bq.d.mts} +5 -5
- package/dist/shared/{ledger.o5dDJQGc.d.mts → ledger.CeePJr7h.d.cts} +5 -5
- package/dist/shared/{ledger.D9n1klaX.d.cts → ledger.Ci2NnLFo.d.cts} +33 -513
- package/dist/shared/{ledger.D9n1klaX.d.mts → ledger.Ci2NnLFo.d.mts} +33 -513
- package/dist/shared/{ledger.D9n1klaX.d.ts → ledger.Ci2NnLFo.d.ts} +33 -513
- package/dist/shared/{ledger.229hTbXo.mjs → ledger.DkcYdsVZ.mjs} +1 -1
- package/dist/shared/{ledger.Ce2yPDUS.d.ts → ledger.VQWxyeV6.d.cts} +1 -1
- package/dist/shared/{ledger.Ce2yPDUS.d.cts → ledger.VQWxyeV6.d.mts} +1 -1
- package/dist/shared/{ledger.Ce2yPDUS.d.mts → ledger.VQWxyeV6.d.ts} +1 -1
- package/dist/types.d.cts +4 -4
- package/dist/types.d.mts +4 -4
- package/dist/types.d.ts +4 -4
- package/dist/types.mjs +1 -1
- package/package.json +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as account, G as accountIdentifier, H as accountIdentifierMapping,
|
|
1
|
+
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, J as accountIdentifierMappingRelations, K as accountIdentifierRelations, L as accountRelations, M as entry, N as transaction } from '../shared/ledger.Ci2NnLFo.cjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as account, G as accountIdentifier, H as accountIdentifierMapping,
|
|
1
|
+
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, J as accountIdentifierMappingRelations, K as accountIdentifierRelations, L as accountRelations, M as entry, N as transaction } from '../shared/ledger.Ci2NnLFo.mjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as account, G as accountIdentifier, H as accountIdentifierMapping,
|
|
1
|
+
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, J as accountIdentifierMappingRelations, K as accountIdentifierRelations, L as accountRelations, M as entry, N as transaction } from '../shared/ledger.Ci2NnLFo.js';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
package/dist/database/schema.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as account, b as accountIdentifier, c as accountIdentifierMapping,
|
|
1
|
+
export { a as account, b as accountIdentifier, c as accountIdentifierMapping, d as accountIdentifierMappingRelations, e as accountIdentifierRelations, f as accountRelations, g as entry, t as transaction } from '../shared/ledger.149a0ags.mjs';
|
|
2
2
|
import '@develit-io/backend-sdk';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
5
|
-
import '../shared/ledger.
|
|
5
|
+
import '../shared/ledger.DkcYdsVZ.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
1
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
2
|
-
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
3
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, d as CancelTransactionInput, e as CancelTransactionOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, k as CreateAccountInput, l as CreateAccountOutput, U as UpdateAccountInput, m as UpdateAccountOutput, D as DeleteAccountInput, n as DeleteAccountOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, L as ListAccountsInput, s as ListAccountsOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.B9-7wKL6.cjs';
|
|
4
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
|
+
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, d as CancelTransactionInput, e as CancelTransactionOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, k as CreateAccountInput, l as CreateAccountOutput, U as UpdateAccountInput, m as UpdateAccountOutput, D as DeleteAccountInput, n as DeleteAccountOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, L as ListAccountsInput, s as ListAccountsOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.CeePJr7h.cjs';
|
|
5
6
|
import 'zod';
|
|
6
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.Ci2NnLFo.cjs';
|
|
7
8
|
import 'drizzle-orm';
|
|
8
9
|
import 'drizzle-orm/sqlite-core';
|
|
9
10
|
import '@develit-io/general-codes';
|
|
10
11
|
|
|
11
|
-
declare const LedgerServiceBase_base: any;
|
|
12
|
+
declare const LedgerServiceBase_base: (abstract new (ctx: ExecutionContext, env: LedgerEnv) => WorkerEntrypoint<LedgerEnv, {}>) & (abstract new (...args: any[]) => _develit_io_backend_sdk.DevelitWorkerMethods);
|
|
12
13
|
declare class LedgerServiceBase extends LedgerServiceBase_base {
|
|
13
14
|
readonly db: DrizzleD1Database<typeof tables>;
|
|
14
15
|
constructor(ctx: ExecutionContext, env: LedgerEnv);
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
1
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
2
|
-
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
3
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, d as CancelTransactionInput, e as CancelTransactionOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, k as CreateAccountInput, l as CreateAccountOutput, U as UpdateAccountInput, m as UpdateAccountOutput, D as DeleteAccountInput, n as DeleteAccountOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, L as ListAccountsInput, s as ListAccountsOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.o5dDJQGc.mjs';
|
|
4
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
|
+
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, d as CancelTransactionInput, e as CancelTransactionOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, k as CreateAccountInput, l as CreateAccountOutput, U as UpdateAccountInput, m as UpdateAccountOutput, D as DeleteAccountInput, n as DeleteAccountOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, L as ListAccountsInput, s as ListAccountsOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.C63GL8Bq.mjs';
|
|
5
6
|
import 'zod';
|
|
6
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.Ci2NnLFo.mjs';
|
|
7
8
|
import 'drizzle-orm';
|
|
8
9
|
import 'drizzle-orm/sqlite-core';
|
|
9
10
|
import '@develit-io/general-codes';
|
|
10
11
|
|
|
11
|
-
declare const LedgerServiceBase_base: any;
|
|
12
|
+
declare const LedgerServiceBase_base: (abstract new (ctx: ExecutionContext, env: LedgerEnv) => WorkerEntrypoint<LedgerEnv, {}>) & (abstract new (...args: any[]) => _develit_io_backend_sdk.DevelitWorkerMethods);
|
|
12
13
|
declare class LedgerServiceBase extends LedgerServiceBase_base {
|
|
13
14
|
readonly db: DrizzleD1Database<typeof tables>;
|
|
14
15
|
constructor(ctx: ExecutionContext, env: LedgerEnv);
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
1
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
2
|
-
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
3
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, d as CancelTransactionInput, e as CancelTransactionOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, k as CreateAccountInput, l as CreateAccountOutput, U as UpdateAccountInput, m as UpdateAccountOutput, D as DeleteAccountInput, n as DeleteAccountOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, L as ListAccountsInput, s as ListAccountsOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.DHX1YtaC.js';
|
|
4
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
|
+
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, d as CancelTransactionInput, e as CancelTransactionOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, k as CreateAccountInput, l as CreateAccountOutput, U as UpdateAccountInput, m as UpdateAccountOutput, D as DeleteAccountInput, n as DeleteAccountOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, L as ListAccountsInput, s as ListAccountsOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.Bombc2Sm.js';
|
|
5
6
|
import 'zod';
|
|
6
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.Ci2NnLFo.js';
|
|
7
8
|
import 'drizzle-orm';
|
|
8
9
|
import 'drizzle-orm/sqlite-core';
|
|
9
10
|
import '@develit-io/general-codes';
|
|
10
11
|
|
|
11
|
-
declare const LedgerServiceBase_base: any;
|
|
12
|
+
declare const LedgerServiceBase_base: (abstract new (ctx: ExecutionContext, env: LedgerEnv) => WorkerEntrypoint<LedgerEnv, {}>) & (abstract new (...args: any[]) => _develit_io_backend_sdk.DevelitWorkerMethods);
|
|
12
13
|
declare class LedgerServiceBase extends LedgerServiceBase_base {
|
|
13
14
|
readonly db: DrizzleD1Database<typeof tables>;
|
|
14
15
|
constructor(ctx: ExecutionContext, env: LedgerEnv);
|
package/dist/export/worker.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { first, develitWorker, uuidv4, useResult, createInternalError, action, service } from '@develit-io/backend-sdk';
|
|
2
2
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
3
3
|
import { drizzle } from 'drizzle-orm/d1';
|
|
4
|
-
import { s as schema } from '../shared/ledger.
|
|
4
|
+
import { s as schema } from '../shared/ledger.149a0ags.mjs';
|
|
5
5
|
import { eq, and, inArray, or, count, gte, lte, sql, asc, desc } from 'drizzle-orm';
|
|
6
|
-
import {
|
|
6
|
+
import { j as createTransactionInputSchema, w as matchTransactionInputSchema, l as failTransactionInputSchema, h as cancelTransactionInputSchema, r as getTransactionByIdInputSchema, s as getTransactionsByReferenceIdInputSchema, t as getTransactionsInputSchema, i as createAccountInputSchema, x as updateAccountInputSchema, k as deleteAccountInputSchema, p as getAccountInputSchema, q as getAccountsByOwnerInputSchema, v as listAccountsInputSchema, o as getAccountIdentifierInputSchema, u as listAccountIdentifiersInputSchema, m as findAccountByIdentifierInputSchema, n as getAccountBalanceInputSchema, y as updateTransactionConfirmationSentAtInputSchema } from '../shared/ledger.DkcYdsVZ.mjs';
|
|
7
7
|
import '@develit-io/general-codes';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base } from '@develit-io/backend-sdk';
|
|
2
2
|
import { relations } from 'drizzle-orm';
|
|
3
3
|
import { sqliteTable, integer, text, real } from 'drizzle-orm/sqlite-core';
|
|
4
|
-
import { T as TRANSACTION_STATUSES,
|
|
4
|
+
import { T as TRANSACTION_STATUSES, g as TRANSACTION_TYPES, R as REFERENCE_TYPES } from './ledger.DkcYdsVZ.mjs';
|
|
5
5
|
import '@develit-io/general-codes';
|
|
6
6
|
|
|
7
7
|
const account = sqliteTable("account", {
|
|
@@ -105,4 +105,4 @@ const schema = {
|
|
|
105
105
|
transaction: transaction
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
-
export { account as a, accountIdentifier as b, accountIdentifierMapping as c,
|
|
108
|
+
export { account as a, accountIdentifier as b, accountIdentifierMapping as c, accountIdentifierMappingRelations as d, accountIdentifierRelations as e, accountRelations as f, entry as g, schema as s, transaction as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.Ci2NnLFo.js';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -565,7 +565,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
565
565
|
AVAX: "AVAX";
|
|
566
566
|
}>>;
|
|
567
567
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
568
|
-
IM: "IM";
|
|
569
568
|
AF: "AF";
|
|
570
569
|
AL: "AL";
|
|
571
570
|
DZ: "DZ";
|
|
@@ -654,6 +653,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
654
653
|
IR: "IR";
|
|
655
654
|
IQ: "IQ";
|
|
656
655
|
IE: "IE";
|
|
656
|
+
IM: "IM";
|
|
657
657
|
IL: "IL";
|
|
658
658
|
IT: "IT";
|
|
659
659
|
CI: "CI";
|
|
@@ -894,7 +894,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
894
894
|
AVAX: "AVAX";
|
|
895
895
|
}>>;
|
|
896
896
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
897
|
-
IM: "IM";
|
|
898
897
|
AF: "AF";
|
|
899
898
|
AL: "AL";
|
|
900
899
|
DZ: "DZ";
|
|
@@ -983,6 +982,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
983
982
|
IR: "IR";
|
|
984
983
|
IQ: "IQ";
|
|
985
984
|
IE: "IE";
|
|
985
|
+
IM: "IM";
|
|
986
986
|
IL: "IL";
|
|
987
987
|
IT: "IT";
|
|
988
988
|
CI: "CI";
|
|
@@ -1648,5 +1648,5 @@ type UpdateTransactionConfirmationSentAtOutput = void;
|
|
|
1648
1648
|
|
|
1649
1649
|
declare const tables: typeof schema;
|
|
1650
1650
|
|
|
1651
|
-
export { findAccountByIdentifierInputSchema as $, cancelTransactionInputSchema as W, createAccountInputSchema as X, createTransactionInputSchema as Y, deleteAccountInputSchema as Z, failTransactionInputSchema as _,
|
|
1652
|
-
export type { GetAccountBalanceInput as A, GetAccountBalanceOutput as B, CreateTransactionInput as C, DeleteAccountInput as D, UpdateTransactionConfirmationSentAtInput as E, FailTransactionInput as F, GetTransactionByIdInput as G, UpdateTransactionConfirmationSentAtOutput as H,
|
|
1651
|
+
export { findAccountByIdentifierInputSchema as $, cancelTransactionInputSchema as W, createAccountInputSchema as X, createTransactionInputSchema as Y, deleteAccountInputSchema as Z, failTransactionInputSchema as _, getAccountBalanceInputSchema as a0, getAccountIdentifierInputSchema as a1, getAccountInputSchema as a2, getAccountsByOwnerInputSchema as a3, getTransactionByIdInputSchema as a4, getTransactionsByReferenceIdInputSchema as a5, getTransactionsInputSchema as a6, listAccountIdentifiersInputSchema as a7, listAccountsInputSchema as a8, matchTransactionInputSchema as a9, updateAccountInputSchema as aa, updateTransactionConfirmationSentAtInputSchema as ab, tables as t };
|
|
1652
|
+
export type { GetAccountBalanceInput as A, GetAccountBalanceOutput as B, CreateTransactionInput as C, DeleteAccountInput as D, UpdateTransactionConfirmationSentAtInput as E, FailTransactionInput as F, GetTransactionByIdInput as G, UpdateTransactionConfirmationSentAtOutput as H, AccountIdentifierInsertType as I, AccountIdentifierMappingInsertType as J, AccountIdentifierMappingSelectType as K, ListAccountsInput as L, MatchTransactionInput as M, AccountIdentifierSelectType as N, AccountInsertType as O, AccountSelectType as P, AccountWithIdentifiersSelectType as Q, IncludeRelation as R, InferResultType as S, TransactionSelectType as T, UpdateAccountInput as U, TransactionInsertType as V, CreateTransactionOutput as a, MatchTransactionOutput as b, FailTransactionOutput as c, CancelTransactionInput as d, CancelTransactionOutput as e, GetTransactionByIdOutput as f, GetTransactionsByIdReferenceInput as g, GetTransactionsByReferenceIdOutput as h, GetTransactionsInput as i, GetTransactionsOutput as j, CreateAccountInput as k, CreateAccountOutput as l, UpdateAccountOutput as m, DeleteAccountOutput as n, GetAccountInput as o, GetAccountOutput as p, GetAccountsByOwnerInput as q, GetAccountsByOwnerOutput as r, ListAccountsOutput as s, GetAccountIdentifierInput as u, GetAccountIdentifierOutput as v, ListAccountIdentifiersInput as w, ListAccountIdentifiersOutput as x, FindAccountByIdentifierInput as y, FindAccountByIdentifierOutput as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.Ci2NnLFo.mjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -565,7 +565,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
565
565
|
AVAX: "AVAX";
|
|
566
566
|
}>>;
|
|
567
567
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
568
|
-
IM: "IM";
|
|
569
568
|
AF: "AF";
|
|
570
569
|
AL: "AL";
|
|
571
570
|
DZ: "DZ";
|
|
@@ -654,6 +653,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
654
653
|
IR: "IR";
|
|
655
654
|
IQ: "IQ";
|
|
656
655
|
IE: "IE";
|
|
656
|
+
IM: "IM";
|
|
657
657
|
IL: "IL";
|
|
658
658
|
IT: "IT";
|
|
659
659
|
CI: "CI";
|
|
@@ -894,7 +894,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
894
894
|
AVAX: "AVAX";
|
|
895
895
|
}>>;
|
|
896
896
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
897
|
-
IM: "IM";
|
|
898
897
|
AF: "AF";
|
|
899
898
|
AL: "AL";
|
|
900
899
|
DZ: "DZ";
|
|
@@ -983,6 +982,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
983
982
|
IR: "IR";
|
|
984
983
|
IQ: "IQ";
|
|
985
984
|
IE: "IE";
|
|
985
|
+
IM: "IM";
|
|
986
986
|
IL: "IL";
|
|
987
987
|
IT: "IT";
|
|
988
988
|
CI: "CI";
|
|
@@ -1648,5 +1648,5 @@ type UpdateTransactionConfirmationSentAtOutput = void;
|
|
|
1648
1648
|
|
|
1649
1649
|
declare const tables: typeof schema;
|
|
1650
1650
|
|
|
1651
|
-
export { findAccountByIdentifierInputSchema as $, cancelTransactionInputSchema as W, createAccountInputSchema as X, createTransactionInputSchema as Y, deleteAccountInputSchema as Z, failTransactionInputSchema as _,
|
|
1652
|
-
export type { GetAccountBalanceInput as A, GetAccountBalanceOutput as B, CreateTransactionInput as C, DeleteAccountInput as D, UpdateTransactionConfirmationSentAtInput as E, FailTransactionInput as F, GetTransactionByIdInput as G, UpdateTransactionConfirmationSentAtOutput as H,
|
|
1651
|
+
export { findAccountByIdentifierInputSchema as $, cancelTransactionInputSchema as W, createAccountInputSchema as X, createTransactionInputSchema as Y, deleteAccountInputSchema as Z, failTransactionInputSchema as _, getAccountBalanceInputSchema as a0, getAccountIdentifierInputSchema as a1, getAccountInputSchema as a2, getAccountsByOwnerInputSchema as a3, getTransactionByIdInputSchema as a4, getTransactionsByReferenceIdInputSchema as a5, getTransactionsInputSchema as a6, listAccountIdentifiersInputSchema as a7, listAccountsInputSchema as a8, matchTransactionInputSchema as a9, updateAccountInputSchema as aa, updateTransactionConfirmationSentAtInputSchema as ab, tables as t };
|
|
1652
|
+
export type { GetAccountBalanceInput as A, GetAccountBalanceOutput as B, CreateTransactionInput as C, DeleteAccountInput as D, UpdateTransactionConfirmationSentAtInput as E, FailTransactionInput as F, GetTransactionByIdInput as G, UpdateTransactionConfirmationSentAtOutput as H, AccountIdentifierInsertType as I, AccountIdentifierMappingInsertType as J, AccountIdentifierMappingSelectType as K, ListAccountsInput as L, MatchTransactionInput as M, AccountIdentifierSelectType as N, AccountInsertType as O, AccountSelectType as P, AccountWithIdentifiersSelectType as Q, IncludeRelation as R, InferResultType as S, TransactionSelectType as T, UpdateAccountInput as U, TransactionInsertType as V, CreateTransactionOutput as a, MatchTransactionOutput as b, FailTransactionOutput as c, CancelTransactionInput as d, CancelTransactionOutput as e, GetTransactionByIdOutput as f, GetTransactionsByIdReferenceInput as g, GetTransactionsByReferenceIdOutput as h, GetTransactionsInput as i, GetTransactionsOutput as j, CreateAccountInput as k, CreateAccountOutput as l, UpdateAccountOutput as m, DeleteAccountOutput as n, GetAccountInput as o, GetAccountOutput as p, GetAccountsByOwnerInput as q, GetAccountsByOwnerOutput as r, ListAccountsOutput as s, GetAccountIdentifierInput as u, GetAccountIdentifierOutput as v, ListAccountIdentifiersInput as w, ListAccountIdentifiersOutput as x, FindAccountByIdentifierInput as y, FindAccountByIdentifierOutput as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.Ci2NnLFo.cjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -565,7 +565,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
565
565
|
AVAX: "AVAX";
|
|
566
566
|
}>>;
|
|
567
567
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
568
|
-
IM: "IM";
|
|
569
568
|
AF: "AF";
|
|
570
569
|
AL: "AL";
|
|
571
570
|
DZ: "DZ";
|
|
@@ -654,6 +653,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
654
653
|
IR: "IR";
|
|
655
654
|
IQ: "IQ";
|
|
656
655
|
IE: "IE";
|
|
656
|
+
IM: "IM";
|
|
657
657
|
IL: "IL";
|
|
658
658
|
IT: "IT";
|
|
659
659
|
CI: "CI";
|
|
@@ -894,7 +894,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
894
894
|
AVAX: "AVAX";
|
|
895
895
|
}>>;
|
|
896
896
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
897
|
-
IM: "IM";
|
|
898
897
|
AF: "AF";
|
|
899
898
|
AL: "AL";
|
|
900
899
|
DZ: "DZ";
|
|
@@ -983,6 +982,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
983
982
|
IR: "IR";
|
|
984
983
|
IQ: "IQ";
|
|
985
984
|
IE: "IE";
|
|
985
|
+
IM: "IM";
|
|
986
986
|
IL: "IL";
|
|
987
987
|
IT: "IT";
|
|
988
988
|
CI: "CI";
|
|
@@ -1648,5 +1648,5 @@ type UpdateTransactionConfirmationSentAtOutput = void;
|
|
|
1648
1648
|
|
|
1649
1649
|
declare const tables: typeof schema;
|
|
1650
1650
|
|
|
1651
|
-
export { findAccountByIdentifierInputSchema as $, cancelTransactionInputSchema as W, createAccountInputSchema as X, createTransactionInputSchema as Y, deleteAccountInputSchema as Z, failTransactionInputSchema as _,
|
|
1652
|
-
export type { GetAccountBalanceInput as A, GetAccountBalanceOutput as B, CreateTransactionInput as C, DeleteAccountInput as D, UpdateTransactionConfirmationSentAtInput as E, FailTransactionInput as F, GetTransactionByIdInput as G, UpdateTransactionConfirmationSentAtOutput as H,
|
|
1651
|
+
export { findAccountByIdentifierInputSchema as $, cancelTransactionInputSchema as W, createAccountInputSchema as X, createTransactionInputSchema as Y, deleteAccountInputSchema as Z, failTransactionInputSchema as _, getAccountBalanceInputSchema as a0, getAccountIdentifierInputSchema as a1, getAccountInputSchema as a2, getAccountsByOwnerInputSchema as a3, getTransactionByIdInputSchema as a4, getTransactionsByReferenceIdInputSchema as a5, getTransactionsInputSchema as a6, listAccountIdentifiersInputSchema as a7, listAccountsInputSchema as a8, matchTransactionInputSchema as a9, updateAccountInputSchema as aa, updateTransactionConfirmationSentAtInputSchema as ab, tables as t };
|
|
1652
|
+
export type { GetAccountBalanceInput as A, GetAccountBalanceOutput as B, CreateTransactionInput as C, DeleteAccountInput as D, UpdateTransactionConfirmationSentAtInput as E, FailTransactionInput as F, GetTransactionByIdInput as G, UpdateTransactionConfirmationSentAtOutput as H, AccountIdentifierInsertType as I, AccountIdentifierMappingInsertType as J, AccountIdentifierMappingSelectType as K, ListAccountsInput as L, MatchTransactionInput as M, AccountIdentifierSelectType as N, AccountInsertType as O, AccountSelectType as P, AccountWithIdentifiersSelectType as Q, IncludeRelation as R, InferResultType as S, TransactionSelectType as T, UpdateAccountInput as U, TransactionInsertType as V, CreateTransactionOutput as a, MatchTransactionOutput as b, FailTransactionOutput as c, CancelTransactionInput as d, CancelTransactionOutput as e, GetTransactionByIdOutput as f, GetTransactionsByIdReferenceInput as g, GetTransactionsByReferenceIdOutput as h, GetTransactionsInput as i, GetTransactionsOutput as j, CreateAccountInput as k, CreateAccountOutput as l, UpdateAccountOutput as m, DeleteAccountOutput as n, GetAccountInput as o, GetAccountOutput as p, GetAccountsByOwnerInput as q, GetAccountsByOwnerOutput as r, ListAccountsOutput as s, GetAccountIdentifierInput as u, GetAccountIdentifierOutput as v, ListAccountIdentifiersInput as w, ListAccountIdentifiersOutput as x, FindAccountByIdentifierInput as y, FindAccountByIdentifierOutput as z };
|